From bc5c8a267fa0ca9f8bc00f19d6487fd18834ca63 Mon Sep 17 00:00:00 2001 From: greggman Date: Fri, 17 Nov 2023 03:11:36 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20d41fe?= =?UTF-8?q?c974c3e6d98cc389756c5c23bc443fe8a8b=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- asset-manifest.json | 22 +++++++++---------- index.html | 2 +- ...nifest.85ea4a32e7a0043943ccf6c111e148ed.js | 18 +++++++-------- service-worker.js | 2 +- static/css/main.274a1e2f.chunk.css | 2 -- static/css/main.274a1e2f.chunk.css.map | 1 - static/css/main.3b498017.chunk.css | 2 ++ static/css/main.3b498017.chunk.css.map | 1 + static/js/2.81761772.chunk.js | 3 +++ ...SE.txt => 2.81761772.chunk.js.LICENSE.txt} | 0 static/js/2.81761772.chunk.js.map | 1 + static/js/2.e4620b26.chunk.js | 3 --- static/js/2.e4620b26.chunk.js.map | 1 - static/js/main.2df02371.chunk.js | 2 -- static/js/main.2df02371.chunk.js.map | 1 - static/js/main.c94564f4.chunk.js | 2 ++ static/js/main.c94564f4.chunk.js.map | 1 + 17 files changed, 32 insertions(+), 32 deletions(-) rename precache-manifest.969c878038f898019a36edfc14adb34a.js => precache-manifest.85ea4a32e7a0043943ccf6c111e148ed.js (66%) delete mode 100644 static/css/main.274a1e2f.chunk.css delete mode 100644 static/css/main.274a1e2f.chunk.css.map create mode 100644 static/css/main.3b498017.chunk.css create mode 100644 static/css/main.3b498017.chunk.css.map create mode 100644 static/js/2.81761772.chunk.js rename static/js/{2.e4620b26.chunk.js.LICENSE.txt => 2.81761772.chunk.js.LICENSE.txt} (100%) create mode 100644 static/js/2.81761772.chunk.js.map delete mode 100644 static/js/2.e4620b26.chunk.js delete mode 100644 static/js/2.e4620b26.chunk.js.map delete mode 100644 static/js/main.2df02371.chunk.js delete mode 100644 static/js/main.2df02371.chunk.js.map create mode 100644 static/js/main.c94564f4.chunk.js create mode 100644 static/js/main.c94564f4.chunk.js.map diff --git a/asset-manifest.json b/asset-manifest.json index f20a519..e450fc4 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,19 +1,19 @@ { "files": { - "main.css": "/static/css/main.274a1e2f.chunk.css", - "main.js": "/static/js/main.2df02371.chunk.js", - "main.js.map": "/static/js/main.2df02371.chunk.js.map", + "main.css": "/static/css/main.3b498017.chunk.css", + "main.js": "/static/js/main.c94564f4.chunk.js", + "main.js.map": "/static/js/main.c94564f4.chunk.js.map", "runtime-main.js": "/static/js/runtime-main.a136100e.js", "runtime-main.js.map": "/static/js/runtime-main.a136100e.js.map", "static/css/2.6b709c6b.chunk.css": "/static/css/2.6b709c6b.chunk.css", - "static/js/2.e4620b26.chunk.js": "/static/js/2.e4620b26.chunk.js", - "static/js/2.e4620b26.chunk.js.map": "/static/js/2.e4620b26.chunk.js.map", + "static/js/2.81761772.chunk.js": "/static/js/2.81761772.chunk.js", + "static/js/2.81761772.chunk.js.map": "/static/js/2.81761772.chunk.js.map", "index.html": "/index.html", - "precache-manifest.969c878038f898019a36edfc14adb34a.js": "/precache-manifest.969c878038f898019a36edfc14adb34a.js", + "precache-manifest.85ea4a32e7a0043943ccf6c111e148ed.js": "/precache-manifest.85ea4a32e7a0043943ccf6c111e148ed.js", "service-worker.js": "/service-worker.js", "static/css/2.6b709c6b.chunk.css.map": "/static/css/2.6b709c6b.chunk.css.map", - "static/css/main.274a1e2f.chunk.css.map": "/static/css/main.274a1e2f.chunk.css.map", - "static/js/2.e4620b26.chunk.js.LICENSE.txt": "/static/js/2.e4620b26.chunk.js.LICENSE.txt", + "static/css/main.3b498017.chunk.css.map": "/static/css/main.3b498017.chunk.css.map", + "static/js/2.81761772.chunk.js.LICENSE.txt": "/static/js/2.81761772.chunk.js.LICENSE.txt", "static/media/horizontal-layout.svg": "/static/media/horizontal-layout.e3f3298b.svg", "static/media/tabbed-layout.svg": "/static/media/tabbed-layout.8a8b9bc8.svg", "static/media/two-by-two-layout.svg": "/static/media/two-by-two-layout.23605ce8.svg", @@ -22,8 +22,8 @@ "entrypoints": [ "static/js/runtime-main.a136100e.js", "static/css/2.6b709c6b.chunk.css", - "static/js/2.e4620b26.chunk.js", - "static/css/main.274a1e2f.chunk.css", - "static/js/main.2df02371.chunk.js" + "static/js/2.81761772.chunk.js", + "static/css/main.3b498017.chunk.css", + "static/js/main.c94564f4.chunk.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 2d46d2d..41068be 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -jsGist
\ No newline at end of file +jsGist
\ No newline at end of file diff --git a/precache-manifest.969c878038f898019a36edfc14adb34a.js b/precache-manifest.85ea4a32e7a0043943ccf6c111e148ed.js similarity index 66% rename from precache-manifest.969c878038f898019a36edfc14adb34a.js rename to precache-manifest.85ea4a32e7a0043943ccf6c111e148ed.js index 4a75df2..839a1f1 100644 --- a/precache-manifest.969c878038f898019a36edfc14adb34a.js +++ b/precache-manifest.85ea4a32e7a0043943ccf6c111e148ed.js @@ -1,27 +1,27 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ { - "revision": "ffd4f0f12d8fd27736469db9a3cd6eb7", + "revision": "0cec05de0d3aa389bb03370fc448b85c", "url": "/index.html" }, { - "revision": "ffdb0adcda38e13ac6a5", + "revision": "c0d32c6ccdf67d83a704", "url": "/static/css/2.6b709c6b.chunk.css" }, { - "revision": "3cff31048e1d046c990b", - "url": "/static/css/main.274a1e2f.chunk.css" + "revision": "5916ab21374729844a5d", + "url": "/static/css/main.3b498017.chunk.css" }, { - "revision": "ffdb0adcda38e13ac6a5", - "url": "/static/js/2.e4620b26.chunk.js" + "revision": "c0d32c6ccdf67d83a704", + "url": "/static/js/2.81761772.chunk.js" }, { "revision": "e862e5907d1d0e2db05299732c9852d3", - "url": "/static/js/2.e4620b26.chunk.js.LICENSE.txt" + "url": "/static/js/2.81761772.chunk.js.LICENSE.txt" }, { - "revision": "3cff31048e1d046c990b", - "url": "/static/js/main.2df02371.chunk.js" + "revision": "5916ab21374729844a5d", + "url": "/static/js/main.c94564f4.chunk.js" }, { "revision": "21d734a13edf31307f64", diff --git a/service-worker.js b/service-worker.js index e1d6a01..5ea3958 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "/precache-manifest.969c878038f898019a36edfc14adb34a.js" + "/precache-manifest.85ea4a32e7a0043943ccf6c111e148ed.js" ); self.addEventListener('message', (event) => { diff --git a/static/css/main.274a1e2f.chunk.css b/static/css/main.274a1e2f.chunk.css deleted file mode 100644 index c5058f6..0000000 --- a/static/css/main.274a1e2f.chunk.css +++ /dev/null @@ -1,2 +0,0 @@ -body{margin:0}.charts{display:flex}.selected{background:red}.collapsed>*{display:none}:root{--scrollbar-size:.375rem;--scrollbar-minlength:1.5rem;--scrollbar-ff-width:thin;--scrollbar-track-color:transparent;--scrollbar-color:rgba(0,0,0,0.2);--scrollbar-color-hover:rgba(0,0,0,0.3);--scrollbar-color-active:#000}.layout-cell,.scrollbar-test{-ms-scroll-chaining:none;overscroll-behavior:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;scrollbar-width:thin;scrollbar-width:var(--scrollbar-ff-width)}.layout-scrollbar{scrollbar-color:rgba(0,0,0,.2) transparent;scrollbar-color:var(--scrollbar-color) var(--scrollbar-track-color)}.layout-scrollbar-obtrusive .layout-scrollbar::-webkit-scrollbar{height:.375rem;height:var(--scrollbar-size);width:.375rem;width:var(--scrollbar-size)}.layout-scrollbar::-webkit-scrollbar-track{background-color:transparent;background-color:var(--scrollbar-track-color)}.layout-scrollbar::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.2);background-color:var(--scrollbar-color);border-radius:3px}.layout-scrollbar::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.3);background-color:var(--scrollbar-color-hover)}.layout-scrollbar::-webkit-scrollbar-thumb:active{background-color:#000;background-color:var(--scrollbar-color-active)}.layout-scrollbar::-webkit-scrollbar-thumb:vertical,.scrollbar-test::-webkit-scrollbar-thumb:vertical{min-height:1.5rem;min-height:var(--scrollbar-minlength)}.layout-scrollbar::-webkit-scrollbar-thumb:horizontal,.scrollbar-test::-webkit-scrollbar-thumb:horizontal{min-width:1.5rem;min-width:var(--scrollbar-minlength)}@media (prefers-color-scheme:dark){:root{--scrollbar-color:#555;--scrollbar-color-hover:#555;--scrollbar-color-active:#555}}:root{color-scheme:light dark;--main-bg-color:#eee;--main-fg-color:#000;--title-bg-color:#ccc;--unselected-color:#ccc;--table-head-bg-color:#ddd;--button-color:#48f;--link-color:#36c;--code-area-bg-color:#ccc;--un-run-bg-color:#8af;--aborted-bg-color:#ddd;--error-fg-color:#8b0000;--warn-fg-color:brown;--editor-bg-color:#fff}html{box-sizing:border-box;font-family:sans-serif;line-height:1.2;background:#eee;background:var(--main-bg-color);color:#000;color:var(--main-fg-color)}body,html{height:100%}*,:after,:before{box-sizing:inherit}#root{overflow:auto}#root,.App{height:100%}.error-msg{color:#8b0000;color:var(--error-fg-color)}.content{height:100%;display:flex;flex-direction:column}.head{flex:0 0 auto;font-weight:700;justify-content:space-between;margin:0;font-size:larger}.head,.head a{display:flex;align-items:center}.head a{text-decoration:none;color:#000;color:var(--main-fg-color)}.head img{height:1em;vertical-align:middle;margin:5px}.head .beta{font-size:x-small;vertical-align:top;position:relative;right:1em}.fix-help-contribute{display:flex;align-items:center}.fix-help-contribute a{text-decoration:none;color:#000;color:var(--main-fg-color)}.fix-help-contribute .three-words{font-size:x-small;text-align:right}.fix-help-contribute .octocat{display:flex;flex-direction:column;justify-content:top}.top{flex:0 0 auto;display:flex;margin:10px 10px 0}.bottom{margin:10px;position:relative;flex:1 1 auto;min-height:0;height:100%}.bottom>div,.top>div{flex:1 1 50%;display:flex}.top .right{margin-left:10px;justify-content:space-between;align-items:center;overflow:hidden}.toolbar{display:flex}.top .left{position:relative;min-height:0;min-width:0}.bottom .left,.top .left{height:100%}.codes,.codes>div{height:100%;min-height:0}.codes>div{display:flex;flex-direction:column}.right{min-height:0;min-width:0;height:100%}.bottom{display:flex}.layout-3-horizontal-top{height:100%}.layout-3-horizontal-top .codes>div{flex-direction:row}.layout-3-horizontal-bottom{height:100%}.layout-tabbed{width:100%;height:100%;flex-direction:column}.layout-tabbed>.split{flex:1 1 auto;min-height:0}.layout-tabbed-log,.layout-tabbed-result{height:100%}.layout-tabbed-top .tab-tabs{display:flex;flex:0 0 auto}.layout-tabbed .tab-content,.layout-tabbed .tab-content>div{height:100%}.layout-tabbed-top .hidee{flex:1 1 auto}.layout-tabbed-top .code-area,.layout-tabbed-top .hidee,.react-codemirror2{display:flex;flex-direction:column;min-height:0}.layout-tabbed-top .tab-tabs input{position:absolute;opacity:0;padding:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.layout-tabbed-top .tab-tabs label{cursor:pointer;padding:.5em 1em;margin-right:3px;background:rgba(0,0,0,.2);-webkit-user-select:none;-ms-user-select:none;user-select:none}.layout-tabbed-top .tab-tabs input:checked+label{background-color:#fff;background-color:var(--editor-bg-color)}.layout-tabbed .expander{display:none}.logger{background:#ccc;background:var(--title-bg-color);font-family:monospace;white-space:pre-wrap;height:100%;width:100%}.log-messages{overflow:auto;height:100%}.log-messages>*{overflow-wrap:anywhere;display:flex}.logger .msg{flex:1 1 auto}.logger .file{float:right;position:relative}.tooltip{position:relative;border-bottom:1px dashed #888}.tooltip:before{content:attr(data-tooltip);position:absolute;top:100%;transform:translateY(0);right:0;background:#eee;background:var(--main-bg-color);display:none;white-space:pre;left:auto;margin:initial;z-index:2}.tooltip:hover:before{display:block}.logger .file-link{text-decoration:underline}.logger .file-link:hover{background:hsla(0,0%,100%,.3);cursor:pointer}.logger .error .count,.logger .error .no-count,.logger .info .count,.logger .info .no-count,.logger .log .count,.logger .log .no-count,.logger .warn .count,.logger .warn .no-count{width:1em;height:1em;margin:0 .25em;background-position:50%;background-repeat:no-repeat;text-align:center;flex:0 0 auto}.logger .error .count,.logger .info .count,.logger .log .count,.logger .warn .count{border-radius:.5em;vertical-align:middle;line-height:1em}.logger .info .count{background:#666;color:#ddd}.logger .warn{color:brown;color:var(--warn-fg-color);background:rgba(255,255,0,.2)}.logger .warn .count{background:#ff0;color:brown}.logger .warn .no-count{background-image:url(/resources/images/warn-icon.svg)}.logger .error{color:#8b0000;color:var(--error-fg-color);background:rgba(255,0,0,.2)}.logger .error .count{background:red;color:#fff}.logger .error .no-count{background-image:url(/resources/images/error-icon.svg)}.split{display:flex;width:100%;height:100%}.split-vertical{flex-direction:column}.split .pane{flex-shrink:1;flex-grow:1;position:relative;min-width:0;min-height:0}.editor-codemirror .pane,.split .pane-dragging{overflow:hidden}.gutter{background-color:#eee;background-color:var(--main-bg-color);flex:0 0 auto}.gutter.gutter-horizontal,.gutter.gutter-horizontal:hover{cursor:ew-resize}.gutter.gutter-vertical,.gutter.gutter-vertical:hover{cursor:ns-resize}.gutter.gutter-vertical{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=")}.gutter.gutter-horizontal,.gutter.gutter-vertical{background-repeat:no-repeat;background-position:50%}.gutter.gutter-horizontal{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==")}a{color:#36c;color:var(--link-color)}.blocked{position:absolute}.blocked,.dialog{left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.8);z-index:100;display:flex;justify-content:center;align-items:center}.dialog{position:fixed;max-width:100%}.dialog>*{background:#eee;background:var(--main-bg-color);border-radius:5px;padding:1em;max-width:90%;max-height:90%;overflow:auto;width:800px;outline:none}.fixed-size-dialog>*{min-height:90%}.dialog-heading{display:flex;justify-content:space-between;font-size:xx-large;font-weight:700;margin:10px;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.dialog-content{margin:10px}.dialog-close{position:absolute;right:0;top:0;vertical-align:top}.dialog pre{width:100%;overflow:auto;background:#222;color:#eee;padding:1em}.section{margin-bottom:10px;border:1px solid #888;border-radius:5px;padding:1em}.section-heading{font-size:large;border-bottom:1px solid #888;margin-bottom:1em;-webkit-user-select:none;-ms-user-select:none;user-select:none}.save-as-gist-pat{display:flex;align-items:center}.save-as-gist-pat>*{vertical-align:middle}.save-as-gist-pat>div:first-child{flex:0 0 auto}.save-as-gist-pat>div:nth-child(2){flex:1 1 auto}.bookmark{max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:block}.disabled{opacity:.2;pointer-events:none;cursor:not-allowed}.messages{position:fixed;bottom:0;z-index:1000}.messages>div{background:#888;color:#fff;padding:.5em;margin:.25em;border-radius:.25em}.messages .error{background:#c00}.messages .info{background:#00f}.radio{display:flex}.radio-selected{background-color:red;border-radius:.25em}.radio img{display:block}.layout .radio>*{width:3.5em;padding:.5em}.settings .radio>*{margin:.2em;padding:.2em}input{border:none;padding:.25em;background:#ccc;background:var(--title-bg-color);color:#000;color:var(--main-fg-color)}.name{display:flex;justify-content:space-between;align-items:center;width:100%}.name>*+*{margin-left:10px}.name>:first-child{flex:1 1 auto}.avatar{height:2em;border-radius:100%}input[type=password],input[type=text]{outline:none;width:100%;font-size:large}.named{padding:.25em}.runner,.runner>iframe{width:100%;height:100%}.runner>iframe{background:#fff;border:none}.code-area{display:flex;flex-direction:column;flex:1 1 auto;background:#ccc;background:var(--code-area-bg-color);min-height:0;height:100%}.code-area button{margin-right:0}.code-area input{background:#ccc;background:var(--code-area-bg-color);font-size:medium}.expander{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center}.hider{width:1em;color:#888}.hidee{position:relative;display:flex;flex-direction:column;height:100%;min-height:0}.hidee>*{flex:1 1 auto}.hidee-hide{height:0;overflow:hidden}button{background:none;border:2px solid #48f;border:2px solid var(--button-color);color:#000;color:var(--main-fg-color);border-radius:.25em;padding:.25em;margin-right:.25em;min-width:2.5em;font-weight:700;-webkit-user-select:none;-ms-user-select:none;user-select:none;height:2.25em;line-height:calc(1em - 12px)}button img{height:1em}button:hover{background:#48f;background:var(--button-color)}.react-codemirror2{position:relative;height:100%}.CodeMirror{width:100%;height:100%}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{opacity:.6}.markdown code{background:#ccc;background:var(--title-bg-color);padding:.25em;border-radius:.5em;line-height:2}.gists{background-color:rgba(0,0,255,.1);border:none;display:block;min-height:20vh;max-height:40vh;overflow-y:scroll;position:relative}.gists table{width:100%}.gists thead{border:none}.gists th,.gists thead{background-color:#ccc;background-color:var(--title-bg-color)}.gists th{position:-webkit-sticky;position:sticky;top:0}.gists thead span{cursor:pointer;color:#ccc;color:var(--unselected-color)}.gists thead .current-sort-key{color:#000;color:var(--main-fg-color)}.gists td>div{transition:max-height .3s;max-height:100%}.gists .hide td>div{max-height:0}.gists tr:nth-child(2n){background-color:rgba(128,160,255,.2)}.gists td:nth-child(3n){text-align:right;white-space:nowrap}.comment-notes{padding:1em;margin:1em;background:hsla(0,0%,100%,.5);color:red}.comment-sep,.comments{margin:0 auto 1em;max-width:700px;width:calc(100% - 40px)}.comments iframe{width:100%;border:none}.comments .links{text-align:center}hr{border:none;background:#ccc;background:var(--title-bg-color);height:2px}.logout{display:flex;align-items:center}.new-comment{border-radius:.5em;border:1px solid #ccc;border:1px solid var(--code-area-bg-color);margin-left:calc(.5em + 42px);margin-right:.5em;margin-bottom:15em;position:relative}.new-comment .new-comment-head{background:#ccc;background:var(--code-area-bg-color);padding:.5em}.new-comment .new-comment-head .user-avatar{position:absolute;left:0;top:0;transform:translateX(-42px)}.new-comment .react-codemirror2{padding:0 .5em .5em;height:10em;resize:vertical;overflow:auto}.new-comment .new-comment-write{min-height:10em;height:10em}.new-comment .new-comment-preview{min-height:10em;padding:.5em}.new-comment .new-comment-tabs{margin-top:1em}.new-comment input[type=radio]{opacity:0;width:0}.new-comment input+label{padding:.5em .5em 0;margin-right:.125em;background:rgba(0,0,0,.1)}.new-comment input:checked+label{background:#fff;background:var(--editor-bg-color)}.new-comment-submit{display:flex;justify-content:flex-end;padding-top:1em}.copy-text{position:relative}.copy-text .copy-buttons{position:absolute;right:0;top:0}@media (max-width:740px){.head{font-size:medium;padding:2px}.head .beta{font-size:xx-small}.bottom,.top{flex-direction:column;margin-top:5px}.top{flex-direction:column-reverse}.right{margin-left:0;padding-bottom:5px;margin-bottom:5px}.top .right{margin-left:0;margin-top:5px}.fix-help-contribute .three-words{display:none}}@media (max-width:540px){html{font-size:xx-small}input[type=password],input[type=text]{outline:none;width:100%;font-size:small}button{font-size:small}}@media (prefers-color-scheme:dark){:root{--main-bg-color:#444;--main-fg-color:#fff;--unselected-color:#666;--title-bg-color:#222;--button-bg-color:#fff;--link-color:#6cf;--table-head-bg-color:#555;--code-area-bg-color:#555;--un-run-bg-color:#00f;--aborted-bg-color:#000;--error-fg-color:red;--warn-fg-color:#ff0;--editor-bg-color:#263238}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{opacity:.3}.comment-notes{background:rgba(0,0,0,.5)}.gists{background-color:rgba(0,0,0,.3)}.gists tr:nth-child(2n){background-color:rgba(0,0,0,.2)}} -/*# sourceMappingURL=main.274a1e2f.chunk.css.map */ \ No newline at end of file diff --git a/static/css/main.274a1e2f.chunk.css.map b/static/css/main.274a1e2f.chunk.css.map deleted file mode 100644 index 754f5ad..0000000 --- a/static/css/main.274a1e2f.chunk.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["index.css","scrollbars.css","App.css"],"names":[],"mappings":"AAAA,KACE,QACF,CAEA,QACE,YACF,CAEA,UACE,cACF,CAEA,aACE,YACF,CCbA,MACE,wBAAyB,CACzB,4BAA6B,CAC7B,yBAA0B,CAC1B,mCAAoC,CACpC,iCAAiC,CACjC,uCAAuC,CACvC,6BACF,CAGA,6BAEE,wBAA4B,CAA5B,2BAA4B,CAC5B,eAAgB,CAChB,gCAAiC,CACjC,2CAA4C,CAC5C,oBAA0C,CAA1C,yCACF,CAGA,kBACE,0CAAoE,CAApE,mEACF,CAEA,iEACE,cAA6B,CAA7B,4BAA6B,CAC7B,aAA4B,CAA5B,2BACF,CACA,2CACE,4BAA8C,CAA9C,6CACF,CACA,2CACE,+BAAwC,CAAxC,uCAAwC,CACxC,iBACF,CACA,iDACE,+BAA8C,CAA9C,6CACF,CACA,kDACE,qBAA+C,CAA/C,8CACF,CACA,sGAEE,iBAAsC,CAAtC,qCACF,CACA,0GAEE,gBAAqC,CAArC,oCACF,CAGA,mCACE,MACE,sBAAsB,CACtB,4BAA6B,CAC7B,6BACF,CACF,CC3DA,MACE,uBAAwB,CACxB,oBAAqB,CACrB,oBAAqB,CACrB,qBAAsB,CACtB,uBAAwB,CACxB,0BAA2B,CAC3B,mBAAoB,CACpB,iBAAkB,CAClB,yBAA0B,CAC1B,sBAAuB,CACvB,uBAAwB,CACxB,wBAAyB,CACzB,qBAAsB,CACtB,sBACF,CAEA,KACE,qBAAsB,CACtB,sBAAuB,CACvB,eAAgB,CAChB,eAAgC,CAAhC,+BAAgC,CAChC,UAA2B,CAA3B,0BACF,CACA,UACE,WACF,CACA,iBACE,kBACF,CAIA,MAEE,aACF,CACA,WAHE,WAKF,CACA,WACE,aAA4B,CAA5B,2BACF,CACA,SACE,WAAY,CACZ,YAAa,CACb,qBACF,CACA,MACE,aAAc,CAEd,eAAiB,CACjB,6BAA8B,CAE9B,QAAS,CACT,gBACF,CACA,cAPE,YAAa,CAGb,kBASF,CALA,QACE,oBAAqB,CACrB,UAA2B,CAA3B,0BAGF,CACA,UACE,UAAW,CACX,qBAAsB,CACtB,UACF,CACA,YACE,iBAAkB,CAClB,kBAAmB,CACnB,iBAAkB,CAClB,SACF,CACA,qBACE,YAAa,CACb,kBACF,CACA,uBACE,oBAAqB,CACrB,UAA2B,CAA3B,0BACF,CACA,kCACE,iBAAkB,CAClB,gBACF,CACA,8BACE,YAAa,CACb,qBAAsB,CACtB,mBACF,CACA,KACE,aAAc,CACd,YAAa,CACb,kBACF,CACA,QAEE,WAAY,CACZ,iBAAkB,CAClB,aAAc,CACd,YAAa,CACb,WACF,CACA,qBAEE,YAAa,CACb,YACF,CACA,YACE,gBAAiB,CACjB,6BAA8B,CAC9B,kBAAmB,CACnB,eACF,CACA,SACE,YACF,CACA,WACE,iBAAkB,CAClB,YAAa,CACb,WAEF,CACA,yBAFE,WAIF,CAKA,kBAHE,WAAY,CACZ,YAOF,CALA,WAGE,YAAa,CACb,qBACF,CACA,OACE,YAAa,CACb,WAAY,CACZ,WACF,CACA,QACE,YACF,CAEA,yBACE,WACF,CACA,oCACE,kBACF,CACA,4BACE,WACF,CAEA,eACE,UAAW,CACX,WAAY,CACZ,qBACF,CACA,sBACE,aAAc,CACd,YACF,CAIA,yCACE,WACF,CACA,6BACE,YAAa,CACb,aACF,CAIA,4DACE,WACF,CAGA,0BACE,aACF,CAEA,2EAGE,YAAa,CACb,qBAAsB,CACtB,YACF,CAEA,mCACE,iBAAkB,CAClB,SAAU,CACV,SAAU,CACV,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,mCACE,cAAe,CACf,gBAA4B,CAC5B,gBAAiB,CACjB,yBAA2B,CAC3B,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,iDACE,qBAAwC,CAAxC,uCACF,CACA,yBACE,YACF,CAGA,QACE,eAAiC,CAAjC,gCAAiC,CACjC,qBAAsB,CACtB,oBAAqB,CACrB,WAAY,CACZ,UACF,CACA,cACE,aAAc,CACd,WACF,CACA,gBACE,sBAAuB,CACvB,YACF,CACA,aACE,aACF,CACA,cACE,WAAY,CACZ,iBACF,CACA,SACE,iBAAkB,CAClB,6BACF,CACA,gBACE,0BAA2B,CAC3B,iBAAkB,CAClB,QAAS,CACT,uBAAyB,CACzB,OAAQ,CACR,eAAgC,CAAhC,+BAAgC,CAChC,YAAa,CACb,eAAgB,CAChB,SAAa,CACb,cAAe,CACf,SACF,CACA,sBACE,aACF,CACA,mBACE,yBACF,CACA,yBACE,6BAAoC,CACpC,cACF,CACA,oLAQE,SAAY,CACZ,UAAW,CACX,cAAyB,CACzB,uBAAkC,CAClC,2BAA4B,CAC5B,iBAAkB,CAClB,aACF,CACA,oFAIE,kBAAoB,CACpB,qBAAsB,CACtB,eACF,CAEA,qBACE,eAAgB,CAChB,UACF,CACA,cACE,WAA2B,CAA3B,0BAA2B,CAC3B,6BACF,CACA,qBACE,eAAkB,CAClB,WACF,CACA,wBACE,qDACF,CACA,eACE,aAA4B,CAA5B,2BAA4B,CAC5B,2BACF,CACA,sBACE,cAAe,CACf,UACF,CACA,yBACE,sDACF,CAEA,OACE,YAAa,CACb,UAAW,CACX,WACF,CACA,gBACE,qBACF,CACA,aACE,aAAc,CACd,WAAY,CACZ,iBAAkB,CAClB,WAAY,CACZ,YACF,CAQA,+CACE,eACF,CACA,QACE,qBAAsC,CAAtC,qCAAsC,CACtC,aACF,CACA,0DAEI,gBACJ,CACA,sDAEI,gBACJ,CACA,wBACI,0LAGJ,CAEA,kDAJI,2BAAsC,CACtC,uBAOJ,CAJA,0BACI,0KAGJ,CAEA,EACE,UAAwB,CAAxB,uBACF,CACA,SACE,iBAUF,CAEA,iBAXE,MAAO,CACP,KAAM,CACN,UAAW,CACX,WAAY,CACZ,yBAA8B,CAC9B,WAAY,CACZ,YAAa,CACb,sBAAuB,CACvB,kBAeF,CAZA,QACE,cAAe,CAOf,cAIF,CACA,UACE,eAAgC,CAAhC,+BAAgC,CAChC,iBAAkB,CAClB,WAAY,CACZ,aAAc,CACd,cAAe,CACf,aAAc,CACd,WAAY,CACZ,YACF,CACA,qBACE,cACF,CACA,gBACE,YAAa,CACb,6BAA8B,CAC9B,kBAAmB,CACnB,eAAiB,CACjB,WAAY,CACZ,iBAAkB,CAClB,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,gBACE,WACF,CACA,cACE,iBAAkB,CAClB,OAAQ,CACR,KAAM,CACN,kBACF,CACA,YACE,UAAW,CACX,aAAc,CACd,eAAgB,CAChB,UAAW,CACX,WACF,CACA,SACE,kBAAmB,CACnB,qBAAsB,CACtB,iBAAkB,CAClB,WACF,CACA,iBACE,eAAgB,CAChB,4BAA6B,CAC7B,iBAAkB,CAClB,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,kBACE,YAAa,CACb,kBACF,CACA,oBACE,qBACF,CACA,kCACE,aACF,CACA,mCACE,aACF,CACA,UACE,cAAe,CACf,sBAAuB,CACvB,eAAgB,CAChB,kBAAmB,CACnB,aACF,CACA,UACE,UAAY,CACZ,mBAAoB,CACpB,kBACF,CAEA,UACE,cAAe,CACf,QAAS,CACT,YACF,CACA,cACE,eAAgB,CAChB,UAAY,CACZ,YAAc,CACd,YAAc,CACd,mBACF,CACA,iBACE,eACF,CACA,gBACE,eACF,CAEA,OACE,YACF,CACA,gBACE,oBAAqB,CACrB,mBACF,CACA,WACE,aACF,CAEA,iBACE,WAAY,CACZ,YACF,CAEA,mBACE,WAAa,CACb,YACF,CAEA,MACE,WAAY,CACZ,aAAe,CACf,eAAiC,CAAjC,gCAAiC,CACjC,UAA2B,CAA3B,0BACF,CACA,MACE,YAAa,CACb,6BAA8B,CAC9B,kBAAmB,CACnB,UACF,CACA,UACE,gBACF,CACA,mBACE,aACF,CACA,QACE,UAAW,CACX,kBACF,CACA,sCAEE,YAAa,CACb,UAAW,CACX,eACF,CACA,OACE,aACF,CAKA,uBAHE,UAAW,CACX,WAOF,CALA,eAGE,eAAiB,CACjB,WACF,CACA,WACE,YAAa,CACb,qBAAsB,CACtB,aAAc,CACd,eAAqC,CAArC,oCAAqC,CACrC,YAAa,CACb,WACF,CACA,kBACE,cACF,CACA,iBACE,eAAqC,CAArC,oCAAqC,CACrC,gBACF,CACA,UACE,YAAa,CACb,0BAA2B,CAC3B,6BAA8B,CAC9B,kBACF,CACA,OACE,SAAU,CACV,UACF,CACA,OACE,iBAAkB,CAClB,YAAa,CACb,qBAAsB,CACtB,WAAY,CACZ,YACF,CACA,SACE,aACF,CACA,YACE,QAAS,CACT,eACF,CACA,OACE,eAAgB,CAChB,qBAAqC,CAArC,oCAAqC,CACrC,UAA2B,CAA3B,0BAA2B,CAC3B,mBAAqB,CACrB,aAAe,CACf,kBAAoB,CACpB,eAAgB,CAChB,eAAiB,CACjB,wBAAiB,CAAjB,oBAAiB,CAAjB,gBAAiB,CACjB,aAAc,CACd,4BACF,CACA,WACE,UACF,CACA,aACE,eAA+B,CAA/B,8BACF,CAEA,mBACE,iBAAkB,CAClB,WACF,CACA,YACE,UAAW,CACX,WACF,CACA,gFAEE,UACF,CACA,eACE,eAAiC,CAAjC,gCAAiC,CACjC,aAAe,CACf,kBAAoB,CACpB,aACF,CACA,OACE,iCAAsC,CACtC,WAAY,CACZ,aAAc,CACd,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,iBACF,CACA,aACE,UACF,CACA,aAEE,WACF,CACA,uBAHE,qBAAuC,CAAvC,sCAOF,CAJA,UACE,uBAAgB,CAAhB,eAAgB,CAChB,KAEF,CACA,kBACE,cAAe,CACf,UAA8B,CAA9B,6BACF,CACA,+BACE,UAA2B,CAA3B,0BACF,CACA,cACE,yBAA2B,CAC3B,eACF,CACA,oBACE,YACF,CACA,wBACE,qCACF,CACA,wBACE,gBAAiB,CACjB,kBACF,CAEA,eACE,WAAY,CACZ,UAAW,CACX,6BAAoC,CACpC,SACF,CACA,uBAEI,iBAAkB,CAClB,eAAgB,CAChB,uBACJ,CACA,iBACE,UAAW,CACX,WACF,CACA,iBACE,iBACF,CACA,GACE,WAAY,CACZ,eAAiC,CAAjC,gCAAiC,CACjC,UACF,CAEA,QACE,YAAa,CACb,kBACF,CAEA,aACE,kBAAoB,CACpB,qBAA2C,CAA3C,0CAA2C,CAC3C,6BAA+B,CAC/B,iBAAmB,CACnB,kBAAmB,CACnB,iBACF,CACA,+BACE,eAAqC,CAArC,oCAAqC,CACrC,YACF,CACA,4CACE,iBAAkB,CAClB,MAAO,CACP,KAAM,CACN,2BACF,CACA,gCACE,mBAA4B,CAC5B,WAAY,CACZ,eAAgB,CAChB,aACF,CACA,gCACE,eAAgB,CAChB,WACF,CACA,kCACE,eAAgB,CAChB,YACF,CACA,+BACE,cACF,CACA,+BACE,SAAU,CACV,OACF,CACA,yBACE,mBAA4B,CAC5B,mBAAqB,CACrB,yBACF,CACA,iCACE,eAAkC,CAAlC,iCACF,CACA,oBACI,YAAa,CACb,wBAAyB,CACzB,eACJ,CACA,WACE,iBACF,CACA,yBACE,iBAAkB,CAClB,OAAQ,CACR,KACF,CAEA,yBACE,MACE,gBAAiB,CACjB,WACF,CACA,YACE,kBACF,CACA,aAEE,qBAAsB,CAGtB,cAFF,CAIA,KACE,6BACF,CACA,OACE,aAAc,CACd,kBAAmB,CACnB,iBACF,CACA,YACE,aAAc,CACd,cACF,CACA,kCACE,YACF,CACF,CAEA,yBACE,KACE,kBACF,CACA,sCACI,YAAa,CACb,UAAW,CACX,eACJ,CACA,OACE,eACF,CACF,CAEA,mCACE,MACE,oBAAqB,CACrB,oBAAqB,CACrB,uBAAwB,CACxB,qBAAsB,CACtB,sBAAuB,CACvB,iBAAkB,CAClB,0BAA2B,CAC3B,yBAA0B,CAC1B,sBAAuB,CACvB,uBAAwB,CACxB,oBAAqB,CACrB,oBAAuB,CACvB,yBACF,CACA,gFAEE,UACF,CACA,eACE,yBACF,CACA,OACE,+BACF,CACA,wBACE,+BACF,CACF","file":"main.274a1e2f.chunk.css","sourcesContent":["body {\n margin: 0;\n}\n\n.charts {\n display: flex;\n}\n\n.selected {\n background: red;\n}\n\n.collapsed>* {\n display:none;\n}","/* Variables */\n:root {\n --scrollbar-size: .375rem;\n --scrollbar-minlength: 1.5rem; /* Minimum length of scrollbar thumb (width of horizontal, height of vertical) */\n --scrollbar-ff-width: thin; /* FF-only accepts auto, thin, none */\n --scrollbar-track-color: transparent;\n --scrollbar-color: rgba(0,0,0,.2);\n --scrollbar-color-hover: rgba(0,0,0,.3);\n --scrollbar-color-active: rgb(0,0,0);\n}\n\n/* Use .layout-scrollbar-obtrusive to only use overflow if scrollbars don’t overlay */\n.scrollbar-test,\n.layout-cell {\n overscroll-behavior: contain;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n scrollbar-width: var(--scrollbar-ff-width);\n}\n\n/* This class controls what elements have the new fancy scrollbar CSS */\n.layout-scrollbar {\n scrollbar-color: var(--scrollbar-color) var(--scrollbar-track-color);\n}\n/* Only apply height/width to ::-webkit-scrollbar if is obtrusive */\n.layout-scrollbar-obtrusive .layout-scrollbar::-webkit-scrollbar {\n height: var(--scrollbar-size);\n width: var(--scrollbar-size);\n}\n.layout-scrollbar::-webkit-scrollbar-track {\n background-color: var(--scrollbar-track-color);\n}\n.layout-scrollbar::-webkit-scrollbar-thumb {\n background-color: var(--scrollbar-color);\n border-radius: 3px;\n}\n.layout-scrollbar::-webkit-scrollbar-thumb:hover {\n background-color: var(--scrollbar-color-hover);\n}\n.layout-scrollbar::-webkit-scrollbar-thumb:active {\n background-color: var(--scrollbar-color-active);\n}\n.scrollbar-test::-webkit-scrollbar-thumb:vertical,\n.layout-scrollbar::-webkit-scrollbar-thumb:vertical {\n min-height: var(--scrollbar-minlength);\n}\n.scrollbar-test::-webkit-scrollbar-thumb:horizontal,\n.layout-scrollbar::-webkit-scrollbar-thumb:horizontal {\n min-width: var(--scrollbar-minlength);\n}\n\n\n@media (prefers-color-scheme: dark) {\n :root {\n --scrollbar-color:#555;\n --scrollbar-color-hover: #555;\n --scrollbar-color-active: #555;\n }\n}\n\n",":root {\n color-scheme: light dark;\n --main-bg-color: #eee;\n --main-fg-color: #000;\n --title-bg-color: #CCC;\n --unselected-color: #ccc;\n --table-head-bg-color: #DDD;\n --button-color: #48F;\n --link-color: #36C;\n --code-area-bg-color: #CCC;\n --un-run-bg-color: #8AF;\n --aborted-bg-color: #DDD;\n --error-fg-color: darkred;\n --warn-fg-color: brown;\n --editor-bg-color: #fff;\n}\n\nhtml {\n box-sizing: border-box;\n font-family: sans-serif;\n line-height: 1.2;\n background: var(--main-bg-color);\n color: var(--main-fg-color);\n}\nhtml, body {\n height: 100%;\n}\n*, *:before, *:after {\n box-sizing: inherit;\n}\n/* ---------------- */\n\n/* ---------------- */\n#root {\n height: 100%;\n overflow: auto;\n}\n.App {\n height: 100%;\n}\n.error-msg {\n color: var(--error-fg-color);\n}\n.content {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.head {\n flex: 0 0 auto;\n display: flex;\n font-weight: bold;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n font-size: larger;\n}\n.head a {\n text-decoration: none;\n color: var(--main-fg-color);\n display: flex;\n align-items: center;\n}\n.head img {\n height: 1em;\n vertical-align: middle;\n margin: 5px;\n}\n.head .beta {\n font-size: x-small;\n vertical-align: top;\n position: relative;\n right: 1em;\n}\n.fix-help-contribute {\n display: flex;\n align-items: center;\n}\n.fix-help-contribute a {\n text-decoration: none;\n color: var(--main-fg-color);\n}\n.fix-help-contribute .three-words {\n font-size: x-small;\n text-align: right;\n}\n.fix-help-contribute .octocat {\n display: flex;\n flex-direction: column;\n justify-content: top;\n}\n.top {\n flex: 0 0 auto;\n display: flex;\n margin: 10px 10px 0 10px;\n}\n.bottom {\n display: flex;\n margin: 10px;\n position: relative;\n flex: 1 1 auto;\n min-height: 0;\n height: 100%;\n}\n.top>div,\n.bottom>div {\n flex: 1 1 50%;\n display: flex;\n}\n.top .right {\n margin-left: 10px;\n justify-content: space-between;\n align-items: center;\n overflow: hidden;\n}\n.toolbar {\n display: flex;\n}\n.top .left {\n position: relative;\n min-height: 0;\n min-width: 0;\n height: 100%;\n}\n.bottom .left {\n height: 100%;\n}\n.codes {\n height: 100%;\n min-height: 0;\n}\n.codes>div {\n height: 100%;\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n.right {\n min-height: 0;\n min-width: 0;\n height: 100%;\n}\n.bottom {\n display: flex;\n}\n/* ---------------------- */\n.layout-3-horizontal-top {\n height: 100%;\n}\n.layout-3-horizontal-top .codes>div {\n flex-direction: row;\n}\n.layout-3-horizontal-bottom {\n height: 100%;\n}\n/* ---------------------- */\n.layout-tabbed {\n width: 100%;\n height: 100%;\n flex-direction: column; \n}\n.layout-tabbed>.split {\n flex: 1 1 auto;\n min-height: 0;\n}\n.layout-tabbed-result {\n height: 100%;\n}\n.layout-tabbed-log {\n height: 100%;\n}\n.layout-tabbed-top .tab-tabs {\n display: flex;\n flex: 0 0 auto;\n}\n.layout-tabbed .tab-content {\n height: 100%;\n}\n.layout-tabbed .tab-content>div {\n height: 100%;\n}\n\n/* add this below? */\n.layout-tabbed-top .hidee {\n flex: 1 1 auto;\n}\n\n.layout-tabbed-top .code-area,\n.layout-tabbed-top .hidee,\n.react-codemirror2 {\n display: flex;\n flex-direction: column;\n min-height: 0;\n}\n\n.layout-tabbed-top .tab-tabs input {\n position: absolute;\n opacity: 0;\n padding: 0;\n user-select: none;\n}\n.layout-tabbed-top .tab-tabs label {\n cursor: pointer;\n padding: 0.5em 1em 0.5em 1em;\n margin-right: 3px;\n background: rgba(0,0,0,0.2);\n user-select: none;\n}\n.layout-tabbed-top .tab-tabs input:checked + label {\n background-color: var(--editor-bg-color);\n}\n.layout-tabbed .expander {\n display: none;\n}\n\n/* ---------------------- */\n.logger {\n background: var(--title-bg-color);\n font-family: monospace;\n white-space: pre-wrap;\n height: 100%;\n width: 100%;\n}\n.log-messages {\n overflow: auto;\n height: 100%;\n}\n.log-messages>* {\n overflow-wrap: anywhere;\n display: flex;\n}\n.logger .msg {\n flex: 1 1 auto;\n}\n.logger .file {\n float: right;\n position: relative;\n}\n.tooltip {\n position: relative;\n border-bottom: 1px dashed #888;\n}\n.tooltip:before {\n content: attr(data-tooltip);\n position: absolute;\n top: 100%;\n transform: translateY(0%);\n right: 0;\n background: var(--main-bg-color);\n display: none;\n white-space: pre;\n left: initial;\n margin: initial;\n z-index: 2;\n}\n.tooltip:hover:before {\n display:block;\n}\n.logger .file-link {\n text-decoration: underline;\n}\n.logger .file-link:hover {\n background: rgba(255, 255, 255, 0.3);\n cursor: pointer;\n}\n.logger .log .count,\n.logger .info .count,\n.logger .warn .count,\n.logger .error .count,\n.logger .log .no-count,\n.logger .info .no-count,\n.logger .warn .no-count,\n.logger .error .no-count {\n width: 1.0em;\n height: 1em;\n margin: 0 0.25em 0 0.25em;\n background-position: center center;\n background-repeat: no-repeat;\n text-align: center;\n flex: 0 0 auto;\n}\n.logger .log .count,\n.logger .info .count,\n.logger .warn .count,\n.logger .error .count {\n border-radius: 0.5em;\n vertical-align: middle;\n line-height: 1em;\n}\n\n.logger .info .count {\n background: #666;\n color: #DDD;\n}\n.logger .warn {\n color: var(--warn-fg-color);\n background: rgba(255, 255, 0, 0.2);\n}\n.logger .warn .count {\n background: yellow;\n color: brown;\n}\n.logger .warn .no-count {\n background-image: url(/resources/images/warn-icon.svg);\n}\n.logger .error {\n color: var(--error-fg-color);\n background: rgba(255, 0, 0, 0.2);\n}\n.logger .error .count {\n background: red;\n color: white;\n}\n.logger .error .no-count {\n background-image: url(/resources/images/error-icon.svg);\n}\n/* ---------------------- */\n.split {\n display: flex;\n width: 100%;\n height: 100%;\n}\n.split-vertical {\n flex-direction: column;\n}\n.split .pane {\n flex-shrink: 1;\n flex-grow: 1;\n position: relative;\n min-width: 0;\n min-height: 0;\n}\n.editor-codemirror .pane {\n /*\n I don't understand why codemirror needs this\n and monaco fails with it. >:(\n */\n overflow: hidden;\n}\n.split .pane-dragging {\n overflow: hidden;\n}\n.gutter {\n background-color: var(--main-bg-color);\n flex: 0 0 auto;\n}\n.gutter.gutter-horizontal,\n.gutter.gutter-horizontal:hover {\n cursor: ew-resize;\n}\n.gutter.gutter-vertical,\n.gutter.gutter-vertical:hover {\n cursor: ns-resize;\n}\n.gutter.gutter-vertical {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=');\n background-repeat: no-repeat no-repeat;\n background-position: center center;\n}\n\n.gutter.gutter-horizontal {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');\n background-repeat: no-repeat no-repeat;\n background-position: center center;\n}\n/* ---------------------- */\na {\n color: var(--link-color);\n}\n.blocked {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.8);\n z-index: 100;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n/* ---------------------- */\n.dialog {\n position: fixed;\n left: 0;\n top: 0;\n background: rgba(0, 0, 0, 0.8);\n z-index: 100;\n width: 100%;\n height: 100%;\n max-width: 100%;\n justify-content: center;\n align-items: center;\n display: flex;\n}\n.dialog>* {\n background: var(--main-bg-color);\n border-radius: 5px;\n padding: 1em;\n max-width: 90%;\n max-height: 90%;\n overflow: auto;\n width: 800px;\n outline: none;\n}\n.fixed-size-dialog>* {\n min-height: 90%;\n}\n.dialog-heading {\n display: flex;\n justify-content: space-between;\n font-size: xx-large;\n font-weight: bold;\n margin: 10px;\n position: relative;\n user-select: none;\n}\n.dialog-content {\n margin: 10px;\n}\n.dialog-close {\n position: absolute;\n right: 0;\n top: 0;\n vertical-align: top;\n}\n.dialog pre {\n width: 100%;\n overflow: auto;\n background: #222;\n color: #eee;\n padding: 1em;\n}\n.section {\n margin-bottom: 10px;\n border: 1px solid #888;\n border-radius: 5px;\n padding: 1em;\n}\n.section-heading {\n font-size: large;\n border-bottom: 1px solid #888;\n margin-bottom: 1em;\n user-select: none;\n}\n.save-as-gist-pat {\n display: flex;\n align-items: center;\n}\n.save-as-gist-pat>* {\n vertical-align: middle;\n}\n.save-as-gist-pat>div:nth-child(1) {\n flex: 0 0 auto;\n}\n.save-as-gist-pat>div:nth-child(2) {\n flex: 1 1 auto;\n}\n.bookmark {\n max-width: 100%;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n display: block;\n}\n.disabled {\n opacity: 0.2;\n pointer-events: none;\n cursor: not-allowed;\n}\n/* ------------------ */\n.messages {\n position: fixed;\n bottom: 0;\n z-index: 1000;\n}\n.messages>div {\n background: #888;\n color: white;\n padding: 0.5em;\n margin: 0.25em;\n border-radius: 0.25em;\n}\n.messages .error {\n background: #C00;\n}\n.messages .info {\n background: #00F;\n}\n/* -------------------- */\n.radio {\n display: flex;\n}\n.radio-selected {\n background-color: red;\n border-radius: 0.25em;\n}\n.radio img {\n display: block;\n}\n/* -------------------- */\n.layout .radio>* {\n width: 3.5em;\n padding: 0.5em;\n}\n/* -------------------- */\n.settings .radio>* {\n margin: 0.2em;\n padding: 0.2em;\n}\n/* -------------------- */\ninput {\n border: none;\n padding: 0.25em;\n background: var(--title-bg-color);\n color: var(--main-fg-color);\n}\n.name {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n}\n.name > * + * {\n margin-left: 10px;\n}\n.name>*:nth-child(1) {\n flex: 1 1 auto;\n}\n.avatar {\n height: 2em;\n border-radius: 100%;;\n}\ninput[type=\"text\"],\ninput[type=\"password\"] {\n outline: none;\n width: 100%;\n font-size: large;\n}\n.named {\n padding: 0.25em;\n}\n.runner {\n width: 100%;\n height: 100%;\n}\n.runner>iframe {\n width: 100%;\n height: 100%;\n background: white;\n border: none;\n}\n.code-area {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n background: var(--code-area-bg-color);\n min-height: 0;\n height: 100%;\n}\n.code-area button {\n margin-right: 0;\n}\n.code-area input {\n background: var(--code-area-bg-color);\n font-size: medium;\n}\n.expander {\n display: flex;\n flex-direction: row-reverse;\n justify-content: space-between;\n align-items: center;\n}\n.hider {\n width: 1em;\n color: #888;\n}\n.hidee {\n position: relative;\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n}\n.hidee>* {\n flex: 1 1 auto;\n}\n.hidee-hide {\n height: 0;\n overflow: hidden;\n}\nbutton {\n background: none;\n border: 2px solid var(--button-color);\n color: var(--main-fg-color);\n border-radius: 0.25em;\n padding: 0.25em;\n margin-right: 0.25em;\n min-width: 2.5em;\n font-weight: bold;\n user-select: none;\n height: 2.25em;\n line-height: calc(1em - 12px);\n}\nbutton img {\n height: 1em;\n}\nbutton:hover {\n background: var(--button-color);\n}\n\n.react-codemirror2 {\n position: relative;\n height: 100%;\n}\n.CodeMirror {\n width: 100%;\n height: 100%;\n}\n.CodeMirror-overlayscroll-horizontal div,\n.CodeMirror-overlayscroll-vertical div {\n opacity: 0.6;\n}\n.markdown code {\n background: var(--title-bg-color);\n padding: 0.25em;\n border-radius: 0.5em;\n line-height: 2;\n}\n.gists {\n background-color: rgba(0, 0, 255, 0.1);\n border: none;\n display: block;\n min-height: 20vh;\n max-height: 40vh;\n overflow-y: scroll;\n position: relative;\n}\n.gists table {\n width: 100%; \n}\n.gists thead {\n background-color: var(--title-bg-color);\n border: none;\n}\n.gists th {\n position: sticky; \n top: 0;\n background-color: var(--title-bg-color);\n}\n.gists thead span {\n cursor: pointer;\n color: var(--unselected-color);\n}\n.gists thead .current-sort-key {\n color: var(--main-fg-color);\n}\n.gists td>div {\n transition: max-height 0.3s;\n max-height: 100%;\n}\n.gists .hide td>div {\n max-height: 0;\n}\n.gists tr:nth-child(2n) {\n background-color: rgba(128, 160, 255, 0.2);\n}\n.gists td:nth-child(3n) {\n text-align: right;\n white-space: nowrap;\n}\n\n.comment-notes {\n padding: 1em;\n margin: 1em;\n background: rgba(255, 255, 255, 0.5);\n color: red;\n}\n.comments,\n.comment-sep {\n margin: 0 auto 1em;\n max-width: 700px;\n width: calc(100% - 40px);\n}\n.comments iframe {\n width: 100%;\n border: none;\n}\n.comments .links {\n text-align: center;\n}\nhr {\n border: none;\n background: var(--title-bg-color);\n height: 2px;\n}\n/*-------------*/\n.logout {\n display: flex;\n align-items: center;\n}\n/*-------------*/\n.new-comment {\n border-radius: 0.5em;\n border: 1px solid var(--code-area-bg-color);\n margin-left: calc(0.5em + 42px);\n margin-right: 0.5em;\n margin-bottom: 15em;\n position: relative;\n}\n.new-comment .new-comment-head {\n background: var(--code-area-bg-color);\n padding: 0.5em;\n}\n.new-comment .new-comment-head .user-avatar {\n position: absolute;\n left: 0;\n top: 0;\n transform: translateX(-42px);\n}\n.new-comment .react-codemirror2 {\n padding: 0 0.5em 0.5em 0.5em;\n height: 10em;\n resize: vertical;\n overflow: auto;\n}\n.new-comment .new-comment-write {\n min-height: 10em;\n height: 10em;\n}\n.new-comment .new-comment-preview {\n min-height: 10em;\n padding: 0.5em;\n}\n.new-comment .new-comment-tabs {\n margin-top: 1em;\n}\n.new-comment input[type=\"radio\"] {\n opacity: 0;\n width: 0;\n}\n.new-comment input + label {\n padding: 0.5em 0.5em 0 0.5em;\n margin-right: 0.125em;\n background: rgba(0,0,0,0.1);\n}\n.new-comment input:checked + label {\n background: var(--editor-bg-color);\n}\n.new-comment-submit {\n display: flex;\n justify-content: flex-end;\n padding-top: 1em;\n}\n.copy-text {\n position: relative;\n}\n.copy-text .copy-buttons {\n position: absolute;\n right: 0;\n top: 0;\n}\n\n@media (max-width: 740px) {\n .head {\n font-size: medium;\n padding: 2px;\n }\n .head .beta {\n font-size: xx-small;\n }\n .top,\n .bottom {\n flex-direction: column;\n }\n .top, .bottom {\n margin-top: 5px;\n }\n .top {\n flex-direction: column-reverse;\n }\n .right {\n margin-left: 0;\n padding-bottom: 5px;\n margin-bottom: 5px;\n }\n .top .right {\n margin-left: 0;\n margin-top: 5px;\n }\n .fix-help-contribute .three-words {\n display: none;\n }\n}\n\n@media (max-width: 540px) {\n html {\n font-size: xx-small;\n }\n input[type=\"text\"], input[type=\"password\"] {\n outline: none;\n width: 100%;\n font-size: small;\n }\n button {\n font-size: small;\n }\n}\n\n@media (prefers-color-scheme: dark) {\n :root {\n --main-bg-color: #444;\n --main-fg-color: #fff;\n --unselected-color: #666;\n --title-bg-color: #222;\n --button-bg-color: #fff;\n --link-color: #6CF;\n --table-head-bg-color: #555;\n --code-area-bg-color: #555;\n --un-run-bg-color: blue;\n --aborted-bg-color: #000;\n --error-fg-color: red;\n --warn-fg-color: yellow;\n --editor-bg-color: #263238;\n }\n .CodeMirror-overlayscroll-horizontal div,\n .CodeMirror-overlayscroll-vertical div {\n opacity: 0.3;\n }\n .comment-notes {\n background: rgba(0, 0, 0, 0.5);\n }\n .gists {\n background-color: rgba(0, 0, 0, 0.3);\n }\n .gists tr:nth-child(2n) {\n background-color: rgba(0, 0, 0, 0.2);\n }\n}\n"]} \ No newline at end of file diff --git a/static/css/main.3b498017.chunk.css b/static/css/main.3b498017.chunk.css new file mode 100644 index 0000000..319e0a4 --- /dev/null +++ b/static/css/main.3b498017.chunk.css @@ -0,0 +1,2 @@ +body{margin:0}.charts{display:flex}.selected{background:red}.collapsed>*{display:none}:root{--scrollbar-size:.375rem;--scrollbar-minlength:1.5rem;--scrollbar-ff-width:thin;--scrollbar-track-color:transparent;--scrollbar-color:rgba(0,0,0,0.2);--scrollbar-color-hover:rgba(0,0,0,0.3);--scrollbar-color-active:#000}.layout-cell,.scrollbar-test{-ms-scroll-chaining:none;overscroll-behavior:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;scrollbar-width:thin;scrollbar-width:var(--scrollbar-ff-width)}.layout-scrollbar{scrollbar-color:rgba(0,0,0,.2) transparent;scrollbar-color:var(--scrollbar-color) var(--scrollbar-track-color)}.layout-scrollbar-obtrusive .layout-scrollbar::-webkit-scrollbar{height:.375rem;height:var(--scrollbar-size);width:.375rem;width:var(--scrollbar-size)}.layout-scrollbar::-webkit-scrollbar-track{background-color:transparent;background-color:var(--scrollbar-track-color)}.layout-scrollbar::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.2);background-color:var(--scrollbar-color);border-radius:3px}.layout-scrollbar::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.3);background-color:var(--scrollbar-color-hover)}.layout-scrollbar::-webkit-scrollbar-thumb:active{background-color:#000;background-color:var(--scrollbar-color-active)}.layout-scrollbar::-webkit-scrollbar-thumb:vertical,.scrollbar-test::-webkit-scrollbar-thumb:vertical{min-height:1.5rem;min-height:var(--scrollbar-minlength)}.layout-scrollbar::-webkit-scrollbar-thumb:horizontal,.scrollbar-test::-webkit-scrollbar-thumb:horizontal{min-width:1.5rem;min-width:var(--scrollbar-minlength)}@media (prefers-color-scheme:dark){:root{--scrollbar-color:#555;--scrollbar-color-hover:#555;--scrollbar-color-active:#555}}:root{color-scheme:light dark;--main-bg-color:#eee;--main-fg-color:#000;--title-bg-color:#ccc;--unselected-color:#ccc;--table-head-bg-color:#ddd;--button-color:#48f;--link-color:#36c;--code-area-bg-color:#ccc;--pre-area-bg-color:#fff;--un-run-bg-color:#8af;--aborted-bg-color:#ddd;--error-fg-color:#8b0000;--warn-fg-color:brown;--editor-bg-color:#fff}html{box-sizing:border-box;font-family:sans-serif;line-height:1.2;background:#eee;background:var(--main-bg-color);color:#000;color:var(--main-fg-color)}body,html{height:100%}*,:after,:before{box-sizing:inherit}#root{overflow:auto}#root,.App{height:100%}.error-msg{color:#8b0000;color:var(--error-fg-color)}.content{height:100%;display:flex;flex-direction:column}.head{flex:0 0 auto;font-weight:700;justify-content:space-between;margin:0;font-size:larger}.head,.head a{display:flex;align-items:center}.head a{text-decoration:none;color:#000;color:var(--main-fg-color)}.head img{height:1em;vertical-align:middle;margin:5px}.head .beta{font-size:x-small;vertical-align:top;position:relative;right:1em}.fix-help-contribute{display:flex;align-items:center}.fix-help-contribute a{text-decoration:none;color:#000;color:var(--main-fg-color)}.fix-help-contribute .three-words{font-size:x-small;text-align:right}.fix-help-contribute .octocat{display:flex;flex-direction:column;justify-content:top}.top{flex:0 0 auto;display:flex;margin:10px 10px 0}.bottom{margin:10px;position:relative;flex:1 1 auto;min-height:0;height:100%}.bottom>div,.top>div{flex:1 1 50%;display:flex}.top .right{margin-left:10px;justify-content:space-between;align-items:center;overflow:hidden}.toolbar{display:flex}.top .left{position:relative;min-height:0;min-width:0}.bottom .left,.top .left{height:100%}.codes,.codes>div{height:100%;min-height:0}.codes>div{display:flex;flex-direction:column}.right{min-height:0;min-width:0;height:100%}.bottom{display:flex}.layout-3-horizontal-top{height:100%}.layout-3-horizontal-top .codes>div{flex-direction:row}.layout-3-horizontal-bottom{height:100%}.layout-tabbed{width:100%;height:100%;flex-direction:column}.layout-tabbed>.split{flex:1 1 auto;min-height:0}.layout-tabbed-log,.layout-tabbed-result{height:100%}.layout-tabbed-top .tab-tabs{display:flex;flex:0 0 auto}.layout-tabbed .tab-content,.layout-tabbed .tab-content>div{height:100%}.layout-tabbed-top .hidee{flex:1 1 auto}.layout-tabbed-top .code-area,.layout-tabbed-top .hidee,.react-codemirror2{display:flex;flex-direction:column;min-height:0}.layout-tabbed-top .tab-tabs input{position:absolute;opacity:0;padding:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.layout-tabbed-top .tab-tabs label{cursor:pointer;padding:.5em 1em;margin-right:3px;background:rgba(0,0,0,.2);-webkit-user-select:none;-ms-user-select:none;user-select:none}.layout-tabbed-top .tab-tabs input:checked+label{background-color:#fff;background-color:var(--editor-bg-color)}.layout-tabbed .expander{display:none}.logger{background:#ccc;background:var(--title-bg-color);font-family:monospace;white-space:pre-wrap;height:100%;width:100%}.log-messages{overflow:auto;height:100%}.log-messages>*{overflow-wrap:anywhere;display:flex}.logger .msg{flex:1 1 auto}.logger .file{float:right;position:relative}.tooltip{position:relative;border-bottom:1px dashed #888}.tooltip:before{content:attr(data-tooltip);position:absolute;top:100%;transform:translateY(0);right:0;background:#eee;background:var(--main-bg-color);display:none;white-space:pre;left:auto;margin:initial;z-index:2}.tooltip:hover:before{display:block}.logger .file-link{text-decoration:underline}.logger .file-link:hover{background:hsla(0,0%,100%,.3);cursor:pointer}.logger .error .count,.logger .error .no-count,.logger .info .count,.logger .info .no-count,.logger .log .count,.logger .log .no-count,.logger .warn .count,.logger .warn .no-count{width:1em;height:1em;margin:0 .25em;background-position:50%;background-repeat:no-repeat;text-align:center;flex:0 0 auto}.logger .error .count,.logger .info .count,.logger .log .count,.logger .warn .count{border-radius:.5em;vertical-align:middle;line-height:1em}.logger .info .count{background:#666;color:#ddd}.logger .warn{color:brown;color:var(--warn-fg-color);background:rgba(255,255,0,.2)}.logger .warn .count{background:#ff0;color:brown}.logger .warn .no-count{background-image:url(/resources/images/warn-icon.svg)}.logger .error{color:#8b0000;color:var(--error-fg-color);background:rgba(255,0,0,.2)}.logger .error .count{background:red;color:#fff}.logger .error .no-count{background-image:url(/resources/images/error-icon.svg)}.split{display:flex;width:100%;height:100%}.split-vertical{flex-direction:column}.split .pane{flex-shrink:1;flex-grow:1;position:relative;min-width:0;min-height:0}.editor-codemirror .pane,.split .pane-dragging{overflow:hidden}.gutter{background-color:#eee;background-color:var(--main-bg-color);flex:0 0 auto}.gutter.gutter-horizontal,.gutter.gutter-horizontal:hover{cursor:ew-resize}.gutter.gutter-vertical,.gutter.gutter-vertical:hover{cursor:ns-resize}.gutter.gutter-vertical{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=")}.gutter.gutter-horizontal,.gutter.gutter-vertical{background-repeat:no-repeat;background-position:50%}.gutter.gutter-horizontal{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==")}a{color:#36c;color:var(--link-color)}.blocked{position:absolute}.blocked,.dialog{left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.8);z-index:100;display:flex;justify-content:center;align-items:center}.dialog{position:fixed;max-width:100%}.dialog>*{background:#eee;background:var(--main-bg-color);border-radius:5px;padding:1em;max-width:90%;max-height:90%;overflow:auto;width:800px;outline:none}.fixed-size-dialog>*{min-height:90%}.dialog-heading{display:flex;justify-content:space-between;font-size:xx-large;font-weight:700;margin:10px;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.dialog-content{margin:10px}.dialog-close{position:absolute;right:0;top:0;vertical-align:top}.dialog pre{width:100%;overflow:auto;background:#fff;background:var(--pre-area-bg-color);padding:1em}.section{margin-bottom:10px;border:1px solid #888;border-radius:5px;padding:1em}.section-heading{font-size:large;border-bottom:1px solid #888;margin-bottom:1em;-webkit-user-select:none;-ms-user-select:none;user-select:none}.save-as-gist-pat{display:flex;align-items:center}.save-as-gist-pat>*{vertical-align:middle}.save-as-gist-pat>div:first-child{flex:0 0 auto}.save-as-gist-pat>div:nth-child(2){flex:1 1 auto}.bookmark{max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:block}.disabled{opacity:.2;pointer-events:none;cursor:not-allowed}.messages{position:fixed;bottom:0;z-index:1000}.messages>div{background:#888;color:#fff;padding:.5em;margin:.25em;border-radius:.25em}.messages .error{background:#c00}.messages .info{background:#00f}.radio{display:flex}.radio-selected{background-color:red;border-radius:.25em}.radio img{display:block}.layout .radio>*{width:3.5em;padding:.5em}.settings .radio>*{margin:.2em;padding:.2em}input{border:none;padding:.25em;background:#ccc;background:var(--title-bg-color);color:#000;color:var(--main-fg-color)}.name{display:flex;justify-content:space-between;align-items:center;width:100%}.name>*+*{margin-left:10px}.name>:first-child{flex:1 1 auto}.avatar{height:2em;border-radius:100%}input[type=password],input[type=text]{outline:none;width:100%;font-size:large}.named{padding:.25em}.runner,.runner>iframe{width:100%;height:100%}.runner>iframe{background:#fff;border:none}.code-area{display:flex;flex-direction:column;flex:1 1 auto;background:#ccc;background:var(--code-area-bg-color);min-height:0;height:100%}.code-area button{margin-right:0}.code-area input{background:#ccc;background:var(--code-area-bg-color);font-size:medium}.expander{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center}.hider{width:1em;color:#888}.hidee{position:relative;display:flex;flex-direction:column;height:100%;min-height:0}.hidee>*{flex:1 1 auto}.hidee-hide{height:0;overflow:hidden}button{background:none;border:2px solid #48f;border:2px solid var(--button-color);color:#000;color:var(--main-fg-color);border-radius:.25em;padding:.25em;margin-right:.25em;min-width:2.5em;font-weight:700;-webkit-user-select:none;-ms-user-select:none;user-select:none;height:2.25em;line-height:calc(1em - 12px)}button img{height:1em}button:hover{background:#48f;background:var(--button-color)}.react-codemirror2{position:relative;height:100%}.CodeMirror{width:100%;height:100%}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{opacity:.6}.markdown code{background:#ccc;background:var(--title-bg-color);padding:.25em;border-radius:.5em;line-height:2}.gists{background-color:rgba(0,0,255,.1);border:none;display:block;min-height:20vh;max-height:40vh;overflow-y:scroll;position:relative}.gists table{width:100%}.gists thead{border:none}.gists th,.gists thead{background-color:#ccc;background-color:var(--title-bg-color)}.gists th{position:-webkit-sticky;position:sticky;top:0}.gists thead span{cursor:pointer;color:#ccc;color:var(--unselected-color)}.gists thead .current-sort-key{color:#000;color:var(--main-fg-color)}.gists td>div{transition:max-height .3s;max-height:100%}.gists .hide td>div{max-height:0}.gists tr:nth-child(2n){background-color:rgba(128,160,255,.2)}.gists td:nth-child(3n){text-align:right;white-space:nowrap}.comment-notes{padding:1em;margin:1em;background:hsla(0,0%,100%,.5);color:red}.comment-sep,.comments{margin:0 auto 1em;max-width:700px;width:calc(100% - 40px)}.comments iframe{width:100%;border:none}.comments .links{text-align:center}hr{border:none;background:#ccc;background:var(--title-bg-color);height:2px}.logout{display:flex;align-items:center}.new-comment{border-radius:.5em;border:1px solid #ccc;border:1px solid var(--code-area-bg-color);margin-left:calc(.5em + 42px);margin-right:.5em;margin-bottom:15em;position:relative}.new-comment .new-comment-head{background:#ccc;background:var(--code-area-bg-color);padding:.5em}.new-comment .new-comment-head .user-avatar{position:absolute;left:0;top:0;transform:translateX(-42px)}.new-comment .react-codemirror2{padding:0 .5em .5em;height:10em;resize:vertical;overflow:auto}.new-comment .new-comment-write{min-height:10em;height:10em}.new-comment .new-comment-preview{min-height:10em;padding:.5em}.new-comment .new-comment-tabs{margin-top:1em}.new-comment input[type=radio]{opacity:0;width:0}.new-comment input+label{padding:.5em .5em 0;margin-right:.125em;background:rgba(0,0,0,.1)}.new-comment input:checked+label{background:#fff;background:var(--editor-bg-color)}.new-comment-submit{display:flex;justify-content:flex-end;padding-top:1em}.copy-text{position:relative}.copy-text .copy-buttons{position:absolute;right:0;top:0}@media (max-width:740px){.head{font-size:medium;padding:2px}.head .beta{font-size:xx-small}.bottom,.top{flex-direction:column;margin-top:5px}.top{flex-direction:column-reverse}.right{margin-left:0;padding-bottom:5px;margin-bottom:5px}.top .right{margin-left:0;margin-top:5px}.fix-help-contribute .three-words{display:none}}@media (max-width:540px){html{font-size:xx-small}input[type=password],input[type=text]{outline:none;width:100%;font-size:small}button{font-size:small}}@media (prefers-color-scheme:dark){:root{--main-bg-color:#444;--main-fg-color:#fff;--unselected-color:#666;--title-bg-color:#222;--button-bg-color:#fff;--link-color:#6cf;--table-head-bg-color:#555;--code-area-bg-color:#555;--pre-area-bg-color:#222;--un-run-bg-color:#00f;--aborted-bg-color:#000;--error-fg-color:red;--warn-fg-color:#ff0;--editor-bg-color:#263238}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{opacity:.3}.comment-notes{background:rgba(0,0,0,.5)}.gists{background-color:rgba(0,0,0,.3)}.gists tr:nth-child(2n){background-color:rgba(0,0,0,.2)}} +/*# sourceMappingURL=main.3b498017.chunk.css.map */ \ No newline at end of file diff --git a/static/css/main.3b498017.chunk.css.map b/static/css/main.3b498017.chunk.css.map new file mode 100644 index 0000000..97b8596 --- /dev/null +++ b/static/css/main.3b498017.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["index.css","scrollbars.css","App.css"],"names":[],"mappings":"AAAA,KACE,QACF,CAEA,QACE,YACF,CAEA,UACE,cACF,CAEA,aACE,YACF,CCbA,MACE,wBAAyB,CACzB,4BAA6B,CAC7B,yBAA0B,CAC1B,mCAAoC,CACpC,iCAAiC,CACjC,uCAAuC,CACvC,6BACF,CAGA,6BAEE,wBAA4B,CAA5B,2BAA4B,CAC5B,eAAgB,CAChB,gCAAiC,CACjC,2CAA4C,CAC5C,oBAA0C,CAA1C,yCACF,CAGA,kBACE,0CAAoE,CAApE,mEACF,CAEA,iEACE,cAA6B,CAA7B,4BAA6B,CAC7B,aAA4B,CAA5B,2BACF,CACA,2CACE,4BAA8C,CAA9C,6CACF,CACA,2CACE,+BAAwC,CAAxC,uCAAwC,CACxC,iBACF,CACA,iDACE,+BAA8C,CAA9C,6CACF,CACA,kDACE,qBAA+C,CAA/C,8CACF,CACA,sGAEE,iBAAsC,CAAtC,qCACF,CACA,0GAEE,gBAAqC,CAArC,oCACF,CAGA,mCACE,MACE,sBAAsB,CACtB,4BAA6B,CAC7B,6BACF,CACF,CC3DA,MACE,uBAAwB,CACxB,oBAAqB,CACrB,oBAAqB,CACrB,qBAAsB,CACtB,uBAAwB,CACxB,0BAA2B,CAC3B,mBAAoB,CACpB,iBAAkB,CAClB,yBAA0B,CAC1B,wBAAyB,CACzB,sBAAuB,CACvB,uBAAwB,CACxB,wBAAyB,CACzB,qBAAsB,CACtB,sBACF,CAEA,KACE,qBAAsB,CACtB,sBAAuB,CACvB,eAAgB,CAChB,eAAgC,CAAhC,+BAAgC,CAChC,UAA2B,CAA3B,0BACF,CACA,UACE,WACF,CACA,iBACE,kBACF,CAIA,MAEE,aACF,CACA,WAHE,WAKF,CACA,WACE,aAA4B,CAA5B,2BACF,CACA,SACE,WAAY,CACZ,YAAa,CACb,qBACF,CACA,MACE,aAAc,CAEd,eAAiB,CACjB,6BAA8B,CAE9B,QAAS,CACT,gBACF,CACA,cAPE,YAAa,CAGb,kBASF,CALA,QACE,oBAAqB,CACrB,UAA2B,CAA3B,0BAGF,CACA,UACE,UAAW,CACX,qBAAsB,CACtB,UACF,CACA,YACE,iBAAkB,CAClB,kBAAmB,CACnB,iBAAkB,CAClB,SACF,CACA,qBACE,YAAa,CACb,kBACF,CACA,uBACE,oBAAqB,CACrB,UAA2B,CAA3B,0BACF,CACA,kCACE,iBAAkB,CAClB,gBACF,CACA,8BACE,YAAa,CACb,qBAAsB,CACtB,mBACF,CACA,KACE,aAAc,CACd,YAAa,CACb,kBACF,CACA,QAEE,WAAY,CACZ,iBAAkB,CAClB,aAAc,CACd,YAAa,CACb,WACF,CACA,qBAEE,YAAa,CACb,YACF,CACA,YACE,gBAAiB,CACjB,6BAA8B,CAC9B,kBAAmB,CACnB,eACF,CACA,SACE,YACF,CACA,WACE,iBAAkB,CAClB,YAAa,CACb,WAEF,CACA,yBAFE,WAIF,CAKA,kBAHE,WAAY,CACZ,YAOF,CALA,WAGE,YAAa,CACb,qBACF,CACA,OACE,YAAa,CACb,WAAY,CACZ,WACF,CACA,QACE,YACF,CAEA,yBACE,WACF,CACA,oCACE,kBACF,CACA,4BACE,WACF,CAEA,eACE,UAAW,CACX,WAAY,CACZ,qBACF,CACA,sBACE,aAAc,CACd,YACF,CAIA,yCACE,WACF,CACA,6BACE,YAAa,CACb,aACF,CAIA,4DACE,WACF,CAGA,0BACE,aACF,CAEA,2EAGE,YAAa,CACb,qBAAsB,CACtB,YACF,CAEA,mCACE,iBAAkB,CAClB,SAAU,CACV,SAAU,CACV,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,mCACE,cAAe,CACf,gBAA4B,CAC5B,gBAAiB,CACjB,yBAA2B,CAC3B,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,iDACE,qBAAwC,CAAxC,uCACF,CACA,yBACE,YACF,CAGA,QACE,eAAiC,CAAjC,gCAAiC,CACjC,qBAAsB,CACtB,oBAAqB,CACrB,WAAY,CACZ,UACF,CACA,cACE,aAAc,CACd,WACF,CACA,gBACE,sBAAuB,CACvB,YACF,CACA,aACE,aACF,CACA,cACE,WAAY,CACZ,iBACF,CACA,SACE,iBAAkB,CAClB,6BACF,CACA,gBACE,0BAA2B,CAC3B,iBAAkB,CAClB,QAAS,CACT,uBAAyB,CACzB,OAAQ,CACR,eAAgC,CAAhC,+BAAgC,CAChC,YAAa,CACb,eAAgB,CAChB,SAAa,CACb,cAAe,CACf,SACF,CACA,sBACE,aACF,CACA,mBACE,yBACF,CACA,yBACE,6BAAoC,CACpC,cACF,CACA,oLAQE,SAAY,CACZ,UAAW,CACX,cAAyB,CACzB,uBAAkC,CAClC,2BAA4B,CAC5B,iBAAkB,CAClB,aACF,CACA,oFAIE,kBAAoB,CACpB,qBAAsB,CACtB,eACF,CAEA,qBACE,eAAgB,CAChB,UACF,CACA,cACE,WAA2B,CAA3B,0BAA2B,CAC3B,6BACF,CACA,qBACE,eAAkB,CAClB,WACF,CACA,wBACE,qDACF,CACA,eACE,aAA4B,CAA5B,2BAA4B,CAC5B,2BACF,CACA,sBACE,cAAe,CACf,UACF,CACA,yBACE,sDACF,CAEA,OACE,YAAa,CACb,UAAW,CACX,WACF,CACA,gBACE,qBACF,CACA,aACE,aAAc,CACd,WAAY,CACZ,iBAAkB,CAClB,WAAY,CACZ,YACF,CAQA,+CACE,eACF,CACA,QACE,qBAAsC,CAAtC,qCAAsC,CACtC,aACF,CACA,0DAEI,gBACJ,CACA,sDAEI,gBACJ,CACA,wBACI,0LAGJ,CAEA,kDAJI,2BAAsC,CACtC,uBAOJ,CAJA,0BACI,0KAGJ,CAEA,EACE,UAAwB,CAAxB,uBACF,CACA,SACE,iBAUF,CAEA,iBAXE,MAAO,CACP,KAAM,CACN,UAAW,CACX,WAAY,CACZ,yBAA8B,CAC9B,WAAY,CACZ,YAAa,CACb,sBAAuB,CACvB,kBAeF,CAZA,QACE,cAAe,CAOf,cAIF,CACA,UACE,eAAgC,CAAhC,+BAAgC,CAChC,iBAAkB,CAClB,WAAY,CACZ,aAAc,CACd,cAAe,CACf,aAAc,CACd,WAAY,CACZ,YACF,CACA,qBACE,cACF,CACA,gBACE,YAAa,CACb,6BAA8B,CAC9B,kBAAmB,CACnB,eAAiB,CACjB,WAAY,CACZ,iBAAkB,CAClB,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,gBACE,WACF,CACA,cACE,iBAAkB,CAClB,OAAQ,CACR,KAAM,CACN,kBACF,CACA,YACE,UAAW,CACX,aAAc,CACd,eAAoC,CAApC,mCAAoC,CACpC,WACF,CACA,SACE,kBAAmB,CACnB,qBAAsB,CACtB,iBAAkB,CAClB,WACF,CACA,iBACE,eAAgB,CAChB,4BAA6B,CAC7B,iBAAkB,CAClB,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,kBACE,YAAa,CACb,kBACF,CACA,oBACE,qBACF,CACA,kCACE,aACF,CACA,mCACE,aACF,CACA,UACE,cAAe,CACf,sBAAuB,CACvB,eAAgB,CAChB,kBAAmB,CACnB,aACF,CACA,UACE,UAAY,CACZ,mBAAoB,CACpB,kBACF,CAEA,UACE,cAAe,CACf,QAAS,CACT,YACF,CACA,cACE,eAAgB,CAChB,UAAY,CACZ,YAAc,CACd,YAAc,CACd,mBACF,CACA,iBACE,eACF,CACA,gBACE,eACF,CAEA,OACE,YACF,CACA,gBACE,oBAAqB,CACrB,mBACF,CACA,WACE,aACF,CAEA,iBACE,WAAY,CACZ,YACF,CAEA,mBACE,WAAa,CACb,YACF,CAEA,MACE,WAAY,CACZ,aAAe,CACf,eAAiC,CAAjC,gCAAiC,CACjC,UAA2B,CAA3B,0BACF,CACA,MACE,YAAa,CACb,6BAA8B,CAC9B,kBAAmB,CACnB,UACF,CACA,UACE,gBACF,CACA,mBACE,aACF,CACA,QACE,UAAW,CACX,kBACF,CACA,sCAEE,YAAa,CACb,UAAW,CACX,eACF,CACA,OACE,aACF,CAKA,uBAHE,UAAW,CACX,WAOF,CALA,eAGE,eAAiB,CACjB,WACF,CACA,WACE,YAAa,CACb,qBAAsB,CACtB,aAAc,CACd,eAAqC,CAArC,oCAAqC,CACrC,YAAa,CACb,WACF,CACA,kBACE,cACF,CACA,iBACE,eAAqC,CAArC,oCAAqC,CACrC,gBACF,CACA,UACE,YAAa,CACb,0BAA2B,CAC3B,6BAA8B,CAC9B,kBACF,CACA,OACE,SAAU,CACV,UACF,CACA,OACE,iBAAkB,CAClB,YAAa,CACb,qBAAsB,CACtB,WAAY,CACZ,YACF,CACA,SACE,aACF,CACA,YACE,QAAS,CACT,eACF,CACA,OACE,eAAgB,CAChB,qBAAqC,CAArC,oCAAqC,CACrC,UAA2B,CAA3B,0BAA2B,CAC3B,mBAAqB,CACrB,aAAe,CACf,kBAAoB,CACpB,eAAgB,CAChB,eAAiB,CACjB,wBAAiB,CAAjB,oBAAiB,CAAjB,gBAAiB,CACjB,aAAc,CACd,4BACF,CACA,WACE,UACF,CACA,aACE,eAA+B,CAA/B,8BACF,CAEA,mBACE,iBAAkB,CAClB,WACF,CACA,YACE,UAAW,CACX,WACF,CACA,gFAEE,UACF,CACA,eACE,eAAiC,CAAjC,gCAAiC,CACjC,aAAe,CACf,kBAAoB,CACpB,aACF,CACA,OACE,iCAAsC,CACtC,WAAY,CACZ,aAAc,CACd,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,iBACF,CACA,aACE,UACF,CACA,aAEE,WACF,CACA,uBAHE,qBAAuC,CAAvC,sCAOF,CAJA,UACE,uBAAgB,CAAhB,eAAgB,CAChB,KAEF,CACA,kBACE,cAAe,CACf,UAA8B,CAA9B,6BACF,CACA,+BACE,UAA2B,CAA3B,0BACF,CACA,cACE,yBAA2B,CAC3B,eACF,CACA,oBACE,YACF,CACA,wBACE,qCACF,CACA,wBACE,gBAAiB,CACjB,kBACF,CAEA,eACE,WAAY,CACZ,UAAW,CACX,6BAAoC,CACpC,SACF,CACA,uBAEI,iBAAkB,CAClB,eAAgB,CAChB,uBACJ,CACA,iBACE,UAAW,CACX,WACF,CACA,iBACE,iBACF,CACA,GACE,WAAY,CACZ,eAAiC,CAAjC,gCAAiC,CACjC,UACF,CAEA,QACE,YAAa,CACb,kBACF,CAEA,aACE,kBAAoB,CACpB,qBAA2C,CAA3C,0CAA2C,CAC3C,6BAA+B,CAC/B,iBAAmB,CACnB,kBAAmB,CACnB,iBACF,CACA,+BACE,eAAqC,CAArC,oCAAqC,CACrC,YACF,CACA,4CACE,iBAAkB,CAClB,MAAO,CACP,KAAM,CACN,2BACF,CACA,gCACE,mBAA4B,CAC5B,WAAY,CACZ,eAAgB,CAChB,aACF,CACA,gCACE,eAAgB,CAChB,WACF,CACA,kCACE,eAAgB,CAChB,YACF,CACA,+BACE,cACF,CACA,+BACE,SAAU,CACV,OACF,CACA,yBACE,mBAA4B,CAC5B,mBAAqB,CACrB,yBACF,CACA,iCACE,eAAkC,CAAlC,iCACF,CACA,oBACI,YAAa,CACb,wBAAyB,CACzB,eACJ,CACA,WACE,iBACF,CACA,yBACE,iBAAkB,CAClB,OAAQ,CACR,KACF,CAEA,yBACE,MACE,gBAAiB,CACjB,WACF,CACA,YACE,kBACF,CACA,aAEE,qBAAsB,CAGtB,cAFF,CAIA,KACE,6BACF,CACA,OACE,aAAc,CACd,kBAAmB,CACnB,iBACF,CACA,YACE,aAAc,CACd,cACF,CACA,kCACE,YACF,CACF,CAEA,yBACE,KACE,kBACF,CACA,sCACI,YAAa,CACb,UAAW,CACX,eACJ,CACA,OACE,eACF,CACF,CAEA,mCACE,MACE,oBAAqB,CACrB,oBAAqB,CACrB,uBAAwB,CACxB,qBAAsB,CACtB,sBAAuB,CACvB,iBAAkB,CAClB,0BAA2B,CAC3B,yBAA0B,CAC1B,wBAAyB,CACzB,sBAAuB,CACvB,uBAAwB,CACxB,oBAAqB,CACrB,oBAAuB,CACvB,yBACF,CACA,gFAEE,UACF,CACA,eACE,yBACF,CACA,OACE,+BACF,CACA,wBACE,+BACF,CACF","file":"main.3b498017.chunk.css","sourcesContent":["body {\n margin: 0;\n}\n\n.charts {\n display: flex;\n}\n\n.selected {\n background: red;\n}\n\n.collapsed>* {\n display:none;\n}","/* Variables */\n:root {\n --scrollbar-size: .375rem;\n --scrollbar-minlength: 1.5rem; /* Minimum length of scrollbar thumb (width of horizontal, height of vertical) */\n --scrollbar-ff-width: thin; /* FF-only accepts auto, thin, none */\n --scrollbar-track-color: transparent;\n --scrollbar-color: rgba(0,0,0,.2);\n --scrollbar-color-hover: rgba(0,0,0,.3);\n --scrollbar-color-active: rgb(0,0,0);\n}\n\n/* Use .layout-scrollbar-obtrusive to only use overflow if scrollbars don’t overlay */\n.scrollbar-test,\n.layout-cell {\n overscroll-behavior: contain;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n scrollbar-width: var(--scrollbar-ff-width);\n}\n\n/* This class controls what elements have the new fancy scrollbar CSS */\n.layout-scrollbar {\n scrollbar-color: var(--scrollbar-color) var(--scrollbar-track-color);\n}\n/* Only apply height/width to ::-webkit-scrollbar if is obtrusive */\n.layout-scrollbar-obtrusive .layout-scrollbar::-webkit-scrollbar {\n height: var(--scrollbar-size);\n width: var(--scrollbar-size);\n}\n.layout-scrollbar::-webkit-scrollbar-track {\n background-color: var(--scrollbar-track-color);\n}\n.layout-scrollbar::-webkit-scrollbar-thumb {\n background-color: var(--scrollbar-color);\n border-radius: 3px;\n}\n.layout-scrollbar::-webkit-scrollbar-thumb:hover {\n background-color: var(--scrollbar-color-hover);\n}\n.layout-scrollbar::-webkit-scrollbar-thumb:active {\n background-color: var(--scrollbar-color-active);\n}\n.scrollbar-test::-webkit-scrollbar-thumb:vertical,\n.layout-scrollbar::-webkit-scrollbar-thumb:vertical {\n min-height: var(--scrollbar-minlength);\n}\n.scrollbar-test::-webkit-scrollbar-thumb:horizontal,\n.layout-scrollbar::-webkit-scrollbar-thumb:horizontal {\n min-width: var(--scrollbar-minlength);\n}\n\n\n@media (prefers-color-scheme: dark) {\n :root {\n --scrollbar-color:#555;\n --scrollbar-color-hover: #555;\n --scrollbar-color-active: #555;\n }\n}\n\n",":root {\n color-scheme: light dark;\n --main-bg-color: #eee;\n --main-fg-color: #000;\n --title-bg-color: #CCC;\n --unselected-color: #ccc;\n --table-head-bg-color: #DDD;\n --button-color: #48F;\n --link-color: #36C;\n --code-area-bg-color: #CCC;\n --pre-area-bg-color: #FFF;\n --un-run-bg-color: #8AF;\n --aborted-bg-color: #DDD;\n --error-fg-color: darkred;\n --warn-fg-color: brown;\n --editor-bg-color: #fff;\n}\n\nhtml {\n box-sizing: border-box;\n font-family: sans-serif;\n line-height: 1.2;\n background: var(--main-bg-color);\n color: var(--main-fg-color);\n}\nhtml, body {\n height: 100%;\n}\n*, *:before, *:after {\n box-sizing: inherit;\n}\n/* ---------------- */\n\n/* ---------------- */\n#root {\n height: 100%;\n overflow: auto;\n}\n.App {\n height: 100%;\n}\n.error-msg {\n color: var(--error-fg-color);\n}\n.content {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.head {\n flex: 0 0 auto;\n display: flex;\n font-weight: bold;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n font-size: larger;\n}\n.head a {\n text-decoration: none;\n color: var(--main-fg-color);\n display: flex;\n align-items: center;\n}\n.head img {\n height: 1em;\n vertical-align: middle;\n margin: 5px;\n}\n.head .beta {\n font-size: x-small;\n vertical-align: top;\n position: relative;\n right: 1em;\n}\n.fix-help-contribute {\n display: flex;\n align-items: center;\n}\n.fix-help-contribute a {\n text-decoration: none;\n color: var(--main-fg-color);\n}\n.fix-help-contribute .three-words {\n font-size: x-small;\n text-align: right;\n}\n.fix-help-contribute .octocat {\n display: flex;\n flex-direction: column;\n justify-content: top;\n}\n.top {\n flex: 0 0 auto;\n display: flex;\n margin: 10px 10px 0 10px;\n}\n.bottom {\n display: flex;\n margin: 10px;\n position: relative;\n flex: 1 1 auto;\n min-height: 0;\n height: 100%;\n}\n.top>div,\n.bottom>div {\n flex: 1 1 50%;\n display: flex;\n}\n.top .right {\n margin-left: 10px;\n justify-content: space-between;\n align-items: center;\n overflow: hidden;\n}\n.toolbar {\n display: flex;\n}\n.top .left {\n position: relative;\n min-height: 0;\n min-width: 0;\n height: 100%;\n}\n.bottom .left {\n height: 100%;\n}\n.codes {\n height: 100%;\n min-height: 0;\n}\n.codes>div {\n height: 100%;\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n.right {\n min-height: 0;\n min-width: 0;\n height: 100%;\n}\n.bottom {\n display: flex;\n}\n/* ---------------------- */\n.layout-3-horizontal-top {\n height: 100%;\n}\n.layout-3-horizontal-top .codes>div {\n flex-direction: row;\n}\n.layout-3-horizontal-bottom {\n height: 100%;\n}\n/* ---------------------- */\n.layout-tabbed {\n width: 100%;\n height: 100%;\n flex-direction: column; \n}\n.layout-tabbed>.split {\n flex: 1 1 auto;\n min-height: 0;\n}\n.layout-tabbed-result {\n height: 100%;\n}\n.layout-tabbed-log {\n height: 100%;\n}\n.layout-tabbed-top .tab-tabs {\n display: flex;\n flex: 0 0 auto;\n}\n.layout-tabbed .tab-content {\n height: 100%;\n}\n.layout-tabbed .tab-content>div {\n height: 100%;\n}\n\n/* add this below? */\n.layout-tabbed-top .hidee {\n flex: 1 1 auto;\n}\n\n.layout-tabbed-top .code-area,\n.layout-tabbed-top .hidee,\n.react-codemirror2 {\n display: flex;\n flex-direction: column;\n min-height: 0;\n}\n\n.layout-tabbed-top .tab-tabs input {\n position: absolute;\n opacity: 0;\n padding: 0;\n user-select: none;\n}\n.layout-tabbed-top .tab-tabs label {\n cursor: pointer;\n padding: 0.5em 1em 0.5em 1em;\n margin-right: 3px;\n background: rgba(0,0,0,0.2);\n user-select: none;\n}\n.layout-tabbed-top .tab-tabs input:checked + label {\n background-color: var(--editor-bg-color);\n}\n.layout-tabbed .expander {\n display: none;\n}\n\n/* ---------------------- */\n.logger {\n background: var(--title-bg-color);\n font-family: monospace;\n white-space: pre-wrap;\n height: 100%;\n width: 100%;\n}\n.log-messages {\n overflow: auto;\n height: 100%;\n}\n.log-messages>* {\n overflow-wrap: anywhere;\n display: flex;\n}\n.logger .msg {\n flex: 1 1 auto;\n}\n.logger .file {\n float: right;\n position: relative;\n}\n.tooltip {\n position: relative;\n border-bottom: 1px dashed #888;\n}\n.tooltip:before {\n content: attr(data-tooltip);\n position: absolute;\n top: 100%;\n transform: translateY(0%);\n right: 0;\n background: var(--main-bg-color);\n display: none;\n white-space: pre;\n left: initial;\n margin: initial;\n z-index: 2;\n}\n.tooltip:hover:before {\n display:block;\n}\n.logger .file-link {\n text-decoration: underline;\n}\n.logger .file-link:hover {\n background: rgba(255, 255, 255, 0.3);\n cursor: pointer;\n}\n.logger .log .count,\n.logger .info .count,\n.logger .warn .count,\n.logger .error .count,\n.logger .log .no-count,\n.logger .info .no-count,\n.logger .warn .no-count,\n.logger .error .no-count {\n width: 1.0em;\n height: 1em;\n margin: 0 0.25em 0 0.25em;\n background-position: center center;\n background-repeat: no-repeat;\n text-align: center;\n flex: 0 0 auto;\n}\n.logger .log .count,\n.logger .info .count,\n.logger .warn .count,\n.logger .error .count {\n border-radius: 0.5em;\n vertical-align: middle;\n line-height: 1em;\n}\n\n.logger .info .count {\n background: #666;\n color: #DDD;\n}\n.logger .warn {\n color: var(--warn-fg-color);\n background: rgba(255, 255, 0, 0.2);\n}\n.logger .warn .count {\n background: yellow;\n color: brown;\n}\n.logger .warn .no-count {\n background-image: url(/resources/images/warn-icon.svg);\n}\n.logger .error {\n color: var(--error-fg-color);\n background: rgba(255, 0, 0, 0.2);\n}\n.logger .error .count {\n background: red;\n color: white;\n}\n.logger .error .no-count {\n background-image: url(/resources/images/error-icon.svg);\n}\n/* ---------------------- */\n.split {\n display: flex;\n width: 100%;\n height: 100%;\n}\n.split-vertical {\n flex-direction: column;\n}\n.split .pane {\n flex-shrink: 1;\n flex-grow: 1;\n position: relative;\n min-width: 0;\n min-height: 0;\n}\n.editor-codemirror .pane {\n /*\n I don't understand why codemirror needs this\n and monaco fails with it. >:(\n */\n overflow: hidden;\n}\n.split .pane-dragging {\n overflow: hidden;\n}\n.gutter {\n background-color: var(--main-bg-color);\n flex: 0 0 auto;\n}\n.gutter.gutter-horizontal,\n.gutter.gutter-horizontal:hover {\n cursor: ew-resize;\n}\n.gutter.gutter-vertical,\n.gutter.gutter-vertical:hover {\n cursor: ns-resize;\n}\n.gutter.gutter-vertical {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=');\n background-repeat: no-repeat no-repeat;\n background-position: center center;\n}\n\n.gutter.gutter-horizontal {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');\n background-repeat: no-repeat no-repeat;\n background-position: center center;\n}\n/* ---------------------- */\na {\n color: var(--link-color);\n}\n.blocked {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.8);\n z-index: 100;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n/* ---------------------- */\n.dialog {\n position: fixed;\n left: 0;\n top: 0;\n background: rgba(0, 0, 0, 0.8);\n z-index: 100;\n width: 100%;\n height: 100%;\n max-width: 100%;\n justify-content: center;\n align-items: center;\n display: flex;\n}\n.dialog>* {\n background: var(--main-bg-color);\n border-radius: 5px;\n padding: 1em;\n max-width: 90%;\n max-height: 90%;\n overflow: auto;\n width: 800px;\n outline: none;\n}\n.fixed-size-dialog>* {\n min-height: 90%;\n}\n.dialog-heading {\n display: flex;\n justify-content: space-between;\n font-size: xx-large;\n font-weight: bold;\n margin: 10px;\n position: relative;\n user-select: none;\n}\n.dialog-content {\n margin: 10px;\n}\n.dialog-close {\n position: absolute;\n right: 0;\n top: 0;\n vertical-align: top;\n}\n.dialog pre {\n width: 100%;\n overflow: auto;\n background: var(--pre-area-bg-color);\n padding: 1em;\n}\n.section {\n margin-bottom: 10px;\n border: 1px solid #888;\n border-radius: 5px;\n padding: 1em;\n}\n.section-heading {\n font-size: large;\n border-bottom: 1px solid #888;\n margin-bottom: 1em;\n user-select: none;\n}\n.save-as-gist-pat {\n display: flex;\n align-items: center;\n}\n.save-as-gist-pat>* {\n vertical-align: middle;\n}\n.save-as-gist-pat>div:nth-child(1) {\n flex: 0 0 auto;\n}\n.save-as-gist-pat>div:nth-child(2) {\n flex: 1 1 auto;\n}\n.bookmark {\n max-width: 100%;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n display: block;\n}\n.disabled {\n opacity: 0.2;\n pointer-events: none;\n cursor: not-allowed;\n}\n/* ------------------ */\n.messages {\n position: fixed;\n bottom: 0;\n z-index: 1000;\n}\n.messages>div {\n background: #888;\n color: white;\n padding: 0.5em;\n margin: 0.25em;\n border-radius: 0.25em;\n}\n.messages .error {\n background: #C00;\n}\n.messages .info {\n background: #00F;\n}\n/* -------------------- */\n.radio {\n display: flex;\n}\n.radio-selected {\n background-color: red;\n border-radius: 0.25em;\n}\n.radio img {\n display: block;\n}\n/* -------------------- */\n.layout .radio>* {\n width: 3.5em;\n padding: 0.5em;\n}\n/* -------------------- */\n.settings .radio>* {\n margin: 0.2em;\n padding: 0.2em;\n}\n/* -------------------- */\ninput {\n border: none;\n padding: 0.25em;\n background: var(--title-bg-color);\n color: var(--main-fg-color);\n}\n.name {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n}\n.name > * + * {\n margin-left: 10px;\n}\n.name>*:nth-child(1) {\n flex: 1 1 auto;\n}\n.avatar {\n height: 2em;\n border-radius: 100%;;\n}\ninput[type=\"text\"],\ninput[type=\"password\"] {\n outline: none;\n width: 100%;\n font-size: large;\n}\n.named {\n padding: 0.25em;\n}\n.runner {\n width: 100%;\n height: 100%;\n}\n.runner>iframe {\n width: 100%;\n height: 100%;\n background: white;\n border: none;\n}\n.code-area {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n background: var(--code-area-bg-color);\n min-height: 0;\n height: 100%;\n}\n.code-area button {\n margin-right: 0;\n}\n.code-area input {\n background: var(--code-area-bg-color);\n font-size: medium;\n}\n.expander {\n display: flex;\n flex-direction: row-reverse;\n justify-content: space-between;\n align-items: center;\n}\n.hider {\n width: 1em;\n color: #888;\n}\n.hidee {\n position: relative;\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n}\n.hidee>* {\n flex: 1 1 auto;\n}\n.hidee-hide {\n height: 0;\n overflow: hidden;\n}\nbutton {\n background: none;\n border: 2px solid var(--button-color);\n color: var(--main-fg-color);\n border-radius: 0.25em;\n padding: 0.25em;\n margin-right: 0.25em;\n min-width: 2.5em;\n font-weight: bold;\n user-select: none;\n height: 2.25em;\n line-height: calc(1em - 12px);\n}\nbutton img {\n height: 1em;\n}\nbutton:hover {\n background: var(--button-color);\n}\n\n.react-codemirror2 {\n position: relative;\n height: 100%;\n}\n.CodeMirror {\n width: 100%;\n height: 100%;\n}\n.CodeMirror-overlayscroll-horizontal div,\n.CodeMirror-overlayscroll-vertical div {\n opacity: 0.6;\n}\n.markdown code {\n background: var(--title-bg-color);\n padding: 0.25em;\n border-radius: 0.5em;\n line-height: 2;\n}\n.gists {\n background-color: rgba(0, 0, 255, 0.1);\n border: none;\n display: block;\n min-height: 20vh;\n max-height: 40vh;\n overflow-y: scroll;\n position: relative;\n}\n.gists table {\n width: 100%; \n}\n.gists thead {\n background-color: var(--title-bg-color);\n border: none;\n}\n.gists th {\n position: sticky; \n top: 0;\n background-color: var(--title-bg-color);\n}\n.gists thead span {\n cursor: pointer;\n color: var(--unselected-color);\n}\n.gists thead .current-sort-key {\n color: var(--main-fg-color);\n}\n.gists td>div {\n transition: max-height 0.3s;\n max-height: 100%;\n}\n.gists .hide td>div {\n max-height: 0;\n}\n.gists tr:nth-child(2n) {\n background-color: rgba(128, 160, 255, 0.2);\n}\n.gists td:nth-child(3n) {\n text-align: right;\n white-space: nowrap;\n}\n\n.comment-notes {\n padding: 1em;\n margin: 1em;\n background: rgba(255, 255, 255, 0.5);\n color: red;\n}\n.comments,\n.comment-sep {\n margin: 0 auto 1em;\n max-width: 700px;\n width: calc(100% - 40px);\n}\n.comments iframe {\n width: 100%;\n border: none;\n}\n.comments .links {\n text-align: center;\n}\nhr {\n border: none;\n background: var(--title-bg-color);\n height: 2px;\n}\n/*-------------*/\n.logout {\n display: flex;\n align-items: center;\n}\n/*-------------*/\n.new-comment {\n border-radius: 0.5em;\n border: 1px solid var(--code-area-bg-color);\n margin-left: calc(0.5em + 42px);\n margin-right: 0.5em;\n margin-bottom: 15em;\n position: relative;\n}\n.new-comment .new-comment-head {\n background: var(--code-area-bg-color);\n padding: 0.5em;\n}\n.new-comment .new-comment-head .user-avatar {\n position: absolute;\n left: 0;\n top: 0;\n transform: translateX(-42px);\n}\n.new-comment .react-codemirror2 {\n padding: 0 0.5em 0.5em 0.5em;\n height: 10em;\n resize: vertical;\n overflow: auto;\n}\n.new-comment .new-comment-write {\n min-height: 10em;\n height: 10em;\n}\n.new-comment .new-comment-preview {\n min-height: 10em;\n padding: 0.5em;\n}\n.new-comment .new-comment-tabs {\n margin-top: 1em;\n}\n.new-comment input[type=\"radio\"] {\n opacity: 0;\n width: 0;\n}\n.new-comment input + label {\n padding: 0.5em 0.5em 0 0.5em;\n margin-right: 0.125em;\n background: rgba(0,0,0,0.1);\n}\n.new-comment input:checked + label {\n background: var(--editor-bg-color);\n}\n.new-comment-submit {\n display: flex;\n justify-content: flex-end;\n padding-top: 1em;\n}\n.copy-text {\n position: relative;\n}\n.copy-text .copy-buttons {\n position: absolute;\n right: 0;\n top: 0;\n}\n\n@media (max-width: 740px) {\n .head {\n font-size: medium;\n padding: 2px;\n }\n .head .beta {\n font-size: xx-small;\n }\n .top,\n .bottom {\n flex-direction: column;\n }\n .top, .bottom {\n margin-top: 5px;\n }\n .top {\n flex-direction: column-reverse;\n }\n .right {\n margin-left: 0;\n padding-bottom: 5px;\n margin-bottom: 5px;\n }\n .top .right {\n margin-left: 0;\n margin-top: 5px;\n }\n .fix-help-contribute .three-words {\n display: none;\n }\n}\n\n@media (max-width: 540px) {\n html {\n font-size: xx-small;\n }\n input[type=\"text\"], input[type=\"password\"] {\n outline: none;\n width: 100%;\n font-size: small;\n }\n button {\n font-size: small;\n }\n}\n\n@media (prefers-color-scheme: dark) {\n :root {\n --main-bg-color: #444;\n --main-fg-color: #fff;\n --unselected-color: #666;\n --title-bg-color: #222;\n --button-bg-color: #fff;\n --link-color: #6CF;\n --table-head-bg-color: #555;\n --code-area-bg-color: #555;\n --pre-area-bg-color: #222;\n --un-run-bg-color: blue;\n --aborted-bg-color: #000;\n --error-fg-color: red;\n --warn-fg-color: yellow;\n --editor-bg-color: #263238;\n }\n .CodeMirror-overlayscroll-horizontal div,\n .CodeMirror-overlayscroll-vertical div {\n opacity: 0.3;\n }\n .comment-notes {\n background: rgba(0, 0, 0, 0.5);\n }\n .gists {\n background-color: rgba(0, 0, 0, 0.3);\n }\n .gists tr:nth-child(2n) {\n background-color: rgba(0, 0, 0, 0.2);\n }\n}\n"]} \ No newline at end of file diff --git a/static/js/2.81761772.chunk.js b/static/js/2.81761772.chunk.js new file mode 100644 index 0000000..12c0738 --- /dev/null +++ b/static/js/2.81761772.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 2.81761772.chunk.js.LICENSE.txt */ +(this.webpackJsonpjsgist=this.webpackJsonpjsgist||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(90)},function(e,t,n){e.exports=n(96)},function(e,t,n){e.exports=n(157)()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(18);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 o(e){for(var t=1;t"),GTE:new b._Code(">="),LT:new b._Code("<"),LTE:new b._Code("<="),EQ:new b._Code("==="),NEQ:new b._Code("!=="),NOT:new b._Code("!"),OR:new b._Code("||"),AND:new b._Code("&&"),ADD:new b._Code("+")};var E=function(){function e(){p(this,e)}return d(e,[{key:"optimizeNodes",value:function(){return this}},{key:"optimizeNames",value:function(e,t){return this}}]),e}(),S=function(e){l(n,e);var t=u(n);function n(e,r,i){var o;return p(this,n),(o=t.call(this)).varKind=e,o.name=r,o.rhs=i,o}return d(n,[{key:"render",value:function(e){var t=e.es5,n=e._n,r=t?x.varKinds.var:this.varKind,i=void 0===this.rhs?"":" = ".concat(this.rhs);return"".concat(r," ").concat(this.name).concat(i,";")+n}},{key:"optimizeNames",value:function(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=K(this.rhs,e,t)),this}},{key:"names",get:function(){return this.rhs instanceof b._CodeOrName?this.rhs.names:{}}}]),n}(E),T=function(e){l(n,e);var t=u(n);function n(e,r,i){var o;return p(this,n),(o=t.call(this)).lhs=e,o.rhs=r,o.sideEffects=i,o}return d(n,[{key:"render",value:function(e){var t=e._n;return"".concat(this.lhs," = ").concat(this.rhs,";")+t}},{key:"optimizeNames",value:function(e,t){if(!(this.lhs instanceof b.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=K(this.rhs,e,t),this}},{key:"names",get:function(){return $(this.lhs instanceof b.Name?{}:c({},this.lhs.names),this.rhs)}}]),n}(E),_=function(e){l(n,e);var t=u(n);function n(e,r,i,o){var a;return p(this,n),(a=t.call(this,e,i,o)).op=r,a}return d(n,[{key:"render",value:function(e){var t=e._n;return"".concat(this.lhs," ").concat(this.op,"= ").concat(this.rhs,";")+t}}]),n}(T),C=function(e){l(n,e);var t=u(n);function n(e){var r;return p(this,n),(r=t.call(this)).label=e,r.names={},r}return d(n,[{key:"render",value:function(e){var t=e._n;return"".concat(this.label,":")+t}}]),n}(E),O=function(e){l(n,e);var t=u(n);function n(e){var r;return p(this,n),(r=t.call(this)).label=e,r.names={},r}return d(n,[{key:"render",value:function(e){var t=e._n,n=this.label?" ".concat(this.label):"";return"break".concat(n,";")+t}}]),n}(E),P=function(e){l(n,e);var t=u(n);function n(e){var r;return p(this,n),(r=t.call(this)).error=e,r}return d(n,[{key:"render",value:function(e){var t=e._n;return"throw ".concat(this.error,";")+t}},{key:"names",get:function(){return this.error.names}}]),n}(E),j=function(e){l(n,e);var t=u(n);function n(e){var r;return p(this,n),(r=t.call(this)).code=e,r}return d(n,[{key:"render",value:function(e){var t=e._n;return"".concat(this.code,";")+t}},{key:"optimizeNodes",value:function(){return"".concat(this.code)?this:void 0}},{key:"optimizeNames",value:function(e,t){return this.code=K(this.code,e,t),this}},{key:"names",get:function(){return this.code instanceof b._CodeOrName?this.code.names:{}}}]),n}(E),A=function(e){l(n,e);var t=u(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return p(this,n),(e=t.call(this)).nodes=r,e}return d(n,[{key:"render",value:function(e){return this.nodes.reduce((function(t,n){return t+n.render(e)}),"")}},{key:"optimizeNodes",value:function(){for(var e=this.nodes,t=e.length;t--;){var n=e[t].optimizeNodes();Array.isArray(n)?e.splice.apply(e,[t,1].concat(s(n))):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}},{key:"optimizeNames",value:function(e,t){for(var n=this.nodes,r=n.length;r--;){var i=n[r];i.optimizeNames(e,t)||(Q(e,i.names),n.splice(r,1))}return n.length>0?this:void 0}},{key:"names",get:function(){return this.nodes.reduce((function(e,t){return V(e,t.names)}),{})}}]),n}(E),F=function(e){l(n,e);var t=u(n);function n(){return p(this,n),t.apply(this,arguments)}return d(n,[{key:"render",value:function(e){return"{"+e._n+o(a(n.prototype),"render",this).call(this,e)+"}"+e._n}}]),n}(A),L=function(e){l(n,e);var t=u(n);function n(){return p(this,n),t.apply(this,arguments)}return n}(A),D=function(e){l(n,e);var t=u(n);function n(){return p(this,n),t.apply(this,arguments)}return n}(F);D.kind="else";var M=function(e){l(n,e);var t=u(n);function n(e,r){var i;return p(this,n),(i=t.call(this,r)).condition=e,i}return d(n,[{key:"render",value:function(e){var t="if(".concat(this.condition,")")+o(a(n.prototype),"render",this).call(this,e);return this.else&&(t+="else "+this.else.render(e)),t}},{key:"optimizeNodes",value:function(){o(a(n.prototype),"optimizeNodes",this).call(this);var e=this.condition;if(!0===e)return this.nodes;var t=this.else;if(t){var r=t.optimizeNodes();t=this.else=Array.isArray(r)?new D(r):r}return t?!1===e?t instanceof n?t:t.nodes:this.nodes.length?this:new n(Y(e),t instanceof n?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}},{key:"optimizeNames",value:function(e,t){var r;if(this.else=null===(r=this.else)||void 0===r?void 0:r.optimizeNames(e,t),o(a(n.prototype),"optimizeNames",this).call(this,e,t)||this.else)return this.condition=K(this.condition,e,t),this}},{key:"names",get:function(){var e=o(a(n.prototype),"names",this);return $(e,this.condition),this.else&&V(e,this.else.names),e}}]),n}(F);M.kind="if";var N=function(e){l(n,e);var t=u(n);function n(){return p(this,n),t.apply(this,arguments)}return n}(F);N.kind="for";var R=function(e){l(n,e);var t=u(n);function n(e){var r;return p(this,n),(r=t.call(this)).iteration=e,r}return d(n,[{key:"render",value:function(e){return"for(".concat(this.iteration,")")+o(a(n.prototype),"render",this).call(this,e)}},{key:"optimizeNames",value:function(e,t){if(o(a(n.prototype),"optimizeNames",this).call(this,e,t))return this.iteration=K(this.iteration,e,t),this}},{key:"names",get:function(){return V(o(a(n.prototype),"names",this),this.iteration.names)}}]),n}(N),z=function(e){l(n,e);var t=u(n);function n(e,r,i,o){var a;return p(this,n),(a=t.call(this)).varKind=e,a.name=r,a.from=i,a.to=o,a}return d(n,[{key:"render",value:function(e){var t=e.es5?x.varKinds.var:this.varKind,r=this.name,i=this.from,s=this.to;return"for(".concat(t," ").concat(r,"=").concat(i,"; ").concat(r,"<").concat(s,"; ").concat(r,"++)")+o(a(n.prototype),"render",this).call(this,e)}},{key:"names",get:function(){var e=$(o(a(n.prototype),"names",this),this.from);return $(e,this.to)}}]),n}(N),I=function(e){l(n,e);var t=u(n);function n(e,r,i,o){var a;return p(this,n),(a=t.call(this)).loop=e,a.varKind=r,a.name=i,a.iterable=o,a}return d(n,[{key:"render",value:function(e){return"for(".concat(this.varKind," ").concat(this.name," ").concat(this.loop," ").concat(this.iterable,")")+o(a(n.prototype),"render",this).call(this,e)}},{key:"optimizeNames",value:function(e,t){if(o(a(n.prototype),"optimizeNames",this).call(this,e,t))return this.iterable=K(this.iterable,e,t),this}},{key:"names",get:function(){return V(o(a(n.prototype),"names",this),this.iterable.names)}}]),n}(N),U=function(e){l(n,e);var t=u(n);function n(e,r,i){var o;return p(this,n),(o=t.call(this)).name=e,o.args=r,o.async=i,o}return d(n,[{key:"render",value:function(e){var t=this.async?"async ":"";return"".concat(t,"function ").concat(this.name,"(").concat(this.args,")")+o(a(n.prototype),"render",this).call(this,e)}}]),n}(F);U.kind="func";var G=function(e){l(n,e);var t=u(n);function n(){return p(this,n),t.apply(this,arguments)}return d(n,[{key:"render",value:function(e){return"return "+o(a(n.prototype),"render",this).call(this,e)}}]),n}(A);G.kind="return";var q=function(e){l(n,e);var t=u(n);function n(){return p(this,n),t.apply(this,arguments)}return d(n,[{key:"render",value:function(e){var t="try"+o(a(n.prototype),"render",this).call(this,e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}},{key:"optimizeNodes",value:function(){var e,t;return o(a(n.prototype),"optimizeNodes",this).call(this),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}},{key:"optimizeNames",value:function(e,t){var r,i;return o(a(n.prototype),"optimizeNames",this).call(this,e,t),null===(r=this.catch)||void 0===r||r.optimizeNames(e,t),null===(i=this.finally)||void 0===i||i.optimizeNames(e,t),this}},{key:"names",get:function(){var e=o(a(n.prototype),"names",this);return this.catch&&V(e,this.catch.names),this.finally&&V(e,this.finally.names),e}}]),n}(F),B=function(e){l(n,e);var t=u(n);function n(e){var r;return p(this,n),(r=t.call(this)).error=e,r}return d(n,[{key:"render",value:function(e){return"catch(".concat(this.error,")")+o(a(n.prototype),"render",this).call(this,e)}}]),n}(F);B.kind="catch";var W=function(e){l(n,e);var t=u(n);function n(){return p(this,n),t.apply(this,arguments)}return d(n,[{key:"render",value:function(e){return"finally"+o(a(n.prototype),"render",this).call(this,e)}}]),n}(F);W.kind="finally";var H=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};p(this,e),this._values={},this._blockStarts=[],this._constants={},this.opts=c(c({},n),{},{_n:n.lines?"\n":""}),this._extScope=t,this._scope=new x.Scope({parent:t}),this._nodes=[new L]}return d(e,[{key:"toString",value:function(){return this._root.render(this.opts)}},{key:"name",value:function(e){return this._scope.name(e)}},{key:"scopeName",value:function(e){return this._extScope.name(e)}},{key:"scopeValue",value:function(e,t){var n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}},{key:"getScopeValue",value:function(e,t){return this._extScope.getValue(e,t)}},{key:"scopeRefs",value:function(e){return this._extScope.scopeRefs(e,this._values)}},{key:"scopeCode",value:function(){return this._extScope.scopeCode(this._values)}},{key:"_def",value:function(e,t,n,r){var i=this._scope.toName(t);return void 0!==n&&r&&(this._constants[i.str]=n),this._leafNode(new S(e,i,n)),i}},{key:"const",value:function(e,t,n){return this._def(x.varKinds.const,e,t,n)}},{key:"let",value:function(e,t,n){return this._def(x.varKinds.let,e,t,n)}},{key:"var",value:function(e,t,n){return this._def(x.varKinds.var,e,t,n)}},{key:"assign",value:function(e,t,n){return this._leafNode(new T(e,t,n))}},{key:"add",value:function(e,n){return this._leafNode(new _(e,t.operators.ADD,n))}},{key:"code",value:function(e){return"function"==typeof e?e():e!==b.nil&&this._leafNode(new j(e)),this}},{key:"object",value:function(){for(var e=["{"],t=arguments.length,n=new Array(t),r=0;r1&&e.push(","),e.push(c),(c!==l||this.opts.es5)&&(e.push(":"),(0,b.addCodeArg)(e,l))}return e.push("}"),new b._Code(e)}},{key:"if",value:function(e,t,n){if(this._blockNode(new M(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}},{key:"elseIf",value:function(e){return this._elseNode(new M(e))}},{key:"else",value:function(){return this._elseNode(new D)}},{key:"endIf",value:function(){return this._endBlockNode(M,D)}},{key:"_for",value:function(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}},{key:"for",value:function(e,t){return this._for(new R(e),t)}},{key:"forRange",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.opts.es5?x.varKinds.var:x.varKinds.let,o=this._scope.toName(e);return this._for(new z(i,o,t,n),(function(){return r(o)}))}},{key:"forOf",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:x.varKinds.const,o=this._scope.toName(e);if(this.opts.es5){var a=t instanceof b.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,b._)(y(),a),(function(e){r.var(o,(0,b._)(g(),a,e)),n(o)}))}return this._for(new I("of",i,o,t),(function(){return n(o)}))}},{key:"forIn",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.opts.es5?x.varKinds.var:x.varKinds.const;if(this.opts.ownProperties)return this.forOf(e,(0,b._)(v(),t),n);var i=this._scope.toName(e);return this._for(new I("in",r,i,t),(function(){return n(i)}))}},{key:"endFor",value:function(){return this._endBlockNode(N)}},{key:"label",value:function(e){return this._leafNode(new C(e))}},{key:"break",value:function(e){return this._leafNode(new O(e))}},{key:"return",value:function(e){var t=new G;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(G)}},{key:"try",value:function(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');var r=new q;if(this._blockNode(r),this.code(e),t){var i=this.name("e");this._currNode=r.catch=new B(i),t(i)}return n&&(this._currNode=r.finally=new W,this.code(n)),this._endBlockNode(B,W)}},{key:"throw",value:function(e){return this._leafNode(new P(e))}},{key:"block",value:function(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}},{key:"endBlock",value:function(e){var t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");var n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error("CodeGen: wrong number of nodes: ".concat(n," vs ").concat(e," expected"));return this._nodes.length=t,this}},{key:"func",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.nil,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return this._blockNode(new U(e,t,n)),r&&this.code(r).endFunc(),this}},{key:"endFunc",value:function(){return this._endBlockNode(U)}},{key:"optimize",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}},{key:"_leafNode",value:function(e){return this._currNode.nodes.push(e),this}},{key:"_blockNode",value:function(e){this._currNode.nodes.push(e),this._nodes.push(e)}},{key:"_endBlockNode",value:function(e,t){var n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error('CodeGen: not in block "'.concat(t?"".concat(e.kind,"/").concat(t.kind):e.kind,'"'))}},{key:"_elseNode",value:function(e){var t=this._currNode;if(!(t instanceof M))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}},{key:"_root",get:function(){return this._nodes[0]}},{key:"_currNode",get:function(){var e=this._nodes;return e[e.length-1]},set:function(e){var t=this._nodes;t[t.length-1]=e}}]),e}();function V(e,t){for(var n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function $(e,t){return t instanceof b._CodeOrName?V(e,t.names):e}function K(e,t,n){return e instanceof b.Name?i(e):(r=e)instanceof b._Code&&r._items.some((function(e){return e instanceof b.Name&&1===t[e.str]&&void 0!==n[e.str]}))?new b._Code(e._items.reduce((function(e,t){return t instanceof b.Name&&(t=i(t)),t instanceof b._Code?e.push.apply(e,s(t._items)):e.push(t),e}),[])):e;var r;function i(e){var r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function Q(e,t){for(var n in t)e[n]=(e[n]||0)-(t[n]||0)}function Y(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:(0,b._)(h(),ee(e))}t.CodeGen=H,t.not=Y;var X=Z(t.operators.AND);t.and=function(){for(var e=arguments.length,t=new Array(e),n=0;n "," ? "," : ",""]);return d=function(){return e},e}function f(){var e=i([""," !== true"]);return f=function(){return e},e}function m(){var e=i([""," === true ? true : "," > "," ? "," : ",""]);return m=function(){return e},e}function h(){var e=i([""," !== true && "," !== undefined"]);return h=function(){return e},e}function v(){var e=i([""," || {}"]);return v=function(){return e},e}function g(){var e=i([""," !== true"]);return g=function(){return e},e}function y(){var e=i(["Object.assign(",", ",")"]);return y=function(){return e},e}function b(){var e=i([""," || {}"]);return b=function(){return e},e}function x(){var e=i([""," === true"]);return x=function(){return e},e}function w(){var e=i([""," !== true && "," !== undefined"]);return w=function(){return e},e}function k(){var e=i(["","","",""]);return k=function(){return e},e}function E(){var e=i(["",""]);return E=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;var S=n(10),T=n(38);function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.schema,n=e.opts,r=e.self;if(n.strictSchema&&"boolean"!==typeof t){var i=r.RULES.keywords;for(var o in t)i[o]||M(e,'unknown keyword: "'.concat(o,'"'))}}function C(e,t){if("boolean"==typeof e)return!e;for(var n in e)if(t[n])return!0;return!1}function O(e){return"number"==typeof e?"".concat(e):e.replace(/~/g,"~0").replace(/\//g,"~1")}function P(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function j(e){var t=e.mergeNames,n=e.mergeToName,r=e.mergeValues,i=e.resultToName;return function(e,o,a,s){var c=void 0===a?o:a instanceof S.Name?(o instanceof S.Name?t(e,o,a):n(e,o,a),a):o instanceof S.Name?(n(e,a,o),o):r(o,a);return s!==S.Name||c instanceof S.Name?c:i(e,c)}}function A(e,t){if(!0===t)return e.var("props",!0);var n=e.var("props",(0,S._)(p()));return void 0!==t&&F(e,n,t),n}function F(e,t,n){Object.keys(n).forEach((function(n){return e.assign((0,S._)(u(),t,(0,S.getProperty)(n)),!0)}))}t.toHash=function(e){var t,n={},r=o(e);try{for(r.s();!(t=r.n()).done;){n[t.value]=!0}}catch(i){r.e(i)}finally{r.f()}return n},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(_(e,t),!C(t,e.self.RULES.all))},t.checkUnknownRules=_,t.schemaHasRules=C,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(var n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function(e,t,n,r){var i=e.topSchemaRef,o=e.schemaPath;if(!r){if("number"==typeof t||"boolean"==typeof t)return t;if("string"==typeof t)return(0,S._)(E(),t)}return(0,S._)(k(),i,o,(0,S.getProperty)(n))},t.unescapeFragment=function(e){return P(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(O(e))},t.escapeJsonPointer=O,t.unescapeJsonPointer=P,t.eachItem=function(e,t){if(Array.isArray(e)){var n,r=o(e);try{for(r.s();!(n=r.n()).done;){t(n.value)}}catch(i){r.e(i)}finally{r.f()}}else t(e)},t.mergeEvaluated={props:j({mergeNames:function(e,t,n){return e.if((0,S._)(w(),n,t),(function(){e.if((0,S._)(x(),t),(function(){return e.assign(n,!0)}),(function(){return e.assign(n,(0,S._)(b(),n)).code((0,S._)(y(),n,t))}))}))},mergeToName:function(e,t,n){return e.if((0,S._)(g(),n),(function(){!0===t?e.assign(n,!0):(e.assign(n,(0,S._)(v(),n)),F(e,n,t))}))},mergeValues:function(e,t){return!0===e||r(r({},e),t)},resultToName:A}),items:j({mergeNames:function(e,t,n){return e.if((0,S._)(h(),n,t),(function(){return e.assign(n,(0,S._)(m(),t,n,t,n,t))}))},mergeToName:function(e,t,n){return e.if((0,S._)(f(),n),(function(){return e.assign(n,!0===t||(0,S._)(d(),n,t,n,t))}))},mergeValues:function(e,t){return!0===e||Math.max(e,t)},resultToName:function(e,t){return e.var("items",t)}})},t.evaluatedPropsToName=A,t.setEvaluated=F;var L,D={};function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.opts.strictSchema;if(n){if(t="strict mode: ".concat(t),!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:D[t.code]||(D[t.code]=new T._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(L=t.Type||(t.Type={})),t.getErrorPath=function(e,t,n){if(e instanceof S.Name){var r=t===L.Num;return n?r?(0,S._)(l(),e):(0,S._)(c(),e):r?(0,S._)(s(),e):(0,S._)(a(),e)}return n?(0,S.getProperty)(e).toString():"/"+O(e)},t.checkStrictMode=M},function(e,t,n){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),c=!o&&/WebKit\//.test(e),l=c&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\//.test(e),p=/Opera\//.test(e),d=/Apple Computer/.test(navigator.vendor),f=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),m=/PhantomJS/.test(e),h=d&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),g=h||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=h||/Mac/.test(t),b=/\bCrOS\b/.test(e),x=/win/i.test(t),w=p&&e.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(p=!1,c=!0);var k=y&&(l||p&&(null==w||w<12.11)),E=n||a&&s>=9;function S(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var T,_=function(e,t){var n=e.className,r=S(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function C(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return C(e).appendChild(t)}function P(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}h?M=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(M=function(e){try{e.select()}catch(t){}});var I=function(){this.id=null,this.f=null,this.time=0,this.handler=N(this.onTimeout,this)};function U(e,t){for(var n=0;n=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var V=[""];function $(e){for(;V.length<=e;)V.push(K(V)+" ");return V[e]}function K(e){return e[e.length-1]}function Q(e,t){for(var n=[],r=0;r"\x80"&&(e.toUpperCase()!=e.toLowerCase()||J.test(e))}function ee(e,t){return t?!!(t.source.indexOf("\\w")>-1&&Z(e))||t.test(e):Z(e)}function te(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function re(e){return e.charCodeAt(0)>=768&&ne.test(e)}function ie(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}var ae=null;function se(e,t,n){var r;ae=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:ae=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:ae=i)}return null!=r?r:ae}var ce=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,n=/[LRr]/,r=/[Lb1n]/,i=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a,s){var c="ltr"==s?"L":"R";if(0==a.length||"ltr"==s&&!e.test(a))return!1;for(var l,u=a.length,p=[],d=0;d-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function me(e,t){var n=de(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function ye(e){e.prototype.on=function(e,t){pe(this,e,t)},e.prototype.off=function(e,t){fe(this,e,t)}}function be(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function xe(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function we(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function ke(e){be(e),xe(e)}function Ee(e){return e.target||e.srcElement}function Se(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Te,_e,Ce=function(){if(a&&s<9)return!1;var e=P("div");return"draggable"in e||"dragDrop"in e}();function Oe(e){if(null==Te){var t=P("span","\u200b");O(e,P("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Te=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Te?P("span","\u200b"):P("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Pe(e){if(null!=_e)return _e;var t=O(e,document.createTextNode("A\u062eA")),n=T(t,0,1).getBoundingClientRect(),r=T(t,1,2).getBoundingClientRect();return C(e),!(!n||n.left==n.right)&&(_e=r.right-n.right<3)}var je=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Ae=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Fe=function(){var e=P("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Le=null,De={},Me={};function Ne(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),De[e]=t}function Re(e){if("string"==typeof e&&Me.hasOwnProperty(e))e=Me[e];else if(e&&"string"==typeof e.name&&Me.hasOwnProperty(e.name)){var t=Me[e.name];"string"==typeof t&&(t={name:t}),(e=X(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Re("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Re("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function ze(e,t){t=Re(t);var n=De[t.name];if(!n)return ze(e,"text/plain");var r=n(e,t);if(Ie.hasOwnProperty(t.name)){var i=Ie[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ie={};function Ue(e,t){R(t,Ie.hasOwnProperty(e)?Ie[e]:Ie[e]={})}function Ge(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function qe(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Be(e,t,n){return!e.startState||e.startState(t,n)}var We=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function He(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?Ze(n,He(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?Ze(e.line,t):n<0?Ze(e.line,0):e}(t,He(e,t.line).text.length)}function st(e,t){for(var n=[],r=0;r=this.string.length},We.prototype.sol=function(){return this.pos==this.lineStart},We.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},We.prototype.next=function(){if(this.post},We.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},We.prototype.skipToEnd=function(){this.pos=this.string.length},We.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},We.prototype.backUp=function(e){this.pos-=e},We.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},We.prototype.current=function(){return this.string.slice(this.start,this.pos)},We.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},We.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},We.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ct=function(e,t){this.state=e,this.lookAhead=t},lt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function ut(e,t,n,r){var i=[e.state.modeGen],o={};bt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],c=1,l=0;n.state=!0,bt(e,t.text,s.mode,n,(function(e,t){for(var n=c;le&&i.splice(c,1,e,i[c+1],r),c+=2,l=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,c-n,e,"overlay "+t),c=n+2;else for(;ne.options.maxHighlightLength&&Ge(e.doc.mode,r.state),o=ut(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function dt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new lt(r,!0,t);var o=function(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var c=He(o,s-1),l=c.stateAfter;if(l&&(!n||s+(l instanceof ct?l.lookAhead:0)<=o.modeFrontier))return s;var u=z(c.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}(e,t,n),a=o>r.first&&He(r,o-1).stateAfter,s=a?lt.fromSaved(r,a,o):new lt(r,Be(r.mode),o);return r.iter(o,t,(function(n){ft(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}lt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},lt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},lt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},lt.fromSaved=function(e,t,n){return t instanceof ct?new lt(e,Ge(e.mode,t.state),n,t.lookAhead):new lt(e,Ge(e.mode,t),n)},lt.prototype.save=function(e){var t=!1!==e?Ge(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ct(t,this.maxLookAhead):t};var vt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function gt(e,t,n,r){var i,o,a=e.doc,s=a.mode,c=He(a,(t=at(a,t)).line),l=dt(e,t.line,n),u=new We(c.text,e.options.tabSize,l);for(r&&(o=[]);(r||u.pose.options.maxHighlightLength?(s=!1,a&&ft(e,t,r,p.pos),p.pos=t.length,c=null):c=yt(ht(n,p,r.state,d),o),d){var f=d[0].name;f&&(c="m-"+(c?f+" "+c:f))}if(!s||u!=c){for(;l=t:o.to>t);(r||(r=[])).push(new kt(a,o.from,s?null:o.to))}}return r}(n,i,a),c=function(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var b=0;bt)&&(!n||At(n,o.marker)<0)&&(n=o.marker)}return n}function Nt(e,t,n,r,i){var o=He(e,t),a=wt&&o.markedSpans;if(a)for(var s=0;s=0&&p<=0||u<=0&&p>=0)&&(u<=0&&(c.marker.inclusiveRight&&i.inclusiveLeft?et(l.to,n)>=0:et(l.to,n)>0)||u>=0&&(c.marker.inclusiveRight&&i.inclusiveLeft?et(l.from,r)<=0:et(l.from,r)<0)))return!0}}}function Rt(e){for(var t;t=Lt(e);)e=t.find(-1,!0).line;return e}function zt(e,t){var n=He(e,t),r=Rt(n);return n==r?t:Qe(r)}function It(e,t){if(t>e.lastLine())return t;var n,r=He(e,t);if(!Ut(e,r))return t;for(;n=Dt(r);)r=n.find(1,!0).line;return Qe(r)+1}function Ut(e,t){var n=wt&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var Ht=function(e,t,n){this.text=e,Ot(this,t),this.height=n?n(this):1};function Vt(e){e.parent=null,Ct(e)}Ht.prototype.lineNo=function(){return Qe(this)},ye(Ht);var $t={},Kt={};function Qt(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?Kt:$t;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Yt(e,t){var n=j("span",null,null,c?"padding-right: .1px":null),r={pre:j("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=Jt,Pe(e.display.measure)&&(a=le(o,e.doc.direction))&&(r.addToken=Zt(r.addToken,a)),r.map=[],tn(o,r,pt(e,o,t!=e.display.externalMeasured&&Qe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=D(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=D(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Oe(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(c){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return me(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=D(r.pre.className,r.textClass||"")),r}function Xt(e){var t=P("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Jt(e,t,n,r,i,o,c){if(t){var l,u=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;il&&p.from<=l);d++);if(p.to>=u)return e(n,r,i,o,a,s,c);e(n,r.slice(0,p.to-l),i,o,null,s,c),o=null,r=r.slice(p.to-l),l=p.to}}}function en(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function tn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,c,l,u,p,d,f=i.length,m=0,h=1,v="",g=0;;){if(g==m){c=l=u=s="",d=null,p=null,g=1/0;for(var y=[],b=void 0,x=0;xm||k.collapsed&&w.to==m&&w.from==m)){if(null!=w.to&&w.to!=m&&g>w.to&&(g=w.to,l=""),k.className&&(c+=" "+k.className),k.css&&(s=(s?s+";":"")+k.css),k.startStyle&&w.from==m&&(u+=" "+k.startStyle),k.endStyle&&w.to==g&&(b||(b=[])).push(k.endStyle,w.to),k.title&&((d||(d={})).title=k.title),k.attributes)for(var E in k.attributes)(d||(d={}))[E]=k.attributes[E];k.collapsed&&(!p||At(p.marker,k)<0)&&(p=w)}else w.from>m&&g>w.from&&(g=w.from)}if(b)for(var S=0;S=f)break;for(var _=Math.min(f,g);;){if(v){var C=m+v.length;if(!p){var O=C>_?v.slice(0,_-m):v;t.addToken(t,O,a?a+c:c,u,m+O.length==g?l:"",s,d)}if(C>=_){v=v.slice(_-m),m=_;break}m=C,u=""}v=i.slice(o,o=n[h++]),a=Qt(n[h++],t.cm.options)}}else for(var P=1;Pn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}}function Pn(e,t,n,r){return Fn(e,An(e,t),n,r)}function jn(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&t2&&o.push((c.bottom+l.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=Mn(t.map,n,r),c=o.node,l=o.start,u=o.end,p=o.collapse;if(3==c.nodeType){for(var d=0;d<4;d++){for(;l&&re(t.line.text.charAt(o.coverStart+l));)--l;for(;o.coverStart+u1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{var f;l>0&&(p=r="right"),i=e.options.lineWrapping&&(f=c.getClientRects()).length>1?f["right"==r?f.length-1:0]:c.getBoundingClientRect()}if(a&&s<9&&!l&&(!i||!i.left&&!i.right)){var m=c.parentNode.getClientRects()[0];i=m?{left:m.left,right:m.left+rr(e.display),top:m.top,bottom:m.bottom}:Dn}for(var h=i.top-t.rect.top,v=i.bottom-t.rect.top,g=(h+v)/2,y=t.view.measure.heights,b=0;bt)&&(i=(o=c-s)-1,t>=c&&(a="right")),null!=i){if(r=e[l+2],s==c&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;l&&e[l-2]==e[l-3]&&e[l-1].insertLeft;)r=e[2+(l-=3)],a="left";if("right"==n&&i==c-s)for(;l=0&&(n=e[i]).left==n.right;i--);return n}function Rn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=r.text.length?(c=r.text.length,l="before"):c<=0&&(c=0,l="after"),!s)return a("before"==l?c-1:c,"before"==l);function u(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var p=se(s,c,l),d=ae,f=u(c,p,"before"==l);return null!=d&&(f.other=u(c,d,"before"!=l)),f}function $n(e,t){var n=0;t=at(e.doc,t),e.options.lineWrapping||(n=rr(e.display)*t.ch);var r=He(e.doc,t.line),i=qt(r)+kn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Kn(e,t,n,r,i){var o=Ze(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Qn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Kn(r.first,0,null,-1,-1);var i=Ye(r,n),o=r.first+r.size-1;if(i>o)return Kn(r.first+r.size-1,He(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=He(r,i);;){var s=Zn(e,a,i,t,n),c=Mt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!c)return s;var l=c.find(1);if(l.line==i)return l;a=He(r,i=l.line)}}function Yn(e,t,n,r){r-=qn(t);var i=t.text.length,o=oe((function(t){return Fn(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=oe((function(t){return Fn(e,n,t).top>r}),o,i)}}function Xn(e,t,n,r){return n||(n=An(e,t)),Yn(e,t,n,Bn(e,t,Fn(e,n,r),"line").top)}function Jn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Zn(e,t,n,r,i){i-=qt(t);var o=An(e,t),a=qn(t),s=0,c=t.text.length,l=!0,u=le(t,e.doc.direction);if(u){var p=(e.options.lineWrapping?tr:er)(e,t,n,o,u,r,i);s=(l=1!=p.level)?p.from:p.to-1,c=l?p.to:p.from-1}var d,f,m=null,h=null,v=oe((function(t){var n=Fn(e,o,t);return n.top+=a,n.bottom+=a,!!Jn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(m=t,h=n),!0)}),s,c),g=!1;if(h){var y=r-h.left=x.bottom?1:0}return Kn(n,v=ie(t.text,v,1),f,g,r-d)}function er(e,t,n,r,i,o,a){var s=oe((function(s){var c=i[s],l=1!=c.level;return Jn(Vn(e,Ze(n,l?c.to:c.from,l?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),c=i[s];if(s>0){var l=1!=c.level,u=Vn(e,Ze(n,l?c.from:c.to,l?"after":"before"),"line",t,r);Jn(u,o,a,!0)&&u.top>a&&(c=i[s-1])}return c}function tr(e,t,n,r,i,o,a){var s=Yn(e,t,r,a),c=s.begin,l=s.end;/\s/.test(t.text.charAt(l-1))&&l--;for(var u=null,p=null,d=0;d=l||f.to<=c)){var m=Fn(e,r,1!=f.level?Math.min(l,f.to)-1:Math.max(c,f.from)).right,h=mh)&&(u=f,p=h)}}return u||(u=i[i.length-1]),u.froml&&(u={from:u.from,to:l,level:u.level}),u}function nr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Ln){Ln=P("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Ln.appendChild(document.createTextNode("x")),Ln.appendChild(P("br"));Ln.appendChild(document.createTextNode("x"))}O(e.measure,Ln);var n=Ln.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),C(e.measure),n||1}function rr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=P("span","xxxxxxxxxx"),n=P("pre",[t],"CodeMirror-line-like");O(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function ir(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:or(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function or(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function ar(e){var t=nr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/rr(e.display)-3);return function(i){if(Ut(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a0&&(c=He(e.doc,l.line).text).length==l.ch){var u=z(c,c.length,e.options.tabSize)-c.length;l=Ze(l.line,Math.max(0,Math.round((o-Sn(e.display).left)/rr(e.display))-u))}return l}function lr(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)wt&&zt(e.doc,t)i.viewFrom?dr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)dr(e);else if(t<=i.viewFrom){var o=fr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):dr(e)}else if(n>=i.viewTo){var a=fr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):dr(e)}else{var s=fr(e,t,t,-1),c=fr(e,n,n+r,1);s&&c?(i.view=i.view.slice(0,s.index).concat(rn(e,s.lineN,c.lineN)).concat(i.view.slice(c.index)),i.viewTo+=r):dr(e)}var l=i.externalMeasured;l&&(n=i.lineN&&t=r.viewTo)){var o=r.view[lr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==U(a,n)&&a.push(n)}}}function dr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function fr(e,t,n,r){var i,o=lr(e,t),a=e.display.view;if(!wt||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,c=0;c0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;zt(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function mr(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||c.to().line0?a:e.defaultCharWidth())+"px"}if(r.other){var s=n.appendChild(P("div","\xa0","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=r.other.left+"px",s.style.top=r.other.top+"px",s.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function yr(e,t){return e.top-t.top||e.left-t.left}function br(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Sn(e.display),s=a.left,c=Math.max(r.sizerWidth,_n(e)-r.sizer.offsetLeft)-a.right,l="ltr"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(P("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?c-e:n)+"px;\n height: "+(r-t)+"px"))}function p(t,n,r){var o,a,p=He(i,t),d=p.text.length;function f(n,r){return Hn(e,Ze(t,n),"div",p,r)}function m(t,n,r){var i=Xn(e,p,null,t),o="ltr"==n==("after"==r)?"left":"right";return f("after"==r?i.begin:i.end-(/\s/.test(p.text.charAt(i.end-1))?2:1),o)[o]}var h=le(p,i.direction);return function(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}(h,n||0,null==r?d:r,(function(e,t,i,p){var v="ltr"==i,g=f(e,v?"left":"right"),y=f(t-1,v?"right":"left"),b=null==n&&0==e,x=null==r&&t==d,w=0==p,k=!h||p==h.length-1;if(y.top-g.top<=3){var E=(l?x:b)&&k,S=(l?b:x)&&w?s:(v?g:y).left,T=E?c:(v?y:g).right;u(S,g.top,T-S,g.bottom)}else{var _,C,O,P;v?(_=l&&b&&w?s:g.left,C=l?c:m(e,i,"before"),O=l?s:m(t,i,"after"),P=l&&x&&k?c:y.right):(_=l?m(e,i,"before"):s,C=!l&&b&&w?c:g.right,O=!l&&x&&k?s:y.left,P=l?m(t,i,"after"):c),u(_,g.top,C-_,g.bottom),g.bottom0?t.blinker=setInterval((function(){e.hasFocus()||Sr(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function wr(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Er(e))}function kr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Sr(e))}),100)}function Er(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(me(e,"focus",e,t),e.state.focused=!0,L(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),c&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),xr(e))}function Sr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(me(e,"blur",e,t),e.state.focused=!1,_(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Tr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,o=0,c=0;c.005||h<-.005)&&(ie.display.sizerWidth){var g=Math.ceil(d/rr(e.display));g>e.display.maxLineLength&&(e.display.maxLineLength=g,e.display.maxLine=l.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function _r(e){if(e.widgets)for(var t=0;t=a&&(o=Ye(t,qt(He(t,c))-e.wrapper.clientHeight),a=c)}return{from:o,to:Math.max(a,o+1)}}function Or(e,t){var n=e.display,r=nr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Cn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+En(n),c=t.tops-r;if(t.topi+o){var u=Math.min(t.top,(l?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var p=e.options.fixedGutter?0:n.gutters.offsetWidth,d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-p,f=_n(e)-n.gutters.offsetWidth,m=t.right-t.left>f;return m&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.leftf+d-3&&(a.scrollLeft=t.right+(m?0:10)-f),a}function Pr(e,t){null!=t&&(Fr(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function jr(e){Fr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Ar(e,t,n){null==t&&null==n||Fr(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Fr(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Lr(e,$n(e,t.from),$n(e,t.to),t.margin))}function Lr(e,t,n,r){var i=Or(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Ar(e,i.scrollLeft,i.scrollTop)}function Dr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||si(e,{top:t}),Mr(e,t,!0),n&&si(e),ni(e,100))}function Mr(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Nr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,ui(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Rr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+En(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Tn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var zr=function(e,t,n){this.cm=n;var r=this.vert=P("div",[P("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=P("div",[P("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),pe(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),pe(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};zr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},zr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},zr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},zr.prototype.zeroWidthHack=function(){var e=y&&!f?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new I,this.disableVert=new I},zr.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents="auto",t.set(1e3,(function r(){var i=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)}))},zr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Ir=function(){};function Ur(e,t){t||(t=Rr(e));var n=e.display.barWidth,r=e.display.barHeight;Gr(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Tr(e),Gr(e,Rr(e)),n=e.display.barWidth,r=e.display.barHeight}function Gr(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}Ir.prototype.update=function(){return{bottom:0,right:0}},Ir.prototype.setScrollLeft=function(){},Ir.prototype.setScrollTop=function(){},Ir.prototype.clear=function(){};var qr={native:zr,null:Ir};function Br(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&_(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new qr[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),pe(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?Nr(e,t):Dr(e,t)}),e),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)}var Wr=0;function Hr(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Wr,markArrays:null},t=e.curOp,on?on.ops.push(t):t.ownsGroup=on={ops:[t],delayedCallbacks:[]}}function Vr(e){var t=e.curOp;t&&function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ii(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Kr(e){e.updatedDisplay=e.mustUpdate&&oi(e.cm,e.update)}function Qr(e){var t=e.cm,n=t.display;e.updatedDisplay&&Tr(t),e.barMeasure=Rr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Pn(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Tn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-_n(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Yr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!m){var o=P("div","\u200b",null,"position: absolute;\n top: "+(t.top-n.viewOffset-kn(e.display))+"px;\n height: "+(t.bottom-t.top+Tn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==t.sticky?Ze(t.line,t.ch+1,"before"):t,t=t.ch?Ze(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var o=0;o<5;o++){var a=!1,s=Vn(e,t),c=n&&n!=t?Vn(e,n):s,l=Or(e,i={left:Math.min(s.left,c.left),top:Math.min(s.top,c.top)-r,right:Math.max(s.left,c.left),bottom:Math.max(s.bottom,c.bottom)+r}),u=e.doc.scrollTop,p=e.doc.scrollLeft;if(null!=l.scrollTop&&(Dr(e,l.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=l.scrollLeft&&(Nr(e,l.scrollLeft),Math.abs(e.doc.scrollLeft-p)>1&&(a=!0)),!a)break}return i}(t,at(r,e.scrollToPos.from),at(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a=e.display.viewTo)){var n=+new Date+e.options.workTime,r=dt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ge(t.mode,r.state):null,c=ut(e,o,r,!0);s&&(r.state=s),o.styles=c.styles;var l=o.styleClasses,u=c.classes;u?o.styleClasses=u:l&&(o.styleClasses=null);for(var p=!a||a.length!=o.styles.length||l!=u&&(!l||!u||l.bgClass!=u.bgClass||l.textClass!=u.textClass),d=0;!p&&dn)return ni(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Jr(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==mr(e))return!1;pi(e)&&(dr(e),t.dims=ir(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),wt&&(o=zt(e.doc,o),a=It(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=rn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=rn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,lr(e,n)))),r.viewTo=n}(e,o,a),n.viewOffset=qt(He(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=mr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function(e){if(e.hasFocus())return null;var t=F();if(!t||!A(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&A(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return l>4&&(n.lineDiv.style.display="none"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return c&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var l=r.view,u=r.viewFrom,p=0;p-1&&(f=!1),ln(e,d,u,n)),f&&(C(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(Je(e.options,u)))),a=d.node.nextSibling}else{var m=vn(e,d,u,n);o.insertBefore(m,a)}u+=d.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=F()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&A(document.body,e.anchorNode)&&A(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),C(n.cursorDiv),C(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ni(e,400)),n.updateLineNumbers=null,!0}function ai(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=_n(e))r&&(t.visible=Cr(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+En(e.display)-Cn(e),n.top)}),t.visible=Cr(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!oi(e,t))break;Tr(e);var i=Rr(e);hr(e),Ur(e,i),li(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function si(e,t){var n=new ii(e,t);if(oi(e,n)){Tr(e),ai(e,n);var r=Rr(e);hr(e),Ur(e,r),li(e,r),n.finish()}}function ci(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",sn(e,"gutterChanged",e)}function li(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Tn(e)+"px"}function ui(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=or(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;al.clientWidth,d=l.scrollHeight>l.clientHeight;if(i&&u||o&&d){if(o&&y&&c)e:for(var f=t.target,m=s.view;f!=l;f=f.parentNode)for(var h=0;h=0&&et(e,r.to())<=0)return n}return-1};var ki=function(e,t){this.anchor=e,this.head=t};function Ei(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return et(e.from(),t.from())})),n=U(t,i);for(var o=1;o0:c>=0){var l=it(s.from(),a.from()),u=rt(s.to(),a.to()),p=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new ki(p?u:l,p?l:u))}}return new wi(t,n)}function Si(e,t){return new wi([new ki(e,t||e)],0)}function Ti(e){return e.text?Ze(e.from.line+e.text.length-1,K(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function _i(e,t){if(et(e,t.from)<0)return e;if(et(e,t.to)<=0)return Ti(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=Ti(t).ch-t.to.ch),Ze(n,r)}function Ci(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,m-1),e.insert(s.line+1,g)}sn(e,"change",e,t)}function Li(e,t,n){!function e(r,i,o){if(r.linked)for(var a=0;as-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(zi(e.done),K(e.done)):e.done.length&&!K(e.done).ranges?K(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),K(e.done)):void 0}(i,i.lastOp==r)))a=K(o.changes),0==et(t.from,t.to)&&0==et(t.from,a.to)?a.to=Ti(t):o.changes.push(Ri(e,t));else{var c=K(i.done);for(c&&c.ranges||Gi(e.sel,i.done),o={changes:[Ri(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||me(e,"historyAdded")}function Ui(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,K(i.done),t))?i.done[i.done.length-1]=t:Gi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&zi(i.undone)}function Gi(e,t){var n=K(t);n&&n.ranges&&n.equals(e)||t.push(e)}function qi(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Bi(e){if(!e)return null;for(var t,n=0;n-1&&(K(s)[p]=l[p],delete l[p])}}}return r}function Vi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=et(t,i)<0;o!=et(n,i)<0?(i=t,t=n):o!=et(t,n)<0&&(t=n)}return new ki(i,t)}return new ki(n||t,t)}function $i(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Ji(e,new wi([Vi(e.sel.primary(),t,n,i)],0),r)}function Ki(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:s.to>t.ch))){if(i&&(me(c,"beforeCursorEnter"),c.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!c.atomic)continue;if(n){var p=c.find(r<0?1:-1),d=void 0;if((r<0?u:l)&&(p=oo(e,p,-r,p&&p.line==t.line?o:null)),p&&p.line==t.line&&(d=et(p,n))&&(r<0?d<0:d>0))return ro(e,p,t,r,i)}var f=c.find(r<0?-1:1);return(r<0?l:u)&&(f=oo(e,f,r,f.line==t.line?o:null)),f?ro(e,f,t,r,i):null}}return t}function io(e,t,n,r,i){var o=r||1,a=ro(e,t,n,o,i)||!i&&ro(e,t,n,o,!0)||ro(e,t,n,-o,i)||!i&&ro(e,t,n,-o,!0);return a||(e.cantEdit=!0,Ze(e.first,0))}function oo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?at(e,Ze(t.line-1)):null:n>0&&t.ch==(r||He(e,t.line)).text.length?t.line0)){var u=[c,1],p=et(l.from,s.from),d=et(l.to,s.to);(p<0||!a.inclusiveLeft&&!p)&&u.push({from:l.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&u.push({from:s.to,to:l.to}),i.splice.apply(i,u),c+=u.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)lo(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else lo(e,t)}}function lo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=et(t.from,t.to)){var n=Ci(e,t);Ii(e,t,n,e.cm?e.cm.curOp.id:NaN),fo(e,t,n,Tt(e,t));var r=[];Li(e,(function(e,n){n||-1!=U(r,e.history)||(go(e.history,t),r.push(e.history)),fo(e,t,null,Tt(e,t))}))}}function uo(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,c="undo"==t?o.undone:o.done,l=0;l=0;--f){var m=d(f);if(m)return m.v}}}}function po(e,t){if(0!=t&&(e.first+=t,e.sel=new wi(Q(e.sel.ranges,(function(e){return new ki(Ze(e.anchor.line+t,e.anchor.ch),Ze(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){ur(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:Ze(o,He(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ve(e,t.from,t.to),n||(n=Ci(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,c=o.line;e.options.lineWrapping||(c=Qe(Rt(He(r,o.line))),r.iter(c,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ve(e),Fi(r,t,n,ar(e)),e.options.lineWrapping||(r.iter(c,o.line+t.text.length,(function(e){var t=Bt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=He(e,r).stateAfter;if(i&&(!(i instanceof ct)||r+i.lookAhead1||!(this.children[0]instanceof bo))){var s=[];this.collapse(s),this.children=[new bo(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=i.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=j("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Nt(e,t.line,t,n,o)||t.line!=n.line&&Nt(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");wt=!0}o.addToHistory&&Ii(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,c=t.line,l=e.cm;if(e.iter(c,n.line+1,(function(r){l&&o.collapsed&&!l.options.lineWrapping&&Rt(r)==l.display.maxLine&&(s=!0),o.collapsed&&c!=t.line&&Ke(r,0),function(e,t,n){var r=n&&window.WeakSet&&(n.markedSpans||(n.markedSpans=new WeakSet));r&&r.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],r&&r.add(e.markedSpans)),t.marker.attachLine(e)}(r,new kt(o,c==t.line?t.ch:null,c==n.line?n.ch:null),e.cm&&e.cm.curOp),++c})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){Ut(e,t)&&Ke(t,0)})),o.clearOnEnter&&pe(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(xt=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++Eo,o.atomic=!0),l){if(s&&(l.curOp.updateMaxLine=!0),o.collapsed)ur(l,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)pr(l,u,"text");o.atomic&&to(l.doc),sn(l,"markerAdded",l,o)}return o}So.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Hr(e),ge(this,"clear")){var n=this.find();n&&sn(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=l,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&ur(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&to(e.doc)),e&&sn(e,"markerCleared",e,this,r,i),t&&Vr(e),this.parent&&this.parent.clear()}},So.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i=0;c--)co(this,r[c]);s?Xi(this,s):this.cm&&jr(this.cm)})),undo:ti((function(){uo(this,"undo")})),redo:ti((function(){uo(this,"redo")})),undoSelection:ti((function(){uo(this,"undo",!0)})),redoSelection:ti((function(){uo(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=at(this,e),t=at(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s=c.to||null==c.from&&i!=e.line||null!=c.from&&i==t.line&&c.from>=t.ch||n&&!n(c.marker)||r.push(c.marker.parent||c.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n})),at(this,Ze(n,t))},indexFromPos:function(e){var t=(e=at(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var p=e.dataTransfer.getData("Text");if(p){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),Zi(t.doc,Si(n,n)),d)for(var f=0;f=0;t--)mo(e.doc,"",r[t].from,r[t].to,"+delete");jr(e)}))}function Xo(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Jo(e,t,n){var r=Xo(e,t.ch,n);return null==r?null:new Ze(t.line,r,n<0?"after":"before")}function Zo(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=le(n,t.doc.direction);if(o){var a,s=i<0?K(o):o[0],c=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var l=An(t,n);a=i<0?n.text.length-1:0;var u=Fn(t,l,a).top;a=oe((function(e){return Fn(t,l,e).top==u}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=Xo(n,a,1))}else a=i<0?s.to:s.from;return new Ze(r,a,c)}}return new Ze(r,i<0?n.text.length:0,i<0?"before":"after")}qo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},qo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},qo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},qo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},qo.default=y?qo.macDefault:qo.pcDefault;var ea={selectAll:ao,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),q)},killLine:function(e){return Yo(e,(function(t){if(t.empty()){var n=He(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new Ze(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),Ze(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=He(e.doc,i.line-1).text;a&&(i=new Ze(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Ze(i.line-1,a.length-1),i,"+transpose"))}n.push(new ki(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Jr(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r-1&&(et((i=l.ranges[i]).from(),t)<0||t.xRel>0)&&(et(i.to(),t)>0||t.xRel<0)?function(e,t,n,r){var i=e.display,o=!1,l=Zr(e,(function(t){c&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:kr(e)),fe(i.wrapper.ownerDocument,"mouseup",l),fe(i.wrapper.ownerDocument,"mousemove",u),fe(i.scroller,"dragstart",p),fe(i.scroller,"drop",l),o||(be(t),r.addNew||$i(e.doc,n,null,null,r.extend),c&&!d||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},p=function(){return o=!0};c&&(i.scroller.draggable=!0),e.state.draggingText=l,l.copy=!r.moveOnDrag,pe(i.wrapper.ownerDocument,"mouseup",l),pe(i.wrapper.ownerDocument,"mousemove",u),pe(i.scroller,"dragstart",p),pe(i.scroller,"drop",l),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}(e,r,t,o):function(e,t,n,r){a&&kr(e);var i=e.display,o=e.doc;be(t);var s,c,l=o.sel,u=l.ranges;if(r.addNew&&!r.extend?(c=o.sel.contains(n),s=c>-1?u[c]:new ki(n,n)):(s=o.sel.primary(),c=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new ki(n,n)),n=cr(e,t,!0,!0),c=-1;else{var p=va(e,n,r.unit);s=r.extend?Vi(s,p.anchor,p.head,r.extend):p}r.addNew?-1==c?(c=u.length,Ji(o,Ei(e,u.concat([s]),c),{scroll:!1,origin:"*mouse"})):u.length>1&&u[c].empty()&&"char"==r.unit&&!r.extend?(Ji(o,Ei(e,u.slice(0,c).concat(u.slice(c+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):Qi(o,c,s,B):(c=0,Ji(o,new wi([s],0),B),l=o.sel);var d=n;function f(t){if(0!=et(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],a=e.options.tabSize,u=z(He(o,n.line).text,n.ch,a),p=z(He(o,t.line).text,t.ch,a),f=Math.min(u,p),m=Math.max(u,p),h=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));h<=v;h++){var g=He(o,h).text,y=H(g,f,a);f==m?i.push(new ki(Ze(h,y),Ze(h,y))):g.length>y&&i.push(new ki(Ze(h,y),Ze(h,H(g,m,a))))}i.length||i.push(new ki(n,n)),Ji(o,Ei(e,l.ranges.slice(0,c).concat(i),c),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,x=s,w=va(e,t,r.unit),k=x.anchor;et(w.anchor,k)>0?(b=w.head,k=it(x.from(),w.anchor)):(b=w.anchor,k=rt(x.to(),w.head));var E=l.ranges.slice(0);E[c]=function(e,t){var n=t.anchor,r=t.head,i=He(e.doc,n.line);if(0==et(n,r)&&n.sticky==r.sticky)return t;var o=le(i);if(!o)return t;var a=se(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var c,l=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==l||l==o.length)return t;if(r.line!=n.line)c=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=se(o,r.ch,r.sticky),p=u-a||(r.ch-n.ch)*(1==s.level?-1:1);c=u==l-1||u==l?p<0:p>0}var d=o[l+(c?-1:0)],f=c==(1==d.level),m=f?d.from:d.to,h=f?"after":"before";return n.ch==m&&n.sticky==h?t:new ki(new Ze(n.line,m,h),r)}(e,new ki(at(o,k),b)),Ji(o,Ei(e,E,c),B)}}var m=i.wrapper.getBoundingClientRect(),h=0;function v(t){e.state.selectingText=!1,h=1/0,t&&(be(t),i.input.focus()),fe(i.wrapper.ownerDocument,"mousemove",g),fe(i.wrapper.ownerDocument,"mouseup",y),o.history.lastSelOrigin=null}var g=Zr(e,(function(t){0!==t.buttons&&Se(t)?function t(n){var a=++h,s=cr(e,n,!0,"rectangle"==r.unit);if(s)if(0!=et(s,d)){e.curOp.focus=F(),f(s);var c=Cr(i,o);(s.line>=c.to||s.linem.bottom?20:0;l&&setTimeout(Zr(e,(function(){h==a&&(i.scroller.scrollTop+=l,t(n))})),50)}}(t):v(t)})),y=Zr(e,v);e.state.selectingText=y,pe(i.wrapper.ownerDocument,"mousemove",g),pe(i.wrapper.ownerDocument,"mouseup",y)}(e,r,t,o)}(t,r,o,e):Ee(e)==n.scroller&&be(e):2==i?(r&&$i(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(E?t.display.input.onContextMenu(e):kr(t)))}}function va(e,t,n){if("char"==n)return new ki(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new ki(Ze(t.line,0),at(e.doc,Ze(t.line+1,0)));var r=n(e,t);return new ki(r.from,r.to)}function ga(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(u){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&be(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ge(e,n))return we(t);o-=s.top-a.viewOffset;for(var c=0;c=i)return me(e,n,e,Ye(e.doc,o),e.display.gutterSpecs[c].className,t),we(t)}}function ya(e,t){return ga(e,t,"gutterClick",!0)}function ba(e,t){wn(e.display,t)||function(e,t){return!!ge(e,"gutterContextMenu")&&ga(e,t,"gutterContextMenu",!1)}(e,t)||he(e,t,"contextmenu")||E||e.display.input.onContextMenu(t)}function xa(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),In(e)}ma.prototype.compare=function(e,t,n){return this.time+400>e&&0==et(t,this.pos)&&n==this.button};var wa={toString:function(){return"CodeMirror.Init"}},ka={},Ea={};function Sa(e,t,n){if(!t!=!(n&&n!=wa)){var r=e.display.dragFunctions,i=t?pe:fe;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function Ta(e){e.options.lineWrapping?(L(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(_(e.display.wrapper,"CodeMirror-wrap"),Wt(e)),sr(e),ur(e),In(e),setTimeout((function(){return Ur(e)}),100)}function _a(e,t){var n=this;if(!(this instanceof _a))return new _a(e,t);this.options=t=t?R(t):{},R(ka,t,!1);var r=t.value;"string"==typeof r?r=new jo(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new _a.inputStyles[t.inputStyle](this),o=this.display=new hi(e,r,i,t);for(var l in o.wrapper.CodeMirror=this,xa(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Br(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new I,keySeq:null,specialChars:null},t.autofocus&&!g&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;pe(t.scroller,"mousedown",Zr(e,ha)),pe(t.scroller,"dblclick",a&&s<11?Zr(e,(function(t){if(!he(e,t)){var n=cr(e,t);if(n&&!ya(e,t)&&!wn(e.display,t)){be(t);var r=e.findWordAt(n);$i(e.doc,r.anchor,r.head)}}})):function(t){return he(e,t)||be(t)}),pe(t.scroller,"contextmenu",(function(t){return ba(e,t)})),pe(t.input.getField(),"contextmenu",(function(n){t.scroller.contains(n.target)||ba(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}pe(t.scroller,"touchstart",(function(i){if(!he(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!ya(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),pe(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),pe(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!wn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,s=e.coordsChar(t.activeTouch,"page");a=!r.prev||o(r,r.prev)?new ki(s,s):!r.prev.prev||o(r,r.prev.prev)?e.findWordAt(s):new ki(Ze(s.line,0),at(e.doc,Ze(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),be(n)}i()})),pe(t.scroller,"touchcancel",i),pe(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(Dr(e,t.scroller.scrollTop),Nr(e,t.scroller.scrollLeft,!0),me(e,"scroll",e))})),pe(t.scroller,"mousewheel",(function(t){return xi(e,t)})),pe(t.scroller,"DOMMouseScroll",(function(t){return xi(e,t)})),pe(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){he(e,t)||ke(t)},over:function(t){he(e,t)||(function(e,t){var n=cr(e,t);if(n){var r=document.createDocumentFragment();gr(e,n,r),e.display.dragCursor||(e.display.dragCursor=P("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),O(e.display.dragCursor,r)}}(e,t),ke(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Ao<100))ke(t);else if(!he(e,t)&&!wn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!d)){var n=P("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",p&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),p&&n.parentNode.removeChild(n)}}(e,t)},drop:Zr(e,Fo),leave:function(t){he(e,t)||Lo(e)}};var c=t.input.getField();pe(c,"keyup",(function(t){return ua.call(e,t)})),pe(c,"keydown",Zr(e,la)),pe(c,"keypress",Zr(e,pa)),pe(c,"focus",(function(t){return Er(e,t)})),pe(c,"blur",(function(t){return Sr(e,t)}))}(this),No(),Hr(this),this.curOp.forceUpdate=!0,Di(this,r),t.autofocus&&!g||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Er(n)}),20):Sr(this),Ea)Ea.hasOwnProperty(l)&&Ea[l](this,t[l],wa);pi(this),t.finishInit&&t.finishInit(this);for(var u=0;u150)){if(!r)return;n="prev"}}else l=0,n="not";"prev"==n?l=t>o.first?z(He(o,t-1).text,null,a):0:"add"==n?l=c+e.options.indentUnit:"subtract"==n?l=c-e.options.indentUnit:"number"==typeof n&&(l=c+n),l=Math.max(0,l);var p="",d=0;if(e.options.indentWithTabs)for(var f=Math.floor(l/a);f;--f)d+=a,p+="\t";if(da,c=je(t),l=null;if(s&&r.ranges.length>1)if(Pa&&Pa.text.join("\n")==t){if(r.ranges.length%Pa.text.length==0){l=[];for(var u=0;u=0;d--){var f=r.ranges[d],m=f.from(),h=f.to();f.empty()&&(n&&n>0?m=Ze(m.line,m.ch-n):e.state.overwrite&&!s?h=Ze(h.line,Math.min(He(o,h.line).text.length,h.ch+K(c).length)):s&&Pa&&Pa.lineWise&&Pa.text.join("\n")==c.join("\n")&&(m=h=Ze(m.line,0)));var v={from:m,to:h,text:l?l[d%l.length]:c,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};co(e.doc,v),sn(e,"inputRead",e,v)}t&&!s&&La(e,t),jr(e),e.curOp.updateInput<2&&(e.curOp.updateInput=p),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Fa(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Jr(t,(function(){return Aa(t,n,0,null,"paste")})),!0}function La(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=Oa(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(He(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Oa(e,i.head.line,"smart"));a&&sn(e,"electricInput",e,i.head.line)}}}function Da(e){for(var t=[],n=[],r=0;r0?0:-1));if(isNaN(l))a=null;else{var u=n>0?l>=55296&&l<56320:l>=56320&&l<57343;a=new Ze(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(u?2:1))),-n)}}else a=i?function(e,t,n,r){var i=le(t,e.doc.direction);if(!i)return Jo(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=se(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&d>=u.begin)){var f=p?"before":"after";return new Ze(n.line,d,f)}}var m=function(e,t,r){for(var o=function(e,t){return t?new Ze(n.line,c(e,1),"before"):new Ze(n.line,e,"after")};e>=0&&e0==(1!=a.level),l=s?r.begin:c(r.end,-1);if(a.from<=l&&l0?u.end:c(u.begin,-1);return null==v||r>0&&v==t.text.length||!(h=m(r>0?0:i.length-1,r,l(v)))?null:h}(e.cm,s,t,n):Jo(s,t,n);if(null==a){if(o||!function(){var n=t.line+c;return!(n=e.first+e.size)&&(t=new Ze(n,t.ch,t.sticky),s=He(e,n))}())return!1;t=Zo(i,e.cm,s,t.line,c)}else t=a;return!0}if("char"==r||"codepoint"==r)l();else if("column"==r)l(!0);else if("word"==r||"group"==r)for(var u=null,p="group"==r,d=e.cm&&e.cm.getHelper(t,"wordChars"),f=!0;!(n<0)||l(!f);f=!1){var m=s.text.charAt(t.ch)||"\n",h=ee(m,d)?"w":p&&"\n"==m?"n":!p||/\s/.test(m)?null:"p";if(!p||f||h||(h="s"),u&&u!=h){n<0&&(n=1,l(),t.sticky="after");break}if(h&&(u=h),n>0&&!l(!f))break}var v=io(e,t,o,a,!0);return tt(o,v)&&(v.hitSide=!0),v}function za(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var c=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(c-.5*nr(e.display),3);i=(n>0?t.bottom:t.top)+n*l}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Qn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Ia=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new I,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ua(e,t){var n=jn(e,t.line);if(!n||n.hidden)return null;var r=He(e.doc,t.line),i=On(n,r,t.line),o=le(r,e.doc.direction),a="left";o&&(a=se(o,t.ch)%2?"right":"left");var s=Mn(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function Ga(e,t){return t&&(e.bad=!0),e}function qa(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Ga(e.clipPos(Ze(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i=t.display.viewTo||o.line=t.display.viewFrom&&Ua(t,i)||{node:c[0].measure.map[2],offset:0},u=o.liner.firstLine()&&(a=Ze(a.line-1,He(r.doc,a.line-1).length)),s.ch==He(r.doc,s.line).text.length&&s.linei.viewTo-1)return!1;a.line==i.viewFrom||0==(e=lr(r,a.line))?(t=Qe(i.view[0].line),n=i.view[0].node):(t=Qe(i.view[e].line),n=i.view[e-1].node.nextSibling);var c,l,u=lr(r,s.line);if(u==i.view.length-1?(c=i.viewTo-1,l=i.lineDiv.lastChild):(c=Qe(i.view[u+1].line)-1,l=i.view[u+1].node.previousSibling),!n)return!1;for(var p=r.doc.splitLines(function(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),c=!1;function l(){a&&(o+=s,c&&(o+=s),a=c=!1)}function u(e){e&&(l(),o+=e)}function p(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void u(n);var o,d=t.getAttribute("cm-marker");if(d){var f=e.findMarks(Ze(r,0),Ze(i+1,0),(v=+d,function(e){return e.id==v}));return void(f.length&&(o=f[0].find(0))&&u(Ve(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&l();for(var h=0;h1&&d.length>1;)if(K(p)==K(d))p.pop(),d.pop(),c--;else{if(p[0]!=d[0])break;p.shift(),d.shift(),t++}for(var f=0,m=0,h=p[0],v=d[0],g=Math.min(h.length,v.length);fa.ch&&y.charCodeAt(y.length-m-1)==b.charCodeAt(b.length-m-1);)f--,m++;p[p.length-1]=y.slice(0,y.length-m).replace(/^\u200b+/,""),p[0]=p[0].slice(f).replace(/\u200b+$/,"");var w=Ze(t,f),k=Ze(c,d.length?K(d).length-m:0);return p.length>1||p[0]||et(w,k)?(mo(r.doc,p,w,k,"+input"),!0):void 0},Ia.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ia.prototype.reset=function(){this.forceCompositionEnd()},Ia.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ia.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Ia.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Jr(this.cm,(function(){return ur(e.cm)}))},Ia.prototype.setUneditable=function(e){e.contentEditable="false"},Ia.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Zr(this.cm,Aa)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ia.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ia.prototype.onContextMenu=function(){},Ia.prototype.resetPosition=function(){},Ia.prototype.needsContentAttribute=!0;var Wa=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new I,this.hasSelection=!1,this.composing=null};Wa.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!he(r,e)){if(r.somethingSelected())ja({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Da(r);ja({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,q):(n.prevInput="",i.value=t.text.join("\n"),M(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),h&&(i.style.width="0px"),pe(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),pe(i,"paste",(function(e){he(r,e)||Fa(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),pe(i,"cut",o),pe(i,"copy",o),pe(e.scroller,"paste",(function(t){if(!wn(e,t)&&!he(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),pe(e.lineSpace,"selectstart",(function(t){wn(e,t)||be(t)})),pe(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),pe(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Wa.prototype.createField=function(e){this.wrapper=Na(),this.textarea=this.wrapper.firstChild},Wa.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Wa.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=vr(e);if(e.options.moveInputWithCursor){var i=Vn(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Wa.prototype.showSelection=function(e){var t=this.cm.display;O(t.cursorDiv,e.cursors),O(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Wa.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&M(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},Wa.prototype.getField=function(){return this.textarea},Wa.prototype.supportsTouch=function(){return!1},Wa.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!g||F()!=this.textarea))try{this.textarea.focus()}catch(e){}},Wa.prototype.blur=function(){this.textarea.blur()},Wa.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Wa.prototype.receivedFocus=function(){this.slowPoll()},Wa.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Wa.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Wa.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ae(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var c=0,l=Math.min(r.length,i.length);c1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},Wa.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Wa.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Wa.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=cr(n,e),l=r.scroller.scrollTop;if(o&&!p){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&Zr(n,Ji)(n.doc,Si(o),q);var u,d=i.style.cssText,f=t.wrapper.style.cssText,m=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-m.top-5)+"px; left: "+(e.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",c&&(u=window.scrollY),r.input.focus(),c&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=v,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&h(),E?(ke(e),pe(window,"mouseup",(function e(){fe(window,"mouseup",e),setTimeout(v,20)}))):setTimeout(v,50)}function h(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="\u200b"+(e?i.value:"");i.value="\u21da",i.value=o,t.prevInput=e?"":"\u200b",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function v(){if(t.contextMenuPending==v&&(t.contextMenuPending=!1,t.wrapper.style.cssText=f,i.style.cssText=d,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=l),null!=i.selectionStart)){(!a||a&&s<9)&&h();var e=0;r.detectingSelectAll=setTimeout((function o(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"\u200b"==t.prevInput?Zr(n,ao)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())}),200)}}},Wa.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},Wa.prototype.setUneditable=function(){},Wa.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=wa&&i(e,t,n)}:i)}e.defineOption=n,e.Init=wa,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,Pi(e)}),!0),n("indentUnit",2,Pi,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){ji(e),In(e),ur(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(Ze(r,o))}r++}));for(var i=n.length-1;i>=0;i--)mo(e.doc,t,n[i],Ze(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=wa&&e.refresh()})),n("specialCharPlaceholder",Xt,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",g?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!x),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){xa(e),mi(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Qo(t),i=n!=wa&&Qo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Ta,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=di(t,e.options.lineNumbers),mi(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?or(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return Ur(e)}),!0),n("scrollbarStyle","native",(function(e){Br(e),Ur(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=di(e.options.gutters,t),mi(e)}),!0),n("firstLineNumber",1,mi,!0),n("lineNumberFormatter",(function(e){return e}),mi,!0),n("showCursorWhenSelecting",!1,hr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(Sr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,Sa),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,hr,!0),n("singleCursorHeightPerLine",!0,hr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,ji,!0),n("addModeClass",!1,ji,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,ji,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}(_a),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&Zr(this,t[e])(this,n,i),me(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Qo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(Oa(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&jr(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var c=s;c0&&Qi(this.doc,r,new ki(o,l[r].to()),q)}}})),getTokenAt:function(e,t){return gt(this,e,t)},getLineTokens:function(e,t){return gt(this,Ze(e),t,!0)},getTokenTypeAt:function(e){e=at(this.doc,e);var t,n=pt(this,He(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]o&&(e=o,i=!0),r=He(this.doc,e)}else r=e;return Bn(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-qt(r):0)},defaultTextHeight:function(){return nr(this.display)},defaultCharWidth:function(){return rr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display,a=(e=Vn(this,at(this.doc,e))).bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var c=Math.max(o.wrapper.clientHeight,this.doc.height),l=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>c)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=c&&(a=e.bottom),s+t.offsetWidth>l&&(s=l-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&function(e,t){var n=Or(e,t);null!=n.scrollTop&&Dr(e,n.scrollTop),null!=n.scrollLeft&&Nr(e,n.scrollLeft)}(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:ei(la),triggerOnKeyPress:ei(pa),triggerOnKeyUp:ua,triggerOnMouseDown:ei(ha),execCommand:function(e){if(ea.hasOwnProperty(e))return ea[e].call(null,this)},triggerElectric:ei((function(e){La(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=at(this.doc,e),a=0;a0&&a(t.charAt(n-1));)--n;for(;r.5||this.options.lineWrapping)&&sr(this),me(this,"refresh",this)})),swapDoc:ei((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Di(this,e),In(this),this.display.input.reset(),Ar(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,sn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ye(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(_a);var Ha="iter insert remove copy getEditor constructor".split(" ");for(var Va in jo.prototype)jo.prototype.hasOwnProperty(Va)&&U(Ha,Va)<0&&(_a.prototype[Va]=function(e){return function(){return e.apply(this.doc,arguments)}}(jo.prototype[Va]));return ye(jo),_a.inputStyles={textarea:Wa,contenteditable:Ia},_a.defineMode=function(e){_a.defaults.mode||"null"==e||(_a.defaults.mode=e),Ne.apply(this,arguments)},_a.defineMIME=function(e,t){Me[e]=t},_a.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),_a.defineMIME("text/plain","null"),_a.defineExtension=function(e,t){_a.prototype[e]=t},_a.defineDocExtension=function(e,t){jo.prototype[e]=t},_a.fromTextArea=function(e,t){if((t=t?R(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=F();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(pe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(c){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(fe(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=_a((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},function(e){e.off=fe,e.on=pe,e.wheelEventPixels=bi,e.Doc=jo,e.splitLines=je,e.countColumn=z,e.findColumn=H,e.isWordChar=Z,e.Pass=G,e.signal=me,e.Line=Ht,e.changeEnd=Ti,e.scrollbarModel=qr,e.Pos=Ze,e.cmpPos=et,e.modes=De,e.mimeModes=Me,e.resolveMode=Re,e.getMode=ze,e.modeExtensions=Ie,e.extendMode=Ue,e.copyState=Ge,e.startState=Be,e.innerMode=qe,e.commands=ea,e.keyMap=qo,e.keyName=Ko,e.isModifierKey=Vo,e.lookupKey=Ho,e.normalizeKeyMap=Wo,e.StringStream=We,e.SharedTextMarker=_o,e.TextMarker=So,e.LineWidget=wo,e.e_preventDefault=be,e.e_stopPropagation=xe,e.e_stop=ke,e.addClass=L,e.contains=A,e.rmClass=_,e.keyNames=zo}(_a),_a.version="5.65.1",_a}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(0);function o(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var a=o(r),s=o(i);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||u>=0;--u){var p=l[u],d=Math.max(p-c,r);l[u]=d,c-=p-d}return l}var f=(t.length-o)*r,m=R(t,o,t.length)-f,h=Math.min(i,m),v=t.slice();v[n]+=h;for(var g=o;h>0&&g=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}},function(e,t,n){"use strict";var r=n(29),i=n(11);function o(){var e=i([""," || ",""]);return o=function(){return e},e}function a(){var e=i(["",".length"]);return a=function(){return e},e}function s(){var e=i(["","(",", ",")"]);return s=function(){return e},e}function c(){var e=i(["new RegExp"]);return c=function(){return e},e}function l(){var e=i(["","(",")"]);return l=function(){return e},e}function u(){var e=i(["",".call(",", ",")"]);return u=function(){return e},e}function p(){var e=i(["",", ",""]);return p=function(){return e},e}function d(){var e=i(["",", ",", ","",""]);return d=function(){return e},e}function f(){var e=i(["",""," === undefined"]);return f=function(){return e},e}function m(){var e=i([""," && ",""]);return m=function(){return e},e}function h(){var e=i(["",""," !== undefined"]);return h=function(){return e},e}function v(){var e=i(["",".call(",", ",")"]);return v=function(){return e},e}function g(){var e=i(["Object.prototype.hasOwnProperty"]);return g=function(){return e},e}function y(){var e=i([""," = ",""]);return y=function(){return e},e}function b(){var e=i(["",""]);return b=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;var x=n(10),w=n(12),k=n(23),E=n(12);function S(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,x._)(g())})}function T(e,t,n){return(0,x._)(v(),S(e),t,n)}function _(e,t,n,r){var i=(0,x._)(f(),t,(0,x.getProperty)(n));return r?(0,x.or)(i,(0,x.not)(T(e,t,n))):i}function C(e){return e?Object.keys(e).filter((function(e){return"__proto__"!==e})):[]}t.checkReportMissingProp=function(e,t){var n=e.gen,r=e.data,i=e.it;n.if(_(n,r,t,i.opts.ownProperties),(function(){e.setParams({missingProperty:(0,x._)(b(),t)},!0),e.error()}))},t.checkMissingProp=function(e,t,n){var i=e.gen,o=e.data,a=e.it.opts;return x.or.apply(void 0,r(t.map((function(e){return(0,x.and)(_(i,o,e,a.ownProperties),(0,x._)(y(),n,e))}))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=S,t.isOwnProperty=T,t.propertyInData=function(e,t,n,r){var i=(0,x._)(h(),t,(0,x.getProperty)(n));return r?(0,x._)(m(),i,T(e,t,n)):i},t.noPropertyInData=_,t.allSchemaProperties=C,t.schemaProperties=function(e,t){return C(t).filter((function(n){return!(0,w.alwaysValidSchema)(e,t[n])}))},t.callValidateCode=function(e,t,n,r){var i=e.schemaCode,o=e.data,a=e.it,s=a.gen,c=a.topSchemaRef,f=a.schemaPath,m=a.errorPath,h=e.it,v=r?(0,x._)(d(),i,o,c,f):o,g=[[k.default.instancePath,(0,x.strConcat)(k.default.instancePath,m)],[k.default.parentData,h.parentData],[k.default.parentDataProperty,h.parentDataProperty],[k.default.rootData,k.default.rootData]];h.opts.dynamicRef&&g.push([k.default.dynamicAnchors,k.default.dynamicAnchors]);var y=(0,x._)(p(),v,s.object.apply(s,g));return n!==x.nil?(0,x._)(u(),t,n,y):(0,x._)(l(),t,y)};var O=(0,x._)(c());t.usePattern=function(e,t){var n=e.gen,r=e.it.opts,i=r.unicodeRegExp?"u":"",o=r.code.regExp,a=o(t,i);return n.scopeValue("pattern",{key:a.toString(),ref:a,code:(0,x._)(s(),"new RegExp"===o.code?O:(0,E.useFunc)(n,o),t,i)})},t.validateArray=function(e){var t=e.gen,n=e.data,r=e.keyword,i=e.it,o=t.name("valid");if(i.allErrors){var s=t.let("valid",!0);return c((function(){return t.assign(s,!1)})),s}return t.var(o,!0),c((function(){return t.break()})),o;function c(i){var s=t.const("len",(0,x._)(a(),n));t.forRange("i",0,s,(function(n){e.subschema({keyword:r,dataProp:n,dataPropType:w.Type.Num},o),t.if((0,x.not)(o),i)}))}},t.validateUnion=function(e){var t=e.gen,n=e.schema,r=e.keyword,i=e.it;if(!Array.isArray(n))throw new Error("ajv implementation error");if(!n.some((function(e){return(0,w.alwaysValidSchema)(i,e)}))||i.opts.unevaluated){var a=t.let("valid",!1),s=t.name("_valid");t.block((function(){return n.forEach((function(n,i){var c=e.subschema({keyword:r,schemaProp:i,compositeRule:!0},s);t.assign(a,(0,x._)(o(),a,s)),e.mergeValidEvaluated(c,s)||t.if((0,x.not)(a))}))})),e.result(a,(function(){return e.reset()}),(function(){return e.error(!0)}))}}},function(e,t,n){"use strict";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}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(45);e.exports=function(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=r(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(34),i=n(31);var o=n(41);function a(e,t,n){return(a=Object(o.a)()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&Object(i.a)(o,n.prototype),o}).apply(null,arguments)}function s(e){var t="function"===typeof Map?new Map:void 0;return(s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,o)}function o(){return a(e,arguments,Object(r.a)(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Object(i.a)(o,e)})(e)}},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),i={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t.default=i},function(e,t,n){"use strict";(function(e){function r(){return"object"===typeof navigator&&"userAgent"in navigator?navigator.userAgent:"object"===typeof e&&"version"in e?"Node.js/".concat(e.version.substr(1)," (").concat(e.platform,"; ").concat(e.arch,")"):""}n.d(t,"a",(function(){return r}))}).call(this,n(56))},function(e,t){function n(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&(2!==t.length||!t.includes("null"))&&ve(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){var n=e.self.RULES.all;for(var r in n){var i=n[r];if("object"==typeof i&&(0,Q.shouldUseRule)(e.schema,i)){var o=i.definition.type;o.length&&!o.some((function(e){return r=e,(n=t).includes(r)||"number"===r&&n.includes("integer");var n,r}))&&ve(e,'missing type "'.concat(o.join(","),'" for keyword "').concat(r,'"'))}}}(e,e.dataTypes)}(e,t),i.block((function(){var e,t=a(u.rules);try{for(t.s();!(e=t.n()).done;){p(e.value)}}catch(n){t.e(n)}finally{t.f()}p(u.post)}))):i.block((function(){return ye(e,"$ref",u.all.$ref.definition)}))}function me(e,t){var n=e.gen,r=e.schema;e.opts.useDefaults&&(0,X.assignDefaults)(e,t.type),n.block((function(){var n,i=a(t.rules);try{for(i.s();!(n=i.n()).done;){var o=n.value;(0,Q.shouldUseRule)(r,o)&&ye(e,o.keyword,o.definition,t.type)}}catch(s){i.e(s)}finally{i.f()}}))}function he(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function ve(e,t){var n=e.schemaEnv.baseId+e.errSchemaPath;t+=' at "'.concat(n,'" (strictTypes)'),(0,re.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){le(e)&&(ue(e),ce(e))?function(e){var t=e.schema,n=e.opts,r=e.gen;oe(e,(function(){n.$comment&&t.$comment&&de(e),function(e){var t=e.schema,n=e.opts;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,re.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(te.default.vErrors,null),r.let(te.default.errors,0),n.unevaluated&&function(e){var t=e.gen,n=e.validateName;e.evaluated=t.const("evaluated",(0,ee._)(F(),n)),t.if((0,ee._)(A(),e.evaluated),(function(){return t.assign((0,ee._)(j(),e.evaluated),(0,ee._)(P()))})),t.if((0,ee._)(O(),e.evaluated),(function(){return t.assign((0,ee._)(C(),e.evaluated),(0,ee._)(_()))}))}(e),pe(e),function(e){var t=e.gen,n=e.schemaEnv,r=e.validateName,i=e.ValidationError,o=e.opts;n.$async?t.if((0,ee._)(x(),te.default.errors),(function(){return t.return(te.default.data)}),(function(){return t.throw((0,ee._)(b(),i,te.default.vErrors))})):(t.assign((0,ee._)(y(),r),te.default.vErrors),o.unevaluated&&function(e){var t=e.gen,n=e.evaluated,r=e.props,i=e.items;r instanceof ee.Name&&t.assign((0,ee._)(v(),n),r);i instanceof ee.Name&&t.assign((0,ee._)(h(),n),i)}(e),t.return((0,ee._)(g(),te.default.errors)))}(e)}))}(e):oe(e,(function(){return(0,$.topBoolOrEmptySchema)(e)}))};var ge=function(){function e(t,n,r){if(i(this,e),(0,J.validateKeywordUsage)(t,n,r),this.gen=t.gen,this.allErrors=t.allErrors,this.keyword=r,this.data=t.data,this.schema=t.schema[r],this.$data=n.$data&&t.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,re.schemaRefOrVal)(t,this.schema,r,this.$data),this.schemaType=n.schemaType,this.parentSchema=t.schema,this.params={},this.it=t,this.def=n,this.$data)this.schemaCode=t.gen.const("vSchema",we(this.$data,t));else if(this.schemaCode=this.schemaValue,!(0,J.validSchemaType)(this.schema,n.schemaType,n.allowUndefined))throw new Error("".concat(r," value must be ").concat(JSON.stringify(n.schemaType)));("code"in n?n.trackErrors:!1!==n.errors)&&(this.errsCount=t.gen.const("_errs",te.default.errors))}return o(e,[{key:"result",value:function(e,t,n){this.failResult((0,ee.not)(e),t,n)}},{key:"failResult",value:function(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}},{key:"pass",value:function(e,t){this.failResult((0,ee.not)(e),void 0,t)}},{key:"fail",value:function(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}},{key:"fail$data",value:function(e){if(!this.$data)return this.fail(e);var t=this.schemaCode;this.fail((0,ee._)(f(),t,(0,ee.or)(this.invalid$data(),e)))}},{key:"error",value:function(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}},{key:"_error",value:function(e,t){(e?ie.reportExtraError:ie.reportError)(this,this.def.error,t)}},{key:"$dataError",value:function(){(0,ie.reportError)(this,this.def.$dataError||ie.keyword$DataError)}},{key:"reset",value:function(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,ie.resetErrorsCount)(this.gen,this.errsCount)}},{key:"ok",value:function(e){this.allErrors||this.gen.if(e)}},{key:"setParams",value:function(e,t){t?Object.assign(this.params,e):this.params=e}},{key:"block$data",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ee.nil;this.gen.block((function(){n.check$data(e,r),t()}))}},{key:"check$data",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ee.nil,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ee.nil;if(this.$data){var n=this.gen,r=this.schemaCode,i=this.schemaType,o=this.def;n.if((0,ee.or)((0,ee._)(d(),r),t)),e!==ee.nil&&n.assign(e,!0),(i.length||o.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==ee.nil&&n.assign(e,!1)),n.else()}}},{key:"invalid$data",value:function(){var e=this.gen,t=this.schemaCode,n=this.schemaType,r=this.def,i=this.it;return(0,ee.or)(function(){if(n.length){if(!(t instanceof ee.Name))throw new Error("ajv implementation error");var e=Array.isArray(n)?n:[n];return(0,ee._)(p(),(0,Y.checkDataTypes)(e,t,i.opts.strictNumbers,Y.DataType.Wrong))}return ee.nil}(),function(){if(r.validateSchema){var n=e.scopeValue("validate$data",{ref:r.validateSchema});return(0,ee._)(u(),n,t)}return ee.nil}())}},{key:"subschema",value:function(e,t){var n=(0,Z.getSubschema)(this.it,e);(0,Z.extendSubschemaData)(n,this.it,e),(0,Z.extendSubschemaMode)(n,e);var i=r(r(r({},this.it),n),{},{items:void 0,props:void 0});return se(i,t),i}},{key:"mergeEvaluated",value:function(e,t){var n=this.it,r=this.gen;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=re.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=re.mergeEvaluated.items(r,e.items,n.items,t)))}},{key:"mergeValidEvaluated",value:function(e,t){var n=this,r=this.it,i=this.gen;if(r.opts.unevaluated&&(!0!==r.props||!0!==r.items))return i.if(t,(function(){return n.mergeEvaluated(e,ee.Name)})),!0}}]),e}();function ye(e,t,n,r){var i=new ge(e,n,t);"code"in n?n.code(i,r):i.$data&&n.validate?(0,J.funcKeywordCode)(i,n):"macro"in n?(0,J.macroKeywordCode)(i,n):(n.compile||n.validate)&&(0,J.funcKeywordCode)(i,n)}t.KeywordCxt=ge;var be=/^\/(?:[^~]|~0|~1)*$/,xe=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function we(e,t){var n,r,i=t.dataLevel,o=t.dataNames,s=t.dataPathArr;if(""===e)return te.default.rootData;if("/"===e[0]){if(!be.test(e))throw new Error("Invalid JSON-pointer: ".concat(e));n=e,r=te.default.rootData}else{var u=xe.exec(e);if(!u)throw new Error("Invalid JSON-pointer: ".concat(e));var p=+u[1];if("#"===(n=u[2])){if(p>=i)throw new Error(g("property/index",p));return s[i-p]}if(p>i)throw new Error(g("data",p));if(r=o[i-p],!n)return r}var d,f=r,m=n.split("/"),h=a(m);try{for(h.s();!(d=h.n()).done;){var v=d.value;v&&(r=(0,ee._)(l(),r,(0,ee.getProperty)((0,re.unescapeJsonPointer)(v))),f=(0,ee._)(c(),f,r))}}catch(y){h.e(y)}finally{h.f()}return f;function g(e,t){return"Cannot access ".concat(e," ").concat(t," levels up, current level is ").concat(i)}}t.getData=we},function(e,t,n){"use strict";var r=n(11);function i(){var e=r(["","",""]);return i=function(){return e},e}function o(){var e=r(["{}"]);return o=function(){return e},e}function a(){var e=r(["","",""]);return a=function(){return e},e}function s(){var e=r(["","/",""]);return s=function(){return e},e}function c(){var e=r(["","",""]);return c=function(){return e},e}function l(){var e=r(["{}"]);return l=function(){return e},e}function u(){var e=r(["",".errors"]);return u=function(){return e},e}function p(){var e=r(["new ","(",")"]);return p=function(){return e},e}function d(){var e=r(["","++"]);return d=function(){return e},e}function f(){var e=r(["",".push(",")"]);return f=function(){return e},e}function m(){var e=r(["[","]"]);return m=function(){return e},e}function h(){var e=r([""," === null"]);return h=function(){return e},e}function v(){var e=r(["",".data"]);return v=function(){return e},e}function g(){var e=r(["",".schema"]);return g=function(){return e},e}function y(){var e=r(["","/",""]);return y=function(){return e},e}function b(){var e=r(["",".schemaPath"]);return b=function(){return e},e}function x(){var e=r(["",".instancePath"]);return x=function(){return e},e}function w(){var e=r(["",".instancePath === undefined"]);return w=function(){return e},e}function k(){var e=r(["","[","]"]);return k=function(){return e},e}function E(){var e=r(["",".length"]);return E=function(){return e},e}function S(){var e=r([""," !== null"]);return S=function(){return e},e}function T(){var e=r(["[","]"]);return T=function(){return e},e}function _(){var e=r(['"','" keyword is invalid ($data)']);return _=function(){return e},e}function C(){var e=r(['"','" keyword must be '," ($data)"]);return C=function(){return e},e}function O(){var e=r(['must pass "','" keyword validation']);return O=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;var P=n(10),j=n(12),A=n(23);function F(e,t){var n=e.const("err",t);e.if((0,P._)(h(),A.default.vErrors),(function(){return e.assign(A.default.vErrors,(0,P._)(m(),n))}),(0,P._)(f(),A.default.vErrors,n)),e.code((0,P._)(d(),A.default.errors))}function L(e,t){var n=e.gen,r=e.validateName;e.schemaEnv.$async?n.throw((0,P._)(p(),e.ValidationError,t)):(n.assign((0,P._)(u(),r),t),n.return(!1))}t.keywordError={message:function(e){var t=e.keyword;return(0,P.str)(O(),t)}},t.keyword$DataError={message:function(e){var t=e.keyword,n=e.schemaType;return n?(0,P.str)(C(),t,n):(0,P.str)(_(),t)}},t.reportError=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.keywordError,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=e.it,a=o.gen,s=o.compositeRule,c=o.allErrors,l=M(e,n,r);(null!==i&&void 0!==i?i:s||c)?F(a,l):L(o,(0,P._)(T(),l))},t.reportExtraError=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.keywordError,r=arguments.length>2?arguments[2]:void 0,i=e.it,o=i.gen,a=i.compositeRule,s=i.allErrors,c=M(e,n,r);F(o,c),a||s||L(i,A.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(A.default.errors,t),e.if((0,P._)(S(),A.default.vErrors),(function(){return e.if(t,(function(){return e.assign((0,P._)(E(),A.default.vErrors),t)}),(function(){return e.assign(A.default.vErrors,null)}))}))},t.extendErrors=function(e){var t=e.gen,n=e.keyword,r=e.schemaValue,i=e.data,o=e.errsCount,a=e.it;if(void 0===o)throw new Error("ajv implementation error");var s=t.name("err");t.forRange("i",o,A.default.errors,(function(e){t.const(s,(0,P._)(k(),A.default.vErrors,e)),t.if((0,P._)(w(),s),(function(){return t.assign((0,P._)(x(),s),(0,P.strConcat)(A.default.instancePath,a.errorPath))})),t.assign((0,P._)(b(),s),(0,P.str)(y(),a.errSchemaPath,n)),a.opts.verbose&&(t.assign((0,P._)(g(),s),r),t.assign((0,P._)(v(),s),i))}))};var D={keyword:new P.Name("keyword"),schemaPath:new P.Name("schemaPath"),params:new P.Name("params"),propertyName:new P.Name("propertyName"),message:new P.Name("message"),schema:new P.Name("schema"),parentSchema:new P.Name("parentSchema")};function M(e,t,n){return!1===e.it.createErrors?(0,P._)(l()):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.gen,i=e.it,o=[N(i,n),R(e,n)];return z(e,t,o),r.object.apply(r,o)}(e,t,n)}function N(e,t){var n=e.errorPath,r=t.instancePath,i=r?(0,P.str)(c(),n,(0,j.getErrorPath)(r,j.Type.Str)):n;return[A.default.instancePath,(0,P.strConcat)(A.default.instancePath,i)]}function R(e,t){var n=e.keyword,r=e.it.errSchemaPath,i=t.schemaPath,o=t.parentSchema?r:(0,P.str)(s(),r,n);return i&&(o=(0,P.str)(a(),o,(0,j.getErrorPath)(i,j.Type.Str))),[D.schemaPath,o]}function z(e,t,n){var r=t.params,a=t.message,s=e.keyword,c=e.data,l=e.schemaValue,u=e.it,p=u.opts,d=u.propertyName,f=u.topSchemaRef,m=u.schemaPath;n.push([D.keyword,s],[D.params,"function"==typeof r?r(e):r||(0,P._)(o())]),p.messages&&n.push([D.message,"function"==typeof a?a(e):a]),p.verbose&&n.push([D.schema,l],[D.parentSchema,(0,P._)(i(),f,m)],[A.default.data,c]),d&&n.push([D.propertyName,d])}},function(e,t,n){"use strict";var r=n(11),i=n(29),o=n(60),a=n(25),s=n(26),c=n(27),l=n(22);function u(){var e=r(["[","]"]);return u=function(){return e},e}function p(){var e=r(["","",""]);return p=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;var d=function e(){l(this,e)};t._CodeOrName=d,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var f=function(e){s(r,e);var n=c(r);function r(e){var i;if(l(this,r),i=n.call(this),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");return i.str=e,i}return a(r,[{key:"toString",value:function(){return this.str}},{key:"emptyStr",value:function(){return!1}},{key:"names",get:function(){return o({},this.str,1)}}]),r}(d);t.Name=f;var m=function(e){s(n,e);var t=c(n);function n(e){var r;return l(this,n),(r=t.call(this))._items="string"===typeof e?[e]:e,r}return a(n,[{key:"toString",value:function(){return this.str}},{key:"emptyStr",value:function(){if(this._items.length>1)return!1;var e=this._items[0];return""===e||'""'===e}},{key:"str",get:function(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce((function(e,t){return"".concat(e).concat(t)}),"")}},{key:"names",get:function(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce((function(e,t){return t instanceof f&&(e[t.str]=(e[t.str]||0)+1),e}),{})}}]),n}(d);function h(e){for(var t=[e[0]],n=0,r=arguments.length,i=new Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o0&&!(0===a.length&&1===t.length&&(0,U.schemaHasRulesForType)(e,t[0]));if(s){var c=$(t,i,o.strictNumbers,z.Wrong);n.if(c,(function(){a.length?function(e,t,n){var i=e.gen,o=e.data,a=e.opts,s=i.let("dataType",(0,q._)(R(),o)),c=i.let("coerced",(0,q._)(N()));"array"===a.coerceTypes&&i.if((0,q._)(M(),s,o,o),(function(){return i.assign(o,(0,q._)(D(),o)).assign(s,(0,q._)(L(),o)).if($(t,o,a.strictNumbers),(function(){return i.assign(c,o)}))}));i.if((0,q._)(F(),c));var l,u=r(n);try{for(u.s();!(l=u.n()).done;){var p=l.value;(H.has(p)||"array"===p&&"array"===a.coerceTypes)&&d(p)}}catch(f){u.e(f)}finally{u.f()}function d(e){switch(e){case"string":return void i.elseIf((0,q._)(j(),s,s)).assign(c,(0,q._)(P(),o)).elseIf((0,q._)(O(),o)).assign(c,(0,q._)(C()));case"number":return void i.elseIf((0,q._)(_(),s,o,s,o,o,o)).assign(c,(0,q._)(T(),o));case"integer":return void i.elseIf((0,q._)(S(),s,o,s,o,o,o,o)).assign(c,(0,q._)(E(),o));case"boolean":return void i.elseIf((0,q._)(k(),o,o,o)).assign(c,!1).elseIf((0,q._)(w(),o,o)).assign(c,!0);case"null":return i.elseIf((0,q._)(x(),o,o,o)),void i.assign(c,null);case"array":i.elseIf((0,q._)(b(),s,s,s,o)).assign(c,(0,q._)(y(),o))}}i.else(),Q(e),i.endIf(),i.if((0,q._)(A(),c),(function(){i.assign(o,c),function(e,t){var n=e.gen,r=e.parentData,i=e.parentDataProperty;n.if((0,q._)(g(),r),(function(){return n.assign((0,q._)(v(),r,i),t)}))}(e,c)}))}(e,t,a):Q(e)}))}return s};var H=new Set(["string","number","integer","boolean","null"]);function V(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:z.Correct,o=i===z.Correct?q.operators.EQ:q.operators.NEQ;switch(e){case"null":return(0,q._)(h(),t,o);case"array":r=(0,q._)(m(),t);break;case"object":r=(0,q._)(f(),t,t,t);break;case"integer":r=a((0,q._)(d(),t,t));break;case"number":r=a();break;default:return(0,q._)(p(),t,o,e)}return i===z.Correct?r:(0,q.not)(r);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q.nil;return(0,q.and)((0,q._)(u(),t),e,n?(0,q._)(l(),t):q.nil)}}function $(e,t,n,r){if(1===e.length)return V(e[0],t,n,r);var i,o=(0,B.toHash)(e);if(o.array&&o.object){var a=(0,q._)(c(),t);i=o.null?a:(0,q._)(s(),t,a),delete o.null,delete o.array,delete o.object}else i=q.nil;for(var l in o.number&&delete o.integer,o)i=(0,q.and)(i,V(l,t,n,r));return i}t.checkDataType=V,t.checkDataTypes=$;var K={message:function(e){var t=e.schema;return"must be ".concat(t)},params:function(e){var t=e.schema,n=e.schemaValue;return"string"==typeof t?(0,q._)(a(),t):(0,q._)(o(),n)}};function Q(e){var t=function(e){var t=e.gen,n=e.data,r=e.schema,i=(0,B.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:i,schemaValue:i,parentSchema:r,params:{},it:e}}(e);(0,G.reportError)(t,K)}t.reportTypeError=Q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;var r=n(12),i=n(64),o=n(119),a=n(65),s=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"boolean"==typeof e||(!0===t?!l(e):!!t&&u(e)<=t)};var c=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(e){for(var t in e){if(c.has(t))return!0;var n=e[t];if(Array.isArray(n)&&n.some(l))return!0;if("object"==typeof n&&l(n))return!0}return!1}function u(e){var t=0;for(var n in e){if("$ref"===n)return 1/0;if(t++,!s.has(n)&&("object"==typeof e[n]&&(0,r.eachItem)(e[n],(function(e){return t+=u(e)})),t===1/0))return 1/0}return t}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;!1!==t&&(e=m(e));var n=a.parse(e);return d(n)}function d(e){return a.serialize(e).split("#")[0]+"#"}t.getFullPath=p,t._getFullPath=d;var f=/#\/?$/;function m(e){return e?e.replace(f,""):""}t.normalizeId=m,t.resolveUrl=function(e,t){return t=m(t),a.resolve(e,t)};var h=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){var n=this;if("boolean"==typeof e)return{};var r=this.opts.schemaId,s=m(e[r]||t),c={"":s},l=p(s,!1),u={},d=new Set;return o(e,{allKeys:!0},(function(e,t,i,o){if(void 0!==o){var s=l+t,p=c[o];"string"==typeof e[r]&&(p=g.call(n,e[r])),y.call(n,e.$anchor),y.call(n,e.$dynamicAnchor),c[t]=p}function g(t){if(t=m(p?a.resolve(p,t):t),d.has(t))throw v(t);d.add(t);var n=this.refs[t];return"string"==typeof n&&(n=this.refs[n]),"object"==typeof n?f(e,n.schema,t):t!==m(s)&&("#"===t[0]?(f(e,u[t],t),u[t]=e):this.refs[t]=s),t}function y(e){if("string"==typeof e){if(!h.test(e))throw new Error('invalid anchor "'.concat(e,'"'));g.call(this,"#".concat(e))}}})),u;function f(e,t,n){if(void 0!==t&&!i(e,t))throw v(n)}function v(e){return new Error('reference "'.concat(e,'" resolves to more than one schema'))}}},function(e,t,n){"use strict";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}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(33);var i=n(30);function o(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(i.a)(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,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)}n.d(t,"a",(function(){return o}));var i=n(21);function o(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?Object(i.a)(e):t}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){var r=n(59);e.exports=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}}},function(e,t,n){var r=n(108),i=n(109),o=n(45),a=n(110);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()}},function(e,t,n){var r=n(32),i=n(44),o=n(114),a=n(115);function s(t){var n="function"===typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},function(e,t,n){"use strict";var r=n(19),i=n(11),o=n(22);function a(){var e=i(['""']);return a=function(){return e},e}function s(){var e=i(['require("ajv/dist/runtime/validation_error").default']);return s=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;var c=n(10),l=n(66),u=n(23),p=n(40),d=n(12),f=n(36),m=n(65),h=function e(t){var n,r;o(this,e),this.refs={},this.dynamicAnchors={},"object"==typeof t.schema&&(r=t.schema),this.schema=t.schema,this.schemaId=t.schemaId,this.root=t.root||this,this.baseId=null!==(n=t.baseId)&&void 0!==n?n:(0,p.normalizeId)(null===r||void 0===r?void 0:r[t.schemaId||"$id"]),this.schemaPath=t.schemaPath,this.localRefs=t.localRefs,this.meta=t.meta,this.$async=null===r||void 0===r?void 0:r.$async,this.refs={}};function v(e){var t=y.call(this,e);if(t)return t;var n,r=(0,p.getFullPath)(e.root.baseId),i=this.opts.code,o=i.es5,d=i.lines,m=this.opts.ownProperties,h=new c.CodeGen(this.scope,{es5:o,lines:d,ownProperties:m});e.$async&&(n=h.scopeValue("Error",{ref:l.default,code:(0,c._)(s())}));var v=h.scopeName("validate");e.validateName=v;var g,b={gen:h,allErrors:this.opts.allErrors,data:u.default.data,parentData:u.default.parentData,parentDataProperty:u.default.parentDataProperty,dataNames:[u.default.data],dataPathArr:[c.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:h.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,c.stringify)(e.schema)}:{ref:e.schema}),validateName:v,ValidationError:n,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:c.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,c._)(a()),opts:this.opts,self:this};try{this._compilations.add(e),(0,f.validateFunctionCode)(b),h.optimize(this.opts.code.optimize);var x=h.toString();g="".concat(h.scopeRefs(u.default.scope),"return ").concat(x),this.opts.code.process&&(g=this.opts.code.process(g,e));var w=new Function("".concat(u.default.self),"".concat(u.default.scope),g)(this,this.scope.get());if(this.scope.value(v,{ref:w}),w.errors=null,w.schema=e.schema,w.schemaEnv=e,e.$async&&(w.$async=!0),!0===this.opts.code.source&&(w.source={validateName:v,validateCode:x,scopeValues:h._values}),this.opts.unevaluated){var k=b.props,E=b.items;w.evaluated={props:k instanceof c.Name?void 0:k,items:E instanceof c.Name?void 0:E,dynamicProps:k instanceof c.Name,dynamicItems:E instanceof c.Name},w.source&&(w.source.evaluated=(0,c.stringify)(w.evaluated))}return e.validate=w,e}catch(S){throw delete e.validate,delete e.validateName,g&&this.logger.error("Error compiling schema, function code:",g),S}finally{this._compilations.delete(e)}}function g(e){return(0,p.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:v.call(this,e)}function y(e){var t,n,i,o=r(this._compilations);try{for(o.s();!(t=o.n()).done;){var a=t.value;if(i=e,(n=a).schema===i.schema&&n.root===i.root&&n.baseId===i.baseId)return a}}catch(s){o.e(s)}finally{o.f()}}function b(e,t){for(var n;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||x.call(this,e,t)}function x(e,t){var n=m.parse(t),r=(0,p._getFullPath)(n),i=(0,p.getFullPath)(e.baseId);if(Object.keys(e.schema).length>0&&r===i)return k.call(this,n,e);var o=(0,p.normalizeId)(r),a=this.refs[o]||this.schemas[o];if("string"==typeof a){var s=x.call(this,e,a);if("object"!==typeof(null===s||void 0===s?void 0:s.schema))return;return k.call(this,n,s)}if("object"===typeof(null===a||void 0===a?void 0:a.schema)){if(a.validate||v.call(this,a),o===(0,p.normalizeId)(t)){var c=a.schema,l=this.opts.schemaId,u=c[l];return u&&(i=(0,p.resolveUrl)(i,u)),new h({schema:c,schemaId:l,root:e,baseId:i})}return k.call(this,n,a)}}t.SchemaEnv=h,t.compileSchema=v,t.resolveRef=function(e,t,n){var r;n=(0,p.resolveUrl)(t,n);var i=e.refs[n];if(i)return i;var o=b.call(this,e,n);if(void 0===o){var a=null===(r=e.localRefs)||void 0===r?void 0:r[n],s=this.opts.schemaId;a&&(o=new h({schema:a,schemaId:s,root:e,baseId:t}))}return void 0!==o?e.refs[n]=g.call(this,o):void 0},t.getCompilingSchema=y,t.resolveSchema=x;var w=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function k(e,t){var n,i=t.baseId,o=t.schema,a=t.root;if("/"===(null===(n=e.fragment)||void 0===n?void 0:n[0])){var s,c,l=r(e.fragment.slice(1).split("/"));try{for(l.s();!(s=l.n()).done;){var u=s.value;if("boolean"===typeof o)return;var f=o[(0,d.unescapeFragment)(u)];if(void 0===f)return;var m="object"===typeof(o=f)&&o[this.opts.schemaId];!w.has(u)&&m&&(i=(0,p.resolveUrl)(i,m))}}catch(y){l.e(y)}finally{l.f()}if("boolean"!=typeof o&&o.$ref&&!(0,d.schemaHasRulesButRef)(o,this.RULES)){var v=(0,p.resolveUrl)(i,o.$ref);c=x.call(this,a,v)}var g=this.opts.schemaId;return(c=c||new h({schema:o,schemaId:g,root:a,baseId:i})).schema!==c.root.schema?c:void 0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);r.code='require("ajv/dist/runtime/equal").default',t.default=r},function(e,t,n){!function(e){function t(t,n,r){var i,o=t.getWrapperElement();return(i=o.appendChild(document.createElement("div"))).className=r?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof n?i.innerHTML=n:i.appendChild(n),e.addClass(o,"dialog-opened"),i}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension("openDialog",(function(r,i,o){o||(o={}),n(this,null);var a=t(this,r,o.bottom),s=!1,c=this;function l(t){if("string"==typeof t)p.value=t;else{if(s)return;s=!0,e.rmClass(a.parentNode,"dialog-opened"),a.parentNode.removeChild(a),c.focus(),o.onClose&&o.onClose(a)}}var u,p=a.getElementsByTagName("input")[0];return p?(p.focus(),o.value&&(p.value=o.value,!1!==o.selectValueOnOpen&&p.select()),o.onInput&&e.on(p,"input",(function(e){o.onInput(e,p.value,l)})),o.onKeyUp&&e.on(p,"keyup",(function(e){o.onKeyUp(e,p.value,l)})),e.on(p,"keydown",(function(t){o&&o.onKeyDown&&o.onKeyDown(t,p.value,l)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(p.blur(),e.e_stop(t),l()),13==t.keyCode&&i(p.value,t))})),!1!==o.closeOnBlur&&e.on(a,"focusout",(function(e){null!==e.relatedTarget&&l()}))):(u=a.getElementsByTagName("button")[0])&&(e.on(u,"click",(function(){l(),c.focus()})),!1!==o.closeOnBlur&&e.on(u,"blur",l),u.focus()),l})),e.defineExtension("openConfirm",(function(r,i,o){n(this,null);var a=t(this,r,o&&o.bottom),s=a.getElementsByTagName("button"),c=!1,l=this,u=1;function p(){c||(c=!0,e.rmClass(a.parentNode,"dialog-opened"),a.parentNode.removeChild(a),l.focus())}s[0].focus();for(var d=0;d>2],o+=r[(3&n[t])<<4|n[t+1]>>4],o+=r[(15&n[t+1])<<2|n[t+2]>>6],o+=r[63&n[t+2]];return i%3===2?o=o.substring(0,o.length-1)+"=":i%3===1&&(o=o.substring(0,o.length-2)+"=="),o},s=function(e){var t,n,r,o,a,s=.75*e.length,c=e.length,l=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var u=new ArrayBuffer(s),p=new Uint8Array(u);for(t=0;t>4,p[l++]=(15&r)<<4|o>>2,p[l++]=(3&o)<<6|63&a;return u}},function(e,t,n){"use strict";n.d(t,"a",(function(){return ke}));var r=n(43),i=n(6),o=n(7);function a(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var s=n(1),c=n.n(s),l=n(8),u=n(3),p=n(5),d=n(24),f=n(77),m=n(16),h=n(9),v=n(18);function g(e){return"[object Object]"===Object.prototype.toString.call(e)}function y(e,t){var n=Object.assign({},e);return Object.keys(t).forEach((function(r){!function(e){var t,n;return!1!==g(e)&&(void 0===(t=e.constructor)||!1!==g(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}(t[r])?Object.assign(n,Object(v.a)({},r,t[r])):r in e?n[r]=y(e[r],t[r]):Object.assign(n,Object(v.a)({},r,t[r]))})),n}function b(e){for(var t in e)void 0===e[t]&&delete e[t];return e}function x(e,t,n){if("string"===typeof t){var r=t.split(" "),i=Object(h.a)(r,2),o=i[0],a=i[1];n=Object.assign(a?{method:o,url:a}:{url:o},n)}else n=Object.assign({},t);var s;n.headers=(s=n.headers)?Object.keys(s).reduce((function(e,t){return e[t.toLowerCase()]=s[t],e}),{}):{},b(n),b(n.headers);var c=y(e||{},n);return e&&e.mediaType.previews.length&&(c.mediaType.previews=e.mediaType.previews.filter((function(e){return!c.mediaType.previews.includes(e)})).concat(c.mediaType.previews)),c.mediaType.previews=c.mediaType.previews.map((function(e){return e.replace(/-preview/,"")})),c}var w=/\{[^}]+\}/g;function k(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function E(e,t){return Object.keys(e).filter((function(e){return!t.includes(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})}function S(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")),e})).join("")}function T(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function _(e,t,n){return t="+"===e||"#"===e?S(t):T(t),n?T(n)+"="+t:t}function C(e){return void 0!==e&&null!==e}function O(e){return";"===e||"&"===e||"?"===e}function P(e,t){var n=["+","#",".","/",";","?","&"];return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,r,i){if(r){var o="",a=[];if(-1!==n.indexOf(r.charAt(0))&&(o=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach((function(e){var n=/([^:\*]*)(?::(\d+)|(\*))?/.exec(e);a.push(function(e,t,n,r){var i=e[n],o=[];if(C(i)&&""!==i)if("string"===typeof i||"number"===typeof i||"boolean"===typeof i)i=i.toString(),r&&"*"!==r&&(i=i.substring(0,parseInt(r,10))),o.push(_(t,i,O(t)?n:""));else if("*"===r)Array.isArray(i)?i.filter(C).forEach((function(e){o.push(_(t,e,O(t)?n:""))})):Object.keys(i).forEach((function(e){C(i[e])&&o.push(_(t,i[e],e))}));else{var a=[];Array.isArray(i)?i.filter(C).forEach((function(e){a.push(_(t,e))})):Object.keys(i).forEach((function(e){C(i[e])&&(a.push(T(e)),a.push(_(t,i[e].toString())))})),O(t)?o.push(T(n)+"="+a.join(",")):0!==a.length&&o.push(a.join(","))}else";"===t?C(i)&&o.push(T(n)):""!==i||"&"!==t&&"?"!==t?""===i&&o.push(""):o.push(T(n)+"=");return o}(t,o,n[1],n[2]||n[3]))})),o&&"+"!==o){var s=",";return"?"===o?s="&":"#"!==o&&(s=o),(0!==a.length?o:"")+a.join(s)}return a.join(",")}return S(i)}))}function j(e){var t,n,r=e.method.toUpperCase(),i=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),o=Object.assign({},e.headers),a=E(e,["method","baseUrl","url","headers","request","mediaType"]),s=function(e){var t=e.match(w);return t?t.map(k).reduce((function(e,t){return e.concat(t)}),[]):[]}(i);i=(n=i,{expand:P.bind(null,n)}).expand(a),/^http/.test(i)||(i=e.baseUrl+i);var c=E(a,Object.keys(e).filter((function(e){return s.includes(e)})).concat("baseUrl"));if(!/application\/octet-stream/i.test(o.accept)&&(e.mediaType.format&&(o.accept=o.accept.split(/,/).map((function(t){return t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,"application/vnd$1$2.".concat(e.mediaType.format))})).join(",")),e.mediaType.previews.length)){var l=o.accept.match(/[\w-]+(?=-preview)/g)||[];o.accept=l.concat(e.mediaType.previews).map((function(t){var n=e.mediaType.format?".".concat(e.mediaType.format):"+json";return"application/vnd.github.".concat(t,"-preview").concat(n)})).join(",")}return["GET","HEAD"].includes(r)?i=function(e,t){var n=/\?/.test(e)?"&":"?",r=Object.keys(t);return 0===r.length?e:e+n+r.map((function(e){return"q"===e?"q="+t.q.split("+").map(encodeURIComponent).join("+"):"".concat(e,"=").concat(encodeURIComponent(t[e]))})).join("&")}(i,c):"data"in c?t=c.data:Object.keys(c).length?t=c:o["content-length"]=0,o["content-type"]||"undefined"===typeof t||(o["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(r)&&"undefined"===typeof t&&(t=""),Object.assign({method:r,url:i,headers:o},"undefined"!==typeof t?{body:t}:null,e.request?{request:e.request}:null)}function A(e,t,n){return j(x(e,t,n))}var F=function e(t,n){var r=x(t,n),i=A.bind(null,r);return Object.assign(i,{DEFAULTS:r,defaults:e.bind(null,r),merge:x.bind(null,r),parse:j})}(null,{method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":"octokit-endpoint.js/".concat("6.0.12"," ").concat(Object(d.a)())},mediaType:{format:"",previews:[]}});function L(e){return"[object Object]"===Object.prototype.toString.call(e)}var D=n(78),M=n.n(D),N=n(21),R=n(20),z=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e){var r;return Object(u.a)(this,n),r=t.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(Object(N.a)(r),r.constructor),r.name="Deprecation",r}return n}(Object(R.a)(Error)),I=n(51),U=n.n(I),G=U()((function(e){return console.warn(e)})),q=U()((function(e){return console.warn(e)})),B=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i){var o,a;Object(u.a)(this,n),o=t.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(Object(N.a)(o),o.constructor),o.name="HttpError",o.status=r,"headers"in i&&"undefined"!==typeof i.headers&&(a=i.headers),"response"in i&&(o.response=i.response,a=i.response.headers);var s=Object.assign({},i.request);return i.request.headers.authorization&&(s.headers=Object.assign({},i.request.headers,{authorization:i.request.headers.authorization.replace(/ .*$/," [REDACTED]")})),s.url=s.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]"),o.request=s,Object.defineProperty(Object(N.a)(o),"code",{get:function(){return G(new z("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")),r}}),Object.defineProperty(Object(N.a)(o),"headers",{get:function(){return q(new z("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")),a||{}}}),o}return n}(Object(R.a)(Error));function W(e){return e.arrayBuffer()}function H(e){var t=e.request&&e.request.log?e.request.log:console;(function(e){var t,n;return!1!==L(e)&&(void 0===(t=e.constructor)||!1!==L(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}(e.body)||Array.isArray(e.body))&&(e.body=JSON.stringify(e.body));var n,r,i={};return(e.request&&e.request.fetch||M.a)(e.url,Object.assign({method:e.method,body:e.body,headers:e.headers,redirect:e.redirect},e.request)).then(function(){var o=Object(l.a)(c.a.mark((function o(a){var s,l,u,p,d,f;return c.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:r=a.url,n=a.status,s=Object(m.a)(a.headers);try{for(s.s();!(l=s.n()).done;)u=l.value,i[u[0]]=u[1]}catch(c){s.e(c)}finally{s.f()}if("deprecation"in i&&(p=i.link&&i.link.match(/<([^>]+)>; rel="deprecation"/),d=p&&p.pop(),t.warn('[@octokit/request] "'.concat(e.method," ").concat(e.url,'" is deprecated. It is scheduled to be removed on ').concat(i.sunset).concat(d?". See ".concat(d):""))),204!==n&&205!==n){o.next=7;break}return o.abrupt("return");case 7:if("HEAD"!==e.method){o.next=11;break}if(!(n<400)){o.next=10;break}return o.abrupt("return");case 10:throw new B(a.statusText,n,{response:{url:r,status:n,headers:i,data:void 0},request:e});case 11:if(304!==n){o.next=24;break}return o.t0=B,o.t1=n,o.t2=r,o.t3=n,o.t4=i,o.next=19,V(a);case 19:throw o.t5=o.sent,o.t6={url:o.t2,status:o.t3,headers:o.t4,data:o.t5},o.t7=e,o.t8={response:o.t6,request:o.t7},new o.t0("Not modified",o.t1,o.t8);case 24:if(!(n>=400)){o.next=30;break}return o.next=27,V(a);case 27:throw f=o.sent,new B(K(f),n,{response:{url:r,status:n,headers:i,data:f},request:e});case 30:return o.abrupt("return",V(a));case 31:case"end":return o.stop()}}),o)})));return function(e){return o.apply(this,arguments)}}()).then((function(e){return{status:n,url:r,headers:i,data:e}})).catch((function(t){if(t instanceof B)throw t;throw new B(t.message,500,{request:e})}))}function V(e){return $.apply(this,arguments)}function $(){return($=Object(l.a)(c.a.mark((function e(t){var n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.headers.get("content-type"),!/application\/json/.test(n)){e.next=3;break}return e.abrupt("return",t.json());case 3:if(n&&!/^text\/|charset=utf-8$/.test(n)){e.next=5;break}return e.abrupt("return",t.text());case 5:return e.abrupt("return",W(t));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function K(e){return"string"===typeof e?e:"message"in e?Array.isArray(e.errors)?"".concat(e.message,": ").concat(e.errors.map(JSON.stringify).join(", ")):e.message:"Unknown error: ".concat(JSON.stringify(e))}var Q=function e(t,n){var r=t.defaults(n);return Object.assign((function(t,n){var i=r.merge(t,n);if(!i.request||!i.request.hook)return H(r.parse(i));var o=function(e,t){return H(r.parse(r.merge(e,t)))};return Object.assign(o,{endpoint:r,defaults:e.bind(null,r)}),i.request.hook(o,i)}),{endpoint:r,defaults:e.bind(null,r)})}(F,{headers:{"user-agent":"octokit-request.js/".concat("5.6.2"," ").concat(Object(d.a)())}});var Y=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i){var o;return Object(u.a)(this,n),(o=t.call(this,"Request failed due to following response errors:\n"+i.errors.map((function(e){return" - ".concat(e.message)})).join("\n"))).request=e,o.headers=r,o.response=i,o.name="GraphqlResponseError",o.errors=i.errors,o.data=i.data,Error.captureStackTrace&&Error.captureStackTrace(Object(N.a)(o),o.constructor),o}return n}(Object(R.a)(Error)),X=["method","baseUrl","url","headers","request","query","mediaType"],J=["query","method","url"],Z=/\/api\/v3\/?$/;function ee(e,t){var n=e.defaults(t);return Object.assign((function(e,t){return function(e,t,n){if(n){if("string"===typeof t&&"query"in n)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(var r in n)if(J.includes(r))return Promise.reject(new Error('[@octokit/graphql] "'.concat(r,'" cannot be used as variable name')))}var i="string"===typeof t?Object.assign({query:t},n):t,o=Object.keys(i).reduce((function(e,t){return X.includes(t)?(e[t]=i[t],e):(e.variables||(e.variables={}),e.variables[t]=i[t],e)}),{}),a=i.baseUrl||e.endpoint.DEFAULTS.baseUrl;return Z.test(a)&&(o.url=a.replace(Z,"/api/graphql")),e(o).then((function(e){if(e.data.errors){for(var t={},n=0,r=Object.keys(e.headers);n0&&void 0!==arguments[0]?arguments[0]:{};Object(u.a)(this,e);var r=new f.Collection,i={baseUrl:Q.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},n.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(i.headers["user-agent"]=[n.userAgent,"octokit-core.js/".concat("3.5.1"," ").concat(Object(d.a)())].filter(Boolean).join(" "),n.baseUrl&&(i.baseUrl=n.baseUrl),n.previews&&(i.mediaType.previews=n.previews),n.timeZone&&(i.headers["time-zone"]=n.timeZone),this.request=Q.defaults(i),this.graphql=te(this.request).defaults(i),this.log=Object.assign({debug:function(){},info:function(){},warn:console.warn.bind(console),error:console.error.bind(console)},n.log),this.hook=r,n.authStrategy){var o=n.authStrategy,s=a(n,["authStrategy"]),p=o(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},n.auth));r.wrap("request",p.hook),this.auth=p}else if(n.auth){var m=ue(n.auth);r.wrap("request",m.hook),this.auth=m}else this.auth=Object(l.a)(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{type:"unauthenticated"});case 1:case"end":return e.stop()}}),e)})));var h=this.constructor;h.plugins.forEach((function(e){Object.assign(t,e(t,n))}))}return Object(p.a)(e,null,[{key:"defaults",value:function(e){return function(t){Object(i.a)(a,t);var n=Object(o.a)(a);function a(){var t;Object(u.a)(this,a);var i=(arguments.length<=0?void 0:arguments[0])||{};return"function"===typeof e?(t=n.call(this,e(i)),Object(r.a)(t)):n.call(this,Object.assign({},e,i,i.userAgent&&e.userAgent?{userAgent:"".concat(i.userAgent," ").concat(e.userAgent)}:null))}return a}(this)}},{key:"plugin",value:function(){for(var e,t=this.plugins,n=arguments.length,r=new Array(n),a=0;a]+)>;\s*rel="next"/)||[])[1],e.abrupt("return",{value:n});case 11:if(e.prev=11,e.t0=e.catch(2),409===e.t0.status){e.next=15;break}throw e.t0;case 15:return s="",e.abrupt("return",{value:{status:200,headers:{},data:[]}});case 17:case"end":return e.stop()}}),e,null,[[2,11]])})))()}}}))}function ve(e,t,n,r){return"function"===typeof n&&(r=n,n=void 0),function e(t,n,r,i){return r.next().then((function(o){if(o.done)return n;var a=!1;return n=n.concat(i?i(o.value,(function(){a=!0})):o.value.data),a?n:e(t,n,r,i)}))}(e,[],he(e,t,n)[Symbol.asyncIterator](),r)}Object.assign(ve,{iterator:he});function ge(e){return{paginate:Object.assign(ve.bind(null,e),{iterator:he.bind(null,e)})}}ge.VERSION="2.17.0";var ye={actions:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createContentAttachment:["POST /content_references/{content_reference_id}/attachments",{mediaType:{previews:["corsair"]}}],createContentAttachmentForRepo:["POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments",{mediaType:{previews:["corsair"]}}],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},emojis:{get:["GET /emojis"]},enterpriseAdmin:{disableSelectedOrganizationGithubActionsEnterprise:["DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"],enableSelectedOrganizationGithubActionsEnterprise:["PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"],getAllowedActionsEnterprise:["GET /enterprises/{enterprise}/actions/permissions/selected-actions"],getGithubActionsPermissionsEnterprise:["GET /enterprises/{enterprise}/actions/permissions"],listSelectedOrganizationsEnabledGithubActionsEnterprise:["GET /enterprises/{enterprise}/actions/permissions/organizations"],setAllowedActionsEnterprise:["PUT /enterprises/{enterprise}/actions/permissions/selected-actions"],setGithubActionsPermissionsEnterprise:["PUT /enterprises/{enterprise}/actions/permissions"],setSelectedOrganizationsEnabledGithubActionsEnterprise:["PUT /enterprises/{enterprise}/actions/permissions/organizations"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import"],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors"],getImportStatus:["GET /repos/{owner}/{repo}/import"],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs"],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import"]},orgs:{blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createInvitation:["POST /orgs/{org}/invitations"],createWebhook:["POST /orgs/{org}/hooks"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],get:["GET /orgs/{org}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableLfsForRepo:["DELETE /repos/{owner}/{repo}/lfs"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enableLfsForRepo:["PUT /repos/{owner}/{repo}/lfs"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics",{mediaType:{previews:["mercy"]}}],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics",{mediaType:{previews:["mercy"]}}],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics",{mediaType:{previews:["mercy"]}}],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};function be(e,t){for(var n={},r=0,i=Object.entries(t);r>>3}var v=_.lits,g=_.strt,y=_.prev,b=0,x=0,k=0,E=0,S=0,T=0;h>2&&(g[T=a(e,0)]=0);for(p=0;p14e3||x>26697)&&h-p>100&&(m>>16,j=65535&O;if(0!=O){j=65535&O;var A=l(P=O>>>16,_.of0);_.lhst[257+A]++;var F=l(j,_.df0);_.dhst[F]++,E+=_.exb[A]+_.dxb[F],v[b]=P<<23|p-m,v[b+1]=j<<16|A<<8|F,b+=2,m=p+P}else _.lhst[e[p]]++;x++}}for(k==p&&0!=e.length||(m>>3}function i(e,t,n,r,i,s){var c=32767&t,l=n[c],u=c-l+32768&32767;if(l==c||r!=a(e,t-u))return 0;for(var p=0,d=0,f=Math.min(32767,t);u<=f&&0!=--s&&l!=c;){if(0==p||e[t+p]==e[t+p-u]){var m=o(e,t,u);if(m>p){if(d=u,(p=m)>=i)break;u+2h&&(h=y,l=g)}}}u+=(c=l)-(l=n[c])+32768&32767}return p<<16|d}function o(e,t,n){if(e[t]!=e[t-n]||e[t+1]!=e[t+1-n]||e[t+2]!=e[t+2-n])return 0;var r=t,i=Math.min(e.length,t+258);for(t+=3;t4&&0==_.itree[1+(_.ordr[c-1]<<1)];)c--;return[e,t,s,r,o,c,n,i]}())[0],g=h[1],b=h[2],E=h[3],S=h[4],T=h[5],C=h[6],O=h[7];var A=32+(0==(f+3&7)?0:8-(f+3&7))+(a<<3),F=r+l(_.fltree,_.lhst)+l(_.fdtree,_.dhst),L=r+l(_.ltree,_.lhst)+l(_.dtree,_.dhst);L+=14+3*T+l(_.itree,_.ihst)+(2*_.ihst[16]+3*_.ihst[17]+7*_.ihst[18]);for(var D=0;D<286;D++)_.lhst[D]=0;for(D=0;D<30;D++)_.dhst[D]=0;for(D=0;D<19;D++)_.ihst[D]=0;var M=A>>23,B=I+(8388607&G);I>16,V=W>>8&255,$=255&W;j(s,f=m(257+V,N,s,f),q-_.of0[V]),P(s,f=m($,R,s,f+=_.exb[V]),H-_.df0[$]),f+=_.dxb[$],I+=q}}f=m(256,N,s,f)}return f}function c(e,t,n,r,i){var o=i>>>3;return r[o]=n,r[o+1]=n>>>8,r[o+2]=255-r[o],r[o+3]=255-r[o+1],o+=4,r.set(new Uint8Array(e.buffer,t,n),o),i+(n+4<<3)}function l(e,t){for(var n=0,r=0;r15&&(w(n,r,a),r+=s)}return r}function p(e,t){for(var n=e.length;2!=n&&0==e[n-1];)n-=2;for(var r=0;r>>1,138))<11?t.push(17,l-3):t.push(18,l-11),r+=2*l-2}else if(i==s&&o==i&&a==i){for(c=r+5;c+2>>1,6);t.push(16,l-3),r+=2*l-2}else t.push(i,0)}return n>>>1}function d(e,t,n){var r=[],i=e.length,o=t.length,a=0;for(a=0;an&&(!function(e,t,n){var r=0,i=1<t;r++){var a=e[r].d;e[r].d=t,o+=i-(1<>>=n-t;for(;o>0;){(a=e[r].d)=0;r--)e[r].d==t&&o<0&&(e[r].d--,o++);0!=o&&console.log("debt left")}(c,n,h),h=n),a=0;a>>4;if(u<=15)o[c]=u,c++;else{var p=0,d=0;16==u?(d=3+a(r,i,2),i+=2,p=o[c-1]):17==u?(d=3+a(r,i,3),i+=3):18==u&&(d=11+a(r,i,7),i+=7);for(var f=c+d;c>>1;oi&&(i=s),o++}for(;o>1,s=e[o+1],c=a<<4|s,l=t-s,u=e[o]<>>15-t]=c,u++}}function x(e,t){for(var n=_.rev15,r=15-t,i=0;i>>r}}function w(e,t,n){n<<=7&t;var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8}function k(e,t,n){n<<=7&t;var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16}function E(e,t,n){return(e[t>>>3]|e[1+(t>>>3)]<<8)>>>(7&t)&(1<>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)&(1<>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)}n.d(t,"b",(function(){return P})),n.d(t,"a",(function(){return j}));var _=function(){var e=Uint16Array,t=Uint32Array;return{next_code:new e(16),bl_count:new e(16),ordr:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],of0:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],exb:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],ldef:new e(32),df0:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],dxb:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],ddef:new t(32),flmap:new e(512),fltree:[],fdmap:new e(32),fdtree:[],lmap:new e(32768),ltree:[],ttree:[],dmap:new e(32768),dtree:[],imap:new e(512),itree:[],rev15:new e(32768),lhst:new t(286),dhst:new t(30),ihst:new t(19),lits:new t(15e3),strt:new e(65536),prev:new e(32768)}}();!function(){for(var e=0;e<32768;e++){var t=e;t=(4278255360&(t=(4042322160&(t=(3435973836&(t=(2863311530&t)>>>1|(1431655765&t)<<1))>>>2|(858993459&t)<<2))>>>4|(252645135&t)<<4))>>>8|(16711935&t)<<8,_.rev15[e]=(t>>>16|t<<16)>>>17}function n(e,t,n){for(;0!=t--;)e.push(0,n)}for(e=0;e<32;e++)_.ldef[e]=_.of0[e]<<3|_.exb[e],_.ddef[e]=_.df0[e]<<4|_.dxb[e];n(_.fltree,144,8),n(_.fltree,112,9),n(_.fltree,24,7),n(_.fltree,8,8),y(_.fltree,9),b(_.fltree,9,_.flmap),x(_.fltree,9),n(_.fdtree,32,5),y(_.fdtree,5),b(_.fdtree,5,_.fdmap),x(_.fdtree,5),n(_.itree,19,0),n(_.ltree,286,0),n(_.dtree,30,0),n(_.ttree,320,0)}();var C={table:function(){for(var e=new Uint32Array(256),t=0;t<256;t++){for(var n=t,r=0;r<8;r++)1&n?n=3988292384^n>>>1:n>>>=1;e[t]=n}return e}(),update:function(e,t,n,r){for(var i=0;i>>8;return e},crc:function(e,t,n){return 4294967295^C.update(4294967295,e,t,n)}};function O(e,t){return function(e,t){var n=Uint8Array;if(3==e[0]&&0==e[1])return t||new n(0);var r=S,i=E,o=v,a=T,s=null==t;s&&(t=new n(e.length>>>2<<3));for(var c,l,u=0,p=0,d=0,f=0,m=0,x=0,w=0,k=0,C=0;0==u;)if(u=r(e,C,1),p=r(e,C+1,2),C+=3,0!=p){if(s&&(t=h(t,k+(1<<17))),1==p&&(c=_.flmap,l=_.fdmap,x=511,w=31),2==p){d=i(e,C,5)+257,f=i(e,C+5,5)+1,m=i(e,C+10,4)+4;C+=14;for(var O=0;O<38;O+=2)_.itree[O]=0,_.itree[O+1]=0;var P=1;for(O=0;OP&&(P=j)}C+=3*m,y(_.itree,P),b(_.itree,P,_.imap),c=_.lmap,l=_.dmap,C=o(_.imap,(1<>>4;if(D>>>8==0)t[k++]=D;else{if(256==D)break;var M=k+D-254;if(D>264){var N=_.ldef[D-257];M=k+(N>>>3)+i(e,C,7&N),C+=7&N}var R=l[a(e,C)&w];C+=15&R;var z=R>>>4,I=_.ddef[z],U=(I>>>4)+r(e,C,15&I);for(C+=15&I,s&&(t=h(t,k+(1<<17)));k>>3),q=e[G-4]|e[G-3]<<8;s&&(t=h(t,k+q)),t.set(new n(e.buffer,e.byteOffset+G,q),k),C=G+q<<3,k+=q}return t.length==k?t:t.slice(0,k)}(e,t)}function P(e,t){e[0],e[1];return O(new Uint8Array(e.buffer,e.byteOffset+2,e.length-6),t)}function j(e,t){null==t&&(t={level:6});var n=0,i=new Uint8Array(50+Math.floor(1.1*e.length));i[n]=120,i[n+1]=156,n=r(e,i,n+=2,t.level);var o=A(e,0,e.length);return i[n+0]=o>>>24&255,i[n+1]=o>>>16&255,i[n+2]=o>>>8&255,i[n+3]=o>>>0&255,new Uint8Array(i.buffer,0,n+4)}function A(e,t,n){for(var r=1,i=0,o=t,a=t+n;o1)for(var n=1;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},n=t.prefixes,r=t.parent;a(this,e),this._names={},this._prefixes=n,this._parent=r}return o(e,[{key:"toName",value:function(e){return e instanceof v.Name?e:this.name(e)}},{key:"name",value:function(e){return new v.Name(this._newName(e))}},{key:"_newName",value:function(e){var t=this._names[e]||this._nameGroup(e);return"".concat(e).concat(t.index++)}},{key:"_nameGroup",value:function(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error('CodeGen: prefix "'.concat(e,'" is not allowed in this scope'));return this._names[e]={prefix:e,index:0}}}]),e}();t.Scope=y;var b=function(e){s(n,e);var t=c(n);function n(e,r){var i;return a(this,n),(i=t.call(this,r)).prefix=e,i}return o(n,[{key:"setValue",value:function(e,t){var n=t.property,r=t.itemIndex;this.value=e,this.scopePath=(0,v._)(m(),new v.Name(n),r)}}]),n}(v.Name);t.ValueScopeName=b;var x=(0,v._)(f()),w=function(e){s(i,e);var n=c(i);function i(e){var t;return a(this,i),(t=n.call(this,e))._values={},t._scope=e.scope,t.opts=r(r({},e),{},{_n:e.lines?x:v.nil}),t}return o(i,[{key:"get",value:function(){return this._scope}},{key:"name",value:function(e){return new b(e,this._newName(e))}},{key:"value",value:function(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");var r=this.toName(e),i=r.prefix,o=null!==(n=t.key)&&void 0!==n?n:t.ref,a=this._values[i];if(a){var s=a.get(o);if(s)return s}else a=this._values[i]=new Map;a.set(o,r);var c=this._scope[i]||(this._scope[i]=[]),l=c.length;return c[l]=t.ref,r.setValue(t,{property:i,itemIndex:l}),r}},{key:"getValue",value:function(e,t){var n=this._values[e];if(n)return n.get(t)}},{key:"scopeRefs",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._values;return this._reduceValues(t,(function(t){if(void 0===t.scopePath)throw new Error('CodeGen: name "'.concat(t,'" has no value'));return(0,v._)(d(),e,t.scopePath)}))}},{key:"scopeCode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._values,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return this._reduceValues(e,(function(e){if(void 0===e.value)throw new Error('CodeGen: name "'.concat(e,'" has no value'));return e.value.code}),t,n)}},{key:"_reduceValues",value:function(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0,a=v.nil,s=function(s){var c=e[s];if(!c)return"continue";var l=i[s]=i[s]||new Map;c.forEach((function(e){if(!l.has(e)){l.set(e,h.Started);var i=n(e);if(i){var s=r.opts.es5?t.varKinds.var:t.varKinds.const;a=(0,v._)(p(),a,s,e,i,r.opts._n)}else{if(!(i=null===o||void 0===o?void 0:o(e)))throw new g(e);a=(0,v._)(u(),a,i,r.opts._n)}l.set(e,h.Completed)}}))};for(var c in e)s(c);return a}}]),i}(y);t.ValueScope=w},function(e,t,n){"use strict";var r=n(28);Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;var i=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&i.has(e)},t.getRules=function(){var e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:r(r({},e),{},{integer:!0,boolean:!0,null:!0}),rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},function(e,t,n){"use strict";function r(e,t){return t.rules.some((function(t){return i(e,t)}))}function i(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((function(t){return void 0!==e[t]})))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function(e,t){var n=e.schema,i=e.self.RULES.types[t];return i&&!0!==i&&r(n,i)},t.shouldUseGroup=r,t.shouldUseRule=i},function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!==i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n}},function(e,t,n){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,i=1;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,h=String.fromCharCode;function v(e){throw new RangeError(f[e])}function g(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var i=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(d,".")).split("."),t).join(".");return r+i}function y(e){for(var t=[],n=0,r=e.length;n=55296&&i<=56319&&n>1,e+=m(e/t);e>455;r+=36)e=m(e/35);return m(r+36*e/(e+38))},w=function(e){var t,n=[],r=e.length,i=0,o=128,a=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var c=0;c=128&&v("not-basic"),n.push(e.charCodeAt(c));for(var u=s>0?s+1:0;u=r&&v("invalid-input");var h=(t=e.charCodeAt(u++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(h>=36||h>m((l-i)/d))&&v("overflow"),i+=h*d;var g=f<=a?1:f>=a+26?26:f-a;if(hm(l/y)&&v("overflow"),d*=y}var b=n.length+1;a=x(i-p,b,0==p),m(i/b)>l-o&&v("overflow"),o+=m(i/b),i%=b,n.splice(i++,0,o)}return String.fromCodePoint.apply(String,n)},k=function(e){var t=[],n=(e=y(e)).length,r=128,i=0,o=72,a=!0,s=!1,c=void 0;try{for(var u,p=e[Symbol.iterator]();!(a=(u=p.next()).done);a=!0){var d=u.value;d<128&&t.push(h(d))}}catch(U){s=!0,c=U}finally{try{!a&&p.return&&p.return()}finally{if(s)throw c}}var f=t.length,g=f;for(f&&t.push("-");g=r&&Cm((l-i)/O)&&v("overflow"),i+=(w-r)*O,r=w;var P=!0,j=!1,A=void 0;try{for(var F,L=e[Symbol.iterator]();!(P=(F=L.next()).done);P=!0){var D=F.value;if(Dl&&v("overflow"),D==r){for(var M=i,N=36;;N+=36){var R=N<=o?1:N>=o+26?26:N-o;if(M>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function C(e){for(var t="",n=0,r=e.length;n=194&&i<224){if(r-n>=6){var o=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&i)<<6|63&o)}else t+=e.substr(n,6);n+=6}else if(i>=224){if(r-n>=9){var a=parseInt(e.substr(n+4,2),16),s=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function O(e,t){function n(e){var n=C(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,_).replace(t.PCT_ENCODED,i)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,_).replace(t.PCT_ENCODED,i)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,_).replace(t.PCT_ENCODED,i)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,_).replace(t.PCT_ENCODED,i)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,_).replace(t.PCT_ENCODED,i)),e}function P(e){return e.replace(/^0*(.*)/,"$1")||"0"}function j(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=c(n,2)[1];return r?r.split(".").map(P).join("."):e}function A(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=c(n,3),i=r[1],o=r[2];if(i){for(var a=i.toLowerCase().split("::").reverse(),s=c(a,2),l=s[0],u=s[1],p=u?u.split(":").map(P):[],d=l.split(":").map(P),f=t.IPV4ADDRESS.test(d[d.length-1]),m=f?7:8,h=d.length-m,v=Array(m),g=0;g1){var x=v.slice(0,y.index),w=v.slice(y.index+y.length);b=x.join(":")+"::"+w.join(":")}else b=v.join(":");return o&&(b+="%"+o),b}return e}var F=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,L=void 0==="".match(/(){0}/)[1];function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?s:a;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(F);if(i){L?(n.scheme=i[1],n.userinfo=i[3],n.host=i[4],n.port=parseInt(i[5],10),n.path=i[6]||"",n.query=i[7],n.fragment=i[8],isNaN(n.port)&&(n.port=i[5])):(n.scheme=i[1]||void 0,n.userinfo=-1!==e.indexOf("@")?i[3]:void 0,n.host=-1!==e.indexOf("//")?i[4]:void 0,n.port=parseInt(i[5],10),n.path=i[6]||"",n.query=-1!==e.indexOf("?")?i[7]:void 0,n.fragment=-1!==e.indexOf("#")?i[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),n.host&&(n.host=A(j(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var o=T[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)O(n,r);else{if(n.host&&(t.domainHost||o&&o.domainHost))try{n.host=E(n.host.replace(r.PCT_ENCODED,C).toLowerCase())}catch(c){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+c}O(n,a)}o&&o.parse&&o.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function M(e,t){var n=!1!==t.iri?s:a,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(A(j(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!==typeof e.port&&"string"!==typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}var N=/^\.\.?\//,R=/^\/\.(\/|$)/,z=/^\/\.\.(\/|$)/,I=/^\/?(?:.|\n)*?(?=\/|$)/;function U(e){for(var t=[];e.length;)if(e.match(N))e=e.replace(N,"");else if(e.match(R))e=e.replace(R,"/");else if(e.match(z))e=e.replace(z,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(I);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function G(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?s:a,r=[],i=T[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?S(e.host):E(e.host.replace(n.PCT_ENCODED,C).toLowerCase())}catch(l){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+l}O(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var o=M(e,t);if(void 0!==o&&("suffix"!==t.reference&&r.push("//"),r.push(o),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var c=e.path;t.absolutePath||i&&i.absolutePath||(c=U(c)),void 0===o&&(c=c.replace(/^\/\//,"/%2F")),r.push(c)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],i={};return r||(e=D(G(e,n),n),t=D(G(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(i.scheme=t.scheme,i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=U(t.path||""),i.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=U(t.path||""),i.query=t.query):(t.path?("/"===t.path.charAt(0)?i.path=U(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?i.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:i.path=t.path:i.path="/"+t.path,i.path=U(i.path)),i.query=t.query):(i.path=e.path,void 0!==t.query?i.query=t.query:i.query=e.query),i.userinfo=e.userinfo,i.host=e.host,i.port=e.port),i.scheme=e.scheme),i.fragment=t.fragment,i}function B(e,t){return e&&e.toString().replace(t&&t.iri?s.PCT_ENCODED:a.PCT_ENCODED,C)}var W={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},H={scheme:"https",domainHost:W.domainHost,parse:W.parse,serialize:W.serialize};function V(e){return"boolean"===typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var $={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=V(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(V(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"===typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=c(n,2),i=r[0],o=r[1];e.path=i&&"/"!==i?i:void 0,e.query=o,e.resourceName=void 0}return e.fragment=void 0,e}},K={scheme:"wss",domainHost:$.domainHost,parse:$.parse,serialize:$.serialize},Q={},Y="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",X="[0-9A-Fa-f]",J=n(n("%[EFef]"+X+"%"+X+X+"%"+X+X)+"|"+n("%[89A-Fa-f]"+X+"%"+X+X)+"|"+n("%"+X+X)),Z=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),ee=new RegExp(Y,"g"),te=new RegExp(J,"g"),ne=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Z),"g"),re=new RegExp(t("[^]",Y,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),ie=re;function oe(e){var t=C(e);return t.match(ee)?t:e}var ae={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var i=!1,o={},a=n.query.split("&"),s=0,c=a.length;s ",""]);return i=function(){return e},e}function o(){var e=r(["",".length"]);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;var a=n(10),s=n(12),c=n(17),l={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code:function(e){var t=e.schema,n=e.it;if(Array.isArray(t))return u(e,"additionalItems",t);n.items=!0,(0,s.alwaysValidSchema)(n,t)||e.ok((0,c.validateArray)(e))}};function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.schema,r=e.gen,c=e.parentSchema,l=e.data,u=e.keyword,p=e.it;m(c),p.opts.unevaluated&&n.length&&!0!==p.items&&(p.items=s.mergeEvaluated.items(r,n.length,p.items));var d=r.name("valid"),f=r.const("len",(0,a._)(o(),l));function m(e){var r=p.opts,i=p.errSchemaPath,o=n.length,a=o===e.minItems&&(o===e.maxItems||!1===e[t]);if(r.strictTuples&&!a){var c='"'.concat(u,'" is ').concat(o,"-tuple, but minItems or maxItems/").concat(t,' are not specified or different at path "').concat(i,'"');(0,s.checkStrictMode)(p,c,r.strictTuples)}}n.forEach((function(t,n){(0,s.alwaysValidSchema)(p,t)||(r.if((0,a._)(i(),f,n),(function(){return e.subschema({keyword:u,schemaProp:n,dataProp:n},d)})),e.ok(d))}))}t.validateTuple=u,t.default=l},function(e,t,n){"use strict";var r=n(29),i=n(11);function o(){var e=i(["delete ","[","]"]);return o=function(){return e},e}function a(){var e=i(["",".test(",")"]);return a=function(){return e},e}function s(){var e=i([""," === ",""]);return s=function(){return e},e}function c(){var e=i([""," === ",""]);return c=function(){return e},e}function l(){var e=i(["{additionalProperty: ","}"]);return l=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0});var u=n(17),p=n(10),d=n(23),f=n(12),m={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:function(e){var t=e.params;return(0,p._)(l(),t.additionalProperty)}},code:function(e){var t=e.gen,n=e.schema,i=e.parentSchema,l=e.data,m=e.errsCount,h=e.it;if(!m)throw new Error("ajv implementation error");var v=h.allErrors,g=h.opts;if(h.props=!0,"all"===g.removeAdditional||!(0,f.alwaysValidSchema)(h,n)){var y=(0,u.allSchemaProperties)(i.properties),b=(0,u.allSchemaProperties)(i.patternProperties);t.forIn("key",l,(function(n){y.length||b.length?t.if(function(n){var o;if(y.length>8){var c=(0,f.schemaRefOrVal)(h,i.properties,"properties");o=(0,u.isOwnProperty)(t,c,n)}else o=y.length?p.or.apply(void 0,r(y.map((function(e){return(0,p._)(s(),n,e)})))):p.nil;return b.length&&(o=p.or.apply(void 0,[o].concat(r(b.map((function(t){return(0,p._)(a(),(0,u.usePattern)(e,t),n)})))))),(0,p.not)(o)}(n),(function(){return w(n)})):w(n)})),e.ok((0,p._)(c(),m,d.default.errors))}function x(e){t.code((0,p._)(o(),l,e))}function w(r){if("all"===g.removeAdditional||g.removeAdditional&&!1===n)x(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(v||t.break());if("object"==typeof n&&!(0,f.alwaysValidSchema)(h,n)){var i=t.name("valid");"failing"===g.removeAdditional?(k(r,i,!1),t.if((0,p.not)(i),(function(){e.reset(),x(r)}))):(k(r,i),v||t.if((0,p.not)(i),(function(){return t.break()})))}}}function k(t,n,r){var i={keyword:"additionalProperties",dataProp:t,dataPropType:f.Type.Str};!1===r&&Object.assign(i,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(i,n)}}};t.default=m},function(e,t,n){!function(e){"use strict";function t(e){for(var t={},n=0;n*\/]/.test(n)?k(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?k("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?k(null,n):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=T),k("variable callee","variable")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),k("property","word")):k(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),k("number","unit")):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?k("variable-2","variable-definition"):k("variable-2","variable")):e.match(/^\w+-/)?k("meta","meta"):void 0}function S(e){return function(t,n){for(var r,i=!1;null!=(r=t.next());){if(r==e&&!i){")"==e&&t.backUp(1);break}i=!i&&"\\"==r}return(r==e||!i&&")"!=e)&&(n.tokenize=null),k("string","string")}}function T(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=S(")"),k(null,"(")}function _(e,t,n){this.type=e,this.indent=t,this.prev=n}function C(e,t,n,r){return e.context=new _(n,t.indentation()+(!1===r?0:a),e.context),n}function O(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function P(e,t,n){return F[n.context.type](e,t,n)}function j(e,t,n,r){for(var i=r||1;i>0;i--)n.context=n.context.prev;return P(e,t,n)}function A(e){var t=e.current().toLowerCase();o=g.hasOwnProperty(t)?"atom":v.hasOwnProperty(t)?"keyword":"variable"}var F={top:function(e,t,n){if("{"==e)return C(n,t,"block");if("}"==e&&n.context.prev)return O(n);if(x&&/@component/i.test(e))return C(n,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return C(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return C(n,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return C(n,t,"at");if("hash"==e)o="builtin";else if("word"==e)o="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return C(n,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return C(n,t,"parens")}return n.context.type},block:function(e,t,n){if("word"==e){var r=t.current().toLowerCase();return d.hasOwnProperty(r)?(o="property","maybeprop"):f.hasOwnProperty(r)?(o=w?"string-2":"property","maybeprop"):y?(o=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(o+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?F.top(e,t,n):(o="error","block")},maybeprop:function(e,t,n){return":"==e?C(n,t,"prop"):P(e,t,n)},prop:function(e,t,n){if(";"==e)return O(n);if("{"==e&&y)return C(n,t,"propBlock");if("}"==e||"{"==e)return j(e,t,n);if("("==e)return C(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)A(t);else if("interpolation"==e)return C(n,t,"interpolation")}else o+=" error";return"prop"},propBlock:function(e,t,n){return"}"==e?O(n):"word"==e?(o="property","maybeprop"):n.context.type},parens:function(e,t,n){return"{"==e||"}"==e?j(e,t,n):")"==e?O(n):"("==e?C(n,t,"parens"):"interpolation"==e?C(n,t,"interpolation"):("word"==e&&A(t),"parens")},pseudo:function(e,t,n){return"meta"==e?"pseudo":"word"==e?(o="variable-3",n.context.type):P(e,t,n)},documentTypes:function(e,t,n){return"word"==e&&c.hasOwnProperty(t.current())?(o="tag",n.context.type):F.atBlock(e,t,n)},atBlock:function(e,t,n){if("("==e)return C(n,t,"atBlock_parens");if("}"==e||";"==e)return j(e,t,n);if("{"==e)return O(n)&&C(n,t,y?"block":"top");if("interpolation"==e)return C(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();o="only"==r||"not"==r||"and"==r||"or"==r?"keyword":l.hasOwnProperty(r)?"attribute":u.hasOwnProperty(r)?"property":p.hasOwnProperty(r)?"keyword":d.hasOwnProperty(r)?"property":f.hasOwnProperty(r)?w?"string-2":"property":g.hasOwnProperty(r)?"atom":v.hasOwnProperty(r)?"keyword":"error"}return n.context.type},atComponentBlock:function(e,t,n){return"}"==e?j(e,t,n):"{"==e?O(n)&&C(n,t,y?"block":"top",!1):("word"==e&&(o="error"),n.context.type)},atBlock_parens:function(e,t,n){return")"==e?O(n):"{"==e||"}"==e?j(e,t,n,2):F.atBlock(e,t,n)},restricted_atBlock_before:function(e,t,n){return"{"==e?C(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(o="variable","restricted_atBlock_before"):P(e,t,n)},restricted_atBlock:function(e,t,n){return"}"==e?(n.stateArg=null,O(n)):"word"==e?(o="@font-face"==n.stateArg&&!m.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,n){return"word"==e?(o="variable","keyframes"):"{"==e?C(n,t,"top"):P(e,t,n)},at:function(e,t,n){return";"==e?O(n):"{"==e||"}"==e?j(e,t,n):("word"==e?o="tag":"hash"==e&&(o="builtin"),"at")},interpolation:function(e,t,n){return"}"==e?O(n):"{"==e||";"==e?j(e,t,n):("word"==e?o="variable":"variable"!=e&&"("!=e&&")"!=e&&(o="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new _(r?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||E)(e,t);return n&&"object"==typeof n&&(i=n[1],n=n[0]),o=n,"comment"!=i&&(t.state=F[t.state](i,e,t)),o},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),i=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(i=Math.max(0,n.indent-a)):i=(n=n.prev).indent),i},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:b,fold:"brace"}}));var n=["domain","regexp","url","url-prefix"],r=t(n),i=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=t(i),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],s=t(a),c=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],l=t(c),u=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=t(u),d=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],f=t(d),m=t(["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),h=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),v=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=t(v),y=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],b=t(y),x=n.concat(i).concat(a).concat(c).concat(u).concat(d).concat(v).concat(y);function w(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}e.registerHelper("hintWords","css",x),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:s,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:f,fontProperties:m,counterDescriptors:h,colorKeywords:g,valueKeywords:b,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:s,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:f,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"]},":":function(e){return!!e.match(/^\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:s,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:f,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:s,propertyKeywords:p,nonStandardPropertyKeywords:f,fontProperties:m,counterDescriptors:h,colorKeywords:g,valueKeywords:b,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t))}},name:"css",helperType:"gss"})}(n(13))},function(e,t,n){!function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",(function(r,i){var o,a,s=r.indentUnit,c={},l=i.htmlMode?t:n;for(var u in l)c[u]=l[u];for(var u in i)c[u]=i[u];function p(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.next();return"<"==r?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(f("atom","]]>")):null:e.match("--")?n(f("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(function e(t){return function(n,r){for(var i;null!=(i=n.next());){if("<"==i)return r.tokenize=e(t+1),r.tokenize(n,r);if(">"==i){if(1==t){r.tokenize=p;break}return r.tokenize=e(t-1),r.tokenize(n,r)}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=f("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=d,"tag bracket"):"&"==r?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function d(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=p,o=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return o="equals",null;if("<"==n){t.tokenize=p,t.state=y,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=function(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=d;break}return"string"};return t.isInAttribute=!0,t}(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function f(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=p;break}n.next()}return e}}function m(e){return e&&e.toLowerCase()}function h(e,t,n){this.prev=e.context,this.tagName=t||"",this.indent=e.indented,this.startOfLine=n,(c.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function v(e){e.context&&(e.context=e.context.prev)}function g(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!c.contextGrabbers.hasOwnProperty(m(n))||!c.contextGrabbers[m(n)].hasOwnProperty(m(t)))return;v(e)}}function y(e,t,n){return"openTag"==e?(n.tagStart=t.column(),b):"closeTag"==e?x:y}function b(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",E):c.allowMissingTagName&&"endTag"==e?(a="tag bracket",E(e,0,n)):(a="error",b)}function x(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&c.implicitlyClosed.hasOwnProperty(m(n.context.tagName))&&v(n),n.context&&n.context.tagName==r||!1===c.matchClosing?(a="tag",w):(a="tag error",k)}return c.allowMissingTagName&&"endTag"==e?(a="tag bracket",w(e,0,n)):(a="error",k)}function w(e,t,n){return"endTag"!=e?(a="error",w):(v(n),y)}function k(e,t,n){return a="error",w(e,0,n)}function E(e,t,n){if("word"==e)return a="attribute",S;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||c.autoSelfClosers.hasOwnProperty(m(r))?g(n,r):(g(n,r),n.context=new h(n,r,i==n.indented)),y}return a="error",E}function S(e,t,n){return"equals"==e?T:(c.allowMissing||(a="error"),E(e,0,n))}function T(e,t,n){return"string"==e?_:"word"==e&&c.allowUnquoted?(a="string",E):(a="error",E(e,0,n))}function _(e,t,n){return"string"==e?_:E(e,0,n)}return p.isInText=!0,{startState:function(e){var t={tokenize:p,state:y,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(a=null,t.state=t.state(o||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=d&&t.tokenize!=p)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==c.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(c.multilineTagIndentFactor||1);if(c.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:c.htmlMode?"html":"xml",helperType:c.htmlMode?"html":"xml",skipAttribute:function(e){e.state==T&&(e.state=E)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],n=e.context;n;n=n.prev)t.push(n.tagName);return t.reverse()}}})),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n(13))},function(e,t,n){!function(e){"use strict";e.defineMode("javascript",(function(t,n){var r,i,o=t.indentUnit,a=n.statementIndent,s=n.jsonld,c=n.json||s,l=!1!==n.trackScope,u=n.typescript,p=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),i=e("keyword d"),o=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:r,void:r,throw:r,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:r,export:e("export"),import:e("import"),extends:r,await:r}}(),f=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function h(e,t,n){return r=e,i=n,t}function v(e,t){var n,r=e.next();if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){var r,i=!1;if(s&&"@"==e.peek()&&e.match(m))return t.tokenize=v,h("jsonld-keyword","meta");for(;null!=(r=e.next())&&(r!=n||i);)i=!i&&"\\"==r;return i||(t.tokenize=v),h("string","string")}),t.tokenize(e,t);if("."==r&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return h("number","number");if("."==r&&e.match(".."))return h("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return h(r);if("="==r&&e.eat(">"))return h("=>","operator");if("0"==r&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return h("number","number");if(/\d/.test(r))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),h("number","number");if("/"==r)return e.eat("*")?(t.tokenize=g,g(e,t)):e.eat("/")?(e.skipToEnd(),h("comment","comment")):Je(e,t,1)?(function(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),h("regexp","string-2")):(e.eat("="),h("operator","operator",e.current()));if("`"==r)return t.tokenize=y,y(e,t);if("#"==r&&"!"==e.peek())return e.skipToEnd(),h("meta","meta");if("#"==r&&e.eatWhile(p))return h("variable","property");if("<"==r&&e.match("!--")||"-"==r&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),h("comment","comment");if(f.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-|&?]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),"?"==r&&e.eat(".")?h("."):h("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var i=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(i)){var o=d[i];return h(o.type,o.style,i)}if("async"==i&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return h("async","keyword",i)}return h("variable","variable",i)}}function g(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=v;break}r="*"==n}return h("comment","comment")}function y(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=v;break}r=!r&&"\\"==n}return h("quasi","string-2",e.current())}function b(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(u){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,o=!1,a=n-1;a>=0;--a){var s=e.string.charAt(a),c="([{}])".indexOf(s);if(c>=0&&c<3){if(!i){++a;break}if(0==--i){"("==s&&(o=!0);break}}else if(c>=3&&c<6)++i;else if(p.test(s))o=!0;else if(/["'\/`]/.test(s))for(;;--a){if(0==a)return;if(e.string.charAt(a-1)==s&&"\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!i){++a;break}}o&&!i&&(t.fatArrowAt=a)}}var x={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function w(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function k(e,t){if(!l)return!1;for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function E(e,t,n,r,i){var o=e.cc;for(S.state=e,S.stream=i,S.marked=null,S.cc=o,S.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():c?G:I)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return S.marked?S.marked:"variable"==n&&k(e,r)?"variable-2":t}}var S={state:null,column:null,marked:null,cc:null};function T(){for(var e=arguments.length-1;e>=0;e--)S.cc.push(arguments[e])}function _(){return T.apply(null,arguments),!0}function C(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function O(e){var t=S.state;if(S.marked="def",l){if(t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var r=function e(t,n){if(n){if(n.block){var r=e(t,n.prev);return r?r==n.prev?n:new j(r,n.vars,!0):null}return C(t,n.vars)?n:new j(n.prev,new A(t,n.vars),!1)}return null}(e,t.context);if(null!=r)return void(t.context=r)}else if(!C(e,t.localVars))return void(t.localVars=new A(e,t.localVars));n.globalVars&&!C(e,t.globalVars)&&(t.globalVars=new A(e,t.globalVars))}}function P(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function j(e,t,n){this.prev=e,this.vars=t,this.block=n}function A(e,t){this.name=e,this.next=t}var F=new A("this",new A("arguments",null));function L(){S.state.context=new j(S.state.context,S.state.localVars,!1),S.state.localVars=F}function D(){S.state.context=new j(S.state.context,S.state.localVars,!0),S.state.localVars=null}function M(){S.state.localVars=S.state.context.vars,S.state.context=S.state.context.prev}function N(e,t){var n=function(){var n=S.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new w(r,S.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function R(){var e=S.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function z(e){return function t(n){return n==e?_():";"==e||"}"==n||")"==n||"]"==n?T():_(t)}}function I(e,t){return"var"==e?_(N("vardef",t),Ee,z(";"),R):"keyword a"==e?_(N("form"),B,I,R):"keyword b"==e?_(N("form"),I,R):"keyword d"==e?S.stream.match(/^\s*$/,!1)?_():_(N("stat"),H,z(";"),R):"debugger"==e?_(z(";")):"{"==e?_(N("}"),D,se,R,M):";"==e?_():"if"==e?("else"==S.state.lexical.info&&S.state.cc[S.state.cc.length-1]==R&&S.state.cc.pop()(),_(N("form"),B,I,R,Pe)):"function"==e?_(Le):"for"==e?_(N("form"),D,je,I,M,R):"class"==e||u&&"interface"==t?(S.marked="keyword",_(N("form","class"==e?e:t),ze,R)):"variable"==e?u&&"declare"==t?(S.marked="keyword",_(I)):u&&("module"==t||"enum"==t||"type"==t)&&S.stream.match(/^\s*\w/,!1)?(S.marked="keyword","enum"==t?_(Ye):"type"==t?_(Me,z("operator"),de,z(";")):_(N("form"),Se,z("{"),N("}"),se,R,R)):u&&"namespace"==t?(S.marked="keyword",_(N("form"),G,I,R)):u&&"abstract"==t?(S.marked="keyword",_(I)):_(N("stat"),ee):"switch"==e?_(N("form"),B,z("{"),N("}","switch"),D,se,R,R,M):"case"==e?_(G,z(":")):"default"==e?_(z(":")):"catch"==e?_(N("form"),L,U,I,R,M):"export"==e?_(N("stat"),qe,R):"import"==e?_(N("stat"),We,R):"async"==e?_(I):"@"==t?_(G,I):T(N("stat"),G,z(";"),R)}function U(e){if("("==e)return _(Ne,z(")"))}function G(e,t){return W(e,t,!1)}function q(e,t){return W(e,t,!0)}function B(e){return"("!=e?T():_(N(")"),H,z(")"),R)}function W(e,t,n){if(S.state.fatArrowAt==S.stream.start){var r=n?X:Y;if("("==e)return _(L,N(")"),oe(Ne,")"),R,z("=>"),r,M);if("variable"==e)return T(L,Se,z("=>"),r,M)}var i=n?$:V;return x.hasOwnProperty(e)?_(i):"function"==e?_(Le,i):"class"==e||u&&"interface"==t?(S.marked="keyword",_(N("form"),Re,R)):"keyword c"==e||"async"==e?_(n?q:G):"("==e?_(N(")"),H,z(")"),R,i):"operator"==e||"spread"==e?_(n?q:G):"["==e?_(N("]"),Qe,R,i):"{"==e?ae(ne,"}",null,i):"quasi"==e?T(K,i):"new"==e?_(function(e){return function(t){return"."==t?_(e?Z:J):"variable"==t&&u?_(xe,e?$:V):T(e?q:G)}}(n)):_()}function H(e){return e.match(/[;\}\)\],]/)?T():T(G)}function V(e,t){return","==e?_(H):$(e,t,!1)}function $(e,t,n){var r=0==n?V:$,i=0==n?G:q;return"=>"==e?_(L,n?X:Y,M):"operator"==e?/\+\+|--/.test(t)||u&&"!"==t?_(r):u&&"<"==t&&S.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?_(N(">"),oe(de,">"),R,r):"?"==t?_(G,z(":"),i):_(i):"quasi"==e?T(K,r):";"!=e?"("==e?ae(q,")","call",r):"."==e?_(te,r):"["==e?_(N("]"),H,z("]"),R,r):u&&"as"==t?(S.marked="keyword",_(de,r)):"regexp"==e?(S.state.lastType=S.marked="operator",S.stream.backUp(S.stream.pos-S.stream.start-1),_(i)):void 0:void 0}function K(e,t){return"quasi"!=e?T():"${"!=t.slice(t.length-2)?_(K):_(H,Q)}function Q(e){if("}"==e)return S.marked="string-2",S.state.tokenize=y,_(K)}function Y(e){return b(S.stream,S.state),T("{"==e?I:G)}function X(e){return b(S.stream,S.state),T("{"==e?I:q)}function J(e,t){if("target"==t)return S.marked="keyword",_(V)}function Z(e,t){if("target"==t)return S.marked="keyword",_($)}function ee(e){return":"==e?_(R,I):T(V,z(";"),R)}function te(e){if("variable"==e)return S.marked="property",_()}function ne(e,t){return"async"==e?(S.marked="property",_(ne)):"variable"==e||"keyword"==S.style?(S.marked="property","get"==t||"set"==t?_(re):(u&&S.state.fatArrowAt==S.stream.start&&(n=S.stream.match(/^\s*:\s*/,!1))&&(S.state.fatArrowAt=S.stream.pos+n[0].length),_(ie))):"number"==e||"string"==e?(S.marked=s?"property":S.style+" property",_(ie)):"jsonld-keyword"==e?_(ie):u&&P(t)?(S.marked="keyword",_(ne)):"["==e?_(G,ce,z("]"),ie):"spread"==e?_(q,ie):"*"==t?(S.marked="keyword",_(ne)):":"==e?T(ie):void 0;var n}function re(e){return"variable"!=e?T(ie):(S.marked="property",_(Le))}function ie(e){return":"==e?_(q):"("==e?T(Le):void 0}function oe(e,t,n){function r(i,o){if(n?n.indexOf(i)>-1:","==i){var a=S.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),_((function(n,r){return n==t||r==t?T():T(e)}),r)}return i==t||o==t?_():n&&n.indexOf(";")>-1?T(e):_(z(t))}return function(n,i){return n==t||i==t?_():T(e,r)}}function ae(e,t,n){for(var r=3;r"),de):"quasi"==e?T(ve,be):void 0}function fe(e){if("=>"==e)return _(de)}function me(e){return e.match(/[\}\)\]]/)?_():","==e||";"==e?_(me):T(he,me)}function he(e,t){return"variable"==e||"keyword"==S.style?(S.marked="property",_(he)):"?"==t||"number"==e||"string"==e?_(he):":"==e?_(de):"["==e?_(z("variable"),le,z("]"),he):"("==e?T(De,he):e.match(/[;\}\)\],]/)?void 0:_()}function ve(e,t){return"quasi"!=e?T():"${"!=t.slice(t.length-2)?_(ve):_(de,ge)}function ge(e){if("}"==e)return S.marked="string-2",S.state.tokenize=y,_(ve)}function ye(e,t){return"variable"==e&&S.stream.match(/^\s*[?:]/,!1)||"?"==t?_(ye):":"==e?_(de):"spread"==e?_(ye):T(de)}function be(e,t){return"<"==t?_(N(">"),oe(de,">"),R,be):"|"==t||"."==e||"&"==t?_(de):"["==e?_(de,z("]"),be):"extends"==t||"implements"==t?(S.marked="keyword",_(de)):"?"==t?_(de,z(":"),de):void 0}function xe(e,t){if("<"==t)return _(N(">"),oe(de,">"),R,be)}function we(){return T(de,ke)}function ke(e,t){if("="==t)return _(de)}function Ee(e,t){return"enum"==t?(S.marked="keyword",_(Ye)):T(Se,ce,Ce,Oe)}function Se(e,t){return u&&P(t)?(S.marked="keyword",_(Se)):"variable"==e?(O(t),_()):"spread"==e?_(Se):"["==e?ae(_e,"]"):"{"==e?ae(Te,"}"):void 0}function Te(e,t){return"variable"!=e||S.stream.match(/^\s*:/,!1)?("variable"==e&&(S.marked="property"),"spread"==e?_(Se):"}"==e?T():"["==e?_(G,z("]"),z(":"),Te):_(z(":"),Se,Ce)):(O(t),_(Ce))}function _e(){return T(Se,Ce)}function Ce(e,t){if("="==t)return _(q)}function Oe(e){if(","==e)return _(Ee)}function Pe(e,t){if("keyword b"==e&&"else"==t)return _(N("form","else"),I,R)}function je(e,t){return"await"==t?_(je):"("==e?_(N(")"),Ae,R):void 0}function Ae(e){return"var"==e?_(Ee,Fe):"variable"==e?_(Fe):T(Fe)}function Fe(e,t){return")"==e?_():";"==e?_(Fe):"in"==t||"of"==t?(S.marked="keyword",_(G,Fe)):T(G,Fe)}function Le(e,t){return"*"==t?(S.marked="keyword",_(Le)):"variable"==e?(O(t),_(Le)):"("==e?_(L,N(")"),oe(Ne,")"),R,ue,I,M):u&&"<"==t?_(N(">"),oe(we,">"),R,Le):void 0}function De(e,t){return"*"==t?(S.marked="keyword",_(De)):"variable"==e?(O(t),_(De)):"("==e?_(L,N(")"),oe(Ne,")"),R,ue,M):u&&"<"==t?_(N(">"),oe(we,">"),R,De):void 0}function Me(e,t){return"keyword"==e||"variable"==e?(S.marked="type",_(Me)):"<"==t?_(N(">"),oe(we,">"),R):void 0}function Ne(e,t){return"@"==t&&_(G,Ne),"spread"==e?_(Ne):u&&P(t)?(S.marked="keyword",_(Ne)):u&&"this"==e?_(ce,Ce):T(Se,ce,Ce)}function Re(e,t){return"variable"==e?ze(e,t):Ie(e,t)}function ze(e,t){if("variable"==e)return O(t),_(Ie)}function Ie(e,t){return"<"==t?_(N(">"),oe(we,">"),R,Ie):"extends"==t||"implements"==t||u&&","==e?("implements"==t&&(S.marked="keyword"),_(u?de:G,Ie)):"{"==e?_(N("}"),Ue,R):void 0}function Ue(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||u&&P(t))&&S.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(S.marked="keyword",_(Ue)):"variable"==e||"keyword"==S.style?(S.marked="property",_(Ge,Ue)):"number"==e||"string"==e?_(Ge,Ue):"["==e?_(G,ce,z("]"),Ge,Ue):"*"==t?(S.marked="keyword",_(Ue)):u&&"("==e?T(De,Ue):";"==e||","==e?_(Ue):"}"==e?_():"@"==t?_(G,Ue):void 0}function Ge(e,t){if("!"==t)return _(Ge);if("?"==t)return _(Ge);if(":"==e)return _(de,Ce);if("="==t)return _(q);var n=S.state.lexical.prev;return T(n&&"interface"==n.info?De:Le)}function qe(e,t){return"*"==t?(S.marked="keyword",_(Ke,z(";"))):"default"==t?(S.marked="keyword",_(G,z(";"))):"{"==e?_(oe(Be,"}"),Ke,z(";")):T(I)}function Be(e,t){return"as"==t?(S.marked="keyword",_(z("variable"))):"variable"==e?T(q,Be):void 0}function We(e){return"string"==e?_():"("==e?T(G):"."==e?T(V):T(He,Ve,Ke)}function He(e,t){return"{"==e?ae(He,"}"):("variable"==e&&O(t),"*"==t&&(S.marked="keyword"),_($e))}function Ve(e){if(","==e)return _(He,Ve)}function $e(e,t){if("as"==t)return S.marked="keyword",_(He)}function Ke(e,t){if("from"==t)return S.marked="keyword",_(G)}function Qe(e){return"]"==e?_():T(oe(q,"]"))}function Ye(){return T(N("form"),Se,z("{"),N("}"),oe(Xe,"}"),R,R)}function Xe(){return T(Se,Ce)}function Je(e,t,n){return t.tokenize==v&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return L.lex=D.lex=!0,M.lex=!0,R.lex=!0,{startState:function(e){var t={tokenize:v,lastType:"sof",cc:[],lexical:new w((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&new j(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),b(e,t)),t.tokenize!=g&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=i&&"--"!=i?r:"incdec",E(t,n,r,i,e))},indent:function(t,r){if(t.tokenize==g||t.tokenize==y)return e.Pass;if(t.tokenize!=v)return 0;var i,s=r&&r.charAt(0),c=t.lexical;if(!/^\s*else\b/.test(r))for(var l=t.cc.length-1;l>=0;--l){var u=t.cc[l];if(u==R)c=c.prev;else if(u!=Pe&&u!=M)break}for(;("stat"==c.type||"form"==c.type)&&("}"==s||(i=t.cc[t.cc.length-1])&&(i==V||i==$)&&!/^[,\.=+\-*:?[\(]/.test(r));)c=c.prev;a&&")"==c.type&&"stat"==c.prev.type&&(c=c.prev);var p=c.type,d=s==p;return"vardef"==p?c.indented+("operator"==t.lastType||","==t.lastType?c.info.length+1:0):"form"==p&&"{"==s?c.indented:"form"==p?c.indented+o:"stat"==p?c.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||f.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?a||o:0):"switch"!=c.info||d||0==n.doubleIndentSwitch?c.align?c.column+(d?0:1):c.indented+(d?0:o):c.indented+(/^(?:case|default)\b/.test(r)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:c?null:"/*",blockCommentEnd:c?null:"*/",blockCommentContinue:c?null:" * ",lineComment:c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:c?"json":"javascript",jsonldMode:s,jsonMode:c,expressionAllowed:Je,skipExpression:function(t){E(t,"atom","atom","true",new e.StringStream("",2,null))}}})),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/manifest+json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n(13))},function(e,t,n){!function(e){"use strict";var t,n,r=e.Pos;function i(e,t){for(var n=function(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}(e),r=n,i=0;iu);p++){var d=e.getLine(l++);s=null==s?d:s+"\n"+d}c*=2,t.lastIndex=n.ch;var f=t.exec(s);if(f){var m=s.slice(0,f.index).split("\n"),h=f[0].split("\n"),v=n.line+m.length-1,g=m[m.length-1].length;return{from:r(v,g),to:r(v+h.length-1,1==h.length?g+h[0].length:h[h.length-1].length),match:f}}}}function c(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var a=o.index+o[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function l(e,t,n){t=i(t,"g");for(var o=n.line,a=n.ch,s=e.firstLine();o>=s;o--,a=-1){var l=e.getLine(o),u=c(l,t,a<0?0:l.length-a);if(u)return{from:r(o,u.index),to:r(o,u.index+u[0].length),match:u}}}function u(e,t,n){if(!o(t))return l(e,t,n);t=i(t,"gm");for(var a,s=1,u=e.getLine(n.line).length-n.ch,p=n.line,d=e.firstLine();p>=d;){for(var f=0;f=d;f++){var m=e.getLine(p--);a=null==a?m:m+"\n"+a}s*=2;var h=c(a,t,u);if(h){var v=a.slice(0,h.index).split("\n"),g=h[0].split("\n"),y=p+v.length,b=v[v.length-1].length;return{from:r(y,b),to:r(y+g.length-1,1==g.length?b+g[0].length:g[g.length-1].length),match:h}}}}function p(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=r(e.slice(0,a)).length;if(s==n)return a;s>n?o=a:i=a+1}}function d(e,i,o,a){if(!i.length)return null;var s=a?t:n,c=s(i).split(/\r|\n\r?/);e:for(var l=o.line,u=o.ch,d=e.lastLine()+1-c.length;l<=d;l++,u=0){var f=e.getLine(l).slice(u),m=s(f);if(1==c.length){var h=m.indexOf(c[0]);if(-1==h)continue e;return o=p(f,m,h,s)+u,{from:r(l,p(f,m,h,s)+u),to:r(l,p(f,m,h+c[0].length,s)+u)}}var v=m.length-c[0].length;if(m.slice(v)==c[0]){for(var g=1;g=d;l--,u=-1){var f=e.getLine(l);u>-1&&(f=f.slice(0,u));var m=s(f);if(1==c.length){var h=m.lastIndexOf(c[0]);if(-1==h)continue e;return{from:r(l,p(f,m,h,s)),to:r(l,p(f,m,h+c[0].length,s))}}var v=c[c.length-1];if(m.slice(0,v.length)==v){var g=1;for(o=l-c.length+1;g(this.doc.getLine(n.line)||"").length&&(n.ch=0,n.line++)),0!=e.cmpPos(n,this.doc.clipPos(n))))return this.atOccurrence=!1;var i=this.matches(t,n);if(this.afterEmptyMatch=i&&0==e.cmpPos(i.from,i.to),i)return this.pos=i,this.atOccurrence=!0,this.pos.match||!0;var o=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:o,to:o},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var i=e.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",(function(e,t,n){return new m(this.doc,e,t,n)})),e.defineDocExtension("getSearchCursor",(function(e,t,n){return new m(this,e,t,n)})),e.defineExtension("selectMatches",(function(t,n){for(var r=[],i=this.getSearchCursor(t,this.getCursor("from"),n);i.findNext()&&!(e.cmpPos(i.to(),this.getCursor("to"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(n(13))},function(e,t,n){!function(e){"use strict";var t=e.Pos;function n(e,t){return e.line-t.line||e.ch-t.ch}var r="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i=new RegExp("<(/?)(["+r+"]["+r+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");function o(e,t,n,r){this.line=t,this.ch=n,this.cm=e,this.text=e.getLine(t),this.min=r?Math.max(r.from,e.firstLine()):e.firstLine(),this.max=r?Math.min(r.to-1,e.lastLine()):e.lastLine()}function a(e,n){var r=e.cm.getTokenTypeAt(t(e.line,n));return r&&/\btag\b/.test(r)}function s(e){if(!(e.line>=e.max))return e.ch=0,e.text=e.cm.getLine(++e.line),!0}function c(e){if(!(e.line<=e.min))return e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0}function l(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(s(e))continue;return}if(a(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t+1}}function u(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(c(e))continue;return}if(a(e,t+1)){i.lastIndex=t,e.ch=t;var n=i.exec(e.text);if(n&&n.index==t)return n}else e.ch=t}}function p(e){for(;;){i.lastIndex=e.ch;var t=i.exec(e.text);if(!t){if(s(e))continue;return}if(a(e,t.index+1))return e.ch=t.index+t[0].length,t;e.ch=t.index+1}}function d(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(c(e))continue;return}if(a(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t}}function f(e,n){for(var r=[];;){var i,o=p(e),a=e.line,s=e.ch-(o?o[0].length:0);if(!o||!(i=l(e)))return;if("selfClose"!=i)if(o[1]){for(var c=r.length-1;c>=0;--c)if(r[c]==o[2]){r.length=c;break}if(c<0&&(!n||n==o[2]))return{tag:o[2],from:t(a,s),to:t(e.line,e.ch)}}else r.push(o[2])}}function m(e,n){for(var r=[];;){var i=d(e);if(!i)return;if("selfClose"!=i){var o=e.line,a=e.ch,s=u(e);if(!s)return;if(s[1])r.push(s[2]);else{for(var c=r.length-1;c>=0;--c)if(r[c]==s[2]){r.length=c;break}if(c<0&&(!n||n==s[2]))return{tag:s[2],from:t(e.line,e.ch),to:t(o,a)}}}else u(e)}}e.registerHelper("fold","xml",(function(e,r){for(var i=new o(e,r.line,0);;){var a=p(i);if(!a||i.line!=r.line)return;var s=l(i);if(!s)return;if(!a[1]&&"selfClose"!=s){var c=t(i.line,i.ch),u=f(i,a[2]);return u&&n(u.from,c)>0?{from:c,to:u.from}:null}}})),e.findMatchingTag=function(e,r,i){var a=new o(e,r.line,r.ch,i);if(-1!=a.text.indexOf(">")||-1!=a.text.indexOf("<")){var s=l(a),c=s&&t(a.line,a.ch),p=s&&u(a);if(s&&p&&!(n(a,r)>0)){var d={from:t(a.line,a.ch),to:c,tag:p[2]};return"selfClose"==s?{open:d,close:null,at:"open"}:p[1]?{open:m(a,p[2]),close:d,at:"close"}:{open:d,close:f(a=new o(e,c.line,c.ch,i),p[2]),at:"open"}}}},e.findEnclosingTag=function(e,t,n,r){for(var i=new o(e,t.line,t.ch,n);;){var a=m(i,r);if(!a)break;var s=f(new o(e,t.line,t.ch,n),a.tag);if(s)return{open:a,close:s}}},e.scanForClosingTag=function(e,t,n,r){return f(new o(e,t.line,t.ch,r?{from:0,to:r}:null),n)}}(n(13))},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(91)},function(e,t,n){var r=n(97),i=n(98),o=n(99),a=Function.bind,s=a.bind(a);function c(e,t,n){var r=s(o,null).apply(null,n?[t,n]:[t]);e.api={remove:r},e.remove=r,["before","error","after","wrap"].forEach((function(r){var o=n?[t,r,n]:[t,r];e[r]=e.api[r]=s(i,null).apply(null,o)}))}function l(){var e={registry:{}},t=r.bind(null,e);return c(t,e),t}var u=!1;function p(){return u||(console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4'),u=!0),l()}p.Singular=function(){var e={registry:{}},t=r.bind(null,e,"h");return c(t,e,"h"),t}.bind(),p.Collection=l.bind(),e.exports=p,e.exports.Hook=p,e.exports.Singular=p.Singular,e.exports.Collection=p.Collection},function(e,t,n){"use strict";var r=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof r)return r;throw new Error("unable to locate global object")}();e.exports=t=r.fetch,r.fetch&&(t.default=r.fetch.bind(r)),t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response},,function(e,t,n){"use strict";var r=n(159),i=n(161).extname,o=/^\s*([^;\s]*)(?:;|\s|$)/,a=/^text\//i;function s(e){if(!e||"string"!==typeof e)return!1;var t=o.exec(e),n=t&&r[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!a.test(t[1]))&&"UTF-8"}t.charset=s,t.charsets={lookup:s},t.contentType=function(e){if(!e||"string"!==typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var r=t.charset(n);r&&(n+="; charset="+r.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!==typeof e)return!1;var n=o.exec(e),r=n&&t.extensions[n[1].toLowerCase()];if(!r||!r.length)return!1;return r[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!==typeof e)return!1;var n=i("x."+e).toLowerCase().substr(1);if(!n)return!1;return t.types[n]||!1},t.types=Object.create(null),function(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(r).forEach((function(i){var o=r[i],a=o.extensions;if(a&&a.length){e[i]=a;for(var s=0;su||l===u&&"application/"===t[c].substr(0,12)))continue}t[c]=i}}}))}(t.extensions,t.types)},function(e,t,n){"use strict";(function(e){function r(){return(r=Object.assign||function(e){for(var t=1;t0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}"function"===typeof SuppressedError&&SuppressedError;var c,l=function(){function e(e,t){var n=e._tree,r=Array.from(n.keys());this.set=e,this._type=t,this._path=r.length>0?[{node:n,keys:r}]:[]}return e.prototype.next=function(){var e=this.dive();return this.backtrack(),e},e.prototype.dive=function(){if(0===this._path.length)return{done:!0,value:void 0};var e=u(this._path),t=e.node,n=e.keys;if(""===u(n))return{done:!1,value:this.result()};var r=t.get(u(n));return this._path.push({node:r,keys:Array.from(r.keys())}),this.dive()},e.prototype.backtrack=function(){if(0!==this._path.length){var e=u(this._path).keys;e.pop(),e.length>0||(this._path.pop(),this.backtrack())}},e.prototype.key=function(){return this.set._prefix+this._path.map((function(e){var t=e.keys;return u(t)})).filter((function(e){return""!==e})).join("")},e.prototype.value=function(){return u(this._path).node.get("")},e.prototype.result=function(){switch(this._type){case"VALUES":return this.value();case"KEYS":return this.key();default:return[this.key(),this.value()]}},e.prototype[Symbol.iterator]=function(){return this},e}(),u=function(e){return e[e.length-1]},p=function e(t,n,r,i,o,s,c,l){var u,p,d=s*c;try{e:for(var f=a(t.keys()),m=f.next();!m.done;m=f.next()){var h=m.value;if(""===h){var v=o[d-1];v<=r&&i.set(l,[t.get(h),v])}else{for(var g=s,y=0;yr)continue e}e(t.get(h),n,r,i,o,g,c,l+h)}}}catch(A){u={error:A}}finally{try{m&&!m.done&&(p=f.return)&&p.call(f)}finally{if(u)throw u.error}}},d=function(){function e(e,t){void 0===e&&(e=new Map),void 0===t&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return e.prototype.atPrefix=function(t){var n,r;if(!t.startsWith(this._prefix))throw new Error("Mismatched prefix");var i=s(f(this._tree,t.slice(this._prefix.length)),2),o=i[0],c=i[1];if(void 0===o){var l=s(b(c),2),u=l[0],p=l[1];try{for(var d=a(u.keys()),m=d.next();!m.done;m=d.next()){var h=m.value;if(""!==h&&h.startsWith(p)){var v=new Map;return v.set(h.slice(p.length),u.get(h)),new e(v,t)}}}catch(g){n={error:g}}finally{try{m&&!m.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}}return new e(o,t)},e.prototype.clear=function(){this._size=void 0,this._tree.clear()},e.prototype.delete=function(e){return this._size=void 0,v(this._tree,e)},e.prototype.entries=function(){return new l(this,"ENTRIES")},e.prototype.forEach=function(e){var t,n;try{for(var r=a(this),i=r.next();!i.done;i=r.next()){var o=s(i.value,2);e(o[0],o[1],this)}}catch(c){t={error:c}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.fuzzyGet=function(e,t){return function(e,t,n){var r=new Map;if(void 0===t)return r;for(var i=t.length+1,o=i+n,a=new Uint8Array(o*i).fill(n+1),s=0;s0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new d,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},e.prototype.discard=function(e){var t=this,n=this._idToShortId.get(e);if(null==n)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(n),this._storedFields.delete(n),(this._fieldLength.get(n)||[]).forEach((function(e,r){t.removeFieldLength(n,r,t._documentCount,e)})),this._fieldLength.delete(n),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},e.prototype.maybeAutoVacuum=function(){if(!1!==this._options.autoVacuum){var e=this._options.autoVacuum,t=e.minDirtFactor,n=e.minDirtCount,r=e.batchSize,i=e.batchWait;this.conditionalVacuum({batchSize:r,batchWait:i},{minDirtCount:n,minDirtFactor:t})}},e.prototype.discardAll=function(e){var t,n,r=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var i=a(e),o=i.next();!o.done;o=i.next()){var s=o.value;this.discard(s)}}catch(c){t={error:c}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=r}this.maybeAutoVacuum()},e.prototype.replace=function(e){var t=this._options,n=t.idField,r=(0,t.extractField)(e,n);this.discard(r),this.add(e)},e.prototype.vacuum=function(e){return void 0===e&&(e={}),this.conditionalVacuum(e)},e.prototype.conditionalVacuum=function(e,t){var n=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,null!=this._enqueuedVacuum||(this._enqueuedVacuum=this._currentVacuum.then((function(){var t=n._enqueuedVacuumConditions;return n._enqueuedVacuumConditions=P,n.performVacuuming(e,t)}))),this._enqueuedVacuum):!1===this.vacuumConditionsMet(t)?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},e.prototype.performVacuuming=function(e,t){return i(this,void 0,void 0,(function(){var n,r,i,c,l,u,p,d,f,m,h,v,g,y,b,x,w,k,E,S,T,_,C,P,j;return o(this,(function(o){switch(o.label){case 0:if(n=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];r=e.batchSize||O.batchSize,i=e.batchWait||O.batchWait,c=1,o.label=1;case 1:o.trys.push([1,7,8,9]),l=a(this._index),u=l.next(),o.label=2;case 2:if(u.done)return[3,6];p=s(u.value,2),d=p[0],f=p[1];try{for(_=void 0,m=a(f),h=m.next();!h.done;h=m.next()){v=s(h.value,2),g=v[0],y=v[1];try{for(P=void 0,b=a(y),x=b.next();!x.done;x=b.next())w=s(x.value,1),k=w[0],this._documentIds.has(k)||(y.size<=1?f.delete(g):y.delete(k))}catch(A){P={error:A}}finally{try{x&&!x.done&&(j=b.return)&&j.call(b)}finally{if(P)throw P.error}}}}catch(F){_={error:F}}finally{try{h&&!h.done&&(C=m.return)&&C.call(m)}finally{if(_)throw _.error}}return 0===this._index.get(d).size&&this._index.delete(d),c%r!==0?[3,4]:[4,new Promise((function(e){return setTimeout(e,i)}))];case 3:o.sent(),o.label=4;case 4:c+=1,o.label=5;case 5:return u=l.next(),[3,2];case 6:return[3,9];case 7:return E=o.sent(),S={error:E},[3,9];case 8:try{u&&!u.done&&(T=l.return)&&T.call(l)}finally{if(S)throw S.error}return[7];case 9:this._dirtCount-=n,o.label=10;case 10:return[4,null];case 11:return o.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}}))}))},e.prototype.vacuumConditionsMet=function(e){if(null==e)return!0;var t=e.minDirtCount,n=e.minDirtFactor;return t=t||j.minDirtCount,n=n||j.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=n},Object.defineProperty(e.prototype,"isVacuuming",{get:function(){return null!=this._currentVacuum},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),e.prototype.has=function(e){return this._idToShortId.has(e)},e.prototype.getStoredFields=function(e){var t=this._idToShortId.get(e);if(null!=t)return this._storedFields.get(t)},e.prototype.search=function(t,n){var r,i;void 0===n&&(n={});var o=this.executeQuery(t,n),c=[];try{for(var l=a(o),u=l.next();!u.done;u=l.next()){var p=s(u.value,2),d=p[0],f=p[1],m=f.score,h=f.terms,v=f.match,g=h.length||1,y={id:this._documentIds.get(d),score:m*g,terms:Object.keys(v),match:v};Object.assign(y,this._storedFields.get(d)),(null==n.filter||n.filter(y))&&c.push(y)}}catch(b){r={error:b}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}return t===e.wildcard&&null==n.boostDocument&&null==this._options.searchOptions.boostDocument||c.sort(L),c},e.prototype.autoSuggest=function(e,t){var n,i,o,c;void 0===t&&(t={}),t=r(r({},this._options.autoSuggestOptions),t);var l=new Map;try{for(var u=a(this.search(e,t)),p=u.next();!p.done;p=u.next()){var d=p.value,f=d.score,m=(w=d.terms).join(" ");null!=(b=l.get(m))?(b.score+=f,b.count+=1):l.set(m,{score:f,terms:w,count:1})}}catch(E){n={error:E}}finally{try{p&&!p.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}var h=[];try{for(var v=a(l),g=v.next();!g.done;g=v.next()){var y=s(g.value,2),b=y[0],x=y[1],w=(f=x.score,x.terms),k=x.count;h.push({suggestion:b,terms:w,score:f/k})}}catch(S){o={error:S}}finally{try{g&&!g.done&&(c=v.return)&&c.call(v)}finally{if(o)throw o.error}}return h.sort(L),h},Object.defineProperty(e.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),e.loadJSON=function(e,t){if(null==t)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},e.getDefault=function(e){if(T.hasOwnProperty(e))return w(T,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},e.loadJS=function(t,n){var r,i,o,c,l,u,p=t.index,f=t.documentCount,m=t.nextId,h=t.documentIds,v=t.fieldIds,g=t.fieldLength,y=t.averageFieldLength,b=t.storedFields,x=t.dirtCount,w=t.serializationVersion;if(1!==w&&2!==w)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var k=new e(n);k._documentCount=f,k._nextId=m,k._documentIds=M(h),k._idToShortId=new Map,k._fieldIds=v,k._fieldLength=M(g),k._avgFieldLength=y,k._storedFields=M(b),k._dirtCount=x||0,k._index=new d;try{for(var E=a(k._documentIds),S=E.next();!S.done;S=E.next()){var T=s(S.value,2),_=T[0],C=T[1];k._idToShortId.set(C,_)}}catch(I){r={error:I}}finally{try{S&&!S.done&&(i=E.return)&&i.call(E)}finally{if(r)throw r.error}}try{for(var O=a(p),P=O.next();!P.done;P=O.next()){var j=s(P.value,2),A=j[0],F=j[1],L=new Map;try{for(var D=(l=void 0,a(Object.keys(F))),N=D.next();!N.done;N=D.next()){var R=N.value,z=F[R];1===w&&(z=z.ds),L.set(parseInt(R,10),M(z))}}catch(U){l={error:U}}finally{try{N&&!N.done&&(u=D.return)&&u.call(D)}finally{if(l)throw l.error}}k._index.set(A,L)}}catch(G){o={error:G}}finally{try{P&&!P.done&&(c=O.return)&&c.call(O)}finally{if(o)throw o.error}}return k},e.prototype.executeQuery=function(t,n){var i=this;if(void 0===n&&(n={}),t===e.wildcard)return this.executeWildcardQuery(n);if("string"!==typeof t){var o=r(r(r({},n),t),{queries:void 0}),a=t.queries.map((function(e){return i.executeQuery(e,o)}));return this.combineResults(a,o.combineWith)}var s=this._options,c=s.tokenize,l=s.processTerm,u=s.searchOptions,p=r(r({tokenize:c,processTerm:l},u),n),d=p.tokenize,f=p.processTerm,m=d(t).flatMap((function(e){return f(e)})).filter((function(e){return!!e})).map(S(p)).map((function(e){return i.executeQuerySpec(e,p)}));return this.combineResults(m,p.combineWith)},e.prototype.executeQuerySpec=function(e,t){var n,i,o,c,l,u,p=r(r({},this._options.searchOptions),t),d=(p.fields||this._options.fields).reduce((function(e,t){var n;return r(r({},e),((n={})[t]=w(p.boost,t)||1,n))}),{}),f=p.boostDocument,m=p.weights,h=p.maxFuzzy,v=p.bm25,g=r(r({},_.weights),m),y=g.fuzzy,b=g.prefix,x=this._index.get(e.term),k=this.termResults(e.term,e.term,1,x,d,f,v);if(e.prefix&&(l=this._index.atPrefix(e.term)),e.fuzzy){var E=!0===e.fuzzy?.2:e.fuzzy,S=E<1?Math.min(h,Math.round(e.term.length*E)):E;S&&(u=this._index.fuzzyGet(e.term,S))}if(l)try{for(var T=a(l),C=T.next();!C.done;C=T.next()){var O=s(C.value,2),P=O[0],j=O[1];if(D=P.length-e.term.length){null===u||void 0===u||u.delete(P);var A=b*P.length/(P.length+.3*D);this.termResults(e.term,P,A,j,d,f,v,k)}}}catch(R){n={error:R}}finally{try{C&&!C.done&&(i=T.return)&&i.call(T)}finally{if(n)throw n.error}}if(u)try{for(var F=a(u.keys()),L=F.next();!L.done;L=F.next()){P=L.value;var D,M=s(u.get(P),2),N=M[0];if(D=M[1]){A=y*P.length/(P.length+D);this.termResults(e.term,P,A,N,d,f,v,k)}}}catch(z){o={error:z}}finally{try{L&&!L.done&&(c=F.return)&&c.call(F)}finally{if(o)throw o.error}}return k},e.prototype.executeWildcardQuery=function(e){var t,n,i=new Map,o=r(r({},this._options.searchOptions),e);try{for(var c=a(this._documentIds),l=c.next();!l.done;l=c.next()){var u=s(l.value,2),p=u[0],d=u[1],f=o.boostDocument?o.boostDocument(d,"",this._storedFields.get(p)):1;i.set(p,{score:f,terms:[],match:{}})}}catch(m){t={error:m}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}return i},e.prototype.combineResults=function(e,t){if(void 0===t&&(t="or"),0===e.length)return new Map;var n=t.toLowerCase();return e.reduce(k[n])||new Map},e.prototype.toJSON=function(){var e,t,n,r,i=[];try{for(var o=a(this._index),c=o.next();!c.done;c=o.next()){var l=s(c.value,2),u=l[0],p=l[1],d={};try{for(var f=(n=void 0,a(p)),m=f.next();!m.done;m=f.next()){var h=s(m.value,2),v=h[0],g=h[1];d[v]=Object.fromEntries(g)}}catch(y){n={error:y}}finally{try{m&&!m.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}i.push([u,d])}}catch(b){e={error:b}}finally{try{c&&!c.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:i,serializationVersion:2}},e.prototype.termResults=function(e,t,n,r,i,o,s,c){var l,u,p,d,f;if(void 0===c&&(c=new Map),null==r)return c;try{for(var m=a(Object.keys(i)),h=m.next();!h.done;h=m.next()){var v=h.value,g=i[v],y=this._fieldIds[v],b=r.get(y);if(null!=b){var x=b.size,k=this._avgFieldLength[y];try{for(var S=(p=void 0,a(b.keys())),T=S.next();!T.done;T=S.next()){var _=T.value;if(this._documentIds.has(_)){var C=o?o(this._documentIds.get(_),t,this._storedFields.get(_)):1;if(C){var O=b.get(_),P=this._fieldLength.get(_)[y],j=n*g*C*E(O,x,this._documentCount,P,k,s),F=c.get(_);if(F){F.score+=j,A(F.terms,e);var L=w(F.match,t);L?L.push(v):F.match[t]=[v]}else c.set(_,{score:j,terms:[e],match:(f={},f[t]=[v],f)})}}else this.removeTerm(y,_,t),x-=1}}catch(D){p={error:D}}finally{try{T&&!T.done&&(d=S.return)&&d.call(S)}finally{if(p)throw p.error}}}}}catch(M){l={error:M}}finally{try{h&&!h.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}return c},e.prototype.addTerm=function(e,t,n){var r=this._index.fetch(n,D),i=r.get(e);if(null==i)(i=new Map).set(t,1),r.set(e,i);else{var o=i.get(t);i.set(t,(o||0)+1)}},e.prototype.removeTerm=function(e,t,n){if(this._index.has(n)){var r=this._index.fetch(n,D),i=r.get(e);null==i||null==i.get(t)?this.warnDocumentChanged(t,e,n):i.get(t)<=1?i.size<=1?r.delete(e):i.delete(t):i.set(t,i.get(t)-1),0===this._index.get(n).size&&this._index.delete(n)}else this.warnDocumentChanged(t,e,n)},e.prototype.warnDocumentChanged=function(e,t,n){var r,i;try{for(var o=a(Object.keys(this._fieldIds)),s=o.next();!s.done;s=o.next()){var c=s.value;if(this._fieldIds[c]===t)return void this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(n,'" was not present in field "').concat(c,'". Removing a document after it has changed can corrupt the index!'),"version_conflict")}}catch(l){r={error:l}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}},e.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},e.prototype.addFields=function(e){for(var t=0;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?e.apply(this,i):function(){for(var e=arguments.length,r=new Array(e),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};v.initial(e),v.handler(t);var n={current:e},r=d(b)(n,t),i=d(y)(n),o=d(v.changes)(e),a=d(g)(n);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return v.selector(e),e(n.current)}function c(e){p(r,i,o,a)(e)}return[s,c]}},w={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs"}};var k=function(e){return{}.toString.call(e).includes("Object")};var E={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},S=function(e){return function t(){for(var n=this,r=arguments.length,i=new Array(r),o=0;o=e.length?e.apply(this,i):function(){for(var e=arguments.length,r=new Array(e),o=0;o2&&void 0!==arguments[2])||arguments[2],r=Object(q.useRef)(!0);Object(q.useEffect)(r.current||!n?function(){r.current=!1}:e,t)};function re(){}function ie(e,t,n,r){return function(e,t){return e.editor.getModel(oe(e,t))}(e,r)||function(e,t,n,r){return e.editor.createModel(t,n,r&&oe(e,r))}(e,t,n,r)}function oe(e,t){return e.Uri.parse(t)}function ae(e){var t=e.original,n=e.modified,r=e.language,i=e.originalLanguage,o=e.modifiedLanguage,a=e.originalModelPath,s=e.modifiedModelPath,c=e.keepCurrentOriginalModel,l=e.keepCurrentModifiedModel,u=e.theme,p=e.loading,d=e.options,f=e.height,m=e.width,h=e.className,v=e.wrapperProps,g=e.beforeMount,y=e.onMount,b=Object(q.useState)(!1),x=Object(H.a)(b,2),w=x[0],k=x[1],E=Object(q.useState)(!0),S=Object(H.a)(E,2),T=S[0],_=S[1],C=Object(q.useRef)(null),O=Object(q.useRef)(null),P=Object(q.useRef)(null),j=Object(q.useRef)(y),A=Object(q.useRef)(g);te((function(){var e=G.init();return e.then((function(e){return(O.current=e)&&_(!1)})).catch((function(e){return"cancelation"!==(null===e||void 0===e?void 0:e.type)&&console.error("Monaco initialization: error:",e)})),function(){return C.current?function(){var e,t,n=C.current.getModel();c||null===(e=n.original)||void 0===e||e.dispose();l||null===(t=n.modified)||void 0===t||t.dispose();C.current.dispose()}():e.cancel()}})),ne((function(){var e=C.current.getModifiedEditor();e.getOption(O.current.editor.EditorOption.readOnly)?e.setValue(n):n!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),e.pushUndoStop())}),[n],w),ne((function(){C.current.getModel().original.setValue(t)}),[t],w),ne((function(){var e=C.current.getModel(),t=e.original,n=e.modified;O.current.editor.setModelLanguage(t,i||r),O.current.editor.setModelLanguage(n,o||r)}),[r,i,o],w),ne((function(){O.current.editor.setTheme(u)}),[u],w),ne((function(){C.current.updateOptions(d)}),[d],w);var F=Object(q.useCallback)((function(){A.current(O.current);var e=ie(O.current,t,i||r,a),c=ie(O.current,n,o||r,s);C.current.setModel({original:e,modified:c})}),[r,n,o,t,i,a,s]),L=Object(q.useCallback)((function(){C.current=O.current.editor.createDiffEditor(P.current,Object(W.a)({automaticLayout:!0},d)),F(),O.current.editor.setTheme(u),k(!0)}),[d,u,F]);return Object(q.useEffect)((function(){w&&j.current(C.current,O.current)}),[w]),Object(q.useEffect)((function(){!T&&!w&&L()}),[T,w,L]),B.a.createElement(ee,{width:m,height:f,isEditorReady:w,loading:p,_ref:P,className:h,wrapperProps:v})}ae.propTypes={original:$.a.string,modified:$.a.string,language:$.a.string,originalLanguage:$.a.string,modifiedLanguage:$.a.string,originalModelPath:$.a.string,modifiedModelPath:$.a.string,keepCurrentOriginalModel:$.a.bool,keepCurrentModifiedModel:$.a.bool,theme:$.a.string,loading:$.a.oneOfType([$.a.element,$.a.string]),options:$.a.object,width:$.a.oneOfType([$.a.number,$.a.string]),height:$.a.oneOfType([$.a.number,$.a.string]),className:$.a.string,wrapperProps:$.a.object,beforeMount:$.a.func,onMount:$.a.func},ae.defaultProps={theme:"light",loading:"Loading...",options:{},keepCurrentOriginalModel:!1,keepCurrentModifiedModel:!1,width:"100%",height:"100%",wrapperProps:{},beforeMount:re,onMount:re};var se=function(e){var t=Object(q.useRef)();return Object(q.useEffect)((function(){t.current=e}),[e]),t.current},ce=new Map;function le(e){var t=e.defaultValue,n=e.defaultLanguage,r=e.defaultPath,i=e.value,o=e.language,a=e.path,s=e.theme,c=e.line,l=e.loading,u=e.options,p=e.overrideServices,d=e.saveViewState,f=e.keepCurrentModel,m=e.width,h=e.height,v=e.className,g=e.wrapperProps,y=e.beforeMount,b=e.onMount,x=e.onChange,w=e.onValidate,k=Object(q.useState)(!1),E=Object(H.a)(k,2),S=E[0],T=E[1],_=Object(q.useState)(!0),C=Object(H.a)(_,2),O=C[0],P=C[1],j=Object(q.useRef)(null),A=Object(q.useRef)(null),F=Object(q.useRef)(null),L=Object(q.useRef)(b),D=Object(q.useRef)(y),M=Object(q.useRef)(null),N=Object(q.useRef)(i),R=se(a),z=Object(q.useRef)(!1);te((function(){var e=G.init();return e.then((function(e){return(j.current=e)&&P(!1)})).catch((function(e){return"cancelation"!==(null===e||void 0===e?void 0:e.type)&&console.error("Monaco initialization: error:",e)})),function(){return A.current?function(){var e,t;null===(e=M.current)||void 0===e||e.dispose(),f?d&&ce.set(a,A.current.saveViewState()):null===(t=A.current.getModel())||void 0===t||t.dispose();A.current.dispose()}():e.cancel()}})),ne((function(){var e=ie(j.current,t||i,n||o,a);e!==A.current.getModel()&&(d&&ce.set(R,A.current.saveViewState()),A.current.setModel(e),d&&A.current.restoreViewState(ce.get(a)))}),[a],S),ne((function(){A.current.updateOptions(u)}),[u],S),ne((function(){A.current.getOption(j.current.editor.EditorOption.readOnly)?A.current.setValue(i):i!==A.current.getValue()&&(A.current.executeEdits("",[{range:A.current.getModel().getFullModelRange(),text:i,forceMoveMarkers:!0}]),A.current.pushUndoStop())}),[i],S),ne((function(){j.current.editor.setModelLanguage(A.current.getModel(),o)}),[o],S),ne((function(){void 0!==c&&A.current.revealLine(c)}),[c],S),ne((function(){j.current.editor.setTheme(s)}),[s],S);var I=Object(q.useCallback)((function(){if(!z.current){D.current(j.current);var e=a||r,c=ie(j.current,i||t,n||o,e);A.current=j.current.editor.create(F.current,Object(W.a)({model:c,automaticLayout:!0},u),p),d&&A.current.restoreViewState(ce.get(e)),j.current.editor.setTheme(s),T(!0),z.current=!0}}),[t,n,r,i,o,a,u,p,d,s]);return Object(q.useEffect)((function(){S&&L.current(A.current,j.current)}),[S]),Object(q.useEffect)((function(){!O&&!S&&I()}),[O,S,I]),N.current=i,Object(q.useEffect)((function(){var e,t;S&&x&&(null===(e=M.current)||void 0===e||e.dispose(),M.current=null===(t=A.current)||void 0===t?void 0:t.onDidChangeModelContent((function(e){x(A.current.getValue(),e)})))}),[S,x]),Object(q.useEffect)((function(){if(S){var e=j.current.editor.onDidChangeMarkers((function(e){var t,n=null===(t=A.current.getModel())||void 0===t?void 0:t.uri;if(n&&e.find((function(e){return e.path===n.path}))){var r=j.current.editor.getModelMarkers({resource:n});null===w||void 0===w||w(r)}}));return function(){null===e||void 0===e||e.dispose()}}}),[S,w]),B.a.createElement(ee,{width:m,height:h,isEditorReady:S,loading:l,_ref:F,className:v,wrapperProps:g})}le.propTypes={defaultValue:$.a.string,defaultPath:$.a.string,defaultLanguage:$.a.string,value:$.a.string,language:$.a.string,path:$.a.string,theme:$.a.string,line:$.a.number,loading:$.a.oneOfType([$.a.element,$.a.string]),options:$.a.object,overrideServices:$.a.object,saveViewState:$.a.bool,keepCurrentModel:$.a.bool,width:$.a.oneOfType([$.a.number,$.a.string]),height:$.a.oneOfType([$.a.number,$.a.string]),className:$.a.string,wrapperProps:$.a.object,beforeMount:$.a.func,onMount:$.a.func,onChange:$.a.func,onValidate:$.a.func},le.defaultProps={theme:"light",loading:"Loading...",options:{},overrideServices:{},saveViewState:!0,keepCurrentModel:!1,width:"100%",height:"100%",wrapperProps:{},beforeMount:re,onMount:re,onValidate:re};var ue=le,pe=Object(q.memo)(ue)},,function(e,t,n){"use strict";var r=n(55),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,c=60112;t.Suspense=60113;var l=60115,u=60116;if("function"===typeof Symbol&&Symbol.for){var p=Symbol.for;i=p("react.element"),o=p("react.portal"),t.Fragment=p("react.fragment"),t.StrictMode=p("react.strict_mode"),t.Profiler=p("react.profiler"),a=p("react.provider"),s=p("react.context"),c=p("react.forward_ref"),t.Suspense=p("react.suspense"),l=p("react.memo"),u=p("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n