diff --git a/0.1/playground/assets/css/chunk-vendors.24d7bc51.chunk.css b/0.1/playground/assets/css/chunk-vendors.24d7bc51.chunk.css new file mode 100644 index 000000000..a933dbfcb --- /dev/null +++ b/0.1/playground/assets/css/chunk-vendors.24d7bc51.chunk.css @@ -0,0 +1,3 @@ +@import url(https://fonts.googleapis.com/css?family=Raleway|Righteous&display=swap); +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */.monaco-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll}.monaco-aria-container{position:absolute;left:-999em}.monaco-editor .bracket-match{box-sizing:border-box}.monaco-menu .monaco-action-bar.vertical .action-label.hover{background-color:#eee}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;z-index:1000;border:8px solid transparent;position:absolute}.monaco-editor .lightbulb-glyph{display:flex;align-items:center;justify-content:center;height:16px;width:20px;padding-left:2px}.monaco-editor .lightbulb-glyph:hover{cursor:pointer}.monaco-editor.vs .lightbulb-glyph{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+PHBhdGggZmlsbD0iI0Y2RjZGNiIgZD0iTTEzLjUgNC4yQzEzLjEgMi4xIDEwLjggMCA5LjMgMEg2LjdjLS40IDAtLjYuMi0uNi4yQzQgLjggMi41IDIuNyAyLjUgNC45YzAgLjUtLjEgMi4zIDEuNyAzLjguNS41IDEuMiAyIDEuMyAyLjR2My4zTDcuMSAxNmgybDEuNS0xLjZWMTFjLjEtLjQuOC0xLjkgMS4zLTIuMyAxLjEtLjkgMS41LTEuOSAxLjYtMi43VjQuMnoiLz48cGF0aCBkPSJNNi41IDEyaDN2MWgtM3ptMSAzaDEuMWwuOS0xaC0zeiIgZmlsbD0iIzg0ODQ4NCIvPjxwYXRoIGZpbGw9IiNmYzAiIGQ9Ik0xMi42IDVjMC0yLjMtMS44LTQuMS00LjEtNC4xLS4xIDAtMS40LjEtMS40LjEtMi4xLjMtMy43IDItMy43IDQgMCAuMS0uMiAxLjYgMS40IDMgLjcuNyAxLjUgMi40IDEuNiAyLjlsLjEuMWgzbC4xLS4yYy4xLS41LjktMi4yIDEuNi0yLjkgMS42LTEuMyAxLjQtMi44IDEuNC0yLjl6bS0zIDFsLS41IDNoLS42VjZjMS4xIDAgLjktMSAuOS0xSDYuNXYuMWMwIC4yLjEuOSAxIC45djNIN2wtLjItLjdMNi41IDZjLS43IDAtLjktLjQtMS0uN3YtLjRjMC0uOC45LS45LjktLjloMy4xczEgLjEgMSAxYzAgMCAuMSAxLS45IDF6Ii8+PHBhdGggZmlsbD0iI0YwRUZGMSIgZD0iTTEwLjUgNWMwLS45LTEtMS0xLTFINi40cy0uOS4xLS45Ljl2LjRjMCAuMy4zLjcuOS43bC40IDIuMy4yLjdoLjVWNmMtMSAwLTEtLjctMS0uOVY1aDNzLjEgMS0uOSAxdjNoLjZsLjUtM2MuOSAwIC44LTEgLjgtMXoiLz48L3N2Zz4=") 50% no-repeat}.monaco-editor.vs .lightbulb-glyph.autofixable{background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjAwMSA0LjJjLS40LTIuMS0yLjctNC4yLTQuMi00LjJoLTIuNmMtLjQgMC0uNi4yLS42LjItMi4xLjYtMy42IDIuNS0zLjYgNC43IDAgLjUtLjEgMi4zIDEuNyAzLjguNS41IDEuMiAyIDEuMyAyLjR2My4zbDEuNiAxLjZoMmwxLjUtMS42VjExYy4xLS40LjgtMS45IDEuMy0yLjMgMS4xLS45IDEuNS0xLjkgMS42LTIuN1Y0LjJ6IiBmaWxsPSIjRjZGNkY2Ii8+PHBhdGggZD0iTTYuMDAxIDEyaDN2MWgtM3YtMXptMSAzaDEuMWwuOS0xaC0zbDEgMXoiIGZpbGw9IiM4NDg0ODQiLz48cGF0aCBkPSJNMTIuMTAxIDVjMC0yLjMtMS44LTQuMS00LjEtNC4xLS4xIDAtMS40LjEtMS40LjEtMi4xLjMtMy43IDItMy43IDQgMCAuMS0uMiAxLjYgMS40IDMgLjcuNyAxLjUgMi40IDEuNiAyLjlsLjEuMWgzbC4xLS4yYy4xLS41LjktMi4yIDEuNi0yLjkgMS42LTEuMyAxLjQtMi44IDEuNC0yLjl6bS0zIDFsLS41IDNoLS42VjZjMS4xIDAgLjktMSAuOS0xaC0yLjl2LjFjMCAuMi4xLjkgMSAuOXYzaC0uNWwtLjItLjctLjMtMi4zYy0uNyAwLS45LS40LTEtLjd2LS40YzAtLjguOS0uOS45LS45aDMuMXMxIC4xIDEgMWMwIDAgLjEgMS0uOSAxeiIgZmlsbD0iI0ZDMCIvPjxwYXRoIGQ9Ik0xMC4wMDEgNWMwLS45LTEtMS0xLTFoLTMuMXMtLjkuMS0uOS45di40YzAgLjMuMy43LjkuN2wuNCAyLjMuMi43aC41VjZjLTEgMC0xLS43LTEtLjlWNWgzcy4xIDEtLjkgMXYzaC42bC41LTNjLjkgMCAuOC0xIC44LTF6IiBmaWxsPSIjRjBFRkYxIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04IDEyYzAtMi4yMjYgMS43NzQtNCA0LTRzNCAxLjc3NCA0IDQtMS43NzQgNC00IDQtNC0xLjc3NC00LTR6IiBmaWxsPSIjRjZGNkY2Ii8+PHBhdGggZD0iTTEyLjMyIDEyLjMwM2wxLjAzIDEuMDMtLjAxNy4wMTctMS4wMy0xLjAzLS4zMDMtLjMwNC0uMzAzLjMwMy0xLjAzIDEuMDMtLjAxNi0uMDE2IDEuMDMtMS4wMy4zMDMtLjMwMy0uMzAzLS4zMDMtMS4wMy0xLjAzLjAxNi0uMDE2IDEuMDMgMS4wMy4zMDMuMzAzLjMwMy0uMzAzIDEuMDMtMS4wMy4wMTcuMDE2LTEuMDMgMS4wMy0uMzA0LjMwMy4zMDMuMzAzek0xMiA4LjQ2QTMuNTIgMy41MiAwIDAwOC40NiAxMiAzLjUyIDMuNTIgMCAwMDEyIDE1LjU0IDMuNTIgMy41MiAwIDAwMTUuNTQgMTIgMy41MiAzLjUyIDAgMDAxMiA4LjQ2eiIgZmlsbD0iIzAwN0FDQyIgc3Ryb2tlPSIjRjZGNkY2IiBzdHJva2Utd2lkdGg9Ii44NTciLz48cGF0aCBkPSJNMTIuNjIzIDEybDEuMzMzIDEuMzM0LS42MjIuNjIyTDEyIDEyLjYyM2wtMS4zMzMgMS4zMzMtLjYyMi0uNjIyTDExLjM3OCAxMmwtMS4zMzMtMS4zMzMuNjIyLS42MjJMMTIgMTEuMzc4bDEuMzM0LTEuMzMzLjYyMi42MjJMMTIuNjIzIDEyeiIgZmlsbD0iIzAwN0FDQyIvPjxwYXRoIGQ9Ik0xMC43MDQgMTRsLjQ5OS0xLjUyOUwxMCAxMS42NGgxLjQ3M0wxMiAxMGwuNTM2IDEuNjRIMTRsLTEuMjAzLjgzMS41MDggMS41MjlMMTIgMTMuMDI0IDEwLjcwNCAxNHoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=") 50% no-repeat}.monaco-editor.hc-black .lightbulb-glyph,.monaco-editor.vs-dark .lightbulb-glyph{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTEzLjUgNC4yQzEzLjEgMi4xIDEwLjggMCA5LjMgMEg2LjdjLS40IDAtLjYuMi0uNi4yQzQgLjggMi41IDIuNyAyLjUgNC45YzAgLjUtLjEgMi4zIDEuNyAzLjguNS41IDEuMiAyIDEuMyAyLjR2My4zTDcuMSAxNmgybDEuNS0xLjZWMTFjLjEtLjQuOC0xLjkgMS4zLTIuMyAxLjEtLjkgMS41LTEuOSAxLjYtMi43VjQuMnoiLz48cGF0aCBkPSJNNi41IDEyaDN2MWgtM3ptMSAzaDEuMWwuOS0xaC0zeiIgZmlsbD0iI0M1QzVDNSIvPjxwYXRoIGZpbGw9IiNEREIyMDQiIGQ9Ik0xMi42IDVjMC0yLjMtMS44LTQuMS00LjEtNC4xLS4xIDAtMS40LjEtMS40LjEtMi4xLjMtMy43IDItMy43IDQgMCAuMS0uMiAxLjYgMS40IDMgLjcuNyAxLjUgMi40IDEuNiAyLjlsLjEuMWgzbC4xLS4yYy4xLS41LjktMi4yIDEuNi0yLjkgMS42LTEuMyAxLjQtMi44IDEuNC0yLjl6bS0zIDFsLS41IDNoLS42VjZjMS4xIDAgLjktMSAuOS0xSDYuNXYuMWMwIC4yLjEuOSAxIC45djNIN2wtLjItLjdMNi41IDZjLS43IDAtLjktLjQtMS0uN3YtLjRjMC0uOC45LS45LjktLjloMy4xczEgLjEgMSAxYzAgMCAuMSAxLS45IDF6Ii8+PHBhdGggZmlsbD0iIzI1MjUyNiIgZD0iTTEwLjUgNWMwLS45LTEtMS0xLTFINi40cy0uOS4xLS45Ljl2LjRjMCAuMy4zLjcuOS43bC40IDIuMy4yLjdoLjVWNmMtMSAwLTEtLjctMS0uOVY1aDNzLjEgMS0uOSAxdjNoLjZsLjUtM2MuOSAwIC44LTEgLjgtMXoiLz48L3N2Zz4=") 50% no-repeat}.monaco-editor.hc-black .lightbulb-glyph.autofixable,.monaco-editor.vs-dark .lightbulb-glyph.autofixable{background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjAwMSA0LjJjLS40LTIuMS0yLjctNC4yLTQuMi00LjJoLTIuNmMtLjQgMC0uNi4yLS42LjItMi4xLjYtMy42IDIuNS0zLjYgNC43IDAgLjUtLjEgMi4zIDEuNyAzLjguNS41IDEuMiAyIDEuMyAyLjR2My4zbDEuNiAxLjZoMmwxLjUtMS42VjExYy4xLS40LjgtMS45IDEuMy0yLjMgMS4xLS45IDEuNS0xLjkgMS42LTIuN1Y0LjJ6IiBmaWxsPSIjMUUxRTFFIi8+PHBhdGggZD0iTTYuMDAxIDEyaDN2MWgtM3YtMXptMSAzaDEuMWwuOS0xaC0zbDEgMXoiIGZpbGw9IiNDNUM1QzUiLz48cGF0aCBkPSJNMTIuMTAxIDVjMC0yLjMtMS44LTQuMS00LjEtNC4xLS4xIDAtMS40LjEtMS40LjEtMi4xLjMtMy43IDItMy43IDQgMCAuMS0uMiAxLjYgMS40IDMgLjcuNyAxLjUgMi40IDEuNiAyLjlsLjEuMWgzbC4xLS4yYy4xLS41LjktMi4yIDEuNi0yLjkgMS42LTEuMyAxLjQtMi44IDEuNC0yLjl6bS0zIDFsLS41IDNoLS42VjZjMS4xIDAgLjktMSAuOS0xaC0yLjl2LjFjMCAuMi4xLjkgMSAuOXYzaC0uNWwtLjItLjctLjMtMi4zYy0uNyAwLS45LS40LTEtLjd2LS40YzAtLjguOS0uOS45LS45aDMuMXMxIC4xIDEgMWMwIDAgLjEgMS0uOSAxeiIgZmlsbD0iI0REQjIwNCIvPjxwYXRoIGQ9Ik0xMC4wMDEgNWMwLS45LTEtMS0xLTFoLTMuMXMtLjkuMS0uOS45di40YzAgLjMuMy43LjkuN2wuNCAyLjMuMi43aC41VjZjLTEgMC0xLS43LTEtLjlWNWgzcy4xIDEtLjkgMXYzaC42bC41LTNjLjkgMCAuOC0xIC44LTF6IiBmaWxsPSIjMjUyNTI2Ii8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04IDEyYzAtMi4yMjYgMS43NzQtNCA0LTRzNCAxLjc3NCA0IDQtMS43NzQgNC00IDQtNC0xLjc3NC00LTR6IiBmaWxsPSIjMUUxRTFFIi8+PHBhdGggZD0iTTEyLjMyIDEyLjMwM2wxLjAzIDEuMDMtLjAxNy4wMTctMS4wMy0xLjAzLS4zMDMtLjMwNC0uMzAzLjMwMy0xLjAzIDEuMDMtLjAxNi0uMDE2IDEuMDMtMS4wMy4zMDMtLjMwMy0uMzAzLS4zMDMtMS4wMy0xLjAzLjAxNi0uMDE2IDEuMDMgMS4wMy4zMDMuMzAzLjMwMy0uMzAzIDEuMDMtMS4wMy4wMTcuMDE2LTEuMDMgMS4wMy0uMzA0LjMwMy4zMDMuMzAzek0xMiA4LjQ2QTMuNTIgMy41MiAwIDAwOC40NiAxMiAzLjUyIDMuNTIgMCAwMDEyIDE1LjU0IDMuNTIgMy41MiAwIDAwMTUuNTQgMTIgMy41MiAzLjUyIDAgMDAxMiA4LjQ2eiIgZmlsbD0iIzAwN0FDQyIgc3Ryb2tlPSIjMUUxRTFFIiBzdHJva2Utd2lkdGg9Ii44NTciLz48cGF0aCBkPSJNMTIuNjIzIDEybDEuMzMzIDEuMzM0LS42MjIuNjIyTDEyIDEyLjYyM2wtMS4zMzMgMS4zMzMtLjYyMi0uNjIyTDExLjM3OCAxMmwtMS4zMzMtMS4zMzMuNjIyLS42MjJMMTIgMTEuMzc4bDEuMzM0LTEuMzMzLjYyMi42MjJMMTIuNjIzIDEyeiIgZmlsbD0iIzAwN0FDQyIvPjxwYXRoIGQ9Ik0xMC43MDQgMTRsLjQ5OS0xLjUyOUwxMCAxMS42NGgxLjQ3M0wxMiAxMGwuNTM2IDEuNjRIMTRsLTEuMjAzLjgzMS41MDggMS41MjlMMTIgMTMuMDI0IDEwLjcwNCAxNHoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=") 50% no-repeat}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis}.monaco-editor .codelens-decoration>a,.monaco-editor .codelens-decoration>span{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{text-decoration:underline;cursor:pointer}.monaco-editor .codelens-decoration.invisible-cl{opacity:0}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.monaco-action-bar{text-align:right;overflow:hidden;white-space:nowrap}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;width:100%;justify-content:flex-end}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar.reverse .actions-container{flex-direction:row-reverse}.monaco-action-bar .action-item{cursor:pointer;display:inline-block;transition:transform 50ms ease;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar.animated .action-item.active{transform:scale(1.272019649)}.monaco-action-bar .action-item .icon{display:inline-block}.monaco-action-bar .action-label{font-size:11px;margin-right:4px}.monaco-action-bar .action-label.octicon{font-size:15px;line-height:35px;text-align:center}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.4}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar.animated.vertical .action-item.active{transform:translate(5px)}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center}.monaco-editor.vs .dnd-target{border-right:2px dotted #000;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #aeafad;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.hc-black.mac.mouse-default .view-lines,.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines{cursor:default}.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines{cursor:copy}.monaco-custom-checkbox{margin-left:2px;float:left;cursor:pointer;overflow:hidden;opacity:.7;width:20px;height:20px;border:1px solid transparent;padding:1px;-webkit-box-sizing:border-box;-o-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}.monaco-custom-checkbox.checked,.monaco-custom-checkbox:hover{opacity:1}.hc-black .monaco-custom-checkbox,.hc-black .monaco-custom-checkbox:hover{background:none}.vs .monaco-custom-checkbox.monaco-case-sensitive{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHN0eWxlPi5zdDJ7ZmlsbDojNDI0MjQyfTwvc3R5bGU+PHBhdGggZD0iTTE0LjE3NiA1LjU5MmMtLjU1NS0uNi0xLjMzNi0uOTA0LTIuMzIyLS45MDQtLjI1OCAwLS41MjEuMDI0LS43ODQuMDcyYTUuOTI0IDUuOTI0IDAgMDAtLjcuMTY5IDUuMTUgNS4xNSAwIDAwLS42MTMuMjI5IDMuMDIgMy4wMiAwIDAwLS41MTIuMjg0bC0uNDE5LjI5OXYyLjcwMWEyLjQ3NyAyLjQ3NyAwIDAwLS4yMjkuMzQ0bC0yLjQ1LTYuMzU0SDMuNzUzTDAgMTIuMjM2di41OThoMy4wMjVsLjgzOC0yLjM1SDYuMDNsLjg5MSAyLjM1aDMuMjM3bC0uMDAxLS4wMDNjLjMwNS4wOTIuNjMzLjE1Ljk5My4xNS4zNDQgMCAuNjcxLS4wNDkuOTc4LS4xNDZoMi44NTNWNy45MzJjLS4wMDEtLjk3NS0uMjcxLTEuNzYzLS44MDUtMi4zNHoiIGZpbGw9IiNmNmY2ZjYiIGlkPSJvdXRsaW5lIi8+PGcgaWQ9Imljb25feDVGX2JnIj48cGF0aCBjbGFzcz0ic3QyIiBkPSJNNy42MTEgMTEuODM0bC0uODkxLTIuMzVIMy4xNThsLS44MzggMi4zNUgxLjIyNWwzLjIxNy04LjQwMmgxLjAybDMuMjQgOC40MDJINy42MTF6TTUuMDggNS4wMmwtLjA0NC0uMTM1LS4wMzgtLjE1Ni0uMDI5LS4xNTItLjAyNC0uMTI2aC0uMDIzbC0uMDIxLjEyNi0uMDMyLjE1Mi0uMDM4LjE1Ni0uMDQ0LjEzNUwzLjQ4IDguNTk0aDIuOTE4TDUuMDggNS4wMnpNMTMuMDIgMTEuODM0di0uOTM4aC0uMDIzYy0uMTk5LjM1Mi0uNDU2LjYyLS43NzEuODA2cy0uNjczLjI3OC0xLjA3NS4yNzhjLS4zMTMgMC0uNTg4LS4wNDUtLjgyNi0uMTM1cy0uNDM4LS4yMTItLjU5OC0uMzY2LS4yODEtLjMzOC0uMzYzLS41NTEtLjEyNC0uNDQyLS4xMjQtLjY4OGMwLS4yNjIuMDM5LS41MDIuMTE3LS43MjFzLjE5OC0uNDEyLjM2LS41OC4zNjctLjMwOC42MTUtLjQxOS41NDQtLjE5Ljg4OC0uMjM3bDEuODExLS4yNTJjMC0uMjczLS4wMjktLjUwNy0uMDg4LS43cy0uMTQzLS4zNTEtLjI1Mi0uNDcyLS4yNDEtLjIxLS4zOTYtLjI2Ny0uMzI1LS4wODUtLjUxMy0uMDg1Yy0uMzYzIDAtLjcxNC4wNjQtMS4wNTIuMTkzcy0uNjM4LjMxLS45MDQuNTR2LS45ODRjLjA4Mi0uMDU5LjE5Ni0uMTIxLjM0My0uMTg4cy4zMTItLjEyOC40OTUtLjE4NS4zNzgtLjEwNC41ODMtLjE0MS40MDctLjA1Ni42MDYtLjA1NmMuNjk5IDAgMS4yMjkuMTk0IDEuNTg4LjU4M3MuNTM5Ljk0Mi41MzkgMS42NjF2My45MDJoLS45NnptLTEuNDU0LTIuODNjLS4yNzMuMDM1LS40OTguMDg1LS42NzQuMTQ5cy0uMzEzLjE0NC0uNDEuMjM3LS4xNjUuMjA1LS4yMDIuMzM0LS4wNTUuMjc2LS4wNTUuNDRjMCAuMTQxLjAyNS4yNzEuMDc2LjM5M3MuMTI0LjIyNy4yMi4zMTYuMjE1LjE2LjM1Ny4yMTEuMzA4LjA3Ni40OTUuMDc2Yy4yNDIgMCAuNDY1LS4wNDUuNjY4LS4xMzVzLjM3OC0uMjE0LjUyNC0uMzcyLjI2MS0uMzQ0LjM0My0uNTU3LjEyMy0uNDQyLjEyMy0uNjg4di0uNjA5bC0xLjQ2NS4yMDV6Ii8+PC9nPjwvc3ZnPg==") 50% no-repeat}.hc-black .monaco-custom-checkbox.monaco-case-sensitive,.hc-black .monaco-custom-checkbox.monaco-case-sensitive:hover,.vs-dark .monaco-custom-checkbox.monaco-case-sensitive{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHN0eWxlPi5zdDJ7ZmlsbDojYzVjNWM1fTwvc3R5bGU+PHBhdGggZD0iTTE0LjE3NiA1LjU5MmMtLjU1NS0uNi0xLjMzNi0uOTA0LTIuMzIyLS45MDQtLjI1OCAwLS41MjEuMDI0LS43ODQuMDcyYTUuOTI0IDUuOTI0IDAgMDAtLjcuMTY5IDUuMTUgNS4xNSAwIDAwLS42MTMuMjI5IDMuMDIgMy4wMiAwIDAwLS41MTIuMjg0bC0uNDE5LjI5OXYyLjcwMWEyLjQ3NyAyLjQ3NyAwIDAwLS4yMjkuMzQ0bC0yLjQ1LTYuMzU0SDMuNzUzTDAgMTIuMjM2di41OThoMy4wMjVsLjgzOC0yLjM1SDYuMDNsLjg5MSAyLjM1aDMuMjM3bC0uMDAxLS4wMDNjLjMwNS4wOTIuNjMzLjE1Ljk5My4xNS4zNDQgMCAuNjcxLS4wNDkuOTc4LS4xNDZoMi44NTNWNy45MzJjLS4wMDEtLjk3NS0uMjcxLTEuNzYzLS44MDUtMi4zNHoiIGZpbGw9IiMyNjI2MjYiIGlkPSJvdXRsaW5lIi8+PGcgaWQ9Imljb25feDVGX2JnIj48cGF0aCBjbGFzcz0ic3QyIiBkPSJNNy42MTEgMTEuODM0bC0uODkxLTIuMzVIMy4xNThsLS44MzggMi4zNUgxLjIyNWwzLjIxNy04LjQwMmgxLjAybDMuMjQgOC40MDJINy42MTF6TTUuMDggNS4wMmwtLjA0NC0uMTM1LS4wMzgtLjE1Ni0uMDI5LS4xNTItLjAyNC0uMTI2aC0uMDIzbC0uMDIxLjEyNi0uMDMyLjE1Mi0uMDM4LjE1Ni0uMDQ0LjEzNUwzLjQ4IDguNTk0aDIuOTE4TDUuMDggNS4wMnpNMTMuMDIgMTEuODM0di0uOTM4aC0uMDIzYy0uMTk5LjM1Mi0uNDU2LjYyLS43NzEuODA2cy0uNjczLjI3OC0xLjA3NS4yNzhjLS4zMTMgMC0uNTg4LS4wNDUtLjgyNi0uMTM1cy0uNDM4LS4yMTItLjU5OC0uMzY2LS4yODEtLjMzOC0uMzYzLS41NTEtLjEyNC0uNDQyLS4xMjQtLjY4OGMwLS4yNjIuMDM5LS41MDIuMTE3LS43MjFzLjE5OC0uNDEyLjM2LS41OC4zNjctLjMwOC42MTUtLjQxOS41NDQtLjE5Ljg4OC0uMjM3bDEuODExLS4yNTJjMC0uMjczLS4wMjktLjUwNy0uMDg4LS43cy0uMTQzLS4zNTEtLjI1Mi0uNDcyLS4yNDEtLjIxLS4zOTYtLjI2Ny0uMzI1LS4wODUtLjUxMy0uMDg1Yy0uMzYzIDAtLjcxNC4wNjQtMS4wNTIuMTkzcy0uNjM4LjMxLS45MDQuNTR2LS45ODRjLjA4Mi0uMDU5LjE5Ni0uMTIxLjM0My0uMTg4cy4zMTItLjEyOC40OTUtLjE4NS4zNzgtLjEwNC41ODMtLjE0MS40MDctLjA1Ni42MDYtLjA1NmMuNjk5IDAgMS4yMjkuMTk0IDEuNTg4LjU4M3MuNTM5Ljk0Mi41MzkgMS42NjF2My45MDJoLS45NnptLTEuNDU0LTIuODNjLS4yNzMuMDM1LS40OTguMDg1LS42NzQuMTQ5cy0uMzEzLjE0NC0uNDEuMjM3LS4xNjUuMjA1LS4yMDIuMzM0LS4wNTUuMjc2LS4wNTUuNDRjMCAuMTQxLjAyNS4yNzEuMDc2LjM5M3MuMTI0LjIyNy4yMi4zMTYuMjE1LjE2LjM1Ny4yMTEuMzA4LjA3Ni40OTUuMDc2Yy4yNDIgMCAuNDY1LS4wNDUuNjY4LS4xMzVzLjM3OC0uMjE0LjUyNC0uMzcyLjI2MS0uMzQ0LjM0My0uNTU3LjEyMy0uNDQyLjEyMy0uNjg4di0uNjA5bC0xLjQ2NS4yMDV6Ii8+PC9nPjwvc3ZnPg==") 50% no-repeat}.vs .monaco-custom-checkbox.monaco-whole-word{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHN0eWxlPi5zdDJ7ZmlsbDojNDI0MjQyfTwvc3R5bGU+PHBhdGggZD0iTTE2IDQuMDIyVjFILS4wMTR2My4wMjJoMy4wNDZsLTMuMDQzIDcuOTQ1aC0uMDA0di4wMUwwIDEzaC0uMDE0djEuOTkxSDE2di0zLjAyM2gtMVY0LjAyMmgxem0tNS45MTQgNS4zMDFjMCAuMjMzLS4wMjMuNDQxLS4wNjYuNTk1YS44Ni44NiAwIDAxLS4xMjcuMjg0bC0uMDc4LjA2OS0uMTUxLjAyNi0uMTE1LS4wMTctLjEzOS0uMTM3YTEuNzc0IDEuNzc0IDAgMDEtLjExMi0uNTY2YzAtLjI1NC4wOTEtLjU2MS4xMjYtLjY1NmwuMDY5LS4xNDEuMTA5LS4wODIuMTc4LS4wMjdjLjA3NyAwIC4xMTcuMDE0LjE3Ny4wNTZsLjA4Ny4xNzkuMDUxLjIzNy0uMDA5LjE4ek02LjM5MSA0LjAyMnYyLjg5M0w1LjI3NSA0LjAyMmgxLjExNnptLTMuMDI2IDcuMDJoMS41NzNsLjM1MS45MjZIMy4wMzVsLjMzLS45MjZ6TTEyIDYuNjg4Yy0uMjA2LS4yLS40MzEtLjM4LS42OTUtLjUxMmEzLjAwNiAzLjAwNiAwIDAwLTEuMzU1LS4yOThjLS4yMTUgMC0uNDIzLjAyLS42MjEuMDU4VjQuMDIySDEydjIuNjY2eiIgZmlsbD0iI2Y2ZjZmNiIgaWQ9Im91dGxpbmUiLz48ZyBpZD0iaWNvbl94NUZfYmciPjxwYXRoIGNsYXNzPSJzdDIiIGQ9Ik0xMyA0aDF2OGgtMXpNMTEuMjI1IDguMzg3Yy0uMDc4LS4yOTktLjE5OS0uNTYyLS4zNi0uNzg2cy0uMzY1LS40MDEtLjYwOS0uNTMtLjUzNC0uMTkzLS44NjYtLjE5M2MtLjE5OCAwLS4zOC4wMjQtLjU0Ny4wNzNhMS43NiAxLjc2IDAgMDAtLjQ1My4yMDUgMS43MjQgMS43MjQgMCAwMC0uMzY1LjMxOGwtLjE3OS4yNThWNC41NzhoLS44OTNWMTJoLjg5M3YtLjU3NWwuMTI2LjE3NWMuMDg3LjEwMi4xODkuMTkuMzA0LjI2OS4xMTcuMDc4LjI0OS4xNC4zOTguMTg2LjE0OS4wNDYuMzE0LjA2OC40OTguMDY4LjM1MyAwIC42NjYtLjA3MS45MzctLjIxMi4yNzItLjE0My40OTktLjMzOC42ODItLjU4Ni4xODMtLjI1LjMyMS0uNTQzLjQxNC0uODc5LjA5My0uMzM4LjE0LS43MDMuMTQtMS4wOTdhMy43NTYgMy43NTYgMCAwMC0uMTItLjk2MnpNOS43NDYgNy43OGMuMTUxLjA3MS4yODIuMTc2LjM5LjMxNC4xMDkuMTQuMTk0LjMxMy4yNTUuNTE3LjA1MS4xNzQuMDgyLjM3MS4wODkuNTg3bC0uMDA3LjEyNWMwIC4zMjctLjAzMy42Mi0uMS44NjlhMS44ODYgMS44ODYgMCAwMS0uMjc4LjYxNGMtLjExNy4xNjItLjI2LjI4NS0uNDIxLjM2Ni0uMzIyLjE2Mi0uNzYuMTY2LTEuMDY5LjAxNWExLjI2NCAxLjI2NCAwIDAxLS4zOTMtLjI5NiAxLjI3MyAxLjI3MyAwIDAxLS4yMTgtLjM2N3MtLjE3OS0uNDQ3LS4xNzktLjk0N2MwLS41LjE3OS0xLjAwMi4xNzktMS4wMDIuMDYyLS4xNzcuMTM2LS4zMTguMjI0LS40My4xMTQtLjE0My4yNTYtLjI1OS40MjQtLjM0NS4xNjgtLjA4Ni4zNjUtLjEyOS41ODctLjEyOS4xOSAwIC4zNjQuMDM3LjUxNy4xMDl6TS45ODcgMkgxNXYxLjAyM0guOTg3ek0uOTg3IDEyLjk2OEgxNXYxLjAyM0guOTg3ek0xLjk5MSAxMi4wMzFMMi43MTkgMTBoMi4yMTlsLjc3OCAyLjAzMWgxLjA4Mkw0LjMxMyA0Ljg3M2gtLjk0MUwuOTMxIDExLjk1OWwtLjAyNS4wNzJoMS4wODV6bTEuODI3LTUuNjA5aC4wMjJsLjkxNCAyLjc1M0gyLjkxM2wuOTA1LTIuNzUzeiIvPjwvZz48L3N2Zz4=") 50% no-repeat}.hc-black .monaco-custom-checkbox.monaco-whole-word,.hc-black .monaco-custom-checkbox.monaco-whole-word:hover,.vs-dark .monaco-custom-checkbox.monaco-whole-word{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHN0eWxlPi5zdDJ7ZmlsbDojYzVjNWM1fTwvc3R5bGU+PHBhdGggZD0iTTE2IDQuMDIyVjFILS4wMTR2My4wMjJoMy4wNDZsLTMuMDQzIDcuOTQ1aC0uMDA0di4wMUwwIDEzaC0uMDE0djEuOTkxSDE2di0zLjAyM2gtMVY0LjAyMmgxem0tNS45MTQgNS4zMDFjMCAuMjMzLS4wMjMuNDQxLS4wNjYuNTk1YS44Ni44NiAwIDAxLS4xMjcuMjg0bC0uMDc4LjA2OS0uMTUxLjAyNi0uMTE1LS4wMTctLjEzOS0uMTM3YTEuNzc0IDEuNzc0IDAgMDEtLjExMi0uNTY2YzAtLjI1NC4wOTEtLjU2MS4xMjYtLjY1NmwuMDY5LS4xNDEuMTA5LS4wODIuMTc4LS4wMjdjLjA3NyAwIC4xMTcuMDE0LjE3Ny4wNTZsLjA4Ny4xNzkuMDUxLjIzNy0uMDA5LjE4ek02LjM5MSA0LjAyMnYyLjg5M0w1LjI3NSA0LjAyMmgxLjExNnptLTMuMDI2IDcuMDJoMS41NzNsLjM1MS45MjZIMy4wMzVsLjMzLS45MjZ6TTEyIDYuNjg4Yy0uMjA2LS4yLS40MzEtLjM4LS42OTUtLjUxMmEzLjAwNiAzLjAwNiAwIDAwLTEuMzU1LS4yOThjLS4yMTUgMC0uNDIzLjAyLS42MjEuMDU4VjQuMDIySDEydjIuNjY2eiIgZmlsbD0iIzI2MjYyNiIgaWQ9Im91dGxpbmUiLz48ZyBpZD0iaWNvbl94NUZfYmciPjxwYXRoIGNsYXNzPSJzdDIiIGQ9Ik0xMyA0aDF2OGgtMXpNMTEuMjI1IDguMzg3Yy0uMDc4LS4yOTktLjE5OS0uNTYyLS4zNi0uNzg2cy0uMzY1LS40MDEtLjYwOS0uNTMtLjUzNC0uMTkzLS44NjYtLjE5M2MtLjE5OCAwLS4zOC4wMjQtLjU0Ny4wNzNhMS43NiAxLjc2IDAgMDAtLjQ1My4yMDUgMS43MjQgMS43MjQgMCAwMC0uMzY1LjMxOGwtLjE3OS4yNThWNC41NzhoLS44OTNWMTJoLjg5M3YtLjU3NWwuMTI2LjE3NWMuMDg3LjEwMi4xODkuMTkuMzA0LjI2OS4xMTcuMDc4LjI0OS4xNC4zOTguMTg2LjE0OS4wNDYuMzE0LjA2OC40OTguMDY4LjM1MyAwIC42NjYtLjA3MS45MzctLjIxMi4yNzItLjE0My40OTktLjMzOC42ODItLjU4Ni4xODMtLjI1LjMyMS0uNTQzLjQxNC0uODc5LjA5My0uMzM4LjE0LS43MDMuMTQtMS4wOTdhMy43NTYgMy43NTYgMCAwMC0uMTItLjk2MnpNOS43NDYgNy43OGMuMTUxLjA3MS4yODIuMTc2LjM5LjMxNC4xMDkuMTQuMTk0LjMxMy4yNTUuNTE3LjA1MS4xNzQuMDgyLjM3MS4wODkuNTg3bC0uMDA3LjEyNWMwIC4zMjctLjAzMy42Mi0uMS44NjlhMS44ODYgMS44ODYgMCAwMS0uMjc4LjYxNGMtLjExNy4xNjItLjI2LjI4NS0uNDIxLjM2Ni0uMzIyLjE2Mi0uNzYuMTY2LTEuMDY5LjAxNWExLjI2NCAxLjI2NCAwIDAxLS4zOTMtLjI5NiAxLjI3MyAxLjI3MyAwIDAxLS4yMTgtLjM2N3MtLjE3OS0uNDQ3LS4xNzktLjk0N2MwLS41LjE3OS0xLjAwMi4xNzktMS4wMDIuMDYyLS4xNzcuMTM2LS4zMTguMjI0LS40My4xMTQtLjE0My4yNTYtLjI1OS40MjQtLjM0NS4xNjgtLjA4Ni4zNjUtLjEyOS41ODctLjEyOS4xOSAwIC4zNjQuMDM3LjUxNy4xMDl6TS45ODcgMkgxNXYxLjAyM0guOTg3ek0uOTg3IDEyLjk2OEgxNXYxLjAyM0guOTg3ek0xLjk5MSAxMi4wMzFMMi43MTkgMTBoMi4yMTlsLjc3OCAyLjAzMWgxLjA4Mkw0LjMxMyA0Ljg3M2gtLjk0MUwuOTMxIDExLjk1OWwtLjAyNS4wNzJoMS4wODV6bTEuODI3LTUuNjA5aC4wMjJsLjkxNCAyLjc1M0gyLjkxM2wuOTA1LTIuNzUzeiIvPjwvZz48L3N2Zz4=") 50% no-repeat}.vs .monaco-custom-checkbox.monaco-regex{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0Y2RjZGNiIgZD0iTTEzLjY0IDcuMzk2bC0xLjQ3MS00LjQ5OC0xLjQ2My44NjNMMTEuMDg3IDJoLTQuNTNsLjM3OSAxLjc2Mi0xLjQ2My0uODY0TDQgNy4zOTZsMS42ODIuMTU4LTEuMTY5IDEuMDA3LjUuNDM5SDJ2NWg1di0zLjI1M2wuOTc4Ljg1OS44NDItMS44ODEuODQxIDEuODc3IDMuNDgzLTMuMDQtMS4xNzYtMS4wMDh6Ii8+PGcgZmlsbD0iIzQyNDI0MiI+PHBhdGggZD0iTTEyLjMwMSA2LjUxOGwtMi43NzIuMjYyIDIuMDg2IDEuNzg4LTEuNTk0IDEuMzkyTDguODIgNy4yNzggNy42MTkgOS45NiA2LjAzNiA4LjU2OCA4LjExMSA2Ljc4IDUuMzQgNi41MThsLjY5Ni0yLjEyNiAyLjM1OCAxLjM5Mkw3Ljc5NSAzaDIuMDUzbC0uNjAyIDIuNzgzIDIuMzU5LTEuMzkyLjY5NiAyLjEyN3pNMyAxMGgzdjNIM3oiLz48L2c+PC9zdmc+") 50% no-repeat}.hc-black .monaco-custom-checkbox.monaco-regex,.hc-black .monaco-custom-checkbox.monaco-regex:hover,.vs-dark .monaco-custom-checkbox.monaco-regex{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iIzJkMmQzMCIgZD0iTTEzLjY0IDcuMzk2bC0xLjQ3MS00LjQ5OC0xLjQ2My44NjNMMTEuMDg3IDJoLTQuNTNsLjM3OSAxLjc2Mi0xLjQ2My0uODY0TDQgNy4zOTZsMS42ODIuMTU4LTEuMTY5IDEuMDA3LjUuNDM5SDJ2NWg1di0zLjI1M2wuOTc4Ljg1OS44NDItMS44ODEuODQxIDEuODc3IDMuNDgzLTMuMDQtMS4xNzYtMS4wMDh6Ii8+PGcgZmlsbD0iI0M1QzVDNSI+PHBhdGggZD0iTTEyLjMwMSA2LjUxOGwtMi43NzIuMjYyIDIuMDg2IDEuNzg4LTEuNTk0IDEuMzkyTDguODIgNy4yNzggNy42MTkgOS45NiA2LjAzNiA4LjU2OCA4LjExMSA2Ljc4IDUuMzQgNi41MThsLjY5Ni0yLjEyNiAyLjM1OCAxLjM5Mkw3Ljc5NSAzaDIuMDUzbC0uNjAyIDIuNzgzIDIuMzU5LTEuMzkyLjY5NiAyLjEyN3pNMyAxMGgzdjNIM3oiLz48L2c+PC9zdmc+") 50% no-repeat}.monaco-checkbox .label{width:12px;height:12px;border:1px solid #000;background-color:transparent;display:inline-block}.monaco-checkbox .checkbox{position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0}.monaco-checkbox .checkbox:checked+.label{background-color:#000}.monaco-editor .find-widget{position:absolute;z-index:10;top:-44px;height:34px;overflow:hidden;line-height:19px;transition:top .2s linear;padding:0 4px}.monaco-editor .find-widget.replaceToggled{top:-74px;height:64px}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex;display:-webkit-flex;align-items:center}.monaco-editor .find-widget.replaceToggled.visible,.monaco-editor .find-widget.visible{top:0}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .replace-input .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:4px 0 0 17px;font-size:12px;display:flex;display:-webkit-flex;align-items:center}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{height:25px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.wrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.wrapper>.input{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;display:-webkit-flex;flex:1}.monaco-editor .find-widget .matchesCount{display:flex;display:-webkit-flex;flex:initial;margin:0 1px 0 3px;padding:2px 2px 0;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{min-width:20px;width:20px;height:20px;display:flex;display:-webkit-flex;flex:initial;margin-left:3px;background-position:50%;background-repeat:no-repeat;cursor:pointer}.monaco-editor .find-widget .button:not(.disabled):hover{background-color:rgba(0,0,0,.1)}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:0;width:18px;height:100%;-webkit-box-sizing:border-box;-o-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .previous{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTEgLTMgMTYgMTYiPjxwYXRoIGZpbGw9IiM0MjQyNDIiIGQ9Ik0xMyA0SDZsMy0zSDZMMiA1bDQgNGgzTDYgNmg3eiIvPjwvc3ZnPg==")}.monaco-editor .find-widget .next{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTEgLTMgMTYgMTYiPjxwYXRoIGZpbGw9IiM0MjQyNDIiIGQ9Ik0xIDRoN0w1IDFoM2w0IDQtNCA0SDVsMy0zSDFWNHoiLz48L3N2Zz4=")}.monaco-editor .find-widget .disabled{opacity:.3;cursor:default}.monaco-editor .find-widget .monaco-checkbox{width:20px;height:20px;display:inline-block;vertical-align:middle;margin-left:3px}.monaco-editor .find-widget .monaco-checkbox .label{content:"";display:inline-block;background-repeat:no-repeat;background-position:0 0;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgZmlsbD0iIzQyNDI0MiI+PHBhdGggZD0iTTIgMTRoOXYySDJ6TTIgMTFoMTN2Mkgyek0yIDhoNnYySDJ6TTIgNWgxMnYySDJ6Ii8+PC9nPjwvc3ZnPg==");width:20px;height:20px;border:none}.monaco-editor .find-widget .monaco-checkbox .checkbox:disabled+.label{opacity:.3;cursor:default}.monaco-editor .find-widget .monaco-checkbox .checkbox:not(:disabled)+.label{cursor:pointer}.monaco-editor .find-widget .monaco-checkbox .checkbox:not(:disabled):hover:before+.label{background-color:#ddd}.monaco-editor .find-widget .monaco-checkbox .checkbox:checked+.label{background-color:hsla(0,0%,39.2%,.2)}.monaco-editor .find-widget .close-fw{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2Ij48cGF0aCBmaWxsPSIjNDI0MjQyIiBkPSJNMTIuNTk3IDExLjA0MmwyLjgwMyAyLjgwMy0xLjU1NiAxLjU1NS0yLjgwMi0yLjgwMkw4LjIzOSAxNS40bC0xLjU1Ni0xLjU1NSAyLjgwMi0yLjgwMy0yLjgwMi0yLjgwMyAxLjU1NS0xLjU1NiAyLjgwNCAyLjgwMyAyLjgwMy0yLjgwM0wxNS40IDguMjM5eiIvPjwvc3ZnPg==")}.monaco-editor .find-widget .expand{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iIzY0NjQ2NSIgZD0iTTExIDEwLjA3SDUuMzQ0TDExIDQuNDE0djUuNjU2eiIvPjwvc3ZnPg==")}.monaco-editor .find-widget .collapse{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iIzY0NjQ2NSIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==")}.monaco-editor .find-widget .replace{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PGcgZmlsbD0iIzQyNDI0MiI+PHBhdGggZD0iTTExIDNWMWgtMXY2aDRWM2gtM3ptMiAzaC0yVjRoMnYyek0yIDE1aDdWOUgydjZ6bTItNWgzdjFINXYyaDJ2MUg0di00eiIvPjwvZz48cGF0aCBmaWxsPSIjMDA1MzlDIiBkPSJNMy45NzkgMy41TDQgNiAzIDV2MS41TDQuNSA4IDYgNi41VjVMNSA2bC0uMDIxLTIuNWMwLS4yNzUuMjI1LS41LjUtLjVIOVYySDUuNDc5Yy0uODI4IDAtMS41LjY3My0xLjUgMS41eiIvPjwvc3ZnPg==")}.monaco-editor .find-widget .replace-all{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iIzQyNDI0MiIgZD0iTTExIDE1VjlIMXY2aDEwem0tOS0xdi0yaDF2LTFIMnYtMWgzdjRIMnptOC0zSDh2MmgydjFIN3YtNGgzdjF6bS03IDJ2LTFoMXYxSDN6bTEwLTZ2NmgtMVY4SDVWN2g4em0wLTVWMWgtMXY1aDNWMmgtMnptMSAzaC0xVjNoMXYyem0tMy0zdjRIOFY0aDF2MWgxVjRIOVYzSDhWMmgzeiIvPjxwYXRoIGZpbGw9IiMwMDUzOUMiIGQ9Ik0xLjk3OSAzLjVMMiA2IDEgNXYxLjVMMi41IDggNCA2LjVWNUwzIDZsLS4wMjEtMi41YzAtLjI3NS4yMjUtLjUuNS0uNUg3VjJIMy40NzljLS44MjggMC0xLjUuNjczLTEuNSAxLjV6Ii8+PC9zdmc+")}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.replace-input{display:flex;display:-webkit-flex;vertical-align:middle;width:auto!important}.monaco-editor .find-widget.reduced-find-widget .matchesCount,.monaco-editor .find-widget.reduced-find-widget .monaco-checkbox{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{-webkit-animation-duration:0;-webkit-animation-name:inherit!important;-moz-animation-duration:0;-moz-animation-name:inherit!important;-ms-animation-duration:0;-ms-animation-name:inherit!important;animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{width:2px!important;margin-left:-4px}.monaco-editor.hc-black .find-widget .previous,.monaco-editor.vs-dark .find-widget .previous{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTEgLTMgMTYgMTYiPjxwYXRoIGZpbGw9IiNDNUM1QzUiIGQ9Ik0xMyA0SDZsMy0zSDZMMiA1bDQgNGgzTDYgNmg3eiIvPjwvc3ZnPg==")}.monaco-editor.hc-black .find-widget .next,.monaco-editor.vs-dark .find-widget .next{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTEgLTMgMTYgMTYiPjxwYXRoIGZpbGw9IiNDNUM1QzUiIGQ9Ik0xIDRoN0w1IDFoM2w0IDQtNCA0SDVsMy0zSDFWNHoiLz48L3N2Zz4=")}.monaco-editor.hc-black .find-widget .monaco-checkbox .label,.monaco-editor.vs-dark .find-widget .monaco-checkbox .label{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGcgZmlsbD0iI2M1YzVjNSI+PHBhdGggZD0iTTIgMTRoOXYySDJ6TTIgMTFoMTN2Mkgyek0yIDhoNnYySDJ6TTIgNWgxMnYySDJ6Ii8+PC9nPjwvc3ZnPg==")}.monaco-editor.vs-dark .find-widget .monaco-checkbox .checkbox:checked+.label,.monaco-editor.vs-dark .find-widget .monaco-checkbox .checkbox:not(:disabled):hover:before+.label{background-color:hsla(0,0%,100%,.1)}.monaco-editor.hc-black .find-widget .close-fw,.monaco-editor.vs-dark .find-widget .close-fw{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2Ij48cGF0aCBmaWxsPSIjZThlOGU4IiBkPSJNMTIuNTk3IDExLjA0MmwyLjgwMyAyLjgwMy0xLjU1NiAxLjU1NS0yLjgwMi0yLjgwMkw4LjIzOSAxNS40bC0xLjU1Ni0xLjU1NSAyLjgwMi0yLjgwMy0yLjgwMi0yLjgwMyAxLjU1NS0xLjU1NiAyLjgwNCAyLjgwMyAyLjgwMy0yLjgwM0wxNS40IDguMjM5eiIvPjwvc3ZnPg==")}.monaco-editor.hc-black .find-widget .replace,.monaco-editor.vs-dark .find-widget .replace{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PGcgZmlsbD0iI0M1QzVDNSI+PHBhdGggZD0iTTExIDNWMWgtMXY2aDRWM2gtM3ptMiAzaC0yVjRoMnYyek0yIDE1aDdWOUgydjZ6bTItNWgzdjFINXYyaDJ2MUg0di00eiIvPjwvZz48cGF0aCBmaWxsPSIjNzVCRUZGIiBkPSJNMy45NzkgMy41TDQgNiAzIDV2MS41TDQuNSA4IDYgNi41VjVMNSA2bC0uMDIxLTIuNWMwLS4yNzUuMjI1LS41LjUtLjVIOVYySDUuNDc5Yy0uODI4IDAtMS41LjY3My0xLjUgMS41eiIvPjwvc3ZnPg==")}.monaco-editor.hc-black .find-widget .replace-all,.monaco-editor.vs-dark .find-widget .replace-all{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTExIDE1VjlIMXY2aDEwem0tOS0xdi0yaDF2LTFIMnYtMWgzdjRIMnptOC0zSDh2MmgydjFIN3YtNGgzdjF6bS03IDJ2LTFoMXYxSDN6bTEwLTZ2NmgtMVY4SDVWN2g4em0wLTVWMWgtMXY1aDNWMmgtMnptMSAzaC0xVjNoMXYyem0tMy0zdjRIOFY0aDF2MWgxVjRIOVYzSDhWMmgzeiIvPjxwYXRoIGZpbGw9IiM3NUJFRkYiIGQ9Ik0xLjk3OSAzLjVMMiA2IDEgNXYxLjVMMi41IDggNCA2LjVWNUwzIDZsLS4wMjEtMi41YzAtLjI3NS4yMjUtLjUuNS0uNUg3VjJIMy40NzljLS44MjggMC0xLjUuNjczLTEuNSAxLjV6Ii8+PC9zdmc+")}.monaco-editor.hc-black .find-widget .expand,.monaco-editor.vs-dark .find-widget .expand{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI2U4ZThlOCIgZD0iTTExIDEwLjA3SDUuMzQ0TDExIDQuNDE0djUuNjU2eiIvPjwvc3ZnPg==")}.monaco-editor.hc-black .find-widget .collapse,.monaco-editor.vs-dark .find-widget .collapse{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI2U4ZThlOCIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==")}.monaco-editor.hc-black .find-widget .button:not(.disabled):hover,.monaco-editor.vs-dark .find-widget .button:not(.disabled):hover{background-color:hsla(0,0%,100%,.1)}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-editor.hc-black .find-widget .monaco-checkbox .checkbox:checked+.label{background-color:hsla(0,0%,100%,.1)}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.vertical{cursor:ew-resize;top:0;width:4px;height:100%}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:4px}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash:not(.disabled).orthogonal-end:after,.monaco-sash:not(.disabled).orthogonal-start:before{content:" ";height:8px;width:8px;z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.orthogonal-start.vertical:before{left:-2px;top:-4px}.monaco-sash.orthogonal-end.vertical:after{left:-2px;bottom:-4px}.monaco-sash.orthogonal-start.horizontal:before{top:-2px;left:-4px}.monaco-sash.orthogonal-end.horizontal:after{top:-2px;right:-4px}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.touch.vertical{width:20px}.monaco-sash.touch.horizontal{height:20px}.monaco-sash.debug{background:#0ff}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled).orthogonal-end:after,.monaco-sash.debug:not(.disabled).orthogonal-start:before{background:red}.monaco-inputbox{position:relative;display:block;padding:0;-webkit-box-sizing:border-box;-o-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;line-height:auto!important;font-size:inherit}.monaco-inputbox.idle{border:1px solid transparent}.monaco-inputbox>.wrapper>.input,.monaco-inputbox>.wrapper>.mirror{padding:4px}.monaco-inputbox>.wrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.wrapper>.input{display:inline-block;-webkit-box-sizing:border-box;-o-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.wrapper>input{text-overflow:ellipsis}.monaco-inputbox>.wrapper>textarea.input{display:block;overflow:hidden}.monaco-inputbox>.wrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;-webkit-box-sizing:border-box;-o-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;-webkit-box-sizing:border-box;-o-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;min-height:34px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .icon{background-repeat:no-repeat;width:16px;height:16px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:hsla(0,0%,100%,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:hsla(0,0%,100%,.44)}99%{background:transparent}}.monaco-editor .margin-view-overlays .folding{cursor:pointer;background-repeat:no-repeat;background-origin:border-box;background-position:calc(50% + 2px) 50%;background-size:auto calc(100% - 3px);opacity:0;transition:opacity .5s;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNSAxNSI+PHBhdGggZD0iTTExIDR2N0g0VjRoN20xLTFIM3Y5aDlWM3oiIGZpbGw9IiNiNmI2YjYiLz48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiM2YjZiNmIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEwIDcuNUg1Ii8+PC9zdmc+")}.monaco-editor.hc-black .margin-view-overlays .folding,.monaco-editor.vs-dark .margin-view-overlays .folding{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNSAxNSI+PHBhdGggZD0iTTExIDR2N0g0VjRoN20xLTFIM3Y5aDlWM3oiIGZpbGw9IiM1YTVhNWEiLz48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNjNWM1YzUiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEwIDcuNUg1Ii8+PC9zdmc+")}.monaco-editor .margin-view-overlays .folding.alwaysShowFoldIcons,.monaco-editor .margin-view-overlays:hover .folding{opacity:1}.monaco-editor .margin-view-overlays .folding.collapsed{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNSAxNSI+PHBhdGggZmlsbD0iI2U4ZThlOCIgZD0iTTMgM2g5djlIM3oiLz48cGF0aCBkPSJNMTEgNHY3SDRWNGg3bTEtMUgzdjloOVYzeiIgZmlsbD0iI2I2YjZiNiIvPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzZiNmI2YiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMTAgNy41SDVNNy41IDV2NSIvPjwvc3ZnPg==");opacity:1}.monaco-editor.hc-black .margin-view-overlays .folding.collapsed,.monaco-editor.vs-dark .margin-view-overlays .folding.collapsed{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNSAxNSI+PHBhdGggb3BhY2l0eT0iLjEiIGZpbGw9IiNmZmYiIGQ9Ik0zIDNoOXY5SDN6Ii8+PHBhdGggZD0iTTExIDR2N0g0VjRoN20xLTFIM3Y5aDlWM3oiIGZpbGw9IiM1YTVhNWEiLz48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNjNWM1YzUiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEwIDcuNUg1TTcuNSA1djUiLz48L3N2Zz4=")}.monaco-editor .inline-folded:after{color:grey;margin:.1em .2em 0;content:"⋯";display:inline;line-height:1em;cursor:pointer}.monaco-editor .peekview-widget .head{-webkit-box-sizing:border-box;-o-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;display:flex}.monaco-editor .peekview-widget .head .peekview-title{display:inline-block;font-size:13px;margin-left:20px;cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .icon{display:inline-block;height:16px;width:16px;vertical-align:text-bottom;margin-right:4px}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar .action-item{margin-left:4px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar .action-label{width:16px;height:100%;margin:0;line-height:inherit;background-repeat:no-repeat;background-position:50%}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar .action-label.octicon{margin:0}.monaco-editor .peekview-widget .head .peekview-actions .action-label.icon.close-peekview-action{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2Ij48cGF0aCBmaWxsPSIjNDI0MjQyIiBkPSJNMTIuNTk3IDExLjA0MmwyLjgwMyAyLjgwMy0xLjU1NiAxLjU1NS0yLjgwMi0yLjgwMkw4LjIzOSAxNS40bC0xLjU1Ni0xLjU1NSAyLjgwMi0yLjgwMy0yLjgwMi0yLjgwMyAxLjU1NS0xLjU1NiAyLjgwNCAyLjgwMyAyLjgwMy0yLjgwM0wxNS40IDguMjM5eiIvPjwvc3ZnPg==") 50% no-repeat}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor.hc-black .peekview-widget .head .peekview-actions .action-label.icon.close-peekview-action,.monaco-editor.vs-dark .peekview-widget .head .peekview-actions .action-label.icon.close-peekview-action{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2Ij48cGF0aCBmaWxsPSIjZThlOGU4IiBkPSJNMTIuNTk3IDExLjA0MmwyLjgwMyAyLjgwMy0xLjU1NiAxLjU1NS0yLjgwMi0yLjgwMkw4LjIzOSAxNS40bC0xLjU1Ni0xLjU1NSAyLjgwMi0yLjgwMy0yLjgwMi0yLjgwMyAxLjU1NS0xLjU1NiAyLjgwNCAyLjgwMyAyLjgwMy0yLjgwM0wxNS40IDguMjM5eiIvPjwvc3ZnPg==") 50% no-repeat}.monaco-editor .peekview-widget .peekview-actions .icon.chevron-up{background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+PHBhdGggZD0iTTE0IDEwLjVsLTEuMDU1IDEuMDU2TDggNi42MWwtNC45NDUgNC45NDZMMiAxMC41bDYtNiA2IDZ6IiBmaWxsPSIjNEI0QjRCIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxwYXRoIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIgMikiIGQ9Ik0wIDBoMTJ2MTJIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=") 50% no-repeat}.vs-dark .monaco-editor .peekview-widget .peekview-actions .icon.chevron-up{background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+PHBhdGggZD0iTTE0IDEwLjVsLTEuMDU1IDEuMDU2TDggNi42MWwtNC45NDUgNC45NDZMMiAxMC41bDYtNiA2IDZ6IiBmaWxsPSIjQzhDOEM4Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxwYXRoIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIgMikiIGQ9Ik0wIDBoMTJ2MTJIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=") 50% no-repeat}.hc-black .monaco-editor .peekview-widget .peekview-actions .icon.chevron-up{background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+PHBhdGggZD0iTTE0IDEwLjVsLTEuMDU1IDEuMDU2TDggNi42MWwtNC45NDUgNC45NDZMMiAxMC41bDYtNiA2IDZ6IiBmaWxsPSIjZmZmIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxwYXRoIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIgMikiIGQ9Ik0wIDBoMTJ2MTJIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=") 50% no-repeat}.monaco-editor .peekview-widget .peekview-actions .icon.chevron-down{background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+PHBhdGggZD0iTTIgNS41bDEuMDU1LTEuMDU2TDggOS4zOWw0Ljk0NS00Ljk0NkwxNCA1LjVsLTYgNi02LTZ6IiBmaWxsPSIjNEI0QjRCIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxwYXRoIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIgMikiIGQ9Ik0wIDBoMTJ2MTJIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=") 50% no-repeat}.vs-dark .monaco-editor .peekview-widget .peekview-actions .icon.chevron-down{background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+PHBhdGggZD0iTTIgNS41bDEuMDU1LTEuMDU2TDggOS4zOWw0Ljk0NS00Ljk0NkwxNCA1LjVsLTYgNi02LTZ6IiBmaWxsPSIjQzhDOEM4Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxwYXRoIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIgMikiIGQ9Ik0wIDBoMTJ2MTJIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=") 50% no-repeat}.hc-black .monaco-editor .peekview-widget .peekview-actions .icon.chevron-down{background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+PHBhdGggZD0iTTIgNS41bDEuMDU1LTEuMDU2TDggOS4zOWw0Ljk0NS00Ljk0NkwxNCA1LjVsLTYgNi02LTZ6IiBmaWxsPSIjZmZmIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxwYXRoIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIgMikiIGQ9Ik0wIDBoMTJ2MTJIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=") 50% no-repeat}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%;-webkit-font-feature-settings:"liga" off,"calt" off;font-feature-settings:"liga" off,"calt" off}.monaco-editor.enable-ligatures{-webkit-font-feature-settings:"liga" on,"calt" on;font-feature-settings:"liga" on,"calt" on}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .vs-whitespace{display:inline-block}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent}.monaco-editor .inputarea.ime-input{z-index:10}.monaco-editor .margin-view-overlays .line-numbers{position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers{cursor:-webkit-image-set(url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIyNSI+PHBhdGggZmlsbD0iI2ZmZiIgc3Ryb2tlPSIjMDAwIiBkPSJNMTQuNSAxLjJMMS45IDEzLjhIN2wtMy44IDcuNyAzLjEgMSAzLjgtNy42IDQuNCAzLjF6Ii8+PC9zdmc+") 1x,url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSI1MCI+PHBhdGggZmlsbD0iI2ZmZiIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIiIGQ9Ik0yOSAyLjRMMy44IDI3LjZIMTRMNi40IDQzbDYuMiAyIDcuNi0xNS4yTDI5IDM2eiIvPjwvc3ZnPg==") 2x) 30 0,default}.monaco-editor.mac .margin-view-overlays .line-numbers{cursor:-webkit-image-set(url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxOSI+PHBhdGggZD0iTTUuMyAxNi42bDEuNi00LjdIMi4xTDEyLjUgMS4ydjE0LjRMOS43IDEzbC0xLjYgNC42Yy0uMi41LS44LjgtMS4zLjZsLS44LS4zYy0uNi0uMi0uOS0uNy0uNy0xLjN6IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPjwvc3ZnPg==") 1x,url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIzOCI+PHBhdGggZD0iTTEwLjYgMzMuMmwzLjItOS40SDQuMkwyNSAyLjR2MjguOEwxOS40IDI2bC0zLjIgOS4yYy0uNCAxLTEuNiAxLjYtMi42IDEuMmwtMS42LS42Yy0xLjItLjQtMS44LTEuNC0xLjQtMi42eiIgc3Ryb2tlPSIjZmZmIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiLz48L3N2Zz4=") 2x) 24 3,default}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-editor .margin-view-overlays .current-line,.monaco-editor .view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-scrollable-element>.scrollbar>.up-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkuNDggOC45NjFsMS4yNi0xLjI2LTUuMDQtNS4wNC01LjQ2IDUuMDQgMS4yNiAxLjI2IDQuMi0zLjc4IDMuNzggMy43OHoiIGZpbGw9IiM0MjQyNDIiLz48L3N2Zz4=");cursor:pointer}.monaco-scrollable-element>.scrollbar>.down-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggZmlsbD0iIzQyNDI0MiIgZD0iTTEuNSAyLjY2MkwuMjQgMy45MjJsNS4wNCA1LjA0IDUuNDYtNS4wNC0xLjI2LTEuMjYtNC4yIDMuNzgtMy43OC0zLjc4eiIvPjwvc3ZnPg==");cursor:pointer}.monaco-scrollable-element>.scrollbar>.left-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggZmlsbD0iIzQyNDI0MiIgZD0iTTguNjQgMS40NDFMNy4zOC4xODFsLTUuMDQgNS4wNCA1LjA0IDUuNDYgMS4yNi0xLjI2LTMuNzgtNC4yIDMuNzgtMy43OHoiLz48L3N2Zz4=");cursor:pointer}.monaco-scrollable-element>.scrollbar>.right-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iIzQyNDI0MiIgZD0iTTIuNDY3IDkuNTQ4bDEuMjYgMS4yNiA1LjA0LTUuMDQtNS4wNC01LjQ2LTEuMjYgMS4yNiAzLjc4IDQuMi0zLjc4IDMuNzh6Ii8+PC9zdmc+");cursor:pointer}.hc-black .monaco-scrollable-element>.scrollbar>.up-arrow,.vs-dark .monaco-scrollable-element>.scrollbar>.up-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkuNDggOC45NjFsMS4yNi0xLjI2LTUuMDQtNS4wNC01LjQ2IDUuMDQgMS4yNiAxLjI2IDQuMi0zLjc4IDMuNzggMy43OHoiIGZpbGw9IiNFOEU4RTgiLz48L3N2Zz4=")}.hc-black .monaco-scrollable-element>.scrollbar>.down-arrow,.vs-dark .monaco-scrollable-element>.scrollbar>.down-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTEuNSAyLjY2MkwuMjQgMy45MjJsNS4wNCA1LjA0IDUuNDYtNS4wNC0xLjI2LTEuMjYtNC4yIDMuNzgtMy43OC0zLjc4eiIvPjwvc3ZnPg==")}.hc-black .monaco-scrollable-element>.scrollbar>.left-arrow,.vs-dark .monaco-scrollable-element>.scrollbar>.left-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTguNjQgMS40NDFMNy4zOC4xODFsLTUuMDQgNS4wNCA1LjA0IDUuNDYgMS4yNi0xLjI2LTMuNzgtNC4yIDMuNzgtMy43OHoiLz48L3N2Zz4=")}.hc-black .monaco-scrollable-element>.scrollbar>.right-arrow,.vs-dark .monaco-scrollable-element>.scrollbar>.right-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTIuNDY3IDkuNTQ4bDEuMjYgMS4yNiA1LjA0LTUuMDQtNS4wNC01LjQ2LTEuMjYgMS4yNiAzLjc4IDQuMi0zLjc4IDMuNzh6Ii8+PC9zdmc+")}.monaco-scrollable-element>.visible{opacity:1;background:transparent;transition:opacity .1s linear}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:inset 0 6px 6px -6px #ddd}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:inset 6px 0 6px -6px #ddd}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:inset 6px 6px 6px -6px #ddd}.vs .monaco-scrollable-element>.scrollbar>.slider{background:hsla(0,0%,39.2%,.4)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:hsla(0,0%,47.5%,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider{background:rgba(111,195,223,.6)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:hsla(0,0%,39.2%,.7)}.hc-black .monaco-scrollable-element>.scrollbar>.slider:hover{background:rgba(111,195,223,.8)}.monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(0,0,0,.6)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:hsla(0,0%,74.9%,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider.active{background:#6fc3df}.vs-dark .monaco-scrollable-element .shadow.top{box-shadow:none}.vs-dark .monaco-scrollable-element .shadow.left{box-shadow:inset 6px 0 6px -6px #000}.vs-dark .monaco-scrollable-element .shadow.top.left{box-shadow:inset 6px 6px 6px -6px #000}.hc-black .monaco-scrollable-element .shadow.left,.hc-black .monaco-scrollable-element .shadow.top,.hc-black .monaco-scrollable-element .shadow.top.left{box-shadow:none}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .lines-content .cigr,.monaco-editor .lines-content .cigra,.monaco-editor .margin-view-overlays .cgmr{position:absolute}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{-webkit-user-select:none;-ms-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.monaco-editor .view-lines{cursor:text;white-space:nowrap}.monaco-editor.hc-black.mac .view-lines,.monaco-editor.vs-dark.mac .view-lines{cursor:-webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x,url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8,text}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover .minimap-slider.active,.monaco-editor .minimap.slider-mouseover:hover .minimap-slider{opacity:1}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;cursor:text;overflow:hidden}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{box-sizing:border-box;background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:0;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;display:inline-block;-webkit-font-smoothing:antialiased;vertical-align:top;flex-shrink:0}.monaco-icon-label>.monaco-icon-label-description-container{overflow:hidden;text-overflow:ellipsis}.monaco-icon-label>.monaco-icon-label-description-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.italic>.monaco-icon-label-description-container>.label-description,.monaco-icon-label.italic>.monaco-icon-label-description-container>.label-name{font-style:italic}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;padding:0 12px 0 5px;margin-left:auto;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after,.monaco-tree.focused .selected .monaco-icon-label,.monaco-tree.focused .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description,.monaco-tree-row.focused.selected .label-description,.monaco-tree-row.selected .label-description{opacity:.8}.monaco-count-badge{padding:.3em .5em;border-radius:1em;font-size:85%;min-width:1.6em;line-height:1em;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;-o-user-select:none;user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-multiple,.monaco-list.selection-single{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute}.monaco-list-type-filter{display:flex;align-items:center;position:absolute;border-radius:2px;padding:0 3px;max-width:calc(100% - 10px);text-overflow:ellipsis;overflow:hidden;text-align:right;box-sizing:border-box;cursor:all-scroll;font-size:13px;line-height:18px;height:20px;z-index:1;top:4px}.monaco-list-type-filter.dragging{transition:top .2s,left .2s}.monaco-list-type-filter.ne{right:4px}.monaco-list-type-filter.nw{left:4px}.monaco-list-type-filter>.controls{display:flex;align-items:center;box-sizing:border-box;transition:width .2s;width:0}.monaco-list-type-filter.dragging>.controls,.monaco-list-type-filter:hover>.controls{width:36px}.monaco-list-type-filter>.controls>*{box-sizing:border-box;width:16px;height:16px;margin:0 0 0 2px;flex-shrink:0}.monaco-list-type-filter>.controls>.filter{-webkit-appearance:none;width:16px;height:16px;background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYgMTBIMnYyaDR2LTJ6TTEwIDdIMnYyaDhWN3pNMTQgNEgydjJoMTJWNHoiIGZpbGw9IiM0QjRCNEIiLz48L3N2Zz4=");background-position:50% 50%;cursor:pointer}.monaco-list-type-filter>.controls>.filter:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwIDEwSDZ2Mmg0di0yek0xMiA3SDR2Mmg4Vjd6TTE0IDRIMnYyaDEyVjR6IiBmaWxsPSIjNDI0MjQyIi8+PC9zdmc+")}.vs-dark .monaco-list-type-filter>.controls>.filter{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYgMTBIMnYyaDR2LTJ6TTEwIDdIMnYyaDhWN3pNMTQgNEgydjJoMTJWNHoiIGZpbGw9IiNFOEU4RTgiLz48L3N2Zz4=")}.vs-dark .monaco-list-type-filter>.controls>.filter:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwIDEwSDZ2Mmg0di0yek0xMiA3SDR2Mmg4Vjd6TTE0IDRIMnYyaDEyVjR6IiBmaWxsPSIjRThFOEU4Ii8+PC9zdmc+")}.hc-black .monaco-list-type-filter>.controls>.filter{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYgMTBIMnYyaDR2LTJ6TTEwIDdIMnYyaDhWN3pNMTQgNEgydjJoMTJWNHoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=")}.hc-black .monaco-list-type-filter>.controls>.filter:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwIDEwSDZ2Mmg0di0yek0xMiA3SDR2Mmg4Vjd6TTE0IDRIMnYyaDEyVjR6IiBmaWxsPSIjZmZmIi8+PC9zdmc+")}.monaco-list-type-filter>.controls>.clear{border:none;background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2Ij48cGF0aCBmaWxsPSIjNDI0MjQyIiBkPSJNMTIuNTk3IDExLjA0MmwyLjgwMyAyLjgwMy0xLjU1NiAxLjU1NS0yLjgwMi0yLjgwMkw4LjIzOSAxNS40bC0xLjU1Ni0xLjU1NSAyLjgwMi0yLjgwMy0yLjgwMi0yLjgwMyAxLjU1NS0xLjU1NiAyLjgwNCAyLjgwMyAyLjgwMy0yLjgwM0wxNS40IDguMjM5eiIvPjwvc3ZnPg==");cursor:pointer}.vs-dark .monaco-list-type-filter>.controls>.clear{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2Ij48cGF0aCBmaWxsPSIjZThlOGU4IiBkPSJNMTIuNTk3IDExLjA0MmwyLjgwMyAyLjgwMy0xLjU1NiAxLjU1NS0yLjgwMi0yLjgwMkw4LjIzOSAxNS40bC0xLjU1Ni0xLjU1NSAyLjgwMi0yLjgwMy0yLjgwMi0yLjgwMyAxLjU1NS0xLjU1NiAyLjgwNCAyLjgwMyAyLjgwMy0yLjgwM0wxNS40IDguMjM5eiIvPjwvc3ZnPg==")}.hc-black .monaco-list-type-filter>.controls>.clear{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjMgMyAxNiAxNiIgaGVpZ2h0PSIxNiIgd2lkdGg9IjE2Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTIuNTk3IDExLjA0MmwyLjgwMyAyLjgwMy0xLjU1NiAxLjU1NS0yLjgwMi0yLjgwMkw4LjIzOSAxNS40bC0xLjU1Ni0xLjU1NSAyLjgwMi0yLjgwMy0yLjgwMi0yLjgwMyAxLjU1NS0xLjU1NiAyLjgwNCAyLjgwMyAyLjgwMy0yLjgwM0wxNS40IDguMjM5eiIvPjwvc3ZnPg==")}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-list-type-filter{cursor:-webkit-grab}.monaco-list-type-filter.dragging{cursor:-webkit-grabbing}.monaco-tl-row{display:flex;height:100%;align-items:center}.monaco-tl-contents,.monaco-tl-twistie{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;margin-right:6px;flex-shrink:0;width:16px}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie.collapsible{background-size:16px;background-position:3px 50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzY0NjQ2NSIgZD0iTTExIDEwSDUuMzQ0TDExIDQuNDE0VjEweiIvPjwvc3ZnPg==")}.monaco-tl-twistie.collapsible.collapsed:not(.loading){display:inline-block;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzY0NjQ2NSIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==")}.vs-dark .monaco-tl-twistie.collapsible:not(.loading){background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTExIDEwSDUuMzQ0TDExIDQuNDE0VjEweiIvPjwvc3ZnPg==")}.vs-dark .monaco-tl-twistie.collapsible.collapsed:not(.loading){background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==")}.hc-black .monaco-tl-twistie.collapsible:not(.loading){background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTExIDEwLjA3SDUuMzQ0TDExIDQuNDE0djUuNjU2eiIvPjwvc3ZnPg==")}.hc-black .monaco-tl-twistie.collapsible.collapsed:not(.loading){background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==")}.monaco-tl-twistie.loading{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHN0eWxlPmNpcmNsZXthbmltYXRpb246YmFsbCAuNnMgbGluZWFyIGluZmluaXRlfWNpcmNsZTpudGgtY2hpbGQoMil7YW5pbWF0aW9uLWRlbGF5Oi4wNzVzfWNpcmNsZTpudGgtY2hpbGQoMyl7YW5pbWF0aW9uLWRlbGF5Oi4xNXN9Y2lyY2xlOm50aC1jaGlsZCg0KXthbmltYXRpb24tZGVsYXk6LjIyNXN9Y2lyY2xlOm50aC1jaGlsZCg1KXthbmltYXRpb24tZGVsYXk6LjNzfWNpcmNsZTpudGgtY2hpbGQoNil7YW5pbWF0aW9uLWRlbGF5Oi4zNzVzfWNpcmNsZTpudGgtY2hpbGQoNyl7YW5pbWF0aW9uLWRlbGF5Oi40NXN9Y2lyY2xlOm50aC1jaGlsZCg4KXthbmltYXRpb24tZGVsYXk6LjUyNXN9PC9zdHlsZT48Y2lyY2xlIGN4PSI1IiBjeT0iMSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSI3LjgyOCIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjkiIGN5PSI1IiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjcuODI4IiBjeT0iNy44MjgiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iNSIgY3k9IjkiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iMi4xNzIiIGN5PSI3LjgyOCIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIxIiBjeT0iNSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIyLjE3MiIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjwvc3ZnPg==");background-position:0}.vs-dark .monaco-tl-twistie.loading{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHN0eWxlPmNpcmNsZXthbmltYXRpb246YmFsbCAuNnMgbGluZWFyIGluZmluaXRlfWNpcmNsZTpudGgtY2hpbGQoMil7YW5pbWF0aW9uLWRlbGF5Oi4wNzVzfWNpcmNsZTpudGgtY2hpbGQoMyl7YW5pbWF0aW9uLWRlbGF5Oi4xNXN9Y2lyY2xlOm50aC1jaGlsZCg0KXthbmltYXRpb24tZGVsYXk6LjIyNXN9Y2lyY2xlOm50aC1jaGlsZCg1KXthbmltYXRpb24tZGVsYXk6LjNzfWNpcmNsZTpudGgtY2hpbGQoNil7YW5pbWF0aW9uLWRlbGF5Oi4zNzVzfWNpcmNsZTpudGgtY2hpbGQoNyl7YW5pbWF0aW9uLWRlbGF5Oi40NXN9Y2lyY2xlOm50aC1jaGlsZCg4KXthbmltYXRpb24tZGVsYXk6LjUyNXN9PC9zdHlsZT48ZyBmaWxsPSJncmF5Ij48Y2lyY2xlIGN4PSI1IiBjeT0iMSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSI3LjgyOCIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjkiIGN5PSI1IiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjcuODI4IiBjeT0iNy44MjgiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iNSIgY3k9IjkiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iMi4xNzIiIGN5PSI3LjgyOCIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIxIiBjeT0iNSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIyLjE3MiIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjwvZz48L3N2Zz4=")}.hc-black .monaco-tl-twistie.loading{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHN0eWxlPmNpcmNsZXthbmltYXRpb246YmFsbCAuNnMgbGluZWFyIGluZmluaXRlfWNpcmNsZTpudGgtY2hpbGQoMil7YW5pbWF0aW9uLWRlbGF5Oi4wNzVzfWNpcmNsZTpudGgtY2hpbGQoMyl7YW5pbWF0aW9uLWRlbGF5Oi4xNXN9Y2lyY2xlOm50aC1jaGlsZCg0KXthbmltYXRpb24tZGVsYXk6LjIyNXN9Y2lyY2xlOm50aC1jaGlsZCg1KXthbmltYXRpb24tZGVsYXk6LjNzfWNpcmNsZTpudGgtY2hpbGQoNil7YW5pbWF0aW9uLWRlbGF5Oi4zNzVzfWNpcmNsZTpudGgtY2hpbGQoNyl7YW5pbWF0aW9uLWRlbGF5Oi40NXN9Y2lyY2xlOm50aC1jaGlsZCg4KXthbmltYXRpb24tZGVsYXk6LjUyNXN9PC9zdHlsZT48ZyBmaWxsPSIjZmZmIj48Y2lyY2xlIGN4PSI1IiBjeT0iMSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSI3LjgyOCIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjkiIGN5PSI1IiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjcuODI4IiBjeT0iNy44MjgiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iNSIgY3k9IjkiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iMi4xNzIiIGN5PSI3LjgyOCIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIxIiBjeT0iNSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIyLjE3MiIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjwvZz48L3N2Zz4=")}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:auto}.monaco-split-view2>.split-view-container{display:flex;width:100%;height:100%;white-space:nowrap}.monaco-split-view2.vertical>.split-view-container{flex-direction:column}.monaco-split-view2.horizontal>.split-view-container{flex-direction:row}.monaco-split-view2>.split-view-container>.split-view-view{white-space:normal;flex:none;position:relative}.monaco-split-view2.vertical>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.split-view-container>.split-view-view{height:100%;display:inline-block}.monaco-split-view2.separator-border>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .icon.warning{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+PHBhdGggZmlsbD0iI0Y2RjZGNiIgZD0iTTcuNSAyTDIgMTJsMiAyaDlsMi0yTDkuNSAyeiIvPjxwYXRoIGQ9Ik05IDNIOGwtNC41IDkgMSAxaDhsMS0xTDkgM3ptMCA5SDh2LTFoMXYxem0wLTJIOFY2aDF2NHoiIGZpbGw9IiNmYzAiLz48cGF0aCBkPSJNOSAxMEg4VjZoMXY0em0wIDFIOHYxaDF2LTF6Ii8+PC9zdmc+") 50% no-repeat}.monaco-editor .peekview-widget .head .peekview-title .icon.error{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+PGNpcmNsZSBjeD0iOCIgY3k9IjgiIHI9IjYiIGZpbGw9IiNGNkY2RjYiLz48cGF0aCBkPSJNOCAzQzUuMjM4IDMgMyA1LjIzOCAzIDhzMi4yMzggNSA1IDUgNS0yLjIzOCA1LTUtMi4yMzgtNS01LTV6bTMgN2wtMSAxLTItMi0yIDItMS0xIDItMi4wMjdMNSA2bDEtMSAyIDIgMi0yIDEgMS0yIDEuOTczTDExIDEweiIgZmlsbD0iI0U1MTQwMCIvPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0xMSA2bC0xLTEtMiAyLTItMi0xIDEgMiAxLjk3M0w1IDEwbDEgMSAyLTIgMiAyIDEtMS0yLTIuMDI3eiIvPjwvc3ZnPg==") 50% no-repeat}.monaco-editor .peekview-widget .head .peekview-title .icon.info{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+PGNpcmNsZSBjeD0iOC41IiBjeT0iNy41IiByPSI1LjUiIGZpbGw9IiNGNkY2RjYiLz48cGF0aCBkPSJNOC41IDNhNC41IDQuNSAwIDEwMCA5IDQuNSA0LjUgMCAwMDAtOXptLjUgOEg4VjZoMXY1em0wLTZIOFY0aDF2MXoiIGZpbGw9IiMxQkExRTIiLz48cGF0aCBkPSJNOCA2aDF2NUg4VjZ6bTAtMnYxaDFWNEg4eiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==") 50% no-repeat}.vs-dark .monaco-editor .peekview-widget .head .peekview-title .icon.warning{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNSAyTDIgMTJsMiAyaDlsMi0yTDkuNSAyeiIvPjxwYXRoIGQ9Ik05IDNIOGwtNC41IDkgMSAxaDhsMS0xTDkgM3ptMCA5SDh2LTFoMXYxem0wLTJIOFY2aDF2NHoiIGZpbGw9IiNmYzAiLz48cGF0aCBkPSJNOSAxMEg4VjZoMXY0em0wIDFIOHYxaDF2LTF6Ii8+PC9zdmc+") 50% no-repeat}.vs-dark .monaco-editor .peekview-widget .head .peekview-title .icon.error{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+PGNpcmNsZSBjeD0iOCIgY3k9IjgiIHI9IjYiIGZpbGw9IiMxRTFFMUUiLz48cGF0aCBkPSJNOCAzQzUuMjM4IDMgMyA1LjIzOCAzIDhzMi4yMzggNSA1IDUgNS0yLjIzOCA1LTUtMi4yMzgtNS01LTV6bTMgN2wtMSAxLTItMi0yIDItMS0xIDItMi4wMjdMNSA2bDEtMSAyIDIgMi0yIDEgMS0yIDEuOTczTDExIDEweiIgZmlsbD0iI0Y0ODc3MSIvPjxwYXRoIGZpbGw9IiMyNTI1MjYiIGQ9Ik0xMSA2bC0xLTEtMiAyLTItMi0xIDEgMiAxLjk3M0w1IDEwbDEgMSAyLTIgMiAyIDEtMS0yLTIuMDI3eiIvPjwvc3ZnPg==") 50% no-repeat}.vs-dark .monaco-editor .peekview-widget .head .peekview-title .icon.info{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+PGNpcmNsZSBjeD0iOC41IiBjeT0iNy41IiByPSI1LjUiIGZpbGw9IiMxRTFFMUUiLz48cGF0aCBkPSJNOC41IDNhNC41IDQuNSAwIDEwMCA5IDQuNSA0LjUgMCAwMDAtOXptLjUgOEg4VjZoMXY1em0wLTZIOFY0aDF2MXoiIGZpbGw9IiMxQkExRTIiLz48cGF0aCBkPSJNOCA2aDF2NUg4VjZ6bTAtMnYxaDFWNEg4eiIgZmlsbD0iIzI1MjUyNiIvPjwvc3ZnPg==") 50% no-repeat}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;-webkit-user-select:text;user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .code,.monaco-editor .marker-widget .descriptioncontainer .message .source{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border:1px solid hsla(0,0%,80%,.4);border-bottom-color:hsla(0,0%,73.3%,.4);border-radius:3px;box-shadow:inset 0 -1px 0 hsla(0,0%,73.3%,.4);background-color:hsla(0,0%,86.7%,.4);vertical-align:middle;color:#555;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.hc-black .monaco-keybinding>.monaco-keybinding-key,.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:hsla(0,0%,50.2%,.17);color:#ccc;border:1px solid rgba(51,51,51,.6);border-bottom-color:rgba(68,68,68,.6);box-shadow:inset 0 -1px 0 rgba(68,68,68,.6)}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-quick-open-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight,.monaco-quick-open-widget .monaco-tree .monaco-tree-row .monaco-highlighted-label .highlight{color:#0066bf}.vs-dark .monaco-quick-open-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight,.vs-dark .monaco-quick-open-widget .monaco-tree .monaco-tree-row .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .monaco-quick-open-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight,.hc-black .monaco-quick-open-widget .monaco-tree .monaco-tree-row .monaco-highlighted-label .highlight{color:#f38518}.monaco-quick-open-widget{position:absolute;width:600px;z-index:2000;padding-bottom:6px;left:50%;margin-left:-300px}.monaco-quick-open-widget .monaco-progress-container{position:absolute;left:0;top:38px;z-index:1;height:2px}.monaco-quick-open-widget .monaco-progress-container .progress-bit{height:2px}.monaco-quick-open-widget .quick-open-input{width:588px;border:none;margin:6px}.monaco-quick-open-widget .quick-open-input .monaco-inputbox{width:100%;height:25px}.monaco-quick-open-widget .quick-open-result-count{position:absolute;left:-10000px}.monaco-quick-open-widget .quick-open-tree{line-height:22px}.monaco-quick-open-widget .quick-open-tree .monaco-tree-row>.content>.sub-content{overflow:hidden}.monaco-quick-open-widget.content-changing .quick-open-tree .monaco-scrollable-element .slider{display:none}.monaco-quick-open-widget .quick-open-tree .quick-open-entry{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%}.monaco-quick-open-widget .quick-open-tree .quick-open-entry>.quick-open-row{display:flex;align-items:center}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon{overflow:hidden;width:16px;height:16px;margin-right:4px;display:inline-block;vertical-align:middle;flex-shrink:0}.monaco-quick-open-widget .quick-open-tree .monaco-icon-label,.monaco-quick-open-widget .quick-open-tree .monaco-icon-label .monaco-icon-label-description-container{flex:1}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .monaco-highlighted-label span{opacity:1}.monaco-quick-open-widget .quick-open-tree .quick-open-entry-meta{opacity:.7;line-height:normal}.monaco-quick-open-widget .quick-open-tree .content.has-group-label .quick-open-entry-keybinding{margin-right:8px}.monaco-quick-open-widget .quick-open-tree .quick-open-entry-keybinding .monaco-keybinding-key{vertical-align:text-bottom}.monaco-quick-open-widget .quick-open-tree .results-group{margin-right:18px}.monaco-quick-open-widget .quick-open-tree .focused .monaco-tree-row.focused>.content.has-actions>.results-group,.monaco-quick-open-widget .quick-open-tree .monaco-tree-row.focused>.content.has-actions>.results-group,.monaco-quick-open-widget .quick-open-tree .monaco-tree-row:hover:not(.highlighted)>.content.has-actions>.results-group{margin-right:0}.monaco-quick-open-widget .quick-open-tree .results-group-separator{border-top-width:1px;border-top-style:solid;box-sizing:border-box;margin-left:-11px;padding-left:11px}.monaco-tree .monaco-tree-row>.content.actions{position:relative;display:flex}.monaco-tree .monaco-tree-row>.content.actions>.sub-content{flex:1}.monaco-tree .monaco-tree-row>.content.actions .action-item{margin:0}.monaco-tree .monaco-tree-row>.content.actions>.primary-action-bar{line-height:22px;display:none;padding:0 .8em 0 .4em}.monaco-tree .monaco-tree-row.focused>.content.has-actions>.primary-action-bar{width:0;display:block}.monaco-tree.focused .monaco-tree-row.focused>.content.has-actions>.primary-action-bar,.monaco-tree .monaco-tree-row:hover:not(.highlighted)>.content.has-actions>.primary-action-bar,.monaco-tree .monaco-tree-row>.content.has-actions.more>.primary-action-bar{width:inherit;display:block}.monaco-tree .monaco-tree-row>.content.actions>.primary-action-bar .action-label{margin-right:.4em;margin-top:4px;background-repeat:no-repeat;width:16px;height:16px}.monaco-quick-open-widget .quick-open-tree .monaco-highlighted-label .highlight{font-weight:700}.monaco-tree{height:100%;width:100%;white-space:nowrap;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;-o-user-select:none;user-select:none;position:relative}.monaco-tree>.monaco-scrollable-element{height:100%}.monaco-tree>.monaco-scrollable-element>.monaco-tree-wrapper{height:100%;width:100%;position:relative}.monaco-tree .monaco-tree-rows{position:absolute;width:100%;height:100%}.monaco-tree .monaco-tree-rows>.monaco-tree-row{-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;cursor:pointer;overflow:hidden;width:100%;touch-action:none}.monaco-tree .monaco-tree-rows>.monaco-tree-row>.content{position:relative;height:100%}.monaco-tree-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute}.monaco-tree .monaco-tree-rows>.monaco-tree-row.scrolling{display:none}.monaco-tree .monaco-tree-rows.show-twisties>.monaco-tree-row.has-children>.content:before{content:" ";position:absolute;display:block;background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzY0NjQ2NSIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==") 50% 50% no-repeat;width:16px;height:100%;top:0;left:-16px}.monaco-tree .monaco-tree-rows.show-twisties>.monaco-tree-row.expanded>.content:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzY0NjQ2NSIgZD0iTTExIDEwSDUuMzQ0TDExIDQuNDE0VjEweiIvPjwvc3ZnPg==")}.monaco-tree .monaco-tree-rows>.monaco-tree-row.has-children.loading>.content:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHN0eWxlPmNpcmNsZXthbmltYXRpb246YmFsbCAuNnMgbGluZWFyIGluZmluaXRlfWNpcmNsZTpudGgtY2hpbGQoMil7YW5pbWF0aW9uLWRlbGF5Oi4wNzVzfWNpcmNsZTpudGgtY2hpbGQoMyl7YW5pbWF0aW9uLWRlbGF5Oi4xNXN9Y2lyY2xlOm50aC1jaGlsZCg0KXthbmltYXRpb24tZGVsYXk6LjIyNXN9Y2lyY2xlOm50aC1jaGlsZCg1KXthbmltYXRpb24tZGVsYXk6LjNzfWNpcmNsZTpudGgtY2hpbGQoNil7YW5pbWF0aW9uLWRlbGF5Oi4zNzVzfWNpcmNsZTpudGgtY2hpbGQoNyl7YW5pbWF0aW9uLWRlbGF5Oi40NXN9Y2lyY2xlOm50aC1jaGlsZCg4KXthbmltYXRpb24tZGVsYXk6LjUyNXN9PC9zdHlsZT48Y2lyY2xlIGN4PSI1IiBjeT0iMSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSI3LjgyOCIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjkiIGN5PSI1IiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjcuODI4IiBjeT0iNy44MjgiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iNSIgY3k9IjkiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iMi4xNzIiIGN5PSI3LjgyOCIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIxIiBjeT0iNSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIyLjE3MiIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjwvc3ZnPg==")}.monaco-tree.highlighted .monaco-tree-rows>.monaco-tree-row:not(.highlighted){opacity:.3}.vs-dark .monaco-tree .monaco-tree-rows.show-twisties>.monaco-tree-row.has-children>.content:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==")}.vs-dark .monaco-tree .monaco-tree-rows.show-twisties>.monaco-tree-row.expanded>.content:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTExIDEwSDUuMzQ0TDExIDQuNDE0VjEweiIvPjwvc3ZnPg==")}.vs-dark .monaco-tree .monaco-tree-rows>.monaco-tree-row.has-children.loading>.content:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHN0eWxlPmNpcmNsZXthbmltYXRpb246YmFsbCAuNnMgbGluZWFyIGluZmluaXRlfWNpcmNsZTpudGgtY2hpbGQoMil7YW5pbWF0aW9uLWRlbGF5Oi4wNzVzfWNpcmNsZTpudGgtY2hpbGQoMyl7YW5pbWF0aW9uLWRlbGF5Oi4xNXN9Y2lyY2xlOm50aC1jaGlsZCg0KXthbmltYXRpb24tZGVsYXk6LjIyNXN9Y2lyY2xlOm50aC1jaGlsZCg1KXthbmltYXRpb24tZGVsYXk6LjNzfWNpcmNsZTpudGgtY2hpbGQoNil7YW5pbWF0aW9uLWRlbGF5Oi4zNzVzfWNpcmNsZTpudGgtY2hpbGQoNyl7YW5pbWF0aW9uLWRlbGF5Oi40NXN9Y2lyY2xlOm50aC1jaGlsZCg4KXthbmltYXRpb24tZGVsYXk6LjUyNXN9PC9zdHlsZT48ZyBmaWxsPSJncmF5Ij48Y2lyY2xlIGN4PSI1IiBjeT0iMSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSI3LjgyOCIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjkiIGN5PSI1IiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjcuODI4IiBjeT0iNy44MjgiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iNSIgY3k9IjkiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iMi4xNzIiIGN5PSI3LjgyOCIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIxIiBjeT0iNSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIyLjE3MiIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjwvZz48L3N2Zz4=")}.hc-black .monaco-tree .monaco-tree-rows.show-twisties>.monaco-tree-row.has-children>.content:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==")}.hc-black .monaco-tree .monaco-tree-rows.show-twisties>.monaco-tree-row.expanded>.content:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTExIDEwLjA3SDUuMzQ0TDExIDQuNDE0djUuNjU2eiIvPjwvc3ZnPg==")}.hc-black .monaco-tree .monaco-tree-rows>.monaco-tree-row.has-children.loading>.content:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHN0eWxlPmNpcmNsZXthbmltYXRpb246YmFsbCAuNnMgbGluZWFyIGluZmluaXRlfWNpcmNsZTpudGgtY2hpbGQoMil7YW5pbWF0aW9uLWRlbGF5Oi4wNzVzfWNpcmNsZTpudGgtY2hpbGQoMyl7YW5pbWF0aW9uLWRlbGF5Oi4xNXN9Y2lyY2xlOm50aC1jaGlsZCg0KXthbmltYXRpb24tZGVsYXk6LjIyNXN9Y2lyY2xlOm50aC1jaGlsZCg1KXthbmltYXRpb24tZGVsYXk6LjNzfWNpcmNsZTpudGgtY2hpbGQoNil7YW5pbWF0aW9uLWRlbGF5Oi4zNzVzfWNpcmNsZTpudGgtY2hpbGQoNyl7YW5pbWF0aW9uLWRlbGF5Oi40NXN9Y2lyY2xlOm50aC1jaGlsZCg4KXthbmltYXRpb24tZGVsYXk6LjUyNXN9PC9zdHlsZT48ZyBmaWxsPSIjZmZmIj48Y2lyY2xlIGN4PSI1IiBjeT0iMSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSI3LjgyOCIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjkiIGN5PSI1IiByPSIxIiBvcGFjaXR5PSIuMyIvPjxjaXJjbGUgY3g9IjcuODI4IiBjeT0iNy44MjgiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iNSIgY3k9IjkiIHI9IjEiIG9wYWNpdHk9Ii4zIi8+PGNpcmNsZSBjeD0iMi4xNzIiIGN5PSI3LjgyOCIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIxIiBjeT0iNSIgcj0iMSIgb3BhY2l0eT0iLjMiLz48Y2lyY2xlIGN4PSIyLjE3MiIgY3k9IjIuMTcyIiByPSIxIiBvcGFjaXR5PSIuMyIvPjwvZz48L3N2Zz4=")}.monaco-tree-action.collapse-all{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTEgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzQyNDI0MiIgZD0iTTE0IDF2OWgtMVYySDVWMWg5ek0zIDN2MWg4djhoMVYzSDN6bTcgMnY5SDFWNWg5ek04IDdIM3Y1aDVWN3oiLz48cGF0aCBmaWxsPSIjMDA1MzlDIiBkPSJNNCA5aDN2MUg0eiIvPjwvc3ZnPg==") 50% no-repeat}.hc-black .monaco-tree-action.collapse-all,.vs-dark .monaco-tree-action.collapse-all{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTEgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTE0IDF2OWgtMVYySDVWMWg5ek0zIDN2MWg4djhoMVYzSDN6bTcgMnY5SDFWNWg5ek04IDdIM3Y1aDVWN3oiLz48cGF0aCBmaWxsPSIjNzVCRUZGIiBkPSJNNCA5aDN2MUg0eiIvPjwvc3ZnPg==") 50% no-repeat}.monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;animation-timing-function:linear;-ms-animation-name:progress;-ms-animation-duration:4s;-ms-animation-iteration-count:infinite;-ms-animation-timing-function:linear;-webkit-animation-name:progress;-webkit-animation-duration:4s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:progress;-moz-animation-duration:4s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;will-change:transform}@keyframes progress{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4950%) scaleX(1)}}@-ms-keyframes progress{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4950%) scaleX(1)}}@-webkit-keyframes progress{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4950%) scaleX(1)}}@-moz-keyframes progress{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4950%) scaleX(1)}}.monaco-editor-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;-webkit-user-select:text;-ms-user-select:text;-khtml-user-select:text;-moz-user-select:text;-o-user-select:text;user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-editor-hover.hidden{display:none}.monaco-editor-hover .hover-contents{padding:4px 8px}.monaco-editor-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:500px}.monaco-editor-hover p,.monaco-editor-hover ul{margin:8px 0}.monaco-editor-hover hr{margin:4px -10px -6px;height:1px}.monaco-editor-hover p:first-child,.monaco-editor-hover ul:first-child{margin-top:0}.monaco-editor-hover p:last-child,.monaco-editor-hover ul:last-child{margin-bottom:0}.monaco-editor-hover ul{padding-left:20px}.monaco-editor-hover li>p{margin-bottom:0}.monaco-editor-hover li>ul{margin-top:0}.monaco-editor-hover code{border-radius:3px;padding:0 .4em}.monaco-editor-hover .monaco-tokenized-source{white-space:pre-wrap;word-break:break-all}.monaco-editor-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-editor-hover .hover-row.status-bar .actions{display:flex}.monaco-editor-hover .hover-row.status-bar .actions .action-container{margin:0 8px;cursor:pointer}.monaco-editor-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.colorpicker-widget{height:190px;user-select:none}.monaco-editor .colorpicker-hover:focus{outline:none}.colorpicker-header{display:flex;height:24px;position:relative;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:216px;line-height:24px;cursor:pointer;color:#fff;flex:1;text-align:center}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid #fff;border-radius:100%;box-shadow:0 0 2px rgba(0,0,0,.8);position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:-webkit-grab;background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:-webkit-grab;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:-webkit-grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid hsla(0,0%,100%,.71);box-shadow:0 0 1px rgba(0,0,0,.85)}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.monaco-editor .tokens-inspect-widget{z-index:50;-webkit-user-select:text;-ms-user-select:text;-khtml-user-select:text;-moz-user-select:text;-o-user-select:text;user-select:text;padding:10px}.tokens-inspect-separator{height:1px;border:0}.monaco-editor .tokens-inspect-widget .tm-token{font-family:monospace}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:400;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:monospace;text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:monospace}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1OCIgaGVpZ2h0PSIzNiI+PHBhdGggZmlsbD0iI0YwRUZGMSIgZD0iTTU0IDMyVjRINHYyOGg1MHptLTE2LTJIMjB2LTZoMTh2NnptNiAwaC00di02aDR2NnptOCAwaC02di02aDZ2NnpNNDggNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHpNNDIgNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHpNMzYgNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHpNMzAgNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHpNMjQgNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHpNMTggNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHptMCAxMmgtNHYtNmg0djZ6TTEyIDZoNHY0aC00VjZ6bTAgNmg0djRoLTR2LTR6bTAgNmg0djRoLTR2LTR6TTYgNmg0djRINlY2em0wIDZoNHY0SDZ2LTR6bTAgNmg0djRINnYtNHptMCA2aDZ2Nkg2di02eiIvPjxwYXRoIGZpbGw9IiM0MjQyNDIiIGQ9Ik01NS4zMzYgMEgyLjA1MUMuNzA3IDAgMCAuNjU2IDAgMnYzMmMwIDEuMzQ0LjcwNyAxLjk2NSAyLjA1MSAxLjk2NUw1NiAzNmMxLjM0NCAwIDItLjY1NiAyLTJWMmMwLTEuMzQ0LTEuMzItMi0yLjY2NC0yek01NCAzMkg0VjRoNTB2Mjh6Ii8+PHBhdGggZmlsbD0iIzQyNDI0MiIgZD0iTTYgMTJoNHY0SDZ6TTEyIDEyaDR2NGgtNHpNMTggMTJoNHY0aC00ek0yNCAxMmg0djRoLTR6TTMwIDEyaDR2NGgtNHpNMzYgMTJoNHY0aC00ek00MiAxMmg0djRoLTR6TTQ4IDEyaDR2NGgtNHpNNiA2aDR2NEg2ek0xMiA2aDR2NGgtNHpNMTggNmg0djRoLTR6TTI0IDZoNHY0aC00ek0zMCA2aDR2NGgtNHpNMzYgNmg0djRoLTR6TTQyIDZoNHY0aC00ek00OCA2aDR2NGgtNHpNNiAxOGg0djRINnpNMTIgMThoNHY0aC00ek0xOCAxOGg0djRoLTR6TTI0IDE4aDR2NGgtNHpNMzAgMThoNHY0aC00ek0zNiAxOGg0djRoLTR6TTQyIDE4aDR2NGgtNHpNNDggMThoNHY0aC00ek02IDI0aDZ2Nkg2ek00NiAyNGg2djZoLTZ6TTIwIDI0aDE4djZIMjB6TTE0IDI0aDR2NmgtNHpNNDAgMjRoNHY2aC00eiIvPjwvc3ZnPg==") 50% no-repeat;border:4px solid #f6f6f6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1OCIgaGVpZ2h0PSIzNiI+PHBhdGggZmlsbD0iIzJCMjgyRSIgZD0iTTU0IDMyVjRINHYyOGg1MHptLTE2LTJIMjB2LTZoMTh2NnptNiAwaC00di02aDR2NnptOCAwaC02di02aDZ2NnpNNDggNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHpNNDIgNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHpNMzYgNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHpNMzAgNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHpNMjQgNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHpNMTggNmg0djRoLTRWNnptMCA2aDR2NGgtNHYtNHptMCA2aDR2NGgtNHYtNHptMCAxMmgtNHYtNmg0djZ6TTEyIDZoNHY0aC00VjZ6bTAgNmg0djRoLTR2LTR6bTAgNmg0djRoLTR2LTR6TTYgNmg0djRINlY2em0wIDZoNHY0SDZ2LTR6bTAgNmg0djRINnYtNHptMCA2aDZ2Nkg2di02eiIvPjxwYXRoIGZpbGw9IiNDNUM1QzUiIGQ9Ik01NS4zMzYgMEgyLjA1MUMuNzA3IDAgMCAuNjU2IDAgMnYzMmMwIDEuMzQ0LjcwNyAxLjk2NSAyLjA1MSAxLjk2NUw1NiAzNmMxLjM0NCAwIDItLjY1NiAyLTJWMmMwLTEuMzQ0LTEuMzItMi0yLjY2NC0yek01NCAzMkg0VjRoNTB2Mjh6Ii8+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTYgMTJoNHY0SDZ6TTEyIDEyaDR2NGgtNHpNMTggMTJoNHY0aC00ek0yNCAxMmg0djRoLTR6TTMwIDEyaDR2NGgtNHpNMzYgMTJoNHY0aC00ek00MiAxMmg0djRoLTR6TTQ4IDEyaDR2NGgtNHpNNiA2aDR2NEg2ek0xMiA2aDR2NGgtNHpNMTggNmg0djRoLTR6TTI0IDZoNHY0aC00ek0zMCA2aDR2NGgtNHpNMzYgNmg0djRoLTR6TTQyIDZoNHY0aC00ek00OCA2aDR2NGgtNHpNNiAxOGg0djRINnpNMTIgMThoNHY0aC00ek0xOCAxOGg0djRoLTR6TTI0IDE4aDR2NGgtNHpNMzAgMThoNHY0aC00ek0zNiAxOGg0djRoLTR6TTQyIDE4aDR2NGgtNHpNNDggMThoNHY0aC00ek02IDI0aDZ2Nkg2ek00NiAyNGg2djZoLTZ6TTIwIDI0aDE4djZIMjB6TTE0IDI0aDR2NmgtNHpNNDAgMjRoNHY2aC00eiIvPjwvc3ZnPg==") 50% no-repeat;border:4px solid #252526}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer}.monaco-editor .parameter-hints-widget{z-index:10;display:flex;flex-direction:column;line-height:1.5em}.monaco-editor .parameter-hints-widget>.wrapper{max-width:440px;display:flex;flex-direction:column}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0 0 0 1.9em}.monaco-editor .parameter-hints-widget.visible{transition:left .05s ease-in-out}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .body,.monaco-editor .parameter-hints-widget .monaco-scrollable-element{display:flex;flex-direction:column}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:normal}.monaco-editor .parameter-hints-widget .docs .code{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs code{border-radius:3px;padding:0 .4em}.monaco-editor .parameter-hints-widget .buttons{position:absolute;display:none;bottom:0;left:0}.monaco-editor .parameter-hints-widget.multiple .buttons{display:block}.monaco-editor .parameter-hints-widget.multiple .button{position:absolute;left:2px;width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzQyNDI0MiIgZD0iTTEwLjggOS41bC45LS45TDguMSA1IDQuMiA4LjZsLjkuOSAzLTIuNyAyLjcgMi43eiIvPjwvc3ZnPg==")}.monaco-editor .parameter-hints-widget .button.next{bottom:0;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzQyNDI0MiIgZD0iTTUuMSA1bC0uOS45IDMuNiAzLjYgMy45LTMuNi0xLS45LTMgMi43TDUuMSA1eiIvPjwvc3ZnPg==")}.monaco-editor .parameter-hints-widget .overloads{position:absolute;display:none;text-align:center;bottom:14px;left:0;width:22px;height:12px;line-height:12px;opacity:.5}.monaco-editor .parameter-hints-widget.multiple .overloads{display:block}.monaco-editor .parameter-hints-widget .signature .parameter.active{font-weight:700;text-decoration:underline}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor.hc-black .parameter-hints-widget .button.previous,.monaco-editor.vs-dark .parameter-hints-widget .button.previous{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTEwLjggOS41bC45LS45TDguMSA1IDQuMiA4LjZsLjkuOSAzLTIuNyAyLjcgMi43eiIvPjwvc3ZnPg==")}.monaco-editor.hc-black .parameter-hints-widget .button.next,.monaco-editor.vs-dark .parameter-hints-widget .button.next{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTUuMSA1bC0uOS45IDMuNiAzLjYgMy45LTMuNi0xLS45LTMgMi43TDUuMSA1eiIvPjwvc3ZnPg==")}.monaco-quick-open-widget{font-size:13px}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon,.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iNDAiPjxwYXRoIGQ9Ik0yODguNDgzIDMzYTYuMjA2IDYuMjA2IDAgMDEtMi4xNTMtLjM2NSA1LjEyMyA1LjEyMyAwIDAxLTEuNzYtMS4wODQgNC45MzYgNC45MzYgMCAwMS0xLjE2My0xLjcwNGMtLjI3LS42NDQtLjQwNy0xLjM3MS0uNDA3LTIuMTU4IDAtLjUxNy4wNjEtMS4wMTguMTc4LTEuNDkuMTE2LS40Ny4yOS0uOTI1LjUxNi0xLjM0OGE1LjMwNCA1LjMwNCAwIDAxMS45ODMtMi4wNzJjLjQxNi0uMjQ2Ljg4MS0uNDQgMS4zOC0uNTc2YTYuMDUyIDYuMDUyIDAgMDExLjU4Ny0uMjAyYy43MDUgMCAxLjM4Mi4xMDkgMi4wMTMuMzI0YTUuMTc3IDUuMTc3IDAgMDExLjcwOC45NTVjLjUwMS40MjUuOTAzLjk0OCAxLjE5MyAxLjU1Ni4yOTQuNjIzLjQ0MiAxLjMxNi40NDIgMi4wNjQgMCAuNjE5LS4wOSAxLjE4NS0uMjY4IDEuNjc5LS4xNzguNDkyLS40Mi45Mi0uNzIxIDEuMjc1YTMuMzU3IDMuMzU3IDAgMDEtMS4xMDQuODQ3bC0uMDQ4LjAyMnYxLjUzbC0uNTg3LjI2NmE0LjgxIDQuODEgMCAwMS0xLjExOS4zMzggOS4zNDQgOS4zNDQgMCAwMS0xLjY3LjE0M3oiIGZpbGw9IiMyRDJEMkQiLz48cGF0aCBkPSJNMjkxLjcxNiAyNC4wNDFhNC4xNzMgNC4xNzMgMCAwMC0xLjM4NC0uNzcxIDUuMTkgNS4xOSAwIDAwLTEuNjg5LS4yNzFjLS40NzMgMC0uOTEyLjA1NS0xLjMyNC4xNjctLjQxNC4xMTItLjc5MS4yNy0xLjEzNS40NzMtLjM0Mi4yMDItLjY1LjQ0Ni0uOTIyLjczM2E0LjI1OCA0LjI1OCAwIDAwLS42ODYuOTQ5IDQuOCA0LjggMCAwMC0uNDI4IDEuMTE5Yy0uMS4zOTktLjE0OC44MTQtLjE0OCAxLjI0NyAwIC42NTIuMTA5IDEuMjQ3LjMzMiAxLjc3Ni4yMTkuNTMxLjUzLjk4NC45MjggMS4zNjEuMzk2LjM3OC44NzEuNjY3IDEuNDE2Ljg3YTUuMTk3IDUuMTk3IDAgMDAxLjgwOC4zMDQgNy45OTcgNy45OTcgMCAwMDEuNDg3LS4xMjZjLjE5NS0uMDM2LjM2Ni0uMDc4LjUxNC0uMTI1bC4zNzUtLjE0di0uODU0bC0uNDYzLjE4NGE0LjIzIDQuMjMgMCAwMS0uNTIxLjE0MyA1LjkwMSA1LjkwMSAwIDAxLS42MDQuMDg5IDYuMzI1IDYuMzI1IDAgMDEtLjcuMDM0IDQuMDcxIDQuMDcxIDAgMDEtMS41MDktLjI2NCAzLjI4IDMuMjggMCAwMS0xLjEyNS0uNzMxIDMuMTQ2IDMuMTQ2IDAgMDEtLjcwOC0xLjEyNCA0LjA5OSA0LjA5OSAwIDAxLS4yNDMtMS40MzJjMC0uNTQ1LjA5LTEuMDUzLjI3My0xLjUyMmEzLjc2IDMuNzYgMCAwMS43NTgtMS4yMjUgMy41MjIgMy41MjIgMCAwMTEuMTU1LS44MTUgMy41OSAzLjU5IDAgMDExLjQ1Ny0uMjk0Yy40MTkgMCAuNzk4LjA0NCAxLjEyMi4xMzYuMzI5LjA5MS42Mi4yMTUuODcxLjM2OS4yNTQuMTU4LjQ2NS4zMzkuNjQzLjU0Ny4xNzkuMjA5LjMyNC40MzIuNDM4LjY2Ny4xMTMuMjM3LjE5My40OC4yNDYuNzMxLjA1MS4yNTQuMDc2LjUuMDc2Ljc0MSAwIC4zNDQtLjAzMy42NTMtLjEwMi45MjZhMi42MzggMi42MzggMCAwMS0uMjY5LjY5NGMtLjExLjE4OS0uMjM5LjMzNS0uMzg2LjQzNHMtLjI5NS4xNDgtLjQ1My4xNDhsLS4yMTUtLjA0NWEuMzc0LjM3NCAwIDAxLS4xNjYtLjE1Ni45MjguOTI4IDAgMDEtLjEwNy0uMzA2IDIuNjEzIDIuNjEzIDAgMDEtLjAzOS0uNDkybC4wMTgtLjMyNS4wNDEtLjUzLjA1NS0uNjQ0LjA1OC0uNjQ3LjA0OC0uNTQ2LjAyNy0uMzQ0aC0uOTE5bC0uMDU0LjZoLS4wMjFhLjc0MS43NDEgMCAwMC0uMTM2LS4yODEuOTQ1Ljk0NSAwIDAwLS4yMzMtLjIxNiAxLjE1IDEuMTUgMCAwMC0uMzA3LS4xNDEgMS4zMzMgMS4zMzMgMCAwMC0uMzY5LS4wNDhjLS4zMzcgMC0uNjQ2LjA3LS45MjQuMjE2YTIuMTkxIDIuMTkxIDAgMDAtLjcyMS41OTkgMi43OTYgMi43OTYgMCAwMC0uNDY1LjkwNWMtLjExNS4zNS0uMTcuNzI2LS4xNyAxLjEzNCAwIC4zNDQuMDQ1LjY0NS4xMzUuOTAxLjA4OC4yNi4yMTEuNDczLjM1OS42NDYuMTUzLjE3MS4zMjkuMy41MzQuMzgyYTEuNjEgMS42MSAwIDAwMS4xNC4wNDhjLjE1NC0uMDUyLjMwMi0uMTMuNDMyLS4yMzJhMS43MiAxLjcyIDAgMDAuNTg0LS45aC4wMjdjMCAuMzc2LjEwMS42NzQuMzA3Ljg5My4yMDcuMjIuNTAyLjMzLjg4OS4zMy4yOTIgMCAuNTgtLjA2NC44NjMtLjE5OC4yODMtLjEzMi41MzYtLjMyOC43NjItLjU4Ni4yMjMtLjI2Mi40MDQtLjU4My41NDMtLjk2Ni4xMzgtLjM4NC4yMDgtLjgzLjIwOC0xLjM0YTMuNzkgMy43OSAwIDAwLS4zNDUtMS42MzQgMy42NzMgMy42NzMgMCAwMC0uOTM5LTEuMjI1bS0yLjM2OCAzLjc3NGEyLjU2MSAyLjU2MSAwIDAxLS4yNDYuNzE5IDEuNDE1IDEuNDE1IDAgMDEtLjQwNy40ODEuOTcuOTcgMCAwMS0uNTcyLjE3Ni43NzMuNzczIDAgMDEtLjM0NC0uMDc4Ljg0OC44NDggMCAwMS0uMjg5LS4yMzIgMS4yNCAxLjI0IDAgMDEtLjE5OC0uMzkgMS45MzMgMS45MzMgMCAwMS0uMDctLjU0N2MwLS4yMzcuMDI3LS40ODEuMDgtLjcyOS4wNTYtLjI0Ny4xMzctLjQ3My4yNS0uNjc3LjEwOS0uMi4yNS0uMzYzLjQxNi0uNDkyYS45MzEuOTMxIDAgMDEuNTgyLS4xOTFjLjEyMyAwIC4yMzQuMDIxLjM0LjA2M2EuNzM2LjczNiAwIDAxLjI3OS4xOTYuOS45IDAgMDEuMTg5LjMzYy4wNDMuMTM0LjA3LjI5NC4wNy40OCAwIC4zMTctLjAzMS42MTUtLjA4Ljg5MSIgZmlsbD0iI0M1QzVDNSIvPjxwYXRoIGQ9Ik0yODguNDgzIDEzYTYuMjA2IDYuMjA2IDAgMDEtMi4xNTMtLjM2NSA1LjEyMyA1LjEyMyAwIDAxLTEuNzYtMS4wODQgNC45MzYgNC45MzYgMCAwMS0xLjE2My0xLjcwNGMtLjI2OS0uNjQ0LS40MDctMS4zNzEtLjQwNy0yLjE1OSAwLS41MTcuMDYxLTEuMDE4LjE3OC0xLjQ5LjExNi0uNDcuMjktLjkyNS41MTYtMS4zNDhhNS4zMDQgNS4zMDQgMCAwMTEuOTgzLTIuMDcyYy40MTYtLjI0Ni44ODEtLjQ0IDEuMzgtLjU3NkE2LjAzOSA2LjAzOSAwIDAxMjg4LjY0MyAyYy43MDUgMCAxLjM4Mi4xMDkgMi4wMTMuMzI0YTUuMTc3IDUuMTc3IDAgMDExLjcwOC45NTVjLjUwMS40MjUuOTAzLjk0OCAxLjE5MyAxLjU1Ni4yOTUuNjI0LjQ0MyAxLjMxNy40NDMgMi4wNjUgMCAuNjE5LS4wOSAxLjE4NS0uMjY4IDEuNjc5LS4xNzguNDkyLS40Mi45Mi0uNzIxIDEuMjc1YTMuMzU3IDMuMzU3IDAgMDEtMS4xMDQuODQ3bC0uMDQ4LjAyMnYxLjUzbC0uNTg3LjI2NmE0LjgxIDQuODEgMCAwMS0xLjExOS4zMzggOS4zNDQgOS4zNDQgMCAwMS0xLjY3LjE0M3oiIGZpbGw9IiNGM0YzRjMiLz48cGF0aCBkPSJNMjkxLjcxNiA0LjA0MWE0LjE3MyA0LjE3MyAwIDAwLTEuMzg0LS43NzEgNS4yMTcgNS4yMTcgMCAwMC0xLjY4OS0uMjdjLS40NzMgMC0uOTEyLjA1NS0xLjMyNC4xNjctLjQxNC4xMTItLjc5MS4yNy0xLjEzNS40NzMtLjM0Mi4yMDItLjY1LjQ0Ni0uOTIyLjczM2E0LjI1OCA0LjI1OCAwIDAwLS42ODYuOTQ5IDQuOCA0LjggMCAwMC0uNDI4IDEuMTE5Yy0uMDk5LjQtLjE0OC44MTUtLjE0OCAxLjI0NyAwIC42NTIuMTA5IDEuMjQ3LjMzMiAxLjc3Ni4yMTkuNTMxLjUzLjk4NC45MjggMS4zNjEuMzk2LjM3OC44NzEuNjY3IDEuNDE2Ljg3YTUuMTk3IDUuMTk3IDAgMDAxLjgwOC4zMDQgNy45OTcgNy45OTcgMCAwMDEuNDg3LS4xMjZjLjE5NS0uMDM2LjM2Ni0uMDc4LjUxNC0uMTI1bC4zNzUtLjE0di0uODU0bC0uNDYzLjE4NGE0LjIzIDQuMjMgMCAwMS0uNTIxLjE0MyA1LjkwMSA1LjkwMSAwIDAxLS42MDQuMDg5IDYuMzI1IDYuMzI1IDAgMDEtLjcuMDM0IDQuMDcxIDQuMDcxIDAgMDEtMS41MDktLjI2NCAzLjI4IDMuMjggMCAwMS0xLjEyNS0uNzMxIDMuMTQ2IDMuMTQ2IDAgMDEtLjcwOC0xLjEyNCA0LjA5OSA0LjA5OSAwIDAxLS4yNDMtMS40MzJjMC0uNTQ1LjA5LTEuMDUzLjI3My0xLjUyMmEzLjc2IDMuNzYgMCAwMS43NTgtMS4yMjUgMy41MjIgMy41MjIgMCAwMTEuMTU1LS44MTUgMy41OSAzLjU5IDAgMDExLjQ1Ny0uMjk0Yy40MTkgMCAuNzk4LjA0NCAxLjEyMi4xMzYuMzI5LjA5MS42Mi4yMTUuODcxLjM2OS4yNTQuMTU4LjQ2NS4zMzkuNjQzLjU0Ny4xNzkuMjA5LjMyNC40MzIuNDM4LjY2Ny4xMTMuMjM3LjE5My40OC4yNDYuNzMxLjA1MS4yNTQuMDc2LjUuMDc2Ljc0MSAwIC4zNDQtLjAzMy42NTMtLjEwMi45MjZhMi42MzggMi42MzggMCAwMS0uMjY5LjY5NGMtLjExLjE4OS0uMjM5LjMzNS0uMzg2LjQzNHMtLjI5NS4xNDgtLjQ1My4xNDhsLS4yMTUtLjA0NWEuMzc0LjM3NCAwIDAxLS4xNjYtLjE1Ni45MjguOTI4IDAgMDEtLjEwNy0uMzA2IDIuNjEzIDIuNjEzIDAgMDEtLjAzOS0uNDkybC4wMTgtLjMyNS4wNDEtLjUzLjA1NS0uNjQ0LjA1OC0uNjQ3LjA0OC0uNTQ2LjAyNy0uMzQ0aC0uOTE5bC0uMDU0LjZoLS4wMjFhLjc0MS43NDEgMCAwMC0uMTM2LS4yODEuOTQ1Ljk0NSAwIDAwLS4yMzMtLjIxNiAxLjE1IDEuMTUgMCAwMC0uMzA3LS4xNDEgMS4zMzMgMS4zMzMgMCAwMC0uMzY5LS4wNDhjLS4zMzcgMC0uNjQ2LjA3LS45MjQuMjE2YTIuMTkxIDIuMTkxIDAgMDAtLjcyMS41OTkgMi43OTYgMi43OTYgMCAwMC0uNDY1LjkwNWMtLjExNS4zNS0uMTcuNzI2LS4xNyAxLjEzNCAwIC4zNDQuMDQ1LjY0NS4xMzUuOTAxLjA4OC4yNi4yMTEuNDczLjM1OS42NDYuMTUzLjE3MS4zMjkuMy41MzQuMzgyYTEuNjEgMS42MSAwIDAwMS4xNC4wNDhjLjE1NC0uMDUyLjMwMi0uMTMuNDMyLS4yMzJhMS43MiAxLjcyIDAgMDAuNTg0LS45aC4wMjdjMCAuMzc2LjEwMS42NzQuMzA3Ljg5My4yMDcuMjIuNTAyLjMzLjg4OS4zMy4yOTIgMCAuNTgtLjA2NC44NjMtLjE5OC4yODMtLjEzMi41MzYtLjMyOC43NjItLjU4Ni4yMjMtLjI2Mi40MDQtLjU4My41NDMtLjk2Ni4xMzgtLjM4NS4yMDgtLjgzMS4yMDgtMS4zNDFhMy43OSAzLjc5IDAgMDAtLjM0NS0xLjYzNCAzLjY3MyAzLjY3MyAwIDAwLS45MzktMS4yMjVtLTIuMzY4IDMuNzc0YTIuNTYxIDIuNTYxIDAgMDEtLjI0Ni43MTkgMS40MTUgMS40MTUgMCAwMS0uNDA3LjQ4MS45Ny45NyAwIDAxLS41NzIuMTc2Ljc3My43NzMgMCAwMS0uMzQ0LS4wNzguODQ4Ljg0OCAwIDAxLS4yODktLjIzMiAxLjI0IDEuMjQgMCAwMS0uMTk4LS4zOSAxLjkzMyAxLjkzMyAwIDAxLS4wNy0uNTQ3YzAtLjIzNy4wMjctLjQ4MS4wOC0uNzI5LjA1Ni0uMjQ3LjEzNy0uNDczLjI1LS42NzcuMTA5LS4yLjI1LS4zNjMuNDE2LS40OTJhLjkzMS45MzEgMCAwMS41ODItLjE5MWMuMTIzIDAgLjIzNC4wMjEuMzQuMDYzYS43MzYuNzM2IDAgMDEuMjc5LjE5Ni45LjkgMCAwMS4xODkuMzNjLjA0My4xMzQuMDcuMjk0LjA3LjQ4IDAgLjMxNy0uMDMxLjYxNS0uMDguODkxIiBmaWxsPSIjNDI0MjQyIi8+PHBhdGggZD0iTTI2NCAzN1YyM2g4LjYyNUwyNzYgMjYuNTU2VjM3aC0xMnoiIGZpbGw9IiMyRDJEMkQiLz48cGF0aCBkPSJNMjcyIDI0aC03djEyaDEwdi05bC0zLTN6bTIgMTFoLThWMjVoNXYzaDN2N3oiIGZpbGw9IiNDNUM1QzUiLz48cGF0aCBmaWxsPSIjMkQyRDJEIiBkPSJNMjY2IDI1aDV2M2gzdjdoLTh6Ii8+PHBhdGggZD0iTTI2NCAxN1YzaDguNjI1TDI3NiA2LjU1NlYxN2gtMTJ6IiBmaWxsPSIjRjNGM0YzIi8+PHBhdGggZD0iTTI3MiA0aC03djEyaDEwVjdsLTMtM3ptMiAxMWgtOFY1aDV2M2gzdjd6IiBmaWxsPSIjNDI0MjQyIi8+PHBhdGggZmlsbD0iI0YwRUZGMSIgZD0iTTI2NiA1aDV2M2gzdjdoLTh6Ii8+PHBhdGggZmlsbD0iIzJEMkQyRCIgZD0iTTI0NyAzNHYtNGgtMnYtNGgxMHY4eiIvPjxwYXRoIGQ9Ik0yNTQgMjloLTh2LTJoOHYyem0wIDFoLTZ2MWg2di0xem0wIDJoLTZ2MWg2di0xeiIgZmlsbD0iI0M1QzVDNSIvPjxwYXRoIGZpbGw9IiNGM0YzRjMiIGQ9Ik0yNDcgMTR2LTRoLTJWNmgxMHY4eiIvPjxwYXRoIGQ9Ik0yNTQgOWgtOFY3aDh2MnptMCAxaC02djFoNnYtMXptMCAyaC02djFoNnYtMXoiIGZpbGw9IiM0MjQyNDIiLz48cGF0aCBkPSJNMjMwLjUgMjJjLTQuMTQzIDAtNy41IDMuMzU3LTcuNSA3LjVzMy4zNTcgNy41IDcuNSA3LjUgNy41LTMuMzU3IDcuNS03LjUtMy4zNTctNy41LTcuNS03LjV6bTAgMTFhMy41IDMuNSAwIDExMC03IDMuNSAzLjUgMCAxMTAgN3oiIGZpbGw9IiMyRDJEMkQiLz48cGF0aCBkPSJNMjI0LjAyNSAyOWE2LjQ2NCA2LjQ2NCAwIDAxMS41NDItMy43MjZsMS40MzEgMS40MzFhNC40NDMgNC40NDMgMCAwMC0uOTQ3IDIuMjk1aC0yLjAyNnptMi45NzMgMy4yOTVhNC40NDMgNC40NDMgMCAwMS0uOTQ3LTIuMjk1aC0yLjAyNWE2LjQ2NyA2LjQ2NyAwIDAwMS41NDIgMy43MjZsMS40My0xLjQzMXptNC4wMDItOS4yN3YyLjAyNWE0LjQ2IDQuNDYgMCAwMTIuMjk1Ljk0N2wxLjQzMS0xLjQzMUE2LjQ3NiA2LjQ3NiAwIDAwMjMxIDIzLjAyNXptLTMuMjk1IDIuOTczYTQuNDQzIDQuNDQzIDAgMDEyLjI5NS0uOTQ3di0yLjAyNWE2LjQ2NCA2LjQ2NCAwIDAwLTMuNzI2IDEuNTQybDEuNDMxIDEuNDN6bTYuMjk3LjcwN2MuNTE2LjY0Ni44NTEgMS40My45NDcgMi4yOTVoMi4wMjVhNi40NjQgNi40NjQgMCAwMC0xLjU0Mi0zLjcyNmwtMS40MyAxLjQzMXpNMjMwIDMzLjk0OWE0LjQ2IDQuNDYgMCAwMS0yLjI5NS0uOTQ3bC0xLjQzMSAxLjQzMUE2LjQ2MSA2LjQ2MSAwIDAwMjMwIDM1Ljk3NXYtMi4wMjZ6TTIzNC45NDkgMzBhNC40NjMgNC40NjMgMCAwMS0uOTQ3IDIuMjk1bDEuNDMxIDEuNDMxQTYuNDY3IDYuNDY3IDAgMDAyMzYuOTc1IDMwaC0yLjAyNnptLTEuNjU0IDMuMDAyYTQuNDQzIDQuNDQzIDAgMDEtMi4yOTUuOTQ3djIuMDI1YTYuNDYxIDYuNDYxIDAgMDAzLjcyNi0xLjU0MmwtMS40MzEtMS40M3oiIGZpbGw9IiNDNUM1QzUiLz48cGF0aCBkPSJNMjMwLjUgMmE3LjUgNy41IDAgMDAtNy41IDcuNWMwIDQuMTQzIDMuMzU3IDcuNSA3LjUgNy41czcuNS0zLjM1NyA3LjUtNy41YTcuNSA3LjUgMCAwMC03LjUtNy41em0wIDExYTMuNSAzLjUgMCAxMS0uMDAxLTYuOTk5QTMuNSAzLjUgMCAwMTIzMC41IDEzeiIgZmlsbD0iI0YzRjNGMyIvPjxwYXRoIGQ9Ik0yMjQuMDI1IDlhNi40NjQgNi40NjQgMCAwMTEuNTQyLTMuNzI2bDEuNDMxIDEuNDMxYTQuNDQzIDQuNDQzIDAgMDAtLjk0NyAyLjI5NGgtMi4wMjZ6bTIuOTczIDMuMjk1YTQuNDQzIDQuNDQzIDAgMDEtLjk0Ny0yLjI5NWgtMi4wMjVhNi40NjcgNi40NjcgMCAwMDEuNTQyIDMuNzI2bDEuNDMtMS40MzF6TTIzMSAzLjAyNVY1LjA1YTQuNDUyIDQuNDUyIDAgMDEyLjI5NS45NDhsMS40MzEtMS40MzFBNi40NyA2LjQ3IDAgMDAyMzEgMy4wMjV6bS0zLjI5NSAyLjk3NEE0LjQ1MiA0LjQ1MiAwIDAxMjMwIDUuMDUxVjMuMDI1YTYuNDY0IDYuNDY0IDAgMDAtMy43MjYgMS41NDJsMS40MzEgMS40MzJ6bTYuMjk3LjcwN2MuNTE2LjY0Ni44NTEgMS40My45NDcgMi4yOTRoMi4wMjVhNi40NjQgNi40NjQgMCAwMC0xLjU0Mi0zLjcyNmwtMS40MyAxLjQzMnpNMjMwIDEzLjk0OWE0LjQ2IDQuNDYgMCAwMS0yLjI5NS0uOTQ3bC0xLjQzMSAxLjQzMUE2LjQ2MSA2LjQ2MSAwIDAwMjMwIDE1Ljk3NXYtMi4wMjZ6TTIzNC45NDkgMTBhNC40NjMgNC40NjMgMCAwMS0uOTQ3IDIuMjk1bDEuNDMxIDEuNDMxQTYuNDY3IDYuNDY3IDAgMDAyMzYuOTc1IDEwaC0yLjAyNnptLTEuNjU0IDMuMDAyYTQuNDQzIDQuNDQzIDAgMDEtMi4yOTUuOTQ3djIuMDI1YTYuNDYxIDYuNDYxIDAgMDAzLjcyNi0xLjU0MmwtMS40MzEtMS40M3oiIGZpbGw9IiM0MjQyNDIiLz48cGF0aCBmaWxsPSIjMkQyRDJEIiBkPSJNMjAyIDIzaDE2djE0aC0xNnoiLz48cGF0aCBkPSJNMjAzIDI0djEyaDE0VjI0aC0xNHptMTMgMTFoLTEyVjI1aDEydjEwem0tNi03di0xaC0xdjVoM3YtNGgtMnptMSAzaC0xdi0yaDF2MnptMy0ydjJoMXYxaC0ydi00aDJ2MWgtMXptLTYtMXY0aC0zdi0yaDF2MWgxdi0xaC0xdi0xaC0xdi0xaDN6IiBmaWxsPSIjQzVDNUM1Ii8+PHBhdGggZD0iTTIxMCAyOWgxdjJoLTF2LTJ6bS0zIDJ2LTFoLTF2MWgxem05LTZ2MTBoLTEyVjI1aDEyem0tOCAzaC0zdjFoMXYxaC0xdjJoM3YtNHptNCAwaC0ydi0xaC0xdjVoM3YtNHptMyAwaC0ydjRoMnYtMWgtMXYtMmgxdi0xeiIgZmlsbD0iIzJEMkQyRCIvPjxwYXRoIGZpbGw9IiNGM0YzRjMiIGQ9Ik0yMDIgM2gxNnYxNGgtMTZ6Ii8+PHBhdGggZD0iTTIwMyA0djEyaDE0VjRoLTE0em0xMyAxMWgtMTJWNWgxMnYxMHptLTYtN1Y3aC0xdjVoM1Y4aC0yem0xIDNoLTFWOWgxdjJ6bTMtMnYyaDF2MWgtMlY4aDJ2MWgtMXptLTYtMXY0aC0zdi0yaDF2MWgxdi0xaC0xVjloLTFWOGgzeiIgZmlsbD0iIzQyNDI0MiIvPjxwYXRoIGQ9Ik0yMTAgOWgxdjJoLTFWOXptLTMgMnYtMWgtMXYxaDF6bTktNnYxMGgtMTJWNWgxMnptLTggM2gtM3YxaDF2MWgtMXYyaDNWOHptNCAwaC0yVjdoLTF2NWgzVjh6bTMgMGgtMnY0aDJ2LTFoLTFWOWgxVjh6IiBmaWxsPSIjRjBFRkYxIi8+PHBhdGggZD0iTTE5Ni42NTIgMzIuNUEyLjk5NyAyLjk5NyAwIDAwMTk1IDI3Yy0uNzcxIDAtMS40NjguMzAxLTIgLjc3OVYyMmgtMTF2MTJoMy43NjRsLTEuNDUyLjcyNyAxLjQ4MSAxLjQ4Yy4zMjIuMzIyLjgwMy41IDEuMzU0LjUuNDM2IDAgLjg5Ny0uMTExIDEuMzAxLS4zMTNsMy4xNDQtMS41NzJjLjEzNC4wNTMuMjcxLjA5OC40MTQuMTI3bC0uMDA1LjA1MWMwIDEuNjU0IDEuMzQ2IDMgMyAzczMtMS4zNDYgMy0zYTMgMyAwIDAwLTEuMzQ5LTIuNXoiIGZpbGw9IiMyRDJEMkQiLz48cGF0aCBkPSJNMTk1IDMzYy0uMjkzIDAtLjU2OS4wNjYtLjgyLjE4bC0uMjUtLjI1Yy4wNDItLjEzNy4wNy0uMjc5LjA3LS40M3MtLjAyOC0uMjkzLS4wNy0uNDNsLjI1LS4yNWMuMjUxLjExMy41MjcuMTguODIuMThhMiAyIDAgMTAtMi0yYzAgLjI5My4wNjYuNTY4LjE4LjgybC0uMjUuMjVhMS40MjQgMS40MjQgMCAwMC0uNDMtLjA3Yy0uMzM3IDAtLjY0NS4xMTUtLjg5NS4zMDNsLTIuNjA3LTEuMzA1LS45OTktLjVjLS41NTItLjI3NS0xLjIyMy0uMjc1LTEuNDk5LjAwMmwtLjUuNSA1IDIuNS01IDIuNS41LjVjLjI3Ni4yNzUuOTQ3LjI3NSAxLjUgMGwxLS41IDIuNjA1LTEuMzAzYy4yNS4xODguNTU4LjMwMy44OTUuMzAzLjE1IDAgLjI5My0uMDI5LjQzLS4wN2wuMjUuMjVhMS45NyAxLjk3IDAgMDAtLjE4LjgyIDIgMiAwIDEwMi0yem0wLTRhMSAxIDAgMTEuMDAyIDEuOTk4QTEgMSAwIDAxMTk1IDI5em0tMi41IDRhLjUuNSAwIDExLjAwMi0xLjAwMkEuNS41IDAgMDExOTIuNSAzM3ptMi41IDNhMSAxIDAgMTEwLTIgMSAxIDAgMDEwIDJ6bS0zLTEzdjcuMDUxYy0uMTQyLjAyOS0uMjc5LjA3LS40MTMuMTIzTDE5MSAzMHYtNmgtN3Y3aC0xdi04aDl6bS04IDEwaC0xdi0xaDF2MXptMi0xaC0xdjFoMXYtMXptMiAwaC0xdjFoMXYtMXoiIGZpbGw9IiNDNUM1QzUiLz48cGF0aCBkPSJNMTg1Ljc5MyAyOC43OTNMMTg0IDMwdi02aDd2NS4zODFsLTIuNTU0LS43NzdjLS44MTYtLjQwOS0xLjk5LS40NzUtMi42NTMuMTg5ek0xODUgMzFoLjc2NGwtLjc2NC0uMzgzVjMxem0xMSA0YTEgMSAwIDExLTIgMCAxIDEgMCAwMTIgMHptLTMuNS0zYS41LjUgMCAxMDAgMSAuNS41IDAgMDAwLTF6bTIuNS0zYTEgMSAwIDEwLS4wMDIgMS45OThBMSAxIDAgMDAxOTUgMjl6IiBmaWxsPSIjMkQyRDJEIi8+PHBhdGggZD0iTTE5Ni42NTIgMTIuNUEzIDMgMCAwMDE5OCAxMGMwLTEuNjU0LTEuMzQ2LTMtMy0zLS43NzEgMC0xLjQ2OC4zMDEtMiAuNzc5VjJoLTExdjEyaDMuNzY0bC0xLjQ1Mi43MjcgMS40ODEgMS40OGMuMzIyLjMyMi44MDMuNSAxLjM1NC41LjQzNiAwIC44OTctLjExMSAxLjMwMS0uMzEzbDMuMTQ0LTEuNTcyYy4xMzQuMDUzLjI3MS4wOTguNDE0LjEyN2wtLjAwNS4wNTFjMCAxLjY1NCAxLjM0NiAzIDMgM3MzLTEuMzQ2IDMtM2EzIDMgMCAwMC0xLjM0OS0yLjV6IiBmaWxsPSIjRjNGM0YzIi8+PHBhdGggZD0iTTE5NSAxM2MtLjI5MyAwLS41NjkuMDY2LS44Mi4xOGwtLjI1LS4yNWMuMDQyLS4xMzcuMDctLjI3OS4wNy0uNDNzLS4wMjgtLjI5My0uMDctLjQzbC4yNS0uMjVjLjI1MS4xMTMuNTI3LjE4LjgyLjE4YTIgMiAwIDEwLTItMmMwIC4yOTMuMDY2LjU2OC4xOC44MmwtLjI1LjI1YTEuNDI0IDEuNDI0IDAgMDAtLjQzLS4wN2MtLjMzNyAwLS42NDUuMTE1LS44OTUuMzAzbC0yLjYwNy0xLjMwNC0uOTk5LS41Yy0uNTUyLS4yNzUtMS4yMjMtLjI3NS0xLjQ5OS4wMDJMMTg2IDEwbDUgMi41LTUgMi41LjUuNWMuMjc2LjI3NS45NDcuMjc1IDEuNSAwbDEtLjUgMi42MDUtMS4zMDNjLjI1LjE4OC41NTguMzAzLjg5NS4zMDMuMTUgMCAuMjkzLS4wMjkuNDMtLjA3bC4yNS4yNWMtLjExMy4yNS0uMTguNTI3LS4xOC44MmEyIDIgMCAxMDItMnptMC00YTEgMSAwIDExLjAwMiAxLjk5OEExIDEgMCAwMTE5NSA5em0tMi41IDRhLjUuNSAwIDExLjAwMi0xLjAwMkEuNS41IDAgMDExOTIuNSAxM3ptMi41IDNhMSAxIDAgMTEwLTIgMSAxIDAgMDEwIDJ6bS0zLTEzdjcuMDUxYy0uMTQyLjAyOS0uMjc5LjA3LS40MTMuMTIzTDE5MSAxMFY0aC03djdoLTFWM2g5em0tOCAxMGgtMXYtMWgxdjF6bTItMWgtMXYxaDF2LTF6bTIgMGgtMXYxaDF2LTF6IiBmaWxsPSIjNDI0MjQyIi8+PHBhdGggZD0iTTE4NS43OTMgOC43OTNMMTg0IDEwVjRoN3Y1LjM4MWwtMi41NTQtLjc3N2MtLjgxNi0uNDA5LTEuOTktLjQ3NS0yLjY1My4xODl6TTE4NSAxMWguNzY0bC0uNzY0LS4zODNWMTF6bTExIDRhMSAxIDAgMTEtMiAwIDEgMSAwIDAxMiAwem0tMy41LTNhLjUuNSAwIDEwMCAxIC41LjUgMCAwMDAtMXptMi41LTNhMSAxIDAgMTAtLjAwMiAxLjk5OEExIDEgMCAwMDE5NSA5eiIgZmlsbD0iI0YwRUZGMSIvPjxwYXRoIGQ9Ik0xNzggMjd2LTNoLTd2LTFoLTl2MTRoMTN2LTNoM3YtM2gtMXYtM2gtNnYtMWg3em0tOCA3di0zaDF2M2gtMXoiIGZpbGw9IiMyRDJEMkQiLz48cGF0aCBkPSJNMTc3IDI2aC01di0xaDV2MXptLTEgM2gtMnYxaDJ2LTF6bS00IDBoLTl2MWg5di0xem0yIDZoLTExdjFoMTF2LTF6bS01LTNoLTZ2MWg2di0xem04IDBoLTV2MWg1di0xem0tNy04djNoLTd2LTNoN3ptLTEgMWgtNXYxaDV2LTF6IiBmaWxsPSIjQzVDNUM1Ii8+PHBhdGggZmlsbD0iIzJEMkQyRCIgZD0iTTE2NCAyNWg1djFoLTV6Ii8+PHBhdGggZD0iTTE3OCA3VjRoLTdWM2gtOXYxNGgxM3YtM2gzdi0zaC0xVjhoLTZWN2g3em0tOCA3di0zaDF2M2gtMXoiIGZpbGw9IiNGM0YzRjMiLz48cGF0aCBkPSJNMTc3IDZoLTVWNWg1djF6bS0xIDNoLTJ2MWgyVjl6bS00IDBoLTl2MWg5Vjl6bTIgNmgtMTF2MWgxMXYtMXptLTUtM2gtNnYxaDZ2LTF6bTggMGgtNXYxaDV2LTF6bS03LTh2M2gtN1Y0aDd6bS0xIDFoLTV2MWg1VjV6IiBmaWxsPSIjNDI0MjQyIi8+PHBhdGggZmlsbD0iI0YwRUZGMSIgZD0iTTE2NCA1aDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjMkQyRDJEIiBkPSJNMTU0LjQxNCAyNGgtNC44MjhMMTQ4IDI1LjU4NlYyOGgtNHY3aDh2LTRoMi40MTRMMTU2IDI5LjQxNHYtMy44Mjh6Ii8+PHBhdGggZD0iTTE1NCAyNWgtNGwtMSAxdjJoNXYxaC0ydjFoMmwxLTF2LTNsLTEtMXptMCAyaC00di0xaDR2MXptLTkgN2g2di01aC02djV6bTEtM2g0djFoLTR2LTF6IiBmaWxsPSIjNzVCRUZGIi8+PGcgZmlsbD0iIzJEMkQyRCI+PHBhdGggZD0iTTE0NiAzMWg0djFoLTR6TTE1MCAyNmg0djFoLTR6TTE1MiAyOGgydjFoLTJ6Ii8+PC9nPjxwYXRoIGZpbGw9IiNGM0YzRjMiIGQ9Ik0xNTQuNDE0IDRoLTQuODI4TDE0OCA1LjU4NlY4aC00djdoOHYtNGgyLjQxNEwxNTYgOS40MTRWNS41ODZ6Ii8+PHBhdGggZD0iTTE1NCA1aC00bC0xIDF2Mmg1djFoLTJ2MWgybDEtMVY2bC0xLTF6bTAgMmgtNFY2aDR2MXptLTkgN2g2VjloLTZ2NXptMS0zaDR2MWgtNHYtMXoiIGZpbGw9IiMwMDUzOUMiLz48ZyBmaWxsPSIjRjBFRkYxIj48cGF0aCBkPSJNMTQ2IDExaDR2MWgtNHpNMTUwIDZoNHYxaC00ek0xNTIgOGgydjFoLTJ6Ii8+PC9nPjxwYXRoIGQ9Ik0xMzggMjRoLTE1djRoLTF2OGg4di02aDh2LTZ6bS0xMSA5aC0ydi0yaDJ2MnoiIGZpbGw9IiMyRDJEMkQiLz48cGF0aCBkPSJNMTM3IDI5aC03di0xaC02di0zaDF2Mmgxdi0yaDF2Mmgxdi0yaDF2Mmgxdi0yaDF2Mmgxdi0yaDF2Mmgxdi0yaDF2Mmgxdi0yaDF2NHptLTEyIDF2LTFoLTJ2Nmgydi0xaC0xdi00aDF6bTIgNHYxaDJ2LTZoLTJ2MWgxdjRoLTF6IiBmaWxsPSIjQzVDNUM1Ii8+PHBhdGggZD0iTTEyNSAyN3YtMmgxdjJoLTF6bTMgMHYtMmgtMXYyaDF6bTIgMHYtMmgtMXYyaDF6bTIgMHYtMmgtMXYyaDF6bTIgMHYtMmgtMXYyaDF6bTIgMHYtMmgtMXYyaDF6IiBmaWxsPSIjMkQyRDJEIi8+PHBhdGggZD0iTTEzOCA0aC0xNXY0aC0xdjhoOHYtNmg4VjR6bS0xMSA5aC0ydi0yaDJ2MnoiIGZpbGw9IiNGM0YzRjMiLz48cGF0aCBkPSJNMTM3IDloLTdWOGgtNlY1aDF2MmgxVjVoMXYyaDFWNWgxdjJoMVY1aDF2MmgxVjVoMXYyaDFWNWgxdjJoMVY1aDF2NHptLTEyIDFWOWgtMnY2aDJ2LTFoLTF2LTRoMXptMiA0djFoMlY5aC0ydjFoMXY0aC0xeiIgZmlsbD0iIzQyNDI0MiIvPjxwYXRoIGQ9Ik0xMjUgN1Y1aDF2MmgtMXptMyAwVjVoLTF2Mmgxem0yIDBWNWgtMXYyaDF6bTIgMFY1aC0xdjJoMXptMiAwVjVoLTF2Mmgxem0yIDBWNWgtMXYyaDF6IiBmaWxsPSIjRjBFRkYxIi8+PHBhdGggZD0iTTExMC40NDkgMjNjLTEuNjM3IDAtMy4wNzUuNzk3LTMuOTg3IDIuMDEybC4wMDEuMDAyQTQuOTUzIDQuOTUzIDAgMDAxMDUuNDQ5IDI4YzAgLjQ2OS4wNjcuOTMzLjIgMS4zODVsLTIuOTA3IDIuOTA4Yy0uNjg3LjY4Ni0xLjI1MyAyLjE2MSAwIDMuNDE0LjYwOS42MDkgMS4yNDQuNzM2IDEuNjcuNzM2Ljk1OCAwIDEuNjIxLS42MTMgMS43NDQtLjczNmwyLjkwNy0yLjkwOGMuNDUzLjEzMy45MTcuMjAxIDEuMzg2LjIwMWE0Ljk1NyA0Ljk1NyAwIDAwMi45ODUtMS4wMTRsLjAwMi4wMDFjMS4yMTYtLjkxMiAyLjAxMy0yLjM1MiAyLjAxMy0zLjk4N2E1IDUgMCAwMC01LTV6IiBmaWxsPSIjMkQyRDJEIi8+PHBhdGggZD0iTTExNC4wOSAyNi4zNTlMMTExLjQ0OSAyOWwtMi0yIDIuNjQxLTIuNjQxYTMuOTY4IDMuOTY4IDAgMDAtMS42NDEtLjM1OSA0IDQgMCAwMC00IDRjMCAuNTg2LjEzMyAxLjEzOS4zNTkgMS42NEwxMDMuNDQ5IDMzcy0xIDEgMCAyaDJsMy4zNTktMy4zNmMuNTAyLjIyNyAxLjA1NS4zNiAxLjY0MS4zNmE0IDQgMCAwMDQtNGMwLS41ODYtLjEzMy0xLjEzOS0uMzU5LTEuNjQxeiIgZmlsbD0iI0M1QzVDNSIvPjxwYXRoIGQ9Ik0xMTAuNDQ5IDNjLTEuNjM3IDAtMy4wNzUuNzk3LTMuOTg3IDIuMDEybC4wMDEuMDAyQTQuOTUzIDQuOTUzIDAgMDAxMDUuNDQ5IDhjMCAuNDY5LjA2Ny45MzMuMiAxLjM4NWwtMi45MDcgMi45MDhjLS42ODcuNjg2LTEuMjUzIDIuMTYxIDAgMy40MTQuNjA5LjYwOSAxLjI0NC43MzYgMS42Ny43MzYuOTU4IDAgMS42MjEtLjYxMyAxLjc0NC0uNzM2bDIuOTA3LTIuOTA4Yy40NTMuMTMzLjkxNy4yMDEgMS4zODYuMjAxYTQuOTU3IDQuOTU3IDAgMDAyLjk4NS0xLjAxNGwuMDAyLjAwMWMxLjIxNi0uOTEyIDIuMDEzLTIuMzUyIDIuMDEzLTMuOTg3YTUgNSAwIDAwLTUtNXoiIGZpbGw9IiNGM0YzRjMiLz48cGF0aCBkPSJNMTE0LjA5IDYuMzU5TDExMS40NDkgOWwtMi0yIDIuNjQxLTIuNjQxQTMuOTg0IDMuOTg0IDAgMDAxMTAuNDQ5IDRhNCA0IDAgMDAtNCA0YzAgLjU4Ni4xMzMgMS4xMzkuMzU5IDEuNjRMMTAzLjQ0OSAxM3MtMSAxIDAgMmgybDMuMzU5LTMuMzZjLjUwMi4yMjcgMS4wNTUuMzYgMS42NDEuMzZhNCA0IDAgMDA0LTRjMC0uNTg2LS4xMzMtMS4xMzktLjM1OS0xLjY0MXoiIGZpbGw9IiM0MjQyNDIiLz48cGF0aCBkPSJNODkgMzNoMXYtMWMwLS41MzcuNzQxLTEuNjEzIDEtMi0uMjU5LS4zODktMS0xLjQ2Ny0xLTJ2LTFoLTF2LTNoMWMxLjk2OS4wMjEgMyAxLjI3NyAzIDN2MWwxIDF2MmwtMSAxdjFjMCAxLjcwOS0xLjAzMSAyLjk3OS0zIDNoLTF2LTN6bS0yIDBoLTF2LTFjMC0uNTM3LS43NDEtMS42MTMtMS0yIC4yNTktLjM4OSAxLTEuNDY3IDEtMnYtMWgxdi0zaC0xYy0xLjk2OS4wMjEtMyAxLjI3Ny0zIDN2MWwtMSAxdjJsMSAxdjFjMCAxLjcwOSAxLjMxNyAyLjk3OSAzLjI4NiAzSDg3di0zeiIgZmlsbD0iIzJEMkQyRCIvPjxwYXRoIGQ9Ik05MSAzM3YtMWMwLS44MzQuNDk2LTEuNzM4IDEtMi0uNTA0LS4yNy0xLTEuMTY4LTEtMnYtMWMwLS44NC0uNTg0LTEtMS0xdi0xYzIuMDgzIDAgMiAxLjE2NiAyIDJ2MWMwIC45NjkuNzAzLjk4IDEgMXYyYy0uMzIyLjAyLTEgLjA1My0xIDF2MWMwIC44MzQuMDgzIDItMiAydi0xYy44MzMgMCAxLTEgMS0xem0tNiAwdi0xYzAtLjgzNC0uNDk2LTEuNzM4LTEtMiAuNTA0LS4yNyAxLTEuMTY4IDEtMnYtMWMwLS44NC41ODQtMSAxLTF2LTFjLTIuMDgzIDAtMiAxLjE2Ni0yIDJ2MWMwIC45NjktLjcwMy45OC0xIDF2MmMuMzIyLjAyIDEgLjA1MyAxIDF2MWMwIC44MzQtLjA4MyAyIDIgMnYtMWMtLjgzMyAwLTEtMS0xLTF6IiBmaWxsPSIjQzVDNUM1Ii8+PHBhdGggZD0iTTg5IDEzaDF2LTFjMC0uNTM3Ljc0MS0xLjYxMyAxLTItLjI1OS0uMzg5LTEtMS40NjctMS0yVjdoLTFWNGgxYzEuOTY5LjAyMSAzIDEuMjc3IDMgM3YxbDEgMXYybC0xIDF2MWMwIDEuNzA5LTEuMDMxIDIuOTc5LTMgM2gtMXYtM3ptLTIgMGgtMXYtMWMwLS41MzctLjc0MS0xLjYxMy0xLTIgLjI1OS0uMzg5IDEtMS40NjcgMS0yVjdoMVY0aC0xYy0xLjk2OS4wMjEtMyAxLjI3Ny0zIDN2MWwtMSAxdjJsMSAxdjFjMCAxLjcwOSAxLjMxNyAyLjk3OSAzLjI4NiAzSDg3di0zeiIgZmlsbD0iI0YzRjNGMyIvPjxwYXRoIGQ9Ik05MSAxM3YtMWMwLS44MzQuNDk2LTEuNzM4IDEtMi0uNTA0LS4yNy0xLTEuMTY4LTEtMlY3YzAtLjg0LS41ODQtMS0xLTFWNWMyLjA4MyAwIDIgMS4xNjYgMiAydjFjMCAuOTY5LjcwMy45OCAxIDF2MmMtLjMyMi4wMi0xIC4wNTMtMSAxdjFjMCAuODM0LjA4MyAyLTIgMnYtMWMuODMzIDAgMS0xIDEtMXptLTYgMHYtMWMwLS44MzQtLjQ5Ni0xLjczOC0xLTIgLjUwNC0uMjcgMS0xLjE2OCAxLTJWN2MwLS44NC41ODQtMSAxLTFWNWMtMi4wODMgMC0yIDEuMTY2LTIgMnYxYzAgLjk2OS0uNzAzLjk4LTEgMXYyYy4zMjIuMDIgMSAuMDUzIDEgMXYxYzAgLjgzNC0uMDgzIDIgMiAydi0xYy0uODMzIDAtMS0xLTEtMXoiIGZpbGw9IiM0MjQyNDIiLz48cGF0aCBkPSJNNzMuNSAzNGMtMS45MTQgMC0zLjYwMS0xLjI0Mi00LjIyNy0zSDY3LjU5YTIuOTkyIDIuOTkyIDAgMDEtMi41OTEgMS41Yy0xLjY1NCAwLTMtMS4zNDYtMy0zczEuMzQ2LTMgMy0zQTIuOTkgMi45OSAwIDAxNjcuNTkgMjhoMS42ODNjLjYyNi0xLjc2IDIuMzEzLTMgNC4yMjctMyAyLjQ4MSAwIDQuNSAyLjAxOCA0LjUgNC41IDAgMi40OC0yLjAxOSA0LjUtNC41IDQuNXoiIGZpbGw9IiMyRDJEMkQiLz48cGF0aCBkPSJNNzMuNSAyNmMtMS43NTkgMC0zLjIwNCAxLjMwOC0zLjQ0OSAzaC0zLjEyMmExLjk5NSAxLjk5NSAwIDAwLTMuOTI5LjUgMS45OTUgMS45OTUgMCAwMDMuOTI5LjVoMy4xMjJjLjI0NSAxLjY5MSAxLjY5IDMgMy40NDkgMyAxLjkzIDAgMy41LTEuNTcgMy41LTMuNSAwLTEuOTMxLTEuNTctMy41LTMuNS0zLjV6bTAgNWExLjUwMSAxLjUwMSAwIDExMS41LTEuNWMwIC44MjYtLjY3MyAxLjUtMS41IDEuNXoiIGZpbGw9IiM3NUJFRkYiLz48Y2lyY2xlIGN4PSI3My41IiBjeT0iMjkuNSIgcj0iMS41IiBmaWxsPSIjMkQyRDJEIi8+PHBhdGggZD0iTTczLjUgMTRjLTEuOTE0IDAtMy42MDEtMS4yNDItNC4yMjctM0g2Ny41OWEyLjk5MiAyLjk5MiAwIDAxLTIuNTkxIDEuNWMtMS42NTQgMC0zLTEuMzQ2LTMtM3MxLjM0Ni0zIDMtM0EyLjk5IDIuOTkgMCAwMTY3LjU5IDhoMS42ODNjLjYyNi0xLjc2IDIuMzEzLTMgNC4yMjctM0M3NS45ODEgNSA3OCA3LjAxOCA3OCA5LjVjMCAyLjQ4LTIuMDE5IDQuNS00LjUgNC41eiIgZmlsbD0iI0YzRjNGMyIvPjxwYXRoIGQ9Ik03My41IDZjLTEuNzU5IDAtMy4yMDQgMS4zMDgtMy40NDkgM2gtMy4xMjJBMS45OTUgMS45OTUgMCAwMDYzIDkuNWExLjk5NSAxLjk5NSAwIDAwMy45MjkuNWgzLjEyMmMuMjQ1IDEuNjkxIDEuNjkgMyAzLjQ0OSAzIDEuOTMgMCAzLjUtMS41NyAzLjUtMy41Qzc3IDcuNTY5IDc1LjQzIDYgNzMuNSA2em0wIDVBMS41MDEgMS41MDEgMCAxMTc1IDkuNWMwIC44MjYtLjY3MyAxLjUtMS41IDEuNXoiIGZpbGw9IiMwMDUzOUMiLz48Y2lyY2xlIGN4PSI3My41IiBjeT0iOS41IiByPSIxLjUiIGZpbGw9IiNGMEVGRjEiLz48cGF0aCBkPSJNNTggMjguNTg2bC0zLTNMNTMuNTg2IDI3aC0yLjE3MmwxLTEtNC00aC0uODI4TDQyIDI3LjU4NnYuODI4bDQgNEw0OC40MTQgMzBINDl2NWgxLjU4NmwzIDNoLjgyOEw1OCAzNC40MTR2LS44MjhMNTUuOTE0IDMxLjUgNTggMjkuNDE0di0uODI4eiIgZmlsbD0iIzJEMkQyRCIvPjxwYXRoIGZpbGw9IiNDMjdEMUEiIGQ9Ik01My45OTggMzMuMDAyTDUxIDMzdi00aDJsLTEgMSAyIDIgMy0zLTItMi0xIDFoLTVsMi0yLTMtMy01IDUgMyAzIDItMmgydjVoM2wtMSAxIDIgMiAzLTMtMi0yeiIvPjxwYXRoIGQ9Ik01OCA4LjU4NmwtMy0zTDUzLjU4NiA3aC0yLjE3MmwxLTEtNC00aC0uODI4TDQyIDcuNTg2di44MjhsNCA0TDQ4LjQxNCAxMEg0OXY1aDEuNTg2bDMgM2guODI4TDU4IDE0LjQxNHYtLjgyOEw1NS45MTQgMTEuNSA1OCA5LjQxNHYtLjgyOHoiIGZpbGw9IiNGM0YzRjMiLz48cGF0aCBmaWxsPSIjQzI3RDFBIiBkPSJNNTMuOTk4IDEzLjAwMkw1MSAxM1Y5aDJsLTEgMSAyIDIgMy0zLTItMi0xIDFoLTVsMi0yLTMtMy01IDUgMyAzIDItMmgydjVoM2wtMSAxIDIgMiAzLTMtMi0yeiIvPjxwYXRoIGQ9Ik0yOS4yNjMgMjRMMzQgMjYuMzY5djUuMjM2TDI3LjIwOSAzNWgtLjQyTDIyIDMyLjYwNXYtNS4yMzZMMjguNzM5IDI0aC41MjR6IiBmaWxsPSIjMkQyRDJEIi8+PHBhdGggZD0iTTIzIDI4djRsNCAyIDYtM3YtNGwtNC0yLTYgM3ptNCAxbC0yLTEgNC0yIDIgMS00IDJ6IiBmaWxsPSIjNzVCRUZGIi8+PHBhdGggZD0iTTI5IDI2bDIgMS00IDItMi0xIDQtMnoiIGZpbGw9IiMyRDJEMkQiLz48cGF0aCBkPSJNMjkuMjYzIDRMMzQgNi4zNjl2NS4yMzZMMjcuMjA5IDE1aC0uNDJMMjIgMTIuNjA1VjcuMzY5TDI4LjczOSA0aC41MjR6IiBmaWxsPSIjRjNGM0YzIi8+PHBhdGggZD0iTTIzIDh2NGw0IDIgNi0zVjdsLTQtMi02IDN6bTQgMWwtMi0xIDQtMiAyIDEtNCAyeiIgZmlsbD0iIzAwNTM5QyIvPjxwYXRoIGQ9Ik0yOSA2bDIgMS00IDItMi0xIDQtMnoiIGZpbGw9IiNGMEVGRjEiLz48cGF0aCBmaWxsPSIjMkQyRDJEIiBkPSJNMiAyNy4zMDh2NS4zODRMNy4yMDkgMzZoLjU4MkwxMyAzMi42OTJ2LTUuMzg0TDcuNzkxIDI0aC0uNTgyeiIvPjxwYXRoIGQ9Ik03LjUgMjVMMyAyNy44NTd2NC4yODVMNy41IDM1bDQuNS0yLjg1N3YtNC4yODVMNy41IDI1ek03IDMzLjQ5OGwtMy0xLjkwNXYtMi44MTVsMyAxLjkwNXYyLjgxNXpNNC42NDIgMjhMNy41IDI2LjE4NSAxMC4zNTggMjggNy41IDI5LjgxNSA0LjY0MiAyOHpNMTEgMzEuNTkzbC0zIDEuOTA1di0yLjgxNWwzLTEuOTA1djIuODE1eiIgZmlsbD0iI0IxODBENyIvPjxwYXRoIGZpbGw9IiMyRDJEMkQiIGQ9Ik0xMC4zNTggMjhMNy41IDI5LjgxNSA0LjY0MiAyOCA3LjUgMjYuMTg1ek00IDI4Ljc3N2wzIDEuOTA2djIuODE1bC0zLTEuOTA1ek04IDMzLjQ5OHYtMi44MTVsMy0xLjkwNnYyLjgxNnoiLz48cGF0aCBmaWxsPSIjRjNGM0YzIiBkPSJNMiA3LjMwOHY1LjM4NEw3LjIwOSAxNmguNTgyTDEzIDEyLjY5MlY3LjMwOEw3Ljc5MSA0aC0uNTgyeiIvPjxwYXRoIGQ9Ik03LjUgNUwzIDcuODU3djQuMjg1TDcuNSAxNWw0LjUtMi44NTdWNy44NTdMNy41IDV6TTcgMTMuNDk4bC0zLTEuOTA1VjguNzc3bDMgMS45MDV2Mi44MTZ6TTQuNjQyIDhMNy41IDYuMTg1IDEwLjM1OCA4IDcuNSA5LjgxNSA0LjY0MiA4ek0xMSAxMS41OTNsLTMgMS45MDV2LTIuODE1bDMtMS45MDV2Mi44MTV6IiBmaWxsPSIjNjUyRDkwIi8+PHBhdGggZmlsbD0iI0YwRUZGMSIgZD0iTTEwLjM1OCA4TDcuNSA5LjgxNSA0LjY0MiA4IDcuNSA2LjE4NXpNNCA4Ljc3N2wzIDEuOTA2djIuODE1bC0zLTEuOTA1ek04IDEzLjQ5OHYtMi44MTVsMy0xLjkwNnYyLjgxNnoiLz48L3N2Zz4=");background-repeat:no-repeat}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.constructor,.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.function,.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.method{background-position:0 -4px}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.field,.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.variable{background-position:-22px -4px}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.class{background-position:-43px -3px}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.interface{background-position:-63px -4px}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.module{background-position:-82px -4px}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.property{background-position:-102px -3px}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.enum{background-position:-122px -3px}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.rule{background-position:-242px -4px}.monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.file{background-position:-262px -4px}.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.constructor,.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.function,.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.method{background-position:0 -24px}.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.field,.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.variable{background-position:-22px -24px}.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.class{background-position:-43px -23px}.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.interface{background-position:-63px -24px}.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.module{background-position:-82px -24px}.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.property{background-position:-102px -23px}.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.enum{background-position:-122px -23px}.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.rule{background-position:-242px -24px}.vs-dark .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.file{background-position:-262px -24px}.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon{background:none;display:inline}.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon:before{height:16px;width:16px;display:inline-block}.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.constructor:before,.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.function:before,.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.method:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0IxODBENyIgZD0iTTUuNSAzTDEgNS44NTd2NC4yODVMNS41IDEzbDQuNS0yLjg1N1Y1Ljg1N0w1LjUgM3pNNSAxMS40OThMMiA5LjU5M1Y2Ljc3N2wzIDEuOTA1djIuODE2ek0yLjY0MiA2TDUuNSA0LjE4NSA4LjM1OCA2IDUuNSA3LjgxNSAyLjY0MiA2ek05IDkuNTkzbC0zIDEuOTA1VjguNjgzbDMtMS45MDV2Mi44MTV6Ii8+PC9zdmc+);margin-left:2px}.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.field:before,.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.variable:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iIzc1QkVGRiIgZD0iTTEgNnY0bDQgMiA2LTNWNUw3IDMgMSA2em00IDFMMyA2bDQtMiAyIDEtNCAyeiIvPjwvc3ZnPg==);margin-left:2px}.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.class:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0U4QUI1MyIgZD0iTTExLjk5OCAxMS4wMDJMOSAxMVY3aDJsLTEgMSAyIDIgMy0zLTItMi0xIDFIN2wyLTItMy0zLTUgNSAzIDMgMi0yaDJ2NWgzbC0xIDEgMiAyIDMtMy0yLTJ6Ii8+PC9zdmc+)}.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.interface:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iIzc1QkVGRiIgZD0iTTExLjUgNEM5Ljc0MSA0IDguMjk2IDUuMzA4IDguMDUxIDdINC45MjlBMS45OTUgMS45OTUgMCAwMDEgNy41YTEuOTk1IDEuOTk1IDAgMDAzLjkyOS41aDMuMTIyYy4yNDUgMS42OTEgMS42OSAzIDMuNDQ5IDMgMS45MyAwIDMuNS0xLjU3IDMuNS0zLjVDMTUgNS41NjkgMTMuNDMgNCAxMS41IDR6bTAgNUExLjUwMSAxLjUwMSAwIDExMTMgNy41YzAgLjgyNi0uNjczIDEuNS0xLjUgMS41eiIvPjwvc3ZnPg==)}.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.module:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTkgMTF2LTFjMC0uODM0LjQ5Ni0xLjczOCAxLTItLjUwNC0uMjctMS0xLjE2OC0xLTJWNWMwLS44NC0uNTg0LTEtMS0xVjNjMi4wODMgMCAyIDEuMTY2IDIgMnYxYzAgLjk2OS43MDMuOTggMSAxdjJjLS4zMjIuMDItMSAuMDUzLTEgMXYxYzAgLjgzNC4wODMgMi0yIDJ2LTFjLjgzMyAwIDEtMSAxLTF6bS02IDB2LTFjMC0uODM0LS40OTYtMS43MzgtMS0yIC41MDQtLjI3IDEtMS4xNjggMS0yVjVjMC0uODQuNTg0LTEgMS0xVjNDMS45MTcgMyAyIDQuMTY2IDIgNXYxYzAgLjk2OS0uNzAzLjk4LTEgMXYyYy4zMjIuMDIgMSAuMDUzIDEgMXYxYzAgLjgzNC0uMDgzIDIgMiAydi0xYy0uODMzIDAtMS0xLTEtMXoiLz48L3N2Zz4=);margin-left:2px}.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.property:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTEyLjA5IDQuMzU5TDkuNDQ5IDdsLTItMiAyLjY0MS0yLjY0MUEzLjk4NCAzLjk4NCAwIDAwOC40NDkgMmE0IDQgMCAwMC00IDRjMCAuNTg2LjEzMyAxLjEzOS4zNTkgMS42NEwxLjQ0OSAxMXMtMSAxIDAgMmgybDMuMzU5LTMuMzZjLjUwMy4yMjYgMS4wNTUuMzYgMS42NDEuMzZhNCA0IDAgMDA0LTRjMC0uNTg2LS4xMzMtMS4xMzktLjM1OS0xLjY0MXoiLz48L3N2Zz4=);margin-left:1px}.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.enum:before,.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.value:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTEyIDNIOEw3IDR2Mmg1djFoLTJ2MWgybDEtMVY0bC0xLTF6bTAgMkg4VjRoNHYxem0tOSA3aDZWN0gzdjV6bTEtM2g0djFINFY5eiIgZmlsbD0iIzc1QkVGRiIvPjwvc3ZnPg==)}.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.rule:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTEwIDVIMlYzaDh2MnptMCAxSDR2MWg2VjZ6bTAgMkg0djFoNlY4eiIvPjwvc3ZnPg==)}.hc-black .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.file:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTkuNjc2IDJIM3YxMmgxMFY1TDkuNjc2IDJ6TTEyIDEzSDRWM2g1djNoM3Y3eiIvPjwvc3ZnPg==)}.monaco-editor .rename-box{z-index:100;color:inherit}.monaco-editor .rename-box .rename-input{padding:4px}.monaco-editor .snippet-placeholder{min-width:2px}.monaco-editor .finish-snippet-placeholder,.monaco-editor .snippet-placeholder{outline-style:solid;outline-width:1px}.monaco-editor .suggest-widget{z-index:40;width:430px}.monaco-editor .suggest-widget>.details,.monaco-editor .suggest-widget>.message,.monaco-editor .suggest-widget>.tree{width:100%;border-style:solid;border-width:1px;box-sizing:border-box}.monaco-editor.hc-black .suggest-widget>.details,.monaco-editor.hc-black .suggest-widget>.message,.monaco-editor.hc-black .suggest-widget>.tree{border-width:2px}.monaco-editor .suggest-widget.docs-side{width:660px}.monaco-editor .suggest-widget.docs-side>.details,.monaco-editor .suggest-widget.docs-side>.tree{width:50%;float:left}.monaco-editor .suggest-widget.docs-side.list-right>.details,.monaco-editor .suggest-widget.docs-side.list-right>.tree{float:right}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%}.monaco-editor .suggest-widget .monaco-list{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;-o-user-select:none;user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>.header>.close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.readMore{opacity:.6;background-position:50%;background-repeat:no-repeat;background-size:70%;cursor:pointer}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>.header>.close{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2Ij48cGF0aCBmaWxsPSIjNDI0MjQyIiBkPSJNMTIuNTk3IDExLjA0MmwyLjgwMyAyLjgwMy0xLjU1NiAxLjU1NS0yLjgwMi0yLjgwMkw4LjIzOSAxNS40bC0xLjU1Ni0xLjU1NSAyLjgwMi0yLjgwMy0yLjgwMi0yLjgwMyAxLjU1NS0xLjU1NiAyLjgwNCAyLjgwMyAyLjgwMy0yLjgwM0wxNS40IDguMjM5eiIvPjwvc3ZnPg==");float:right;margin-right:5px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.readMore{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTggMUM0LjEzNSAxIDEgNC4xMzUgMSA4czMuMTM1IDcgNyA3IDctMy4xMzUgNy03LTMuMTM1LTctNy03em0xIDEySDdWNmgydjd6bTAtOEg3VjNoMnYyeiIgZmlsbD0iIzFCQTFFMiIvPjxwYXRoIGQ9Ik03IDZoMnY3SDdWNnptMC0xaDJWM0g3djJ6IiBmaWxsPSIjZmZmIi8+PC9zdmc+")}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>.header>.close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.type-label{margin-left:.8em;flex:1;text-align:right;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.type-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row.focused>.contents>.main>.readMore,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused>.contents>.main>.readMore,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused>.contents>.main>.type-label,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.readMore,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.type-label{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main>.readMore,.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main>.type-label{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:50%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .monaco-icon-label.suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.suggest-icon:before{content:" ";background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDEwYzAgMi4yMDUtMS43OTQgNC00IDQtMS44NTggMC0zLjQxMS0xLjI3OS0zLjg1OC0zaC0uOTc4bDIuMzE4IDRIMHYtMS43MDNsMi0zLjQwOFYwaDExdjYuMTQyYzEuNzIxLjQ0NyAzIDIgMyAzLjg1OHoiIGZpbGw9IiNmNmY2ZjYiLz48cGF0aCBkPSJNMTIgMXY0Ljc1QTQuMjU1IDQuMjU1IDAgMDA3Ljc1IDEwaC0uNzMyTDQuMjc1IDUuMjY5IDMgNy40NDJWMWg5ek03Ljc0NyAxNEw0LjI2OSA4IC43NDggMTRoNi45OTl6TTE1IDEwYTMgMyAwIDExLTYgMCAzIDMgMCAwMTYgMHoiIGZpbGw9IiM0MjQyNDIiLz48L3N2Zz4=");background-repeat:no-repeat;background-position:50%;background-size:75%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.constructor:before,.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.function:before,.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.method:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE1IDMuMzQ5djguNDAzTDguOTc1IDE2SDguMDdMMSAxMS41ODJWMy4zMjdMNy41OTUgMGgxLjExOEwxNSAzLjM0OXoiIGZpbGw9IiNmNmY2ZjYiLz48cGF0aCBkPSJNMTIuNzE1IDQuMzk4TDguNDg3IDcuMDIgMy41NjUgNC4yNzJsNC41NzgtMi4zMDkgNC41NzIgMi40MzV6TTMgNS4xMDJsNSAyLjc5MnY1LjcwNWwtNS0zLjEyNVY1LjEwMnptNiA4LjQzNFY3Ljg3OGw0LTIuNDh2NS4zMTdsLTQgMi44MjF6IiBmaWxsPSIjZjBlZmYxIi8+PHBhdGggZD0iTTguMTU2LjgzN0wyIDMuOTQydjcuMDg1TDguNTE3IDE1LjEgMTQgMTEuMjMzVjMuOTVMOC4xNTYuODM3em00LjU1OSAzLjU2MUw4LjQ4NyA3LjAyIDMuNTY1IDQuMjcybDQuNTc4LTIuMzA5IDQuNTcyIDIuNDM1ek0zIDUuMTAybDUgMi43OTJ2NS43MDVsLTUtMy4xMjVWNS4xMDJ6bTYgOC40MzRWNy44NzhsNC0yLjQ4djUuMzE3bC00IDIuODIxeiIgZmlsbD0iIzY1MmQ5MCIvPjwvc3ZnPg==")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.field:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTAgMTAuNzM2VjQuNUw5IDBsNyAzLjV2Ni4yMzZsLTkgNC41LTctMy41eiIgZmlsbD0iI2Y2ZjZmNiIvPjxwYXRoIGQ9Ik05IDFMMSA1djVsNiAzIDgtNFY0TDkgMXpNNyA2Ljg4MkwzLjIzNiA1IDkgMi4xMTggMTIuNzY0IDQgNyA2Ljg4MnoiIGZpbGw9IiMwMDUzOWMiLz48cGF0aCBkPSJNOSAyLjExOEwxMi43NjQgNCA3IDYuODgyIDMuMjM2IDUgOSAyLjExOHoiIGZpbGw9IiNmMGVmZjEiLz48L3N2Zz4=")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.event:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTcgN2g2bC04IDhINGwyLjk4NS02SDNsNC04aDZMNyA3eiIgZmlsbD0iI2MyN2QxYSIvPjwvc3ZnPg==")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.operator:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEgMXYxNGgxNFYxSDF6bTYgMTJIM3YtMWg0djF6bTAtM0gzVjloNHYxem0wLTVINXYySDRWNUgyVjRoMlYyaDF2MmgydjF6bTMuMjgxIDhIOC43MTlsMy00aDEuNTYzbC0zLjAwMSA0ek0xNCA1SDlWNGg1djF6IiBmaWxsPSIjMDA1MzljIi8+PC9zdmc+")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.variable:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTIgNXY2aDJ2MUgxVjRoM3YxSDJ6bTEwIDZ2MWgzVjRoLTN2MWgydjZoLTJ6IiBmaWxsPSIjNDI0MjQyIi8+PHBhdGggZD0iTTguNzMzIDRMNCA2LjM2N3YzLjE1Nkw3LjE1NiAxMS4xbDQuNzMzLTIuMzY3VjUuNTc4TDguNzMzIDR6TTcuMTU2IDcuMTU2bC0xLjU3OC0uNzg5IDMuMTU2LTEuNTc4IDEuNTc4Ljc4OS0zLjE1NiAxLjU3OHoiIGZpbGw9IiMwMDUzOWMiLz48L3N2Zz4=")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.class:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDYuNTg2bC0zLTNMMTEuNTg2IDVIOS40MTRsMS0xLTQtNGgtLjgyOEwwIDUuNTg2di44MjhsNCA0TDYuNDE0IDhIN3Y1aDEuNTg2bDMgM2guODI4TDE2IDEyLjQxNHYtLjgyOEwxMy45MTQgOS41IDE2IDcuNDE0di0uODI4eiIgZmlsbD0iI2Y2ZjZmNiIvPjxwYXRoIGQ9Ik0xMyAxMGwyIDItMyAzLTItMiAxLTFIOFY3SDZMNCA5IDEgNmw1LTUgMyAzLTIgMmg1bDEtMSAyIDItMyAzLTItMiAxLTFIOXY0bDIuOTk5LjAwMkwxMyAxMHoiIGZpbGw9IiNjMjdkMWEiLz48L3N2Zz4=")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.interface:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTExLjUgMTJjLTEuOTE1IDAtMy42MDItMS4yNDEtNC4yMjgtM2gtMS40MWEzLjExIDMuMTEgMCAwMS0yLjczNyAxLjYyNUMxLjQwMiAxMC42MjUgMCA5LjIyMyAwIDcuNXMxLjQwMi0zLjEyNSAzLjEyNS0zLjEyNWMxLjE2NSAwIDIuMjAxLjYzOSAyLjczNyAxLjYyNWgxLjQxYy42MjYtMS43NTkgMi4zMTMtMyA0LjIyOC0zQzEzLjk4MSAzIDE2IDUuMDE5IDE2IDcuNVMxMy45ODEgMTIgMTEuNSAxMnoiIGZpbGw9IiNmNmY2ZjYiLz48cGF0aCBkPSJNMTEuNSA5QTEuNTAxIDEuNTAxIDAgMTExMyA3LjVjMCAuODI2LS42NzMgMS41LTEuNSAxLjV6IiBmaWxsPSIjZjBlZmYxIi8+PHBhdGggZD0iTTExLjUgNGEzLjQ5IDMuNDkgMCAwMC0zLjQ1IDNINS4xODVBMi4xMjIgMi4xMjIgMCAwMDEgNy41YTIuMTIzIDIuMTIzIDAgMTA0LjE4NS41SDguMDVhMy40OSAzLjQ5IDAgMDAzLjQ1IDMgMy41IDMuNSAwIDEwMC03em0wIDVjLS44MjcgMC0xLjUtLjY3My0xLjUtMS41UzEwLjY3MyA2IDExLjUgNnMxLjUuNjczIDEuNSAxLjVTMTIuMzI3IDkgMTEuNSA5eiIgZmlsbD0iIzAwNTM5YyIvPjwvc3ZnPg==")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.struct:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEwIDloNHY0aC00Vjl6bS04IDRoNFY5SDJ2NHpNMiAzdjRoMTJWM0gyeiIgZmlsbD0iIzAwNTM5YyIvPjwvc3ZnPg==")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.type-parameter:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQgM2g4djJoLTF2LS41YS41LjUgMCAwMC0uNS0uNUg5djcuNWEuNS41IDAgMDAuNS41aC41djFINnYtMWguNWEuNS41IDAgMDAuNS0uNVY0SDUuNWEuNS41IDAgMDAtLjUuNVY1SDRWM3pNMyA1LjYxNUwuMTE2IDguNSAzIDExLjM4M2wuODg0LS44ODMtMi0yIDItMkwzIDUuNjE1em0xMCAwbC0uODg0Ljg4NSAyIDItMiAyIC44ODQuODgzTDE1Ljg4NCA4LjUgMTMgNS42MTV6IiBmaWxsPSIjNDI0MjQyIi8+PC9zdmc+")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.module:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTkuMjYgMTEuOTg0bC45NzgtLjAyMWEuOTYyLjk2MiAwIDAwLjA5LS4wMDZjLjAxMS0uMDYzLjAyNi0uMTc5LjAyNi0uMzYxVjkuNjg4YzAtLjY3OS4xODUtMS4yNTcuNTMtMS43MDctLjM0Ni0uNDUyLS41My0xLjAzLS41My0xLjcwNVY0LjM1YzAtLjE2Ny0uMDIxLS4yNTktLjAzNC0uMzAyTDkuMjYgNC4wMlYuOTczbDEuMDExLjAxMWMyLjE2Ny4wMjQgMy40MDkgMS4xNTYgMy40MDkgMy4xMDV2MS45NjJjMCAuMzUxLjA3MS40NjEuMDcyLjQ2MmwuOTM2LjA2LjA1My45Mjd2MS45MzZsLS45MzYuMDYxYy0uMDc2LjAxNi0uMTI1LjE0Ni0uMTI1LjQyNHYyLjAxN2MwIC45MTQtLjMzMiAzLjA0My0zLjQwOCAzLjA3OGwtMS4wMTIuMDExdi0zLjA0M3ptLTMuNTIxIDMuMDMyYy0zLjA4OS0uMDM1LTMuNDIyLTIuMTY0LTMuNDIyLTMuMDc4VjkuOTIxYzAtLjMyNy0uMDY2LS40MzItLjA2Ny0uNDMzbC0uOTM3LS4wNi0uMDYzLS45MjlWNi41NjNsLjk0Mi0uMDZjLjA1OCAwIC4xMjUtLjExNC4xMjUtLjQ1MlY0LjA5YzAtMS45NDkgMS4yNDgtMy4wODEgMy40MjItMy4xMDVMNi43NS45NzNWNC4wMmwtLjk3NS4wMjNhLjU3Mi41NzIgMCAwMC0uMDkzLjAxYy4wMDYuMDIxLS4wMTkuMTE1LS4wMTkuMjk3djEuOTI4YzAgLjY3NS0uMTg2IDEuMjUzLS41MzQgMS43MDUuMzQ4LjQ1LjUzNCAxLjAyOC41MzQgMS43MDd2MS45MDdjMCAuMTc1LjAxNC4yOTEuMDI3LjM2My4wMjMuMDAyIDEuMDYuMDI1IDEuMDYuMDI1djMuMDQzbC0xLjAxMS0uMDEyeiIgZmlsbD0iI2Y2ZjZmNiIvPjxwYXRoIGQ9Ik01Ljc1IDE0LjAxNmMtMS42MjMtLjAxOS0yLjQzNC0uNzExLTIuNDM0LTIuMDc4VjkuOTIxYzAtLjkwMi0uMzU1LTEuMzc2LTEuMDY2LTEuNDIydi0uOTk4Yy43MTEtLjA0NSAxLjA2Ni0uNTI5IDEuMDY2LTEuNDQ5VjQuMDljMC0xLjM4NS44MTEtMi4wODcgMi40MzQtMi4xMDV2MS4wNmMtLjcyNS4wMTctMS4wODcuNDUzLTEuMDg3IDEuMzA1djEuOTI4YzAgLjkyLS40NTQgMS40ODgtMS4zNiAxLjcwMlY4Yy45MDcuMjAxIDEuMzYuNzYzIDEuMzYgMS42ODh2MS45MDdjMCAuNDg4LjA4MS44MzUuMjQzIDEuMDQyLjE2Mi4yMDguNDQzLjMxNi44NDQuMzI1djEuMDU0em03Ljk5LTUuNTE3Yy0uNzA2LjA0NS0xLjA2LjUyLTEuMDYgMS40MjJ2Mi4wMTdjMCAxLjM2Ny0uODA3IDIuMDYtMi40MiAyLjA3OHYtMS4wNTNjLjM5Ni0uMDA5LjY3OC0uMTE4Ljg0NC0uMzI4LjE2Ny0uMjEuMjUtLjU1Ni4yNS0xLjAzOVY5LjY4OGMwLS45MjUuNDQ5LTEuNDg4IDEuMzQ3LTEuNjg4di0uMDIxYy0uODk4LS4yMTQtMS4zNDctLjc4Mi0xLjM0Ny0xLjcwMlY0LjM1YzAtLjg1Mi0uMzY0LTEuMjg4LTEuMDk0LTEuMzA2di0xLjA2YzEuNjEzLjAxOCAyLjQyLjcyIDIuNDIgMi4xMDV2MS45NjJjMCAuOTIuMzU0IDEuNDA0IDEuMDYgMS40NDl2Ljk5OXoiIGZpbGw9IiM0MjQyNDIiLz48L3N2Zz4=")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.property:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDUuNWE1LjUgNS41IDAgMDEtNS41IDUuNWMtLjI3NSAwLS41NDMtLjAyNy0uODA3LS4wNjZsLS4wNzktLjAxMmE1LjQyOSA1LjQyOSAwIDAxLS44MS0uMTkybC00LjUzNyA0LjUzN2MtLjQ3Mi40NzMtMS4xLjczMy0xLjc2Ny43MzNzLTEuMjk1LS4yNi0xLjc2OC0uNzMyYTIuNTAyIDIuNTAyIDAgMDEwLTMuNTM1bDQuNTM3LTQuNTM3YTUuNDUyIDUuNDUyIDAgMDEtLjE5MS0uODEyYy0uMDA1LS4wMjUtLjAwOC0uMDUxLS4wMTItLjA3N0E1LjUwMyA1LjUwMyAwIDAxNSA1LjVhNS41IDUuNSAwIDExMTEgMHoiIGZpbGw9IiNmNmY2ZjYiLz48cGF0aCBkPSJNMTUgNS41YTQuNSA0LjUgMCAwMS00LjUgNC41Yy0uNjkzIDAtMS4zNDItLjE3LTEuOTI5LS40NWwtNS4wMSA1LjAxYy0uMjkzLjI5NC0uNjc3LjQ0LTEuMDYxLjQ0cy0uNzY4LS4xNDYtMS4wNjEtLjQzOWExLjUgMS41IDAgMDEwLTIuMTIxbDUuMDEtNS4wMUE0LjQ4MyA0LjQ4MyAwIDAxNiA1LjUgNC41IDQuNSAwIDAxMTAuNSAxYy42OTMgMCAxLjM0Mi4xNyAxLjkyOS40NUw5LjYzNiA0LjI0M2wyLjEyMSAyLjEyMSAyLjc5My0yLjc5M2MuMjguNTg3LjQ1IDEuMjM2LjQ1IDEuOTI5eiIgZmlsbD0iIzQyNDI0MiIvPjwvc3ZnPg==")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.unit:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDExLjAxM0gxVjRoMTV2Ny4wMTN6IiBmaWxsPSIjZjZmNmY2Ii8+PHBhdGggZD0iTTggOUg3VjZoM3YzSDlWN0g4djJ6TTQgN2gxdjJoMVY2SDN2M2gxVjd6bTggMGgxdjJoMVY2aC0zdjNoMVY3eiIgZmlsbD0iI2YwZWZmMSIvPjxwYXRoIGQ9Ik0yIDV2NWgxM1Y1SDJ6bTQgNEg1VjdINHYySDNWNmgzdjN6bTQgMEg5VjdIOHYySDdWNmgzdjN6bTQgMGgtMVY3aC0xdjJoLTFWNmgzdjN6IiBmaWxsPSIjNDI0MjQyIi8+PC9zdmc+")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.constant:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTIuODc5IDE0TDEgMTIuMTIxVjMuODc5TDIuODc5IDJoMTAuMjQyTDE1IDMuODc5djguMjQyTDEzLjEyMSAxNEgyLjg3OXoiIGZpbGw9IiNmNmY2ZjYiLz48cGF0aCBkPSJNMTIuMjkzIDRIMy43MDdMMyA0LjcwN3Y2LjU4NmwuNzA3LjcwN2g4LjU4NmwuNzA3LS43MDdWNC43MDdMMTIuMjkzIDR6TTExIDEwSDVWOWg2djF6bTAtM0g1VjZoNnYxeiIgZmlsbD0iI2YwZWZmMSIvPjxwYXRoIGQ9Ik0xMi43MDcgMTNIMy4yOTNMMiAxMS43MDdWNC4yOTNMMy4yOTMgM2g5LjQxNEwxNCA0LjI5M3Y3LjQxNEwxMi43MDcgMTN6bS05LTFoOC41ODZsLjcwNy0uNzA3VjQuNzA3TDEyLjI5MyA0SDMuNzA3TDMgNC43MDd2Ni41ODZsLjcwNy43MDd6IiBmaWxsPSIjNDI0MjQyIi8+PHBhdGggZD0iTTExIDdINVY2aDZ2MXptMCAySDV2MWg2Vjl6IiBmaWxsPSIjMDA1MzljIi8+PC9zdmc+")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.enum:before,.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.value:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE0LjQxNCAxTDE2IDIuNTg2djUuODI4TDE0LjQxNCAxMEgxMHYzLjQxNkw4LjQxNCAxNUgxLjU4NkwwIDEzLjQxNnYtNS44M0wxLjU4NiA2SDZWMi41ODZMNy41ODYgMWg2LjgyOHoiIGZpbGw9IiNmNmY2ZjYiLz48cGF0aCBkPSJNMiAxM2g2VjhIMnY1em0xLTRoNHYxSDNWOXptMCAyaDR2MUgzdi0xem0xMS01VjNIOHYzaC40MTRMOSA2LjU4NlY2aDR2MUg5LjQxNGwuNTg2LjU4NlY4aDRWNnptLTEtMUg5VjRoNHYxeiIgZmlsbD0iI2YwZWZmMSIvPjxwYXRoIGQ9Ik0zIDExaDQuMDAxdjFIM3YtMXptMC0xaDQuMDAxVjlIM3Yxem02LTJ2NWwtMSAxSDJsLTEtMVY4bDEtMWg2bDEgMXpNOCA4SDJ2NWg2Vjh6bTEtMmwxIDFoM1Y2SDl6bTAtMWg0VjRIOXYxem01LTNIOEw3IDN2M2gxVjNoNnY1aC00djFoNGwxLTFWM2wtMS0xeiIgZmlsbD0iI2MyN2QxYSIvPjwvc3ZnPg==")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.enum-member:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTAgMTVWNmg2VjIuNTg2TDcuNTg1IDFoNi44MjlMMTYgMi41ODZ2NS44MjlMMTQuNDE0IDEwSDEwdjVIMHptMy02eiIgZmlsbD0iI2Y2ZjZmNiIvPjxwYXRoIGQ9Ik04IDN2M2g1djFoLTN2MWg0VjNIOHptNSAySDlWNGg0djF6TTIgOHY1aDZWOEgyem01IDNIM3YtMWg0djF6IiBmaWxsPSIjZjBlZmYxIi8+PHBhdGggZD0iTTEwIDZoM3YxaC0zVjZ6TTkgNHYxaDRWNEg5em01LTJIOEw3IDN2M2gxVjNoNnY1aC00djFoNGwxLTFWM2wtMS0xem0tNyA4SDN2MWg0di0xem0yLTN2N0gxVjdoOHpNOCA4SDJ2NWg2Vjh6IiBmaWxsPSIjMDA1MzljIi8+PC9zdmc+")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.keyword:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDVWMkg5VjFIMHYxNGgxM3YtM2gzVjloLTFWNkg5VjVoN3ptLTggN1Y5aDF2M0g4eiIgZmlsbD0iI2Y2ZjZmNiIvPjxwYXRoIGQ9Ik0yIDNoNXYxSDJWM3oiIGZpbGw9IiNmMGVmZjEiLz48cGF0aCBkPSJNMTUgNGgtNVYzaDV2MXptLTEgM2gtMnYxaDJWN3ptLTQgMEgxdjFoOVY3em0yIDZIMXYxaDExdi0xem0tNS0zSDF2MWg2di0xem04IDBoLTV2MWg1di0xek04IDJ2M0gxVjJoN3pNNyAzSDJ2MWg1VjN6IiBmaWxsPSIjNDI0MjQyIi8+PC9zdmc+")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.text:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDE1SDBWMWgxNnYxNHoiIGZpbGw9IiNmNmY2ZjYiLz48cGF0aCBkPSJNOS4yMjkgNy4zNTRjLjAzNS4xNDYuMDUyLjMxLjA1Mi40OTQgMCAuMjM0LS4wMi40NDEtLjA2LjYyMS0uMDM5LjE4LS4wOTUuMzI4LS4xNjguNDQ1YS42ODcuNjg3IDAgMDEtLjkxNC4yODEuNzYuNzYgMCAwMS0uMjM3LS4yMDcuOTg4Ljk4OCAwIDAxLS4xNTQtLjMwNiAxLjI2MiAxLjI2MiAwIDAxLS4wNTctLjM4MXYtLjUwNmMwLS4xNy4wMi0uMzI2LjA2MS0uNDY1cy4wOTYtLjI1OC4xNjgtLjM1OWEuNzU2Ljc1NiAwIDAxLjI1Ny0uMjMyYy4xLS4wNTUuMjEtLjA4Mi4zMzEtLjA4MmEuNjQ2LjY0NiAwIDAxLjU3MS4zMmMuMDY3LjEwNS4xMTYuMjMuMTUuMzc3em0tNS4xMjYuODY5YS41NTcuNTU3IDAgMDAtLjE5Ni4xMzJjLS4wNDcuMDUzLS4wOC4xMTItLjA5Ny4xOHMtLjAyOC4xNDctLjAyOC4yMzNhLjUxMy41MTMgMCAwMC4xNTcuMzkuNTI4LjUyOCAwIDAwLjE4Ni4xMTMuNjgyLjY4MiAwIDAwLjI0Mi4wNDEuNzYuNzYgMCAwMC41OTMtLjI3MS44OTcuODk3IDAgMDAuMTY1LS4yOTVjLjAzOC0uMTEzLjA1OS0uMjM0LjA1OS0uMzY1di0uMzQ2bC0uNzYxLjExYTEuMjkgMS4yOSAwIDAwLS4zMi4wNzh6TTE0IDN2MTBIMlYzaDEyek01Ljk2MiA3LjQ2OWMwLS4yMzgtLjAyNy0uNDUxLS4wODMtLjYzN2ExLjI4NiAxLjI4NiAwIDAwLS4yNDktLjQ3MSAxLjA4IDEuMDggMCAwMC0uNDI0LS4yOTUgMS42NDQgMS42NDQgMCAwMC0uNjA4LS4xMDFjLS4xMTkgMC0uMjQxLjAxMi0uMzY4LjAzM2EzLjIxMyAzLjIxMyAwIDAwLS42NzMuMTk1IDEuMzEzIDEuMzEzIDAgMDAtLjIxMi4xMTR2Ljc2OGMuMTU4LS4xMzIuMzQxLS4yMzUuNTQ0LS4zMTMuMjA0LS4wNzguNDEzLS4xMTcuNjI3LS4xMTcuMjEzIDAgLjM3Ny4wNjMuNDk0LjE4Ni4xMTYuMTI1LjE3NC4zMjQuMTc0LjZsLTEuMDMuMTU0Yy0uMjA1LjAyNi0uMzguMDc3LS41MjYuMTUxYTEuMDgzIDEuMDgzIDAgMDAtLjU2My42NkExLjU2MiAxLjU2MiAwIDAwMyA4Ljg1N2MwIC4xNy4wMjUuMzIzLjA3NC40NjNhLjk0NS45NDUgMCAwMC41NjguNTk2Yy4xMzkuMDU3LjI5Ny4wODQuNDc4LjA4NC4yMjkgMCAuNDMxLS4wNTMuNjA0LS4xNmExLjMgMS4zIDAgMDAuNDM5LS40NjNoLjAxNHYuNTI5aC43ODVWNy40Njl6TTEwIDcuODYxYTMuNTQgMy41NCAwIDAwLS4wNzQtLjczNCAyLjA0NyAyLjA0NyAwIDAwLS4yMjgtLjYxMSAxLjIwMyAxLjIwMyAwIDAwLS4zOTQtLjQxNiAxLjAzIDEuMDMgMCAwMC0uNTc0LS4xNTNjLS4xMjMgMC0uMjM0LjAxOC0uMzM2LjA1MWExIDEgMCAwMC0uMjc4LjE0NyAxLjE1MyAxLjE1MyAwIDAwLS4yMjUuMjIyIDIuMDIyIDIuMDIyIDAgMDAtLjE4MS4yODloLS4wMTNWNUg3djQuODg3aC42OTd2LS40ODVoLjAxM2MuMDQ0LjA4Mi4wOTUuMTU4LjE1MS4yMjkuMDU3LjA3LjExOS4xMzMuMTkxLjE4NmEuODM1LjgzNSAwIDAwLjIzOC4xMjEuOTQzLjk0MyAwIDAwLjI5My4wNDJjLjIzIDAgLjQzNC0uMDUzLjYwOS0uMTZhMS4zNCAxLjM0IDAgMDAuNDQzLS40NDNjLjEyLS4xODguMjExLS40MTIuMjcyLS42NzJBMy42MiAzLjYyIDAgMDAxMCA3Ljg2MXptMy0xLjY1OGEuNy43IDAgMDAtLjEwNi0uMDY2IDEuMTgzIDEuMTgzIDAgMDAtLjE0Mi0uMDYzIDEuMjMzIDEuMjMzIDAgMDAtLjM2My0uMDY1Yy0uMjA5IDAtLjM5OS4wNTEtLjU2OS4xNWExLjM1NSAxLjM1NSAwIDAwLS40MzMuNDI0Yy0uMTE4LjE4Mi0uMjEuNDAyLS4yNzMuNjZhMy42MyAzLjYzIDAgMDAtLjAwOCAxLjYxNWMuMDYuMjMuMTQzLjQzLjI1Mi42MDIuMTA5LjE2OC4yNDEuMzAzLjM5Ni4zOTZhLjk3Mi45NzIgMCAwMC41MjQuMTQ0Yy4xNTggMCAuMjk2LS4wMjEuNDEzLS4wNjguMTE3LS4wNDUuMjE5LS4xMDguMzA5LS4xODR2LS43N2ExLjA5NCAxLjA5NCAwIDAxLS4yODguMjI1LjgxOS44MTkgMCAwMS0uMTU4LjA2OC40OC40OCAwIDAxLS4xNTMuMDI3LjYyLjYyIDAgMDEtLjI3NC0uMDc0Yy0uMjQxLS4xMzYtLjQyMy0uNDc5LS40MjMtMS4xNDYgMC0uNzE1LjIwNi0xLjEyLjQ2OS0xLjMwMS4wNzctLjAzMi4xNTMtLjA2NC4yMzgtLjA2NC4xMTMgMCAuMjIuMDI3LjMxNy4wODIuMDk2LjA1Ny4xODguMTMxLjI3Mi4yMjN2LS44MTV6IiBmaWxsPSIjZjBlZmYxIi8+PHBhdGggZD0iTTEgMnYxMmgxNFYySDF6bTEzIDExSDJWM2gxMnYxMHpNNS42MyA2LjM2MWExLjA4IDEuMDggMCAwMC0uNDI0LS4yOTUgMS42NDQgMS42NDQgMCAwMC0uNjA4LS4xMDFjLS4xMTkgMC0uMjQxLjAxMi0uMzY4LjAzM2EzLjIxMyAzLjIxMyAwIDAwLS42NzMuMTk1IDEuMzEzIDEuMzEzIDAgMDAtLjIxMi4xMTR2Ljc2OGMuMTU4LS4xMzIuMzQxLS4yMzUuNTQ0LS4zMTMuMjA0LS4wNzguNDEzLS4xMTcuNjI3LS4xMTcuMjEzIDAgLjM3Ny4wNjMuNDk0LjE4Ni4xMTYuMTI1LjE3NC4zMjQuMTc0LjZsLTEuMDMuMTU0Yy0uMjA1LjAyNi0uMzguMDc3LS41MjYuMTUxYTEuMDgzIDEuMDgzIDAgMDAtLjU2My42NkExLjU2MiAxLjU2MiAwIDAwMyA4Ljg1N2MwIC4xNy4wMjUuMzIzLjA3NC40NjNhLjk0NS45NDUgMCAwMC41NjguNTk2Yy4xMzkuMDU3LjI5Ny4wODQuNDc4LjA4NC4yMjkgMCAuNDMxLS4wNTMuNjA0LS4xNmExLjMgMS4zIDAgMDAuNDM5LS40NjNoLjAxNHYuNTI5aC43ODVWNy40NjljMC0uMjM4LS4wMjctLjQ1MS0uMDgzLS42MzdhMS4yODYgMS4yODYgMCAwMC0uMjQ5LS40NzF6bS0uNDQ2IDIuMDJjMCAuMTMxLS4wMi4yNTItLjA1OS4zNjVhLjg5Ny44OTcgMCAwMS0uMTY1LjI5NS43NTguNzU4IDAgMDEtLjU5My4yNzIuNjgyLjY4MiAwIDAxLS4yNDItLjA0MS41MDcuNTA3IDAgMDEtLjMwMi0uMjg2LjU4My41ODMgMCAwMS0uMDQxLS4yMThjMC0uMDg2LjAxLS4xNjQuMDI3LS4yMzJzLjA1MS0uMTI3LjA5OC0uMThhLjU0Ni41NDYgMCAwMS4xOTYtLjEzM2MuMDgzLS4wMzMuMTg5LS4wNjEuMzItLjA3OGwuNzYxLS4xMDl2LjM0NXptNC41MTQtMS44NjVhMS4yMDMgMS4yMDMgMCAwMC0uMzk0LS40MTYgMS4wMyAxLjAzIDAgMDAtLjU3NC0uMTUzYy0uMTIzIDAtLjIzNC4wMTgtLjMzNi4wNTFhMSAxIDAgMDAtLjI3OC4xNDcgMS4xNTMgMS4xNTMgMCAwMC0uMjI1LjIyMiAyLjAyMiAyLjAyMiAwIDAwLS4xODEuMjg5aC0uMDEzVjVIN3Y0Ljg4N2guNjk3di0uNDg1aC4wMTNjLjA0NC4wODIuMDk1LjE1OC4xNTEuMjI5LjA1Ny4wNy4xMTkuMTMzLjE5MS4xODZhLjgzNS44MzUgMCAwMC4yMzguMTIxLjk0My45NDMgMCAwMC4yOTMuMDQyYy4yMyAwIC40MzQtLjA1My42MDktLjE2YTEuMzQgMS4zNCAwIDAwLjQ0My0uNDQzYy4xMi0uMTg4LjIxMS0uNDEyLjI3Mi0uNjcyQTMuNjIgMy42MiAwIDAwMTAgNy44NjFhMy41NCAzLjU0IDAgMDAtLjA3NC0uNzM0IDIuMDQ3IDIuMDQ3IDAgMDAtLjIyOC0uNjExem0tLjQ3NiAxLjk1M2MtLjAzOS4xOC0uMDk1LjMyOC0uMTY4LjQ0NWEuNzU1Ljc1NSAwIDAxLS4yNjQuMjY2LjY4Ny42ODcgMCAwMS0uNjUxLjAxNS43Ni43NiAwIDAxLS4yMzctLjIwNy45ODguOTg4IDAgMDEtLjE1NC0uMzA2IDEuMjYyIDEuMjYyIDAgMDEtLjA1Ny0uMzgxdi0uNTA2YzAtLjE3LjAyLS4zMjYuMDYxLS40NjVzLjA5Ni0uMjU4LjE2OC0uMzU5YS43NTYuNzU2IDAgMDEuMjU3LS4yMzJjLjEtLjA1NS4yMS0uMDgyLjMzMS0uMDgyYS42NDYuNjQ2IDAgMDEuNTcxLjMyYy4wNjYuMTA1LjExNi4yMy4xNS4zNzcuMDM1LjE0Ni4wNTIuMzEuMDUyLjQ5NCAwIC4yMzQtLjAxOS40NDEtLjA1OS42MjF6bTMuNjcyLTIuMzMyYS43LjcgMCAwMS4xMDYuMDY2di44MTRhMS4xNzggMS4xNzggMCAwMC0uMjczLS4yMjMuNjQ1LjY0NSAwIDAwLS4zMTctLjA4MWMtLjA4NSAwLS4xNjEuMDMyLS4yMzguMDY0LS4yNjMuMTgxLS40NjkuNTg2LS40NjkgMS4zMDEgMCAuNjY4LjE4MiAxLjAxMS40MjMgMS4xNDYuMDg0LjA0LjE3MS4wNzQuMjc0LjA3NC4wNDkgMCAuMTAxLS4wMS4xNTMtLjAyN2EuODU2Ljg1NiAwIDAwLjE1OC0uMDY4IDEuMTYgMS4xNiAwIDAwLjI4OC0uMjI1di43N2MtLjA5LjA3Ni0uMTkyLjEzOS0uMzA5LjE4NGExLjA5OCAxLjA5OCAwIDAxLS40MTIuMDY4Ljk3NC45NzQgMCAwMS0uNTIzLS4xNDMgMS4yNTcgMS4yNTcgMCAwMS0uMzk2LS4zOTYgMi4wOTggMi4wOTggMCAwMS0uMjUyLS42MDIgMy4xMTggMy4xMTggMCAwMS0uMDg4LS43NTRjMC0uMzE2LjAzMi0uNjA0LjA5Ni0uODYxLjA2My0uMjU4LjE1NS0uNDc5LjI3My0uNjYuMTE5LS4xODIuMjY1LS4zMjIuNDMzLS40MjRhMS4xMDIgMS4xMDIgMCAwMTEuMDczLS4wMjN6IiBmaWxsPSIjNDI0MjQyIi8+PC9zdmc+")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.color:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDhjMCA0LjQxMS0zLjU4OSA4LTggOGEyLjgwMyAyLjgwMyAwIDAxLTIuOC0yLjhjMC0uODMzLjI3Mi0xLjYyOS43NjYtMi4yNDFhLjU5Ni41OTYgMCAwMC4xMDEtLjM1OS42NjcuNjY3IDAgMDAtLjY2Ny0uNjY2LjU4LjU4IDAgMDAtLjM1OC4xMDJBMy41ODQgMy41ODQgMCAwMTIuOCAxMC44IDIuODAzIDIuODAzIDAgMDEwIDhjMC00LjQxMSAzLjU4OS04IDgtOHM4IDMuNTg5IDggOHoiIGZpbGw9IiNmNmY2ZjYiLz48cGF0aCBkPSJNNS40IDcuOTMzYTIuNjcgMi42NyAwIDAxMi42NjcgMi42NjZjMCAuNjA2LS4xOTMgMS4xNzktLjU0NCAxLjYxNGExLjU5OSAxLjU5OSAwIDAwLS4zMjMuOTg3LjguOCAwIDAwLjguOGMzLjMwOSAwIDYtMi42OTEgNi02cy0yLjY5MS02LTYtNi02IDIuNjkxLTYgNmMwIC40NDEuMzU5LjguOC44LjM3OCAwIC43MjktLjExNC45ODYtLjMyMkEyLjU2OCAyLjU2OCAwIDAxNS40IDcuOTMzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik04IDE1Yy0uOTkyIDAtMS44LS44MDgtMS44LTEuOCAwLS42MDYuMTkzLTEuMTc5LjU0NC0xLjYxMy4yMDgtLjI1OS4zMjMtLjYwOS4zMjMtLjk4NyAwLS45MTktLjc0OC0xLjY2Ni0xLjY2Ny0xLjY2Ni0uMzc3IDAtLjcyOC4xMTUtLjk4Ni4zMjNBMi41OCAyLjU4IDAgMDEyLjggOS44QzEuODA4IDkuOCAxIDguOTkyIDEgOGMwLTMuODYgMy4xNC03IDctNyAzLjg1OSAwIDcgMy4xNCA3IDcgMCAzLjg1OS0zLjE0MSA3LTcgN3pNNS40IDcuOTMzYTIuNjcgMi42NyAwIDAxMi42NjcgMi42NjZjMCAuNjA2LS4xOTMgMS4xNzktLjU0NCAxLjYxNGExLjU5OSAxLjU5OSAwIDAwLS4zMjMuOTg3LjguOCAwIDAwLjguOGMzLjMwOSAwIDYtMi42OTEgNi02cy0yLjY5MS02LTYtNi02IDIuNjkxLTYgNmMwIC40NDEuMzU5LjguOC44LjM3OCAwIC43MjktLjExNC45ODYtLjMyMkEyLjU2OCAyLjU2OCAwIDAxNS40IDcuOTMzeiIgZmlsbD0iIzQyNDI0MiIvPjxwYXRoIGQ9Ik00LjUgNS4zNzVhLjg3NS44NzUgMCAxMDAgMS43NS44NzUuODc1IDAgMDAwLTEuNzV6IiBmaWxsPSIjNjUyZDkwIi8+PHBhdGggZD0iTTcuMTI1IDMuNjI1YS44NzUuODc1IDAgMTAwIDEuNzUuODc1Ljg3NSAwIDAwMC0xLjc1eiIgZmlsbD0iIzFiYTFlMiIvPjxwYXRoIGQ9Ik0xMC42MjUgNC41YS44NzUuODc1IDAgMTAwIDEuNzUuODc1Ljg3NSAwIDAwMC0xLjc1eiIgZmlsbD0iIzM5MyIvPjxwYXRoIGQ9Ik0xMS41IDhhLjg3NS44NzUgMCAxMDAgMS43NS44NzUuODc1IDAgMDAwLTEuNzV6IiBmaWxsPSIjZmMwIi8+PHBhdGggZD0iTTkuNzUgMTAuNjI1YS44NzUuODc1IDAgMTAwIDEuNzUuODc1Ljg3NSAwIDAwMC0xLjc1eiIgZmlsbD0iI2U1MTQwMCIvPjwvc3ZnPg==")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.file:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE1IDE2SDJWMGg4LjYyMUwxNSA0LjM3OVYxNnoiIGZpbGw9IiNmNmY2ZjYiLz48cGF0aCBkPSJNMTMgMTRINFYyaDV2NGg0djh6bS0zLTlWMi4yMDdMMTIuNzkzIDVIMTB6IiBmaWxsPSIjZjBlZmYxIi8+PHBhdGggZD0iTTMgMXYxNGgxMVY0Ljc5M0wxMC4yMDcgMUgzem0xMCAxM0g0VjJoNXY0aDR2OHptLTMtOVYyLjIwN0wxMi43OTMgNUgxMHoiIGZpbGw9IiM0MjQyNDIiLz48L3N2Zz4=")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.reference:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEzIDV2OHMtLjAzNSAxLTEuMDM1IDFoLThTMyAxNCAzIDEzVjloMXY0aDhWNkg5LjM5N2wuNTE3LS41Mkw5IDQuNTcyVjNINy40MTlMNi40MTMgMmgzLjIyOEwxMyA1eiIgZmlsbD0iIzQyNDI0MiIvPjxwYXRoIGQ9Ik01Ljk4OCA2SDMuNWEyLjUgMi41IDAgMTEwLTVINHYxaC0uNUMyLjY3MyAyIDIgMi42NzMgMiAzLjVTMi42NzMgNSAzLjUgNWgyLjUxM0w0IDNoMmwyLjUgMi40ODRMNiA4SDRsMS45ODgtMnoiIGZpbGw9IiMwMDUzOWMiLz48L3N2Zz4=")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.snippet:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgaWQ9InN2ZzQ2OTQiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHN0eWxlIGlkPSJzdHlsZTQ2OTYiPjwvc3R5bGU+PGcgaWQ9Imc0NzA3IiB0cmFuc2Zvcm09Im1hdHJpeCgxLjMzMzMzIDAgMCAxLjMzMzMzIC0yNDYgLTUuMzMzKSI+PHBhdGggZD0iTTE4NSA0aDExdjEyaC0xMXoiIGlkPSJwYXRoNDUzNCIgZmlsbD0iI2Y2ZjZmNiIvPjxwYXRoIGQ9Ik0xOTQgMTNWNmgtN3Y3aC0xVjVoOXY4aC0xem0tNyAyaC0xdi0xaDF2MXptMi0xaC0xdjFoMXYtMXptMiAwaC0xdjFoMXYtMXptMiAxaC0xdi0xaDF2MXptMi0xaC0xdjFoMXYtMXoiIGlkPSJwYXRoNDUzNiIgZmlsbD0iIzQyNDI0MiIvPjxwYXRoIGQ9Ik0xODcgMTNWNmg3djdoLTd6IiBpZD0icGF0aDQ1MzgiIGZpbGw9IiNmMGVmZjEiLz48L2c+PC9zdmc+")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.customcolor:before{background-image:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.folder:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTE0LjUgMkg3LjAwOGwtMSAySDIuNTA0YS41LjUgMCAwMC0uNS41djhhLjUuNSAwIDAwLjUuNUgxNC41YS41LjUgMCAwMC41LS41di0xMGEuNS41IDAgMDAtLjUtLjV6bS0uNDk2IDJINy41MDhsLjUtMWg1Ljk5NnYxeiIgZmlsbD0iIzY1NjU2NSIvPjxwYXRoIGQ9Ik0xNCAzdjFINy41TDggM2g2eiIgZmlsbD0iI2YwZWZmMSIvPjwvc3ZnPg==")}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-widget .details{display:flex;flex-direction:column;cursor:default}.monaco-editor .suggest-widget .details.no-docs{display:none}.monaco-editor .suggest-widget.docs-below .details{border-top-width:0}.monaco-editor .suggest-widget .details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body{position:absolute;box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;word-break:break-all;margin:0;padding:4px 0 12px 5px}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:normal}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-widget .details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-widget .details code{border-radius:3px;padding:0 .4em}.monaco-editor.hc-black .suggest-widget .details>.monaco-scrollable-element>.body>.header>.close,.monaco-editor.vs-dark .suggest-widget .details>.monaco-scrollable-element>.body>.header>.close{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2Ij48cGF0aCBmaWxsPSIjZThlOGU4IiBkPSJNMTIuNTk3IDExLjA0MmwyLjgwMyAyLjgwMy0xLjU1NiAxLjU1NS0yLjgwMi0yLjgwMkw4LjIzOSAxNS40bC0xLjU1Ni0xLjU1NSAyLjgwMi0yLjgwMy0yLjgwMi0yLjgwMyAxLjU1NS0xLjU1NiAyLjgwNCAyLjgwMyAyLjgwMy0yLjgwM0wxNS40IDguMjM5eiIvPjwvc3ZnPg==")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDEwYzAgMi4yMDUtMS43OTQgNC00IDQtMS44NTggMC0zLjQxMS0xLjI3OS0zLjg1OC0zaC0uOTc4bDIuMzE4IDRIMHYtMS43MDNsMi0zLjQwOFYwaDExdjYuMTQyYzEuNzIxLjQ0NyAzIDIgMyAzLjg1OHoiIGZpbGw9IiMyZDJkMzAiLz48cGF0aCBkPSJNMTIgMXY0Ljc1QTQuMjU1IDQuMjU1IDAgMDA3Ljc1IDEwaC0uNzMyTDQuMjc1IDUuMjY5IDMgNy40NDJWMWg5ek03Ljc0NyAxNEw0LjI2OSA4IC43NDggMTRoNi45OTl6TTE1IDEwYTMgMyAwIDExLTYgMCAzIDMgMCAwMTYgMHoiIGZpbGw9IiNjNWM1YzUiLz48L3N2Zz4=")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.constructor:before,.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.function:before,.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.method:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.constructor:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.function:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.method:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE1IDMuMzQ5djguNDAzTDguOTc1IDE2SDguMDdMMSAxMS41ODJWMy4zMjdMNy41OTUgMGgxLjExOEwxNSAzLjM0OXoiIGZpbGw9IiMyZDJkMzAiLz48cGF0aCBkPSJNMTIuNzE1IDQuMzk4TDguNDg3IDcuMDIgMy41NjUgNC4yNzJsNC41NzgtMi4zMDkgNC41NzIgMi40MzV6TTMgNS4xMDJsNSAyLjc5MnY1LjcwNWwtNS0zLjEyNVY1LjEwMnptNiA4LjQzNFY3Ljg3OGw0LTIuNDh2NS4zMTdsLTQgMi44MjF6IiBmaWxsPSIjMmIyODJlIi8+PHBhdGggZD0iTTguMTU2LjgzN0wyIDMuOTQydjcuMDg1TDguNTE3IDE1LjEgMTQgMTEuMjMzVjMuOTVMOC4xNTYuODM3em00LjU1OSAzLjU2MUw4LjQ4NyA3LjAyIDMuNTY1IDQuMjcybDQuNTc4LTIuMzA5IDQuNTcyIDIuNDM1ek0zIDUuMTAybDUgMi43OTJ2NS43MDVsLTUtMy4xMjVWNS4xMDJ6bTYgOC40MzRWNy44NzhsNC0yLjQ4djUuMzE3bC00IDIuODIxeiIgZmlsbD0iI2IxODBkNyIvPjwvc3ZnPg==")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.field:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.field:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTAgMTAuNzM2VjQuNUw5IDBsNyAzLjV2Ni4yMzZsLTkgNC41LTctMy41eiIgZmlsbD0iIzJkMmQzMCIvPjxwYXRoIGQ9Ik05IDFMMSA1djVsNiAzIDgtNFY0TDkgMXpNNyA2Ljg4MkwzLjIzNiA1IDkgMi4xMTggMTIuNzY0IDQgNyA2Ljg4MnoiIGZpbGw9IiM3NWJlZmYiLz48cGF0aCBkPSJNOSAyLjExOEwxMi43NjQgNCA3IDYuODgyIDMuMjM2IDUgOSAyLjExOHoiIGZpbGw9IiMyYjI4MmUiLz48L3N2Zz4=")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.event:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.event:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTcgN2g2bC04IDhINGwyLjk4NS02SDNsNC04aDZMNyA3eiIgZmlsbD0iI2U4YWI1MyIvPjwvc3ZnPg==")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.operator:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.operator:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEgMXYxNGgxNFYxSDF6bTYgMTJIM3YtMWg0djF6bTAtM0gzVjloNHYxem0wLTVINXYySDRWNUgyVjRoMlYyaDF2MmgydjF6bTMuMjgxIDhIOC43MTlsMy00aDEuNTYzbC0zLjAwMSA0ek0xNCA1SDlWNGg1djF6IiBmaWxsPSIjNzViZWZmIi8+PC9zdmc+")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.variable:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.variable:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTIgNXY2aDJ2MUgxVjRoM3YxSDJ6bTEwIDZ2MWgzVjRoLTN2MWgydjZoLTJ6IiBmaWxsPSIjYzVjNWM1Ii8+PHBhdGggZD0iTTguNzMzIDRMNCA2LjM2N3YzLjE1Nkw3LjE1NiAxMS4xbDQuNzMzLTIuMzY3VjUuNTc4TDguNzMzIDR6TTcuMTU2IDcuMTU2bC0xLjU3OC0uNzg5IDMuMTU2LTEuNTc4IDEuNTc4Ljc4OS0zLjE1NiAxLjU3OHoiIGZpbGw9IiM3NWJlZmYiLz48L3N2Zz4=")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.class:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.class:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDYuNTg2bC0zLTNMMTEuNTg2IDVIOS40MTRsMS0xLTQtNGgtLjgyOEwwIDUuNTg2di44MjhsNCA0TDYuNDE0IDhIN3Y1aDEuNTg2bDMgM2guODI4TDE2IDEyLjQxNHYtLjgyOEwxMy45MTQgOS41IDE2IDcuNDE0di0uODI4eiIgZmlsbD0iIzJkMmQzMCIvPjxwYXRoIGQ9Ik0xMyAxMGwyIDItMyAzLTItMiAxLTFIOFY3SDZMNCA5IDEgNmw1LTUgMyAzLTIgMmg1bDEtMSAyIDItMyAzLTItMiAxLTFIOXY0bDIuOTk5LjAwMkwxMyAxMHoiIGZpbGw9IiNlOGFiNTMiLz48L3N2Zz4=")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.interface:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.interface:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTExLjUgMTJjLTEuOTE1IDAtMy42MDItMS4yNDEtNC4yMjgtM2gtMS40MWEzLjExIDMuMTEgMCAwMS0yLjczNyAxLjYyNUMxLjQwMiAxMC42MjUgMCA5LjIyMyAwIDcuNXMxLjQwMi0zLjEyNSAzLjEyNS0zLjEyNWMxLjE2NSAwIDIuMjAxLjYzOSAyLjczNyAxLjYyNWgxLjQxYy42MjYtMS43NTkgMi4zMTMtMyA0LjIyOC0zQzEzLjk4MSAzIDE2IDUuMDE5IDE2IDcuNVMxMy45ODEgMTIgMTEuNSAxMnoiIGZpbGw9IiMyZDJkMzAiLz48cGF0aCBkPSJNMTEuNSA5QTEuNTAxIDEuNTAxIDAgMTExMyA3LjVjMCAuODI2LS42NzMgMS41LTEuNSAxLjV6IiBmaWxsPSIjMmIyODJlIi8+PHBhdGggZD0iTTExLjUgNGEzLjQ5IDMuNDkgMCAwMC0zLjQ1IDNINS4xODVBMi4xMjIgMi4xMjIgMCAwMDEgNy41YTIuMTIzIDIuMTIzIDAgMTA0LjE4NS41SDguMDVhMy40OSAzLjQ5IDAgMDAzLjQ1IDMgMy41IDMuNSAwIDEwMC03em0wIDVjLS44MjcgMC0xLjUtLjY3My0xLjUtMS41UzEwLjY3MyA2IDExLjUgNnMxLjUuNjczIDEuNSAxLjVTMTIuMzI3IDkgMTEuNSA5eiIgZmlsbD0iIzc1YmVmZiIvPjwvc3ZnPg==")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.struct:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.struct:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEwIDloNHY0aC00Vjl6bS04IDRoNFY5SDJ2NHpNMiAzdjRoMTJWM0gyeiIgZmlsbD0iIzc1YmVmZiIvPjwvc3ZnPg==")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.type-parameter:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.type-parameter:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQgM2g4djJoLTF2LS41YS41LjUgMCAwMC0uNS0uNUg5djcuNWEuNS41IDAgMDAuNS41aC41djFINnYtMWguNWEuNS41IDAgMDAuNS0uNVY0SDUuNWEuNS41IDAgMDAtLjUuNVY1SDRWM3pNMyA1LjYxNUwuMTE2IDguNSAzIDExLjM4M2wuODg0LS44ODMtMi0yIDItMkwzIDUuNjE1em0xMCAwbC0uODg0Ljg4NSAyIDItMiAyIC44ODQuODgzTDE1Ljg4NCA4LjUgMTMgNS42MTV6IiBmaWxsPSIjYzVjNWM1Ii8+PC9zdmc+")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.module:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.module:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTkuMjYgMTEuOTg0bC45NzgtLjAyMWEuOTYyLjk2MiAwIDAwLjA5LS4wMDZjLjAxMS0uMDYzLjAyNi0uMTc5LjAyNi0uMzYxVjkuNjg4YzAtLjY3OS4xODUtMS4yNTcuNTMtMS43MDctLjM0Ni0uNDUyLS41My0xLjAzLS41My0xLjcwNVY0LjM1YzAtLjE2Ny0uMDIxLS4yNTktLjAzNC0uMzAyTDkuMjYgNC4wMlYuOTczbDEuMDExLjAxMWMyLjE2Ny4wMjQgMy40MDkgMS4xNTYgMy40MDkgMy4xMDV2MS45NjJjMCAuMzUxLjA3MS40NjEuMDcyLjQ2MmwuOTM2LjA2LjA1My45Mjd2MS45MzZsLS45MzYuMDYxYy0uMDc2LjAxNi0uMTI1LjE0Ni0uMTI1LjQyNHYyLjAxN2MwIC45MTQtLjMzMiAzLjA0My0zLjQwOCAzLjA3OGwtMS4wMTIuMDExdi0zLjA0M3ptLTMuNTIxIDMuMDMyYy0zLjA4OS0uMDM1LTMuNDIyLTIuMTY0LTMuNDIyLTMuMDc4VjkuOTIxYzAtLjMyNy0uMDY2LS40MzItLjA2Ny0uNDMzbC0uOTM3LS4wNi0uMDYzLS45MjlWNi41NjNsLjk0Mi0uMDZjLjA1OCAwIC4xMjUtLjExNC4xMjUtLjQ1MlY0LjA5YzAtMS45NDkgMS4yNDgtMy4wODEgMy40MjItMy4xMDVMNi43NS45NzNWNC4wMmwtLjk3NS4wMjNhLjU3Mi41NzIgMCAwMC0uMDkzLjAxYy4wMDYuMDIxLS4wMTkuMTE1LS4wMTkuMjk3djEuOTI4YzAgLjY3NS0uMTg2IDEuMjUzLS41MzQgMS43MDUuMzQ4LjQ1LjUzNCAxLjAyOC41MzQgMS43MDd2MS45MDdjMCAuMTc1LjAxNC4yOTEuMDI3LjM2My4wMjMuMDAyIDEuMDYuMDI1IDEuMDYuMDI1djMuMDQzbC0xLjAxMS0uMDEyeiIgZmlsbD0iIzJkMmQzMCIvPjxwYXRoIGQ9Ik01Ljc1IDE0LjAxNmMtMS42MjMtLjAxOS0yLjQzNC0uNzExLTIuNDM0LTIuMDc4VjkuOTIxYzAtLjkwMi0uMzU1LTEuMzc2LTEuMDY2LTEuNDIydi0uOTk4Yy43MTEtLjA0NSAxLjA2Ni0uNTI5IDEuMDY2LTEuNDQ5VjQuMDljMC0xLjM4NS44MTEtMi4wODcgMi40MzQtMi4xMDV2MS4wNmMtLjcyNS4wMTctMS4wODcuNDUzLTEuMDg3IDEuMzA1djEuOTI4YzAgLjkyLS40NTQgMS40ODgtMS4zNiAxLjcwMlY4Yy45MDcuMjAxIDEuMzYuNzYzIDEuMzYgMS42ODh2MS45MDdjMCAuNDg4LjA4MS44MzUuMjQzIDEuMDQyLjE2Mi4yMDguNDQzLjMxNi44NDQuMzI1djEuMDU0em03Ljk5LTUuNTE3Yy0uNzA2LjA0NS0xLjA2LjUyLTEuMDYgMS40MjJ2Mi4wMTdjMCAxLjM2Ny0uODA3IDIuMDYtMi40MiAyLjA3OHYtMS4wNTNjLjM5Ni0uMDA5LjY3OC0uMTE4Ljg0NC0uMzI4LjE2Ny0uMjEuMjUtLjU1Ni4yNS0xLjAzOVY5LjY4OGMwLS45MjUuNDQ5LTEuNDg4IDEuMzQ3LTEuNjg4di0uMDIxYy0uODk4LS4yMTQtMS4zNDctLjc4Mi0xLjM0Ny0xLjcwMlY0LjM1YzAtLjg1Mi0uMzY0LTEuMjg4LTEuMDk0LTEuMzA2di0xLjA2YzEuNjEzLjAxOCAyLjQyLjcyIDIuNDIgMi4xMDV2MS45NjJjMCAuOTIuMzU0IDEuNDA0IDEuMDYgMS40NDl2Ljk5OXoiIGZpbGw9IiNjNWM1YzUiLz48L3N2Zz4=")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.property:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.property:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDUuNWE1LjUgNS41IDAgMDEtNS41IDUuNWMtLjI3NSAwLS41NDMtLjAyNy0uODA3LS4wNjZsLS4wNzktLjAxMmE1LjQyOSA1LjQyOSAwIDAxLS44MS0uMTkybC00LjUzNyA0LjUzN2MtLjQ3Mi40NzMtMS4xLjczMy0xLjc2Ny43MzNzLTEuMjk1LS4yNi0xLjc2OC0uNzMyYTIuNTAyIDIuNTAyIDAgMDEwLTMuNTM1bDQuNTM3LTQuNTM3YTUuNDUyIDUuNDUyIDAgMDEtLjE5MS0uODEyYy0uMDA1LS4wMjUtLjAwOC0uMDUxLS4wMTItLjA3N0E1LjUwMyA1LjUwMyAwIDAxNSA1LjVhNS41IDUuNSAwIDExMTEgMHoiIGZpbGw9IiMyZDJkMzAiLz48cGF0aCBkPSJNMTUgNS41YTQuNSA0LjUgMCAwMS00LjUgNC41Yy0uNjkzIDAtMS4zNDItLjE3LTEuOTI5LS40NWwtNS4wMSA1LjAxYy0uMjkzLjI5NC0uNjc3LjQ0LTEuMDYxLjQ0cy0uNzY4LS4xNDYtMS4wNjEtLjQzOWExLjUgMS41IDAgMDEwLTIuMTIxbDUuMDEtNS4wMUE0LjQ4MyA0LjQ4MyAwIDAxNiA1LjUgNC41IDQuNSAwIDAxMTAuNSAxYy42OTMgMCAxLjM0Mi4xNyAxLjkyOS40NUw5LjYzNiA0LjI0M2wyLjEyMSAyLjEyMSAyLjc5My0yLjc5M2MuMjguNTg3LjQ1IDEuMjM2LjQ1IDEuOTI5eiIgZmlsbD0iI2M1YzVjNSIvPjwvc3ZnPg==")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.unit:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.unit:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDExLjAxM0gxVjRoMTV2Ny4wMTN6IiBmaWxsPSIjMmQyZDMwIi8+PHBhdGggZD0iTTggOUg3VjZoM3YzSDlWN0g4djJ6TTQgN2gxdjJoMVY2SDN2M2gxVjd6bTggMGgxdjJoMVY2aC0zdjNoMVY3eiIgZmlsbD0iIzJiMjgyZSIvPjxwYXRoIGQ9Ik0yIDV2NWgxM1Y1SDJ6bTQgNEg1VjdINHYySDNWNmgzdjN6bTQgMEg5VjdIOHYySDdWNmgzdjN6bTQgMGgtMVY3aC0xdjJoLTFWNmgzdjN6IiBmaWxsPSIjYzVjNWM1Ii8+PC9zdmc+")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.constant:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.constant:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTIuODc5IDE0TDEgMTIuMTIxVjMuODc5TDIuODc5IDJoMTAuMjQyTDE1IDMuODc5djguMjQyTDEzLjEyMSAxNEgyLjg3OXoiIGZpbGw9IiMyNTI1MjYiLz48cGF0aCBkPSJNMTIuMjkzIDRIMy43MDdMMyA0LjcwN3Y2LjU4NmwuNzA3LjcwN2g4LjU4NmwuNzA3LS43MDdWNC43MDdMMTIuMjkzIDR6TTExIDEwSDVWOWg2djF6bTAtM0g1VjZoNnYxeiIgZmlsbD0iIzJiMjgyZSIvPjxwYXRoIGQ9Ik0xMi43MDcgMTNIMy4yOTNMMiAxMS43MDdWNC4yOTNMMy4yOTMgM2g5LjQxNEwxNCA0LjI5M3Y3LjQxNEwxMi43MDcgMTN6bS05LTFoOC41ODZsLjcwNy0uNzA3VjQuNzA3TDEyLjI5MyA0SDMuNzA3TDMgNC43MDd2Ni41ODZsLjcwNy43MDd6IiBmaWxsPSIjYzVjNWM1Ii8+PHBhdGggZD0iTTExIDdINVY2aDZ2MXptMCAySDV2MWg2Vjl6IiBmaWxsPSIjNzViZWZmIi8+PC9zdmc+")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.enum:before,.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.value:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.enum:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.value:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE0LjQxNCAxTDE2IDIuNTg2djUuODI4TDE0LjQxNCAxMEgxMHYzLjQxNkw4LjQxNCAxNUgxLjU4NkwwIDEzLjQxNnYtNS44M0wxLjU4NiA2SDZWMi41ODZMNy41ODYgMWg2LjgyOHoiIGZpbGw9IiMyZDJkMzAiLz48cGF0aCBkPSJNMiAxM2g2VjhIMnY1em0xLTRoNHYxSDNWOXptMCAyaDR2MUgzdi0xem0xMS01VjNIOHYzaC40MTRMOSA2LjU4NlY2aDR2MUg5LjQxNGwuNTg2LjU4NlY4aDRWNnptLTEtMUg5VjRoNHYxeiIgZmlsbD0iIzJiMjgyZSIvPjxwYXRoIGQ9Ik0zIDExaDQuMDAxdjFIM3YtMXptMC0xaDQuMDAxVjlIM3Yxem02LTJ2NWwtMSAxSDJsLTEtMVY4bDEtMWg2bDEgMXpNOCA4SDJ2NWg2Vjh6bTEtMmwxIDFoM1Y2SDl6bTAtMWg0VjRIOXYxem01LTNIOEw3IDN2M2gxVjNoNnY1aC00djFoNGwxLTFWM2wtMS0xeiIgZmlsbD0iI2U4YWI1MyIvPjwvc3ZnPg==")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.enum-member:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.enum-member:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTAgMTVWNmg2VjIuNTg2TDcuNTg1IDFoNi44MjlMMTYgMi41ODZ2NS44MjlMMTQuNDE0IDEwSDEwdjVIMHptMy02eiIgZmlsbD0iIzJkMmQzMCIvPjxwYXRoIGQ9Ik04IDN2M2g1djFoLTN2MWg0VjNIOHptNSAySDlWNGg0djF6TTIgOHY1aDZWOEgyem01IDNIM3YtMWg0djF6IiBmaWxsPSIjMmIyODJlIi8+PHBhdGggZD0iTTEwIDZoM3YxaC0zVjZ6TTkgNHYxaDRWNEg5em01LTJIOEw3IDN2M2gxVjNoNnY1aC00djFoNGwxLTFWM2wtMS0xem0tNyA4SDN2MWg0di0xem0yLTN2N0gxVjdoOHpNOCA4SDJ2NWg2Vjh6IiBmaWxsPSIjNzViZWZmIi8+PC9zdmc+")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.keyword:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.keyword:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDVWMkg5VjFIMHYxNGgxM3YtM2gzVjloLTFWNkg5VjVoN3ptLTggN1Y5aDF2M0g4eiIgZmlsbD0iIzJkMmQzMCIvPjxwYXRoIGQ9Ik0yIDNoNXYxSDJWM3oiIGZpbGw9IiMyYjI4MmUiLz48cGF0aCBkPSJNMTUgNGgtNVYzaDV2MXptLTEgM2gtMnYxaDJWN3ptLTQgMEgxdjFoOVY3em0yIDZIMXYxaDExdi0xem0tNS0zSDF2MWg2di0xem04IDBoLTV2MWg1di0xek04IDJ2M0gxVjJoN3pNNyAzSDJ2MWg1VjN6IiBmaWxsPSIjYzVjNWM1Ii8+PC9zdmc+")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.text:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.text:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDE1SDBWMWgxNnYxNHoiIGZpbGw9IiMyZDJkMzAiLz48cGF0aCBkPSJNOS4yMjkgNy4zNTRjLjAzNS4xNDYuMDUyLjMxLjA1Mi40OTQgMCAuMjM0LS4wMi40NDEtLjA2LjYyMS0uMDM5LjE4LS4wOTUuMzI4LS4xNjguNDQ1YS42ODcuNjg3IDAgMDEtLjkxNC4yODEuNzYuNzYgMCAwMS0uMjM3LS4yMDcuOTg4Ljk4OCAwIDAxLS4xNTQtLjMwNiAxLjI2MiAxLjI2MiAwIDAxLS4wNTctLjM4MXYtLjUwNmMwLS4xNy4wMi0uMzI2LjA2MS0uNDY1cy4wOTYtLjI1OC4xNjgtLjM1OWEuNzU2Ljc1NiAwIDAxLjI1Ny0uMjMyYy4xLS4wNTUuMjEtLjA4Mi4zMzEtLjA4MmEuNjQ2LjY0NiAwIDAxLjU3MS4zMmMuMDY3LjEwNS4xMTYuMjMuMTUuMzc3em0tNS4xMjYuODY5YS41NTcuNTU3IDAgMDAtLjE5Ni4xMzJjLS4wNDcuMDUzLS4wOC4xMTItLjA5Ny4xOHMtLjAyOC4xNDctLjAyOC4yMzNhLjUxMy41MTMgMCAwMC4xNTcuMzkuNTI4LjUyOCAwIDAwLjE4Ni4xMTMuNjgyLjY4MiAwIDAwLjI0Mi4wNDEuNzYuNzYgMCAwMC41OTMtLjI3MS44OTcuODk3IDAgMDAuMTY1LS4yOTVjLjAzOC0uMTEzLjA1OS0uMjM0LjA1OS0uMzY1di0uMzQ2bC0uNzYxLjExYTEuMjkgMS4yOSAwIDAwLS4zMi4wNzh6TTE0IDN2MTBIMlYzaDEyek01Ljk2MiA3LjQ2OWMwLS4yMzgtLjAyNy0uNDUxLS4wODMtLjYzN2ExLjI4NiAxLjI4NiAwIDAwLS4yNDktLjQ3MSAxLjA4IDEuMDggMCAwMC0uNDI0LS4yOTUgMS42NDQgMS42NDQgMCAwMC0uNjA4LS4xMDFjLS4xMTkgMC0uMjQxLjAxMi0uMzY4LjAzM2EzLjIxMyAzLjIxMyAwIDAwLS42NzMuMTk1IDEuMzEzIDEuMzEzIDAgMDAtLjIxMi4xMTR2Ljc2OGMuMTU4LS4xMzIuMzQxLS4yMzUuNTQ0LS4zMTMuMjA0LS4wNzguNDEzLS4xMTcuNjI3LS4xMTcuMjEzIDAgLjM3Ny4wNjMuNDk0LjE4Ni4xMTYuMTI1LjE3NC4zMjQuMTc0LjZsLTEuMDMuMTU0Yy0uMjA1LjAyNi0uMzguMDc3LS41MjYuMTUxYTEuMDgzIDEuMDgzIDAgMDAtLjU2My42NkExLjU2MiAxLjU2MiAwIDAwMyA4Ljg1N2MwIC4xNy4wMjUuMzIzLjA3NC40NjNhLjk0NS45NDUgMCAwMC41NjguNTk2Yy4xMzkuMDU3LjI5Ny4wODQuNDc4LjA4NC4yMjkgMCAuNDMxLS4wNTMuNjA0LS4xNmExLjMgMS4zIDAgMDAuNDM5LS40NjNoLjAxNHYuNTI5aC43ODVWNy40Njl6TTEwIDcuODYxYTMuNTQgMy41NCAwIDAwLS4wNzQtLjczNCAyLjA0NyAyLjA0NyAwIDAwLS4yMjgtLjYxMSAxLjIwMyAxLjIwMyAwIDAwLS4zOTQtLjQxNiAxLjAzIDEuMDMgMCAwMC0uNTc0LS4xNTNjLS4xMjMgMC0uMjM0LjAxOC0uMzM2LjA1MWExIDEgMCAwMC0uMjc4LjE0NyAxLjE1MyAxLjE1MyAwIDAwLS4yMjUuMjIyIDIuMDIyIDIuMDIyIDAgMDAtLjE4MS4yODloLS4wMTNWNUg3djQuODg3aC42OTd2LS40ODVoLjAxM2MuMDQ0LjA4Mi4wOTUuMTU4LjE1MS4yMjkuMDU3LjA3LjExOS4xMzMuMTkxLjE4NmEuODM1LjgzNSAwIDAwLjIzOC4xMjEuOTQzLjk0MyAwIDAwLjI5My4wNDJjLjIzIDAgLjQzNC0uMDUzLjYwOS0uMTZhMS4zNCAxLjM0IDAgMDAuNDQzLS40NDNjLjEyLS4xODguMjExLS40MTIuMjcyLS42NzJBMy42MiAzLjYyIDAgMDAxMCA3Ljg2MXptMy0xLjY1OGEuNy43IDAgMDAtLjEwNi0uMDY2IDEuMTgzIDEuMTgzIDAgMDAtLjE0Mi0uMDYzIDEuMjMzIDEuMjMzIDAgMDAtLjM2My0uMDY1Yy0uMjA5IDAtLjM5OS4wNTEtLjU2OS4xNWExLjM1NSAxLjM1NSAwIDAwLS40MzMuNDI0Yy0uMTE4LjE4Mi0uMjEuNDAyLS4yNzMuNjZhMy42MyAzLjYzIDAgMDAtLjAwOCAxLjYxNWMuMDYuMjMuMTQzLjQzLjI1Mi42MDIuMTA5LjE2OC4yNDEuMzAzLjM5Ni4zOTZhLjk3Mi45NzIgMCAwMC41MjQuMTQ0Yy4xNTggMCAuMjk2LS4wMjEuNDEzLS4wNjguMTE3LS4wNDUuMjE5LS4xMDguMzA5LS4xODR2LS43N2ExLjA5NCAxLjA5NCAwIDAxLS4yODguMjI1LjgxOS44MTkgMCAwMS0uMTU4LjA2OC40OC40OCAwIDAxLS4xNTMuMDI3LjYyLjYyIDAgMDEtLjI3NC0uMDc0Yy0uMjQxLS4xMzYtLjQyMy0uNDc5LS40MjMtMS4xNDYgMC0uNzE1LjIwNi0xLjEyLjQ2OS0xLjMwMS4wNzctLjAzMi4xNTMtLjA2NC4yMzgtLjA2NC4xMTMgMCAuMjIuMDI3LjMxNy4wODIuMDk2LjA1Ny4xODguMTMxLjI3Mi4yMjN2LS44MTV6IiBmaWxsPSIjMmIyODJlIi8+PHBhdGggZD0iTTEgMnYxMmgxNFYySDF6bTEzIDExSDJWM2gxMnYxMHpNNS42MyA2LjM2MWExLjA4IDEuMDggMCAwMC0uNDI0LS4yOTUgMS42NDQgMS42NDQgMCAwMC0uNjA4LS4xMDFjLS4xMTkgMC0uMjQxLjAxMi0uMzY4LjAzM2EzLjIxMyAzLjIxMyAwIDAwLS42NzMuMTk1IDEuMzEzIDEuMzEzIDAgMDAtLjIxMi4xMTR2Ljc2OGMuMTU4LS4xMzIuMzQxLS4yMzUuNTQ0LS4zMTMuMjA0LS4wNzguNDEzLS4xMTcuNjI3LS4xMTcuMjEzIDAgLjM3Ny4wNjMuNDk0LjE4Ni4xMTYuMTI1LjE3NC4zMjQuMTc0LjZsLTEuMDMuMTU0Yy0uMjA1LjAyNi0uMzguMDc3LS41MjYuMTUxYTEuMDgzIDEuMDgzIDAgMDAtLjU2My42NkExLjU2MiAxLjU2MiAwIDAwMyA4Ljg1N2MwIC4xNy4wMjUuMzIzLjA3NC40NjNhLjk0NS45NDUgMCAwMC41NjguNTk2Yy4xMzkuMDU3LjI5Ny4wODQuNDc4LjA4NC4yMjkgMCAuNDMxLS4wNTMuNjA0LS4xNmExLjMgMS4zIDAgMDAuNDM5LS40NjNoLjAxNHYuNTI5aC43ODVWNy40NjljMC0uMjM4LS4wMjctLjQ1MS0uMDgzLS42MzdhMS4yODYgMS4yODYgMCAwMC0uMjQ5LS40NzF6bS0uNDQ2IDIuMDJjMCAuMTMxLS4wMi4yNTItLjA1OS4zNjVhLjg5Ny44OTcgMCAwMS0uMTY1LjI5NS43NTguNzU4IDAgMDEtLjU5My4yNzIuNjgyLjY4MiAwIDAxLS4yNDItLjA0MS41MDcuNTA3IDAgMDEtLjMwMi0uMjg2LjU4My41ODMgMCAwMS0uMDQxLS4yMThjMC0uMDg2LjAxLS4xNjQuMDI3LS4yMzJzLjA1MS0uMTI3LjA5OC0uMThhLjU0Ni41NDYgMCAwMS4xOTYtLjEzM2MuMDgzLS4wMzMuMTg5LS4wNjEuMzItLjA3OGwuNzYxLS4xMDl2LjM0NXptNC41MTQtMS44NjVhMS4yMDMgMS4yMDMgMCAwMC0uMzk0LS40MTYgMS4wMyAxLjAzIDAgMDAtLjU3NC0uMTUzYy0uMTIzIDAtLjIzNC4wMTgtLjMzNi4wNTFhMSAxIDAgMDAtLjI3OC4xNDcgMS4xNTMgMS4xNTMgMCAwMC0uMjI1LjIyMiAyLjAyMiAyLjAyMiAwIDAwLS4xODEuMjg5aC0uMDEzVjVIN3Y0Ljg4N2guNjk3di0uNDg1aC4wMTNjLjA0NC4wODIuMDk1LjE1OC4xNTEuMjI5LjA1Ny4wNy4xMTkuMTMzLjE5MS4xODZhLjgzNS44MzUgMCAwMC4yMzguMTIxLjk0My45NDMgMCAwMC4yOTMuMDQyYy4yMyAwIC40MzQtLjA1My42MDktLjE2YTEuMzQgMS4zNCAwIDAwLjQ0My0uNDQzYy4xMi0uMTg4LjIxMS0uNDEyLjI3Mi0uNjcyQTMuNjIgMy42MiAwIDAwMTAgNy44NjFhMy41NCAzLjU0IDAgMDAtLjA3NC0uNzM0IDIuMDQ3IDIuMDQ3IDAgMDAtLjIyOC0uNjExem0tLjQ3NiAxLjk1M2MtLjAzOS4xOC0uMDk1LjMyOC0uMTY4LjQ0NWEuNzU1Ljc1NSAwIDAxLS4yNjQuMjY2LjY4Ny42ODcgMCAwMS0uNjUxLjAxNS43Ni43NiAwIDAxLS4yMzctLjIwNy45ODguOTg4IDAgMDEtLjE1NC0uMzA2IDEuMjYyIDEuMjYyIDAgMDEtLjA1Ny0uMzgxdi0uNTA2YzAtLjE3LjAyLS4zMjYuMDYxLS40NjVzLjA5Ni0uMjU4LjE2OC0uMzU5YS43NTYuNzU2IDAgMDEuMjU3LS4yMzJjLjEtLjA1NS4yMS0uMDgyLjMzMS0uMDgyYS42NDYuNjQ2IDAgMDEuNTcxLjMyYy4wNjYuMTA1LjExNi4yMy4xNS4zNzcuMDM1LjE0Ni4wNTIuMzEuMDUyLjQ5NCAwIC4yMzQtLjAxOS40NDEtLjA1OS42MjF6bTMuNjcyLTIuMzMyYS43LjcgMCAwMS4xMDYuMDY2di44MTRhMS4xNzggMS4xNzggMCAwMC0uMjczLS4yMjMuNjQ1LjY0NSAwIDAwLS4zMTctLjA4MWMtLjA4NSAwLS4xNjEuMDMyLS4yMzguMDY0LS4yNjMuMTgxLS40NjkuNTg2LS40NjkgMS4zMDEgMCAuNjY4LjE4MiAxLjAxMS40MjMgMS4xNDYuMDg0LjA0LjE3MS4wNzQuMjc0LjA3NC4wNDkgMCAuMTAxLS4wMS4xNTMtLjAyN2EuODU2Ljg1NiAwIDAwLjE1OC0uMDY4IDEuMTYgMS4xNiAwIDAwLjI4OC0uMjI1di43N2MtLjA5LjA3Ni0uMTkyLjEzOS0uMzA5LjE4NGExLjA5OCAxLjA5OCAwIDAxLS40MTIuMDY4Ljk3NC45NzQgMCAwMS0uNTIzLS4xNDMgMS4yNTcgMS4yNTcgMCAwMS0uMzk2LS4zOTYgMi4wOTggMi4wOTggMCAwMS0uMjUyLS42MDIgMy4xMTggMy4xMTggMCAwMS0uMDg4LS43NTRjMC0uMzE2LjAzMi0uNjA0LjA5Ni0uODYxLjA2My0uMjU4LjE1NS0uNDc5LjI3My0uNjYuMTE5LS4xODIuMjY1LS4zMjIuNDMzLS40MjRhMS4xMDIgMS4xMDIgMCAwMTEuMDczLS4wMjN6IiBmaWxsPSIjYzVjNWM1Ii8+PC9zdmc+")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.color:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.color:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE2IDhjMCA0LjQxMS0zLjU4OSA4LTggOGEyLjgwMyAyLjgwMyAwIDAxLTIuOC0yLjhjMC0uODMzLjI3Mi0xLjYyOS43NjYtMi4yNDFhLjU5Ni41OTYgMCAwMC4xMDEtLjM1OS42NjcuNjY3IDAgMDAtLjY2Ny0uNjY2LjU4LjU4IDAgMDAtLjM1OC4xMDJBMy41ODQgMy41ODQgMCAwMTIuOCAxMC44IDIuODAzIDIuODAzIDAgMDEwIDhjMC00LjQxMSAzLjU4OS04IDgtOHM4IDMuNTg5IDggOHoiIGZpbGw9IiMyZDJkMzAiLz48cGF0aCBkPSJNNS40IDcuOTMzYTIuNjcgMi42NyAwIDAxMi42NjcgMi42NjZjMCAuNjA2LS4xOTMgMS4xNzktLjU0NCAxLjYxNGExLjU5OSAxLjU5OSAwIDAwLS4zMjMuOTg3LjguOCAwIDAwLjguOGMzLjMwOSAwIDYtMi42OTEgNi02cy0yLjY5MS02LTYtNi02IDIuNjkxLTYgNmMwIC40NDEuMzU5LjguOC44LjM3OCAwIC43MjktLjExNC45ODYtLjMyMkEyLjU2OCAyLjU2OCAwIDAxNS40IDcuOTMzeiIvPjxwYXRoIGQ9Ik04IDE1Yy0uOTkyIDAtMS44LS44MDgtMS44LTEuOCAwLS42MDYuMTkzLTEuMTc5LjU0NC0xLjYxMy4yMDgtLjI1OS4zMjMtLjYwOS4zMjMtLjk4NyAwLS45MTktLjc0OC0xLjY2Ni0xLjY2Ny0xLjY2Ni0uMzc3IDAtLjcyOC4xMTUtLjk4Ni4zMjNBMi41OCAyLjU4IDAgMDEyLjggOS44QzEuODA4IDkuOCAxIDguOTkyIDEgOGMwLTMuODYgMy4xNC03IDctNyAzLjg1OSAwIDcgMy4xNCA3IDcgMCAzLjg1OS0zLjE0MSA3LTcgN3pNNS40IDcuOTMzYTIuNjcgMi42NyAwIDAxMi42NjcgMi42NjZjMCAuNjA2LS4xOTMgMS4xNzktLjU0NCAxLjYxNGExLjU5OSAxLjU5OSAwIDAwLS4zMjMuOTg3LjguOCAwIDAwLjguOGMzLjMwOSAwIDYtMi42OTEgNi02cy0yLjY5MS02LTYtNi02IDIuNjkxLTYgNmMwIC40NDEuMzU5LjguOC44LjM3OCAwIC43MjktLjExNC45ODYtLjMyMkEyLjU2OCAyLjU2OCAwIDAxNS40IDcuOTMzeiIgZmlsbD0iI2M1YzVjNSIvPjxwYXRoIGQ9Ik00LjUgNS4zNzVhLjg3NS44NzUgMCAxMDAgMS43NS44NzUuODc1IDAgMDAwLTEuNzV6IiBmaWxsPSIjYjE4MGQ3Ii8+PHBhdGggZD0iTTcuMTI1IDMuNjI1YS44NzUuODc1IDAgMTAwIDEuNzUuODc1Ljg3NSAwIDAwMC0xLjc1eiIgZmlsbD0iIzFiYTFlMiIvPjxwYXRoIGQ9Ik0xMC42MjUgNC41YS44NzUuODc1IDAgMTAwIDEuNzUuODc1Ljg3NSAwIDAwMC0xLjc1eiIgZmlsbD0iIzM5MyIvPjxwYXRoIGQ9Ik0xMS41IDhhLjg3NS44NzUgMCAxMDAgMS43NS44NzUuODc1IDAgMDAwLTEuNzV6IiBmaWxsPSIjZmMwIi8+PHBhdGggZD0iTTkuNzUgMTAuNjI1YS44NzUuODc1IDAgMTAwIDEuNzUuODc1Ljg3NSAwIDAwMC0xLjc1eiIgZmlsbD0iI2Y0ODc3MSIvPjwvc3ZnPg==")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.file:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.file:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE1IDE2SDJWMGg4LjYyMUwxNSA0LjM3OVYxNnoiIGZpbGw9IiMyZDJkMzAiLz48cGF0aCBkPSJNMTMgMTRINFYyaDV2NGg0djh6bS0zLTlWMi4yMDdMMTIuNzkzIDVIMTB6IiBmaWxsPSIjMmIyODJlIi8+PHBhdGggZD0iTTMgMXYxNGgxMVY0Ljc5M0wxMC4yMDcgMUgzem0xMCAxM0g0VjJoNXY0aDR2OHptLTMtOVYyLjIwN0wxMi43OTMgNUgxMHoiIGZpbGw9IiNjNWM1YzUiLz48L3N2Zz4=")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.reference:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.reference:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEzIDV2OHMtLjAzNSAxLTEuMDM1IDFoLThTMyAxNCAzIDEzVjloMXY0aDhWNkg5LjM5N2wuNTE3LS41Mkw5IDQuNTcyVjNINy40MTlMNi40MTMgMmgzLjIyOEwxMyA1eiIgZmlsbD0iI2M1YzVjNSIvPjxwYXRoIGQ9Ik01Ljk4OCA2SDMuNWEyLjUgMi41IDAgMTEwLTVINHYxaC0uNUMyLjY3MyAyIDIgMi42NzMgMiAzLjVTMi42NzMgNSAzLjUgNWgyLjUxM0w0IDNoMmwyLjUgMi40ODRMNiA4SDRsMS45ODgtMnoiIGZpbGw9IiM3NWJlZmYiLz48L3N2Zz4=")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.snippet:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.snippet:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgaWQ9InN2ZzQ2OTQiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHN0eWxlIGlkPSJzdHlsZTQ2OTYiPjwvc3R5bGU+PGcgaWQ9Imc0NzI0IiB0cmFuc2Zvcm09Im1hdHJpeCgxLjMzMzMzIDAgMCAxLjMzMzMzIC0yNDYgLTMyKSI+PHBhdGggZD0iTTE4NSAyNGgxMXYxMmgtMTF6IiBpZD0icGF0aDQ1MjgiIGZpbGw9IiMyZDJkMzAiLz48cGF0aCBkPSJNMTk0IDMzdi03aC03djdoLTF2LThoOXY4em0tOCAxaDF2MWgtMXptMiAwaDF2MWgtMXptMiAwaDF2MWgtMXptMiAwaDF2MWgtMXptMiAwaDF2MWgtMXoiIGlkPSJwYXRoNDUzMCIgZmlsbD0iI2M1YzVjNSIvPjxwYXRoIGQ9Ik0xODcgMjZoN3Y3aC03eiIgaWQ9InBhdGg0NTMyIiBmaWxsPSIjMmIyODJlIi8+PC9nPjwvc3ZnPg==")}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.customcolor:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.customcolor:before{background-image:none}.monaco-editor.hc-black .suggest-widget .monaco-list .monaco-list-row .suggest-icon.folder:before,.monaco-editor.vs-dark .suggest-widget .monaco-list .monaco-list-row .suggest-icon.folder:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTE0LjUgMkg3LjAwOGwtMSAySDIuNTA0YS41LjUgMCAwMC0uNS41djhhLjUuNSAwIDAwLjUuNUgxNC41YS41LjUgMCAwMC41LS41di0xMGEuNS41IDAgMDAtLjUtLjV6bS0uNDk2IDJINy41MDhsLjUtMWg1Ljk5NnYxeiIgZmlsbD0iI2M1YzVjNSIvPjwvc3ZnPg==")}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,Ubuntu,Droid Sans,sans-serif}.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-editor-hover p{margin:0}.monaco-editor.hc-black{-ms-high-contrast-adjust:none}@media screen and (-ms-high-contrast:active){.monaco-editor.vs-dark .view-overlays .current-line,.monaco-editor.vs .view-overlays .current-line{border-color:windowtext!important;border-left:0;border-right:0}.monaco-editor.vs-dark .cursor,.monaco-editor.vs .cursor{background-color:windowtext!important}.monaco-editor.vs-dark .dnd-target,.monaco-editor.vs .dnd-target{border-color:windowtext!important}.monaco-editor.vs-dark .selected-text,.monaco-editor.vs .selected-text{background-color:highlight!important}.monaco-editor.vs-dark .view-line,.monaco-editor.vs .view-line{-ms-high-contrast-adjust:none}.monaco-editor.vs-dark .view-line span,.monaco-editor.vs .view-line span{color:windowtext!important}.monaco-editor.vs-dark .view-line span.inline-selected-text,.monaco-editor.vs .view-line span.inline-selected-text{color:highlighttext!important}.monaco-editor.vs-dark .view-overlays,.monaco-editor.vs .view-overlays{-ms-high-contrast-adjust:none}.monaco-editor.vs-dark .reference-decoration,.monaco-editor.vs-dark .selectionHighlight,.monaco-editor.vs-dark .wordHighlight,.monaco-editor.vs-dark .wordHighlightStrong,.monaco-editor.vs .reference-decoration,.monaco-editor.vs .selectionHighlight,.monaco-editor.vs .wordHighlight,.monaco-editor.vs .wordHighlightStrong{border:2px dotted highlight!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs-dark .rangeHighlight,.monaco-editor.vs .rangeHighlight{background:transparent!important;border:1px dotted activeborder!important;box-sizing:border-box}.monaco-editor.vs-dark .bracket-match,.monaco-editor.vs .bracket-match{border-color:windowtext!important;background:transparent!important}.monaco-editor.vs-dark .currentFindMatch,.monaco-editor.vs-dark .findMatch,.monaco-editor.vs .currentFindMatch,.monaco-editor.vs .findMatch{border:2px dotted activeborder!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs-dark .find-widget,.monaco-editor.vs .find-widget{border:1px solid windowtext}.monaco-editor.vs-dark .monaco-list .monaco-list-row,.monaco-editor.vs .monaco-list .monaco-list-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused,.monaco-editor.vs .monaco-list .monaco-list-row.focused{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover,.monaco-editor.vs .monaco-list .monaco-list-row:hover{background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-editor.vs-dark .monaco-tree .monaco-tree-row,.monaco-editor.vs .monaco-tree .monaco-tree-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs-dark .monaco-tree .monaco-tree-row.focused,.monaco-editor.vs-dark .monaco-tree .monaco-tree-row.selected,.monaco-editor.vs .monaco-tree .monaco-tree-row.focused,.monaco-editor.vs .monaco-tree .monaco-tree-row.selected{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs-dark .monaco-tree .monaco-tree-row:hover,.monaco-editor.vs .monaco-tree .monaco-tree-row:hover{background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar,.monaco-editor.vs .monaco-scrollable-element>.scrollbar{-ms-high-contrast-adjust:none;background:background!important;border:1px solid windowtext;box-sizing:border-box}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider{background:windowtext!important}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider:hover,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider:hover{background:highlight!important}.monaco-editor.vs-dark .decorationsOverviewRuler,.monaco-editor.vs .decorationsOverviewRuler{opacity:0}.monaco-editor.vs-dark .minimap,.monaco-editor.vs .minimap{display:none}.monaco-editor.vs-dark .squiggly-d-error,.monaco-editor.vs .squiggly-d-error{background:transparent!important;border-bottom:4px double #e47777}.monaco-editor.vs-dark .squiggly-b-info,.monaco-editor.vs-dark .squiggly-c-warning,.monaco-editor.vs .squiggly-b-info,.monaco-editor.vs .squiggly-c-warning{border-bottom:4px double #71b771}.monaco-editor.vs-dark .squiggly-a-hint,.monaco-editor.vs .squiggly-a-hint{border-bottom:4px double #6c6c6c}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{-ms-high-contrast-adjust:none;color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label{-ms-high-contrast-adjust:none;background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-diff-editor.vs-dark .diffOverviewRuler,.monaco-diff-editor.vs .diffOverviewRuler{display:none}.monaco-editor.vs-dark .line-delete,.monaco-editor.vs-dark .line-insert,.monaco-editor.vs .line-delete,.monaco-editor.vs .line-insert{background:transparent!important;border:1px solid highlight!important;box-sizing:border-box}.monaco-editor.vs-dark .char-delete,.monaco-editor.vs-dark .char-insert,.monaco-editor.vs .char-delete,.monaco-editor.vs .char-insert{background:transparent!important}}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:hsla(0,0%,100%,.01)}.monaco-diff-editor .diffViewport{box-shadow:inset 0 0 1px 0 #b9b9b9;background:rgba(0,0,0,.1)}.monaco-diff-editor.hc-black .diffViewport,.monaco-diff-editor.vs-dark .diffViewport{background:hsla(0,0%,100%,.1)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar{background:transparent}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:hsla(0,0%,67.1%,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active{background:none}.monaco-diff-editor .delete-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-editor .insert-sign{background-size:60%;opacity:.7;background-repeat:no-repeat;background-position:50% 50%;background-position:50%;background-size:11px 11px}.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.hc-black .insert-sign{opacity:1}.monaco-diff-editor .insert-sign,.monaco-editor .insert-sign{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iIzQyNDI0MiIgZD0iTTcgM2gzdjExSDd6Ii8+PHBhdGggZmlsbD0iIzQyNDI0MiIgZD0iTTMgN2gxMXYzSDN6Ii8+PC9zdmc+")}.monaco-diff-editor .delete-sign,.monaco-editor .delete-sign{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iIzQyNDI0MiIgZD0iTTMgN2gxMXYzSDN6Ii8+PC9zdmc+")}.monaco-diff-editor.hc-black .insert-sign,.monaco-diff-editor.vs-dark .insert-sign,.monaco-editor.hc-black .insert-sign,.monaco-editor.vs-dark .insert-sign{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTcgM2gzdjExSDd6Ii8+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTMgN2gxMXYzSDN6Ii8+PC9zdmc+")}.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.vs-dark .delete-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.vs-dark .delete-sign{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTMgN2gxMXYzSDN6Ii8+PC9zdmc+")}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .diagonal-fill{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAChJREFUKFNjOH/+fAMDDgCSu3Dhwn9c8gwwBTgNGR4KQP4HhQOhsAIAZCBTkhtqePcAAAAASUVORK5CYII=")}.monaco-editor.vs-dark .diagonal-fill{opacity:.2}.monaco-editor.hc-black .diagonal-fill{background:none}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block}.monaco-diff-editor .diff-review{position:absolute;-webkit-user-select:none;-ms-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-cell{display:table-cell}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-diff-editor .action-label.icon.close-diff-review{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2Ij48cGF0aCBmaWxsPSIjNDI0MjQyIiBkPSJNMTIuNTk3IDExLjA0MmwyLjgwMyAyLjgwMy0xLjU1NiAxLjU1NS0yLjgwMi0yLjgwMkw4LjIzOSAxNS40bC0xLjU1Ni0xLjU1NSAyLjgwMi0yLjgwMy0yLjgwMi0yLjgwMyAxLjU1NS0xLjU1NiAyLjgwNCAyLjgwMyAyLjgwMy0yLjgwM0wxNS40IDguMjM5eiIvPjwvc3ZnPg==") 50% no-repeat}.monaco-diff-editor.hc-black .action-label.icon.close-diff-review,.monaco-diff-editor.vs-dark .action-label.icon.close-diff-review{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2Ij48cGF0aCBmaWxsPSIjZThlOGU4IiBkPSJNMTIuNTk3IDExLjA0MmwyLjgwMyAyLjgwMy0xLjU1NiAxLjU1NS0yLjgwMi0yLjgwMkw4LjIzOSAxNS40bC0xLjU1Ni0xLjU1NSAyLjgwMi0yLjgwMy0yLjgwMi0yLjgwMyAxLjU1NS0xLjU1NiAyLjgwNCAyLjgwMyAyLjgwMy0yLjgwM0wxNS40IDguMjM5eiIvPjwvc3ZnPg==") 50% no-repeat}.context-view .monaco-menu{min-width:130px}.context-view-block{position:fixed;left:0;top:0;z-index:-1;width:100%;height:100%}.monaco-menu .monaco-action-bar.vertical{margin-left:0;overflow:visible}.monaco-menu .monaco-action-bar.vertical .actions-container{display:block}.monaco-menu .monaco-action-bar.vertical .action-item{padding:0;transform:none;display:-ms-flexbox;display:flex}.monaco-menu .monaco-action-bar.vertical .action-item.active{transform:none}.monaco-menu .monaco-action-bar.vertical .action-menu-item{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:flex;height:2em;align-items:center;position:relative}.monaco-menu .monaco-action-bar.vertical .action-label{-ms-flex:1 1 auto;flex:1 1 auto;text-decoration:none;padding:0 1em;background:none;font-size:12px;line-height:1}.monaco-menu .monaco-action-bar.vertical .keybinding,.monaco-menu .monaco-action-bar.vertical .submenu-indicator{display:inline-block;-ms-flex:2 1 auto;flex:2 1 auto;padding:0 1em;text-align:right;font-size:12px;line-height:1}.monaco-menu .monaco-action-bar.vertical .submenu-indicator{height:100%;-webkit-mask:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQuNTIgMTIuMzY0TDkuODc5IDcgNC41MiAxLjYzNmwuNjE1LS42MTVMMTEuMTIyIDdsLTUuOTg2IDUuOTgtLjYxNS0uNjE2eiIgZmlsbD0iIzAwMCIvPjwvc3ZnPg==") no-repeat 90% 50%/13px 13px;mask:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQuNTIgMTIuMzY0TDkuODc5IDcgNC41MiAxLjYzNmwuNjE1LS42MTVMMTEuMTIyIDdsLTUuOTg2IDUuOTgtLjYxNS0uNjE2eiIgZmlsbD0iIzAwMCIvPjwvc3ZnPg==") no-repeat 90% 50%/13px 13px}.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator{opacity:.4}.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator){display:inline-block;-webkit-box-sizing:border-box;-o-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;margin:0}.monaco-menu .monaco-action-bar.vertical .action-item{position:static;overflow:visible}.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu{position:absolute}.monaco-menu .monaco-action-bar.vertical .action-label.separator{padding:.5em 0 0;margin-bottom:.5em;width:100%}.monaco-menu .monaco-action-bar.vertical .action-label.separator.text{padding:.7em 1em .1em;font-weight:700;opacity:1}.monaco-menu .monaco-action-bar.vertical .action-label:hover{color:inherit}.monaco-menu .monaco-action-bar.vertical .menu-item-check{position:absolute;visibility:hidden;-webkit-mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTIgLTIgMTYgMTYiPjxwYXRoIGZpbGw9IiM0MjQyNDIiIGQ9Ik05IDBMNC41IDkgMyA2SDBsMyA2aDNsNi0xMnoiLz48L3N2Zz4=") no-repeat 50% 56%/15px 15px;mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTIgLTIgMTYgMTYiPjxwYXRoIGZpbGw9IiM0MjQyNDIiIGQ9Ik05IDBMNC41IDkgMyA2SDBsMyA2aDNsNi0xMnoiLz48L3N2Zz4=") no-repeat 50% 56%/15px 15px;width:1em;height:100%}.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check{visibility:visible}.context-view.monaco-menu-container{outline:0;border:none;-webkit-animation:fadeIn 83ms linear;-o-animation:fadeIn 83ms linear;-moz-animation:fadeIn 83ms linear;-ms-animation:fadeIn 83ms linear;animation:fadeIn 83ms linear}.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,.context-view.monaco-menu-container .monaco-action-bar.vertical :focus,.context-view.monaco-menu-container :focus{outline:0}.monaco-menu .monaco-action-bar.vertical .action-item{border:1px solid transparent}.hc-black .context-view.monaco-menu-container{box-shadow:none}.hc-black .monaco-menu .monaco-action-bar.vertical .action-item.focused{background:none}.menubar{display:flex;flex-shrink:1;box-sizing:border-box;height:30px;overflow:hidden;flex-wrap:wrap}.fullscreen .menubar{margin:0;padding:0 5px}.menubar>.menubar-menu-button{align-items:center;box-sizing:border-box;padding:0 8px;cursor:default;-webkit-app-region:no-drag;zoom:1;white-space:nowrap;outline:0}.menubar .menubar-menu-items-holder{position:absolute;left:0;opacity:1;z-index:2000}.menubar .menubar-menu-items-holder.monaco-menu-container{outline:0;border:none}.menubar .menubar-menu-items-holder.monaco-menu-container :focus{outline:0}.menubar .toolbar-toggle-more{background-position:50%;background-repeat:no-repeat;background-size:14px;width:20px;height:100%;display:inline-block;padding:0;-webkit-mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTUgNy41QTEuNSAxLjUgMCAxMTMuNSA2IDEuNSAxLjUgMCAwMTUgNy41ek04LjUgNkExLjUgMS41IDAgMTAxMCA3LjUgMS41IDEuNSAwIDAwOC41IDZ6bTUgMEExLjUgMS41IDAgMTAxNSA3LjUgMS41IDEuNSAwIDAwMTMuNSA2eiIgZmlsbD0iIzQyNDI0MiIvPjwvc3ZnPg==") no-repeat 50% 55%/14px 14px;mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTUgNy41QTEuNSAxLjUgMCAxMTMuNSA2IDEuNSAxLjUgMCAwMTUgNy41ek04LjUgNkExLjUgMS41IDAgMTAxMCA3LjUgMS41IDEuNSAwIDAwOC41IDZ6bTUgMEExLjUgMS41IDAgMTAxNSA3LjUgMS41IDEuNSAwIDAwMTMuNSA2eiIgZmlsbD0iIzQyNDI0MiIvPjwvc3ZnPg==") no-repeat 50% 55%/14px 14px}.context-view{position:absolute;z-index:2000} +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translateY(-4px);-ms-transform:rotate(3deg) translateY(-4px);transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border-color:#29d transparent transparent #29d;border-style:solid;border-width:2px;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.sandbox-monaco{height:100%;overflow:hidden;transition:all .3s ease-out}.ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{height:15px;bottom:0}.ps__rail-x,.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;position:absolute}.ps__rail-y{width:15px;right:0}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px}.ps__thumb-x,.ps__thumb-y{background-color:#aaa;border-radius:6px;position:absolute}.ps__thumb-y{transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ps{overflow:auto!important}}.editor{height:100%;overflow-y:auto}.editor-box{font-family:Raleway,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;margin:0 20px 20px}.editor-boxName{line-height:60px;border-bottom:1px solid rgba(255,199,48,.2);display:flex;justify-content:space-between;align-items:center}.editor-boxNameBtn{width:15px;height:15px;background:#ffc730;border-radius:50%;overflow:hidden;position:relative}.editor-boxNameBtn:after{content:"";width:100%;height:100%;background:#201e1e;position:absolute;top:0;left:0;border-radius:50%;transform:translate(-25%,-25%);transition:all .5s ease-out}.editor-boxNameBtn--partial:after{transform:translate(-100%,-100%)}.editor-boxName--folded{border-bottom-color:rgba(246,244,242,.2);opacity:.4}.editor-boxName--folded h2{color:#f6f4f2}.editor-boxTransformer{user-select:none;color:rgba(246,244,242,.4)}.editor-boxType{font-size:18px;margin:0;padding:0;user-select:none;color:#ffc730}.editor-tabs{display:flex;padding:0;margin:20px 10px 10px;border-bottom:1px solid rgba(255,199,48,.2)}.editor-tab{font-family:Raleway,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;list-style:none;flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;height:30px;padding-bottom:10px;filter:brightness(.6);transition:all .3s ease-out;cursor:pointer;border-radius:8px 8px 0 0}.editor-tab--active{filter:brightness(1);background:rgba(255,199,48,.05)}.editor-tab--active .editor-tabName{transform:translateY(-6px);font-size:22px;color:#ffc730;text-shadow:0 0 8px rgba(255,199,48,.5)}.editor-tabName{transition:all .3s ease-out;color:rgba(246,244,242,.6);font-size:18px}.editor-tabTransformer{font-size:12px;color:rgba(246,244,242,.6)}.editor-sandbox--tab{margin:0 10px;transition:all .3s ease-out;height:calc(100% - 72px)}@media(max-width:769px){.editor--shrink{height:calc(100vh - 60px)}}.console{margin-top:10px;border-top:1px solid rgba(255,199,48,.2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;min-height:48px}.console-header{display:flex;justify-content:space-between;align-items:center}.console-title{font-weight:300;font-size:16px;line-height:2em;color:#ffc730;margin:0;user-select:none}.console-new{display:inline-block;background:red;width:10px;height:10px;border-radius:50%;margin-left:5px;box-shadow:0 0 10px red}.console-ctrl{font-size:14px;display:flex;align-items:center}.console-ctrl input{margin-right:5px}.console-runBtn{width:16px;height:16px;fill:#ffc730;display:inline-block;margin-right:10px;padding:2px;cursor:pointer;transition:all .5 ease-out}.console-runBtn:hover{filter:brightness(1.1)}.console-runBtn:active{filter:brightness(.8)}.console-content{height:200px;width:100%;transition:all .3s ease-out;background:#23241f;margin-bottom:20px;transition:all .5s;overflow-y:auto}.console-message{font-size:14px;margin:0;line-height:1.5}.console-message--error{background:rgba(247,92,47,.2)}.console-message:nth-of-type(odd){background:#313131}.console-messageType{font-size:10px;color:#fff;vertical-align:middle;display:inline-block;width:3em;line-height:14px;text-align:center;margin:0 4px;border-radius:2px}.console-messageType--info{background:#00aa90}.console-messageType--error{background:#f75c2f}.console-messageType--warn{background:#ffb11b}.fade-enter-active,.fade-leave-active,.slide-enter-active,.slide-leave-active{transition:all .5s}.slide-enter,.slide-leave-to{height:0;margin-bottom:0}.fade-enter,.fade-leave-to{opacity:0}.monitor{max-height:100%;box-sizing:border-box;padding:20px 20px 0;display:flex;flex-direction:column}.monitor #monitor-iframe{width:100%;height:100px;flex-grow:1;background:#201e1e}.c-deformableBox{height:100%;position:relative}.c-deformableBox .ctrl{position:absolute}.c-deformableBox .ctrl-h{width:4px;height:calc(100% + 4px);top:-2px;cursor:ew-resize}.c-deformableBox .ctrl-v{width:calc(100% + 4px);height:4px;left:-2px;cursor:ns-resize}.c-deformableBox .ctrl-c{width:4px;height:4px}.c-deformableBox .ctrl-t{top:-2px}.c-deformableBox .ctrl-r{right:-2px}.c-deformableBox .ctrl-b{bottom:-2px}.c-deformableBox .ctrl-l{left:-2px}.c-deformableBox .ctrl.ctrl-b.ctrl-r,.c-deformableBox .ctrl.ctrl-t.ctrl-l{cursor:nwse-resize}.c-deformableBox .ctrl.ctrl-b.ctrl-l,.c-deformableBox .ctrl.ctrl-t.ctrl-r{cursor:nesw-resize}.vessel{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1px}.vessel .editor,.vessel .monitor{background:#201e1e}.vessel .flipButton{display:none}.vessel--isPc{display:flex}.vessel--isPc .editor{margin-right:1px}.vessel--isPc .monitor{flex-grow:1}@media(max-width:769px){.vessel{position:relative;display:block}.vessel .editor,.vessel .monitor{position:absolute;top:0;left:0;width:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden;transition:all 1s ease;border:1px solid #000}.vessel .monitor{height:100%;transform:perspective(800px) rotateY(0deg)}.vessel .editor{transform:perspective(800px) rotateY(180deg)}.vessel--rotate .editor{transform:perspective(800px) rotateY(0deg)}.vessel--rotate .monitor{transform:perspective(800px) rotateY(-180deg)}.vessel--rotate .monitor #monitor-iframe{opacity:0}.vessel .flipButton{display:block;position:fixed;top:50%;left:0;border-radius:0 50% 50% 0;width:35px;height:30px;display:flex;justify-content:flex-end;align-items:center;background:rgba(0,0,0,.5);opacity:.4;transition:opacity .2s ease-out}.vessel .flipButton svg{width:20px;height:20px;margin-right:5px;fill:#aaa}.vessel .flipButton:active{opacity:1}}.sidebar{font-family:Raleway,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;position:relative}.sidebar-menu{list-style:none;margin:0;padding:10px 0 0;max-height:calc(100vh - 80px);display:flex;flex-direction:column}.sidebar-menuItem{font-size:14px;line-height:1.8;padding:0 0 0 20px;color:rgba(246,244,242,.4);font-weight:300;transition:all .3s ease;cursor:pointer;text-decoration:none;display:block}.sidebar-menuItem:hover{color:#f6f4f2;transform:translateX(4px)}.sidebar-menuItem.router-link-active{opacity:1;color:#ffc730;position:relative}.sidebar-menuItem.router-link-active:before{content:"";width:2px;height:60%;background:#ffc730;position:absolute;left:10px;top:20%}.sidebar-menuItem.router-link-active:hover{color:#ffc730}.sidebar-menu__folderTitle{margin:0;font-size:14px;line-height:1.8;padding:0 0 0 20px;color:rgba(246,244,242,.4);font-weight:300;cursor:pointer;transition:color .3s ease-out;position:relative}.sidebar-menu__folderTitle:hover{color:#f6f4f2}.sidebar-menu__folderTitle:hover:after{border-color:#f6f4f2 transparent transparent}.sidebar-menu__folderTitle:after{content:"";position:absolute;width:0;height:0;border-color:rgba(246,244,242,.4) transparent transparent;border-style:solid;border-width:6px 4px 0;top:10px;left:8px}.sidebar-menu__folderTitle[data-folded=true]:after{transform:rotate(-90deg)}.sidebar-menu__folderContent{display:flex;flex-direction:column;background:#181717}.sidebar-showMore{display:none;box-sizing:border-box;width:60px;height:60px;padding:28px 15px;position:relative}.sidebar-showMore--folded .sidebar-showMoreItem--bottom,.sidebar-showMore--folded .sidebar-showMoreItem--top{transform:translateY(0)}.sidebar-showMore--folded .sidebar-showMoreItem--mid{transform:scaleX(0)}.sidebar-showMore--crossed .sidebar-showMoreItem--top{transform:translateY(0) rotate(135deg)}.sidebar-showMore--crossed .sidebar-showMoreItem--mid{transform:scaleX(0)}.sidebar-showMore--crossed .sidebar-showMoreItem--bottom{transform:translateY(0) rotate(45deg)}.sidebar-showMoreItem{background:#fff;width:30px;height:4px;position:absolute;border-radius:10px;transition:all .3s ease-out}.sidebar-showMoreItem--top{transform:translateY(-10px)}.sidebar-showMoreItem--bottom{transform:translateY(10px)}@media(max-width:769px){.sidebar-showMore{display:block}.sidebar-menu{position:absolute;top:60px;left:0;z-index:1000;width:300px;padding:10px 0;background:#2d2a2a;transition:all .3s ease-out;height:calc(100vh - 80px);box-sizing:border-box;transform-origin:left center}.sidebar-menu--folded{opacity:0;transform:translateX(-100%);transition-duration:.6s}}*{color:#f6f4f2}#fakeBody{position:relative;width:100%;height:100vh;background-color:#000;display:grid;grid-gap:1px;overflow:hidden;grid-template:60px 1fr/250px repeat(2,1fr)}#fakeBody.fakeBody--max{grid-template:60px 1fr/0 repeat(2,1fr)}.header{display:flex;box-sizing:border-box;padding:0 20px;font-family:Raleway,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;grid-column:1/2;grid-row:1/2;transition:all .6s ease-out;text-decoration:none;background-color:#201e1e}.header-logo{font-family:Righteous,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;flex-grow:1;text-align:left;cursor:pointer;background-size:contain;background-repeat:no-repeat;background-position:0;line-height:60px;text-decoration:none}.header-version{width:4em;text-align:right;pointer-events:none;line-height:60px}.header:hover{filter:brightness(1.2);transition-duration:.2s}.sidebar{grid-column:1/2;grid-row:2/-1;background-color:#201e1e}.handler{position:absolute;width:12px;height:40px;background:rgba(0,0,0,.3);left:240px;top:50%;transform:translateY(-50%);opacity:.5;cursor:pointer}.handler--hidden{left:0}.handler:hover{opacity:1}.handler:active{opacity:.8}.handler:after,.handler:before{content:"";position:absolute;width:1px;height:30px;top:5px;left:3px;background:hsla(0,0%,100%,.3)}.handler:after{left:7px}.vessel{grid-column:2/-1;grid-row:1/-1;transition:all .3s ease-out}@media(max-width:769px){#fakeBody{grid-template:60px 1fr/repeat(12,1fr)}#fakeBody.fakeBody--max{grid-template:60px 1fr/repeat(2,1fr)}#fakeBody.fakeBody--max .header,#fakeBody.fakeBody--max .sidebar{display:none}#fakeBody.fakeBody--max .vessel{grid-column:1/-1;grid-row:1/-1}#fakeBody .sidebar{grid-column:1/2;grid-row:1/2}#fakeBody .header{grid-column:2/-1;grid-row:1/2}#fakeBody .vessel{grid-column:1/-1;grid-row:2/-1}#fakeBody .handler{left:50%;top:48px;transform:translateY(-50%) rotate(90deg);transform-origin:left center}#fakeBody .handler--hidden{top:0}} \ No newline at end of file diff --git a/0.1/playground/assets/js/0.e1228dcc.chunk.js b/0.1/playground/assets/js/0.e1228dcc.chunk.js new file mode 100644 index 000000000..f5806d788 --- /dev/null +++ b/0.1/playground/assets/js/0.e1228dcc.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{175:function(n,i,o){"use strict";o.r(i),i.default="html,\nbody,\ncanvas {\n margin: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}"}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/1.cc412eba.chunk.js b/0.1/playground/assets/js/1.cc412eba.chunk.js new file mode 100644 index 000000000..65501f878 --- /dev/null +++ b/0.1/playground/assets/js/1.cc412eba.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{174:function(n,e,t){"use strict";t.r(e),e.default='\n\n\n\n \n \n \n Document\n\n\n\n \n\n'}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/10.6c3c6843.chunk.js b/0.1/playground/assets/js/10.6c3c6843.chunk.js new file mode 100644 index 000000000..2a6022763 --- /dev/null +++ b/0.1/playground/assets/js/10.6c3c6843.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{428:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return s}));var r={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/11.c7cb5181.chunk.js b/0.1/playground/assets/js/11.c7cb5181.chunk.js new file mode 100644 index 000000000..52658d1b0 --- /dev/null +++ b/0.1/playground/assets/js/11.c7cb5181.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{429:function(e,n,r){"use strict";r.r(n),r.d(n,"conf",(function(){return t})),r.d(n,"language",(function(){return s}));var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},s={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","property","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/13.a2461bd1.chunk.js b/0.1/playground/assets/js/13.a2461bd1.chunk.js new file mode 100644 index 000000000..455743d60 --- /dev/null +++ b/0.1/playground/assets/js/13.a2461bd1.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{431:function(t,r,e){"use strict";e.r(r),e.d(r,"conf",(function(){return s})),e.d(r,"language",(function(){return n}));var s={brackets:[],autoClosingPairs:[],surroundingPairs:[]},n={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=>",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/15.c97dac07.chunk.js b/0.1/playground/assets/js/15.c97dac07.chunk.js new file mode 100644 index 000000000..4b05cedc8 --- /dev/null +++ b/0.1/playground/assets/js/15.c97dac07.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{433:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return s})),o.d(n,"language",(function(){return t}));var s={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},t={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/16.b18d0040.chunk.js b/0.1/playground/assets/js/16.b18d0040.chunk.js new file mode 100644 index 000000000..adef2246d --- /dev/null +++ b/0.1/playground/assets/js/16.b18d0040.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{434:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return s})),t.d(n,"language",(function(){return o}));var s={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},o={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/17.8c663b81.chunk.js b/0.1/playground/assets/js/17.8c663b81.chunk.js new file mode 100644 index 000000000..506e11494 --- /dev/null +++ b/0.1/playground/assets/js/17.8c663b81.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{435:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return s}));var t={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/18.70a2b9a7.chunk.js b/0.1/playground/assets/js/18.70a2b9a7.chunk.js new file mode 100644 index 000000000..cd5531066 --- /dev/null +++ b/0.1/playground/assets/js/18.70a2b9a7.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{484:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return o})),t.d(n,"language",(function(){return s}));var o={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},s={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/19.0b5c87dd.chunk.js b/0.1/playground/assets/js/19.0b5c87dd.chunk.js new file mode 100644 index 000000000..7876e9795 --- /dev/null +++ b/0.1/playground/assets/js/19.0b5c87dd.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{436:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return m}));var a="undefined"===typeof monaco?self.monaco:monaco,r=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:a.languages.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/2.21af33d3.chunk.js b/0.1/playground/assets/js/2.21af33d3.chunk.js new file mode 100644 index 000000000..f274c953a --- /dev/null +++ b/0.1/playground/assets/js/2.21af33d3.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{332:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return i})),t.d(n,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/20.a6fc8b4b.chunk.js b/0.1/playground/assets/js/20.a6fc8b4b.chunk.js new file mode 100644 index 000000000..373117a36 --- /dev/null +++ b/0.1/playground/assets/js/20.a6fc8b4b.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{437:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return d}));var i="undefined"===typeof monaco?self.monaco:monaco,o=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#endregion\\b.*--\x3e")}}},d={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/21.da5019d6.chunk.js b/0.1/playground/assets/js/21.da5019d6.chunk.js new file mode 100644 index 000000000..c294894ad --- /dev/null +++ b/0.1/playground/assets/js/21.da5019d6.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{438:function(e,n,s){"use strict";s.r(n),s.d(n,"conf",(function(){return o})),s.d(n,"language",(function(){return t}));var o={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},t={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/22.a10836ed.chunk.js b/0.1/playground/assets/js/22.a10836ed.chunk.js new file mode 100644 index 000000000..2f86c93c9 --- /dev/null +++ b/0.1/playground/assets/js/22.a10836ed.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{439:function(e,t,o){"use strict";o.r(t),o.d(t,"conf",(function(){return n})),o.d(t,"language",(function(){return s}));var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},s={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/23.e2708aeb.chunk.js b/0.1/playground/assets/js/23.e2708aeb.chunk.js new file mode 100644 index 000000000..b78ddc298 --- /dev/null +++ b/0.1/playground/assets/js/23.e2708aeb.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{481:function(e,n,i){"use strict";i.r(n),i.d(n,"conf",(function(){return t})),i.d(n,"language",(function(){return o}));var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},o={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/24.69fca3f7.chunk.js b/0.1/playground/assets/js/24.69fca3f7.chunk.js new file mode 100644 index 000000000..f295d1ea4 --- /dev/null +++ b/0.1/playground/assets/js/24.69fca3f7.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{441:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},r={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/25.8afbf78e.chunk.js b/0.1/playground/assets/js/25.8afbf78e.chunk.js new file mode 100644 index 000000000..79bd4cae8 --- /dev/null +++ b/0.1/playground/assets/js/25.8afbf78e.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{442:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return s}));var t={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=>",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#?region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#?endregion\\b.*--\x3e")}}},o={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"variable.source",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)\s*>/,{token:"tag"}],[//,"comment","@pop"],[//,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/34.c3d5ba8c.chunk.js b/0.1/playground/assets/js/34.c3d5ba8c.chunk.js new file mode 100644 index 000000000..9747e55ff --- /dev/null +++ b/0.1/playground/assets/js/34.c3d5ba8c.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{450:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},o={tokenPostfix:".pats",defaultToken:"invalid",keywords:["abstype","abst0ype","absprop","absview","absvtype","absviewtype","absvt0ype","absviewt0ype","as","and","assume","begin","classdec","datasort","datatype","dataprop","dataview","datavtype","dataviewtype","do","end","extern","extype","extvar","exception","fn","fnx","fun","prfn","prfun","praxi","castfn","if","then","else","ifcase","in","infix","infixl","infixr","prefix","postfix","implmnt","implement","primplmnt","primplement","import","let","local","macdef","macrodef","nonfix","symelim","symintr","overload","of","op","rec","sif","scase","sortdef","sta","stacst","stadef","static","staload","dynload","try","tkindef","typedef","propdef","viewdef","vtypedef","viewtypedef","prval","var","prvar","when","where","with","withtype","withprop","withview","withvtype","withviewtype"],keywords_dlr:["$delay","$ldelay","$arrpsz","$arrptrsize","$d2ctype","$effmask","$effmask_ntm","$effmask_exn","$effmask_ref","$effmask_wrt","$effmask_all","$extern","$extkind","$extype","$extype_struct","$extval","$extfcall","$extmcall","$literal","$myfilename","$mylocation","$myfunction","$lst","$lst_t","$lst_vt","$list","$list_t","$list_vt","$rec","$rec_t","$rec_vt","$record","$record_t","$record_vt","$tup","$tup_t","$tup_vt","$tuple","$tuple_t","$tuple_vt","$break","$continue","$raise","$showtype","$vcopyenv_v","$vcopyenv_vt","$tempenver","$solver_assert","$solver_verify"],keywords_srp:["#if","#ifdef","#ifndef","#then","#elif","#elifdef","#elifndef","#else","#endif","#error","#prerr","#print","#assert","#undef","#define","#include","#require","#pragma","#codegen2","#codegen3"],irregular_keyword_list:["val+","val-","val","case+","case-","case","addr@","addr","fold@","free@","fix@","fix","lam@","lam","llam@","llam","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","view+","view-","view@","view","type+","type-","type","vtype+","vtype-","vtype","vt@ype+","vt@ype-","vt@ype","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","prop+","prop-","prop","type+","type-","type","t@ype","t@ype+","t@ype-","abst@ype","abstype","absviewt@ype","absvt@ype","for*","for","while*","while"],keywords_types:["bool","double","byte","int","short","char","void","unit","long","float","string","strptr"],keywords_effects:["0","fun","clo","prf","funclo","cloptr","cloref","ref","ntm","1"],operators:["@","!","|","`",":","$",".","=","#","~","..","...","=>","=<>","=/=>","=>>","=/=>>","<",">","><",".<",">.",".<>.","->","-<>"],brackets:[{open:",(",close:")",token:"delimiter.parenthesis"},{open:"`(",close:")",token:"delimiter.parenthesis"},{open:"%(",close:")",token:"delimiter.parenthesis"},{open:"'(",close:")",token:"delimiter.parenthesis"},{open:"'{",close:"}",token:"delimiter.parenthesis"},{open:"@(",close:")",token:"delimiter.parenthesis"},{open:"@{",close:"}",token:"delimiter.brace"},{open:"@[",close:"]",token:"delimiter.square"},{open:"#[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:"root",tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:""}},{regex:/\(\*\)/,action:{token:"invalid"}},{regex:/\(\*/,action:{token:"comment",next:"lexing_COMMENT_block_ml"}},{regex:/\(/,action:"@brackets"},{regex:/\)/,action:"@brackets"},{regex:/\[/,action:"@brackets"},{regex:/\]/,action:"@brackets"},{regex:/\{/,action:"@brackets"},{regex:/\}/,action:"@brackets"},{regex:/,\(/,action:"@brackets"},{regex:/,/,action:{token:"delimiter.comma"}},{regex:/;/,action:{token:"delimiter.semicolon"}},{regex:/@\(/,action:"@brackets"},{regex:/@\[/,action:"@brackets"},{regex:/@\{/,action:"@brackets"},{regex:/:/,action:{token:"@rematch",next:"@pop"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}},{regex:/[^%]+/,action:""}],lexing_DQUOTE:[{regex:/"/,action:{token:"string.quote",next:"@pop"}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:"string.escape"},{token:"identifier"},{token:"string.escape"}]},{regex:/\\$/,action:{token:"string.escape"}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:"string.escape"}},{regex:/[^\\"]+/,action:{token:"string"}}]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/35.0263a726.chunk.js b/0.1/playground/assets/js/35.0263a726.chunk.js new file mode 100644 index 000000000..a2dac49f1 --- /dev/null +++ b/0.1/playground/assets/js/35.0263a726.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{451:function(e,t,a){"use strict";a.r(t),a.d(t,"conf",(function(){return n})),a.d(t,"language",(function(){return i}));var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},i={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/36.4c2cae50.chunk.js b/0.1/playground/assets/js/36.4c2cae50.chunk.js new file mode 100644 index 000000000..6cf59930f --- /dev/null +++ b/0.1/playground/assets/js/36.4c2cae50.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{452:function(e,n,s){"use strict";s.r(n),s.d(n,"conf",(function(){return t})),s.d(n,"language",(function(){return o}));var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/37.bef53fb9.chunk.js b/0.1/playground/assets/js/37.bef53fb9.chunk.js new file mode 100644 index 000000000..40ee3fd6b --- /dev/null +++ b/0.1/playground/assets/js/37.bef53fb9.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{453:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return a}));var o={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},a={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[//,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/41.6f00e7ea.chunk.js b/0.1/playground/assets/js/41.6f00e7ea.chunk.js new file mode 100644 index 000000000..c9ebe6f08 --- /dev/null +++ b/0.1/playground/assets/js/41.6f00e7ea.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{457:function(E,S,e){"use strict";e.r(S),e.d(S,"conf",(function(){return T})),e.d(S,"language",(function(){return R}));var T={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},R={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/42.72af46f9.chunk.js b/0.1/playground/assets/js/42.72af46f9.chunk.js new file mode 100644 index 000000000..c5d8e9fcc --- /dev/null +++ b/0.1/playground/assets/js/42.72af46f9.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{458:function(e,_,t){"use strict";t.r(_),t.d(_,"conf",(function(){return r})),t.d(_,"language",(function(){return i}));var r={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},i={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY13","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/43.2aae6f2a.chunk.js b/0.1/playground/assets/js/43.2aae6f2a.chunk.js new file mode 100644 index 000000000..0ae371fb8 --- /dev/null +++ b/0.1/playground/assets/js/43.2aae6f2a.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{459:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return r})),t.d(n,"language",(function(){return o}));var r={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:new RegExp("^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|(\"|'|/).*\\4)*(#.*)?$"),decreaseIndentPattern:new RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},o={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/44.421acd3b.chunk.js b/0.1/playground/assets/js/44.421acd3b.chunk.js new file mode 100644 index 000000000..c4c116b89 --- /dev/null +++ b/0.1/playground/assets/js/44.421acd3b.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[44],{460:function(e,t,o){"use strict";o.r(t),o.d(t,"conf",(function(){return n})),o.d(t,"language",(function(){return s}));var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},s={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","box","break","const","continue","crate","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'\S'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/45.70309ef2.chunk.js b/0.1/playground/assets/js/45.70309ef2.chunk.js new file mode 100644 index 000000000..6b29f90dd --- /dev/null +++ b/0.1/playground/assets/js/45.70309ef2.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{461:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return r}));var t={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},r={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/46.bde6582f.chunk.js b/0.1/playground/assets/js/46.bde6582f.chunk.js new file mode 100644 index 000000000..384d2348f --- /dev/null +++ b/0.1/playground/assets/js/46.bde6582f.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{462:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return s}));var t={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/47.dcacb266.chunk.js b/0.1/playground/assets/js/47.dcacb266.chunk.js new file mode 100644 index 000000000..4e607a9cf --- /dev/null +++ b/0.1/playground/assets/js/47.dcacb266.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{463:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return i}));var o={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},i={defaultToken:"",tokenPostfix:".scss",ws:"[ \t\n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/48.f1acf28c.chunk.js b/0.1/playground/assets/js/48.f1acf28c.chunk.js new file mode 100644 index 000000000..4f0d29292 --- /dev/null +++ b/0.1/playground/assets/js/48.f1acf28c.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{464:function(e,r,o){"use strict";o.r(r),o.d(r,"conf",(function(){return i})),o.d(r,"language",(function(){return t}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},t={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],symbols:/[=>"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},f={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/50.4e2025cf.chunk.js b/0.1/playground/assets/js/50.4e2025cf.chunk.js new file mode 100644 index 000000000..feba8530b --- /dev/null +++ b/0.1/playground/assets/js/50.4e2025cf.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{466:function(E,T,R){"use strict";R.r(T),R.d(T,"conf",(function(){return A})),R.d(T,"language",(function(){return I}));var A={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},I={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT_AFTER_WAIT","ABSENT","ABSOLUTE","ACCENT_SENSITIVITY","ACTION","ACTIVATION","ACTIVE","ADD","ADDRESS","ADMIN","AES","AES_128","AES_192","AES_256","AFFINITY","AFTER","AGGREGATE","ALGORITHM","ALL_CONSTRAINTS","ALL_ERRORMSGS","ALL_INDEXES","ALL_LEVELS","ALL_SPARSE_COLUMNS","ALLOW_CONNECTIONS","ALLOW_MULTIPLE_EVENT_LOSS","ALLOW_PAGE_LOCKS","ALLOW_ROW_LOCKS","ALLOW_SINGLE_EVENT_LOSS","ALLOW_SNAPSHOT_ISOLATION","ALLOWED","ALTER","ANONYMOUS","ANSI_DEFAULTS","ANSI_NULL_DEFAULT","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_NULLS","ANSI_PADDING","ANSI_WARNINGS","APPEND","APPLICATION","APPLICATION_LOG","ARITHABORT","ARITHIGNORE","AS","ASC","ASSEMBLY","ASYMMETRIC","ASYNCHRONOUS_COMMIT","AT","ATOMIC","ATTACH","ATTACH_REBUILD_LOG","AUDIT","AUDIT_GUID","AUTHENTICATION","AUTHORIZATION","AUTO","AUTO_CLEANUP","AUTO_CLOSE","AUTO_CREATE_STATISTICS","AUTO_SHRINK","AUTO_UPDATE_STATISTICS","AUTO_UPDATE_STATISTICS_ASYNC","AUTOMATED_BACKUP_PREFERENCE","AUTOMATIC","AVAILABILITY","AVAILABILITY_MODE","BACKUP","BACKUP_PRIORITY","BASE64","BATCHSIZE","BEGIN","BEGIN_DIALOG","BIGINT","BINARY","BINDING","BIT","BLOCKERS","BLOCKSIZE","BOUNDING_BOX","BREAK","BROKER","BROKER_INSTANCE","BROWSE","BUCKET_COUNT","BUFFER","BUFFERCOUNT","BULK","BULK_LOGGED","BY","CACHE","CALL","CALLED","CALLER","CAP_CPU_PERCENT","CASCADE","CASE","CATALOG","CATCH","CELLS_PER_OBJECT","CERTIFICATE","CHANGE_RETENTION","CHANGE_TRACKING","CHANGES","CHAR","CHARACTER","CHECK","CHECK_CONSTRAINTS","CHECK_EXPIRATION","CHECK_POLICY","CHECKALLOC","CHECKCATALOG","CHECKCONSTRAINTS","CHECKDB","CHECKFILEGROUP","CHECKIDENT","CHECKPOINT","CHECKTABLE","CLASSIFIER_FUNCTION","CLEANTABLE","CLEANUP","CLEAR","CLOSE","CLUSTER","CLUSTERED","CODEPAGE","COLLATE","COLLECTION","COLUMN","COLUMN_SET","COLUMNS","COLUMNSTORE","COLUMNSTORE_ARCHIVE","COMMIT","COMMITTED","COMPATIBILITY_LEVEL","COMPRESSION","COMPUTE","CONCAT","CONCAT_NULL_YIELDS_NULL","CONFIGURATION","CONNECT","CONSTRAINT","CONTAINMENT","CONTENT","CONTEXT","CONTINUE","CONTINUE_AFTER_ERROR","CONTRACT","CONTRACT_NAME","CONTROL","CONVERSATION","COOKIE","COPY_ONLY","COUNTER","CPU","CREATE","CREATE_NEW","CREATION_DISPOSITION","CREDENTIAL","CRYPTOGRAPHIC","CUBE","CURRENT","CURRENT_DATE","CURSOR","CURSOR_CLOSE_ON_COMMIT","CURSOR_DEFAULT","CYCLE","DATA","DATA_COMPRESSION","DATA_PURITY","DATABASE","DATABASE_DEFAULT","DATABASE_MIRRORING","DATABASE_SNAPSHOT","DATAFILETYPE","DATE","DATE_CORRELATION_OPTIMIZATION","DATEFIRST","DATEFORMAT","DATETIME","DATETIME2","DATETIMEOFFSET","DAY","DAYOFYEAR","DAYS","DB_CHAINING","DBCC","DBREINDEX","DDL_DATABASE_LEVEL_EVENTS","DEADLOCK_PRIORITY","DEALLOCATE","DEC","DECIMAL","DECLARE","DECRYPTION","DEFAULT","DEFAULT_DATABASE","DEFAULT_FULLTEXT_LANGUAGE","DEFAULT_LANGUAGE","DEFAULT_SCHEMA","DEFINITION","DELAY","DELAYED_DURABILITY","DELETE","DELETED","DENSITY_VECTOR","DENY","DEPENDENTS","DES","DESC","DESCRIPTION","DESX","DHCP","DIAGNOSTICS","DIALOG","DIFFERENTIAL","DIRECTORY_NAME","DISABLE","DISABLE_BROKER","DISABLED","DISK","DISTINCT","DISTRIBUTED","DOCUMENT","DOUBLE","DROP","DROP_EXISTING","DROPCLEANBUFFERS","DUMP","DURABILITY","DYNAMIC","EDITION","ELEMENTS","ELSE","EMERGENCY","EMPTY","EMPTYFILE","ENABLE","ENABLE_BROKER","ENABLED","ENCRYPTION","END","ENDPOINT","ENDPOINT_URL","ERRLVL","ERROR","ERROR_BROKER_CONVERSATIONS","ERRORFILE","ESCAPE","ESTIMATEONLY","EVENT","EVENT_RETENTION_MODE","EXEC","EXECUTABLE","EXECUTE","EXIT","EXPAND","EXPIREDATE","EXPIRY_DATE","EXPLICIT","EXTENDED_LOGICAL_CHECKS","EXTENSION","EXTERNAL","EXTERNAL_ACCESS","FAIL_OPERATION","FAILOVER","FAILOVER_MODE","FAILURE_CONDITION_LEVEL","FALSE","FAN_IN","FAST","FAST_FORWARD","FETCH","FIELDTERMINATOR","FILE","FILEGROUP","FILEGROWTH","FILELISTONLY","FILENAME","FILEPATH","FILESTREAM","FILESTREAM_ON","FILETABLE_COLLATE_FILENAME","FILETABLE_DIRECTORY","FILETABLE_FULLPATH_UNIQUE_CONSTRAINT_NAME","FILETABLE_NAMESPACE","FILETABLE_PRIMARY_KEY_CONSTRAINT_NAME","FILETABLE_STREAMID_UNIQUE_CONSTRAINT_NAME","FILLFACTOR","FILTERING","FIRE_TRIGGERS","FIRST","FIRSTROW","FLOAT","FMTONLY","FOLLOWING","FOR","FORCE","FORCE_FAILOVER_ALLOW_DATA_LOSS","FORCE_SERVICE_ALLOW_DATA_LOSS","FORCED","FORCEPLAN","FORCESCAN","FORCESEEK","FOREIGN","FORMATFILE","FORMSOF","FORWARD_ONLY","FREE","FREEPROCCACHE","FREESESSIONCACHE","FREESYSTEMCACHE","FROM","FULL","FULLSCAN","FULLTEXT","FUNCTION","GB","GEOGRAPHY_AUTO_GRID","GEOGRAPHY_GRID","GEOMETRY_AUTO_GRID","GEOMETRY_GRID","GET","GLOBAL","GO","GOTO","GOVERNOR","GRANT","GRIDS","GROUP","GROUP_MAX_REQUESTS","HADR","HASH","HASHED","HAVING","HEADERONLY","HEALTH_CHECK_TIMEOUT","HELP","HIERARCHYID","HIGH","HINT","HISTOGRAM","HOLDLOCK","HONOR_BROKER_PRIORITY","HOUR","HOURS","IDENTITY","IDENTITY_INSERT","IDENTITY_VALUE","IDENTITYCOL","IF","IGNORE_CONSTRAINTS","IGNORE_DUP_KEY","IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX","IGNORE_TRIGGERS","IMAGE","IMMEDIATE","IMPERSONATE","IMPLICIT_TRANSACTIONS","IMPORTANCE","INCLUDE","INCREMENT","INCREMENTAL","INDEX","INDEXDEFRAG","INFINITE","INFLECTIONAL","INIT","INITIATOR","INPUT","INPUTBUFFER","INSENSITIVE","INSERT","INSERTED","INSTEAD","INT","INTEGER","INTO","IO","IP","ISABOUT","ISOLATION","JOB","KB","KEEP","KEEP_CDC","KEEP_NULLS","KEEP_REPLICATION","KEEPDEFAULTS","KEEPFIXED","KEEPIDENTITY","KEEPNULLS","KERBEROS","KEY","KEY_SOURCE","KEYS","KEYSET","KILL","KILOBYTES_PER_BATCH","LABELONLY","LANGUAGE","LAST","LASTROW","LEVEL","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4","LIFETIME","LIMIT","LINENO","LIST","LISTENER","LISTENER_IP","LISTENER_PORT","LOAD","LOADHISTORY","LOB_COMPACTION","LOCAL","LOCAL_SERVICE_NAME","LOCK_ESCALATION","LOCK_TIMEOUT","LOGIN","LOGSPACE","LOOP","LOW","MANUAL","MARK","MARK_IN_USE_FOR_REMOVAL","MASTER","MAX_CPU_PERCENT","MAX_DISPATCH_LATENCY","MAX_DOP","MAX_DURATION","MAX_EVENT_SIZE","MAX_FILES","MAX_IOPS_PER_VOLUME","MAX_MEMORY","MAX_MEMORY_PERCENT","MAX_QUEUE_READERS","MAX_ROLLOVER_FILES","MAX_SIZE","MAXDOP","MAXERRORS","MAXLENGTH","MAXRECURSION","MAXSIZE","MAXTRANSFERSIZE","MAXVALUE","MB","MEDIADESCRIPTION","MEDIANAME","MEDIAPASSWORD","MEDIUM","MEMBER","MEMORY_OPTIMIZED","MEMORY_OPTIMIZED_DATA","MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT","MEMORY_PARTITION_MODE","MERGE","MESSAGE","MESSAGE_FORWARD_SIZE","MESSAGE_FORWARDING","MICROSECOND","MILLISECOND","MIN_CPU_PERCENT","MIN_IOPS_PER_VOLUME","MIN_MEMORY_PERCENT","MINUTE","MINUTES","MINVALUE","MIRROR","MIRROR_ADDRESS","MODIFY","MONEY","MONTH","MOVE","MULTI_USER","MUST_CHANGE","NAME","NANOSECOND","NATIONAL","NATIVE_COMPILATION","NCHAR","NEGOTIATE","NESTED_TRIGGERS","NEW_ACCOUNT","NEW_BROKER","NEW_PASSWORD","NEWNAME","NEXT","NO","NO_BROWSETABLE","NO_CHECKSUM","NO_COMPRESSION","NO_EVENT_LOSS","NO_INFOMSGS","NO_TRUNCATE","NO_WAIT","NOCHECK","NOCOUNT","NOEXEC","NOEXPAND","NOFORMAT","NOINDEX","NOINIT","NOLOCK","NON","NON_TRANSACTED_ACCESS","NONCLUSTERED","NONE","NORECOMPUTE","NORECOVERY","NORESEED","NORESET","NOREWIND","NORMAL","NOSKIP","NOTIFICATION","NOTRUNCATE","NOUNLOAD","NOWAIT","NTEXT","NTLM","NUMANODE","NUMERIC","NUMERIC_ROUNDABORT","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OLD_ACCOUNT","OLD_PASSWORD","ON","ON_FAILURE","ONLINE","ONLY","OPEN","OPEN_EXISTING","OPENTRAN","OPTIMISTIC","OPTIMIZE","OPTION","ORDER","OUT","OUTPUT","OUTPUTBUFFER","OVER","OVERRIDE","OWNER","OWNERSHIP","PAD_INDEX","PAGE","PAGE_VERIFY","PAGECOUNT","PAGLOCK","PARAMETERIZATION","PARSEONLY","PARTIAL","PARTITION","PARTITIONS","PARTNER","PASSWORD","PATH","PER_CPU","PER_NODE","PERCENT","PERMISSION_SET","PERSISTED","PHYSICAL_ONLY","PLAN","POISON_MESSAGE_HANDLING","POOL","POPULATION","PORT","PRECEDING","PRECISION","PRIMARY","PRIMARY_ROLE","PRINT","PRIOR","PRIORITY","PRIORITY_LEVEL","PRIVATE","PRIVILEGES","PROC","PROCCACHE","PROCEDURE","PROCEDURE_NAME","PROCESS","PROFILE","PROPERTY","PROPERTY_DESCRIPTION","PROPERTY_INT_ID","PROPERTY_SET_GUID","PROVIDER","PROVIDER_KEY_NAME","PUBLIC","PUT","QUARTER","QUERY","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUEUE_DELAY","QUOTED_IDENTIFIER","RAISERROR","RANGE","RAW","RC2","RC4","RC4_128","READ","READ_COMMITTED_SNAPSHOT","READ_ONLY","READ_ONLY_ROUTING_LIST","READ_ONLY_ROUTING_URL","READ_WRITE","READ_WRITE_FILEGROUPS","READCOMMITTED","READCOMMITTEDLOCK","READONLY","READPAST","READTEXT","READUNCOMMITTED","READWRITE","REAL","REBUILD","RECEIVE","RECOMPILE","RECONFIGURE","RECOVERY","RECURSIVE","RECURSIVE_TRIGGERS","REFERENCES","REGENERATE","RELATED_CONVERSATION","RELATED_CONVERSATION_GROUP","RELATIVE","REMOTE","REMOTE_PROC_TRANSACTIONS","REMOTE_SERVICE_NAME","REMOVE","REORGANIZE","REPAIR_ALLOW_DATA_LOSS","REPAIR_FAST","REPAIR_REBUILD","REPEATABLE","REPEATABLEREAD","REPLICA","REPLICATION","REQUEST_MAX_CPU_TIME_SEC","REQUEST_MAX_MEMORY_GRANT_PERCENT","REQUEST_MEMORY_GRANT_TIMEOUT_SEC","REQUIRED","RESAMPLE","RESEED","RESERVE_DISK_SPACE","RESET","RESOURCE","RESTART","RESTORE","RESTRICT","RESTRICTED_USER","RESULT","RESUME","RETAINDAYS","RETENTION","RETURN","RETURNS","REVERT","REVOKE","REWIND","REWINDONLY","ROBUST","ROLE","ROLLBACK","ROLLUP","ROOT","ROUTE","ROW","ROWCOUNT","ROWGUIDCOL","ROWLOCK","ROWS","ROWS_PER_BATCH","ROWTERMINATOR","ROWVERSION","RSA_1024","RSA_2048","RSA_512","RULE","SAFE","SAFETY","SAMPLE","SAVE","SCHEDULER","SCHEMA","SCHEMA_AND_DATA","SCHEMA_ONLY","SCHEMABINDING","SCHEME","SCROLL","SCROLL_LOCKS","SEARCH","SECOND","SECONDARY","SECONDARY_ONLY","SECONDARY_ROLE","SECONDS","SECRET","SECURITY_LOG","SECURITYAUDIT","SELECT","SELECTIVE","SELF","SEND","SENT","SEQUENCE","SERIALIZABLE","SERVER","SERVICE","SERVICE_BROKER","SERVICE_NAME","SESSION","SESSION_TIMEOUT","SET","SETS","SETUSER","SHOW_STATISTICS","SHOWCONTIG","SHOWPLAN","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SHRINKDATABASE","SHRINKFILE","SHUTDOWN","SID","SIGNATURE","SIMPLE","SINGLE_BLOB","SINGLE_CLOB","SINGLE_NCLOB","SINGLE_USER","SINGLETON","SIZE","SKIP","SMALLDATETIME","SMALLINT","SMALLMONEY","SNAPSHOT","SORT_IN_TEMPDB","SOURCE","SPARSE","SPATIAL","SPATIAL_WINDOW_MAX_CELLS","SPECIFICATION","SPLIT","SQL","SQL_VARIANT","SQLPERF","STANDBY","START","START_DATE","STARTED","STARTUP_STATE","STAT_HEADER","STATE","STATEMENT","STATIC","STATISTICAL_SEMANTICS","STATISTICS","STATISTICS_INCREMENTAL","STATISTICS_NORECOMPUTE","STATS","STATS_STREAM","STATUS","STATUSONLY","STOP","STOP_ON_ERROR","STOPAT","STOPATMARK","STOPBEFOREMARK","STOPLIST","STOPPED","SUBJECT","SUBSCRIPTION","SUPPORTED","SUSPEND","SWITCH","SYMMETRIC","SYNCHRONOUS_COMMIT","SYNONYM","SYSNAME","SYSTEM","TABLE","TABLERESULTS","TABLESAMPLE","TABLOCK","TABLOCKX","TAKE","TAPE","TARGET","TARGET_RECOVERY_TIME","TB","TCP","TEXT","TEXTIMAGE_ON","TEXTSIZE","THEN","THESAURUS","THROW","TIES","TIME","TIMEOUT","TIMER","TIMESTAMP","TINYINT","TO","TOP","TORN_PAGE_DETECTION","TRACEOFF","TRACEON","TRACESTATUS","TRACK_CAUSALITY","TRACK_COLUMNS_UPDATED","TRAN","TRANSACTION","TRANSFER","TRANSFORM_NOISE_WORDS","TRIGGER","TRIPLE_DES","TRIPLE_DES_3KEY","TRUE","TRUNCATE","TRUNCATEONLY","TRUSTWORTHY","TRY","TSQL","TWO_DIGIT_YEAR_CUTOFF","TYPE","TYPE_WARNING","UNBOUNDED","UNCHECKED","UNCOMMITTED","UNDEFINED","UNIQUE","UNIQUEIDENTIFIER","UNKNOWN","UNLIMITED","UNLOAD","UNSAFE","UPDATE","UPDATETEXT","UPDATEUSAGE","UPDLOCK","URL","USE","USED","USER","USEROPTIONS","USING","VALID_XML","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","VERIFYONLY","VERSION","VIEW","VIEW_METADATA","VIEWS","VISIBILITY","WAIT_AT_LOW_PRIORITY","WAITFOR","WEEK","WEIGHT","WELL_FORMED_XML","WHEN","WHERE","WHILE","WINDOWS","WITH","WITHIN","WITHOUT","WITNESS","WORK","WORKLOAD","WRITETEXT","XACT_ABORT","XLOCK","XMAX","XMIN","XML","XMLDATA","XMLNAMESPACES","XMLSCHEMA","XQUERY","XSINIL","YEAR","YMAX","YMIN"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/51.42ba46ea.chunk.js b/0.1/playground/assets/js/51.42ba46ea.chunk.js new file mode 100644 index 000000000..4ad9aec47 --- /dev/null +++ b/0.1/playground/assets/js/51.42ba46ea.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{467:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return r}));var t={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","configuration","end_configuration","tcp","end_tcp","recource","end_recource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","world","dworld","array","pointer","lworld"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","\u0441tu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/\@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/52.4fd828a5.chunk.js.LICENSE.txt b/0.1/playground/assets/js/52.4fd828a5.chunk.js.LICENSE.txt new file mode 100644 index 000000000..7dcb5185f --- /dev/null +++ b/0.1/playground/assets/js/52.4fd828a5.chunk.js.LICENSE.txt @@ -0,0 +1,3 @@ +/*!--------------------------------------------------------------------------------------------- + * Copyright (C) David Owens II, owensd.io. All rights reserved. + *--------------------------------------------------------------------------------------------*/ diff --git a/0.1/playground/assets/js/53.921181a8.chunk.js b/0.1/playground/assets/js/53.921181a8.chunk.js new file mode 100644 index 000000000..993d47f0a --- /dev/null +++ b/0.1/playground/assets/js/53.921181a8.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{483:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return s}));var o={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:o.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:o.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:o.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:o.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},i={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","as","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","package","private","protected","public","readonly","require","global","return","set","static","super","switch","symbol","this","throw","true","try","type","typeof","unique","var","void","while","with","yield","async","await","of"],typeKeywords:["any","boolean","number","object","string","undefined"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)/,"number.hex"],[/0[oO]?(@octaldigits)/,"number.octal"],[/0[bB](@binarydigits)/,"number.binary"],[/(@digits)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); \ No newline at end of file diff --git a/0.1/playground/assets/js/55.76f65ca1.chunk.js b/0.1/playground/assets/js/55.76f65ca1.chunk.js new file mode 100644 index 000000000..56bf91b9b --- /dev/null +++ b/0.1/playground/assets/js/55.76f65ca1.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[55],{469:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return r}));var t={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},r={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=>"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[//g,"$1").replace(//g,"$1")),Ri(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));u+=e.length-p.length,e=p,E(l,u-c,u)}else{var h=e.indexOf("<");if(0===h){if(Di.test(e)){var f=e.indexOf("--\x3e");if(f>=0){t.shouldKeepComment&&t.comment(e.substring(4,f),u,u+f+3),C(f+3);continue}}if(Ai.test(e)){var g=e.indexOf("]>");if(g>=0){C(g+2);continue}}var m=e.match(Oi);if(m){C(m[0].length);continue}var y=e.match(Ti);if(y){var v=u;C(y[0].length),E(y[1],v,u);continue}var b=S();if(b){k(b),Ri(b.tagName,e)&&C(1);continue}}var _=void 0,w=void 0,x=void 0;if(h>=0){for(w=e.slice(h);!Ti.test(w)&&!ki.test(w)&&!Di.test(w)&&!Ai.test(w)&&!((x=w.indexOf("<",1))<0);)h+=x,w=e.slice(h);_=e.substring(0,h)}h<0&&(_=e),_&&C(_.length),t.chars&&_&&t.chars(_,u-_.length,u)}if(e===n){t.chars&&t.chars(e);break}}function C(t){u+=t,e=e.substring(t)}function S(){var t=e.match(ki);if(t){var n,r,o={tagName:t[1],attrs:[],start:u};for(C(t[0].length);!(n=e.match(Ei))&&(r=e.match(xi)||e.match(wi));)r.start=u,C(r[0].length),r.end=u,o.attrs.push(r);if(n)return o.unarySlash=n[1],C(n[0].length),o.end=u,o}}function k(e){var n=e.tagName,u=e.unarySlash;i&&("p"===r&&_i(n)&&E(r),a(n)&&r===n&&E(n));for(var c=s(n)||!!u,l=e.attrs.length,d=new Array(l),p=0;p=0&&o[s].lowerCasedTag!==a;s--);else s=0;if(s>=0){for(var c=o.length-1;c>=s;c--)t.end&&t.end(o[c].tag,n,i);o.length=s,r=s&&o[s-1].tag}else"br"===a?t.start&&t.start(e,[],!0,n,i):"p"===a&&(t.start&&t.start(e,[],!1,n,i),t.end&&t.end(e,n,i))}E()}(e,{warn:Bi,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,s,a,d){var p=o&&o.ns||qi(e);J&&"svg"===p&&(n=function(e){for(var t=[],n=0;nu&&(a.push(i=e.slice(u,o)),s.push(JSON.stringify(i)));var c=Or(r[1].trim());s.push("_s("+c+")"),a.push({"@binding":c}),u=o+r[0].length}return u-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),Rr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+s+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Ur(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Ur(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Ur(t,"$$c")+"}",null,!0)}(e,r,o);else if("input"===i&&"radio"===s)!function(e,t,n){var r=n&&n.number,o=Fr(e,"value")||"null";Pr(e,"checked","_q("+t+","+(o=r?"_n("+o+")":o)+")"),Rr(e,"change",Ur(t,o),null,!0)}(e,r,o);else if("input"===i||"textarea"===i)!function(e,t,n){var r=e.attrsMap.type;0;var o=n||{},i=o.lazy,s=o.number,a=o.trim,u=!i&&"range"!==r,c=i?"change":"range"===r?"__r":"input",l="$event.target.value";a&&(l="$event.target.value.trim()");s&&(l="_n("+l+")");var d=Ur(t,l);u&&(d="if($event.target.composing)return;"+d);Pr(e,"value","("+t+")"),Rr(e,c,d,null,!0),(a||s)&&Rr(e,"blur","$forceUpdate()")}(e,r,o);else{if(!W.isReservedTag(i))return Hr(e,r,o),!1}return!0},text:function(e,t){t.value&&Pr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Pr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:vi,mustUseProp:jn,canBeLeftOpenTag:bi,isReservedTag:Xn,getTagNamespace:Jn,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(ys)},ws=x((function(e){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function xs(e,t){e&&(vs=ws(t.staticKeys||""),bs=t.isReservedTag||I,function e(t){if(t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||y(e.tag)||!bs(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(vs)))}(t),1===t.type){if(!bs(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Ss=/\([^)]*?\);*$/,ks=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Es={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ts={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Os=function(e){return"if("+e+")return null;"},Ds={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Os("$event.target !== $event.currentTarget"),ctrl:Os("!$event.ctrlKey"),shift:Os("!$event.shiftKey"),alt:Os("!$event.altKey"),meta:Os("!$event.metaKey"),left:Os("'button' in $event && $event.button !== 0"),middle:Os("'button' in $event && $event.button !== 1"),right:Os("'button' in $event && $event.button !== 2")};function As(e,t){var n=t?"nativeOn:":"on:",r="",o="";for(var i in e){var s=Ls(e[i]);e[i]&&e[i].dynamic?o+=i+","+s+",":r+='"'+i+'":'+s+","}return r="{"+r.slice(0,-1)+"}",o?n+"_d("+r+",["+o.slice(0,-1)+"])":n+r}function Ls(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Ls(e)})).join(",")+"]";var t=ks.test(e.value),n=Cs.test(e.value),r=ks.test(e.value.replace(Ss,""));if(e.modifiers){var o="",i="",s=[];for(var a in e.modifiers)if(Ds[a])i+=Ds[a],Es[a]&&s.push(a);else if("exact"===a){var u=e.modifiers;i+=Os(["ctrl","shift","alt","meta"].filter((function(e){return!u[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else s.push(a);return s.length&&(o+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ps).join("&&")+")return null;"}(s)),i&&(o+=i),"function($event){"+o+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ps(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Es[e],r=Ts[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Is={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:P},Ns=function(e){this.options=e,this.warn=e.warn||Ar,this.transforms=Lr(e.modules,"transformCode"),this.dataGenFns=Lr(e.modules,"genData"),this.directives=A(A({},Is),e.directives);var t=e.isReservedTag||I;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function js(e,t){var n=new Ns(t);return{render:"with(this){return "+(e?Ms(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ms(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Rs(e,t);if(e.once&&!e.onceProcessed)return Fs(e,t);if(e.for&&!e.forProcessed)return Ws(e,t);if(e.if&&!e.ifProcessed)return Bs(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=zs(e,t),o="_t("+n+(r?","+r:""),i=e.attrs||e.dynamicAttrs?Gs((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:S(e.name),value:e.value,dynamic:e.dynamic}}))):null,s=e.attrsMap["v-bind"];!i&&!s||r||(o+=",null");i&&(o+=","+i);s&&(o+=(i?"":",null")+","+s);return o+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:zs(t,n,!0);return"_c("+e+","+Vs(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Vs(e,t));var o=e.inlineTemplate?null:zs(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i>>0}(s):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var i=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=js(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Gs(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Hs(e){return 1===e.type&&("slot"===e.tag||e.children.some(Hs))}function Us(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Bs(e,t,Us,"null");if(e.for&&!e.forProcessed)return Ws(e,t,Us);var r="_empty_"===e.slotScope?"":String(e.slotScope),o="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(zs(e,t)||"undefined")+":undefined":zs(e,t)||"undefined":Ms(e,t))+"}",i=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+o+i+"}"}function zs(e,t,n,r,o){var i=e.children;if(i.length){var s=i[0];if(1===i.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var a=n?t.maybeComponent(s)?",1":",0":"";return""+(r||Ms)(s,t)+a}var u=n?function(e,t){for(var n=0,r=0;r':'
',Zs.innerHTML.indexOf(" ")>0}var na=!!G&&ta(!1),ra=!!G&&ta(!0),oa=x((function(e){var t=er(e);return t&&t.innerHTML})),ia=kn.prototype.$mount;kn.prototype.$mount=function(e,t){if((e=e&&er(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"===typeof r)"#"===r.charAt(0)&&(r=oa(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var o=ea(r,{outputSourceRange:!1,shouldDecodeNewlines:na,shouldDecodeNewlinesForHref:ra,delimiters:n.delimiters,comments:n.comments},this),i=o.render,s=o.staticRenderFns;n.render=i,n.staticRenderFns=s}}return ia.call(this,e,t)},kn.compile=ea,t.a=kn}).call(this,n(137),n(277).setImmediate)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(19),o=Object(r.c)("telemetryService")},function(e,t,n){"use strict";function r(e,t){if(!e)throw new Error(t?"Assertion failed ("+t+")":"Assertion Failed")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n(7),o=function(){function e(e,t,n,r){this.startColumn=e,this.endColumn=t,this.className=n,this.type=r}return e._equals=function(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type},e.equalsArr=function(t,n){var r=t.length;if(r!==n.length)return!1;for(var o=0;on)&&(!l.isEmpty()||0!==c.type&&3!==c.type)){var d=l.startLineNumber===n?l.startColumn:r,p=l.endLineNumber===n?l.endColumn:o;i[s++]=new e(d,p,c.inlineClassName,c.type)}}return i},e.compare=function(e,t){return e.startColumn===t.startColumn?e.endColumn===t.endColumn?e.classNamet.className?1:0:e.endColumn-t.endColumn:e.startColumn-t.startColumn},e}(),i=function(e,t,n){this.startOffset=e,this.endOffset=t,this.className=n},s=function(){function e(){this.stopOffsets=[],this.classNames=[],this.count=0}return e.prototype.consumeLowerThan=function(e,t,n){for(;this.count>0&&this.stopOffsets[0]0&&t=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t);break}this.count++},e}(),a=function(){function e(){}return e.normalize=function(e,t){if(0===t.length)return[];for(var n=[],o=new s,i=0,a=0,u=t.length;a1){var h=e.charCodeAt(l-2);r.u(h)&&l--}if(d>1){h=e.charCodeAt(d-2);r.u(h)&&d--}var f=l-1,g=d-2;i=o.consumeLowerThan(f,i,n),0===o.count&&(i=f),o.insert(g,p)}return o.consumeLowerThan(1073741824,i,n),n},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return w}));var r=n(0),o=n(20),i=n(156),s=n(81),a=n(146),u=n(1),c=(n(383),n(29)),l=n(172),d=u.a,p=function(){function e(e,t,n){this.os=t,this.options=n,this.domNode=u.m(e,d(".monaco-keybinding")),this.didEverRender=!1,e.appendChild(this.domNode)}return e.prototype.set=function(t,n){this.didEverRender&&this.keybinding===t&&e.areSame(this.matches,n)||(this.keybinding=t,this.matches=n,this.render())},e.prototype.render=function(){if(u.n(this.domNode),this.keybinding){var e=this.keybinding.getParts(),t=e[0],n=e[1];t&&this.renderPart(this.domNode,t,this.matches?this.matches.firstPart:null),n&&(u.m(this.domNode,d("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,n,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.didEverRender=!0},e.prototype.renderPart=function(e,t,n){var r=l.b.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,r.ctrlKey,Boolean(n&&n.ctrlKey),r.separator),t.shiftKey&&this.renderKey(e,r.shiftKey,Boolean(n&&n.shiftKey),r.separator),t.altKey&&this.renderKey(e,r.altKey,Boolean(n&&n.altKey),r.separator),t.metaKey&&this.renderKey(e,r.metaKey,Boolean(n&&n.metaKey),r.separator);var o=t.keyLabel;o&&this.renderKey(e,o,Boolean(n&&n.keyCode),"")},e.prototype.renderKey=function(e,t,n,r){u.m(e,d("span.monaco-keybinding-key"+(n?".highlight":""),void 0,t)),r&&u.m(e,d("span.monaco-keybinding-key-separator",void 0,r))},e.prototype.renderUnbound=function(e){u.m(e,d("span.monaco-keybinding-key",void 0,Object(r.a)("unbound","Unbound")))},e.areSame=function(e,t){return e===t||!e&&!t||!!e&&!!t&&Object(c.e)(e.firstPart,t.firstPart)&&Object(c.e)(e.chordPart,t.chordPart)},e}(),h=n(14),f=n(17),g=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=0,y=function(){function e(e){void 0===e&&(e=[]),this.id=(m++).toString(),this.labelHighlights=e,this.descriptionHighlights=[]}return e.prototype.getId=function(){return this.id},e.prototype.getLabel=function(){return null},e.prototype.getLabelOptions=function(){return null},e.prototype.getAriaLabel=function(){return Object(f.d)([this.getLabel(),this.getDescription(),this.getDetail()]).join(", ")},e.prototype.getDetail=function(){return null},e.prototype.getIcon=function(){return null},e.prototype.getDescription=function(){return null},e.prototype.getTooltip=function(){return null},e.prototype.getDescriptionTooltip=function(){return null},e.prototype.getKeybinding=function(){return null},e.prototype.isHidden=function(){return this.hidden},e.prototype.setHighlights=function(e,t,n){this.labelHighlights=e,this.descriptionHighlights=t,this.detailHighlights=n},e.prototype.getHighlights=function(){return[this.labelHighlights,this.descriptionHighlights,this.detailHighlights]},e.prototype.run=function(e,t){return!1},e}(),v=function(e){function t(t,n,r){var o=e.call(this)||this;return o.entry=t,o.groupLabel=n,o.withBorder=r,o}return g(t,e),t.prototype.getGroupLabel=function(){return this.groupLabel},t.prototype.setGroupLabel=function(e){this.groupLabel=e},t.prototype.showBorder=function(){return!!this.withBorder},t.prototype.setShowBorder=function(e){this.withBorder=e},t.prototype.getLabel=function(){return this.entry?this.entry.getLabel():e.prototype.getLabel.call(this)},t.prototype.getLabelOptions=function(){return this.entry?this.entry.getLabelOptions():e.prototype.getLabelOptions.call(this)},t.prototype.getAriaLabel=function(){return this.entry?this.entry.getAriaLabel():e.prototype.getAriaLabel.call(this)},t.prototype.getDetail=function(){return this.entry?this.entry.getDetail():e.prototype.getDetail.call(this)},t.prototype.getIcon=function(){return this.entry?this.entry.getIcon():e.prototype.getIcon.call(this)},t.prototype.getDescription=function(){return this.entry?this.entry.getDescription():e.prototype.getDescription.call(this)},t.prototype.getHighlights=function(){return this.entry?this.entry.getHighlights():e.prototype.getHighlights.call(this)},t.prototype.isHidden=function(){return this.entry?this.entry.isHidden():e.prototype.isHidden.call(this)},t.prototype.setHighlights=function(t,n,r){this.entry?this.entry.setHighlights(t,n,r):e.prototype.setHighlights.call(this,t,n,r)},t.prototype.run=function(t,n){return this.entry?this.entry.run(t,n):e.prototype.run.call(this,t,n)},t}(y),b=function(){function e(){}return e.prototype.hasActions=function(e,t){return!1},e.prototype.getActions=function(e,t){return null},e}(),_=function(){function e(e,t){void 0===e&&(e=new b),this.actionProvider=e,this.actionRunner=t}return e.prototype.getHeight=function(e){return e.getDetail()?44:22},e.prototype.getTemplateId=function(e){return e instanceof v?"quickOpenEntryGroup":"quickOpenEntry"},e.prototype.renderTemplate=function(e,t,n){var r=document.createElement("div");u.f(r,"sub-content"),t.appendChild(r);var o=u.a(".quick-open-row"),c=u.a(".quick-open-row"),l=u.a(".quick-open-entry",void 0,o,c);r.appendChild(l);var d=document.createElement("span");o.appendChild(d);var f=new i.a(o,{supportHighlights:!0,supportDescriptionHighlights:!0}),g=document.createElement("span");o.appendChild(g),u.f(g,"quick-open-entry-keybinding");var m=new p(g,h.a),y=document.createElement("div");c.appendChild(y),u.f(y,"quick-open-entry-meta");var v,b=new a.a(y,!0);"quickOpenEntryGroup"===e&&(v=document.createElement("div"),u.f(v,"results-group"),t.appendChild(v)),u.f(t,"actions");var _=document.createElement("div");return u.f(_,"primary-action-bar"),t.appendChild(_),{container:t,entry:l,icon:d,label:f,detail:b,keybinding:m,group:v,actionBar:new s.a(_,{actionRunner:this.actionRunner})}},e.prototype.renderElement=function(e,t,n,r){this.actionProvider.hasActions(null,e)?u.f(n.container,"has-actions"):u.G(n.container,"has-actions"),n.actionBar.context=e;var i=this.actionProvider.getActions(null,e);if(n.actionBar.isEmpty()&&i&&i.length>0?n.actionBar.push(i,{icon:!0,label:!1}):n.actionBar.isEmpty()||i&&0!==i.length||n.actionBar.clear(),e instanceof v&&e.getGroupLabel()?u.f(n.container,"has-group-label"):u.G(n.container,"has-group-label"),e instanceof v){var s=e,a=n;s.showBorder()?(u.f(a.container,"results-group-separator"),r.pickerGroupBorder&&(a.container.style.borderTopColor=r.pickerGroupBorder.toString())):(u.G(a.container,"results-group-separator"),a.container.style.borderTopColor=null);var c=s.getGroupLabel()||"";a.group&&(a.group.textContent=c,r.pickerGroupForeground&&(a.group.style.color=r.pickerGroupForeground.toString()))}if(e instanceof y){var l=e.getHighlights(),d=l[0],p=l[1],h=l[2],f=e.getIcon()?"quick-open-entry-icon "+e.getIcon():"";n.icon.className=f;var g=e.getLabelOptions()||Object.create(null);g.matches=d||[],g.title=o.l(e.getTooltip()),g.descriptionTitle=e.getDescriptionTooltip()||o.l(e.getDescription()),g.descriptionMatches=p||[],n.label.setLabel(o.l(e.getLabel()),o.l(e.getDescription()),g),n.detail.set(o.l(e.getDetail()),h),n.keybinding.set(e.getKeybinding())}},e.prototype.disposeTemplate=function(e,t){t.actionBar.dispose(),t.actionBar=null,t.container=null,t.entry=null,t.keybinding=null,t.detail=null,t.group=null,t.icon=null,t.label.dispose(),t.label=null},e}(),w=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=new b),this._entries=e,this._dataSource=this,this._renderer=new _(t),this._filter=this,this._runner=this,this._accessibilityProvider=this}return Object.defineProperty(e.prototype,"entries",{get:function(){return this._entries},set:function(e){this._entries=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataSource",{get:function(){return this._dataSource},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderer",{get:function(){return this._renderer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"runner",{get:function(){return this._runner},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"accessibilityProvider",{get:function(){return this._accessibilityProvider},enumerable:!0,configurable:!0}),e.prototype.getId=function(e){return e.getId()},e.prototype.getLabel=function(e){return e.getLabel()},e.prototype.getAriaLabel=function(e){return e.getAriaLabel()?r.a("quickOpenAriaLabelEntry","{0}, picker",e.getAriaLabel()):r.a("quickOpenAriaLabel","picker")},e.prototype.isVisible=function(e){return!e.isHidden()},e.prototype.run=function(e,t,n){return e.run(t,n)},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(7),o=n(16),i=n(2),s=n(21),a=n(32),u=Object.create(null);function c(e,t){u[e]||(u[e]=["",e]);for(var n=u[e],r=n.length;r<=t;r++)n[r]=n[r-1]+e;return n[t]}var l=function(){function e(e,t){this._opts=t,this._selection=e,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}return e.unshiftIndent=function(e,t,n,r,i){var s=o.a.visibleColumnFromColumn(e,t,n);if(i){var a=c(" ",r);return c(a,o.a.prevIndentTabStop(s,r)/r)}return c(a="\t",o.a.prevRenderTabStop(s,n)/n)},e.shiftIndent=function(e,t,n,r,i){var s=o.a.visibleColumnFromColumn(e,t,n);if(i){var a=c(" ",r);return c(a,o.a.nextIndentTabStop(s,r)/r)}return c(a="\t",o.a.nextRenderTabStop(s,n)/n)},e.prototype._addEditOperation=function(e,t,n){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,n):e.addEditOperation(t,n)},e.prototype.getEditOperations=function(t,n){var s=this._selection.startLineNumber,u=this._selection.endLineNumber;1===this._selection.endColumn&&s!==u&&(u-=1);var l=this._opts,d=l.tabSize,p=l.indentSize,h=l.insertSpaces,f=s===u;if(this._selection.isEmpty()&&/^\s*$/.test(t.getLineContent(s))&&(this._useLastEditRangeForCursorEndPosition=!0),this._opts.useTabStops)for(var g=0,m=0,y=s;y<=u;y++,g=m){m=0;var v=t.getLineContent(y),b=r.o(v);if((!this._opts.isUnshift||0!==v.length&&0!==b)&&(f||this._opts.isUnshift||0!==v.length)){if(-1===b&&(b=v.length),y>1)if(o.a.visibleColumnFromColumn(v,b+1,d)%p!==0&&t.isCheapToTokenize(y-1)){var _=a.a.getRawEnterActionAtPosition(t,y-1,t.getLineMaxColumn(y-1));if(_){if(m=g,_.appendText)for(var w=0,x=_.appendText.length;w=this.el.clientHeight-4&&(o=this.orthogonalEndSash):e.offsetX<=4?o=this.orthogonalStartSash:e.offsetX>=this.el.clientWidth-4&&(o=this.orthogonalEndSash),o&&(n=!0,e.__orthogonalSashEvent=!0,o.onMouseDown(e))}if(this.state){for(var s=0,a=Object(l.w)("iframe");s=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){return function(n,r){t(n,r,e)}},g=function(){function e(e,t,n){void 0===n&&(n=o.b),this._editor=e,this._modeService=t,this._openerService=n,this._onDidRenderCodeBlock=new l.a,this.onDidRenderCodeBlock=this._onDidRenderCodeBlock.event}return e.prototype.getOptions=function(e){var t=this;return{codeBlockRenderer:function(e,n){var r=null;if(e)r=t._modeService.getModeIdForLanguageName(e);else{var o=t._editor.getModel();o&&(r=o.getLanguageIdentifier().language)}return t._modeService.triggerMode(r||""),Promise.resolve(!0).then((function(e){var t=p.y.getPromise(r||"");return t?t.then((function(e){return Object(u.b)(n,e)})):Object(u.b)(n,void 0)})).then((function(e){return''+e+""}))},codeBlockRenderCallback:function(){return t._onDidRenderCodeBlock.fire()},actionHandler:{callback:function(e){var n;try{n=s.a.parse(e)}catch(r){}n&&t._openerService&&t._openerService.open(n).catch(a.e)},disposeables:e}}},e.prototype.render=function(e){var t=[];return{element:e?Object(r.b)(e,this.getOptions(t)):document.createElement("span"),dispose:function(){return Object(d.d)(t)}}},e=h([f(1,i.a),f(2,Object(c.d)(o.a))],e)}()},function(e,t,n){"use strict";n.r(t),n.d(t,"MoveWordCommand",(function(){return h})),n.d(t,"WordLeftCommand",(function(){return f})),n.d(t,"WordRightCommand",(function(){return g})),n.d(t,"CursorWordStartLeft",(function(){return m})),n.d(t,"CursorWordEndLeft",(function(){return y})),n.d(t,"CursorWordLeft",(function(){return v})),n.d(t,"CursorWordStartLeftSelect",(function(){return b})),n.d(t,"CursorWordEndLeftSelect",(function(){return _})),n.d(t,"CursorWordLeftSelect",(function(){return w})),n.d(t,"CursorWordStartRight",(function(){return x})),n.d(t,"CursorWordEndRight",(function(){return C})),n.d(t,"CursorWordRight",(function(){return S})),n.d(t,"CursorWordStartRightSelect",(function(){return k})),n.d(t,"CursorWordEndRightSelect",(function(){return E})),n.d(t,"CursorWordRightSelect",(function(){return T})),n.d(t,"DeleteWordCommand",(function(){return O})),n.d(t,"DeleteWordLeftCommand",(function(){return D})),n.d(t,"DeleteWordRightCommand",(function(){return A})),n.d(t,"DeleteWordStartLeft",(function(){return L})),n.d(t,"DeleteWordEndLeft",(function(){return P})),n.d(t,"DeleteWordLeft",(function(){return I})),n.d(t,"DeleteWordStartRight",(function(){return N})),n.d(t,"DeleteWordEndRight",(function(){return j})),n.d(t,"DeleteWordRight",(function(){return M}));var r=n(3),o=n(41),i=n(16),s=n(108),a=n(104),u=n(9),c=n(2),l=n(21),d=n(6),p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n._wordNavigationType=t.wordNavigationType,n}return p(t,e),t.prototype.runEditorCommand=function(e,t,n){var r=this;if(t.hasModel()){var o=t.getConfiguration(),s=Object(a.a)(o.wordSeparators),c=t.getModel(),l=t.getSelections().map((function(e){var t=new u.a(e.positionLineNumber,e.positionColumn),n=r._move(s,c,t,r._wordNavigationType);return r._moveTo(e,n,r._inSelectionMode)}));if(t._getCursors().setStates("moveWordCommand",0,l.map((function(e){return i.d.fromModelSelection(e)}))),1===l.length){var d=new u.a(l[0].positionLineNumber,l[0].positionColumn);t.revealPosition(d,0)}}},t.prototype._moveTo=function(e,t,n){return n?new l.a(e.selectionStartLineNumber,e.selectionStartColumn,t.lineNumber,t.column):new l.a(t.lineNumber,t.column,t.lineNumber,t.column)},t}(r.c),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype._move=function(e,t,n,r){return s.a.moveWordLeft(e,t,n,r)},t}(h),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype._move=function(e,t,n,r){return s.a.moveWordRight(e,t,n,r)},t}(h),m=function(e){function t(){return e.call(this,{inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:null,kbOpts:{kbExpr:d.a.textInputFocus,primary:2063,mac:{primary:527},weight:100}})||this}return p(t,e),t}(f),y=function(e){function t(){return e.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:null})||this}return p(t,e),t}(f),v=function(e){function t(){return e.call(this,{inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:null})||this}return p(t,e),t}(f),b=function(e){function t(){return e.call(this,{inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:null,kbOpts:{kbExpr:d.a.textInputFocus,primary:3087,mac:{primary:1551},weight:100}})||this}return p(t,e),t}(f),_=function(e){function t(){return e.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:null})||this}return p(t,e),t}(f),w=function(e){function t(){return e.call(this,{inSelectionMode:!0,wordNavigationType:0,id:"cursorWordLeftSelect",precondition:null})||this}return p(t,e),t}(f),x=function(e){function t(){return e.call(this,{inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:null})||this}return p(t,e),t}(g),C=function(e){function t(){return e.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:null,kbOpts:{kbExpr:d.a.textInputFocus,primary:2065,mac:{primary:529},weight:100}})||this}return p(t,e),t}(g),S=function(e){function t(){return e.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:null})||this}return p(t,e),t}(g),k=function(e){function t(){return e.call(this,{inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:null})||this}return p(t,e),t}(g),E=function(e){function t(){return e.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:null,kbOpts:{kbExpr:d.a.textInputFocus,primary:3089,mac:{primary:1553},weight:100}})||this}return p(t,e),t}(g),T=function(e){function t(){return e.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:null})||this}return p(t,e),t}(g),O=function(e){function t(t){var n=e.call(this,t)||this;return n._whitespaceHeuristics=t.whitespaceHeuristics,n._wordNavigationType=t.wordNavigationType,n}return p(t,e),t.prototype.runEditorCommand=function(e,t,n){var r=this;if(t.hasModel()){var i=t.getConfiguration(),s=Object(a.a)(i.wordSeparators),u=t.getModel(),c=t.getSelections().map((function(e){var t=r._delete(s,u,e,r._whitespaceHeuristics,r._wordNavigationType);return new o.a(t,"")}));t.pushUndoStop(),t.executeCommands(this.id,c),t.pushUndoStop()}},t}(r.c),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype._delete=function(e,t,n,r,o){var i=s.a.deleteWordLeft(e,t,n,r,o);return i||new c.a(1,1,1,1)},t}(O),A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype._delete=function(e,t,n,r,o){var i=s.a.deleteWordRight(e,t,n,r,o);if(i)return i;var a=t.getLineCount(),u=t.getLineMaxColumn(a);return new c.a(a,u,a,u)},t}(O),L=function(e){function t(){return e.call(this,{whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:d.a.writable})||this}return p(t,e),t}(D),P=function(e){function t(){return e.call(this,{whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:d.a.writable})||this}return p(t,e),t}(D),I=function(e){function t(){return e.call(this,{whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:d.a.writable,kbOpts:{kbExpr:d.a.textInputFocus,primary:2049,mac:{primary:513},weight:100}})||this}return p(t,e),t}(D),N=function(e){function t(){return e.call(this,{whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:d.a.writable})||this}return p(t,e),t}(A),j=function(e){function t(){return e.call(this,{whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:d.a.writable})||this}return p(t,e),t}(A),M=function(e){function t(){return e.call(this,{whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:d.a.writable,kbOpts:{kbExpr:d.a.textInputFocus,primary:2068,mac:{primary:532},weight:100}})||this}return p(t,e),t}(A);Object(r.g)(new m),Object(r.g)(new y),Object(r.g)(new v),Object(r.g)(new b),Object(r.g)(new _),Object(r.g)(new w),Object(r.g)(new x),Object(r.g)(new C),Object(r.g)(new S),Object(r.g)(new k),Object(r.g)(new E),Object(r.g)(new T),Object(r.g)(new L),Object(r.g)(new P),Object(r.g)(new I),Object(r.g)(new N),Object(r.g)(new j),Object(r.g)(new M)},function(e,t,n){"use strict";n.d(t,"b",(function(){return y})),n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return S})),n.d(t,"c",(function(){return k}));var r=n(0),o=n(5),i=n(4),s=n(29),a=n(14),u=n(34),c=n(100),l=n(131),d=n(111),p=n(57),h=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=u.a,g=u.b,m=u.c,y=new(function(){function e(){this._tabFocus=!1,this._onDidChangeTabFocus=new o.a,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}return e.prototype.getTabFocusMode=function(){return this._tabFocus},e.prototype.setTabFocusMode=function(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))},e}()),v=Object.hasOwnProperty,b=function(e){function t(t,n){var r=e.call(this)||this;return r._onDidChange=r._register(new o.a),r.onDidChange=r._onDidChange.event,r.isSimpleWidget=t,r._rawOptions=s.g({},n||{}),r._rawOptions.scrollbar=s.g({},r._rawOptions.scrollbar||{}),r._rawOptions.minimap=s.g({},r._rawOptions.minimap||{}),r._rawOptions.find=s.g({},r._rawOptions.find||{}),r._rawOptions.hover=s.g({},r._rawOptions.hover||{}),r._rawOptions.parameterHints=s.g({},r._rawOptions.parameterHints||{}),r._validatedOptions=u.d.validate(r._rawOptions,f),r._isDominatedByLongLines=!1,r._lineNumbersDigitCount=1,r._register(c.a.onDidChangeZoomLevel((function(e){return r._recomputeOptions()}))),r._register(y.onDidChangeTabFocus((function(e){return r._recomputeOptions()}))),r}return h(t,e),t.prototype.observeReferenceElement=function(e){},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._recomputeOptions=function(){var e=this.editor,t=this._computeInternalOptions();e&&e.equals(t)||(this.editor=t,e&&this._onDidChange.fire(e.createChangeEvent(t)))},t.prototype.getRawOptions=function(){return this._rawOptions},t.prototype._computeInternalOptions=function(){var e=this._validatedOptions,t=this._getEnvConfiguration(),n=l.a.createFromRawSettings(this._rawOptions,t.zoomLevel,this.isSimpleWidget),r={outerWidth:t.outerWidth,outerHeight:t.outerHeight,fontInfo:this.readConfiguration(n),extraEditorClassName:t.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:t.emptySelectionClipboard,pixelRatio:t.pixelRatio,tabFocusMode:y.getTabFocusMode(),accessibilitySupport:t.accessibilitySupport};return u.f.createInternalEditorOptions(r,e)},t._primitiveArrayEquals=function(e,t){if(e.length!==t.length)return!1;for(var n=0;n console.log` because `log` has been completed recently."),r.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],default:"recentlyUsed",description:r.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")},"editor.suggestFontSize":{type:"integer",default:0,minimum:0,markdownDescription:r.a("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")},"editor.suggestLineHeight":{type:"integer",default:0,minimum:0,markdownDescription:r.a("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")},"editor.tabCompletion":{type:"string",default:"off",enum:["on","off","onlySnippets"],enumDescriptions:[r.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),r.a("tabCompletion.off","Disable tab completions."),r.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:r.a("tabCompletion","Enables tab completions.")},"editor.suggest.filterGraceful":{type:"boolean",default:!0,description:r.a("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:!1,description:r.a("suggest.localityBonus","Controls whether sorting favours words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:!1,markdownDescription:r.a("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:!0,description:r.a("suggest.snippetsPreventQuickSuggestions","Control whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:f.contribInfo.suggest.showIcons,description:r.a("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.maxVisibleSuggestions":{type:"number",default:f.contribInfo.suggest.maxVisibleSuggestions,minimum:1,maximum:15,description:r.a("suggest.maxVisibleSuggestions","Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).")},"editor.suggest.filteredTypes":{type:"object",default:{keyword:!0},markdownDescription:r.a("suggest.filtered","Controls whether some suggestion types should be filtered from IntelliSense. A list of suggestion types can be found here: https://code.visualstudio.com/docs/editor/intellisense#_types-of-completions."),properties:{method:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.method","When set to `false` IntelliSense never shows `method` suggestions.")},function:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.function","When set to `false` IntelliSense never shows `function` suggestions.")},constructor:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.constructor","When set to `false` IntelliSense never shows `constructor` suggestions.")},field:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.field","When set to `false` IntelliSense never shows `field` suggestions.")},variable:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.variable","When set to `false` IntelliSense never shows `variable` suggestions.")},class:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.class","When set to `false` IntelliSense never shows `class` suggestions.")},struct:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.struct","When set to `false` IntelliSense never shows `struct` suggestions.")},interface:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.interface","When set to `false` IntelliSense never shows `interface` suggestions.")},module:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.module","When set to `false` IntelliSense never shows `module` suggestions.")},property:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.property","When set to `false` IntelliSense never shows `property` suggestions.")},event:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.event","When set to `false` IntelliSense never shows `event` suggestions.")},operator:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.operator","When set to `false` IntelliSense never shows `operator` suggestions.")},unit:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.unit","When set to `false` IntelliSense never shows `unit` suggestions.")},value:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.value","When set to `false` IntelliSense never shows `value` suggestions.")},constant:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.constant","When set to `false` IntelliSense never shows `constant` suggestions.")},enum:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.enum","When set to `false` IntelliSense never shows `enum` suggestions.")},enumMember:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.enumMember","When set to `false` IntelliSense never shows `enumMember` suggestions.")},keyword:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.keyword","When set to `false` IntelliSense never shows `keyword` suggestions.")},text:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.text","When set to `false` IntelliSense never shows `text` suggestions.")},color:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.color","When set to `false` IntelliSense never shows `color` suggestions.")},file:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.file","When set to `false` IntelliSense never shows `file` suggestions.")},reference:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.reference","When set to `false` IntelliSense never shows `reference` suggestions.")},customcolor:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.customcolor","When set to `false` IntelliSense never shows `customcolor` suggestions.")},folder:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.folder","When set to `false` IntelliSense never shows `folder` suggestions.")},typeParameter:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.typeParameter","When set to `false` IntelliSense never shows `typeParameter` suggestions.")},snippet:{type:"boolean",default:!0,markdownDescription:r.a("suggest.filtered.snippet","When set to `false` IntelliSense never shows `snippet` suggestions.")}}},"editor.gotoLocation.multiple":{description:r.a("editor.gotoLocation.multiple","Controls the behavior of 'Go To' commands, like Go To Definition, when multiple target locations exist."),type:"string",enum:["peek","gotoAndPeek","goto"],default:f.contribInfo.gotoLocation.multiple,enumDescriptions:[r.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),r.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),r.a("editor.gotoLocation.multiple.goto","Go to the primary result and ignore others")]},"editor.selectionHighlight":{type:"boolean",default:f.contribInfo.selectionHighlight,description:r.a("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")},"editor.occurrencesHighlight":{type:"boolean",default:f.contribInfo.occurrencesHighlight,description:r.a("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")},"editor.overviewRulerLanes":{type:"integer",default:3,description:r.a("overviewRulerLanes","Controls the number of decorations that can show up at the same position in the overview ruler.")},"editor.overviewRulerBorder":{type:"boolean",default:f.viewInfo.overviewRulerBorder,description:r.a("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")},"editor.cursorBlinking":{type:"string",enum:["blink","smooth","phase","expand","solid"],default:u.h(f.viewInfo.cursorBlinking),description:r.a("cursorBlinking","Control the cursor animation style.")},"editor.mouseWheelZoom":{type:"boolean",default:f.viewInfo.mouseWheelZoom,markdownDescription:r.a("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")},"editor.cursorSmoothCaretAnimation":{type:"boolean",default:f.viewInfo.cursorSmoothCaretAnimation,description:r.a("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")},"editor.cursorStyle":{type:"string",enum:["block","block-outline","line","line-thin","underline","underline-thin"],default:u.i(f.viewInfo.cursorStyle),description:r.a("cursorStyle","Controls the cursor style.")},"editor.cursorWidth":{type:"integer",default:f.viewInfo.cursorWidth,markdownDescription:r.a("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")},"editor.fontLigatures":{type:"boolean",default:f.viewInfo.fontLigatures,description:r.a("fontLigatures","Enables/Disables font ligatures.")},"editor.hideCursorInOverviewRuler":{type:"boolean",default:f.viewInfo.hideCursorInOverviewRuler,description:r.a("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")},"editor.renderWhitespace":{type:"string",enum:["none","boundary","all"],enumDescriptions:["",r.a("renderWhiteSpace.boundary","Render whitespace characters except for single spaces between words."),""],default:f.viewInfo.renderWhitespace,description:r.a("renderWhitespace","Controls how the editor should render whitespace characters.")},"editor.renderControlCharacters":{type:"boolean",default:f.viewInfo.renderControlCharacters,description:r.a("renderControlCharacters","Controls whether the editor should render control characters.")},"editor.renderIndentGuides":{type:"boolean",default:f.viewInfo.renderIndentGuides,description:r.a("renderIndentGuides","Controls whether the editor should render indent guides.")},"editor.highlightActiveIndentGuide":{type:"boolean",default:f.viewInfo.highlightActiveIndentGuide,description:r.a("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")},"editor.renderLineHighlight":{type:"string",enum:["none","gutter","line","all"],enumDescriptions:["","","",r.a("renderLineHighlight.all","Highlights both the gutter and the current line.")],default:f.viewInfo.renderLineHighlight,description:r.a("renderLineHighlight","Controls how the editor should render the current line highlight.")},"editor.codeLens":{type:"boolean",default:f.contribInfo.codeLens,description:r.a("codeLens","Controls whether the editor shows CodeLens.")},"editor.folding":{type:"boolean",default:f.contribInfo.folding,description:r.a("folding","Controls whether the editor has code folding enabled.")},"editor.foldingStrategy":{type:"string",enum:["auto","indentation"],default:f.contribInfo.foldingStrategy,markdownDescription:r.a("foldingStrategy","Controls the strategy for computing folding ranges. `auto` uses a language specific folding strategy, if available. `indentation` uses the indentation based folding strategy.")},"editor.showFoldingControls":{type:"string",enum:["always","mouseover"],default:f.contribInfo.showFoldingControls,description:r.a("showFoldingControls","Controls whether the fold controls on the gutter are automatically hidden.")},"editor.matchBrackets":{type:"boolean",default:f.contribInfo.matchBrackets,description:r.a("matchBrackets","Highlight matching brackets when one of them is selected.")},"editor.glyphMargin":{type:"boolean",default:f.viewInfo.glyphMargin,description:r.a("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")},"editor.useTabStops":{type:"boolean",default:f.useTabStops,description:r.a("useTabStops","Inserting and deleting whitespace follows tab stops.")},"editor.trimAutoWhitespace":{type:"boolean",default:m.trimAutoWhitespace,description:r.a("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:r.a("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.dragAndDrop":{type:"boolean",default:f.dragAndDrop,description:r.a("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")},"editor.accessibilitySupport":{type:"string",enum:["auto","on","off"],enumDescriptions:[r.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),r.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),r.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:f.accessibilitySupport,description:r.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")},"editor.showUnused":{type:"boolean",default:f.showUnused,description:r.a("showUnused","Controls fading out of unused code.")},"editor.links":{type:"boolean",default:f.contribInfo.links,description:r.a("links","Controls whether the editor should detect links and make them clickable.")},"editor.colorDecorators":{type:"boolean",default:f.contribInfo.colorDecorators,description:r.a("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")},"editor.lightbulb.enabled":{type:"boolean",default:f.contribInfo.lightbulbEnabled,description:r.a("codeActions","Enables the code action lightbulb in the editor.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:r.a("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"editor.codeActionsOnSave":{type:"object",properties:{"source.organizeImports":{type:"boolean",description:r.a("codeActionsOnSave.organizeImports","Controls whether organize imports action should be run on file save.")},"source.fixAll":{type:"boolean",description:r.a("codeActionsOnSave.fixAll","Controls whether auto fix action should be run on file save.")}},additionalProperties:{type:"boolean"},default:f.contribInfo.codeActionsOnSave,description:r.a("codeActionsOnSave","Code action kinds to be run on save.")},"editor.codeActionsOnSaveTimeout":{type:"number",default:f.contribInfo.codeActionsOnSaveTimeout,description:r.a("codeActionsOnSaveTimeout","Timeout in milliseconds after which the code actions that are run on save are cancelled.")},"editor.selectionClipboard":{type:"boolean",default:f.contribInfo.selectionClipboard,description:r.a("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:a.c},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:r.a("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:r.a("ignoreTrimWhitespace","Controls whether the diff editor shows changes in leading or trailing whitespace as diffs.")},"editor.largeFileOptimizations":{type:"boolean",default:m.largeFileOptimizations,description:r.a("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:r.a("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")}}},x=null;function C(){return null===x&&(x=Object.create(null),Object.keys(w.properties).forEach((function(e){x[e]=!0}))),x}function S(e){return C()["editor."+e]||!1}function k(e){return C()["diffEditor."+e]||!1}_.registerConfiguration(w)},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p}));var r=n(14),o=n(34),i=n(100),s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=r.d?1.5:1.35;function u(e,t){if("number"===typeof e)return e;if("undefined"===typeof e)return t;var n=parseFloat(e);return isNaN(n)?t:n}function c(e,t,n){return en?n:e}function l(e,t){return"string"!==typeof e?t:e}var d=function(){function e(e){this.zoomLevel=e.zoomLevel,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}return e.createFromRawSettings=function(t,n,r){void 0===r&&(r=!1);var s=l(t.fontFamily,o.b.fontFamily),d=l(t.fontWeight,o.b.fontWeight),p=u(t.fontSize,o.b.fontSize);0===(p=c(p,0,100))?p=o.b.fontSize:p<8&&(p=8);var h=function(e,t){if("number"===typeof e)return Math.round(e);if("undefined"===typeof e)return t;var n=parseInt(e);return isNaN(n)?t:n}(t.lineHeight,0);0===(h=c(h,0,150))?h=Math.round(a*p):h<8&&(h=8);var f=u(t.letterSpacing,0);f=c(f,-5,20);var g=1+(r?0:.1*i.a.getZoomLevel());return new e({zoomLevel:n,fontFamily:s,fontWeight:d,fontSize:p*=g,lineHeight:h*=g,letterSpacing:f})},e.prototype.getId=function(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.lineHeight+"-"+this.letterSpacing},e.prototype.getMassagedFontFamily=function(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?'"'+this.fontFamily+'"':this.fontFamily},e}(),p=function(e){function t(t,n){var r=e.call(this,t)||this;return r.isTrusted=n,r.isMonospace=t.isMonospace,r.typicalHalfwidthCharacterWidth=t.typicalHalfwidthCharacterWidth,r.typicalFullwidthCharacterWidth=t.typicalFullwidthCharacterWidth,r.canUseHalfwidthRightwardsArrow=t.canUseHalfwidthRightwardsArrow,r.spaceWidth=t.spaceWidth,r.maxDigitWidth=t.maxDigitWidth,r}return s(t,e),t.prototype.equals=function(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.maxDigitWidth===e.maxDigitWidth},t}(d)},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));n(342);var r=n(0),o=n(15),i=n(4),s=n(53),a=n(2),u=n(3),c=n(11),l=n(18),d=n(8),p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){return function(n,r){t(n,r,e)}},g=function(e){function t(n,r){var o=e.call(this)||this;return o._messageListeners=[],o._editor=n,o._visible=t.MESSAGE_VISIBLE.bindTo(r),o._register(o._editor.onDidAttemptReadOnlyEdit((function(){return o._onDidAttemptReadOnlyEdit()}))),o}return p(t,e),t.get=function(e){return e.getContribution(t._id)},t.prototype.getId=function(){return t._id},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._visible.reset()},t.prototype.showMessage=function(e,t){var n,r=this;Object(s.a)(e),this._visible.set(!0),Object(i.d)(this._messageWidget),this._messageListeners=Object(i.d)(this._messageListeners),this._messageWidget=new y(this._editor,t,e),this._messageListeners.push(this._editor.onDidBlurEditorText((function(){return r.closeMessage()}))),this._messageListeners.push(this._editor.onDidChangeCursorPosition((function(){return r.closeMessage()}))),this._messageListeners.push(this._editor.onDidDispose((function(){return r.closeMessage()}))),this._messageListeners.push(this._editor.onDidChangeModel((function(){return r.closeMessage()}))),this._messageListeners.push(new o.e((function(){return r.closeMessage()}),3e3)),this._messageListeners.push(this._editor.onMouseMove((function(e){e.target.position&&(n?n.containsPosition(e.target.position)||r.closeMessage():n=new a.a(t.lineNumber-3,1,e.target.position.lineNumber+3,1))})))},t.prototype.closeMessage=function(){this._visible.reset(),this._messageListeners=Object(i.d)(this._messageListeners),this._messageListeners.push(y.fadeOut(this._messageWidget))},t.prototype._onDidAttemptReadOnlyEdit=function(){this._editor.hasModel()&&this.showMessage(r.a("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())},t._id="editor.contrib.messageController",t.MESSAGE_VISIBLE=new c.f("messageVisible",!1),t=h([f(1,c.e)],t)}(i.a),m=u.c.bindToContribution(g.get);Object(u.g)(new m({id:"leaveEditorMessage",precondition:g.MESSAGE_VISIBLE,handler:function(e){return e.closeMessage()},kbOpts:{weight:130,primary:9}}));var y=function(){function e(e,t,n){var r=t.lineNumber,o=t.column;this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(r,r,0),this._position={lineNumber:r,column:o-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");var i=document.createElement("div");i.classList.add("message"),i.textContent=n,this._domNode.appendChild(i);var s=document.createElement("div");s.classList.add("anchor"),this._domNode.appendChild(s),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}return e.fadeOut=function(e){var t,n=function(){e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",n)};return t=setTimeout(n,110),e.getDomNode().addEventListener("animationend",n),e.getDomNode().classList.add("fadeOut"),{dispose:n}},e.prototype.dispose=function(){this._editor.removeContentWidget(this)},e.prototype.getId=function(){return"messageoverlay"},e.prototype.getDomNode=function(){return this._domNode},e.prototype.getPosition=function(){return{position:this._position,preference:[1]}},e}();Object(u.h)(g),Object(l.e)((function(e,t){var n=e.getColor(d.T);if(n){var r=e.type===l.b?2:1;t.addRule(".monaco-editor .monaco-editor-overlaymessage .anchor { border-top-color: "+n+"; }"),t.addRule(".monaco-editor .monaco-editor-overlaymessage .message { border: "+r+"px solid "+n+"; }")}var o=e.getColor(d.S);o&&t.addRule(".monaco-editor .monaco-editor-overlaymessage .message { background-color: "+o+"; }");var i=e.getColor(d.U);i&&t.addRule(".monaco-editor .monaco-editor-overlaymessage .message { color: "+i+"; }")}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return ie})),n.d(t,"c",(function(){return se})),n.d(t,"b",(function(){return ae})),n.d(t,"d",(function(){return ce})),n.d(t,"e",(function(){return le}));var r,o,i=n(1),s=n(13),a=n(5),u=n(4),c=n(45),l=n(54),d=(n(375),n(153)),p=n(2),h=n(24),f=n(99),g=n(78),m=n(156),y=(n(377),n(7)),v=n(29),b={badgeBackground:s.a.fromHex("#4D4D4D"),badgeForeground:s.a.fromHex("#FFFFFF")},_=function(){function e(e,t){this.options=t||Object.create(null),Object(v.g)(this.options,b,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=Object(i.m)(e,Object(i.a)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}return e.prototype.setCount=function(e){this.count=e,this.render()},e.prototype.setTitleFormat=function(e){this.titleFormat=e,this.render()},e.prototype.render=function(){this.element.textContent=Object(y.p)(this.countFormat,this.count),this.element.title=Object(y.p)(this.titleFormat,this.count),this.applyStyles()},e.prototype.style=function(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()},e.prototype.applyStyles=function(){if(this.element){var e=this.badgeBackground?this.badgeBackground.toString():null,t=this.badgeForeground?this.badgeForeground.toString():null,n=this.badgeBorder?this.badgeBorder.toString():null;this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=n?"1px":null,this.element.style.borderStyle=n?"solid":null,this.element.style.borderColor=n}},e}(),w=n(157),x=n(18),C=n(105),S=n(0),k=n(171),E=n(19),T=n(49),O=n(62),D=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},L=function(e,t){return function(n,r){t(n,r,e)}},P=function(){function e(e){this._resolverService=e}return e.prototype.hasChildren=function(e){return e instanceof g.c||e instanceof g.a&&!e.failure},e.prototype.getChildren=function(e){if(e instanceof g.c)return e.groups;if(e instanceof g.a)return e.resolve(this._resolverService).then((function(e){return e.children}));throw new Error("bad tree")},e=A([L(0,f.a)],e)}(),I=function(){function e(){}return e.prototype.getHeight=function(){return 23},e.prototype.getTemplateId=function(e){return e instanceof g.a?R.id:B.id},e}(),N=function(){function e(e){this._keybindingService=e}return e.prototype.getKeyboardNavigationLabel=function(e){return Object(l.b)(e.uri)},e.prototype.mightProducePrintableCharacter=function(e){return this._keybindingService.mightProducePrintableCharacter(e)},e=A([L(0,T.a)],e)}(),j=function(){function e(){}return e.prototype.getId=function(e){return e.id},e}(),M=function(e){function t(t,n,r){var o=e.call(this)||this;o._uriLabel=n;var s=document.createElement("div");return i.f(s,"reference-file"),o.file=o._register(new m.a(s,{supportHighlights:!0})),o.badge=new _(i.m(s,i.a(".count"))),o._register(Object(C.a)(o.badge,r)),t.appendChild(s),o}return D(t,e),t.prototype.set=function(e,t){var n=Object(l.d)(e.uri);this.file.setLabel(Object(k.a)(e.uri),this._uriLabel.getUriLabel(n,{relative:!0}),{title:this._uriLabel.getUriLabel(e.uri),matches:t});var r=e.children.length;this.badge.setCount(r),e.failure?this.badge.setTitleFormat(Object(S.a)("referencesFailre","Failed to resolve file.")):r>1?this.badge.setTitleFormat(Object(S.a)("referencesCount","{0} references",r)):this.badge.setTitleFormat(Object(S.a)("referenceCount","{0} reference",r))},t=A([L(1,w.a),L(2,x.c)],t)}(u.a),R=function(){function e(t){this._instantiationService=t,this.templateId=e.id}return e.prototype.renderTemplate=function(e){return this._instantiationService.createInstance(M,e)},e.prototype.renderElement=function(e,t,n){n.set(e.element,Object(O.c)(e.filterData))},e.prototype.disposeTemplate=function(e){e.dispose()},e.id="FileReferencesRenderer",e=A([L(0,E.a)],e)}(),F=function(){function e(e){var t=document.createElement("div");this.before=document.createElement("span"),this.inside=document.createElement("span"),this.after=document.createElement("span"),i.f(this.inside,"referenceMatch"),i.f(t,"reference"),t.appendChild(this.before),t.appendChild(this.inside),t.appendChild(this.after),e.appendChild(t)}return e.prototype.set=function(e){var t=e.parent.preview,n=t&&t.preview(e.range);if(n){var r=n.before,o=n.inside,i=n.after;this.before.innerHTML=Object(y.m)(r),this.inside.innerHTML=Object(y.m)(o),this.after.innerHTML=Object(y.m)(i)}},e}(),B=function(){function e(){this.templateId=e.id}return e.prototype.renderTemplate=function(e){return new F(e)},e.prototype.renderElement=function(e,t,n){n.set(e.element)},e.prototype.disposeTemplate=function(){},e.id="OneReferenceRenderer",e}(),W=function(){function e(){}return e.prototype.getAriaLabel=function(e){return e instanceof g.a||e instanceof g.b?e.getAriaMessage():null},e}(),V=n(11),H=n(142),U=n(8),z=n(91),K=(n(380),n(20)),q=n(97),G=n(17),Y=n(127),$=n(33),X=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),J={separatorBorder:s.a.transparent};!function(e){e[e.Idle=0]="Idle",e[e.Busy=1]="Busy"}(r||(r={})),function(e){e.Distribute={type:"distribute"},e.Split=function(e){return{type:"split",index:e}}}(o||(o={}));var Z=function(e){function t(t,n){void 0===n&&(n={});var o=e.call(this)||this;return o.size=0,o.contentSize=0,o.proportions=void 0,o.viewItems=[],o.sashItems=[],o.state=r.Idle,o._onDidSashChange=o._register(new a.a),o.onDidSashChange=o._onDidSashChange.event,o._onDidSashReset=o._register(new a.a),o.orientation=K.i(n.orientation)?0:n.orientation,o.inverseAltBehavior=!!n.inverseAltBehavior,o.proportionalLayout=!!K.i(n.proportionalLayout)||!!n.proportionalLayout,o.el=document.createElement("div"),i.f(o.el,"monaco-split-view2"),i.f(o.el,0===o.orientation?"vertical":"horizontal"),t.appendChild(o.el),o.sashContainer=i.m(o.el,i.a(".sash-container")),o.viewContainer=i.m(o.el,i.a(".split-view-container")),o.style(n.styles||J),o}return X(t,e),Object.defineProperty(t.prototype,"orthogonalStartSash",{get:function(){return this._orthogonalStartSash},set:function(e){for(var t=0,n=this.sashItems;t1){var m=0===this.orientation?1:0,y=0===this.orientation?{getHorizontalSashTop:function(e){return o.getSashPosition(e)}}:{getVerticalSashLeft:function(e){return o.getSashPosition(e)}},v=new Y.a(this.sashContainer,y,{orientation:m,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}),b=0===this.orientation?function(e){return{sash:v,start:e.startY,current:e.currentY,alt:e.altKey}}:function(e){return{sash:v,start:e.startX,current:e.currentX,alt:e.altKey}},_=a.b.map(v.onDidStart,b)(this.onSashStart,this),w=a.b.map(v.onDidChange,b)(this.onSashChange,this),x=a.b.map(v.onDidEnd,(function(){return Object(G.j)(o.sashItems,(function(e){return e.sash===v}))}))(this.onSashEnd,this),C=v.onDidReset((function(){return o._onDidSashReset.fire(Object(G.j)(o.sashItems,(function(e){return e.sash===v})))})),S=Object(u.c)([_,w,x,C,v]),k={sash:v,disposable:S};this.sashItems.splice(n-1,0,k)}s.appendChild(e.element),"number"!==typeof t&&"split"===t.type&&(f=t.index),this.relayout(n,f),this.state=r.Idle,"number"!==typeof t&&"distribute"===t.type&&this.distributeViewSizes()},t.prototype.relayout=function(e,t){var n=this.viewItems.reduce((function(e,t){return e+t.size}),0),r="number"===typeof e?[e]:void 0,o="number"===typeof t?[t]:void 0;this.resize(this.viewItems.length-1,this.size-n,void 0,r,o),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()},t.prototype.layout=function(e){var t=this,n=Math.max(this.size,this.contentSize);if(this.size=e,this.proportions)for(var r=0;r0&&(this.proportions=this.viewItems.map((function(t){return t.size/e.contentSize})))},t.prototype.onSashStart=function(e){var t=this,n=e.sash,r=e.start,o=e.alt,i=Object(G.j)(this.sashItems,(function(e){return e.sash===n})),s=Object(u.c)([Object($.a)(document.body,"keydown")((function(e){return a(t.sashDragState.current,e.altKey)})),Object($.a)(document.body,"keyup")((function(){return a(t.sashDragState.current,!1)}))]),a=function(e,n){var r,o=t.viewItems.map((function(e){return e.size})),a=Number.NEGATIVE_INFINITY,u=Number.POSITIVE_INFINITY;(t.inverseAltBehavior&&(n=!n),n)&&(i===t.sashItems.length-1?(a=((r=t.viewItems[i]).view.minimumSize-r.size)/2,u=(r.view.maximumSize-r.size)/2):(a=((r=t.viewItems[i+1]).size-r.view.maximumSize)/2,u=(r.size-r.view.minimumSize)/2));t.sashDragState={start:e,current:e,index:i,sizes:o,minDelta:a,maxDelta:u,alt:n,disposable:s}};a(r,o)},t.prototype.onSashChange=function(e){var t=e.current,n=this.sashDragState,r=n.index,o=n.start,i=n.sizes,s=n.alt,a=n.minDelta,u=n.maxDelta;this.sashDragState.current=t;var c=t-o,l=this.resize(r,c,i,void 0,void 0,a,u);if(s){var d=r===this.sashItems.length-1,p=this.viewItems.map((function(e){return e.size})),h=d?r:r+1,f=this.viewItems[h],g=f.size-f.view.maximumSize,m=f.size-f.view.minimumSize,y=d?r-1:r+1;this.resize(y,-l,p,void 0,void 0,g,m)}this.distributeEmptySpace(),this.layoutViews()},t.prototype.onSashEnd=function(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions()},t.prototype.onViewChange=function(e,t){var n=this.viewItems.indexOf(e);n<0||n>=this.viewItems.length||(t="number"===typeof t?t:e.size,t=Object(q.a)(t,e.view.minimumSize,e.view.maximumSize),this.inverseAltBehavior&&n>0?(this.resize(n-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout(n,void 0)))},t.prototype.resizeView=function(e,t){var n=this;if(this.state!==r.Idle)throw new Error("Cant modify splitview");if(this.state=r.Busy,!(e<0||e>=this.viewItems.length)){var o=this.viewItems[e];t=Math.round(t);var i=(t=Object(q.a)(t,o.view.minimumSize,o.view.maximumSize))-o.size;if(0!==i&&e0){var l=Object(G.r)(e-1,-1),d=l.reduce((function(e,t){return e+(n.viewItems[t].size-n.viewItems[t].view.minimumSize)}),0),p=l.reduce((function(e,t){return e+(n.viewItems[t].view.maximumSize-n.viewItems[t].size)}),0),h=Object(q.a)(-i,-d,p);this.resize(e-1,h)}this.distributeEmptySpace(),this.layoutViews(),this.saveProportions(),this.state=r.Idle}},t.prototype.distributeViewSizes=function(){for(var e=Math.floor(this.size/this.viewItems.length),t=0;t=this.viewItems.length?-1:this.viewItems[e].size},t.prototype.resize=function(e,t,n,r,o,i,s){var a=this;if(void 0===n&&(n=this.viewItems.map((function(e){return e.size}))),void 0===i&&(i=Number.NEGATIVE_INFINITY),void 0===s&&(s=Number.POSITIVE_INFINITY),e<0||e>=this.viewItems.length)return 0;var u=Object(G.r)(e,-1),c=Object(G.r)(e+1,this.viewItems.length);if(o)for(var l=0,d=o;l=0;n--){var r=this.viewItems[n],o=Object(q.a)(r.size+t,r.view.minimumSize,r.view.maximumSize);t-=o-r.size,r.size=o}},t.prototype.layoutViews=function(){this.contentSize=this.viewItems.reduce((function(e,t){return e+t.size}),0),this.viewItems.forEach((function(e){return e.layout()})),this.sashItems.forEach((function(e){return e.sash.layout()}));var e=!1,t=this.viewItems.map((function(t){return e=t.size-t.view.minimumSize>0||e}));e=!1;var n=this.viewItems.map((function(t){return e=t.view.maximumSize-t.size>0||e})),r=this.viewItems.slice().reverse();e=!1;var o=r.map((function(t){return e=t.size-t.view.minimumSize>0||e})).reverse();e=!1;var i=r.map((function(t){return e=t.view.maximumSize-t.size>0||e})).reverse();this.sashItems.forEach((function(e,r){var s=!(t[r]&&i[r+1]),a=!(n[r]&&o[r+1]);e.sash.state=s&&a?0:s&&!a?1:!s&&a?2:3}))},t.prototype.getSashPosition=function(e){for(var t=0,n=0;n=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},te=function(e,t){return function(n,r){t(n,r,e)}},ne=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(s,a)}u((r=r.apply(e,t||[])).next())}))},re=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0?e.children[0]:void 0},t.prototype._revealReference=function(e,t){return ne(this,void 0,void 0,(function(){var n,r,o,i,s;return re(this,(function(a){switch(a.label){case 0:return this._revealedReference===e?[2]:(this._revealedReference=e,e.uri.scheme!==c.a.inMemory?this.setTitle(Object(l.c)(e.uri),this._uriLabel.getUriLabel(Object(l.d)(e.uri))):this.setTitle(S.a("peekView.alternateTitle","References")),n=this._textModelResolverService.createModelReference(e.uri),this._tree.getInput()!==e.parent?[3,1]:(this._tree.reveal(e),[3,3]));case 1:return t&&this._tree.reveal(e.parent),[4,this._tree.expand(e.parent)];case 2:a.sent(),this._tree.reveal(e),a.label=3;case 3:return[4,n];case 4:return r=a.sent(),this._model?(Object(u.d)(this._previewModelReference),(o=r.object)?(i=this._preview.getModel()===o.textEditorModel?0:1,s=p.a.lift(e.range).collapseToStart(),this._previewModelReference=r,this._preview.setModel(o.textEditorModel),this._preview.setSelection(s),this._preview.revealRangeInCenter(s,i)):(this._preview.setModel(this._previewNotAvailableMessage),r.dispose()),[2]):(r.dispose(),[2])}}))}))},t=ee([te(3,x.c),te(4,f.a),te(5,E.a),te(6,z.a),te(7,w.a)],t)}(z.c),ue=Object(U.zb)("peekViewTitle.background",{dark:"#1E1E1E",light:"#FFFFFF",hc:"#0C141F"},S.a("peekViewTitleBackground","Background color of the peek view title area.")),ce=Object(U.zb)("peekViewTitleLabel.foreground",{dark:"#FFFFFF",light:"#333333",hc:"#FFFFFF"},S.a("peekViewTitleForeground","Color of the peek view title.")),le=Object(U.zb)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#6c6c6cb3",hc:"#FFFFFF99"},S.a("peekViewTitleInfoForeground","Color of the peek view title info.")),de=Object(U.zb)("peekView.border",{dark:"#007acc",light:"#007acc",hc:U.e},S.a("peekViewBorder","Color of the peek view borders and arrow.")),pe=Object(U.zb)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:s.a.black},S.a("peekViewResultsBackground","Background color of the peek view result list.")),he=Object(U.zb)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:s.a.white},S.a("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),fe=Object(U.zb)("peekViewResult.fileForeground",{dark:s.a.white,light:"#1E1E1E",hc:s.a.white},S.a("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),ge=Object(U.zb)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},S.a("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),me=Object(U.zb)("peekViewResult.selectionForeground",{dark:s.a.white,light:"#6C6C6C",hc:s.a.white},S.a("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),ye=Object(U.zb)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:s.a.black},S.a("peekViewEditorBackground","Background color of the peek view editor.")),ve=Object(U.zb)("peekViewEditorGutter.background",{dark:ye,light:ye,hc:ye},S.a("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),be=Object(U.zb)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},S.a("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),_e=Object(U.zb)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},S.a("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),we=Object(U.zb)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:U.b},S.a("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."));Object(x.e)((function(e,t){var n=e.getColor(be);n&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch { background-color: "+n+"; }");var r=e.getColor(_e);r&&t.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: "+r+"; }");var o=e.getColor(we);o&&t.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid "+o+"; box-sizing: border-box; }");var i=e.getColor(U.b);i&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch { border: 1px dotted "+i+"; box-sizing: border-box; }");var s=e.getColor(pe);s&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree { background-color: "+s+"; }");var a=e.getColor(he);a&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree { color: "+a+"; }");var u=e.getColor(fe);u&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .reference-file { color: "+u+"; }");var c=e.getColor(ge);c&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: "+c+"; }");var l=e.getColor(me);l&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: "+l+" !important; }");var d=e.getColor(ye);d&&t.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {\tbackground-color: "+d+";}");var p=e.getColor(ve);p&&t.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .margin {\tbackground-color: "+p+";}")}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return T}));var r=n(29),o=n(4),i=n(66),s=n(1),a=n(5),u=n(33),c=n(80),l=n(85);function d(e,t){for(var n=[],r=0,o=t;r=i.range.end)){if(e.end=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},C={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:function(e){return[e]},getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},horizontalScrolling:!1},S=function(){function e(e){this.elements=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.elements},e}(),k=function(){function e(e){this.elements=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.elements},e}(),E=function(){function e(){this.types=[],this.files=[]}return e.prototype.update=function(e){var t;if(e.types&&(t=this.types).splice.apply(t,[0,this.types.length].concat(e.types)),e.files){this.files.splice(0,this.files.length);for(var n=0;n=this.items.length?(this.rangeMap=new f,this.rangeMap.splice(0,0,y),this.items=y,d=[]):(this.rangeMap.splice(e,t,y),d=(r=this.items).splice.apply(r,[e,t].concat(y)));var v=n.length-t,b=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),_=p(g,v),w=l.a.intersect(b,_);for(c=w.start;c=-1&&en&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}},e.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},e.prototype.getItemIndexFromEventTarget=function(e){for(var t=e;t instanceof HTMLElement&&t!==this.rowsContainer;){var n=t.getAttribute("data-index");if(n){var r=Number(n);if(!isNaN(r))return r}t=t.parentElement}},e.prototype.getRenderRange=function(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}},e.prototype._rerender=function(e,t){var n,r,o=this.getRenderRange(e,t);e===this.elementTop(o.start)?(n=o.start,r=0):o.end-o.start>1&&(n=o.start+1,r=this.elementTop(n)-e);for(var i=0;;){for(var s=this.getRenderRange(e,t),a=!1,u=s.start;u
'};function n(e,t,n){return en?n:e}function r(e){return 100*(-1+e)}e.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(s){var a=e.isStarted();s=n(s,t.minimum,1),e.status=1===s?null:s;var u=e.render(!a),c=u.querySelector(t.barSelector),l=t.speed,d=t.easing;return u.offsetWidth,o((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),i(c,function(e,n,o){var i;return(i="translate3d"===t.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"}).transition="all "+n+"ms "+o,i}(s,l,d)),1===s?(i(u,{transition:"none",opacity:1}),u.offsetWidth,setTimeout((function(){i(u,{transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){e.remove(),n()}),l)}),l)):setTimeout(n,l)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var n=function(){setTimeout((function(){e.status&&(e.trickle(),n())}),t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var r=e.status;return r?("number"!==typeof t&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&e.start(),t++,n++,r.always((function(){0===--n?(t=0,e.done()):e.set((t-n)/t)})),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");a(document.documentElement,"nprogress-busy");var o=document.createElement("div");o.id="nprogress",o.innerHTML=t.template;var s,u=o.querySelector(t.barSelector),c=n?"-100":r(e.status||0),d=document.querySelector(t.parent);return i(u,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),t.showSpinner||(s=o.querySelector(t.spinnerSelector))&&l(s),d!=document.body&&a(d,"nprogress-custom-parent"),d.appendChild(o),o},e.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&l(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var o=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),i=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n){return n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()})),t[n]||(t[n]=function(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+i)in n)return r;return t}(n))}function r(e,t,r){t=n(t),e.style[t]=r}return function(e,t){var n,o,i=arguments;if(2==i.length)for(n in t)void 0!==(o=t[n])&&t.hasOwnProperty(n)&&r(e,n,o);else r(e,i[1],i[2])}}();function s(e,t){return("string"==typeof e?e:c(e)).indexOf(" "+t+" ")>=0}function a(e,t){var n=c(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function u(e,t){var n,r=c(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function c(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function l(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e})?r.call(t,n,t,e):r)||(e.exports=o)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){var r;self.MonacoEnvironment=(r={editorWorkerService:"editor.worker.js",css:"css.worker.js",html:"html.worker.js",json:"json.worker.js",typescript:"typescript.worker.js",javascript:"typescript.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"},{getWorkerUrl:function(e,t){var n="string"===typeof window.__webpack_public_path__?window.__webpack_public_path__:"/0.1/playground/";return(n?n.replace(/\/$/,"")+"/":"")+r[t]}}),n(188),n(189),n(268),n(190),n(191),n(266),n(163),n(267),n(192),n(74),n(193),n(269),n(140),n(261),n(194),n(264),n(148),n(195),n(149),n(196),n(262),n(270),n(197),n(198),n(263),n(271),n(199),n(265),n(200),n(272),n(201),n(202),n(273),n(274),n(116),n(260),n(203),n(147),n(204),n(205),n(129),n(206),e.exports=n(421),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(207),n(257),n(258),n(259)},function(e,t,n){"use strict";n.d(t,"a",(function(){return Kr}));n(355),n(356);var r=n(0),o=n(1),i=n(12),s=n(5),a=n(4),u=n(45),c=n(68),l=n(3),d=n(35),p=n(25),h=n(66),f=n(23),g=n(39),m=n(15),y=n(14),v=n(76),b=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.toClientCoordinates=function(){return new w(this.x-o.e.scrollX,this.y-o.e.scrollY)},e}(),w=function(){function e(e,t){this.clientX=e,this.clientY=t}return e.prototype.toPageCoordinates=function(){return new _(this.clientX+o.e.scrollX,this.clientY+o.e.scrollY)},e}(),x=function(e,t,n,r){this.x=e,this.y=t,this.width=n,this.height=r};function C(e){var t=o.v(e);return new x(t.left,t.top,t.width,t.height)}var S=function(e){function t(t,n){var r=e.call(this,t)||this;return r.pos=new _(r.posx,r.posy),r.editorPos=C(n),r}return b(t,e),t}(g.b),k=function(){function e(e){this._editorViewDomNode=e}return e.prototype._create=function(e){return new S(e,this._editorViewDomNode)},e.prototype.onContextMenu=function(e,t){var n=this;return o.h(e,"contextmenu",(function(e){t(n._create(e))}))},e.prototype.onMouseUp=function(e,t){var n=this;return o.h(e,"mouseup",(function(e){t(n._create(e))}))},e.prototype.onMouseDown=function(e,t){var n=this;return o.h(e,"mousedown",(function(e){t(n._create(e))}))},e.prototype.onMouseLeave=function(e,t){var n=this;return o.i(e,(function(e){t(n._create(e))}))},e.prototype.onMouseMoveThrottled=function(e,t,n,r){var i=this;return o.j(e,"mousemove",t,(function(e,t){return n(e,i._create(t))}),r)},e}(),E=function(e){function t(t){var n=e.call(this)||this;return n._editorViewDomNode=t,n._globalMouseMoveMonitor=n._register(new v.a),n._keydownListener=null,n}return b(t,e),t.prototype.startMonitoring=function(e,t,n){var r=this;this._keydownListener=o.k(document,"keydown",(function(e){e.toKeybinding().isModifierKey()||r._globalMouseMoveMonitor.stopMonitoring(!0)}),!0);this._globalMouseMoveMonitor.startMonitoring((function(t,n){return e(t,new S(n,r._editorViewDomNode))}),t,(function(){r._keydownListener.dispose(),n()}))},t}(a.a),T=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(e){function t(){var t=e.call(this)||this;return t._shouldRender=!0,t}return T(t,e),t.prototype.shouldRender=function(){return this._shouldRender},t.prototype.forceShouldRender=function(){this._shouldRender=!0},t.prototype.setShouldRender=function(){this._shouldRender=!0},t.prototype.onDidRender=function(){this._shouldRender=!1},t.prototype.onConfigurationChanged=function(e){return!1},t.prototype.onCursorStateChanged=function(e){return!1},t.prototype.onDecorationsChanged=function(e){return!1},t.prototype.onFlushed=function(e){return!1},t.prototype.onFocusChanged=function(e){return!1},t.prototype.onLanguageConfigurationChanged=function(e){return!1},t.prototype.onLineMappingChanged=function(e){return!1},t.prototype.onLinesChanged=function(e){return!1},t.prototype.onLinesDeleted=function(e){return!1},t.prototype.onLinesInserted=function(e){return!1},t.prototype.onRevealRangeRequest=function(e){return!1},t.prototype.onScrollChanged=function(e){return!1},t.prototype.onTokensChanged=function(e){return!1},t.prototype.onTokensColorsChanged=function(e){return!1},t.prototype.onZonesChanged=function(e){return!1},t.prototype.onThemeChanged=function(e){return!1},t.prototype.handleEvents=function(e){for(var t=!1,n=0,r=e.length;n=u?o=Math.max(o,u+c-r):(t[n++]=new j(r,o),r=u,o=c)}return t[n++]=new j(r,o),t},e._createHorizontalRangesFromClientRects=function(e,t){if(!e||0===e.length)return null;for(var n=[],r=0,o=e.length;ra)return null;(t=Math.min(a,Math.max(0,t)))!==(r=Math.min(a,Math.max(0,r)))&&r>0&&0===o&&(r--,o=Number.MAX_VALUE);var u=e.children[t].firstChild,c=e.children[r].firstChild;if(u&&c||(!u&&0===n&&t>0&&(u=e.children[t-1].firstChild,n=1073741824),!c&&0===o&&r>0&&(c=e.children[r-1].firstChild,o=1073741824)),!u||!c)return null;n=Math.min(u.textContent.length,Math.max(0,n)),o=Math.min(c.textContent.length,Math.max(0,o));var l=this._readClientRects(u,n,c,o,s);return this._createHorizontalRangesFromClientRects(l,i)},e}(),F=n(122),B=n(70),W=n(18),V=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),H=!!y.e||!(y.c||f.i||f.l),U=f.g,z=function(){function e(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}return Object.defineProperty(e.prototype,"clientRectDeltaLeft",{get:function(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft},enumerable:!0,configurable:!0}),e}(),K=function(){function e(e,t){this.themeType=t,this.renderWhitespace=e.editor.viewInfo.renderWhitespace,this.renderControlCharacters=e.editor.viewInfo.renderControlCharacters,this.spaceWidth=e.editor.fontInfo.spaceWidth,this.useMonospaceOptimizations=e.editor.fontInfo.isMonospace&&!e.editor.viewInfo.disableMonospaceOptimizations,this.canUseHalfwidthRightwardsArrow=e.editor.fontInfo.canUseHalfwidthRightwardsArrow,this.lineHeight=e.editor.lineHeight,this.stopRenderingLineAfter=e.editor.viewInfo.stopRenderingLineAfter,this.fontLigatures=e.editor.viewInfo.fontLigatures}return e.prototype.equals=function(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures},e}(),q=function(){function e(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}return e.prototype.getDomNode=function(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null},e.prototype.setDomNode=function(e){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=Object(p.b)(e)},e.prototype.onContentChanged=function(){this._isMaybeInvalid=!0},e.prototype.onTokensChanged=function(){this._isMaybeInvalid=!0},e.prototype.onDecorationsChanged=function(){this._isMaybeInvalid=!0},e.prototype.onOptionsChanged=function(e){this._isMaybeInvalid=!0,this._options=e},e.prototype.onSelectionChanged=function(){return!(!U&&this._options.themeType!==W.b)&&(this._isMaybeInvalid=!0,!0)},e.prototype.renderLine=function(t,n,r,o){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;var i=r.getViewLineRenderingData(t),s=this._options,a=F.a.filter(i.inlineDecorations,t,i.minColumn,i.maxColumn);if(U||s.themeType===W.b)for(var u=0,c=r.selections;ut)){var d=l.startLineNumber===t?l.startColumn:i.minColumn,p=l.endLineNumber===t?l.endColumn:i.maxColumn;d');var f=Object(B.c)(h,o);o.appendASCIIString("");var g=null;return H&&i.isBasicASCII&&s.useMonospaceOptimizations&&0===f.containsForeignElements&&i.content.length<300&&h.lineTokens.getCount()<100&&(g=new G(this._renderedViewLine?this._renderedViewLine.domNode:null,h,f.characterMapping)),g||(g=X(this._renderedViewLine?this._renderedViewLine.domNode:null,h,f.characterMapping,f.containsRTL,f.containsForeignElements)),this._renderedViewLine=g,!0},e.prototype.layoutLine=function(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))},e.prototype.getWidth=function(){return this._renderedViewLine?this._renderedViewLine.getWidth():0},e.prototype.getWidthIsFast=function(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this._renderedViewLine)return null;e|=0,t|=0,e=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,e)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));var r=0|this._renderedViewLine.input.stopRenderingLineAfter;return-1!==r&&e>r&&t>r?null:(-1!==r&&e>r&&(e=r),-1!==r&&t>r&&(t=r),this._renderedViewLine.getVisibleRangesForRange(e,t,n))},e.prototype.getColumnOfNodeOffset=function(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1},e.CLASS_NAME="view-line",e}(),G=function(){function e(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}return e.prototype.getWidth=function(){return this._getCharPosition(this._characterMapping.length)},e.prototype.getWidthIsFast=function(){return!0},e.prototype.getVisibleRangesForRange=function(e,t,n){var r=this._getCharPosition(e),o=this._getCharPosition(t);return[new j(r,o-r)]},e.prototype._getCharPosition=function(e){var t=this._characterMapping.getAbsoluteOffsets();return 0===t.length?0:Math.round(this._charWidth*t[e-1])},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var r=t.textContent.length,o=-1;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,r,n)+1},e}(),Y=function(){function e(e,t,n,r,o){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=o,this._cachedWidth=-1,this._pixelOffsetCache=null,!r||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(var i=0,s=this._characterMapping.length;i<=s;i++)this._pixelOffsetCache[i]=-1}}return e.prototype._getReadingTarget=function(){return this.domNode.domNode.firstChild},e.prototype.getWidth=function(){return-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget().offsetWidth),this._cachedWidth},e.prototype.getWidthIsFast=function(){return-1!==this._cachedWidth},e.prototype.getVisibleRangesForRange=function(e,t,n){if(null!==this._pixelOffsetCache){var r=this._readPixelOffset(e,n);if(-1===r)return null;var o=this._readPixelOffset(t,n);return-1===o?null:[new j(r,o-r)]}return this._readVisibleRangesForRange(e,t,n)},e.prototype._readVisibleRangesForRange=function(e,t,n){if(e===t){var r=this._readPixelOffset(e,n);return-1===r?null:[new j(r,0)]}return this._readRawVisibleRangesForRange(e,t,n)},e.prototype._readPixelOffset=function(e,t){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth()}if(null!==this._pixelOffsetCache){var n=this._pixelOffsetCache[e];if(-1!==n)return n;var r=this._actualReadPixelOffset(e,t);return this._pixelOffsetCache[e]=r,r}return this._actualReadPixelOffset(e,t)},e.prototype._actualReadPixelOffset=function(e,t){if(0===this._characterMapping.length){var n=R.readHorizontalRanges(this._getReadingTarget(),0,0,0,0,t.clientRectDeltaLeft,t.endNode);return n&&0!==n.length?n[0].left:-1}if(e===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();var r=this._characterMapping.charOffsetToPartData(e-1),o=B.a.getPartIndex(r),i=B.a.getCharIndex(r),s=R.readHorizontalRanges(this._getReadingTarget(),o,i,o,i,t.clientRectDeltaLeft,t.endNode);return s&&0!==s.length?s[0].left:-1},e.prototype._readRawVisibleRangesForRange=function(e,t,n){if(1===e&&t===this._characterMapping.length)return[new j(0,this.getWidth())];var r=this._characterMapping.charOffsetToPartData(e-1),o=B.a.getPartIndex(r),i=B.a.getCharIndex(r),s=this._characterMapping.charOffsetToPartData(t-1),a=B.a.getPartIndex(s),u=B.a.getCharIndex(s);return R.readHorizontalRanges(this._getReadingTarget(),o,i,a,u,n.clientRectDeltaLeft,n.endNode)},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var r=t.textContent.length,o=-1;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,r,n)+1},e}(),$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return V(t,e),t.prototype._readVisibleRangesForRange=function(t,n,r){var o=e.prototype._readVisibleRangesForRange.call(this,t,n,r);if(!o||0===o.length||t===n||1===t&&n===this._characterMapping.length)return o;if(!this.input.containsRTL){var i=this._readPixelOffset(n,r);if(-1!==i){var s=o[o.length-1];s.left=4&&3===e[0]&&7===e[3]},e.isStrictChildOfViewLines=function(e){return e.length>4&&3===e[0]&&7===e[3]},e.isChildOfScrollableElement=function(e){return e.length>=2&&3===e[0]&&5===e[1]},e.isChildOfMinimap=function(e){return e.length>=2&&3===e[0]&&8===e[1]},e.isChildOfContentWidgets=function(e){return e.length>=4&&3===e[0]&&1===e[3]},e.isChildOfOverflowingContentWidgets=function(e){return e.length>=1&&2===e[0]},e.isChildOfOverlayWidgets=function(e){return e.length>=2&&3===e[0]&&4===e[1]},e}(),oe=function(){function e(e,t,n){this.model=e.model,this.layoutInfo=e.configuration.editor.layoutInfo,this.viewDomNode=t.viewDomNode,this.lineHeight=e.configuration.editor.lineHeight,this.typicalHalfwidthCharacterWidth=e.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,this.lastViewCursorsRenderData=n,this._context=e,this._viewHelper=t}return e.prototype.getZoneAtCoord=function(t){return e.getZoneAtCoord(this._context,t)},e.getZoneAtCoord=function(e,t){var n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){var r=n.verticalOffset+n.height/2,o=e.model.getLineCount(),i=null,s=void 0,a=null;return n.afterLineNumber!==o&&(a=new Q.a(n.afterLineNumber+1,1)),n.afterLineNumber>0&&(i=new Q.a(n.afterLineNumber,e.model.getLineMaxColumn(n.afterLineNumber))),s=null===a?i:null===i?a:t=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,ue._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))})),se={isAfterLines:!0};function ae(e){return{isAfterLines:!1,horizontalDistanceToText:e}}var ue=function(){function e(e,t){this._context=e,this._viewHelper=t}return e.prototype.mouseTargetIsWidget=function(e){var t=e.target,n=L.collect(t,this._viewHelper.viewDomNode);return!(!re.isChildOfContentWidgets(n)&&!re.isChildOfOverflowingContentWidgets(n))||!!re.isChildOfOverlayWidgets(n)},e.prototype.createMouseTarget=function(t,n,r,o){var i=new oe(this._context,this._viewHelper,t),s=new ie(i,n,r,o);try{return e._createMouseTarget(i,s,!1)}catch(a){return s.fulfill(0)}},e._createMouseTarget=function(t,n,r){if(null===n.target){if(r)return n.fulfill(0);var o=e._doHitTest(t,n);return o.position?e.createMouseTargetFromHitTestPosition(t,n,o.position.lineNumber,o.position.column):this._createMouseTarget(t,n.withTarget(o.hitTarget),!0)}var i=n,s=null;return(s=(s=(s=(s=(s=(s=(s=(s=(s=(s=s||e._hitTestContentWidget(t,i))||e._hitTestOverlayWidget(t,i))||e._hitTestMinimap(t,i))||e._hitTestScrollbarSlider(t,i))||e._hitTestViewZone(t,i))||e._hitTestMargin(t,i))||e._hitTestViewCursor(t,i))||e._hitTestTextArea(t,i))||e._hitTestViewLines(t,i,r))||e._hitTestScrollbar(t,i))||n.fulfill(0)},e._hitTestContentWidget=function(e,t){if(re.isChildOfContentWidgets(t.targetPath)||re.isChildOfOverflowingContentWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(9,null,null,n):t.fulfill(0)}return null},e._hitTestOverlayWidget=function(e,t){if(re.isChildOfOverlayWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(12,null,null,n):t.fulfill(0)}return null},e._hitTestViewCursor=function(e,t){if(t.target)for(var n=0,r=i=e.lastViewCursorsRenderData;no.contentLeft+o.width)){var l=e.getVerticalOffsetForLineNumber(o.position.lineNumber);if(l<=a&&a<=l+o.height)return t.fulfill(6,o.position)}}return null},e._hitTestViewZone=function(e,t){var n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){var r=t.isInContentArea?8:5;return t.fulfill(r,n.position,null,n)}return null},e._hitTestTextArea=function(e,t){return re.isTextArea(t.targetPath)?t.fulfill(1):null},e._hitTestMargin=function(e,t){if(t.isInMarginArea){var n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),r=n.range.getStartPosition(),o=Math.abs(t.pos.x-t.editorPos.x),i={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:o};return(o-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,r,n.range,i):(o-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,r,n.range,i):(o-=e.layoutInfo.lineNumbersWidth,t.fulfill(4,r,n.range,i))}return null},e._hitTestViewLines=function(t,n,r){if(!re.isChildOfViewLines(n.targetPath))return null;if(t.isAfterLines(n.mouseVerticalOffset)){var o=t.model.getLineCount(),i=t.model.getLineMaxColumn(o);return n.fulfill(7,new Q.a(o,i),void 0,se)}if(r){if(re.isStrictChildOfViewLines(n.targetPath)){var s=t.getLineNumberAtVerticalOffset(n.mouseVerticalOffset);if(0===t.model.getLineLength(s)){var a=t.getLineWidth(s),u=ae(n.mouseContentHorizontalOffset-a);return n.fulfill(7,new Q.a(s,1),void 0,u)}}return n.fulfill(0)}var c=e._doHitTest(t,n);return c.position?e.createMouseTargetFromHitTestPosition(t,n,c.position.lineNumber,c.position.column):this._createMouseTarget(t,n.withTarget(c.hitTarget),!0)},e._hitTestMinimap=function(e,t){if(re.isChildOfMinimap(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),r=e.model.getLineMaxColumn(n);return t.fulfill(11,new Q.a(n,r))}return null},e._hitTestScrollbarSlider=function(e,t){if(re.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){var n=t.target.className;if(n&&/\b(slider|scrollbar)\b/.test(n)){var r=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),o=e.model.getLineMaxColumn(r);return t.fulfill(11,new Q.a(r,o))}}return null},e._hitTestScrollbar=function(e,t){if(re.isChildOfScrollableElement(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),r=e.model.getLineMaxColumn(n);return t.fulfill(11,new Q.a(n,r))}return null},e.prototype.getMouseColumn=function(t,n){var r=this._context.configuration.editor.layoutInfo,o=this._context.viewLayout.getCurrentScrollLeft()+n.x-t.x-r.contentLeft;return e._getMouseColumn(o,this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth)},e._getMouseColumn=function(e,t){return e<0?1:Math.round(e/t)+1},e.createMouseTargetFromHitTestPosition=function(e,t,n,r){var o=new Q.a(n,r),i=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>i){if(f.f&&1===o.column){var s=ae(t.mouseContentHorizontalOffset-i);return t.fulfill(7,new Q.a(n,e.model.getLineMaxColumn(n)),void 0,s)}var a=ae(t.mouseContentHorizontalOffset-i);return t.fulfill(7,o,void 0,a)}var u=e.visibleRangeForPosition2(n,r);if(!u)return t.fulfill(0,o);var c=u.left;if(t.mouseContentHorizontalOffset===c)return t.fulfill(6,o);var l=[];if(l.push({offset:u.left,column:r}),r>1){var d=e.visibleRangeForPosition2(n,r-1);d&&l.push({offset:d.left,column:r-1})}if(r=t.editorPos.y+e.layoutInfo.height&&(o=t.editorPos.y+e.layoutInfo.height-1);var i=new _(t.pos.x,o),s=this._actualDoHitTestWithCaretRangeFromPoint(e,i.toClientCoordinates());return s.position?s:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())},e._actualDoHitTestWithCaretRangeFromPoint=function(e,t){var n=document.caretRangeFromPoint(t.clientX,t.clientY);if(!n||!n.startContainer)return{position:null,hitTarget:null};var r=n.startContainer,o=null;if(r.nodeType===r.TEXT_NODE){var i=(a=(s=r.parentNode)?s.parentNode:null)?a.parentNode:null;if((i&&i.nodeType===i.ELEMENT_NODE?i.className:null)===q.CLASS_NAME)return{position:e.getPositionFromDOMInfo(s,n.startOffset),hitTarget:null};o=r.parentNode}else if(r.nodeType===r.ELEMENT_NODE){var s,a;if(((a=(s=r.parentNode)?s.parentNode:null)&&a.nodeType===a.ELEMENT_NODE?a.className:null)===q.CLASS_NAME)return{position:e.getPositionFromDOMInfo(r,r.textContent.length),hitTarget:null};o=r}return{position:null,hitTarget:o}},e._doHitTestWithCaretPositionFromPoint=function(e,t){var n=document.caretPositionFromPoint(t.clientX,t.clientY);if(n.offsetNode.nodeType===n.offsetNode.TEXT_NODE){var r=n.offsetNode.parentNode,o=r?r.parentNode:null,i=o?o.parentNode:null;return(i&&i.nodeType===i.ELEMENT_NODE?i.className:null)===q.CLASS_NAME?{position:e.getPositionFromDOMInfo(n.offsetNode.parentNode,n.offset),hitTarget:null}:{position:null,hitTarget:n.offsetNode.parentNode}}return{position:null,hitTarget:n.offsetNode}},e._doHitTestWithMoveToPoint=function(e,t){var n=null,r=null,o=document.body.createTextRange();try{o.moveToPoint(t.clientX,t.clientY)}catch(c){return{position:null,hitTarget:null}}o.collapse(!0);var i=o?o.parentElement():null,s=i?i.parentNode:null,a=s?s.parentNode:null;if((a&&a.nodeType===a.ELEMENT_NODE?a.className:"")===q.CLASS_NAME){var u=o.duplicate();u.moveToElementText(i),u.setEndPoint("EndToStart",o),n=e.getPositionFromDOMInfo(i,u.text.length),u.moveToElementText(e.viewDomNode)}else r=i;return o.moveToElementText(e.viewDomNode),{position:n,hitTarget:r}},e._doHitTest=function(e,t){return document.caretRangeFromPoint?this._doHitTestWithCaretRangeFromPoint(e,t):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(e,t.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(e,t.pos.toClientCoordinates()):{position:null,hitTarget:null}},e}(),ce=n(100),le=n(21),de=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function pe(e){return function(t,n){var r=!1;return e&&(r=e.mouseTargetIsWidget(n)),r||n.preventDefault(),n}}var he=function(e){function t(n,r,i){var s=e.call(this)||this;s._isFocused=!1,s._context=n,s.viewController=r,s.viewHelper=i,s.mouseTargetFactory=new ue(s._context,i),s._mouseDownOperation=s._register(new fe(s._context,s.viewController,s.viewHelper,(function(e,t){return s._createMouseTarget(e,t)}),(function(e){return s._getMouseColumn(e)}))),s._asyncFocus=s._register(new m.d((function(){return s.viewHelper.focusTextArea()}),0)),s.lastMouseLeaveTime=-1;var a=new k(s.viewHelper.viewDomNode);s._register(a.onContextMenu(s.viewHelper.viewDomNode,(function(e){return s._onContextMenu(e,!0)}))),s._register(a.onMouseMoveThrottled(s.viewHelper.viewDomNode,(function(e){return s._onMouseMove(e)}),pe(s.mouseTargetFactory),t.MOUSE_MOVE_MINIMUM_TIME)),s._register(a.onMouseUp(s.viewHelper.viewDomNode,(function(e){return s._onMouseUp(e)}))),s._register(a.onMouseLeave(s.viewHelper.viewDomNode,(function(e){return s._onMouseLeave(e)}))),s._register(a.onMouseDown(s.viewHelper.viewDomNode,(function(e){return s._onMouseDown(e)})));return s._register(o.h(s.viewHelper.viewDomNode,"mousewheel",(function(e){if(s.viewController.emitMouseWheel(e),s._context.configuration.editor.viewInfo.mouseWheelZoom){var t=new g.c(e);if(t.browserEvent.ctrlKey||t.browserEvent.metaKey){var n=ce.a.getZoomLevel(),r=t.deltaY>0?1:-1;ce.a.setZoomLevel(n+r),t.preventDefault(),t.stopPropagation()}}}),!0)),s._context.addEventHandler(s),s}return de(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onCursorStateChanged=function(e){return this._mouseDownOperation.onCursorStateChanged(e),!1},t.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!1},t.prototype.onScrollChanged=function(e){return this._mouseDownOperation.onScrollChanged(),!1},t.prototype.getTargetAtClientPoint=function(e,t){var n=new w(e,t).toPageCoordinates(),r=C(this.viewHelper.viewDomNode);if(n.yr.y+r.height||n.xr.x+r.width)return null;var o=this.viewHelper.getLastViewCursorsRenderData();return this.mouseTargetFactory.createMouseTarget(o,r,n,null)},t.prototype._createMouseTarget=function(e,t){var n=this.viewHelper.getLastViewCursorsRenderData();return this.mouseTargetFactory.createMouseTarget(n,e.editorPos,e.pos,t?e.target:null)},t.prototype._getMouseColumn=function(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)},t.prototype._onContextMenu=function(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})},t.prototype._onMouseMove=function(e){this._mouseDownOperation.isActive()||(e.timestampt.y+t.height){var a,u;i=r.getCurrentScrollTop()+(e.posy-t.y);if(a=oe.getZoneAtCoord(this._context,i))if(u=this._helpPositionJumpOverViewZone(a))return new ne(null,13,o,u);var c=r.getLineNumberAtVerticalOffset(i);return new ne(null,13,o,new Q.a(c,n.getLineMaxColumn(c)))}var l=r.getLineNumberAtVerticalOffset(r.getCurrentScrollTop()+(e.posy-t.y));return e.posxt.x+t.width?new ne(null,13,o,new Q.a(l,n.getLineMaxColumn(l))):null},t.prototype._findMousePosition=function(e,t){var n=this._getPositionOutsideEditor(e);if(n)return n;var r=this._createMouseTarget(e,t);if(!r.position)return null;if(8===r.type||5===r.type){var o=this._helpPositionJumpOverViewZone(r.detail);if(o)return new ne(r.element,r.type,r.mouseColumn,o,null,r.detail)}return r},t.prototype._helpPositionJumpOverViewZone=function(e){var t=new Q.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,r=e.positionAfter;return n&&r?n.isBefore(t)?n:r:null},t.prototype._dispatchMouse=function(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})},t}(a.a),ge=function(){function e(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}return Object.defineProperty(e.prototype,"altKey",{get:function(){return this._altKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ctrlKey",{get:function(){return this._ctrlKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"metaKey",{get:function(){return this._metaKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftKey",{get:function(){return this._shiftKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftButton",{get:function(){return this._leftButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleButton",{get:function(){return this._middleButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startedOnLineNumbers",{get:function(){return this._startedOnLineNumbers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this._lastMouseDownCount},enumerable:!0,configurable:!0}),e.prototype.setModifiers=function(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey},e.prototype.setStartButtons=function(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton},e.prototype.setStartedOnLineNumbers=function(e){this._startedOnLineNumbers=e},e.prototype.trySetCount=function(t,n){var r=(new Date).getTime();r-this._lastSetMouseDownCountTime>e.CLEAR_MOUSE_DOWN_COUNT_TIME&&(t=1),this._lastSetMouseDownCountTime=r,t>this._lastMouseDownCount+1&&(t=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(n)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=n,this._lastMouseDownCount=Math.min(t,this._lastMouseDownPositionEqualCount)},e.CLEAR_MOUSE_DOWN_COUNT_TIME=400,e}(),me=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function ye(e,t){var n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n}var ve=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.viewHelper.linesContentDomNode.style.msTouchAction="none",i.viewHelper.linesContentDomNode.style.msContentZooming="none",i._installGestureHandlerTimeout=window.setTimeout((function(){if(i._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=i.viewHelper.linesContentDomNode,t.target=i.viewHelper.linesContentDomNode,i.viewHelper.linesContentDomNode.addEventListener("MSPointerDown",(function(n){var r=n.pointerType;r!==(n.MSPOINTER_TYPE_MOUSE||"mouse")?r===(n.MSPOINTER_TYPE_TOUCH||"touch")?(i._lastPointerType="touch",e.addPointer(n.pointerId)):(i._lastPointerType="pen",t.addPointer(n.pointerId)):i._lastPointerType="mouse"})),i._register(o.j(i.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return i._onGestureChange(e)}),ye)),i._register(o.h(i.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return i._onCaptureGestureTap(e)}),!0))}}),100),i._lastPointerType="mouse",i}return me(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new S(e,this.viewHelper.viewDomNode),r=this._createMouseTarget(n,!1);r.position&&this.viewController.moveTo(r.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(he),be=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.viewHelper.linesContentDomNode.style.touchAction="none",i._installGestureHandlerTimeout=window.setTimeout((function(){if(i._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=i.viewHelper.linesContentDomNode,t.target=i.viewHelper.linesContentDomNode,i.viewHelper.linesContentDomNode.addEventListener("pointerdown",(function(n){var r=n.pointerType;"mouse"!==r?"touch"===r?(i._lastPointerType="touch",e.addPointer(n.pointerId)):(i._lastPointerType="pen",t.addPointer(n.pointerId)):i._lastPointerType="mouse"})),i._register(o.j(i.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return i._onGestureChange(e)}),ye)),i._register(o.h(i.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return i._onCaptureGestureTap(e)}),!0))}}),100),i._lastPointerType="mouse",i}return me(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new S(e,this.viewHelper.viewDomNode),r=this._createMouseTarget(n,!1);r.position&&this.viewController.moveTo(r.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(he),_e=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return h.b.addTarget(i.viewHelper.linesContentDomNode),i._register(o.h(i.viewHelper.linesContentDomNode,h.a.Tap,(function(e){return i.onTap(e)}))),i._register(o.h(i.viewHelper.linesContentDomNode,h.a.Change,(function(e){return i.onChange(e)}))),i._register(o.h(i.viewHelper.linesContentDomNode,h.a.Contextmenu,(function(e){return i._onContextMenu(new S(e,i.viewHelper.viewDomNode),!1)}))),i}return me(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onTap=function(e){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new S(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.moveTo(t.position)},t.prototype.onChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t}(he),we=function(){function e(e,t,n){window.navigator.msPointerEnabled?this.handler=new ve(e,t,n):window.TouchEvent?this.handler=new _e(e,t,n):window.navigator.pointerEnabled||window.PointerEvent?this.handler=new be(e,t,n):this.handler=new he(e,t,n)}return e.prototype.getTargetAtClientPoint=function(e,t){return this.handler.getTargetAtClientPoint(e,t)},e.prototype.dispose=function(){this.handler.dispose()},e}(),xe=(n(357),n(7)),Ce=n(162),Se=n(93),ke=(n(358),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),Ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ke(t,e),t}(O),Te=n(30),Oe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),De=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._readConfig(),n._lastCursorModelPosition=new Q.a(1,1),n._renderResult=null,n._context.addEventHandler(n),n}return Oe(t,e),t.prototype._readConfig=function(){var e=this._context.configuration.editor;this._lineHeight=e.lineHeight,this._renderLineNumbers=e.viewInfo.renderLineNumbers,this._renderCustomLineNumbers=e.viewInfo.renderCustomLineNumbers,this._renderFinalNewline=e.viewInfo.renderFinalNewline,this._lineNumbersLeft=e.layoutInfo.lineNumbersLeft,this._lineNumbersWidth=e.layoutInfo.lineNumbersWidth},t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return this._readConfig(),!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(t),2===this._renderLineNumbers||3===this._renderLineNumbers},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getLineRenderLineNumber=function(e){var t=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new Q.a(e,1));if(1!==t.column)return"";var n=t.lineNumber;if(!this._renderFinalNewline){var r=this._context.model.getLineCount(),o=this._context.model.getLineContent(n);if(n===r&&""===o)return""}if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(2===this._renderLineNumbers){var i=Math.abs(this._lastCursorModelPosition.lineNumber-n);return 0===i?''+n+"":String(i)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===n||n%10===0?String(n):"":String(n)},t.prototype.prepareRender=function(e){if(0!==this._renderLineNumbers){for(var n=y.c?this._lineHeight%2===0?" lh-even":" lh-odd":"",r=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,i='
',s=[],a=r;a<=o;a++){var u=a-r,c=this._getLineRenderLineNumber(a);s[u]=c?i+c+"
":""}this._renderResult=s}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t.CLASS_NAME="line-numbers",t}(Ee);Object(W.e)((function(e,t){var n=e.getColor(Te.q);n&&t.addRule(".monaco-editor .line-numbers { color: "+n+"; }");var r=e.getColor(Te.b);r&&t.addRule(".monaco-editor .current-line ~ .line-numbers { color: "+r+"; }")}));var Ae=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Le=function(e){function t(t){var n=e.call(this,t)||this;return n._canUseLayerHinting=n._context.configuration.editor.canUseLayerHinting,n._contentLeft=n._context.configuration.editor.layoutInfo.contentLeft,n._glyphMarginLeft=n._context.configuration.editor.layoutInfo.glyphMarginLeft,n._glyphMarginWidth=n._context.configuration.editor.layoutInfo.glyphMarginWidth,n._domNode=n._createDomNode(),n}return Ae(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype._createDomNode=function(){var e=Object(p.b)(document.createElement("div"));return e.setClassName(t.OUTER_CLASS_NAME),e.setPosition("absolute"),e.setAttribute("role","presentation"),e.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=Object(p.b)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(t.CLASS_NAME),e.appendChild(this._glyphMarginBackgroundDomNode),e},t.prototype.onConfigurationChanged=function(e){return e.canUseLayerHinting&&(this._canUseLayerHinting=this._context.configuration.editor.canUseLayerHinting),e.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft,this._glyphMarginLeft=this._context.configuration.editor.layoutInfo.glyphMarginLeft,this._glyphMarginWidth=this._context.configuration.editor.layoutInfo.glyphMarginWidth),!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollTopChanged},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setLayerHinting(this._canUseLayerHinting);var t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);var n=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(n),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(n)},t.CLASS_NAME="glyph-margin",t.OUTER_CLASS_NAME="margin",t}(A),Pe=n(104),Ie=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ne=function(e){this.type=1,this.canUseLayerHinting=e.canUseLayerHinting,this.pixelRatio=e.pixelRatio,this.editorClassName=e.editorClassName,this.lineHeight=e.lineHeight,this.readOnly=e.readOnly,this.accessibilitySupport=e.accessibilitySupport,this.emptySelectionClipboard=e.emptySelectionClipboard,this.copyWithSyntaxHighlighting=e.copyWithSyntaxHighlighting,this.layoutInfo=e.layoutInfo,this.fontInfo=e.fontInfo,this.viewInfo=e.viewInfo,this.wrappingInfo=e.wrappingInfo},je=function(e){this.type=2,this.selections=e},Me=function(){this.type=3},Re=function(){this.type=4},Fe=function(e){this.type=5,this.isFocused=e},Be=function(){this.type=6},We=function(e,t){this.type=7,this.fromLineNumber=e,this.toLineNumber=t},Ve=function(e,t){this.type=8,this.fromLineNumber=e,this.toLineNumber=t},He=function(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t},Ue=function(e,t,n,r){this.type=10,this.range=e,this.verticalType=t,this.revealHorizontal=n,this.scrollType=r},ze=function(e){this.type=11,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged},Ke=function(e){this.type=12,this.ranges=e},qe=function(){this.type=15},Ge=function(){this.type=13},Ye=function(){this.type=14},$e=function(){this.type=16},Xe=function(e){function t(){var t=e.call(this)||this;return t._listeners=[],t._collector=null,t._collectorCnt=0,t}return Ie(t,e),t.prototype.dispose=function(){this._listeners=[],e.prototype.dispose.call(this)},t.prototype._beginEmit=function(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new Je),this._collector},t.prototype._endEmit=function(){if(this._collectorCnt--,0===this._collectorCnt){var e=this._collector.finalize();this._collector=null,e.length>0&&this._emit(e)}},t.prototype._emit=function(e){for(var t=this._listeners.slice(0),n=0,r=t.length;n0)return new Se.b(r,r.length,r.length,n,n)}}return Se.b.EMPTY}return Se.a.fromEditorSelection(e,s,o._selections[0],0===o._accessibilitySupport)},deduceModelPosition:function(e,t,n){return o._context.model.deduceModelPositionRelativeToViewPosition(e,t,n)}};return o._textAreaInput=o._register(new Ce.b(a,o.textArea)),o._register(o._textAreaInput.onKeyDown((function(e){o._viewController.emitKeyDown(e)}))),o._register(o._textAreaInput.onKeyUp((function(e){o._viewController.emitKeyUp(e)}))),o._register(o._textAreaInput.onPaste((function(e){var t=nt.INSTANCE.get(e.text),n=!1,r=null;t&&(n=o._emptySelectionClipboard&&t.isFromEmptySelection,r=t.multicursorText),o._viewController.paste("keyboard",e.text,n,r)}))),o._register(o._textAreaInput.onCut((function(){o._viewController.cut("keyboard")}))),o._register(o._textAreaInput.onType((function(e){e.replaceCharCnt?o._viewController.replacePreviousChar("keyboard",e.text,e.replaceCharCnt):o._viewController.type("keyboard",e.text)}))),o._register(o._textAreaInput.onSelectionChangeRequest((function(e){o._viewController.setSelection("keyboard",e)}))),o._register(o._textAreaInput.onCompositionStart((function(){var e=o._selections[0].startLineNumber,t=o._selections[0].startColumn;o._context.privateViewEventBus.emit(new Ue(new ee.a(e,t,e,t),0,!0,1));var n=o._viewHelper.visibleRangeForPositionRelativeToEditor(e,t);n&&(o._visibleTextArea=new et(o._context.viewLayout.getVerticalOffsetForLineNumber(e),n.left,tt?0:1),o._render()),o.textArea.setClassName("inputarea ime-input"),o._viewController.compositionStart("keyboard")}))),o._register(o._textAreaInput.onCompositionUpdate((function(e){f.g?o._visibleTextArea=o._visibleTextArea.setWidth(0):o._visibleTextArea=o._visibleTextArea.setWidth(function(e,t){var n=document.createElement("canvas").getContext("2d");n.font=function(e){return t="normal",n=e.fontWeight,r=e.fontSize,o=e.lineHeight,i=e.fontFamily,t+" normal "+n+" "+r+"px / "+o+"px "+i;var t,n,r,o,i}(t);var r=n.measureText(e);return f.i?r.width+2:r.width}(e.data,o._fontInfo)),o._render()}))),o._register(o._textAreaInput.onCompositionEnd((function(){o._visibleTextArea=null,o._render(),o.textArea.setClassName("inputarea"),o._viewController.compositionEnd("keyboard")}))),o._register(o._textAreaInput.onFocus((function(){o._context.privateViewEventBus.emit(new Fe(!0))}))),o._register(o._textAreaInput.onBlur((function(){o._context.privateViewEventBus.emit(new Fe(!1))}))),o}return Qe(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._getWordBeforePosition=function(e){for(var t=this._context.model.getLineContent(e.lineNumber),n=Object(Pe.a)(this._context.configuration.editor.wordSeparators),r=e.column,o=0;r>1;){var i=t.charCodeAt(r-2);if(0!==n.get(i)||o>50)return t.substring(r-1,e.column-1);o++,r--}return t.substring(0,e.column-1)},t.prototype._getCharacterBeforePosition=function(e){if(e.column>1){var t=this._context.model.getLineContent(e.lineNumber).charAt(e.column-2);if(!xe.u(t.charCodeAt(0)))return t}return""},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.editor;return e.fontInfo&&(this._fontInfo=t.fontInfo),e.viewInfo&&this.textArea.setAttribute("aria-label",t.viewInfo.ariaLabel),e.layoutInfo&&(this._contentLeft=t.layoutInfo.contentLeft,this._contentWidth=t.layoutInfo.contentWidth,this._contentHeight=t.layoutInfo.contentHeight),e.lineHeight&&(this._lineHeight=t.lineHeight),e.accessibilitySupport&&(this._accessibilitySupport=t.accessibilitySupport,this._textAreaInput.writeScreenReaderContent("strategy changed")),e.emptySelectionClipboard&&(this._emptySelectionClipboard=t.emptySelectionClipboard),e.copyWithSyntaxHighlighting&&(this._copyWithSyntaxHighlighting=t.copyWithSyntaxHighlighting),!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0},t.prototype.onZonesChanged=function(e){return!0},t.prototype.isFocused=function(){return this._textAreaInput.isFocused()},t.prototype.focusTextArea=function(){this._textAreaInput.focusTextArea()},t.prototype.prepareRender=function(e){if(2===this._accessibilitySupport)this._primaryCursorVisibleRange=null;else{var t=new Q.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn);this._primaryCursorVisibleRange=e.visibleRangeForPosition(t)}},t.prototype.render=function(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()},t.prototype._render=function(){if(this._visibleTextArea)this._renderInsideEditor(this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight,!0);else if(this._primaryCursorVisibleRange){var e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(ethis._contentLeft+this._contentWidth)this._renderAtTopLeft();else{var t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;t<0||t>this._contentHeight?this._renderAtTopLeft():this._renderInsideEditor(t,e,tt?0:1,tt?0:1,!1)}}else this._renderAtTopLeft()},t.prototype._renderInsideEditor=function(e,t,n,r,o){var i=this.textArea,s=this.textAreaCover;o?c.a.applyFontInfo(i,this._fontInfo):(i.setFontSize(1),i.setLineHeight(this._fontInfo.lineHeight)),i.setTop(e),i.setLeft(t),i.setWidth(n),i.setHeight(r),s.setTop(0),s.setLeft(0),s.setWidth(0),s.setHeight(0)},t.prototype._renderAtTopLeft=function(){var e=this.textArea,t=this.textAreaCover;if(c.a.applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),tt)return e.setWidth(0),e.setHeight(0),t.setWidth(0),void t.setHeight(0);e.setWidth(1),e.setHeight(1),t.setWidth(1),t.setHeight(1),this._context.configuration.editor.viewInfo.glyphMargin?t.setClassName("monaco-editor-background textAreaCover "+Le.OUTER_CLASS_NAME):0!==this._context.configuration.editor.viewInfo.renderLineNumbers?t.setClassName("monaco-editor-background textAreaCover "+De.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")},t}(A);var ot=n(74),it=function(){function e(e,t,n,r){this.configuration=e,this.viewModel=t,this.outgoingEvents=n,this.commandDelegate=r}return e.prototype._execMouseCommand=function(e,t){t.source="mouse",this.commandDelegate.executeEditorCommand(e,t)},e.prototype.paste=function(e,t,n,r){this.commandDelegate.paste(e,t,n,r)},e.prototype.type=function(e,t){this.commandDelegate.type(e,t)},e.prototype.replacePreviousChar=function(e,t,n){this.commandDelegate.replacePreviousChar(e,t,n)},e.prototype.compositionStart=function(e){this.commandDelegate.compositionStart(e)},e.prototype.compositionEnd=function(e){this.commandDelegate.compositionEnd(e)},e.prototype.cut=function(e){this.commandDelegate.cut(e)},e.prototype.setSelection=function(e,t){this.commandDelegate.executeEditorCommand(ot.CoreNavigationCommands.SetSelection,{source:e,selection:t})},e.prototype._validateViewColumn=function(e){var t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):2===e.mouseDownCount?this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn):this._moveToSelect(e.position):this.moveTo(e.position)},e.prototype._usualArgs=function(e){return e=this._validateViewColumn(e),{position:this._convertViewToModelPosition(e),viewPosition:e}},e.prototype.moveTo=function(e){this._execMouseCommand(ot.CoreNavigationCommands.MoveTo,this._usualArgs(e))},e.prototype._moveToSelect=function(e){this._execMouseCommand(ot.CoreNavigationCommands.MoveToSelect,this._usualArgs(e))},e.prototype._columnSelect=function(e,t){e=this._validateViewColumn(e),this._execMouseCommand(ot.CoreNavigationCommands.ColumnSelect,{position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t})},e.prototype._createCursor=function(e,t){e=this._validateViewColumn(e),this._execMouseCommand(ot.CoreNavigationCommands.CreateCursor,{position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})},e.prototype._lastCursorMoveToSelect=function(e){this._execMouseCommand(ot.CoreNavigationCommands.LastCursorMoveToSelect,this._usualArgs(e))},e.prototype._wordSelect=function(e){this._execMouseCommand(ot.CoreNavigationCommands.WordSelect,this._usualArgs(e))},e.prototype._wordSelectDrag=function(e){this._execMouseCommand(ot.CoreNavigationCommands.WordSelectDrag,this._usualArgs(e))},e.prototype._lastCursorWordSelect=function(e){this._execMouseCommand(ot.CoreNavigationCommands.LastCursorWordSelect,this._usualArgs(e))},e.prototype._lineSelect=function(e){this._execMouseCommand(ot.CoreNavigationCommands.LineSelect,this._usualArgs(e))},e.prototype._lineSelectDrag=function(e){this._execMouseCommand(ot.CoreNavigationCommands.LineSelectDrag,this._usualArgs(e))},e.prototype._lastCursorLineSelect=function(e){this._execMouseCommand(ot.CoreNavigationCommands.LastCursorLineSelect,this._usualArgs(e))},e.prototype._lastCursorLineSelectDrag=function(e){this._execMouseCommand(ot.CoreNavigationCommands.LastCursorLineSelectDrag,this._usualArgs(e))},e.prototype._selectAll=function(){this._execMouseCommand(ot.CoreNavigationCommands.SelectAll,{})},e.prototype._convertViewToModelPosition=function(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)},e.prototype.emitKeyDown=function(e){this.outgoingEvents.emitKeyDown(e)},e.prototype.emitKeyUp=function(e){this.outgoingEvents.emitKeyUp(e)},e.prototype.emitContextMenu=function(e){this.outgoingEvents.emitContextMenu(e)},e.prototype.emitMouseMove=function(e){this.outgoingEvents.emitMouseMove(e)},e.prototype.emitMouseLeave=function(e){this.outgoingEvents.emitMouseLeave(e)},e.prototype.emitMouseUp=function(e){this.outgoingEvents.emitMouseUp(e)},e.prototype.emitMouseDown=function(e){this.outgoingEvents.emitMouseDown(e)},e.prototype.emitMouseDrag=function(e){this.outgoingEvents.emitMouseDrag(e)},e.prototype.emitMouseDrop=function(e){this.outgoingEvents.emitMouseDrop(e)},e.prototype.emitMouseWheel=function(e){this.outgoingEvents.emitMouseWheel(e)},e}(),st=n(154),at=function(){function e(e){this._createLine=e,this._set(1,[])}return e.prototype.flush=function(){this._set(1,[])},e.prototype._set=function(e,t){this._lines=t,this._rendLineNumberStart=e},e.prototype._get=function(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}},e.prototype.getStartLineNumber=function(){return this._rendLineNumberStart},e.prototype.getEndLineNumber=function(){return this._rendLineNumberStart+this._lines.length-1},e.prototype.getCount=function(){return this._lines.length},e.prototype.getLine=function(e){var t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]},e.prototype.onLinesDeleted=function(e,t){if(0===this.getCount())return null;var n=this.getStartLineNumber(),r=this.getEndLineNumber();if(tr)return null;for(var i=0,s=0,a=n;a<=r;a++){var u=a-this._rendLineNumberStart;e<=a&&a<=t&&(0===s?(i=u,s=1):s++)}if(e=n&&i<=r&&(this._lines[i-this._rendLineNumberStart].onContentChanged(),o=!0);return o},e.prototype.onLinesInserted=function(e,t){if(0===this.getCount())return null;var n=t-e+1,r=this.getStartLineNumber(),o=this.getEndLineNumber();if(e<=r)return this._rendLineNumberStart+=n,null;if(e>o)return null;if(n+e>o)return this._lines.splice(e-this._rendLineNumberStart,o-e+1);for(var i=[],s=0;sn))for(var a=Math.max(t,s.fromLineNumber),u=Math.min(n,s.toLineNumber),c=a;c<=u;c++){var l=c-this._rendLineNumberStart;this._lines[l].onTokensChanged(),r=!0}}return r},e}(),ut=function(){function e(e){var t=this;this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new at((function(){return t._host.createVisibleLine()}))}return e.prototype._createDomNode=function(){var e=Object(p.b)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e},e.prototype.onConfigurationChanged=function(e){return e.layoutInfo},e.prototype.onFlushed=function(e){return this._linesCollection.flush(),!0},e.prototype.onLinesChanged=function(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesDeleted=function(e){var t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,r=t.length;nt)(u=t)<=(s=Math.min(n,o.rendLineNumberStart-1))&&(this._insertLinesBefore(o,u,s,r,t),o.linesLength+=s-u+1);else if(o.rendLineNumberStart0&&(this._removeLinesBefore(o,a),o.linesLength-=a)}if(o.rendLineNumberStart=t,o.rendLineNumberStart+o.linesLength-1n){var s,a,u=Math.max(0,n-o.rendLineNumberStart+1);(a=(s=o.linesLength-1)-u+1)>0&&(this._removeLinesAfter(o,a),o.linesLength-=a)}return this._finishRendering(o,!1,r),o},e.prototype._renderUntouchedLines=function(e,t,n,r,o){for(var i=e.rendLineNumberStart,s=e.lines,a=t;a<=n;a++){var u=i+a;s[a].layoutLine(u,r[u-o])}},e.prototype._insertLinesBefore=function(e,t,n,r,o){for(var i=[],s=0,a=t;a<=n;a++)i[s++]=this.host.createVisibleLine();e.lines=i.concat(e.lines)},e.prototype._removeLinesBefore=function(e,t){for(var n=0;n=0;s--){var a=e.lines[s];r[s]&&(a.setDomNode(i),i=i.previousSibling)}},e.prototype._finishRenderingInvalidLines=function(e,t,n){var r=document.createElement("div");r.innerHTML=t;for(var o=0;o'),r.appendASCIIString(o),r.appendASCIIString(""),!0)},e.prototype.layoutLine=function(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))},e}(),ht=function(e){function t(t){var n=e.call(this,t)||this;return n._contentWidth=n._context.configuration.editor.layoutInfo.contentWidth,n.domNode.setHeight(0),n}return lt(t,e),t.prototype.onConfigurationChanged=function(t){return t.layoutInfo&&(this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth),e.prototype.onConfigurationChanged.call(this,t)},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollWidthChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t),this.domNode.setWidth(Math.max(t.scrollWidth,this._contentWidth))},t}(dt),ft=function(e){function t(t){var n=e.call(this,t)||this;return n._contentLeft=n._context.configuration.editor.layoutInfo.contentLeft,n.domNode.setClassName("margin-view-overlays"),n.domNode.setWidth(1),c.a.applyFontInfo(n.domNode,n._context.configuration.editor.fontInfo),n}return lt(t,e),t.prototype.onConfigurationChanged=function(t){var n=!1;return t.fontInfo&&(c.a.applyFontInfo(this.domNode,this._context.configuration.editor.fontInfo),n=!0),t.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft,n=!0),e.prototype.onConfigurationChanged.call(this,t)||n},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollHeightChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t);var n=Math.min(t.scrollHeight,1e6);this.domNode.setHeight(n),this.domNode.setWidth(this._contentLeft)},t}(dt),gt=n(20),mt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),yt=function(e,t){this.top=e,this.left=t},vt=function(e){function t(t,n){var r=e.call(this,t)||this;return r._viewDomNode=n,r._widgets={},r.domNode=Object(p.b)(document.createElement("div")),L.write(r.domNode,1),r.domNode.setClassName("contentWidgets"),r.domNode.setPosition("absolute"),r.domNode.setTop(0),r.overflowingContentWidgetsDomNode=Object(p.b)(document.createElement("div")),L.write(r.overflowingContentWidgetsDomNode,2),r.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),r}return mt(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.onConfigurationChanged=function(e){for(var t=0,n=Object.keys(this._widgets);t=r,l=a,d=o.viewportHeight-a>=r,p=e.left,h=t.left;return p+n>o.scrollLeft+o.viewportWidth&&(p=o.scrollLeft+o.viewportWidth-n),h+n>o.scrollLeft+o.viewportWidth&&(h=o.scrollLeft+o.viewportWidth-n),pthis._contentWidth)return null;var u,c=e.top-r,l=t.top+this._lineHeight,d=s+this._contentLeft,p=a+this._contentLeft,h=o.v(this._viewDomNode.domNode),f=h.top+c-o.e.scrollY,g=h.top+l-o.e.scrollY,m=h.left+d-o.e.scrollX,y=h.left+p-o.e.scrollX,v=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,b=f>=22,_=g+r<=(window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)-22;m+n+20>v&&(m-=u=m-(v-n-20),d-=u);y+n+20>v&&(y-=u=y-(v-n-20),p-=u);m<0&&(m-=u=m,d-=u);y<0&&(y-=u=y,p-=u);return this._fixedOverflowWidgets&&(c=f,l=g,d=m,p=y),{fitsAbove:b,aboveTop:c,aboveLeft:d,fitsBelow:_,belowTop:l,belowLeft:p}},e.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(e){return new yt(e.top,e.left+this._contentLeft)},e.prototype._getTopAndBottomLeft=function(e){if(!this._viewPosition)return[null,null];var t=e.visibleRangeForPosition(this._viewPosition);if(!t)return[null,null];var n=e.getVerticalOffsetForLineNumber(this._viewPosition.lineNumber)-e.scrollTop,r=new yt(n,t.left),o=this._viewPosition.lineNumber,i=t.left;if(this._viewRange){var s=e.linesVisibleRangesForRange(this._viewRange,!1);if(s&&s.length>0)for(var a=s.length-1;a>=0;a--){var u=s[a];if(u.lineNumber>=o){u.lineNumber>o&&(o=u.lineNumber,i=1073741824);for(var c=0,l=u.ranges.length;ce.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))},e.prototype.prepareRender=function(e){this._renderData=this._prepareRenderWidget(e)},e.prototype.render=function(e){this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)):this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"))},e}(),_t=(n(359),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),wt=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._lineHeight=n._context.configuration.editor.lineHeight,n._renderLineHighlight=n._context.configuration.editor.viewInfo.renderLineHighlight,n._selectionIsEmpty=!0,n._primaryCursorLineNumber=1,n._scrollWidth=0,n._contentWidth=n._context.configuration.editor.layoutInfo.contentWidth,n._context.addEventHandler(n),n}return _t(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._renderLineHighlight=this._context.configuration.editor.viewInfo.renderLineHighlight),e.layoutInfo&&(this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth),!0},t.prototype.onCursorStateChanged=function(e){var t=!1,n=e.selections[0].positionLineNumber;this._primaryCursorLineNumber!==n&&(this._primaryCursorLineNumber=n,t=!0);var r=e.selections[0].isEmpty();return this._selectionIsEmpty!==r?(this._selectionIsEmpty=r,!0):t},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollWidthChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){this._scrollWidth=e.scrollWidth},t.prototype.render=function(e,t){return t===this._primaryCursorLineNumber&&this._shouldShowCurrentLine()?'
':""},t.prototype._shouldShowCurrentLine=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t.prototype._willRenderMarginCurrentLine=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t}(Ee);Object(W.e)((function(e,t){var n=e.getColor(Te.o);if(n&&t.addRule(".monaco-editor .view-overlays .current-line { background-color: "+n+"; }"),!n||n.isTransparent()||e.defines(Te.p)){var r=e.getColor(Te.p);r&&(t.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid "+r+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"))}}));n(360);var xt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ct=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._lineHeight=n._context.configuration.editor.lineHeight,n._renderLineHighlight=n._context.configuration.editor.viewInfo.renderLineHighlight,n._selectionIsEmpty=!0,n._primaryCursorLineNumber=1,n._contentLeft=n._context.configuration.editor.layoutInfo.contentLeft,n._context.addEventHandler(n),n}return xt(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._renderLineHighlight=this._context.configuration.editor.viewInfo.renderLineHighlight),e.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft),!0},t.prototype.onCursorStateChanged=function(e){var t=!1,n=e.selections[0].positionLineNumber;this._primaryCursorLineNumber!==n&&(this._primaryCursorLineNumber=n,t=!0);var r=e.selections[0].isEmpty();return this._selectionIsEmpty!==r?(this._selectionIsEmpty=r,!0):t},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e,t){if(t===this._primaryCursorLineNumber){var n="current-line";if(this._shouldShowCurrentLine())n="current-line current-line-margin"+(this._willRenderContentCurrentLine()?" current-line-margin-both":"");return'
'}return""},t.prototype._shouldShowCurrentLine=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t.prototype._willRenderContentCurrentLine=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t}(Ee);Object(W.e)((function(e,t){var n=e.getColor(Te.o);if(n)t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: "+n+"; border: none; }");else{var r=e.getColor(Te.p);r&&t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid "+r+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")}}));n(361);var St=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),kt=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._lineHeight=n._context.configuration.editor.lineHeight,n._typicalHalfwidthCharacterWidth=n._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return St(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){for(var t=e.getDecorationsInViewport(),n=[],r=0,o=0,i=t.length;ot.options.zIndex)return 1;var n=e.options.className,r=t.options.className;return nr?1:ee.a.compareRangesUsingStarts(e.range,t.range)}));for(var a=e.visibleRange.startLineNumber,u=e.visibleRange.endLineNumber,c=[],l=a;l<=u;l++){c[l-a]=""}this._renderWholeLineDecorations(e,n,c),this._renderNormalDecorations(e,n,c),this._renderResult=c},t.prototype._renderWholeLineDecorations=function(e,t,n){for(var r=String(this._lineHeight),o=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,s=0,a=t.length;s',l=Math.max(u.range.startLineNumber,o),d=Math.min(u.range.endLineNumber,i),p=l;p<=d;p++){n[p-o]+=c}}},t.prototype._renderNormalDecorations=function(e,t,n){for(var r=String(this._lineHeight),o=e.visibleRange.startLineNumber,i=null,s=!1,a=null,u=0,c=t.length;u';s[d]+=m}}},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(Ee),Et=n(80),Tt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ot=function(e){function t(t,n,r,i){var s=e.call(this,t)||this,a=s._context.configuration.editor.viewInfo.scrollbar,u={listenOnDomNode:r.domNode,className:"editor-scrollable "+Object(W.d)(t.theme.type),useShadows:!1,lazyRender:!0,vertical:a.vertical,horizontal:a.horizontal,verticalHasArrows:a.verticalHasArrows,horizontalHasArrows:a.horizontalHasArrows,verticalScrollbarSize:a.verticalScrollbarSize,verticalSliderSize:a.verticalSliderSize,horizontalScrollbarSize:a.horizontalScrollbarSize,horizontalSliderSize:a.horizontalSliderSize,handleMouseWheel:a.handleMouseWheel,arrowSize:a.arrowSize,mouseWheelScrollSensitivity:a.mouseWheelScrollSensitivity,fastScrollSensitivity:a.fastScrollSensitivity};s.scrollbar=s._register(new Et.c(n.domNode,u,s._context.viewLayout.scrollable)),L.write(s.scrollbar.getDomNode(),5),s.scrollbarDomNode=Object(p.b)(s.scrollbar.getDomNode()),s.scrollbarDomNode.setPosition("absolute"),s._setLayout();var c=function(e,t,n){var r={};if(t){var o=e.scrollTop;o&&(r.scrollTop=s._context.viewLayout.getCurrentScrollTop()+o,e.scrollTop=0)}if(n){var i=e.scrollLeft;i&&(r.scrollLeft=s._context.viewLayout.getCurrentScrollLeft()+i,e.scrollLeft=0)}s._context.viewLayout.setScrollPositionNow(r)};return s._register(o.h(r.domNode,"scroll",(function(e){return c(r.domNode,!0,!0)}))),s._register(o.h(n.domNode,"scroll",(function(e){return c(n.domNode,!0,!1)}))),s._register(o.h(i.domNode,"scroll",(function(e){return c(i.domNode,!0,!1)}))),s._register(o.h(s.scrollbarDomNode.domNode,"scroll",(function(e){return c(s.scrollbarDomNode.domNode,!0,!1)}))),s}return Tt(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._setLayout=function(){var e=this._context.configuration.editor.layoutInfo;this.scrollbarDomNode.setLeft(e.contentLeft),"right"===this._context.configuration.editor.viewInfo.minimap.side?this.scrollbarDomNode.setWidth(e.contentWidth+e.minimapWidth):this.scrollbarDomNode.setWidth(e.contentWidth),this.scrollbarDomNode.setHeight(e.contentHeight)},t.prototype.getOverviewRulerLayoutInfo=function(){return this.scrollbar.getOverviewRulerLayoutInfo()},t.prototype.getDomNode=function(){return this.scrollbarDomNode},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)},t.prototype.onConfigurationChanged=function(e){if(e.viewInfo){var t=this._context.configuration.editor,n={handleMouseWheel:t.viewInfo.scrollbar.handleMouseWheel,mouseWheelScrollSensitivity:t.viewInfo.scrollbar.mouseWheelScrollSensitivity,fastScrollSensitivity:t.viewInfo.scrollbar.fastScrollSensitivity};this.scrollbar.updateOptions(n)}return e.layoutInfo&&this._setLayout(),!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onThemeChanged=function(e){return this.scrollbar.updateClassName("editor-scrollable "+Object(W.d)(this._context.theme.type)),!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this.scrollbar.renderNow()},t}(A),Dt=(n(363),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),At=function(e,t,n){this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)},Lt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dt(t,e),t.prototype._render=function(e,t,n){for(var r=[],o=e;o<=t;o++){r[o-e]=[]}if(0===n.length)return r;n.sort((function(e,t){return e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className',s=[],a=t;a<=n;a++){var u=a-t,c=r[u];0===c.length?s[u]="":s[u]='
=this._renderResult.length?"":this._renderResult[n]},t}(Lt),It=(n(364),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),Nt=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._primaryLineNumber=0,n._lineHeight=n._context.configuration.editor.lineHeight,n._spaceWidth=n._context.configuration.editor.fontInfo.spaceWidth,n._enabled=n._context.configuration.editor.viewInfo.renderIndentGuides,n._activeIndentEnabled=n._context.configuration.editor.viewInfo.highlightActiveIndentGuide,n._renderResult=null,n._context.addEventHandler(n),n}return It(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.fontInfo&&(this._spaceWidth=this._context.configuration.editor.fontInfo.spaceWidth),e.viewInfo&&(this._enabled=this._context.configuration.editor.viewInfo.renderIndentGuides,this._activeIndentEnabled=this._context.configuration.editor.viewInfo.highlightActiveIndentGuide),!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0],n=t.isEmpty()?t.positionLineNumber:0;return this._primaryLineNumber!==n&&(this._primaryLineNumber=n,!0)},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onLanguageConfigurationChanged=function(e){return!0},t.prototype.prepareRender=function(e){if(this._enabled){var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,r=this._context.model.getOptions().indentSize*this._spaceWidth,o=e.scrollWidth,i=this._lineHeight,s=this._context.model.getLinesIndentGuides(t,n),a=0,u=0,c=0;if(this._activeIndentEnabled&&this._primaryLineNumber){var l=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,n);a=l.startLineNumber,u=l.endLineNumber,c=l.indent}for(var d=[],p=t;p<=n;p++){for(var h=a<=p&&p<=u,f=p-t,g=s[f],m="",y=e.visibleRangeForPosition(new Q.a(p,1)),v=y?y.left:0,b=1;b<=g;b++){if(m+='
',(v+=r)>o)break}d[f]=m}this._renderResult=d}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(Ee);Object(W.e)((function(e,t){var n=e.getColor(Te.l);n&&t.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 "+n+" inset; }");var r=e.getColor(Te.a)||n;r&&t.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 "+r+" inset; }")}));n(365);var jt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Mt=function(){function e(){this._currentVisibleRange=new ee.a(1,1,1,1)}return e.prototype.getCurrentVisibleRange=function(){return this._currentVisibleRange},e.prototype.setCurrentVisibleRange=function(e){this._currentVisibleRange=e},e}(),Rt=function(e,t,n,r,o,i){this.lineNumber=e,this.startColumn=t,this.endColumn=n,this.startScrollTop=r,this.stopScrollTop=o,this.scrollType=i},Ft=function(e){function t(t,n){var r=e.call(this,t)||this;r._linesContent=n,r._textRangeRestingSpot=document.createElement("div"),r._visibleLines=new ut(r),r.domNode=r._visibleLines.domNode;var o=r._context.configuration;return r._lineHeight=o.editor.lineHeight,r._typicalHalfwidthCharacterWidth=o.editor.fontInfo.typicalHalfwidthCharacterWidth,r._isViewportWrapping=o.editor.wrappingInfo.isViewportWrapping,r._revealHorizontalRightPadding=o.editor.viewInfo.revealHorizontalRightPadding,r._canUseLayerHinting=o.editor.canUseLayerHinting,r._viewLineOptions=new K(o,r._context.theme.type),L.write(r.domNode,7),r.domNode.setClassName("view-lines"),c.a.applyFontInfo(r.domNode,o.editor.fontInfo),r._maxLineWidth=0,r._asyncUpdateLineWidths=new m.d((function(){r._updateLineWidthsSlow()}),200),r._lastRenderedData=new Mt,r._horizontalRevealRequest=null,r}return jt(t,e),t.prototype.dispose=function(){this._asyncUpdateLineWidths.dispose(),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this.domNode},t.prototype.createVisibleLine=function(){return new q(this._viewLineOptions)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e),e.wrappingInfo&&(this._maxLineWidth=0);var t=this._context.configuration;return e.lineHeight&&(this._lineHeight=t.editor.lineHeight),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=t.editor.fontInfo.typicalHalfwidthCharacterWidth),e.wrappingInfo&&(this._isViewportWrapping=t.editor.wrappingInfo.isViewportWrapping),e.viewInfo&&(this._revealHorizontalRightPadding=t.editor.viewInfo.revealHorizontalRightPadding),e.canUseLayerHinting&&(this._canUseLayerHinting=t.editor.canUseLayerHinting),e.fontInfo&&c.a.applyFontInfo(this.domNode,t.editor.fontInfo),this._onOptionsMaybeChanged(),e.layoutInfo&&(this._maxLineWidth=0),!0},t.prototype._onOptionsMaybeChanged=function(){var e=this._context.configuration,t=new K(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;for(var n=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber(),o=n;o<=r;o++){this._visibleLines.getVisibleLine(o).onOptionsChanged(this._viewLineOptions)}return!0}return!1},t.prototype.onCursorStateChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),r=!1,o=t;o<=n;o++)r=this._visibleLines.getVisibleLine(o).onSelectionChanged()||r;return r},t.prototype.onDecorationsChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),r=t;r<=n;r++)this._visibleLines.getVisibleLine(r).onDecorationsChanged();return!0},t.prototype.onFlushed=function(e){var t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t},t.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},t.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},t.prototype.onRevealRangeRequest=function(e){var t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.range,e.verticalType),n=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range.startLineNumber!==e.range.endLineNumber?n={scrollTop:n.scrollTop,scrollLeft:0}:this._horizontalRevealRequest=new Rt(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):this._horizontalRevealRequest=null;var r=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop);return 0===e.scrollType&&r>this._lineHeight?this._context.viewLayout.setScrollPositionSmooth(n):this._context.viewLayout.setScrollPositionNow(n),!0},t.prototype.onScrollChanged=function(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){var t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),n=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTopn)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0},t.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},t.prototype.onZonesChanged=function(e){return this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth),this._visibleLines.onZonesChanged(e)},t.prototype.onThemeChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.getPositionFromDOMInfo=function(e,t){var n=this._getViewLineDomNode(e);if(null===n)return null;var r=this._getLineNumberFor(n);if(-1===r)return null;if(r<1||r>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(r))return new Q.a(r,1);var o=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();if(ri)return null;var s=this._visibleLines.getVisibleLine(r).getColumnOfNodeOffset(r,e,t),a=this._context.model.getLineMinColumn(r);return sn?-1:this._visibleLines.getVisibleLine(e).getWidth()},t.prototype.linesVisibleRangesForRange=function(e,t){if(this.shouldRender())return null;var n=e.endLineNumber,r=ee.a.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!r)return null;var o=[],i=0,s=new z(this.domNode.domNode,this._textRangeRestingSpot),a=0;t&&(a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new Q.a(r.startLineNumber,1)).lineNumber);for(var u=this._visibleLines.getStartLineNumber(),c=this._visibleLines.getEndLineNumber(),l=r.startLineNumber;l<=r.endLineNumber;l++)if(!(lc)){var d=l===r.startLineNumber?r.startColumn:1,p=l===r.endLineNumber?r.endColumn:this._context.model.getLineMaxColumn(l),h=this._visibleLines.getVisibleLine(l).getVisibleRangesForRange(d,p,s);if(h&&0!==h.length){if(t&&li)){var a=s===t.startLineNumber?t.startColumn:1,u=s===t.endLineNumber?t.endColumn:this._context.model.getLineMaxColumn(s),c=this._visibleLines.getVisibleLine(s).getVisibleRangesForRange(a,u,r);c&&0!==c.length&&(n=n.concat(c))}return 0===n.length?null:n},t.prototype.visibleRangeForPosition=function(e){var t=this.visibleRangesForRange2(new ee.a(e.lineNumber,e.column,e.lineNumber,e.column));return t?t[0]:null},t.prototype.updateLineWidths=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidthsFast=function(){return this._updateLineWidths(!0)},t.prototype._updateLineWidthsSlow=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidths=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),r=1,o=!0,i=t;i<=n;i++){var s=this._visibleLines.getVisibleLine(i);!e||s.getWidthIsFast()?r=Math.max(r,s.getWidth()):o=!1}return o&&1===t&&n===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(r),o},t.prototype.prepareRender=function(){throw new Error("Not supported")},t.prototype.render=function(){throw new Error("Not supported")},t.prototype.renderText=function(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){var t=this._horizontalRevealRequest.lineNumber,n=this._horizontalRevealRequest.startColumn,r=this._horizontalRevealRequest.endColumn,o=this._horizontalRevealRequest.scrollType;if(e.startLineNumber<=t&&t<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();var i=this._computeScrollLeftToRevealRange(t,n,r);this._isViewportWrapping||this._ensureMaxLineWidth(i.maxHorizontalOffset),0===o?this._context.viewLayout.setScrollPositionSmooth({scrollLeft:i.scrollLeft}):this._context.viewLayout.setScrollPositionNow({scrollLeft:i.scrollLeft})}}this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),this._linesContent.setLayerHinting(this._canUseLayerHinting);var s=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-s),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())},t.prototype._ensureMaxLineWidth=function(e){var t=Math.ceil(e);this._maxLineWidthl&&(l=h.left+h.width)}return o=l,c=Math.max(0,c-t.HORIZONTAL_EXTRA_PX),l+=this._revealHorizontalRightPadding,{scrollLeft:this._computeMinimumScrolling(s,a,c,l),maxHorizontalOffset:o}},t.prototype._computeMinimumScrolling=function(e,t,n,r,o,i){o=!!o,i=!!i;var s=(t|=0)-(e|=0);return(r|=0)-(n|=0)t?Math.max(0,r-s):e:n},t.HORIZONTAL_EXTRA_PX=30,t}(A),Bt=(n(366),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),Wt=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._decorationsLeft=n._context.configuration.editor.layoutInfo.decorationsLeft,n._decorationsWidth=n._context.configuration.editor.layoutInfo.decorationsWidth,n._renderResult=null,n._context.addEventHandler(n),n}return Bt(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.layoutInfo&&(this._decorationsLeft=this._context.configuration.editor.layoutInfo.decorationsLeft,this._decorationsWidth=this._context.configuration.editor.layoutInfo.decorationsWidth),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],r=0,o=0,i=t.length;o
',i=[],s=t;s<=n;s++){for(var a=s-t,u=r[a],c="",l=0,d=u.length;l';o[s]=u}this._renderResult=o},t.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},t}(Lt),Ut=(n(368),function(){function e(t,n,r,o){this.r=e._clamp(t),this.g=e._clamp(n),this.b=e._clamp(r),this.a=e._clamp(o)}return e._clamp=function(e){return e<0?0:e>255?255:0|e},e.Empty=new e(0,0,0,0),e}()),zt=n(10),Kt=function(){function e(){var e=this;this._onDidChange=new s.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),zt.y.onDidChange((function(t){t.changedColorMap&&e._updateColorMap()}))}return e.getInstance=function(){return this._INSTANCE||(this._INSTANCE=new e),this._INSTANCE},e.prototype._updateColorMap=function(){var e=zt.y.getColorMap();if(!e)return this._colors=[Ut.Empty],void(this._backgroundIsLight=!0);this._colors=[Ut.Empty];for(var t=1;t=.5,this._onDidChange.fire(void 0)},e.prototype.getColor=function(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]},e.prototype.backgroundIsLight=function(){return this._backgroundIsLight},e._INSTANCE=null,e}(),qt=function(){function e(t,n){if(760!==t.length)throw new Error("Invalid x2CharData");if(190!==n.length)throw new Error("Invalid x1CharData");this.x2charData=t,this.x1charData=n,this.x2charDataLight=e.soften(t,.8),this.x1charDataLight=e.soften(n,50/60)}return e.soften=function(e,t){for(var n=new Uint8ClampedArray(e.length),r=0,o=e.length;rt.width||r+4>t.height)console.warn("bad render request outside image data");else{var u=a?this.x2charDataLight:this.x2charData,c=e._getChIndex(o),l=4*t.width,d=s.r,p=s.g,h=s.b,f=i.r-d,g=i.g-p,m=i.b-h,y=t.data,v=4*c*2,b=r*l+4*n,_=u[v]/255;y[b+0]=d+f*_,y[b+1]=p+g*_,y[b+2]=h+m*_;_=u[v+1]/255;y[b+4]=d+f*_,y[b+5]=p+g*_,y[b+6]=h+m*_,b+=l;_=u[v+2]/255;y[b+0]=d+f*_,y[b+1]=p+g*_,y[b+2]=h+m*_;_=u[v+3]/255;y[b+4]=d+f*_,y[b+5]=p+g*_,y[b+6]=h+m*_,b+=l;_=u[v+4]/255;y[b+0]=d+f*_,y[b+1]=p+g*_,y[b+2]=h+m*_;_=u[v+5]/255;y[b+4]=d+f*_,y[b+5]=p+g*_,y[b+6]=h+m*_,b+=l;_=u[v+6]/255;y[b+0]=d+f*_,y[b+1]=p+g*_,y[b+2]=h+m*_;_=u[v+7]/255;y[b+4]=d+f*_,y[b+5]=p+g*_,y[b+6]=h+m*_}},e.prototype.x1RenderChar=function(t,n,r,o,i,s,a){if(n+1>t.width||r+2>t.height)console.warn("bad render request outside image data");else{var u=a?this.x1charDataLight:this.x1charData,c=e._getChIndex(o),l=4*t.width,d=s.r,p=s.g,h=s.b,f=i.r-d,g=i.g-p,m=i.b-h,y=t.data,v=2*c*1,b=r*l+4*n,_=u[v]/255;y[b+0]=d+f*_,y[b+1]=p+g*_,y[b+2]=h+m*_,b+=l;_=u[v+1]/255;y[b+0]=d+f*_,y[b+1]=p+g*_,y[b+2]=h+m*_}},e.prototype.x2BlockRenderChar=function(e,t,n,r,o,i){if(t+2>e.width||n+4>e.height)console.warn("bad render request outside image data");else{var s=4*e.width,a=o.r,u=o.g,c=o.b,l=a+.5*(r.r-a),d=u+.5*(r.g-u),p=c+.5*(r.b-c),h=e.data,f=n*s+4*t;h[f+0]=l,h[f+1]=d,h[f+2]=p,h[f+4]=l,h[f+5]=d,h[f+6]=p,h[(f+=s)+0]=l,h[f+1]=d,h[f+2]=p,h[f+4]=l,h[f+5]=d,h[f+6]=p,h[(f+=s)+0]=l,h[f+1]=d,h[f+2]=p,h[f+4]=l,h[f+5]=d,h[f+6]=p,h[(f+=s)+0]=l,h[f+1]=d,h[f+2]=p,h[f+4]=l,h[f+5]=d,h[f+6]=p}},e.prototype.x1BlockRenderChar=function(e,t,n,r,o,i){if(t+1>e.width||n+2>e.height)console.warn("bad render request outside image data");else{var s=4*e.width,a=o.r,u=o.g,c=o.b,l=a+.5*(r.r-a),d=u+.5*(r.g-u),p=c+.5*(r.b-c),h=e.data,f=n*s+4*t;h[f+0]=l,h[f+1]=d,h[f+2]=p,h[(f+=s)+0]=l,h[f+1]=d,h[f+2]=p}},e}();function Gt(e){for(var t=new Uint8ClampedArray(e.length),n=0,r=e.length;n=s)return new e(a,u,v,b,l,_=1,s);var _=Math.max(1,Math.floor(n-b*p/h));return c&&c.scrollHeight===u&&(c.scrollTop>a&&(_=Math.min(_,c.startLineNumber)),c.scrollTop140)n._context.viewLayout.setScrollPositionNow({scrollTop:o.scrollTop});else{var s=e.posy-t;n._context.viewLayout.setScrollPositionNow({scrollTop:o.getDesiredScrollTopFromDelta(s)})}}),(function(){n._slider.toggleClassName("active",!1)}))}})),n}return Qt(t,e),t.prototype.dispose=function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),e.prototype.dispose.call(this)},t.prototype._getMinimapDomNodeClassName=function(){return"always"===this._options.showSlider?"minimap slider-always":"minimap slider-mouseover"},t.prototype.getDomNode=function(){return this._domNode},t.prototype._applyLayout=function(){this._domNode.setLeft(this._options.minimapLeft),this._domNode.setWidth(this._options.minimapWidth),this._domNode.setHeight(this._options.minimapHeight),this._shadow.setHeight(this._options.minimapHeight),this._canvas.setWidth(this._options.canvasOuterWidth),this._canvas.setHeight(this._options.canvasOuterHeight),this._canvas.domNode.width=this._options.canvasInnerWidth,this._canvas.domNode.height=this._options.canvasInnerHeight,this._slider.setWidth(this._options.minimapWidth)},t.prototype._getBuffer=function(){return this._buffers||(this._buffers=new an(this._canvas.domNode.getContext("2d"),this._options.canvasInnerWidth,this._options.canvasInnerHeight,this._tokensColorTracker.getColor(2))),this._buffers.getBuffer()},t.prototype._onOptionsMaybeChanged=function(){var e=new nn(this._context.configuration);return!this._options.equals(e)&&(this._options=e,this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName()),!0)},t.prototype.onConfigurationChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.onFlushed=function(e){return this._lastRenderData=null,!0},t.prototype.onLinesChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e),!0},t.prototype.onLinesInserted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e),!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onTokensChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)},t.prototype.onTokensColorsChanged=function(e){return this._lastRenderData=null,this._buffers=null,!0},t.prototype.onZonesChanged=function(e){return this._lastRenderData=null,!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){if(0===this._options.renderMinimap)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");var t=rn.create(this._options,e.visibleRange.startLineNumber,e.visibleRange.endLineNumber,e.viewportHeight,e.viewportData.whitespaceViewportData.length>0,this._context.model.getLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setTop(t.sliderTop),this._slider.setHeight(t.sliderHeight);var n=e.scrollLeft/this._options.typicalHalfwidthCharacterWidth,r=Math.min(this._options.minimapWidth,Math.round(n*tn(this._options.renderMinimap)/this._options.pixelRatio));this._sliderHorizontal.setLeft(r),this._sliderHorizontal.setWidth(this._options.minimapWidth-r),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this._lastRenderData=this.renderLines(t)},t.prototype.renderLines=function(e){var n=this._options.renderMinimap,r=e.startLineNumber,o=e.endLineNumber,i=en(n);if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){var s=this._lastRenderData._get();return new sn(e,s.imageData,s.lines)}for(var a=this._getBuffer(),u=t._renderUntouchedLines(a,r,o,i,this._lastRenderData),c=u[0],l=u[1],d=u[2],p=this._context.model.getMinimapLinesRenderingData(r,o,d),h=p.tabSize,f=this._tokensColorTracker.getColor(2),g=this._tokensColorTracker.backgroundIsLight(),m=0,y=[],v=0,b=o-r+1;v=0&&kp)return;var w=c.charCodeAt(f);if(9===w){var x=a-(f+g)%a;g+=x-1,h+=x*d}else if(32===w)h+=d;else for(var C=xe.t(w)?2:1,S=0;Sp)return}},t}(A);Object(W.e)((function(e,t){var n=e.getColor(Zt.Cb);if(n){var r=n.transparent(.5);t.addRule(".monaco-editor .minimap-slider, .monaco-editor .minimap-slider .minimap-slider-horizontal { background: "+r+"; }")}var o=e.getColor(Zt.Db);if(o){var i=o.transparent(.5);t.addRule(".monaco-editor .minimap-slider:hover, .monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: "+i+"; }")}var s=e.getColor(Zt.Bb);if(s){var a=s.transparent(.5);t.addRule(".monaco-editor .minimap-slider.active, .monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: "+a+"; }")}var u=e.getColor(Zt.Ab);u&&t.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+u+" -6px 0 6px -6px inset; }")}));n(369);var cn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ln=function(e){function t(t){var n=e.call(this,t)||this;return n._widgets={},n._verticalScrollbarWidth=n._context.configuration.editor.layoutInfo.verticalScrollbarWidth,n._minimapWidth=n._context.configuration.editor.layoutInfo.minimapWidth,n._horizontalScrollbarHeight=n._context.configuration.editor.layoutInfo.horizontalScrollbarHeight,n._editorHeight=n._context.configuration.editor.layoutInfo.height,n._editorWidth=n._context.configuration.editor.layoutInfo.width,n._domNode=Object(p.b)(document.createElement("div")),L.write(n._domNode,4),n._domNode.setClassName("overlayWidgets"),n}return cn(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){return!!e.layoutInfo&&(this._verticalScrollbarWidth=this._context.configuration.editor.layoutInfo.verticalScrollbarWidth,this._minimapWidth=this._context.configuration.editor.layoutInfo.minimapWidth,this._horizontalScrollbarHeight=this._context.configuration.editor.layoutInfo.horizontalScrollbarHeight,this._editorHeight=this._context.configuration.editor.layoutInfo.height,this._editorWidth=this._context.configuration.editor.layoutInfo.width,!0)},t.prototype.addWidget=function(e){var t=Object(p.b)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()},t.prototype.setWidgetPosition=function(e,t){var n=this._widgets[e.getId()];return n.preference!==t&&(n.preference=t,this.setShouldRender(),!0)},t.prototype.removeWidget=function(e){var t=e.getId();if(this._widgets.hasOwnProperty(t)){var n=this._widgets[t].domNode.domNode;delete this._widgets[t],n.parentNode.removeChild(n),this.setShouldRender()}},t.prototype._renderWidget=function(e){var t=e.domNode;if(null!==e.preference)if(0===e.preference)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===e.preference){var n=t.domNode.clientHeight;t.setTop(this._editorHeight-n-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===e.preference&&(t.setTop(0),t.domNode.style.right="50%");else t.unsetTop()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._editorWidth);for(var t=Object.keys(this._widgets),n=0,r=t.length;n=3){var o,i,s,a=r-(o=Math.floor(r/3))-(i=Math.floor(r/3)),u=(s=e)+o;return[[0,s,u,s,s+o+a,s,u,s],[0,o,a,o+a,i,o+a+i,a+i,o+a+i]]}if(2===n)return[[0,s=e,s,s,s+(o=Math.floor(r/2)),s,s,s],[0,o,o,o,i=r-o,o+i,o+i,o+i]];return[[0,e,e,e,e,e,e,e],[0,r,r,r,r,r,r,r]]},e.prototype.equals=function(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColor===e.cursorColor&&this.themeType===e.themeType&&this.backgroundColor===e.backgroundColor&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight},e}(),fn=function(e){function t(t){var n=e.call(this,t)||this;return n._domNode=Object(p.b)(document.createElement("canvas")),n._domNode.setClassName("decorationsOverviewRuler"),n._domNode.setPosition("absolute"),n._domNode.setLayerHinting(!0),n._domNode.setAttribute("aria-hidden","true"),n._updateSettings(!1),n._tokensColorTrackerListener=zt.y.onDidChange((function(e){e.changedColorMap&&n._updateSettings(!0)})),n._cursorPositions=[],n}return pn(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},t.prototype._updateSettings=function(e){var t=new hn(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)},t.prototype.onConfigurationChanged=function(e){return this._updateSettings(!1)},t.prototype.onCursorStateChanged=function(e){this._cursorPositions=[];for(var t=0,n=e.selections.length;tt&&(D=t-a),S=D-a,L=D+a;S>v+1||w!==m?(0!==b&&u.fillRect(c[m],y,l[m],v-y),m=w,y=S,v=L):L>v&&(v=L)}u.fillRect(c[m],y,l[m],v-y)}if(!this._settings.hideCursor&&this._settings.cursorColor){var k=2*this._settings.pixelRatio|0,E=k/2|0,T=this._settings.x[7],O=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(y=-100,v=-100,b=0,_=this._cursorPositions.length;b<_;b++){var D,A=this._cursorPositions[b];(D=r.getVerticalOffsetForLineNumber(A.lineNumber)*o|0)t&&(D=t-E);var L=(S=D-E)+k;S>v+1?(0!==b&&u.fillRect(T,y,O,v-y),y=S,v=L):L>v&&(v=L)}u.fillRect(T,y,O,v-y)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(u.beginPath(),u.lineWidth=1,u.strokeStyle=this._settings.borderColor,u.moveTo(0,0),u.lineTo(0,t),u.stroke(),u.moveTo(0,0),u.lineTo(e,0),u.stroke())},t}(A),gn=n(144),mn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),yn=function(e){function t(t,n){var r=e.call(this)||this;return r._context=t,r._domNode=Object(p.b)(document.createElement("canvas")),r._domNode.setClassName(n),r._domNode.setPosition("absolute"),r._domNode.setLayerHinting(!0),r._zoneManager=new gn.b((function(e){return r._context.viewLayout.getVerticalOffsetForLineNumber(e)})),r._zoneManager.setDOMWidth(0),r._zoneManager.setDOMHeight(0),r._zoneManager.setOuterHeight(r._context.viewLayout.getScrollHeight()),r._zoneManager.setLineHeight(r._context.configuration.editor.lineHeight),r._zoneManager.setPixelRatio(r._context.configuration.editor.pixelRatio),r._context.addEventHandler(r),r}return mn(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._zoneManager.setLineHeight(this._context.configuration.editor.lineHeight),this._render()),e.pixelRatio&&(this._zoneManager.setPixelRatio(this._context.configuration.editor.pixelRatio),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0},t.prototype.onFlushed=function(e){return this._render(),!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0},t.prototype.onZonesChanged=function(e){return this._render(),!0},t.prototype.getDomNode=function(){return this._domNode.domNode},t.prototype.setLayout=function(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);var t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,(t=this._zoneManager.setDOMHeight(e.height)||t)&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())},t.prototype.setZones=function(e){this._zoneManager.setZones(e),this._render()},t.prototype._render=function(){if(0===this._zoneManager.getOuterHeight())return!1;var e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),n=this._zoneManager.resolveColorZones(),r=this._zoneManager.getId2Color(),o=this._domNode.domNode.getContext("2d");return o.clearRect(0,0,e,t),n.length>0&&this._renderOneLane(o,n,r,e),!0},t.prototype._renderOneLane=function(e,t,n,r){for(var o=0,i=0,s=0,a=0,u=t;a=d?s=Math.max(s,p):(e.fillRect(0,i,r,s-i),i=d,s=p)}e.fillRect(0,i,r,s-i)},t}(O),vn=(n(370),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),bn=function(e){function t(t){var n=e.call(this,t)||this;return n.domNode=Object(p.b)(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n.domNode.setClassName("view-rulers"),n._renderedRulers=[],n._rulers=n._context.configuration.editor.viewInfo.rulers,n._typicalHalfwidthCharacterWidth=n._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,n}return vn(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return!!(e.viewInfo||e.layoutInfo||e.fontInfo)&&(this._rulers=this._context.configuration.editor.viewInfo.rulers,this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,!0)},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},t.prototype.prepareRender=function(e){},t.prototype._ensureRulersCount=function(){var e=this._renderedRulers.length,t=this._rulers.length;if(e!==t)if(e0;){(i=Object(p.b)(document.createElement("div"))).setClassName("view-ruler"),i.setWidth(n),this.domNode.appendChild(i),this._renderedRulers.push(i),r--}else for(var o=e-t;o>0;){var i=this._renderedRulers.pop();this.domNode.removeChild(i),o--}},t.prototype.render=function(e){this._ensureRulersCount();for(var t=0,n=this._rulers.length;t0;return this._shouldShow!==e&&(this._shouldShow=e,!0)},t.prototype.getDomNode=function(){return this._domNode},t.prototype._updateWidth=function(){var e=this._context.configuration.editor.layoutInfo,t=0;return t=0===e.renderMinimap||e.minimapWidth>0&&0===e.minimapLeft?e.width:e.width-e.minimapWidth-e.verticalScrollbarWidth,this._width!==t&&(this._width=t,!0)},t.prototype.onConfigurationChanged=function(e){var t=!1;return e.viewInfo&&(this._useShadows=this._context.configuration.editor.viewInfo.scrollbar.useShadows),e.layoutInfo&&(t=this._updateWidth()),this._updateShouldShow()||t},t.prototype.onScrollChanged=function(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")},t}(A);Object(W.e)((function(e,t){var n=e.getColor(Zt.Ab);n&&t.addRule(".monaco-editor .scroll-decoration { box-shadow: "+n+" 0 6px 6px -6px inset; }")}));n(372);var xn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Cn=function(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null},Sn=function(e,t){this.lineNumber=e,this.ranges=t};function kn(e){return new Cn(e)}function En(e){return new Sn(e.lineNumber,e.ranges.map(kn))}var Tn=f.g,On=function(e){function t(t){var n=e.call(this)||this;return n._previousFrameVisibleRangesWithStyle=[],n._context=t,n._lineHeight=n._context.configuration.editor.lineHeight,n._roundedSelection=n._context.configuration.editor.viewInfo.roundedSelection,n._typicalHalfwidthCharacterWidth=n._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,n._selections=[],n._renderResult=null,n._context.addEventHandler(n),n}return xn(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._roundedSelection=this._context.configuration.editor.viewInfo.roundedSelection),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._visibleRangesHaveGaps=function(e){for(var t=0,n=e.length;t1)return!0}return!1},t.prototype._enrichVisibleRangesWithStyle=function(e,t,n){var r=this._typicalHalfwidthCharacterWidth/4,o=null,i=null;if(n&&n.length>0&&t.length>0){var s=t[0].lineNumber;if(s===e.startLineNumber)for(var a=0;!o&&a=0;a--)n[a].lineNumber===u&&(i=n[a].ranges[0]);o&&!o.startStyle&&(o=null),i&&!i.startStyle&&(i=null)}a=0;for(var c=t.length;a0){var g=t[a-1].ranges[0].left,m=t[a-1].ranges[0].left+t[a-1].ranges[0].width;Dn(d-g)g&&(h.top=1),Dn(p-m)'},t.prototype._actualRenderOneSelection=function(e,n,r,o){for(var i=o.length>0&&o[0].ranges[0].startStyle,s=this._lineHeight.toString(),a=(this._lineHeight-1).toString(),u=o.length>0?o[0].lineNumber:0,c=o.length>0?o[o.length-1].lineNumber:0,l=0,d=o.length;l1,c)}}this._previousFrameVisibleRangesWithStyle=i,this._renderResult=t},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t.SELECTION_CLASS_NAME="selected-text",t.SELECTION_TOP_LEFT="top-left-radius",t.SELECTION_BOTTOM_LEFT="bottom-left-radius",t.SELECTION_TOP_RIGHT="top-right-radius",t.SELECTION_BOTTOM_RIGHT="bottom-right-radius",t.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",t.ROUNDED_PIECE_WIDTH=10,t}(Ee);function Dn(e){return e<0?-e:e}Object(W.e)((function(e,t){var n=e.getColor(Zt.B);n&&t.addRule(".monaco-editor .focused .selected-text { background-color: "+n+"; }");var r=e.getColor(Zt.A);r&&t.addRule(".monaco-editor .selected-text { background-color: "+r+"; }");var o=e.getColor(Zt.C);o&&t.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+o+"; }")}));n(373);var An=n(34),Ln=function(e,t,n,r,o,i){this.top=e,this.left=t,this.width=n,this.height=r,this.textContent=o,this.textContentClassName=i},Pn=function(){function e(e){this._context=e,this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._lineHeight=this._context.configuration.editor.lineHeight,this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(this._context.configuration.editor.viewInfo.cursorWidth,this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(p.b)(document.createElement("div")),this._domNode.setClassName("cursor"),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),c.a.applyFontInfo(this._domNode,this._context.configuration.editor.fontInfo),this._domNode.setDisplay("none"),this.updatePosition(new Q.a(1,1)),this._lastRenderedContent="",this._renderData=null}return e.prototype.getDomNode=function(){return this._domNode},e.prototype.getPosition=function(){return this._position},e.prototype.show=function(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)},e.prototype.hide=function(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)},e.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.fontInfo&&(c.a.applyFontInfo(this._domNode,this._context.configuration.editor.fontInfo),this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),e.viewInfo&&(this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._lineCursorWidth=Math.min(this._context.configuration.editor.viewInfo.cursorWidth,this._typicalHalfwidthCharacterWidth)),!0},e.prototype.onCursorPositionChanged=function(e){return this.updatePosition(e),!0},e.prototype._prepareRender=function(e){var t="",n="";if(this._cursorStyle===An.g.Line||this._cursorStyle===An.g.LineThin){var r,i=e.visibleRangeForPosition(this._position);if(!i)return null;if(this._cursorStyle===An.g.Line){if((r=o.o(this._lineCursorWidth>0?this._lineCursorWidth:2))>2)t=this._context.model.getLineContent(this._position.lineNumber).charAt(this._position.column-1)}else r=o.o(1);var s=i.left;r>=2&&s>=1&&(s-=1);var a=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta;return new Ln(a,s,r,this._lineHeight,t,n)}var u=e.linesVisibleRangesForRange(new ee.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+1),!1);if(!u||0===u.length||0===u[0].ranges.length)return null;var c=u[0].ranges[0],l=c.width<1?this._typicalHalfwidthCharacterWidth:c.width;if(this._cursorStyle===An.g.Block){var d=this._context.model.getViewLineData(this._position.lineNumber);t=d.content.charAt(this._position.column-1),xe.u(d.content.charCodeAt(this._position.column-1))&&(t+=d.content.charAt(this._position.column));var p=d.tokens.findTokenIndexAtOffset(this._position.column-1);n=d.tokens.getClassName(p)}var h=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta,f=this._lineHeight;return this._cursorStyle!==An.g.Underline&&this._cursorStyle!==An.g.UnderlineThin||(h+=this._lineHeight-2,f=2),new Ln(h,c.left,l,f,t,n)},e.prototype.prepareRender=function(e){this._renderData=this._prepareRender(e)},e.prototype.render=function(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName("cursor "+this._renderData.textContentClassName),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)},e.prototype.updatePosition=function(e){this._position=e},e}(),In=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Nn=function(e){function t(t){var n=e.call(this,t)||this;return n._readOnly=n._context.configuration.editor.readOnly,n._cursorBlinking=n._context.configuration.editor.viewInfo.cursorBlinking,n._cursorStyle=n._context.configuration.editor.viewInfo.cursorStyle,n._cursorSmoothCaretAnimation=n._context.configuration.editor.viewInfo.cursorSmoothCaretAnimation,n._selectionIsEmpty=!0,n._primaryCursor=new Pn(n._context),n._secondaryCursors=[],n._renderData=[],n._domNode=Object(p.b)(document.createElement("div")),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n._updateDomClassName(),n._domNode.appendChild(n._primaryCursor.getDomNode()),n._startCursorBlinkAnimation=new m.e,n._cursorFlatBlinkInterval=new m.c,n._blinkingEnabled=!1,n._editorHasFocus=!1,n._updateBlinking(),n}return In(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){e.readOnly&&(this._readOnly=this._context.configuration.editor.readOnly),e.viewInfo&&(this._cursorBlinking=this._context.configuration.editor.viewInfo.cursorBlinking,this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._cursorSmoothCaretAnimation=this._context.configuration.editor.viewInfo.cursorSmoothCaretAnimation),this._primaryCursor.onConfigurationChanged(e),this._updateBlinking(),e.viewInfo&&this._updateDomClassName();for(var t=0,n=this._secondaryCursors.length;tt.length){var i=this._secondaryCursors.length-t.length;for(r=0;rn){var i=t-n;for(o=0;o=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)},e.prototype._getAll=function(){var e=[];e[0]=this.primaryCursor;for(var t=0,n=this.secondaryCursors.length;td&&C.index--}e.splice(d,1),t.splice(l,1),this._removeSecondaryCursor(d-1),o--}}}}},e}(),Xn=n(168),Jn=n(98),Zn=n(36),Qn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();var er=function(e,t,n){this.selections=e,this.source=t,this.reason=n},tr=function(){function e(e,t){this.modelVersionId=e.getVersionId(),this.cursorState=t.getAll()}return e.prototype.equals=function(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(var t=0,n=this.cursorState.length;tt.MAX_CURSOR_COUNT&&(r=r.slice(0,t.MAX_CURSOR_COUNT),this._onDidReachMaxCursorCount.fire(void 0));var o=new tr(this._model,this);this._cursors.setStates(r),this._cursors.normalize(),this._columnSelectData=null,this._emitStateChangedIfNecessary(e,n,o)},t.prototype.setColumnSelectData=function(e){this._columnSelectData=e},t.prototype.reveal=function(e,t,n){this._revealRange(t,0,e,n)},t.prototype.revealRange=function(e,t,n,r){this.emitCursorRevealRange(t,n,e,r)},t.prototype.scrollTo=function(e){this._viewModel.viewLayout.setScrollPositionSmooth({scrollTop:e})},t.prototype.saveState=function(){for(var e=[],t=this._cursors.getSelections(),n=0,r=t.length;n1)return;var a=new ee.a(i.lineNumber,i.column,i.lineNumber,i.column);this.emitCursorRevealRange(a,t,n,r)},t.prototype.emitCursorRevealRange=function(e,t,n,r){try{this._beginEmit().emit(new Ue(e,t,n,r))}finally{this._endEmit()}},t.prototype.trigger=function(e,t,n){var r=Zn.b;if(t!==r.CompositionStart)if(t===r.CompositionEnd&&(this._isDoingComposition=!1),this._configuration.editor.readOnly)this._onDidAttemptReadOnlyEdit.fire(void 0);else{var o=new tr(this._model,this),s=0;t!==r.Undo&&t!==r.Redo&&this._cursors.stopTrackingSelections(),this._cursors.ensureValidState(),this._isHandling=!0;try{switch(t){case r.Type:this._type(e,n.text);break;case r.ReplacePreviousChar:this._replacePreviousChar(n.text,n.replaceCharCnt);break;case r.Paste:s=4,this._paste(n.text,n.pasteOnNewLine,n.multicursorText);break;case r.Cut:this._cut();break;case r.Undo:s=5,this._interpretCommandResult(this._model.undo());break;case r.Redo:s=6,this._interpretCommandResult(this._model.redo());break;case r.ExecuteCommand:this._externalExecuteCommand(n);break;case r.ExecuteCommands:this._externalExecuteCommands(n);break;case r.CompositionEnd:this._interpretCompositionEnd(e)}}catch(a){Object(i.e)(a)}this._isHandling=!1,t!==r.Undo&&t!==r.Redo&&this._cursors.startTrackingSelections(),this._emitStateChangedIfNecessary(e,s,o)&&this._revealRange(0,0,!0,0)}else this._isDoingComposition=!0},t.prototype._interpretCompositionEnd=function(e){this._isDoingComposition||"keyboard"!==e||this._executeEditOperation(Jn.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections()))},t.prototype._type=function(e,t){if(this._isDoingComposition||"keyboard"!==e)this._executeEditOperation(Jn.a.typeWithoutInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),t));else for(var n=0,r=t.length;n0&&(i[0]._isTracked=!0);var u=e.model.pushEditOperations(e.selectionsBefore,i,(function(n){for(var r=[],o=0;o0?(r[n].sort(u),c[n]=t[n].computeCursorState(e.model,{getInverseEditOperations:function(){return r[n]},getTrackedSelection:function(t){var n=parseInt(t,10),r=e.model._getTrackedRange(e.trackedRanges[n]);return 0===e.trackedRangesDirection[n]?new le.a(r.startLineNumber,r.startColumn,r.endLineNumber,r.endColumn):new le.a(r.endLineNumber,r.endColumn,r.startLineNumber,r.startColumn)}})):c[n]=e.selectionsBefore[n]};for(o=0;oo.identifier.major?r.identifier.major:o.identifier.major).toString()]=!0;for(var s=0;s0&&n--}}return t},e}(),or=n(182),ir=n(6),sr=n(170),ar=n(181),ur=function(){function e(){this._heights=[],this._minWidths=[],this._ids=[],this._afterLineNumbers=[],this._ordinals=[],this._prefixSum=[],this._prefixSumValidIndex=-1,this._whitespaceId2Index={},this._lastWhitespaceId=0,this._minWidth=-1}return e.findInsertionIndex=function(e,t,n,r){for(var o=0,i=e.length;o>>1;t===e[s]?r=t&&(this._whitespaceId2Index[c]=l+1)}this._whitespaceId2Index[e.toString()]=t,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)},e.prototype.changeWhitespace=function(e,t,n){e|=0,t|=0,n|=0;var r=!1;return r=this.changeWhitespaceHeight(e,n)||r,r=this.changeWhitespaceAfterLineNumber(e,t)||r},e.prototype.changeWhitespaceHeight=function(e,t){t|=0;var n=(e|=0).toString();if(this._whitespaceId2Index.hasOwnProperty(n)){var r=this._whitespaceId2Index[n];if(this._heights[r]!==t)return this._heights[r]=t,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,r-1),!0}return!1},e.prototype.changeWhitespaceAfterLineNumber=function(t,n){n|=0;var r=(t|=0).toString();if(this._whitespaceId2Index.hasOwnProperty(r)){var o=this._whitespaceId2Index[r];if(this._afterLineNumbers[o]!==n){var i=this._ordinals[o],s=this._heights[o],a=this._minWidths[o];this.removeWhitespace(t);var u=e.findInsertionIndex(this._afterLineNumbers,n,this._ordinals,i);return this._insertWhitespaceAtIndex(t,u,n,i,s,a),!0}}return!1},e.prototype.removeWhitespace=function(e){var t=(e|=0).toString();if(this._whitespaceId2Index.hasOwnProperty(t)){var n=this._whitespaceId2Index[t];return delete this._whitespaceId2Index[t],this._removeWhitespaceAtIndex(n),this._minWidth=-1,!0}return!1},e.prototype._removeWhitespaceAtIndex=function(e){e|=0,this._heights.splice(e,1),this._minWidths.splice(e,1),this._ids.splice(e,1),this._afterLineNumbers.splice(e,1),this._ordinals.splice(e,1),this._prefixSum.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1);for(var t=Object.keys(this._whitespaceId2Index),n=0,r=t.length;n=e&&(this._whitespaceId2Index[o]=i-1)}},e.prototype.onLinesDeleted=function(e,t){e|=0,t|=0;for(var n=0,r=this._afterLineNumbers.length;nt&&(this._afterLineNumbers[n]-=t-e+1)}},e.prototype.onLinesInserted=function(e,t){e|=0,t|=0;for(var n=0,r=this._afterLineNumbers.length;n=t.length||t[o+1]>=e)return o;n=o+1|0}else r=o-1|0}return-1},e.prototype._findFirstWhitespaceAfterLineNumber=function(e){e|=0;var t=this._findLastWhitespaceBeforeLineNumber(e)+1;return t1?this._lineHeight*(e-1):0)+this._whitespaces.getAccumulatedHeightBeforeLineNumber(e)},e.prototype.getWhitespaceAccumulatedHeightBeforeLineNumber=function(e){return this._whitespaces.getAccumulatedHeightBeforeLineNumber(e)},e.prototype.getWhitespaceMinWidth=function(){return this._whitespaces.getMinWidth()},e.prototype.isAfterLines=function(e){return e>this.getLinesTotalHeight()},e.prototype.getLineNumberAtOrAfterVerticalOffset=function(e){if((e|=0)<0)return 1;for(var t=0|this._lineCount,n=this._lineHeight,r=1,o=t;r=s+n)r=i+1;else{if(e>=s)return i;o=i}}return r>t?t:r},e.prototype.getLinesViewportData=function(e,t){e|=0,t|=0;var n,r,o=this._lineHeight,i=0|this.getLineNumberAtOrAfterVerticalOffset(e),s=0|this.getVerticalOffsetForLineNumber(i),a=0|this._lineCount,u=0|this._whitespaces.getFirstWhitespaceIndexAfterLineNumber(i),c=0|this._whitespaces.getCount();-1===u?(u=c,r=a+1,n=0):(r=0|this._whitespaces.getAfterLineNumberForWhitespaceIndex(u),n=0|this._whitespaces.getHeightForWhitespaceIndex(u));var l=s,d=l,p=0;s>=5e5&&(p=5e5*Math.floor(s/5e5),d-=p=Math.floor(p/o)*o);for(var h=[],f=e+(t-e)/2,g=-1,m=i;m<=a;m++){if(-1===g){(l<=f&&ff)&&(g=m)}for(l+=o,h[m-i]=d,d+=o;r===m;)d+=n,l+=n,++u>=c?r=a+1:(r=0|this._whitespaces.getAfterLineNumberForWhitespaceIndex(u),n=0|this._whitespaces.getHeightForWhitespaceIndex(u));if(l>=t){a=m;break}}-1===g&&(g=a);var y=0|this.getVerticalOffsetForLineNumber(a),v=i,b=a;return vt&&b--,{bigNumbersDelta:p,startLineNumber:i,endLineNumber:a,relativeVerticalOffset:h,centeredLineNumber:g,completelyVisibleStartLineNumber:v,completelyVisibleEndLineNumber:b}},e.prototype.getVerticalOffsetForWhitespaceIndex=function(e){e|=0;var t=this._whitespaces.getAfterLineNumberForWhitespaceIndex(e);return(t>=1?this._lineHeight*t:0)+(e>0?this._whitespaces.getAccumulatedHeight(e-1):0)},e.prototype.getWhitespaceIndexAtOrAfterVerticallOffset=function(e){e|=0;var t,n,r=0,o=this._whitespaces.getCount()-1;if(o<0)return-1;if(e>=this.getVerticalOffsetForWhitespaceIndex(o)+this._whitespaces.getHeightForWhitespaceIndex(o))return-1;for(;r=(n=this.getVerticalOffsetForWhitespaceIndex(t))+this._whitespaces.getHeightForWhitespaceIndex(t))r=t+1;else{if(e>=n)return t;o=t}return r},e.prototype.getWhitespaceAtVerticalOffset=function(e){e|=0;var t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this._whitespaces.getCount())return null;var n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;var r=this._whitespaces.getHeightForWhitespaceIndex(t);return{id:this._whitespaces.getIdForWhitespaceIndex(t),afterLineNumber:this._whitespaces.getAfterLineNumberForWhitespaceIndex(t),verticalOffset:n,height:r}},e.prototype.getWhitespaceViewportData=function(e,t){e|=0,t|=0;var n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),r=this._whitespaces.getCount()-1;if(n<0)return[];for(var o=[],i=n;i<=r;i++){var s=this.getVerticalOffsetForWhitespaceIndex(i),a=this._whitespaces.getHeightForWhitespaceIndex(i);if(s>=t)break;o.push({id:this._whitespaces.getIdForWhitespaceIndex(i),afterLineNumber:this._whitespaces.getAfterLineNumberForWhitespaceIndex(i),verticalOffset:s,height:a})}return o},e.prototype.getWhitespaces=function(){return this._whitespaces.getWhitespaces(this._lineHeight)},e}(),lr=n(55),dr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pr=function(e){function t(t,n,r){var o=e.call(this)||this;return o._configuration=t,o._linesLayout=new cr(n,o._configuration.editor.lineHeight),o.scrollable=o._register(new ar.a(0,r)),o._configureSmoothScrollDuration(),o.scrollable.setScrollDimensions({width:t.editor.layoutInfo.contentWidth,height:t.editor.layoutInfo.contentHeight}),o.onDidScroll=o.scrollable.onScroll,o._updateHeight(),o}return dr(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onHeightMaybeChanged=function(){this._updateHeight()},t.prototype._configureSmoothScrollDuration=function(){this.scrollable.setSmoothScrollDuration(this._configuration.editor.viewInfo.smoothScrolling?125:0)},t.prototype.onConfigurationChanged=function(e){e.lineHeight&&this._linesLayout.setLineHeight(this._configuration.editor.lineHeight),e.layoutInfo&&this.scrollable.setScrollDimensions({width:this._configuration.editor.layoutInfo.contentWidth,height:this._configuration.editor.layoutInfo.contentHeight}),e.viewInfo&&this._configureSmoothScrollDuration(),this._updateHeight()},t.prototype.onFlushed=function(e){this._linesLayout.onFlushed(e)},t.prototype.onLinesDeleted=function(e,t){this._linesLayout.onLinesDeleted(e,t)},t.prototype.onLinesInserted=function(e,t){this._linesLayout.onLinesInserted(e,t)},t.prototype._getHorizontalScrollbarHeight=function(e){return 2===this._configuration.editor.viewInfo.scrollbar.horizontal||e.width>=e.scrollWidth?0:this._configuration.editor.viewInfo.scrollbar.horizontalScrollbarSize},t.prototype._getTotalHeight=function(){var e=this.scrollable.getScrollDimensions(),t=this._linesLayout.getLinesTotalHeight();return this._configuration.editor.viewInfo.scrollBeyondLastLine?t+=e.height-this._configuration.editor.lineHeight:t+=this._getHorizontalScrollbarHeight(e),Math.max(e.height,t)},t.prototype._updateHeight=function(){this.scrollable.setScrollDimensions({scrollHeight:this._getTotalHeight()})},t.prototype.getCurrentViewport=function(){var e=this.scrollable.getScrollDimensions(),t=this.scrollable.getCurrentScrollPosition();return new lr.f(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype.getFutureViewport=function(){var e=this.scrollable.getScrollDimensions(),t=this.scrollable.getFutureScrollPosition();return new lr.f(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype._computeScrollWidth=function(e,t){if(!this._configuration.editor.wrappingInfo.isViewportWrapping){var n=this._configuration.editor.viewInfo.scrollBeyondLastColumn*this._configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,r=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+n,t,r)}return Math.max(e,t)},t.prototype.onMaxLineWidthChanged=function(e){var t=this._computeScrollWidth(e,this.getCurrentViewport().width);this.scrollable.setScrollDimensions({scrollWidth:t}),this._updateHeight()},t.prototype.saveState=function(){var e=this.scrollable.getFutureScrollPosition(),t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t);return{scrollTop:t,scrollTopWithoutViewZones:t-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n),scrollLeft:e.scrollLeft}},t.prototype.addWhitespace=function(e,t,n,r){return this._linesLayout.insertWhitespace(e,t,n,r)},t.prototype.changeWhitespace=function(e,t,n){return this._linesLayout.changeWhitespace(e,t,n)},t.prototype.removeWhitespace=function(e){return this._linesLayout.removeWhitespace(e)},t.prototype.getVerticalOffsetForLineNumber=function(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)},t.prototype.isAfterLines=function(e){return this._linesLayout.isAfterLines(e)},t.prototype.getLineNumberAtVerticalOffset=function(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)},t.prototype.getWhitespaceAtVerticalOffset=function(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)},t.prototype.getLinesViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)},t.prototype.getLinesViewportDataAtScrollTop=function(e){var t=this.scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)},t.prototype.getWhitespaceViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)},t.prototype.getWhitespaces=function(){return this._linesLayout.getWhitespaces()},t.prototype.getScrollWidth=function(){return this.scrollable.getScrollDimensions().scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollable.getScrollDimensions().scrollHeight},t.prototype.getCurrentScrollLeft=function(){return this.scrollable.getCurrentScrollPosition().scrollLeft},t.prototype.getCurrentScrollTop=function(){return this.scrollable.getCurrentScrollPosition().scrollTop},t.prototype.validateScrollPosition=function(e){return this.scrollable.validateScrollPosition(e)},t.prototype.setScrollPositionNow=function(e){this.scrollable.setScrollPositionNow(e)},t.prototype.setScrollPositionSmooth=function(e){this.scrollable.setScrollPositionSmooth(e)},t.prototype.deltaScrollNow=function(e,t){var n=this.scrollable.getCurrentScrollPosition();this.scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})},t}(a.a),hr=n(87),fr=n(94),gr=n(155),mr=n(24),yr=function(e,t){this.outputLineIndex=e,this.outputOffset=t},vr=function(){function e(e){this._lines=e}return e.prototype.convertViewPositionToModelPosition=function(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)},e.prototype.convertViewRangeToModelRange=function(e){var t=this._lines.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this._lines.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new ee.a(t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype.validateViewPosition=function(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)},e.prototype.validateViewRange=function(e,t){var n=this._lines.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),r=this._lines.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new ee.a(n.lineNumber,n.column,r.lineNumber,r.column)},e.prototype.convertModelPositionToViewPosition=function(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)},e.prototype.convertModelRangeToViewRange=function(e){var t=this._lines.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),n=this._lines.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return new ee.a(t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype.modelPositionIsVisible=function(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)},e}(),br=function(){function e(e,t,n,r,o,i){this.model=e,this._validModelVersionId=-1,this.tabSize=n,this.wrappingColumn=r,this.columnsForFullWidthChar=o,this.wrappingIndent=i,this.linePositionMapperFactory=t,this._constructLines(!0)}return e.prototype.dispose=function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])},e.prototype.createCoordinatesConverter=function(){return new vr(this)},e.prototype._ensureValidState=function(){if(this.model.getVersionId()!==this._validModelVersionId)throw new Error("ViewModel is out of sync with Model!");this.lines.length!==this.model.getLineCount()&&this._constructLines(!1)},e.prototype._constructLines=function(e){var t=this;this.lines=[],e&&(this.hiddenAreasIds=[]);for(var n=this.model.getLinesContent(),r=n.length,o=new Uint32Array(r),i=this.hiddenAreasIds.map((function(e){return t.model.getDecorationRange(e)})).sort(ee.a.compareRangesUsingStarts),s=1,a=0,u=-1,c=u+1=s&&d<=a,h=Cr(this.linePositionMapperFactory,n[l],this.tabSize,this.wrappingColumn,this.columnsForFullWidthChar,this.wrappingIndent,!p);o[l]=h.getViewLineCount(),this.lines[l]=h}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new gr.b(o)},e.prototype.getHiddenAreas=function(){var e=this;return this.hiddenAreasIds.map((function(t){return e.model.getDecorationRange(t)}))},e.prototype._reduceRanges=function(e){var t=this;if(0===e.length)return[];for(var n=e.map((function(e){return t.model.validateRange(e)})).sort(ee.a.compareRangesUsingStarts),r=[],o=n[0].startLineNumber,i=n[0].endLineNumber,s=1,a=n.length;si+1?(r.push(new ee.a(o,1,i,1)),o=u.startLineNumber,i=u.endLineNumber):u.endLineNumber>i&&(i=u.endLineNumber)}return r.push(new ee.a(o,1,i,1)),r},e.prototype.setHiddenAreas=function(e){var t=this,n=this._reduceRanges(e),r=this.hiddenAreasIds.map((function(e){return t.model.getDecorationRange(e)})).sort(ee.a.compareRangesUsingStarts);if(n.length===r.length){for(var o=!1,i=0;i=d&&m<=p?this.lines[i].isVisible()&&(this.lines[i]=this.lines[i].setVisible(!1),y=!0):(g=!0,this.lines[i].isVisible()||(this.lines[i]=this.lines[i].setVisible(!0),y=!0)),y){var v=this.lines[i].getViewLineCount();this.prefixSumComputer.changeValue(i,v)}}return g||this.setHiddenAreas([]),!0},e.prototype.modelPositionIsVisible=function(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()},e.prototype.setTabSize=function(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1),!0)},e.prototype.setWrappingSettings=function(e,t,n){return(this.wrappingIndent!==e||this.wrappingColumn!==t||this.columnsForFullWidthChar!==n)&&(this.wrappingIndent=e,this.wrappingColumn=t,this.columnsForFullWidthChar=n,this._constructLines(!1),!0)},e.prototype.onModelFlushed=function(){this._constructLines(!0)},e.prototype.onModelLinesDeleted=function(e,t,n){if(e<=this._validModelVersionId)return null;var r=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,o=this.prefixSumComputer.getAccumulatedValue(n-1);return this.lines.splice(t-1,n-t+1),this.prefixSumComputer.removeValues(t-1,n-t+1),new Ve(r,o)},e.prototype.onModelLinesInserted=function(e,t,n,r){if(e<=this._validModelVersionId)return null;for(var o=this.getHiddenAreas(),i=!1,s=new Q.a(t,1),a=0,u=o;aa?(f=(h=(l=(c=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+a-1)+1)+(o-a)-1,u=!0):ot?t:e},e.prototype.warmUpLookupCache=function(e,t){this.prefixSumComputer.warmUpCache(e-1,t-1)},e.prototype.getActiveIndentGuide=function(e,t,n){this._ensureValidState(),e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);var r=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),i=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),s=this.model.getActiveIndentGuide(r.lineNumber,o.lineNumber,i.lineNumber),a=this.convertModelPositionToViewPosition(s.startLineNumber,1),u=this.convertModelPositionToViewPosition(s.endLineNumber,this.model.getLineMaxColumn(s.endLineNumber));return{startLineNumber:a.lineNumber,endLineNumber:u.lineNumber,indent:s.indent}},e.prototype.getViewLinesIndentGuides=function(e,t){this._ensureValidState(),e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),r=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),o=[],i=[],s=[],a=n.lineNumber-1,u=r.lineNumber-1,c=null,l=a;l<=u;l++){var d=this.lines[l];if(d.isVisible()){var p=d.getViewLineNumberOfModelPosition(0,l===a?n.column:1),h=d.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(l+1)),f=0;(w=h-p+1)>1&&1===d.getViewLineMinColumn(this.model,l+1,h)&&(f=0===p?1:2),i.push(w),s.push(f),null===c&&(c=new Q.a(l+1,0))}else null!==c&&(o=o.concat(this.model.getLinesIndentGuides(c.lineNumber,l)),c=null)}null!==c&&(o=o.concat(this.model.getLinesIndentGuides(c.lineNumber,r.lineNumber)),c=null);for(var g=t-e+1,m=new Array(g),y=0,v=0,b=o.length;vt&&(h=!0,p=t-o+1);var f=d+p;if(l.getViewLinesData(this.model,u+1,d,f,o-e,n,a),o+=p,h)break}}return a},e.prototype.validateViewPosition=function(e,t,n){this._ensureValidState(),e=this._toValidViewLineNumber(e);var r=this.prefixSumComputer.getIndexOf(e-1),o=r.index,i=r.remainder,s=this.lines[o],a=s.getViewLineMinColumn(this.model,o+1,i),u=s.getViewLineMaxColumn(this.model,o+1,i);tu&&(t=u);var c=s.getModelColumnOfViewPosition(i,t);return this.model.validatePosition(new Q.a(o+1,c)).equals(n)?new Q.a(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)},e.prototype.convertViewPositionToModelPosition=function(e,t){this._ensureValidState(),e=this._toValidViewLineNumber(e);var n=this.prefixSumComputer.getIndexOf(e-1),r=n.index,o=n.remainder,i=this.lines[r].getModelColumnOfViewPosition(o,t);return this.model.validatePosition(new Q.a(r+1,i))},e.prototype.convertModelPositionToViewPosition=function(e,t){this._ensureValidState();for(var n=this.model.validatePosition(new Q.a(e,t)),r=n.lineNumber,o=n.column,i=r-1,s=!1;i>0&&!this.lines[i].isVisible();)i--,s=!0;if(0===i&&!this.lines[i].isVisible())return new Q.a(1,1);var a=1+(0===i?0:this.prefixSumComputer.getAccumulatedValue(i-1));return s?this.lines[i].getViewPositionOfModelPosition(a,this.model.getLineMaxColumn(i+1)):this.lines[r-1].getViewPositionOfModelPosition(a,o)},e.prototype._getViewLineNumberForModelPosition=function(e,t){var n=e-1;if(this.lines[n].isVisible()){var r=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(r,t)}for(;n>0&&!this.lines[n].isVisible();)n--;if(0===n&&!this.lines[n].isVisible())return 1;var o=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(o,this.model.getLineMaxColumn(n+1))},e.prototype.getAllOverviewRulerDecorations=function(e,t,n){for(var r=this.model.getOverviewRulerDecorations(e,t),o=new Er,i=0,s=r;it.id?1:0:n}));for(var d=[],p=0,h=null,f=0,g=i;f0&&(i=this.wrappedIndent+i),i},e.prototype.getViewLineLength=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var r=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n)-r;return n>0&&(o=this.wrappedIndent.length+o),o},e.prototype.getViewLineMinColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return n>0?this.wrappedIndentLength+1:1},e.prototype.getViewLineMaxColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(e,t,n).length+1},e.prototype.getViewLineData=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var r=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),i=e.getValueInRange({startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:o+1});n>0&&(i=this.wrappedIndent+i);var s=n>0?this.wrappedIndentLength+1:1,a=i.length+1,u=n+10&&(c=this.wrappedIndentLength);var l=e.getLineTokens(t);return new lr.c(i,u,s,a,l.sliceAndInflate(r,o,c))},e.prototype.getViewLinesData=function(e,t,n,r,o,i,s){if(!this._isVisible)throw new Error("Not supported");for(var a=n;a0&&(n0&&(o+=this.wrappedIndentLength),new Q.a(e+r,o)},e.prototype.getViewLineNumberOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");return e+this.positionMapper.getOutputPositionOfInputOffset(t-1).outputLineIndex},e}();function Cr(e,t,n,r,o,i,s){var a=e.createLineMapping(t,n,r,o,i);return null===a?s?_r.INSTANCE:wr.INSTANCE:new xr(a,s)}var Sr=function(){function e(e){this._lines=e}return e.prototype._validPosition=function(e){return this._lines.model.validatePosition(e)},e.prototype._validRange=function(e){return this._lines.model.validateRange(e)},e.prototype.convertViewPositionToModelPosition=function(e){return this._validPosition(e)},e.prototype.convertViewRangeToModelRange=function(e){return this._validRange(e)},e.prototype.validateViewPosition=function(e,t){return this._validPosition(t)},e.prototype.validateViewRange=function(e,t){return this._validRange(t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._validPosition(e)},e.prototype.convertModelRangeToViewRange=function(e){return this._validRange(e)},e.prototype.modelPositionIsVisible=function(e){var t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)},e}(),kr=function(){function e(e){this.model=e}return e.prototype.dispose=function(){},e.prototype.createCoordinatesConverter=function(){return new Sr(this)},e.prototype.getHiddenAreas=function(){return[]},e.prototype.setHiddenAreas=function(e){return!1},e.prototype.setTabSize=function(e){return!1},e.prototype.setWrappingSettings=function(e,t,n){return!1},e.prototype.onModelFlushed=function(){},e.prototype.onModelLinesDeleted=function(e,t,n){return new Ve(t,n)},e.prototype.onModelLinesInserted=function(e,t,n,r){return new He(t,n)},e.prototype.onModelLineChanged=function(e,t,n){return[!1,new We(t,t),null,null]},e.prototype.acceptVersionId=function(e){},e.prototype.getViewLineCount=function(){return this.model.getLineCount()},e.prototype.warmUpLookupCache=function(e,t){},e.prototype.getActiveIndentGuide=function(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}},e.prototype.getViewLinesIndentGuides=function(e,t){for(var n=t-e+1,r=new Array(n),o=0;o=t)return void(n>s&&(o[o.length-1]=n));o.push(r,t,n)}else this.result[e]=[r,t,n]},e}(),Tr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Or=function(e){function t(t,n,r){for(var o=e.call(this,0)||this,i=0;i=12352&&t<=12543||t>=13312&&t<=19903||t>=19968&&t<=40959?4:e.prototype.get.call(this,t)},t}(hr.a),Dr=function(){function e(e,t,n){this.classifier=new Or(e,t,n)}return e.nextVisibleColumn=function(e,t,n,r){return e=+e,t=+t,r=+r,n?e+(t-e%t):e+r},e.prototype.createLineMapping=function(t,n,r,o,i){if(-1===r)return null;n=+n,r=+r,o=+o;var s=0,a="",u=-1;if(0!==(i=+i)&&-1!==(u=xe.o(t))){a=t.substring(0,u);for(var c=0;cr&&(a="",s=0)}var d=this.classifier,p=0,h=[],f=0,g=0,m=-1,y=0,v=-1,b=0,_=t.length;for(c=0;c<_;c++){var w=t.charCodeAt(c),x=9===w,C=d.get(w);if(1===C&&(m=c,y=s),4===C&&c>0){var S=t.charCodeAt(c-1);1!==d.get(S)&&(m=c,y=s)}var k=1;if(xe.t(w)&&(k=o),(g=e.nextVisibleColumn(g,n,x,k))>r&&0!==c){var E=void 0,T=void 0;-1!==m&&y<=r?(E=m,T=y):-1!==v&&b<=r?(E=v,T=b):(E=c,T=s),h[f++]=E-p,p=E,g=e.nextVisibleColumn(T,n,x,k),m=-1,y=0,v=-1,b=0}if(-1!==m&&(y=e.nextVisibleColumn(y,n,x,k)),-1!==v&&(b=e.nextVisibleColumn(b,n,x,k)),2===C&&(0===i||c>=u)&&(m=c+1,y=s),4===C&&c<_-1){var O=t.charCodeAt(c+1);2!==d.get(O)&&(m=c+1,y=s)}3===C&&(v=c+1,b=s)}return 0===f?null:(h[f++]=_-p,new Ar(new gr.a(Object(fr.c)(h)),a))},e}(),Ar=function(){function e(e,t){this._prefixSums=e,this._wrappedLinesIndent=t}return e.prototype.getOutputLineCount=function(){return this._prefixSums.getCount()},e.prototype.getWrappedLinesIndent=function(){return this._wrappedLinesIndent},e.prototype.getInputOffsetOfOutputPosition=function(e,t){return 0===e?t:this._prefixSums.getAccumulatedValue(e-1)+t},e.prototype.getOutputPositionOfInputOffset=function(e){var t=this._prefixSums.getIndexOf(e);return new yr(t.index,t.remainder)},e}(),Lr=function(){function e(e,t,n,r,o){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=r,this._coordinatesConverter=o,this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}return e.prototype._clearCachedModelDecorationsResolver=function(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null},e.prototype.dispose=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.reset=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onModelDecorationsChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onLineMappingChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype._getOrCreateViewModelDecoration=function(e){var t=e.id,n=this._decorationsCache[t];if(!n){var r=e.range,o=e.options,i=void 0;if(o.isWholeLine){var s=this._coordinatesConverter.convertModelPositionToViewPosition(new Q.a(r.startLineNumber,1)),a=this._coordinatesConverter.convertModelPositionToViewPosition(new Q.a(r.endLineNumber,this.model.getLineMaxColumn(r.endLineNumber)));i=new ee.a(s.lineNumber,s.column,a.lineNumber,a.column)}else i=this._coordinatesConverter.convertModelRangeToViewRange(r);n=new lr.e(i,o),this._decorationsCache[t]=n}return n},e.prototype.getDecorationsViewportData=function(e){var t=null!==this._cachedModelDecorationsResolver;return(t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange))||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver},e.prototype._getDecorationsViewportData=function(e){for(var t=this._linesCollection.getDecorationsInRange(e,this.editorId,this.configuration.editor.readOnly),n=e.startLineNumber,r=e.endLineNumber,o=[],i=0,s=[],a=n;a<=r;a++)s[a-n]=[];for(var u=0,c=t.length;u=2&&e.viewportStartLineTrackedRange){var g=e.model._getTrackedRange(e.viewportStartLineTrackedRange);if(g){var m=e.coordinatesConverter.convertModelPositionToViewPosition(g.getStartPosition()),y=e.viewLayout.getVerticalOffsetForLineNumber(m.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:y+e.viewportStartLineDelta})}}}))),this._register(this.model.onDidChangeTokens((function(t){for(var n=[],r=0,o=t.ranges.length;ra||(i0&&s[u-1]===s[u]||(a+=this.model.getLineContent(s[u])+o);return a}for(var c=[],l=0,d=i;l'+this._getHTMLToCopy(n,i)+""},t.prototype._getHTMLToCopy=function(e,t){for(var n=e.startLineNumber,r=e.startColumn,o=e.endLineNumber,i=e.endColumn,s=this.getTabSize(),a="",u=n;u<=o;u++){var c=this.model.getLineTokens(u),l=c.getLineContent(),d=u===n?r-1:0,p=u===o?i-1:l.length;a+=""===l?"
":Object(sr.a)(l,c.inflate(),t,d,p,s)}return a},t.prototype._getColorMap=function(){var e=zt.y.getColorMap(),t=["#000000"];if(e)for(var n=1,r=e.length;n=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},Hr=function(e,t){return function(n,r){t(n,r,e)}},Ur=0,zr=function(){function e(e,t,n,r,o,i){this.model=e,this.viewModel=t,this.cursor=n,this.view=r,this.hasRealView=o,this.listenersToRemove=i}return e.prototype.dispose=function(){Object(a.d)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.cursor.dispose(),this.viewModel.dispose()},e}(),Kr=function(e){function t(t,n,r,o,a,u,c,d,p,h){var f,g=e.call(this)||this;g._onDidDispose=g._register(new s.a),g.onDidDispose=g._onDidDispose.event,g._onDidChangeModelContent=g._register(new s.a),g.onDidChangeModelContent=g._onDidChangeModelContent.event,g._onDidChangeModelLanguage=g._register(new s.a),g.onDidChangeModelLanguage=g._onDidChangeModelLanguage.event,g._onDidChangeModelLanguageConfiguration=g._register(new s.a),g.onDidChangeModelLanguageConfiguration=g._onDidChangeModelLanguageConfiguration.event,g._onDidChangeModelOptions=g._register(new s.a),g.onDidChangeModelOptions=g._onDidChangeModelOptions.event,g._onDidChangeModelDecorations=g._register(new s.a),g.onDidChangeModelDecorations=g._onDidChangeModelDecorations.event,g._onDidChangeConfiguration=g._register(new s.a),g.onDidChangeConfiguration=g._onDidChangeConfiguration.event,g._onDidChangeModel=g._register(new s.a),g.onDidChangeModel=g._onDidChangeModel.event,g._onDidChangeCursorPosition=g._register(new s.a),g.onDidChangeCursorPosition=g._onDidChangeCursorPosition.event,g._onDidChangeCursorSelection=g._register(new s.a),g.onDidChangeCursorSelection=g._onDidChangeCursorSelection.event,g._onDidAttemptReadOnlyEdit=g._register(new s.a),g.onDidAttemptReadOnlyEdit=g._onDidAttemptReadOnlyEdit.event,g._onDidLayoutChange=g._register(new s.a),g.onDidLayoutChange=g._onDidLayoutChange.event,g._editorTextFocus=g._register(new qr),g.onDidFocusEditorText=g._editorTextFocus.onDidChangeToTrue,g.onDidBlurEditorText=g._editorTextFocus.onDidChangeToFalse,g._editorWidgetFocus=g._register(new qr),g.onDidFocusEditorWidget=g._editorWidgetFocus.onDidChangeToTrue,g.onDidBlurEditorWidget=g._editorWidgetFocus.onDidChangeToFalse,g._onWillType=g._register(new s.a),g.onWillType=g._onWillType.event,g._onDidType=g._register(new s.a),g.onDidType=g._onDidType.event,g._onCompositionStart=g._register(new s.a),g.onCompositionStart=g._onCompositionStart.event,g._onCompositionEnd=g._register(new s.a),g.onCompositionEnd=g._onCompositionEnd.event,g._onDidPaste=g._register(new s.a),g.onDidPaste=g._onDidPaste.event,g._onMouseUp=g._register(new s.a),g.onMouseUp=g._onMouseUp.event,g._onMouseDown=g._register(new s.a),g.onMouseDown=g._onMouseDown.event,g._onMouseDrag=g._register(new s.a),g.onMouseDrag=g._onMouseDrag.event,g._onMouseDrop=g._register(new s.a),g.onMouseDrop=g._onMouseDrop.event,g._onContextMenu=g._register(new s.a),g.onContextMenu=g._onContextMenu.event,g._onMouseMove=g._register(new s.a),g.onMouseMove=g._onMouseMove.event,g._onMouseLeave=g._register(new s.a),g.onMouseLeave=g._onMouseLeave.event,g._onMouseWheel=g._register(new s.a),g.onMouseWheel=g._onMouseWheel.event,g._onKeyUp=g._register(new s.a),g.onKeyUp=g._onKeyUp.event,g._onKeyDown=g._register(new s.a),g.onKeyDown=g._onKeyDown.event,g._onDidScrollChange=g._register(new s.a),g.onDidScrollChange=g._onDidScrollChange.event,g._onDidChangeViewZones=g._register(new s.a),g.onDidChangeViewZones=g._onDidChangeViewZones.event,g._domElement=t,g._id=++Ur,g._decorationTypeKeysToIds={},g._decorationTypeSubtypes={},g.isSimpleWidget=r.isSimpleWidget||!1,g._telemetryData=r.telemetryData,n=n||{},g._configuration=g._register(g._createConfiguration(n,h)),g._register(g._configuration.onDidChange((function(e){g._onDidChangeConfiguration.fire(e),e.layoutInfo&&g._onDidLayoutChange.fire(g._configuration.editor.layoutInfo),g._configuration.editor.showUnused?g._domElement.classList.add("showUnused"):g._domElement.classList.remove("showUnused")}))),g._contextKeyService=g._register(c.createScoped(g._domElement)),g._notificationService=p,g._codeEditorService=a,g._commandService=u,g._themeService=d,g._register(new Gr(g,g._contextKeyService)),g._register(new Yr(g,g._contextKeyService)),g._instantiationService=o.createChild(new Rr.a([jr.e,g._contextKeyService])),g._attachModel(null),g._contributions={},g._actions={},g._focusTracker=new $r(t),g._focusTracker.onChange((function(){g._editorWidgetFocus.setValue(g._focusTracker.hasFocus())})),g._contentWidgets={},g._overlayWidgets={};for(var m=0,y=(f=Array.isArray(r.contributions)?r.contributions:l.d.getEditorContributions()).length;m1),this._hasNonEmptySelection.set(e.some((function(e){return!e.isEmpty()})))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())},t.prototype._updateFromFocus=function(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())},t.prototype._updateFromModel=function(){var e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))},t}(a.a),Yr=function(e){function t(t,n){var r=e.call(this)||this;r._editor=t,r._contextKeyService=n,r._langId=ir.a.languageId.bindTo(n),r._hasCompletionItemProvider=ir.a.hasCompletionItemProvider.bindTo(n),r._hasCodeActionsProvider=ir.a.hasCodeActionsProvider.bindTo(n),r._hasCodeLensProvider=ir.a.hasCodeLensProvider.bindTo(n),r._hasDefinitionProvider=ir.a.hasDefinitionProvider.bindTo(n),r._hasDeclarationProvider=ir.a.hasDeclarationProvider.bindTo(n),r._hasImplementationProvider=ir.a.hasImplementationProvider.bindTo(n),r._hasTypeDefinitionProvider=ir.a.hasTypeDefinitionProvider.bindTo(n),r._hasHoverProvider=ir.a.hasHoverProvider.bindTo(n),r._hasDocumentHighlightProvider=ir.a.hasDocumentHighlightProvider.bindTo(n),r._hasDocumentSymbolProvider=ir.a.hasDocumentSymbolProvider.bindTo(n),r._hasReferenceProvider=ir.a.hasReferenceProvider.bindTo(n),r._hasRenameProvider=ir.a.hasRenameProvider.bindTo(n),r._hasSignatureHelpProvider=ir.a.hasSignatureHelpProvider.bindTo(n),r._hasDocumentFormattingProvider=ir.a.hasDocumentFormattingProvider.bindTo(n),r._hasDocumentSelectionFormattingProvider=ir.a.hasDocumentSelectionFormattingProvider.bindTo(n),r._hasMultipleDocumentFormattingProvider=ir.a.hasMultipleDocumentFormattingProvider.bindTo(n),r._hasMultipleDocumentSelectionFormattingProvider=ir.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(n),r._isInWalkThrough=ir.a.isInEmbeddedEditor.bindTo(n);var o=function(){return r._update()};return r._register(t.onDidChangeModel(o)),r._register(t.onDidChangeModelLanguage(o)),r._register(zt.d.onDidChange(o)),r._register(zt.a.onDidChange(o)),r._register(zt.b.onDidChange(o)),r._register(zt.f.onDidChange(o)),r._register(zt.e.onDidChange(o)),r._register(zt.o.onDidChange(o)),r._register(zt.z.onDidChange(o)),r._register(zt.n.onDidChange(o)),r._register(zt.i.onDidChange(o)),r._register(zt.k.onDidChange(o)),r._register(zt.s.onDidChange(o)),r._register(zt.t.onDidChange(o)),r._register(zt.g.onDidChange(o)),r._register(zt.j.onDidChange(o)),r._register(zt.v.onDidChange(o)),o(),r}return Wr(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.reset=function(){var e=this;this._contextKeyService.bufferChangeEvents((function(){e._langId.reset(),e._hasCompletionItemProvider.reset(),e._hasCodeActionsProvider.reset(),e._hasCodeLensProvider.reset(),e._hasDefinitionProvider.reset(),e._hasDeclarationProvider.reset(),e._hasImplementationProvider.reset(),e._hasTypeDefinitionProvider.reset(),e._hasHoverProvider.reset(),e._hasDocumentHighlightProvider.reset(),e._hasDocumentSymbolProvider.reset(),e._hasReferenceProvider.reset(),e._hasRenameProvider.reset(),e._hasDocumentFormattingProvider.reset(),e._hasDocumentSelectionFormattingProvider.reset(),e._hasSignatureHelpProvider.reset(),e._isInWalkThrough.reset()}))},t.prototype._update=function(){var e=this,t=this._editor.getModel();t?this._contextKeyService.bufferChangeEvents((function(){e._langId.set(t.getLanguageIdentifier().language),e._hasCompletionItemProvider.set(zt.d.has(t)),e._hasCodeActionsProvider.set(zt.a.has(t)),e._hasCodeLensProvider.set(zt.b.has(t)),e._hasDefinitionProvider.set(zt.f.has(t)),e._hasDeclarationProvider.set(zt.e.has(t)),e._hasImplementationProvider.set(zt.o.has(t)),e._hasTypeDefinitionProvider.set(zt.z.has(t)),e._hasHoverProvider.set(zt.n.has(t)),e._hasDocumentHighlightProvider.set(zt.i.has(t)),e._hasDocumentSymbolProvider.set(zt.k.has(t)),e._hasReferenceProvider.set(zt.s.has(t)),e._hasRenameProvider.set(zt.t.has(t)),e._hasSignatureHelpProvider.set(zt.v.has(t)),e._hasDocumentFormattingProvider.set(zt.g.has(t)||zt.j.has(t)),e._hasDocumentSelectionFormattingProvider.set(zt.j.has(t)),e._hasMultipleDocumentFormattingProvider.set(zt.g.all(t).length+zt.j.all(t).length>1),e._hasMultipleDocumentSelectionFormattingProvider.set(zt.j.all(t).length>1),e._isInWalkThrough.set(t.uri.scheme===u.a.walkThroughSnippet)})):this.reset()},t}(a.a),$r=function(e){function t(t){var n=e.call(this)||this;return n._onChange=n._register(new s.a),n.onChange=n._onChange.event,n._hasFocus=!1,n._domFocusTracker=n._register(o.Q(t)),n._register(n._domFocusTracker.onDidFocus((function(){n._hasFocus=!0,n._onChange.fire(void 0)}))),n._register(n._domFocusTracker.onDidBlur((function(){n._hasFocus=!1,n._onChange.fire(void 0)}))),n}return Wr(t,e),t.prototype.hasFocus=function(){return this._hasFocus},t}(a.a),Xr=encodeURIComponent("");function Zr(e){return Xr+encodeURIComponent(e.toString())+Jr}var Qr=encodeURIComponent('');Object(W.e)((function(e,t){var n=e.getColor(Te.h);n&&t.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+n+"; }");var r=e.getColor(Te.i);r&&t.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+Zr(r)+'") repeat-x bottom left; }');var o=e.getColor(Te.v);o&&t.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+o+"; }");var i=e.getColor(Te.w);i&&t.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+Zr(i)+'") repeat-x bottom left; }');var s=e.getColor(Te.m);s&&t.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+s+"; }");var a=e.getColor(Te.n);a&&t.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+Zr(a)+'") repeat-x bottom left; }');var u=e.getColor(Te.j);u&&t.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+u+"; }");var c=e.getColor(Te.k);c&&t.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+function(e){return Qr+encodeURIComponent(e.toString())+eo}(c)+'") no-repeat bottom left; }');var l=e.getColor(Te.u);l&&t.addRule(".showUnused .monaco-editor .squiggly-inline-unnecessary { opacity: "+l.rgba.a+"; }");var d=e.getColor(Te.t);d&&t.addRule(".showUnused .monaco-editor .squiggly-unnecessary { border-bottom: 2px dashed "+d+"; }")}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getSelectionSearchString",(function(){return ot})),n.d(t,"CommonFindController",(function(){return it})),n.d(t,"FindController",(function(){return st})),n.d(t,"StartFindAction",(function(){return at})),n.d(t,"StartFindWithSelectionAction",(function(){return ut})),n.d(t,"MatchFindAction",(function(){return ct})),n.d(t,"NextMatchFindAction",(function(){return lt})),n.d(t,"PreviousMatchFindAction",(function(){return dt})),n.d(t,"SelectionMatchFindAction",(function(){return pt})),n.d(t,"NextSelectionMatchFindAction",(function(){return ht})),n.d(t,"PreviousSelectionMatchFindAction",(function(){return ft})),n.d(t,"StartFindReplaceAction",(function(){return gt}));var r=n(0),o=n(15),i=n(4),s=n(7),a=n(3),u=n(6),c=n(41),l=n(9),d=n(2),p=n(21),h=n(82),f=n(51),g=n(24),m=n(8),y=n(18),v=function(){function e(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}return e.prototype.dispose=function(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.reset=function(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.getCount=function(){return this._decorations.length},e.prototype.getFindScope=function(){return this._findScopeDecorationId?this._editor.getModel().getDecorationRange(this._findScopeDecorationId):null},e.prototype.getStartPosition=function(){return this._startPosition},e.prototype.setStartPosition=function(e){this._startPosition=e,this.setCurrentFindMatch(null)},e.prototype._getDecorationIndex=function(e){var t=this._decorations.indexOf(e);return t>=0?t+1:1},e.prototype.getCurrentMatchesPosition=function(t){for(var n=0,r=this._editor.getModel().getDecorationsInRange(t);n1e3){i=e._FIND_MATCH_NO_OVERVIEW_DECORATION;for(var a=r._editor.getModel().getLineCount(),u=r._editor.getLayoutInfo().height/a,c=Math.max(2,Math.ceil(3/u)),l=t[0].range.startLineNumber,p=t[0].range.endLineNumber,h=1,f=t.length;h=g.startLineNumber?g.endLineNumber>p&&(p=g.endLineNumber):(s.push({range:new d.a(l,1,p,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),l=g.startLineNumber,p=g.endLineNumber)}s.push({range:new d.a(l,1,p,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}var m=new Array(t.length);for(h=0,f=t.length;h=0;t--){var n=this._decorations[t],r=this._editor.getModel().getDecorationRange(n);if(r&&!(r.endLineNumber>e.lineNumber)){if(r.endLineNumbere.column))return r}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])},e.prototype.matchAfterPosition=function(e){if(0===this._decorations.length)return null;for(var t=0,n=this._decorations.length;te.lineNumber)return o;if(!(o.startColumn0){for(var n=[],r=0;r0;){if(e0},e.prototype._cannotFind=function(){if(!this._hasMatches()){var e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1},e.prototype._setCurrentFindMatch=function(e){var t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)},e.prototype._prevSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),n=e.lineNumber,r=e.column,o=this._editor.getModel();return t||1===r?(1===n?n=o.getLineCount():n--,r=o.getLineMaxColumn(n)):r--,new l.a(n,r)},e.prototype._moveToPrevMatch=function(t,n){if(void 0===n&&(n=!1),this._decorations.getCount()<19999){var r=this._decorations.matchBeforePosition(t);return r&&r.isEmpty()&&r.getStartPosition().equals(t)&&(t=this._prevSearchPosition(t),r=this._decorations.matchBeforePosition(t)),void(r&&this._setCurrentFindMatch(r))}if(!this._cannotFind()){var o=this._decorations.getFindScope(),i=e._getSearchRange(this._editor.getModel(),o);i.getEndPosition().isBefore(t)&&(t=i.getEndPosition()),t.isBefore(i.getStartPosition())&&(t=i.getEndPosition());var s=t.lineNumber,a=t.column,u=this._editor.getModel(),c=new l.a(s,a),d=u.findPreviousMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1);if(d&&d.range.isEmpty()&&d.range.getStartPosition().equals(c)&&(c=this._prevSearchPosition(c),d=u.findPreviousMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1)),d)return n||i.containsRange(d.range)?void this._setCurrentFindMatch(d.range):this._moveToPrevMatch(d.range.getStartPosition(),!0)}},e.prototype.moveToPrevMatch=function(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())},e.prototype._nextSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),n=e.lineNumber,r=e.column,o=this._editor.getModel();return t||r===o.getLineMaxColumn(n)?(n===o.getLineCount()?n=1:n++,r=1):r++,new l.a(n,r)},e.prototype._moveToNextMatch=function(e){if(this._decorations.getCount()<19999){var t=this._decorations.matchAfterPosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),void(t&&this._setCurrentFindMatch(t))}var n=this._getNextMatch(e,!1,!0);n&&this._setCurrentFindMatch(n.range)},e.prototype._getNextMatch=function(t,n,r,o){if(void 0===o&&(o=!1),this._cannotFind())return null;var i=this._decorations.getFindScope(),s=e._getSearchRange(this._editor.getModel(),i);s.getEndPosition().isBefore(t)&&(t=s.getStartPosition()),t.isBefore(s.getStartPosition())&&(t=s.getStartPosition());var a=t.lineNumber,u=t.column,c=this._editor.getModel(),d=new l.a(a,u),p=c.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null,n);return r&&p&&p.range.isEmpty()&&p.range.getStartPosition().equals(d)&&(d=this._nextSearchPosition(d),p=c.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null,n)),p?o||s.containsRange(p.range)?p:this._getNextMatch(p.range.getEndPosition(),n,r,!0):null},e.prototype.moveToNextMatch=function(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())},e.prototype._getReplacePattern=function(){return this._state.isRegex?function(e){if(!e||0===e.length)return new x(null);for(var t=new S(e),n=0,r=e.length;n=r)break;if(36===(a=e.charCodeAt(n))){t.emitUnchanged(n-1),t.emitStatic("$",n+1);continue}if(48===a||38===a){t.emitUnchanged(n-1),t.emitMatchIndex(0,n+1);continue}if(49<=a&&a<=57){var i=a-48;if(n+1=r)break;var a;switch(a=e.charCodeAt(n)){case 92:t.emitUnchanged(n-1),t.emitStatic("\\",n+1);break;case 110:t.emitUnchanged(n-1),t.emitStatic("\n",n+1);break;case 116:t.emitUnchanged(n-1),t.emitStatic("\t",n+1)}}}return t.finalize()}(this._state.replaceString):x.fromStaticValue(this._state.replaceString)},e.prototype.replace=function(){if(this._hasMatches()){var e=this._getReplacePattern(),t=this._editor.getSelection(),n=this._getNextMatch(t.getStartPosition(),e.hasReplacementPatterns,!1);if(n)if(t.equalsRange(n.range)){var r=e.buildReplaceString(n.matches),o=new c.a(t,r);this._executeEditorCommand("replace",o),this._decorations.setStartPosition(new l.a(t.startLineNumber,t.startColumn+r.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(n.range)}},e.prototype._findMatches=function(t,n,r){var o=e._getSearchRange(this._editor.getModel(),t);return this._editor.getModel().findMatches(this._state.searchString,o,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null,n,r)},e.prototype.replaceAll=function(){if(this._hasMatches()){var e=this._decorations.getFindScope();null===e&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}},e.prototype._largeReplaceAll=function(){var e=new h.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null).parseSearchRequest();if(e){var t=e.regex;if(!t.multiline){var n="m";t.ignoreCase&&(n+="i"),t.global&&(n+="g"),t=new RegExp(t.source,n)}var r,o=this._editor.getModel(),i=o.getValue(1),s=o.getFullModelRange(),a=this._getReplacePattern();r=a.hasReplacementPatterns?i.replace(t,(function(){return a.buildReplaceString(arguments)})):i.replace(t,a.buildReplaceString(null));var u=new c.b(s,r,this._editor.getSelection());this._executeEditorCommand("replaceAll",u)}},e.prototype._regularReplaceAll=function(e){for(var t=this._getReplacePattern(),n=this._findMatches(e,t.hasReplacementPatterns,1073741824),r=[],o=0,i=n.length;ot&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,r.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,r.matchesCount=!0,o=!0),"undefined"!==typeof n&&(d.a.equalsRange(this._currentMatch,n)||(this._currentMatch=n,r.currentMatch=!0,o=!0)),o&&this._onFindReplaceStateChange.fire(r)},e.prototype.change=function(e,t,n){void 0===n&&(n=!0);var r={moveCursor:t,updateHistory:n,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},o=!1,i=this.isRegex,s=this.wholeWord,a=this.matchCase;"undefined"!==typeof e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,r.searchString=!0,o=!0),"undefined"!==typeof e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,r.replaceString=!0,o=!0),"undefined"!==typeof e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,r.isRevealed=!0,o=!0),"undefined"!==typeof e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,r.isReplaceRevealed=!0,o=!0),"undefined"!==typeof e.isRegex&&(this._isRegex=e.isRegex),"undefined"!==typeof e.wholeWord&&(this._wholeWord=e.wholeWord),"undefined"!==typeof e.matchCase&&(this._matchCase=e.matchCase),"undefined"!==typeof e.searchScope&&(d.a.equalsRange(this._searchScope,e.searchScope)||(this._searchScope=e.searchScope,r.searchScope=!0,o=!0)),this._isRegexOverride="undefined"!==typeof e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride="undefined"!==typeof e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride="undefined"!==typeof e.matchCaseOverride?e.matchCaseOverride:0,i!==this.isRegex&&(o=!0,r.isRegex=!0),s!==this.wholeWord&&(o=!0,r.wholeWord=!0),a!==this.matchCase&&(o=!0,r.matchCase=!0),o&&this._onFindReplaceStateChange.fire(r)},e}(),fe=(n(349),n(127)),ge=n(12),me=n(14),ye=n(160),ve=(n(352),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),be=r.a("defaultLabel","input"),_e=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i._showOptionButtons=r,i.fixFocusOnOptionClickEnabled=!0,i._onDidOptionChange=i._register(new Z.a),i.onDidOptionChange=i._onDidOptionChange.event,i._onKeyDown=i._register(new Z.a),i.onKeyDown=i._onKeyDown.event,i._onMouseDown=i._register(new Z.a),i.onMouseDown=i._onMouseDown.event,i._onInput=i._register(new Z.a),i._onKeyUp=i._register(new Z.a),i._onCaseSensitiveKeyDown=i._register(new Z.a),i.onCaseSensitiveKeyDown=i._onCaseSensitiveKeyDown.event,i._onRegexKeyDown=i._register(new Z.a),i._lastHighlightFindOptions=0,i.contextViewProvider=n,i.placeholder=o.placeholder||"",i.validation=o.validation,i.label=o.label||be,i.inputActiveOptionBorder=o.inputActiveOptionBorder,i.inputBackground=o.inputBackground,i.inputForeground=o.inputForeground,i.inputBorder=o.inputBorder,i.inputValidationInfoBorder=o.inputValidationInfoBorder,i.inputValidationInfoBackground=o.inputValidationInfoBackground,i.inputValidationInfoForeground=o.inputValidationInfoForeground,i.inputValidationWarningBorder=o.inputValidationWarningBorder,i.inputValidationWarningBackground=o.inputValidationWarningBackground,i.inputValidationWarningForeground=o.inputValidationWarningForeground,i.inputValidationErrorBorder=o.inputValidationErrorBorder,i.inputValidationErrorBackground=o.inputValidationErrorBackground,i.inputValidationErrorForeground=o.inputValidationErrorForeground,i.buildDomNode(o.appendCaseSensitiveLabel||"",o.appendWholeWordsLabel||"",o.appendRegexLabel||"",o.history||[],!!o.flexibleHeight),t&&t.appendChild(i.domNode),i.onkeydown(i.inputBox.inputElement,(function(e){return i._onKeyDown.fire(e)})),i.onkeyup(i.inputBox.inputElement,(function(e){return i._onKeyUp.fire(e)})),i.oninput(i.inputBox.inputElement,(function(e){return i._onInput.fire()})),i.onmousedown(i.inputBox.inputElement,(function(e){return i._onMouseDown.fire(e)})),i}return ve(t,e),t.prototype.enable=function(){$.G(this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()},t.prototype.disable=function(){$.f(this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()},t.prototype.setFocusInputOnOptionClick=function(e){this.fixFocusOnOptionClickEnabled=e},t.prototype.setEnabled=function(e){e?this.enable():this.disable()},t.prototype.getValue=function(){return this.inputBox.value},t.prototype.setValue=function(e){this.inputBox.value!==e&&(this.inputBox.value=e)},t.prototype.style=function(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){if(this.domNode){var e={inputActiveOptionBorder:this.inputActiveOptionBorder};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);var t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}},t.prototype.select=function(){this.inputBox.select()},t.prototype.focus=function(){this.inputBox.focus()},t.prototype.getCaseSensitive=function(){return this.caseSensitive.checked},t.prototype.setCaseSensitive=function(e){this.caseSensitive.checked=e},t.prototype.getWholeWords=function(){return this.wholeWords.checked},t.prototype.setWholeWords=function(e){this.wholeWords.checked=e},t.prototype.getRegex=function(){return this.regex.checked},t.prototype.setRegex=function(e){this.regex.checked=e,this.validate()},t.prototype.focusOnCaseSensitive=function(){this.caseSensitive.focus()},t.prototype.highlightFindOptions=function(){$.G(this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,$.f(this.domNode,"highlight-"+this._lastHighlightFindOptions)},t.prototype.buildDomNode=function(e,t,n,r,o){var i=this;if(this.domNode=document.createElement("div"),$.f(this.domNode,"monaco-findInput"),this.inputBox=this._register(new ye.a(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:r,flexibleHeight:o})),this.regex=this._register(new ce({appendTitle:n,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder})),this._register(this.regex.onChange((function(e){i._onDidOptionChange.fire(e),!e&&i.fixFocusOnOptionClickEnabled&&i.inputBox.focus(),i.validate()}))),this._register(this.regex.onKeyDown((function(e){i._onRegexKeyDown.fire(e)}))),this.wholeWords=this._register(new ue({appendTitle:t,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder})),this._register(this.wholeWords.onChange((function(e){i._onDidOptionChange.fire(e),!e&&i.fixFocusOnOptionClickEnabled&&i.inputBox.focus(),i.validate()}))),this.caseSensitive=this._register(new ae({appendTitle:e,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder})),this._register(this.caseSensitive.onChange((function(e){i._onDidOptionChange.fire(e),!e&&i.fixFocusOnOptionClickEnabled&&i.inputBox.focus(),i.validate()}))),this._register(this.caseSensitive.onKeyDown((function(e){i._onCaseSensitiveKeyDown.fire(e)}))),this._showOptionButtons){var s=this.caseSensitive.width()+this.wholeWords.width()+this.regex.width()+"px";this.inputBox.inputElement.style.paddingRight=s,this.inputBox.mirrorElement&&(this.inputBox.mirrorElement.style.paddingRight=s)}var a=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,(function(e){if(e.equals(15)||e.equals(17)||e.equals(9)){var t=a.indexOf(document.activeElement);if(t>=0){var n=-1;e.equals(17)?n=(t+1)%a.length:e.equals(15)&&(n=0===t?a.length-1:t-1),e.equals(9)?a[t].blur():n>=0&&a[n].focus(),$.c.stop(e,!0)}}}));var u=document.createElement("div");u.className="controls",u.style.display=this._showOptionButtons?"block":"none",u.appendChild(this.caseSensitive.domNode),u.appendChild(this.wholeWords.domNode),u.appendChild(this.regex.domNode),this.domNode.appendChild(u)},t.prototype.validate=function(){this.inputBox&&this.inputBox.validate()},t.prototype.clearMessage=function(){this.inputBox&&this.inputBox.hideMessage()},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t}(X.a),we=n(88),xe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ce=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},Se=function(e,t){return function(n,r){t(n,r,e)}};function ke(e,t){return e.getContext(document.activeElement).getValue(t)}function Ee(e,t){var n=function(e,t){return e.createScoped(t.target)}(e,t);return function(e,t,n){new k.f(n,t).bindTo(e)}(n,t,"historyNavigationWidget"),{scopedContextKeyService:n,historyNavigationEnablement:new k.f("historyNavigationEnabled",!0).bindTo(n)}}var Te=function(e){function t(t,n,r,o){var i=e.call(this,t,n,r)||this;return i._register(Ee(o,{target:i.element,historyNavigator:i}).scopedContextKeyService),i}return xe(t,e),t=Ce([Se(3,k.e)],t)}(ye.a),Oe=function(e){function t(t,n,r,o,i){void 0===i&&(i=!1);var s=e.call(this,t,n,i,r)||this;return s._register(Ee(o,{target:s.inputBox.element,historyNavigator:s.inputBox}).scopedContextKeyService),s}return xe(t,e),t=Ce([Se(3,k.e)],t)}(_e);we.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:k.d.and(new k.b("historyNavigationWidget"),new k.c("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:function(e,t){var n=ke(e.get(k.e),"historyNavigationWidget");n&&n.historyNavigator.showPreviousValue()}}),we.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:new k.a([new k.b("historyNavigationWidget"),new k.c("historyNavigationEnabled",!0)]),primary:18,secondary:[530],handler:function(e,t){var n=ke(e.get(k.e),"historyNavigationWidget");n&&n.historyNavigator.showNextValue()}});var De=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ae=r.a("label.find","Find"),Le=r.a("placeholder.find","Find"),Pe=r.a("label.previousMatchButton","Previous match"),Ie=r.a("label.nextMatchButton","Next match"),Ne=r.a("label.toggleSelectionFind","Find in selection"),je=r.a("label.closeButton","Close"),Me=r.a("label.replace","Replace"),Re=r.a("placeholder.replace","Replace"),Fe=r.a("label.replaceButton","Replace"),Be=r.a("label.replaceAllButton","Replace All"),We=r.a("label.toggleReplaceButton","Toggle Replace mode"),Ve=r.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),He=r.a("label.matchesLocation","{0} of {1}"),Ue=r.a("label.noResults","No Results"),ze=69,Ke=17+(ze+3+1)+92+2,qe=function(e){this.afterLineNumber=e,this.heightInPx=34,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"},Ge=function(e){function t(t,n,r,s,a,u,c){var l=e.call(this)||this;return l._codeEditor=t,l._controller=n,l._state=r,l._contextViewProvider=s,l._keybindingService=a,l._contextKeyService=u,l._isVisible=!1,l._isReplaceVisible=!1,l._ignoreChangeEvent=!1,l._updateHistoryDelayer=new o.a(500),l._register(Object(i.f)((function(){return l._updateHistoryDelayer.cancel()}))),l._register(l._state.onFindReplaceStateChange((function(e){return l._onStateChanged(e)}))),l._buildDomNode(),l._updateButtons(),l._tryUpdateWidgetWidth(),l._register(l._codeEditor.onDidChangeConfiguration((function(e){if(e.readOnly&&(l._codeEditor.getConfiguration().readOnly&&l._state.change({isReplaceRevealed:!1},!1),l._updateButtons()),e.layoutInfo&&l._tryUpdateWidgetWidth(),e.accessibilitySupport&&l.updateAccessibilitySupport(),e.contribInfo){var t=l._codeEditor.getConfiguration().contribInfo.find.addExtraSpaceOnTop;t&&!l._viewZone&&(l._viewZone=new qe(0),l._showViewZone()),!t&&l._viewZone&&l._removeViewZone()}}))),l.updateAccessibilitySupport(),l._register(l._codeEditor.onDidChangeCursorSelection((function(){l._isVisible&&l._updateToggleSelectionFindButton()}))),l._register(l._codeEditor.onDidFocusEditorWidget((function(){if(l._isVisible){var e=l._controller.getGlobalBufferTerm();e&&e!==l._state.searchString&&(l._state.change({searchString:e},!0),l._findInput.select())}}))),l._findInputFocused=T.bindTo(u),l._findFocusTracker=l._register($.Q(l._findInput.inputBox.inputElement)),l._register(l._findFocusTracker.onDidFocus((function(){l._findInputFocused.set(!0),l._updateSearchScope()}))),l._register(l._findFocusTracker.onDidBlur((function(){l._findInputFocused.set(!1)}))),l._replaceInputFocused=O.bindTo(u),l._replaceFocusTracker=l._register($.Q(l._replaceInputBox.inputElement)),l._register(l._replaceFocusTracker.onDidFocus((function(){l._replaceInputFocused.set(!0),l._updateSearchScope()}))),l._register(l._replaceFocusTracker.onDidBlur((function(){l._replaceInputFocused.set(!1)}))),l._codeEditor.addOverlayWidget(l),l._codeEditor.getConfiguration().contribInfo.find.addExtraSpaceOnTop&&(l._viewZone=new qe(0)),l._applyTheme(c.getTheme()),l._register(c.onThemeChange(l._applyTheme.bind(l))),l._register(l._codeEditor.onDidChangeModel((function(){l._isVisible&&void 0!==l._viewZoneId&&l._codeEditor.changeViewZones((function(e){l._viewZoneId&&e.removeZone(l._viewZoneId),l._viewZoneId=void 0}))}))),l._register(l._codeEditor.onDidScrollChange((function(e){e.scrollTopChanged?l._layoutViewZone():setTimeout((function(){l._layoutViewZone()}),0)}))),l}return De(t,e),t.prototype.getId=function(){return t.ID},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return this._isVisible?{preference:0}:null},t.prototype._onStateChanged=function(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getConfiguration().readOnly||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInputBox.width=this._findInput.inputBox.width,this._updateButtons()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){var t=this._state.searchString.length>0&&0===this._state.matchesCount;$.P(this._domNode,"no-results",t),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory()},t.prototype._delayedUpdateHistory=function(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))},t.prototype._updateHistory=function(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInputBox.addToHistory()},t.prototype._updateMatchesCount=function(){var e;if(this._matchesCount.style.minWidth=ze+"px",this._state.matchesCount>=19999?this._matchesCount.title=Ve:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){var t=String(this._state.matchesCount);this._state.matchesCount>=19999&&(t+="+");var n=String(this._state.matchesPosition);"0"===n&&(n="?"),e=s.p(He,n,t)}else e=Ue;this._matchesCount.appendChild(document.createTextNode(e)),ze=Math.max(ze,this._matchesCount.clientWidth)},t.prototype._updateToggleSelectionFindButton=function(){var e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),n=this._toggleSelectionFind.checked;this._toggleSelectionFind.setEnabled(this._isVisible&&(n||t))},t.prototype._updateButtons=function(){this._findInput.setEnabled(this._isVisible),this._replaceInputBox.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);var e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t),this._nextBtn.setEnabled(this._isVisible&&e&&t),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),$.P(this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("collapse",!this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("expand",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);var n=!this._codeEditor.getConfiguration().readOnly;this._toggleReplaceBtn.setEnabled(this._isVisible&&n)},t.prototype._reveal=function(){var e=this;if(!this._isVisible){this._isVisible=!0;var t=this._codeEditor.getSelection();!!t&&(t.startLineNumber!==t.endLineNumber||t.startColumn!==t.endColumn)&&this._codeEditor.getConfiguration().contribInfo.find.autoFindInSelection?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout((function(){$.f(e._domNode,"visible"),e._domNode.setAttribute("aria-hidden","false")}),0),setTimeout((function(){e._findInput.validate()}),200),this._codeEditor.layoutOverlayWidget(this);var n=!0;if(this._codeEditor.getConfiguration().contribInfo.find.seedSearchStringFromSelection&&t){var r=this._codeEditor.getDomNode();if(r){var o=$.v(r),i=this._codeEditor.getScrolledVisiblePosition(t.getStartPosition()),s=o.left+(i?i.left:0),a=i?i.top:0;if(this._viewZone&&at.startLineNumber&&(n=!1);var u=$.x(this._domNode).left;s>u&&(n=!1);var c=this._codeEditor.getScrolledVisiblePosition(t.getEndPosition());o.left+(c?c.left:0)>u&&(n=!1)}}}this._showViewZone(n)}},t.prototype._hide=function(e){this._isVisible&&(this._isVisible=!1,this._updateButtons(),$.G(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())},t.prototype._layoutViewZone=function(){var e=this;if(this._codeEditor.getConfiguration().contribInfo.find.addExtraSpaceOnTop){if(this._isVisible){var t=this._viewZone;void 0===this._viewZoneId&&t&&this._codeEditor.changeViewZones((function(n){e._state.isReplaceRevealed?t.heightInPx=64:t.heightInPx=34,e._viewZoneId=n.addZone(t),e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()+t.heightInPx)}))}}else this._removeViewZone()},t.prototype._showViewZone=function(e){var t=this;void 0===e&&(e=!0);var n=this._viewZone;this._isVisible&&n&&this._codeEditor.changeViewZones((function(r){var o=34;void 0!==t._viewZoneId?(t._state.isReplaceRevealed?(n.heightInPx=64,o=30):(n.heightInPx=34,o=-30),r.removeZone(t._viewZoneId)):n.heightInPx=34,t._viewZoneId=r.addZone(n),e&&t._codeEditor.setScrollTop(t._codeEditor.getScrollTop()+o)}))},t.prototype._removeViewZone=function(){var e=this;this._codeEditor.changeViewZones((function(t){void 0!==e._viewZoneId&&(t.removeZone(e._viewZoneId),e._viewZoneId=void 0,e._viewZone&&(e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()-e._viewZone.heightInPx),e._viewZone=void 0))}))},t.prototype._applyTheme=function(e){var t={inputActiveOptionBorder:e.getColor(m.L),inputBackground:e.getColor(m.M),inputForeground:e.getColor(m.O),inputBorder:e.getColor(m.N),inputValidationInfoBackground:e.getColor(m.S),inputValidationInfoForeground:e.getColor(m.U),inputValidationInfoBorder:e.getColor(m.T),inputValidationWarningBackground:e.getColor(m.V),inputValidationWarningForeground:e.getColor(m.X),inputValidationWarningBorder:e.getColor(m.W),inputValidationErrorBackground:e.getColor(m.P),inputValidationErrorForeground:e.getColor(m.R),inputValidationErrorBorder:e.getColor(m.Q)};this._findInput.style(t),this._replaceInputBox.style(t)},t.prototype._tryUpdateWidgetWidth=function(){if(this._isVisible){var e=this._codeEditor.getConfiguration().layoutInfo.width,t=this._codeEditor.getConfiguration().layoutInfo.minimapWidth,n=!1,r=!1,o=!1;if(this._resized)if($.z(this._domNode)>411)return this._domNode.style.maxWidth=e-28-t-15+"px",void(this._replaceInputBox.inputElement.style.width=$.z(this._findInput.inputBox.inputElement)+"px");if(439+t>=e&&(r=!0),439+t-ze>=e&&(o=!0),439+t-ze>=e+50&&(n=!0),$.P(this._domNode,"collapsed-find-widget",n),$.P(this._domNode,"narrow-find-widget",o),$.P(this._domNode,"reduced-find-widget",r),o||n||(this._domNode.style.maxWidth=e-28-t-15+"px"),this._resized){var i=$.z(this._findInput.inputBox.inputElement);i>0&&(this._replaceInputBox.inputElement.style.width=i+"px")}}},t.prototype.focusFindInput=function(){this._findInput.select(),this._findInput.focus()},t.prototype.focusReplaceInput=function(){this._replaceInputBox.select(),this._replaceInputBox.focus()},t.prototype.highlightFindOptions=function(){this._findInput.highlightFindOptions()},t.prototype._updateSearchScope=function(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){var e=this._codeEditor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));var t=this._state.currentMatch;e.startLineNumber!==e.endLineNumber&&(d.a.equalsRange(e,t)||this._state.change({searchScope:e},!0))}},t.prototype._onFindInputMouseDown=function(e){e.middleButton&&e.stopPropagation()},t.prototype._onFindInputKeyDown=function(e){return e.equals(3)?(this._codeEditor.getAction(j).run().then(void 0,ge.e),void e.preventDefault()):e.equals(1027)?(this._codeEditor.getAction(M).run().then(void 0,ge.e),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInputBox.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):void 0},t.prototype._onReplaceInputKeyDown=function(e){return e.equals(3)?(this._controller.replace(),void e.preventDefault()):e.equals(2051)?(this._controller.replaceAll(),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):void 0},t.prototype.getHorizontalSashTop=function(e){return 0},t.prototype.getHorizontalSashLeft=function(e){return 0},t.prototype.getHorizontalSashWidth=function(e){return 500},t.prototype._keybindingLabelFor=function(e){var t=this._keybindingService.lookupKeybinding(e);return t?" ("+t.getLabel()+")":""},t.prototype._buildFindPart=function(){var e=this;this._findInput=this._register(new Oe(null,this._contextViewProvider,{width:221,label:Ae,placeholder:Le,appendCaseSensitiveLabel:this._keybindingLabelFor(V),appendWholeWordsLabel:this._keybindingLabelFor(H),appendRegexLabel:this._keybindingLabelFor(U),validation:function(t){if(0===t.length||!e._findInput.getRegex())return null;try{return new RegExp(t),null}catch(n){return{content:n.message}}}},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown((function(t){return e._onFindInputKeyDown(t)}))),this._register(this._findInput.inputBox.onDidChange((function(){e._ignoreChangeEvent||e._state.change({searchString:e._findInput.getValue()},!0)}))),this._register(this._findInput.onDidOptionChange((function(){e._state.change({isRegex:e._findInput.getRegex(),wholeWord:e._findInput.getWholeWords(),matchCase:e._findInput.getCaseSensitive()},!0)}))),this._register(this._findInput.onCaseSensitiveKeyDown((function(t){t.equals(1026)&&e._isReplaceVisible&&(e._replaceInputBox.focus(),t.preventDefault())}))),me.c&&this._register(this._findInput.onMouseDown((function(t){return e._onFindInputMouseDown(t)}))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new $e({label:Pe+this._keybindingLabelFor(M),className:"previous",onTrigger:function(){e._codeEditor.getAction(M).run().then(void 0,ge.e)}})),this._nextBtn=this._register(new $e({label:Ie+this._keybindingLabelFor(j),className:"next",onTrigger:function(){e._codeEditor.getAction(j).run().then(void 0,ge.e)}}));var t=document.createElement("div");return t.className="find-part",t.appendChild(this._findInput.domNode),t.appendChild(this._matchesCount),t.appendChild(this._prevBtn.domNode),t.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new Ye({parent:t,title:Ne+this._keybindingLabelFor(z),onChange:function(){if(e._toggleSelectionFind.checked){if(e._codeEditor.hasModel()){var t=e._codeEditor.getSelection();1===t.endColumn&&t.endLineNumber>t.startLineNumber&&(t=t.setEndPosition(t.endLineNumber-1,e._codeEditor.getModel().getLineMaxColumn(t.endLineNumber-1))),t.isEmpty()||e._state.change({searchScope:t},!0)}}else e._state.change({searchScope:null},!0)}})),this._closeBtn=this._register(new $e({label:je+this._keybindingLabelFor(W),className:"close-fw",onTrigger:function(){e._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:function(t){t.equals(2)&&e._isReplaceVisible&&(e._replaceBtn.isEnabled()?e._replaceBtn.focus():e._codeEditor.focus(),t.preventDefault())}})),t.appendChild(this._closeBtn.domNode),t},t.prototype._buildReplacePart=function(){var e=this,t=document.createElement("div");t.className="replace-input",t.style.width="221px",this._replaceInputBox=this._register(new Te(t,void 0,{ariaLabel:Me,placeholder:Re,history:[]},this._contextKeyService)),this._register($.k(this._replaceInputBox.inputElement,"keydown",(function(t){return e._onReplaceInputKeyDown(t)}))),this._register(this._replaceInputBox.onDidChange((function(){e._state.change({replaceString:e._replaceInputBox.value},!1)}))),this._replaceBtn=this._register(new $e({label:Fe+this._keybindingLabelFor(K),className:"replace",onTrigger:function(){e._controller.replace()},onKeyDown:function(t){t.equals(1026)&&(e._closeBtn.focus(),t.preventDefault())}})),this._replaceAllBtn=this._register(new $e({label:Be+this._keybindingLabelFor(q),className:"replace-all",onTrigger:function(){e._controller.replaceAll()}}));var n=document.createElement("div");return n.className="replace-part",n.appendChild(t),n.appendChild(this._replaceBtn.domNode),n.appendChild(this._replaceAllBtn.domNode),n},t.prototype._buildDomNode=function(){var e=this,t=this._buildFindPart(),n=this._buildReplacePart();this._toggleReplaceBtn=this._register(new $e({label:We,className:"toggle left",onTrigger:function(){e._state.change({isReplaceRevealed:!e._isReplaceVisible},!1),e._isReplaceVisible&&(e._replaceInputBox.width=e._findInput.inputBox.width),e._showViewZone()}})),this._toggleReplaceBtn.toggleClass("expand",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("collapse",!this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="411px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(t),this._domNode.appendChild(n),this._buildSash()},t.prototype._buildSash=function(){var e=this;this._resizeSash=new fe.a(this._domNode,this,{orientation:0}),this._resized=!1;var t=411;this._register(this._resizeSash.onDidStart((function(){t=$.z(e._domNode)}))),this._register(this._resizeSash.onDidChange((function(n){e._resized=!0;var r=t+n.startX-n.currentX;if(!(r<411)){var o=r-Ke;r>(parseFloat($.s(e._domNode).maxWidth)||0)||(e._domNode.style.width=r+"px",e._isReplaceVisible&&(e._replaceInputBox.width=o))}})))},t.prototype.updateAccessibilitySupport=function(){var e=this._codeEditor.getConfiguration().accessibilitySupport;this._findInput.setFocusInputOnOptionClick(2!==e)},t.ID="editor.contrib.findWidget",t}(X.a),Ye=function(e){function t(n){var r=e.call(this)||this;return r._opts=n,r._domNode=document.createElement("div"),r._domNode.className="monaco-checkbox",r._domNode.title=r._opts.title,r._domNode.tabIndex=0,r._checkbox=document.createElement("input"),r._checkbox.type="checkbox",r._checkbox.className="checkbox",r._checkbox.id="checkbox-"+t._COUNTER++,r._checkbox.tabIndex=-1,r._label=document.createElement("label"),r._label.className="label",r._label.htmlFor=r._checkbox.id,r._label.tabIndex=-1,r._domNode.appendChild(r._checkbox),r._domNode.appendChild(r._label),r._opts.parent.appendChild(r._domNode),r.onchange(r._checkbox,(function(){r._opts.onChange()})),r}return De(t,e),Object.defineProperty(t.prototype,"domNode",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checkbox.checked},set:function(e){this._checkbox.checked=e},enumerable:!0,configurable:!0}),t.prototype.enable=function(){this._checkbox.removeAttribute("disabled")},t.prototype.disable=function(){this._checkbox.disabled=!0},t.prototype.setEnabled=function(e){e?(this.enable(),this.domNode.tabIndex=0):(this.disable(),this.domNode.tabIndex=-1)},t._COUNTER=0,t}(X.a),$e=function(e){function t(t){var n=e.call(this)||this;return n._opts=t,n._domNode=document.createElement("div"),n._domNode.title=n._opts.label,n._domNode.tabIndex=0,n._domNode.className="button "+n._opts.className,n._domNode.setAttribute("role","button"),n._domNode.setAttribute("aria-label",n._opts.label),n.onclick(n._domNode,(function(e){n._opts.onTrigger(),e.preventDefault()})),n.onkeydown(n._domNode,(function(e){if(e.equals(10)||e.equals(3))return n._opts.onTrigger(),void e.preventDefault();n._opts.onKeyDown&&n._opts.onKeyDown(e)})),n}return De(t,e),Object.defineProperty(t.prototype,"domNode",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),t.prototype.isEnabled=function(){return this._domNode.tabIndex>=0},t.prototype.focus=function(){this._domNode.focus()},t.prototype.setEnabled=function(e){$.P(this._domNode,"disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1},t.prototype.setExpanded=function(e){this._domNode.setAttribute("aria-expanded",String(!!e))},t.prototype.toggleClass=function(e,t){$.P(this._domNode,e,t)},t}(X.a);Object(y.e)((function(e,t){var n=function(e,n){n&&t.addRule(".monaco-editor "+e+" { background-color: "+n+"; }")};n(".findMatch",e.getColor(m.r)),n(".currentFindMatch",e.getColor(m.p)),n(".findScope",e.getColor(m.t)),n(".find-widget",e.getColor(m.F));var r=e.getColor(m.Kb);r&&t.addRule(".monaco-editor .find-widget { box-shadow: 0 2px 8px "+r+"; }");var o=e.getColor(m.s);o&&t.addRule(".monaco-editor .findMatch { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+o+"; box-sizing: border-box; }");var i=e.getColor(m.q);i&&t.addRule(".monaco-editor .currentFindMatch { border: 2px solid "+i+"; padding: 1px; box-sizing: border-box; }");var s=e.getColor(m.u);s&&t.addRule(".monaco-editor .findScope { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+s+"; }");var a=e.getColor(m.e);a&&t.addRule(".monaco-editor .find-widget { border: 2px solid "+a+"; }");var u=e.getColor(m.I);u&&t.addRule(".monaco-editor .find-widget.no-results .matchesCount { color: "+u+"; }");var c=e.getColor(m.H);if(c)t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+c+"; width: 3px !important; margin-left: -4px;}");else{var l=e.getColor(m.G);l&&t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+l+"; width: 3px !important; margin-left: -4px;}")}var d=e.getColor(m.L);d&&t.addRule(".monaco-editor .find-widget .monaco-checkbox .checkbox:checked + .label { border: 1px solid "+d.toString()+"; }")}));var Xe=n(169),Je=n(72),Ze=n(19),Qe=n(49),et=n(83),tt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nt=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},rt=function(e,t){return function(n,r){t(n,r,e)}};function ot(e){if(!e.hasModel())return null;var t=e.getSelection();if(t.startLineNumber===t.endLineNumber)if(t.isEmpty()){var n=e.getModel().getWordAtPosition(t.getStartPosition());if(n)return n.word}else if(e.getModel().getValueLengthInRange(t)<524288)return e.getModel().getValueInRange(t);return null}var it=function(e){function t(t,n,r,i){var s=e.call(this)||this;return s._editor=t,s._findWidgetVisible=E.bindTo(n),s._contextKeyService=n,s._storageService=r,s._clipboardService=i,s._updateHistoryDelayer=new o.a(500),s._state=s._register(new he),s.loadQueryState(),s._register(s._state.onFindReplaceStateChange((function(e){return s._onStateChanged(e)}))),s._model=null,s._register(s._editor.onDidChangeModel((function(){var e=s._editor.getModel()&&s._state.isRevealed;s.disposeModel(),s._state.change({searchScope:null,matchCase:s._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:s._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:s._storageService.getBoolean("editor.isRegex",1,!1)},!1),e&&s._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1})}))),s}return tt(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.dispose=function(){this.disposeModel(),e.prototype.dispose.call(this)},t.prototype.disposeModel=function(){this._model&&(this._model.dispose(),this._model=null)},t.prototype.getId=function(){return t.ID},t.prototype._onStateChanged=function(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)},t.prototype.saveQueryState=function(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1)},t.prototype.loadQueryState=function(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex)},!1)},t.prototype.isFindInputFocused=function(){return!!T.getValue(this._contextKeyService)},t.prototype.getState=function(){return this._state},t.prototype.closeFindWidget=function(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()},t.prototype.toggleCaseSensitive=function(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleWholeWords=function(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleRegex=function(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleSearchScope=function(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){var e=this._editor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()||this._state.change({searchScope:e},!0)}},t.prototype.setSearchString=function(e){this._state.isRegex&&(e=s.n(e)),this._state.change({searchString:e},!1)},t.prototype.highlightFindOptions=function(){},t.prototype._start=function(e){if(this.disposeModel(),this._editor.hasModel()){var t,n={isRevealed:!0};if(e.seedSearchStringFromSelection)(t=ot(this._editor))&&(this._state.isRegex?n.searchString=s.n(t):n.searchString=t);if(!n.searchString&&e.seedSearchStringFromGlobalClipboard)(t=this.getGlobalBufferTerm())&&(n.searchString=t);if(e.forceRevealReplace?n.isReplaceRevealed=!0:this._findWidgetVisible.get()||(n.isReplaceRevealed=!1),e.updateSearchScope){var r=this._editor.getSelection();r.isEmpty()||(n.searchScope=r)}this._state.change(n,!1),this._model||(this._model=new Y(this._editor,this._state))}},t.prototype.start=function(e){this._start(e)},t.prototype.moveToNextMatch=function(){return!!this._model&&(this._model.moveToNextMatch(),!0)},t.prototype.moveToPrevMatch=function(){return!!this._model&&(this._model.moveToPrevMatch(),!0)},t.prototype.replace=function(){return!!this._model&&(this._model.replace(),!0)},t.prototype.replaceAll=function(){return!!this._model&&(this._model.replaceAll(),!0)},t.prototype.selectAllMatches=function(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)},t.prototype.getGlobalBufferTerm=function(){return this._editor.getConfiguration().contribInfo.find.globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""},t.prototype.setGlobalBufferTerm=function(e){this._editor.getConfiguration().contribInfo.find.globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)},t.ID="editor.contrib.findController",t=nt([rt(1,k.e),rt(2,et.a),rt(3,Xe.a)],t)}(i.a),st=function(e){function t(t,n,r,o,i,s,a){var u=e.call(this,t,r,s,a)||this;return u._contextViewService=n,u._keybindingService=o,u._themeService=i,u}return tt(t,e),t.prototype._start=function(t){this._widget||this._createFindWidget(),!this._widget.getPosition()&&this._editor.getConfiguration().contribInfo.find.autoFindInSelection&&(t.updateSearchScope=!0),e.prototype._start.call(this,t),2===t.shouldFocus?this._widget.focusReplaceInput():1===t.shouldFocus&&this._widget.focusFindInput()},t.prototype.highlightFindOptions=function(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()},t.prototype._createFindWidget=function(){this._widget=this._register(new Ge(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService)),this._findOptionsWidget=this._register(new de(this._editor,this._state,this._keybindingService,this._themeService))},t=nt([rt(1,Je.b),rt(2,k.e),rt(3,Qe.a),rt(4,y.c),rt(5,et.a),rt(6,Object(Ze.d)(Xe.a))],t)}(it),at=function(e){function t(){return e.call(this,{id:I,label:r.a("startFindAction","Find"),alias:"Find",precondition:null,kbOpts:{kbExpr:null,primary:2084,weight:100},menubarOpts:{menuId:14,group:"3_find",title:r.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})||this}return tt(t,e),t.prototype.run=function(e,t){var n=it.get(t);n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getConfiguration().contribInfo.find.seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getConfiguration().contribInfo.find.globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1})},t}(a.b),ut=function(e){function t(){return e.call(this,{id:N,label:r.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:null,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})||this}return tt(t,e),t.prototype.run=function(e,t){var n=it.get(t);n&&(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1}),n.setGlobalBufferTerm(n.getState().searchString))},t}(a.b),ct=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return tt(t,e),t.prototype.run=function(e,t){var n=it.get(t);n&&!this._run(n)&&(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===n.getState().searchString.length&&t.getConfiguration().contribInfo.find.seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(n))},t}(a.b),lt=function(e){function t(){return e.call(this,{id:j,label:r.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:null,kbOpts:{kbExpr:u.a.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100}})||this}return tt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(ct),dt=function(e){function t(){return e.call(this,{id:M,label:r.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:null,kbOpts:{kbExpr:u.a.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100}})||this}return tt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(ct),pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return tt(t,e),t.prototype.run=function(e,t){var n=it.get(t);if(n){var r=ot(t);r&&n.setSearchString(r),this._run(n)||(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getConfiguration().contribInfo.find.seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(n))}},t}(a.b),ht=function(e){function t(){return e.call(this,{id:R,label:r.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:null,kbOpts:{kbExpr:u.a.focus,primary:2109,weight:100}})||this}return tt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(pt),ft=function(e){function t(){return e.call(this,{id:F,label:r.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:null,kbOpts:{kbExpr:u.a.focus,primary:3133,weight:100}})||this}return tt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(pt),gt=function(e){function t(){return e.call(this,{id:B,label:r.a("startReplace","Replace"),alias:"Replace",precondition:null,kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menubarOpts:{menuId:14,group:"3_find",title:r.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})||this}return tt(t,e),t.prototype.run=function(e,t){if(t.hasModel()&&!t.getConfiguration().readOnly){var n=it.get(t),r=t.getSelection(),o=n.isFindInputFocused(),i=!r.isEmpty()&&r.startLineNumber===r.endLineNumber&&t.getConfiguration().contribInfo.find.seedSearchStringFromSelection&&!o,s=o||i?2:1;n&&n.start({forceRevealReplace:!0,seedSearchStringFromSelection:i,seedSearchStringFromGlobalClipboard:t.getConfiguration().contribInfo.find.seedSearchStringFromSelection,shouldFocus:s,shouldAnimate:!0,updateSearchScope:!1})}},t}(a.b);Object(a.h)(st),Object(a.f)(at),Object(a.f)(ut),Object(a.f)(lt),Object(a.f)(dt),Object(a.f)(ht),Object(a.f)(ft),Object(a.f)(gt);var mt=a.c.bindToContribution(it.get);Object(a.g)(new mt({id:W,precondition:E,handler:function(e){return e.closeFindWidget()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:9,secondary:[1033]}})),Object(a.g)(new mt({id:V,precondition:null,handler:function(e){return e.toggleCaseSensitive()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:D.primary,mac:D.mac,win:D.win,linux:D.linux}})),Object(a.g)(new mt({id:H,precondition:null,handler:function(e){return e.toggleWholeWords()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),Object(a.g)(new mt({id:U,precondition:null,handler:function(e){return e.toggleRegex()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:L.primary,mac:L.mac,win:L.win,linux:L.linux}})),Object(a.g)(new mt({id:z,precondition:null,handler:function(e){return e.toggleSearchScope()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:P.primary,mac:P.mac,win:P.win,linux:P.linux}})),Object(a.g)(new mt({id:K,precondition:E,handler:function(e){return e.replace()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:3094}})),Object(a.g)(new mt({id:q,precondition:E,handler:function(e){return e.replaceAll()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:2563}})),Object(a.g)(new mt({id:G,precondition:E,handler:function(e){return e.selectAllMatches()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:515}}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n(19),o=Object(r.c)("logService"),i=function(){function e(){}return e.prototype.trace=function(e){for(var t=[],n=1;n=0&&m0&&o){var O=function(e){o(e),e.children.forEach(O)};_.forEach(O)}var D=x.d.map(x.d.fromArray(_),k);return this._onDidSplice.fire({insertedNodes:y,deletedNodes:_}),D},e.prototype.rerender=function(e){if(0===e.length)throw new Error("Invalid tree location");var t=this.getTreeNodeWithListIndex(e),n=t.node,r=t.listIndex;t.revealed&&this.list.splice(r,1,[n])},e.prototype.getListIndex=function(e){var t=this.getTreeNodeWithListIndex(e),n=t.listIndex,r=t.visible,o=t.revealed;return r&&o?n:-1},e.prototype.getListRenderCount=function(e){return this.getTreeNode(e).renderNodeCount},e.prototype.isCollapsed=function(e){return this.getTreeNode(e).collapsed},e.prototype.setCollapsed=function(e,t,n){var r=this,o=this.getTreeNode(e);return"undefined"===typeof t&&(t=!o.collapsed),this.eventBufferer.bufferEvents((function(){return r._setCollapsed(e,t,n)}))},e.prototype._setCollapsed=function(e,t,n){var r=this.getTreeNodeWithListIndex(e),o=r.node,i=r.listIndex,s=r.revealed,a=this._setListNodeCollapsed(o,i,s,t,n||!1);if(this.autoExpandSingleChildren&&!t&&!n){for(var u=-1,c=0;c-1){u=-1;break}u=c}}u>-1&&this._setCollapsed(e.concat([u]),!1,!1)}return a},e.prototype._setListNodeCollapsed=function(e,t,n,r,o){var i=this._setNodeCollapsed(e,r,o,!1);if(!n||!e.visible)return i;var s=e.renderNodeCount,a=this.updateNodeAfterCollapseChange(e),u=s-(-1===t?0:1);return this.list.splice(t+1,u,a.slice(1)),i},e.prototype._setNodeCollapsed=function(e,t,n,r){var o=e.collapsible&&e.collapsed!==t;if(e.collapsible&&(e.collapsed=t,o&&this._onDidChangeCollapseState.fire({node:e,deep:r})),n)for(var i=0,s=e.children;i0,a.visibleChildrenCount=p,a.visible=2===u?p>0:1===u,a.visible?a.collapsed||(a.renderNodeCount=h):(a.renderNodeCount=0,r&&o.pop()),i&&i(a),a},e.prototype.updateNodeAfterCollapseChange=function(e){var t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n},e.prototype._updateNodeAfterCollapseChange=function(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(var n=0,r=e.children;nt.children.length)throw new Error("Invalid tree location");return this.getTreeNode(r,t.children[n])},e.prototype.getTreeNodeWithListIndex=function(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};var t=this.getParentNodeWithListIndex(e),n=t.parentNode,r=t.listIndex,o=t.revealed,i=t.visible,s=e[e.length-1];if(s<0||s>n.children.length)throw new Error("Invalid tree location");var a=n.children[s];return{node:a,listIndex:r,revealed:o,visible:i&&a.visible}},e.prototype.getParentNodeWithListIndex=function(e,t,n,r,o){void 0===t&&(t=this.root),void 0===n&&(n=0),void 0===r&&(r=!0),void 0===o&&(o=!0);var i=e[0],s=e.slice(1);if(i<0||i>t.children.length)throw new Error("Invalid tree location");for(var a=0;a0||e.triggered)&&(9===n.keyCode||1===n.keyCode)&&!n.altKey&&!n.ctrlKey&&!n.metaKey||1===n.keyCode&&(O.d?n.altKey&&!n.metaKey:n.ctrlKey)&&!n.shiftKey})).forEach((function(e){e.stopPropagation(),e.preventDefault()})).event,r=Object(_.a)(this.clearDomNode,"click");g.b.chain(g.b.any(n,r)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}},e.prototype.disable=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables=Object(i.d)(this.enabledDisposables),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)},e.prototype.onEventOrInput=function(e){"string"===typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(O.d?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)},e.prototype.onInput=function(e){var t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,(function(e){return!w.a.isDefault(e.filterData)}));var n=this.tree.getFocus();if(n.length>0){var r=n[0];null===this.tree.getRelativeTop(r)&&this.tree.reveal(r,.5)}this.render(),e||(this.triggered=!1)},e.prototype.onDragStart=function(){var e=this,t=this.view.getHTMLElement(),n=Object(r.v)(t).left,o=t.clientWidth,s=o/2,a=this.domNode.clientWidth,u=[],c=this.positionClassName,l=function(){switch(c){case"nw":e.domNode.style.top="4px",e.domNode.style.left="4px";break;case"ne":e.domNode.style.top="4px",e.domNode.style.left=o-a-6+"px"}};l(),Object(r.G)(this.domNode,c),Object(r.f)(this.domNode,"dragging"),u.push(Object(i.f)((function(){return Object(r.G)(e.domNode,"dragging")}))),Object(_.a)(document,"dragover")((function(e){e.preventDefault();var t=e.screenX-n;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),c=t0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=Object(s.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerHTML="",this._empty=!1),Object(r.P)(this.domNode,"no-matches",e),this.domNode.title=Object(s.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"\u2026"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)},e.prototype.shouldAllowFocus=function(e){return!(this.enabled&&this.pattern&&!this.filterOnType)||(this.filter.totalCount>0&&this.filter.matchCount<=1||!w.a.isDefault(e.filterData))},e.prototype.dispose=function(){this.disable(),this._onDidChangePattern.dispose(),this.disposables=Object(i.d)(this.disposables)},e}();function B(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function W(e){return{elements:e.elements.map((function(e){return e.element})),browserEvent:e.browserEvent}}function V(e,t){t(e),e.children.forEach((function(e){return V(e,t)}))}var H=function(){function e(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new g.a,this.onDidChange=this._onDidChange.event}return Object.defineProperty(e.prototype,"nodeSet",{get:function(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet},enumerable:!0,configurable:!0}),e.prototype.set=function(e,t){if(!Object(v.g)(this.nodes,e)){this.nodes=e.slice(),this.elements=void 0,this._nodeSet=void 0;var n=this;this._onDidChange.fire({get elements(){return n.get()},browserEvent:t})}},e.prototype.get=function(){return this.elements||(this.elements=this.nodes.map((function(e){return e.element}))),this.elements.slice()},e.prototype.has=function(e){return this.nodeSet.has(e)},e.prototype.onDidModelSplice=function(e){var t=this,n=e.insertedNodes,r=e.deletedNodes;if(!this.identityProvider){var o=this.createNodeSet(),i=function(e){return o.delete(e)};return r.forEach((function(e){return V(e,i)})),void this.set(Object(D.e)(o))}var s=new Set,a=function(e){return s.add(t.identityProvider.getId(e.element).toString())};r.forEach((function(e){return V(e,a)}));var u=new Map,c=function(e){return u.set(t.identityProvider.getId(e.element).toString(),e)};n.forEach((function(e){return V(e,c)}));for(var l=[],d=0,p=this.nodes;d0&&e.prototype.setFocus.call(this,Object(v.f)(e.prototype.getFocus.call(this).concat(i))),s.length>0&&e.prototype.setSelection.call(this,Object(v.f)(e.prototype.getSelection.call(this).concat(s)))}},t.prototype.setFocus=function(t,n,r){var o=this;void 0===r&&(r=!1),e.prototype.setFocus.call(this,t,n),r||this.focusTrait.set(t.map((function(e){return o.element(e)})),n)},t.prototype.setSelection=function(t,n,r){var o=this;void 0===r&&(r=!1),e.prototype.setSelection.call(this,t,n),r||this.selectionTrait.set(t.map((function(e){return o.element(e)})),n)},t}(o.b),K=function(){function e(e,t,n,r){var o,i=this;void 0===r&&(r={}),this._options=r,this.eventBufferer=new g.c,this.disposables=[],this._onWillRefilter=new g.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new g.a;var s,a,u,c=new j(t),l=new g.f;if(this.renderers=n.map((function(e){return new M(e,l.event,r)})),(o=this.disposables).push.apply(o,this.renderers),r.keyboardNavigationLabelProvider&&(s=new R(this,r.keyboardNavigationLabelProvider,r.filter),r=P({},r,{filter:s}),this.disposables.push(s)),this.focus=new H(r.identityProvider),this.selection=new H(r.identityProvider),this.view=new z(e,c,this.renderers,this.focus,this.selection,P({},(a=function(){return i.model},(u=r)&&P({},u,{identityProvider:u.identityProvider&&{getId:function(e){return u.identityProvider.getId(e.element)}},dnd:u.dnd&&new N(a,u.dnd),multipleSelectionController:u.multipleSelectionController&&{isSelectionSingleChangeEvent:function(e){return u.multipleSelectionController.isSelectionSingleChangeEvent(P({},e,{element:e.element}))},isSelectionRangeChangeEvent:function(e){return u.multipleSelectionController.isSelectionRangeChangeEvent(P({},e,{element:e.element}))}},accessibilityProvider:u.accessibilityProvider&&{getAriaLabel:function(e){return u.accessibilityProvider.getAriaLabel(e.element)},getAriaLevel:function(e){return e.depth}},keyboardNavigationLabelProvider:u.keyboardNavigationLabelProvider&&P({},u.keyboardNavigationLabelProvider,{getKeyboardNavigationLabel:function(e){return u.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),enableKeyboardNavigation:u.simpleKeyboardNavigation,ariaSetProvider:{getSetSize:function(e){return e.parent.visibleChildrenCount},getPosInSet:function(e){return e.visibleChildIndex+1}}})),{tree:this})),this.model=this.createModel(this.view,r),l.input=this.model.onDidChangeCollapseState,this.model.onDidSplice((function(e){i.focus.onDidModelSplice(e),i.selection.onDidModelSplice(e)}),null,this.disposables),!1!==r.keyboardSupport){var d=g.b.chain(this.view.onKeyDown).filter((function(e){return!B(e.target)})).map((function(e){return new m.a(e)}));d.filter((function(e){return 15===e.keyCode})).on(this.onLeftArrow,this,this.disposables),d.filter((function(e){return 17===e.keyCode})).on(this.onRightArrow,this,this.disposables),d.filter((function(e){return 10===e.keyCode})).on(this.onSpace,this,this.disposables)}r.keyboardNavigationLabelProvider&&(this.typeFilterController=new F(this,this.model,this.view,s,r.keyboardNavigationLabelProvider),this.focusNavigationFilter=function(e){return i.typeFilterController.shouldAllowFocus(e)},this.disposables.push(this.typeFilterController))}return Object.defineProperty(e.prototype,"onDidChangeFocus",{get:function(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeSelection",{get:function(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidOpen",{get:function(){return g.b.map(this.view.onDidOpen,W)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.view.onDidFocus},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openOnSingleClick",{get:function(){return"undefined"===typeof this._options.openOnSingleClick||this._options.openOnSingleClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expandOnlyOnTwistieClick",{get:function(){return"undefined"!==typeof this._options.expandOnlyOnTwistieClick&&this._options.expandOnlyOnTwistieClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidDispose",{get:function(){return this.view.onDidDispose},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e){void 0===e&&(e={}),this._options=P({},this._options,e);for(var t=0,n=this.renderers;t-1}));this.view.setSelection(o,t,!0)},e.prototype.getSelection=function(){return this.selection.get()},e.prototype.setFocus=function(e,t){var n=this,r=e.map((function(e){return n.model.getNode(e)}));this.focus.set(r,t);var o=e.map((function(e){return n.model.getListIndex(e)})).filter((function(e){return e>-1}));this.view.setFocus(o,t,!0)},e.prototype.focusNext=function(e,t,n,r){void 0===e&&(e=1),void 0===t&&(t=!1),void 0===r&&(r=this.focusNavigationFilter),this.view.focusNext(e,t,n,r)},e.prototype.getFocus=function(){return this.focus.get()},e.prototype.reveal=function(e,t){this.model.expandTo(e);var n=this.model.getListIndex(e);-1!==n&&this.view.reveal(n,t)},e.prototype.getRelativeTop=function(e){var t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)},e.prototype.onLeftArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],r=this.model.getNodeLocation(n);if(!this.model.setCollapsed(r,!0)){var o=this.model.getParentNodeLocation(r);if(null===o)return;var i=this.model.getListIndex(o);this.view.reveal(i),this.view.setFocus([i])}}},e.prototype.onRightArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],r=this.model.getNodeLocation(n);if(!this.model.setCollapsed(r,!1)){if(!n.children.some((function(e){return e.visible})))return;var o=this.view.getFocus()[0]+1;this.view.reveal(o),this.view.setFocus([o])}}},e.prototype.onSpace=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],r=this.model.getNodeLocation(n),o=e.browserEvent.altKey;this.model.setCollapsed(r,void 0,o)}},e.prototype.dispose=function(){this.disposables=Object(i.d)(this.disposables),this.view.dispose()},e}(),q=function(){return(q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]-1&&r.focus.push(l),r&&r.viewState.selection&&r.viewState.selection.indexOf(o)>-1&&r.selection.push(l),r&&r.viewState.expanded&&r.viewState.expanded.indexOf(o)>-1&&d.push(l),l})),h=0,f=Object(D.e)(s);h=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},ye=function(e,t){return function(n,r){t(n,r,e)}},ve=Object(l.c)("listService"),be=function(){function e(e){this.lists=[],this._lastFocusedWidget=void 0}return Object.defineProperty(e.prototype,"lastFocusedList",{get:function(){return this._lastFocusedWidget},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this;if(this.lists.some((function(t){return t.widget===e})))throw new Error("Cannot register the same widget multiple times");var r={widget:e,extraContextKeys:t};return this.lists.push(r),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e),Object(i.c)([e.onDidFocus((function(){return n._lastFocusedWidget=e})),Object(i.f)((function(){return n.lists.splice(n.lists.indexOf(r),1)})),e.onDidDispose((function(){n.lists=n.lists.filter((function(e){return e!==r})),n._lastFocusedWidget===e&&(n._lastFocusedWidget=void 0)}))])},e=me([ye(0,c.e)],e)}(),_e=new c.f("listFocus",!0),we=new c.f("listSupportsMultiselect",!0),xe=new c.f("listHasSelectionOrFocus",!1),Ce=new c.f("listDoubleSelection",!1),Se=new c.f("listMultiSelection",!1),ke=new c.f("listSupportsKeyboardNavigation",!0),Ee=new c.f("listAutomaticKeyboardNavigation",!0),Te=!1;var Oe="workbench.tree.indent";function De(e){return"alt"===e.getValue("workbench.list.multiSelectModifier")}function Ae(e){return"doubleClick"!==e.getValue("workbench.list.openMode")}var Le,Pe=function(e){function t(t){var n=e.call(this)||this;return n.configurationService=t,n.useAltAsMultipleSelectionModifier=De(t),n.registerListeners(),n}return fe(t,e),t.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration((function(t){t.affectsConfiguration("workbench.list.multiSelectModifier")&&(e.useAltAsMultipleSelectionModifier=De(e.configurationService))})))},t.prototype.isSelectionSingleChangeEvent=function(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:Object(o.e)(e)},t.prototype.isSelectionRangeChangeEvent=function(e){return Object(o.d)(e)},t}(i.a),Ie=function(e){function t(t,n){var r=e.call(this)||this;return r.configurationService=t,r.existingOpenController=n,r.openOnSingleClick=Ae(t),r.registerListeners(),r}return fe(t,e),t.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration((function(t){t.affectsConfiguration("workbench.list.openMode")&&(e.openOnSingleClick=Ae(e.configurationService))})))},t.prototype.shouldOpen=function(e){if(e instanceof MouseEvent){var t=0===e.button,n=2===e.detail;return!(t&&!this.openOnSingleClick&&!n)&&(!(!t&&1!==e.button)&&(!this.existingOpenController||this.existingOpenController.shouldOpen(e)))}return!this.existingOpenController||this.existingOpenController.shouldOpen(e)},t}(i.a);function Ne(e,t){var n=!1;return function(r){if(n)return n=!1,!1;var o=t.softDispatch(r,e);return o&&o.enterChord?(n=!0,!1):(n=!1,!0)}}(function(e){function t(t,n,r,o,i,s,a,u,c,l){var d=this,p=Me(t,o,i,a,u,c,l),h=p.options,f=p.getAutomaticKeyboardNavigation,g=p.disposable;return(d=e.call(this,t,n,r,h)||this).disposables.push(g),d.internals=new Re(d,h,f,i,s,a,u,l),d.disposables.push(d.internals),d}fe(t,e),t=me([ye(4,c.e),ye(5,ve),ye(6,f.c),ye(7,a.a),ye(8,d.a),ye(9,he.a)],t)})($),function(e){function t(t,n,r,o,i,s,a,u,c,l,d){var p=this,h=Me(t,i,s,u,c,l,d),f=h.options,g=h.getAutomaticKeyboardNavigation,m=h.disposable;return(p=e.call(this,t,n,r,o,f)||this).disposables.push(m),p.internals=new Re(p,f,g,s,a,u,c,d),p.disposables.push(p.internals),p}fe(t,e),t=me([ye(5,c.e),ye(6,ve),ye(7,f.c),ye(8,a.a),ye(9,d.a),ye(10,he.a)],t)}(pe);var je=function(e){function t(t,n,r,o,i,s,a,u,c,l,d){var p=this,h=Me(t,i,s,u,c,l,d),f=h.options,g=h.getAutomaticKeyboardNavigation,m=h.disposable;return(p=e.call(this,t,n,r,o,f)||this).disposables.push(m),p.internals=new Re(p,f,g,s,a,u,c,d),p.disposables.push(p.internals),p}return fe(t,e),Object.defineProperty(t.prototype,"contextKeyService",{get:function(){return this.internals.contextKeyService},enumerable:!0,configurable:!0}),t=me([ye(5,c.e),ye(6,ve),ye(7,f.c),ye(8,a.a),ye(9,d.a),ye(10,he.a)],t)}(le);function Me(e,t,n,s,u,c,l){ke.bindTo(n),Te||(Ee.bindTo(n),Te=!0);var d=function(){var e=n.getContextKeyValue("listAutomaticKeyboardNavigation");return e&&(e=u.getValue("workbench.list.automaticKeyboardNavigation")),e},p=2===l.getAccessibilitySupport()?"simple":u.getValue("workbench.list.keyboardNavigation"),f="undefined"!==typeof t.horizontalScrolling?t.horizontalScrolling:function(e){return Object(a.f)(e,"workbench.list.horizontalScrolling","workbench.tree.horizontalScrolling")}(u),g=Ae(u),m=function(e,t,n){var r=[],o=ge({},e);if(!1!==e.multipleSelectionSupport&&!e.multipleSelectionController){var s=new Pe(t);o.multipleSelectionController=s,r.push(s)}var a=new Ie(t,e.openController);if(o.openController=a,r.push(a),e.keyboardNavigationLabelProvider){var u=e.keyboardNavigationLabelProvider;o.keyboardNavigationLabelProvider={getKeyboardNavigationLabel:function(e){return u.getKeyboardNavigationLabel(e)},mightProducePrintableCharacter:function(e){return n.mightProducePrintableCharacter(e)}}}return[o,Object(i.c)(r)]}(t,u,c),y=m[0];return{getAutomaticKeyboardNavigation:d,disposable:m[1],options:ge({keyboardSupport:!1,styleController:new o.a((Le||(Le=Object(r.q)()),Le))},Object(h.e)(s.getTheme(),h.f),y,{indent:u.getValue(Oe),automaticKeyboardNavigation:d(),simpleKeyboardNavigation:"simple"===p,filterOnType:"filter"===p,horizontalScrolling:f,openOnSingleClick:g,keyboardNavigationEventFilter:Ne(e,c)})}}var Re=function(){function e(e,t,n,r,o,i,s,a){var u=this;this.disposables=[],this.contextKeyService=function(e,t){var n=e.createScoped(t.getHTMLElement());return _e.bindTo(n),n}(r,e),we.bindTo(this.contextKeyService).set(!(!1===t.multipleSelectionSupport)),this.hasSelectionOrFocus=xe.bindTo(this.contextKeyService),this.hasDoubleSelection=Ce.bindTo(this.contextKeyService),this.hasMultiSelection=Se.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=De(s);var c=new Set;c.add("listAutomaticKeyboardNavigation");var l=function(){var t=2===a.getAccessibilitySupport()?"simple":s.getValue("workbench.list.keyboardNavigation");e.updateOptions({simpleKeyboardNavigation:"simple"===t,filterOnType:"filter"===t})};this.disposables.push(this.contextKeyService,o.register(e),Object(h.b)(e,i),e.onDidChangeSelection((function(){var t=e.getSelection(),n=e.getFocus();u.hasSelectionOrFocus.set(t.length>0||n.length>0),u.hasMultiSelection.set(t.length>1),u.hasDoubleSelection.set(2===t.length)})),e.onDidChangeFocus((function(){var t=e.getSelection(),n=e.getFocus();u.hasSelectionOrFocus.set(t.length>0||n.length>0)})),s.onDidChangeConfiguration((function(t){if(t.affectsConfiguration("workbench.list.openMode")&&e.updateOptions({openOnSingleClick:Ae(s)}),t.affectsConfiguration("workbench.list.multiSelectModifier")&&(u._useAltAsMultipleSelectionModifier=De(s)),t.affectsConfiguration(Oe)){var r=s.getValue(Oe);e.updateOptions({indent:r})}t.affectsConfiguration("workbench.list.keyboardNavigation")&&l(),t.affectsConfiguration("workbench.list.automaticKeyboardNavigation")&&e.updateOptions({automaticKeyboardNavigation:n()})})),this.contextKeyService.onDidChangeContext((function(t){t.affectsSome(c)&&e.updateOptions({automaticKeyboardNavigation:n()})})),a.onDidChangeAccessibilitySupport((function(){return l()})))}return e.prototype.dispose=function(){this.disposables=Object(i.d)(this.disposables)},e=me([ye(3,c.e),ye(4,ve),ye(5,f.c),ye(6,a.a),ye(7,he.a)],e)}();p.a.as(u.a.Configuration).registerConfiguration({id:"workbench",order:7,title:Object(s.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:(ce={},ce["workbench.list.multiSelectModifier"]={type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(s.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(s.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(s.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},ce["workbench.list.openMode"]={type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(s.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},ce["workbench.list.horizontalScrolling"]={type:"boolean",default:!1,description:Object(s.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench.")},ce["workbench.tree.horizontalScrolling"]={type:"boolean",default:!1,description:Object(s.a)("tree horizontalScrolling setting","Controls whether trees support horizontal scrolling in the workbench."),deprecationMessage:Object(s.a)("deprecated","This setting is deprecated, please use '{0}' instead.","workbench.list.horizontalScrolling")},ce[Oe]={type:"number",default:8,minimum:0,maximum:40,description:Object(s.a)("tree indent setting","Controls tree indentation in pixels.")},ce["workbench.list.keyboardNavigation"]={type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(s.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(s.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(s.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(s.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},ce["workbench.list.automaticKeyboardNavigation"]={type:"boolean",default:!0,markdownDescription:Object(s.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},ce)})},function(e,t,n){"use strict";n.d(t,"c",(function(){return g})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return y}));var r,o=n(1),i=n(150),s=n(7),a=n(77);(function(e){var t={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:m,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:m,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:m,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function n(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||w.defaults,this.rules=t.normal,this.options.pedantic?this.rules=t.pedantic:this.options.gfm&&(this.options.tables?this.rules=t.tables:this.rules=t.gfm)}t._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,t._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,t.def=p(t.def).replace("label",t._label).replace("title",t._title).getRegex(),t.bullet=/(?:[*+-]|\d{1,9}\.)/,t.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,t.item=p(t.item,"gm").replace(/bull/g,t.bullet).getRegex(),t.list=p(t.list).replace(/bull/g,t.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+t.def.source+")").getRegex(),t._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",t._comment=//,t.html=p(t.html,"i").replace("comment",t._comment).replace("tag",t._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),t.paragraph=p(t.paragraph).replace("hr",t.hr).replace("heading",t.heading).replace("lheading",t.lheading).replace("tag",t._tag).getRegex(),t.blockquote=p(t.blockquote).replace("paragraph",t.paragraph).getRegex(),t.normal=y({},t),t.gfm=y({},t.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),t.gfm.paragraph=p(t.paragraph).replace("(?!","(?!"+t.gfm.fences.source.replace("\\1","\\2")+"|"+t.list.source.replace("\\1","\\3")+"|").getRegex(),t.tables=y({},t.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),t.pedantic=y({},t.normal,{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",t._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),n.rules=t,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,n){var r,o,i,s,a,u,c,l,d,p,h,f,g,m,y,_;for(e=e.replace(/^ +$/gm,"");e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e))e=e.substring(i[0].length),i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?i:b(i,"\n")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2]?i[2].trim():i[2],text:i[3]||""});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if((i=this.rules.nptable.exec(e))&&(u={type:"table",header:v(i[1].replace(/^ *| *\| *$/g,"")),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3]?i[3].replace(/\n$/,"").split("\n"):[]}).header.length===u.align.length){for(e=e.substring(i[0].length),h=0;h ?/gm,""),this.token(i,n),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),c={type:"list_start",ordered:m=(s=i[2]).length>1,start:m?+s:"",loose:!1},this.tokens.push(c),l=[],r=!1,g=(i=i[0].match(this.rules.item)).length,h=0;h1?1===a.length:a.length>1||this.options.smartLists&&a!==s)&&(e=i.slice(h+1).join("\n")+e,h=g-1)),o=r||/\n\n(?!\s*$)/.test(u),h!==g-1&&(r="\n"===u.charAt(u.length-1),o||(o=r)),o&&(c.loose=!0),_=void 0,(y=/^\[[ xX]\] /.test(u))&&(_=" "!==u[1],u=u.replace(/^\[[ xX]\] +/,"")),d={type:"list_item_start",task:y,checked:_,loose:o},l.push(d),this.tokens.push(d),this.token(u,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(g=l.length,h=0;h?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:m,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:m,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~",o.em=p(o.em).replace(/punctuation/g,o._punctuation).getRegex(),o._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,o._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,o._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,o.autolink=p(o.autolink).replace("scheme",o._scheme).replace("email",o._email).getRegex(),o._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,o.tag=p(o.tag).replace("comment",t._comment).replace("attribute",o._attribute).getRegex(),o._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/,o._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,o._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,o.link=p(o.link).replace("label",o._label).replace("href",o._href).replace("title",o._title).getRegex(),o.reflink=p(o.reflink).replace("label",o._label).getRegex(),o.normal=y({},o),o.pedantic=y({},o.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",o._label).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",o._label).getRegex()}),o.gfm=y({},o.normal,{escape:p(o.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\/i.test(s[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(s[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(s[0])&&(this.inRawBlock=!1),e=e.substring(s[0].length),u+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):l(s[0]):s[0];else if(s=this.rules.link.exec(e)){var c=_(s[2],"()");if(c>-1){var d=s[0].length-(s[2].length-c)-(s[3]||"").length;s[2]=s[2].substring(0,c),s[0]=s[0].substring(0,d).trim(),s[3]=""}e=e.substring(s[0].length),this.inLink=!0,r=s[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],o=t[3]):o="":o=s[3]?s[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),u+=this.outputLink(s,{href:i.escapes(r),title:i.escapes(o)}),this.inLink=!1}else if((s=this.rules.reflink.exec(e))||(s=this.rules.nolink.exec(e))){if(e=e.substring(s[0].length),t=(s[2]||s[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){u+=s[0].charAt(0),e=s[0].substring(1)+e;continue}this.inLink=!0,u+=this.outputLink(s,t),this.inLink=!1}else if(s=this.rules.strong.exec(e))e=e.substring(s[0].length),u+=this.renderer.strong(this.output(s[4]||s[3]||s[2]||s[1]));else if(s=this.rules.em.exec(e))e=e.substring(s[0].length),u+=this.renderer.em(this.output(s[6]||s[5]||s[4]||s[3]||s[2]||s[1]));else if(s=this.rules.code.exec(e))e=e.substring(s[0].length),u+=this.renderer.codespan(l(s[2].trim(),!0));else if(s=this.rules.br.exec(e))e=e.substring(s[0].length),u+=this.renderer.br();else if(s=this.rules.del.exec(e))e=e.substring(s[0].length),u+=this.renderer.del(this.output(s[1]));else if(s=this.rules.autolink.exec(e))e=e.substring(s[0].length),r="@"===s[2]?"mailto:"+(n=l(this.mangle(s[1]))):n=l(s[1]),u+=this.renderer.link(r,null,n);else if(this.inLink||!(s=this.rules.url.exec(e))){if(s=this.rules.text.exec(e))e=e.substring(s[0].length),this.inRawBlock?u+=this.renderer.text(s[0]):u+=this.renderer.text(l(this.smartypants(s[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===s[2])r="mailto:"+(n=l(s[0]));else{do{a=s[0],s[0]=this.rules._backpedal.exec(s[0])[0]}while(a!==s[0]);n=l(s[0]),r="www."===s[1]?"http://"+n:n}e=e.substring(s[0].length),u+=this.renderer.link(r,null,n)}return u},i.escapes=function(e){return e?e.replace(i.rules._escapes,"$1"):e},i.prototype.outputLink=function(e,t){var n=t.href,r=t.title?l(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,l(e[1]))},i.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026"):e},i.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,o=0;o.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},s.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,r);null!=o&&o!==e&&(n=!0,e=o)}return r?'
'+(n?e:l(e,!0))+"
\n":"
"+(n?e:l(e,!0))+"
"},s.prototype.blockquote=function(e){return"
\n"+e+"
\n"},s.prototype.html=function(e){return e},s.prototype.heading=function(e,t,n,r){return this.options.headerIds?"'+e+"\n":""+e+"\n"},s.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},s.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},s.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},s.prototype.checkbox=function(e){return" "},s.prototype.paragraph=function(e){return"

    "+e+"

    \n"},s.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},s.prototype.tablerow=function(e){return"\n"+e+"\n"},s.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},s.prototype.strong=function(e){return""+e+""},s.prototype.em=function(e){return""+e+""},s.prototype.codespan=function(e){return""+e+""},s.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},s.prototype.del=function(e){return""+e+""},s.prototype.link=function(e,t,n){if(null===(e=h(this.options.sanitize,this.options.baseUrl,e)))return n;var r='"},s.prototype.image=function(e,t,n){if(null===(e=h(this.options.sanitize,this.options.baseUrl,e)))return n;var r=''+n+'":">"},s.prototype.text=function(e){return e},a.prototype.strong=a.prototype.em=a.prototype.codespan=a.prototype.del=a.prototype.text=function(e){return e},a.prototype.link=a.prototype.image=function(e,t,n){return""+n},a.prototype.br=function(){return""},u.parse=function(e,t){return new u(t).parse(e)},u.prototype.parse=function(e){this.inline=new i(e.links,this.options),this.inlineText=new i(e.links,y({},this.options,{renderer:new a})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},u.prototype.next=function(){return this.token=this.tokens.pop()},u.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},u.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},u.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,d(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,o="",i="";for(n="",e=0;e?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},l.escapeTest=/[&<>"']/,l.escapeReplace=/[&<>"']/g,l.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},l.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,l.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var f={},g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function m(){}function y(e){for(var t,n,r=1;r=0&&"\\"===n[o];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:

    "+l(d.message+"",!0)+"
    ";throw d}}m.exec=m,w.options=w.setOptions=function(e){return y(w.defaults,e),w},w.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new s,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},w.defaults=w.getDefaults(),w.Parser=u,w.parser=u.parse,w.Renderer=s,w.TextRenderer=a,w.Lexer=n,w.lexer=n.lex,w.InlineLexer=i,w.inlineLexer=i.output,w.Slugger=c,w.parse=w,r=w}).call(void 0);r.Parser,r.parser;var u=r.Renderer,c=(r.TextRenderer,r.Lexer,r.lexer,r.InlineLexer,r.inlineLexer,r.parse),l=n(12),d=n(27),p=n(177),h=n(29);function f(e){var t=e.inline?"span":"div",n=document.createElement(t);return e.className&&(n.className=e.className),n}function g(e,t){void 0===t&&(t={});var n=f(t);return n.textContent=e,n}function m(e,t){void 0===t&&(t={});var n=f(t);return function e(t,n,r){var i;if(2===n.type)i=document.createTextNode(n.content||"");else if(3===n.type)i=document.createElement("b");else if(4===n.type)i=document.createElement("i");else if(5===n.type&&r){var s=document.createElement("a");s.href="#",r.disposeables.push(o.k(s,"click",(function(e){r.callback(String(n.index),e)}))),i=s}else 7===n.type?i=document.createElement("br"):1===n.type&&(i=t);i&&t!==i&&t.appendChild(i);i&&Array.isArray(n.children)&&n.children.forEach((function(t){e(i,t,r)}))}(n,function(e){var t={type:1,children:[]},n=0,r=t,o=[],i=new v(e);for(;!i.eos();){var s=i.next(),a="\\"===s&&0!==b(i.peek());if(a&&(s=i.next()),a||0===b(s)||s!==i.peek())if("\n"===s)2===r.type&&(r=o.pop()),r.children.push({type:7});else if(2!==r.type){var u={type:2,content:s};r.children.push(u),o.push(r),r=u}else r.content+=s;else{i.advance(),2===r.type&&(r=o.pop());var c=b(s);if(r.type===c||5===r.type&&6===c)r=o.pop();else{var l={type:c,children:[]};5===c&&(l.index=n,n++),r.children.push(l),o.push(r),r=l}}}2===r.type&&(r=o.pop());o.length;return t}(e),t.actionHandler),n}function y(e,t){void 0===t&&(t={});var n,r=f(t),g=function(t){var n;try{n=Object(p.a)(decodeURIComponent(t))}catch(r){}return n?(n=Object(h.b)(n,(function(t){return e.uris&&e.uris[t]?d.a.revive(e.uris[t]):void 0})),encodeURIComponent(JSON.stringify(n))):t},m=function(t){var n=e.uris&&e.uris[t];if(!n)return t;var r=d.a.revive(n);return r.query&&(r=r.with({query:g(r.query)})),n&&(t=r.toString(!0)),t},y=new Promise((function(e){return n=e})),v=new u;v.image=function(e,t,n){var r=[];if(e=m(e)){var o=e.split("|").map((function(e){return e.trim()}));e=o[0];var i=o[1];if(i){var s=/height=(\d+)/.exec(i),a=/width=(\d+)/.exec(i),u=s?s[1]:"",c=a?a[1]:"",l=isFinite(parseInt(c)),d=isFinite(parseInt(u));l&&r.push('width="'+c+'"'),d&&r.push('height="'+u+'"')}}var p=[];return e&&p.push('src="'+e+'"'),n&&p.push('alt="'+n+'"'),t&&p.push('title="'+t+'"'),r.length&&(p=p.concat(r)),""},v.link=function(t,n,r){return t===r&&(r=Object(a.d)(r)),t=m(t),n=Object(a.d)(n),!(t=Object(a.d)(t))||t.match(/^data:|javascript:/i)||t.match(/^command:/i)&&!e.isTrusted||t.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?r:'
    /g,">").replace(/"/g,""").replace(/'/g,"'"))+'" title="'+(n||t)+'">'+r+""},v.paragraph=function(e){return"

    "+e+"

    "},t.codeBlockRenderer&&(v.code=function(e,n){var o=t.codeBlockRenderer(n,e),a=i.b.nextId(),u=Promise.all([o,y]).then((function(e){var t=e[0],n=r.querySelector('div[data-code="'+a+'"]');n&&(n.innerHTML=t)})).catch((function(e){}));return t.codeBlockRenderCallback&&u.then(t.codeBlockRenderCallback),'
    '+Object(s.m)(e)+"
    "}),t.actionHandler&&t.actionHandler.disposeables.push(o.k(r,"click",(function(e){var n=e.target;if("A"===n.tagName||(n=n.parentElement)&&"A"===n.tagName)try{var r=n.dataset.href;r&&t.actionHandler.callback(r,e)}catch(o){Object(l.e)(o)}finally{e.preventDefault()}})));var b={sanitize:!0,renderer:v};return r.innerHTML=c(e.value,b),n(),r}var v=function(){function e(e){this.source=e,this.index=0}return e.prototype.eos=function(){return this.index>=this.source.length},e.prototype.next=function(){var e=this.peek();return this.advance(),e},e.prototype.peek=function(){return this.source[this.index]},e.prototype.advance=function(){this.index++},e}();function b(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=function(){function e(e,t,n){this.from=0|e,this.to=0|t,this.colorId=0|n}return e.compare=function(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId},e}(),o=function(){function e(e,t,n){this.startLineNumber=e,this.endLineNumber=t,this.color=n,this._colorZone=null}return e.compare=function(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.colorn&&(h=n-f);var g=c.color,m=this._color2Id[g];m||(m=++this._lastAssignedId,this._color2Id[g]=m,this._id2Color[m]=g);var y=new r(h-f,h+f,m);c.setColorZone(y),s.push(y)}return this._colorZonesInvalid=!1,s.sort(r.compare),s},e}()},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p}));var r=n(17),o=n(26),i=n(12),s=n(3),a=n(10);function u(e,t,n,o){var s=n.ordered(e).map((function(n){return Promise.resolve(o(n,e,t)).then(void 0,(function(e){Object(i.f)(e)}))}));return Promise.all(s).then(r.k).then(r.d)}function c(e,t,n){return u(e,t,a.f,(function(e,t,r){return e.provideDefinition(t,r,n)}))}function l(e,t,n){return u(e,t,a.e,(function(e,t,r){return e.provideDeclaration(t,r,n)}))}function d(e,t,n){return u(e,t,a.o,(function(e,t,r){return e.provideImplementation(t,r,n)}))}function p(e,t,n){return u(e,t,a.z,(function(e,t,r){return e.provideTypeDefinition(t,r,n)}))}Object(s.e)("_executeDefinitionProvider",(function(e,t){return c(e,t,o.a.None)})),Object(s.e)("_executeDeclarationProvider",(function(e,t){return l(e,t,o.a.None)})),Object(s.e)("_executeImplementationProvider",(function(e,t){return d(e,t,o.a.None)})),Object(s.e)("_executeTypeDefinitionProvider",(function(e,t){return p(e,t,o.a.None)}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(29),o=n(7);function i(e){return Object(o.m)(e)}var s=function(){function e(e,t){this.supportOcticons=t,this.domNode=document.createElement("span"),this.domNode.className="monaco-highlighted-label",this.didEverRender=!1,e.appendChild(this.domNode)}return Object.defineProperty(e.prototype,"element",{get:function(){return this.domNode},enumerable:!0,configurable:!0}),e.prototype.set=function(t,n,o,i){void 0===n&&(n=[]),void 0===o&&(o=""),t||(t=""),i&&(t=e.escapeNewLines(t,n)),this.didEverRender&&this.text===t&&this.title===o&&r.e(this.highlights,n)||(Array.isArray(n)||(n=[]),this.text=t,this.title=o,this.highlights=n,this.render())},e.prototype.render=function(){for(var e="",t=0,n=0,r=this.highlights;n";var a=this.text.substring(t,s.start);e+=this.supportOcticons?i(a):Object(o.m)(a),e+="",t=s.end}e+='';var u=this.text.substring(s.start,s.end);e+=this.supportOcticons?i(u):Object(o.m)(u),e+="",t=s.end}}if(t";u=this.text.substring(t);e+=this.supportOcticons?i(u):Object(o.m)(u),e+=""}this.domNode.innerHTML=e,this.domNode.title=this.title,this.didEverRender=!0},e.escapeNewLines=function(e,t){var n=0,r=0;return e.replace(/\r\n|\r|\n/g,(function(e,o){r="\r\n"===e?-1:0,o+=n;for(var i=0,s=t;i=o&&(a.start+=r),a.end>=o&&(a.end+=r))}return n+=r,"\u23ce"}))},e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"ToggleTabFocusModeAction",(function(){return u}));var r=n(0),o=n(53),i=n(3),s=n(130),a=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function t(){return e.call(this,{id:t.ID,label:r.a({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:null,kbOpts:{kbExpr:null,primary:2091,mac:{primary:1323},weight:100}})||this}return a(t,e),t.prototype.run=function(e,t){var n=!s.b.getTabFocusMode();s.b.setTabFocusMode(n),n?Object(o.a)(r.a("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):Object(o.a)(r.a("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))},t.ID="editor.action.toggleTabFocusMode",t}(i.b);Object(i.f)(u)},function(e,t,n){"use strict";n.r(t),n.d(t,"DefinitionActionConfig",(function(){return T})),n.d(t,"DefinitionAction",(function(){return O})),n.d(t,"GoToDefinitionAction",(function(){return A})),n.d(t,"OpenDefinitionToSideAction",(function(){return L})),n.d(t,"PeekDefinitionAction",(function(){return P})),n.d(t,"DeclarationAction",(function(){return I})),n.d(t,"GoToDeclarationAction",(function(){return N})),n.d(t,"PeekDeclarationAction",(function(){return j})),n.d(t,"ImplementationAction",(function(){return M})),n.d(t,"GoToImplementationAction",(function(){return R})),n.d(t,"PeekImplementationAction",(function(){return F})),n.d(t,"TypeDefinitionAction",(function(){return B})),n.d(t,"GoToTypeDefinitionAction",(function(){return W})),n.d(t,"PeekTypeDefinitionAction",(function(){return V}));var r=n(53),o=n(15),i=n(37),s=n(14),a=n(3),u=n(35),c=n(2),l=n(6),d=n(10),p=n(132),h=n(91),f=n(102),g=n(78),m=n(0),y=n(59),v=n(11),b=n(50),_=n(126),w=n(145),x=n(31),C=n(75),S=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),k=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(s,a)}u((r=r.apply(e,t||[])).next())}))},E=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1?m.a("meta.title"," \u2013 {0} definitions",e.references.length):""},t.prototype._onResult=function(e,t,n){return k(this,void 0,void 0,(function(){var o,i,s,a;return E(this,(function(u){switch(u.label){case 0:return o=n.getAriaMessage(),Object(r.a)(o),i=t.getConfiguration().contribInfo.gotoLocation,this._configuration.openInPeek||"peek"===i.multiple&&n.references.length>1?(this._openInPeek(e,t,n),[3,3]):[3,1];case 1:return t.hasModel()?(s=n.firstReference())?[4,this._openReference(t,e,s,this._configuration.openToSide)]:[2]:[3,3];case 2:(a=u.sent())&&n.references.length>1&&"gotoAndPeek"===i.multiple?this._openInPeek(e,a,n):n.dispose(),u.label=3;case 3:return[2]}}))}))},t.prototype._openReference=function(e,t,n,r){var o=void 0;return Object(d.C)(n)&&(o=n.targetSelectionRange),o||(o=n.range),t.openCodeEditor({resource:n.uri,options:{selection:c.a.collapseToStart(o),revealIfOpened:!0,revealInCenterIfOutsideViewport:!0}},e,r)},t.prototype._openInPeek=function(e,t,n){var r=this,i=f.a.get(t);i&&t.hasModel()?i.toggleWidget(t.getSelection(),Object(o.f)((function(e){return Promise.resolve(n)})),{getMetaTitle:function(e){return r._getMetaTitle(e)},onGoto:function(n){return i.closeWidget(),r._openReference(t,e,n,!1)}}):n.dispose()},t}(a.b),D=s.f?2118:70,A=function(e){function t(){var n=e.call(this,new T,{id:t.id,label:m.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:v.d.and(l.a.hasDefinitionProvider,l.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l.a.editorTextFocus,primary:D,weight:100},menuOpts:{group:"navigation",order:1.1}})||this;return x.a.registerCommandAlias("editor.action.goToDeclaration",t.id),n}return S(t,e),t.id="editor.action.revealDefinition",t}(O),L=function(e){function t(){var n=e.call(this,new T(!0),{id:t.id,label:m.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:v.d.and(l.a.hasDefinitionProvider,l.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l.a.editorTextFocus,primary:Object(i.a)(2089,D),weight:100}})||this;return x.a.registerCommandAlias("editor.action.openDeclarationToTheSide",t.id),n}return S(t,e),t.id="editor.action.revealDefinitionAside",t}(O),P=function(e){function t(){var n=e.call(this,new T(void 0,!0,!1),{id:t.id,label:m.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:v.d.and(l.a.hasDefinitionProvider,h.b.notInPeekEditor,l.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l.a.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menuOpts:{group:"navigation",order:1.2}})||this;return x.a.registerCommandAlias("editor.action.previewDeclaration",t.id),n}return S(t,e),t.id="editor.action.peekDefinition",t}(O),I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype._getTargetLocationForPosition=function(e,t,n){return Object(w.a)(e,t,n)},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?m.a("decl.noResultWord","No declaration found for '{0}'",e.word):m.a("decl.generic.noResults","No declaration found")},t.prototype._getMetaTitle=function(e){return e.references.length>1?m.a("decl.meta.title"," \u2013 {0} declarations",e.references.length):""},t}(O),N=function(e){function t(){return e.call(this,new T,{id:t.id,label:m.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:v.d.and(l.a.hasDeclarationProvider,l.a.isInEmbeddedEditor.toNegated()),menuOpts:{group:"navigation",order:1.3}})||this}return S(t,e),t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?m.a("decl.noResultWord","No declaration found for '{0}'",e.word):m.a("decl.generic.noResults","No declaration found")},t.prototype._getMetaTitle=function(e){return e.references.length>1?m.a("decl.meta.title"," \u2013 {0} declarations",e.references.length):""},t.id="editor.action.revealDeclaration",t}(I),j=function(e){function t(){return e.call(this,new T(void 0,!0,!1),{id:"editor.action.peekDeclaration",label:m.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:v.d.and(l.a.hasDeclarationProvider,h.b.notInPeekEditor,l.a.isInEmbeddedEditor.toNegated()),menuOpts:{group:"navigation",order:1.31}})||this}return S(t,e),t}(I),M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype._getTargetLocationForPosition=function(e,t,n){return Object(w.c)(e,t,n)},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?m.a("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):m.a("goToImplementation.generic.noResults","No implementation found")},t.prototype._getMetaTitle=function(e){return e.references.length>1?m.a("meta.implementations.title"," \u2013 {0} implementations",e.references.length):""},t}(O),R=function(e){function t(){return e.call(this,new T,{id:t.ID,label:m.a("actions.goToImplementation.label","Go to Implementation"),alias:"Go to Implementation",precondition:v.d.and(l.a.hasImplementationProvider,l.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l.a.editorTextFocus,primary:2118,weight:100}})||this}return S(t,e),t.ID="editor.action.goToImplementation",t}(M),F=function(e){function t(){return e.call(this,new T(!1,!0,!1),{id:t.ID,label:m.a("actions.peekImplementation.label","Peek Implementation"),alias:"Peek Implementation",precondition:v.d.and(l.a.hasImplementationProvider,l.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l.a.editorTextFocus,primary:3142,weight:100}})||this}return S(t,e),t.ID="editor.action.peekImplementation",t}(M),B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype._getTargetLocationForPosition=function(e,t,n){return Object(w.d)(e,t,n)},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?m.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):m.a("goToTypeDefinition.generic.noResults","No type definition found")},t.prototype._getMetaTitle=function(e){return e.references.length>1?m.a("meta.typeDefinitions.title"," \u2013 {0} type definitions",e.references.length):""},t}(O),W=function(e){function t(){return e.call(this,new T,{id:t.ID,label:m.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:v.d.and(l.a.hasTypeDefinitionProvider,l.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l.a.editorTextFocus,primary:0,weight:100},menuOpts:{group:"navigation",order:1.4}})||this}return S(t,e),t.ID="editor.action.goToTypeDefinition",t}(B),V=function(e){function t(){return e.call(this,new T(!1,!0,!1),{id:t.ID,label:m.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:v.d.and(l.a.hasTypeDefinitionProvider,l.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l.a.editorTextFocus,primary:0,weight:100}})||this}return S(t,e),t.ID="editor.action.peekTypeDefinition",t}(B);Object(a.f)(A),Object(a.f)(L),Object(a.f)(P),Object(a.f)(N),Object(a.f)(j),Object(a.f)(R),Object(a.f)(F),Object(a.f)(W),Object(a.f)(V),y.c.appendMenuItem(16,{group:"4_symbol_nav",command:{id:"editor.action.goToDeclaration",title:m.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},order:2}),y.c.appendMenuItem(16,{group:"4_symbol_nav",command:{id:"editor.action.goToTypeDefinition",title:m.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},order:3}),y.c.appendMenuItem(16,{group:"4_symbol_nav",command:{id:"editor.action.goToImplementation",title:m.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementation")},order:4})},function(e,t,n){"use strict";n.r(t),n.d(t,"MarkerController",(function(){return z})),n.d(t,"NextMarkerAction",(function(){return q}));var r=n(0),o=n(5),i=n(4),s=n(11),a=n(40),u=n(2),c=n(3),l=n(18),d=n(6),p=(n(381),n(1)),h=n(8),f=n(13),g=n(30),m=n(80),y=n(171),v=n(17),b=n(91),_=n(54),w=n(133),x=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(){function e(e,t,n){var r=this;this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=[],this._editor=t;var o=document.createElement("div");o.className="descriptioncontainer",o.setAttribute("aria-live","assertive"),o.setAttribute("role","alert"),this._messageBlock=document.createElement("div"),p.f(this._messageBlock,"message"),o.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),o.appendChild(this._relatedBlock),this._disposables.push(p.k(this._relatedBlock,"click",(function(e){e.preventDefault();var t=r._relatedDiagnostics.get(e.target);t&&n(t)}))),this._scrollable=new m.b(o,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),e.appendChild(this._scrollable.getDomNode()),this._disposables.push(this._scrollable.onScroll((function(e){o.style.left="-"+e.scrollLeft+"px",o.style.top="-"+e.scrollTop+"px"}))),this._disposables.push(this._scrollable)}return e.prototype.dispose=function(){Object(i.d)(this._disposables)},e.prototype.update=function(e){var t=e.source,n=e.message,r=e.relatedInformation,o=e.code,i=n.split(/\r\n|\r|\n/g);this._lines=i.length,this._longestLineLength=0;for(var s=0,a=i;s1?r.a("problems","{0} of {1} problems",n,o):r.a("change","{0} of {1} problem",n,o);this.setTitle(Object(_.b)(l.uri),d)}var p="error";this._severity===a.c.Warning?p="warning":this._severity===a.c.Info&&(p="info"),this.setTitleIcon(p),this.editor.revealPositionInCenter(c,0),1!==this.editor.getConfiguration().accessibilitySupport&&this.focus()},t.prototype.updateMarker=function(e){this._container.classList.remove("stale"),this._message.update(e)},t.prototype.showStale=function(){this._container.classList.add("stale"),this._relayout()},t.prototype._doLayoutBody=function(t,n){e.prototype._doLayoutBody.call(this,t,n),this._heightInPixel=t,this._message.layout(t,n),this._container.style.height=t+"px"},t.prototype._onWidth=function(e){this._message.layout(this._heightInPixel,e)},t.prototype._relayout=function(){e.prototype._relayout.call(this,this.computeRequiredHeight())},t.prototype.computeRequiredHeight=function(){return 3+this._message.getHeightInLines()},t}(b.c),k=Object(h.tb)(g.i,g.h),E=Object(h.tb)(g.w,g.v),T=Object(h.tb)(g.n,g.m),O=Object(h.zb)("editorMarkerNavigationError.background",{dark:k,light:k,hc:k},r.a("editorMarkerNavigationError","Editor marker navigation widget error color.")),D=Object(h.zb)("editorMarkerNavigationWarning.background",{dark:E,light:E,hc:E},r.a("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),A=Object(h.zb)("editorMarkerNavigationInfo.background",{dark:T,light:T,hc:T},r.a("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),L=Object(h.zb)("editorMarkerNavigation.background",{dark:"#2D2D30",light:f.a.white,hc:"#0C141F"},r.a("editorMarkerNavigationBackground","Editor marker navigation widget background."));Object(l.e)((function(e,t){var n=e.getColor(h.Jb);n&&t.addRule(".monaco-editor .marker-widget a { color: "+n+"; }")}));var P=n(7),I=n(35),N=n(12),j=n(59),M=n(65),R=n(49),F=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),B=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},W=function(e,t){return function(n,r){t(n,r,e)}},V=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(s,a)}u((r=r.apply(e,t||[])).next())}))},H=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0?this._markers[this._nextIdx]:void 0;this._markers=e||[],this._markers.sort(K.compareMarker),this._nextIdx=t?Math.max(-1,Object(v.c)(this._markers,t,K.compareMarker)):-1,this._onMarkerSetChanged.fire(this)},e.prototype.withoutWatchingEditorPosition=function(e){this._ignoreSelectionChange=!0;try{e()}finally{this._ignoreSelectionChange=!1}},e.prototype._initIdx=function(e){for(var t=!1,n=this._editor.getPosition(),r=0;r0?this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length:r=!0),n!==this._nextIdx){var o=this._markers[this._nextIdx];this._onCurrentMarkerChanged.fire(o)}return r},e.prototype.canNavigate=function(){return this._markers.length>0},e.prototype.findMarkerAtPosition=function(e){for(var t=0,n=this._markers;t=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){return function(n,r){t(n,r,e)}},g=function(e){function t(t,n,r,o,i,s,a,u,c,l){var d=e.call(this,t,r.getRawConfiguration(),{},o,i,s,a,u,c,l)||this;return d._parentEditor=r,d._overwriteOptions=n,e.prototype.updateOptions.call(d,d._overwriteOptions),d._register(r.onDidChangeConfiguration((function(e){return d._onParentConfigurationChanged(e)}))),d}return p(t,e),t.prototype.getParentEditor=function(){return this._parentEditor},t.prototype._onParentConfigurationChanged=function(t){e.prototype.updateOptions.call(this,this._parentEditor.getRawConfiguration()),e.prototype.updateOptions.call(this,this._overwriteOptions)},t.prototype.updateOptions=function(t){r.g(this._overwriteOptions,t,!0),e.prototype.updateOptions.call(this,this._overwriteOptions)},t=h([f(3,u.a),f(4,o.a),f(5,s.b),f(6,a.e),f(7,l.c),f(8,c.a),f(9,d.a)],t)}(i.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r,o=n(7);r="undefined"!==typeof TextDecoder?function(e){return new i(e)}:function(e){return new s};var i=function(){function e(e){this._decoder=new TextDecoder("UTF-16LE"),this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}return e.prototype.reset=function(){this._completedStrings=null,this._bufferLength=0},e.prototype.build=function(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()},e.prototype._buildBuffer=function(){if(0===this._bufferLength)return"";var e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return this._decoder.decode(e)},e.prototype._flushBuffer=function(){var e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e},e.prototype.write1=function(e){var t=this._capacity-this._bufferLength;t<=1&&(0===t||o.u(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e},e.prototype.appendASCII=function(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e},e.prototype.appendASCIIString=function(e){var t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(var n=0;n=0&&this.prefixSum.set(o.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(e,t){return e=Object(r.b)(e),t=Object(r.b)(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;var i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(o.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(e){return e<0?0:(e=Object(r.b)(e),this._getAccumulatedValue(e))},e.prototype._getAccumulatedValue=function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(var n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]},e.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();for(var t=0,n=this.values.length-1,r=0,i=0,s=0;t<=n;)if(r=t+(n-t)/2|0,e<(s=(i=this.prefixSum[r])-this.values[r]))n=r-1;else{if(!(e>=i))break;t=r+1}return new o(r,e-s)},e}(),s=function(){function e(e){this._cacheAccumulatedValueStart=0,this._cache=null,this._actual=new i(e),this._bustCache()}return e.prototype._bustCache=function(){this._cacheAccumulatedValueStart=0,this._cache=null},e.prototype.insertValues=function(e,t){this._actual.insertValues(e,t)&&this._bustCache()},e.prototype.changeValue=function(e,t){this._actual.changeValue(e,t)&&this._bustCache()},e.prototype.removeValues=function(e,t){this._actual.removeValues(e,t)&&this._bustCache()},e.prototype.getTotalValue=function(){return this._actual.getTotalValue()},e.prototype.getAccumulatedValue=function(e){return this._actual.getAccumulatedValue(e)},e.prototype.getIndexOf=function(e){if(e=Math.floor(e),null!==this._cache){var t=e-this._cacheAccumulatedValueStart;if(t>=0&&t0)},e.prototype.getChildren=function(e,t){var n=this.modelProvider.getModel();return Promise.resolve(n===t?n.entries:[])},e.prototype.getParent=function(e,t){return Promise.resolve(null)},e}(),l=function(){function e(e){this.modelProvider=e}return e.prototype.getAriaLabel=function(e,t){var n=this.modelProvider.getModel();return n.accessibilityProvider?n.accessibilityProvider.getAriaLabel(t):null},e.prototype.getPosInSet=function(e,t){var n=this.modelProvider.getModel(),r=0;if(n.filter)for(var o=0,i=n.entries;o=0;t--){var n=this._arr[t];if(e.toChord().equals(n.keybinding))return n.callback}return null},e}(),y=function(){function e(e){var t=this;void 0===e&&(e={clickBehavior:0,keyboardSupport:!0,openMode:0}),this.options=e,this.downKeyBindingDispatcher=new m,this.upKeyBindingDispatcher=new m,("boolean"!==typeof e.keyboardSupport||e.keyboardSupport)&&(this.downKeyBindingDispatcher.set(16,(function(e,n){return t.onUp(e,n)})),this.downKeyBindingDispatcher.set(18,(function(e,n){return t.onDown(e,n)})),this.downKeyBindingDispatcher.set(15,(function(e,n){return t.onLeft(e,n)})),this.downKeyBindingDispatcher.set(17,(function(e,n){return t.onRight(e,n)})),a.d&&(this.downKeyBindingDispatcher.set(2064,(function(e,n){return t.onLeft(e,n)})),this.downKeyBindingDispatcher.set(300,(function(e,n){return t.onDown(e,n)})),this.downKeyBindingDispatcher.set(302,(function(e,n){return t.onUp(e,n)}))),this.downKeyBindingDispatcher.set(11,(function(e,n){return t.onPageUp(e,n)})),this.downKeyBindingDispatcher.set(12,(function(e,n){return t.onPageDown(e,n)})),this.downKeyBindingDispatcher.set(14,(function(e,n){return t.onHome(e,n)})),this.downKeyBindingDispatcher.set(13,(function(e,n){return t.onEnd(e,n)})),this.downKeyBindingDispatcher.set(10,(function(e,n){return t.onSpace(e,n)})),this.downKeyBindingDispatcher.set(9,(function(e,n){return t.onEscape(e,n)})),this.upKeyBindingDispatcher.set(3,this.onEnter.bind(this)),this.upKeyBindingDispatcher.set(2051,this.onEnter.bind(this)))}return e.prototype.onMouseDown=function(e,t,n,r){if(void 0===r&&(r="mouse"),0===this.options.clickBehavior&&(n.leftButton||n.middleButton)){if(n.target){if(n.target.tagName&&"input"===n.target.tagName.toLowerCase())return!1;if(i.r(n.target,"scrollbar","monaco-tree"))return!1;if(i.r(n.target,"monaco-action-bar","row"))return!1}return this.onLeftClick(e,t,n,r)}return!1},e.prototype.onClick=function(e,t,n){return a.d&&n.ctrlKey?(n.preventDefault(),n.stopPropagation(),!1):(!n.target||!n.target.tagName||"input"!==n.target.tagName.toLowerCase())&&((0!==this.options.clickBehavior||!n.leftButton&&!n.middleButton)&&this.onLeftClick(e,t,n))},e.prototype.onLeftClick=function(e,t,n,r){void 0===r&&(r="mouse");var o=n,i={origin:r,originalEvent:n,didClickOnTwistie:this.isClickOnTwistie(o)};e.getInput()===t?(e.clearFocus(i),e.clearSelection(i)):(n&&o.browserEvent&&"mousedown"===o.browserEvent.type&&1===o.browserEvent.detail||n.preventDefault(),n.stopPropagation(),e.domFocus(),e.setSelection([t],i),e.setFocus(t,i),this.shouldToggleExpansion(t,o,r)&&(e.isExpanded(t)?e.collapse(t).then(void 0,f.e):e.expand(t).then(void 0,f.e)));return!0},e.prototype.shouldToggleExpansion=function(e,t,n){var r="mouse"===n&&2===t.detail;return this.openOnSingleClick||r||this.isClickOnTwistie(t)},Object.defineProperty(e.prototype,"openOnSingleClick",{get:function(){return 0===this.options.openMode},enumerable:!0,configurable:!0}),e.prototype.isClickOnTwistie=function(e){var t=e.target;if(!i.A(t,"content"))return!1;var n=window.getComputedStyle(t,":before");if("none"===n.backgroundImage||"none"===n.display)return!1;var r=parseInt(n.width)+parseInt(n.paddingRight);return e.browserEvent.offsetX<=r},e.prototype.onContextMenu=function(e,t,n){return n.target&&n.target.tagName&&"input"===n.target.tagName.toLowerCase()||n&&(n.preventDefault(),n.stopPropagation()),!1},e.prototype.onTap=function(e,t,n){var r=n.initialTarget;return(!r||!r.tagName||"input"!==r.tagName.toLowerCase())&&this.onLeftClick(e,t,n,"touch")},e.prototype.onKeyDown=function(e,t){return this.onKey(this.downKeyBindingDispatcher,e,t)},e.prototype.onKeyUp=function(e,t){return this.onKey(this.upKeyBindingDispatcher,e,t)},e.prototype.onKey=function(e,t,n){var r=e.dispatch(n.toKeybinding());return!(!r||!r(t,n))&&(n.preventDefault(),n.stopPropagation(),!0)},e.prototype.onUp=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusPrevious(1,n),e.reveal(e.getFocus()).then(void 0,f.e)),!0},e.prototype.onPageUp=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusPreviousPage(n),e.reveal(e.getFocus()).then(void 0,f.e)),!0},e.prototype.onDown=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusNext(1,n),e.reveal(e.getFocus()).then(void 0,f.e)),!0},e.prototype.onPageDown=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusNextPage(n),e.reveal(e.getFocus()).then(void 0,f.e)),!0},e.prototype.onHome=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusFirst(n),e.reveal(e.getFocus()).then(void 0,f.e)),!0},e.prototype.onEnd=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusLast(n),e.reveal(e.getFocus()).then(void 0,f.e)),!0},e.prototype.onLeft=function(e,t){var n={origin:"keyboard",originalEvent:t};if(e.getHighlight())e.clearHighlight(n);else{var r=e.getFocus();e.collapse(r).then((function(t){if(r&&!t)return e.focusParent(n),e.reveal(e.getFocus())})).then(void 0,f.e)}return!0},e.prototype.onRight=function(e,t){var n={origin:"keyboard",originalEvent:t};if(e.getHighlight())e.clearHighlight(n);else{var r=e.getFocus();e.expand(r).then((function(t){if(r&&!t)return e.focusFirstChild(n),e.reveal(e.getFocus())})).then(void 0,f.e)}return!0},e.prototype.onEnter=function(e,t){var n={origin:"keyboard",originalEvent:t};if(e.getHighlight())return!1;var r=e.getFocus();return r&&e.setSelection([r],n),!0},e.prototype.onSpace=function(e,t){if(e.getHighlight())return!1;var n=e.getFocus();return n&&e.toggleExpansion(n),!0},e.prototype.onEscape=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?(e.clearHighlight(n),!0):e.getSelection().length?(e.clearSelection(n),!0):!!e.getFocus()&&(e.clearFocus(n),!0)},e}(),v=function(){function e(){}return e.prototype.getDragURI=function(e,t){return null},e.prototype.onDragStart=function(e,t,n){},e.prototype.onDragOver=function(e,t,n,r){return null},e.prototype.drop=function(e,t,n,r){},e}(),b=function(){function e(){}return e.prototype.isVisible=function(e,t){return!0},e}(),_=function(){function e(){}return e.prototype.getAriaLabel=function(e,t){return null},e}(),w=function(){function e(e,t){this.styleElement=e,this.selectorSuffix=t}return e.prototype.style=function(e){var t=this.selectorSuffix?"."+this.selectorSuffix:"",n=[];e.listFocusBackground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { background-color: "+e.listFocusBackground+"; }"),e.listFocusForeground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { color: "+e.listFocusForeground+"; }"),e.listActiveSelectionBackground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { background-color: "+e.listActiveSelectionBackground+"; }"),e.listActiveSelectionForeground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { color: "+e.listActiveSelectionForeground+"; }"),e.listFocusAndSelectionBackground&&n.push("\n\t\t\t\t.monaco-tree-drag-image,\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { background-color: "+e.listFocusAndSelectionBackground+"; }\n\t\t\t"),e.listFocusAndSelectionForeground&&n.push("\n\t\t\t\t.monaco-tree-drag-image,\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { color: "+e.listFocusAndSelectionForeground+"; }\n\t\t\t"),e.listInactiveSelectionBackground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { background-color: "+e.listInactiveSelectionBackground+"; }"),e.listInactiveSelectionForeground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { color: "+e.listInactiveSelectionForeground+"; }"),e.listHoverBackground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) { background-color: "+e.listHoverBackground+"; }"),e.listHoverForeground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) { color: "+e.listHoverForeground+"; }"),e.listDropBackground&&n.push("\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-wrapper.drop-target,\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.drop-target { background-color: "+e.listDropBackground+" !important; color: inherit !important; }\n\t\t\t"),e.listFocusOutline&&n.push("\n\t\t\t\t.monaco-tree-drag-image\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{ border: 1px solid "+e.listFocusOutline+"; background: #000; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row \t\t\t\t\t\t\t\t\t\t\t\t\t\t{ border: 1px solid transparent; }\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) \t\t\t\t\t\t{ border: 1px dotted "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) \t\t\t\t\t\t{ border: 1px solid "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) \t\t\t\t\t\t\t{ border: 1px solid "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) \t{ border: 1px dashed "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-wrapper.drop-target,\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.drop-target\t\t\t\t\t\t\t\t\t\t\t\t{ border: 1px dashed "+e.listFocusOutline+"; }\n\t\t\t");var r=n.join("\n");r!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=r)},e}(),x=n(121),C=n(4),S=n(5),k=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(){function e(e){this._onDispose=new S.a,this.onDispose=this._onDispose.event,this._item=e}return Object.defineProperty(e.prototype,"item",{get:function(){return this._item},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._onDispose&&(this._onDispose.fire(),this._onDispose.dispose(),this._onDispose=void 0)},e}(),T=function(){function e(){this.locks=Object.create({})}return e.prototype.isLocked=function(e){return!!this.locks[e.id]},e.prototype.run=function(e,t){var n=this,r=this.getLock(e);return new Promise(r?function(o,i){S.b.once(r.onDispose)((function(){return n.run(e,t).then(o,i)}))}:function(r,o){if(e.isDisposed())return o(new Error("Item is disposed."));var i=n.locks[e.id]=new E(e);return t().then((function(t){return delete n.locks[e.id],i.dispose(),t})).then(r,o)})},e.prototype.getLock=function(e){var t;for(t in this.locks){var n=this.locks[t];if(e.intersects(n.item))return n}return null},e}(),O=function(){function e(){this._isDisposed=!1,this._onDidRevealItem=new S.d,this.onDidRevealItem=this._onDidRevealItem.event,this._onExpandItem=new S.d,this.onExpandItem=this._onExpandItem.event,this._onDidExpandItem=new S.d,this.onDidExpandItem=this._onDidExpandItem.event,this._onCollapseItem=new S.d,this.onCollapseItem=this._onCollapseItem.event,this._onDidCollapseItem=new S.d,this.onDidCollapseItem=this._onDidCollapseItem.event,this._onDidAddTraitItem=new S.d,this.onDidAddTraitItem=this._onDidAddTraitItem.event,this._onDidRemoveTraitItem=new S.d,this.onDidRemoveTraitItem=this._onDidRemoveTraitItem.event,this._onDidRefreshItem=new S.d,this.onDidRefreshItem=this._onDidRefreshItem.event,this._onRefreshItemChildren=new S.d,this.onRefreshItemChildren=this._onRefreshItemChildren.event,this._onDidRefreshItemChildren=new S.d,this.onDidRefreshItemChildren=this._onDidRefreshItemChildren.event,this._onDidDisposeItem=new S.d,this.onDidDisposeItem=this._onDidDisposeItem.event,this.items={}}return e.prototype.register=function(e){x.a(!this.isRegistered(e.id),"item already registered: "+e.id);var t=Object(C.c)([this._onDidRevealItem.add(e.onDidReveal),this._onExpandItem.add(e.onExpand),this._onDidExpandItem.add(e.onDidExpand),this._onCollapseItem.add(e.onCollapse),this._onDidCollapseItem.add(e.onDidCollapse),this._onDidAddTraitItem.add(e.onDidAddTrait),this._onDidRemoveTraitItem.add(e.onDidRemoveTrait),this._onDidRefreshItem.add(e.onDidRefresh),this._onRefreshItemChildren.add(e.onRefreshChildren),this._onDidRefreshItemChildren.add(e.onDidRefreshChildren),this._onDidDisposeItem.add(e.onDidDispose)]);this.items[e.id]={item:e,disposable:t}},e.prototype.deregister=function(e){x.a(this.isRegistered(e.id),"item not registered: "+e.id),this.items[e.id].disposable.dispose(),delete this.items[e.id]},e.prototype.isRegistered=function(e){return this.items.hasOwnProperty(e)},e.prototype.getItem=function(e){var t=this.items[e];return t?t.item:null},e.prototype.dispose=function(){this.items=null,this._onDidRevealItem.dispose(),this._onExpandItem.dispose(),this._onDidExpandItem.dispose(),this._onCollapseItem.dispose(),this._onDidCollapseItem.dispose(),this._onDidAddTraitItem.dispose(),this._onDidRemoveTraitItem.dispose(),this._onDidRefreshItem.dispose(),this._onRefreshItemChildren.dispose(),this._onDidRefreshItemChildren.dispose(),this._isDisposed=!0},e.prototype.isDisposed=function(){return this._isDisposed},e}(),D=function(){function e(e,t,n,r,o){this._onDidCreate=new S.a,this._onDidReveal=new S.a,this.onDidReveal=this._onDidReveal.event,this._onExpand=new S.a,this.onExpand=this._onExpand.event,this._onDidExpand=new S.a,this.onDidExpand=this._onDidExpand.event,this._onCollapse=new S.a,this.onCollapse=this._onCollapse.event,this._onDidCollapse=new S.a,this.onDidCollapse=this._onDidCollapse.event,this._onDidAddTrait=new S.a,this.onDidAddTrait=this._onDidAddTrait.event,this._onDidRemoveTrait=new S.a,this.onDidRemoveTrait=this._onDidRemoveTrait.event,this._onDidRefresh=new S.a,this.onDidRefresh=this._onDidRefresh.event,this._onRefreshChildren=new S.a,this.onRefreshChildren=this._onRefreshChildren.event,this._onDidRefreshChildren=new S.a,this.onDidRefreshChildren=this._onDidRefreshChildren.event,this._onDidDispose=new S.a,this.onDidDispose=this._onDidDispose.event,this.registry=t,this.context=n,this.lock=r,this.element=o,this.id=e,this.registry.register(this),this.doesHaveChildren=this.context.dataSource.hasChildren(this.context.tree,this.element),this.needsChildrenRefresh=!0,this.parent=null,this.previous=null,this.next=null,this.firstChild=null,this.lastChild=null,this.traits={},this.depth=0,this.expanded=!(!this.context.dataSource.shouldAutoexpand||!this.context.dataSource.shouldAutoexpand(this.context.tree,o)),this._onDidCreate.fire(this),this.visible=this._isVisible(),this.height=this._getHeight(),this._isDisposed=!1}return e.prototype.getElement=function(){return this.element},e.prototype.hasChildren=function(){return this.doesHaveChildren},e.prototype.getDepth=function(){return this.depth},e.prototype.isVisible=function(){return this.visible},e.prototype.setVisible=function(e){this.visible=e},e.prototype.isExpanded=function(){return this.expanded},e.prototype._setExpanded=function(e){this.expanded=e},e.prototype.reveal=function(e){void 0===e&&(e=null);var t={item:this,relativeTop:e};this._onDidReveal.fire(t)},e.prototype.expand=function(){var e=this;return this.isExpanded()||!this.doesHaveChildren||this.lock.isLocked(this)?Promise.resolve(!1):this.lock.run(this,(function(){if(e.isExpanded()||!e.doesHaveChildren)return Promise.resolve(!1);var t={item:e};return e._onExpand.fire(t),(e.needsChildrenRefresh?e.refreshChildren(!1,!0,!0):Promise.resolve(null)).then((function(){return e._setExpanded(!0),e._onDidExpand.fire(t),!0}))})).then((function(t){return!e.isDisposed()&&(e.context.options.autoExpandSingleChildren&&t&&null!==e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.isVisible()?e.firstChild.expand().then((function(){return!0})):t)}))},e.prototype.collapse=function(e){var t=this;if(void 0===e&&(e=!1),e){var n=Promise.resolve(null);return this.forEachChild((function(e){n=n.then((function(){return e.collapse(!0)}))})),n.then((function(){return t.collapse(!1)}))}return!this.isExpanded()||this.lock.isLocked(this)?Promise.resolve(!1):this.lock.run(this,(function(){var e={item:t};return t._onCollapse.fire(e),t._setExpanded(!1),t._onDidCollapse.fire(e),Promise.resolve(!0)}))},e.prototype.addTrait=function(e){var t={item:this,trait:e};this.traits[e]=!0,this._onDidAddTrait.fire(t)},e.prototype.removeTrait=function(e){var t={item:this,trait:e};delete this.traits[e],this._onDidRemoveTrait.fire(t)},e.prototype.hasTrait=function(e){return this.traits[e]||!1},e.prototype.getAllTraits=function(){var e,t=[];for(e in this.traits)this.traits.hasOwnProperty(e)&&this.traits[e]&&t.push(e);return t},e.prototype.getHeight=function(){return this.height},e.prototype.refreshChildren=function(t,n,r){var o=this;if(void 0===n&&(n=!1),void 0===r&&(r=!1),!r&&!this.isExpanded()){var i=function(e){e.needsChildrenRefresh=!0,e.forEachChild(i)};return i(this),Promise.resolve(this)}this.needsChildrenRefresh=!1;var s=function(){var r={item:o,isNested:n};return o._onRefreshChildren.fire(r),(o.doesHaveChildren?o.context.dataSource.getChildren(o.context.tree,o.element):Promise.resolve([])).then((function(n){if(o.isDisposed()||o.registry.isDisposed())return Promise.resolve(null);if(!Array.isArray(n))return Promise.reject(new Error("Please return an array of children."));n=n?n.slice(0):[],n=o.sort(n);for(var r={};null!==o.firstChild;)r[o.firstChild.id]=o.firstChild,o.removeChild(o.firstChild);for(var i=0,s=n.length;i=0;o--)this.onInsertItem(c[o]);for(o=this.heightMap.length-1;o>=r;o--)this.onRefreshItem(this.heightMap[o]);return a},e.prototype.onInsertItem=function(e){},e.prototype.onRemoveItems=function(e){for(var t,n=null,r=null,o=0,i=0;n=e.next();){if(o=this.indexes[n],!(t=this.heightMap[o]))return void console.error("view item doesnt exist");i-=t.height,delete this.indexes[n],this.onRemoveItem(t),null===r&&(r=o)}if(0!==i&&null!==r)for(this.heightMap.splice(r,o-r+1),o=r;o=n.top+n.height))return t;if(r===t)break;r=t}return this.heightMap.length},e.prototype.indexAfter=function(e){return Math.min(this.indexAt(e)+1,this.heightMap.length)},e.prototype.itemAtIndex=function(e){return this.heightMap[e]},e.prototype.itemAfter=function(e){return this.heightMap[this.indexes[e.model.id]+1]||null},e.prototype.createViewItem=function(e){throw new Error("not implemented")},e.prototype.dispose=function(){this.heightMap=[],this.indexes={}},e}(),K=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),q=function(){function e(e,t,n){this._posx=e,this._posy=t,this._target=n}return e.prototype.preventDefault=function(){},e.prototype.stopPropagation=function(){},Object.defineProperty(e.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),e}(),G=function(e){function t(t){var n=e.call(this,t.posx,t.posy,t.target)||this;return n.originalEvent=t,n}return K(t,e),t.prototype.preventDefault=function(){this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},t}(q),Y=function(e){function t(t,n,r){var o=e.call(this,t,n,r.target)||this;return o.originalEvent=r,o}return K(t,e),t.prototype.preventDefault=function(){this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},t}(q),$=n(79),X=n(15),J=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();var Z=function(){function e(e){this.context=e,this._cache={"":[]}}return e.prototype.alloc=function(e){var t=this.cache(e).pop();if(!t){var n=document.createElement("div");n.className="content";var r=document.createElement("div");r.appendChild(n);var o=null;try{o=this.context.renderer.renderTemplate(this.context.tree,e,n)}catch(i){console.error("Tree usage error: exception while rendering template"),console.error(i)}t={element:r,templateId:e,templateData:o}}return t},e.prototype.release=function(e,t){!function(e){try{e.parentElement.removeChild(e)}catch(t){}}(t.element),this.cache(e).push(t)},e.prototype.cache=function(e){return this._cache[e]||(this._cache[e]=[])},e.prototype.garbageCollect=function(){var e=this;this._cache&&Object.keys(this._cache).forEach((function(t){e._cache[t].forEach((function(n){e.context.renderer.disposeTemplate(e.context.tree,t,n.templateData),n.element=null,n.templateData=null})),delete e._cache[t]}))},e.prototype.dispose=function(){this.garbageCollect(),this._cache=null},e}(),Q=function(){function e(e,t){var n=this;this.width=0,this.unbindDragStart=C.a.None,this.context=e,this.model=t,this.id=this.model.id,this.row=null,this.top=0,this.height=t.getHeight(),this._styles={},t.getAllTraits().forEach((function(e){return n._styles[e]=!0})),t.isExpanded()&&this.addClass("expanded")}return Object.defineProperty(e.prototype,"expanded",{set:function(e){e?this.addClass("expanded"):this.removeClass("expanded")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loading",{set:function(e){e?this.addClass("loading"):this.removeClass("loading")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this._draggable},set:function(e){this._draggable=e,this.render(!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropTarget",{set:function(e){e?this.addClass("drop-target"):this.removeClass("drop-target")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.row&&this.row.element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"templateId",{get:function(){return this._templateId||(this._templateId=this.context.renderer.getTemplateId&&this.context.renderer.getTemplateId(this.context.tree,this.model.getElement()))},enumerable:!0,configurable:!0}),e.prototype.addClass=function(e){this._styles[e]=!0,this.render(!0)},e.prototype.removeClass=function(e){delete this._styles[e],this.render(!0)},e.prototype.render=function(e){var t=this;if(void 0===e&&(e=!1),this.model&&this.element){var n=["monaco-tree-row"];n.push.apply(n,Object.keys(this._styles)),this.model.hasChildren()&&n.push("has-children"),this.element.className=n.join(" "),this.element.draggable=this.draggable,this.element.style.height=this.height+"px",this.element.setAttribute("role","treeitem");var r=this.context.accessibilityProvider,o=r.getAriaLabel(this.context.tree,this.model.getElement());if(o&&this.element.setAttribute("aria-label",o),r.getPosInSet&&r.getSetSize&&(this.element.setAttribute("aria-setsize",r.getSetSize()),this.element.setAttribute("aria-posinset",r.getPosInSet(this.context.tree,this.model.getElement()))),this.model.hasTrait("focused")){var s=M.F(this.model.id);this.element.setAttribute("aria-selected","true"),this.element.setAttribute("id",s)}else this.element.setAttribute("aria-selected","false"),this.element.removeAttribute("id");this.model.hasChildren()?this.element.setAttribute("aria-expanded",String(!!this._styles.expanded)):this.element.removeAttribute("aria-expanded"),this.element.setAttribute("aria-level",String(this.model.getDepth())),this.context.options.paddingOnRow?this.element.style.paddingLeft=this.context.options.twistiePixels+(this.model.getDepth()-1)*this.context.options.indentPixels+"px":(this.element.style.paddingLeft=(this.model.getDepth()-1)*this.context.options.indentPixels+"px",this.row.element.firstElementChild.style.paddingLeft=this.context.options.twistiePixels+"px");var a=this.context.dnd.getDragURI(this.context.tree,this.model.getElement());if(a!==this.uri&&(this.unbindDragStart&&this.unbindDragStart.dispose(),a?(this.uri=a,this.draggable=!0,this.unbindDragStart=i.h(this.element,"dragstart",(function(e){t.onDragStart(e)}))):this.uri=null),!e&&this.element){var u=0;if(this.context.horizontalScrolling){var c=window.getComputedStyle(this.element);u=parseFloat(c.paddingLeft)}this.context.horizontalScrolling&&(this.element.style.width="fit-content");try{this.context.renderer.renderElement(this.context.tree,this.model.getElement(),this.templateId,this.row.templateData)}catch(l){console.error("Tree usage error: exception while rendering element"),console.error(l)}this.context.horizontalScrolling&&(this.width=i.u(this.element)+u,this.element.style.width="")}}},e.prototype.insertInDOM=function(e,t){if(this.row||(this.row=this.context.cache.alloc(this.templateId),this.element[te.BINDING]=this),!this.element.parentElement){if(null===t)e.appendChild(this.element);else try{e.insertBefore(this.element,t)}catch(n){console.warn("Failed to locate previous tree element"),e.appendChild(this.element)}this.render()}},e.prototype.removeFromDOM=function(){this.row&&(this.unbindDragStart.dispose(),this.uri=null,this.element[te.BINDING]=null,this.context.cache.release(this.templateId,this.row),this.row=null)},e.prototype.dispose=function(){this.row=null},e}(),ee=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.row={element:r,templateData:null,templateId:null},o}return J(t,e),t.prototype.render=function(){if(this.model&&this.element){var e=["monaco-tree-wrapper"];e.push.apply(e,Object.keys(this._styles)),this.model.hasChildren()&&e.push("has-children"),this.element.className=e.join(" ")}},t.prototype.insertInDOM=function(e,t){},t.prototype.removeFromDOM=function(){},t}(Q);var te=function(e){function t(n,r){var o=e.call(this)||this;o.model=null,o.lastClickTimeStamp=0,o.contentWidthUpdateDelayer=new X.a(50),o.isRefreshing=!1,o.refreshingPreviousChildrenIds={},o.currentDragAndDropData=null,o.currentDropTarget=null,o.currentDropTargets=null,o.currentDropDisposable=C.a.None,o.dragAndDropScrollInterval=null,o.dragAndDropScrollTimeout=null,o.dragAndDropMouseY=null,o.onHiddenScrollTop=null,o._onDOMFocus=new S.a,o._onDOMBlur=new S.a,o._onDidScroll=new S.a,t.counter++,o.instance=t.counter;var s="undefined"===typeof n.options.horizontalScrollMode?2:n.options.horizontalScrollMode;o.horizontalScrolling=2!==s,o.context={dataSource:n.dataSource,renderer:n.renderer,controller:n.controller,dnd:n.dnd,filter:n.filter,sorter:n.sorter,tree:n.tree,accessibilityProvider:n.accessibilityProvider,options:n.options,cache:new Z(n),horizontalScrolling:o.horizontalScrolling},o.modelListeners=[],o.viewListeners=[],o.items={},o.domNode=document.createElement("div"),o.domNode.className="monaco-tree no-focused-item monaco-tree-instance-"+o.instance,o.domNode.tabIndex=n.options.preventRootFocus?-1:0,o.styleElement=i.q(o.domNode),o.treeStyler=n.styler||new w(o.styleElement,"monaco-tree-instance-"+o.instance),o.domNode.setAttribute("role","tree"),o.context.options.ariaLabel&&o.domNode.setAttribute("aria-label",o.context.options.ariaLabel),o.context.options.alwaysFocused&&i.f(o.domNode,"focused"),o.context.options.paddingOnRow||i.f(o.domNode,"no-row-padding"),o.wrapper=document.createElement("div"),o.wrapper.className="monaco-tree-wrapper",o.scrollableElement=new U.b(o.wrapper,{alwaysConsumeMouseWheel:!0,horizontal:s,vertical:"undefined"!==typeof n.options.verticalScrollMode?n.options.verticalScrollMode:1,useShadows:n.options.useShadows}),o.scrollableElement.onScroll((function(e){o.render(e.scrollTop,e.height,e.scrollLeft,e.width,e.scrollWidth),o._onDidScroll.fire()})),I.j?(o.wrapper.style.msTouchAction="none",o.wrapper.style.msContentZooming="none"):j.b.addTarget(o.wrapper),o.rowsContainer=document.createElement("div"),o.rowsContainer.className="monaco-tree-rows",n.options.showTwistie&&(o.rowsContainer.className+=" show-twisties");var a=i.Q(o.domNode);return o.viewListeners.push(a.onDidFocus((function(){return o.onFocus()}))),o.viewListeners.push(a.onDidBlur((function(){return o.onBlur()}))),o.viewListeners.push(a),o.viewListeners.push(i.h(o.domNode,"keydown",(function(e){return o.onKeyDown(e)}))),o.viewListeners.push(i.h(o.domNode,"keyup",(function(e){return o.onKeyUp(e)}))),o.viewListeners.push(i.h(o.domNode,"mousedown",(function(e){return o.onMouseDown(e)}))),o.viewListeners.push(i.h(o.domNode,"mouseup",(function(e){return o.onMouseUp(e)}))),o.viewListeners.push(i.h(o.wrapper,"auxclick",(function(e){e&&1===e.button&&o.onMouseMiddleClick(e)}))),o.viewListeners.push(i.h(o.wrapper,"click",(function(e){return o.onClick(e)}))),o.viewListeners.push(i.h(o.domNode,"contextmenu",(function(e){return o.onContextMenu(e)}))),o.viewListeners.push(i.h(o.wrapper,j.a.Tap,(function(e){return o.onTap(e)}))),o.viewListeners.push(i.h(o.wrapper,j.a.Change,(function(e){return o.onTouchChange(e)}))),I.j&&(o.viewListeners.push(i.h(o.wrapper,"MSPointerDown",(function(e){return o.onMsPointerDown(e)}))),o.viewListeners.push(i.h(o.wrapper,"MSGestureTap",(function(e){return o.onMsGestureTap(e)}))),o.viewListeners.push(i.j(o.wrapper,"MSGestureChange",(function(e){return o.onThrottledMsGestureChange(e)}),(function(e,t){t.stopPropagation(),t.preventDefault();var n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n})))),o.viewListeners.push(i.h(window,"dragover",(function(e){return o.onDragOver(e)}))),o.viewListeners.push(i.h(o.wrapper,"drop",(function(e){return o.onDrop(e)}))),o.viewListeners.push(i.h(window,"dragend",(function(e){return o.onDragEnd(e)}))),o.viewListeners.push(i.h(window,"dragleave",(function(e){return o.onDragOver(e)}))),o.wrapper.appendChild(o.rowsContainer),o.domNode.appendChild(o.scrollableElement.getDomNode()),r.appendChild(o.domNode),o.lastRenderTop=0,o.lastRenderHeight=0,o.didJustPressContextMenuKey=!1,o.currentDropTarget=null,o.currentDropTargets=[],o.shouldInvalidateDropReaction=!1,o.dragAndDropScrollInterval=null,o.dragAndDropScrollTimeout=null,o.onRowsChanged(),o.layout(),o.setupMSGesture(),o.applyStyles(n.options),o}return J(t,e),Object.defineProperty(t.prototype,"onDOMFocus",{get:function(){return this._onDOMFocus.event},enumerable:!0,configurable:!0}),t.prototype.applyStyles=function(e){this.treeStyler.style(e)},t.prototype.createViewItem=function(e){return new Q(this.context,e)},t.prototype.getHTMLElement=function(){return this.domNode},t.prototype.focus=function(){this.domNode.focus()},t.prototype.isFocused=function(){return document.activeElement===this.domNode},t.prototype.blur=function(){this.domNode.blur()},t.prototype.setupMSGesture=function(){var e=this;window.MSGesture&&(this.msGesture=new MSGesture,setTimeout((function(){return e.msGesture.target=e.wrapper}),100))},t.prototype.isTreeVisible=function(){return null===this.onHiddenScrollTop},t.prototype.layout=function(e,t){this.isTreeVisible()&&(this.viewHeight=e||i.t(this.wrapper),this.scrollHeight=this.getContentHeight(),this.horizontalScrolling&&(this.viewWidth=t||i.u(this.wrapper)))},t.prototype.render=function(e,t,n,r,o){var i,s,a=e,u=e+t,c=this.lastRenderTop+this.lastRenderHeight;for(i=this.indexAfter(u)-1,s=this.indexAt(Math.max(c,a));i>=s;i--)this.insertItemInDOM(this.itemAtIndex(i));for(i=Math.min(this.indexAt(this.lastRenderTop),this.indexAfter(u))-1,s=this.indexAt(a);i>=s;i--)this.insertItemInDOM(this.itemAtIndex(i));for(i=this.indexAt(this.lastRenderTop),s=Math.min(this.indexAt(a),this.indexAfter(c));i1e3,c=[],l=!1;if(!u)l=(c=new N.a({getLength:function(){return o.length},getElementAtIndex:function(e){return o[e]}},{getLength:function(){return i.length},getElementAtIndex:function(e){return i[e].id}},null).ComputeDiff(!1)).some((function(e){if(e.modifiedLength>0)for(var n=e.modifiedStart,r=e.modifiedStart+e.modifiedLength;n0&&this.onRemoveItems(new H.a(o,h.originalStart,h.originalStart+h.originalLength)),h.modifiedLength>0){var f=i[h.modifiedStart-1]||n;f=f.getDepth()>0?f:null,this.onInsertItems(new H.a(i,h.modifiedStart,h.modifiedStart+h.modifiedLength),f?f.id:null)}}else(u||c.length)&&(this.onRemoveItems(new H.a(o)),this.onInsertItems(new H.a(i),n.getDepth()>0?n.id:null));(u||c.length)&&this.onRowsChanged()}},t.prototype.onItemRefresh=function(e){this.onItemsRefresh([e])},t.prototype.onItemsRefresh=function(e){var t=this;this.onRefreshItemSet(e.filter((function(e){return t.items.hasOwnProperty(e.id)}))),this.onRowsChanged()},t.prototype.onItemExpanding=function(e){var t=this.items[e.item.id];t&&(t.expanded=!0)},t.prototype.onItemExpanded=function(e){var t=e.item,n=this.items[t.id];if(n){n.expanded=!0;var r=this.onInsertItems(t.getNavigator(),t.id)||0,o=this.scrollTop;n.top+n.height<=this.scrollTop&&(o+=r),this.onRowsChanged(o)}},t.prototype.onItemCollapsing=function(e){var t=e.item,n=this.items[t.id];n&&(n.expanded=!1,this.onRemoveItems(new H.e(t.getNavigator(),(function(e){return e&&e.id}))),this.onRowsChanged())},t.prototype.onItemReveal=function(e){var t=e.item,n=e.relativeTop,r=this.items[t.id];if(r)if(null!==n){n=(n=n<0?0:n)>1?1:n;var o=r.height-this.viewHeight;this.scrollTop=o*n+r.top}else{var i=r.top+r.height,s=this.scrollTop+this.viewHeight;r.top=s&&(this.scrollTop=i-this.viewHeight)}},t.prototype.onItemAddTrait=function(e){var t=e.item,n=e.trait,r=this.items[t.id];r&&r.addClass(n),"highlighted"===n&&(i.f(this.domNode,n),r&&(this.highlightedItemWasDraggable=!!r.draggable,r.draggable&&(r.draggable=!1)))},t.prototype.onItemRemoveTrait=function(e){var t=e.item,n=e.trait,r=this.items[t.id];r&&r.removeClass(n),"highlighted"===n&&(i.G(this.domNode,n),this.highlightedItemWasDraggable&&(r.draggable=!0),this.highlightedItemWasDraggable=!1)},t.prototype.onModelFocusChange=function(){var e=this.model&&this.model.getFocus();i.P(this.domNode,"no-focused-item",!e),e?this.domNode.setAttribute("aria-activedescendant",M.F(this.context.dataSource.getId(this.context.tree,e))):this.domNode.removeAttribute("aria-activedescendant")},t.prototype.onInsertItem=function(e){var t=this;e.onDragStart=function(n){t.onDragStart(e,n)},e.needsRender=!0,this.refreshViewItem(e),this.items[e.id]=e},t.prototype.onRefreshItem=function(e,t){void 0===t&&(t=!1),e.needsRender=e.needsRender||t,this.refreshViewItem(e)},t.prototype.onRemoveItem=function(e){this.removeItemFromDOM(e),e.dispose(),delete this.items[e.id]},t.prototype.refreshViewItem=function(e){e.render(),this.shouldBeRendered(e)?this.insertItemInDOM(e):this.removeItemFromDOM(e)},t.prototype.onClick=function(e){if(!this.lastPointerType||"mouse"===this.lastPointerType){var t=new R.b(e),n=this.getItemAround(t.target);n&&(I.j&&Date.now()-this.lastClickTimeStamp<300&&(t.detail=2),this.lastClickTimeStamp=Date.now(),this.context.controller.onClick(this.context.tree,n.model.getElement(),t))}},t.prototype.onMouseMiddleClick=function(e){if(this.context.controller.onMouseMiddleClick){var t=new R.b(e),n=this.getItemAround(t.target);n&&this.context.controller.onMouseMiddleClick(this.context.tree,n.model.getElement(),t)}},t.prototype.onMouseDown=function(e){if(this.didJustPressContextMenuKey=!1,this.context.controller.onMouseDown&&(!this.lastPointerType||"mouse"===this.lastPointerType)){var t=new R.b(e);if(!(t.ctrlKey&&a.e&&a.d)){var n=this.getItemAround(t.target);n&&this.context.controller.onMouseDown(this.context.tree,n.model.getElement(),t)}}},t.prototype.onMouseUp=function(e){if(this.context.controller.onMouseUp&&(!this.lastPointerType||"mouse"===this.lastPointerType)){var t=new R.b(e);if(!(t.ctrlKey&&a.e&&a.d)){var n=this.getItemAround(t.target);n&&this.context.controller.onMouseUp(this.context.tree,n.model.getElement(),t)}}},t.prototype.onTap=function(e){var t=this.getItemAround(e.initialTarget);t&&this.context.controller.onTap(this.context.tree,t.model.getElement(),e)},t.prototype.onTouchChange=function(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY},t.prototype.onContextMenu=function(e){var t,n;if(e instanceof KeyboardEvent||this.didJustPressContextMenuKey){this.didJustPressContextMenuKey=!1;var r=new F.a(e),o=void 0;if(n=this.model.getFocus()){var s=this.context.dataSource.getId(this.context.tree,n),a=this.items[s];o=i.v(a.element)}else n=this.model.getInput(),o=i.v(this.inputItem.element);t=new Y(o.left+o.width,o.top,r)}else{var u=new R.b(e),c=this.getItemAround(u.target);if(!c)return;n=c.model.getElement(),t=new G(u)}this.context.controller.onContextMenu(this.context.tree,n,t)},t.prototype.onKeyDown=function(e){var t=new F.a(e);this.didJustPressContextMenuKey=58===t.keyCode||t.shiftKey&&68===t.keyCode,t.target&&t.target.tagName&&"input"===t.target.tagName.toLowerCase()||(this.didJustPressContextMenuKey&&(t.preventDefault(),t.stopPropagation()),this.context.controller.onKeyDown(this.context.tree,t))},t.prototype.onKeyUp=function(e){this.didJustPressContextMenuKey&&this.onContextMenu(e),this.didJustPressContextMenuKey=!1,this.context.controller.onKeyUp(this.context.tree,new F.a(e))},t.prototype.onDragStart=function(e,t){if(!this.model.getHighlight()){var n,r=e.model.getElement(),o=this.model.getSelection();if(n=o.indexOf(r)>-1?o:[r],t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setData($.a.RESOURCES,JSON.stringify([e.uri])),t.dataTransfer.setDragImage){var i=void 0;i=this.context.dnd.getDragLabel?this.context.dnd.getDragLabel(this.context.tree,n):String(n.length);var s=document.createElement("div");s.className="monaco-tree-drag-image",s.textContent=i,document.body.appendChild(s),t.dataTransfer.setDragImage(s,-10,-10),setTimeout((function(){return document.body.removeChild(s)}),0)}this.currentDragAndDropData=new B(n),$.c.CurrentDragAndDropData=new W(n),this.context.dnd.onDragStart(this.context.tree,this.currentDragAndDropData,new R.a(t))}},t.prototype.setupDragAndDropScrollInterval=function(){var e=this,t=i.x(this.wrapper).top;this.dragAndDropScrollInterval||(this.dragAndDropScrollInterval=window.setInterval((function(){if(null!==e.dragAndDropMouseY){var n=e.dragAndDropMouseY-t,r=0,o=e.viewHeight-35;n<35?r=Math.max(-14,.2*(n-35)):n>o&&(r=Math.min(14,.2*(n-o))),e.scrollTop+=r}}),10),this.cancelDragAndDropScrollTimeout(),this.dragAndDropScrollTimeout=window.setTimeout((function(){e.cancelDragAndDropScrollInterval(),e.dragAndDropScrollTimeout=null}),1e3))},t.prototype.cancelDragAndDropScrollInterval=function(){this.dragAndDropScrollInterval&&(window.clearInterval(this.dragAndDropScrollInterval),this.dragAndDropScrollInterval=null),this.cancelDragAndDropScrollTimeout()},t.prototype.cancelDragAndDropScrollTimeout=function(){this.dragAndDropScrollTimeout&&(window.clearTimeout(this.dragAndDropScrollTimeout),this.dragAndDropScrollTimeout=null)},t.prototype.onDragOver=function(e){var t=this;e.preventDefault();var n,r=new R.a(e),o=this.getItemAround(r.target);if(!o||0===r.posx&&0===r.posy&&r.browserEvent.type===i.d.DRAG_LEAVE)return this.currentDropTarget&&(this.currentDropTargets.forEach((function(e){return e.dropTarget=!1})),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.cancelDragAndDropScrollInterval(),this.currentDropTarget=null,this.currentDropElement=null,this.dragAndDropMouseY=null,!1;if(this.setupDragAndDropScrollInterval(),this.dragAndDropMouseY=r.posy,!this.currentDragAndDropData)if($.c.CurrentDragAndDropData)this.currentDragAndDropData=$.c.CurrentDragAndDropData;else{if(!r.dataTransfer.types)return!1;this.currentDragAndDropData=new V}this.currentDragAndDropData.update(r.browserEvent.dataTransfer);var s,a=o.model;do{if(n=a?a.getElement():this.model.getInput(),!(s=this.context.dnd.onDragOver(this.context.tree,this.currentDragAndDropData,n,r))||1!==s.bubble)break;a=a&&a.parent}while(a);if(!a)return this.currentDropElement=null,!1;var u=s&&s.accept;u?(this.currentDropElement=a.getElement(),r.preventDefault(),r.dataTransfer.dropEffect=0===s.effect?"copy":"move"):this.currentDropElement=null;var c,l,d=a.id===this.inputItem.id?this.inputItem:this.items[a.id];if((this.shouldInvalidateDropReaction||this.currentDropTarget!==d||(c=this.currentDropElementReaction,l=s,!(!c&&!l||c&&l&&c.accept===l.accept&&c.bubble===l.bubble&&c.effect===l.effect)))&&(this.shouldInvalidateDropReaction=!1,this.currentDropTarget&&(this.currentDropTargets.forEach((function(e){return e.dropTarget=!1})),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.currentDropTarget=d,this.currentDropElementReaction=s,u)){if(this.currentDropTarget&&(this.currentDropTarget.dropTarget=!0,this.currentDropTargets.push(this.currentDropTarget)),0===s.bubble)for(var p=a.getNavigator(),h=void 0;h=p.next();)(o=this.items[h.id])&&(o.dropTarget=!0,this.currentDropTargets.push(o));if(s.autoExpand){var f=Object(X.j)(500);this.currentDropDisposable=C.f((function(){return f.cancel()})),f.then((function(){return t.context.tree.expand(t.currentDropElement)})).then((function(){return t.shouldInvalidateDropReaction=!0}))}}return!0},t.prototype.onDrop=function(e){if(this.currentDropElement){var t=new R.a(e);t.preventDefault(),this.currentDragAndDropData.update(t.browserEvent.dataTransfer),this.context.dnd.drop(this.context.tree,this.currentDragAndDropData,this.currentDropElement,t),this.onDragEnd(e)}this.cancelDragAndDropScrollInterval()},t.prototype.onDragEnd=function(e){this.currentDropTarget&&(this.currentDropTargets.forEach((function(e){return e.dropTarget=!1})),this.currentDropTargets=[]),this.currentDropDisposable.dispose(),this.cancelDragAndDropScrollInterval(),this.currentDragAndDropData=null,$.c.CurrentDragAndDropData=void 0,this.currentDropElement=null,this.currentDropTarget=null,this.dragAndDropMouseY=null},t.prototype.onFocus=function(){this.context.options.alwaysFocused||i.f(this.domNode,"focused"),this._onDOMFocus.fire()},t.prototype.onBlur=function(){this.context.options.alwaysFocused||i.G(this.domNode,"focused"),this.domNode.removeAttribute("aria-activedescendant"),this._onDOMBlur.fire()},t.prototype.onMsPointerDown=function(e){if(this.msGesture){var t=e.pointerType;t!==(e.MSPOINTER_TYPE_MOUSE||"mouse")?t===(e.MSPOINTER_TYPE_TOUCH||"touch")&&(this.lastPointerType="touch",e.stopPropagation(),e.preventDefault(),this.msGesture.addPointer(e.pointerId)):this.lastPointerType="mouse"}},t.prototype.onThrottledMsGestureChange=function(e){this.scrollTop-=e.translationY},t.prototype.onMsGestureTap=function(e){e.initialTarget=document.elementFromPoint(e.clientX,e.clientY),this.onTap(e)},t.prototype.insertItemInDOM=function(e){var t=null,n=this.itemAfter(e);n&&n.element&&(t=n.element),e.insertInDOM(this.rowsContainer,t)},t.prototype.removeItemFromDOM=function(e){e&&e.removeFromDOM()},t.prototype.shouldBeRendered=function(e){return e.topthis.lastRenderTop},t.prototype.getItemAround=function(e){var n=this.inputItem,r=e;do{if(r[t.BINDING]&&(n=r[t.BINDING]),r===this.wrapper||r===this.domNode)return n;if(r===this.scrollableElement.getDomNode()||r===document.body)return}while(r=r.parentElement)},t.prototype.releaseModel=function(){this.model&&(this.modelListeners=C.d(this.modelListeners),this.model=null)},t.prototype.dispose=function(){var t=this;this.scrollableElement.dispose(),this.releaseModel(),this.viewListeners=C.d(this.viewListeners),this._onDOMFocus.dispose(),this._onDOMBlur.dispose(),this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.items&&Object.keys(this.items).forEach((function(e){return t.items[e].removeFromDOM()})),this.context.cache&&this.context.cache.dispose(),e.prototype.dispose.call(this)},t.BINDING="monaco-tree-row",t.LOADING_DECORATION_DELAY=800,t.counter=0,t}(z),ne=n(13),re=n(29),oe=function(e,t,n){if(void 0===n&&(n={}),this.tree=e,this.configuration=t,this.options=n,!t.dataSource)throw new Error("You must provide a Data Source to the tree.");this.dataSource=t.dataSource,this.renderer=t.renderer,this.controller=t.controller||new y({clickBehavior:1,keyboardSupport:"boolean"!==typeof n.keyboardSupport||n.keyboardSupport}),this.dnd=t.dnd||new v,this.filter=t.filter||new b,this.sorter=t.sorter,this.accessibilityProvider=t.accessibilityProvider||new _,this.styler=t.styler},ie={listFocusBackground:ne.a.fromHex("#073655"),listActiveSelectionBackground:ne.a.fromHex("#0E639C"),listActiveSelectionForeground:ne.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:ne.a.fromHex("#094771"),listFocusAndSelectionForeground:ne.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:ne.a.fromHex("#3F3F46"),listHoverBackground:ne.a.fromHex("#2A2D2E"),listDropBackground:ne.a.fromHex("#383B3D")},se=function(){function e(e,t,n){void 0===n&&(n={}),this._onDidChangeFocus=new S.f,this.onDidChangeFocus=this._onDidChangeFocus.event,this._onDidChangeSelection=new S.f,this.onDidChangeSelection=this._onDidChangeSelection.event,this._onHighlightChange=new S.f,this._onDidExpandItem=new S.f,this._onDidCollapseItem=new S.f,this._onDispose=new S.a,this.onDidDispose=this._onDispose.event,this.container=e,Object(re.g)(n,ie,!1),n.twistiePixels="number"===typeof n.twistiePixels?n.twistiePixels:32,n.showTwistie=!1!==n.showTwistie,n.indentPixels="number"===typeof n.indentPixels?n.indentPixels:12,n.alwaysFocused=!0===n.alwaysFocused,n.useShadows=!1!==n.useShadows,n.paddingOnRow=!1!==n.paddingOnRow,n.showLoading=!1!==n.showLoading,this.context=new oe(this,t,n),this.model=new P(this.context),this.view=new te(this.context,this.container),this.view.setModel(this.model),this._onDidChangeFocus.input=this.model.onDidFocus,this._onDidChangeSelection.input=this.model.onDidSelect,this._onHighlightChange.input=this.model.onDidHighlight,this._onDidExpandItem.input=this.model.onDidExpandItem,this._onDidCollapseItem.input=this.model.onDidCollapseItem}return e.prototype.style=function(e){this.view.applyStyles(e)},Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.view&&this.view.onDOMFocus},enumerable:!0,configurable:!0}),e.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},e.prototype.layout=function(e,t){this.view.layout(e,t)},e.prototype.domFocus=function(){this.view.focus()},e.prototype.isDOMFocused=function(){return this.view.isFocused()},e.prototype.domBlur=function(){this.view.blur()},e.prototype.setInput=function(e){return this.model.setInput(e)},e.prototype.getInput=function(){return this.model.getInput()},e.prototype.expand=function(e){return this.model.expand(e)},e.prototype.collapse=function(e,t){return void 0===t&&(t=!1),this.model.collapse(e,t)},e.prototype.toggleExpansion=function(e,t){return void 0===t&&(t=!1),this.model.toggleExpansion(e,t)},e.prototype.isExpanded=function(e){return this.model.isExpanded(e)},e.prototype.reveal=function(e,t){return void 0===t&&(t=null),this.model.reveal(e,t)},e.prototype.getHighlight=function(){return this.model.getHighlight()},e.prototype.clearHighlight=function(e){this.model.setHighlight(null,e)},e.prototype.setSelection=function(e,t){this.model.setSelection(e,t)},e.prototype.getSelection=function(){return this.model.getSelection()},e.prototype.clearSelection=function(e){this.model.setSelection([],e)},e.prototype.setFocus=function(e,t){this.model.setFocus(e,t)},e.prototype.getFocus=function(){return this.model.getFocus()},e.prototype.focusNext=function(e,t){this.model.focusNext(e,t)},e.prototype.focusPrevious=function(e,t){this.model.focusPrevious(e,t)},e.prototype.focusParent=function(e){this.model.focusParent(e)},e.prototype.focusFirstChild=function(e){this.model.focusFirstChild(e)},e.prototype.focusFirst=function(e,t){this.model.focusFirst(e,t)},e.prototype.focusNth=function(e,t){this.model.focusNth(e,t)},e.prototype.focusLast=function(e,t){this.model.focusLast(e,t)},e.prototype.focusNextPage=function(e){this.view.focusNextPage(e)},e.prototype.focusPreviousPage=function(e){this.view.focusPreviousPage(e)},e.prototype.clearFocus=function(e){this.model.setFocus(null,e)},e.prototype.dispose=function(){this._onDispose.fire(),null!==this.model&&(this.model.dispose(),this.model=null),null!==this.view&&(this.view.dispose(),this.view=null),this._onDidChangeFocus.dispose(),this._onDidChangeSelection.dispose(),this._onHighlightChange.dispose(),this._onDidExpandItem.dispose(),this._onDidCollapseItem.dispose(),this._onDispose.dispose()},e}(),ae=(n(387),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),ue={progressBarBackground:ne.a.fromHex("#0E70C0")},ce=function(e){function t(t,n){var r=e.call(this)||this;return r.options=n||Object.create(null),Object(re.g)(r.options,ue,!1),r.workedVal=0,r.progressBarBackground=r.options.progressBarBackground,r._register(r.showDelayedScheduler=new X.d((function(){return Object(i.O)(r.element)}),0)),r.create(t),r}return ae(t,e),t.prototype.create=function(e){this.element=document.createElement("div"),Object(i.f)(this.element,"monaco-progress-container"),e.appendChild(this.element),this.bit=document.createElement("div"),Object(i.f)(this.bit,"progress-bit"),this.element.appendChild(this.bit),this.applyStyles()},t.prototype.off=function(){this.bit.style.width="inherit",this.bit.style.opacity="1",Object(i.H)(this.element,"active","infinite","discrete"),this.workedVal=0,this.totalWork=void 0},t.prototype.stop=function(){return this.doDone(!1)},t.prototype.doDone=function(e){var t=this;return Object(i.f)(this.element,"done"),Object(i.A)(this.element,"infinite")?(this.bit.style.opacity="0",e?setTimeout((function(){return t.off()}),200):this.off()):(this.bit.style.width="inherit",e?setTimeout((function(){return t.off()}),200):this.off()),this},t.prototype.hide=function(){Object(i.B)(this.element),this.showDelayedScheduler.cancel()},t.prototype.style=function(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()},t.prototype.applyStyles=function(){if(this.bit){var e=this.progressBarBackground?this.progressBarBackground.toString():null;this.bit.style.backgroundColor=e}},t}(C.a),le=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),de=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return le(t,e),t.prototype.onContextMenu=function(t,n,r){return a.d?this.onLeftClick(t,n,r):e.prototype.onContextMenu.call(this,t,n,r)},t}(y),pe={background:ne.a.fromHex("#1E1E1E"),foreground:ne.a.fromHex("#CCCCCC"),pickerGroupForeground:ne.a.fromHex("#0097FB"),pickerGroupBorder:ne.a.fromHex("#3F3F46"),widgetShadow:ne.a.fromHex("#000000"),progressBarBackground:ne.a.fromHex("#0E70C0")},he=s.a("quickOpenAriaLabel","Quick picker. Type to narrow down results."),fe=function(e){function t(t,n,r){var o=e.call(this)||this;return o.isDisposed=!1,o.container=t,o.callbacks=n,o.options=r,o.styles=r||Object.create(null),Object(re.g)(o.styles,pe,!1),o.model=null,o}return le(t,e),t.prototype.getModel=function(){return this.model},t.prototype.create=function(){var e=this;this.element=document.createElement("div"),i.f(this.element,"monaco-quick-open-widget"),this.container.appendChild(this.element),this._register(i.h(this.element,i.d.CONTEXT_MENU,(function(e){return i.c.stop(e,!0)}))),this._register(i.h(this.element,i.d.FOCUS,(function(t){return e.gainingFocus()}),!0)),this._register(i.h(this.element,i.d.BLUR,(function(t){return e.loosingFocus(t)}),!0)),this._register(i.h(this.element,i.d.KEY_DOWN,(function(t){var n=new F.a(t);if(9===n.keyCode)i.c.stop(t,!0),e.hide(2);else if(2===n.keyCode&&!n.altKey&&!n.ctrlKey&&!n.metaKey){var r=t.currentTarget.querySelectorAll("input, .monaco-tree, .monaco-tree-row.focused .action-label.icon");n.shiftKey&&n.target===r[0]?(i.c.stop(t,!0),r[r.length-1].focus()):n.shiftKey||n.target!==r[r.length-1]||(i.c.stop(t,!0),r[0].focus())}}))),this.progressBar=this._register(new ce(this.element,{progressBarBackground:this.styles.progressBarBackground})),this.progressBar.hide(),this.inputContainer=document.createElement("div"),i.f(this.inputContainer,"quick-open-input"),this.element.appendChild(this.inputContainer),this.inputBox=this._register(new h.b(this.inputContainer,void 0,{placeholder:this.options.inputPlaceHolder||"",ariaLabel:he,inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder})),this.inputElement=this.inputBox.inputElement,this.inputElement.setAttribute("role","combobox"),this.inputElement.setAttribute("aria-haspopup","false"),this.inputElement.setAttribute("aria-autocomplete","list"),this._register(i.h(this.inputBox.inputElement,i.d.INPUT,(function(t){return e.onType()}))),this._register(i.h(this.inputBox.inputElement,i.d.KEY_DOWN,(function(t){var n=new F.a(t),r=e.shouldOpenInBackground(n);if(2!==n.keyCode)if(18===n.keyCode||16===n.keyCode||12===n.keyCode||11===n.keyCode)i.c.stop(t,!0),e.navigateInTree(n.keyCode,n.shiftKey),e.inputBox.inputElement.selectionStart===e.inputBox.inputElement.selectionEnd&&(e.inputBox.inputElement.selectionStart=e.inputBox.value.length);else if(3===n.keyCode||r){i.c.stop(t,!0);var o=e.tree.getFocus();o&&e.elementSelected(o,t,r?2:1)}}))),this.resultCount=document.createElement("div"),i.f(this.resultCount,"quick-open-result-count"),this.resultCount.setAttribute("aria-live","polite"),this.resultCount.setAttribute("aria-atomic","true"),this.element.appendChild(this.resultCount),this.treeContainer=document.createElement("div"),i.f(this.treeContainer,"quick-open-tree"),this.element.appendChild(this.treeContainer);var t=this.options.treeCreator||function(e,t,n){return new se(e,t,n)};return this.tree=this._register(t(this.treeContainer,{dataSource:new c(this),controller:new de({clickBehavior:1,keyboardSupport:this.options.keyboardSupport}),renderer:this.renderer=new p(this,this.styles),filter:new d(this),accessibilityProvider:new l(this)},{twistiePixels:11,indentPixels:0,alwaysFocused:!0,verticalScrollMode:3,horizontalScrollMode:2,ariaLabel:s.a("treeAriaLabel","Quick Picker"),keyboardSupport:this.options.keyboardSupport,preventRootFocus:!1})),this.treeElement=this.tree.getHTMLElement(),this._register(this.tree.onDidChangeFocus((function(t){e.elementFocused(t.focus,t)}))),this._register(this.tree.onDidChangeSelection((function(t){if(t.selection&&t.selection.length>0){var n=t.payload&&t.payload.originalEvent instanceof R.b?t.payload.originalEvent:void 0,r=!!n&&e.shouldOpenInBackground(n);e.elementSelected(t.selection[0],t,r?2:1)}}))),this._register(i.h(this.treeContainer,i.d.KEY_DOWN,(function(t){var n=new F.a(t);e.quickNavigateConfiguration&&(18!==n.keyCode&&16!==n.keyCode&&12!==n.keyCode&&11!==n.keyCode||(i.c.stop(t,!0),e.navigateInTree(n.keyCode)))}))),this._register(i.h(this.treeContainer,i.d.KEY_UP,(function(t){var n=new F.a(t),r=n.keyCode;if(e.quickNavigateConfiguration){var o=e.quickNavigateConfiguration.keybindings;if(3===r||o.some((function(e){var t=e.getParts(),o=t[0];return!t[1]&&(o.shiftKey&&4===r?!(n.ctrlKey||n.altKey||n.metaKey):!(!o.altKey||6!==r)||(!(!o.ctrlKey||5!==r)||!(!o.metaKey||57!==r)))}))){var i=e.tree.getFocus();i&&e.elementSelected(i,t)}}}))),this.layoutDimensions&&this.layout(this.layoutDimensions),this.applyStyles(),this._register(i.h(this.treeContainer,i.d.KEY_DOWN,(function(t){var n=new F.a(t);e.quickNavigateConfiguration||18!==n.keyCode&&16!==n.keyCode&&12!==n.keyCode&&11!==n.keyCode||(i.c.stop(t,!0),e.navigateInTree(n.keyCode,n.shiftKey),e.treeElement.focus())}))),this.element},t.prototype.style=function(e){this.styles=e,this.applyStyles()},t.prototype.applyStyles=function(){if(this.element){var e=this.styles.foreground?this.styles.foreground.toString():null,t=this.styles.background?this.styles.background.toString():null,n=this.styles.borderColor?this.styles.borderColor.toString():null,r=this.styles.widgetShadow?this.styles.widgetShadow.toString():null;this.element.style.color=e,this.element.style.backgroundColor=t,this.element.style.borderColor=n,this.element.style.borderWidth=n?"1px":null,this.element.style.borderStyle=n?"solid":null,this.element.style.boxShadow=r?"0 5px 8px "+r:null}this.progressBar&&this.progressBar.style({progressBarBackground:this.styles.progressBarBackground}),this.inputBox&&this.inputBox.style({inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder}),this.tree&&!this.options.treeCreator&&this.tree.style(this.styles),this.renderer&&this.renderer.updateStyles(this.styles)},t.prototype.shouldOpenInBackground=function(e){if(e instanceof F.a){if(17!==e.keyCode)return!1;if(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return!1;var t=this.inputBox.inputElement;return t.selectionEnd===this.inputBox.value.length&&t.selectionStart===t.selectionEnd}return e.middleButton},t.prototype.onType=function(){var e=this.inputBox.value;this.helpText&&(e?i.B(this.helpText):i.O(this.helpText)),this.callbacks.onType(e)},t.prototype.navigateInTree=function(e,t){var n=this.tree.getInput(),r=n?n.entries:[],o=this.tree.getFocus();switch(e){case 18:this.tree.focusNext();break;case 16:this.tree.focusPrevious();break;case 12:this.tree.focusNextPage();break;case 11:this.tree.focusPreviousPage();break;case 2:t?this.tree.focusPrevious():this.tree.focusNext()}var i=this.tree.getFocus();r.length>1&&o===i&&(16===e||2===e&&t?this.tree.focusLast():(18===e||2===e&&!t)&&this.tree.focusFirst()),(i=this.tree.getFocus())&&this.tree.reveal(i)},t.prototype.elementFocused=function(e,t){if(e&&this.isVisible()){var n=this.treeElement.getAttribute("aria-activedescendant");n?this.inputElement.setAttribute("aria-activedescendant",n):this.inputElement.removeAttribute("aria-activedescendant");var r={event:t,keymods:this.extractKeyMods(t),quickNavigateConfiguration:this.quickNavigateConfiguration};this.model.runner.run(e,0,r)}},t.prototype.elementSelected=function(e,t,n){var r=!0;if(this.isVisible()){var o=n||1,i={event:t,keymods:this.extractKeyMods(t),quickNavigateConfiguration:this.quickNavigateConfiguration};r=this.model.runner.run(e,o,i)}r&&this.hide(0)},t.prototype.extractKeyMods=function(e){return{ctrlCmd:e&&(e.ctrlKey||e.metaKey||e.payload&&e.payload.originalEvent&&(e.payload.originalEvent.ctrlKey||e.payload.originalEvent.metaKey)),alt:e&&(e.altKey||e.payload&&e.payload.originalEvent&&e.payload.originalEvent.altKey)}},t.prototype.show=function(e,t){this.visible=!0,this.isLoosingFocus=!1,this.quickNavigateConfiguration=t?t.quickNavigateConfiguration:void 0,this.quickNavigateConfiguration?(i.B(this.inputContainer),i.O(this.element),this.tree.domFocus()):(i.O(this.inputContainer),i.O(this.element),this.inputBox.focus()),this.helpText&&(this.quickNavigateConfiguration||u.h(e)?i.B(this.helpText):i.O(this.helpText)),u.h(e)?this.doShowWithPrefix(e):(t&&t.value&&this.restoreLastInput(t.value),this.doShowWithInput(e,t&&t.autoFocus?t.autoFocus:{})),t&&t.inputSelection&&!this.quickNavigateConfiguration&&this.inputBox.select(t.inputSelection),this.callbacks.onShow&&this.callbacks.onShow()},t.prototype.restoreLastInput=function(e){this.inputBox.value=e,this.inputBox.select(),this.callbacks.onType(e)},t.prototype.doShowWithPrefix=function(e){this.inputBox.value=e,this.callbacks.onType(e)},t.prototype.doShowWithInput=function(e,t){this.setInput(e,t)},t.prototype.setInputAndLayout=function(e,t){var n=this;this.treeContainer.style.height=this.getHeight(e)+"px",this.tree.setInput(null).then((function(){return n.model=e,n.inputElement.setAttribute("aria-haspopup",String(e&&e.entries&&e.entries.length>0)),n.tree.setInput(e)})).then((function(){n.tree.layout();var r=e?e.entries.filter((function(t){return n.isElementVisible(e,t)})):[];n.updateResultCount(r.length),r.length&&n.autoFocus(e,r,t)}))},t.prototype.isElementVisible=function(e,t){return!e.filter||e.filter.isVisible(t)},t.prototype.autoFocus=function(e,t,n){if(void 0===n&&(n={}),n.autoFocusPrefixMatch){for(var r=void 0,o=void 0,i=n.autoFocusPrefixMatch,s=i.toLowerCase(),a=0,u=t;an.autoFocusIndex&&(this.tree.focusNth(n.autoFocusIndex),this.tree.reveal(this.tree.getFocus())):n.autoFocusSecondEntry?t.length>1&&this.tree.focusNth(1):n.autoFocusLastEntry&&t.length>1&&this.tree.focusLast()},t.prototype.getHeight=function(e){var n=this,r=e.renderer;if(!e){var o=r.getHeight(null);return this.options.minItemsToShow?this.options.minItemsToShow*o:0}var i,s=0;this.layoutDimensions&&this.layoutDimensions.height&&(i=.4*(this.layoutDimensions.height-50)),(!i||i>t.MAX_ITEMS_HEIGHT)&&(i=t.MAX_ITEMS_HEIGHT);for(var a=e.entries.filter((function(t){return n.isElementVisible(e,t)})),u=this.options.maxItemsToShow||a.length,c=0;c=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},we=function(e,t){return function(n,r){t(n,r,e)}},xe=function(){function e(e,t){this.themeService=t,this.editor=e}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.getId=function(){return e.ID},e.prototype.dispose=function(){this.widget&&(this.widget.destroy(),this.widget=null)},e.prototype.run=function(e){var t=this;this.widget&&(this.widget.destroy(),this.widget=null);var n=function(e){t.clearDecorations(),e&&t.lastKnownEditorSelection&&(t.editor.setSelection(t.lastKnownEditorSelection),t.editor.revealRangeInCenterIfOutsideViewport(t.lastKnownEditorSelection,0)),t.lastKnownEditorSelection=null,document.activeElement!==document.body&&e||t.editor.focus()};this.widget=new ye(this.editor,(function(){return n(!1)}),(function(){return n(!0)}),(function(n){t.widget.setInput(e.getModel(n),e.getAutoFocus(n))}),{inputAriaLabel:e.inputAriaLabel},this.themeService),this.lastKnownEditorSelection||(this.lastKnownEditorSelection=this.editor.getSelection()),this.widget.show("")},e.prototype.decorateLine=function(t,n){var r=[];this.rangeHighlightDecorationId&&(r.push(this.rangeHighlightDecorationId),this.rangeHighlightDecorationId=null);var o=[{range:t,options:e._RANGE_HIGHLIGHT_DECORATION}],i=n.deltaDecorations(r,o);this.rangeHighlightDecorationId=i[0]},e.prototype.clearDecorations=function(){this.rangeHighlightDecorationId&&(this.editor.deltaDecorations([this.rangeHighlightDecorationId],[]),this.rangeHighlightDecorationId=null)},e.ID="editor.controller.quickOpenController",e._RANGE_HIGHLIGHT_DECORATION=o.a.register({className:"rangeHighlight",isWholeLine:!0}),e=_e([we(1,ve.c)],e)}(),Ce=function(e){function t(t,n){var r=e.call(this,n)||this;return r._inputAriaLabel=t,r}return be(t,e),t.prototype.getController=function(e){return xe.get(e)},t.prototype._show=function(e,t){e.run({inputAriaLabel:this._inputAriaLabel,getModel:function(e){return t.getModel(e)},getAutoFocus:function(e){return t.getAutoFocus(e)}})},t}(r.b);Object(r.h)(xe)},function(e,t,n){"use strict";n.d(t,"b",(function(){return v})),n.d(t,"a",(function(){return b}));n(351);var r=n(0),o=n(23),i=n(1),s=n(143),a=n(53),u=n(81),c=n(5),l=n(61),d=n(13),p=n(29),h=n(46),f=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=10),this._initialize(e),this._limit=t,this._onChange()}return e.prototype.add=function(e){this._history.delete(e),this._history.add(e),this._onChange()},e.prototype.next=function(){return this._navigator.next()},e.prototype.previous=function(){return this._navigator.previous()},e.prototype.current=function(){return this._navigator.current()},e.prototype.parent=function(){return null},e.prototype.first=function(){return this._navigator.first()},e.prototype.last=function(){return this._navigator.last()},e.prototype.has=function(e){return this._history.has(e)},e.prototype._onChange=function(){this._reduceToLimit(),this._navigator=new h.b(this._elements,0,this._elements.length,this._elements.length)},e.prototype._reduceToLimit=function(){var e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))},e.prototype._initialize=function(e){this._history=new Set;for(var t=0,n=e;t0||this.m_modifiedCount>0)&&this.m_changes.push(new r(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE},e.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),c=function(){function e(e,t,n){void 0===n&&(n=null),this.OriginalSequence=e,this.ModifiedSequence=t,this.ContinueProcessingPredicate=n,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e.prototype.ElementsAreEqual=function(e,t){return this.OriginalSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(t)},e.prototype.OriginalElementsAreEqual=function(e,t){return this.OriginalSequence.getElementAtIndex(e)===this.OriginalSequence.getElementAtIndex(t)},e.prototype.ModifiedElementsAreEqual=function(e,t){return this.ModifiedSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(t)},e.prototype.ComputeDiff=function(e){return this._ComputeDiff(0,this.OriginalSequence.getLength()-1,0,this.ModifiedSequence.getLength()-1,e)},e.prototype._ComputeDiff=function(e,t,n,r,o){var i=this.ComputeDiffRecursive(e,t,n,r,[!1]);return o?this.PrettifyChanges(i):i},e.prototype.ComputeDiffRecursive=function(e,t,n,o,i){for(i[0]=!1;e<=t&&n<=o&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&o>=n&&this.ElementsAreEqual(t,o);)t--,o--;if(e>t||n>o){var a=void 0;return n<=o?(s.Assert(e===t+1,"originalStart should only be one more than originalEnd"),a=[new r(e,0,n,o-n+1)]):e<=t?(s.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),a=[new r(e,t-e+1,n,0)]):(s.Assert(e===t+1,"originalStart should only be one more than originalEnd"),s.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),a=[]),a}var u=[0],c=[0],l=this.ComputeRecursionPoint(e,t,n,o,u,c,i),d=u[0],p=c[0];if(null!==l)return l;if(!i[0]){var h=this.ComputeDiffRecursive(e,d,n,p,i),f=[];return f=i[0]?[new r(d+1,t-(d+1)+1,p+1,o-(p+1)+1)]:this.ComputeDiffRecursive(d+1,t,p+1,o,i),this.ConcatenateChanges(h,f)}return[new r(e,t-e+1,n,o-n+1)]},e.prototype.WALKTRACE=function(e,t,n,o,i,s,a,c,l,d,p,h,f,g,m,y,v,b){var _,w,x=null,C=new u,S=t,k=n,E=f[0]-y[0]-o,T=Number.MIN_VALUE,O=this.m_forwardHistory.length-1;do{(w=E+e)===S||w=0&&(e=(l=this.m_forwardHistory[O])[0],S=1,k=l.length-1)}while(--O>=-1);if(_=C.getReverseChanges(),b[0]){var D=f[0]+1,A=y[0]+1;if(null!==_&&_.length>0){var L=_[_.length-1];D=Math.max(D,L.getOriginalEnd()),A=Math.max(A,L.getModifiedEnd())}x=[new r(D,h-D+1,A,m-A+1)]}else{C=new u,S=s,k=a,E=f[0]-y[0]-c,T=Number.MAX_VALUE,O=v?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{(w=E+i)===S||w=d[w+1]?(g=(p=d[w+1]-1)-E-c,p>T&&C.MarkNextChange(),T=p+1,C.AddOriginalElement(p+1,g+1),E=w+1-i):(g=(p=d[w-1])-E-c,p>T&&C.MarkNextChange(),T=p,C.AddModifiedElement(p+1,g+1),E=w-1-i),O>=0&&(i=(d=this.m_reverseHistory[O])[0],S=1,k=d.length-1)}while(--O>=-1);x=C.getChanges()}return this.ConcatenateChanges(_,x)},e.prototype.ComputeRecursionPoint=function(e,t,n,o,i,s,u){var c,l=0,d=0,p=0,h=0,f=0,g=0;e--,n--,i[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var m,y,v=t-e+(o-n),b=v+1,_=new Array(b),w=new Array(b),x=o-n,C=t-e,S=e-n,k=t-o,E=(C-x)%2===0;for(_[x]=e,w[C]=t,u[0]=!1,c=1;c<=v/2+1;c++){var T=0,O=0;for(p=this.ClipDiagonalBound(x-c,c,x,b),h=this.ClipDiagonalBound(x+c,c,x,b),m=p;m<=h;m+=2){for(d=(l=m===p||mT+O&&(T=l,O=d),!E&&Math.abs(m-C)<=c-1&&l>=w[m])return i[0]=l,s[0]=d,y<=w[m]&&c<=1448?this.WALKTRACE(x,p,h,S,C,f,g,k,_,w,l,t,i,d,o,s,E,u):null}var D=(T-e+(O-n)-c)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(T,this.OriginalSequence,D))return u[0]=!0,i[0]=T,s[0]=O,D>0&&c<=1448?this.WALKTRACE(x,p,h,S,C,f,g,k,_,w,l,t,i,d,o,s,E,u):(e++,n++,[new r(e,t-e+1,n,o-n+1)]);for(f=this.ClipDiagonalBound(C-c,c,C,b),g=this.ClipDiagonalBound(C+c,c,C,b),m=f;m<=g;m+=2){for(d=(l=m===f||m=w[m+1]?w[m+1]-1:w[m-1])-(m-C)-k,y=l;l>e&&d>n&&this.ElementsAreEqual(l,d);)l--,d--;if(w[m]=l,E&&Math.abs(m-x)<=c&&l<=_[m])return i[0]=l,s[0]=d,y>=_[m]&&c<=1448?this.WALKTRACE(x,p,h,S,C,f,g,k,_,w,l,t,i,d,o,s,E,u):null}if(c<=1447){var A=new Array(h-p+2);A[0]=x-p+1,a.Copy(_,p,A,1,h-p+1),this.m_forwardHistory.push(A),(A=new Array(g-f+2))[0]=C-f+1,a.Copy(w,f,A,1,g-f+1),this.m_reverseHistory.push(A)}}return this.WALKTRACE(x,p,h,S,C,f,g,k,_,w,l,t,i,d,o,s,E,u)},e.prototype.PrettifyChanges=function(e){for(var t=0;t0,s=n.modifiedLength>0;n.originalStart+n.originalLength=0;t--){n=e[t],r=0,o=0;if(t>0){var u=e[t-1];u.originalLength>0&&(r=u.originalStart+u.originalLength),u.modifiedLength>0&&(o=u.modifiedStart+u.modifiedLength)}i=n.originalLength>0,s=n.modifiedLength>0;for(var c=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),d=1;;d++){var p=n.originalStart-d,h=n.modifiedStart-d;if(pl&&(l=f,c=d)}n.originalStart-=c,n.modifiedStart-=c}return e},e.prototype._OriginalIsBoundary=function(e){if(e<=0||e>=this.OriginalSequence.getLength()-1)return!0;var t=this.OriginalSequence.getElementAtIndex(e);return"string"===typeof t&&/^\s*$/.test(t)},e.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){if(e<=0||e>=this.ModifiedSequence.getLength()-1)return!0;var t=this.ModifiedSequence.getElementAtIndex(e);return"string"===typeof t&&/^\s*$/.test(t)},e.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)},e.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var r=new Array(e.length+t.length-1);return a.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],a.Copy(t,1,r,e.length,t.length-1),r}r=new Array(e.length+t.length);return a.Copy(e,0,r,0,e.length),a.Copy(t,0,r,e.length,t.length),r},e.prototype.ChangesOverlap=function(e,t,n){if(s.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),s.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var o=e.originalStart,i=e.originalLength,a=e.modifiedStart,u=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(u=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new r(o,i,a,u),!0}return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,t,n,r){if(e>=0&&e=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},v=function(e,t){return function(n,r){t(n,r,e)}},b=function(){function e(e,t,n){var r=this;this._editor=e,this._codeEditorService=t,this._configurationService=n,this._globalToDispose=[],this._localToDispose=[],this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=[],this._decorationsTypes={},this._globalToDispose.push(e.onDidChangeModel((function(e){r._isEnabled=r.isEnabled(),r.onModelChanged()}))),this._globalToDispose.push(e.onDidChangeModelLanguage((function(e){return r.onModelChanged()}))),this._globalToDispose.push(f.c.onDidChange((function(e){return r.onModelChanged()}))),this._globalToDispose.push(e.onDidChangeConfiguration((function(e){var t=r._isEnabled;r._isEnabled=r.isEnabled(),t!==r._isEnabled&&(r._isEnabled?r.onModelChanged():r.removeAllDecorations())}))),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}return e.prototype.isEnabled=function(){var e=this._editor.getModel();if(!e)return!1;var t=e.getLanguageIdentifier(),n=this._configurationService.getValue(t.language);if(n){var r=n.colorDecorators;if(r&&void 0!==r.enable&&!r.enable)return r.enable}return this._editor.getConfiguration().contribInfo.colorDecorators},e.prototype.getId=function(){return e.ID},e.get=function(e){return e.getContribution(this.ID)},e.prototype.dispose=function(){this.stop(),this.removeAllDecorations(),this._globalToDispose=Object(c.d)(this._globalToDispose)},e.prototype.onModelChanged=function(){var t=this;if(this.stop(),this._isEnabled){var n=this._editor.getModel();n&&f.c.has(n)&&(this._localToDispose.push(this._editor.onDidChangeModelContent((function(n){t._timeoutTimer||(t._timeoutTimer=new r.e,t._timeoutTimer.cancelAndSet((function(){t._timeoutTimer=null,t.beginCompute()}),e.RECOMPUTE_TIME))}))),this.beginCompute())}},e.prototype.beginCompute=function(){var e=this;this._computePromise=Object(r.f)((function(t){var n=e._editor.getModel();return n?Object(g.b)(n,t):Promise.resolve([])})),this._computePromise.then((function(t){e.updateDecorations(t),e.updateColorDecorators(t),e._computePromise=null}),i.e)},e.prototype.stop=function(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose=Object(c.d)(this._localToDispose)},e.prototype.updateDecorations=function(e){var t=this,n=e.map((function(e){return{range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:h.a.EMPTY}}));this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,n),this._colorDatas=new Map,this._decorationsIds.forEach((function(n,r){return t._colorDatas.set(n,e[r])}))},e.prototype.updateColorDecorators=function(e){for(var t=[],n={},r=0;re.length)return!1;if(n){if(!Object(r.H)(e,t))return!1;if(t.length===e.length)return!0;var s=t.length;return t.charAt(t.length-1)===i&&s--,e.charAt(s)===i}return t.charAt(t.length-1)!==i&&(t+=i),0===e.indexOf(t)}function a(e){return e>=65&&e<=90||e>=97&&e<=122}},function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return p}));var r=n(19),o=n(152),i=n(58),s=n(83),a=n(2),u=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},c=function(e,t){return function(n,r){t(n,r,e)}},l=Object(r.c)("ICodeLensCache"),d=function(e,t){this.lineCount=e,this.data=t},p=function(){function e(e){var t=this;this._fakeProvider=new(function(){function e(){}return e.prototype.provideCodeLenses=function(){throw new Error("not supported")},e}()),this._cache=new i.a(20,.75);var n="codelens/cache",r=e.get(n,1,"{}");this._deserialize(r);var o=e.onWillSaveState((function(){e.store(n,t._serialize(),1),o.dispose()}))}return e.prototype.put=function(e,t){var n=this,r=new d(e.getLineCount(),t.map((function(e){return{symbol:e.symbol,provider:n._fakeProvider}})));this._cache.set(e.uri.toString(),r)},e.prototype.get=function(e){var t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0},e.prototype.delete=function(e){this._cache.delete(e.uri.toString())},e.prototype._serialize=function(){var e=Object.create(null);return this._cache.forEach((function(t,n){for(var r=new Set,o=0,s=t.data;o1){var m=n.getLineContent(g.lineNumber),y=r.o(m),v=-1===y?m.length+1:y+1;if(g.column<=v){var b=i.a.visibleColumnFromColumn2(t,n,g),_=i.a.prevIndentTabStop(b,t.indentSize),w=i.a.columnFromVisibleColumn2(t,n,g.lineNumber,_);f=new a.a(g.lineNumber,w,g.lineNumber,g.column)}else f=new a.a(g.lineNumber,g.column-1,g.lineNumber,g.column)}else{var x=s.a.left(t,n,g.lineNumber,g.column);f=new a.a(x.lineNumber,x.column,g.lineNumber,g.column)}}f.isEmpty()?c[d]=null:(f.startLineNumber!==f.endLineNumber&&(l=!0),c[d]=new o.a(f,""))}return[l,c]},e.cut=function(e,t,n){for(var r=[],s=0,u=n.length;s1?(d=l.lineNumber-1,p=t.getLineMaxColumn(l.lineNumber-1),h=l.lineNumber,f=t.getLineMaxColumn(l.lineNumber)):(d=l.lineNumber,p=1,h=l.lineNumber,f=t.getLineMaxColumn(l.lineNumber));var g=new a.a(d,p,h,f);g.isEmpty()?r[s]=null:r[s]=new o.a(g,"")}else r[s]=null;else r[s]=new o.a(c,"")}return new i.e(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(19),o=Object(r.c)("clipboardService")},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return u}));var r=n(7),o=n(89),i=n(63),s={getInitialState:function(){return i.c},tokenize2:function(e,t,n){return Object(i.e)(0,e,t,n)}};function a(e,t){return void 0===t&&(t=s),function(e,t){for(var n='
    ',i=e.split(/\r\n|\r|\n/),s=t.getInitialState(),a=0,u=i.length;a0&&(n+="
    ");var l=t.tokenize2(c,s,0);o.a.convertToEndOffset(l.tokens,c.length);for(var d=new o.a(l.tokens,c).inflate(),p=0,h=0,f=d.getCount();h'+r.m(c.substring(p,m))+"",p=m}s=l.endState}return n+="
    "}(e,t||s)}function u(e,t,n,r,o,i){for(var s="
    ",a=r,u=0,c=0,l=t.getCount();c0;)p+=" ",f--;break;case 60:p+="<";break;case 62:p+=">";break;case 38:p+="&";break;case 0:p+="�";break;case 65279:case 8232:p+="\ufffd";break;case 13:p+="​";break;default:p+=String.fromCharCode(h)}}if(s+=''+p+"",d>o||a>=o)break}}return s+="
    "}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l}));var r=n(27),o=n(43),i=n(7),s=n(45),a=n(14),u=n(54);function c(e,t,n){if("string"===typeof e&&(e=r.a.file(e)),n){var c=n.getWorkspaceFolder(e);if(c){var l=n.getWorkspace().folders.length>1,f=void 0;if(f=Object(u.e)(c.uri,e)?"":Object(u.h)(c.uri,e),l){var g=c&&c.name?c.name:Object(u.b)(c.uri);f=f?g+" \u2022 "+f:g}return f}}if(e.scheme!==s.a.file&&e.scheme!==s.a.untitled)return e.with({query:null,fragment:null}).toString(!0);if(d(e.fsPath))return Object(o.normalize)(p(e.fsPath));var m=Object(o.normalize)(e.fsPath);return!a.g&&t&&(m=function(e,t){if(a.g||!e||!t)return e;var n=h.original===t?h.normalized:void 0;n||(n=""+Object(i.E)(t,o.posix.sep)+o.posix.sep,h={original:t,normalized:n});(a.c?Object(i.G)(e,n):Object(i.H)(e,n))&&(e="~/"+e.substr(n.length));return e}(m,t.userHome)),m}function l(e){if(e){"string"===typeof e&&(e=r.a.file(e));var t=Object(u.b)(e)||(e.scheme===s.a.file?e.fsPath:e.path);return d(t)?p(t):t}}function d(e){return!(!a.g||!e||":"!==e[1])}function p(e){return d(e)?e.charAt(0).toUpperCase()+e.slice(1):e}var h=Object.create(null)},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}));var r=n(0),o=function(){function e(e,t,n){void 0===n&&(n=t),this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=n}return e.prototype.toLabel=function(e,t,n){if(0===t.length)return null;for(var r=[],o=0,i=t.length;o=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},h=function(e,t){return function(n,r){t(n,r,e)}},f=function(){function e(){}return e.prototype.select=function(e,t,n){if(0===n.length)return 0;for(var r=n[0].score,o=1;os&&l.type===u.kind&&l.insertText===u.insertText&&(s=l.touch,i=a)}return-1===i?e.prototype.select.call(this,t,n,r):i},t.prototype.toJSON=function(){var e=[];return this._cache.forEach((function(t,n){e.push([n,t])})),e},t.prototype.fromJSON=function(e){this._cache.clear();for(var t=0,n=e;t0){this._seq=e[0][1].touch+1;for(var t=0,n=e;t200)return t;if("object"===typeof t){switch(t.$mid){case 1:return r.a.revive(t);case 2:return new RegExp(t.source,t.flags)}for(var o in t)Object.hasOwnProperty.call(t,o)&&(t[o]=e(t[o],n+1))}return t}(t,0)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(57),o=n(5),i={JSONContribution:"base.contributions.json"};var s=new(function(){function e(){this._onDidChangeSchema=new o.a,this.schemasById={}}return e.prototype.registerSchema=function(e,t){var n;this.schemasById[(n=e,n.length>0&&"#"===n.charAt(n.length-1)?n.substring(0,n.length-1):n)]=t,this._onDidChangeSchema.fire(e)},e.prototype.notifySchemaChanged=function(e){this._onDidChangeSchema.fire(e)},e}());r.a.add(i.JSONContribution,s)},function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var r=n(17),o=n(7),i=n(165),s=n(43),a=n(58),u=n(15),c=/\//g;function l(e){switch(e){case 0:return"";case 1:return"[^/\\\\]*?";default:return"(?:[/\\\\]|[^/\\\\]+[/\\\\]|[/\\\\][^/\\\\]+)*?"}}function d(e,t){if(!e)return[];for(var n=[],r=!1,o=!1,i="",s=0,a=e;s0;n--){var i=e.charCodeAt(n-1);if(47===i||92===i)break}t=e.substr(n)}var s=o.indexOf(t);return-1!==s?r[s]:null};a.basenames=o,a.patterns=r,a.allBasenames=o;var u=e.filter((function(e){return!e.basenames}));return u.push(a),u}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(17),o=n(26),i=n(12),s=n(27),a=n(3),u=n(2),c=n(10),l=n(56),d=n(60),p=n(75),h=function(){function e(t){this.actions=Object(r.o)(t,e.codeActionsComparator)}return e.codeActionsComparator=function(e,t){return Object(r.n)(e.diagnostics)?Object(r.n)(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:Object(r.n)(t.diagnostics)?1:0},Object.defineProperty(e.prototype,"hasAutoFix",{get:function(){return this.actions.some((function(e){return!!e.kind&&d.a.QuickFix.contains(new d.a(e.kind))&&!!e.isPreferred}))},enumerable:!0,configurable:!0}),e}();function f(e,t,n,o){var s=n.filter||{},a={only:s.kind?s.kind.value:void 0,trigger:"manual"===n.type?2:1},u=new p.d(e,o),l=function(e,t){return c.a.all(e).filter((function(e){return!e.providedCodeActionKinds||e.providedCodeActionKinds.some((function(e){return Object(d.c)(t,new d.a(e))}))}))}(e,s),f=l.map((function(n){return Promise.resolve(n.provideCodeActions(e,t,a,u.token)).then((function(e){return u.token.isCancellationRequested||!Array.isArray(e)?[]:e.filter((function(e){return e&&Object(d.b)(s,e)}))}),(function(e){if(Object(i.d)(e))throw e;return Object(i.f)(e),[]}))})),g=c.a.onDidChange((function(){var t=c.a.all(e);Object(r.g)(t,l)||u.cancel()}));return Promise.all(f).then(r.k).then((function(e){return new h(e)})).finally((function(){g.dispose(),u.dispose()}))}Object(a.j)("_executeCodeActionProvider",(function(e,t){var n=t.resource,r=t.range,a=t.kind;if(!(n instanceof s.a)||!u.a.isIRange(r))throw Object(i.b)();var c=e.get(l.a).getModel(n);if(!c)throw Object(i.b)();return f(c,c.validateRange(r),{type:"manual",filter:{includeSourceActions:!0,kind:a&&a.value?new d.a(a.value):void 0}},o.a.None).then((function(e){return e.actions}))}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(5),o=n(4),i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(){function e(e,t,n,r,o,i){(e|=0)<0&&(e=0),(n|=0)+e>(t|=0)&&(n=t-e),n<0&&(n=0),(r|=0)<0&&(r=0),(i|=0)+r>(o|=0)&&(i=o-r),i<0&&(i=0),this.width=e,this.scrollWidth=t,this.scrollLeft=n,this.height=r,this.scrollHeight=o,this.scrollTop=i}return e.prototype.equals=function(e){return this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop},e.prototype.withScrollDimensions=function(t){return new e("undefined"!==typeof t.width?t.width:this.width,"undefined"!==typeof t.scrollWidth?t.scrollWidth:this.scrollWidth,this.scrollLeft,"undefined"!==typeof t.height?t.height:this.height,"undefined"!==typeof t.scrollHeight?t.scrollHeight:this.scrollHeight,this.scrollTop)},e.prototype.withScrollPosition=function(t){return new e(this.width,this.scrollWidth,"undefined"!==typeof t.scrollLeft?t.scrollLeft:this.scrollLeft,this.height,this.scrollHeight,"undefined"!==typeof t.scrollTop?t.scrollTop:this.scrollTop)},e.prototype.createScrollEvent=function(e){var t=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,r=this.scrollLeft!==e.scrollLeft,o=this.height!==e.height,i=this.scrollHeight!==e.scrollHeight,s=this.scrollTop!==e.scrollTop;return{width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:t,scrollWidthChanged:n,scrollLeftChanged:r,heightChanged:o,scrollHeightChanged:i,scrollTopChanged:s}},e}(),a=function(e){function t(t,n){var o=e.call(this)||this;return o._onScroll=o._register(new r.a),o.onScroll=o._onScroll.event,o._smoothScrollDuration=t,o._scheduleAtNextAnimationFrame=n,o._state=new s(0,0,0,0,0,0),o._smoothScrolling=null,o}return i(t,e),t.prototype.dispose=function(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),e.prototype.dispose.call(this)},t.prototype.setSmoothScrollDuration=function(e){this._smoothScrollDuration=e},t.prototype.validateScrollPosition=function(e){return this._state.withScrollPosition(e)},t.prototype.getScrollDimensions=function(){return this._state},t.prototype.setScrollDimensions=function(e){var t=this._state.withScrollDimensions(e);this._setState(t),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)},t.prototype.getFutureScrollPosition=function(){return this._smoothScrolling?this._smoothScrolling.to:this._state},t.prototype.getCurrentScrollPosition=function(){return this._state},t.prototype.setScrollPositionNow=function(e){var t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t)},t.prototype.setScrollPositionSmooth=function(e){var t=this;if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:"undefined"===typeof e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:"undefined"===typeof e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};var n=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;var r=this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=r}else{n=this._state.withScrollPosition(e);this._smoothScrolling=l.start(this._state,n,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((function(){t._smoothScrolling&&(t._smoothScrolling.animationFrameDisposable=null,t._performSmoothScrolling())}))},t.prototype._performSmoothScrolling=function(){var e=this;if(this._smoothScrolling){var t=this._smoothScrolling.tick(),n=this._state.withScrollPosition(t);if(this._setState(n),t.isDone)return this._smoothScrolling.dispose(),void(this._smoothScrolling=null);this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((function(){e._smoothScrolling&&(e._smoothScrolling.animationFrameDisposable=null,e._performSmoothScrolling())}))}},t.prototype._setState=function(e){var t=this._state;t.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(t)))},t}(o.a),u=function(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n};function c(e,t){var n=t-e;return function(t){return e+n*(1-function(e){return Math.pow(e,3)}(1-t))}}var l=function(){function e(e,t,n,r){this.from=e,this.to=t,this.duration=r,this._startTime=n,this.animationFrameDisposable=null,this._initAnimations()}return e.prototype._initAnimations=function(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)},e.prototype._initAnimation=function(e,t,n){var r,o,i;if(Math.abs(e-t)>2.5*n){var s=void 0,a=void 0;return e0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e._maxRounds){t();break}if(!o){t();break}var c=r.findNextBracket(o);if(!c){t();break}if(Date.now()-u>e._maxDuration){setTimeout((function(){return e._bracketsRightYield(t,n+1,r,o,s)}));break}var l=c.close;if(c.isOpen){var d=a.has(l)?a.get(l):0;a.set(l,d+1)}else{d=a.has(l)?a.get(l):0;if(d-=1,a.set(l,Math.max(0,d)),d<0){var p=s.get(l);p||(p=new i.a,s.set(l,p)),p.push(c.range)}}o=c.range.getEndPosition()}},e._bracketsLeftYield=function(t,n,r,i,s,a){for(var u=new Map,c=Date.now();;){if(n>=e._maxRounds&&0===s.size){t();break}if(!i){t();break}var l=r.findPrevBracket(i);if(!l){t();break}if(Date.now()-c>e._maxDuration){setTimeout((function(){return e._bracketsLeftYield(t,n+1,r,i,s,a)}));break}var d=l.close;if(l.isOpen){m=u.has(d)?u.get(d):0;if(m-=1,u.set(d,Math.max(0,m)),m<0){var p=s.get(d);if(p){var h=p.shift();0===p.size&&s.delete(d);var f=o.a.fromPositions(l.range.getEndPosition(),h.getStartPosition()),g=o.a.fromPositions(l.range.getStartPosition(),h.getEndPosition());a.push({range:f,kind:"statement.brackets"}),a.push({range:g,kind:"statement.brackets.full"}),e._addBracketLeading(r,g,a)}}}else{var m=u.has(d)?u.get(d):0;u.set(d,m+1)}i=l.range.getStartPosition()}},e._addBracketLeading=function(e,t,n){if(t.startLineNumber!==t.endLineNumber){var i=t.startLineNumber,s=e.getLineFirstNonWhitespaceColumn(i);0!==s&&s!==t.startColumn&&(n.push({range:o.a.fromPositions(new r.a(i,s),t.getEndPosition()),kind:"statement.brackets.leading"}),n.push({range:o.a.fromPositions(new r.a(i,1),t.getEndPosition()),kind:"statement.brackets.leading.full"}));var a=i-1;if(a>0){var u=e.getLineFirstNonWhitespaceColumn(a);u===t.startColumn&&u!==e.getLineLastNonWhitespaceColumn(a)&&(n.push({range:o.a.fromPositions(new r.a(a,u),t.getEndPosition()),kind:"statement.brackets.leading"}),n.push({range:o.a.fromPositions(new r.a(a,1),t.getEndPosition()),kind:"statement.brackets.leading.full"}))}}},e._maxDuration=30,e._maxRounds=2,e}()},function(e,t,n){var r;self.MonacoEnvironment=(r={editorWorkerService:"editor.worker.js",css:"css.worker.js",html:"html.worker.js",json:"json.worker.js",typescript:"typescript.worker.js",javascript:"typescript.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"},{getWorkerUrl:function(e,t){var n="string"===typeof window.__webpack_public_path__?window.__webpack_public_path__:"/0.1/playground/";return(n?n.replace(/\/$/,"")+"/":"")+r[t]}}),n(188),n(189),n(268),n(190),n(191),n(266),n(163),n(267),n(192),n(74),n(193),n(269),n(140),n(261),n(194),n(264),n(148),n(195),n(149),n(196),n(262),n(270),n(197),n(198),n(263),n(271),n(199),n(265),n(200),n(272),n(201),n(202),n(273),n(274),n(116),n(260),n(203),n(147),n(204),n(205),n(129),n(206),e.exports=n(398),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(207),n(257),n(258),n(259)},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"===typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u,c=[],l=!1,d=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&h())}function h(){if(!l){var e=a(p);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d1)for(var n=1;n=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},k=function(e,t){return function(n,r){t(n,r,e)}},E=new m.f("accessibilityHelpWidgetVisible",!1),T=function(e){function t(t,n){var r=e.call(this)||this;return r._editor=t,r._widget=r._register(n.createInstance(O,r._editor)),r}return C(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.getId=function(){return t.ID},t.prototype.show=function(){this._widget.show()},t.prototype.hide=function(){this._widget.hide()},t.ID="editor.contrib.accessibilityHelpController",t=S([k(1,y.a)],t)}(c.a);var O=function(e){function t(t,n,r,s){var u=e.call(this)||this;return u._contextKeyService=n,u._keybindingService=r,u._openerService=s,u._editor=t,u._isVisibleKey=E.bindTo(u._contextKeyService),u._domNode=Object(i.b)(document.createElement("div")),u._domNode.setClassName("accessibilityHelpWidget"),u._domNode.setDisplay("none"),u._domNode.setAttribute("role","dialog"),u._domNode.setAttribute("aria-hidden","true"),u._contentDomNode=Object(i.b)(document.createElement("div")),u._contentDomNode.setAttribute("role","document"),u._domNode.appendChild(u._contentDomNode),u._isVisible=!1,u._register(u._editor.onDidLayoutChange((function(){u._isVisible&&u._layout()}))),u._register(o.k(u._contentDomNode.domNode,"keydown",(function(e){if(u._isVisible&&(e.equals(2083)&&(Object(a.a)(x.a.emergencyConfOn),u._editor.updateOptions({accessibilitySupport:"on"}),o.n(u._contentDomNode.domNode),u._buildContent(),u._contentDomNode.domNode.focus(),e.preventDefault(),e.stopPropagation()),e.equals(2086))){Object(a.a)(x.a.openingDocs);var t=u._editor.getRawConfiguration().accessibilityHelpUrl;"undefined"===typeof t&&(t="https://go.microsoft.com/fwlink/?linkid=852450"),u._openerService.open(p.a.parse(t)),e.preventDefault(),e.stopPropagation()}}))),u.onblur(u._contentDomNode.domNode,(function(){u.hide()})),u._editor.addOverlayWidget(u),u}return C(t,e),t.prototype.dispose=function(){this._editor.removeOverlayWidget(this),e.prototype.dispose.call(this)},t.prototype.getId=function(){return t.ID},t.prototype.getDomNode=function(){return this._domNode.domNode},t.prototype.getPosition=function(){return{preference:null}},t.prototype.show=function(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())},t.prototype._descriptionForCommand=function(e,t,n){var r=this._keybindingService.lookupKeybinding(e);return r?d.p(t,r.getAriaLabel()):d.p(n,e)},t.prototype._buildContent=function(){var e=this._editor.getConfiguration(),t=this._editor.getSelections(),n=0;if(t){var r=this._editor.getModel();r&&t.forEach((function(e){n+=r.getValueLengthInRange(e)}))}var o=function(e,t){return e&&0!==e.length?1===e.length?t?d.p(x.a.singleSelectionRange,e[0].positionLineNumber,e[0].positionColumn,t):d.p(x.a.singleSelection,e[0].positionLineNumber,e[0].positionColumn):t?d.p(x.a.multiSelectionRange,e.length,t):e.length>0?d.p(x.a.multiSelection,e.length):"":x.a.noSelection}(t,n);e.wrappingInfo.inDiffEditor?e.readOnly?o+=x.a.readonlyDiffEditor:o+=x.a.editableDiffEditor:e.readOnly?o+=x.a.readonlyEditor:o+=x.a.editableEditor;var i=l.d?x.a.changeConfigToOnMac:x.a.changeConfigToOnWinLinux;switch(e.accessibilitySupport){case 0:o+="\n\n - "+i;break;case 2:o+="\n\n - "+x.a.auto_on;break;case 1:o+="\n\n - "+x.a.auto_off,o+=" "+i}e.tabFocusMode?o+="\n\n - "+this._descriptionForCommand(g.ToggleTabFocusModeAction.ID,x.a.tabFocusModeOnMsg,x.a.tabFocusModeOnMsgNoKb):o+="\n\n - "+this._descriptionForCommand(g.ToggleTabFocusModeAction.ID,x.a.tabFocusModeOffMsg,x.a.tabFocusModeOffMsgNoKb),o+="\n\n - "+(l.d?x.a.openDocMac:x.a.openDocWinLinux),o+="\n\n"+x.a.outroMsg,this._contentDomNode.domNode.appendChild(Object(s.a)(o)),this._contentDomNode.domNode.setAttribute("aria-label",o)},t.prototype.hide=function(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,o.n(this._contentDomNode.domNode),this._editor.focus())},t.prototype._layout=function(){var e=this._editor.getLayoutInfo(),n=Math.max(5,Math.min(t.WIDTH,e.width-40)),r=Math.max(5,Math.min(t.HEIGHT,e.height-40));this._domNode.setWidth(n),this._domNode.setHeight(r);var o=Math.round((e.height-r)/2);this._domNode.setTop(o);var i=Math.round((e.width-n)/2);this._domNode.setLeft(i)},t.ID="editor.contrib.accessibilityHelpWidget",t.WIDTH=500,t.HEIGHT=300,t=S([k(1,m.e),k(2,v.a),k(3,b.a)],t)}(u.a),D=function(e){function t(){return e.call(this,{id:"editor.action.showAccessibilityHelp",label:x.a.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:null,kbOpts:{kbExpr:f.a.focus,primary:r.j?2107:571,weight:100}})||this}return C(t,e),t.prototype.run=function(e,t){var n=T.get(t);n&&n.show()},t}(h.b);Object(h.h)(T),Object(h.f)(D);var A=h.c.bindToContribution(T.get);Object(h.g)(new A({id:"closeAccessibilityHelp",precondition:E,handler:function(e){return e.hide()},kbOpts:{weight:200,kbExpr:f.a.focus,primary:9,secondary:[1033]}})),Object(w.e)((function(e,t){var n=e.getColor(_.F);n&&t.addRule(".monaco-editor .accessibilityHelpWidget { background-color: "+n+"; }");var r=e.getColor(_.Kb);r&&t.addRule(".monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px "+r+"; }");var o=e.getColor(_.e);o&&t.addRule(".monaco-editor .accessibilityHelpWidget { border: 2px solid "+o+"; }")}))},function(e,t,n){"use strict";n.r(t),n.d(t,"BracketMatchingController",(function(){return w}));n(340);var r=n(0),o=n(15),i=n(4),s=n(3),a=n(9),u=n(21),c=n(6),l=n(51),d=n(24),p=n(30),h=n(8),f=n(18),g=n(59),m=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y=Object(h.zb)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},r.a("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets.")),v=function(e){function t(){return e.call(this,{id:"editor.action.jumpToBracket",label:r.a("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:null,kbOpts:{kbExpr:c.a.editorTextFocus,primary:3160,weight:100}})||this}return m(t,e),t.prototype.run=function(e,t){var n=w.get(t);n&&n.jumpToBracket()},t}(s.b),b=function(e){function t(){return e.call(this,{id:"editor.action.selectToBracket",label:r.a("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:null})||this}return m(t,e),t.prototype.run=function(e,t){var n=w.get(t);n&&n.selectToBracket()},t}(s.b),_=function(e,t){this.position=e,this.brackets=t},w=function(e){function t(t){var n=e.call(this)||this;return n._editor=t,n._lastBracketsData=[],n._lastVersionId=0,n._decorations=[],n._updateBracketsSoon=n._register(new o.d((function(){return n._updateBrackets()}),50)),n._matchBrackets=n._editor.getConfiguration().contribInfo.matchBrackets,n._updateBracketsSoon.schedule(),n._register(t.onDidChangeCursorPosition((function(e){n._matchBrackets&&n._updateBracketsSoon.schedule()}))),n._register(t.onDidChangeModelContent((function(e){n._updateBracketsSoon.schedule()}))),n._register(t.onDidChangeModel((function(e){n._lastBracketsData=[],n._decorations=[],n._updateBracketsSoon.schedule()}))),n._register(t.onDidChangeModelLanguageConfiguration((function(e){n._lastBracketsData=[],n._updateBracketsSoon.schedule()}))),n._register(t.onDidChangeConfiguration((function(e){n._matchBrackets=n._editor.getConfiguration().contribInfo.matchBrackets,!n._matchBrackets&&n._decorations.length>0&&(n._decorations=n._editor.deltaDecorations(n._decorations,[])),n._updateBracketsSoon.schedule()}))),n}return m(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.getId=function(){return t.ID},t.prototype.jumpToBracket=function(){if(this._editor.hasModel()){var e=this._editor.getModel(),t=this._editor.getSelections().map((function(t){var n=t.getStartPosition(),r=e.matchBracket(n),o=null;if(r)r[0].containsPosition(n)?o=r[1].getStartPosition():r[1].containsPosition(n)&&(o=r[0].getStartPosition());else{var i=e.findNextBracket(n);i&&i.range&&(o=i.range.getStartPosition())}return o?new u.a(o.lineNumber,o.column,o.lineNumber,o.column):new u.a(n.lineNumber,n.column,n.lineNumber,n.column)}));this._editor.setSelections(t),this._editor.revealRange(t[0])}},t.prototype.selectToBracket=function(){if(this._editor.hasModel()){var e=this._editor.getModel(),t=[];this._editor.getSelections().forEach((function(n){var r=n.getStartPosition(),o=e.matchBracket(r),i=null,s=null;if(!o){var a=e.findNextBracket(r);a&&a.range&&(o=e.matchBracket(a.range.getStartPosition()))}o&&(o[0].startLineNumber===o[1].startLineNumber?(i=o[1].startColumn0&&(this._editor.setSelections(t),this._editor.revealRange(t[0]))}},t.prototype._updateBrackets=function(){if(this._matchBrackets){this._recomputeBrackets();for(var e=[],n=0,r=0,o=this._lastBracketsData.length;r1&&o.sort(a.a.compare);var l=[],d=0,p=0,h=n.length;for(s=0,u=o.length;s=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},g=function(e,t){return function(n,r){t(n,r,e)}},m=function(){function e(e,t,n,r,o,i){var s=this;this._contextMenuService=t,this._contextViewService=n,this._contextKeyService=r,this._keybindingService=o,this._menuService=i,this._toDispose=[],this._contextMenuIsBeingShownCount=0,this._editor=e,this._toDispose.push(this._editor.onContextMenu((function(e){return s._onContextMenu(e)}))),this._toDispose.push(this._editor.onMouseWheel((function(e){s._contextMenuIsBeingShownCount>0&&s._contextViewService.hideContextView()}))),this._toDispose.push(this._editor.onKeyDown((function(e){58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),s.showContextMenu())})))}return e.get=function(t){return t.getContribution(e.ID)},e.prototype._onContextMenu=function(e){if(this._editor.hasModel()){if(!this._editor.getConfiguration().contribInfo.contextmenu)return this._editor.focus(),void(e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position));if(12!==e.target.type&&(e.event.preventDefault(),6===e.target.type||7===e.target.type||1===e.target.type)){this._editor.focus(),e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position);var t=null;1!==e.target.type&&(t={x:e.event.posx-1,width:2,y:e.event.posy-1,height:2}),this.showContextMenu(t)}}},e.prototype.showContextMenu=function(e){if(this._editor.getConfiguration().contribInfo.contextmenu&&this._editor.hasModel())if(this._contextMenuService){var t=this._getMenuActions(this._editor.getModel());t.length>0&&this._doShowContextMenu(t,e)}else this._editor.focus()},e.prototype._getMenuActions=function(e){var t=[],n=this._menuService.createMenu(7,this._contextKeyService),r=n.getActions({arg:e.uri});n.dispose();for(var o=0,s=r;o0&&this._contextViewService.hideContextView(),this._toDispose=Object(s.d)(this._toDispose)},e.ID="editor.contrib.contextmenu",e=f([g(1,d.a),g(2,d.b),g(3,l.e),g(4,p.a),g(5,c.a)],e)}(),y=function(e){function t(){return e.call(this,{id:"editor.action.showContextMenu",label:r.a("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:null,kbOpts:{kbExpr:u.a.textInputFocus,primary:1092,weight:100}})||this}return h(t,e),t.prototype.run=function(e,t){m.get(t).showContextMenu()},t}(a.b);Object(a.h)(m),Object(a.f)(y)},function(e,t,n){"use strict";n.r(t),n.d(t,"CursorUndoController",(function(){return c})),n.d(t,"CursorUndo",(function(){return l}));var r=n(0),o=n(4),i=n(3),s=n(6),a=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(){function e(e){this.selections=e}return e.prototype.equals=function(e){var t=this.selections.length;if(t!==e.selections.length)return!1;for(var n=0;n50&&n._undoStack.shift()),n._prevState=n._readState()}))),n}return a(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype._readState=function(){return this._editor.hasModel()?new u(this._editor.getSelections()):null},t.prototype.getId=function(){return t.ID},t.prototype.cursorUndo=function(){if(this._editor.hasModel())for(var e=new u(this._editor.getSelections());this._undoStack.length>0;){var t=this._undoStack.pop();if(!t.equals(e))return this._isCursorUndo=!0,this._editor.setSelections(t.selections),this._editor.revealRangeInCenterIfOutsideViewport(t.selections[0],0),void(this._isCursorUndo=!1)}},t.ID="editor.contrib.cursorUndoController",t}(o.a),l=function(e){function t(){return e.call(this,{id:"cursorUndo",label:r.a("cursor.undo","Soft Undo"),alias:"Soft Undo",precondition:null,kbOpts:{kbExpr:s.a.textInputFocus,primary:2099,weight:100}})||this}return a(t,e),t.prototype.run=function(e,t,n){c.get(t).cursorUndo()},t}(i.b);Object(i.h)(c),Object(i.f)(l)},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(3),i=n(100),s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e){function t(){return e.call(this,{id:"editor.action.fontZoomIn",label:r.a("EditorFontZoomIn.label","Editor Font Zoom In"),alias:"Editor Font Zoom In",precondition:null})||this}return s(t,e),t.prototype.run=function(e,t){i.a.setZoomLevel(i.a.getZoomLevel()+1)},t}(o.b),u=function(e){function t(){return e.call(this,{id:"editor.action.fontZoomOut",label:r.a("EditorFontZoomOut.label","Editor Font Zoom Out"),alias:"Editor Font Zoom Out",precondition:null})||this}return s(t,e),t.prototype.run=function(e,t){i.a.setZoomLevel(i.a.getZoomLevel()-1)},t}(o.b),c=function(e){function t(){return e.call(this,{id:"editor.action.fontZoomReset",label:r.a("EditorFontZoomReset.label","Editor Font Zoom Reset"),alias:"Editor Font Zoom Reset",precondition:null})||this}return s(t,e),t.prototype.run=function(e,t){i.a.setZoomLevel(0)},t}(o.b);Object(o.f)(a),Object(o.f)(u),Object(o.f)(c)},function(e,t,n){"use strict";n.r(t);n(278);var r=n(0),o=n(15),i=n(12),s=n(77),a=n(86),u=n(2),c=n(10),l=n(3),d=n(145),p=n(4),h=n(99),f=n(18),g=n(8),m=n(75),y=n(148),v=n(183),b=n(9),_=n(20),w=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},x=function(e,t){return function(n,r){t(n,r,e)}},C=function(){function e(e,t,n){var r=this;this.textModelResolverService=t,this.modeService=n,this.toUnhook=[],this.decorations=[],this.editor=e,this.previousPromise=null;var o=new v.a(e);this.toUnhook.push(o),this.toUnhook.push(o.onMouseMoveOrRelevantKeyDown((function(e){var t=e[0],n=e[1];r.startFindDefinition(t,Object(_.l)(n))}))),this.toUnhook.push(o.onExecute((function(e){r.isEnabled(e)&&r.gotoDefinition(e.target,e.hasSideBySideModifier).then((function(){r.removeDecorations()}),(function(e){r.removeDecorations(),Object(i.e)(e)}))}))),this.toUnhook.push(o.onCancel((function(){r.removeDecorations(),r.currentWordUnderMouse=null})))}return e.prototype.startFindDefinition=function(e,t){var n=this;if(!(9===e.target.type&&this.decorations.length>0)){if(!this.editor.hasModel()||!this.isEnabled(e,t))return this.currentWordUnderMouse=null,void this.removeDecorations();var a=e.target.position?this.editor.getModel().getWordAtPosition(e.target.position):null;if(!a)return this.currentWordUnderMouse=null,void this.removeDecorations();var c=e.target.position;if(!this.currentWordUnderMouse||this.currentWordUnderMouse.startColumn!==a.startColumn||this.currentWordUnderMouse.endColumn!==a.endColumn||this.currentWordUnderMouse.word!==a.word){this.currentWordUnderMouse=a;var l=new m.a(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=Object(o.f)((function(t){return n.findDefinition(e.target,t)})),this.previousPromise.then((function(e){if(e&&e.length&&l.validate(n.editor))if(e.length>1)n.addDecoration(new u.a(c.lineNumber,a.startColumn,c.lineNumber,a.endColumn),(new s.a).appendText(r.a("multipleResults","Click to show {0} definitions.",e.length)));else{var t=e[0];if(!t.uri)return;n.textModelResolverService.createModelReference(t.uri).then((function(e){if(e.object&&e.object.textEditorModel){var r=e.object.textEditorModel,o=t.range.startLineNumber;if(o<1||o>r.getLineCount())e.dispose();else{var i,l=n.getPreviewValue(r,o);i=t.originSelectionRange?u.a.lift(t.originSelectionRange):new u.a(c.lineNumber,a.startColumn,c.lineNumber,a.endColumn);var d=n.modeService.getModeIdByFilepathOrFirstLine(r.uri.fsPath);n.addDecoration(i,(new s.a).appendCodeblock(d||"",l)),e.dispose()}}else e.dispose()}))}else n.removeDecorations()})).then(void 0,i.e)}}},e.prototype.getPreviewValue=function(t,n){var r=this.getPreviewRangeBasedOnBrackets(t,n);return r.endLineNumber-r.startLineNumber>=e.MAX_SOURCE_PREVIEW_LINES&&(r=this.getPreviewRangeBasedOnIndentation(t,n)),this.stripIndentationFromPreviewRange(t,n,r)},e.prototype.stripIndentationFromPreviewRange=function(e,t,n){for(var r=e.getLineFirstNonWhitespaceColumn(t),o=t+1;or)return new u.a(n,1,r+1,1);s=t.findNextBracket(new b.a(l,d))}return new u.a(n,1,r+1,1)},e.prototype.addDecoration=function(e,t){var n={range:e,options:{inlineClassName:"goto-definition-link",hoverMessage:t}};this.decorations=this.editor.deltaDecorations(this.decorations,[n])},e.prototype.removeDecorations=function(){this.decorations.length>0&&(this.decorations=this.editor.deltaDecorations(this.decorations,[]))},e.prototype.isEnabled=function(e,t){return this.editor.hasModel()&&e.isNoneOrSingleMouseDown&&6===e.target.type&&(e.hasTriggerModifier||!!t&&t.keyCodeIsTriggerKey)&&c.f.has(this.editor.getModel())},e.prototype.findDefinition=function(e,t){var n=this.editor.getModel();return n?Object(d.b)(n,e.position,t):Promise.resolve(null)},e.prototype.gotoDefinition=function(e,t){var n=this;this.editor.setPosition(e.position);var r=new y.DefinitionAction(new y.DefinitionActionConfig(t,!1,!0,!1),{alias:"",label:"",id:"",precondition:null});return this.editor.invokeWithinContext((function(e){return r.run(e,n.editor)}))},e.prototype.getId=function(){return e.ID},e.prototype.dispose=function(){this.toUnhook=Object(p.d)(this.toUnhook)},e.ID="editor.contrib.gotodefinitionwithmouse",e.MAX_SOURCE_PREVIEW_LINES=8,e=w([x(1,h.a),x(2,a.a)],e)}();Object(l.h)(C),Object(f.e)((function(e,t){var n=e.getColor(g.n);n&&t.addRule(".monaco-editor .goto-definition-link { color: "+n+" !important; }")}))},function(e,t,n){"use strict";n.r(t),n.d(t,"GotoLineEntry",(function(){return h})),n.d(t,"GotoLineAction",(function(){return f}));n(382);var r=n(7),o=n(123),i=n(95),s=n(3),a=n(9),u=n(2),c=n(6),l=n(159),d=n(28),p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e){function t(t,n,r){var o=e.call(this)||this;return o.editor=n,o.decorator=r,o.parseResult=o.parseInput(t),o}return p(t,e),t.prototype.parseInput=function(e){var t,n,o=e.split(",").map((function(e){return parseInt(e,10)})).filter((function(e){return!isNaN(e)}));if(t=0===o.length?new a.a(-1,-1):1===o.length?new a.a(o[0],1):new a.a(o[0],o[1]),Object(i.a)(this.editor))n=this.editor.getModel();else{var s=this.editor.getModel();n=s?s.modified:null}var u=!!n&&n.validatePosition(t).equals(t);return{position:t,isValid:u,label:u?t.column&&t.column>1?r.p(d.b.gotoLineLabelValidLineAndColumn,t.lineNumber,t.column):r.p(d.b.gotoLineLabelValidLine,t.lineNumber):t.lineNumber<1||t.lineNumber>(n?n.getLineCount():0)?r.p(d.b.gotoLineLabelEmptyWithLineLimit,n?n.getLineCount():0):r.p(d.b.gotoLineLabelEmptyWithLineAndColumnLimit,n?n.getLineMaxColumn(t.lineNumber):0)}},t.prototype.getLabel=function(){return this.parseResult.label},t.prototype.getAriaLabel=function(){var e=this.editor.getPosition(),t=e?e.lineNumber:0;return r.p(d.b.gotoLineAriaLabel,t,this.parseResult.label)},t.prototype.run=function(e,t){return 1===e?this.runOpen():this.runPreview()},t.prototype.runOpen=function(){if(!this.parseResult.isValid)return!1;var e=this.toSelection();return this.editor.setSelection(e),this.editor.revealRangeInCenter(e,0),this.editor.focus(),!0},t.prototype.runPreview=function(){if(!this.parseResult.isValid)return this.decorator.clearDecorations(),!1;var e=this.toSelection();return this.editor.revealRangeInCenter(e,0),this.decorator.decorateLine(e,this.editor),!1},t.prototype.toSelection=function(){return new u.a(this.parseResult.position.lineNumber,this.parseResult.position.column,this.parseResult.position.lineNumber,this.parseResult.position.column)},t}(o.a),f=function(e){function t(){return e.call(this,d.b.gotoLineActionInput,{id:"editor.action.gotoLine",label:d.b.gotoLineActionLabel,alias:"Go to Line...",precondition:null,kbOpts:{kbExpr:c.a.focus,primary:2085,mac:{primary:293},weight:100}})||this}return p(t,e),t.prototype.run=function(e,t){var n=this;this._show(this.getController(t),{getModel:function(e){return new o.c([new h(e,t,n.getController(t))])},getAutoFocus:function(e){return{autoFocusFirstEntry:e.length>0}}})},t}(l.a);Object(s.f)(f)},function(e,t,n){"use strict";n.r(t);n(390);var r=n(13),o=n(4),i=n(7),s=n(3),a=n(10),u=n(63),c=n(86),l=n(106),d=n(8),p=n(18),h=n(28),f=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},m=function(e,t){return function(n,r){t(n,r,e)}},y=function(e){function t(t,n,r){var o=e.call(this)||this;return o._editor=t,o._modeService=r,o._widget=null,o._register(o._editor.onDidChangeModel((function(e){return o.stop()}))),o._register(o._editor.onDidChangeModelLanguage((function(e){return o.stop()}))),o._register(a.y.onDidChange((function(e){return o.stop()}))),o}return f(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.getId=function(){return t.ID},t.prototype.dispose=function(){this.stop(),e.prototype.dispose.call(this)},t.prototype.launch=function(){this._widget||this._editor.hasModel()&&(this._widget=new b(this._editor,this._modeService))},t.prototype.stop=function(){this._widget&&(this._widget.dispose(),this._widget=null)},t.ID="editor.contrib.inspectTokens",t=g([m(1,l.a),m(2,c.a)],t)}(o.a),v=function(e){function t(){return e.call(this,{id:"editor.action.inspectTokens",label:h.c.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:null})||this}return f(t,e),t.prototype.run=function(e,t){var n=y.get(t);n&&n.launch()},t}(s.b);var b=function(e){function t(t,n){var r=e.call(this)||this;return r.allowEditorOverflow=!0,r._editor=t,r._modeService=n,r._model=r._editor.getModel(),r._domNode=document.createElement("div"),r._domNode.className="tokens-inspect-widget",r._tokenizationSupport=function(e){var t=a.y.get(e.language);return t||{getInitialState:function(){return u.c},tokenize:function(t,n,r){return Object(u.d)(e.language,t,n,r)},tokenize2:function(t,n,r){return Object(u.e)(e.id,t,n,r)}}}(r._model.getLanguageIdentifier()),r._compute(r._editor.getPosition()),r._register(r._editor.onDidChangeCursorPosition((function(e){return r._compute(r._editor.getPosition())}))),r._editor.addContentWidget(r),r}return f(t,e),t.prototype.dispose=function(){this._editor.removeContentWidget(this),e.prototype.dispose.call(this)},t.prototype.getId=function(){return t._ID},t.prototype._compute=function(e){for(var t=this._getTokensAtLine(e.lineNumber),n=0,o=t.tokens1.length-1;o>=0;o--){var s=t.tokens1[o];if(e.column-1>=s.offset){n=o;break}}var a=0;for(o=t.tokens2.length>>>1;o>=0;o--)if(e.column-1>=t.tokens2[o<<1]){a=o;break}var u="",c=this._model.getLineContent(e.lineNumber),l="";if(n'+function(e){for(var t="",n=0,r=e.length;n('+l.length+" "+(1===l.length?"char":"chars")+")",u+='
    ';var h=this._decodeMetadata(t.tokens2[1+(a<<1)]);u+='',u+='",u+='",u+='",u+='",u+='",u+="",u+='
    ',n'+Object(i.m)(t.tokens1[n].type)+""),this._domNode.innerHTML=u,this._editor.layoutContentWidget(this)},t.prototype._decodeMetadata=function(e){var t=a.y.getColorMap(),n=a.x.getLanguageId(e),r=a.x.getTokenType(e),o=a.x.getFontStyle(e),i=a.x.getForeground(e),s=a.x.getBackground(e);return{languageIdentifier:this._modeService.getLanguageIdentifier(n),tokenType:r,fontStyle:o,foreground:t[i],background:t[s]}},t.prototype._tokenTypeToString=function(e){switch(e){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 4:return"RegEx"}return"??"},t.prototype._fontStyleToString=function(e){var t="";return 1&e&&(t+="italic "),2&e&&(t+="bold "),4&e&&(t+="underline "),0===t.length&&(t="---"),t},t.prototype._getTokensAtLine=function(e){var t=this._getStateBeforeLine(e),n=this._tokenizationSupport.tokenize(this._model.getLineContent(e),t,0),r=this._tokenizationSupport.tokenize2(this._model.getLineContent(e),t,0);return{startState:t,tokens1:n.tokens,tokens2:r.tokens,endState:n.endState}},t.prototype._getStateBeforeLine=function(e){for(var t=this._tokenizationSupport.getInitialState(),n=1;n1&&n.push(new l.a(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn))}},t.prototype.run=function(e,t){var n=this;if(t.hasModel()){var r=t.getModel(),o=t.getSelections(),i=[];o.forEach((function(e){return n.getCursorsForSelection(e,r,i)})),i.length>0&&t.setSelections(i)}},t}(a.b),x=function(e){function t(){return e.call(this,{id:"editor.action.addCursorsToBottom",label:r.a("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:null})||this}return v(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=t.getSelections(),r=t.getModel().getLineCount(),o=[],i=n[0].startLineNumber;i<=r;i++)o.push(new l.a(i,n[0].startColumn,i,n[0].endColumn));o.length>0&&t.setSelections(o)}},t}(a.b),C=function(e){function t(){return e.call(this,{id:"editor.action.addCursorsToTop",label:r.a("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:null})||this}return v(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=t.getSelections(),r=[],o=n[0].startLineNumber;o>=1;o--)r.push(new l.a(o,n[0].startColumn,o,n[0].endColumn));r.length>0&&t.setSelections(r)}},t}(a.b),S=function(e,t,n){this.selections=e,this.revealRange=t,this.revealScrollType=n},k=function(){function e(e,t,n,r,o,i,s){this._editor=e,this.findController=t,this.isDisconnectedFromFindController=n,this.searchText=r,this.wholeWord=o,this.matchCase=i,this.currentMatch=s}return e.create=function(t,n){if(!t.hasModel())return null;var r=n.getState();if(!t.hasTextFocus()&&r.isRevealed&&r.searchString.length>0)return new e(t,n,!1,r.searchString,r.wholeWord,r.matchCase,null);var o,i,s=!1,a=t.getSelections();1===a.length&&a[0].isEmpty()?(s=!0,o=!0,i=!0):(o=r.wholeWord,i=r.matchCase);var u,c=t.getSelection(),d=null;if(c.isEmpty()){var p=t.getModel().getWordAtPosition(c.getStartPosition());if(!p)return null;u=p.word,d=new l.a(c.startLineNumber,p.startColumn,c.startLineNumber,p.endColumn)}else u=t.getModel().getValueInRange(c).replace(/\r\n/g,"\n");return new e(t,n,s,u,o,i,d)},e.prototype.addSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var e=this._getNextMatch();if(!e)return null;var t=this._editor.getSelections();return new S(t.concat(e),e,0)},e.prototype.moveSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var e=this._getNextMatch();if(!e)return null;var t=this._editor.getSelections();return new S(t.slice(0,t.length-1).concat(e),e,0)},e.prototype._getNextMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();var t=this._editor.getSelections(),n=t[t.length-1],r=this._editor.getModel().findNextMatch(this.searchText,n.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1);return r?new l.a(r.range.startLineNumber,r.range.startColumn,r.range.endLineNumber,r.range.endColumn):null},e.prototype.addSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var e=this._getPreviousMatch();if(!e)return null;var t=this._editor.getSelections();return new S(t.concat(e),e,0)},e.prototype.moveSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var e=this._getPreviousMatch();if(!e)return null;var t=this._editor.getSelections();return new S(t.slice(0,t.length-1).concat(e),e,0)},e.prototype._getPreviousMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();var t=this._editor.getSelections(),n=t[t.length-1],r=this._editor.getModel().findPreviousMatch(this.searchText,n.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1);return r?new l.a(r.range.startLineNumber,r.range.startColumn,r.range.endLineNumber,r.range.endColumn):null},e.prototype.selectAll=function(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1,1073741824)):[]},e}(),E=function(e){function t(t){var n=e.call(this)||this;return n._editor=t,n._ignoreSelectionChange=!1,n._session=null,n._sessionDispose=[],n}return v(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.dispose=function(){this._endSession(),e.prototype.dispose.call(this)},t.prototype.getId=function(){return t.ID},t.prototype._beginSessionIfNeeded=function(e){var t=this;if(!this._session){var n=k.create(this._editor,e);if(!n)return;this._session=n;var r={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(r.wholeWordOverride=1,r.matchCaseOverride=1,r.isRegexOverride=2),e.getState().change(r,!1),this._sessionDispose=[this._editor.onDidChangeCursorSelection((function(e){t._ignoreSelectionChange||t._endSession()})),this._editor.onDidBlurEditorText((function(){t._endSession()})),e.getState().onFindReplaceStateChange((function(e){(e.matchCase||e.wholeWord)&&t._endSession()}))]}},t.prototype._endSession=function(){if(this._sessionDispose=Object(s.d)(this._sessionDispose),this._session&&this._session.isDisconnectedFromFindController){this._session.findController.getState().change({wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0},!1)}this._session=null},t.prototype._setSelections=function(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1},t.prototype._expandEmptyToWord=function(e,t){if(!t.isEmpty())return t;var n=e.getWordAtPosition(t.getStartPosition());return n?new l.a(t.startLineNumber,n.startColumn,t.startLineNumber,n.endColumn):t},t.prototype._applySessionResult=function(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))},t.prototype.getSession=function(e){return this._session},t.prototype.addSelectionToNextFindMatch=function(e){if(this._editor.hasModel()){if(!this._session){var t=this._editor.getSelections();if(t.length>1){var n=e.getState().matchCase;if(!M(this._editor.getModel(),t,n)){for(var r=this._editor.getModel(),o=[],i=0,s=t.length;i0&&n.isRegex)t=this._editor.getModel().findMatches(n.searchString,!0,n.isRegex,n.matchCase,n.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1,1073741824);else{if(this._beginSessionIfNeeded(e),!this._session)return;t=this._session.selectAll()}if(t.length>0){for(var r=this._editor.getSelection(),o=0,i=t.length;o1){var a=o.getState().matchCase;if(!M(t.getModel(),s,a))return null}i=k.create(t,o)}if(!i)return null;if(i.currentMatch)return null;if(/^[ \t]+$/.test(i.searchText))return null;if(i.searchText.length>200)return null;var u=o.getState(),c=u.matchCase;if(u.isRevealed){var l=u.searchString;c||(l=l.toLowerCase());var d=i.searchText;if(c||(d=d.toLowerCase()),l===d&&i.matchCase===u.matchCase&&i.wholeWord===u.wholeWord&&!u.isRegex)return null}return new N(i.searchText,i.matchCase,i.wholeWord?t.getConfiguration().wordSeparators:null)},t.prototype._setState=function(e){if(N.softEquals(this.state,e))this.state=e;else if(this.state=e,this.state){if(this.editor.hasModel()){var n=this.editor.getModel();if(!n.isTooLargeForTokenization()){var r=f.i.has(n),o=n.findMatches(this.state.searchText,!0,!1,this.state.matchCase,this.state.wordSeparators,!1).map((function(e){return e.range}));o.sort(c.a.compareRangesUsingStarts);var i=this.editor.getSelections();i.sort(c.a.compareRangesUsingStarts);for(var s=[],a=0,u=0,l=o.length,d=i.length;a=d)s.push(p),a++;else{var h=c.a.compareRangesUsingStarts(p,i[u]);h<0?(!i[u].isEmpty()&&c.a.areIntersecting(p,i[u])||s.push(p),a++):(h>0||a++,u++)}}var g=s.map((function(e){return{range:e,options:r?t._SELECTION_HIGHLIGHT:t._SELECTION_HIGHLIGHT_OVERVIEW}}));this.decorations=this.editor.deltaDecorations(this.decorations,g)}}}else this.decorations=this.editor.deltaDecorations(this.decorations,[])},t.prototype.dispose=function(){this._setState(null),e.prototype.dispose.call(this)},t.ID="editor.contrib.selectionHighlighter",t._SELECTION_HIGHLIGHT_OVERVIEW=h.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(y.f)(m.vb),position:p.c.Center}}),t._SELECTION_HIGHLIGHT=h.a.register({stickiness:1,className:"selectionHighlight"}),t}(s.a);function M(e,t,n){for(var r=R(e,t[0],!n),o=1,i=t.length;o=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},E=function(e,t){return function(n,r){t(n,r,e)}},T={getMetaTitle:function(e){return e.references.length>1?r.a("meta.titleReference"," \u2013 {0} references",e.references.length):""}},O=function(){function e(e,t){e instanceof m.a&&l.b.inPeekEditor.bindTo(t)}return e.prototype.dispose=function(){},e.prototype.getId=function(){return e.ID},e.ID="editor.contrib.referenceController",e=k([E(1,o.e)],e)}(),D=function(e){function t(){return e.call(this,{id:"editor.action.referenceSearch.trigger",label:r.a("references.action.label","Peek References"),alias:"Find All References",precondition:o.d.and(g.a.hasReferenceProvider,l.b.notInPeekEditor,g.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:g.a.editorTextFocus,primary:1094,weight:100},menuOpts:{group:"navigation",order:1.5}})||this}return S(t,e),t.prototype.run=function(e,t){var n=d.a.get(t);if(n&&t.hasModel()){var r=t.getSelection(),o=t.getModel(),i=Object(h.f)((function(e){return P(o,r.getStartPosition(),e).then((function(e){return new p.c(e)}))}));n.toggleWidget(r,i,T)}},t}(a.b);Object(a.h)(O),Object(a.f)(D);function A(e,t){L(e,(function(e){return e.closeWidget()}))}function L(e,t){var n=Object(l.d)(e);if(n){var r=d.a.get(n);r&&t(r)}}function P(e,t,n){var r=u.s.ordered(e).map((function(r){return Promise.resolve(r.provideReferences(e,t,{includeDeclaration:!0},n)).then((function(e){if(Array.isArray(e))return e}),(function(e){Object(f.f)(e)}))}));return Promise.all(r).then((function(e){for(var t=[],n=0,r=e;n=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},h=function(e,t){return function(n,r){t(n,r,e)}},f=function(e){function t(t,n,r,o,i,s,a){return e.call(this,!0,t,n,r,o,i,s,a)||this}return d(t,e),t=p([h(1,a.e),h(2,o.a),h(3,c.a),h(4,u.a),h(5,l.a),h(6,s.a)],t)}(i.a);Object(r.h)(f)},function(e,t,n){"use strict";n.r(t);var r=n(3),o=n(106),i=n(28),s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e){function t(){var t=e.call(this,{id:"editor.action.toggleHighContrast",label:i.h.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:null})||this;return t._originalThemeName=null,t}return s(t,e),t.prototype.run=function(e,t){var n=e.get(o.a);this._originalThemeName?(n.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=n.getTheme().themeName,n.setTheme("hc-black"))},t}(r.b);Object(r.f)(a)},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(7),i=n(3),s=n(41),a=n(9),u=n(2),c=n(6),l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(e){function t(){return e.call(this,{id:"editor.action.transposeLetters",label:r.a("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:c.a.writable,kbOpts:{kbExpr:c.a.textInputFocus,primary:0,mac:{primary:306},weight:100}})||this}return l(t,e),t.prototype.positionLeftOf=function(e,t){var n=e.column,r=e.lineNumber;return n>t.getLineMinColumn(r)?Object(o.v)(t.getLineContent(r).charCodeAt(n-2))?n-=2:n-=1:r>1&&(r-=1,n=t.getLineMaxColumn(r)),new a.a(r,n)},t.prototype.positionRightOf=function(e,t){var n=e.column,r=e.lineNumber;return n0&&(t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop())}},t}(i.b);Object(i.f)(d)},function(e,t,n){"use strict";n.r(t),n.d(t,"editorWordHighlight",(function(){return w})),n.d(t,"editorWordHighlightStrong",(function(){return x})),n.d(t,"editorWordHighlightBorder",(function(){return C})),n.d(t,"editorWordHighlightStrongBorder",(function(){return S})),n.d(t,"overviewRulerWordHighlightForeground",(function(){return k})),n.d(t,"overviewRulerWordHighlightStrongForeground",(function(){return E})),n.d(t,"ctxHasWordHighlights",(function(){return T})),n.d(t,"getOccurrencesAtPosition",(function(){return O}));var r=n(0),o=n(17),i=n(15),s=n(26),a=n(12),u=n(4),c=n(3),l=n(2),d=n(6),p=n(51),h=n(24),f=n(10),g=n(11),m=n(8),y=n(18),v=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},_=function(e,t){return function(n,r){t(n,r,e)}},w=Object(m.zb)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hc:null},r.a("wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0),x=Object(m.zb)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hc:null},r.a("wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),C=Object(m.zb)("editor.wordHighlightBorder",{light:null,dark:null,hc:m.b},r.a("wordHighlightBorder","Border color of a symbol during read-access, like reading a variable.")),S=Object(m.zb)("editor.wordHighlightStrongBorder",{light:null,dark:null,hc:m.b},r.a("wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),k=Object(m.zb)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},r.a("overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),E=Object(m.zb)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hc:"#C0A0C0CC"},r.a("overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),T=new g.f("hasWordHighlights",!1);function O(e,t,n){var r=f.i.ordered(e);return Object(i.h)(r.map((function(r){return function(){return Promise.resolve(r.provideDocumentHighlights(e,t,n)).then(void 0,a.f)}})),o.n)}var D=function(){function e(e,t,n){var r=this;this._wordRange=this._getCurrentWordRange(e,t),this.result=Object(i.f)((function(o){return r._compute(e,t,n,o)}))}return e.prototype._getCurrentWordRange=function(e,t){var n=e.getWordAtPosition(t.getPosition());return n?new l.a(t.startLineNumber,n.startColumn,t.startLineNumber,n.endColumn):null},e.prototype.isValid=function(e,t,n){for(var r=t.startLineNumber,o=t.startColumn,i=t.endColumn,s=this._getCurrentWordRange(e,t),a=Boolean(this._wordRange&&this._wordRange.equalsRange(s)),u=0,c=n.length;!a&&u=i&&(a=!0)}return a},e.prototype.cancel=function(){this.result.cancel()},e}(),A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype._compute=function(e,t,n,r){return O(e,t.getPosition(),r).then((function(e){return e||[]}))},t}(D),L=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o._selectionIsEmpty=n.isEmpty(),o}return v(t,e),t.prototype._compute=function(e,t,n,r){return Object(i.j)(250,r).then((function(){if(!t.isEmpty())return[];var r=e.getWordAtPosition(t.getPosition());return r?e.findMatches(r.word,!0,!1,!0,n,!1).map((function(e){return{range:e.range,kind:f.h.Text}})):[]}))},t.prototype.isValid=function(t,n,r){var o=n.isEmpty();return this._selectionIsEmpty===o&&e.prototype.isValid.call(this,t,n,r)},t}(D);Object(c.e)("_executeDocumentHighlights",(function(e,t){return O(e,t,s.a.None)}));var P=function(){function e(e,t){var n=this;this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this._hasWordHighlights=T.bindTo(t),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getConfiguration().contribInfo.occurrencesHighlight,this.model=this.editor.getModel(),this.toUnhook=[],this.toUnhook.push(e.onDidChangeCursorPosition((function(e){n._ignorePositionChangeEvent||n.occurrencesHighlight&&n._onPositionChanged(e)}))),this.toUnhook.push(e.onDidChangeModelContent((function(e){n._stopAll()}))),this.toUnhook.push(e.onDidChangeConfiguration((function(e){var t=n.editor.getConfiguration().contribInfo.occurrencesHighlight;n.occurrencesHighlight!==t&&(n.occurrencesHighlight=t,n._stopAll())}))),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}return e.prototype.hasDecorations=function(){return this._decorationIds.length>0},e.prototype.restore=function(){this.occurrencesHighlight&&this._run()},e.prototype._getSortedHighlights=function(){var e=this;return o.d(this._decorationIds.map((function(t){return e.model.getDecorationRange(t)})).sort(l.a.compareRangesUsingStarts))},e.prototype.moveNext=function(){var e=this,t=this._getSortedHighlights(),n=t[(o.j(t,(function(t){return t.containsPosition(e.editor.getPosition())}))+1)%t.length];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n)}finally{this._ignorePositionChangeEvent=!1}},e.prototype.moveBack=function(){var e=this,t=this._getSortedHighlights(),n=t[(o.j(t,(function(t){return t.containsPosition(e.editor.getPosition())}))-1+t.length)%t.length];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n)}finally{this._ignorePositionChangeEvent=!1}},e.prototype._removeDecorations=function(){this._decorationIds.length>0&&(this._decorationIds=this.editor.deltaDecorations(this._decorationIds,[]),this._hasWordHighlights.set(!1))},e.prototype._stopAll=function(){this._removeDecorations(),-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),null!==this.workerRequest&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)},e.prototype._onPositionChanged=function(e){this.occurrencesHighlight&&3===e.reason?this._run():this._stopAll()},e.prototype._run=function(){var e=this,t=this.editor.getSelection();if(t.startLineNumber===t.endLineNumber){var n=t.startLineNumber,r=t.startColumn,o=t.endColumn,i=this.model.getWordAtPosition({lineNumber:n,column:r});if(!i||i.startColumn>r||i.endColumn=n?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout((function(){e.renderDecorations()}),n-t)},e.prototype.renderDecorations=function(){this.renderDecorationsTimer=-1;for(var t=[],n=0,r=this.workerRequestValue.length;n=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},w=function(e,t){return function(n,r){t(n,r,e)}},x=function(){function e(t,n){this._editor=t,this._ckOtherSuggestions=e.OtherSuggestions.bindTo(n)}return e.prototype.dispose=function(){this.reset()},e.prototype.reset=function(){this._ckOtherSuggestions.reset(),Object(a.d)(this._listener),this._model=void 0,this._acceptNext=void 0,this._ignore=!1},e.prototype.set=function(t,n){var r=this,o=t.model,i=t.index;0!==o.items.length?e._moveIndex(!0,o,i)!==i?(this._acceptNext=n,this._model=o,this._index=i,this._listener=this._editor.onDidChangeCursorPosition((function(){r._ignore||r.reset()})),this._ckOtherSuggestions.set(!0)):this.reset():this.reset()},e._moveIndex=function(e,t,n){for(var r=n;(r=(r+t.items.length+(e?1:-1))%t.items.length)!==n&&t.items[r].completion.additionalTextEdits;);return r},e.prototype.next=function(){this._move(!0)},e.prototype.prev=function(){this._move(!1)},e.prototype._move=function(t){if(this._model)try{this._ignore=!0,this._index=e._moveIndex(t,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}},e.OtherSuggestions=new y.f("hasOtherSuggestions",!1),e=_([w(1,y.e)],e)}(),C=n(15),S=n(5),k=n(21),E=n(10),T=n(62),O=n(34),D=function(){function e(t,n,r,o,i){void 0===i&&(i=O.a.contribInfo.suggest),this._snippetCompareFn=e._compareCompletionItems,this._items=t,this._column=n,this._wordDistance=o,this._options=i,this._refilterKind=1,this._lineContext=r,"top"===i.snippets?this._snippetCompareFn=e._compareCompletionItemsSnippetsUp:"bottom"===i.snippets&&(this._snippetCompareFn=e._compareCompletionItemsSnippetsDown)}return e.prototype.dispose=function(){for(var e=new Set,t=0,n=this._items;t2e3?T.d:T.e,u=0;u=d)c.score=T.a.Default;else if("string"===typeof c.completion.filterText){if(!(f=a(r,o,p,c.completion.filterText,c.filterTextLow,0,!1)))continue;c.score=Object(T.b)(r,o,0,c.completion.label,c.labelLow,0),c.score[0]=f[0]}else{var f;if(!(f=a(r,o,p,c.completion.label,c.labelLow,0,!1)))continue;c.score=f}}switch(c.idx=u,c.distance=this._wordDistance.distance(c.position,c.completion),s.push(c),this._stats.suggestionCount++,c.completion.kind){case 25:this._stats.snippetCount++;break;case 18:this._stats.textCount++}}this._filteredItems=s.sort(this._snippetCompareFn),this._refilterKind=0},e._compareCompletionItems=function(e,t){return e.score[0]>t.score[0]?-1:e.score[0]t.distance?1:e.idxt.idx?1:0},e._compareCompletionItemsSnippetsDown=function(t,n){if(t.completion.kind!==n.completion.kind){if(25===t.completion.kind)return 1;if(25===n.completion.kind)return-1}return e._compareCompletionItems(t,n)},e._compareCompletionItemsSnippetsUp=function(t,n){if(t.completion.kind!==n.completion.kind){if(25===t.completion.kind)return-1;if(25===n.completion.kind)return 1}return e._compareCompletionItems(t,n)},e}(),A=n(26),L=n(185),P=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),I=function(){function e(){}return e.create=function(t,n){if(!n.getConfiguration().contribInfo.suggest.localityBonus)return Promise.resolve(e.None);if(!n.hasModel())return Promise.resolve(e.None);var r=n.getModel(),o=n.getPosition();return t.canComputeWordRanges(r.uri)?(new L.a).provideSelectionRanges(r,[o]).then((function(s){return s&&0!==s.length&&0!==s[0].length?t.computeWordRanges(r.uri,s[0][0].range).then((function(t){return new(function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return P(r,e),r.prototype.distance=function(e,r){if(!t||!o.equals(n.getPosition()))return 0;if(17===r.kind)return 2<<20;var a=r.label,u=t[a];if(Object(i.m)(u))return 2<<20;for(var c=Object(i.c)(u,l.a.fromPositions(e),l.a.compareRangesUsingStarts),d=c>=0?u[c]:u[Math.max(0,~c-1)],p=s.length,h=0,f=s[0];h0?{triggerKind:2}:{triggerKind:0},this._requestToken=new A.b;var p=this._editor.getConfiguration().contribInfo,h=new Set,f=1;switch(p.suggest.snippets){case"top":f=0;break;case"bottom":f=2;break;case"none":h.add(25)}for(var g in p.suggest.filteredTypes){var m=Object(E.A)(g,!0);"undefined"!==typeof m&&!1===p.suggest.filteredTypes[g]&&h.add(m)}var y=I.create(this._editorWorker,this._editor),v=Object(b.e)(c,this._editor.getPosition(),new b.a(f,h,n),u,this._requestToken.token);Promise.all([v,y]).then((function(t){var n=t[0],s=t[1];if(Object(a.d)(o._requestToken),0!==o._state&&o._editor.hasModel()){var u=o._editor.getModel();if(Object(i.n)(r)){var c=Object(b.d)(f);n=n.concat(r).sort(c)}var d=new N(u,o._editor.getPosition(),l,e.shy);Object(a.d)(o._completionModel),o._completionModel=new D(n,o._context.column,{leadingLineContent:d.leadingLineContent,characterCountDelta:d.column-o._context.column},s,o._editor.getConfiguration().contribInfo.suggest),o._onNewContext(d)}})).catch(s.e)}},e.prototype._onNewContext=function(e){if(this._context)if(e.lineNumber===this._context.lineNumber){if(e.leadingWord.startColumnthis._context.column&&this._completionModel.incomplete.size>0&&0!==e.leadingWord.word.length){var t=this._completionModel.incomplete,n=this._completionModel.adopt(t);this.trigger({auto:2===this._state,shy:!1},!0,t,n)}else{var r=this._completionModel.lineContext,o=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},0===this._completionModel.items.length){if(N.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn0)&&0===e.leadingWord.word.length)return void this.cancel()}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:o})}}else this.cancel()},e}(),M=(n(397),n(7)),R=n(1),F=n(118),B=n(80),W=n(49),V=n(120),H=n(105),U=n(18),z=n(8),K=n(83),q=n(128),G=n(86),Y=n(71),$=n(156),X=n(45),J=n(54),Z=n(112);function Q(e,t,n,o){var i=o===r.ROOT_FOLDER?["rootfolder-icon"]:o===r.FOLDER?["folder-icon"]:["file-icon"];if(n){var s,a=void 0;if(n.scheme===X.a.data)a=s=J.a.parseMetaData(n).get(J.a.META_DATA_LABEL);else s=ee(Object(J.c)(n).toLowerCase()),a=n.path.toLowerCase();if(o===r.FOLDER)i.push(s+"-name-folder-icon");else{if(s){i.push(s+"-name-file-icon");for(var u=s.split("."),c=1;c=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},ie=function(e,t){return function(n,r){t(n,r,e)}},se=Object(z.zb)("editorSuggestWidget.background",{dark:z.F,light:z.F,hc:z.F},g.a("editorSuggestWidgetBackground","Background color of the suggest widget.")),ae=Object(z.zb)("editorSuggestWidget.border",{dark:z.G,light:z.G,hc:z.G},g.a("editorSuggestWidgetBorder","Border color of the suggest widget.")),ue=Object(z.zb)("editorSuggestWidget.foreground",{dark:z.v,light:z.v,hc:z.v},g.a("editorSuggestWidgetForeground","Foreground color of the suggest widget.")),ce=Object(z.zb)("editorSuggestWidget.selectedBackground",{dark:z.eb,light:z.eb,hc:z.eb},g.a("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget.")),le=Object(z.zb)("editorSuggestWidget.highlightForeground",{dark:z.gb,light:z.gb,hc:z.gb},g.a("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget.")),de=/^(#([\da-f]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))$/i;function pe(e){if(!e)return!1;var t=e.completion;return!!t.documentation||t.detail&&t.detail!==t.label}var he=function(){function e(e,t,n,r,o,i){this.widget=e,this.editor=t,this.triggerKeybindingLabel=n,this._modelService=r,this._modeService=o,this._themeService=i}return Object.defineProperty(e.prototype,"templateId",{get:function(){return"suggestion"},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){var t=this,n=Object.create(null);n.disposables=[],n.root=e,Object(R.f)(n.root,"show-file-icons"),n.icon=Object(R.m)(e,Object(R.a)(".icon")),n.colorspan=Object(R.m)(n.icon,Object(R.a)("span.colorspan"));var r=Object(R.m)(e,Object(R.a)(".contents")),o=Object(R.m)(r,Object(R.a)(".main"));n.iconLabel=new $.a(o,{supportHighlights:!0}),n.disposables.push(n.iconLabel),n.typeLabel=Object(R.m)(o,Object(R.a)("span.type-label")),n.readMore=Object(R.m)(o,Object(R.a)("span.readMore")),n.readMore.title=g.a("readMore","Read More...{0}",this.triggerKeybindingLabel);var i=function(){var e=t.editor.getConfiguration(),r=e.fontInfo.fontFamily,i=e.contribInfo.suggestFontSize||e.fontInfo.fontSize,s=e.contribInfo.suggestLineHeight||e.fontInfo.lineHeight,a=e.fontInfo.fontWeight,u=i+"px",c=s+"px";n.root.style.fontSize=u,n.root.style.fontWeight=a,o.style.fontFamily=r,o.style.lineHeight=c,n.icon.style.height=c,n.icon.style.width=c,n.readMore.style.height=c,n.readMore.style.width=c};return i(),S.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter((function(e){return e.fontInfo||e.contribInfo})).on(i,null,n.disposables),n},e.prototype.renderElement=function(e,t,n){var o=this,i=n,s=e.completion;i.icon.className="icon "+Object(E.B)(s.kind),i.colorspan.style.backgroundColor="";var a,u,c={labelEscapeNewLines:!0,matches:Object(T.c)(e.score)},l=[];19===s.kind&&(u=l,(a=e).completion.label.match(de)?(u[0]=a.completion.label,1):"string"===typeof a.completion.documentation&&a.completion.documentation.match(de)&&(u[0]=a.completion.documentation,1))?(i.icon.className="icon customcolor",i.colorspan.style.backgroundColor=l[0]):20===s.kind&&this._themeService.getIconTheme().hasFileIcons?(i.icon.className="icon hide",c.extraClasses=[].concat(Q(this._modelService,this._modeService,ne.a.from({scheme:"fake",path:s.label}),r.FILE),Q(this._modelService,this._modeService,ne.a.from({scheme:"fake",path:s.detail}),r.FILE))):23===s.kind&&this._themeService.getIconTheme().hasFolderIcons?(i.icon.className="icon hide",c.extraClasses=[].concat(Q(this._modelService,this._modeService,ne.a.from({scheme:"fake",path:s.label}),r.FOLDER),Q(this._modelService,this._modeService,ne.a.from({scheme:"fake",path:s.detail}),r.FOLDER))):(i.icon.className="icon hide",c.extraClasses=["suggest-icon "+Object(E.B)(s.kind)]),i.iconLabel.setLabel(s.label,void 0,c),i.typeLabel.textContent=(s.detail||"").replace(/\n.*$/m,""),pe(e)?(Object(R.O)(i.readMore),i.readMore.onmousedown=function(e){e.stopPropagation(),e.preventDefault()},i.readMore.onclick=function(e){e.stopPropagation(),e.preventDefault(),o.widget.toggleDetails()}):(Object(R.B)(i.readMore),i.readMore.onmousedown=null,i.readMore.onclick=null)},e.prototype.disposeTemplate=function(e){e.disposables=Object(a.d)(e.disposables)},e=oe([ie(3,te.a),ie(4,G.a),ie(5,U.c)],e)}(),fe=function(){function e(e,t,n,r,o){var i=this;this.widget=t,this.editor=n,this.markdownRenderer=r,this.triggerKeybindingLabel=o,this.borderWidth=1,this.disposables=[],this.el=Object(R.m)(e,Object(R.a)(".details")),this.disposables.push(Object(a.f)((function(){return e.removeChild(i.el)}))),this.body=Object(R.a)(".body"),this.scrollbar=new B.a(this.body,{}),Object(R.m)(this.el,this.scrollbar.getDomNode()),this.disposables.push(this.scrollbar),this.header=Object(R.m)(this.body,Object(R.a)(".header")),this.close=Object(R.m)(this.header,Object(R.a)("span.close")),this.close.title=g.a("readLess","Read less...{0}",this.triggerKeybindingLabel),this.type=Object(R.m)(this.header,Object(R.a)("p.type")),this.docs=Object(R.m)(this.body,Object(R.a)("p.docs")),this.ariaLabel=null,this.configureFont(),S.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter((function(e){return e.fontInfo})).on(this.configureFont,this,this.disposables),r.onDidRenderCodeBlock((function(){return i.scrollbar.scanDomNode()}),this,this.disposables)}return Object.defineProperty(e.prototype,"element",{get:function(){return this.el},enumerable:!0,configurable:!0}),e.prototype.render=function(e){var t=this;if(this.renderDisposeable=Object(a.d)(this.renderDisposeable),!e||!pe(e))return this.type.textContent="",this.docs.textContent="",Object(R.f)(this.el,"no-docs"),void(this.ariaLabel=null);if(Object(R.G)(this.el,"no-docs"),"string"===typeof e.completion.documentation)Object(R.G)(this.docs,"markdown-docs"),this.docs.textContent=e.completion.documentation;else{Object(R.f)(this.docs,"markdown-docs"),this.docs.innerHTML="";var n=this.markdownRenderer.render(e.completion.documentation);this.renderDisposeable=n,this.docs.appendChild(n.element)}e.completion.detail?(this.type.innerText=e.completion.detail,Object(R.O)(this.type)):(this.type.innerText="",Object(R.B)(this.type)),this.el.style.height=this.header.offsetHeight+this.docs.offsetHeight+2*this.borderWidth+"px",this.close.onmousedown=function(e){e.preventDefault(),e.stopPropagation()},this.close.onclick=function(e){e.preventDefault(),e.stopPropagation(),t.widget.toggleDetails()},this.body.scrollTop=0,this.scrollbar.scanDomNode(),this.ariaLabel=M.p("{0}{1}",e.completion.detail||"",e.completion.documentation?"string"===typeof e.completion.documentation?e.completion.documentation:e.completion.documentation.value:"")},e.prototype.getAriaLabel=function(){return this.ariaLabel},e.prototype.scrollDown=function(e){void 0===e&&(e=8),this.body.scrollTop+=e},e.prototype.scrollUp=function(e){void 0===e&&(e=8),this.body.scrollTop-=e},e.prototype.scrollTop=function(){this.body.scrollTop=0},e.prototype.scrollBottom=function(){this.body.scrollTop=this.body.scrollHeight},e.prototype.pageDown=function(){this.scrollDown(80)},e.prototype.pageUp=function(){this.scrollUp(80)},e.prototype.setBorderWidth=function(e){this.borderWidth=e},e.prototype.configureFont=function(){var e=this.editor.getConfiguration(),t=e.fontInfo.fontFamily,n=e.contribInfo.suggestFontSize||e.fontInfo.fontSize,r=e.contribInfo.suggestLineHeight||e.fontInfo.lineHeight,o=e.fontInfo.fontWeight,i=n+"px",s=r+"px";this.el.style.fontSize=i,this.el.style.fontWeight=o,this.type.style.fontFamily=t,this.close.style.height=s,this.close.style.width=s},e.prototype.dispose=function(){this.disposables=Object(a.d)(this.disposables),this.renderDisposeable=Object(a.d)(this.renderDisposeable)},e}(),ge=function(){function e(e,t,n,r,o,i,s,a,u){var c=this;this.editor=e,this.telemetryService=t,this.allowEditorOverflow=!0,this.ignoreFocusEvents=!1,this.editorBlurTimeout=new C.e,this.showTimeout=new C.e,this.onDidSelectEmitter=new S.a,this.onDidFocusEmitter=new S.a,this.onDidHideEmitter=new S.a,this.onDidShowEmitter=new S.a,this.onDidSelect=this.onDidSelectEmitter.event,this.onDidFocus=this.onDidFocusEmitter.event,this.onDidHide=this.onDidHideEmitter.event,this.onDidShow=this.onDidShowEmitter.event,this.maxWidgetWidth=660,this.listWidth=330,this.firstFocusInCurrentList=!1,this.preferDocPositionTop=!1;var l=i.lookupKeybinding("editor.action.triggerSuggest"),d=l?" ("+l.getLabel()+")":"",p=new q.a(e,s,a);this.isAuto=!1,this.focusedItem=null,this.storageService=o,this.element=Object(R.a)(".editor-widget.suggest-widget"),this.messageElement=Object(R.m)(this.element,Object(R.a)(".message")),this.listElement=Object(R.m)(this.element,Object(R.a)(".tree")),this.details=new fe(this.element,this,this.editor,p,d);var h=function(){return Object(R.P)(c.element,"no-icons",!c.editor.getConfiguration().contribInfo.suggest.showIcons)};h();var f=u.createInstance(he,this,this.editor,d);this.list=new F.b(this.listElement,this,[f],{useShadows:!1,openController:{shouldOpen:function(){return!1}},mouseSupport:!1}),this.toDispose=[Object(H.b)(this.list,r,{listInactiveFocusBackground:ce,listInactiveFocusOutline:z.b}),r.onThemeChange((function(e){return c.onThemeChange(e)})),e.onDidLayoutChange((function(){return c.onEditorLayoutChange()})),this.list.onMouseDown((function(e){return c.onListMouseDown(e)})),this.list.onSelectionChange((function(e){return c.onListSelection(e)})),this.list.onFocusChange((function(e){return c.onListFocus(e)})),this.editor.onDidChangeCursorSelection((function(){return c.onCursorSelectionChanged()})),this.editor.onDidChangeConfiguration((function(e){return e.contribInfo&&h()}))],this.suggestWidgetVisible=b.b.Visible.bindTo(n),this.suggestWidgetMultipleSuggestions=b.b.MultipleSuggestions.bindTo(n),this.editor.addContentWidget(this),this.setState(0),this.onThemeChange(r.getTheme())}return e.prototype.onCursorSelectionChanged=function(){0!==this.state&&this.editor.layoutContentWidget(this)},e.prototype.onEditorLayoutChange=function(){3!==this.state&&5!==this.state||!this.expandDocsSettingFromStorage()||this.expandSideOrBelow()},e.prototype.onListMouseDown=function(e){"undefined"!==typeof e.element&&"undefined"!==typeof e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this.select(e.element,e.index))},e.prototype.onListSelection=function(e){e.elements.length&&this.select(e.elements[0],e.indexes[0])},e.prototype.select=function(e,t){var n=this,r=this.completionModel;r&&e.resolve(A.a.None).then((function(){n.onDidSelectEmitter.fire({item:e,index:t,model:r}),n.editor.focus()}))},e.prototype._getSuggestionAriaAlertLabel=function(e){return this.expandDocsSettingFromStorage()?g.a("ariaCurrenttSuggestionReadDetails","Item {0}, docs: {1}",e.completion.label,this.details.getAriaLabel()):e.completion.label},e.prototype._ariaAlert=function(e){this._lastAriaAlertLabel!==e&&(this._lastAriaAlertLabel=e,this._lastAriaAlertLabel&&Object(o.a)(this._lastAriaAlertLabel,!0))},e.prototype.onThemeChange=function(e){var t=e.getColor(se);t&&(this.listElement.style.backgroundColor=t.toString(),this.details.element.style.backgroundColor=t.toString(),this.messageElement.style.backgroundColor=t.toString());var n=e.getColor(ae);n&&(this.listElement.style.borderColor=n.toString(),this.details.element.style.borderColor=n.toString(),this.messageElement.style.borderColor=n.toString(),this.detailsBorderColor=n.toString());var r=e.getColor(z.J);r&&(this.detailsFocusBorderColor=r.toString()),this.details.setBorderWidth("hc"===e.type?2:1)},e.prototype.onListFocus=function(e){var t=this;if(!this.ignoreFocusEvents){if(!e.elements.length)return this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null,this.focusedItem=null),void this._ariaAlert(null);if(this.completionModel){var n=e.elements[0],r=e.indexes[0];this.firstFocusInCurrentList=!this.focusedItem,n!==this.focusedItem&&(this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.focusedItem=n,this.list.reveal(r),this.currentSuggestionDetails=Object(C.f)((function(e){return n.resolve(e)})),this.currentSuggestionDetails.then((function(){t.list.length1),i)r?this.setState(0):this.setState(2),this.completionModel=null;else{if(3!==this.state){var s=this.completionModel.stats;s.wasAutomaticallyTriggered=!!r,this.telemetryService.publicLog("suggestWidget",re({},s,this.editor.getTelemetryData()))}this.focusedItem=null,this.list.splice(0,this.list.length,this.completionModel.items),n?this.setState(4):this.setState(3),this.list.reveal(t,0),this.list.setFocus([t]),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)}}},e.prototype.selectNextPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageDown(),!0;case 1:return!this.isAuto;default:return this.list.focusNextPage(),!0}},e.prototype.selectNext=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusNext(1,!0),!0}},e.prototype.selectLast=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollBottom(),!0;case 1:return!this.isAuto;default:return this.list.focusLast(),!0}},e.prototype.selectPreviousPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageUp(),!0;case 1:return!this.isAuto;default:return this.list.focusPreviousPage(),!0}},e.prototype.selectPrevious=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusPrevious(1,!0),!1}},e.prototype.selectFirst=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollTop(),!0;case 1:return!this.isAuto;default:return this.list.focusFirst(),!0}},e.prototype.getFocusedItem=function(){if(0!==this.state&&2!==this.state&&1!==this.state&&this.completionModel)return{item:this.list.getFocusedElements()[0],index:this.list.getFocus()[0],model:this.completionModel}},e.prototype.toggleDetailsFocus=function(){5===this.state?(this.setState(3),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)):3===this.state&&this.expandDocsSettingFromStorage()&&(this.setState(5),this.detailsFocusBorderColor&&(this.details.element.style.borderColor=this.detailsFocusBorderColor)),this.telemetryService.publicLog("suggestWidget:toggleDetailsFocus",this.editor.getTelemetryData())},e.prototype.toggleDetails=function(){if(pe(this.list.getFocusedElements()[0]))if(this.expandDocsSettingFromStorage())this.updateExpandDocsSetting(!1),Object(R.B)(this.details.element),Object(R.G)(this.element,"docs-side"),Object(R.G)(this.element,"docs-below"),this.editor.layoutContentWidget(this),this.telemetryService.publicLog("suggestWidget:collapseDetails",this.editor.getTelemetryData());else{if(3!==this.state&&5!==this.state&&4!==this.state)return;this.updateExpandDocsSetting(!0),this.showDetails(),this._ariaAlert(this.details.getAriaLabel()),this.telemetryService.publicLog("suggestWidget:expandDetails",this.editor.getTelemetryData())}},e.prototype.showDetails=function(){this.expandSideOrBelow(),Object(R.O)(this.details.element),this.details.render(this.list.getFocusedElements()[0]),this.details.element.style.maxHeight=this.maxWidgetHeight+"px",this.listElement.style.marginTop="0px",this.editor.layoutContentWidget(this),this.adjustDocsPosition(),this.editor.focus()},e.prototype.show=function(){var e=this,t=this.updateListHeight();t!==this.listHeight&&(this.editor.layoutContentWidget(this),this.listHeight=t),this.suggestWidgetVisible.set(!0),this.showTimeout.cancelAndSet((function(){Object(R.f)(e.element,"visible"),e.onDidShowEmitter.fire(e)}),100)},e.prototype.hide=function(){this.suggestWidgetVisible.reset(),this.suggestWidgetMultipleSuggestions.reset(),Object(R.G)(this.element,"visible")},e.prototype.hideWidget=function(){clearTimeout(this.loadingTimeout),this.setState(0),this.onDidHideEmitter.fire(this)},e.prototype.getPosition=function(){if(0===this.state)return null;var e=[2,1];return this.preferDocPositionTop&&(e=[1]),{position:this.editor.getPosition(),preference:e}},e.prototype.getDomNode=function(){return this.element},e.prototype.getId=function(){return e.ID},e.prototype.updateListHeight=function(){var e=0;if(2===this.state||1===this.state)e=this.unfocusedHeight;else{var t=this.list.contentHeight/this.unfocusedHeight,n=this.editor.getConfiguration().contribInfo.suggest.maxVisibleSuggestions;e=Math.min(t,n)*this.unfocusedHeight}return this.element.style.lineHeight=this.unfocusedHeight+"px",this.listElement.style.height=e+"px",this.list.layout(e),e},e.prototype.adjustDocsPosition=function(){if(this.editor.hasModel()){var e=this.editor.getConfiguration().fontInfo.lineHeight,t=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),n=Object(R.v)(this.editor.getDomNode()),r=n.left+t.left,o=n.top+t.top+t.height,i=Object(R.v)(this.element),s=i.left,a=i.top;if(this.docsPositionPreviousWidgetY&&this.docsPositionPreviousWidgetYa&&this.details.element.offsetHeight>this.listElement.offsetHeight&&(this.listElement.style.marginTop=this.details.element.offsetHeight-this.listElement.offsetHeight+"px")}},e.prototype.expandSideOrBelow=function(){if(!pe(this.focusedItem)&&this.firstFocusInCurrentList)return Object(R.G)(this.element,"docs-side"),void Object(R.G)(this.element,"docs-below");var e=this.element.style.maxWidth.match(/(\d+)px/);!e||Number(e[1])=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},ye=function(e,t){return function(n,r){t(n,r,e)}},ve=function(){function e(t,n){var r=this;this._editor=t,this._ckAtEnd=e.AtEnd.bindTo(n),this._confListener=this._editor.onDidChangeConfiguration((function(e){return e.contribInfo&&r._update()})),this._update()}return e.prototype.dispose=function(){Object(a.d)(this._confListener,this._selectionListener),this._ckAtEnd.reset()},e.prototype._update=function(){var e=this,t="on"===this._editor.getConfiguration().contribInfo.tabCompletion;if(this._enabled!==t)if(this._enabled=t,this._enabled){var n=function(){if(e._editor.hasModel()){var t=e._editor.getModel(),n=e._editor.getSelection(),r=t.getWordAtPosition(n.getStartPosition());r?e._ckAtEnd.set(r.endColumn===n.getStartPosition().column):e._ckAtEnd.set(!1)}else e._ckAtEnd.set(!1)};this._selectionListener=this._editor.onDidChangeCursorSelection(n),n()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)},e.AtEnd=new y.f("atEndOfWord",!1),e=me([ye(1,y.e)],e)}(),be=n(73),_e=n(87),we=n(20),xe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ce=function(){return(Ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},ke=function(e,t){return function(n,r){t(n,r,e)}},Ee=function(){function e(e,t,n){var r=this;this._disposables=[],this._disposables.push(t.onDidShow((function(){return r._onItem(t.getFocusedItem())}))),this._disposables.push(t.onDidFocus(this._onItem,this)),this._disposables.push(t.onDidHide(this.reset,this)),this._disposables.push(e.onWillType((function(t){if(r._active){var o=t.charCodeAt(t.length-1);r._active.acceptCharacters.has(o)&&e.getConfiguration().contribInfo.acceptSuggestionOnCommitCharacter&&n(r._active.item)}})))}return e.prototype._onItem=function(e){if(e&&Object(i.n)(e.item.completion.commitCharacters)){for(var t=new _e.b,n=0,r=e.item.completion.commitCharacters;n0&&t.add(o.charCodeAt(0))}this._active={acceptCharacters:t,item:e}}else this.reset()},e.prototype.reset=function(){this._active=void 0},e.prototype.dispose=function(){Object(a.d)(this._disposables)},e}(),Te=function(){function e(e,t,n,r,o,i){var s=this;this._editor=e,this._memoryService=n,this._commandService=r,this._contextKeyService=o,this._instantiationService=i,this._toDispose=[],this._sticky=!1,this._model=new j(this._editor,t),this._widget=new C.b((function(){var e=s._instantiationService.createInstance(ge,s._editor);s._toDispose.push(e),s._toDispose.push(e.onDidSelect((function(e){return s._onDidSelectItem(e,!1,!0)}),s));var t=new Ee(s._editor,e,(function(e){return s._onDidSelectItem(e,!1,!0)}));s._toDispose.push(t,s._model.onDidSuggest((function(e){0===e.completionModel.items.length&&t.reset()})));var n=b.b.MakesTextEdit.bindTo(s._contextKeyService);return s._toDispose.push(e.onDidFocus((function(e){var t=e.item,r=s._editor.getPosition(),o=t.completion.range.startColumn,i=r.column,a=!0;"smart"!==s._editor.getConfiguration().contribInfo.acceptSuggestionOnEnter||2!==s._model.state||t.completion.command||t.completion.additionalTextEdits||4&t.completion.insertTextRules||i-o!==t.completion.insertText.length||(a=s._editor.getModel().getValueInRange({startLineNumber:r.lineNumber,startColumn:o,endLineNumber:r.lineNumber,endColumn:i})!==t.completion.insertText);n.set(a)}))),s._toDispose.push({dispose:function(){n.reset()}}),e})),this._alternatives=new C.b((function(){var e=new x(s._editor,s._contextKeyService);return s._toDispose.push(e),e})),this._toDispose.push(i.createInstance(ve,e)),this._toDispose.push(this._model.onDidTrigger((function(e){s._widget.getValue().showTriggered(e.auto,e.shy?250:50)}))),this._toDispose.push(this._model.onDidSuggest((function(e){if(!e.shy){var t=s._memoryService.select(s._editor.getModel(),s._editor.getPosition(),e.completionModel.items);s._widget.getValue().showSuggestions(e.completionModel,t,e.isFrozen,e.auto)}}))),this._toDispose.push(this._model.onDidCancel((function(e){s._widget&&!e.retrigger&&s._widget.getValue().hideWidget()}))),this._toDispose.push(this._editor.onDidBlurEditorWidget((function(){s._sticky||s._model.cancel()})));var a=b.b.AcceptSuggestionsOnEnter.bindTo(o),u=function(){var e=s._editor.getConfiguration().contribInfo.acceptSuggestionOnEnter;a.set("on"===e||"smart"===e)};this._toDispose.push(this._editor.onDidChangeConfiguration((function(e){return u()}))),u()}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.getId=function(){return e.ID},e.prototype.dispose=function(){this._toDispose=Object(a.d)(this._toDispose),this._widget.dispose(),this._model&&this._model.dispose()},e.prototype._onDidSelectItem=function(e,t,n){var r,o=this;if(!e||!e.item)return this._alternatives.getValue().reset(),void this._model.cancel();if(this._editor.hasModel()){var i=this._editor.getModel(),a=i.getAlternativeVersionId(),u=e.item,d=u.completion,f=u.position,g=this._editor.getPosition().column-f.column;n&&this._editor.pushUndoStop(),Array.isArray(d.additionalTextEdits)&&this._editor.executeEdits("suggestController.additionalTextEdits",d.additionalTextEdits.map((function(e){return c.a.replace(l.a.lift(e.range),e.text)}))),this._memoryService.memorize(i,this._editor.getPosition(),e.item);var m=d.insertText;4&d.insertTextRules||(m=h.c.escape(m));var y=f.column-d.range.startColumn,v=d.range.endColumn-f.column;p.SnippetController2.get(this._editor).insert(m,y+g,v,!1,!1,!(1&d.insertTextRules)),n&&this._editor.pushUndoStop(),d.command?d.command.id===Oe.id?this._model.trigger({auto:!0,shy:!1},!0):((r=this._commandService).executeCommand.apply(r,[d.command.id].concat(d.command.arguments?d.command.arguments.slice():[])).catch(s.e),this._model.cancel()):this._model.cancel(),t&&this._alternatives.getValue().set(e,(function(e){for(;i.canUndo();){a!==i.getAlternativeVersionId()&&i.undo(),o._onDidSelectItem(e,!1,!1);break}})),this._alertCompletionItem(e.item)}},e.prototype._alertCompletionItem=function(e){var t=e.completion;if(Object(i.n)(t.additionalTextEdits)){var n=g.a("arai.alert.snippet","Accepting '{0}' made {1} additional edits",t.label,t.additionalTextEdits.length);Object(o.a)(n)}},e.prototype.triggerSuggest=function(e){this._editor.hasModel()&&(this._model.trigger({auto:!1,shy:!1},!1,e),this._editor.revealLine(this._editor.getPosition().lineNumber,0),this._editor.focus())},e.prototype.triggerSuggestAndAcceptBest=function(e){var t=this;if(this._editor.hasModel()){var n=this._editor.getPosition(),r=function(){n.equals(t._editor.getPosition())&&t._commandService.executeCommand(e.fallback)};S.b.once(this._model.onDidTrigger)((function(e){var n=[];S.b.any(t._model.onDidTrigger,t._model.onDidCancel)((function(){Object(a.d)(n),r()}),void 0,n),t._model.onDidSuggest((function(e){var o=e.completionModel;if(Object(a.d)(n),0!==o.items.length){var i=t._memoryService.select(t._editor.getModel(),t._editor.getPosition(),o.items),s=o.items[i];!function(e){if(4&e.completion.insertTextRules||e.completion.additionalTextEdits)return!0;var n=t._editor.getPosition(),r=e.completion.range.startColumn,o=n.column;return o-r!==e.completion.insertText.length||t._editor.getModel().getValueInRange({startLineNumber:n.lineNumber,startColumn:r,endLineNumber:n.lineNumber,endColumn:o})!==e.completion.insertText}(s)?r():(t._editor.pushUndoStop(),t._onDidSelectItem({index:i,item:s,model:o},!0,!1))}else r()}),void 0,n)})),this._model.trigger({auto:!1,shy:!0}),this._editor.revealLine(n.lineNumber,0),this._editor.focus()}},e.prototype.acceptSelectedSuggestion=function(e){if(this._widget){var t=this._widget.getValue().getFocusedItem();this._onDidSelectItem(t,!!e,!0)}},e.prototype.acceptNextSuggestion=function(){this._alternatives.getValue().next()},e.prototype.acceptPrevSuggestion=function(){this._alternatives.getValue().prev()},e.prototype.cancelSuggestWidget=function(){this._widget&&(this._model.cancel(),this._widget.getValue().hideWidget())},e.prototype.selectNextSuggestion=function(){this._widget&&this._widget.getValue().selectNext()},e.prototype.selectNextPageSuggestion=function(){this._widget&&this._widget.getValue().selectNextPage()},e.prototype.selectLastSuggestion=function(){this._widget&&this._widget.getValue().selectLast()},e.prototype.selectPrevSuggestion=function(){this._widget&&this._widget.getValue().selectPrevious()},e.prototype.selectPrevPageSuggestion=function(){this._widget&&this._widget.getValue().selectPreviousPage()},e.prototype.selectFirstSuggestion=function(){this._widget&&this._widget.getValue().selectFirst()},e.prototype.toggleSuggestionDetails=function(){this._widget&&this._widget.getValue().toggleDetails()},e.prototype.toggleSuggestionFocus=function(){this._widget&&this._widget.getValue().toggleDetailsFocus()},e.ID="editor.contrib.suggestController",e=Se([ke(1,be.a),ke(2,f.a),ke(3,m.b),ke(4,y.e),ke(5,v.a)],e)}(),Oe=function(e){function t(){return e.call(this,{id:t.id,label:g.a("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:y.d.and(d.a.writable,d.a.hasCompletionItemProvider),kbOpts:{kbExpr:d.a.textInputFocus,primary:2058,mac:{primary:266},weight:100}})||this}return xe(t,e),t.prototype.run=function(e,t){var n=Te.get(t);n&&n.triggerSuggest()},t.id="editor.action.triggerSuggest",t}(u.b);Object(u.h)(Te),Object(u.f)(Oe);var De=u.c.bindToContribution(Te.get);Object(u.g)(new De({id:"acceptSelectedSuggestion",precondition:b.b.Visible,handler:function(e){return e.acceptSelectedSuggestion(!0)},kbOpts:{weight:190,kbExpr:d.a.textInputFocus,primary:2}})),Object(u.g)(new De({id:"acceptSelectedSuggestionOnEnter",precondition:b.b.Visible,handler:function(e){return e.acceptSelectedSuggestion(!1)},kbOpts:{weight:190,kbExpr:y.d.and(d.a.textInputFocus,b.b.AcceptSuggestionsOnEnter,b.b.MakesTextEdit),primary:3}})),Object(u.g)(new De({id:"hideSuggestWidget",precondition:b.b.Visible,handler:function(e){return e.cancelSuggestWidget()},kbOpts:{weight:190,kbExpr:d.a.textInputFocus,primary:9,secondary:[1033]}})),Object(u.g)(new De({id:"selectNextSuggestion",precondition:y.d.and(b.b.Visible,b.b.MultipleSuggestions),handler:function(e){return e.selectNextSuggestion()},kbOpts:{weight:190,kbExpr:d.a.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),Object(u.g)(new De({id:"selectNextPageSuggestion",precondition:y.d.and(b.b.Visible,b.b.MultipleSuggestions),handler:function(e){return e.selectNextPageSuggestion()},kbOpts:{weight:190,kbExpr:d.a.textInputFocus,primary:12,secondary:[2060]}})),Object(u.g)(new De({id:"selectLastSuggestion",precondition:y.d.and(b.b.Visible,b.b.MultipleSuggestions),handler:function(e){return e.selectLastSuggestion()}})),Object(u.g)(new De({id:"selectPrevSuggestion",precondition:y.d.and(b.b.Visible,b.b.MultipleSuggestions),handler:function(e){return e.selectPrevSuggestion()},kbOpts:{weight:190,kbExpr:d.a.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),Object(u.g)(new De({id:"selectPrevPageSuggestion",precondition:y.d.and(b.b.Visible,b.b.MultipleSuggestions),handler:function(e){return e.selectPrevPageSuggestion()},kbOpts:{weight:190,kbExpr:d.a.textInputFocus,primary:11,secondary:[2059]}})),Object(u.g)(new De({id:"selectFirstSuggestion",precondition:y.d.and(b.b.Visible,b.b.MultipleSuggestions),handler:function(e){return e.selectFirstSuggestion()}})),Object(u.g)(new De({id:"toggleSuggestionDetails",precondition:b.b.Visible,handler:function(e){return e.toggleSuggestionDetails()},kbOpts:{weight:190,kbExpr:d.a.textInputFocus,primary:2058,mac:{primary:266}}})),Object(u.g)(new De({id:"toggleSuggestionFocus",precondition:b.b.Visible,handler:function(e){return e.toggleSuggestionFocus()},kbOpts:{weight:190,kbExpr:d.a.textInputFocus,primary:2570,mac:{primary:778}}})),Object(u.g)(new De({id:"insertBestCompletion",precondition:y.d.and(y.d.equals("config.editor.tabCompletion","on"),ve.AtEnd,b.b.Visible.toNegated(),x.OtherSuggestions.toNegated(),p.SnippetController2.InSnippetMode.toNegated()),handler:function(e,t){e.triggerSuggestAndAcceptBest(Object(we.g)(t)?Ce({fallback:"tab"},t):{fallback:"tab"})},kbOpts:{weight:190,primary:2}})),Object(u.g)(new De({id:"insertNextSuggestion",precondition:y.d.and(y.d.equals("config.editor.tabCompletion","on"),x.OtherSuggestions,b.b.Visible.toNegated(),p.SnippetController2.InSnippetMode.toNegated()),handler:function(e){return e.acceptNextSuggestion()},kbOpts:{weight:190,kbExpr:d.a.textInputFocus,primary:2}})),Object(u.g)(new De({id:"insertPrevSuggestion",precondition:y.d.and(y.d.equals("config.editor.tabCompletion","on"),x.OtherSuggestions,b.b.Visible.toNegated(),p.SnippetController2.InSnippetMode.toNegated()),handler:function(e){return e.acceptPrevSuggestion()},kbOpts:{weight:190,kbExpr:d.a.textInputFocus,primary:1026}}))},function(e,t,n){"use strict";n.r(t),n.d(t,"ID",(function(){return M})),n.d(t,"FoldingController",(function(){return R}));n(353);var r=n(0),o=n(20),i=n(7),s=n(15),a=n(37),u=n(4),c=n(3),l=n(5),d=function(){function e(e,t,n){if(e.length!==t.length||e.length>65535)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new Uint32Array(Math.ceil(e.length/32)),this._types=n}return e.prototype.ensureParentIndices=function(){var e=this;if(!this._parentsComputed){this._parentsComputed=!0;for(var t=[],n=function(n,r){var o=t[t.length-1];return e.getStartLineNumber(o)<=n&&e.getEndLineNumber(o)>=r},r=0,o=this._startIndexes.length;r16777215||s>16777215)throw new Error("startLineNumber or endLineNumber must not exceed 16777215");for(;t.length>0&&!n(i,s);)t.pop();var a=t.length>0?t[t.length-1]:-1;t.push(r),this._startIndexes[r]=i+((255&a)<<24),this._endIndexes[r]=s+((65280&a)<<16)}}},Object.defineProperty(e.prototype,"length",{get:function(){return this._startIndexes.length},enumerable:!0,configurable:!0}),e.prototype.getStartLineNumber=function(e){return 16777215&this._startIndexes[e]},e.prototype.getEndLineNumber=function(e){return 16777215&this._endIndexes[e]},e.prototype.getType=function(e){return this._types?this._types[e]:void 0},e.prototype.hasTypes=function(){return!!this._types},e.prototype.isCollapsed=function(e){var t=e/32|0,n=e%32;return 0!==(this._collapseStates[t]&1<>>24)+((4278190080&this._endIndexes[e])>>>16);return 65535===t?-1:t},e.prototype.contains=function(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t},e.prototype.findIndex=function(e){var t=0,n=this._startIndexes.length;if(0===n)return-1;for(;t=0){if(this.getEndLineNumber(t)>=e)return t;for(t=this.getParentIndex(t);-1!==t;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return-1},e.prototype.toString=function(){for(var e=[],t=0;t=this.endLineNumber},e.prototype.containsLine=function(e){return this.startLineNumber<=e&&e<=this.endLineNumber},e}(),h=function(){function e(e,t){this._updateEventEmitter=new l.a,this._textModel=e,this._decorationProvider=t,this._regions=new d(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}return Object.defineProperty(e.prototype,"regions",{get:function(){return this._regions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._updateEventEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textModel",{get:function(){return this._textModel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isInitialized",{get:function(){return this._isInitialized},enumerable:!0,configurable:!0}),e.prototype.toggleCollapseState=function(e){var t=this;if(e.length){var n={};this._decorationProvider.changeDecorations((function(r){for(var o=0,i=e;o=d))break;o(a,l===d),a++}}u=s()}for(;a0)return e},e.prototype.applyMemento=function(e){if(Array.isArray(e)){for(var t=[],n=0,r=e;n=0;){var i=this._regions.toRegion(r);t&&!t(i,o)||n.push(i),o++,r=i.parentIndex}return n},e.prototype.getRegionAtLine=function(e){if(this._regions){var t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null},e.prototype.getRegionsInside=function(e,t){var n=[],r=e?e.regionIndex+1:0,o=e?e.endLineNumber:Number.MAX_VALUE;if(t&&2===t.length)for(var i=[],s=r,a=this._regions.length;s0&&!u.containedBy(i[i.length-1]);)i.pop();i.push(u),t(u,i.length)&&n.push(u)}else for(s=r,a=this._regions.length;s0)for(var i=0,s=r;i1)){var c=e.getRegionsInside(u,(function(e,r){return e.isCollapsed!==t&&r=0;s--)if(n!==o.isCollapsed(s)){var a=o.getStartLineNumber(s);t.test(r.getLineContent(a))&&i.push(o.toRegion(s))}e.toggleCollapseState(i)}function y(e,t,n){for(var r=e.regions,o=[],i=r.length-1;i>=0;i--)n!==r.isCollapsed(i)&&t===r.getType(i)&&o.push(r.toRegion(i));e.toggleCollapseState(o)}var v=n(24),b=function(){function e(e){this.editor=e,this.autoHideFoldingControls=!0}return e.prototype.getDecorationOption=function(t){return t?e.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?e.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:e.EXPANDED_VISUAL_DECORATION},e.prototype.deltaDecorations=function(e,t){return this.editor.deltaDecorations(e,t)},e.prototype.changeDecorations=function(e){return this.editor.changeDecorations(e)},e.COLLAPSED_VISUAL_DECORATION=v.a.register({stickiness:1,afterContentClassName:"inline-folded",linesDecorationsClassName:"folding collapsed"}),e.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=v.a.register({stickiness:1,linesDecorationsClassName:"folding"}),e.EXPANDED_VISUAL_DECORATION=v.a.register({stickiness:1,linesDecorationsClassName:"folding alwaysShowFoldIcons"}),e}(),_=n(6),w=n(2),x=n(17),C=function(){function e(e){var t=this;this._updateEventEmitter=new l.a,this._foldingModel=e,this._foldingModelListener=e.onDidChange((function(e){return t.updateHiddenRanges()})),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._updateEventEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenRanges",{get:function(){return this._hiddenRanges},enumerable:!0,configurable:!0}),e.prototype.updateHiddenRanges=function(){for(var e=!1,t=[],n=0,r=0,o=Number.MAX_VALUE,i=-1,s=this._foldingModel.regions;n0},e.prototype.isHidden=function(e){return null!==S(this._hiddenRanges,e)},e.prototype.adjustSelections=function(e){for(var t=this,n=!1,r=this._foldingModel.textModel,o=null,i=function(e){return o&&function(e,t){return e>=t.startLineNumber&&e<=t.endLineNumber}(e,o)||(o=S(t._hiddenRanges,e)),o?o.startLineNumber-1:null},s=0,a=e.length;s0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)},e}();function S(e,t){var n=Object(x.h)(e,(function(e){return t=0&&e[n].endLineNumber>=t?e[n]:null}var k=n(32),E=function(){function e(e){this.editorModel=e,this.id="indent"}return e.prototype.dispose=function(){},e.prototype.compute=function(e){var t=k.a.getFoldingRules(this.editorModel.getLanguageIdentifier().id),n=t&&!!t.offSide,r=t&&t.markers;return Promise.resolve(function(e,t,n,r){void 0===r&&(r=5e3);var o=e.getOptions().tabSize,i=new T(r),s=void 0;n&&(s=new RegExp("("+n.start.source+")|(?:"+n.end.source+")"));var a=[];a.push({indent:-1,line:e.getLineCount()+1,marker:!1});for(var u=e.getLineCount();u>0;u--){var c=e.getLineContent(u),l=v.b.computeIndentLevel(c,o),d=a[a.length-1];if(-1!==l){var p=void 0;if(s&&(p=c.match(s))){if(!p[1]){a.push({indent:-2,line:u,marker:!0});continue}for(var h=a.length-1;h>0&&!a[h].marker;)h--;if(h>0){a.length=h+1,d=a[h],i.insertFirst(u,d.line,l),d.marker=!1,d.indent=l,d.line=u;continue}}if(d.indent>l){do{a.pop(),d=a[a.length-1]}while(d.indent>l);var f=d.line-1;f-u>=1&&i.insertFirst(u,f,l)}d.indent===l?d.line=u:a.push({indent:l,line:u,marker:!1})}else t&&!d.marker&&(d.line=u)}return i.toIndentRanges(e)}(this.editorModel,n,r))},e}(),T=function(){function e(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}return e.prototype.insertFirst=function(e,t,n){if(!(e>16777215||t>16777215)){var r=this._length;this._startIndexes[r]=e,this._endIndexes[r]=t,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}},e.prototype.toIndentRanges=function(e){if(this._length<=this._foldingRangesLimit){for(var t=new Uint32Array(this._length),n=new Uint32Array(this._length),r=this._length-1,o=0;r>=0;r--,o++)t[o]=this._startIndexes[r],n[o]=this._endIndexes[r];return new d(t,n)}var i=0,s=this._indentOccurrences.length;for(r=0;rthis._foldingRangesLimit){s=r;break}i+=a}}var u=e.getOptions().tabSize;for(t=new Uint32Array(this._foldingRangesLimit),n=new Uint32Array(this._foldingRangesLimit),r=this._length-1,o=0;r>=0;r--){var c=this._startIndexes[r],l=e.getLineContent(c),p=v.b.computeIndentLevel(l,u);(p0&&u.end>u.start&&u.end<=i&&r.push({start:u.start,end:u.end,rank:o,kind:u.kind})}}}),D.f)}));return Promise.all(o).then((function(e){return r}))}(this.providers,this.editorModel,e).then((function(e){return e?I(e,t.limit):null}))},e.prototype.dispose=function(){},e}();var P=function(){function e(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}return e.prototype.add=function(e,t,n,r){if(!(e>16777215||t>16777215)){var o=this._length;this._startIndexes[o]=e,this._endIndexes[o]=t,this._nestingLevels[o]=r,this._types[o]=n,this._length++,r<30&&(this._nestingLevelCounts[r]=(this._nestingLevelCounts[r]||0)+1)}},e.prototype.toIndentRanges=function(){if(this._length<=this._foldingRangesLimit){for(var e=new Uint32Array(this._length),t=new Uint32Array(this._length),n=0;nthis._foldingRangesLimit){o=n;break}r+=i}}e=new Uint32Array(this._foldingRangesLimit),t=new Uint32Array(this._foldingRangesLimit);for(var s=[],a=(n=0,0);no.start)if(u.end<=o.end)i.push(o),o=u,r.add(u.start,u.end,u.kind&&u.kind.value,i.length);else{if(u.start>o.end){do{o=i.pop()}while(o&&u.start>o.end);o&&i.push(o),o=u}r.add(u.start,u.end,u.kind&&u.kind.value,i.length)}}else o=u,r.add(u.start,u.end,u.kind&&u.kind.value,i.length)}return r.toIndentRanges()}var N=function(){function e(e,t,n,r){if(this.editorModel=e,this.id="init",t.length){this.decorationIds=e.deltaDecorations([],t.map((function(t){return{range:{startLineNumber:t.startLineNumber,startColumn:0,endLineNumber:t.endLineNumber,endColumn:e.getLineLength(t.endLineNumber)},options:{stickiness:1}}}))),this.timeout=setTimeout(n,r)}}return e.prototype.dispose=function(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),"number"===typeof this.timeout&&(clearTimeout(this.timeout),this.timeout=void 0)},e.prototype.compute=function(e){var t=[];if(this.decorationIds)for(var n=0,r=this.decorationIds;n0&&(this.rangeProvider=new L(e,n))}return this.foldingStateMemento=null,this.rangeProvider},e.prototype.getFoldingModel=function(){return this.foldingModelPromise},e.prototype.onModelContentChanged=function(){var e=this;this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger((function(){var t=e.foldingModel;if(!t)return null;var n=e.foldingRegionPromise=Object(s.f)((function(n){return e.getRangeProvider(t.textModel).compute(n)}));return n.then((function(r){if(r&&n===e.foldingRegionPromise){var o=e.editor.getSelections(),i=o?o.map((function(e){return e.startLineNumber})):[];t.update(r,i)}return t}))})).then(void 0,(function(e){return Object(D.e)(e),null})))},e.prototype.onHiddenRangesChanges=function(e){if(this.hiddenRangeModel&&e.length){var t=this.editor.getSelections();t&&this.hiddenRangeModel.adjustSelections(t)&&this.editor.setSelections(t)}this.editor.setHiddenAreas(e)},e.prototype.onCursorPositionChanged=function(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()},e.prototype.revealCursor=function(){var e=this,t=this.getFoldingModel();t&&t.then((function(t){if(t){var n=e.editor.getSelections();if(n&&n.length>0){for(var r=[],o=function(n){var o=n.selectionStartLineNumber;e.hiddenRangeModel&&e.hiddenRangeModel.isHidden(o)&&r.push.apply(r,t.getAllRegionsAtLine(o,(function(e){return e.isCollapsed&&o>e.startLineNumber})))},i=0,s=n;ie.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)},enumerable:!0,configurable:!0}),e.prototype.selectNextColorPresentation=function(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)},e.prototype.guessColorPresentation=function(e,t){for(var n=0;n0;return t&&n}(e)?e:void 0}),(function(e){Object(M.f)(e)}))}));return Promise.all(r).then(j.d)}Object(s.e)("_executeHoverProvider",(function(e,t){return R(e,t,d.a.None)}));var F=n(15),B=function(){function e(e,t,n,r,o){var i=this;this._computer=e,this._state=0,this._hoverTime=o,this._firstWaitScheduler=new F.d((function(){return i._triggerAsyncComputation()}),0),this._secondWaitScheduler=new F.d((function(){return i._triggerSyncComputation()}),0),this._loadingMessageScheduler=new F.d((function(){return i._showLoadingMessage()}),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=t,this._errorCallback=n,this._progressCallback=r}return e.prototype.setHoverTime=function(e){this._hoverTime=e},e.prototype._firstWaitTime=function(){return this._hoverTime/2},e.prototype._secondWaitTime=function(){return this._hoverTime/2},e.prototype._loadingMessageTime=function(){return 3*this._hoverTime},e.prototype._triggerAsyncComputation=function(){var e=this;this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=Object(F.f)((function(t){return e._computer.computeAsync(t)})),this._asyncComputationPromise.then((function(t){e._asyncComputationPromiseDone=!0,e._withAsyncResult(t)}),(function(t){return e._onError(t)}))):this._asyncComputationPromiseDone=!0},e.prototype._triggerSyncComputation=function(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))},e.prototype._showLoadingMessage=function(){3===this._state&&this._onProgress(this._computer.getResultWithLoadingMessage())},e.prototype._withAsyncResult=function(e){e&&this._computer.onResult(e,!1),3===this._state&&(this._state=0,this._onComplete(this._computer.getResult()))},e.prototype._onComplete=function(e){this._completeCallback&&this._completeCallback(e)},e.prototype._onError=function(e){this._errorCallback?this._errorCallback(e):Object(M.e)(e)},e.prototype._onProgress=function(e){this._progressCallback&&this._progressCallback(e)},e.prototype.start=function(e){if(0===e)0===this._state&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}},e.prototype.cancel=function(){this._loadingMessageScheduler.cancel(),1===this._state&&this._firstWaitScheduler.cancel(),2===this._state&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),3===this._state&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0},e}(),W=n(80),V=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),H=function(e){function t(t,n){var r=e.call(this)||this;return r.disposables=[],r.allowEditorOverflow=!0,r._id=t,r._editor=n,r._isVisible=!1,r._containerDomNode=document.createElement("div"),r._containerDomNode.className="monaco-editor-hover hidden",r._containerDomNode.tabIndex=0,r._domNode=document.createElement("div"),r._domNode.className="monaco-editor-hover-content",r.scrollbar=new W.a(r._domNode,{}),r.disposables.push(r.scrollbar),r._containerDomNode.appendChild(r.scrollbar.getDomNode()),r.onkeydown(r._containerDomNode,(function(e){e.equals(9)&&r.hide()})),r._register(r._editor.onDidChangeConfiguration((function(e){e.fontInfo&&r.updateFont()}))),r._editor.onDidLayoutChange((function(e){return r.layout()})),r.layout(),r._editor.addContentWidget(r),r._showAtPosition=null,r._showAtRange=null,r}return V(t,e),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this._isVisible},set:function(e){this._isVisible=e,Object(l.P)(this._containerDomNode,"hidden",!this._isVisible)},enumerable:!0,configurable:!0}),t.prototype.getId=function(){return this._id},t.prototype.getDomNode=function(){return this._containerDomNode},t.prototype.showAt=function(e,t,n){this._showAtPosition=e,this._showAtRange=t,this.isVisible=!0,this._editor.layoutContentWidget(this),this._editor.render(),this._stoleFocus=n,n&&this._containerDomNode.focus()},t.prototype.hide=function(){this.isVisible&&(this.isVisible=!1,this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus())},t.prototype.getPosition=function(){return this.isVisible?{position:this._showAtPosition,range:this._showAtRange,preference:[1,2]}:null},t.prototype.dispose=function(){this._editor.removeContentWidget(this),this.disposables=Object(i.d)(this.disposables),e.prototype.dispose.call(this)},t.prototype.updateFont=function(){var e=this;Array.prototype.slice.call(this._domNode.getElementsByClassName("code")).forEach((function(t){return e._editor.applyFontInfo(t)}))},t.prototype.updateContents=function(e){this._domNode.textContent="",this._domNode.appendChild(e),this.updateFont(),this._editor.layoutContentWidget(this),this.onContentsChange()},t.prototype.onContentsChange=function(){this.scrollbar.scanDomNode()},t.prototype.layout=function(){var e=Math.max(this._editor.getLayoutInfo().height/4,250),t=this._editor.getConfiguration().fontInfo,n=t.fontSize,r=t.lineHeight;this._domNode.style.fontSize=n+"px",this._domNode.style.lineHeight=r+"px",this._domNode.style.maxHeight=e+"px",this._domNode.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px"},t}(C.a),U=function(e){function t(t,n){var r=e.call(this)||this;return r._id=t,r._editor=n,r._isVisible=!1,r._domNode=document.createElement("div"),r._domNode.className="monaco-editor-hover hidden",r._domNode.setAttribute("aria-hidden","true"),r._domNode.setAttribute("role","presentation"),r._showAtLineNumber=-1,r._register(r._editor.onDidChangeConfiguration((function(e){e.fontInfo&&r.updateFont()}))),r._editor.addOverlayWidget(r),r}return V(t,e),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this._isVisible},set:function(e){this._isVisible=e,Object(l.P)(this._domNode,"hidden",!this._isVisible)},enumerable:!0,configurable:!0}),t.prototype.getId=function(){return this._id},t.prototype.getDomNode=function(){return this._domNode},t.prototype.showAt=function(e){this._showAtLineNumber=e,this.isVisible||(this.isVisible=!0);var t=this._editor.getLayoutInfo(),n=this._editor.getTopForLineNumber(this._showAtLineNumber),r=this._editor.getScrollTop(),o=this._editor.getConfiguration().lineHeight,i=n-r-(this._domNode.clientHeight-o)/2;this._domNode.style.left=t.glyphMarginLeft+t.glyphMarginWidth+"px",this._domNode.style.top=Math.max(Math.round(i),0)+"px"},t.prototype.hide=function(){this.isVisible&&(this.isVisible=!1)},t.prototype.getPosition=function(){return null},t.prototype.dispose=function(){this._editor.removeOverlayWidget(this),e.prototype.dispose.call(this)},t.prototype.updateFont=function(){var e=this,t=Array.prototype.slice.call(this._domNode.getElementsByTagName("code")),n=Array.prototype.slice.call(this._domNode.getElementsByClassName("code"));t.concat(n).forEach((function(t){return e._editor.applyFontInfo(t)}))},t.prototype.updateContents=function(e){this._domNode.textContent="",this._domNode.appendChild(e),this.updateFont()},t}(C.a),z=n(128),K=n(40),q=n(54),G=n(71),Y=n(149),$=n(180),X=n(109),J=n(65),Z=n(60),Q=n(20),ee=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),te=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(s,a)}u((r=r.apply(e,t||[])).next())}))},ne=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]this._editor.getModel().getLineCount())return[];var r=v.ColorDetector.get(this._editor),o=t.getLineMaxColumn(n),i=this._editor.getLineDecorations(n),s=!1,u=this._range,c=i.map((function(i){var c=i.range.startLineNumber===n?i.range.startColumn:1,l=i.range.endLineNumber===n?i.range.endColumn:o;if(c>u.startColumn||u.endColumn>l)return null;var d=new a.a(u.startLineNumber,c,u.startLineNumber,l),p=e._markerDecorationsService.getMarker(t,i);if(p)return new ie(d,p);var f=r.getColorData(i.range.getStartPosition());if(!s&&f){s=!0;var g=f.colorInfo,m=g.color,y=g.range;return new oe(y,m,f.provider)}return Object(h.b)(i.options.hoverMessage)?null:{contents:i.options.hoverMessage?Object(j.b)(i.options.hoverMessage):[],range:d}}));return Object(j.d)(c)},e.prototype.onResult=function(e,t){this._result=t?e.concat(this._result.sort((function(e,t){return e instanceof oe?-1:t instanceof oe?1:0}))):this._result.concat(e)},e.prototype.getResult=function(){return this._result.slice(0)},e.prototype.getResultWithLoadingMessage=function(){return this._result.slice(0).concat([this._getLoadingMessage()])},e.prototype._getLoadingMessage=function(){return{range:Object(Q.l)(this._range),contents:[(new h.a).appendText(r.a("modesContentHover.loading","Loading..."))]}},e}(),ae=function(e){function t(n,r,o,s,a,u,c,d,p){void 0===p&&(p=G.b);var h=e.call(this,t.ID,n)||this;return h._themeService=o,h._keybindingService=s,h._contextMenuService=a,h._bulkEditService=u,h._commandService=c,h._modeService=d,h._openerService=p,h.renderDisposable=i.a.None,h._messages=[],h._lastRange=null,h._computer=new se(h._editor,r),h._highlightDecorations=[],h._isChangingDecorations=!1,h._hoverOperation=new B(h._computer,(function(e){return h._withResult(e,!0)}),null,(function(e){return h._withResult(e,!1)}),h._editor.getConfiguration().contribInfo.hover.delay),h._register(l.k(h.getDomNode(),l.d.FOCUS,(function(){h._colorPicker&&l.f(h.getDomNode(),"colorpicker-hover")}))),h._register(l.k(h.getDomNode(),l.d.BLUR,(function(){l.G(h.getDomNode(),"colorpicker-hover")}))),h._register(n.onDidChangeConfiguration((function(e){h._hoverOperation.setHoverTime(h._editor.getConfiguration().contribInfo.hover.delay)}))),h}return ee(t,e),t.prototype.dispose=function(){this.renderDisposable.dispose(),this.renderDisposable=i.a.None,this._hoverOperation.cancel(),e.prototype.dispose.call(this)},t.prototype.onModelDecorationsChanged=function(){this._isChangingDecorations||this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))},t.prototype.startShowingAt=function(e,t,n){if(!this._lastRange||!this._lastRange.equalsRange(e)){if(this._hoverOperation.cancel(),this.isVisible)if(this._showAtPosition&&this._showAtPosition.lineNumber===e.startLineNumber){for(var r=[],o=0,i=this._messages.length;o=e.endColumn&&r.push(s)}if(r.length>0){if(function(e,t){if(!e&&t||e&&!t||e.length!==t.length)return!1;for(var n=0;n0?this._renderMessages(this._lastRange,this._messages):t&&this.hide()},t.prototype._renderMessages=function(e,n){var r=this;this.renderDisposable.dispose(),this._colorPicker=null;var o=Number.MAX_VALUE,s=n[0].range?a.a.lift(n[0].range):null,u=document.createDocumentFragment(),c=!0,g=!1,m=[],v=[];if(n.forEach((function(e){if(e.range)if(o=Math.min(o,e.range.startColumn),s=s?a.a.plusRange(s,e.range):a.a.lift(e.range),e instanceof oe){g=!0;var t=e.color,n=t.red,f=t.green,b=t.blue,w=t.alpha,x=new p.c(255*n,255*f,255*b,w),C=new p.a(x);if(!r._editor.hasModel())return;var S=r._editor.getModel(),k=new a.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn),E={range:e.range,color:e.color},T=new _(C,[],0),O=new N(u,T,r._editor.getConfiguration().pixelRatio,r._themeService);Object(y.a)(S,E,e.provider,d.a.None).then((function(t){if(T.colorPresentations=t||[],r._editor.hasModel()){var n=r._editor.getModel().getValueInRange(e.range);T.guessColorPresentation(C,n);var o=function(){var e,t;T.presentation.textEdit?(e=[T.presentation.textEdit],t=(t=new a.a(T.presentation.textEdit.range.startLineNumber,T.presentation.textEdit.range.startColumn,T.presentation.textEdit.range.endLineNumber,T.presentation.textEdit.range.endColumn)).setEndPosition(t.endLineNumber,t.startColumn+T.presentation.textEdit.text.length)):(e=[{identifier:null,range:k,text:T.presentation.label,forceMoveMarkers:!1}],t=k.setEndPosition(k.endLineNumber,k.startColumn+T.presentation.label.length)),r._editor.pushUndoStop(),r._editor.executeEdits("colorpicker",e),T.presentation.additionalTextEdits&&(e=T.presentation.additionalTextEdits.slice(),r._editor.executeEdits("colorpicker",e),r.hide()),r._editor.pushUndoStop(),k=t},s=function(t){return Object(y.a)(S,{range:k,color:{red:t.rgba.r/255,green:t.rgba.g/255,blue:t.rgba.b/255,alpha:t.rgba.a}},e.provider,d.a.None).then((function(e){T.colorPresentations=e||[]}))},c=T.onColorFlushed((function(e){s(e).then(o)})),l=T.onDidChangeColor(s);r._colorPicker=O,r.showAt(k.getStartPosition(),k,r._shouldFocus),r.updateContents(u),r._colorPicker.layout(),r.renderDisposable=Object(i.c)([c,l,O].concat(m))}}))}else e instanceof ie?(v.push(e),c=!1):e.contents.filter((function(e){return!Object(h.b)(e)})).forEach((function(e){var t=re("div.hover-row.markdown-hover"),n=l.m(t,re("div.hover-contents")),o=new z.a(r._editor,r._modeService,r._openerService);m.push(o.onDidRenderCodeBlock((function(){n.className="hover-contents code-hover-contents",r.onContentsChange()})));var i=o.render(e);n.appendChild(i.element),u.appendChild(t),m.push(i),c=!1}))})),v.length){v.forEach((function(e){return u.appendChild(r.renderMarkerHover(e))}));var b=1===v.length?v[0]:v.sort((function(e,t){return K.c.compare(e.marker.severity,t.marker.severity)}))[0];u.appendChild(this.renderMarkerStatusbar(b))}g||c||(this.showAt(new f.a(e.startLineNumber,o),s,this._shouldFocus),this.updateContents(u)),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,s?[{range:s,options:t._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1},t.prototype.renderMarkerHover=function(e){var t=this,n=re("div.hover-row"),r=l.m(n,re("div.marker.hover-contents")),o=e.marker,i=o.source,s=o.message,a=o.code,u=o.relatedInformation;this._editor.applyFontInfo(r);var c=l.m(r,re("span"));if(c.style.whiteSpace="pre-wrap",c.innerText=s,i||a){var d=l.m(r,re("span"));d.style.opacity="0.6",d.style.paddingLeft="6px",d.innerText=i&&a?i+"("+a+")":i||"("+a+")"}if(Object(j.n)(u))for(var p=function(e,n,o,i){var s=l.m(r,re("div"));s.style.marginTop="8px";var a=l.m(s,re("a"));a.innerText=Object(q.b)(n)+"("+o+", "+i+"): ",a.style.cursor="pointer",a.onclick=function(e){e.stopPropagation(),e.preventDefault(),t._openerService&&t._openerService.open(n.with({fragment:o+","+i})).catch(M.e)};var u=l.m(s,re("span"));u.innerText=e,h._editor.applyFontInfo(u)},h=this,f=0,g=u;f0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()},t.prototype._renderMessages=function(e,t){var n=this;Object(i.d)(this._renderDisposeables),this._renderDisposeables=[];var r=document.createDocumentFragment();t.forEach((function(e){var t=n._markdownRenderer.render(e.value);n._renderDisposeables.push(t),r.appendChild(Object(l.a)("div.hover-row",void 0,t.element))})),this.updateContents(r),this.showAt(e)},t.ID="editor.contrib.modesGlyphHoverWidget",t}(U),de=n(184),pe=n(49),he=n(72),fe=n(125),ge=n(31),me=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ye=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},ve=function(e,t){return function(n,r){t(n,r,e)}},be=function(){function e(e,t,n,r,o,i,s,a,u){var c=this;this._editor=e,this._openerService=t,this._modeService=n,this._markerDecorationsService=r,this._keybindingService=o,this._contextMenuService=i,this._bulkEditService=s,this._commandService=a,this._themeService=u,this._toUnhook=[],this._isMouseDown=!1,this._hoverClicked=!1,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration((function(e){e.contribInfo&&(c._hideWidgets(),c._unhookEvents(),c._hookEvents())}))}return Object.defineProperty(e.prototype,"contentWidget",{get:function(){return this._contentWidget||this._createHoverWidget(),this._contentWidget},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"glyphWidget",{get:function(){return this._glyphWidget||this._createHoverWidget(),this._glyphWidget},enumerable:!0,configurable:!0}),e.get=function(t){return t.getContribution(e.ID)},e.prototype._hookEvents=function(){var e=this,t=function(){return e._hideWidgets()},n=this._editor.getConfiguration().contribInfo.hover;this._isHoverEnabled=n.enabled,this._isHoverSticky=n.sticky,this._isHoverEnabled?(this._toUnhook.push(this._editor.onMouseDown((function(t){return e._onEditorMouseDown(t)}))),this._toUnhook.push(this._editor.onMouseUp((function(t){return e._onEditorMouseUp(t)}))),this._toUnhook.push(this._editor.onMouseMove((function(t){return e._onEditorMouseMove(t)}))),this._toUnhook.push(this._editor.onKeyDown((function(t){return e._onKeyDown(t)}))),this._toUnhook.push(this._editor.onDidChangeModelDecorations((function(){return e._onModelDecorationsChanged()})))):this._toUnhook.push(this._editor.onMouseMove(t)),this._toUnhook.push(this._editor.onMouseLeave(t)),this._toUnhook.push(this._editor.onDidChangeModel(t)),this._toUnhook.push(this._editor.onDidScrollChange((function(t){return e._onEditorScrollChanged(t)})))},e.prototype._unhookEvents=function(){this._toUnhook=Object(i.d)(this._toUnhook)},e.prototype._onModelDecorationsChanged=function(){this.contentWidget.onModelDecorationsChanged(),this.glyphWidget.onModelDecorationsChanged()},e.prototype._onEditorScrollChanged=function(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()},e.prototype._onEditorMouseDown=function(e){this._isMouseDown=!0;var t=e.target.type;9!==t||e.target.detail!==ae.ID?12===t&&e.target.detail===le.ID||(12!==t&&e.target.detail!==le.ID&&(this._hoverClicked=!1),this._hideWidgets()):this._hoverClicked=!0},e.prototype._onEditorMouseUp=function(e){this._isMouseDown=!1},e.prototype._onEditorMouseMove=function(e){var t=e.target.type;if(!(this._isMouseDown&&this._hoverClicked&&this.contentWidget.isColorPickerVisible())&&(!this._isHoverSticky||9!==t||e.target.detail!==ae.ID)&&(!this._isHoverSticky||12!==t||e.target.detail!==le.ID)){if(7===t){var n=this._editor.getConfiguration().fontInfo.typicalHalfwidthCharacterWidth/2,r=e.target.detail;r&&!r.isAfterLines&&"number"===typeof r.horizontalDistanceToText&&r.horizontalDistanceToText=0;n--)t[n].lineNumber===t[n+1].lineNumber&&t.splice(n,1);for(var r=[],o=0,i=0,s=t.length,a=1,d=e.getLineCount();a<=d;a++){var p=e.getLineContent(a),h=p.length+1,f=0;if(!(i=r.startLineNumber+1&&t<=r.endLineNumber+1?e.getLineContent(t-1):e.getLineContent(t)};var k=b.a.getGoodIndentForLine(d,e.getLanguageIdAtPosition(g,1),r.startLineNumber+1,c);if(null!==k){S=u.q(e.getLineContent(r.startLineNumber));if((D=_(k,i))!==(A=_(S,i))){var E=D-A;this.getIndentEditsOfMovingBlock(e,t,r,i,a,E)}}}}else t.addEditOperation(new l.a(r.startLineNumber,1,r.startLineNumber,1),y+"\n")}else{var T;if(g=r.startLineNumber-1,m=e.getLineContent(g),t.addEditOperation(new l.a(g,1,g+1,1),null),t.addEditOperation(new l.a(r.endLineNumber,e.getLineMaxColumn(r.endLineNumber),r.endLineNumber,e.getLineMaxColumn(r.endLineNumber)),"\n"+m),this.shouldAutoIndent(e,r))if(d.getLineContent=function(t){return t===g?e.getLineContent(r.startLineNumber):e.getLineContent(t)},null!==(T=this.matchEnterRule(e,c,i,r.startLineNumber,r.startLineNumber-2)))0!==T&&this.getIndentEditsOfMovingBlock(e,t,r,i,a,T);else{var O=b.a.getGoodIndentForLine(d,e.getLanguageIdAtPosition(r.startLineNumber,1),g,c);if(null!==O){var D,A,L=u.q(e.getLineContent(r.startLineNumber));if((D=_(O,i))!==(A=_(L,i))){E=D-A;this.getIndentEditsOfMovingBlock(e,t,r,i,a,E)}}}}}this._selectionId=t.trackSelection(r)}},e.prototype.buildIndentConverter=function(e,t,n){return{shiftIndent:function(r){return y.a.shiftIndent(r,r.length+1,e,t,n)},unshiftIndent:function(r){return y.a.unshiftIndent(r,r.length+1,e,t,n)}}},e.prototype.matchEnterRule=function(e,t,n,r,o,i){for(var s=o;s>=1;){var a=void 0;if(a=s===o&&void 0!==i?i:e.getLineContent(s),u.y(a)>=0)break;s--}if(s<1||r>e.getLineCount())return null;var c=e.getLineMaxColumn(s),d=b.a.getEnterAction(e,new l.a(s,c,s,c));if(d){var p=d.indentation,h=d.enterAction;h.indentAction===v.a.None||h.indentAction===v.a.Indent?p=d.indentation+h.appendText:h.indentAction===v.a.IndentOutdent?p=d.indentation:h.indentAction===v.a.Outdent&&(p=t.unshiftIndent(d.indentation)+h.appendText);var f=e.getLineContent(r);if(this.trimLeft(f).indexOf(this.trimLeft(p))>=0){var g=u.q(e.getLineContent(r)),m=u.q(p),y=b.a.getIndentMetadata(e,r);return null!==y&&2&y&&(m=t.unshiftIndent(m)),_(m,n)-_(g,n)}}return null},e.prototype.trimLeft=function(e){return e.replace(/^\s+/,"")},e.prototype.shouldAutoIndent=function(e,t){if(!this._autoIndent)return!1;if(!e.isCheapToTokenize(t.startLineNumber))return!1;var n=e.getLanguageIdAtPosition(t.startLineNumber,1);return n===e.getLanguageIdAtPosition(t.endLineNumber,1)&&null!==b.a.getIndentRulesSupport(n)},e.prototype.getIndentEditsOfMovingBlock=function(e,t,n,r,o,i){for(var s=n.startLineNumber;s<=n.endLineNumber;s++){var a=e.getLineContent(s),c=u.q(a),d=w(_(c,r)+i,r,o);d!==c&&(t.addEditOperation(new l.a(s,1,s,c.length+1),d),s===n.endLineNumber&&n.endColumn<=c.length+1&&""===d&&(this._moveEndLineSelectionShrink=!0))}},e.prototype.computeCursorState=function(e,t){var n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&n.startLineNumber=o)return null;for(var i=[],s=r;s<=o;s++)i.push(e.getLineContent(s));var a=i.slice(0);return a.sort((function(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())})),!0===n&&(a=a.reverse()),{startLineNumber:r,endLineNumber:o,before:i,after:a}}var k=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(e){function t(t,n){var r=e.call(this,n)||this;return r.down=t,r}return k(t,e),t.prototype.run=function(e,t){for(var n=[],r=0,o=t.getSelections()||[];r1&&(d-=1,h=r.getLineMaxColumn(d)),i.push(c.a.replace(new f.a(d,h,p,g),"")),s.push(new f.a(d-o,l.positionColumn,d-o,l.positionColumn)),o+=l.endLineNumber-l.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,i,s),t.pushUndoStop()}}},t.prototype._getLinesToRemove=function(e){var t=e.getSelections().map((function(e){var t=e.endLineNumber;return e.startLineNumber=t[o].startLineNumber?r.endLineNumber=t[o].endLineNumber:(n.push(r),r=t[o]);return n.push(r),n},t}(s.b),R=function(e){function t(){return e.call(this,{id:"editor.action.indentLines",label:r.a("lines.indent","Indent Line"),alias:"Indent Line",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:2137,weight:100}})||this}return k(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,p.a.indent(n.context.config,t.getModel(),t.getSelections())),t.pushUndoStop())},t}(s.b),F=function(e){function t(){return e.call(this,{id:"editor.action.outdentLines",label:r.a("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:2135,weight:100}})||this}return k(t,e),t.prototype.run=function(e,t){i.CoreEditingCommands.Outdent.runEditorCommand(e,t,null)},t}(s.b),B=function(e){function t(){return e.call(this,{id:"editor.action.insertLineBefore",label:r.a("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:3075,weight:100}})||this}return k(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,p.a.lineInsertBefore(n.context.config,t.getModel(),t.getSelections())))},t}(s.b),W=function(e){function t(){return e.call(this,{id:"editor.action.insertLineAfter",label:r.a("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:2051,weight:100}})||this}return k(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,p.a.lineInsertAfter(n.context.config,t.getModel(),t.getSelections())))},t}(s.b),V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return k(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=t.getSelection(),r=this._getRangesToDelete(t),o=[],i=0,s=r.length-1;i0){var s=t.startLineNumber-o;i=new f.a(s,t.startColumn,s,t.startColumn)}else i=new f.a(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn);o+=t.endLineNumber-t.startLineNumber,t.intersectRanges(e)?n=i:r.push(i)})),n&&r.unshift(n),r},t.prototype._getRangesToDelete=function(e){var t=e.getSelections();if(null===t)return[];var n=t,r=e.getModel();return null===r?[]:(n.sort(l.a.compareRangesUsingStarts),n=n.map((function(e){if(e.isEmpty()){if(1===e.startColumn){var t=Math.max(1,e.startLineNumber-1),n=1===e.startLineNumber?1:r.getLineContent(t).length+1;return new l.a(t,n,e.startLineNumber,1)}return new l.a(e.startLineNumber,1,e.startLineNumber,e.startColumn)}return e})))},t}(V),U=function(e){function t(){return e.call(this,{id:"deleteAllRight",label:r.a("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:g.a.writable,kbOpts:{kbExpr:g.a.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})||this}return k(t,e),t.prototype._getEndCursorState=function(e,t){for(var n=null,r=[],o=0,i=t.length;oe.endLineNumber+1?(o.push(e),t):new f.a(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn):t.startLineNumber>e.endLineNumber?(o.push(e),t):new f.a(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn)}));o.push(i);var s=t.getModel();if(null!==s){for(var a=[],u=[],d=r,p=0,h=0,g=o.length;h=1){var T=!0;""===C&&(T=!1),!T||" "!==C.charAt(C.length-1)&&"\t"!==C.charAt(C.length-1)||(T=!1,C=C.replace(/[\s\uFEFF\xA0]+$/g," "));var O=k.substr(E-1);C+=(T?" ":"")+O,v=T?O.length+1:O.length}else v=0}var D=new l.a(y,1,b,_);if(!D.isEmpty()){var A=void 0;m.isEmpty()?(a.push(c.a.replace(D,C)),A=new f.a(D.startLineNumber-p,C.length-v+1,y-p,C.length-v+1)):m.startLineNumber===m.endLineNumber?(a.push(c.a.replace(D,C)),A=new f.a(m.startLineNumber-p,m.startColumn,m.endLineNumber-p,m.endColumn)):(a.push(c.a.replace(D,C)),A=new f.a(m.startLineNumber-p,m.startColumn,m.startLineNumber-p,C.length-w)),null!==l.a.intersectRanges(D,r)?d=A:u.push(A)}p+=D.endLineNumber-D.startLineNumber}u.unshift(d),t.pushUndoStop(),t.executeEdits(this.id,a,u),t.pushUndoStop()}}}},t}(s.b),K=function(e){function t(){return e.call(this,{id:"editor.action.transpose",label:r.a("editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:g.a.writable})||this}return k(t,e),t.prototype.run=function(e,t){var n=t.getSelections();if(null!==n){var r=t.getModel();if(null!==r){for(var o=[],i=0,s=n.length;i=d){if(c.lineNumber===r.getLineCount())continue;var p=new l.a(c.lineNumber,Math.max(1,c.column-1),c.lineNumber+1,1),h=r.getValueInRange(p).split("").reverse().join("");o.push(new a.a(new f.a(c.lineNumber,Math.max(1,c.column-1),c.lineNumber+1,1),h))}else{p=new l.a(c.lineNumber,Math.max(1,c.column-1),c.lineNumber,c.column+1),h=r.getValueInRange(p).split("").reverse().join("");o.push(new a.b(p,h,new f.a(c.lineNumber,c.column+1,c.lineNumber,c.column+1)))}}}t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}},t}(s.b),q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return k(t,e),t.prototype.run=function(e,t){var n=t.getSelections();if(null!==n){var r=t.getModel();if(null!==r){for(var o=t.getConfiguration().wordSeparators,i=[],s=0,u=n.length;s=0?(o=!0,r+=s):o?(o=!1,r+=s.toLocaleUpperCase()):r+=s.toLocaleLowerCase()}return r},t}(q);Object(s.f)(T),Object(s.f)(O),Object(s.f)(A),Object(s.f)(L),Object(s.f)(I),Object(s.f)(N),Object(s.f)(j),Object(s.f)(M),Object(s.f)(R),Object(s.f)(F),Object(s.f)(B),Object(s.f)(W),Object(s.f)(H),Object(s.f)(U),Object(s.f)(z),Object(s.f)(K),Object(s.f)(G),Object(s.f)(Y),Object(s.f)($)},function(e,t,n){"use strict";n.r(t);var r=n(17),o=n(26),i=n(37),s=n(4),a=n(3),u=n(35),c=n(87),l=n(2),d=n(6),p=n(10),h=n(73),f=n(53),g=n(12),m=n(27),y=n(75),v=n(95),b=n(9),_=n(21),w=n(56),x=n(52),C=function(){function e(){}return e._handleEolEdits=function(e,t){for(var n=void 0,r=[],o=0,i=t;o0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},H=function(e,t){return function(n,r){t(n,r,e)}},U=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(s,a)}u((r=r.apply(e,t||[])).next())}))},z=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1)){var n=this._editor.getModel(),o=this._editor.getPosition(),i=!1,s=this._editor.onDidChangeModelContent((function(e){if(e.isFlush)return i=!0,void s.dispose();for(var t=0,n=e.changes.length;t1||this._instantiationService.invokeFunction(I,this.editor,e,2,o.a.None).catch(g.e))},e.ID="editor.contrib.formatOnPaste",e=V([H(1,E.a)],e)}(),G=function(e){function t(){return e.call(this,{id:"editor.action.formatDocument",label:S.a("formatDocument.label","Format Document"),alias:"Format Document",precondition:B.d.and(d.a.writable,d.a.hasDocumentFormattingProvider),kbOpts:{kbExpr:B.d.and(d.a.editorTextFocus,d.a.hasDocumentFormattingProvider),primary:1572,linux:{primary:3111},weight:100},menuOpts:{when:d.a.hasDocumentFormattingProvider,group:"1_modification",order:1.3}})||this}return W(t,e),t.prototype.run=function(e,t){return U(this,void 0,void 0,(function(){return z(this,(function(n){switch(n.label){case 0:return t.hasModel()?[4,e.get(E.a).invokeFunction(j,t,1,o.a.None)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))},t}(a.b),Y=function(e){function t(){return e.call(this,{id:"editor.action.formatSelection",label:S.a("formatSelection.label","Format Selection"),alias:"Format Code",precondition:B.d.and(d.a.writable,d.a.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:B.d.and(d.a.editorTextFocus,d.a.hasDocumentSelectionFormattingProvider),primary:Object(i.a)(2089,2084),weight:100},menuOpts:{when:B.d.and(d.a.hasDocumentSelectionFormattingProvider,d.a.hasNonEmptySelection),group:"1_modification",order:1.31}})||this}return W(t,e),t.prototype.run=function(e,t){return U(this,void 0,void 0,(function(){var n,r,i;return z(this,(function(s){switch(s.label){case 0:return t.hasModel()?(n=e.get(E.a),r=t.getModel(),(i=t.getSelection()).isEmpty()&&(i=new l.a(i.startLineNumber,1,i.startLineNumber,r.getLineMaxColumn(i.startLineNumber))),[4,n.invokeFunction(I,t,i,1,o.a.None)]):[2];case 1:return s.sent(),[2]}}))}))},t}(a.b);Object(a.h)(K),Object(a.h)(q),Object(a.f)(G),Object(a.f)(Y),F.a.registerCommand("editor.action.format",(function(e){return U(void 0,void 0,void 0,(function(){var t,n;return z(this,(function(r){switch(r.label){case 0:return(t=e.get(u.a).getFocusedCodeEditor())&&t.hasModel()?(n=e.get(F.b),t.getSelection().isEmpty()?[4,n.executeCommand("editor.action.formatDocument")]:[3,2]):[2];case 1:return r.sent(),[3,4];case 2:return[4,n.executeCommand("editor.action.formatSelection")];case 3:r.sent(),r.label=4;case 4:return[2]}}))}))}))},function(e,t,n){"use strict";n.r(t),n.d(t,"TriggerParameterHintsAction",(function(){return F}));var r=n(0),o=n(4),i=n(19),s=n(6),a=n(11),u=n(3),c=n(1),l=n(33),d=n(53),p=n(80),h=n(5),f=(n(393),n(86)),g=n(128),m=n(15),y=n(12),v=n(10),b=n(26),_={Visible:new a.f("parameterHintsVisible",!1),MultipleSignatures:new a.f("parameterHintsMultipleSignatures",!1)};function w(e,t,n,r){var o=v.v.ordered(e);return Object(m.h)(o.map((function(o){return function(){return Promise.resolve(o.provideSignatureHelp(e,t,r,n)).catch(y.f)}})))}Object(u.e)("_executeSignatureHelpProvider",(function(e,t,n){return w(e,t,{triggerKind:v.w.Invoke,isRetrigger:!1,triggerCharacter:n.triggerCharacter},b.a.None)}));var x,C=n(71),S=n(8),k=n(18),E=n(87),T=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(){return(O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},L=function(e,t){return function(n,r){t(n,r,e)}},P=c.a,I=function(){function e(e,t,n,r){var o=this;this.editor=e,this.allowEditorOverflow=!0,this.markdownRenderer=new g.a(e,r,n),this.model=new D(e),this.keyVisible=_.Visible.bindTo(t),this.keyMultipleSignatures=_.MultipleSignatures.bindTo(t),this.visible=!1,this.disposables=[],this.disposables.push(this.model.onChangedHints((function(e){e?(o.show(),o.render(e)):o.hide()})))}return e.prototype.createParamaterHintDOMNodes=function(){var e=this;this.element=P(".editor-widget.parameter-hints-widget");var t=c.m(this.element,P(".wrapper"));t.tabIndex=-1;var n=c.m(t,P(".buttons")),r=c.m(n,P(".button.previous")),o=c.m(n,P(".button.next"));Object(l.b)(Object(l.a)(r,"click"))(this.previous,this,this.disposables),Object(l.b)(Object(l.a)(o,"click"))(this.next,this,this.disposables),this.overloads=c.m(t,P(".overloads"));var i=P(".body");this.scrollbar=new p.a(i,{}),this.disposables.push(this.scrollbar),t.appendChild(this.scrollbar.getDomNode()),this.signature=c.m(i,P(".signature")),this.docs=c.m(i,P(".docs")),this.editor.addContentWidget(this),this.hide(),this.element.style.userSelect="text",this.disposables.push(this.editor.onDidChangeCursorSelection((function(t){e.visible&&e.editor.layoutContentWidget(e)})));var s=function(){var t=e.editor.getConfiguration().fontInfo;e.element.style.fontSize=t.fontSize+"px"};s(),h.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter((function(e){return e.fontInfo})).on(s,null,this.disposables),this.disposables.push(this.editor.onDidLayoutChange((function(t){return e.updateMaxHeight()}))),this.updateMaxHeight()},e.prototype.show=function(){var e=this;this.model&&!this.visible&&(this.element||this.createParamaterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout((function(){return c.f(e.element,"visible")}),100),this.editor.layoutContentWidget(this))},e.prototype.hide=function(){this.model&&this.visible&&(this.element||this.createParamaterHintDOMNodes(),this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,c.G(this.element,"visible"),this.editor.layoutContentWidget(this))},e.prototype.getPosition=function(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null},e.prototype.render=function(e){var t=e.signatures.length>1;c.P(this.element,"multiple",t),this.keyMultipleSignatures.set(t),this.signature.innerHTML="",this.docs.innerHTML="";var n=e.signatures[e.activeSignature];if(n){var i=c.m(this.signature,P(".code")),s=n.parameters.length>0,a=this.editor.getConfiguration().fontInfo;if(i.style.fontSize=a.fontSize+"px",i.style.fontFamily=a.fontFamily,s)this.renderParameters(i,n,e.activeParameter);else c.m(i,P("span")).textContent=n.label;Object(o.d)(this.renderDisposeables),this.renderDisposeables=[];var u=n.parameters[e.activeParameter];if(u&&u.documentation){var l=P("span.documentation");if("string"===typeof u.documentation)l.textContent=u.documentation;else{var p=this.markdownRenderer.render(u.documentation);c.f(p.element,"markdown-docs"),this.renderDisposeables.push(p),l.appendChild(p.element)}c.m(this.docs,P("p",{},l))}if(c.P(this.signature,"has-docs",!!n.documentation),void 0===n.documentation);else if("string"===typeof n.documentation)c.m(this.docs,P("p",{},n.documentation));else{p=this.markdownRenderer.render(n.documentation);c.f(p.element,"markdown-docs"),this.renderDisposeables.push(p),c.m(this.docs,p.element)}var h=String(e.activeSignature+1);if(e.signatures.length<10&&(h+="/"+e.signatures.length),this.overloads.textContent=h,u){var f=this.getParameterLabel(n,e.activeParameter);this.announcedLabel!==f&&(d.a(r.a("hint","{0}, hint",f)),this.announcedLabel=f)}this.editor.layoutContentWidget(this),this.scrollbar.scanDomNode()}},e.prototype.renderParameters=function(e,t,n){var r=this.getParameterLabelOffsets(t,n),o=r[0],i=r[1],s=document.createElement("span");s.textContent=t.label.substring(0,o);var a=document.createElement("span");a.textContent=t.label.substring(o,i),a.className="parameter active";var u=document.createElement("span");u.textContent=t.label.substring(i),c.m(e,s,a,u)},e.prototype.getParameterLabel=function(e,t){var n=e.parameters[t];return"string"===typeof n.label?n.label:e.label.substring(n.label[0],n.label[1])},e.prototype.getParameterLabelOffsets=function(e,t){var n=e.parameters[t];if(n){if(Array.isArray(n.label))return n.label;var r=e.label.lastIndexOf(n.label);return r>=0?[r,r+n.label.length]:[0,0]}return[0,0]},e.prototype.next=function(){this.model&&(this.editor.focus(),this.model.next())},e.prototype.previous=function(){this.model&&(this.editor.focus(),this.model.previous())},e.prototype.cancel=function(){this.model&&this.model.cancel()},e.prototype.getDomNode=function(){return this.element},e.prototype.getId=function(){return e.ID},e.prototype.trigger=function(e){this.model&&this.model.trigger(e,0)},e.prototype.updateMaxHeight=function(){var e=Math.max(this.editor.getLayoutInfo().height/4,250);this.element.style.maxHeight=e+"px"},e.prototype.dispose=function(){this.disposables=Object(o.d)(this.disposables),this.renderDisposeables=Object(o.d)(this.renderDisposeables),this.model&&(this.model.dispose(),this.model=null)},e.ID="editor.widget.parameterHintsWidget",e=A([L(1,a.e),L(2,C.a),L(3,f.a)],e)}();Object(k.e)((function(e,t){var n=e.getColor(S.x);if(n){var r=e.type===k.b?2:1;t.addRule(".monaco-editor .parameter-hints-widget { border: "+r+"px solid "+n+"; }"),t.addRule(".monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid "+n.transparent(.5)+"; }"),t.addRule(".monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid "+n.transparent(.5)+"; }")}var o=e.getColor(S.w);o&&t.addRule(".monaco-editor .parameter-hints-widget { background-color: "+o+"; }");var i=e.getColor(S.Jb);i&&t.addRule(".monaco-editor .parameter-hints-widget a { color: "+i+"; }");var s=e.getColor(S.Ib);s&&t.addRule(".monaco-editor .parameter-hints-widget code { background-color: "+s+"; }")}));var N=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),j=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},M=function(e,t){return function(n,r){t(n,r,e)}},R=function(){function e(e,t){this.editor=e,this.widget=t.createInstance(I,this.editor)}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.getId=function(){return e.ID},e.prototype.cancel=function(){this.widget.cancel()},e.prototype.previous=function(){this.widget.previous()},e.prototype.next=function(){this.widget.next()},e.prototype.trigger=function(e){this.widget.trigger(e)},e.prototype.dispose=function(){Object(o.d)(this.widget)},e.ID="editor.controller.parameterHints",e=j([M(1,i.a)],e)}(),F=function(e){function t(){return e.call(this,{id:"editor.action.triggerParameterHints",label:r.a("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:s.a.hasSignatureHelpProvider,kbOpts:{kbExpr:s.a.editorTextFocus,primary:3082,weight:100}})||this}return N(t,e),t.prototype.run=function(e,t){var n=R.get(t);n&&n.trigger({triggerKind:v.w.Invoke})},t}(u.b);Object(u.h)(R),Object(u.f)(F);var B=u.c.bindToContribution(R.get);Object(u.g)(new B({id:"closeParameterHints",precondition:_.Visible,handler:function(e){return e.cancel()},kbOpts:{weight:175,kbExpr:s.a.focus,primary:9,secondary:[1033]}})),Object(u.g)(new B({id:"showPrevParameterHint",precondition:a.d.and(_.Visible,_.MultipleSignatures),handler:function(e){return e.previous()},kbOpts:{weight:175,kbExpr:s.a.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),Object(u.g)(new B({id:"showNextParameterHint",precondition:a.d.and(_.Visible,_.MultipleSignatures),handler:function(e){return e.next()},kbOpts:{weight:175,kbExpr:s.a.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}))},function(e,t,n){"use strict";n.r(t),n.d(t,"CodeLensContribution",(function(){return A}));var r=n(15),o=n(12),i=n(4),s=n(75),a=n(3),u=n(10),c=n(17),l=n(26),d=n(27),p=n(56);function h(e,t){var n=[],r=u.b.ordered(e),i=r.map((function(r){return Promise.resolve(r.provideCodeLenses(e,t)).then((function(e){if(Array.isArray(e))for(var t=0,o=e;tt.symbol.range.startLineNumber?1:r.indexOf(e.provider)r.indexOf(t.provider)?1:e.symbol.range.startColumnt.symbol.range.startColumn?1:0}))}))}Object(a.j)("_executeCodeLensProvider",(function(e,t){var n=t.resource,r=t.itemResolveCount;if(!(n instanceof d.a))throw Object(o.b)();var i=e.get(p.a).getModel(n);if(!i)throw Object(o.b)();var s=[];return h(i,l.a.None).then((function(e){for(var t=[],n=function(e){"undefined"===typeof r||Boolean(e.symbol.command)?s.push(e.symbol):r-- >0&&e.provider.resolveCodeLens&&t.push(Promise.resolve(e.provider.resolveCodeLens(i,e.symbol,l.a.None)).then((function(t){return s.push(t||e.symbol)})))},o=0,a=e;ono commands";else{for(var r=[],o=0;o"+s+"",this._commands.set(String(o),i)):a=""+s+"",r.push(a)}}var u=""===this._domNode.innerHTML||" "===this._domNode.innerHTML;this._domNode.innerHTML=r.join(" | "),this._editor.layoutContentWidget(this),u&&t&&f.f(this._domNode,"fadein")}},e.prototype.getCommand=function(e){return e.parentElement===this._domNode?this._commands.get(e.id):void 0},e.prototype.getId=function(){return this._id},e.prototype.getDomNode=function(){return this._domNode},e.prototype.setSymbolRange=function(e){if(this._editor.hasModel()){var t=e.startLineNumber,n=this._editor.getModel().getLineFirstNonWhitespaceColumn(t);this._widgetPosition={position:{lineNumber:t,column:n},preference:[1]}}},e.prototype.getPosition=function(){return this._widgetPosition},e.prototype.isVisible=function(){return this._domNode.hasAttribute("monaco-visible-content-widget")},e._idPool=0,e}(),C=function(){function e(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}return e.prototype.addDecoration=function(e,t){this._addDecorations.push(e),this._addDecorationsCallbacks.push(t)},e.prototype.removeDecoration=function(e){this._removeDecorations.push(e)},e.prototype.commit=function(e){for(var t=e.deltaDecorations(this._removeDecorations,this._addDecorations),n=0,r=t.length;n a:hover { color: "+r+" !important; }")}));var k=n(31),E=n(50),T=n(166),O=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},D=function(e,t){return function(n,r){t(n,r,e)}},A=function(){function e(e,t,n,r){var o=this;this._editor=e,this._commandService=t,this._notificationService=n,this._codeLensCache=r,this._isEnabled=this._editor.getConfiguration().contribInfo.codeLens,this._globalToDispose=[],this._localToDispose=[],this._lenses=[],this._currentFindCodeLensSymbolsPromise=null,this._modelChangeCounter=0,this._globalToDispose.push(this._editor.onDidChangeModel((function(){return o._onModelChange()}))),this._globalToDispose.push(this._editor.onDidChangeModelLanguage((function(){return o._onModelChange()}))),this._globalToDispose.push(this._editor.onDidChangeConfiguration((function(e){var t=o._isEnabled;o._isEnabled=o._editor.getConfiguration().contribInfo.codeLens,t!==o._isEnabled&&o._onModelChange()}))),this._globalToDispose.push(u.b.onDidChange(this._onModelChange,this)),this._onModelChange()}return e.prototype.dispose=function(){this._localDispose(),this._globalToDispose=Object(i.d)(this._globalToDispose)},e.prototype._localDispose=function(){this._currentFindCodeLensSymbolsPromise&&(this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=null,this._modelChangeCounter++),this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=null),this._localToDispose=Object(i.d)(this._localToDispose)},e.prototype.getId=function(){return e.ID},e.prototype._onModelChange=function(){var e=this;this._localDispose();var t=this._editor.getModel();if(t&&this._isEnabled){var n=this._codeLensCache.get(t);if(n&&this._renderCodeLensSymbols(n),u.b.has(t)){for(var a=0,c=u.b.all(t);a0&&e._detectVisibleLenses.schedule()}))),this._localToDispose.push(this._editor.onDidLayoutChange((function(t){e._detectVisibleLenses.schedule()}))),this._localToDispose.push(Object(i.f)((function(){if(e._editor.getModel()){var t=s.c.capture(e._editor);e._editor.changeDecorations((function(t){e._editor.changeViewZones((function(n){e._disposeAllLenses(t,n)}))})),t.restore(e._editor)}else e._disposeAllLenses(void 0,void 0)}))),this._localToDispose.push(this._editor.onDidChangeConfiguration((function(t){if(t.fontInfo)for(var n=0,r=e._lenses;nr||(n&&n[n.length-1].symbol.range.startLineNumber===c?n.push(u):(n=[u],o.push(n)))}var l=s.c.capture(this._editor);this._editor.changeDecorations((function(e){t._editor.changeViewZones((function(n){for(var r=0,i=0,s=new C;ie.length)return!1;for(var o=0;o=65&&i<=90&&i+32===s)&&!(s>=65&&s<=90&&s+32===i)))return!1}return!0},e.prototype._createOperationsForBlockComment=function(t,n,r,o,i){var s,a=t.startLineNumber,u=t.startColumn,l=t.endLineNumber,d=t.endColumn,p=o.getLineContent(a),h=o.getLineContent(l),f=p.lastIndexOf(n,u-1+n.length),g=h.indexOf(r,d-1-r.length);if(-1!==f&&-1!==g)if(a===l){p.substring(f+n.length,g).indexOf(r)>=0&&(f=-1,g=-1)}else{var m=p.substring(f+n.length),y=h.substring(0,g);(m.indexOf(r)>=0||y.indexOf(r)>=0)&&(f=-1,g=-1)}-1!==f&&-1!==g?(f+n.length0&&32===h.charCodeAt(g-1)&&(r=" "+r,g-=1),s=e._createRemoveBlockCommentOperations(new c.a(a,f+n.length+1,l,g+1),n,r)):(s=e._createAddBlockCommentOperations(t,n,r),this._usedEndToken=1===s.length?r:null);for(var v=0,b=s;va?i-1:i}},e}(),g=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(e){function t(t,n){var r=e.call(this,n)||this;return r._type=t,r}return g(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=t.getModel(),r=[],o=t.getSelections(),i=n.getOptions(),s=0,a=o;sthis.selection.endLineNumber?this.targetSelection=new u.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},v=function(e,t){return function(n,r){t(n,r,e)}},b=function(){function e(e,t){this.decorationIds=[],this.editor=e,this.editorWorkerService=t}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){},e.prototype.getId=function(){return e.ID},e.prototype.run=function(t,n){var r=this;this.currentRequest&&this.currentRequest.cancel();var s=this.editor.getSelection(),a=this.editor.getModel();if(a&&s){var u=s;if(u.startLineNumber===u.endLineNumber){var d=new l.a(this.editor,5),p=a.uri;return this.editorWorkerService.canNavigateValueSet(p)?(this.currentRequest=Object(f.f)((function(e){return r.editorWorkerService.navigateValueSet(p,u,n)})),this.currentRequest.then((function(n){if(n&&n.range&&n.value&&d.validate(r.editor)){var s=o.a.lift(n.range),a=n.range,l=n.value.length-(u.endColumn-u.startColumn);a={startLineNumber:a.startLineNumber,startColumn:a.startColumn,endLineNumber:a.endLineNumber,endColumn:a.startColumn+n.value.length},l>1&&(u=new i.a(u.startLineNumber,u.startColumn,u.endLineNumber,u.endColumn+l-1));var p=new c(s,u,n.value);r.editor.pushUndoStop(),r.editor.executeCommand(t,p),r.editor.pushUndoStop(),r.decorationIds=r.editor.deltaDecorations(r.decorationIds,[{range:a,options:e.DECORATION}]),r.decorationRemover&&r.decorationRemover.cancel(),r.decorationRemover=Object(f.j)(350),r.decorationRemover.then((function(){return r.decorationIds=r.editor.deltaDecorations(r.decorationIds,[])})).catch(g.e)}})).catch(g.e)):Promise.resolve(void 0)}}},e.ID="editor.contrib.inPlaceReplaceController",e.DECORATION=h.a.register({className:"valueSetReplacement"}),e=y([v(1,u.a)],e)}(),_=function(e){function t(){return e.call(this,{id:"editor.action.inPlaceReplace.up",label:r.a("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:s.a.writable,kbOpts:{kbExpr:s.a.editorTextFocus,primary:3154,weight:100}})||this}return m(t,e),t.prototype.run=function(e,t){var n=b.get(t);return n?n.run(this.id,!0):Promise.resolve(void 0)},t}(a.b),w=function(e){function t(){return e.call(this,{id:"editor.action.inPlaceReplace.down",label:r.a("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:s.a.writable,kbOpts:{kbExpr:s.a.editorTextFocus,primary:3156,weight:100}})||this}return m(t,e),t.prototype.run=function(e,t){var n=b.get(t);return n?n.run(this.id,!1):Promise.resolve(void 0)},t}(a.b);Object(a.h)(b),Object(a.f)(_),Object(a.f)(w),Object(d.e)((function(e,t){var n=e.getColor(p.d);n&&t.addRule(".monaco-editor.vs .valueSetReplacement { outline: solid 2px "+n+"; }")}))},function(e,t,n){"use strict";n.r(t);n(392);var r=n(0),o=n(15),i=n(26),s=n(12),a=n(77),u=n(4),c=n(14),l=n(3),d=n(24),p=n(10),h=n(183),f=n(27),g=n(2),m=n(56),y=n(31),v=n(17),b=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(s,a)}u((r=r.apply(e,t||[])).next())}))},w=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},L=function(e,t){return function(n,r){t(n,r,e)}},P=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(s,a)}u((r=r.apply(e,t||[])).next())}))},I=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&0===n.indexOf(":")){for(var g=null,m=null,y=0,b=0;b0)):y++}m&&m.setGroupLabel(this.typeToLabel(g||"",y))}else s.length>0&&s[0].setGroupLabel(i.p(v.e._symbols_,s.length));return s},t.prototype.typeToLabel=function(e,t){switch(e){case"module":return i.p(v.e._modules_,t);case"class":return i.p(v.e._class_,t);case"interface":return i.p(v.e._interface_,t);case"method":return i.p(v.e._method_,t);case"function":return i.p(v.e._function_,t);case"property":return i.p(v.e._property_,t);case"variable":return i.p(v.e._variable_,t);case"var":return i.p(v.e._variable2_,t);case"constructor":return i.p(v.e._constructor_,t);case"call":return i.p(v.e._call_,t)}return e},t.prototype.sortNormal=function(e,t,n){var r=t.getLabel().toLowerCase(),o=n.getLabel().toLowerCase(),i=r.localeCompare(o);if(0!==i)return i;var s=t.getRange(),a=n.getRange();return s.startLineNumber-a.startLineNumber},t.prototype.sortScoped=function(e,t,n){e=e.substr(":".length);var r=t.getType(),o=n.getType(),i=r.localeCompare(o);if(0!==i)return i;if(e){var s=t.getLabel().toLowerCase(),a=n.getLabel().toLowerCase(),u=s.localeCompare(a);if(0!==u)return u}var c=t.getRange(),l=n.getRange();return c.startLineNumber-l.startLineNumber},t}(y.a);Object(a.f)(w)},function(e,t,n){"use strict";n.r(t),n.d(t,"rename",(function(){return P})),n.d(t,"RenameAction",(function(){return N}));var r=n(0),o=n(12),i=n(11),s=n(126),a=n(3),u=n(6),c=n(4),l=(n(395),n(9)),d=n(2),p=n(8),h=new i.f("renameInputVisible",!1),f=function(){function e(e,t,n){var r=this;this.themeService=t,this._disposables=[],this.allowEditorOverflow=!0,this._currentAcceptInput=null,this._currentCancelInput=null,this._visibleContextKey=h.bindTo(n),this._editor=e,this._editor.addContentWidget(this),this._disposables.push(e.onDidChangeConfiguration((function(e){e.fontInfo&&r.updateFont()}))),this._disposables.push(t.onThemeChange((function(e){return r.onThemeChange(e)})))}return e.prototype.onThemeChange=function(e){this.updateStyles(e)},e.prototype.dispose=function(){this._disposables=Object(c.d)(this._disposables),this._editor.removeContentWidget(this)},e.prototype.getId=function(){return"__renameInputWidget"},e.prototype.getDomNode=function(){return this._domNode||(this._inputField=document.createElement("input"),this._inputField.className="rename-input",this._inputField.type="text",this._inputField.setAttribute("aria-label",Object(r.a)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode=document.createElement("div"),this._domNode.style.height=this._editor.getConfiguration().lineHeight+"px",this._domNode.className="monaco-editor rename-box",this._domNode.appendChild(this._inputField),this.updateFont(),this.updateStyles(this.themeService.getTheme())),this._domNode},e.prototype.updateStyles=function(e){if(this._inputField){var t=e.getColor(p.M),n=e.getColor(p.O),r=e.getColor(p.Kb),o=e.getColor(p.N);this._inputField.style.backgroundColor=t?t.toString():null,this._inputField.style.color=n?n.toString():null,this._inputField.style.borderWidth=o?"1px":"0px",this._inputField.style.borderStyle=o?"solid":"none",this._inputField.style.borderColor=o?o.toString():"none",this._domNode.style.boxShadow=r?" 0 2px 8px "+r:null}},e.prototype.updateFont=function(){if(this._inputField){var e=this._editor.getConfiguration().fontInfo;this._inputField.style.fontFamily=e.fontFamily,this._inputField.style.fontWeight=e.fontWeight,this._inputField.style.fontSize=e.fontSize+"px"}},e.prototype.getPosition=function(){return this._visible?{position:this._position,preference:[2,1]}:null},e.prototype.acceptInput=function(){this._currentAcceptInput&&this._currentAcceptInput()},e.prototype.cancelInput=function(e){this._currentCancelInput&&this._currentCancelInput(e)},e.prototype.getInput=function(e,t,n,r){var o=this;this._position=new l.a(e.startLineNumber,e.startColumn),this._inputField.value=t,this._inputField.setAttribute("selectionStart",n.toString()),this._inputField.setAttribute("selectionEnd",r.toString()),this._inputField.size=Math.max(1.1*(e.endColumn-e.startColumn),20);var i=[],s=function(){Object(c.d)(i),o._hide()};return new Promise((function(n){o._currentCancelInput=function(e){return o._currentAcceptInput=null,o._currentCancelInput=null,n(e),!0},o._currentAcceptInput=function(){0!==o._inputField.value.trim().length&&o._inputField.value!==t?(o._currentAcceptInput=null,o._currentCancelInput=null,n(o._inputField.value)):o.cancelInput(!0)};i.push(o._editor.onDidChangeCursorSelection((function(){var t=o._editor.getPosition();t&&d.a.containsPosition(e,t)||o.cancelInput(!0)}))),i.push(o._editor.onDidBlurEditorWidget((function(){return o.cancelInput(!1)}))),o._show()})).then((function(e){return s(),e}),(function(e){return s(),Promise.reject(e)}))},e.prototype._show=function(){var e=this;this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout((function(){e._inputField.focus(),e._inputField.setSelectionRange(parseInt(e._inputField.getAttribute("selectionStart")),parseInt(e._inputField.getAttribute("selectionEnd")))}),100)},e.prototype._hide=function(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)},e}(),g=n(18),m=n(10),y=n(53),v=n(132),b=n(75),_=n(50),w=n(125),x=n(27),C=n(35),S=n(26),k=n(15),E=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),T=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},O=function(e,t){return function(n,r){t(n,r,e)}},D=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(s,a)}u((r=r.apply(e,t||[])).next())}))},A=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0},e.prototype.resolveRenameLocation=function(e){return D(this,void 0,void 0,(function(){var t,n,r;return A(this,(function(o){switch(o.label){case 0:return(t=this._providers[0])?t.resolveRenameLocation?[4,t.resolveRenameLocation(this.model,this.position,e)]:[3,2]:[2,void 0];case 1:n=o.sent(),o.label=2;case 2:return!n&&(r=this.model.getWordAtPosition(this.position))?[2,{range:new d.a(this.position.lineNumber,r.startColumn,this.position.lineNumber,r.endColumn),text:r.word}]:[2,n]}}))}))},e.prototype.provideRenameEdits=function(e,t,n,o){return D(this,void 0,void 0,(function(){var i,s;return A(this,(function(a){switch(a.label){case 0:return(i=this._providers[t])?[4,i.provideRenameEdits(this.model,this.position,e,o)]:[2,{edits:[],rejectReason:n.join("\n")}];case 1:return(s=a.sent())?s.rejectReason?[2,this.provideRenameEdits(e,t+1,n.concat(s.rejectReason),o)]:[2,s]:[2,this.provideRenameEdits(e,t+1,n.concat(r.a("no result","No result.")),o)]}}))}))},e}();function P(e,t,n){return D(this,void 0,void 0,(function(){return A(this,(function(r){return[2,new L(e,t).provideRenameEdits(n,0,[],S.a.None)]}))}))}var I=function(e){function t(t,n,r,o,i,s){var a=e.call(this)||this;return a.editor=t,a._notificationService=n,a._bulkEditService=r,a._progressService=o,a._contextKeyService=i,a._themeService=s,a._renameOperationIdPool=1,a._register(a.editor.onDidChangeModel((function(){return a.onModelChanged()}))),a._register(a.editor.onDidChangeModelLanguage((function(){return a.onModelChanged()}))),a._register(a.editor.onDidChangeCursorSelection((function(){return a.onModelChanged()}))),a}return E(t,e),t.get=function(e){return e.getContribution(t.ID)},Object.defineProperty(t.prototype,"renameInputField",{get:function(){return this._renameInputField||(this._renameInputField=this._register(new f(this.editor,this._themeService,this._contextKeyService))),this._renameInputField},enumerable:!0,configurable:!0}),t.prototype.getId=function(){return t.ID},t.prototype.run=function(){return D(this,void 0,void 0,(function(){var e,t=this;return A(this,(function(n){return this._activeRename&&this._activeRename.operation.cancel(),e=this._renameOperationIdPool++,this._activeRename={id:e,operation:Object(k.f)((function(n){return t.doRename(n,e)}))},[2,this._activeRename.operation]}))}))},t.prototype.doRename=function(e,t){return D(this,void 0,void 0,(function(){var n,o,i,s,a,u,c,l,p=this;return A(this,(function(h){switch(h.label){case 0:if(!this.editor.hasModel())return[2,void 0];if(n=this.editor.getPosition(),!(o=new L(this.editor.getModel(),n)).hasProvider())return[2,void 0];h.label=1;case 1:return h.trys.push([1,3,,4]),s=o.resolveRenameLocation(e),this._progressService.showWhile(s,250),[4,s];case 2:return i=h.sent(),[3,4];case 3:return a=h.sent(),v.a.get(this.editor).showMessage(a||r.a("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),n),[2,void 0];case 4:return i?i.rejectReason?(v.a.get(this.editor).showMessage(i.rejectReason,n),[2,void 0]):this._activeRename&&this._activeRename.id===t?(u=this.editor.getSelection(),c=0,l=i.text.length,d.a.isEmpty(u)||d.a.spansMultipleLines(u)||!d.a.containsRange(i.range,u)||(c=Math.max(0,u.startColumn-i.range.startColumn),l=Math.min(i.range.endColumn,u.endColumn)-i.range.startColumn),[2,this.renameInputField.getInput(i.range,i.text,c,l).then((function(t){if("boolean"!==typeof t){p.editor.focus();var n=new b.a(p.editor,15),s=Promise.resolve(o.provideRenameEdits(t,0,[],e).then((function(e){if(p.editor.hasModel()){if(!e.rejectReason)return p._bulkEditService.apply(e,{editor:p.editor}).then((function(e){e.ariaSummary&&Object(y.a)(r.a("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",i.text,t,e.ariaSummary))}));n.validate(p.editor)?v.a.get(p.editor).showMessage(e.rejectReason,p.editor.getPosition()):p._notificationService.info(e.rejectReason)}}),(function(e){return p._notificationService.error(r.a("rename.failed","Rename failed to execute.")),Promise.reject(e)})));return p._progressService.showWhile(s,250),s}t&&p.editor.focus()}))]):[2,void 0]:[2,void 0]}}))}))},t.prototype.acceptRenameInput=function(){this._renameInputField&&this._renameInputField.acceptInput()},t.prototype.cancelRenameInput=function(){this._renameInputField&&this._renameInputField.cancelInput(!0)},t.prototype.onModelChanged=function(){this._activeRename&&(this._activeRename.operation.cancel(),this._activeRename=void 0)},t.ID="editor.contrib.renameController",t=T([O(1,_.a),O(2,w.a),O(3,s.a),O(4,i.e),O(5,g.c)],t)}(c.a),N=function(e){function t(){return e.call(this,{id:"editor.action.rename",label:r.a("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:i.d.and(u.a.writable,u.a.hasRenameProvider),kbOpts:{kbExpr:u.a.editorTextFocus,primary:60,weight:100},menuOpts:{group:"1_modification",order:1.1}})||this}return E(t,e),t.prototype.runCommand=function(t,n){var r=this,i=t.get(C.a),s=Array.isArray(n)&&n||[void 0,void 0],a=s[0],u=s[1];return x.a.isUri(a)&&l.a.isIPosition(u)?i.openCodeEditor({resource:a},i.getActiveCodeEditor()).then((function(e){e&&(e.setPosition(u),e.invokeWithinContext((function(t){return r.reportTelemetry(t,e),r.run(t,e)})))}),o.e):e.prototype.runCommand.call(this,t,n)},t.prototype.run=function(e,t){var n=I.get(t);return n?n.run():Promise.resolve()},t}(a.b);Object(a.h)(I),Object(a.f)(N);var j=a.c.bindToContribution(I.get);Object(a.g)(new j({id:"acceptRenameInput",precondition:h,handler:function(e){return e.acceptRenameInput()},kbOpts:{weight:199,kbExpr:u.a.focus,primary:3}})),Object(a.g)(new j({id:"cancelRenameInput",precondition:h,handler:function(e){return e.cancelRenameInput()},kbOpts:{weight:199,kbExpr:u.a.focus,primary:9,secondary:[1033]}})),Object(a.e)("_executeDocumentRenameProvider",(function(e,t,n){var r=n.newName;if("string"!==typeof r)throw Object(o.b)("newName");return P(e,t,r)}))},function(e,t,n){"use strict";n.r(t),n.d(t,"provideSelectionRanges",(function(){return E}));var r=n(17),o=n(26),i=n(3),s=n(9),a=n(2),u=n(21),c=n(6),l=n(10),d=n(0),p=n(4),h=n(7),f=function(){function e(){}return e.prototype.provideSelectionRanges=function(e,t){for(var n=[],r=0,o=t;r=0;u--){if(95===(d=o.charCodeAt(u))||45===d)break;if(Object(h.w)(d)&&Object(h.x)(l))break;l=d}for(u+=1;c0&&0===t.getLineFirstNonWhitespaceColumn(n.lineNumber)&&0===t.getLineLastNonWhitespaceColumn(n.lineNumber)&&e.push({range:new a.a(n.lineNumber,1,n.lineNumber,t.getLineMaxColumn(n.lineNumber)),kind:"statement.line"})},e}(),g=n(185),m=n(31),y=n(12),v=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(s,a)}u((r=r.apply(e,t||[])).next())}))},_=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=this.ranges.length)return this;var r=new e(n,this.ranges);return r.ranges[n].equalsRange(this.ranges[this.index])?r.mov(t):r},e}(),x=function(){function e(e){this._ignoreSelection=!1,this._editor=e}return e.get=function(t){return t.getContribution(e._id)},e.prototype.dispose=function(){Object(p.d)(this._selectionListener)},e.prototype.getId=function(){return e._id},e.prototype.run=function(e){var t=this;if(this._editor.hasModel()){var n=this._editor.getSelections(),i=this._editor.getModel();if(l.u.has(i)){var s=Promise.resolve(void 0);return this._state||(s=E(i,n.map((function(e){return e.getPosition()})),o.a.None).then((function(e){if(r.n(e)&&e.length===n.length&&t._editor.hasModel()&&r.g(t._editor.getSelections(),n,(function(e,t){return e.equalsSelection(t)}))){for(var o=function(t){e[t]=e[t].filter((function(e){return e.containsPosition(n[t].getStartPosition())&&e.containsPosition(n[t].getEndPosition())})),e[t].unshift(n[t])},i=0;i=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var o=n.range.getStartPosition();this._editor.setPosition(o),this._editor.revealPositionInCenter(o,t)}finally{this.ignoreSelectionChange=!1}}},e.prototype.canNavigate=function(){return this.ranges&&this.ranges.length>0},e.prototype.next=function(e){void 0===e&&(e=0),this._move(!0,e)},e.prototype.previous=function(e){void 0===e&&(e=0),this._move(!1,e)},e.prototype.dispose=function(){Object(i.d)(this._disposables),this._disposables.length=0,this._onDidUpdate.dispose(),this.ranges=[],this.disposed=!0},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return X}));n(401);var r=n(0),o=n(1),i=n(25),s=n(127),a=n(15),u=n(5),c=n(4),l=n(29),d=n(68),p=n(75),h=n(35),f=n(139),g=(n(402),n(81)),m=n(80),y=n(65),v=n(3),b=n(89),_=n(9),w=n(30),x=n(70),C=n(55),S=n(11),k=n(8),E=n(18),T=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(){function e(e,t,n,r){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=n,this.modifiedLineEnd=r}return e.prototype.getType=function(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0},e}(),D=function(e){this.entries=e},A=function(e){function t(t){var n=e.call(this)||this;return n._width=0,n._diffEditor=t,n._isVisible=!1,n.shadow=Object(i.b)(document.createElement("div")),n.shadow.setClassName("diff-review-shadow"),n.actionBarContainer=Object(i.b)(document.createElement("div")),n.actionBarContainer.setClassName("diff-review-actions"),n._actionBar=n._register(new g.a(n.actionBarContainer.domNode)),n._actionBar.push(new y.a("diffreview.close",r.a("label.close","Close"),"close-diff-review",!0,(function(){return n.hide(),Promise.resolve(null)})),{label:!1,icon:!0}),n.domNode=Object(i.b)(document.createElement("div")),n.domNode.setClassName("diff-review monaco-editor-background"),n._content=Object(i.b)(document.createElement("div")),n._content.setClassName("diff-review-content"),n.scrollbar=n._register(new m.a(n._content.domNode,{})),n.domNode.domNode.appendChild(n.scrollbar.getDomNode()),n._register(t.onDidUpdateDiff((function(){n._isVisible&&(n._diffs=n._compute(),n._render())}))),n._register(t.getModifiedEditor().onDidChangeCursorPosition((function(){n._isVisible&&n._render()}))),n._register(t.getOriginalEditor().onDidFocusEditorWidget((function(){n._isVisible&&n.hide()}))),n._register(t.getModifiedEditor().onDidFocusEditorWidget((function(){n._isVisible&&n.hide()}))),n._register(o.k(n.domNode.domNode,"click",(function(e){e.preventDefault();var t=o.r(e.target,"diff-review-row");t&&n._goToRow(t)}))),n._register(o.k(n.domNode.domNode,"keydown",(function(e){(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),n._goToRow(n._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),n._goToRow(n._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),n.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),n.accept())}))),n._diffs=[],n._currentDiff=null,n}return T(t,e),t.prototype.prev=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var t=-1,n=0,r=this._diffs.length;n0){var v=e[i-1];m=0===v.originalEndLineNumber?v.originalStartLineNumber+1:v.originalEndLineNumber+1,y=0===v.modifiedEndLineNumber?v.modifiedStartLineNumber+1:v.modifiedEndLineNumber+1}var b=f-3+1,_=g-3+1;if(bC)T+=E=C-T,A+=E;if(A>S)T+=E=S-A,A+=E;p[h++]=new O(w,T,x,A),r[o++]=new D(p)}var L=r[0].entries,P=[],I=0;for(i=1,s=r.length;if)&&(f=_),0!==w&&(0===g||wm)&&(m=x)}var C=document.createElement("div");C.className="diff-review-row";var S=document.createElement("div");S.className="diff-review-cell diff-review-summary";var k=f-h+1,E=m-g+1;S.appendChild(document.createTextNode(c+1+"/"+this._diffs.length+": @@ -"+h+","+k+" +"+g+","+E+" @@")),C.setAttribute("data-line",String(g));var T=function(e){return 0===e?r.a("no_lines","no lines"):1===e?r.a("one_line","1 line"):r.a("more_lines","{0} lines",e)},O=T(k),D=T(E);C.setAttribute("aria-label",r.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines", "1 line" or "X lines", localized separately.']},"Difference {0} of {1}: original {2}, {3}, modified {4}, {5}",c+1,this._diffs.length,h,O,g,D)),C.appendChild(S),C.setAttribute("role","listitem"),p.appendChild(C);var A=g;for(y=0,v=l.length;y=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},G=function(e,t){return function(n,r){t(n,r,e)}},Y=function(){function e(){this._zones=[],this._zonesMap={},this._decorations=[]}return e.prototype.getForeignViewZones=function(e){var t=this;return e.filter((function(e){return!t._zonesMap[String(e.id)]}))},e.prototype.clean=function(e){var t=this;this._zones.length>0&&e.changeViewZones((function(e){for(var n=0,r=t._zones.length;n0?o/n:0;return{height:Math.max(0,Math.floor(e.contentHeight*i)),top:Math.floor(t*i)}},t.prototype._createDataSource=function(){var e=this;return{getWidth:function(){return e._width},getHeight:function(){return e._height-e._reviewHeight},getContainerDomNode:function(){return e._containerDomElement},relayoutEditors:function(){e._doLayout()},getOriginalEditor:function(){return e.originalEditor},getModifiedEditor:function(){return e.modifiedEditor}}},t.prototype._setStrategy=function(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._measureDomElement(!0)},t.prototype._getLineChangeAtOrBeforeLineNumber=function(e,t){var n=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===n.length||e=a?r=i+1:(r=i,o=i)}return n[r]},t.prototype._getEquivalentLineForOriginalLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.originalStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),r=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,i=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-n;return s<=o?r+Math.min(s,i):r+i-o+s},t.prototype._getEquivalentLineForModifiedLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.modifiedStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),r=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,i=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-r;return s<=i?n+Math.min(s,o):n+o-i+s},t.prototype.getDiffLineInformationForOriginal=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null},t.prototype.getDiffLineInformationForModified=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null},t.ONE_OVERVIEW_WIDTH=15,t.ENTIRE_DIFF_OVERVIEW_WIDTH=30,t.UPDATE_DIFF_DECORATIONS_DELAY=200,t=q([G(2,B.a),G(3,S.e),G(4,H.a),G(5,h.a),G(6,E.c),G(7,z.a)],t)}(c.a),J=function(e){function t(t){var n=e.call(this)||this;return n._dataSource=t,n}return K(t,e),t.prototype.applyColors=function(e){var t=(e.getColor(k.j)||k.g).transparent(2),n=(e.getColor(k.l)||k.h).transparent(2),r=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,r},t.prototype.getEditorsDiffDecorations=function(e,t,n,r,o,i,s){o=o.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber})),r=r.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber}));var a=this._getViewZones(e,r,o,i,s,n),u=this._getOriginalEditorDecorations(e,t,n,i,s),c=this._getModifiedEditorDecorations(e,t,n,i,s);return{original:{decorations:u.decorations,overviewZones:u.overviewZones,zones:a.original},modified:{decorations:c.decorations,overviewZones:c.overviewZones,zones:a.modified}}},t}(c.a),Z=function(){function e(e){this._source=e,this._index=-1,this.advance()}return e.prototype.advance=function(){this._index++,this._index0){var n=e[e.length-1];if(n.afterLineNumber===t.afterLineNumber&&null===n.domNode)return void(n.heightInLines+=t.heightInLines)}e.push(t)},d=new Z(this.modifiedForeignVZ),p=new Z(this.originalForeignVZ),h=0,f=this.lineChanges.length;h<=f;h++){var g=h0?-1:0),s=g.modifiedStartLineNumber+(g.modifiedEndLineNumber>0?-1:0),o=g.originalEndLineNumber>0?g.originalEndLineNumber-g.originalStartLineNumber+1:0,r=g.modifiedEndLineNumber>0?g.modifiedEndLineNumber-g.modifiedStartLineNumber+1:0,a=Math.max(g.originalStartLineNumber,g.originalEndLineNumber),u=Math.max(g.modifiedStartLineNumber,g.modifiedEndLineNumber)):(a=i+=1e7+o,u=s+=1e7+r);for(var m,y=[],v=[];d.current&&d.current.afterLineNumber<=u;){var b=void 0;b=d.current.afterLineNumber<=s?i-s+d.current.afterLineNumber:a;var _=null;g&&g.modifiedStartLineNumber<=d.current.afterLineNumber&&d.current.afterLineNumber<=g.modifiedEndLineNumber&&(_=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),y.push({afterLineNumber:b,heightInLines:d.current.heightInLines,domNode:null,marginDomNode:_}),d.advance()}for(;p.current&&p.current.afterLineNumber<=a;){b=void 0;b=p.current.afterLineNumber<=i?s-i+p.current.afterLineNumber:u,v.push({afterLineNumber:b,heightInLines:p.current.heightInLines,domNode:null}),p.advance()}if(null!==g&&se(g))(m=this._produceOriginalFromDiff(g,o,r))&&y.push(m);if(null!==g&&ae(g))(m=this._produceModifiedFromDiff(g,o,r))&&v.push(m);var w=0,x=0;for(y=y.sort(c),v=v.sort(c);w=S.heightInLines?(C.heightInLines-=S.heightInLines,x++):(S.heightInLines-=C.heightInLines,w++)}for(;w2*t.MINIMUM_EDITOR_WIDTH?(rn-t.MINIMUM_EDITOR_WIDTH&&(r=n-t.MINIMUM_EDITOR_WIDTH)):r=o,this._sashPosition!==r&&(this._sashPosition=r,this._sash.layout()),this._sashPosition},t.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},t.prototype.onSashDrag=function(e){var t=this._dataSource.getWidth()-X.ENTIRE_DIFF_OVERVIEW_WIDTH,n=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=n/t,this._dataSource.relayoutEditors()},t.prototype.onSashDragEnd=function(){this._sash.layout()},t.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},t.prototype.getVerticalSashTop=function(e){return 0},t.prototype.getVerticalSashLeft=function(e){return this._sashPosition},t.prototype.getVerticalSashHeight=function(e){return this._dataSource.getHeight()},t.prototype._getViewZones=function(e,t,n,r,o){return new re(e,t,n).getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,r,o){for(var i=this._removeColor.toString(),s={decorations:[],overviewZones:[]},a=r.getModel(),u=0,c=e.length;ut?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null},t.prototype._produceModifiedFromDiff=function(e,t,n){return t>n?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null},t}(Q),oe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.decorationsLeft=t.getOriginalEditor().getLayoutInfo().decorationsLeft,r._register(t.getOriginalEditor().onDidLayoutChange((function(e){r.decorationsLeft!==e.decorationsLeft&&(r.decorationsLeft=e.decorationsLeft,t.relayoutEditors())}))),r}return K(t,e),t.prototype.setEnableSplitViewResizing=function(e){},t.prototype._getViewZones=function(e,t,n,r,o,i){return new ie(e,t,n,r,o,i).getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,r,o){for(var i=this._removeColor.toString(),s={decorations:[],overviewZones:[]},a=0,u=e.length;a'])}h+=this.modifiedEditorConfiguration.viewInfo.scrollBeyondLastColumn;var m=document.createElement("div");m.className="view-lines line-delete",m.innerHTML=a.build(),d.a.applyFontInfoSlow(m,this.modifiedEditorConfiguration.fontInfo);var y=document.createElement("div");return y.className="inline-deleted-margin-view-zone",y.innerHTML=u.join(""),d.a.applyFontInfoSlow(y,this.modifiedEditorConfiguration.fontInfo),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:h*p,domNode:m,marginDomNode:y}},t.prototype._renderOriginalLine=function(e,t,n,r,o,i,s){var a=t.getLineTokens(o),u=a.getLineContent(),c=V.a.filter(i,o,1,u.length+1);s.appendASCIIString('
    ');var l=C.d.isBasicASCII(u,t.mightContainNonBasicASCII()),d=C.d.containsRTL(u,l,t.mightContainRTL()),p=Object(x.c)(new x.b(n.fontInfo.isMonospace&&!n.viewInfo.disableMonospaceOptimizations,n.fontInfo.canUseHalfwidthRightwardsArrow,u,!1,l,d,0,a,c,r,n.fontInfo.spaceWidth,n.viewInfo.stopRenderingLineAfter,n.viewInfo.renderWhitespace,n.viewInfo.renderControlCharacters,n.viewInfo.fontLigatures),s);s.appendASCIIString("
    ");var h=p.characterMapping.getAbsoluteOffsets();return h.length>0?h[h.length-1]:0},t}(Q);function se(e){return e.modifiedEndLineNumber>0}function ae(e){return e.originalEndLineNumber>0}Object(E.e)((function(e,t){var n=e.getColor(k.j);n&&(t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: "+n+"; }"));var r=e.getColor(k.l);r&&(t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+r+"; }"),t.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+r+"; }"),t.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+r+"; }"));var o=e.getColor(k.k);o&&t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+o+"; }");var i=e.getColor(k.m);i&&t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+i+"; }");var s=e.getColor(k.Ab);s&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+s+"; }");var a=e.getColor(k.i);a&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+a+"; }")}))},function(e,t,n){(function(e){var r="undefined"!==typeof e&&e||"undefined"!==typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(337),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(137))},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(423),n(188),n(198),n(197),n(196),n(200),n(272),n(202),n(203);var r=n(138);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o)},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},,function(e,t){e.exports={base:"vs",inherit:!0,rules:[{background:"e2e9ff",token:"text.html source.active4d"},{foreground:"000000",token:"text.xml"},{foreground:"af82d4",token:"comment.line"},{foreground:"af82d4",token:"comment.block"},{foreground:"666666",token:"string"},{foreground:"66ccff",fontStyle:"bold",token:"string.interpolated variable"},{foreground:"a8017e",token:"constant.numeric"},{foreground:"66ccff",fontStyle:"bold",token:"constant.other.date"},{foreground:"66ccff",fontStyle:"bold",token:"constant.other.time"},{foreground:"a535ae",token:"constant.language"},{foreground:"6392ff",fontStyle:"bold",token:"variable.other.local"},{foreground:"0053ff",fontStyle:"bold",token:"variable"},{foreground:"6988ae",token:"variable.other.table-field"},{foreground:"006699",fontStyle:"bold",token:"keyword"},{foreground:"ff5600",token:"storage"},{foreground:"21439c",token:"entity.name.type"},{foreground:"21439c",token:"entity.name.function"},{foreground:"7a7a7a",token:"meta.tag"},{foreground:"016cff",token:"entity.name.tag"},{foreground:"963dff",token:"entity.other.attribute-name"},{foreground:"45ae34",fontStyle:"bold",token:"support.function"},{foreground:"b7734c",token:"support.constant"},{foreground:"a535ae",token:"support.type"},{foreground:"a535ae",token:"support.class"},{foreground:"a535ae",token:"support.variable"},{foreground:"ffffff",background:"990000",token:"invalid"},{foreground:"ffffff",background:"656565",token:"meta.diff"},{foreground:"ffffff",background:"1b63ff",token:"meta.diff.range"},{foreground:"000000",background:"ff7880",token:"markup.deleted.diff"},{foreground:"000000",background:"98ff9a",token:"markup.inserted.diff"},{foreground:"5e5e5e",token:"source.diff"}],colors:{"editor.foreground":"#3B3B3B","editor.background":"#FFFFFF","editor.selectionBackground":"#BAD6FD","editor.lineHighlightBackground":"#000000","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#BFBFBF"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"ffffff",background:"434242",token:"text"},{foreground:"ffffff",background:"000000",token:"source"},{foreground:"9933cc",token:"comment"},{foreground:"3387cc",token:"constant"},{foreground:"cc7833",token:"keyword"},{foreground:"d0d0ff",token:"meta.preprocessor.c"},{fontStyle:"italic",token:"variable.parameter"},{foreground:"ffffff",background:"9b9b9b",token:"source comment.block"},{foreground:"66cc33",token:"string"},{foreground:"aaaaaa",token:"string constant.character.escape"},{foreground:"000000",background:"cccc33",token:"string.interpolated"},{foreground:"cccc33",token:"string.regexp"},{foreground:"cccc33",token:"string.literal"},{foreground:"555555",token:"string.interpolated constant.character.escape"},{fontStyle:"underline",token:"entity.name.type"},{fontStyle:"italic underline",token:"entity.other.inherited-class"},{fontStyle:"underline",token:"entity.name.tag"},{foreground:"c83730",token:"support.function"}],colors:{"editor.foreground":"#FFFFFF","editor.background":"#000000","editor.selectionBackground":"#73597E","editor.lineHighlightBackground":"#333300","editorCursor.foreground":"#FFFFFF","editorWhitespace.foreground":"#404040"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"404080",background:"200020",fontStyle:"italic",token:"comment.block"},{foreground:"999999",token:"string"},{foreground:"707090",token:"constant.language"},{foreground:"7090b0",token:"constant.numeric"},{fontStyle:"bold",token:"constant.numeric.integer.int32"},{fontStyle:"italic",token:"constant.numeric.integer.int64"},{fontStyle:"bold italic",token:"constant.numeric.integer.nativeint"},{fontStyle:"underline",token:"constant.numeric.floating-point.ocaml"},{foreground:"666666",token:"constant.character"},{foreground:"8080a0",token:"constant.language.boolean"},{foreground:"008080",token:"variable.language"},{foreground:"008080",token:"variable.other"},{foreground:"a080ff",token:"keyword"},{foreground:"a0a0ff",token:"keyword.operator"},{foreground:"d0d0ff",token:"keyword.other.decorator"},{fontStyle:"underline",token:"keyword.operator.infix.floating-point.ocaml"},{fontStyle:"underline",token:"keyword.operator.prefix.floating-point.ocaml"},{foreground:"c080c0",token:"keyword.other.directive"},{foreground:"c080c0",fontStyle:"underline",token:"keyword.other.directive.line-number"},{foreground:"80a0ff",token:"keyword.control"},{foreground:"b0fff0",token:"storage"},{foreground:"60b0ff",token:"entity.name.type.variant"},{foreground:"60b0ff",fontStyle:"italic",token:"storage.type.variant.polymorphic"},{foreground:"60b0ff",fontStyle:"italic",token:"entity.name.type.variant.polymorphic"},{foreground:"b000b0",token:"entity.name.type.module"},{foreground:"b000b0",fontStyle:"underline",token:"entity.name.type.module-type.ocaml"},{foreground:"a00050",token:"support.other"},{foreground:"70e080",token:"entity.name.type.class"},{foreground:"70e0a0",token:"entity.name.type.class-type"},{foreground:"50a0a0",token:"entity.name.function"},{foreground:"80b0b0",token:"variable.parameter"},{foreground:"3080a0",token:"entity.name.type.token"},{foreground:"3cb0d0",token:"entity.name.type.token.reference"},{foreground:"90e0e0",token:"entity.name.function.non-terminal"},{foreground:"c0f0f0",token:"entity.name.function.non-terminal.reference"},{foreground:"009090",token:"entity.name.tag"},{background:"200020",token:"support.constant"},{foreground:"400080",background:"ffff00",fontStyle:"bold",token:"invalid.illegal"},{foreground:"200020",background:"cc66ff",token:"invalid.deprecated"},{background:"400080",token:"source.camlp4.embedded"},{foreground:"805080",token:"punctuation"}],colors:{"editor.foreground":"#D0D0FF","editor.background":"#200020","editor.selectionBackground":"#800000","editor.lineHighlightBackground":"#800000","editorCursor.foreground":"#7070FF","editorWhitespace.foreground":"#BFBFBF"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"aeaeae",token:"comment"},{foreground:"d8fa3c",token:"constant"},{foreground:"ff6400",token:"entity"},{foreground:"fbde2d",token:"keyword"},{foreground:"fbde2d",token:"storage"},{foreground:"61ce3c",token:"string"},{foreground:"61ce3c",token:"meta.verbatim"},{foreground:"8da6ce",token:"support"},{foreground:"ab2a1d",fontStyle:"italic",token:"invalid.deprecated"},{foreground:"f8f8f8",background:"9d1e15",token:"invalid.illegal"},{foreground:"ff6400",fontStyle:"italic",token:"entity.other.inherited-class"},{foreground:"ff6400",token:"string constant.other.placeholder"},{foreground:"becde6",token:"meta.function-call.py"},{foreground:"7f90aa",token:"meta.tag"},{foreground:"7f90aa",token:"meta.tag entity"},{foreground:"ffffff",token:"entity.name.section"},{foreground:"d5e0f3",token:"keyword.type.variant"},{foreground:"f8f8f8",token:"source.ocaml keyword.operator.symbol"},{foreground:"8da6ce",token:"source.ocaml keyword.operator.symbol.infix"},{foreground:"8da6ce",token:"source.ocaml keyword.operator.symbol.prefix"},{fontStyle:"underline",token:"source.ocaml keyword.operator.symbol.infix.floating-point"},{fontStyle:"underline",token:"source.ocaml keyword.operator.symbol.prefix.floating-point"},{fontStyle:"underline",token:"source.ocaml constant.numeric.floating-point"},{background:"ffffff",token:"text.tex.latex meta.function.environment"},{background:"7a96fa",token:"text.tex.latex meta.function.environment meta.function.environment"},{foreground:"fbde2d",token:"text.tex.latex support.function"},{foreground:"ffffff",token:"source.plist string.unquoted"},{foreground:"ffffff",token:"source.plist keyword.operator"}],colors:{"editor.foreground":"#F8F8F8","editor.background":"#0C1021","editor.selectionBackground":"#253B76","editor.lineHighlightBackground":"#FFFFFF","editorCursor.foreground":"#FFFFFF","editorWhitespace.foreground":"#FFFFFF"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"000000",background:"ffffff",fontStyle:"bold",token:"meta.thomas_aylott"},{foreground:"555555",background:"ffffff",fontStyle:"underline",token:"meta.subtlegradient"},{foreground:"fffc80",background:"803d00",token:"string -meta.tag -meta.doctype -string.regexp -string.literal -string.interpolated -string.quoted.literal -string.unquoted"},{foreground:"fffc80",background:"803d00",token:"variable.parameter.misc.css"},{foreground:"fffc80",background:"803d00",token:"text string source string"},{foreground:"fffc80",background:"803d00",token:"string.unquoted string"},{foreground:"fffc80",background:"803d00",token:"string.regexp string"},{foreground:"fffc80",background:"803d00",token:"string.interpolated string"},{foreground:"fffc80",background:"803d00",token:"meta.tag source string"},{foreground:"803d00",token:"punctuation.definition.string -meta.tag"},{foreground:"fff800",token:"string.regexp punctuation.definition.string"},{foreground:"fff800",token:"string.quoted.literal punctuation.definition.string"},{foreground:"fff800",token:"string.quoted.double.ruby.mod punctuation.definition.string"},{foreground:"fff800",background:"438000",token:"string.quoted.literal"},{foreground:"fff800",background:"438000",token:"string.quoted.double.ruby.mod"},{foreground:"ffbc80",token:"string.unquoted -string.unquoted.embedded"},{foreground:"ffbc80",token:"string.quoted.double.multiline"},{foreground:"ffbc80",token:"meta.scope.heredoc"},{foreground:"fffc80",background:"1a1a1a",token:"string.interpolated"},{foreground:"fff800",background:"438000",token:"string.regexp"},{background:"438000",token:"string.regexp.group"},{foreground:"ffffff",background:"438000",token:"string.regexp.group string.regexp.group"},{foreground:"ffffff",background:"438000",token:"string.regexp.group string.regexp.group string.regexp.group"},{foreground:"ffffff",background:"438000",token:"string.regexp.group string.regexp.group string.regexp.group string.regexp.group"},{foreground:"86ff00",background:"438000",token:"string.regexp.character-class"},{foreground:"00fff8",background:"438000",token:"string.regexp.arbitrary-repitition"},{foreground:"803d00",token:"string.regexp punctuation.definition.string keyword.other"},{background:"0086ff",token:"meta.group.assertion.regexp"},{foreground:"0086ff",token:"meta.assertion"},{foreground:"0086ff",token:"meta.group.assertion keyword.control.group.regexp"},{foreground:"0086ff",token:"meta.group.assertion punctuation.definition.group"},{foreground:"c6ff00",token:"constant.numeric"},{foreground:"86ff00",token:"constant.character"},{foreground:"07ff00",token:"constant.language"},{foreground:"07ff00",token:"keyword.other.unit"},{foreground:"07ff00",token:"constant.other.java"},{foreground:"07ff00",token:"constant.other.unit"},{foreground:"07ff00",background:"048000",token:"constant.language.pseudo-variable"},{foreground:"00ff79",token:"constant.other"},{foreground:"00ff79",token:"constant.block"},{foreground:"00fff8",token:"support.constant"},{foreground:"00fff8",token:"constant.name"},{foreground:"00ff79",background:"00807c",token:"variable.other.readwrite.global.pre-defined"},{foreground:"00ff79",background:"00807c",token:"variable.language"},{foreground:"00fff8",token:"variable.other.constant"},{foreground:"00fff8",background:"00807c",token:"support.variable"},{foreground:"00807c",background:"004380",token:"variable.other.readwrite.global"},{foreground:"31a6ff",token:"variable.other"},{foreground:"31a6ff",token:"variable.js"},{foreground:"31a6ff",token:"punctuation.separator.variable"},{foreground:"0086ff",background:"0008ff",token:"variable.other.readwrite.class"},{foreground:"406180",token:"variable.other.readwrite.instance"},{foreground:"406180",token:"variable.other.php"},{foreground:"406180",token:"variable.other.normal"},{foreground:"000000",token:"punctuation.definition"},{foreground:"000000",token:"punctuation.separator.variable"},{foreground:"7e0080",token:"storage -storage.modifier"},{background:"803d00",token:"other.preprocessor"},{background:"803d00",token:"entity.name.preprocessor"},{foreground:"666666",token:"variable.language.this.js"},{foreground:"803d00",token:"storage.modifier"},{foreground:"ff0000",token:"entity.name.class"},{foreground:"ff0000",token:"entity.name.type.class"},{foreground:"ff0000",token:"entity.name.type.module"},{foreground:"870000",background:"ff0000",token:"meta.class -meta.class.instance"},{foreground:"870000",background:"ff0000",token:"declaration.class"},{foreground:"870000",background:"ff0000",token:"meta.definition.class"},{foreground:"870000",background:"ff0000",token:"declaration.module"},{foreground:"ff0000",background:"870000",token:"support.type"},{foreground:"ff0000",background:"870000",token:"support.class"},{foreground:"ff3d44",token:"entity.name.instance"},{foreground:"ff3d44",token:"entity.name.type.instance"},{background:"831e51",token:"meta.class.instance.constructor"},{foreground:"ff0086",background:"800004",token:"entity.other.inherited-class"},{foreground:"ff0086",background:"800004",token:"entity.name.module"},{foreground:"ff0086",token:"meta.definition.method"},{foreground:"ff0086",token:"entity.name.function"},{foreground:"ff0086",token:"entity.name.preprocessor"},{foreground:"9799ff",token:"variable.parameter.function"},{foreground:"9799ff",token:"variable.parameter -variable.parameter.misc.css"},{foreground:"9799ff",token:"meta.definition.method meta.definition.param-list"},{foreground:"9799ff",token:"meta.function.method.with-arguments variable.parameter.function"},{foreground:"800004",token:"punctuation.definition.parameters"},{foreground:"800004",token:"variable.parameter.function punctuation.separator.object"},{foreground:"782ec1",token:"keyword.other.special-method"},{foreground:"782ec1",token:"meta.function-call entity.name.function -(meta.function-call meta.function)"},{foreground:"782ec1",token:"support.function - variable"},{foreground:"9d3eff",token:"meta.function-call support.function - variable"},{foreground:"603f80",background:"603f80",token:"support.function"},{foreground:"bc80ff",token:"punctuation.section.function"},{foreground:"bc80ff",token:"meta.brace.curly.function"},{foreground:"bc80ff",token:"meta.function-call punctuation.section.scope.ruby"},{foreground:"bc80ff",token:"meta.function-call punctuation.separator.object"},{foreground:"bc80ff",fontStyle:"bold",token:"meta.group.braces.round punctuation.section.scope"},{foreground:"bc80ff",fontStyle:"bold",token:"meta.group.braces.round meta.delimiter.object.comma"},{foreground:"bc80ff",fontStyle:"bold",token:"meta.group.braces.curly.function meta.delimiter.object.comma"},{foreground:"bc80ff",fontStyle:"bold",token:"meta.brace.round"},{foreground:"a88fc0",token:"meta.function-call.method.without-arguments"},{foreground:"a88fc0",token:"meta.function-call.method.without-arguments entity.name.function"},{foreground:"f800ff",token:"keyword.control"},{foreground:"7900ff",token:"keyword.other"},{foreground:"0000ce",token:"keyword.operator"},{foreground:"0000ce",token:"declaration.function.operator"},{foreground:"0000ce",token:"meta.preprocessor.c.include"},{foreground:"0000ce",token:"punctuation.separator.operator"},{foreground:"0000ce",background:"00009a",token:"keyword.operator.assignment"},{foreground:"2136ce",token:"keyword.operator.arithmetic"},{foreground:"3759ff",background:"00009a",token:"keyword.operator.logical"},{foreground:"7c88ff",token:"keyword.operator.comparison"},{foreground:"800043",token:"meta.class.instance.constructor keyword.operator.new"},{foreground:"cccccc",background:"333333",token:"meta.doctype"},{foreground:"cccccc",background:"333333",token:"meta.tag.sgml-declaration.doctype"},{foreground:"cccccc",background:"333333",token:"meta.tag.sgml.doctype"},{foreground:"333333",token:"meta.tag"},{foreground:"666666",background:"333333",token:"meta.tag.structure"},{foreground:"666666",background:"333333",token:"meta.tag.segment"},{foreground:"4c4c4c",background:"4c4c4c",token:"meta.tag.block"},{foreground:"4c4c4c",background:"4c4c4c",token:"meta.tag.xml"},{foreground:"4c4c4c",background:"4c4c4c",token:"meta.tag.key"},{foreground:"ff7900",background:"803d00",token:"meta.tag.inline"},{background:"803d00",token:"meta.tag.inline source"},{foreground:"ff0007",background:"800004",token:"meta.tag.other"},{foreground:"ff0007",background:"800004",token:"entity.name.tag.style"},{foreground:"ff0007",background:"800004",token:"entity.name.tag.script"},{foreground:"ff0007",background:"800004",token:"meta.tag.block.script"},{foreground:"ff0007",background:"800004",token:"source.js.embedded punctuation.definition.tag.html"},{foreground:"ff0007",background:"800004",token:"source.css.embedded punctuation.definition.tag.html"},{foreground:"0086ff",background:"004380",token:"meta.tag.form"},{foreground:"0086ff",background:"004380",token:"meta.tag.block.form"},{foreground:"f800ff",background:"3c0080",token:"meta.tag.meta"},{background:"121212",token:"meta.section.html.head"},{background:"004380",token:"meta.section.html.form"},{foreground:"666666",token:"meta.tag.xml"},{foreground:"ffffff",token:"entity.name.tag"},{foreground:"ffffff",token:"entity.other.attribute-name"},{foreground:"ffffff",token:"meta.tag punctuation.definition.string"},{foreground:"ffffff",token:"meta.tag string -source -punctuation"},{foreground:"ffffff",token:"text source text meta.tag string -punctuation"},{foreground:"999999",token:"text meta.paragraph"},{foreground:"fff800",background:"333333",token:"markup markup -(markup meta.paragraph.list)"},{foreground:"000000",background:"ffffff",token:"markup.hr"},{foreground:"ffffff",token:"markup.heading"},{foreground:"95d4ff",fontStyle:"bold",token:"markup.bold"},{fontStyle:"italic",token:"markup.italic"},{fontStyle:"underline",token:"markup.underline"},{foreground:"0086ff",token:"meta.reference"},{foreground:"0086ff",token:"markup.underline.link"},{foreground:"00fff8",background:"004380",token:"entity.name.reference"},{foreground:"00fff8",fontStyle:"underline",token:"meta.reference.list markup.underline.link"},{foreground:"00fff8",fontStyle:"underline",token:"text.html.textile markup.underline.link"},{background:"808080",token:"markup.raw.block"},{background:"ffffff",token:"markup.quote"},{foreground:"ffffff",token:"markup.list meta.paragraph"},{foreground:"000000",background:"ffffff",token:"text.html.markdown"},{foreground:"000000",token:"text.html.markdown meta.paragraph"},{foreground:"555555",token:"text.html.markdown markup.list meta.paragraph"},{foreground:"000000",fontStyle:"bold",token:"text.html.markdown markup.heading"},{foreground:"8a5420",token:"text.html.markdown string"},{foreground:"666666",token:"meta.selector"},{foreground:"006680",token:"source.css meta.scope.property-list meta.property-value punctuation.definition.arguments"},{foreground:"006680",token:"source.css meta.scope.property-list meta.property-value punctuation.separator.arguments"},{foreground:"4f00ff",token:"entity.other.attribute-name.pseudo-element"},{foreground:"7900ff",token:"entity.other.attribute-name.pseudo-class"},{foreground:"7900ff",token:"entity.other.attribute-name.tag.pseudo-class"},{foreground:"f800ff",token:"meta.selector entity.other.attribute-name.class"},{foreground:"ff0086",token:"meta.selector entity.other.attribute-name.id"},{foreground:"ff0007",token:"meta.selector entity.name.tag"},{foreground:"ff7900",fontStyle:"bold",token:"entity.name.tag.wildcard"},{foreground:"ff7900",fontStyle:"bold",token:"entity.other.attribute-name.universal"},{foreground:"c25a00",token:"source.css entity.other.attribute-name.attribute"},{foreground:"673000",token:"source.css meta.attribute-selector keyword.operator.comparison"},{foreground:"333333",fontStyle:"bold",token:"meta.scope.property-list"},{foreground:"999999",token:"meta.property-name"},{foreground:"ffffff",background:"0d0d0d",token:"support.type.property-name"},{foreground:"999999",background:"191919",token:"meta.property-value"},{background:"000000",token:"text.latex markup.raw"},{foreground:"bc80ff",token:"text.latex support.function -support.function.textit -support.function.emph"},{foreground:"ffffff",token:"text.latex support.function.section"},{foreground:"000000",background:"ffffff",token:"text.latex entity.name.section -meta.group -keyword.operator.braces"},{background:"000000",token:"text.latex keyword.operator.delimiter"},{foreground:"999999",token:"text.latex keyword.operator.brackets"},{foreground:"666666",token:"text.latex keyword.operator.braces"},{foreground:"0008ff",background:"000080",token:"meta.footnote"},{background:"ffffff",token:"text.latex meta.label.reference"},{foreground:"ff0007",background:"260001",token:"text.latex keyword.control.ref"},{foreground:"ffbc80",background:"400002",token:"text.latex variable.parameter.label.reference"},{foreground:"ff0086",background:"260014",token:"text.latex keyword.control.cite"},{foreground:"ffbfe1",background:"400022",token:"variable.parameter.cite"},{foreground:"ffffff",token:"text.latex variable.parameter.label"},{foreground:"cdcdcd",token:"meta.function markup"},{foreground:"333333",token:"text.latex meta.group.braces"},{foreground:"333333",background:"000000",token:"text.latex meta.environment.list"},{foreground:"333333",background:"000000",token:"text.latex meta.environment.list meta.environment.list"},{foreground:"333333",background:"000000",token:"text.latex meta.environment.list meta.environment.list meta.environment.list"},{foreground:"333333",token:"text.latex meta.environment.list meta.environment.list meta.environment.list meta.environment.list"},{foreground:"333333",token:"text.latex meta.environment.list meta.environment.list meta.environment.list meta.environment.list meta.environment.list"},{foreground:"333333",token:"text.latex meta.environment.list meta.environment.list meta.environment.list meta.environment.list meta.environment.list meta.environment.list"},{foreground:"000000",background:"cccccc",token:"text.latex meta.end-document"},{foreground:"000000",background:"cccccc",token:"text.latex meta.begin-document"},{foreground:"000000",background:"cccccc",token:"meta.end-document.latex support.function"},{foreground:"000000",background:"cccccc",token:"meta.end-document.latex variable.parameter"},{foreground:"000000",background:"cccccc",token:"meta.begin-document.latex support.function"},{foreground:"000000",background:"cccccc",token:"meta.begin-document.latex variable.parameter"},{foreground:"00ffaa",background:"008055",token:"meta.brace.erb.return-value"},{background:"808080",token:"source.ruby.rails.embedded.return-value.one-line"},{foreground:"00fff8",background:"00fff8",token:"punctuation.section.embedded -(source string source punctuation.section.embedded)"},{foreground:"00fff8",background:"00fff8",token:"meta.brace.erb.html"},{background:"00fff8",token:"source.ruby.rails.embedded.one-line"},{foreground:"406180",token:"source string source punctuation.section.embedded"},{background:"0d0d0d",token:"source.js.embedded"},{background:"000000",token:"meta.brace.erb"},{foreground:"ffffff",background:"333333",token:"source string source"},{foreground:"999999",background:"000000",token:"source string.interpolated source"},{background:"333333",token:"source source"},{background:"333333",token:"source.java.embedded"},{foreground:"ffffff",token:"text -text.xml.strict"},{foreground:"cccccc",background:"000000",token:"text source"},{foreground:"cccccc",background:"000000",token:"meta.scope.django.template"},{foreground:"999999",token:"text string source"},{foreground:"330004",background:"ff0007",fontStyle:"bold",token:"invalid -invalid.SOMETHING"},{foreground:"ff3600",fontStyle:"underline",token:"invalid.SOMETHING"},{foreground:"333333",token:"meta.syntax"},{foreground:"4c4c4c",background:"333333",token:"comment -comment.line"},{foreground:"4c4c4c",fontStyle:"italic",token:"comment.line"},{fontStyle:"italic",token:"text comment.block -source"},{foreground:"40ff9a",background:"00401e",token:"markup.inserted"},{foreground:"ff40a3",background:"400022",token:"markup.deleted"},{foreground:"ffff55",background:"803d00",token:"markup.changed"},{foreground:"ffffff",background:"000000",token:"text.subversion-commit meta.scope.changed-files"},{foreground:"ffffff",background:"000000",token:"text.subversion-commit meta.scope.changed-files.svn meta.diff.separator"},{foreground:"000000",background:"ffffff",token:"text.subversion-commit"},{foreground:"7f7f7f",background:"ffffff",fontStyle:"bold",token:"punctuation.terminator"},{foreground:"7f7f7f",background:"ffffff",fontStyle:"bold",token:"meta.delimiter"},{foreground:"7f7f7f",background:"ffffff",fontStyle:"bold",token:"punctuation.separator.method"},{background:"000000",token:"punctuation.terminator.statement"},{background:"000000",token:"meta.delimiter.statement.js"},{background:"000000",token:"meta.delimiter.object.js"},{foreground:"803d00",fontStyle:"bold",token:"string.quoted.single.brace"},{foreground:"803d00",fontStyle:"bold",token:"string.quoted.double.brace"},{foreground:"333333",background:"dcdcdc",token:"text.blog"},{foreground:"333333",background:"dcdcdc",token:"text.mail"},{foreground:"cccccc",background:"000000",token:"text.blog text"},{foreground:"cccccc",background:"000000",token:"text.mail text"},{foreground:"06403e",background:"00fff8",token:"meta.header.blog keyword.other"},{foreground:"06403e",background:"00fff8",token:"meta.header.mail keyword.other"},{foreground:"803d00",background:"ffff55",token:"meta.header.blog string.unquoted.blog"},{foreground:"803d00",background:"ffff55",token:"meta.header.mail string.unquoted"},{foreground:"ff0000",token:"source.ocaml entity.name.type.module"},{foreground:"ff0000",background:"830000",token:"source.ocaml support.other.module"},{foreground:"00fff8",token:"entity.name.type.variant"},{foreground:"00ff79",token:"source.ocaml entity.name.tag"},{foreground:"00ff79",token:"source.ocaml meta.record.definition"},{foreground:"ffffff",fontStyle:"bold",token:"punctuation.separator.parameters"},{foreground:"4c4c4c",background:"333333",token:"meta.brace.pipe"},{foreground:"666666",fontStyle:"bold",token:"meta.brace.erb"},{foreground:"666666",fontStyle:"bold",token:"source.ruby.embedded.source.brace"},{foreground:"666666",fontStyle:"bold",token:"punctuation.section.dictionary"},{foreground:"666666",fontStyle:"bold",token:"punctuation.terminator.dictionary"},{foreground:"666666",fontStyle:"bold",token:"punctuation.separator.object"},{foreground:"666666",fontStyle:"bold",token:"punctuation.separator.statement"},{foreground:"666666",fontStyle:"bold",token:"punctuation.separator.key-value.css"},{foreground:"999999",fontStyle:"bold",token:"punctuation.section.scope.curly"},{foreground:"999999",fontStyle:"bold",token:"punctuation.section.scope"},{foreground:"0c823b",fontStyle:"bold",token:"punctuation.separator.objects"},{foreground:"0c823b",fontStyle:"bold",token:"meta.group.braces.curly meta.delimiter.object.comma"},{foreground:"0c823b",fontStyle:"bold",token:"punctuation.separator.key-value -meta.tag"},{foreground:"0c823b",fontStyle:"bold",token:"source.ocaml punctuation.separator.match-definition"},{foreground:"800043",token:"punctuation.separator.parameters.function.js"},{foreground:"800043",token:"punctuation.definition.function"},{foreground:"800043",token:"punctuation.separator.function-return"},{foreground:"800043",token:"punctuation.separator.function-definition"},{foreground:"800043",token:"punctuation.definition.arguments"},{foreground:"800043",token:"punctuation.separator.arguments"},{foreground:"7f5e40",background:"803d00",fontStyle:"bold",token:"meta.group.braces.square punctuation.section.scope"},{foreground:"7f5e40",background:"803d00",fontStyle:"bold",token:"meta.group.braces.square meta.delimiter.object.comma"},{foreground:"7f5e40",background:"803d00",fontStyle:"bold",token:"meta.brace.square"},{foreground:"7f5e40",background:"803d00",fontStyle:"bold",token:"punctuation.separator.array"},{foreground:"7f5e40",background:"803d00",fontStyle:"bold",token:"punctuation.section.array"},{foreground:"7f5e40",background:"803d00",fontStyle:"bold",token:"punctuation.definition.array"},{foreground:"7f5e40",background:"803d00",fontStyle:"bold",token:"punctuation.definition.constant.range"},{background:"803d00",token:"meta.structure.array -punctuation.definition.array"},{background:"803d00",token:"meta.definition.range -punctuation.definition.constant.range"},{background:"000000",token:"meta.brace.curly meta.group.css"},{foreground:"666666",background:"000000",token:"meta.source.embedded"},{foreground:"666666",background:"000000",token:"entity.other.django.tagbraces"},{background:"000000",token:"source.ruby meta.even-tab"},{background:"000000",token:"source.ruby meta.even-tab.group2"},{background:"000000",token:"source.ruby meta.even-tab.group4"},{background:"000000",token:"source.ruby meta.even-tab.group6"},{background:"000000",token:"source.ruby meta.even-tab.group8"},{background:"000000",token:"source.ruby meta.even-tab.group10"},{background:"000000",token:"source.ruby meta.even-tab.group12"},{foreground:"666666",token:"meta.block.slate"},{foreground:"cccccc",token:"meta.block.content.slate"},{background:"0a0a0a",token:"meta.odd-tab.group1"},{background:"0a0a0a",token:"meta.group.braces"},{background:"0a0a0a",token:"meta.block.slate"},{background:"0a0a0a",token:"text.xml.strict meta.tag"},{background:"0a0a0a",token:"meta.paren-group"},{background:"0a0a0a",token:"meta.section"},{background:"0e0e0e",token:"meta.even-tab.group2"},{background:"0e0e0e",token:"meta.group.braces meta.group.braces"},{background:"0e0e0e",token:"meta.block.slate meta.block.slate"},{background:"0e0e0e",token:"text.xml.strict meta.tag meta.tag"},{background:"0e0e0e",token:"meta.group.braces meta.group.braces"},{background:"0e0e0e",token:"meta.paren-group meta.paren-group"},{background:"0e0e0e",token:"meta.section meta.section"},{background:"111111",token:"meta.odd-tab.group3"},{background:"111111",token:"meta.group.braces meta.group.braces meta.group.braces"},{background:"111111",token:"meta.block.slate meta.block.slate meta.block.slate"},{background:"111111",token:"text.xml.strict meta.tag meta.tag meta.tag"},{background:"111111",token:"meta.group.braces meta.group.braces meta.group.braces"},{background:"111111",token:"meta.paren-group meta.paren-group meta.paren-group"},{background:"111111",token:"meta.section meta.section meta.section"},{background:"151515",token:"meta.even-tab.group4"},{background:"151515",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"151515",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"151515",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag"},{background:"151515",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"151515",token:"meta.paren-group meta.paren-group meta.paren-group meta.paren-group"},{background:"151515",token:"meta.section meta.section meta.section meta.section"},{background:"191919",token:"meta.odd-tab.group5"},{background:"191919",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"191919",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"191919",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag"},{background:"191919",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"191919",token:"meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group"},{background:"191919",token:"meta.section meta.section meta.section meta.section meta.section"},{background:"1c1c1c",token:"meta.even-tab.group6"},{background:"1c1c1c",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"1c1c1c",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"1c1c1c",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag"},{background:"1c1c1c",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"1c1c1c",token:"meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group"},{background:"1c1c1c",token:"meta.section meta.section meta.section meta.section meta.section meta.section"},{background:"1f1f1f",token:"meta.odd-tab.group7"},{background:"1f1f1f",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"1f1f1f",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"1f1f1f",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag"},{background:"1f1f1f",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"1f1f1f",token:"meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group"},{background:"1f1f1f",token:"meta.section meta.section meta.section meta.section meta.section meta.section meta.section"},{background:"212121",token:"meta.even-tab.group8"},{background:"212121",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"212121",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"212121",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag"},{background:"212121",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"212121",token:"meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group"},{background:"212121",token:"meta.section meta.section meta.section meta.section meta.section meta.section meta.section meta.section"},{background:"242424",token:"meta.odd-tab.group9"},{background:"242424",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"242424",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"242424",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag"},{background:"242424",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"242424",token:"meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group meta.paren-group"},{background:"242424",token:"meta.section meta.section meta.section meta.section meta.section meta.section meta.section meta.section meta.section"},{background:"1f1f1f",token:"meta.even-tab.group10"},{background:"151515",token:"meta.odd-tab.group11"},{foreground:"1b95e2",token:"meta.property.vendor.microsoft.trident.4"},{foreground:"1b95e2",token:"meta.property.vendor.microsoft.trident.4 support.type.property-name"},{foreground:"1b95e2",token:"meta.property.vendor.microsoft.trident.4 punctuation.terminator.rule"},{foreground:"f5c034",token:"meta.property.vendor.microsoft.trident.5"},{foreground:"f5c034",token:"meta.property.vendor.microsoft.trident.5 support.type.property-name"},{foreground:"f5c034",token:"meta.property.vendor.microsoft.trident.5 punctuation.separator.key-value"},{foreground:"f5c034",token:"meta.property.vendor.microsoft.trident.5 punctuation.terminator.rule"}],colors:{"editor.foreground":"#EEEEEE","editor.background":"#0D0D0D","editor.selectionBackground":"#0010B4","editor.lineHighlightBackground":"#000080","editorCursor.foreground":"#3333FF","editorWhitespace.foreground":"#CCCCCC"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"000000",background:"ffffff",fontStyle:"bold",token:"meta.thomas_aylott"},{foreground:"555555",background:"ffffff",fontStyle:"underline",token:"meta.subtlegradient"},{foreground:"e6e6e6",background:"ffffff",token:"meta.subtlegradient"},{foreground:"d2d1ab",background:"803d00",token:"string -meta.tag -meta.doctype -string.regexp -string.literal -string.interpolated -string.quoted.literal -string.unquoted"},{foreground:"d2d1ab",background:"803d00",token:"variable.parameter.misc.css"},{foreground:"d2d1ab",background:"803d00",token:"text string source string"},{foreground:"d2d1ab",background:"803d00",token:"string.unquoted string"},{foreground:"d2d1ab",background:"803d00",token:"string.regexp string"},{foreground:"533f2c",token:"punctuation.definition.string -meta.tag"},{foreground:"fff800",token:"string.regexp punctuation.definition.string"},{foreground:"fff800",token:"string.quoted.literal punctuation.definition.string"},{foreground:"fff800",token:"string.quoted.double.ruby.mod punctuation.definition.string"},{foreground:"a6a458",background:"438000",token:"string.quoted.literal"},{foreground:"a6a458",background:"438000",token:"string.quoted.double.ruby.mod"},{foreground:"d2beab",token:"string.unquoted -string.unquoted.embedded"},{foreground:"d2beab",token:"string.quoted.double.multiline"},{foreground:"d2beab",token:"meta.scope.heredoc"},{foreground:"d2d1ab",background:"1a1a1a",token:"string.interpolated"},{foreground:"a6a458",background:"438000",token:"string.regexp"},{background:"438000",token:"string.regexp.group"},{foreground:"ffffff",background:"438000",token:"string.regexp.group string.regexp.group"},{foreground:"ffffff",background:"438000",token:"string.regexp.group string.regexp.group string.regexp.group"},{foreground:"ffffff",background:"438000",token:"string.regexp.group string.regexp.group string.regexp.group string.regexp.group"},{foreground:"80a659",background:"438000",token:"string.regexp.character-class"},{foreground:"56a5a4",background:"438000",token:"string.regexp.arbitrary-repitition"},{foreground:"a75980",token:"source.regexp keyword.operator"},{foreground:"ffffff",fontStyle:"italic",token:"string.regexp comment"},{background:"0086ff",token:"meta.group.assertion.regexp"},{foreground:"5780a6",token:"meta.assertion"},{foreground:"5780a6",token:"meta.group.assertion keyword.control.group.regexp"},{foreground:"95a658",token:"constant.numeric"},{foreground:"80a659",token:"constant.character"},{foreground:"59a559",token:"constant.language"},{foreground:"59a559",token:"keyword.other.unit"},{foreground:"59a559",token:"constant.other.java"},{foreground:"59a559",token:"constant.other.unit"},{foreground:"59a559",background:"048000",token:"constant.language.pseudo-variable"},{foreground:"57a57d",token:"constant.other"},{foreground:"57a57d",token:"constant.block"},{foreground:"56a5a4",token:"support.constant"},{foreground:"56a5a4",token:"constant.name"},{foreground:"5e6b6b",token:"variable.language"},{foreground:"5e6b6b",token:"variable.other.readwrite.global.pre-defined"},{foreground:"56a5a4",token:"variable.other.constant"},{foreground:"56a5a4",background:"00807c",token:"support.variable"},{foreground:"2b5252",background:"004380",token:"variable.other.readwrite.global"},{foreground:"5780a6",token:"variable.other"},{foreground:"5780a6",token:"variable.js"},{foreground:"5780a6",background:"0007ff",token:"variable.other.readwrite.class"},{foreground:"555f69",token:"variable.other.readwrite.instance"},{foreground:"555f69",token:"variable.other.php"},{foreground:"555f69",token:"variable.other.normal"},{foreground:"000000",token:"punctuation.definition -punctuation.definition.comment"},{foreground:"000000",token:"punctuation.separator.variable"},{foreground:"a77d58",token:"storage -storage.modifier"},{background:"803d00",token:"other.preprocessor"},{background:"803d00",token:"entity.name.preprocessor"},{foreground:"666666",token:"variable.language.this.js"},{foreground:"533f2c",token:"storage.modifier"},{foreground:"a7595a",token:"entity.name.class"},{foreground:"a7595a",token:"entity.name.type.class"},{foreground:"a7595a",token:"entity.name.type.module"},{foreground:"532d2d",background:"291617",token:"meta.class -meta.class.instance"},{foreground:"532d2d",background:"291617",token:"declaration.class"},{foreground:"532d2d",background:"291617",token:"meta.definition.class"},{foreground:"532d2d",background:"291617",token:"declaration.module"},{foreground:"a7595a",background:"800004",token:"support.type"},{foreground:"a7595a",background:"800004",token:"support.class"},{foreground:"a7595a",token:"entity.name.instance"},{background:"800043",token:"meta.class.instance.constructor"},{foreground:"a75980",background:"800004",token:"entity.other.inherited-class"},{foreground:"a75980",background:"800004",token:"entity.name.module"},{foreground:"a75980",token:"object.property.function"},{foreground:"a75980",token:"meta.definition.method"},{foreground:"532d40",background:"800043",token:"meta.function -(meta.tell-block)"},{foreground:"532d40",background:"800043",token:"meta.property.function"},{foreground:"532d40",background:"800043",token:"declaration.function"},{foreground:"a75980",token:"entity.name.function"},{foreground:"a75980",token:"entity.name.preprocessor"},{foreground:"a459a5",token:"keyword"},{foreground:"a459a5",background:"3c0080",token:"keyword.control"},{foreground:"8d809d",token:"keyword.other.special-method"},{foreground:"8d809d",token:"meta.function-call entity.name.function -(meta.function-call meta.function)"},{foreground:"8d809d",token:"support.function - variable"},{foreground:"634683",token:"support.function - variable"},{foreground:"7979b7",fontStyle:"bold",token:"keyword.operator"},{foreground:"7979b7",fontStyle:"bold",token:"declaration.function.operator"},{foreground:"7979b7",fontStyle:"bold",token:"meta.preprocessor.c.include"},{foreground:"9899c8",token:"keyword.operator.comparison"},{foreground:"abacd2",background:"3c0080",token:"variable.parameter -variable.parameter.misc.css"},{foreground:"abacd2",background:"3c0080",token:"meta.definition.method meta.definition.param-list"},{foreground:"abacd2",background:"3c0080",token:"meta.function.method.with-arguments variable.parameter.function"},{foreground:"cdcdcd",background:"333333",token:"meta.doctype"},{foreground:"cdcdcd",background:"333333",token:"meta.tag.sgml-declaration.doctype"},{foreground:"cdcdcd",background:"333333",token:"meta.tag.sgml.doctype"},{foreground:"333333",token:"meta.tag"},{foreground:"666666",background:"333333",token:"meta.tag.structure"},{foreground:"666666",background:"333333",token:"meta.tag.segment"},{foreground:"4c4c4c",background:"4c4c4c",token:"meta.tag.block"},{foreground:"4c4c4c",background:"4c4c4c",token:"meta.tag.xml"},{foreground:"4c4c4c",background:"4c4c4c",token:"meta.tag.key"},{foreground:"a77d58",background:"803d00",token:"meta.tag.inline"},{background:"803d00",token:"meta.tag.inline source"},{foreground:"a7595a",background:"800004",token:"meta.tag.other"},{foreground:"a7595a",background:"800004",token:"entity.name.tag.style"},{foreground:"a7595a",background:"800004",token:"source entity.other.attribute-name -text.html.basic.embedded"},{foreground:"a7595a",background:"800004",token:"entity.name.tag.script"},{foreground:"a7595a",background:"800004",token:"meta.tag.block.script"},{foreground:"5780a6",background:"004380",token:"meta.tag.form"},{foreground:"5780a6",background:"004380",token:"meta.tag.block.form"},{foreground:"a459a5",background:"3c0080",token:"meta.tag.meta"},{background:"121212",token:"meta.section.html.head"},{background:"004380",token:"meta.section.html.form"},{foreground:"666666",token:"meta.tag.xml"},{foreground:"ffffff",token:"entity.name.tag"},{foreground:"ffffff",token:"entity.other.attribute-name"},{foreground:"ffffff",token:"meta.tag punctuation.definition.string"},{foreground:"ffffff",token:"meta.tag string -source -punctuation"},{foreground:"ffffff",token:"text source text meta.tag string -punctuation"},{foreground:"a6a458",background:"333333",token:"markup markup -(markup meta.paragraph.list)"},{foreground:"000000",background:"ffffff",token:"markup.hr"},{foreground:"666666",background:"333333",token:"markup.heading"},{fontStyle:"bold",token:"markup.bold"},{fontStyle:"italic",token:"markup.italic"},{fontStyle:"underline",token:"markup.underline"},{foreground:"5780a6",token:"meta.reference"},{foreground:"5780a6",token:"markup.underline.link"},{foreground:"56a5a4",background:"004380",token:"entity.name.reference"},{foreground:"56a5a4",fontStyle:"underline",token:"meta.reference.list markup.underline.link"},{foreground:"56a5a4",fontStyle:"underline",token:"text.html.textile markup.underline.link"},{foreground:"999999",background:"000000",token:"markup.raw.block"},{background:"ffffff",token:"markup.quote"},{foreground:"666666",background:"000000",token:"meta.selector"},{foreground:"575aa6",background:"000480",token:"meta.attribute-match.css"},{foreground:"7c58a5",token:"entity.other.attribute-name.pseudo-class"},{foreground:"7c58a5",token:"entity.other.attribute-name.tag.pseudo-class"},{foreground:"a459a5",token:"meta.selector entity.other.attribute-name.class"},{foreground:"a75980",token:"meta.selector entity.other.attribute-name.id"},{foreground:"a7595a",token:"meta.selector entity.name.tag"},{foreground:"a77d58",fontStyle:"bold",token:"entity.name.tag.wildcard"},{foreground:"a77d58",fontStyle:"bold",token:"entity.other.attribute-name.universal"},{foreground:"333333",fontStyle:"bold",token:"meta.scope.property-list"},{foreground:"999999",token:"meta.property-name"},{foreground:"ffffff",background:"000000",token:"support.type.property-name"},{foreground:"999999",background:"0d0d0d",token:"meta.property-value"},{background:"000000",token:"text.latex markup.raw"},{foreground:"bdabd1",token:"text.latex support.function -support.function.textit -support.function.emph"},{foreground:"ffffff",token:"text.latex support.function.section"},{foreground:"000000",background:"ffffff",token:"text.latex entity.name.section -meta.group -keyword.operator.braces"},{background:"000000",token:"text.latex keyword.operator.delimiter"},{foreground:"999999",token:"text.latex keyword.operator.brackets"},{foreground:"666666",token:"text.latex keyword.operator.braces"},{foreground:"0008ff",background:"000480",token:"meta.footnote"},{background:"ffffff",token:"text.latex meta.label.reference"},{foreground:"a7595a",background:"180d0c",token:"text.latex keyword.control.ref"},{foreground:"d2beab",background:"291616",token:"text.latex variable.parameter.label.reference"},{foreground:"a75980",background:"180d12",token:"text.latex keyword.control.cite"},{foreground:"e8d5de",background:"29161f",token:"variable.parameter.cite"},{foreground:"ffffff",token:"text.latex variable.parameter.label"},{foreground:"333333",token:"text.latex meta.group.braces"},{foreground:"333333",background:"000000",token:"text.latex meta.environment.list"},{foreground:"333333",background:"000000",token:"text.latex meta.environment.list meta.environment.list"},{foreground:"333333",background:"000000",token:"text.latex meta.environment.list meta.environment.list meta.environment.list"},{foreground:"333333",token:"text.latex meta.environment.list meta.environment.list meta.environment.list meta.environment.list"},{foreground:"333333",token:"text.latex meta.environment.list meta.environment.list meta.environment.list meta.environment.list meta.environment.list"},{foreground:"333333",token:"text.latex meta.environment.list meta.environment.list meta.environment.list meta.environment.list meta.environment.list meta.environment.list"},{foreground:"000000",background:"cdcdcd",token:"text.latex meta.end-document"},{foreground:"000000",background:"cdcdcd",token:"text.latex meta.begin-document"},{foreground:"000000",background:"cdcdcd",token:"meta.end-document.latex support.function"},{foreground:"000000",background:"cdcdcd",token:"meta.end-document.latex variable.parameter"},{foreground:"000000",background:"cdcdcd",token:"meta.begin-document.latex support.function"},{foreground:"000000",background:"cdcdcd",token:"meta.begin-document.latex variable.parameter"},{foreground:"596b61",background:"45815d",token:"meta.brace.erb.return-value"},{background:"666666",token:"source.ruby.rails.embedded.return-value.one-line"},{foreground:"56a5a4",background:"00fff8",token:"punctuation.section.embedded -(source string source punctuation.section.embedded)"},{foreground:"56a5a4",background:"00fff8",token:"meta.brace.erb.html"},{background:"00fff8",token:"source.ruby.rails.embedded.one-line"},{foreground:"555f69",token:"source string source punctuation.section.embedded"},{background:"000000",token:"source"},{background:"000000",token:"meta.brace.erb"},{foreground:"ffffff",background:"333333",token:"source string source"},{foreground:"999999",background:"000000",token:"source string.interpolated source"},{background:"333333",token:"source.java.embedded"},{foreground:"ffffff",token:"text -text.xml.strict"},{foreground:"cccccc",background:"000000",token:"text source"},{foreground:"cccccc",background:"000000",token:"meta.scope.django.template"},{foreground:"999999",token:"text string source"},{foreground:"333333",token:"meta.syntax"},{foreground:"211211",background:"a7595a",fontStyle:"bold",token:"invalid"},{foreground:"8f8fc3",background:"0000ff",fontStyle:"italic",token:"0comment"},{foreground:"0000ff",fontStyle:"bold",token:"comment punctuation"},{foreground:"333333",token:"comment"},{foreground:"262626",background:"808080",fontStyle:"bold italic",token:"comment punctuation"},{fontStyle:"italic",token:"text comment.block -source"},{foreground:"81bb9e",background:"15281f",token:"markup.inserted"},{foreground:"bc839f",background:"400021",token:"markup.deleted"},{foreground:"c3c38f",background:"533f2c",token:"markup.changed"},{foreground:"ffffff",background:"000000",token:"text.subversion-commit meta.scope.changed-files"},{foreground:"ffffff",background:"000000",token:"text.subversion-commit meta.scope.changed-files.svn meta.diff.separator"},{foreground:"000000",background:"ffffff",token:"text.subversion-commit"},{foreground:"ffffff",background:"ffffff",fontStyle:"bold",token:"punctuation.terminator"},{foreground:"ffffff",background:"ffffff",fontStyle:"bold",token:"meta.delimiter"},{foreground:"ffffff",background:"ffffff",fontStyle:"bold",token:"punctuation.separator.method"},{background:"000000",token:"punctuation.terminator.statement"},{background:"000000",token:"meta.delimiter.statement.js"},{background:"000000",token:"meta.delimiter.object.js"},{foreground:"533f2c",fontStyle:"bold",token:"string.quoted.single.brace"},{foreground:"533f2c",fontStyle:"bold",token:"string.quoted.double.brace"},{background:"ffffff",token:"text.blog -(text.blog text)"},{foreground:"666666",background:"ffffff",token:"meta.headers.blog"},{foreground:"192b2a",background:"00fff8",token:"meta.headers.blog keyword.other.blog"},{foreground:"533f2c",background:"ffff55",token:"meta.headers.blog string.unquoted.blog"},{foreground:"4c4c4c",background:"333333",token:"meta.brace.pipe"},{foreground:"4c4c4c",fontStyle:"bold",token:"meta.brace.erb"},{foreground:"4c4c4c",fontStyle:"bold",token:"source.ruby.embedded.source.brace"},{foreground:"4c4c4c",fontStyle:"bold",token:"punctuation.section.dictionary"},{foreground:"4c4c4c",fontStyle:"bold",token:"punctuation.terminator.dictionary"},{foreground:"4c4c4c",fontStyle:"bold",token:"punctuation.separator.object"},{foreground:"ffffff",fontStyle:"bold",token:"meta.group.braces.curly punctuation.section.scope"},{foreground:"ffffff",fontStyle:"bold",token:"meta.brace.curly"},{foreground:"345743",fontStyle:"bold",token:"punctuation.separator.objects"},{foreground:"345743",fontStyle:"bold",token:"meta.group.braces.curly meta.delimiter.object.comma"},{foreground:"345743",fontStyle:"bold",token:"punctuation.separator.key-value -meta.tag"},{foreground:"695f55",background:"803d00",fontStyle:"bold",token:"meta.group.braces.square punctuation.section.scope"},{foreground:"695f55",background:"803d00",fontStyle:"bold",token:"meta.group.braces.square meta.delimiter.object.comma"},{foreground:"695f55",background:"803d00",fontStyle:"bold",token:"meta.brace.square"},{foreground:"695f55",background:"803d00",fontStyle:"bold",token:"punctuation.separator.array"},{foreground:"695f55",background:"803d00",fontStyle:"bold",token:"punctuation.section.array"},{foreground:"cdcdcd",background:"000000",token:"meta.brace.curly meta.group"},{foreground:"532d40",fontStyle:"bold",token:"meta.group.braces.round punctuation.section.scope"},{foreground:"532d40",fontStyle:"bold",token:"meta.group.braces.round meta.delimiter.object.comma"},{foreground:"532d40",fontStyle:"bold",token:"meta.brace.round"},{foreground:"abacd2",background:"3c0080",token:"punctuation.section.function"},{foreground:"abacd2",background:"3c0080",token:"meta.brace.curly.function"},{foreground:"abacd2",background:"3c0080",token:"meta.function-call punctuation.section.scope.ruby"},{foreground:"666666",background:"000000",token:"meta.source.embedded"},{foreground:"666666",background:"000000",token:"entity.other.django.tagbraces"},{background:"0a0a0a",token:"meta.odd-tab.group1"},{background:"0a0a0a",token:"meta.group.braces"},{background:"0a0a0a",token:"meta.block.slate"},{background:"0a0a0a",token:"text.xml.strict meta.tag"},{background:"0a0a0a",token:"meta.tell-block meta.tell-block"},{background:"0e0e0e",token:"meta.even-tab.group2"},{background:"0e0e0e",token:"meta.group.braces meta.group.braces"},{background:"0e0e0e",token:"meta.block.slate meta.block.slate"},{background:"0e0e0e",token:"text.xml.strict meta.tag meta.tag"},{background:"0e0e0e",token:"meta.group.braces meta.group.braces"},{background:"0e0e0e",token:"meta.tell-block meta.tell-block"},{background:"111111",token:"meta.odd-tab.group3"},{background:"111111",token:"meta.group.braces meta.group.braces meta.group.braces"},{background:"111111",token:"meta.block.slate meta.block.slate meta.block.slate"},{background:"111111",token:"text.xml.strict meta.tag meta.tag meta.tag"},{background:"111111",token:"meta.group.braces meta.group.braces meta.group.braces"},{background:"111111",token:"meta.tell-block meta.tell-block meta.tell-block"},{background:"151515",token:"meta.even-tab.group4"},{background:"151515",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"151515",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"151515",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag"},{background:"151515",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"151515",token:"meta.tell-block meta.tell-block meta.tell-block meta.tell-block"},{background:"191919",token:"meta.odd-tab.group5"},{background:"191919",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"191919",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"191919",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag"},{background:"191919",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"191919",token:"meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block"},{background:"1c1c1c",token:"meta.even-tab.group6"},{background:"1c1c1c",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"1c1c1c",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"1c1c1c",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag"},{background:"1c1c1c",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"1c1c1c",token:"meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block"},{background:"1f1f1f",token:"meta.odd-tab.group7"},{background:"1f1f1f",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"1f1f1f",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"1f1f1f",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag"},{background:"1f1f1f",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"1f1f1f",token:"meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block"},{background:"212121",token:"meta.even-tab.group8"},{background:"212121",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"212121",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"212121",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag"},{background:"212121",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"212121",token:"meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block"},{background:"242424",token:"meta.odd-tab.group11"},{background:"242424",token:"meta.odd-tab.group10"},{background:"242424",token:"meta.odd-tab.group9"},{background:"242424",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"242424",token:"meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate meta.block.slate"},{background:"242424",token:"text.xml.strict meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag meta.tag"},{background:"242424",token:"meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces meta.group.braces"},{background:"242424",token:"meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block meta.tell-block"},{foreground:"666666",token:"meta.block.slate"},{foreground:"cdcdcd",token:"meta.block.content.slate"}],colors:{"editor.foreground":"#CDCDCD","editor.background":"#050505","editor.selectionBackground":"#2E2EE6","editor.lineHighlightBackground":"#000080","editorCursor.foreground":"#7979B7","editorWhitespace.foreground":"#CDCDCD"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"c41a16",token:"string"},{foreground:"1c00cf",token:"constant.numeric"},{foreground:"aa0d91",token:"keyword"},{foreground:"000000",token:"keyword.operator"},{foreground:"aa0d91",token:"constant.language"},{foreground:"990000",token:"support.class.exception"},{foreground:"000000",token:"entity.name.function"},{fontStyle:"bold underline",token:"entity.name.type"},{fontStyle:"italic",token:"variable.parameter"},{foreground:"007400",token:"comment"},{foreground:"ff0000",token:"invalid"},{background:"e71a11",token:"invalid.deprecated.trailing-whitespace"},{foreground:"000000",background:"fafafa",token:"text source"},{foreground:"aa0d91",token:"meta.tag"},{foreground:"aa0d91",token:"declaration.tag"},{foreground:"000000",fontStyle:"bold",token:"support"},{foreground:"aa0d91",token:"storage"},{fontStyle:"bold underline",token:"entity.name.section"},{foreground:"000000",fontStyle:"bold",token:"entity.name.function.frame"},{foreground:"333333",token:"meta.tag.preprocessor.xml"},{foreground:"994500",fontStyle:"italic",token:"entity.other.attribute-name"},{foreground:"881280",token:"entity.name.tag"}],colors:{"editor.foreground":"#000000","editor.background":"#FFFFFF","editor.selectionBackground":"#BAD6FD","editor.lineHighlightBackground":"#000000","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#B3B3B3"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"3c403b",token:"comment"},{foreground:"5d90cd",token:"string"},{foreground:"46a609",token:"constant.numeric"},{foreground:"39946a",token:"constant.language"},{foreground:"927c5d",token:"keyword"},{foreground:"927c5d",token:"support.constant.property-value"},{foreground:"927c5d",token:"constant.other.color"},{foreground:"366f1a",token:"keyword.other.unit"},{foreground:"a46763",token:"entity.other.attribute-name.html"},{foreground:"4b4b4b",token:"keyword.operator"},{foreground:"e92e2e",token:"storage"},{foreground:"858585",token:"entity.other.inherited-class"},{foreground:"606060",token:"entity.name.tag"},{foreground:"a165ac",token:"constant.character.entity"},{foreground:"a165ac",token:"support.class.js"},{foreground:"606060",token:"entity.other.attribute-name"},{foreground:"e92e2e",token:"meta.selector.css"},{foreground:"e92e2e",token:"entity.name.tag.css"},{foreground:"e92e2e",token:"entity.other.attribute-name.id.css"},{foreground:"e92e2e",token:"entity.other.attribute-name.class.css"},{foreground:"616161",token:"meta.property-name.css"},{foreground:"e92e2e",token:"support.function"},{foreground:"ffffff",background:"e92e2e",token:"invalid"},{foreground:"e92e2e",token:"punctuation.section.embedded"},{foreground:"606060",token:"punctuation.definition.tag"},{foreground:"a165ac",token:"constant.other.color.rgb-value.css"},{foreground:"a165ac",token:"support.constant.property-value.css"}],colors:{"editor.foreground":"#929292","editor.background":"#191919","editor.selectionBackground":"#000000","editor.lineHighlightBackground":"#D7D7D7","editorCursor.foreground":"#7DA5DC","editorWhitespace.foreground":"#BFBFBF"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"bcc8ba",token:"comment"},{foreground:"5d90cd",token:"string"},{foreground:"46a609",token:"constant.numeric"},{foreground:"39946a",token:"constant.language"},{foreground:"af956f",token:"keyword"},{foreground:"af956f",token:"support.constant.property-value"},{foreground:"af956f",token:"constant.other.color"},{foreground:"96dc5f",token:"keyword.other.unit"},{foreground:"484848",token:"keyword.operator"},{foreground:"c52727",token:"storage"},{foreground:"858585",token:"entity.other.inherited-class"},{foreground:"606060",token:"entity.name.tag"},{foreground:"bf78cc",token:"constant.character.entity"},{foreground:"bf78cc",token:"support.class.js"},{foreground:"606060",token:"entity.other.attribute-name"},{foreground:"c52727",token:"meta.selector.css"},{foreground:"c52727",token:"entity.name.tag.css"},{foreground:"c52727",token:"entity.other.attribute-name.id.css"},{foreground:"c52727",token:"entity.other.attribute-name.class.css"},{foreground:"484848",token:"meta.property-name.css"},{foreground:"c52727",token:"support.function"},{background:"ff002a",token:"invalid"},{foreground:"c52727",token:"punctuation.section.embedded"},{foreground:"606060",token:"punctuation.definition.tag"},{foreground:"bf78cc",token:"constant.other.color.rgb-value.css"},{foreground:"bf78cc",token:"support.constant.property-value.css"}],colors:{"editor.foreground":"#000000","editor.background":"#FFFFFF","editor.selectionBackground":"#BDD5FC","editor.lineHighlightBackground":"#FFFBD1","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#BFBFBF"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"e1efff",token:"punctuation - (punctuation.definition.string | punctuation.definition.comment)"},{foreground:"ff628c",token:"constant"},{foreground:"ffdd00",token:"entity"},{foreground:"ff9d00",token:"keyword"},{foreground:"ffee80",token:"storage"},{foreground:"3ad900",token:"string -string.unquoted.old-plist -string.unquoted.heredoc"},{foreground:"3ad900",token:"string.unquoted.heredoc string"},{foreground:"0088ff",fontStyle:"italic",token:"comment"},{foreground:"80ffbb",token:"support"},{foreground:"cccccc",token:"variable"},{foreground:"ff80e1",token:"variable.language"},{foreground:"ffee80",token:"meta.function-call"},{foreground:"f8f8f8",background:"800f00",token:"invalid"},{foreground:"ffffff",background:"223545",token:"text source"},{foreground:"ffffff",background:"223545",token:"string.unquoted.heredoc"},{foreground:"ffffff",background:"223545",token:"source source"},{foreground:"80fcff",fontStyle:"italic",token:"entity.other.inherited-class"},{foreground:"9eff80",token:"string.quoted source"},{foreground:"80ff82",token:"string constant"},{foreground:"80ffc2",token:"string.regexp"},{foreground:"edef7d",token:"string variable"},{foreground:"ffb054",token:"support.function"},{foreground:"eb939a",token:"support.constant"},{foreground:"ff1e00",token:"support.type.exception"},{foreground:"8996a8",token:"meta.preprocessor.c"},{foreground:"afc4db",token:"meta.preprocessor.c keyword"},{foreground:"73817d",token:"meta.sgml.html meta.doctype"},{foreground:"73817d",token:"meta.sgml.html meta.doctype entity"},{foreground:"73817d",token:"meta.sgml.html meta.doctype string"},{foreground:"73817d",token:"meta.xml-processing"},{foreground:"73817d",token:"meta.xml-processing entity"},{foreground:"73817d",token:"meta.xml-processing string"},{foreground:"9effff",token:"meta.tag"},{foreground:"9effff",token:"meta.tag entity"},{foreground:"9effff",token:"meta.selector.css entity.name.tag"},{foreground:"ffb454",token:"meta.selector.css entity.other.attribute-name.id"},{foreground:"5fe461",token:"meta.selector.css entity.other.attribute-name.class"},{foreground:"9df39f",token:"support.type.property-name.css"},{foreground:"f6f080",token:"meta.property-group support.constant.property-value.css"},{foreground:"f6f080",token:"meta.property-value support.constant.property-value.css"},{foreground:"f6aa11",token:"meta.preprocessor.at-rule keyword.control.at-rule"},{foreground:"edf080",token:"meta.property-value support.constant.named-color.css"},{foreground:"edf080",token:"meta.property-value constant"},{foreground:"eb939a",token:"meta.constructor.argument.css"},{foreground:"f8f8f8",background:"000e1a",token:"meta.diff"},{foreground:"f8f8f8",background:"000e1a",token:"meta.diff.header"},{foreground:"f8f8f8",background:"4c0900",token:"markup.deleted"},{foreground:"f8f8f8",background:"806f00",token:"markup.changed"},{foreground:"f8f8f8",background:"154f00",token:"markup.inserted"},{background:"8fddf6",token:"markup.raw"},{background:"004480",token:"markup.quote"},{background:"130d26",token:"markup.list"},{foreground:"c1afff",fontStyle:"bold",token:"markup.bold"},{foreground:"b8ffd9",fontStyle:"italic",token:"markup.italic"},{foreground:"c8e4fd",background:"001221",fontStyle:"bold",token:"markup.heading"}],colors:{"editor.foreground":"#FFFFFF","editor.background":"#002240","editor.selectionBackground":"#B36539","editor.lineHighlightBackground":"#000000","editorCursor.foreground":"#FFFFFF","editorWhitespace.foreground":"#FFFFFF"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"5a525f",fontStyle:"italic",token:"comment"},{foreground:"811f24",fontStyle:"bold",token:"constant"},{foreground:"bf4f24",token:"entity"},{foreground:"794938",token:"keyword"},{foreground:"a71d5d",fontStyle:"italic",token:"storage"},{foreground:"0b6125",token:"string | punctuation.definition.string"},{foreground:"691c97",token:"support"},{foreground:"234a97",token:"variable"},{foreground:"794938",token:"punctuation.separator"},{foreground:"b52a1d",fontStyle:"bold italic underline",token:"invalid.deprecated"},{foreground:"f8f8f8",background:"b52a1d",fontStyle:"italic underline",token:"invalid.illegal"},{foreground:"080808",background:"6f8bba",token:"string source"},{foreground:"696969",fontStyle:"bold",token:"string constant"},{foreground:"234a97",token:"string variable"},{foreground:"cf5628",token:"string.regexp"},{foreground:"cf5628",fontStyle:"bold italic",token:"string.regexp.character-class"},{foreground:"cf5628",fontStyle:"bold italic",token:"string.regexp constant.character.escaped"},{foreground:"cf5628",fontStyle:"bold italic",token:"string.regexp source.ruby.embedded"},{foreground:"cf5628",fontStyle:"bold italic",token:"string.regexp string.regexp.arbitrary-repitition"},{foreground:"811f24",fontStyle:"bold",token:"string.regexp constant.character.escape"},{background:"6f8bba",token:"text source"},{foreground:"693a17",token:"support.function"},{foreground:"b4371f",token:"support.constant"},{foreground:"234a97",token:"support.variable"},{foreground:"693a17",token:"markup.list"},{foreground:"19356d",fontStyle:"bold",token:"markup.heading | markup.heading entity.name"},{foreground:"0b6125",background:"bbbbbb",fontStyle:"italic",token:"markup.quote"},{foreground:"080808",fontStyle:"italic",token:"markup.italic"},{foreground:"080808",fontStyle:"bold",token:"markup.bold"},{foreground:"080808",fontStyle:"underline",token:"markup.underline"},{foreground:"234a97",fontStyle:"italic underline",token:"markup.link"},{foreground:"234a97",background:"bbbbbb",token:"markup.raw"},{foreground:"59140e",token:"markup.deleted"},{foreground:"19356d",background:"dcdcdc",fontStyle:"bold",token:"meta.separator"}],colors:{"editor.foreground":"#080808","editor.background":"#F9F9F9","editor.selectionBackground":"#275FFF","editor.lineHighlightBackground":"#2463B4","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#4B4B7E"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"000000",token:"text"},{foreground:"ee000b",token:"constant.numeric - source.css"},{foreground:"9a9a9a",token:"comment"},{foreground:"00359e",token:"text.html meta.tag"},{foreground:"001eff",token:"text.html.basic meta.tag string.quoted - source"},{foreground:"000000",fontStyle:"bold",token:"text.html.basic constant.character.entity.html"},{foreground:"106800",token:"text.html meta.tag.a - string"},{foreground:"6d232e",token:"text.html meta.tag.img - string"},{foreground:"ff9700",token:"text.html meta.tag.form - string"},{foreground:"009079",token:"text.html meta.tag.table - string"},{foreground:"842b44",token:"source.js.embedded.html punctuation.definition.tag - source.php"},{foreground:"842b44",token:"source.js.embedded.html entity.name.tag.script"},{foreground:"842b44",token:"source.js.embedded entity.other.attribute-name - source.js string"},{foreground:"9a9a9a",token:"source.js comment - source.php"},{foreground:"000000",token:"source.js meta.function - source.php"},{foreground:"24c696",token:"source.js meta.class - source.php"},{foreground:"24c696",token:"source.js support.function - source.php"},{foreground:"0035ff",token:"source.js string - source.php"},{foreground:"0035ff",token:"source.js keyword.operator"},{foreground:"7e00b7",token:"source.js support.class"},{foreground:"000000",fontStyle:"bold",token:"source.js storage"},{foreground:"05208c",fontStyle:"bold",token:"source.js storage - storage.type.function - source.php"},{foreground:"05208c",fontStyle:"bold",token:"source.js constant - source.php"},{foreground:"05208c",fontStyle:"bold",token:"source.js keyword - source.php"},{foreground:"05208c",fontStyle:"bold",token:"source.js variable.language"},{foreground:"05208c",fontStyle:"bold",token:"source.js meta.brace"},{foreground:"05208c",fontStyle:"bold",token:"source.js punctuation.definition.parameters.begin"},{foreground:"05208c",fontStyle:"bold",token:"source.js punctuation.definition.parameters.end"},{foreground:"106800",token:"source.js string.regexp"},{foreground:"106800",token:"source.js string.regexp constant"},{foreground:"8d00b7",token:"source.css.embedded.html punctuation.definition.tag"},{foreground:"8d00b7",token:"source.css.embedded.html entity.name.tag.style"},{foreground:"8d00b7",token:"source.css.embedded entity.other.attribute-name - meta.selector"},{foreground:"009c7f",fontStyle:"bold",token:"source.css meta.at-rule.import.css"},{foreground:"ee000b",fontStyle:"bold",token:"source.css keyword.other.important"},{foreground:"430303",fontStyle:"bold",token:"source.css meta.at-rule.media"},{foreground:"106800",token:"source.css string"},{foreground:"da29ff",token:"source.css meta.selector"},{foreground:"da29ff",token:"source.css meta.property-list"},{foreground:"da29ff",token:"source.css meta.at-rule"},{foreground:"da29ff",fontStyle:"bold",token:"source.css punctuation.separator - source.php"},{foreground:"da29ff",fontStyle:"bold",token:"source.css punctuation.terminator - source.php"},{foreground:"05208c",token:"source.css meta.property-name"},{foreground:"0035ff",token:"source.css meta.property-value"},{foreground:"ee000b",fontStyle:"bold",token:"source.php punctuation.section.embedded.begin"},{foreground:"ee000b",fontStyle:"bold",token:"source.php punctuation.section.embedded.end"},{foreground:"000000",token:"source.php - punctuation.section"},{foreground:"000000",token:"source.php variable"},{foreground:"000000",token:"source.php meta.function.arguments"},{foreground:"05208c",token:"source.php punctuation - string - variable - meta.function"},{foreground:"24bf96",token:"source.php storage.type"},{foreground:"009714",token:"source.php keyword - comment"},{foreground:"009714",token:"source.php storage.type.class"},{foreground:"009714",token:"source.php storage.type.interface"},{foreground:"009714",token:"source.php storage.modifier"},{foreground:"009714",token:"source.php constant.language"},{foreground:"0035ff",token:"source.php support"},{foreground:"0035ff",token:"source.php storage"},{foreground:"0035ff",token:"source.php keyword.operator"},{foreground:"0035ff",token:"source.php storage.type.function"},{foreground:"0092f2",token:"source.php variable.other.global"},{foreground:"551d02",token:"source.php support.constant"},{foreground:"551d02",token:"source.php constant.language.php"},{foreground:"e20000",token:"source.php string"},{foreground:"e20000",token:"source.php string keyword.operator"},{foreground:"ff6200",token:"source.php string.quoted.double variable"},{foreground:"ff9404",token:"source.php comment"},{foreground:"ee000b",background:"efff8a",fontStyle:"bold",token:"invalid"}],colors:{"editor.foreground":"#000000","editor.background":"#FFFFFF","editor.selectionBackground":"#5EA0FF","editor.lineHighlightBackground":"#000000","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#BFBFBF"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"00b418",token:"comment"},{foreground:"0206ff",fontStyle:"italic",token:"variable"},{foreground:"0100b6",fontStyle:"bold",token:"keyword"},{foreground:"cd0000",fontStyle:"italic",token:"constant.numeric"},{foreground:"c5060b",fontStyle:"italic",token:"constant"},{foreground:"585cf6",fontStyle:"italic",token:"constant.language"},{foreground:"d80800",token:"string"},{foreground:"26b31a",token:"constant.character.escape"},{foreground:"26b31a",token:"string source"},{foreground:"1a921c",token:"meta.preprocessor"},{foreground:"0c450d",fontStyle:"bold",token:"keyword.control.import"},{foreground:"0000a2",fontStyle:"bold",token:"entity.name.function"},{foreground:"0000a2",fontStyle:"bold",token:"keyword.other.name-of-parameter.objc"},{fontStyle:"italic",token:"entity.name.type"},{fontStyle:"italic",token:"entity.other.inherited-class"},{fontStyle:"italic",token:"variable.parameter"},{foreground:"70727e",token:"storage.type.method"},{fontStyle:"italic",token:"meta.section entity.name.section"},{fontStyle:"italic",token:"declaration.section entity.name.section"},{foreground:"3c4c72",fontStyle:"bold",token:"support.function"},{foreground:"6d79de",fontStyle:"bold",token:"support.class"},{foreground:"6d79de",fontStyle:"bold",token:"support.type"},{foreground:"06960e",fontStyle:"bold",token:"support.constant"},{foreground:"21439c",fontStyle:"bold",token:"support.variable"},{foreground:"687687",token:"keyword.operator.js"},{foreground:"ffffff",background:"990000",token:"invalid"},{background:"ffd0d0",token:"invalid.deprecated.trailing-whitespace"},{background:"427ff5",token:"text source"},{background:"427ff5",token:"string.unquoted"},{foreground:"68685b",token:"meta.xml-processing"},{foreground:"68685b",token:"declaration.xml-processing"},{foreground:"888888",token:"meta.doctype"},{foreground:"888888",token:"declaration.doctype"},{fontStyle:"italic",token:"meta.doctype.DTD"},{fontStyle:"italic",token:"declaration.doctype.DTD"},{foreground:"1c02ff",token:"meta.tag"},{foreground:"1c02ff",token:"declaration.tag"},{fontStyle:"bold",token:"entity.name.tag"},{fontStyle:"italic",token:"entity.other.attribute-name"},{foreground:"0c07ff",fontStyle:"bold",token:"markup.heading"},{foreground:"000000",fontStyle:"italic",token:"markup.quote"},{foreground:"b90690",token:"markup.list"}],colors:{"editor.foreground":"#000000","editor.background":"#FFFFFF","editor.selectionBackground":"#C3DCFF","editor.lineHighlightBackground":"#000000","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#BFBFBF"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"0066ff",fontStyle:"italic",token:"comment"},{foreground:"43a8ed",fontStyle:"bold",token:"keyword"},{foreground:"43a8ed",fontStyle:"bold",token:"storage"},{foreground:"44aa43",token:"constant.numeric"},{foreground:"c5656b",fontStyle:"bold",token:"constant"},{foreground:"585cf6",fontStyle:"bold",token:"constant.language"},{foreground:"318495",token:"variable.language"},{foreground:"318495",token:"variable.other"},{foreground:"049b0a",token:"string"},{foreground:"2fe420",token:"constant.character.escape"},{foreground:"2fe420",token:"string source"},{foreground:"1a921c",token:"meta.preprocessor"},{foreground:"9aff87",fontStyle:"bold",token:"keyword.control.import"},{foreground:"ff9358",fontStyle:"bold",token:"entity.name.function"},{foreground:"ff9358",fontStyle:"bold",token:"keyword.other.name-of-parameter.objc"},{fontStyle:"underline",token:"entity.name.type"},{fontStyle:"italic",token:"entity.other.inherited-class"},{fontStyle:"italic",token:"variable.parameter"},{foreground:"8b8e9c",token:"storage.type.method"},{fontStyle:"italic",token:"meta.section entity.name.section"},{fontStyle:"italic",token:"declaration.section entity.name.section"},{foreground:"7290d9",fontStyle:"bold",token:"support.function"},{foreground:"6d79de",fontStyle:"bold",token:"support.class"},{foreground:"6d79de",fontStyle:"bold",token:"support.type"},{foreground:"00af0e",fontStyle:"bold",token:"support.constant"},{foreground:"2f5fe0",fontStyle:"bold",token:"support.variable"},{foreground:"687687",token:"keyword.operator.js"},{foreground:"ffffff",background:"990000",token:"invalid"},{background:"ffd0d0",token:"invalid.deprecated.trailing-whitespace"},{background:"f5aa77",token:"text source"},{background:"f5aa77",token:"string.unquoted"},{foreground:"8f7e65",token:"meta.tag.preprocessor.xml"},{foreground:"888888",token:"meta.tag.sgml.doctype"},{fontStyle:"italic",token:"string.quoted.docinfo.doctype.DTD"},{foreground:"43a8ed",token:"meta.tag"},{foreground:"43a8ed",token:"declaration.tag"},{fontStyle:"bold",token:"entity.name.tag"},{fontStyle:"italic",token:"entity.other.attribute-name"}],colors:{"editor.foreground":"#BDAE9D","editor.background":"#2A211C","editor.selectionBackground":"#C3DCFF","editor.lineHighlightBackground":"#3A312C","editorCursor.foreground":"#889AFF","editorWhitespace.foreground":"#BFBFBF"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"999988",fontStyle:"italic",token:"comment"},{foreground:"999999",fontStyle:"bold",token:"comment.block.preprocessor"},{foreground:"999999",fontStyle:"bold italic",token:"comment.documentation"},{foreground:"999999",fontStyle:"bold italic",token:"comment.block.documentation"},{foreground:"a61717",background:"e3d2d2",token:"invalid.illegal"},{fontStyle:"bold",token:"keyword"},{fontStyle:"bold",token:"storage"},{fontStyle:"bold",token:"keyword.operator"},{fontStyle:"bold",token:"constant.language"},{fontStyle:"bold",token:"support.constant"},{foreground:"445588",fontStyle:"bold",token:"storage.type"},{foreground:"445588",fontStyle:"bold",token:"support.type"},{foreground:"008080",token:"entity.other.attribute-name"},{foreground:"0086b3",token:"variable.other"},{foreground:"999999",token:"variable.language"},{foreground:"445588",fontStyle:"bold",token:"entity.name.type"},{foreground:"445588",fontStyle:"bold",token:"entity.other.inherited-class"},{foreground:"445588",fontStyle:"bold",token:"support.class"},{foreground:"008080",token:"variable.other.constant"},{foreground:"800080",token:"constant.character.entity"},{foreground:"990000",token:"entity.name.exception"},{foreground:"990000",token:"entity.name.function"},{foreground:"990000",token:"support.function"},{foreground:"990000",token:"keyword.other.name-of-parameter"},{foreground:"555555",token:"entity.name.section"},{foreground:"000080",token:"entity.name.tag"},{foreground:"008080",token:"variable.parameter"},{foreground:"008080",token:"support.variable"},{foreground:"009999",token:"constant.numeric"},{foreground:"009999",token:"constant.other"},{foreground:"dd1144",token:"string - string source"},{foreground:"dd1144",token:"constant.character"},{foreground:"009926",token:"string.regexp"},{foreground:"990073",token:"constant.other.symbol"},{fontStyle:"bold",token:"punctuation"},{foreground:"000000",background:"ffdddd",token:"markup.deleted"},{fontStyle:"italic",token:"markup.italic"},{foreground:"aa0000",token:"markup.error"},{foreground:"999999",token:"markup.heading.1"},{foreground:"000000",background:"ddffdd",token:"markup.inserted"},{foreground:"888888",token:"markup.output"},{foreground:"888888",token:"markup.raw"},{foreground:"555555",token:"markup.prompt"},{fontStyle:"bold",token:"markup.bold"},{foreground:"aaaaaa",token:"markup.heading"},{foreground:"aa0000",token:"markup.traceback"},{fontStyle:"underline",token:"markup.underline"},{foreground:"999999",background:"eaf2f5",token:"meta.diff.range"},{foreground:"999999",background:"eaf2f5",token:"meta.diff.index"},{foreground:"999999",background:"eaf2f5",token:"meta.separator"},{foreground:"999999",background:"ffdddd",token:"meta.diff.header.from-file"},{foreground:"999999",background:"ddffdd",token:"meta.diff.header.to-file"},{foreground:"4183c4",token:"meta.link"}],colors:{"editor.foreground":"#000000","editor.background":"#F8F8FF","editor.selectionBackground":"#B4D5FE","editor.lineHighlightBackground":"#FFFEEB","editorCursor.foreground":"#666666","editorWhitespace.foreground":"#BBBBBB"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"919191",token:"comment"},{foreground:"00a33f",token:"string"},{foreground:"a535ae",token:"constant.language"},{foreground:"ff5600",token:"keyword"},{foreground:"ff5600",token:"storage"},{foreground:"21439c",token:"entity.name.type"},{foreground:"21439c",token:"entity.name.function"},{foreground:"a535ae",token:"support.function"},{foreground:"a535ae",token:"support.constant"},{foreground:"a535ae",token:"support.type"},{foreground:"a535ae",token:"support.class"},{foreground:"a535ae",token:"support.variable"},{foreground:"ffffff",background:"990000",token:"invalid"},{foreground:"990000",token:"constant.other.placeholder.py"}],colors:{"editor.foreground":"#000000","editor.background":"#FFFFFF","editor.selectionBackground":"#BAD6FD","editor.lineHighlightBackground":"#000000","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#BFBFBF"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"940494",background:"444494",token:"punctuation.definition.list"},{foreground:"404f50",background:"5f0fff",fontStyle:"italic",token:"comment"},{foreground:"5a5f9b",background:"aaafdb",token:"string"},{foreground:"4f827b",background:"77c2bb",token:"constant.numeric"},{foreground:"025f69",background:"7f2299",token:"constant.character"},{foreground:"025f69",background:"7f2299",token:"constant.other"},{foreground:"7d7e52",background:"bdbe82",token:"constant.language"},{foreground:"7b5d8f",background:"9b9ffd",fontStyle:"bold",token:"storage.modifier"},{foreground:"7b5cbf",background:"8b5ddf",fontStyle:"bold",token:"storage"},{foreground:"025f49",background:"22ff49",token:"entity.name.function"},{foreground:"9d7e62",background:"bdbe82",token:"support.function"},{foreground:"939469",background:"e3e4a9",token:"entity.name.function.misc"},{foreground:"856f63",background:"a5df93",token:"entity.name.function.predicate"},{foreground:"af938c",background:"dfb3ac",token:"entity.name.function.io"},{foreground:"7bafad",background:"bbdfdd",token:"variable.other.external-symbol"},{foreground:"316fcf",background:"3aafff",token:"variable.language"},{foreground:"316fcf",background:"3aafff",token:"variable.other"},{foreground:"33969f",background:"05d6f9",fontStyle:"italic",token:"variable.parameter"},{foreground:"674aa8",background:"a3aad8",token:"keyword"},{foreground:"b9986f",background:"b998df",fontStyle:"bold",token:"entity.name.class"},{foreground:"22af9d",background:"b998df",token:"entity.name.structure"},{foreground:"af47a9",background:"af77a9",token:"entity.name.type"},{foreground:"cc4357",background:"ffddff",token:"entity.name.class"},{foreground:"cc4357",background:"ffddff",token:"entity.name.type.class"},{foreground:"ef6aa7",background:"ef6aa7",token:"support.class"},{foreground:"dfdfd5",background:"cc1b27",token:"invalid"},{foreground:"13499f",background:"0099ff",fontStyle:"italic",token:"string source"},{foreground:"3976a2",background:"49a6d2",token:"entity.name.tag"},{foreground:"4946c2",background:"4986c2",token:"entity.other.attribute-name"}],colors:{"editor.foreground":"#0f0009","editor.background":"#f3f2f3","editor.selectionBackground":"#6405D0","editor.lineHighlightBackground":"#ffffff","editorCursor.foreground":"#100011","editorWhitespace.foreground":"#000000","editor.selectionHighlightBorder":"#8425f0"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"949494",background:"dcdcdc",token:"comment"},{foreground:"a54776",background:"e9d6dc",token:"comment.line.region"},{foreground:"668d68",background:"e9e4be",token:"comment.line.marker.php"},{foreground:"456e48",background:"d9eab8",token:"comment.line.todo.php"},{foreground:"880006",background:"e1d0ca",token:"comment.line.fixme.php"},{foreground:"cd6839",token:"constant"},{foreground:"8b4726",background:"e8e9e8",token:"entity"},{foreground:"a52a2a",token:"storage"},{foreground:"cd3700",token:"keyword.control"},{foreground:"b03060",token:"support.function - variable"},{foreground:"b03060",token:"keyword.other.special-method.ruby"},{foreground:"b83126",token:"keyword.operator.comparison"},{foreground:"b83126",token:"keyword.operator.logical"},{foreground:"639300",token:"string"},{foreground:"007e69",token:"string.quoted.double.ruby source.ruby.embedded.source"},{foreground:"104e8b",token:"support"},{foreground:"009acd",token:"variable"},{foreground:"fd1732",background:"e8e9e8",fontStyle:"italic underline",token:"invalid.deprecated"},{foreground:"fd1224",background:"ff0600",token:"invalid.illegal"},{foreground:"7b211a",background:"77ade9",token:"text source"},{foreground:"005273",fontStyle:"italic",token:"entity.other.inherited-class"},{foreground:"417e00",background:"c9d4be",token:"string.regexp"},{foreground:"005273",token:"support.function"},{foreground:"cf6a4c",token:"support.constant"},{fontStyle:"underline",token:"entity.name.type"},{foreground:"676767",fontStyle:"italic",token:"meta.cast"},{foreground:"494949",token:"meta.sgml.html meta.doctype"},{foreground:"494949",token:"meta.sgml.html meta.doctype entity"},{foreground:"494949",token:"meta.sgml.html meta.doctype string"},{foreground:"494949",token:"meta.xml-processing"},{foreground:"494949",token:"meta.xml-processing entity"},{foreground:"494949",token:"meta.xml-processing string"},{foreground:"005273",token:"meta.tag"},{foreground:"005273",token:"meta.tag entity"},{foreground:"005273",token:"source entity.name.tag"},{foreground:"005273",token:"source entity.other.attribute-name"},{foreground:"005273",token:"meta.tag.inline"},{foreground:"005273",token:"meta.tag.inline entity"},{foreground:"b85423",token:"entity.name.tag.namespace"},{foreground:"b85423",token:"entity.other.attribute-name.namespace"},{foreground:"b83126",token:"entity.name.tag.css"},{foreground:"b12e25",token:"meta.selector.css entity.other.attribute-name.tag.pseudo-class"},{foreground:"b8002d",token:"meta.selector.css entity.other.attribute-name.id"},{foreground:"b8002d",token:"entity.other.attribute-name.id.css"},{foreground:"b8012d",token:"meta.selector.css entity.other.attribute-name.class"},{foreground:"b8012d",token:"entity.other.attribute-name.class.css"},{foreground:"005273",token:"support.type.property-name.css"},{foreground:"005273",token:"meta.property-name"},{foreground:"8693a5",token:"meta.preprocessor.at-rule keyword.control.at-rule"},{foreground:"417e00",token:"meta.property-value"},{foreground:"b8860b",token:"constant.other.color"},{foreground:"ee3a8c",token:"keyword.other.important"},{foreground:"ee3a8c",token:"keyword.other.default"},{foreground:"417e00",token:"meta.property-value support.constant.named-color.css"},{foreground:"417e00",token:"meta.property-value constant"},{foreground:"417e00",token:"meta.constructor.argument.css"},{foreground:"9a5925",token:"constant.numeric"},{foreground:"9f5e3d",token:"keyword.other"},{foreground:"1b76b0",token:"source.scss support.function.misc"},{foreground:"f8bebe",background:"82000e",fontStyle:"italic",token:"meta.diff"},{foreground:"f8bebe",background:"82000e",fontStyle:"italic",token:"meta.diff.header"},{foreground:"f8f8f8",background:"420e09",token:"markup.deleted"},{foreground:"f8f8f8",background:"4a410d",token:"markup.changed"},{foreground:"f8f8f8",background:"253b22",token:"markup.inserted"},{foreground:"cd2626",fontStyle:"italic",token:"markup.italic"},{foreground:"8b1a1a",fontStyle:"bold",token:"markup.bold"},{foreground:"e18964",fontStyle:"underline",token:"markup.underline"},{foreground:"8b7765",background:"fee09c",fontStyle:"italic",token:"markup.quote"},{foreground:"b8012d",background:"bf6133",token:"markup.heading"},{foreground:"b8012d",background:"bf6133",token:"markup.heading entity"},{foreground:"8f5b26",token:"markup.list"},{foreground:"578bb3",background:"b1b3ba",token:"markup.raw"},{foreground:"f67b37",fontStyle:"italic",token:"markup comment"},{foreground:"60a633",background:"242424",token:"meta.separator"},{foreground:"578bb3",background:"b1b3ba",token:"markup.other"},{background:"eeeeee",token:"meta.line.entry.logfile"},{background:"eeeeee",token:"meta.line.exit.logfile"},{background:"751012",token:"meta.line.error.logfile"},{background:"dcdcdc",token:"punctuation.definition.end"},{foreground:"629f9e",token:"entity.other.attribute-name.html"},{foreground:"79a316",token:"string.quoted.double.js"},{foreground:"79a316",token:"string.quoted.single.js"},{foreground:"488c45",fontStyle:"italic",token:"entity.name.function.js"},{foreground:"666666",token:"source.js.embedded.html"},{foreground:"bb3182",token:"storage.type.js"},{foreground:"338fd5",token:"support.class.js"},{foreground:"a99904",fontStyle:"italic",token:"keyword.control.js"},{foreground:"a99904",fontStyle:"italic",token:"keyword.operator.js"},{foreground:"616838",background:"d7d7a7",token:"entity.name.class"},{background:"968f96",token:"active_guide"},{background:"cbdc2f",token:"highlight_matching_word"}],colors:{"editor.foreground":"#363636","editor.background":"#E8E9E8","editor.selectionBackground":"#F5AA00","editor.lineHighlightBackground":"#CBDC2F","editorCursor.foreground":"#202020","editorWhitespace.foreground":"#000000","editorIndentGuide.background":"#8F8F8F","editorIndentGuide.activeBackground":"#FA2828"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"8c868f",token:"comment"},{foreground:"3b5bb5",token:"constant"},{foreground:"3b5bb5",token:"entity"},{foreground:"d62a28",token:"text.tex.latex entity"},{foreground:"ff7800",token:"keyword"},{foreground:"ff7800",token:"storage"},{foreground:"409b1c",token:"string"},{foreground:"409b1c",token:"meta.verbatim"},{foreground:"3b5bb5",token:"support"},{foreground:"990000",fontStyle:"italic",token:"invalid.deprecated"},{foreground:"f8f8f8",background:"9d1e15",token:"invalid.illegal"},{foreground:"3b5bb5",fontStyle:"italic",token:"entity.other.inherited-class"},{foreground:"671ebb",token:"string constant.other.placeholder"},{foreground:"3e4558",token:"meta.function-call.py"},{foreground:"3a4a64",token:"meta.tag"},{foreground:"3a4a64",token:"meta.tag entity"},{foreground:"7f90aa",token:"keyword.type.variant"},{foreground:"000000",token:"source.ocaml keyword.operator"},{foreground:"3b5bb5",token:"source.ocaml keyword.operator.symbol.infix"},{foreground:"3b5bb5",token:"source.ocaml keyword.operator.symbol.prefix"},{fontStyle:"underline",token:"source.ocaml keyword.operator.symbol.infix.floating-point"},{fontStyle:"underline",token:"source.ocaml keyword.operator.symbol.prefix.floating-point"},{fontStyle:"underline",token:"source.ocaml constant.numeric.floating-point"}],colors:{"editor.foreground":"#000000","editor.background":"#FFFFFF","editor.selectionBackground":"#E3FC8D","editor.lineHighlightBackground":"#EFFCA6","editorCursor.foreground":"#7C7C7C","editorWhitespace.foreground":"#B6B6B6"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"8d2e75",fontStyle:"italic",token:"comment"},{foreground:"ffffff",background:"ff0000",token:"string"},{foreground:"ffffff",token:"constant.numeric"},{foreground:"ffa995",fontStyle:"bold",token:"constant.language"},{foreground:"ffa995",background:"0000ff",token:"constant.character"},{foreground:"ffa995",background:"0000ff",token:"constant.other"},{foreground:"ffa995",token:"variable.language"},{foreground:"ffa995",token:"variable.other"},{fontStyle:"bold",token:"keyword"},{foreground:"3a68a3",fontStyle:"bold",token:"storage"},{fontStyle:"underline",token:"entity.name.type"},{fontStyle:"italic",token:"entity.other.inherited-class"},{foreground:"ffa995",token:"entity.name.function"},{fontStyle:"italic",token:"variable.parameter"},{foreground:"0000ff",fontStyle:"bold",token:"entity.name"},{foreground:"3a68a3",fontStyle:"italic",token:"entity.other.attribute-name"},{foreground:"e5b3ff",token:"support.function"},{foreground:"000000",token:"support.function.any-method"},{fontStyle:"italic",token:"support.function.any-method - punctuation"},{foreground:"ffffff",token:"support.constant"},{foreground:"ffa995",token:"support.type"},{foreground:"ffa995",token:"support.class"},{foreground:"3a68a3",token:"support.variable"},{foreground:"ffffff",background:"797979",token:"invalid"},{foreground:"ffa995",background:"969696",fontStyle:"italic",token:"string.quoted.other.lt-gt.include"},{foreground:"ffa995",background:"969696",token:"string.quoted.double.include"},{foreground:"4d4e60",token:"markup.list"},{foreground:"ffffff",background:"0000ff",token:"markup.raw"},{foreground:"00f0c9",token:"markup.quote"},{foreground:"4c457e",token:"markup.quote markup.quote"},{background:"8a9ecb",token:"text.html source"}],colors:{"editor.foreground":"#000000","editor.background":"#969696","editor.selectionBackground":"#B1B1B1","editor.lineHighlightBackground":"#000000","editorCursor.foreground":"#FFFFFF","editorWhitespace.foreground":"#FF38FF"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"ac4bb8",fontStyle:"italic",token:"comment"},{foreground:"ffffff",background:"fe3838",token:"invalid.deprecated"},{foreground:"fc803a",token:"keyword"},{foreground:"fc803a",token:"storage"},{foreground:"c984cd",token:"entity.other.inherited-class"},{foreground:"7fc578",token:"constant.numeric"},{foreground:"68c1d8",token:"constant"},{foreground:"e1c582",token:"constant.language"},{foreground:"8ec65f",token:"string"},{foreground:"8ec65f",token:"constant.library"},{foreground:"68c1d8",token:"support.type"},{foreground:"8ec65f",token:"support.constant"},{foreground:"fc803a",token:"meta.tag"},{foreground:"fc803a",token:"declaration.tag"},{foreground:"fc803a",token:"entity.name.tag"},{foreground:"ac4bb8",fontStyle:"italic",token:"meta"},{foreground:"eaf1a3",token:"entity.other.attribute-name"},{foreground:"ffffff",background:"fe3838",token:"invalid"},{foreground:"b3e5b4",token:"constant.character.escaped"},{foreground:"b3e5b4",token:"constant.character.escape"},{foreground:"b3e5b4",token:"string source"},{foreground:"b3e5b4",token:"string source.ruby"},{foreground:"e6e1dc",background:"6fc58b",token:"markup.inserted"},{foreground:"e6e1dc",background:"ac3735",token:"markup.deleted"},{background:"5a9ee1",token:"meta.diff.header"},{background:"5a9ee1",token:"meta.separator.diff"},{background:"5a9ee1",token:"meta.diff.index"},{background:"5a9ee1",token:"meta.diff.range"}],colors:{"editor.foreground":"#E6E1DC","editor.background":"#1C1C1C","editor.selectionBackground":"#494949","editor.lineHighlightBackground":"#333435","editorCursor.foreground":"#FFFFFF","editorWhitespace.foreground":"#404040"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"ad2ea4",fontStyle:"italic",token:"comment"},{foreground:"fc6f09",token:"keyword"},{foreground:"fc6f09",token:"storage"},{foreground:"fc83ff",token:"entity.other.inherited-class"},{foreground:"58c554",token:"constant.numeric"},{foreground:"1edafb",token:"constant"},{foreground:"8dff0a",token:"constant.library"},{foreground:"fc6f09",token:"support.function"},{foreground:"fdc251",token:"constant.language"},{foreground:"8dff0a",token:"string"},{foreground:"1edafb",token:"support.type"},{foreground:"8dff0a",token:"support.constant"},{foreground:"fc6f09",token:"meta.tag"},{foreground:"fc6f09",token:"declaration.tag"},{foreground:"fc6f09",token:"entity.name.tag"},{foreground:"ffff89",token:"entity.other.attribute-name"},{foreground:"ffffff",background:"990000",token:"invalid"},{foreground:"519f50",token:"constant.character.escaped"},{foreground:"519f50",token:"constant.character.escape"},{foreground:"519f50",token:"string source"},{foreground:"519f50",token:"string source.ruby"},{foreground:"e6e1dc",background:"144212",token:"markup.inserted"},{foreground:"e6e1dc",background:"660000",token:"markup.deleted"},{background:"2f33ab",token:"meta.diff.header"},{background:"2f33ab",token:"meta.separator.diff"},{background:"2f33ab",token:"meta.diff.index"},{background:"2f33ab",token:"meta.diff.range"}],colors:{"editor.foreground":"#E6E1DC","editor.background":"#161616","editor.selectionBackground":"#454545","editor.lineHighlightBackground":"#333435","editorCursor.foreground":"#FFFFFF","editorWhitespace.foreground":"#404040"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"75715e",token:"comment"},{foreground:"e6db74",token:"string"},{foreground:"ae81ff",token:"constant.numeric"},{foreground:"ae81ff",token:"constant.language"},{foreground:"ae81ff",token:"constant.character"},{foreground:"ae81ff",token:"constant.other"},{foreground:"f92672",token:"keyword"},{foreground:"f92672",token:"storage"},{foreground:"66d9ef",fontStyle:"italic",token:"storage.type"},{foreground:"a6e22e",fontStyle:"underline",token:"entity.name.class"},{foreground:"a6e22e",fontStyle:"italic underline",token:"entity.other.inherited-class"},{foreground:"a6e22e",token:"entity.name.function"},{foreground:"fd971f",fontStyle:"italic",token:"variable.parameter"},{foreground:"f92672",token:"entity.name.tag"},{foreground:"a6e22e",token:"entity.other.attribute-name"},{foreground:"66d9ef",token:"support.function"},{foreground:"66d9ef",token:"support.constant"},{foreground:"66d9ef",fontStyle:"italic",token:"support.type"},{foreground:"66d9ef",fontStyle:"italic",token:"support.class"},{foreground:"f8f8f0",background:"f92672",token:"invalid"},{foreground:"f8f8f0",background:"ae81ff",token:"invalid.deprecated"},{foreground:"cfcfc2",token:"meta.structure.dictionary.json string.quoted.double.json"},{foreground:"75715e",token:"meta.diff"},{foreground:"75715e",token:"meta.diff.header"},{foreground:"f92672",token:"markup.deleted"},{foreground:"a6e22e",token:"markup.inserted"},{foreground:"e6db74",token:"markup.changed"},{foreground:"ae81ff",token:"constant.numeric.line-number.find-in-files - match"},{foreground:"e6db74",token:"entity.name.filename.find-in-files"}],colors:{"editor.foreground":"#F8F8F2","editor.background":"#272822","editor.selectionBackground":"#49483E","editor.lineHighlightBackground":"#3E3D32","editorCursor.foreground":"#F8F8F0","editorWhitespace.foreground":"#3B3A32","editorIndentGuide.activeBackground":"#9D550F","editor.selectionHighlightBorder":"#222218"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"a6c6ff",token:"comment"},{foreground:"a6c6ff",token:"comment.block"},{foreground:"66a968",token:"string"},{foreground:"cccccc",token:"constant.numeric"},{foreground:"757ad8",token:"keyword"},{foreground:"2f006e",token:"meta.preprocessor"},{fontStyle:"bold",token:"keyword.control.import"},{foreground:"aeb2f8",token:"support.function"},{foreground:"0000ff",token:"declaration.function function-result"},{fontStyle:"bold",token:"declaration.function function-name"},{fontStyle:"bold",token:"declaration.function argument-name"},{foreground:"0000ff",token:"declaration.function function-arg-type"},{fontStyle:"italic",token:"declaration.function function-argument"},{fontStyle:"underline",token:"declaration.class class-name"},{fontStyle:"italic underline",token:"declaration.class class-inheritance"},{foreground:"f8f8f8",background:"562d56",fontStyle:"bold",token:"invalid"},{foreground:"f8f8f8",background:"562d56",fontStyle:"bold",token:"invalid.illegal"},{foreground:"d2a8a1",fontStyle:"italic, underline",token:"invalid.deprecated"},{background:"ffd0d0",fontStyle:"bold",token:"invalid.deprecated.trailing-whitespace"},{fontStyle:"italic",token:"declaration.section section-name"},{foreground:"c10006",token:"string.interpolation"},{foreground:"e9c062",token:"string.regexp"},{foreground:"bebf55",token:"variable"},{foreground:"c1c144",token:"variable.language"},{foreground:"4fb7c5",token:"constant"},{foreground:"afa472",token:"constant.character"},{foreground:"de8e30",fontStyle:"bold",token:"constant.language"},{fontStyle:"underline",token:"embedded"},{foreground:"858ef4",token:"keyword.markup.element-name"},{foreground:"9b456f",token:"keyword.markup.attribute-name"},{foreground:"9b456f",token:"meta.attribute-with-value"},{foreground:"c82255",fontStyle:"bold",token:"keyword.exception"},{foreground:"797878",token:"keyword.operator"},{foreground:"6969fa",fontStyle:"bold",token:"keyword.control"},{foreground:"68685b",token:"meta.tag.preprocessor.xml"},{foreground:"494949",token:"meta.tag.sgml.doctype"},{fontStyle:"italic",token:"string.quoted.docinfo.doctype.DTD"},{foreground:"909090",token:"comment.other.server-side-include.xhtml"},{foreground:"909090",token:"comment.other.server-side-include.html"},{foreground:"858ef4",token:"text.html declaration.tag"},{foreground:"858ef4",token:"text.html meta.tag"},{foreground:"858ef4",token:"text.html entity.name.tag.xhtml"},{foreground:"9b456f",token:"keyword.markup.attribute-name"},{foreground:"777777",token:"keyword.other.phpdoc.php"},{foreground:"c82255",token:"keyword.other.include.php"},{foreground:"de8e20",fontStyle:"bold",token:"support.constant.core.php"},{foreground:"de8e10",fontStyle:"bold",token:"support.constant.std.php"},{foreground:"b72e1d",token:"variable.other.global.php"},{foreground:"00ff00",token:"variable.other.global.safer.php"},{foreground:"bfa36d",token:"string.quoted.single.php"},{foreground:"6969fa",token:"keyword.storage.php"},{foreground:"ad9361",token:"string.quoted.double.php"},{foreground:"ec9e00",token:"entity.other.attribute-name.id.css"},{foreground:"b8cd06",fontStyle:"bold",token:"entity.name.tag.css"},{foreground:"edca06",token:"entity.other.attribute-name.class.css"},{foreground:"2e759c",token:"entity.other.attribute-name.pseudo-class.css"},{foreground:"ffffff",background:"ff0000",token:"invalid.bad-comma.css"},{foreground:"9b2e4d",token:"support.constant.property-value.css"},{foreground:"e1c96b",token:"support.type.property-name.css"},{foreground:"666633",token:"constant.other.rgb-value.css"},{foreground:"666633",token:"support.constant.font-name.css"},{foreground:"7171f3",token:"support.constant.tm-language-def"},{foreground:"7171f3",token:"support.constant.name.tm-language-def"},{foreground:"6969fa",token:"keyword.other.unit.css"}],colors:{"editor.foreground":"#8F938F","editor.background":"#2C2828","editor.selectionBackground":"#DDF0FF","editor.lineHighlightBackground":"#FFFFFF","editorCursor.foreground":"#A7A7A7","editorWhitespace.foreground":"#FFFFFF"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"406040",token:"comment"},{foreground:"c03030",token:"string"},{foreground:"0080a0",token:"constant.numeric"},{fontStyle:"underline",token:"source.ocaml constant.numeric.floating-point"},{foreground:"800000",token:"constant.character"},{foreground:"2060a0",token:"keyword"},{foreground:"2060a0",token:"keyword.operator"},{fontStyle:"underline",token:"source.ocaml keyword.operator.symbol.prefix.floating-point"},{fontStyle:"underline",token:"source.ocaml keyword.operator.symbol.infix.floating-point"},{foreground:"0080ff",token:"entity.name.module"},{foreground:"0080ff",token:"support.other.module"},{foreground:"a08000",token:"storage.type"},{foreground:"008080",token:"storage"},{foreground:"c08060",token:"entity.name.class.variant"},{fontStyle:"bold",token:"keyword.other.directive"},{foreground:"800000",token:"entity.name.function"},{foreground:"800080",token:"storage.type.user-defined"},{foreground:"8000c0",token:"entity.name.type.class.type"}],colors:{"editor.foreground":"#000000","editor.background":"#F1F1F1","editor.selectionBackground":"#B0B0FF","editor.lineHighlightBackground":"#000000","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#BFBFBF"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"657b83",fontStyle:"italic",token:"comment"},{foreground:"2aa198",token:"string"},{foreground:"d30102",token:"string.regexp"},{foreground:"d33682",token:"constant.numeric"},{foreground:"268bd2",token:"variable.language"},{foreground:"268bd2",token:"variable.other"},{foreground:"859900",token:"keyword"},{foreground:"93a1a1",fontStyle:"bold",token:"storage"},{foreground:"cb4b16",token:"entity.name.class"},{foreground:"cb4b16",token:"entity.name.type.class"},{foreground:"268bd2",token:"entity.name.function"},{foreground:"859900",token:"punctuation.definition.variable"},{foreground:"d30102",token:"punctuation.section.embedded.begin"},{foreground:"d30102",token:"punctuation.section.embedded.end"},{foreground:"b58900",token:"constant.language"},{foreground:"b58900",token:"meta.preprocessor"},{foreground:"cb4b16",token:"support.function.construct"},{foreground:"cb4b16",token:"keyword.other.new"},{foreground:"cb4b16",token:"constant.character"},{foreground:"cb4b16",token:"constant.other"},{foreground:"6c71c4",token:"entity.other.inherited-class"},{foreground:"268bd2",fontStyle:"bold",token:"entity.name.tag"},{foreground:"657b83",token:"punctuation.definition.tag"},{foreground:"93a1a1",token:"entity.other.attribute-name"},{foreground:"268bd2",token:"support.function"},{foreground:"d30102",token:"punctuation.separator.continuation"},{foreground:"859900",token:"support.type"},{foreground:"859900",token:"support.class"},{foreground:"cb4b16",token:"support.type.exception"}],colors:{"editor.foreground":"#93A1A1","editor.background":"#002B36","editor.selectionBackground":"#073642","editor.lineHighlightBackground":"#073642","editorCursor.foreground":"#D30102","editorWhitespace.foreground":"#93A1A1"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"93a1a1",token:"comment"},{foreground:"2aa198",token:"string"},{foreground:"d30102",token:"string.regexp"},{foreground:"d33682",token:"constant.numeric"},{foreground:"268bd2",token:"variable.language"},{foreground:"268bd2",token:"variable.other"},{foreground:"859900",token:"keyword"},{foreground:"073642",fontStyle:"bold",token:"storage"},{foreground:"268bd2",token:"entity.name.class"},{foreground:"268bd2",token:"entity.name.type.class"},{foreground:"268bd2",token:"entity.name.function"},{foreground:"859900",token:"punctuation.definition.variable"},{foreground:"d30102",token:"punctuation.section.embedded.begin"},{foreground:"d30102",token:"punctuation.section.embedded.end"},{foreground:"b58900",token:"constant.language"},{foreground:"b58900",token:"meta.preprocessor"},{foreground:"d30102",token:"support.function.construct"},{foreground:"d30102",token:"keyword.other.new"},{foreground:"cb4b16",token:"constant.character"},{foreground:"cb4b16",token:"constant.other"},{foreground:"268bd2",fontStyle:"bold",token:"entity.name.tag"},{foreground:"93a1a1",token:"punctuation.definition.tag.begin"},{foreground:"93a1a1",token:"punctuation.definition.tag.end"},{foreground:"93a1a1",token:"entity.other.attribute-name"},{foreground:"268bd2",token:"support.function"},{foreground:"d30102",token:"punctuation.separator.continuation"},{foreground:"859900",token:"support.type"},{foreground:"859900",token:"support.class"},{foreground:"cb4b16",token:"support.type.exception"}],colors:{"editor.foreground":"#586E75","editor.background":"#FDF6E3","editor.selectionBackground":"#073642","editor.lineHighlightBackground":"#EEE8D5","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#93A1A1"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"473c45",token:"comment"},{foreground:"805978",token:"string"},{foreground:"a8885a",token:"constant"},{foreground:"596380",token:"variable.parameter"},{foreground:"596380",token:"variable.other"},{foreground:"728059",token:"keyword - keyword.operator"},{foreground:"728059",token:"keyword.operator.logical"},{foreground:"9ebf60",token:"storage"},{foreground:"6078bf",token:"entity"},{fontStyle:"italic",token:"entity.other.inherited-class"},{foreground:"8a4b66",token:"support"},{foreground:"893062",token:"support.type.exception"},{background:"5f0047",token:"invalid"},{background:"371d28",token:"meta.function.section"}],colors:{"editor.foreground":"#DDE6CF","editor.background":"#0D0D0D","editor.selectionBackground":"#40002F","editor.lineHighlightBackground":"#000000","editorCursor.foreground":"#7F005D","editorWhitespace.foreground":"#BFBFBF"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"aeaeae",fontStyle:"italic",token:"comment"},{foreground:"3387cc",token:"constant"},{foreground:"89bdff",token:"entity"},{foreground:"e28964",token:"keyword"},{foreground:"99cf50",token:"storage"},{foreground:"65b042",token:"string"},{foreground:"9b859d",token:"support"},{foreground:"3e87e3",token:"variable"},{foreground:"fd5ff1",fontStyle:"italic underline",token:"invalid.deprecated"},{foreground:"fd5ff1",background:"562d56",token:"invalid.illegal"},{background:"b1b3ba",token:"text source"},{foreground:"9b5c2e",fontStyle:"italic",token:"entity.other.inherited-class"},{foreground:"daefa3",token:"string.quoted source"},{foreground:"ddf2a4",token:"string constant"},{foreground:"e9c062",token:"string.regexp"},{foreground:"cf7d34",token:"string.regexp constant.character.escape"},{foreground:"cf7d34",token:"string.regexp source.ruby.embedded"},{foreground:"cf7d34",token:"string.regexp string.regexp.arbitrary-repitition"},{foreground:"8a9a95",token:"string variable"},{foreground:"dad085",token:"support.function"},{foreground:"cf6a4c",token:"support.constant"},{foreground:"8996a8",token:"meta.preprocessor.c"},{foreground:"afc4db",token:"meta.preprocessor.c keyword"},{fontStyle:"underline",token:"entity.name.type"},{foreground:"676767",fontStyle:"italic",token:"meta.cast"},{foreground:"494949",token:"meta.sgml.html meta.doctype"},{foreground:"494949",token:"meta.sgml.html meta.doctype entity"},{foreground:"494949",token:"meta.sgml.html meta.doctype string"},{foreground:"494949",token:"meta.xml-processing"},{foreground:"494949",token:"meta.xml-processing entity"},{foreground:"494949",token:"meta.xml-processing string"},{foreground:"89bdff",token:"meta.tag"},{foreground:"89bdff",token:"meta.tag entity"},{foreground:"e0c589",token:"source entity.name.tag"},{foreground:"e0c589",token:"source entity.other.attribute-name"},{foreground:"e0c589",token:"meta.tag.inline"},{foreground:"e0c589",token:"meta.tag.inline entity"},{foreground:"e18964",token:"entity.name.tag.namespace"},{foreground:"e18964",token:"entity.other.attribute-name.namespace"},{foreground:"cda869",token:"meta.selector.css entity.name.tag"},{foreground:"8f9d6a",token:"meta.selector.css entity.other.attribute-name.tag.pseudo-class"},{foreground:"8b98ab",token:"meta.selector.css entity.other.attribute-name.id"},{foreground:"9b703f",token:"meta.selector.css entity.other.attribute-name.class"},{foreground:"c5af75",token:"support.type.property-name.css"},{foreground:"f9ee98",token:"meta.property-group support.constant.property-value.css"},{foreground:"f9ee98",token:"meta.property-value support.constant.property-value.css"},{foreground:"8693a5",token:"meta.preprocessor.at-rule keyword.control.at-rule"},{foreground:"dd7b3b",token:"meta.property-value support.constant.named-color.css"},{foreground:"dd7b3b",token:"meta.property-value constant"},{foreground:"8f9d6a",token:"meta.constructor.argument.css"},{foreground:"f8f8f8",background:"0e2231",fontStyle:"italic",token:"meta.diff"},{foreground:"f8f8f8",background:"0e2231",fontStyle:"italic",token:"meta.diff.header"},{foreground:"f8f8f8",background:"420e09",token:"markup.deleted"},{foreground:"f8f8f8",background:"4a410d",token:"markup.changed"},{foreground:"f8f8f8",background:"253b22",token:"markup.inserted"},{foreground:"e9c062",fontStyle:"italic",token:"markup.italic"},{foreground:"e9c062",fontStyle:"bold",token:"markup.bold"},{foreground:"e18964",fontStyle:"underline",token:"markup.underline"},{foreground:"e1d4b9",background:"fee09c",fontStyle:"italic",token:"markup.quote"},{foreground:"fedcc5",background:"632d04",token:"markup.heading"},{foreground:"fedcc5",background:"632d04",token:"markup.heading entity"},{foreground:"e1d4b9",token:"markup.list"},{foreground:"578bb3",background:"b1b3ba",token:"markup.raw"},{foreground:"f67b37",fontStyle:"italic",token:"markup comment"},{foreground:"60a633",background:"242424",token:"meta.separator"},{background:"eeeeee",token:"meta.line.entry.logfile"},{background:"eeeeee",token:"meta.line.exit.logfile"},{background:"751012",token:"meta.line.error.logfile"}],colors:{"editor.foreground":"#F8F8F8","editor.background":"#000000","editor.selectionBackground":"#DDF0FF","editor.lineHighlightBackground":"#FFFFFF","editorCursor.foreground":"#A7A7A7","editorWhitespace.foreground":"#CAE2FB"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"0066ff",fontStyle:"italic",token:"comment"},{foreground:"0000ff",fontStyle:"bold",token:"keyword"},{foreground:"0000ff",fontStyle:"bold",token:"storage"},{foreground:"0000cd",token:"constant.numeric"},{foreground:"c5060b",fontStyle:"bold",token:"constant"},{foreground:"585cf6",fontStyle:"bold",token:"constant.language"},{foreground:"318495",token:"variable.language"},{foreground:"318495",token:"variable.other"},{foreground:"036a07",token:"string"},{foreground:"26b31a",token:"constant.character.escape"},{foreground:"26b31a",token:"string source"},{foreground:"1a921c",token:"meta.preprocessor"},{foreground:"0c450d",fontStyle:"bold",token:"keyword.control.import"},{foreground:"0000a2",fontStyle:"bold",token:"entity.name.function"},{foreground:"0000a2",fontStyle:"bold",token:"support.function.any-method"},{fontStyle:"underline",token:"entity.name.type"},{fontStyle:"italic",token:"entity.other.inherited-class"},{fontStyle:"italic",token:"variable.parameter"},{foreground:"70727e",token:"storage.type.method"},{fontStyle:"italic",token:"meta.section entity.name.section"},{fontStyle:"italic",token:"declaration.section entity.name.section"},{foreground:"3c4c72",fontStyle:"bold",token:"support.function"},{foreground:"6d79de",fontStyle:"bold",token:"support.class"},{foreground:"6d79de",fontStyle:"bold",token:"support.type"},{foreground:"06960e",fontStyle:"bold",token:"support.constant"},{foreground:"21439c",fontStyle:"bold",token:"support.variable"},{foreground:"687687",token:"keyword.operator.js"},{foreground:"ffffff",background:"990000",token:"invalid"},{background:"ffd0d0",token:"invalid.deprecated.trailing-whitespace"},{background:"000000",token:"text source"},{background:"000000",token:"string.unquoted"},{background:"000000",token:"text source string.unquoted"},{background:"000000",token:"text source text source"},{foreground:"68685b",token:"meta.tag.preprocessor.xml"},{foreground:"888888",token:"meta.tag.sgml.doctype"},{foreground:"888888",token:"meta.tag.sgml.doctype entity"},{foreground:"888888",token:"meta.tag.sgml.doctype string"},{foreground:"888888",token:"meta.tag.preprocessor.xml"},{foreground:"888888",token:"meta.tag.preprocessor.xml entity"},{foreground:"888888",token:"meta.tag.preprocessor.xml string"},{fontStyle:"italic",token:"string.quoted.docinfo.doctype.DTD"},{foreground:"1c02ff",token:"meta.tag"},{foreground:"1c02ff",token:"declaration.tag"},{fontStyle:"bold",token:"entity.name.tag"},{fontStyle:"italic",token:"entity.other.attribute-name"},{foreground:"0c07ff",fontStyle:"bold",token:"markup.heading"},{foreground:"000000",fontStyle:"italic",token:"markup.quote"},{foreground:"b90690",token:"markup.list"}],colors:{"editor.foreground":"#000000","editor.background":"#FFFFFF","editor.selectionBackground":"#4D97FF","editor.lineHighlightBackground":"#000000","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#BFBFBF"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"7285b7",token:"comment"},{foreground:"ffffff",token:"keyword.operator.class"},{foreground:"ffffff",token:"keyword.operator"},{foreground:"ffffff",token:"constant.other"},{foreground:"ffffff",token:"source.php.embedded.line"},{foreground:"ff9da4",token:"variable"},{foreground:"ff9da4",token:"support.other.variable"},{foreground:"ff9da4",token:"string.other.link"},{foreground:"ff9da4",token:"string.regexp"},{foreground:"ff9da4",token:"entity.name.tag"},{foreground:"ff9da4",token:"entity.other.attribute-name"},{foreground:"ff9da4",token:"meta.tag"},{foreground:"ff9da4",token:"declaration.tag"},{foreground:"ffc58f",token:"constant.numeric"},{foreground:"ffc58f",token:"constant.language"},{foreground:"ffc58f",token:"support.constant"},{foreground:"ffc58f",token:"constant.character"},{foreground:"ffc58f",token:"variable.parameter"},{foreground:"ffc58f",token:"punctuation.section.embedded"},{foreground:"ffc58f",token:"keyword.other.unit"},{foreground:"ffeead",token:"entity.name.class"},{foreground:"ffeead",token:"entity.name.type.class"},{foreground:"ffeead",token:"support.type"},{foreground:"ffeead",token:"support.class"},{foreground:"d1f1a9",token:"string"},{foreground:"d1f1a9",token:"constant.other.symbol"},{foreground:"d1f1a9",token:"entity.other.inherited-class"},{foreground:"d1f1a9",token:"markup.heading"},{foreground:"99ffff",token:"keyword.operator"},{foreground:"99ffff",token:"constant.other.color"},{foreground:"bbdaff",token:"entity.name.function"},{foreground:"bbdaff",token:"meta.function-call"},{foreground:"bbdaff",token:"support.function"},{foreground:"bbdaff",token:"keyword.other.special-method"},{foreground:"bbdaff",token:"meta.block-level"},{foreground:"ebbbff",token:"keyword"},{foreground:"ebbbff",token:"storage"},{foreground:"ebbbff",token:"storage.type"},{foreground:"ebbbff",token:"entity.name.tag.css"},{foreground:"ffffff",background:"f99da5",token:"invalid"},{foreground:"ffffff",background:"bbdafe",token:"meta.separator"},{foreground:"ffffff",background:"ebbbff",token:"invalid.deprecated"}],colors:{"editor.foreground":"#FFFFFF","editor.background":"#002451","editor.selectionBackground":"#003F8E","editor.lineHighlightBackground":"#00346E","editorCursor.foreground":"#FFFFFF","editorWhitespace.foreground":"#404F7D"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"969896",token:"comment"},{foreground:"eeeeee",token:"keyword.operator.class"},{foreground:"eeeeee",token:"constant.other"},{foreground:"eeeeee",token:"source.php.embedded.line"},{foreground:"d54e53",token:"variable"},{foreground:"d54e53",token:"support.other.variable"},{foreground:"d54e53",token:"string.other.link"},{foreground:"d54e53",token:"string.regexp"},{foreground:"d54e53",token:"entity.name.tag"},{foreground:"d54e53",token:"entity.other.attribute-name"},{foreground:"d54e53",token:"meta.tag"},{foreground:"d54e53",token:"declaration.tag"},{foreground:"e78c45",token:"constant.numeric"},{foreground:"e78c45",token:"constant.language"},{foreground:"e78c45",token:"support.constant"},{foreground:"e78c45",token:"constant.character"},{foreground:"e78c45",token:"variable.parameter"},{foreground:"e78c45",token:"punctuation.section.embedded"},{foreground:"e78c45",token:"keyword.other.unit"},{foreground:"e7c547",token:"entity.name.class"},{foreground:"e7c547",token:"entity.name.type.class"},{foreground:"e7c547",token:"support.type"},{foreground:"e7c547",token:"support.class"},{foreground:"b9ca4a",token:"string"},{foreground:"b9ca4a",token:"constant.other.symbol"},{foreground:"b9ca4a",token:"entity.other.inherited-class"},{foreground:"b9ca4a",token:"markup.heading"},{foreground:"70c0b1",token:"keyword.operator"},{foreground:"70c0b1",token:"constant.other.color"},{foreground:"7aa6da",token:"entity.name.function"},{foreground:"7aa6da",token:"meta.function-call"},{foreground:"7aa6da",token:"support.function"},{foreground:"7aa6da",token:"keyword.other.special-method"},{foreground:"7aa6da",token:"meta.block-level"},{foreground:"c397d8",token:"keyword"},{foreground:"c397d8",token:"storage"},{foreground:"c397d8",token:"storage.type"},{foreground:"c397d8",token:"entity.name.tag.css"},{foreground:"ced2cf",background:"df5f5f",token:"invalid"},{foreground:"ced2cf",background:"82a3bf",token:"meta.separator"},{foreground:"ced2cf",background:"b798bf",token:"invalid.deprecated"}],colors:{"editor.foreground":"#DEDEDE","editor.background":"#000000","editor.selectionBackground":"#424242","editor.lineHighlightBackground":"#2A2A2A","editorCursor.foreground":"#9F9F9F","editorWhitespace.foreground":"#343434"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"999999",token:"comment"},{foreground:"cccccc",token:"keyword.operator.class"},{foreground:"cccccc",token:"constant.other"},{foreground:"cccccc",token:"source.php.embedded.line"},{foreground:"f2777a",token:"variable"},{foreground:"f2777a",token:"support.other.variable"},{foreground:"f2777a",token:"string.other.link"},{foreground:"f2777a",token:"entity.name.tag"},{foreground:"f2777a",token:"entity.other.attribute-name"},{foreground:"f2777a",token:"meta.tag"},{foreground:"f2777a",token:"declaration.tag"},{foreground:"f99157",token:"constant.numeric"},{foreground:"f99157",token:"constant.language"},{foreground:"f99157",token:"support.constant"},{foreground:"f99157",token:"constant.character"},{foreground:"f99157",token:"variable.parameter"},{foreground:"f99157",token:"punctuation.section.embedded"},{foreground:"f99157",token:"keyword.other.unit"},{foreground:"ffcc66",token:"entity.name.class"},{foreground:"ffcc66",token:"entity.name.type.class"},{foreground:"ffcc66",token:"support.type"},{foreground:"ffcc66",token:"support.class"},{foreground:"99cc99",token:"string"},{foreground:"99cc99",token:"constant.other.symbol"},{foreground:"99cc99",token:"entity.other.inherited-class"},{foreground:"99cc99",token:"markup.heading"},{foreground:"66cccc",token:"keyword.operator"},{foreground:"66cccc",token:"constant.other.color"},{foreground:"6699cc",token:"entity.name.function"},{foreground:"6699cc",token:"meta.function-call"},{foreground:"6699cc",token:"support.function"},{foreground:"6699cc",token:"keyword.other.special-method"},{foreground:"6699cc",token:"meta.block-level"},{foreground:"cc99cc",token:"keyword"},{foreground:"cc99cc",token:"storage"},{foreground:"cc99cc",token:"storage.type"},{foreground:"cc99cc",token:"entity.name.tag.css"},{foreground:"cdcdcd",background:"f2777a",token:"invalid"},{foreground:"cdcdcd",background:"99cccc",token:"meta.separator"},{foreground:"cdcdcd",background:"cc99cc",token:"invalid.deprecated"}],colors:{"editor.foreground":"#CCCCCC","editor.background":"#2D2D2D","editor.selectionBackground":"#515151","editor.lineHighlightBackground":"#393939","editorCursor.foreground":"#CCCCCC","editorWhitespace.foreground":"#6A6A6A"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"969896",token:"comment"},{foreground:"ced1cf",token:"keyword.operator.class"},{foreground:"ced1cf",token:"constant.other"},{foreground:"ced1cf",token:"source.php.embedded.line"},{foreground:"cc6666",token:"variable"},{foreground:"cc6666",token:"support.other.variable"},{foreground:"cc6666",token:"string.other.link"},{foreground:"cc6666",token:"string.regexp"},{foreground:"cc6666",token:"entity.name.tag"},{foreground:"cc6666",token:"entity.other.attribute-name"},{foreground:"cc6666",token:"meta.tag"},{foreground:"cc6666",token:"declaration.tag"},{foreground:"de935f",token:"constant.numeric"},{foreground:"de935f",token:"constant.language"},{foreground:"de935f",token:"support.constant"},{foreground:"de935f",token:"constant.character"},{foreground:"de935f",token:"variable.parameter"},{foreground:"de935f",token:"punctuation.section.embedded"},{foreground:"de935f",token:"keyword.other.unit"},{foreground:"f0c674",token:"entity.name.class"},{foreground:"f0c674",token:"entity.name.type.class"},{foreground:"f0c674",token:"support.type"},{foreground:"f0c674",token:"support.class"},{foreground:"b5bd68",token:"string"},{foreground:"b5bd68",token:"constant.other.symbol"},{foreground:"b5bd68",token:"entity.other.inherited-class"},{foreground:"b5bd68",token:"markup.heading"},{foreground:"8abeb7",token:"keyword.operator"},{foreground:"8abeb7",token:"constant.other.color"},{foreground:"81a2be",token:"entity.name.function"},{foreground:"81a2be",token:"meta.function-call"},{foreground:"81a2be",token:"support.function"},{foreground:"81a2be",token:"keyword.other.special-method"},{foreground:"81a2be",token:"meta.block-level"},{foreground:"b294bb",token:"keyword"},{foreground:"b294bb",token:"storage"},{foreground:"b294bb",token:"storage.type"},{foreground:"b294bb",token:"entity.name.tag.css"},{foreground:"ced2cf",background:"df5f5f",token:"invalid"},{foreground:"ced2cf",background:"82a3bf",token:"meta.separator"},{foreground:"ced2cf",background:"b798bf",token:"invalid.deprecated"}],colors:{"editor.foreground":"#C5C8C6","editor.background":"#1D1F21","editor.selectionBackground":"#373B41","editor.lineHighlightBackground":"#282A2E","editorCursor.foreground":"#AEAFAD","editorWhitespace.foreground":"#4B4E55"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"8e908c",token:"comment"},{foreground:"666969",token:"keyword.operator.class"},{foreground:"666969",token:"constant.other"},{foreground:"666969",token:"source.php.embedded.line"},{foreground:"c82829",token:"variable"},{foreground:"c82829",token:"support.other.variable"},{foreground:"c82829",token:"string.other.link"},{foreground:"c82829",token:"string.regexp"},{foreground:"c82829",token:"entity.name.tag"},{foreground:"c82829",token:"entity.other.attribute-name"},{foreground:"c82829",token:"meta.tag"},{foreground:"c82829",token:"declaration.tag"},{foreground:"f5871f",token:"constant.numeric"},{foreground:"f5871f",token:"constant.language"},{foreground:"f5871f",token:"support.constant"},{foreground:"f5871f",token:"constant.character"},{foreground:"f5871f",token:"variable.parameter"},{foreground:"f5871f",token:"punctuation.section.embedded"},{foreground:"f5871f",token:"keyword.other.unit"},{foreground:"c99e00",token:"entity.name.class"},{foreground:"c99e00",token:"entity.name.type.class"},{foreground:"c99e00",token:"support.type"},{foreground:"c99e00",token:"support.class"},{foreground:"718c00",token:"string"},{foreground:"718c00",token:"constant.other.symbol"},{foreground:"718c00",token:"entity.other.inherited-class"},{foreground:"718c00",token:"markup.heading"},{foreground:"3e999f",token:"keyword.operator"},{foreground:"3e999f",token:"constant.other.color"},{foreground:"4271ae",token:"entity.name.function"},{foreground:"4271ae",token:"meta.function-call"},{foreground:"4271ae",token:"support.function"},{foreground:"4271ae",token:"keyword.other.special-method"},{foreground:"4271ae",token:"meta.block-level"},{foreground:"8959a8",token:"keyword"},{foreground:"8959a8",token:"storage"},{foreground:"8959a8",token:"storage.type"},{foreground:"ffffff",background:"c82829",token:"invalid"},{foreground:"ffffff",background:"4271ae",token:"meta.separator"},{foreground:"ffffff",background:"8959a8",token:"invalid.deprecated"}],colors:{"editor.foreground":"#4D4D4C","editor.background":"#FFFFFF","editor.selectionBackground":"#D6D6D6","editor.lineHighlightBackground":"#EFEFEF","editorCursor.foreground":"#AEAFAD","editorWhitespace.foreground":"#D1D1D1"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"5f5a60",fontStyle:"italic",token:"comment"},{foreground:"cf6a4c",token:"constant"},{foreground:"9b703f",token:"entity"},{foreground:"cda869",token:"keyword"},{foreground:"f9ee98",token:"storage"},{foreground:"8f9d6a",token:"string"},{foreground:"9b859d",token:"support"},{foreground:"7587a6",token:"variable"},{foreground:"d2a8a1",fontStyle:"italic underline",token:"invalid.deprecated"},{foreground:"f8f8f8",background:"562d56",token:"invalid.illegal"},{background:"b0b3ba",token:"text source"},{background:"b1b3ba",token:"text.html.ruby source"},{foreground:"9b5c2e",fontStyle:"italic",token:"entity.other.inherited-class"},{foreground:"daefa3",token:"string source"},{foreground:"ddf2a4",token:"string constant"},{foreground:"e9c062",token:"string.regexp"},{foreground:"cf7d34",token:"string.regexp constant.character.escape"},{foreground:"cf7d34",token:"string.regexp source.ruby.embedded"},{foreground:"cf7d34",token:"string.regexp string.regexp.arbitrary-repitition"},{foreground:"8a9a95",token:"string variable"},{foreground:"dad085",token:"support.function"},{foreground:"cf6a4c",token:"support.constant"},{foreground:"8996a8",token:"meta.preprocessor.c"},{foreground:"afc4db",token:"meta.preprocessor.c keyword"},{foreground:"494949",token:"meta.tag.sgml.doctype"},{foreground:"494949",token:"meta.tag.sgml.doctype entity"},{foreground:"494949",token:"meta.tag.sgml.doctype string"},{foreground:"494949",token:"meta.tag.preprocessor.xml"},{foreground:"494949",token:"meta.tag.preprocessor.xml entity"},{foreground:"494949",token:"meta.tag.preprocessor.xml string"},{foreground:"ac885b",token:"declaration.tag"},{foreground:"ac885b",token:"declaration.tag entity"},{foreground:"ac885b",token:"meta.tag"},{foreground:"ac885b",token:"meta.tag entity"},{foreground:"e0c589",token:"declaration.tag.inline"},{foreground:"e0c589",token:"declaration.tag.inline entity"},{foreground:"e0c589",token:"source entity.name.tag"},{foreground:"e0c589",token:"source entity.other.attribute-name"},{foreground:"e0c589",token:"meta.tag.inline"},{foreground:"e0c589",token:"meta.tag.inline entity"},{foreground:"cda869",token:"meta.selector.css entity.name.tag"},{foreground:"ac885b",fontStyle:"bold",token:"entity.name.function"},{foreground:"ac885b",fontStyle:"bold",token:"support.function.any-method"},{foreground:"8f9d6a",token:"meta.selector.css entity.other.attribute-name.tag.pseudo-class"},{foreground:"8b98ab",token:"meta.selector.css entity.other.attribute-name.id"},{foreground:"9b703f",token:"meta.selector.css entity.other.attribute-name.class"},{foreground:"c5af75",token:"support.type.property-name.css"},{foreground:"f9ee98",token:"meta.property-group support.constant.property-value.css"},{foreground:"f9ee98",token:"meta.property-value support.constant.property-value.css"},{foreground:"8693a5",token:"meta.preprocessor.at-rule keyword.control.at-rule"},{foreground:"ca7840",token:"meta.property-value support.constant.named-color.css"},{foreground:"ca7840",token:"meta.property-value constant"},{foreground:"8f9d6a",token:"meta.constructor.argument.css"},{foreground:"f8f8f8",background:"0e2231",fontStyle:"italic",token:"meta.diff"},{foreground:"f8f8f8",background:"0e2231",fontStyle:"italic",token:"meta.diff.header"},{foreground:"f8f8f8",background:"0e2231",fontStyle:"italic",token:"meta.separator"},{foreground:"f8f8f8",background:"420e09",token:"markup.deleted"},{foreground:"f8f8f8",background:"4a410d",token:"markup.changed"},{foreground:"f8f8f8",background:"253b22",token:"markup.inserted"},{foreground:"f9ee98",token:"markup.list"},{foreground:"cf6a4c",token:"markup.heading"}],colors:{"editor.foreground":"#F8F8F8","editor.background":"#141414","editor.selectionBackground":"#DDF0FF","editor.lineHighlightBackground":"#FFFFFF","editorCursor.foreground":"#A7A7A7","editorWhitespace.foreground":"#FFFFFF"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"ffffff",background:"0f0f0f",token:"text"},{background:"000000",token:"source.ruby.rails.embedded.html"},{foreground:"ffffff",background:"101010",token:"text.html.ruby"},{foreground:"ccff33",background:"000000",token:"invalid"},{foreground:"ccff33",background:"000000",token:"invalid.deprecated"},{foreground:"99cc99",token:"constant.numeric"},{foreground:"ffffff",background:"000000",token:"source"},{foreground:"9933cc",token:"comment"},{foreground:"339999",token:"constant"},{foreground:"ff6600",token:"keyword"},{foreground:"edf8f9",token:"keyword.preprocessor"},{foreground:"ffffff",token:"keyword.preprocessor directive"},{foreground:"ffcc00",token:"entity.name.function"},{foreground:"ffcc00",token:"storage.type.function.js"},{fontStyle:"italic",token:"variable.parameter"},{foreground:"772cb7",background:"070707",token:"source comment.block"},{foreground:"ffffff",token:"variable.other"},{foreground:"ffcc00",token:"support.function"},{foreground:"66ff00",token:"string"},{foreground:"aaaaaa",token:"string constant.character.escape"},{foreground:"000000",background:"cccc33",token:"string.interpolated"},{foreground:"44b4cc",token:"string.regexp"},{foreground:"cccc33",token:"string.literal"},{foreground:"555555",token:"string.interpolated constant.character.escape"},{fontStyle:"underline",token:"entity.name.class"},{fontStyle:"underline",token:"support.class.js"},{fontStyle:"italic underline",token:"entity.other.inherited-class"},{foreground:"ff6600",token:"meta.tag.inline.any.html"},{foreground:"ff6600",token:"meta.tag.block.any.html"},{foreground:"99cc99",fontStyle:"italic",token:"entity.other.attribute-name"},{foreground:"dde93d",token:"keyword.other"},{foreground:"ff6600",token:"meta.selector.css"},{foreground:"ff6600",token:"entity.other.attribute-name.pseudo-class.css"},{foreground:"ff6600",token:"entity.name.tag.wildcard.css"},{foreground:"ff6600",token:"entity.other.attribute-name.id.css"},{foreground:"ff6600",token:"entity.other.attribute-name.class.css"},{foreground:"999966",token:"support.type.property-name.css"},{foreground:"ffffff",token:"keyword.other.unit.css"},{foreground:"ffffff",token:"constant.other.rgb-value.css"},{foreground:"ffffff",token:"constant.numeric.css"},{foreground:"ffffff",token:"support.function.event-handler.js"},{foreground:"ffffff",token:"keyword.operator.js"},{foreground:"cccc66",token:"keyword.control.js"},{foreground:"ffffff",token:"support.class.prototype.js"},{foreground:"ff6600",token:"object.property.function.prototype.js"}],colors:{"editor.foreground":"#FFFFFF","editor.background":"#0F0F0F","editor.selectionBackground":"#6699CC","editor.lineHighlightBackground":"#333333","editorCursor.foreground":"#FFFFFF","editorWhitespace.foreground":"#404040"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"709070",fontStyle:"italic",token:"comment"},{fontStyle:"bold",token:"keyword.other.directive"},{fontStyle:"underline",token:"keyword.other.directive.line-number"},{foreground:"ff8080",token:"constant.character"},{foreground:"ff2020",token:"string"},{foreground:"22c0ff",token:"constant.numeric"},{fontStyle:"underline",token:"constant.numeric.floating-point"},{foreground:"ffffa0",token:"keyword"},{foreground:"ff8000",fontStyle:"bold",token:"entity.name.module"},{foreground:"ff8000",fontStyle:"bold",token:"support.other.module"},{foreground:"ffffa0",token:"keyword.operator"},{fontStyle:"underline",token:"source.ocaml keyword.operator.symbol.infix.floating-point"},{fontStyle:"underline",token:"source.ocaml keyword.operator.symbol.prefix.floating-point"},{foreground:"6080ff",token:"storage.type"},{foreground:"4080a0",token:"entity.name.class.variant"},{foreground:"f09040",token:"entity.name.type"},{foreground:"ffcc66",fontStyle:"bold",token:"entity.name.function"},{foreground:"ffe000",token:"storage.type.user-defined"},{foreground:"f4a020",token:"entity.name.type.class.type"}],colors:{"editor.foreground":"#DEDEDE","editor.background":"#404040","editor.selectionBackground":"#A0A0C0","editor.lineHighlightBackground":"#A08040","editorCursor.foreground":"#FFFF66","editorWhitespace.foreground":"#A8A8A8"}}},function(e,t){e.exports={base:"vs",inherit:!0,rules:[{foreground:"009933",token:"string"},{foreground:"0066ff",token:"constant.numeric"},{foreground:"ff0080",token:"string.regexp"},{foreground:"0000ff",token:"keyword"},{foreground:"9700cc",token:"constant.language"},{foreground:"990000",token:"support.class.exception"},{foreground:"ff8000",token:"entity.name.function"},{fontStyle:"bold underline",token:"entity.name.type"},{fontStyle:"italic",token:"variable.parameter"},{foreground:"0066ff",fontStyle:"italic",token:"comment"},{foreground:"ff0000",background:"e71a11",token:"invalid"},{background:"e71a11",token:"invalid.deprecated.trailing-whitespace"},{foreground:"000000",background:"fafafa",token:"text source"},{foreground:"0033cc",token:"meta.tag"},{foreground:"0033cc",token:"declaration.tag"},{foreground:"6782d3",token:"constant"},{foreground:"6782d3",token:"support.constant"},{foreground:"3333ff",fontStyle:"bold",token:"support"},{fontStyle:"bold",token:"storage"},{fontStyle:"bold underline",token:"entity.name.section"},{foreground:"000000",fontStyle:"bold",token:"entity.name.function.frame"},{foreground:"333333",token:"meta.tag.preprocessor.xml"},{foreground:"3366cc",fontStyle:"italic",token:"entity.other.attribute-name"},{fontStyle:"bold",token:"entity.name.tag"}],colors:{"editor.foreground":"#000000","editor.background":"#EEEEEE","editor.selectionBackground":"#BAD6FD","editor.lineHighlightBackground":"#000000","editorCursor.foreground":"#000000","editorWhitespace.foreground":"#B3B3B3"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"ffffff",token:"text"},{foreground:"cdcdcd",background:"282828",token:"source"},{foreground:"bc9458",fontStyle:"italic",token:"comment"},{foreground:"ffe5bb",token:"meta.tag"},{foreground:"ffe5bb",token:"declaration.tag"},{foreground:"ffe5bb",token:"meta.doctype"},{foreground:"ffc66d",token:"entity.name"},{foreground:"fff980",token:"source.ruby entity.name"},{foreground:"b7dff8",token:"variable.other"},{foreground:"cccc33",token:"support.class.ruby"},{foreground:"6c99bb",token:"constant"},{foreground:"6c99bb",token:"support.constant"},{foreground:"cc7833",token:"keyword"},{foreground:"d0d0ff",token:"other.preprocessor.c"},{fontStyle:"italic",token:"variable.parameter"},{foreground:"ffffff",background:"575757",token:"source comment.block"},{foreground:"a5c261",token:"string"},{foreground:"aaaaaa",token:"string constant.character.escape"},{foreground:"000000",background:"cccc33",token:"string.interpolated"},{foreground:"cccc33",token:"string.regexp"},{foreground:"cccc33",token:"string.literal"},{foreground:"787878",token:"string.interpolated constant.character.escape"},{fontStyle:"underline",token:"entity.name.class"},{fontStyle:"italic underline",token:"entity.other.inherited-class"},{foreground:"b83426",token:"support.function"},{foreground:"6ea533",token:"markup.list.unnumbered.textile"},{foreground:"6ea533",token:"markup.list.numbered.textile"},{foreground:"c2c2c2",fontStyle:"bold",token:"markup.bold.textile"},{foreground:"ffffff",background:"ff0000",token:"invalid"},{foreground:"323232",background:"fff980",token:"collab.user1"}],colors:{"editor.foreground":"#FFFFFF","editor.background":"#323232","editor.selectionBackground":"#5A647E","editor.lineHighlightBackground":"#353637","editorCursor.foreground":"#91FF00","editorWhitespace.foreground":"#404040"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"d27518",token:"constant"},{foreground:"a89100",token:"entity"},{foreground:"ba6912",token:"entity.other"},{foreground:"949c8b",token:"keyword"},{foreground:"ffee80",token:"storage"},{foreground:"c7a4a1",token:"string -string.unquoted.old-plist -string.unquoted.heredoc"},{foreground:"c7a4a1",token:"string.unquoted.heredoc string"},{foreground:"706d5b",fontStyle:"italic",token:"comment"},{foreground:"9fc28a",token:"support"},{foreground:"d1a796",token:"variable"},{foreground:"ff80e1",token:"variable.language"},{foreground:"ffee80",token:"meta.function-call"},{foreground:"f8f8f8",background:"a41300",token:"invalid"},{foreground:"d9d59f",background:"24231d",token:"text source"},{foreground:"d9d59f",background:"24231d",token:"string.unquoted.heredoc"},{foreground:"d9d59f",background:"24231d",token:"source source"},{foreground:"7efcff",token:"entity.other.inherited-class"},{foreground:"439740",token:"string.quoted source"},{foreground:"60db5d",token:"string constant"},{foreground:"7dffc0",token:"string.regexp"},{foreground:"b8b960",token:"string variable"},{foreground:"85873a",token:"support.function"},{foreground:"c27e66",token:"support.constant"},{foreground:"ff1e00",token:"support.class.exception"},{foreground:"8996a8",token:"meta.preprocessor.c"},{foreground:"afc4db",token:"meta.preprocessor.c keyword"},{foreground:"73817d",token:"meta.sgml.html meta.doctype"},{foreground:"73817d",token:"meta.sgml.html meta.doctype entity"},{foreground:"73817d",token:"meta.sgml.html meta.doctype string"},{foreground:"73817d",token:"meta.xml-processing"},{foreground:"73817d",token:"meta.xml-processing entity"},{foreground:"73817d",token:"meta.xml-processing string"},{foreground:"babd9c",token:"meta.tag"},{foreground:"babd9c",token:"meta.tag entity"},{foreground:"99a190",token:"meta.selector.css entity.name.tag"},{foreground:"cc8844",token:"meta.selector.css entity.other.attribute-name.id"},{foreground:"cfb958",token:"meta.selector.css entity.other.attribute-name.class"},{foreground:"e0ddad",token:"support.type.property-name.css"},{foreground:"aeb14b",token:"meta.property-group support.constant.property-value.css"},{foreground:"aeb14b",token:"meta.property-value support.constant.property-value.css"},{foreground:"ffb010",token:"meta.preprocessor.at-rule keyword.control.at-rule"},{foreground:"999179",token:"meta.property-value support.constant.named-color.css"},{foreground:"999179",token:"meta.property-value constant"},{foreground:"eb939a",token:"meta.constructor.argument.css"},{foreground:"f8f8f8",background:"000e1a",token:"meta.diff"},{foreground:"f8f8f8",background:"000e1a",token:"meta.diff.header"},{foreground:"f8f8f8",background:"800f00",token:"markup.deleted"},{foreground:"f8f8f8",background:"806f00",token:"markup.changed"},{foreground:"f8f8f8",background:"228000",token:"markup.inserted"},{background:"8fddf6",token:"markup.raw"},{background:"005baa",token:"markup.quote"},{background:"0f0040",token:"markup.list"},{foreground:"9d80ff",fontStyle:"bold",token:"markup.bold"},{foreground:"80ffbb",fontStyle:"italic",token:"markup.italic"},{fontStyle:"bold",token:"markup.heading"}],colors:{"editor.foreground":"#FCFFE0","editor.background":"#0B0A09","editor.selectionBackground":"#AA00FF","editor.lineHighlightBackground":"#38403D","editorCursor.foreground":"#FF9900","editorWhitespace.foreground":"#FFB16F"}}},function(e,t){e.exports={base:"vs-dark",inherit:!0,rules:[{foreground:"666c68",background:"151c19",token:"comment"},{foreground:"c23b00",token:"storage"},{foreground:"c23b00",token:"support.type"},{foreground:"ffffff",background:"151c19",token:"string.unquoted.embedded"},{foreground:"ffffff",background:"151c19",token:"text source"},{foreground:"ffffff",background:"151c19",token:"string.unquoted"},{foreground:"e94700",background:"1a0700",token:"constant.character.escaped"},{foreground:"e94700",background:"1a0700",token:"string source - string.unquoted.embedded"},{foreground:"e94700",background:"1a0700",token:"string string source"},{foreground:"c23800",background:"1a0700",token:"string - string source"},{foreground:"c23800",background:"1a0700",token:"string source string"},{foreground:"c23800",background:"1a0700",token:"meta.scope.heredoc"},{foreground:"e98800",token:"constant.numeric"},{foreground:"648bd2",token:"variable.language"},{foreground:"648bd2",token:"variable.other"},{foreground:"e98800",token:"constant"},{foreground:"a8b3ab",background:"161d1a",token:"other.preprocessor"},{foreground:"a8b3ab",background:"161d1a",token:"entity.name.preprocessor"},{foreground:"a8b3ab",token:"entity.name.function"},{foreground:"a8b3ab",token:"keyword.operator"},{foreground:"a8b3ab",token:"keyword.other.name-of-parameter"},{foreground:"9a2f00",token:"entity.name.class"},{foreground:"648bd2",token:"variable.parameter"},{foreground:"666c68",token:"storage.type.method"},{foreground:"a39e64",token:"keyword"},{foreground:"a39e64",token:"storage.type.function.php"},{foreground:"ffffff",background:"990000",token:"invalid"},{foreground:"000000",background:"ffd0d0",token:"invalid.trailing-whitespace"},{foreground:"588e60",token:"support.function"},{foreground:"5778b6",token:"support.class"},{foreground:"5778b6",token:"support.type"},{foreground:"5778b6",token:"entity.name"},{foreground:"c87500",token:"support.constant"},{foreground:"5879b7",token:"support.other.variable"},{foreground:"68685b",token:"declaration.xml-processing"},{foreground:"888888",token:"declaration.doctype"},{foreground:"888888",token:"declaration.doctype.DTD"},{foreground:"a65eff",token:"declaration.tag"},{foreground:"a65eff",token:"entity.name.tag"},{foreground:"909993",token:"entity.other.attribute-name"},{foreground:"909993",token:"punctuation"},{foreground:"7642b7",token:"entity.other.inherited-class"},{foreground:"ffffff",background:"000000",token:"meta.scope.changed-files.svn"},{foreground:"ffffff",background:"000000",token:"markup.inserted.svn"},{foreground:"ffffff",background:"000000",token:"markup.changed.svn"},{foreground:"ffffff",background:"000000",token:"markup.deleted.svn"},{background:"78807b",token:"meta.section"},{background:"78807b",token:"meta.section meta.section"},{background:"78807b",token:"meta.section meta.section meta.section"}],colors:{"editor.foreground":"#FFFFFF","editor.background":"#222C28","editor.selectionBackground":"#919994","editor.lineHighlightBackground":"#0C0D0C","editorCursor.foreground":"#FFFFFF","editorWhitespace.foreground":"#666C68"}}},function(e,t,n){(function(e){(function(t){"use strict";var n,r=Object.freeze({__proto__:null,get types(){return yf},get DEFAULT_EXTENSIONS(){return tP},get OptionManager(){return nP},get Plugin(){return rP},get File(){return yE},get buildExternalHelpers(){return SE},get resolvePlugin(){return BE},get resolvePreset(){return WE},get version(){return UE},get getEnv(){return zE},get tokTypes(){return Ib},get traverse(){return wx},get template(){return Ew},get createConfigItem(){return HT},get loadPartialConfig(){return GD},get loadPartialConfigSync(){return YD},get loadPartialConfigAsync(){return $D},get loadOptions(){return XD},get loadOptionsSync(){return JD},get loadOptionsAsync(){return ZD},get transform(){return VL},get transformSync(){return HL},get transformAsync(){return UL},get transformFile(){return zL},get transformFileSync(){return KL},get transformFileAsync(){return qL},get transformFromAst(){return YL},get transformFromAstSync(){return $L},get transformFromAstAsync(){return XL},get parse(){return ZL},get parseSync(){return QL},get parseAsync(){return eP}});function o(e){return(o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){this.wrapped=e}function s(e){var t,n;function r(t,n){try{var s=e[t](n),a=s.value,u=a instanceof i;Promise.resolve(u?a.wrapped:a).then((function(e){u?r("return"===t?"return":"next",e):o(s.done?"return":"normal",e)}),(function(e){r("throw",e)}))}catch(c){o("throw",c)}}function o(e,o){switch(e){case"return":t.resolve({value:o,done:!0});break;case"throw":t.reject(o);break;default:t.resolve({value:o,done:!1})}(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,o){return new Promise((function(i,s){var a={key:e,arg:o,resolve:i,reject:s,next:null};n?n=n.next=a:(t=n=a,r(e,o))}))},"function"!==typeof e.return&&(this.return=void 0)}function a(e,t,n,r,o,i,s){try{var a=e[i](s),u=a.value}catch(vW){return void n(vW)}a.done?t(u):Promise.resolve(u).then(r,o)}function u(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?C(e):t}function k(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}function E(e,t,n){return(E="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=k(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function T(e,t,n,r){return(T="undefined"!==typeof Reflect&&Reflect.set?Reflect.set:function(e,t,n,r){var o,i=k(e,t);if(i){if((o=Object.getOwnPropertyDescriptor(i,t)).set)return o.set.call(r,n),!0;if(!o.writable)return!1}if(o=Object.getOwnPropertyDescriptor(r,t)){if(!o.writable)return!1;o.value=n,Object.defineProperty(r,t,o)}else l(r,t,n);return!0})(e,t,n,r)}function O(e,t){return t||(t=e.slice(0)),e.raw=t,e}function D(){}function A(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}function L(e){return I(e)||N(e)||R(e)||W()}function P(e){if(Array.isArray(e))return F(e)}function I(e){if(Array.isArray(e))return e}function N(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function j(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}function M(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){for(var n,r=[],o=e[Symbol.iterator]();!(n=o.next()).done&&(r.push(n.value),!t||r.length!==t););return r}}function R(e,t){if(e){if("string"===typeof e)return F(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F(e,t):void 0}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function H(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function U(e){var t=H(e,"string");return"symbol"===typeof t?t:String(t)}"function"===typeof Symbol&&Symbol.asyncIterator&&(s.prototype[Symbol.asyncIterator]=function(){return this}),s.prototype.next=function(e){return this._invoke("next",e)},s.prototype.throw=function(e){return this._invoke("throw",e)},s.prototype.return=function(e){return this._invoke("return",e)};var z=0;function K(e){var t,n=U(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function q(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function G(e){return e.decorators&&e.decorators.length}function Y(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function $(e,t){var n=e[t];if(void 0!==n&&"function"!==typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function X(e,t){X=function(e,t){return new i(e,void 0,t)};var n=_(RegExp),r=RegExp.prototype,o=new WeakMap;function i(e,t,r){var i=n.call(this,e,t);return o.set(i,r||o.get(e)),i}function s(e,t){var n=o.get(t);return Object.keys(n).reduce((function(t,r){return t[r]=e[n[r]],t}),Object.create(null))}return h(i,n),i.prototype.exec=function(e){var t=r.exec.call(this,e);return t&&(t.groups=s(t,this)),t},i.prototype[Symbol.replace]=function(e,t){if("string"===typeof t){var n=o.get(this);return r[Symbol.replace].call(this,e,t.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+n[t]})))}if("function"===typeof t){var i=this;return r[Symbol.replace].call(this,e,(function(){var e=[];return e.push.apply(e,arguments),"object"!==typeof e[e.length-1]&&e.push(s(e,i)),t.apply(this,e)}))}return r[Symbol.replace].call(this,e,t)},X.apply(this,arguments)}var J=Object.freeze({__proto__:null,get typeof(){return o},jsx:function(e,t,r,o){n||(n="function"===typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=e&&e.defaultProps,s=arguments.length-3;if(t||0===s||(t={children:void 0}),1===s)t.children=o;else if(s>1){for(var a=new Array(s),u=0;u=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o},assertThisInitialized:C,possibleConstructorReturn:S,createSuper:function(e){var t=y();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}},superPropBase:k,get get(){return E},set:function(e,t,n,r,o){if(!T(e,t,n,r||e)&&o)throw new Error("failed to set property");return n},taggedTemplateLiteral:function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},taggedTemplateLiteralLoose:O,readOnlyError:function(e){throw new Error('"'+e+'" is read-only')},classNameTDZError:function(e){throw new Error('Class "'+e+'" cannot be referenced in computed property keys.')},temporalUndefined:D,tdz:A,temporalRef:function(e,t){return e===D?A(t):e},slicedToArray:function(e,t){return I(e)||j(e,t)||R(e,t)||W()},slicedToArrayLoose:function(e,t){return I(e)||M(e,t)||R(e,t)||W()},toArray:L,toConsumableArray:function(e){return P(e)||N(e)||R(e)||B()},arrayWithoutHoles:P,arrayWithHoles:I,maybeArrayLike:function(e,t,n){if(t&&!Array.isArray(t)&&"number"===typeof t.length){var r=t.length;return F(t,void 0!==n&&n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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,s=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}},createForOfIteratorHelperLoose:V,skipFirstGeneratorNext:function(e){return function(){var t=e.apply(this,arguments);return t.next(),t}},toPrimitive:H,toPropertyKey:U,initializerWarningHelper:function(e,t){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.")},initializerDefineProperty:function(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})},applyDecoratedDescriptor:function(e,t,n,r,o){var i={};return Object.keys(r).forEach((function(e){i[e]=r[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i},classPrivateFieldLooseKey:function(e){return"__private_"+z+++"_"+e},classPrivateFieldLooseBase:function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e},classPrivateFieldGet:function(e,t){var n=t.get(e);if(!n)throw new TypeError("attempted to get private field on non-instance");return n.get?n.get.call(e):n.value},classPrivateFieldSet:function(e,t,n){var r=t.get(e);if(!r)throw new TypeError("attempted to set private field on non-instance");if(r.set)r.set.call(e,n);else{if(!r.writable)throw new TypeError("attempted to set read only private field");r.value=n}return n},classPrivateFieldDestructureSet:function(e,t){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");var n=t.get(e);if(n.set)return"__destrObj"in n||(n.__destrObj={set value(t){n.set.call(e,t)}}),n.__destrObj;if(!n.writable)throw new TypeError("attempted to set read only private field");return n},classStaticPrivateFieldSpecGet:function(e,t,n){if(e!==t)throw new TypeError("Private static access of wrong provenance");return n.get?n.get.call(e):n.value},classStaticPrivateFieldSpecSet:function(e,t,n,r){if(e!==t)throw new TypeError("Private static access of wrong provenance");if(n.set)n.set.call(e,r);else{if(!n.writable)throw new TypeError("attempted to set read only private field");n.value=r}return r},classStaticPrivateMethodGet:function(e,t,n){if(e!==t)throw new TypeError("Private static access of wrong provenance");return n},classStaticPrivateMethodSet:function(){throw new TypeError("attempted to set read only static private field")},decorate:function(e,t,n,r){var o=function(){var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(n){t.forEach((function(t){t.kind===n&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var n=e.prototype;["method","field"].forEach((function(r){t.forEach((function(t){var o=t.placement;if(t.kind===r&&("static"===o||"prototype"===o)){var i="static"===o?e:n;this.defineClassElement(i,t)}}),this)}),this)},defineClassElement:function(e,t){var n=t.descriptor;if("field"===t.kind){var r=t.initializer;n={enumerable:n.enumerable,writable:n.writable,configurable:n.configurable,value:void 0===r?void 0:r.call(e)}}Object.defineProperty(e,t.key,n)},decorateClass:function(e,t){var n=[],r=[],o={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,o)}),this),e.forEach((function(e){if(!G(e))return n.push(e);var t=this.decorateElement(e,o);n.push(t.element),n.push.apply(n,t.extras),r.push.apply(r,t.finishers)}),this),!t)return{elements:n,finishers:r};var i=this.decorateConstructor(n,t);return r.push.apply(r,i.finishers),i.finishers=r,i},addElementPlacement:function(e,t,n){var r=t[e.placement];if(!n&&-1!==r.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");r.push(e.key)},decorateElement:function(e,t){for(var n=[],r=[],o=e.decorators,i=o.length-1;i>=0;i--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),u=this.toElementFinisherExtras((0,o[i])(a)||a);e=u.element,this.addElementPlacement(e,t),u.finisher&&r.push(u.finisher);var c=u.extras;if(c){for(var l=0;l=0;r--){var o=this.fromClassDescriptor(e),i=this.toClassDescriptor((0,t[r])(o)||o);if(void 0!==i.finisher&&n.push(i.finisher),void 0!==i.elements){e=i.elements;for(var s=0;so.length)return!1;for(var s=0,a=i.length-1;s-1},Pn=function(e,t){var n=this.__data__,r=Tn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function In(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},ao={};ao["[object Float32Array]"]=ao["[object Float64Array]"]=ao["[object Int8Array]"]=ao["[object Int16Array]"]=ao["[object Int32Array]"]=ao["[object Uint8Array]"]=ao["[object Uint8ClampedArray]"]=ao["[object Uint16Array]"]=ao["[object Uint32Array]"]=!0,ao["[object Arguments]"]=ao["[object Array]"]=ao["[object ArrayBuffer]"]=ao["[object Boolean]"]=ao["[object DataView]"]=ao["[object Date]"]=ao["[object Error]"]=ao["[object Function]"]=ao["[object Map]"]=ao["[object Number]"]=ao["[object Object]"]=ao["[object RegExp]"]=ao["[object Set]"]=ao["[object String]"]=ao["[object WeakMap]"]=!1;var uo=function(e){return $r(e)&&so(e.length)&&!!ao[nr(e)]},co=function(e){return function(t){return e(t)}},lo=Vn((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,o=r&&r.exports===n&&zn.process,i=function(){try{var e=r&&r.require&&r.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(t){}}();e.exports=i})),po=lo&&lo.isTypedArray,ho=po?co(po):uo,fo=Object.prototype.hasOwnProperty,go=function(e,t){var n=to(e),r=!n&&eo(e),o=!n&&!r&&ro(e),i=!n&&!r&&!o&&ho(e),s=n||r||o||i,a=s?Yr(e.length,String):[],u=a.length;for(var c in e)!t&&!fo.call(e,c)||s&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||io(c,u))||a.push(c);return a},mo=Object.prototype,yo=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||mo)},vo=function(e,t){return function(n){return e(t(n))}},bo=vo(Object.keys,Object),_o=Object.prototype.hasOwnProperty,wo=function(e){if(!yo(e))return bo(e);var t=[];for(var n in Object(e))_o.call(e,n)&&"constructor"!=n&&t.push(n);return t},xo=function(e){return null!=e&&so(e.length)&&!or(e)},Co=function(e){return xo(e)?go(e):wo(e)},So=function(e,t){return e&&Gr(t,Co(t),e)},ko=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},Eo=Object.prototype.hasOwnProperty,To=function(e){if(!rr(e))return ko(e);var t=yo(e),n=[];for(var r in e)("constructor"!=r||!t&&Eo.call(e,r))&&n.push(r);return n},Oo=function(e){return xo(e)?go(e,!0):To(e)},Do=function(e,t){return e&&Gr(t,Oo(t),e)},Ao=Vn((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,o=r&&r.exports===n?qn.Buffer:void 0,i=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=i?i(n):new e.constructor(n);return e.copy(r),r}})),Lo=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n1)for(var n=1;ne)return!1;if((n+=t[r+1])>=e)return!0}return!1}function ls(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&is.test(String.fromCharCode(e)):cs(e,as)))}function ds(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ss.test(String.fromCharCode(e)):cs(e,as)||cs(e,us))))}function ps(e){for(var t=!0,n=0,r=Array.from(e);n","<",">=","<="],As=["==","===","!=","!=="],Ls=[].concat(As,["in","instanceof"]),Ps=[].concat(Ls,Ds),Is=["-","/","%","*","**","&","|",">>",">>>","<<","^"],Ns=["+"].concat(Is,Ps),js=["=","+="].concat(Is.map((function(e){return e+"="})),Ts.map((function(e){return e+"="}))),Ms=["delete","!"],Rs=["+","-","~"],Fs=["typeof"],Bs=["void","throw"].concat(Ms,Rs,Fs),Ws={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},Vs=Symbol.for("var used to be block scoped"),Hs=Symbol.for("should not be considered a local binding");function Us(e,t,n){if(e){var r=$s[e.type];r&&(zs(e,t,n,r[t]),Ks(e,t,n))}}function zs(e,t,n,r){(null==r?void 0:r.validate)&&(r.optional&&null==n||r.validate(e,t,n))}function Ks(e,t,n){if(null!=n){var r=Zs[n.type];r&&r(e,t,n)}}var qs={},Gs={},Ys={},$s={},Xs={},Js={},Zs={};function Qs(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function ea(e){return{validate:e}}function ta(e){return"string"===typeof e?ca(e):ca.apply(void 0,e)}function na(e){return ea(ta(e))}function ra(e){return{validate:e,optional:!0}}function oa(e){return{validate:ta(e),optional:!0}}function ia(e){return t=ta(e),ha(da("array"),aa(t));var t}function sa(e){return ea(ia(e))}function aa(e){function t(t,n,r){if(Array.isArray(r))for(var o=0;oo+1)throw new TypeError("RestElement must be last element of "+r)}}}),ma("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:ca("Expression"),optional:!0}}}),ma("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:ha(da("array"),aa(ca("Expression")))}},aliases:["Expression"]}),ma("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:ca("Expression")}}}),ma("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:ca("Expression"),optional:!0},consequent:{validate:ha(da("array"),aa(ca("Statement")))}}}),ma("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:ca("Expression")},cases:{validate:ha(da("array"),aa(ca("SwitchCase")))}}}),ma("ThisExpression",{aliases:["Expression"]}),ma("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:ca("Expression")}}}),ma("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:ha(ca("BlockStatement"),Object.assign((function(e){if(Qi.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:ca("CatchClause")},finalizer:{optional:!0,validate:ca("BlockStatement")}}}),ma("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:ca("Expression")},operator:{validate:ua.apply(void 0,Bs)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),ma("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:Qi.env.BABEL_TYPES_8_BREAKING?ca("Identifier","MemberExpression"):ca("Expression")},operator:{validate:ua.apply(void 0,Os)}},visitor:["argument"],aliases:["Expression"]}),ma("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:da("boolean"),optional:!0},kind:{validate:ua("var","let","const")},declarations:{validate:ha(da("array"),aa(ca("VariableDeclarator")))}},validate:function(e,t,n){if(Qi.env.BABEL_TYPES_8_BREAKING&&ns("ForXStatement",e,{left:n})&&1!==n.declarations.length)throw new TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a "+e.type)}}),ma("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!Qi.env.BABEL_TYPES_8_BREAKING)return ca("LVal");var e=ca("Identifier","ArrayPattern","ObjectPattern"),t=ca("Identifier");return function(n,r,o){(n.init?e:t)(n,r,o)}}()},definite:{optional:!0,validate:da("boolean")},init:{optional:!0,validate:ca("Expression")}}}),ma("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:ca("Expression")},body:{validate:ca("Statement")}}}),ma("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:ca("Expression")},body:{validate:ca("Statement")}}}),ma("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},wa,{left:{validate:ca("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:ca("Expression")},decorators:{validate:ha(da("array"),aa(ca("Decorator"))),optional:!0}})}),ma("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},wa,{elements:{validate:ha(da("array"),aa(la("null","PatternLike")))},decorators:{validate:ha(da("array"),aa(ca("Decorator"))),optional:!0}})}),ma("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},va,ba,{expression:{validate:da("boolean")},body:{validate:ca("BlockStatement","Expression")}})}),ma("ClassBody",{visitor:["body"],fields:{body:{validate:ha(da("array"),aa(ca("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}}),ma("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:ca("Identifier"),optional:!0},typeParameters:{validate:ca("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:ca("ClassBody")},superClass:{optional:!0,validate:ca("Expression")},superTypeParameters:{validate:ca("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:ha(da("array"),aa(ca("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:ha(da("array"),aa(ca("Decorator"))),optional:!0},mixins:{validate:ca("InterfaceExtends"),optional:!0}}}),ma("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:ca("Identifier")},typeParameters:{validate:ca("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:ca("ClassBody")},superClass:{optional:!0,validate:ca("Expression")},superTypeParameters:{validate:ca("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:ha(da("array"),aa(ca("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:ha(da("array"),aa(ca("Decorator"))),optional:!0},mixins:{validate:ca("InterfaceExtends"),optional:!0},declare:{validate:da("boolean"),optional:!0},abstract:{validate:da("boolean"),optional:!0}},validate:function(){var e=ca("Identifier");return function(t,n,r){Qi.env.BABEL_TYPES_8_BREAKING&&(ns("ExportDefaultDeclaration",t)||e(r,"id",r.id))}}()}),ma("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:ca("StringLiteral")},assertions:{optional:!0,validate:ha(da("array"),ca("ImportAttribute"))}}}),ma("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:ca("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}}),ma("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:ha(ca("Declaration"),Object.assign((function(e,t,n){if(Qi.env.BABEL_TYPES_8_BREAKING&&n&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,n){if(Qi.env.BABEL_TYPES_8_BREAKING&&n&&e.source)throw new TypeError("Cannot export a declaration from a source")}))},assertions:{optional:!0,validate:ha(da("array"),ca("ImportAttribute"))},specifiers:{default:[],validate:ha(da("array"),aa(function(){var e=ca("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=ca("ExportSpecifier");return Qi.env.BABEL_TYPES_8_BREAKING?function(n,r,o){(n.source?e:t)(n,r,o)}:e}()))},source:{validate:ca("StringLiteral"),optional:!0},exportKind:ra(ua("type","value"))}}),ma("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:ca("Identifier")},exported:{validate:ca("Identifier","StringLiteral")}}}),ma("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!Qi.env.BABEL_TYPES_8_BREAKING)return ca("VariableDeclaration","LVal");var e=ca("VariableDeclaration"),t=ca("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(n,r,o){ns("VariableDeclaration",o)?e(n,r,o):t(n,r,o)}}()},right:{validate:ca("Expression")},body:{validate:ca("Statement")},await:{default:!1}}}),ma("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:!0,validate:ha(da("array"),ca("ImportAttribute"))},specifiers:{validate:ha(da("array"),aa(ca("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:ca("StringLiteral")},importKind:{validate:ua("type","typeof","value"),optional:!0}}}),ma("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:ca("Identifier")}}}),ma("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:ca("Identifier")}}}),ma("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:ca("Identifier")},imported:{validate:ca("Identifier","StringLiteral")},importKind:{validate:ua("type","typeof"),optional:!0}}}),ma("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:ha(ca("Identifier"),Object.assign((function(e,t,n){if(Qi.env.BABEL_TYPES_8_BREAKING){var r;switch(n.name){case"function":r="sent";break;case"new":r="target";break;case"import":r="meta"}if(!ns("Identifier",e.property,{name:r}))throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:ca("Identifier")}}});var xa={abstract:{validate:da("boolean"),optional:!0},accessibility:{validate:ua("public","private","protected"),optional:!0},static:{default:!1},computed:{default:!1},optional:{validate:da("boolean"),optional:!0},key:{validate:ha(function(){var e=ca("Identifier","StringLiteral","NumericLiteral"),t=ca("Expression");return function(n,r,o){(n.computed?t:e)(n,r,o)}}(),ca("Identifier","StringLiteral","NumericLiteral","Expression"))}},Ca=Object.assign({},va,xa,{kind:{validate:ua("get","set","method","constructor"),default:"method"},access:{validate:ha(da("string"),ua("public","private","protected")),optional:!0},decorators:{validate:ha(da("array"),aa(ca("Decorator"))),optional:!0}});ma("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},Ca,ba,{body:{validate:ca("BlockStatement")}})}),ma("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},wa,{properties:{validate:ha(da("array"),aa(ca("RestElement","ObjectProperty")))}})}),ma("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:ca("Expression")}}}),ma("Super",{aliases:["Expression"]}),ma("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:ca("Expression")},quasi:{validate:ca("TemplateLiteral")},typeParameters:{validate:ca("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),ma("TemplateElement",{builder:["value","tail"],fields:{value:{validate:function(e){function t(t,n,r){for(var o=[],i=0,s=Object.keys(e);i1?t-1:0),r=1;ro.length)throw new Error(e+": Too many arguments passed. Received "+i+" but can receive no more than "+o.length);var s={type:e},a=0;o.forEach((function(t){var r,o=$s[e][t];a=0)){if(pt(s))return[s];if(_n(s))n[s.type]=s;else if(kt(s))r.indexOf(s.types)<0&&(e=e.concat(s.types),r.push(s.types));else if(mt(s)){var a=s.id.name;if(t[a]){var u=t[a];u.typeParameters?s.typeParameters&&(u.typeParameters.params=kp(u.typeParameters.params.concat(s.typeParameters.params))):u=s.typeParameters}else t[a]=s}else o.push(s)}}for(var c=0,l=Object.keys(n);c=0)){if(Ht(s.type))return[s];wn(s)?n[s.type]=s:qt(s)?r.indexOf(s.types)<0&&(e=e.concat(s.types),r.push(s.types)):o.push(s)}}for(var a=0,u=Object.keys(n);a=Number.MAX_SAFE_INTEGER?zh.uid=0:zh.uid++},Kh.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};var Yh=Function.prototype,$h=Object.prototype,Xh=Yh.toString,Jh=$h.hasOwnProperty,Zh=Xh.call(Object),Qh=function(e){if(!$r(e)||"[object Object]"!=nr(e))return!1;var t=Bo(e);if(null===t)return!0;var n=Jh.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Xh.call(n)==Zh},ef=function(e){return $r(e)&&"[object RegExp]"==nr(e)},tf=lo&&lo.isRegExp,nf=tf?co(tf):ef;function rf(e){if(void 0===e)return lu("undefined");if(!0===e||!1===e)return mu(e);if(null===e)return gu();if("string"===typeof e)return hu(e);var t;if("number"===typeof e)return t=Number.isFinite(e)?fu(Math.abs(e)):Ka("/",Number.isNaN(e)?fu(0):fu(1),fu(0)),(e<0||Object.is(e,-0))&&(t=Nu("-",t)),t;if(nf(e))return yu(e.source,e.toString().match(/\/([a-z]+|)$/)[1]);if(Array.isArray(e))return Ua(e.map(rf));if(Qh(e)){for(var n=[],r=0,o=Object.keys(e);r=0)return!0}else if(i===e)return!0}return!1}function cf(e){return Re(e)&&("var"!==e.kind||e[Vs])}function lf(e){return he(e)||Ke(e)||cf(e)}function df(e,t,n){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"ExportSpecifier":return!t.source&&t.local===e;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.params.includes(e))return!1;case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":return t.key===e?!!t.computed:t.value!==e||!n||"ObjectPattern"!==n.type;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"LabeledStatement":case"CatchClause":case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":return t.key!==e||!!t.computed}return!0}function pf(e,t){return(!ne(e)||!an(t)&&!ie(t))&&(!(!fn(e)||!an(t)&&!ie(t))||en(e))}var hf=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function ff(e){return Cs(e)&&!hf.has(e)}function gf(e){return Re(e,{kind:"var"})&&!e[Vs]}var mf={isReactComponent:Sn,isCompatTag:function(e){return!!e&&/^[a-z]/.test(e)},buildChildren:function(e){for(var t=[],n=0;n0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*Pf;case"hours":case"hour":case"hrs":case"hr":case"h":return n*Lf;case"minutes":case"minute":case"mins":case"min":case"m":return n*Af;case"seconds":case"second":case"secs":case"sec":case"s":return n*Df;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===n&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=Pf?Nf(e,t,Pf,"day"):t>=Lf?Nf(e,t,Lf,"hour"):t>=Af?Nf(e,t,Af,"minute"):t>=Df?Nf(e,t,Df,"second"):e+" ms"}(e):function(e){var t=Math.abs(e);return t>=Pf?Math.round(e/Pf)+"d":t>=Lf?Math.round(e/Lf)+"h":t>=Af?Math.round(e/Af)+"m":t>=Df?Math.round(e/Df)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Nf(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}var jf=function(e){function t(e){for(var t=0,r=0;r=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(vW){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=jf(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(vW){return"[UnexpectedJSONParseError]: "+vW.message}}})),Rf=function(){function e(e){var t=e.identifier,n=e.scope,r=e.path,o=e.kind;this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=t,this.scope=n,this.path=r,this.kind=o,this.clearValue()}var t=e.prototype;return t.deoptValue=function(){this.clearValue(),this.hasDeoptedValue=!0},t.setValue=function(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)},t.clearValue=function(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},t.reassign=function(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)},t.reference=function(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))},t.dereference=function(){this.references--,this.referenced=!!this.references},e}();function Ff(e){if(!e.isExportDeclaration())throw new Error("Only export declarations can be split.");var t=e.isExportDefaultDeclaration(),n=e.get("declaration"),r=n.isClassDeclaration();if(t){var o=n.isFunctionDeclaration()||r,i=n.isScope()?n.scope.parent:n.scope,s=n.node.id,a=!1;s||(a=!0,s=i.generateUidIdentifier("default"),(o||n.isFunctionExpression()||n.isClassExpression())&&(n.node.id=Lp(s)));var u=o?n:Mu("var",[Ru(Lp(s),n.node)]),c=Yu(null,[$u(Lp(s),lu("default"))]);return e.insertAfter(c),e.replaceWith(u),a&&i.registerDeclaration(e),e}if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");var l=n.getOuterBindingIdentifiers(),d=Yu(null,Object.keys(l).map((function(e){return $u(lu(e),lu(e))})));return e.insertAfter(d),e.replaceWith(n.node),e}var Bf={ReferencedIdentifier:function(e,t){var n=e.node;n.name===t.oldName&&(n.name=t.newName)},Scope:function(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||e.skip()},"AssignmentExpression|Declaration|VariableDeclarator":function(e,t){if(!e.isVariableDeclaration()){var n=e.getOuterBindingIdentifiers();for(var r in n)r===t.oldName&&(n[r].name=t.newName)}}},Wf=function(){function e(e,t,n){this.newName=n,this.oldName=t,this.binding=e}var t=e.prototype;return t.maybeConvertFromExportDeclaration=function(e){var t=e.parentPath;t.isExportDeclaration()&&(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id||Ff(t))},t.maybeConvertFromClassFunctionDeclaration=function(e){},t.maybeConvertFromClassFunctionExpression=function(e){},t.rename=function(e){var t=this.binding,n=this.oldName,r=this.newName,o=t.scope,i=t.path.find((function(e){return e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()}));i&&i.getOuterBindingIdentifiers()[n]===t.identifier&&this.maybeConvertFromExportDeclaration(i),o.traverse(e||o.block,Bf,this),e||(o.removeOwnBinding(n),o.bindings[r]=t,this.binding.identifier.name=r),t.type,i&&(this.maybeConvertFromClassFunctionDeclaration(i),this.maybeConvertFromClassFunctionExpression(i))},e}(),Vf={Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},Hf={Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},Uf={Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},zf={Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},Kf={AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},qf={addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},Gf={__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},Yf={exports:!0,global:!1,module:!1,require:!1},$f={define:!1,require:!1},Xf={after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},Jf={afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},Zf={afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},Qf={asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},eg={console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},tg={emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},ng={defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},rg={__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},og={ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},ig={$:!1,jQuery:!1},sg={YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},ag={cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},ug={$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},cg={_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},lg={_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},dg={$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},pg={addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},hg={advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},fg={andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},gg={$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},mg={browser:!1,chrome:!1,opr:!1},yg={cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},vg={$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1},bg={builtin:Vf,es5:Hf,es2015:Uf,es2017:zf,browser:Kf,worker:qf,node:Gf,commonjs:Yf,amd:$f,mocha:Xf,jasmine:Jf,jest:Zf,qunit:Qf,phantomjs:eg,couch:tg,rhino:ng,nashorn:rg,wsh:og,jquery:ig,yui:sg,shelljs:ag,prototypejs:ug,meteor:cg,mongo:lg,applescript:dg,serviceworker:pg,atomtest:hg,embertest:fg,protractor:gg,"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:mg,greasemonkey:yg,devtools:vg},_g=Hn(Object.freeze({__proto__:null,builtin:Vf,es5:Hf,es2015:Uf,es2017:zf,browser:Kf,worker:qf,node:Gf,commonjs:Yf,amd:$f,mocha:Xf,jasmine:Jf,jest:Zf,qunit:Qf,phantomjs:eg,couch:tg,rhino:ng,nashorn:rg,wsh:og,jquery:ig,yui:sg,shelljs:ag,prototypejs:ug,meteor:cg,mongo:lg,applescript:dg,serviceworker:pg,atomtest:hg,embertest:fg,protractor:gg,webextensions:mg,greasemonkey:yg,devtools:vg,default:bg})),wg=new WeakMap,xg=new WeakMap;function Cg(){wg=new WeakMap}function Sg(){xg=new WeakMap}var kg=Object.freeze({__proto__:null,get path(){return wg},get scope(){return xg},clear:function(){Cg(),Sg()},clearPath:Cg,clearScope:Sg}),Eg={For:function(e){for(var t=0,n=ks;t1&&(n+=t),"_"+n},t.generateUidBasedOnNode=function(e,t){var n=[];!function e(t,n){switch(null==t?void 0:t.type){default:if(mn(t))if(t.source)e(t.source,n);else if(t.specifiers&&t.specifiers.length)for(var r,o=V(t.specifiers);!(r=o()).done;)e(r.value,n);else t.declaration&&e(t.declaration,n);else vn(t)?e(t.local,n):ln(t)&&n.push(t.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":e(t.object,n),e(t.property,n);break;case"Identifier":case"JSXIdentifier":n.push(t.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":e(t.callee,n);break;case"ObjectExpression":case"ObjectPattern":for(var i,s=V(t.properties);!(i=s()).done;)e(i.value,n);break;case"SpreadElement":case"RestElement":e(t.argument,n);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":e(t.key,n);break;case"ThisExpression":n.push("this");break;case"Super":n.push("super");break;case"Import":n.push("import");break;case"DoExpression":n.push("do");break;case"YieldExpression":n.push("yield"),e(t.argument,n);break;case"AwaitExpression":n.push("await"),e(t.argument,n);break;case"AssignmentExpression":e(t.left,n);break;case"VariableDeclarator":e(t.id,n);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":e(t.id,n);break;case"ParenthesizedExpression":e(t.expression,n);break;case"UnaryExpression":case"UpdateExpression":e(t.argument,n);break;case"MetaProperty":e(t.meta,n),e(t.property,n);break;case"JSXElement":e(t.openingElement,n);break;case"JSXOpeningElement":n.push(t.name);break;case"JSXFragment":e(t.openingFragment,n);break;case"JSXOpeningFragment":n.push("Fragment");break;case"JSXNamespacedName":e(t.namespace,n),e(t.name,n)}}(e,n);var r=n.join("$");return r=r.replace(/^_/,"")||t||"ref",this.generateUid(r.slice(0,20))},t.generateUidIdentifierBasedOnNode=function(e,t){return lu(this.generateUidBasedOnNode(e,t))},t.isStatic=function(e){if(Ne(e)||rt(e))return!0;if(ge(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},t.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var n=this.generateUidIdentifierBasedOnNode(e);return t?n:(this.push({id:n}),Lp(n))},t.checkBlockScopedCollisions=function(e,t,n,r){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&("let"===t||"const"===t)))throw this.hub.buildError(r,'Duplicate declaration "'+n+'"',TypeError)},t.rename=function(e,t,n){var r=this.getBinding(e);if(r)return t=t||this.generateUidIdentifier(e).name,new Wf(r,e,t).rename(n)},t._renameFromMap=function(e,t,n,r){e[t]&&(e[n]=r,e[t]=null)},t.dump=function(){var e="-".repeat(60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var n=0,r=Object.keys(t.bindings);n>>=5)>0&&(t|=32),n+=Ag(t)}while(r>0);return n},Ig=function(e,t,n){var r,o,i=e.length,s=0,a=0;do{if(t>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=Lg(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&o),s+=(o&=31)<>1;return 1===(1&e)?-t:t}(s),n.rest=t},Ng=Vn((function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,r=/^data:.+\,.+$/;function o(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function s(e){var n=e,r=o(e);if(r){if(!r.path)return e;n=r.path}for(var s,a=t.isAbsolute(n),u=n.split(/\/+/),c=0,l=u.length-1;l>=0;l--)"."===(s=u[l])?u.splice(l,1):".."===s?c++:c>0&&(""===s?(u.splice(l+1,c),c=0):(u.splice(l,2),c--));return""===(n=u.join("/"))&&(n=a?"/":"."),r?(r.path=n,i(r)):n}t.urlParse=o,t.urlGenerate=i,t.normalize=s,t.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),a=o(e);if(a&&(e=a.path||"/"),n&&!n.scheme)return a&&(n.scheme=a.scheme),i(n);if(n||t.match(r))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var u="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=u,i(a)):u},t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(n)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var a=!("__proto__"in Object.create(null));function u(e){return e}function c(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function l(e,t){return e===t?0:e>t?1:-1}t.toSetString=a?u:function(e){return c(e)?"$"+e:e},t.fromSetString=a?u:function(e){return c(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=e.source-t.source;return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:e.name-t.name},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=e.source-t.source)||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:e.name-t.name},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=l(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:l(e.name,t.name)}})),jg=Object.prototype.hasOwnProperty,Mg="undefined"!==typeof Map;function Rg(){this._array=[],this._set=Mg?new Map:Object.create(null)}Rg.fromArray=function(e,t){for(var n=new Rg,r=0,o=e.length;r=0)return t}else{var n=Ng.toSetString(e);if(jg.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},Rg.prototype.at=function(e){if(e>=0&&en||r==n&&i>=o||Ng.compareByGeneratedPositionsInflated(e,t)<=0}(this._last,e)?(this._sorted=!1,this._array.push(e)):(this._last=e,this._array.push(e))},Bg.prototype.toArray=function(){return this._sorted||(this._array.sort(Ng.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};var Wg=Fg.ArraySet,Vg={MappingList:Bg}.MappingList;function Hg(e){e||(e={}),this._file=Ng.getArg(e,"file",null),this._sourceRoot=Ng.getArg(e,"sourceRoot",null),this._skipValidation=Ng.getArg(e,"skipValidation",!1),this._sources=new Wg,this._names=new Wg,this._mappings=new Vg,this._sourcesContents=null}Hg.prototype._version=3,Hg.fromSourceMap=function(e){var t=e.sourceRoot,n=new Hg({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=Ng.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&n.setSourceContent(t,r)})),n},Hg.prototype.addMapping=function(e){var t=Ng.getArg(e,"generated"),n=Ng.getArg(e,"original",null),r=Ng.getArg(e,"source",null),o=Ng.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},Hg.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=Ng.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Ng.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[Ng.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},Hg.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var o=this._sourceRoot;null!=o&&(r=Ng.relative(o,r));var i=new Wg,s=new Wg;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=Ng.join(n,t.source)),null!=o&&(t.source=Ng.relative(o,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var u=t.source;null==u||i.has(u)||i.add(u);var c=t.name;null==c||s.has(c)||s.add(c)}),this),this._sources=i,this._names=s,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=Ng.join(n,t)),null!=o&&(t=Ng.relative(o,t)),this.setSourceContent(t,r))}),this)},Hg.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!==typeof t.line&&"number"!==typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},Hg.prototype._serializeMappings=function(){for(var e,t,n,r,o=0,i=1,s=0,a=0,u=0,c=0,l="",d=this._mappings.toArray(),p=0,h=d.length;p0){if(!Ng.compareByGeneratedPositionsInflated(t,d[p-1]))continue;e+=","}e+=Pg(t.generatedColumn-o),o=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=Pg(r-c),c=r,e+=Pg(t.originalLine-1-a),a=t.originalLine-1,e+=Pg(t.originalColumn-s),s=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=Pg(n-u),u=n)),l+=e}return l},Hg.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=Ng.relative(t,e));var n=Ng.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},Hg.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},Hg.prototype.toString=function(){return JSON.stringify(this.toJSON())};var Ug={SourceMapGenerator:Hg},zg=Vn((function(e,t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,r,o){if(0===n.length)return-1;var i=function e(n,r,o,i,s,a){var u=Math.floor((r-n)/2)+n,c=s(o,i[u],!0);return 0===c?u:c>0?r-u>1?e(u,r,o,i,s,a):a==t.LEAST_UPPER_BOUND?r1?e(n,u,o,i,s,a):a==t.LEAST_UPPER_BOUND?u:n<0?-1:n}(-1,n.length,e,n,r,o||t.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===r(n[i],n[i-1],!0);)--i;return i}}));function Kg(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function qg(e,t,n,r){if(n=0){var i=this._originalMappings[o];if(void 0===e.column)for(var s=i.originalLine;i&&i.originalLine===s;)r.push({line:Ng.getArg(i,"generatedLine",null),column:Ng.getArg(i,"generatedColumn",null),lastColumn:Ng.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)r.push({line:Ng.getArg(i,"generatedLine",null),column:Ng.getArg(i,"generatedColumn",null),lastColumn:Ng.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return r};var Xg=$g;function Jg(e){var t=e;"string"===typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=Ng.getArg(t,"version"),r=Ng.getArg(t,"sources"),o=Ng.getArg(t,"names",[]),i=Ng.getArg(t,"sourceRoot",null),s=Ng.getArg(t,"sourcesContent",null),a=Ng.getArg(t,"mappings"),u=Ng.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(String).map(Ng.normalize).map((function(e){return i&&Ng.isAbsolute(i)&&Ng.isAbsolute(e)?Ng.relative(i,e):e})),this._names=Gg.fromArray(o.map(String),!0),this._sources=Gg.fromArray(r,!0),this.sourceRoot=i,this.sourcesContent=s,this._mappings=a,this.file=u}function Zg(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Jg.prototype=Object.create($g.prototype),Jg.prototype.consumer=$g,Jg.fromSourceMap=function(e){var t=Object.create(Jg.prototype),n=t._names=Gg.fromArray(e._names.toArray(),!0),r=t._sources=Gg.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var o=e._mappings.toArray().slice(),i=t.__generatedMappings=[],s=t.__originalMappings=[],a=0,u=o.length;a1&&(n.source=d+o[1],d+=o[1],n.originalLine=c+o[2],c=n.originalLine,n.originalLine+=1,n.originalColumn=l+o[3],l=n.originalColumn,o.length>4&&(n.name=p+o[4],p+=o[4])),v.push(n),"number"===typeof n.originalLine&&y.push(n)}Yg(v,Ng.compareByGeneratedPositionsDeflated),this.__generatedMappings=v,Yg(y,Ng.compareByOriginalPositions),this.__originalMappings=y},Jg.prototype._findMapping=function(e,t,n,r,o,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return zg.search(e,t,o,i)},Jg.prototype.computeColumnSpans=function(){for(var e=0;e=0){var r=this._generatedMappings[n];if(r.generatedLine===t.generatedLine){var o=Ng.getArg(r,"source",null);null!==o&&(o=this._sources.at(o),null!=this.sourceRoot&&(o=Ng.join(this.sourceRoot,o)));var i=Ng.getArg(r,"name",null);return null!==i&&(i=this._names.at(i)),{source:o,line:Ng.getArg(r,"originalLine",null),column:Ng.getArg(r,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},Jg.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},Jg.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=Ng.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=Ng.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},Jg.prototype.generatedPositionFor=function(e){var t=Ng.getArg(e,"source");if(null!=this.sourceRoot&&(t=Ng.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:Ng.getArg(e,"line"),originalColumn:Ng.getArg(e,"column")},r=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ng.compareByOriginalPositions,Ng.getArg(e,"bias",$g.GREATEST_LOWER_BOUND));if(r>=0){var o=this._originalMappings[r];if(o.source===n.source)return{line:Ng.getArg(o,"generatedLine",null),column:Ng.getArg(o,"generatedColumn",null),lastColumn:Ng.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};var Qg=Jg;function em(e){var t=e;"string"===typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=Ng.getArg(t,"version"),r=Ng.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new Gg,this._names=new Gg;var o={line:-1,column:0};this._sections=r.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=Ng.getArg(e,"offset"),n=Ng.getArg(t,"line"),r=Ng.getArg(t,"column");if(n=0;t--)this.prepend(e[t]);else{if(!e[om]&&"string"!==typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},im.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n0){for(t=[],n=0;n0&&um.test(this._queue[0][0]);)this._queue.shift();var t=this._sourcePosition,n=t.line,r=t.column,o=t.filename,i=t.identifierName,s=t.force;this._queue.unshift([e,n,r,i,o,s])},t._flush=function(){for(var e;e=this._queue.pop();)this._append.apply(this,e)},t._append=function(e,t,n,r,o,i){this._buf.push(e),this._last=e[e.length-1];var s=e.indexOf("\n"),a=0;for(0!==s&&this._mark(t,n,r,o,i);-1!==s;)this._position.line++,this._position.column=0,(a=s+1)0&&"\n"===this._queue[0][0]&&this._queue.shift()},t.removeLastSemicolon=function(){this._queue.length>0&&";"===this._queue[0][0]&&this._queue.shift()},t.endsWith=function(e){if(1===e.length){var t;if(this._queue.length>0){var n=this._queue[0][0];t=n[n.length-1]}else t=this._last;return t===e}var r=this._last+this._queue.reduce((function(e,t){return t[0]+e}),"");return e.length<=r.length&&r.slice(-e.length)===e},t.hasContent=function(){return this._queue.length>0||!!this._last},t.exactSource=function(e,t){this.source("start",e,!0),t(),this.source("end",e),this._disallowPop("start",e)},t.source=function(e,t,n){e&&!t||this._normalizePosition(e,t,this._sourcePosition,n)},t.withSource=function(e,t,n){if(!this._map)return n();var r=this._sourcePosition.line,o=this._sourcePosition.column,i=this._sourcePosition.filename,s=this._sourcePosition.identifierName;this.source(e,t),n(),this._sourcePosition.force&&this._sourcePosition.line===r&&this._sourcePosition.column===o&&this._sourcePosition.filename===i||this._disallowedPop&&this._disallowedPop.line===r&&this._disallowedPop.column===o&&this._disallowedPop.filename===i||(this._sourcePosition.line=r,this._sourcePosition.column=o,this._sourcePosition.filename=i,this._sourcePosition.identifierName=s,this._sourcePosition.force=!1,this._disallowedPop=null)},t._disallowPop=function(e,t){e&&!t||(this._disallowedPop=this._normalizePosition(e,t))},t._normalizePosition=function(e,t,n,r){var o=t?t[e]:null;void 0===n&&(n={identifierName:null,line:null,column:null,filename:null,force:!1});var i=n.line,s=n.column,a=n.filename;return n.identifierName="start"===e&&(null==t?void 0:t.identifierName)||null,n.line=null==o?void 0:o.line,n.column=null==o?void 0:o.column,n.filename=null==t?void 0:t.filename,(r||n.line!==i||n.column!==s||n.filename!==a)&&(n.force=r),n},t.getCurrentColumn=function(){var e=this._queue.reduce((function(e,t){return t[0]+e}),""),t=e.lastIndexOf("\n");return-1===t?this._position.column+e.length:e.length-1-t},t.getCurrentLine=function(){for(var e=this._queue.reduce((function(e,t){return t[0]+e}),""),t=0,n=0;n":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10},gm=function(e,t){return(Ke(t)||ze(t))&&t.superClass===e},mm=function(e,t){return(Ce(t)||lt(t))&&t.object===e||(oe(t)||dt(t)||Se(t))&&t.callee===e||ot(t)&&t.tag===e||Xt(t)};function ym(e,t){return ht(t)||_t(t)||yt(t)||kt(t)}function vm(e,t){return Ut(t)||zt(t)||Gt(t)||qt(t)||Kt(t)}function bm(e,t){return Qt(t)||hn(t)||mm(e,t)||at(t)&&st(e)||se(t)&&e===t.test||gm(e,t)}function _m(e,t){return mm(e,t)||te(t,{operator:"**",left:e})||gm(e,t)}function wm(e,t){return!!(hn(t)||Qt(t)||se(t,{test:e})||at(t)||$t(t)||Yt(t))||_m(e,t)}function xm(e,t){return oe(t,{callee:e})||Ce(t,{object:e})}function Cm(e,t){for(var n=void 0===t?{}:t,r=n.considerArrow,o=void 0!==r&&r,i=n.considerDefaultExports,s=void 0!==i&&i,a=e.length-1,u=e[a],c=e[--a];a>=0;){if(ce(c,{expression:u})||s&&Ge(c,{declaration:u})||o&&He(c,{body:u}))return!0;if(!(mm(u,c)&&!Se(c)||Le(c)&&c.expressions[0]===u||nn(c,{test:u})||Qt(c,{left:u})||ee(c,{left:u})))return!1;u=c,c=e[--a]}return!1}function Sm(e){var t={};function n(e,n){var r=t[e];t[e]=r?function(e,t,o){var i=r(e,t,o);return null==i?n(e,t,o):i}:n}for(var r=0,o=Object.keys(e);ri)return!0}},UnionTypeAnnotation:ym,IntersectionTypeAnnotation:ym,TSAsExpression:function(){return!0},TSTypeAssertion:function(){return!0},TSUnionType:vm,TSIntersectionType:vm,TSInferType:function(e,t){return Ut(t)||zt(t)},BinaryExpression:function(e,t){return"in"===e.operator&&(Fe(t)||on(t))},SequenceExpression:function(e,t){return!(pe(t)||je(t)||Ae(t)||me(t)&&t.test===e||Be(t)&&t.test===e||de(t)&&t.right===e||Ie(t)&&t.discriminant===e||ce(t)&&t.expression===e)},YieldExpression:bm,AwaitExpression:bm,ClassExpression:function(e,t,n){return Cm(n,{considerDefaultExports:!0})},UnaryLike:_m,FunctionExpression:function(e,t,n){return Cm(n,{considerDefaultExports:!0})},ArrowFunctionExpression:function(e,t){return yn(t)||wm(e,t)},ConditionalExpression:wm,OptionalMemberExpression:xm,OptionalCallExpression:xm,AssignmentExpression:function(e,t,n){return!!tt(e.left)||wm(e,t)},LogicalExpression:function(e,t){switch(e.operator){case"||":return!!xe(t)&&("??"===t.operator||"&&"===t.operator);case"&&":return xe(t,{operator:"??"});case"??":return xe(t)&&"??"!==t.operator}}})),Em=Sm(hm),Tm=Sm({VariableDeclaration:function(e){return e.declarations.map((function(e){return e.init}))},ArrayExpression:function(e){return e.elements},ObjectExpression:function(e){return e.properties}});function Om(e,t,n,r){var o=e[t.type];return o?o(t,n,r):null}function Dm(e,t,n){if(!e)return 0;ce(e)&&(e=e.expression);var r=Om(Em,e,t);if(!r){var o=Om(Tm,e,t);if(o)for(var i=0;i>18&63]+Jm[o>>12&63]+Jm[o>>6&63]+Jm[63&o]);return i.join("")}function ry(e){var t;ey||ty();for(var n=e.length,r=n%3,o="",i=[],s=0,a=n-r;sa?a:s+16383));return 1===r?(t=e[n-1],o+=Jm[t>>2],o+=Jm[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=Jm[t>>10],o+=Jm[t>>4&63],o+=Jm[t<<2&63],o+="="),i.push(o),i.join("")}function oy(e,t,n,r,o){var i,s,a=8*o-r-1,u=(1<>1,l=-7,d=n?o-1:0,p=n?-1:1,h=e[t+d];for(d+=p,i=h&(1<<-l)-1,h>>=-l,l+=a;l>0;i=256*i+e[t+d],d+=p,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=r;l>0;s=256*s+e[t+d],d+=p,l-=8);if(0===i)i=1-c;else{if(i===u)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),i-=c}return(h?-1:1)*s*Math.pow(2,i-r)}function iy(e,t,n,r,o,i){var s,a,u,c=8*i-o-1,l=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,f=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+d>=1?p/u:p*Math.pow(2,1-d))*u>=2&&(s++,u/=2),s+d>=l?(a=0,s=l):s+d>=1?(a=(t*u-1)*Math.pow(2,o),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;e[n+h]=255&a,h+=f,a/=256,o-=8);for(s=s<0;e[n+h]=255&s,h+=f,s/=256,c-=8);e[n+h-f]|=128*g}var sy={}.toString,ay=Array.isArray||function(e){return"[object Array]"==sy.call(e)};dy.TYPED_ARRAY_SUPPORT=void 0===Di.TYPED_ARRAY_SUPPORT||Di.TYPED_ARRAY_SUPPORT;var uy=cy();function cy(){return dy.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ly(e,t){if(cy()=cy())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+cy().toString(16)+" bytes");return 0|e}function yy(e){return!(null==e||!e._isBuffer)}function vy(e,t){if(yy(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Uy(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return zy(e).length;default:if(r)return Uy(e).length;t=(""+t).toLowerCase(),r=!0}}function by(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Iy(this,t,n);case"utf8":case"utf-8":return Ay(this,t,n);case"ascii":return Ly(this,t,n);case"latin1":case"binary":return Py(this,t,n);case"base64":return Dy(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ny(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function _y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function wy(e,t,n,r,o){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=dy.from(t,r)),yy(t))return 0===t.length?-1:xy(e,t,n,r,o);if("number"===typeof t)return t&=255,dy.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):xy(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function xy(e,t,n,r,o){var i,s=1,a=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var l=-1;for(i=n;ia&&(n=a-u),i=n;i>=0;i--){for(var d=!0,p=0;po&&(r=o):r=o;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;s>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function Dy(e,t,n){return 0===t&&n===e.length?ry(e):ry(e.slice(t,n))}function Ay(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(l=c);break;case 2:128===(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],s=e[o+2],128===(192&i)&&128===(192&s)&&(u=(15&c)<<12|(63&i)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],128===(192&i)&&128===(192&s)&&128===(192&a)&&(u=(15&c)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,d=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;ro)&&(n=o);for(var i="",s=t;sn)throw new RangeError("Trying to access beyond buffer length")}function My(e,t,n,r,o,i){if(!yy(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function Ry(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function Fy(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function By(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Wy(e,t,n,r,o){return o||By(e,0,n,4),iy(e,t,n,r,23,4),n+4}function Vy(e,t,n,r,o){return o||By(e,0,n,8),iy(e,t,n,r,52,8),n+8}dy.poolSize=8192,dy._augment=function(e){return e.__proto__=dy.prototype,e},dy.from=function(e,t,n){return py(null,e,t,n)},dy.TYPED_ARRAY_SUPPORT&&(dy.prototype.__proto__=Uint8Array.prototype,dy.__proto__=Uint8Array),dy.alloc=function(e,t,n){return function(e,t,n,r){return hy(t),t<=0?ly(e,t):void 0!==n?"string"===typeof r?ly(e,t).fill(n,r):ly(e,t).fill(n):ly(e,t)}(null,e,t,n)},dy.allocUnsafe=function(e){return fy(null,e)},dy.allocUnsafeSlow=function(e){return fy(null,e)},dy.isBuffer=qy,dy.compare=function(e,t){if(!yy(e)||!yy(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},dy.prototype.compare=function(e,t,n,r,o){if(!yy(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(i,s),u=this.slice(r,o),c=e.slice(t,n),l=0;lo)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return Cy(this,e,t,n);case"utf8":case"utf-8":return Sy(this,e,t,n);case"ascii":return ky(this,e,t,n);case"latin1":case"binary":return Ey(this,e,t,n);case"base64":return Ty(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Oy(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},dy.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},dy.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(o*=256);)r+=this[e+--t]*o;return r},dy.prototype.readUInt8=function(e,t){return t||jy(e,1,this.length),this[e]},dy.prototype.readUInt16LE=function(e,t){return t||jy(e,2,this.length),this[e]|this[e+1]<<8},dy.prototype.readUInt16BE=function(e,t){return t||jy(e,2,this.length),this[e]<<8|this[e+1]},dy.prototype.readUInt32LE=function(e,t){return t||jy(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},dy.prototype.readUInt32BE=function(e,t){return t||jy(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},dy.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||jy(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},dy.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||jy(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},dy.prototype.readInt8=function(e,t){return t||jy(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},dy.prototype.readInt16LE=function(e,t){t||jy(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},dy.prototype.readInt16BE=function(e,t){t||jy(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},dy.prototype.readInt32LE=function(e,t){return t||jy(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},dy.prototype.readInt32BE=function(e,t){return t||jy(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},dy.prototype.readFloatLE=function(e,t){return t||jy(e,4,this.length),oy(this,e,!0,23,4)},dy.prototype.readFloatBE=function(e,t){return t||jy(e,4,this.length),oy(this,e,!1,23,4)},dy.prototype.readDoubleLE=function(e,t){return t||jy(e,8,this.length),oy(this,e,!0,52,8)},dy.prototype.readDoubleBE=function(e,t){return t||jy(e,8,this.length),oy(this,e,!1,52,8)},dy.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||My(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},dy.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||My(this,e,t,1,255,0),dy.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},dy.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||My(this,e,t,2,65535,0),dy.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ry(this,e,t,!0),t+2},dy.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||My(this,e,t,2,65535,0),dy.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ry(this,e,t,!1),t+2},dy.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||My(this,e,t,4,4294967295,0),dy.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Fy(this,e,t,!0),t+4},dy.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||My(this,e,t,4,4294967295,0),dy.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Fy(this,e,t,!1),t+4},dy.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);My(this,e,t,n,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i>0)-a&255;return t+n},dy.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);My(this,e,t,n,o-1,-o)}var i=n-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+n},dy.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||My(this,e,t,1,127,-128),dy.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},dy.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||My(this,e,t,2,32767,-32768),dy.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ry(this,e,t,!0),t+2},dy.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||My(this,e,t,2,32767,-32768),dy.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ry(this,e,t,!1),t+2},dy.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||My(this,e,t,4,2147483647,-2147483648),dy.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Fy(this,e,t,!0),t+4},dy.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||My(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),dy.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Fy(this,e,t,!1),t+4},dy.prototype.writeFloatLE=function(e,t,n){return Wy(this,e,t,!0,n)},dy.prototype.writeFloatBE=function(e,t,n){return Wy(this,e,t,!1,n)},dy.prototype.writeDoubleLE=function(e,t,n){return Vy(this,e,t,!0,n)},dy.prototype.writeDoubleBE=function(e,t,n){return Vy(this,e,t,!1,n)},dy.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(i<1e3||!dy.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(i=t;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function zy(e){return function(e){var t,n,r,o,i,s;ey||ty();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[a-2]?2:"="===e[a-1]?1:0,s=new Qm(3*a/4-i),r=i>0?a-4:a;var u=0;for(t=0,n=0;t>16&255,s[u++]=o>>8&255,s[u++]=255&o;return 2===i?(o=Zm[e.charCodeAt(t)]<<2|Zm[e.charCodeAt(t+1)]>>4,s[u++]=255&o):1===i&&(o=Zm[e.charCodeAt(t)]<<10|Zm[e.charCodeAt(t+1)]<<4|Zm[e.charCodeAt(t+2)]>>2,s[u++]=o>>8&255,s[u++]=255&o),s}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Hy,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function Ky(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function qy(e){return null!=e&&(!!e._isBuffer||Gy(e)||function(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&Gy(e.slice(0,0))}(e))}function Gy(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Yy=Object.freeze({__proto__:null,Buffer:dy,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return+e!=e&&(e=0),dy.alloc(+e)},isBuffer:qy,kMaxLength:uy}),$y={},Xy=$y.hasOwnProperty,Jy=function(e,t){for(var n in e)Xy.call(e,n)&&t(n,e[n])},Zy=$y.toString,Qy=Array.isArray,ev=dy.isBuffer,tv={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},nv=/["'\\\b\f\n\r\t]/,rv=/[0-9]/,ov=/[ !#-&\(-\[\]-_a-~]/,iv=function e(t,n){var r,o,i=function(){h=p,++n.indentLevel,p=n.indent.repeat(n.indentLevel)},s={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},a=n&&n.json;a&&(s.quotes="double",s.wrap=!0),r=s,"single"!=(n=(o=n)?(Jy(o,(function(e,t){r[e]=t})),r):r).quotes&&"double"!=n.quotes&&"backtick"!=n.quotes&&(n.quotes="single");var u,c="double"==n.quotes?'"':"backtick"==n.quotes?"`":"'",l=n.compact,d=n.lowercaseHex,p=n.indent.repeat(n.indentLevel),h="",f=n.__inline1__,g=n.__inline2__,m=l?"":"\n",y=!0,v="binary"==n.numbers,b="octal"==n.numbers,_="decimal"==n.numbers,w="hexadecimal"==n.numbers;if(a&&t&&"function"==typeof t.toJSON&&(t=t.toJSON()),!function(e){return"string"==typeof e||"[object String]"==Zy.call(e)}(t)){if(function(e){return"[object Map]"==Zy.call(e)}(t))return 0==t.size?"new Map()":(l||(n.__inline1__=!0,n.__inline2__=!1),"new Map("+e(Array.from(t),n)+")");if(function(e){return"[object Set]"==Zy.call(e)}(t))return 0==t.size?"new Set()":"new Set("+e(Array.from(t),n)+")";if(ev(t))return 0==t.length?"Buffer.from([])":"Buffer.from("+e(Array.from(t),n)+")";if(Qy(t))return u=[],n.wrap=!0,f&&(n.__inline1__=!1,n.__inline2__=!0),g||i(),function(e,t){for(var n=e.length,r=-1;++r=55296&&T<=56319&&k>S+1){var O=C.charCodeAt(S+1);if(O>=56320&&O<=57343){var D=(1024*(T-55296)+O-56320+65536).toString(16);d||(D=D.toUpperCase()),u+="\\u{"+D+"}",++S;continue}}}if(!n.escapeEverything){if(ov.test(E)){u+=E;continue}if('"'==E){u+=c==E?'\\"':E;continue}if("`"==E){u+=c==E?"\\`":E;continue}if("'"==E){u+=c==E?"\\'":E;continue}}if("\0"!=E||a||rv.test(C.charAt(S+1)))if(nv.test(E))u+=tv[E];else{var A=E.charCodeAt(0);if(n.minimal&&8232!=A&&8233!=A)u+=E;else{var L=A.toString(16);d||(L=L.toUpperCase());var P=L.length>2||a,I="\\"+(P?"u":"x")+("0000"+L).slice(P?-4:-2);u+=I}}else u+="\\0"}return n.wrap&&(u=c+u+c),"`"==c&&(u=u.replace(/\$\{/g,"\\${")),n.isScriptContext?u.replace(/<\/(script|style)/gi,"<\\/$1").replace(/|<\/?script\s*\/?>?/i);if(0===m.length)return l.goToEnd(),p(n,ot.Script);if("\x3c!--"===m)1===u&&(u=2);else if("--\x3e"===m)u=1;else if("/"!==m[1])2===u&&(u=3);else{if(3!==u){l.goBack(m.length);break}u=2}}return h=at.WithinContent,n0))return o;r=o-1}}return-(i+1)}(It,e.toLowerCase(),(function(e,t){return e.localeCompare(t)}))>=0}var Ut,Mt,Ot,Pt,Rt,qt,Ht,Dt,Wt,Ft,jt,zt,Bt,Vt,Kt,Gt,Yt,Xt,Qt,Jt,$t=function(){function e(e,t,n,i){this.start=e,this.end=t,this.children=n,this.parent=i,this.closed=!1}return Object.defineProperty(e.prototype,"attributeNames",{get:function(){return this.attributes?Object.keys(this.attributes):[]},enumerable:!0,configurable:!0}),e.prototype.isSameTag=function(e){return this.tag&&e&&this.tag.length===e.length&&this.tag.toLowerCase()===e},Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length?this.children[this.children.length-1]:void 0},enumerable:!0,configurable:!0}),e.prototype.findNodeBefore=function(e){var t=At(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start){if(e=0){var n=this.children[t];if(e>n.start&&e<=n.end)return n.findNodeAt(e)}return this},e}();function Zt(e){for(var t=Lt(e),n=new $t(0,e.length,[],void 0),i=n,r=-1,o=null,a=null,s=t.scan();s!==ot.EOS;){switch(s){case ot.StartTagOpen:var l=new $t(t.getTokenOffset(),e.length,[],i);i.children.push(l),i=l;break;case ot.StartTag:i.tag=t.getTokenText();break;case ot.StartTagClose:i.end=t.getTokenEnd(),i.startTagEnd=t.getTokenEnd(),i.tag&&Nt(i.tag)&&i.parent&&(i.closed=!0,i=i.parent);break;case ot.StartTagSelfClose:i.parent&&(i.closed=!0,i.end=t.getTokenEnd(),i.startTagEnd=t.getTokenEnd(),i=i.parent);break;case ot.EndTagOpen:r=t.getTokenOffset(),o=null;break;case ot.EndTag:o=t.getTokenText().toLowerCase();break;case ot.EndTagClose:if(o){for(var h=i;!h.isSameTag(o)&&h.parent;)h=h.parent;if(h.parent){for(;i!==h;)i.end=r,i.closed=!1,i=i.parent;i.closed=!0,i.endTagStart=r,i.end=t.getTokenEnd(),i=i.parent}}break;case ot.AttributeName:a=t.getTokenText(),(c=i.attributes)||(i.attributes=c={}),c[a]=null;break;case ot.AttributeValue:var c,u=t.getTokenText();(c=i.attributes)&&a&&(c[a]=u,a=null)}s=t.scan()}for(;i.parent;)i.end=e.length,i.closed=!1,i=i.parent;return{roots:n.children,findNodeBefore:n.findNodeBefore.bind(n),findNodeAt:n.findNodeAt.bind(n)}}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return Ln.objectLiteral(t)&&Ln.number(t.line)&&Ln.number(t.character)}}(Ut||(Ut={})),(Ot=Mt||(Mt={})).create=function(e,t,n,i){if(Ln.number(e)&&Ln.number(t)&&Ln.number(n)&&Ln.number(i))return{start:Ut.create(e,t),end:Ut.create(n,i)};if(Ut.is(e)&&Ut.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},Ot.is=function(e){var t=e;return Ln.objectLiteral(t)&&Ut.is(t.start)&&Ut.is(t.end)},function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return Ln.defined(t)&&Mt.is(t.range)&&(Ln.string(t.uri)||Ln.undefined(t.uri))}}(Pt||(Pt={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return Ln.defined(t)&&Mt.is(t.targetRange)&&Ln.string(t.targetUri)&&(Mt.is(t.targetSelectionRange)||Ln.undefined(t.targetSelectionRange))&&(Mt.is(t.originSelectionRange)||Ln.undefined(t.originSelectionRange))}}(Rt||(Rt={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return Ln.number(t.red)&&Ln.number(t.green)&&Ln.number(t.blue)&&Ln.number(t.alpha)}}(qt||(qt={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return Mt.is(t.range)&&qt.is(t.color)}}(Ht||(Ht={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return Ln.string(t.label)&&(Ln.undefined(t.textEdit)||Kt.is(t))&&(Ln.undefined(t.additionalTextEdits)||Ln.typedArray(t.additionalTextEdits,Kt.is))}}(Dt||(Dt={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(Wt||(Wt={})),function(e){e.create=function(e,t,n,i,r){var o={startLine:e,endLine:t};return Ln.defined(n)&&(o.startCharacter=n),Ln.defined(i)&&(o.endCharacter=i),Ln.defined(r)&&(o.kind=r),o},e.is=function(e){var t=e;return Ln.number(t.startLine)&&Ln.number(t.startLine)&&(Ln.undefined(t.startCharacter)||Ln.number(t.startCharacter))&&(Ln.undefined(t.endCharacter)||Ln.number(t.endCharacter))&&(Ln.undefined(t.kind)||Ln.string(t.kind))}}(Ft||(Ft={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return Ln.defined(t)&&Pt.is(t.location)&&Ln.string(t.message)}}(jt||(jt={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(zt||(zt={})),function(e){e.create=function(e,t,n,i,r,o){var a={range:e,message:t};return Ln.defined(n)&&(a.severity=n),Ln.defined(i)&&(a.code=i),Ln.defined(r)&&(a.source=r),Ln.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t=e;return Ln.defined(t)&&Mt.is(t.range)&&Ln.string(t.message)&&(Ln.number(t.severity)||Ln.undefined(t.severity))&&(Ln.number(t.code)||Ln.string(t.code)||Ln.undefined(t.code))&&(Ln.string(t.source)||Ln.undefined(t.source))&&(Ln.undefined(t.relatedInformation)||Ln.typedArray(t.relatedInformation,jt.is))}}(Bt||(Bt={})),function(e){e.create=function(e,t){for(var n=[],i=2;i0&&(r.arguments=n),r},e.is=function(e){var t=e;return Ln.defined(t)&&Ln.string(t.title)&&Ln.string(t.command)}}(Vt||(Vt={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return Ln.objectLiteral(t)&&Ln.string(t.newText)&&Mt.is(t.range)}}(Kt||(Kt={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return Ln.defined(t)&&tn.is(t.textDocument)&&Array.isArray(t.edits)}}(Gt||(Gt={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&Ln.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||Ln.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ln.boolean(t.options.ignoreIfExists)))}}(Yt||(Yt={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&Ln.string(t.oldUri)&&Ln.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||Ln.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Ln.boolean(t.options.ignoreIfExists)))}}(Xt||(Xt={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&Ln.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||Ln.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||Ln.boolean(t.options.ignoreIfNotExists)))}}(Qt||(Qt={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return Ln.string(e.kind)?Yt.is(e)||Xt.is(e)||Qt.is(e):Gt.is(e)})))}}(Jt||(Jt={}));var en,tn,nn,rn,on,an,sn,ln,hn,cn,un,dn,pn,mn,fn,gn,_n,bn=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(Kt.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(Kt.replace(e,t))},e.prototype.delete=function(e){this.edits.push(Kt.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(Gt.is(e)){var n=new bn(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new bn(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(tn.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:r=[]};this._workspaceEdit.documentChanges.push(n),i=new bn(r),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var r=[];this._workspaceEdit.changes[e]=r,i=new bn(r),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(Yt.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(Xt.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(Qt.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return Ln.defined(t)&&Ln.string(t.uri)}}(en||(en={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return Ln.defined(t)&&Ln.string(t.uri)&&(null===t.version||Ln.number(t.version))}}(tn||(tn={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return Ln.defined(t)&&Ln.string(t.uri)&&Ln.string(t.languageId)&&Ln.number(t.version)&&Ln.string(t.text)}}(nn||(nn={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(rn||(rn={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(rn||(rn={})),function(e){e.is=function(e){var t=e;return Ln.objectLiteral(e)&&rn.is(t.kind)&&Ln.string(t.value)}}(on||(on={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(an||(an={})),function(e){e.PlainText=1,e.Snippet=2}(sn||(sn={})),function(e){e.create=function(e){return{label:e}}}(ln||(ln={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(hn||(hn={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return Ln.string(t)||Ln.objectLiteral(t)&&Ln.string(t.language)&&Ln.string(t.value)}}(cn||(cn={})),function(e){e.is=function(e){var t=e;return!!t&&Ln.objectLiteral(t)&&(on.is(t.contents)||cn.is(t.contents)||Ln.typedArray(t.contents,cn.is))&&(void 0===e.range||Mt.is(e.range))}}(un||(un={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(dn||(dn={})),function(e){e.create=function(e,t){for(var n=[],i=2;i=0;o--){var a=i[o],s=e.offsetAt(a.range.start),l=e.offsetAt(a.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,s)+a.newText+n.substring(l,n.length),r=s}return n}}(Cn||(Cn={})),function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3}(En||(En={}));var Ln,An=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=null}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=null},e.prototype.getLineOffsets=function(){if(null===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return Ut.create(0,e);for(;ne?i=r:n=r+1}var o=n-1;return Ut.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1",GT:">","Gt;":"\u226b","gt;":">",gt:">","gtcc;":"\u2aa7","gtcir;":"\u2a7a","gtdot;":"\u22d7","gtlPar;":"\u2995","gtquest;":"\u2a7c","gtrapprox;":"\u2a86","gtrarr;":"\u2978","gtrdot;":"\u22d7","gtreqless;":"\u22db","gtreqqless;":"\u2a8c","gtrless;":"\u2277","gtrsim;":"\u2273","gvertneqq;":"\u2269\ufe00","gvnE;":"\u2269\ufe00","Hacek;":"\u02c7","hairsp;":"\u200a","half;":"\xbd","hamilt;":"\u210b","HARDcy;":"\u042a","hardcy;":"\u044a","hArr;":"\u21d4","harr;":"\u2194","harrcir;":"\u2948","harrw;":"\u21ad","Hat;":"^","hbar;":"\u210f","Hcirc;":"\u0124","hcirc;":"\u0125","hearts;":"\u2665","heartsuit;":"\u2665","hellip;":"\u2026","hercon;":"\u22b9","Hfr;":"\u210c","hfr;":"\ud835\udd25","HilbertSpace;":"\u210b","hksearow;":"\u2925","hkswarow;":"\u2926","hoarr;":"\u21ff","homtht;":"\u223b","hookleftarrow;":"\u21a9","hookrightarrow;":"\u21aa","Hopf;":"\u210d","hopf;":"\ud835\udd59","horbar;":"\u2015","HorizontalLine;":"\u2500","Hscr;":"\u210b","hscr;":"\ud835\udcbd","hslash;":"\u210f","Hstrok;":"\u0126","hstrok;":"\u0127","HumpDownHump;":"\u224e","HumpEqual;":"\u224f","hybull;":"\u2043","hyphen;":"\u2010","Iacute;":"\xcd",Iacute:"\xcd","iacute;":"\xed",iacute:"\xed","ic;":"\u2063","Icirc;":"\xce",Icirc:"\xce","icirc;":"\xee",icirc:"\xee","Icy;":"\u0418","icy;":"\u0438","Idot;":"\u0130","IEcy;":"\u0415","iecy;":"\u0435","iexcl;":"\xa1",iexcl:"\xa1","iff;":"\u21d4","Ifr;":"\u2111","ifr;":"\ud835\udd26","Igrave;":"\xcc",Igrave:"\xcc","igrave;":"\xec",igrave:"\xec","ii;":"\u2148","iiiint;":"\u2a0c","iiint;":"\u222d","iinfin;":"\u29dc","iiota;":"\u2129","IJlig;":"\u0132","ijlig;":"\u0133","Im;":"\u2111","Imacr;":"\u012a","imacr;":"\u012b","image;":"\u2111","ImaginaryI;":"\u2148","imagline;":"\u2110","imagpart;":"\u2111","imath;":"\u0131","imof;":"\u22b7","imped;":"\u01b5","Implies;":"\u21d2","in;":"\u2208","incare;":"\u2105","infin;":"\u221e","infintie;":"\u29dd","inodot;":"\u0131","Int;":"\u222c","int;":"\u222b","intcal;":"\u22ba","integers;":"\u2124","Integral;":"\u222b","intercal;":"\u22ba","Intersection;":"\u22c2","intlarhk;":"\u2a17","intprod;":"\u2a3c","InvisibleComma;":"\u2063","InvisibleTimes;":"\u2062","IOcy;":"\u0401","iocy;":"\u0451","Iogon;":"\u012e","iogon;":"\u012f","Iopf;":"\ud835\udd40","iopf;":"\ud835\udd5a","Iota;":"\u0399","iota;":"\u03b9","iprod;":"\u2a3c","iquest;":"\xbf",iquest:"\xbf","Iscr;":"\u2110","iscr;":"\ud835\udcbe","isin;":"\u2208","isindot;":"\u22f5","isinE;":"\u22f9","isins;":"\u22f4","isinsv;":"\u22f3","isinv;":"\u2208","it;":"\u2062","Itilde;":"\u0128","itilde;":"\u0129","Iukcy;":"\u0406","iukcy;":"\u0456","Iuml;":"\xcf",Iuml:"\xcf","iuml;":"\xef",iuml:"\xef","Jcirc;":"\u0134","jcirc;":"\u0135","Jcy;":"\u0419","jcy;":"\u0439","Jfr;":"\ud835\udd0d","jfr;":"\ud835\udd27","jmath;":"\u0237","Jopf;":"\ud835\udd41","jopf;":"\ud835\udd5b","Jscr;":"\ud835\udca5","jscr;":"\ud835\udcbf","Jsercy;":"\u0408","jsercy;":"\u0458","Jukcy;":"\u0404","jukcy;":"\u0454","Kappa;":"\u039a","kappa;":"\u03ba","kappav;":"\u03f0","Kcedil;":"\u0136","kcedil;":"\u0137","Kcy;":"\u041a","kcy;":"\u043a","Kfr;":"\ud835\udd0e","kfr;":"\ud835\udd28","kgreen;":"\u0138","KHcy;":"\u0425","khcy;":"\u0445","KJcy;":"\u040c","kjcy;":"\u045c","Kopf;":"\ud835\udd42","kopf;":"\ud835\udd5c","Kscr;":"\ud835\udca6","kscr;":"\ud835\udcc0","lAarr;":"\u21da","Lacute;":"\u0139","lacute;":"\u013a","laemptyv;":"\u29b4","lagran;":"\u2112","Lambda;":"\u039b","lambda;":"\u03bb","Lang;":"\u27ea","lang;":"\u27e8","langd;":"\u2991","langle;":"\u27e8","lap;":"\u2a85","Laplacetrf;":"\u2112","laquo;":"\xab",laquo:"\xab","Larr;":"\u219e","lArr;":"\u21d0","larr;":"\u2190","larrb;":"\u21e4","larrbfs;":"\u291f","larrfs;":"\u291d","larrhk;":"\u21a9","larrlp;":"\u21ab","larrpl;":"\u2939","larrsim;":"\u2973","larrtl;":"\u21a2","lat;":"\u2aab","lAtail;":"\u291b","latail;":"\u2919","late;":"\u2aad","lates;":"\u2aad\ufe00","lBarr;":"\u290e","lbarr;":"\u290c","lbbrk;":"\u2772","lbrace;":"{","lbrack;":"[","lbrke;":"\u298b","lbrksld;":"\u298f","lbrkslu;":"\u298d","Lcaron;":"\u013d","lcaron;":"\u013e","Lcedil;":"\u013b","lcedil;":"\u013c","lceil;":"\u2308","lcub;":"{","Lcy;":"\u041b","lcy;":"\u043b","ldca;":"\u2936","ldquo;":"\u201c","ldquor;":"\u201e","ldrdhar;":"\u2967","ldrushar;":"\u294b","ldsh;":"\u21b2","lE;":"\u2266","le;":"\u2264","LeftAngleBracket;":"\u27e8","LeftArrow;":"\u2190","Leftarrow;":"\u21d0","leftarrow;":"\u2190","LeftArrowBar;":"\u21e4","LeftArrowRightArrow;":"\u21c6","leftarrowtail;":"\u21a2","LeftCeiling;":"\u2308","LeftDoubleBracket;":"\u27e6","LeftDownTeeVector;":"\u2961","LeftDownVector;":"\u21c3","LeftDownVectorBar;":"\u2959","LeftFloor;":"\u230a","leftharpoondown;":"\u21bd","leftharpoonup;":"\u21bc","leftleftarrows;":"\u21c7","LeftRightArrow;":"\u2194","Leftrightarrow;":"\u21d4","leftrightarrow;":"\u2194","leftrightarrows;":"\u21c6","leftrightharpoons;":"\u21cb","leftrightsquigarrow;":"\u21ad","LeftRightVector;":"\u294e","LeftTee;":"\u22a3","LeftTeeArrow;":"\u21a4","LeftTeeVector;":"\u295a","leftthreetimes;":"\u22cb","LeftTriangle;":"\u22b2","LeftTriangleBar;":"\u29cf","LeftTriangleEqual;":"\u22b4","LeftUpDownVector;":"\u2951","LeftUpTeeVector;":"\u2960","LeftUpVector;":"\u21bf","LeftUpVectorBar;":"\u2958","LeftVector;":"\u21bc","LeftVectorBar;":"\u2952","lEg;":"\u2a8b","leg;":"\u22da","leq;":"\u2264","leqq;":"\u2266","leqslant;":"\u2a7d","les;":"\u2a7d","lescc;":"\u2aa8","lesdot;":"\u2a7f","lesdoto;":"\u2a81","lesdotor;":"\u2a83","lesg;":"\u22da\ufe00","lesges;":"\u2a93","lessapprox;":"\u2a85","lessdot;":"\u22d6","lesseqgtr;":"\u22da","lesseqqgtr;":"\u2a8b","LessEqualGreater;":"\u22da","LessFullEqual;":"\u2266","LessGreater;":"\u2276","lessgtr;":"\u2276","LessLess;":"\u2aa1","lesssim;":"\u2272","LessSlantEqual;":"\u2a7d","LessTilde;":"\u2272","lfisht;":"\u297c","lfloor;":"\u230a","Lfr;":"\ud835\udd0f","lfr;":"\ud835\udd29","lg;":"\u2276","lgE;":"\u2a91","lHar;":"\u2962","lhard;":"\u21bd","lharu;":"\u21bc","lharul;":"\u296a","lhblk;":"\u2584","LJcy;":"\u0409","ljcy;":"\u0459","Ll;":"\u22d8","ll;":"\u226a","llarr;":"\u21c7","llcorner;":"\u231e","Lleftarrow;":"\u21da","llhard;":"\u296b","lltri;":"\u25fa","Lmidot;":"\u013f","lmidot;":"\u0140","lmoust;":"\u23b0","lmoustache;":"\u23b0","lnap;":"\u2a89","lnapprox;":"\u2a89","lnE;":"\u2268","lne;":"\u2a87","lneq;":"\u2a87","lneqq;":"\u2268","lnsim;":"\u22e6","loang;":"\u27ec","loarr;":"\u21fd","lobrk;":"\u27e6","LongLeftArrow;":"\u27f5","Longleftarrow;":"\u27f8","longleftarrow;":"\u27f5","LongLeftRightArrow;":"\u27f7","Longleftrightarrow;":"\u27fa","longleftrightarrow;":"\u27f7","longmapsto;":"\u27fc","LongRightArrow;":"\u27f6","Longrightarrow;":"\u27f9","longrightarrow;":"\u27f6","looparrowleft;":"\u21ab","looparrowright;":"\u21ac","lopar;":"\u2985","Lopf;":"\ud835\udd43","lopf;":"\ud835\udd5d","loplus;":"\u2a2d","lotimes;":"\u2a34","lowast;":"\u2217","lowbar;":"_","LowerLeftArrow;":"\u2199","LowerRightArrow;":"\u2198","loz;":"\u25ca","lozenge;":"\u25ca","lozf;":"\u29eb","lpar;":"(","lparlt;":"\u2993","lrarr;":"\u21c6","lrcorner;":"\u231f","lrhar;":"\u21cb","lrhard;":"\u296d","lrm;":"\u200e","lrtri;":"\u22bf","lsaquo;":"\u2039","Lscr;":"\u2112","lscr;":"\ud835\udcc1","Lsh;":"\u21b0","lsh;":"\u21b0","lsim;":"\u2272","lsime;":"\u2a8d","lsimg;":"\u2a8f","lsqb;":"[","lsquo;":"\u2018","lsquor;":"\u201a","Lstrok;":"\u0141","lstrok;":"\u0142","LT;":"<",LT:"<","Lt;":"\u226a","lt;":"<",lt:"<","ltcc;":"\u2aa6","ltcir;":"\u2a79","ltdot;":"\u22d6","lthree;":"\u22cb","ltimes;":"\u22c9","ltlarr;":"\u2976","ltquest;":"\u2a7b","ltri;":"\u25c3","ltrie;":"\u22b4","ltrif;":"\u25c2","ltrPar;":"\u2996","lurdshar;":"\u294a","luruhar;":"\u2966","lvertneqq;":"\u2268\ufe00","lvnE;":"\u2268\ufe00","macr;":"\xaf",macr:"\xaf","male;":"\u2642","malt;":"\u2720","maltese;":"\u2720","Map;":"\u2905","map;":"\u21a6","mapsto;":"\u21a6","mapstodown;":"\u21a7","mapstoleft;":"\u21a4","mapstoup;":"\u21a5","marker;":"\u25ae","mcomma;":"\u2a29","Mcy;":"\u041c","mcy;":"\u043c","mdash;":"\u2014","mDDot;":"\u223a","measuredangle;":"\u2221","MediumSpace;":"\u205f","Mellintrf;":"\u2133","Mfr;":"\ud835\udd10","mfr;":"\ud835\udd2a","mho;":"\u2127","micro;":"\xb5",micro:"\xb5","mid;":"\u2223","midast;":"*","midcir;":"\u2af0","middot;":"\xb7",middot:"\xb7","minus;":"\u2212","minusb;":"\u229f","minusd;":"\u2238","minusdu;":"\u2a2a","MinusPlus;":"\u2213","mlcp;":"\u2adb","mldr;":"\u2026","mnplus;":"\u2213","models;":"\u22a7","Mopf;":"\ud835\udd44","mopf;":"\ud835\udd5e","mp;":"\u2213","Mscr;":"\u2133","mscr;":"\ud835\udcc2","mstpos;":"\u223e","Mu;":"\u039c","mu;":"\u03bc","multimap;":"\u22b8","mumap;":"\u22b8","nabla;":"\u2207","Nacute;":"\u0143","nacute;":"\u0144","nang;":"\u2220\u20d2","nap;":"\u2249","napE;":"\u2a70\u0338","napid;":"\u224b\u0338","napos;":"\u0149","napprox;":"\u2249","natur;":"\u266e","natural;":"\u266e","naturals;":"\u2115","nbsp;":"\xa0",nbsp:"\xa0","nbump;":"\u224e\u0338","nbumpe;":"\u224f\u0338","ncap;":"\u2a43","Ncaron;":"\u0147","ncaron;":"\u0148","Ncedil;":"\u0145","ncedil;":"\u0146","ncong;":"\u2247","ncongdot;":"\u2a6d\u0338","ncup;":"\u2a42","Ncy;":"\u041d","ncy;":"\u043d","ndash;":"\u2013","ne;":"\u2260","nearhk;":"\u2924","neArr;":"\u21d7","nearr;":"\u2197","nearrow;":"\u2197","nedot;":"\u2250\u0338","NegativeMediumSpace;":"\u200b","NegativeThickSpace;":"\u200b","NegativeThinSpace;":"\u200b","NegativeVeryThinSpace;":"\u200b","nequiv;":"\u2262","nesear;":"\u2928","nesim;":"\u2242\u0338","NestedGreaterGreater;":"\u226b","NestedLessLess;":"\u226a","NewLine;":"\n","nexist;":"\u2204","nexists;":"\u2204","Nfr;":"\ud835\udd11","nfr;":"\ud835\udd2b","ngE;":"\u2267\u0338","nge;":"\u2271","ngeq;":"\u2271","ngeqq;":"\u2267\u0338","ngeqslant;":"\u2a7e\u0338","nges;":"\u2a7e\u0338","nGg;":"\u22d9\u0338","ngsim;":"\u2275","nGt;":"\u226b\u20d2","ngt;":"\u226f","ngtr;":"\u226f","nGtv;":"\u226b\u0338","nhArr;":"\u21ce","nharr;":"\u21ae","nhpar;":"\u2af2","ni;":"\u220b","nis;":"\u22fc","nisd;":"\u22fa","niv;":"\u220b","NJcy;":"\u040a","njcy;":"\u045a","nlArr;":"\u21cd","nlarr;":"\u219a","nldr;":"\u2025","nlE;":"\u2266\u0338","nle;":"\u2270","nLeftarrow;":"\u21cd","nleftarrow;":"\u219a","nLeftrightarrow;":"\u21ce","nleftrightarrow;":"\u21ae","nleq;":"\u2270","nleqq;":"\u2266\u0338","nleqslant;":"\u2a7d\u0338","nles;":"\u2a7d\u0338","nless;":"\u226e","nLl;":"\u22d8\u0338","nlsim;":"\u2274","nLt;":"\u226a\u20d2","nlt;":"\u226e","nltri;":"\u22ea","nltrie;":"\u22ec","nLtv;":"\u226a\u0338","nmid;":"\u2224","NoBreak;":"\u2060","NonBreakingSpace;":"\xa0","Nopf;":"\u2115","nopf;":"\ud835\udd5f","Not;":"\u2aec","not;":"\xac",not:"\xac","NotCongruent;":"\u2262","NotCupCap;":"\u226d","NotDoubleVerticalBar;":"\u2226","NotElement;":"\u2209","NotEqual;":"\u2260","NotEqualTilde;":"\u2242\u0338","NotExists;":"\u2204","NotGreater;":"\u226f","NotGreaterEqual;":"\u2271","NotGreaterFullEqual;":"\u2267\u0338","NotGreaterGreater;":"\u226b\u0338","NotGreaterLess;":"\u2279","NotGreaterSlantEqual;":"\u2a7e\u0338","NotGreaterTilde;":"\u2275","NotHumpDownHump;":"\u224e\u0338","NotHumpEqual;":"\u224f\u0338","notin;":"\u2209","notindot;":"\u22f5\u0338","notinE;":"\u22f9\u0338","notinva;":"\u2209","notinvb;":"\u22f7","notinvc;":"\u22f6","NotLeftTriangle;":"\u22ea","NotLeftTriangleBar;":"\u29cf\u0338","NotLeftTriangleEqual;":"\u22ec","NotLess;":"\u226e","NotLessEqual;":"\u2270","NotLessGreater;":"\u2278","NotLessLess;":"\u226a\u0338","NotLessSlantEqual;":"\u2a7d\u0338","NotLessTilde;":"\u2274","NotNestedGreaterGreater;":"\u2aa2\u0338","NotNestedLessLess;":"\u2aa1\u0338","notni;":"\u220c","notniva;":"\u220c","notnivb;":"\u22fe","notnivc;":"\u22fd","NotPrecedes;":"\u2280","NotPrecedesEqual;":"\u2aaf\u0338","NotPrecedesSlantEqual;":"\u22e0","NotReverseElement;":"\u220c","NotRightTriangle;":"\u22eb","NotRightTriangleBar;":"\u29d0\u0338","NotRightTriangleEqual;":"\u22ed","NotSquareSubset;":"\u228f\u0338","NotSquareSubsetEqual;":"\u22e2","NotSquareSuperset;":"\u2290\u0338","NotSquareSupersetEqual;":"\u22e3","NotSubset;":"\u2282\u20d2","NotSubsetEqual;":"\u2288","NotSucceeds;":"\u2281","NotSucceedsEqual;":"\u2ab0\u0338","NotSucceedsSlantEqual;":"\u22e1","NotSucceedsTilde;":"\u227f\u0338","NotSuperset;":"\u2283\u20d2","NotSupersetEqual;":"\u2289","NotTilde;":"\u2241","NotTildeEqual;":"\u2244","NotTildeFullEqual;":"\u2247","NotTildeTilde;":"\u2249","NotVerticalBar;":"\u2224","npar;":"\u2226","nparallel;":"\u2226","nparsl;":"\u2afd\u20e5","npart;":"\u2202\u0338","npolint;":"\u2a14","npr;":"\u2280","nprcue;":"\u22e0","npre;":"\u2aaf\u0338","nprec;":"\u2280","npreceq;":"\u2aaf\u0338","nrArr;":"\u21cf","nrarr;":"\u219b","nrarrc;":"\u2933\u0338","nrarrw;":"\u219d\u0338","nRightarrow;":"\u21cf","nrightarrow;":"\u219b","nrtri;":"\u22eb","nrtrie;":"\u22ed","nsc;":"\u2281","nsccue;":"\u22e1","nsce;":"\u2ab0\u0338","Nscr;":"\ud835\udca9","nscr;":"\ud835\udcc3","nshortmid;":"\u2224","nshortparallel;":"\u2226","nsim;":"\u2241","nsime;":"\u2244","nsimeq;":"\u2244","nsmid;":"\u2224","nspar;":"\u2226","nsqsube;":"\u22e2","nsqsupe;":"\u22e3","nsub;":"\u2284","nsubE;":"\u2ac5\u0338","nsube;":"\u2288","nsubset;":"\u2282\u20d2","nsubseteq;":"\u2288","nsubseteqq;":"\u2ac5\u0338","nsucc;":"\u2281","nsucceq;":"\u2ab0\u0338","nsup;":"\u2285","nsupE;":"\u2ac6\u0338","nsupe;":"\u2289","nsupset;":"\u2283\u20d2","nsupseteq;":"\u2289","nsupseteqq;":"\u2ac6\u0338","ntgl;":"\u2279","Ntilde;":"\xd1",Ntilde:"\xd1","ntilde;":"\xf1",ntilde:"\xf1","ntlg;":"\u2278","ntriangleleft;":"\u22ea","ntrianglelefteq;":"\u22ec","ntriangleright;":"\u22eb","ntrianglerighteq;":"\u22ed","Nu;":"\u039d","nu;":"\u03bd","num;":"#","numero;":"\u2116","numsp;":"\u2007","nvap;":"\u224d\u20d2","nVDash;":"\u22af","nVdash;":"\u22ae","nvDash;":"\u22ad","nvdash;":"\u22ac","nvge;":"\u2265\u20d2","nvgt;":">\u20d2","nvHarr;":"\u2904","nvinfin;":"\u29de","nvlArr;":"\u2902","nvle;":"\u2264\u20d2","nvlt;":"<\u20d2","nvltrie;":"\u22b4\u20d2","nvrArr;":"\u2903","nvrtrie;":"\u22b5\u20d2","nvsim;":"\u223c\u20d2","nwarhk;":"\u2923","nwArr;":"\u21d6","nwarr;":"\u2196","nwarrow;":"\u2196","nwnear;":"\u2927","Oacute;":"\xd3",Oacute:"\xd3","oacute;":"\xf3",oacute:"\xf3","oast;":"\u229b","ocir;":"\u229a","Ocirc;":"\xd4",Ocirc:"\xd4","ocirc;":"\xf4",ocirc:"\xf4","Ocy;":"\u041e","ocy;":"\u043e","odash;":"\u229d","Odblac;":"\u0150","odblac;":"\u0151","odiv;":"\u2a38","odot;":"\u2299","odsold;":"\u29bc","OElig;":"\u0152","oelig;":"\u0153","ofcir;":"\u29bf","Ofr;":"\ud835\udd12","ofr;":"\ud835\udd2c","ogon;":"\u02db","Ograve;":"\xd2",Ograve:"\xd2","ograve;":"\xf2",ograve:"\xf2","ogt;":"\u29c1","ohbar;":"\u29b5","ohm;":"\u03a9","oint;":"\u222e","olarr;":"\u21ba","olcir;":"\u29be","olcross;":"\u29bb","oline;":"\u203e","olt;":"\u29c0","Omacr;":"\u014c","omacr;":"\u014d","Omega;":"\u03a9","omega;":"\u03c9","Omicron;":"\u039f","omicron;":"\u03bf","omid;":"\u29b6","ominus;":"\u2296","Oopf;":"\ud835\udd46","oopf;":"\ud835\udd60","opar;":"\u29b7","OpenCurlyDoubleQuote;":"\u201c","OpenCurlyQuote;":"\u2018","operp;":"\u29b9","oplus;":"\u2295","Or;":"\u2a54","or;":"\u2228","orarr;":"\u21bb","ord;":"\u2a5d","order;":"\u2134","orderof;":"\u2134","ordf;":"\xaa",ordf:"\xaa","ordm;":"\xba",ordm:"\xba","origof;":"\u22b6","oror;":"\u2a56","orslope;":"\u2a57","orv;":"\u2a5b","oS;":"\u24c8","Oscr;":"\ud835\udcaa","oscr;":"\u2134","Oslash;":"\xd8",Oslash:"\xd8","oslash;":"\xf8",oslash:"\xf8","osol;":"\u2298","Otilde;":"\xd5",Otilde:"\xd5","otilde;":"\xf5",otilde:"\xf5","Otimes;":"\u2a37","otimes;":"\u2297","otimesas;":"\u2a36","Ouml;":"\xd6",Ouml:"\xd6","ouml;":"\xf6",ouml:"\xf6","ovbar;":"\u233d","OverBar;":"\u203e","OverBrace;":"\u23de","OverBracket;":"\u23b4","OverParenthesis;":"\u23dc","par;":"\u2225","para;":"\xb6",para:"\xb6","parallel;":"\u2225","parsim;":"\u2af3","parsl;":"\u2afd","part;":"\u2202","PartialD;":"\u2202","Pcy;":"\u041f","pcy;":"\u043f","percnt;":"%","period;":".","permil;":"\u2030","perp;":"\u22a5","pertenk;":"\u2031","Pfr;":"\ud835\udd13","pfr;":"\ud835\udd2d","Phi;":"\u03a6","phi;":"\u03c6","phiv;":"\u03d5","phmmat;":"\u2133","phone;":"\u260e","Pi;":"\u03a0","pi;":"\u03c0","pitchfork;":"\u22d4","piv;":"\u03d6","planck;":"\u210f","planckh;":"\u210e","plankv;":"\u210f","plus;":"+","plusacir;":"\u2a23","plusb;":"\u229e","pluscir;":"\u2a22","plusdo;":"\u2214","plusdu;":"\u2a25","pluse;":"\u2a72","PlusMinus;":"\xb1","plusmn;":"\xb1",plusmn:"\xb1","plussim;":"\u2a26","plustwo;":"\u2a27","pm;":"\xb1","Poincareplane;":"\u210c","pointint;":"\u2a15","Popf;":"\u2119","popf;":"\ud835\udd61","pound;":"\xa3",pound:"\xa3","Pr;":"\u2abb","pr;":"\u227a","prap;":"\u2ab7","prcue;":"\u227c","prE;":"\u2ab3","pre;":"\u2aaf","prec;":"\u227a","precapprox;":"\u2ab7","preccurlyeq;":"\u227c","Precedes;":"\u227a","PrecedesEqual;":"\u2aaf","PrecedesSlantEqual;":"\u227c","PrecedesTilde;":"\u227e","preceq;":"\u2aaf","precnapprox;":"\u2ab9","precneqq;":"\u2ab5","precnsim;":"\u22e8","precsim;":"\u227e","Prime;":"\u2033","prime;":"\u2032","primes;":"\u2119","prnap;":"\u2ab9","prnE;":"\u2ab5","prnsim;":"\u22e8","prod;":"\u220f","Product;":"\u220f","profalar;":"\u232e","profline;":"\u2312","profsurf;":"\u2313","prop;":"\u221d","Proportion;":"\u2237","Proportional;":"\u221d","propto;":"\u221d","prsim;":"\u227e","prurel;":"\u22b0","Pscr;":"\ud835\udcab","pscr;":"\ud835\udcc5","Psi;":"\u03a8","psi;":"\u03c8","puncsp;":"\u2008","Qfr;":"\ud835\udd14","qfr;":"\ud835\udd2e","qint;":"\u2a0c","Qopf;":"\u211a","qopf;":"\ud835\udd62","qprime;":"\u2057","Qscr;":"\ud835\udcac","qscr;":"\ud835\udcc6","quaternions;":"\u210d","quatint;":"\u2a16","quest;":"?","questeq;":"\u225f","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"\u21db","race;":"\u223d\u0331","Racute;":"\u0154","racute;":"\u0155","radic;":"\u221a","raemptyv;":"\u29b3","Rang;":"\u27eb","rang;":"\u27e9","rangd;":"\u2992","range;":"\u29a5","rangle;":"\u27e9","raquo;":"\xbb",raquo:"\xbb","Rarr;":"\u21a0","rArr;":"\u21d2","rarr;":"\u2192","rarrap;":"\u2975","rarrb;":"\u21e5","rarrbfs;":"\u2920","rarrc;":"\u2933","rarrfs;":"\u291e","rarrhk;":"\u21aa","rarrlp;":"\u21ac","rarrpl;":"\u2945","rarrsim;":"\u2974","Rarrtl;":"\u2916","rarrtl;":"\u21a3","rarrw;":"\u219d","rAtail;":"\u291c","ratail;":"\u291a","ratio;":"\u2236","rationals;":"\u211a","RBarr;":"\u2910","rBarr;":"\u290f","rbarr;":"\u290d","rbbrk;":"\u2773","rbrace;":"}","rbrack;":"]","rbrke;":"\u298c","rbrksld;":"\u298e","rbrkslu;":"\u2990","Rcaron;":"\u0158","rcaron;":"\u0159","Rcedil;":"\u0156","rcedil;":"\u0157","rceil;":"\u2309","rcub;":"}","Rcy;":"\u0420","rcy;":"\u0440","rdca;":"\u2937","rdldhar;":"\u2969","rdquo;":"\u201d","rdquor;":"\u201d","rdsh;":"\u21b3","Re;":"\u211c","real;":"\u211c","realine;":"\u211b","realpart;":"\u211c","reals;":"\u211d","rect;":"\u25ad","REG;":"\xae",REG:"\xae","reg;":"\xae",reg:"\xae","ReverseElement;":"\u220b","ReverseEquilibrium;":"\u21cb","ReverseUpEquilibrium;":"\u296f","rfisht;":"\u297d","rfloor;":"\u230b","Rfr;":"\u211c","rfr;":"\ud835\udd2f","rHar;":"\u2964","rhard;":"\u21c1","rharu;":"\u21c0","rharul;":"\u296c","Rho;":"\u03a1","rho;":"\u03c1","rhov;":"\u03f1","RightAngleBracket;":"\u27e9","RightArrow;":"\u2192","Rightarrow;":"\u21d2","rightarrow;":"\u2192","RightArrowBar;":"\u21e5","RightArrowLeftArrow;":"\u21c4","rightarrowtail;":"\u21a3","RightCeiling;":"\u2309","RightDoubleBracket;":"\u27e7","RightDownTeeVector;":"\u295d","RightDownVector;":"\u21c2","RightDownVectorBar;":"\u2955","RightFloor;":"\u230b","rightharpoondown;":"\u21c1","rightharpoonup;":"\u21c0","rightleftarrows;":"\u21c4","rightleftharpoons;":"\u21cc","rightrightarrows;":"\u21c9","rightsquigarrow;":"\u219d","RightTee;":"\u22a2","RightTeeArrow;":"\u21a6","RightTeeVector;":"\u295b","rightthreetimes;":"\u22cc","RightTriangle;":"\u22b3","RightTriangleBar;":"\u29d0","RightTriangleEqual;":"\u22b5","RightUpDownVector;":"\u294f","RightUpTeeVector;":"\u295c","RightUpVector;":"\u21be","RightUpVectorBar;":"\u2954","RightVector;":"\u21c0","RightVectorBar;":"\u2953","ring;":"\u02da","risingdotseq;":"\u2253","rlarr;":"\u21c4","rlhar;":"\u21cc","rlm;":"\u200f","rmoust;":"\u23b1","rmoustache;":"\u23b1","rnmid;":"\u2aee","roang;":"\u27ed","roarr;":"\u21fe","robrk;":"\u27e7","ropar;":"\u2986","Ropf;":"\u211d","ropf;":"\ud835\udd63","roplus;":"\u2a2e","rotimes;":"\u2a35","RoundImplies;":"\u2970","rpar;":")","rpargt;":"\u2994","rppolint;":"\u2a12","rrarr;":"\u21c9","Rrightarrow;":"\u21db","rsaquo;":"\u203a","Rscr;":"\u211b","rscr;":"\ud835\udcc7","Rsh;":"\u21b1","rsh;":"\u21b1","rsqb;":"]","rsquo;":"\u2019","rsquor;":"\u2019","rthree;":"\u22cc","rtimes;":"\u22ca","rtri;":"\u25b9","rtrie;":"\u22b5","rtrif;":"\u25b8","rtriltri;":"\u29ce","RuleDelayed;":"\u29f4","ruluhar;":"\u2968","rx;":"\u211e","Sacute;":"\u015a","sacute;":"\u015b","sbquo;":"\u201a","Sc;":"\u2abc","sc;":"\u227b","scap;":"\u2ab8","Scaron;":"\u0160","scaron;":"\u0161","sccue;":"\u227d","scE;":"\u2ab4","sce;":"\u2ab0","Scedil;":"\u015e","scedil;":"\u015f","Scirc;":"\u015c","scirc;":"\u015d","scnap;":"\u2aba","scnE;":"\u2ab6","scnsim;":"\u22e9","scpolint;":"\u2a13","scsim;":"\u227f","Scy;":"\u0421","scy;":"\u0441","sdot;":"\u22c5","sdotb;":"\u22a1","sdote;":"\u2a66","searhk;":"\u2925","seArr;":"\u21d8","searr;":"\u2198","searrow;":"\u2198","sect;":"\xa7",sect:"\xa7","semi;":";","seswar;":"\u2929","setminus;":"\u2216","setmn;":"\u2216","sext;":"\u2736","Sfr;":"\ud835\udd16","sfr;":"\ud835\udd30","sfrown;":"\u2322","sharp;":"\u266f","SHCHcy;":"\u0429","shchcy;":"\u0449","SHcy;":"\u0428","shcy;":"\u0448","ShortDownArrow;":"\u2193","ShortLeftArrow;":"\u2190","shortmid;":"\u2223","shortparallel;":"\u2225","ShortRightArrow;":"\u2192","ShortUpArrow;":"\u2191","shy;":"\xad",shy:"\xad","Sigma;":"\u03a3","sigma;":"\u03c3","sigmaf;":"\u03c2","sigmav;":"\u03c2","sim;":"\u223c","simdot;":"\u2a6a","sime;":"\u2243","simeq;":"\u2243","simg;":"\u2a9e","simgE;":"\u2aa0","siml;":"\u2a9d","simlE;":"\u2a9f","simne;":"\u2246","simplus;":"\u2a24","simrarr;":"\u2972","slarr;":"\u2190","SmallCircle;":"\u2218","smallsetminus;":"\u2216","smashp;":"\u2a33","smeparsl;":"\u29e4","smid;":"\u2223","smile;":"\u2323","smt;":"\u2aaa","smte;":"\u2aac","smtes;":"\u2aac\ufe00","SOFTcy;":"\u042c","softcy;":"\u044c","sol;":"/","solb;":"\u29c4","solbar;":"\u233f","Sopf;":"\ud835\udd4a","sopf;":"\ud835\udd64","spades;":"\u2660","spadesuit;":"\u2660","spar;":"\u2225","sqcap;":"\u2293","sqcaps;":"\u2293\ufe00","sqcup;":"\u2294","sqcups;":"\u2294\ufe00","Sqrt;":"\u221a","sqsub;":"\u228f","sqsube;":"\u2291","sqsubset;":"\u228f","sqsubseteq;":"\u2291","sqsup;":"\u2290","sqsupe;":"\u2292","sqsupset;":"\u2290","sqsupseteq;":"\u2292","squ;":"\u25a1","Square;":"\u25a1","square;":"\u25a1","SquareIntersection;":"\u2293","SquareSubset;":"\u228f","SquareSubsetEqual;":"\u2291","SquareSuperset;":"\u2290","SquareSupersetEqual;":"\u2292","SquareUnion;":"\u2294","squarf;":"\u25aa","squf;":"\u25aa","srarr;":"\u2192","Sscr;":"\ud835\udcae","sscr;":"\ud835\udcc8","ssetmn;":"\u2216","ssmile;":"\u2323","sstarf;":"\u22c6","Star;":"\u22c6","star;":"\u2606","starf;":"\u2605","straightepsilon;":"\u03f5","straightphi;":"\u03d5","strns;":"\xaf","Sub;":"\u22d0","sub;":"\u2282","subdot;":"\u2abd","subE;":"\u2ac5","sube;":"\u2286","subedot;":"\u2ac3","submult;":"\u2ac1","subnE;":"\u2acb","subne;":"\u228a","subplus;":"\u2abf","subrarr;":"\u2979","Subset;":"\u22d0","subset;":"\u2282","subseteq;":"\u2286","subseteqq;":"\u2ac5","SubsetEqual;":"\u2286","subsetneq;":"\u228a","subsetneqq;":"\u2acb","subsim;":"\u2ac7","subsub;":"\u2ad5","subsup;":"\u2ad3","succ;":"\u227b","succapprox;":"\u2ab8","succcurlyeq;":"\u227d","Succeeds;":"\u227b","SucceedsEqual;":"\u2ab0","SucceedsSlantEqual;":"\u227d","SucceedsTilde;":"\u227f","succeq;":"\u2ab0","succnapprox;":"\u2aba","succneqq;":"\u2ab6","succnsim;":"\u22e9","succsim;":"\u227f","SuchThat;":"\u220b","Sum;":"\u2211","sum;":"\u2211","sung;":"\u266a","Sup;":"\u22d1","sup;":"\u2283","sup1;":"\xb9",sup1:"\xb9","sup2;":"\xb2",sup2:"\xb2","sup3;":"\xb3",sup3:"\xb3","supdot;":"\u2abe","supdsub;":"\u2ad8","supE;":"\u2ac6","supe;":"\u2287","supedot;":"\u2ac4","Superset;":"\u2283","SupersetEqual;":"\u2287","suphsol;":"\u27c9","suphsub;":"\u2ad7","suplarr;":"\u297b","supmult;":"\u2ac2","supnE;":"\u2acc","supne;":"\u228b","supplus;":"\u2ac0","Supset;":"\u22d1","supset;":"\u2283","supseteq;":"\u2287","supseteqq;":"\u2ac6","supsetneq;":"\u228b","supsetneqq;":"\u2acc","supsim;":"\u2ac8","supsub;":"\u2ad4","supsup;":"\u2ad6","swarhk;":"\u2926","swArr;":"\u21d9","swarr;":"\u2199","swarrow;":"\u2199","swnwar;":"\u292a","szlig;":"\xdf",szlig:"\xdf","Tab;":"\t","target;":"\u2316","Tau;":"\u03a4","tau;":"\u03c4","tbrk;":"\u23b4","Tcaron;":"\u0164","tcaron;":"\u0165","Tcedil;":"\u0162","tcedil;":"\u0163","Tcy;":"\u0422","tcy;":"\u0442","tdot;":"\u20db","telrec;":"\u2315","Tfr;":"\ud835\udd17","tfr;":"\ud835\udd31","there4;":"\u2234","Therefore;":"\u2234","therefore;":"\u2234","Theta;":"\u0398","theta;":"\u03b8","thetasym;":"\u03d1","thetav;":"\u03d1","thickapprox;":"\u2248","thicksim;":"\u223c","ThickSpace;":"\u205f\u200a","thinsp;":"\u2009","ThinSpace;":"\u2009","thkap;":"\u2248","thksim;":"\u223c","THORN;":"\xde",THORN:"\xde","thorn;":"\xfe",thorn:"\xfe","Tilde;":"\u223c","tilde;":"\u02dc","TildeEqual;":"\u2243","TildeFullEqual;":"\u2245","TildeTilde;":"\u2248","times;":"\xd7",times:"\xd7","timesb;":"\u22a0","timesbar;":"\u2a31","timesd;":"\u2a30","tint;":"\u222d","toea;":"\u2928","top;":"\u22a4","topbot;":"\u2336","topcir;":"\u2af1","Topf;":"\ud835\udd4b","topf;":"\ud835\udd65","topfork;":"\u2ada","tosa;":"\u2929","tprime;":"\u2034","TRADE;":"\u2122","trade;":"\u2122","triangle;":"\u25b5","triangledown;":"\u25bf","triangleleft;":"\u25c3","trianglelefteq;":"\u22b4","triangleq;":"\u225c","triangleright;":"\u25b9","trianglerighteq;":"\u22b5","tridot;":"\u25ec","trie;":"\u225c","triminus;":"\u2a3a","TripleDot;":"\u20db","triplus;":"\u2a39","trisb;":"\u29cd","tritime;":"\u2a3b","trpezium;":"\u23e2","Tscr;":"\ud835\udcaf","tscr;":"\ud835\udcc9","TScy;":"\u0426","tscy;":"\u0446","TSHcy;":"\u040b","tshcy;":"\u045b","Tstrok;":"\u0166","tstrok;":"\u0167","twixt;":"\u226c","twoheadleftarrow;":"\u219e","twoheadrightarrow;":"\u21a0","Uacute;":"\xda",Uacute:"\xda","uacute;":"\xfa",uacute:"\xfa","Uarr;":"\u219f","uArr;":"\u21d1","uarr;":"\u2191","Uarrocir;":"\u2949","Ubrcy;":"\u040e","ubrcy;":"\u045e","Ubreve;":"\u016c","ubreve;":"\u016d","Ucirc;":"\xdb",Ucirc:"\xdb","ucirc;":"\xfb",ucirc:"\xfb","Ucy;":"\u0423","ucy;":"\u0443","udarr;":"\u21c5","Udblac;":"\u0170","udblac;":"\u0171","udhar;":"\u296e","ufisht;":"\u297e","Ufr;":"\ud835\udd18","ufr;":"\ud835\udd32","Ugrave;":"\xd9",Ugrave:"\xd9","ugrave;":"\xf9",ugrave:"\xf9","uHar;":"\u2963","uharl;":"\u21bf","uharr;":"\u21be","uhblk;":"\u2580","ulcorn;":"\u231c","ulcorner;":"\u231c","ulcrop;":"\u230f","ultri;":"\u25f8","Umacr;":"\u016a","umacr;":"\u016b","uml;":"\xa8",uml:"\xa8","UnderBar;":"_","UnderBrace;":"\u23df","UnderBracket;":"\u23b5","UnderParenthesis;":"\u23dd","Union;":"\u22c3","UnionPlus;":"\u228e","Uogon;":"\u0172","uogon;":"\u0173","Uopf;":"\ud835\udd4c","uopf;":"\ud835\udd66","UpArrow;":"\u2191","Uparrow;":"\u21d1","uparrow;":"\u2191","UpArrowBar;":"\u2912","UpArrowDownArrow;":"\u21c5","UpDownArrow;":"\u2195","Updownarrow;":"\u21d5","updownarrow;":"\u2195","UpEquilibrium;":"\u296e","upharpoonleft;":"\u21bf","upharpoonright;":"\u21be","uplus;":"\u228e","UpperLeftArrow;":"\u2196","UpperRightArrow;":"\u2197","Upsi;":"\u03d2","upsi;":"\u03c5","upsih;":"\u03d2","Upsilon;":"\u03a5","upsilon;":"\u03c5","UpTee;":"\u22a5","UpTeeArrow;":"\u21a5","upuparrows;":"\u21c8","urcorn;":"\u231d","urcorner;":"\u231d","urcrop;":"\u230e","Uring;":"\u016e","uring;":"\u016f","urtri;":"\u25f9","Uscr;":"\ud835\udcb0","uscr;":"\ud835\udcca","utdot;":"\u22f0","Utilde;":"\u0168","utilde;":"\u0169","utri;":"\u25b5","utrif;":"\u25b4","uuarr;":"\u21c8","Uuml;":"\xdc",Uuml:"\xdc","uuml;":"\xfc",uuml:"\xfc","uwangle;":"\u29a7","vangrt;":"\u299c","varepsilon;":"\u03f5","varkappa;":"\u03f0","varnothing;":"\u2205","varphi;":"\u03d5","varpi;":"\u03d6","varpropto;":"\u221d","vArr;":"\u21d5","varr;":"\u2195","varrho;":"\u03f1","varsigma;":"\u03c2","varsubsetneq;":"\u228a\ufe00","varsubsetneqq;":"\u2acb\ufe00","varsupsetneq;":"\u228b\ufe00","varsupsetneqq;":"\u2acc\ufe00","vartheta;":"\u03d1","vartriangleleft;":"\u22b2","vartriangleright;":"\u22b3","Vbar;":"\u2aeb","vBar;":"\u2ae8","vBarv;":"\u2ae9","Vcy;":"\u0412","vcy;":"\u0432","VDash;":"\u22ab","Vdash;":"\u22a9","vDash;":"\u22a8","vdash;":"\u22a2","Vdashl;":"\u2ae6","Vee;":"\u22c1","vee;":"\u2228","veebar;":"\u22bb","veeeq;":"\u225a","vellip;":"\u22ee","Verbar;":"\u2016","verbar;":"|","Vert;":"\u2016","vert;":"|","VerticalBar;":"\u2223","VerticalLine;":"|","VerticalSeparator;":"\u2758","VerticalTilde;":"\u2240","VeryThinSpace;":"\u200a","Vfr;":"\ud835\udd19","vfr;":"\ud835\udd33","vltri;":"\u22b2","vnsub;":"\u2282\u20d2","vnsup;":"\u2283\u20d2","Vopf;":"\ud835\udd4d","vopf;":"\ud835\udd67","vprop;":"\u221d","vrtri;":"\u22b3","Vscr;":"\ud835\udcb1","vscr;":"\ud835\udccb","vsubnE;":"\u2acb\ufe00","vsubne;":"\u228a\ufe00","vsupnE;":"\u2acc\ufe00","vsupne;":"\u228b\ufe00","Vvdash;":"\u22aa","vzigzag;":"\u299a","Wcirc;":"\u0174","wcirc;":"\u0175","wedbar;":"\u2a5f","Wedge;":"\u22c0","wedge;":"\u2227","wedgeq;":"\u2259","weierp;":"\u2118","Wfr;":"\ud835\udd1a","wfr;":"\ud835\udd34","Wopf;":"\ud835\udd4e","wopf;":"\ud835\udd68","wp;":"\u2118","wr;":"\u2240","wreath;":"\u2240","Wscr;":"\ud835\udcb2","wscr;":"\ud835\udccc","xcap;":"\u22c2","xcirc;":"\u25ef","xcup;":"\u22c3","xdtri;":"\u25bd","Xfr;":"\ud835\udd1b","xfr;":"\ud835\udd35","xhArr;":"\u27fa","xharr;":"\u27f7","Xi;":"\u039e","xi;":"\u03be","xlArr;":"\u27f8","xlarr;":"\u27f5","xmap;":"\u27fc","xnis;":"\u22fb","xodot;":"\u2a00","Xopf;":"\ud835\udd4f","xopf;":"\ud835\udd69","xoplus;":"\u2a01","xotime;":"\u2a02","xrArr;":"\u27f9","xrarr;":"\u27f6","Xscr;":"\ud835\udcb3","xscr;":"\ud835\udccd","xsqcup;":"\u2a06","xuplus;":"\u2a04","xutri;":"\u25b3","xvee;":"\u22c1","xwedge;":"\u22c0","Yacute;":"\xdd",Yacute:"\xdd","yacute;":"\xfd",yacute:"\xfd","YAcy;":"\u042f","yacy;":"\u044f","Ycirc;":"\u0176","ycirc;":"\u0177","Ycy;":"\u042b","ycy;":"\u044b","yen;":"\xa5",yen:"\xa5","Yfr;":"\ud835\udd1c","yfr;":"\ud835\udd36","YIcy;":"\u0407","yicy;":"\u0457","Yopf;":"\ud835\udd50","yopf;":"\ud835\udd6a","Yscr;":"\ud835\udcb4","yscr;":"\ud835\udcce","YUcy;":"\u042e","yucy;":"\u044e","Yuml;":"\u0178","yuml;":"\xff",yuml:"\xff","Zacute;":"\u0179","zacute;":"\u017a","Zcaron;":"\u017d","zcaron;":"\u017e","Zcy;":"\u0417","zcy;":"\u0437","Zdot;":"\u017b","zdot;":"\u017c","zeetrf;":"\u2128","ZeroWidthSpace;":"\u200b","Zeta;":"\u0396","zeta;":"\u03b6","Zfr;":"\u2128","zfr;":"\ud835\udd37","ZHcy;":"\u0416","zhcy;":"\u0436","zigrarr;":"\u21dd","Zopf;":"\u2124","zopf;":"\ud835\udd6b","Zscr;":"\ud835\udcb5","zscr;":"\ud835\udccf","zwj;":"\u200d","zwnj;":"\u200c"};function Nn(e,t){if(e.length0?e.lastIndexOf(t)===n:0===n&&e===t}function Mn(e,t){for(var n="";t>0;)1===(1&t)&&(n+=e),e+=e,t>>>=1;return n}var On="a".charCodeAt(0),Pn="z".charCodeAt(0),Rn="A".charCodeAt(0),qn="Z".charCodeAt(0),Hn="0".charCodeAt(0),Dn="9".charCodeAt(0);function Wn(e,t){var n=e.charCodeAt(t);return On<=n&&n<=Pn||Rn<=n&&n<=qn||Hn<=n&&n<=Dn}var Fn=function(){function e(e,t){var n=this;this.id=e,this._tags=[],this._tagMap={},this._attributeMap={},this._valueSetMap={},this._tags=t.tags||[],this._globalAttributes=t.globalAttributes||[],this._tags.forEach((function(e){n._tagMap[e.name]=e,e.attributes&&e.attributes.forEach((function(e){n._attributeMap[e.name]=e}))})),this._globalAttributes.forEach((function(e){n._attributeMap[e.name]=e})),t.valueSets&&t.valueSets.forEach((function(e){n._valueSetMap[e.name]=e.values}))}return e.prototype.isApplicable=function(){return!0},e.prototype.getId=function(){return this.id},e.prototype.provideTags=function(){return this._tags},e.prototype.provideAttributes=function(e){var t=[],n=function(e){t.push({name:e.name,description:e.description,valueSet:e.valueSet})};return this._tagMap[e]&&this._tagMap[e].attributes.forEach((function(e){n(e)})),this._globalAttributes.forEach((function(e){n(e)})),t},e.prototype.provideValues=function(e,t){var n=this,i=[],r=function(e){e.forEach((function(e){e.name===t&&(e.values&&e.values.forEach((function(e){i.push(e)})),e.valueSet&&n._valueSetMap[e.valueSet]&&n._valueSetMap[e.valueSet].forEach((function(e){i.push(e)})))}))};return this._tagMap[e]?(r(this._tagMap[e].attributes),r(this._globalAttributes),i):[]},e}(),jn=[{name:"html",description:"The html element represents the root of an HTML document.",attributes:[{name:"manifest",description:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](/en-US/docs/Web/HTML/Using_the_application_cache) for details."},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called \u201cquirks mode\u201d when rendering a document; that is, the "" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}]},{name:"head",description:"The head element represents a collection of metadata for the Document.",attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}]},{name:"title",description:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context.",attributes:[]},{name:"base",description:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information.",attributes:[{name:"href",description:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."},{name:"target",description:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}]},{name:"link",description:"The link element allows authors to link their document to other resources.",attributes:[{name:"href",description:'This attribute specifies the [URL](/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'},{name:"crossorigin",valueSet:"xo",description:'This enumerated attribute indicates whether [CORS](/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [``](/en-US/docs/Web/HTML/Element/canvas "Use the HTML element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'},{name:"rel",description:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](/en-US/docs/Web/HTML/Link_types)."},{name:"media",description:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets \u2014 it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."},{name:"hreflang",description:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the `[href](/en-US/docs/Web/HTML/Element/a#attr-href)` attribute is present."},{name:"type",description:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'},{name:"sizes",description:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the `[rel](/en-US/docs/Web/HTML/Element/link#attr-rel)` contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `__x__` or `__X__`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the `[sizes](/en-US/docs/Web/HTML/Global_attributes#attr-sizes)` contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `` element. It specifies the type of content being loaded by the ``, which is necessary for content prioritization, request matching, application of correct [content security policy](/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on\xa0the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image,\xa0video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates\xa0**no\xa0preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the\xa0browser\xa0that the resource is of\xa0**high** priority.\n\n**`low`**:\xa0Indicates to the\xa0browser\xa0that the resource is of\xa0**low** priority.\n\n**Note:** The `importance` attribute may only be used for the `` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata \u2014 a base64-encoded cryptographic hash of the resource (file) you\u2019re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `` element. When used on a `` it defines a [preferred or an alternate stylesheet](/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}]},{name:"meta",description:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements.",attributes:[{name:"name",description:'This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes `[itemprop](/en-US/docs/Web/HTML/Global_attributes#attr-itemprop)`, `[http-equiv](/en-US/docs/Web/HTML/Element/meta#attr-http-equiv)` or `[charset](/en-US/docs/Web/HTML/Element/meta#attr-charset)` is also set.\n\nThis metadata name is associated with the value contained by the `[content](/en-US/docs/Web/HTML/Element/meta#attr-content)` attribute. The possible values for the name attribute are:\n\n* `application-name` which defines the name of the application running in the web page.\n \n **Note:**\n \n * Browsers may use this to identify the application. It is different from the [``](/en-US/docs/Web/HTML/Element/title "The HTML Title element (<title>) defines the document\'s title that is shown in a browser\'s title bar or a page\'s tab.") element, which usually contain the application name, but may also contain information like the document name or a status.\n * Simple web pages shouldn\'t define an application-name.\n \n* `author` which defines the name of the document\'s author.\n* `description` which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.\n* `generator` which contains the identifier of the software that generated the page.\n* `keywords` which contains words relevant to the page\'s content separated by commas.\n* `referrer` which controls the [`Referer` HTTP header](/en-US/docs/Web/HTTP/Headers/Referer) attached to requests sent from the document:\n \n Values for the `content` attribute of `<meta name="referrer">`\n \n `no-referrer`\n \n Do not send a HTTP `Referrer` header.\n \n `origin`\n \n Send the [origin](/en-US/docs/Glossary/Origin) of the document.\n \n `no-referrer-when-downgrade`\n \n Send the [origin](/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https\u2192https), but does not send a referrer to less secure URLs (https\u2192http). This is the default behaviour.\n \n `origin-when-cross-origin`\n \n Send the full URL (stripped of parameters) for same-origin requests, but only send the [origin](/en-US/docs/Glossary/Origin) for other cases.\n \n `same-origin`\n \n A referrer will be sent for [same-site origins](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), but cross-origin requests will contain no referrer information.\n \n `strict-origin`\n \n Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don\'t send it to a less secure destination (HTTPS->HTTP).\n \n `strict-origin-when-cross-origin`\n \n Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).\n \n `unsafe-URL`\n \n Send the full URL (stripped of parameters) for same-origin or cross-origin requests.\n \n **Notes:**\n \n * Some browsers support the deprecated values of `always`, `default`, and `never` for referrer.\n * Dynamically inserting `<meta name="referrer">` (with [`document.write`](/en-US/docs/Web/API/Document/write) or [`appendChild`](/en-US/docs/Web/API/Node/appendChild)) makes the referrer behaviour unpredictable.\n * When several conflicting policies are defined, the no-referrer policy is applied.\n \n\nThis attribute may also have a value taken from the extended list defined on [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions). Although none have been formally accepted yet, a few commonly used names are:\n\n* `creator` which defines the name of the creator of the document, such as an organization or institution. If there are more than one, several [`<meta>`](/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") elements should be used.\n* `googlebot`, a synonym of `robots`, is only followed by Googlebot (the indexing crawler for Google).\n* `publisher` which defines the name of the document\'s publisher.\n* `robots` which defines the behaviour that cooperative crawlers, or "robots", should use with the page. It is a comma-separated list of the values below:\n \n Values for the content of `<meta name="robots">`\n \n Value\n \n Description\n \n Used by\n \n `index`\n \n Allows the robot to index the page (default).\n \n All\n \n `noindex`\n \n Requests the robot to not index the page.\n \n All\n \n `follow`\n \n Allows the robot to follow the links on the page (default).\n \n All\n \n `nofollow`\n \n Requests the robot to not follow the links on the page.\n \n All\n \n `none`\n \n Equivalent to `noindex, nofollow`\n \n [Google](https://support.google.com/webmasters/answer/79812)\n \n `noodp`\n \n Prevents using the [Open Directory Project](https://www.dmoz.org/) description, if any, as the page description in search engine results.\n \n [Google](https://support.google.com/webmasters/answer/35624#nodmoz), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/meta-tags-robotstxt-yahoo-search-sln2213.html#cont5), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noarchive`\n \n Requests the search engine not to cache the page content.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/SLN2213.html), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `nosnippet`\n \n Prevents displaying any description of the page in search engine results.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noimageindex`\n \n Requests this page not to appear as the referring page of an indexed image.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives)\n \n `nocache`\n \n Synonym of `noarchive`.\n \n [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n **Notes:**\n \n * Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them.\n * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether\xa0crawlers are permitted or forbidden access to the web site.")_ file.\n * If you want to remove a page, `noindex` will work, but only after the robot visits the page again. Ensure that the `robots.txt` file is not preventing revisits.\n * Some values are mutually exclusive, like `index` and `noindex`, or `follow` and `nofollow`. In these cases the robot\'s behaviour is undefined and may vary between them.\n * Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header `X-Robots-Tag`; this allows non-HTML documents like images to use these rules.\n \n* `slurp`, is a synonym of `robots`, but only for Slurp - the crawler for Yahoo Search.\n* `viewport`, which gives hints about the size of the initial size of the [viewport](/en-US/docs/Glossary/viewport "viewport: A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you\'re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view."). Used by mobile devices only.\n \n Values for the content of `<meta name="viewport">`\n \n Value\n \n Possible subvalues\n \n Description\n \n `width`\n \n A positive integer number, or the text `device-width`\n \n Defines the pixel width of the viewport that you want the web site to be rendered at.\n \n `height`\n \n A positive integer, or the text `device-height`\n \n Defines the height of the viewport. Not used by any browser.\n \n `initial-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the ratio between the device width (`device-width` in portrait mode or `device-height` in landscape mode) and the viewport size.\n \n `maximum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the maximum amount to zoom in. It must be greater or equal to the `minimum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `minimum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the minimum zoom level. It must be smaller or equal to the `maximum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `user-scalable`\n \n `yes` or `no`\n \n If set to `no`, the user is not able to zoom in the webpage. The default is `yes`. Browser settings can ignore this rule, and iOS10+ ignores it by default.\n \n Specification\n \n Status\n \n Comment\n \n [CSS Device Adaptation \n The definition of \'<meta name="viewport">\' in that specification.](https://drafts.csswg.org/css-device-adapt/#viewport-meta)\n \n Working Draft\n \n Non-normatively describes the Viewport META element\n \n See also: [`@viewport`](/en-US/docs/Web/CSS/@viewport "The @viewport CSS at-rule lets you configure the viewport through which the document is viewed. It\'s primarily used for mobile devices, but is also used by desktop browsers that support features like "snap to edge" (such as Microsoft Edge).")\n \n **Notes:**\n \n * Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance.\n * The default values may vary between devices and browsers.\n * To learn about this declaration in Firefox for Mobile, see [this article](/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").'},{name:"http-equiv",description:'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the `[charset](/en-US/docs/Web/HTML/Element/meta#attr-charset)` attribute on the [`<meta>`](/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the `[content](/en-US/docs/Web/HTML/Element/meta#attr-content)` attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the `[content](/en-US/docs/Web/HTML/Element/meta#attr-content)` attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'},{name:"content",description:"This attribute contains the value for the `[http-equiv](/en-US/docs/Web/HTML/Element/meta#attr-http-equiv)` or `[name](/en-US/docs/Web/HTML/Element/meta#attr-name)` attribute, depending on which is used."},{name:"charset",description:'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its\xa0scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent `[charset](/en-US/docs/Web/HTML/Element/meta#attr-charset)` attribute. This syntax is still allowed, although no longer recommended.'},{name:"scheme",description:"This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the `[content](/en-US/docs/Web/HTML/Element/meta#attr-content)` value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}]},{name:"style",description:"The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user.",attributes:[{name:"media",description:"This attribute defines which media the style should be applied to. Its value is a media query, which defaults to all if the attribute is missing.\n"},{name:"nonce",description:"A cryptographic nonce (number used once) used to whitelist inline styles in a style-src Content-Security-Policy. The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource\u2019s policy is otherwise trivial.\n"},{name:"type",description:"This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to text/css if it is not specified \u2014 there is very little reason to include this in modern web documents.\n"},{name:"scoped",valueSet:"v"},{name:"title",description:"This attribute specifies alternative style sheet sets.\n"}]},{name:"body",description:"The body element represents the content of the document.",attributes:[{name:"onafterprint",description:"Function to call after the user has printed the document."},{name:"onbeforeprint",description:"Function to call when the user requests printing of the document."},{name:"onbeforeunload",description:"Function to call when the document is about to be unloaded."},{name:"onhashchange",description:"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."},{name:"onlanguagechange",description:"Function to call when the preferred languages changed."},{name:"onmessage",description:"Function to call when the document has received a message."},{name:"onoffline",description:"Function to call when network communication has failed."},{name:"ononline",description:"Function to call when network communication has been restored."},{name:"onpagehide"},{name:"onpageshow"},{name:"onpopstate",description:"Function to call when the user has navigated session history."},{name:"onstorage",description:"Function to call when the storage area has changed."},{name:"onunload",description:"Function to call when the document is going away."},{name:"alink",description:'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'},{name:"background",description:'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'},{name:"bgcolor",description:'Background color for the document. _This method is non-conforming, use CSS [`background-color`](/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'},{name:"bottommargin",description:'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"leftmargin",description:'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"link",description:'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'},{name:"onblur",description:"Function to call when the document loses focus."},{name:"onerror",description:"Function to call when the document fails to load properly."},{name:"onfocus",description:"Function to call when the document receives focus."},{name:"onload",description:"Function to call when the document has finished loading."},{name:"onredo",description:"Function to call when the user has moved forward in undo transaction history."},{name:"onresize",description:"Function to call when the document has been resized."},{name:"onundo",description:"Function to call when the user has moved backward in undo transaction history."},{name:"rightmargin",description:'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"text",description:'Foreground color of text. _This method is non-conforming, use CSS [`color`](/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'},{name:"topmargin",description:'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"vlink",description:'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}]},{name:"article",description:"The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1\u2013h6 element) as a child of the article element.",attributes:[]},{name:"section",description:"The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element.",attributes:[]},{name:"nav",description:"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links.",attributes:[]},{name:"aside",description:"The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography.",attributes:[]},{name:"h1",description:"The h1 element represents a section heading.",attributes:[]},{name:"h2",description:"The h2 element represents a section heading.",attributes:[]},{name:"h3",description:"The h3 element represents a section heading.",attributes:[]},{name:"h4",description:"The h4 element represents a section heading.",attributes:[]},{name:"h5",description:"The h5 element represents a section heading.",attributes:[]},{name:"h6",description:"The h6 element represents a section heading.",attributes:[]},{name:"header",description:"The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page.",attributes:[]},{name:"footer",description:"The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.",attributes:[]},{name:"address",description:"The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole.",attributes:[]},{name:"p",description:"The p element represents a paragraph.",attributes:[]},{name:"hr",description:"The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book.",attributes:[{name:"align",description:"Sets the alignment of the rule on the page. If no value is specified, the default value is left.\n"},{name:"color",description:"Sets the color of the rule through color name or hexadecimal value.\n"},{name:"noshade",description:"Sets the rule to have no shading.\n"},{name:"size",description:"Sets the height, in pixels, of the rule.\n"},{name:"width",description:"Sets the length of the rule on the page through a pixel or percentage value.\n"}]},{name:"pre",description:"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements.",attributes:[{name:"cols",description:"Contains the preferred count of characters that a line should have. It was a non-standard synonym of \\[width](/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS width instead.\n"},{name:"width",description:"Contains the preferred count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS width instead.\n"},{name:"wrap",description:"Is a hint indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS white-space instead.\n"}]},{name:"blockquote",description:"The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations.",attributes:[{name:"cite",description:"A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}]},{name:"ol",description:"The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document.",attributes:[{name:"reversed",valueSet:"v",description:"This Boolean attribute specifies that the items of the list are specified in reversed order."},{name:"start",description:'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'},{name:"type",valueSet:"lt",description:"Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different `[type](/en-US/docs/Web/HTML/Element/li#attr-type)` attribute is used within an enclosed [`<li>`](/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."},{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](/en-US/docs/CSS) property [`line-height`](/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}]},{name:"ul",description:"The ul element represents a list of items, where the order of the items is not important \u2014 that is, where changing the order would not materially change the meaning of the document.",attributes:[{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note:\xa0**Do not use this attribute, as it has been deprecated: the [`<ul>`](/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](/en-US/docs/CSS) property [line-height](/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}]},{name:"li",description:"The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element.",attributes:[{name:"value",description:'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko\xa09.0, negative values were incorrectly converted to 0. Starting in Gecko\xa09.0 all integer values are correctly parsed.'},{name:"type",description:'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}]},{name:"dl",description:"The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name.",attributes:[]},{name:"dt",description:"The dt element represents the term, or name, part of a term-description group in a description list (dl element).",attributes:[]},{name:"dd",description:"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element).",attributes:[{name:"nowrap",description:"If the value of this attribute is set to yes, the definition text will not wrap. The default value is no.\n"}]},{name:"figure",description:"The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document.",attributes:[]},{name:"figcaption",description:"The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any.",attributes:[]},{name:"main",description:"The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application.",attributes:[]},{name:"div",description:"The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements.",attributes:[]},{name:"a",description:"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents.",attributes:[{name:"href",description:"Contains a URL or a URL fragment that the hyperlink points to.\n"},{name:"target",description:'Specifies where to display the linked URL. It is a name of, or keyword for, a browsing context: a tab, window, or <iframe>. The following keywords have special meanings:\n\n\\_self: Load the URL into the same browsing context as the current one. This is the default behavior.\n\n\\_blank: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n\n\\_parent: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as \\_self.\n\n\\_top: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as \\_self.\n\nNote: When using target, consider adding rel="noreferrer" to avoid exploitation of the window.opener API.\n\nNote: Linking to another page using target="\\_blank" will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use rel="noopener".\n'},{name:"download",description:"This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though / and \\\\ are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\nNotes:\n\nThis attribute only works for same-origin URLs.\n\nAlthough HTTP(s) URLs need to be in the same-origin, blob: URLs and data: URLs are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n\nIf the HTTP header Content-Disposition: gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n\nIf Content-Disposition: is set to inline, Firefox prioritizes Content-Disposition, like the filename case, while Chrome prioritizes the download attribute.\n"},{name:"ping",description:"Contains a space-separated list of URLs to which, when the hyperlink is followed, POST requests with the body PING will be sent by the browser (in the background). Typically used for tracking.\n"},{name:"rel",description:"Specifies the relationship of the target object to the link object. The value is a space-separated list of link types.\n"},{name:"hreflang",description:"This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by BCP47.\n"},{name:"type",description:'Specifies the media type in the form of a MIME type is a string sent along\xa0with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled\xa0audio/ogg, or an image file\xa0image/png).") for the linked URL. It is purely advisory, with no built-in functionality.\n'},{name:"referrerpolicy",description:"Indicates which referrer to send when fetching the URL:\n\n'no-referrer' means the Referer: header will not be sent.\n\n'no-referrer-when-downgrade' means no Referer: header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n\n'origin' means the referrer will be the origin of the page, not including information after the domain.\n\n'origin-when-cross-origin' meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n\n'strict-origin-when-cross-origin'\n\n'unsafe-url' means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones.\n"}]},{name:"em",description:"The em element represents stress emphasis of its contents.",attributes:[]},{name:"strong",description:"The strong element represents strong importance, seriousness, or urgency for its contents.",attributes:[]},{name:"small",description:"The small element represents side comments such as small print.",attributes:[]},{name:"s",description:"The s element represents contents that are no longer accurate or no longer relevant.",attributes:[]},{name:"cite",description:"The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata.",attributes:[]},{name:"q",description:"The q element represents some phrasing content quoted from another source.",attributes:[{name:"cite",description:"The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.\n"}]},{name:"dfn",description:"The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element.",attributes:[]},{name:"abbr",description:"The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else.",attributes:[]},{name:"ruby",description:"The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]",attributes:[]},{name:"rb",description:"The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents.",attributes:[]},{name:"rt",description:"The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents.",attributes:[]},{name:"rp",description:"The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation.",attributes:[]},{name:"time",description:"The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below.",attributes:[{name:"datetime",description:"This attribute indicates the time and/or date of the element and must be in one of the formats described below.\n"}]},{name:"code",description:"The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize.",attributes:[]},{name:"var",description:"The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose.",attributes:[]},{name:"samp",description:"The samp element represents sample or quoted output from another program or computing system.",attributes:[]},{name:"kbd",description:"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands).",attributes:[]},{name:"sub",description:"The sub element represents a subscript.",attributes:[]},{name:"sup",description:"The sup element represents a superscript.",attributes:[]},{name:"i",description:"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts.",attributes:[]},{name:"b",description:"The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede.",attributes:[]},{name:"u",description:"The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt.",attributes:[]},{name:"mark",description:"The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity.",attributes:[]},{name:"bdi",description:"The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]",attributes:[]},{name:"bdo",description:"The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]",attributes:[{name:"dir",description:"The direction in which text should be rendered in this element's contents. Possible values are:\n\nltr: Indicates that the text should go in a left-to-right direction.\n\nrtl: Indicates that the text should go in a right-to-left direction.\n"}]},{name:"span",description:"The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children.",attributes:[]},{name:"br",description:"The br element represents a line break.",attributes:[{name:"clear",description:"Indicates where to begin the next line after the break."}]},{name:"wbr",description:"The wbr element represents a line break opportunity.",attributes:[]},{name:"ins",description:"The ins element represents an addition to the document.",attributes:[{name:"cite",description:"This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system.\n"},{name:"datetime",description:"This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see Format of a valid date string in Date and time formats used in HTML. The format of the string if it includes both date and time is covered in Format of a valid local date and time string in Date and time formats used in HTML.\n"}]},{name:"del",description:"The del element represents a removal from the document.",attributes:[{name:"cite",description:"A URI for a resource that explains the change (for example, meeting minutes).\n"},{name:"datetime",description:"This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see Format of a valid date string in Date and time formats used in HTML. The format of the string if it includes both date and time is covered in Format of a valid local date and time string in Date and time formats used in HTML.\n"}]},{name:"picture",description:"The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children.",attributes:[]},{name:"img",description:"An img element represents an image.",attributes:[{name:"alt",description:'This attribute defines an alternative text description of the image.\n\nNote: Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an unsupported type. In these cases, the browser may replace the image with the text defined in this element\'s alt attribute. You should, for these reasons and others, provide a useful value for alt whenever possible.\n\nNote: Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (alt="") indicates that this image is not a key part of the content (decorative), and that non-visual browsers may omit it from rendering.\n'},{name:"src",description:"The image URL. This attribute is mandatory for the <img> element. On browsers supporting srcset, src is treated like a candidate image with a pixel density descriptor 1x unless an image with this pixel density descriptor is already defined in srcset, or unless srcset contains 'w' descriptors.\n"},{name:"srcset",description:"A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\na URL to an image,\n\noptionally, whitespace followed by one of:\n\nA width descriptor, or a positive integer directly followed by 'w'. The width descriptor is divided by the source size given in the sizes attribute to calculate the effective pixel density.\n\nA pixel density descriptor, which is a positive floating point number directly followed by 'x'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: 1x.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same srcset attribute. Duplicate descriptors (for instance, two sources in the same srcset which are both described with '2x') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our Responsive images tutorial for an example.\n"},{name:"crossorigin",valueSet:"xo",description:'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. CORS-enabled images can be reused in the <canvas> element without being "tainted." The allowed values are:\n'},{name:"usemap",description:"The partial URL (starting with '#') of an image map associated with the element.\n\nNote: You cannot use this attribute if the <img> element is a descendant of an <a> or <button> element.\n"},{name:"ismap",valueSet:"v",description:"This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\nNote: This attribute is allowed only if the <img> element is a descendant of an <a> element with a valid \\[href](/en-US/docs/Web/HTML/Element/a#attr-href) attribute.\n"},{name:"width",description:"The intrinsic width of the image in pixels.\n"},{name:"height",description:"The intrinsic height of the image in pixels.\n"},{name:"decoding",description:"Provides an image decoding hint to the browser. The allowed values are:\n"},{name:"decoding",description:"sync\n\nDecode the image synchronously for atomic presentation with other content.\n\nasync\n\nDecode the image asynchronously to reduce delay in presenting other content.\n\nauto\n\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.\n"},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:\n"},{name:"importance",description:"auto: Indicates\xa0no\xa0preference. The browser may use its own heuristics to decide the priority of the image.\n\nhigh: Indicates to the\xa0browser\xa0that the image is of\xa0high priority.\n\nlow:\xa0Indicates to the\xa0browser\xa0that the image is of\xa0low priority.\n"},{name:"intrinsicsize",description:"This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it\u2019s the size specified in the attribute. Specifically, the image would raster at these dimensions and naturalWidth/naturalHeight on images would return the values specified in this attribute. Explainer, examples\n"},{name:"referrerpolicy",description:"A string indicating which referrer to use when fetching the resource:\n\nno-referrer: The Referer header will not be sent.\n\nno-referrer-when-downgrade: No Referer header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior if no policy is otherwise specified.\n\norigin: The Referer header will include the page of origin's scheme, the host, and the port.\n\norigin-when-cross-origin: Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n\nunsafe-url: The Referer header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.\n"},{name:"sizes",description:"A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\na media condition. This must be omitted for the last item.\n\na source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the srcset attribute, when those sources are described using width ('w') descriptors. The selected source size affects the intrinsic size of the image (the image\u2019s display size if no CSS styling is applied). If the srcset attribute is absent, or contains no values with a width (w) descriptor, then the sizes attribute has no effect.\n"}]},{name:"iframe",description:"The iframe element represents a nested browsing context.",attributes:[{name:"src",description:"The URL of the page to embed. Use a value of about:blank to embed an empty page that conforms to the same-origin policy. Also note that programatically removing an <iframe>'s src attribute (e.g. via Element.removeAttribute()) causes about:blank to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.\n"},{name:"srcdoc",description:"Inline HTML to embed, overriding the src attribute. If a browser does not support the srcdoc attribute, it will fall back to the URL in the src attribute.\n"},{name:"name",description:"A targetable name for the embedded browsing context. This can be used in the target attribute of the <a>, <form>, or <base> elements; the formtarget attribute of the <input> or <button> elements; or the windowName parameter in the window.open() method.\n"},{name:"sandbox",valueSet:"sb",description:'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\nallow-forms: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n\nallow-modals: Lets the resource open modal windows.\n\nallow-orientation-lock: Lets the resource lock the screen orientation.\n\nallow-pointer-lock: Lets the resource use the Pointer Lock API.\n\nallow-popups: Allows popups (such as window.open(), target="\\_blank", or showModalDialog()). If this keyword is not used, the popup will silently fail to open.\n\nallow-popups-to-escape-sandbox: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n\nallow-presentation: Lets the resource start a presentation session.\n\nallow-same-origin: If this token is not used, the resource is treated as being from a special origin that always fails the same-origin policy.\n\nallow-scripts: Lets the resource run scripts (but not create popup windows).\n\nallow-storage-access-by-user-activation : Lets the resource request access to the parent\'s storage capabilities with the Storage Access API.\n\nallow-top-navigation: Lets the resource navigate the top-level browsing context (the one named \\_top).\n\nallow-top-navigation-by-user-activation: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\nNotes about sandboxing:\n\nWhen the embedded document has the same origin as the embedding page, it is strongly discouraged to use both allow-scripts and allow-same-origin, as that lets the embedded document remove the sandbox attribute \u2014 making it no more secure than not using the sandbox attribute at all.\n\nSandboxing is useless if the attacker can display content outside a sandboxed iframe \u2014 such as if the viewer opens the frame in a new tab. Such content should be also served from a separate origin to limit potential damage.\n\nThe sandbox attribute is unsupported in Internet Explorer 9 and earlier.\n'},{name:"seamless",valueSet:"v"},{name:"allowfullscreen",valueSet:"v",description:"Set to true if the <iframe> can activate fullscreen mode by calling the requestFullscreen() method.\n"},{name:"width",description:"The width of the frame in CSS pixels. Default is 300.\n"},{name:"height",description:"The height of the frame in CSS pixels. Default is 150.\n"},{name:"allow",description:"Specifies a feature policy for the <iframe>.\n"},{name:"allowpaymentrequest",description:"Set to true if a cross-origin <iframe> should be allowed to invoke the Payment Request API.\n"},{name:"allowpaymentrequest",description:'This attribute is considered a legacy attribute and redefined as allow="payment".\n'},{name:"csp",description:"A Content Security Policy enforced for the embedded resource. See HTMLIFrameElement.csp for details.\n"},{name:"importance",description:"The download priority of the resource in the <iframe>'s src attribute. Allowed values:\n\nauto (default)\n\nNo preference. The browser uses its own heuristics to decide the priority of the resource.\n\nhigh\n\nThe resource should be downloaded before other lower-priority page resources.\n\nlow\n\nThe resource should be downloaded after other higher-priority page resources.\n"},{name:"referrerpolicy",description:"Indicates which referrer to send when fetching the frame's resource:\n\nno-referrer: The Referer header will not be sent.\n\nno-referrer-when-downgrade (default): The Referer header will not be sent to origins without TLS (HTTPS).\n\norigin: The sent referrer will be limited to the origin of the referring page: its scheme, host, and port.\n\norigin-when-cross-origin: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n\nsame-origin: A referrer will be sent for same origin, but cross-origin requests will contain no referrer information.\n\nstrict-origin: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS\u2192HTTPS), but don't send it to a less secure destination (HTTPS\u2192HTTP).\n\nstrict-origin-when-cross-origin: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS\u2192HTTPS), and send no header to a less secure destination (HTTPS\u2192HTTP).\n\nunsafe-url: The referrer will include the origin and the path (but not the fragment, password, or username). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins.\n"}]},{name:"embed",description:"The embed element provides an integration point for an external (typically non-HTML) application or interactive content.",attributes:[{name:"src",description:"The URL\xa0of the resource being embedded."},{name:"type",description:"The MIME\xa0type to use to select the plug-in to instantiate."},{name:"width",description:"The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."},{name:"height",description:"The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}]},{name:"object",description:"The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin.",attributes:[{name:"data",description:"The address of the resource as a valid URL. At least one of **data** and **type** must be defined."},{name:"type",description:"The [content type](/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."},{name:"typemustmatch",valueSet:"v",description:"This Boolean attribute indicates if the **type** attribute and the actual [content type](/en-US/docs/Glossary/Content_type) of the resource must match to be used."},{name:"name",description:"The name of valid browsing context (HTML5), or the name of the control (HTML 4)."},{name:"usemap",description:"A hash-name reference to a [`<map>`](/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a `[name](/en-US/docs/Web/HTML/Element/map#attr-name)` of a map element."},{name:"form",description:'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'},{name:"width",description:"The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"},{name:"height",description:"The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"},{name:"archive",description:"A space-separated list of URIs for archives of resources for the object."},{name:"border",description:"The width of a border around the control, in pixels."},{name:"classid",description:"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."},{name:"codebase",description:"The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."},{name:"codetype",description:"The content type of the data specified by **classid**."},{name:"declare",description:"The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."},{name:"standby",description:"A message that the browser can show while loading the object's implementation and data."},{name:"tabindex",description:"The position of the element in the tabbing navigation order for the current document."}]},{name:"param",description:"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own.",attributes:[{name:"name",description:"Name of the parameter."},{name:"value",description:"Specifies the value of the parameter."},{name:"type",description:'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'},{name:"valuetype",description:'Specifies the type of the `value` attribute. Possible values are:\n\n* data: Default value. The value is passed to the object\'s implementation as a string.\n* ref: The value is a URI to a resource where run-time values are stored.\n* object: An ID of another [`<object>`](/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.'}]},{name:"video",description:"A video element is used for playing videos or movies, and audio files with captions.",attributes:[{name:"src"},{name:"crossorigin",valueSet:"xo"},{name:"poster"},{name:"preload",valueSet:"pl"},{name:"autoplay",valueSet:"v",description:"A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data.\n"},{name:"mediagroup"},{name:"loop",valueSet:"v"},{name:"muted",valueSet:"v"},{name:"controls",valueSet:"v"},{name:"width"},{name:"height"}]},{name:"audio",description:"An audio element represents a sound or audio stream.",attributes:[{name:"src",description:"The URL of the audio to embed. This is subject to HTTP access controls. This is optional; you may instead use the <source> element within the audio block to specify the audio to embed.\n"},{name:"crossorigin",valueSet:"xo",description:"This enumerated attribute indicates whether to use CORS to fetch the related image. CORS-enabled resources can be reused in the <canvas> element without being tainted. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the Origin: HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin: HTTP header), the image will be tainted, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the Origin: HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials: HTTP header), the image will be tainted and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the Origin: HTTP header), preventing its non-tainted used in <canvas> elements. If invalid, it is handled as if the enumerated keyword anonymous was used. See CORS settings attributes for additional information.\n"},{name:"preload",valueSet:"pl",description:"This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\nnone: Indicates that the audio should not be preloaded.\n\nmetadata: Indicates that only audio metadata (e.g. length) is fetched.\n\nauto: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n\nempty string: A synonym of the auto value.\n\nIf not set, preload's default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to metadata.\n\nUsage notes:\n\nThe autoplay attribute has precedence over\xa0preload. If autoplay is specified, the browser would obviously need to start downloading the audio for playback.\n\nThe browser is not forced by the specification to follow the value of this attribute; it is a mere hint.\n"},{name:"autoplay",valueSet:"v",description:"A Boolean attribute:\xa0if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.\n\nNote: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control.\n"},{name:"mediagroup"},{name:"loop",valueSet:"v",description:"A Boolean attribute:\xa0if specified, the audio player will\xa0automatically seek back to the start\xa0upon reaching the end of the audio.\n"},{name:"muted",valueSet:"v",description:"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is false.\n"},{name:"controls",valueSet:"v",description:"If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback.\n"}]},{name:"source",description:"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own.",attributes:[{name:"src",description:"Required for <audio> and <video>, address of the media resource. The value of this attribute is ignored when the <source> element is placed inside a <picture> element.\n"},{name:"type",description:"The MIME-type of the resource, optionally with a codecs parameter. See RFC 4281 for information about how to specify codecs.\n"},{name:"sizes",description:"Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in \\[srcset](/en-US/docs/Web/HTML/Element/source#attr-srcset) to use.\nThe sizes attribute has an effect only when the <source> element is the direct child of a <picture> element.\n"},{name:"srcset",description:"A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\none URL to an image,\n\na width descriptor, that is a positive integer directly followed by 'w'. The default value, if missing, is the infinity.\n\na pixel density descriptor, that is a positive floating number directly followed by 'x'. The default value, if missing, is 1x.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor.\nThe browser chooses the most adequate image to display at a given point of time.\nThe srcset attribute has an effect only when the <source> element is the direct child of a <picture> element.\n"},{name:"media",description:"Media query of the resource's intended media; this should be used only in a <picture> element.\n"}]},{name:"track",description:"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own.",attributes:[{name:"default",valueSet:"v",description:"This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."},{name:"kind",valueSet:"tk",description:"How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.)\xa0The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."},{name:"label",description:"A user-readable title of the text track which is used by the browser when listing available text tracks."},{name:"src",description:'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document \u2014 unless the [`<audio>`](/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element:\xa0the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a `[crossorigin](/en-US/docs/Web/HTML/CORS_settings_attributes)` attribute.'},{name:"srclang",description:"Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to\xa0`subtitles,` then `srclang` must be defined."}]},{name:"map",description:"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children.",attributes:[{name:"name",description:"The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}]},{name:"area",description:"The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map.",attributes:[{name:"alt"},{name:"coords"},{name:"shape",valueSet:"sh"},{name:"href"},{name:"target"},{name:"download"},{name:"ping"},{name:"rel"},{name:"hreflang"},{name:"type"},{name:"accesskey",description:"Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}]},{name:"table",description:"The table element represents data with more than one dimension, in the form of a table.",attributes:[{name:"sortable",valueSet:"v"},{name:"border"},{name:"align",description:"This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\nleft: the table is displayed on the left side of the document;\n\ncenter: the table is displayed in the center of the document;\n\nright: the table is displayed on the right side of the document.\n\nUsage Note\n\nDo not use this attribute, as it has been deprecated. The <table> element should be styled using CSS. Set margin-left and margin-right to auto or margin to 0 auto to achieve an effect that is similar to the align attribute.\n\nPrior to Firefox 4, Firefox also supported the middle, absmiddle, and abscenter values as synonyms of center, in quirks mode only.\n"}]},{name:"caption",description:"The caption element represents the title of the table that is its parent, if it has a parent and that is a table element.",attributes:[{name:"align",description:"This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:\n\nleft\n\nThe caption is displayed to the left of the table.\n\ntop\n\nThe caption is displayed above the table.\n\nright\n\nThe caption is displayed to the right of the table.\n\nbottom\n\nThe caption is displayed below the table.\n\nUsage note: Do not use this attribute, as it has been deprecated. The <caption> element should be styled using the CSS properties caption-side and text-align.\n"}]},{name:"colgroup",description:"The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element.",attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the `[char](/en-US/docs/Web/HTML/Element/col#attr-char)` and `[charoff](/en-US/docs/Web/HTML/Element/col#attr-charoff)` attributes Unimplemented (see [bug\xa02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own `[align](/en-US/docs/Web/HTML/Element/col#attr-align)` attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a `[colspan](/en-US/docs/Web/HTML/Element/td#attr-colspan)` attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a `[colspan](/en-US/docs/Web/HTML/Element/td#attr-colspan)` attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the `[char](/en-US/docs/Web/HTML/Element/colgroup#attr-char)` as the value of the [`text-align`](/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}]},{name:"col",description:"If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup.",attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the `[char](/en-US/docs/Web/HTML/Element/col#attr-char)` and `[charoff](/en-US/docs/Web/HTML/Element/col#attr-charoff)` attributes Unimplemented (see [bug\xa02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the `[align](/en-US/docs/Web/HTML/Element/colgroup#attr-align)` of the [`<colgroup>`](/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a `[colspan](/en-US/docs/Web/HTML/Element/td#attr-colspan)` attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a `[colspan](/en-US/docs/Web/HTML/Element/td#attr-colspan)` attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the `[char](/en-US/docs/Web/HTML/Element/col#attr-char)` as the value of the [`text-align`](/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}]},{name:"tbody",description:"The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table.",attributes:[{name:"align",description:"This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\nleft, aligning the content to the left of the cell\n\ncenter, centering the content in the cell\n\nright, aligning the content to the right of the cell\n\njustify, inserting spaces into the textual content so that the content is justified in the cell\n\nchar, aligning the textual content on a special character with a minimal offset, defined by the \\[char](/en-US/docs/Web/HTML/Element/tbody#attr-char) and \\[charoff](/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the left value is assumed.\n\nNote: Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\nTo achieve the same effect as the left, center, right or justify values, use the CSS text-align property on it.\n\nTo achieve the same effect as the char value, in CSS3, you can use the value of the \\[char](/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the text-align property Unimplemented.\n"}]},{name:"thead",description:"The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table.",attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the `[char](/en-US/docs/Web/HTML/Element/thead#attr-char)` and `[charoff](/en-US/docs/Web/HTML/Element/thead#attr-charoff)` attributes Unimplemented (see [bug\xa02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the `[char](/en-US/docs/Web/HTML/Element/thead#attr-char)` as the value of the [`text-align`](/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}]},{name:"tfoot",description:"The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table.",attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the `[char](/en-US/docs/Web/HTML/Element/tbody#attr-char)` and `[charoff](/en-US/docs/Web/HTML/Element/tbody#attr-charoff)` attributes Unimplemented (see [bug\xa02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the `[char](/en-US/docs/Web/HTML/Element/tfoot#attr-char)` as the value of the [`text-align`](/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}]},{name:"tr",description:"The tr element represents a row of cells in a table.",attributes:[{name:"align",description:'A DOMString which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using align on every cell in the row individually. Possible values are:\n\nleft\n\nAlign the content of each cell at its left edge.\n\ncenter\n\nCenter the contents of each cell between their left and right edges.\n\nright\n\nAlign the content of each cell at its right edge.\n\njustify\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\nchar\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the \\[char](/en-US/docs/Web/HTML/Element/tr#attr-char) and \\[charoff](/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for align, the parent node\'s value is inherited.\n\nInstead of using the obsolete align attribute, you should instead use the CSS text-align property to establish left, center, right, or justify alignment for the row\'s cells. To apply character-based alignment, set the CSS text-align property to the alignment character (such as "." or ",").\n'}]},{name:"td",description:"The td element represents a data cell in a table.",attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"abbr",description:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute."},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the `[char](/en-US/docs/Web/HTML/Element/td#attr-char)` and `[charoff](/en-US/docs/Web/HTML/Element/td#attr-charoff)` attributes Unimplemented (see [bug\xa02212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the `[char](/en-US/docs/Web/HTML/Element/td#attr-char)`. Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n\xa0\n\n`black` = "#000000"\n\n\xa0\n\n`green` = "#008000"\n\n\xa0\n\n`silver` = "#C0C0C0"\n\n\xa0\n\n`lime` = "#00FF00"\n\n\xa0\n\n`gray` = "#808080"\n\n\xa0\n\n`olive` = "#808000"\n\n\xa0\n\n`white` = "#FFFFFF"\n\n\xa0\n\n`yellow` = "#FFFF00"\n\n\xa0\n\n`maroon` = "#800000"\n\n\xa0\n\n`navy` = "#000080"\n\n\xa0\n\n`red` = "#FF0000"\n\n\xa0\n\n`blue` = "#0000FF"\n\n\xa0\n\n`purple` = "#800080"\n\n\xa0\n\n`teal` = "#008080"\n\n\xa0\n\n`fuchsia` = "#FF00FF"\n\n\xa0\n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<td>`](/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") element should be styled using [CSS](/en-US/docs/CSS). To create a similar effect use the [`background-color`](/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](/en-US/docs/CSS) instead.'}]},{name:"th",description:"The th element represents a header cell in a table.",attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"scope",valueSet:"s"},{name:"sorted"},{name:"abbr",description:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\n"},{name:"align",description:"This enumerated attribute specifies how the cell content's horizontal alignment will be handled. Possible values are:\n\nleft: The content is aligned to the left of the cell.\n\ncenter: The content is centered in the cell.\n\nright: The content is aligned to the right of the cell.\n\njustify (with text only): The content is stretched out inside the cell so that it covers its entire width.\n\nchar (with text only): The content is aligned to a character inside the <th> element with minimal offset. This character is defined by the \\[char](/en-US/docs/Web/HTML/Element/th#attr-char) and \\[charoff](/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\n\nThe default value when this attribute is not specified is left.\n\nNote: Do not use this attribute as it is obsolete in the latest standard.\n\nTo achieve the same effect as the left, center, right or justify values, apply the CSS text-align property to the element.\n\nTo achieve the same effect as the char value, give the text-align property the same value you would use for the \\[char](/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.\n"},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the id of a group of cells that this header applies to.\n\nNote: Do not use this attribute as it is obsolete in the latest standard: use the \\[scope](/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead.\n"},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in sRGB and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\nblack = "#000000"\n\ngreen = "#008000"\n\nsilver = "#C0C0C0"\n\nlime = "#00FF00"\n\ngray = "#808080"\n\nolive = "#808000"\n\nwhite = "#FFFFFF"\n\nyellow = "#FFFF00"\n\nmaroon = "#800000"\n\nnavy = "#000080"\n\nred = "#FF0000"\n\nblue = "#0000FF"\n\npurple = "#800080"\n\nteal = "#008080"\n\nfuchsia = "#FF00FF"\n\naqua = "#00FFFF"\n\nNote: Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The <th> element should be styled using CSS. To create a similar effect use the background-color property in CSS instead.\n'}]},{name:"form",description:"The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing.",attributes:[{name:"accept-charset",description:'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'},{name:"action",description:'The URI of a program that processes the form information. This value can be overridden by a `[formaction](/en-US/docs/Web/HTML/Element/button#attr-formaction)` attribute on a [`<button>`](/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"autocomplete",valueSet:"o",description:"Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."},{name:"enctype",valueSet:"et",description:'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a `[formenctype](/en-US/docs/Web/HTML/Element/button#attr-formenctype)` attribute on a [`<button>`](/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"method",valueSet:"m",description:'The [HTTP](/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a\xa0[`<dialog>`](/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a `[formmethod](/en-US/docs/Web/HTML/Element/button#attr-formmethod)` attribute on a [`<button>`](/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"name",description:"The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."},{name:"novalidate",valueSet:"v",description:'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a `[formnovalidate](/en-US/docs/Web/HTML/Element/button#attr-formnovalidate)` attribute on a [`<button>`](/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'},{name:"target",description:'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a `[formtarget](/en-US/docs/Web/HTML/Element/button#attr-formtarget)` attribute on a [`<button>`](/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"accept",description:'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the `[accept](/en-US/docs/Web/HTML/Element/input#attr-accept)` attribute of the specific [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"autocapitalize",description:"This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}]},{name:"label",description:"The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself.",attributes:[{name:"form",description:'The [`<form>`](/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'},{name:"for",description:"The `[id](/en-US/docs/Web/HTML/Global_attributes#attr-id)` of a [labelable](/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is\xa0not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}]},{name:"input",description:"The input element represents a typed data field, usually with a form control to allow the user to edit the data.",attributes:[{name:"accept"},{name:"alt"},{name:"autocomplete",valueSet:"inputautocomplete"},{name:"autofocus",valueSet:"v"},{name:"checked",valueSet:"v"},{name:"dirname"},{name:"disabled",valueSet:"v"},{name:"form"},{name:"formaction"},{name:"formenctype",valueSet:"et"},{name:"formmethod",valueSet:"fm"},{name:"formnovalidate",valueSet:"v"},{name:"formtarget"},{name:"height"},{name:"inputmode",valueSet:"im"},{name:"list"},{name:"max"},{name:"maxlength"},{name:"min"},{name:"minlength"},{name:"multiple",valueSet:"v"},{name:"name"},{name:"pattern"},{name:"placeholder"},{name:"readonly",valueSet:"v"},{name:"required",valueSet:"v"},{name:"size"},{name:"src"},{name:"step"},{name:"type",valueSet:"t"},{name:"value"},{name:"width"}]},{name:"button",description:"The button element represents a button labeled by its contents.",attributes:[{name:"autofocus",valueSet:"v",description:"This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified.\n"},{name:"disabled",valueSet:"v",description:"This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example <fieldset>; if there is no containing element with the disabled attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, persist the dynamic disabled state of a <button> across page loads. Use the \\[autocomplete](/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.\n"},{name:"form",description:"The form element that the button is associated with (its form owner). The value of the attribute must be the id attribute of a <form> element in the same document. If this attribute is not specified, the <button> element will be associated to an ancestor <form> element, if one exists. This attribute enables you to associate <button> elements to <form> elements anywhere within a document, not just as descendants of <form> elements.\n"},{name:"formaction",description:"The URI of a program that processes the information submitted by the button. If specified, it overrides the \\[action](/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner.\n"},{name:"formenctype",valueSet:"et",description:"If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\napplication/x-www-form-urlencoded: The default value if the attribute is not specified.\n\nmultipart/form-data: Use this value if you are using an <input> element with the \\[type](/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to file.\n\ntext/plain\n\nIf this attribute is specified, it overrides the \\[enctype](/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button's form owner.\n"},{name:"formmethod",valueSet:"fm",description:"If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\npost: The data from the form are included in the body of the form and sent to the server.\n\nget: The data from the form are appended to the form attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the \\[method](/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner.\n"},{name:"formnovalidate",valueSet:"v",description:"If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the \\[novalidate](/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner.\n"},{name:"formtarget",description:"If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a browsing context (for example, tab, window, or inline frame). If this attribute is specified, it overrides the \\[target](/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n\\_self: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n\n\\_blank: Load the response into a new unnamed browsing context.\n\n\\_parent: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as \\_self.\n\n\\_top: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as \\_self.\n"},{name:"name",description:"The name of the button, which is submitted with the form data.\n"},{name:"type",valueSet:"bt",description:"The type of the button. Possible values are:\n\nsubmit: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n\nreset: The button resets all the controls to their initial values.\n\nbutton: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur.\n"},{name:"value",description:"The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted.\n"},{name:"autocomplete",description:'The use of this attribute on a <button> is nonstandard and Firefox-specific. By default, unlike other browsers, Firefox persists the dynamic disabled state of a <button> across page loads. Setting the value of this attribute to off (i.e. autocomplete="off") disables this feature. See bug\xa0654072.\n'}]},{name:"select",description:"The select element represents a control for selecting amongst a set of options.",attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:"A DOMString providing a hint for a user agent's autocomplete feature. See The HTML autocomplete attribute for a complete list of values and details on how to use autocomplete.\n"},{name:"autofocus",valueSet:"v",description:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the autofocus attribute.\n"},{name:"disabled",valueSet:"v",description:"This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example fieldset; if there is no containing element with the disabled attribute set, then the control is enabled.\n"},{name:"form",description:'This attribute lets you specify the form element to\xa0which\xa0the select element is associated\xa0(that is, its "form owner"). If this attribute is specified, its value must be the same as the id of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.\n'},{name:"multiple",valueSet:"v",description:"This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When multiple is specified, most browsers will show a scrolling list box instead of a single line dropdown.\n"},{name:"name",description:"This attribute is used to specify the name of the control.\n"},{name:"required",valueSet:"v",description:"A Boolean attribute indicating that an option with a non-empty string value must be selected.\n"},{name:"size",description:"If the control is presented as a scrolling list box (e.g. when multiple is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\nNote: According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox.\n"}]},{name:"datalist",description:"The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden.",attributes:[]},{name:"optgroup",description:"The optgroup element represents a group of option elements with a common label.",attributes:[{name:"disabled",valueSet:"v",description:"If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."},{name:"label",description:"The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}]},{name:"option",description:"The option element represents an option in a select element or as part of a list of suggestions in a datalist element.",attributes:[{name:"disabled",valueSet:"v",description:"If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won't receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled <optgroup> element.\n"},{name:"label",description:"This attribute is text for the label indicating the meaning of the option. If the label attribute isn't defined, its value is that of the element text content.\n"},{name:"selected",valueSet:"v",description:"If present, this Boolean attribute indicates that the option is initially selected. If the <option> element is the descendant of a <select> element whose \\[multiple](/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single <option> of this <select> element may have the selected attribute.\n"},{name:"value",description:"The content of this attribute represents the value to be submitted with the form, should this option be selected.\xa0If this attribute is omitted, the value is taken from the text content of the option element.\n"}]},{name:"textarea",description:"The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value.",attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the `[autocomplete](/en-US/docs/Web/HTML/Element/form#attr-autocomplete)` attribute in [`<form>`](/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'},{name:"autofocus",valueSet:"v",description:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."},{name:"cols",description:"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."},{name:"dirname"},{name:"disabled",valueSet:"v",description:'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'},{name:"form",description:'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'},{name:"inputmode",valueSet:"im"},{name:"maxlength",description:"The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."},{name:"minlength",description:"The minimum number of characters (unicode code points) required that the user should enter."},{name:"name",description:"The name of the control."},{name:"placeholder",description:'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'},{name:"readonly",valueSet:"v",description:"This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."},{name:"required",valueSet:"v",description:"This attribute specifies that the user must fill in a value before submitting a form."},{name:"rows",description:"The number of visible text lines for the control."},{name:"wrap",valueSet:"w",description:"Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."},{name:"autocapitalize",description:"This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."},{name:"spellcheck",description:"Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}]},{name:"output",description:"The output element represents the result of a calculation performed by the application, or the result of a user action.",attributes:[{name:"for",description:"A space-separated list of other elements\u2019 \\[id](/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation.\n"},{name:"form",description:'The form element that this element is associated with (its "form owner"). The value of the attribute must be an id of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.\n'},{name:"name",description:"The name of the element, exposed in the HTMLFormElement API.\n"}]},{name:"progress",description:"The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed.",attributes:[{name:"value",description:"This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."},{name:"max",description:"This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}]},{name:"meter",description:"The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate.",attributes:[{name:"value",description:"The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."},{name:"min",description:"The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."},{name:"max",description:"The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."},{name:"low",description:"The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."},{name:"high",description:"The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."},{name:"optimum",description:"This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."},{name:"form",description:"This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}]},{name:"fieldset",description:"The fieldset element represents a set of form controls optionally grouped under a common name.",attributes:[{name:"disabled",valueSet:"v",description:"If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."},{name:"form",description:'This attribute takes the value of the `id` attribute of a [`<form>`](/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'},{name:"name",description:'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}]},{name:"legend",description:"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any.",attributes:[]},{name:"details",description:"The details element represents a disclosure widget from which the user can obtain additional information or controls.",attributes:[{name:"open",valueSet:"v",description:"This Boolean attribute indicates whether or not the details \u2014 that is, the contents of the <details> element \u2014 are currently visible. The default, false, means the details are not visible.\n"}]},{name:"summary",description:"The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any.",attributes:[]},{name:"dialog",description:"The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window.",attributes:[{name:"open",description:"Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}]},{name:"script",description:"The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user.",attributes:[{name:"src",description:"This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a script element has a src attribute specified, it should not have a script embedded inside its tags.\n"},{name:"type",description:'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\nOmitted or a JavaScript MIME type: For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the src attribute) code. JavaScript MIME types are listed in the specification.\n\nmodule: For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the charset and defer attributes. For information on using module, see ES6 in Depth: Modules. Code may behave differently when the module keyword is used.\n\nAny other value: The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The src attribute will be ignored.\n\nNote: in Firefox you could specify the version of JavaScript contained in a <script> element by including a non-standard version parameter inside the type attribute \u2014 for example type="text/javascript;version=1.8". This has been removed in Firefox 59 (see bug\xa01428745).\n'},{name:"charset"},{name:"async",valueSet:"v",description:'This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously.\n\nThis attribute must not be used if the src attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.\n\nBrowsers usually assume the worst case scenario and load scripts synchronously, (i.e. async="false") during HTML parsing.\n\nDynamically inserted scripts (using document.createElement()) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set async="false".\n\nSee Browser compatibility for notes on browser support. See also Async scripts for asm.js.\n'},{name:"defer",valueSet:"v",description:'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing \\[DOMContentLoaded](/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the defer attribute will prevent the DOMContentLoaded event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the src attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use async="false" instead. Scripts with the defer attribute will execute in the order in which they appear in the document.\n'},{name:"crossorigin",valueSet:"xo",description:"Normal script elements pass minimal information to the window.onerror for scripts which do not pass the standard CORS checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See CORS settings attributes for a more descriptive explanation of its valid arguments.\n"},{name:"nonce",description:"A cryptographic nonce (number used once) to whitelist inline scripts in a script-src Content-Security-Policy. The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial.\n"},{name:"integrity",description:"This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See Subresource Integrity.\n"},{name:"nomodule",description:"This Boolean attribute is set to indicate that the script should not be executed in browsers that support ES2015 modules \u2014 in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code.\n"},{name:"referrerpolicy",description:'Indicates which referrer to send when fetching the script, or resources fetched by the script:\n\nno-referrer: The Referer header will not be sent.\n\nno-referrer-when-downgrade (default): The Referer header will not be sent to origins without TLS (HTTPS).\n\norigin: The sent referrer will be limited to the origin of the referring page: its scheme, host, and port.\n\norigin-when-cross-origin: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n\nsame-origin: A referrer will be sent for same origin, but cross-origin requests will contain no referrer information.\n\nstrict-origin: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS\u2192HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS\u2192HTTP).\n\nstrict-origin-when-cross-origin: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS\u2192HTTPS), and send no header to a less secure destination (e.g. HTTPS\u2192HTTP).\n\nunsafe-url: The referrer will include the origin and the path (but not the fragment, password, or username). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\nNote: An empty string value ("") is both the default value, and a fallback value if referrerpolicy is not supported. If referrerpolicy is not explicitly specified on the <script> element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available,\xa0the empty string is treated as being equivalent to no-referrer-when-downgrade.\n'},{name:"text",description:"Like the textContent attribute, this attribute sets the text content of the element. Unlike the textContent attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM.\n"}]},{name:"noscript",description:"The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed.",attributes:[]},{name:"template",description:"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script.",attributes:[]},{name:"canvas",description:"The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly.",attributes:[{name:"width",description:"The width of the coordinate space in CSS pixels. Defaults to 300."},{name:"height",description:"The height of the coordinate space in CSS pixels. Defaults to 150."},{name:"moz-opaque",description:"Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}]}],zn=[{name:"onabort",description:"The loading of a resource has been aborted."},{name:"onblur",description:"An element has lost focus (does not bubble)."},{name:"oncanplay",description:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."},{name:"oncanplaythrough",description:"The user agent can play the media up to its end without having to stop for further buffering of content."},{name:"onchange",description:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."},{name:"onclick",description:"A pointing device button has been pressed and released on an element."},{name:"oncontextmenu",description:"The right button of the mouse is clicked (before the context menu is displayed)."},{name:"ondblclick",description:"A pointing device button is clicked twice on an element."},{name:"ondrag",description:"An element or text selection is being dragged (every 350ms)."},{name:"ondragend",description:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."},{name:"ondragenter",description:"A dragged element or text selection enters a valid drop target."},{name:"ondragleave",description:"A dragged element or text selection leaves a valid drop target."},{name:"ondragover",description:"An element or text selection is being dragged over a valid drop target (every 350ms)."},{name:"ondragstart",description:"The user starts dragging an element or text selection."},{name:"ondrop",description:"An element is dropped on a valid drop target."},{name:"ondurationchange",description:"The duration attribute has been updated."},{name:"onemptied",description:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."},{name:"onended",description:"Playback has stopped because the end of the media was reached."},{name:"onerror",description:"A resource failed to load."},{name:"onfocus",description:"An element has received focus (does not bubble)."},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:"The value of an element changes or the content of an element with the attribute contenteditable is modified."},{name:"oninvalid",description:"A submittable element has been checked and doesn't satisfy its constraints."},{name:"onkeydown",description:"A key is pressed down."},{name:"onkeypress",description:"A key is pressed down and that key normally produces a character value (use input instead)."},{name:"onkeyup",description:"A key is released."},{name:"onload",description:"A resource and its dependent resources have finished loading."},{name:"onloadeddata",description:"The first frame of the media has finished loading."},{name:"onloadedmetadata",description:"The metadata has been loaded."},{name:"onloadstart",description:"Progress has begun."},{name:"onmousedown",description:"A pointing device button (usually a mouse) is pressed on an element."},{name:"onmousemove",description:"A pointing device is moved over an element."},{name:"onmouseout",description:"A pointing device is moved off the element that has the listener attached or off one of its children."},{name:"onmouseover",description:"A pointing device is moved onto the element that has the listener attached or onto one of its children."},{name:"onmouseup",description:"A pointing device button is released over an element."},{name:"onmousewheel"},{name:"onpause",description:"Playback has been paused."},{name:"onplay",description:"Playback has begun."},{name:"onplaying",description:"Playback is ready to start after having been paused or delayed due to lack of data."},{name:"onprogress",description:"In progress."},{name:"onratechange",description:"The playback rate has changed."},{name:"onreset",description:"A form is reset."},{name:"onresize",description:"The document view has been resized."},{name:"onreadystatechange",description:"The readyState attribute of a document has changed."},{name:"onscroll",description:"The document view or an element has been scrolled."},{name:"onseeked",description:"A seek operation completed."},{name:"onseeking",description:"A seek operation began."},{name:"onselect",description:"Some text is being selected."},{name:"onshow",description:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"},{name:"onstalled",description:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."},{name:"onsubmit",description:"A form is submitted."},{name:"onsuspend",description:"Media data loading has been suspended."},{name:"ontimeupdate",description:"The time indicated by the currentTime attribute has been updated."},{name:"onvolumechange",description:"The volume has changed."},{name:"onwaiting",description:"Playback has stopped because of a temporary lack of data."}];var Bn=[{name:"aria-activedescendant",description:"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.\n"},{name:"aria-atomic",valueSet:"b",description:"Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.\n"},{name:"aria-autocomplete",valueSet:"autocomplete",description:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.\n"},{name:"aria-busy",valueSet:"b",description:"Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.\n"},{name:"aria-checked",valueSet:"tristate",description:'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. See related aria-pressed and aria-selected.\n'},{name:"aria-colcount",description:"Defines the total number of columns in a table, grid, or treegrid. See related aria-colindex.\n"},{name:"aria-colindex",description:"Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See related aria-colcount and aria-colspan.\n"},{name:"aria-colspan",description:"Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-colindex and aria-rowspan.\n"},{name:"aria-controls",description:"Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.\n"},{name:"aria-current",valueSet:"current",description:"Indicates the element that represents the current item within a container or set of related elements.\n"},{name:"aria-describedat"},{name:"aria-describedby",description:"Identifies the element (or elements) that describes the object. See related aria-labelledby.\n"},{name:"aria-disabled",valueSet:"b",description:"Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.\n"},{name:"aria-dropeffect",valueSet:"dropeffect",description:"\\[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.\n"},{name:"aria-errormessage",description:"Identifies the element that provides an error message for the object. See related aria-invalid and aria-describedby.\n"},{name:"aria-expanded",valueSet:"u",description:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.\n"},{name:"aria-flowto",description:"Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.\n"},{name:"aria-grabbed",valueSet:"u",description:'\\[Deprecated in ARIA 1.1] Indicates an element\'s "grabbed" state in a drag-and-drop operation.\n'},{name:"aria-haspopup",valueSet:"b",description:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.\n"},{name:"aria-hidden",valueSet:"b",description:"Indicates whether the element is exposed to an accessibility API. See related aria-disabled.\n"},{name:"aria-invalid",valueSet:"invalid",description:"Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.\n"},{name:"aria-kbdshortcuts"},{name:"aria-label",description:"Defines a string value that labels the current element. See related aria-labelledby.\n"},{name:"aria-labelledby",description:"Identifies the element (or elements) that labels the current element. See related aria-describedby.\n"},{name:"aria-level",description:"Defines the hierarchical level of an element within a structure.\n"},{name:"aria-live",valueSet:"live",description:"Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.\n"},{name:"aria-modal",valueSet:"b",description:"Indicates whether an element is modal when displayed.\n"},{name:"aria-multiline",valueSet:"b",description:"Indicates whether a text box accepts multiple lines of input or only a single line.\n"},{name:"aria-multiselectable",valueSet:"b",description:"Indicates that the user may select more than one item from the current selectable descendants.\n"},{name:"aria-orientation",valueSet:"orientation",description:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.\n"},{name:"aria-owns",description:"Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.\n"},{name:"aria-placeholder",description:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.\n"},{name:"aria-posinset",description:"Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-setsize.\n"},{name:"aria-pressed",valueSet:"tristate",description:'Indicates the current "pressed" state of toggle buttons. See related aria-checked and aria-selected.\n'},{name:"aria-readonly",valueSet:"b",description:"Indicates that the element is not editable, but is otherwise operable. See related aria-disabled.\n"},{name:"aria-relevant",valueSet:"relevant",description:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.\n"},{name:"aria-required",valueSet:"b",description:"Indicates that user input is required on the element before a form may be submitted.\n"},{name:"aria-roledescription",description:"Defines a human-readable, author-localized description for the role of an element.\n"},{name:"aria-rowcount",description:"Defines the total number of rows in a table, grid, or treegrid. See related aria-rowindex.\n"},{name:"aria-rowindex",description:"Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See related aria-rowcount and aria-rowspan.\n"},{name:"aria-rowspan",description:"Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See related aria-rowindex and aria-colspan.\n"},{name:"aria-selected",valueSet:"u",description:'Indicates the current "selected" state of various widgets. See related aria-checked and aria-pressed.\n'},{name:"aria-setsize",description:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related aria-posinset.\n"},{name:"aria-sort",valueSet:"sort",description:"Indicates if items in a table or grid are sorted in ascending or descending order.\n"},{name:"aria-valuemax",description:"Defines the maximum allowed value for a range widget.\n"},{name:"aria-valuemin",description:"Defines the minimum allowed value for a range widget.\n"},{name:"aria-valuenow",description:"Defines the current value for a range widget. See related aria-valuetext.\n"},{name:"aria-valuetext",description:"Defines the human readable text alternative of aria-valuenow for a range widget.\n"},{name:"aria-details",description:"Identifies the element that provides a detailed, extended description for the object. See related aria-describedby.\n"},{name:"aria-keyshortcuts",description:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.\n"}].concat([{name:"accesskey"},{name:"class"},{name:"contenteditable",valueSet:"b"},{name:"contextmenu"},{name:"dir",valueSet:"d"},{name:"draggable",valueSet:"b"},{name:"dropzone"},{name:"hidden",valueSet:"v"},{name:"id"},{name:"itemid"},{name:"itemprop"},{name:"itemref"},{name:"itemscope",valueSet:"v"},{name:"itemtype"},{name:"lang"},{name:"role",valueSet:"roles"},{name:"spellcheck",valueSet:"b"},{name:"style"},{name:"tabindex"},{name:"title"},{name:"translate",valueSet:"y"}]),Vn=[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"GET"},{name:"POST"},{name:"dialog"}]},{name:"fm",values:[{name:"GET"},{name:"POST"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]}],Kn=[new Fn("html5",{version:1,tags:jn,globalAttributes:Bn.concat(zn),valueSets:Vn})],Gn=[];function Yn(){return Kn.concat(Gn)}var Xn=ut(),Qn=function(){function e(){this.completionParticipants=[]}return e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete=function(e,t,n,i){var r={isIncomplete:!1,items:[]},o=this.completionParticipants,a=Yn().filter((function(t){return t.isApplicable(e.languageId)&&(!i||!1!==i[t.getId()])})),s=e.getText(),l=e.offsetAt(t),h=n.findNodeBefore(l);if(!h)return r;var c,u=Lt(s,h.start),d="";function p(t,n){return void 0===n&&(n=l),t>l&&(t=l),{start:e.positionAt(t),end:e.positionAt(n)}}function m(e,t){var n=p(e,t);return a.forEach((function(e){e.provideTags().forEach((function(e){r.items.push({label:e.name,kind:an.Property,documentation:e.description,textEdit:Kt.replace(n,e.name),insertTextFormat:sn.PlainText})}))})),r}function f(e){for(var t=e;t>0;){var n=s.charAt(t-1);if("\n\r".indexOf(n)>=0)return s.substring(t,e);if(!Jn(n))return null;t--}return s.substring(0,e)}function g(e,t,n){void 0===n&&(n=l);var i=p(e,n),o=$n(s,n,at.WithinEndTag,ot.EndTagClose)?"":">",c=h;for(t&&(c=c.parent);c;){var u=c.tag;if(u&&(!c.closed||c.endTagStart&&c.endTagStart>l)){var d={label:"/"+u,kind:an.Property,filterText:"/"+u+o,textEdit:Kt.replace(i,"/"+u+o),insertTextFormat:sn.PlainText},m=f(c.start),g=f(e-1);if(null!==m&&null!==g&&m!==g){var _=m+"</"+u+o;d.textEdit=Kt.replace(p(e-1-g.length),_),d.filterText=g+"</"+u+o}return r.items.push(d),r}c=c.parent}return t||a.forEach((function(e){e.provideTags().forEach((function(e){r.items.push({label:"/"+e.name,kind:an.Property,documentation:e.description,filterText:"/"+e+o,textEdit:Kt.replace(i,"/"+e+o),insertTextFormat:sn.PlainText})}))})),r}function _(t,n){if(i&&i.hideAutoCompleteProposals)return r;if(!Nt(n)){var o=e.positionAt(t);r.items.push({label:"</"+n+">",kind:an.Property,filterText:"</"+n+">",textEdit:Kt.insert(o,"$0</"+n+">"),insertTextFormat:sn.Snippet})}return r}function b(e,t){return m(e,t),g(e,!0,t),r}function v(e,t){void 0===t&&(t=l);for(var i=l;i<t&&"<"!==s[i];)i++;var o=p(e,i),h=$n(s,t,at.AfterAttributeName,ot.DelimiterAssign)?"":'="$1"',c=d.toLowerCase(),u=Object.create(null);return a.forEach((function(e){e.provideAttributes(c).forEach((function(e){if(!u[e.name]){u[e.name]=!0;var t,n=e.name;"v"!==e.valueSet&&h.length&&(n+=h,e.valueSet&&(t={title:"Suggest",command:"editor.action.triggerSuggest"})),r.items.push({label:e.name,kind:"handler"===e.valueSet?an.Function:an.Value,documentation:e.description,textEdit:Kt.replace(o,n),insertTextFormat:sn.Snippet,command:t})}}))})),function(e,t){var i={};i["data-"]='data-$1="$2"',n&&n.roots.forEach((function(e){return function e(n){n.attributeNames.forEach((function(e){!Nn(e,"data-")||i[e]||t[e]||(i[e]=e+'="$1"')})),n.children.forEach((function(t){return e(t)}))}(e)}));Object.keys(i).forEach((function(t){return r.items.push({label:t,kind:an.Value,textEdit:Kt.replace(e,i[t]),insertTextFormat:sn.Snippet})}))}(o,u),r}function y(n,i){var h,u,m,f;if(void 0===i&&(i=l),l>n&&l<=i&&(f=s[n],/^["']*$/.test(f))){var g=n+1,_=i;i>n&&s[i-1]===s[n]&&_--;var b=function(e,t,n){for(;t>n&&!Jn(e[t-1]);)t--;return t}(s,l,g),v=function(e,t,n){for(;t<n&&!Jn(e[t]);)t++;return t}(s,l,_);h=p(b,v),m=l>=g&&l<=_?s.substring(g,l):"",u=!1}else h=p(n,i),m=s.substring(n,l),u=!0;var y=d.toLowerCase(),w=c.toLowerCase();if(o.length>0)for(var T=p(n,i),x=0,k=o;x<k.length;x++){var C=k[x];C.onHtmlAttributeValue&&C.onHtmlAttributeValue({document:e,position:t,tag:y,attribute:w,value:m,range:T})}return a.forEach((function(e){e.provideValues(y,w).forEach((function(e){var t=u?'"'+e.name+'"':e.name;r.items.push({label:e.name,filterText:t,kind:an.Unit,textEdit:Kt.replace(h,t),insertTextFormat:sn.PlainText})}))})),S(),r}function w(e){return l===u.getTokenEnd()&&(k=u.scan())===e&&u.getTokenOffset()===l?u.getTokenEnd():l}function T(){for(var n=0,i=o;n<i.length;n++){var r=i[n];r.onHtmlContent&&r.onHtmlContent({document:e,position:t})}return S()}function S(){for(var e=l-1,n=t.character;e>=0&&Wn(s,e);)e--,n--;if(e>=0&&"&"===s[e]){var i=Mt.create(Ut.create(t.line,n-1),t);for(var o in In)if(Un(o,";")){var a="&"+o;r.items.push({label:a,kind:an.Keyword,documentation:Xn("entity.propose","Character entity representing '"+In[o]+"'"),textEdit:Kt.replace(i,a),insertTextFormat:sn.PlainText})}}return r}function x(e,t){var n=p(e,t);r.items.push({label:"!DOCTYPE",kind:an.Property,documentation:"A preamble for an HTML document.",textEdit:Kt.replace(n,"!DOCTYPE html>"),insertTextFormat:sn.PlainText})}for(var k=u.scan();k!==ot.EOS&&u.getTokenOffset()<=l;){switch(k){case ot.StartTagOpen:if(u.getTokenEnd()===l){var C=w(ot.StartTag);return 0===t.line&&x(l,C),b(l,C)}break;case ot.StartTag:if(u.getTokenOffset()<=l&&l<=u.getTokenEnd())return m(u.getTokenOffset(),u.getTokenEnd());d=u.getTokenText();break;case ot.AttributeName:if(u.getTokenOffset()<=l&&l<=u.getTokenEnd())return v(u.getTokenOffset(),u.getTokenEnd());c=u.getTokenText();break;case ot.DelimiterAssign:if(u.getTokenEnd()===l){C=w(ot.AttributeValue);return y(l,C)}break;case ot.AttributeValue:if(u.getTokenOffset()<=l&&l<=u.getTokenEnd())return y(u.getTokenOffset(),u.getTokenEnd());break;case ot.Whitespace:if(l<=u.getTokenEnd())switch(u.getScannerState()){case at.AfterOpeningStartTag:return b(u.getTokenOffset(),w(ot.StartTag));case at.WithinTag:case at.AfterAttributeName:return v(u.getTokenEnd());case at.BeforeAttributeValue:return y(u.getTokenEnd());case at.AfterOpeningEndTag:return g(u.getTokenOffset()-1,!1);case at.WithinContent:return T()}break;case ot.EndTagOpen:if(l<=u.getTokenEnd())return g(u.getTokenOffset()+1,!1,w(ot.EndTag));break;case ot.EndTag:if(l<=u.getTokenEnd())for(var E=u.getTokenOffset()-1;E>=0;){var L=s.charAt(E);if("/"===L)return g(E,!1,u.getTokenEnd());if(!Jn(L))break;E--}break;case ot.StartTagClose:if(l<=u.getTokenEnd()&&d)return _(u.getTokenEnd(),d);break;case ot.Content:if(l<=u.getTokenEnd())return T();break;default:if(l<=u.getTokenEnd())return r}k=u.scan()}return r},e.prototype.doTagComplete=function(e,t,n){var i=e.offsetAt(t);if(i<=0)return null;var r=e.getText().charAt(i-1);if(">"===r){if((a=n.findNodeBefore(i))&&a.tag&&!Nt(a.tag)&&a.start<i&&(!a.endTagStart||a.endTagStart>i))for(var o=(s=Lt(e.getText(),a.start)).scan();o!==ot.EOS&&s.getTokenEnd()<=i;){if(o===ot.StartTagClose&&s.getTokenEnd()===i)return"$0</"+a.tag+">";o=s.scan()}}else if("/"===r){for(var a=n.findNodeBefore(i);a&&a.closed;)a=a.parent;if(a&&a.tag){var s;for(o=(s=Lt(e.getText(),a.start)).scan();o!==ot.EOS&&s.getTokenEnd()<=i;){if(o===ot.EndTagOpen&&s.getTokenEnd()===i)return a.tag+">";o=s.scan()}}}return null},e}();function Jn(e){return/^\s*$/.test(e)}function $n(e,t,n,i){for(var r=Lt(e,t,n),o=r.scan();o===ot.Whitespace;)o=r.scan();return o===i}function Zn(e,t,n){var i=e.offsetAt(t),r=n.findNodeAt(i);if(!r||!r.tag)return null;var o=Yn().filter((function(t){return t.isApplicable(e.languageId)}));function a(e,t,n){e=e.toLowerCase();for(var i=function(i){var r=null;if(i.provideTags().forEach((function(i){if(i.name.toLowerCase()===e.toLowerCase()){var o=n?"<"+e+">":"</"+e+">",a=i.description||"";r={contents:[{language:"html",value:o},cn.fromPlainText(a)],range:t}}})),r)return{value:r}},r=0,a=o;r<a.length;r++){var s=i(a[r]);if("object"===typeof s)return s.value}return null}function s(t,n){for(var r=Lt(e.getText(),n),o=r.scan();o!==ot.EOS&&(r.getTokenEnd()<i||r.getTokenEnd()===i&&o!==t);)o=r.scan();return o===t&&i<=r.getTokenEnd()?{start:e.positionAt(r.getTokenOffset()),end:e.positionAt(r.getTokenEnd())}:null}if(r.endTagStart&&i>=r.endTagStart){var l=s(ot.EndTag,r.endTagStart);return l?a(r.tag,l,!1):null}var h=s(ot.StartTag,r.start);return h?a(r.tag,h,!0):null}function ei(e,t){return e}const ti=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function o(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()||(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},o.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},o.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=o},,,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char"))}function r(e,t){var n,i={};for(n in e=o(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function o(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(i=n.concat()):"string"===typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"===typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=o,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"===typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},,,,,function(e,t,n){function i(e,t){e="string"===typeof e?e:e.source,t="string"===typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},,function(e,t,n){var i=n(16).Beautifier,r=n(17).Options;e.exports=function(e,t){return new i(e,t).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(17).Options,r=n(2).Output,o=n(8).InputScanner,a=new(0,n(13).Directives)(/\/\*/,/\*\//),s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,h=/\s/,c=/(?:\s|\n)+/g,u=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,d=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function p(e,t){this._source_text=e||"",this._options=new i(t),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}p.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},p.prototype.eatWhitespace=function(e){for(var t=h.test(this._input.peek()),n=!0;h.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return t},p.prototype.foundNestedPseudoClass=function(){for(var e=0,t=1,n=this._input.peek(t);n;){if("{"===n)return!0;if("("===n)e+=1;else if(")"===n){if(0===e)return!1;e-=1}else if(";"===n||"}"===n)return!1;t++,n=this._input.peek(t)}return!1},p.prototype.print_string=function(e){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(e)},p.prototype.preserveSingleSpace=function(e){e&&(this._output.space_before_token=!0)},p.prototype.indent=function(){this._indentLevel++},p.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===t&&(t="\n",e&&s.test(e||"")&&(t=e.match(s)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0];this._output=new r(this._options,n),this._input=new o(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var i,p,m=0,f=!1,g=!1,_=!1,b=!1,v=!1,y=this._ch;i=""!==this._input.read(c),p=y,this._ch=this._input.next(),y=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var w=this._input.read(u),T=a.get_directives(w);T&&"start"===T.ignore&&(w+=a.readIgnored(this._input)),this.print_string(w),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(d)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(i),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var S=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);S.match(/[ :]$/)&&(S=this.eatString(": ").replace(/\s$/,""),this.print_string(S),this._output.space_before_token=!0),"extend"===(S=S.replace(/\s$/,""))?b=!0:"import"===S&&(v=!0),S in this.NESTED_AT_RULE?(this._nestedLevel+=1,S in this.CONDITIONAL_GROUP_RULE&&(_=!0)):f||0!==m||-1===S.indexOf(":")||(g=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(g&&(g=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),_?(_=!1,f=this._indentLevel>this._nestedLevel):f=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&f&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===p&&this._output.trim(!0),v=!1,b=!1,g&&(this.outdent(),g=!1),this.print_string(this._ch),f=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!f&&!_||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||b?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?(g&&(this.outdent(),g=!1),b=!1,v=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?(this._input.back(),m++):this._ch&&this.print_string(this._ch+this.eatString(")"))):(m++,this.preserveSingleSpace(i),this.print_string(this._ch),this.eatWhitespace()):")"===this._ch?(this.print_string(this._ch),m--):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&!g&&m<1&&!v?this._output.add_new_line():this._output.space_before_token=!0):(">"===this._ch||"+"===this._ch||"~"===this._ch)&&!g&&m<1?this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&h.test(this._ch)&&(this._ch="")):"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),h.test(this._ch)&&(this._ch="")):"!"===this._ch?(this.print_string(" "),this.print_string(this._ch)):(this.preserveSingleSpace(i),this.print_string(this._ch));return this._output.get_code(t)},e.exports.Beautifier=p},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t}r.prototype=new i,e.exports.Options=r}]);var ni=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function o(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()||(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},o.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},o.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=o},function(e,t,n){e.exports.Token=function(e,t,n,i){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char"))}function r(e,t){var n,i={};for(n in e=o(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function o(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(i=n.concat()):"string"===typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"===typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=o,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"===typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},function(e,t,n){var i=n(8).InputScanner,r=n(3).Token,o=n(10).TokenStream,a=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(e,t){this._input=new i(e),this._options=t||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};l.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new o,this._reset();for(var t=new r(s.START,""),n=null,i=[],a=new o;t.type!==s.EOF;){for(e=this._get_next_token(t,n);this._is_comment(e);)a.add(e),e=this._get_next_token(t,n);a.isEmpty()||(e.comments_before=a,a=new o),e.parent=n,this._is_opening(e)?(i.push(n),n=e):n&&this._is_closing(e,n)&&(e.opened=n,n.closed=e,n=i.pop(),e.parent=n),e.previous=t,t.next=e,this.__tokens.add(e),t=e}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(e,t){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},l.prototype._is_comment=function(e){return!1},l.prototype._is_opening=function(e){return!1},l.prototype._is_closing=function(e,t){return!1},l.prototype._create_token=function(e,t){return new r(e,t,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=l,e.exports.TOKEN=s},function(e,t,n){function i(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},i.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__tokens_length&&(t=this.__tokens[e]),t},i.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},e.exports.TokenStream=i},function(e,t,n){var i=n(12).Pattern;function r(e,t){i.call(this,e,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new i,r.prototype.__set_whitespace_patterns=function(e,t){e+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+e+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(" "===e)this.whitespace_before_token=" ";else if(e){var t=this.__split(this._newline_regexp,e);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return e},r.prototype.matching=function(e,t){var n=this._create();return n.__set_whitespace_patterns(e,t),n._update(),n},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(e,t){e.lastIndex=0;for(var n=0,i=[],r=e.exec(t);r;)i.push(t.substring(n,r.index)),n=r.index+r[0].length,r=e.exec(t);return n<t.length?i.push(t.substring(n,t.length)):i.push(""),i},e.exports.WhitespacePattern=r},function(e,t,n){function i(e,t){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,t&&(this._starting_pattern=this._input.get_regexp(t._starting_pattern,!0),this._match_pattern=this._input.get_regexp(t._match_pattern,!0),this._until_pattern=this._input.get_regexp(t._until_pattern),this._until_after=t._until_after)}i.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(e){var t=this._create();return t._until_after=!0,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.until=function(e){var t=this._create();return t._until_after=!1,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.starting_with=function(e){var t=this._create();return t._starting_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype.matching=function(e){var t=this._create();return t._match_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},e.exports.Pattern=i},function(e,t,n){function i(e,t){e="string"===typeof e?e:e.source,t="string"===typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},function(e,t,n){var i=n(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1};function o(e,t){i.call(this,e,t),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),t&&(this.__template_pattern=this._input.get_regexp(t.__template_pattern),this._excluded=Object.assign(this._excluded,t._excluded),this._disabled=Object.assign(this._disabled,t._disabled));var n=new i(e);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}o.prototype=new i,o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){this.__set_templated_pattern()},o.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},o.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},o.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},o.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},o.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())));return e},e.exports.TemplatablePattern=o},,,,function(e,t,n){var i=n(19).Beautifier,r=n(20).Options;e.exports=function(e,t,n,r){return new i(e,t,n,r).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(20).Options,r=n(2).Output,o=n(21).Tokenizer,a=n(21).TOKEN,s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,h=function(e,t){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new r(e,t)};h.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},h.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},h.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},h.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},h.prototype.print_preserved_newlines=function(e){var t=0;e.type!==a.TEXT&&e.previous.type!==a.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1);for(var n=0;n<t;n++)this.print_newline(n>0);return 0!==t},h.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines)&&(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),!0)},h.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},h.prototype.print_newline=function(e){this._output.add_new_line(e)},h.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},h.prototype.indent=function(){this.indent_level++},h.prototype.get_full_indent=function(e){return(e=this.indent_level+(e||0))<1?"":this._output.get_indent_string(e)};var c=function(e,t){var n=null,i=null;return t.closed?("script"===e?n="text/javascript":"style"===e&&(n="text/css"),(n=function(e){for(var t=null,n=e.next;n.type!==a.EOF&&e.closed!==n;){if(n.type===a.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===a.EQUALS&&n.next.next&&n.next.next.type===a.VALUE&&(t=n.next.next.text);break}n=n.next}return t}(t)||n).search("text/css")>-1?i="css":n.search(/(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null};function u(e,t){return-1!==t.indexOf(e)}function d(e,t,n){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=n||0,this.parser_token=t||null}function p(e){this._printer=e,this._current_frame=null}function m(e,t,n,r){this._source_text=e||"",t=t||{},this._js_beautify=n,this._css_beautify=r,this._tag_stack=null;var o=new i(t,"html");this._options=o,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}p.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},p.prototype.record_tag=function(e){var t=new d(this._current_frame,e,this._printer.indent_level);this._current_frame=t},p.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},p.prototype._get_frame=function(e,t){for(var n=this._current_frame;n&&-1===e.indexOf(n.tag);){if(t&&-1!==t.indexOf(n.tag)){n=null;break}n=n.parent}return n},p.prototype.try_pop=function(e,t){var n=this._get_frame([e],t);return this._try_pop_frame(n)},p.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},m.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&s.test(e)&&(t=e.match(s)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0],i={text:"",type:""},r=new f,c=new h(this._options,n),u=new o(e,this._options).tokenize();this._tag_stack=new p(c);for(var d=null,m=u.next();m.type!==a.EOF;)m.type===a.TAG_OPEN||m.type===a.COMMENT?r=d=this._handle_tag_open(c,m,r,i):m.type===a.ATTRIBUTE||m.type===a.EQUALS||m.type===a.VALUE||m.type===a.TEXT&&!r.tag_complete?d=this._handle_inside_tag(c,m,r,u):m.type===a.TAG_CLOSE?d=this._handle_tag_close(c,m,r):m.type===a.TEXT?d=this._handle_text(c,m,r):c.add_raw_token(m),i=d,m=u.next();return c._output.get_code(t)},m.prototype._handle_tag_close=function(e,t,n){var i={text:t.text,type:t.type};return e.alignment_size=0,n.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted?e.add_raw_token(t):("<"===n.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(e.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||e.set_wrap_point(),i},m.prototype._handle_inside_tag=function(e,t,n,i){var r=n.has_wrapped_attrs,o={text:t.text,type:t.type};if(e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted)e.add_raw_token(t);else if("{"===n.tag_start_char&&t.type===a.TEXT)e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t);else{if(t.type===a.ATTRIBUTE?(e.set_space_before_token(!0),n.attr_count+=1):(t.type===a.EQUALS||t.type===a.VALUE&&t.previous.type===a.EQUALS)&&e.set_space_before_token(!1),t.type===a.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),r=r||0!==t.newlines),this._is_wrap_attributes_force)){var s=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var l,h=!0,c=0;do{if((l=i.peek(c)).type===a.ATTRIBUTE){h=!1;break}c+=1}while(c<4&&l.type!==a.EOF&&l.type!==a.TAG_CLOSE);s=!h}s&&(e.print_newline(!1),r=!0)}e.print_token(t),r=r||e.previous_token_wrapped(),n.has_wrapped_attrs=r}return o},m.prototype._handle_text=function(e,t,n){var i={text:t.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(e,t,n):n.is_unformatted||n.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),i},m.prototype._print_custom_beatifier_text=function(e,t,n){var i=this;if(""!==t.text){e.print_newline(!1);var r,o=t.text,a=1;"javascript"===n.custom_beautifier_name&&"function"===typeof this._js_beautify?r=this._js_beautify:"css"===n.custom_beautifier_name&&"function"===typeof this._css_beautify?r=this._css_beautify:"html"===n.custom_beautifier_name&&(r=function(e,t){return new m(e,t,i._js_beautify,i._css_beautify).beautify()}),"keep"===this._options.indent_scripts?a=0:"separate"===this._options.indent_scripts&&(a=-e.indent_level);var s=e.get_full_indent(a);if(o=o.replace(/\n[ \t]*$/,""),r){var l=function(){this.eol="\n"};l.prototype=this._options.raw_options,o=r(s+o,new l)}else{var h=t.whitespace_before;h&&(o=o.replace(new RegExp("\n("+h+")?","g"),"\n")),o=s+o.replace(/\n/g,"\n"+s)}o&&(t.text=o,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},m.prototype._handle_tag_open=function(e,t,n,i){var r=this._get_tag_open_token(t);return(n.is_unformatted||n.is_content_unformatted)&&t.type===a.TAG_OPEN&&0===t.text.indexOf("</")?e.add_raw_token(t):(e.traverse_whitespace(t),this._set_tag_position(e,t,r,n,i),r.is_inline_element||e.set_wrap_point(),e.print_token(t)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(r.alignment_size=t.text.length+1),r.tag_complete||r.is_unformatted||(e.alignment_size=r.alignment_size),r};var f=function(e,t){var n;(this.parent=e||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",t)?(this.tag_start_char=t.text[0],this.text=t.text,"<"===this.tag_start_char?(n=t.text.match(/^<([^\s>]*)/),this.tag_check=n?n[1]:""):(n=t.text.match(/^{{[#\^]?([^\s}]+)/),this.tag_check=n?n[1]:""),this.tag_check=this.tag_check.toLowerCase(),t.type===a.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||t.closed&&"/>"===t.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};m.prototype._get_tag_open_token=function(e){var t=new f(this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||u(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&u(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&u(t.tag_check,this._options.content_unformatted),t.is_inline_element=u(t.tag_name,this._options.inline)||"{"===t.tag_start_char,t},m.prototype._set_tag_position=function(e,t,n,i,r){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1))),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=c(n.tag_check,t)))),u(n.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check)this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0,e.current_line_has_match(/{{#if/)||e.print_newline(!1);"!--"===n.tag_name&&r.type===a.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||n.is_inline_element||n.is_unformatted||e.print_newline(!1)}else n.is_unformatted||n.is_content_unformatted?n.is_inline_element||n.is_unformatted||e.print_newline(!1):n.is_end_tag?(n.start_tag_token&&n.start_tag_token.multiline_content||!(n.is_inline_element||i.is_inline_element||r.type===a.TAG_CLOSE&&n.start_tag_token===i||"TK_CONTENT"===r.type))&&e.print_newline(!1):(n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||"TK_CONTENT"===r.type||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1)))},m.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent)return"body"===e.tag_name?t=t||this._tag_stack.try_pop("head"):"li"===e.tag_name?t=t||this._tag_stack.try_pop("li",["ol","ul"]):"dd"===e.tag_name||"dt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]):"rp"===e.tag_name||"rt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===e.tag_name||"tfoot"===e.tag_name?t=(t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===e.tag_name?t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==e.tag_name&&"td"!==e.tag_name||(t=(t=t||this._tag_stack.try_pop("td",["tr"]))||this._tag_stack.try_pop("th",["tr"])),e.parent=this._tag_stack.get_parser_token(),t},e.exports.Beautifier=m},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"html"),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}r.prototype=new i,e.exports.Options=r},function(e,t,n){var i=n(9).Tokenizer,r=n(9).TOKEN,o=n(13).Directives,a=n(14).TemplatablePattern,s=n(12).Pattern,l={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},h=new o(/<\!--/,/-->/),c=function(e,t){i.call(this,e,t),this._current_tag_name="";var n=new a(this._input),r=new s(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =\/>]/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:r.starting_with(/{{!--/).until_after(/--}}/),handlebars:r.starting_with(/{{/).until_after(/}}/),handlebars_open:r.until(/[\n\r\t }]/),handlebars_raw_close:r.until(/}}/),comment:r.starting_with(/<!--/).until_after(/-->/),cdata:r.starting_with(/<!\[cdata\[/).until_after(/]]>/),conditional_comment:r.starting_with(/<!\[/).until_after(/]>/),processing:r.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var o=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=r.matching(o).until_after(o)}};(c.prototype=new i)._is_comment=function(e){return!1},c.prototype._is_opening=function(e){return e.type===l.TAG_OPEN},c.prototype._is_closing=function(e,t){return e.type===l.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])},c.prototype._reset=function(){this._current_tag_name=""},c.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(l.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=n||this._read_open_handlebars(i,t))||this._read_attribute(i,e,t))||this._read_raw_content(e,t))||this._read_close(i,t))||this._read_content_word(i))||this._read_comment(i))||this._read_open(i,t))||this._create_token(l.UNKNOWN,this._input.next())},c.prototype._read_comment=function(e){var t=null,n=null,i=null;if("<"===e){var r=this._input.peek(1);"<"!==e||"!"!==r&&"?"!==r||((n=this.__patterns.comment.read())?(i=h.get_directives(n))&&"start"===i.ignore&&(n+=h.readIgnored(this._input)):n=(n=(n=this.__patterns.cdata.read())||this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=i)}return t},c.prototype._read_open=function(e,t){var n=null,i=null;return t||"<"===e&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(l.TAG_OPEN,n)),i},c.prototype._read_open_handlebars=function(e,t){var n=null,i=null;return t||this._options.indent_handlebars&&"{"===e&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),i=this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(l.TAG_OPEN,n))),i},c.prototype._read_close=function(e,t){var n=null,i=null;return t&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(n=this._input.next(),"/"===e&&(n+=this._input.next()),i=this._create_token(l.TAG_CLOSE,n)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(l.TAG_CLOSE,"}}"))),i},c.prototype._read_attribute=function(e,t,n){var i=null,r="";if(n&&"<"===n.text[0])if("="===e)i=this._create_token(l.EQUALS,this._input.next());else if('"'===e||"'"===e){var o=this._input.next();o+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(l.VALUE,o)}else(r=this.__patterns.attribute.read())&&(i=t.type===l.EQUALS?this._create_token(l.VALUE,r):this._create_token(l.ATTRIBUTE,r));return i},c.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&("script"===e||"style"===e||-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},c.prototype._read_raw_content=function(e,t){var n="";if(t&&"{"===t.text[0])n=this.__patterns.handlebars_raw_close.read();else if(e.type===l.TAG_CLOSE&&"<"===e.opened.text[0]){var i=e.opened.text.substr(1).toLowerCase();this._is_content_unformatted(i)&&(n=this._input.readUntil(new RegExp("</"+i+"[\\n\\r\\t ]*?>","ig")))}return n?this._create_token(l.TEXT,n):null},c.prototype._read_content_word=function(e){var t="";if(this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(t=this.__patterns.unformatted_content_delimiter.read()),t||(t=this.__patterns.word.read()),t)return this._create_token(l.TEXT,t)},e.exports.Tokenizer=c,e.exports.TOKEN=l}]);function ii(e,t,n){var i=e.getText(),r=!0,o=0,a=n.tabSize||4;if(t){for(var s=e.offsetAt(t.start),l=s;l>0&&si(i,l-1);)l--;0===l||ai(i,l-1)?s=l:l<s&&(s=l+1);for(var h=e.offsetAt(t.end),c=h;c<i.length&&si(i,c);)c++;(c===i.length||ai(i,c))&&(h=c),t=Mt.create(e.positionAt(s),e.positionAt(h));var u=i.substring(0,s);if(new RegExp(/.*[<][^>]*$/).test(u))return[{range:t,newText:i=i.substring(s,h)}];if(r=h===i.length,i=i.substring(s,h),0!==s){var d=e.offsetAt(Ut.create(t.start.line,0));o=function(e,t,n){var i=t,r=0,o=n.tabSize||4;for(;i<e.length;){var a=e.charAt(i);if(" "===a)r++;else{if("\t"!==a)break;r+=o}i++}return Math.floor(r/o)}(e.getText(),d,n)}}else t=Mt.create(Ut.create(0,0),e.positionAt(i.length));var p={indent_size:a,indent_char:n.insertSpaces?" ":"\t",wrap_line_length:ri(n,"wrapLineLength",120),unformatted:oi(n,"unformatted",void 0),content_unformatted:oi(n,"contentUnformatted",void 0),indent_inner_html:ri(n,"indentInnerHtml",!1),preserve_newlines:ri(n,"preserveNewLines",!0),max_preserve_newlines:ri(n,"maxPreserveNewLines",32786),indent_handlebars:ri(n,"indentHandlebars",!1),end_with_newline:r&&ri(n,"endWithNewline",!1),extra_liners:oi(n,"extraLiners",void 0),wrap_attributes:ri(n,"wrapAttributes","auto"),wrap_attributes_indent_size:ri(n,"wrapAttributesIndentSize",void 0),eol:"\n"},m=function(e,t){return ni(e,t,ei,ti)}(i.replace(/^\s+/,""),p);if(o>0){var f=n.insertSpaces?Mn(" ",a*o):Mn("\t",o);m=m.split("\n").join("\n"+f),0===t.start.character&&(m=f+m)}return[{range:t,newText:m}]}function ri(e,t,n){if(e&&e.hasOwnProperty(t)){var i=e[t];if(null!==i)return i}return n}function oi(e,t,n){var i=ri(e,t,null);return"string"===typeof i?i.length>0?i.split(",").map((function(e){return e.trim().toLowerCase()})):[]:n}function ai(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}function si(e,t){return-1!==" \t".indexOf(e.charAt(t))}var li=n(3);function hi(e,t){var n=e[0];return n!==e[e.length-1]||"'"!==n&&'"'!==n||(e=e.substr(1,e.length-2)),e}function ci(e,t,n,i,r,o){var a=hi(n,e.languageId);if(!function(e,t){if(!e.length)return!1;if("handlebars"===t&&/{{.*}}/.test(e))return!1;try{return!!li.a.parse(e)}catch(n){return!1}}(a,e.languageId))return null;a.length<n.length&&(i++,r--);var s=function(e,t,n,i){return/^\s*javascript\:/i.test(t)||/^\s*\#/i.test(t)||/[\n\r]/.test(t)?null:(t=t.replace(/^\s*/g,""),/^https?:\/\//i.test(t)||/^file:\/\//i.test(t)?t:/^\/\//i.test(t)?(Nn(e,"https://")?"https":"http")+":"+t.replace(/^\s*/g,""):n?n.resolveReference(t,i||e):t)}(e.uri,a,t,o);return s&&function(e){try{return li.a.parse(e),!0}catch(t){return!1}}(s)?{range:Mt.create(e.positionAt(i),e.positionAt(r)),target:s}:null}function ui(e,t){for(var n=[],i=Lt(e.getText(),0),r=i.scan(),o=!1,a=!1,s=void 0;r!==ot.EOS;){switch(r){case ot.StartTag:if(!s)a="base"===i.getTokenText().toLowerCase();break;case ot.AttributeName:var l=i.getTokenText().toLowerCase();o="src"===l||"href"===l;break;case ot.AttributeValue:if(o){var h=i.getTokenText();if(!a){var c=ci(e,t,h,i.getTokenOffset(),i.getTokenEnd(),s);c&&n.push(c)}a&&"undefined"===typeof s&&(s=hi(h,e.languageId))&&t&&(s=t.resolveReference(s,e.uri)),a=!1,o=!1}}r=i.scan()}return n}function di(e,t,n){var i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag)return[];var o=[],a=fi(ot.StartTag,e,r.start),s="number"===typeof r.endTagStart&&fi(ot.EndTag,e,r.endTagStart);return(a&&mi(a,t)||s&&mi(s,t))&&(a&&o.push({kind:mn.Read,range:a}),s&&o.push({kind:mn.Read,range:s})),o}function pi(e,t){return e.line<t.line||e.line===t.line&&e.character<=t.character}function mi(e,t){return pi(e.start,t)&&pi(t,e.end)}function fi(e,t,n){for(var i=Lt(t.getText(),n),r=i.scan();r!==ot.EOS&&r!==e;)r=i.scan();return r!==ot.EOS?{start:t.positionAt(i.getTokenOffset()),end:t.positionAt(i.getTokenEnd())}:null}function gi(e,t){var n=[];return t.roots.forEach((function(t){!function e(t,n,i,r){var o=function(e){var t=e.tag;if(e.attributes){var n=e.attributes.id,i=e.attributes.class;n&&(t+="#"+n.replace(/[\"\']/g,"")),i&&(t+=i.replace(/[\"\']/g,"").split(/\s+/).map((function(e){return"."+e})).join(""))}return t||"?"}(n),a=Pt.create(t.uri,Mt.create(t.positionAt(n.start),t.positionAt(n.end))),s={name:o,location:a,containerName:i,kind:gn.Field};r.push(s),n.children.forEach((function(n){e(t,n,o,r)}))}(e,t,"",n)})),n}function _i(e,t){var n=Lt(e.getText()),i=n.scan(),r=[],o=[],a=null,s=-1;function l(e){r.push(e),s=e.startLine}for(;i!==ot.EOS;){switch(i){case ot.StartTag:var h=n.getTokenText(),c=e.positionAt(n.getTokenOffset()).line;o.push({startLine:c,tagName:h}),a=h;break;case ot.EndTag:a=n.getTokenText();break;case ot.StartTagClose:if(!a||!Nt(a))break;case ot.EndTagClose:case ot.StartTagSelfClose:for(var u=o.length-1;u>=0&&o[u].tagName!==a;)u--;if(u>=0){var d=o[u];o.length=u,(m=e.positionAt(n.getTokenOffset()).line-1)>(c=d.startLine)&&s!==c&&l({startLine:c,endLine:m})}break;case ot.Comment:c=e.positionAt(n.getTokenOffset()).line;var p=n.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(p)if(p[1])o.push({startLine:c,tagName:""});else{for(u=o.length-1;u>=0&&o[u].tagName.length;)u--;if(u>=0){var m;d=o[u];o.length=u,(m=c)>(c=d.startLine)&&s!==c&&l({startLine:c,endLine:m,kind:Wt.Region})}}else c<(m=e.positionAt(n.getTokenOffset()+n.getTokenLength()).line)&&l({startLine:c,endLine:m,kind:Wt.Comment})}i=n.scan()}var f=t&&t.rangeLimit||Number.MAX_VALUE;return r.length>f?function(e,t){e=e.sort((function(e,t){var n=e.startLine-t.startLine;return 0===n&&(n=e.endLine-t.endLine),n}));for(var n=void 0,i=[],r=[],o=[],a=function(e,t){r[e]=t,t<30&&(o[t]=(o[t]||0)+1)},s=0;s<e.length;s++){var l=e[s];if(n){if(l.startLine>n.startLine)if(l.endLine<=n.endLine)i.push(n),n=l,a(s,i.length);else if(l.startLine>n.endLine){do{n=i.pop()}while(n&&l.startLine>n.endLine);n&&i.push(n),n=l,a(s,i.length)}}else n=l,a(s,0)}var h=0,c=0;for(s=0;s<o.length;s++){var u=o[s];if(u){if(u+h>t){c=s;break}h+=u}}var d=[];for(s=0;s<e.length;s++){var p=r[s];"number"===typeof p&&(p<c||p===c&&h++<t)&&d.push(e[s])}return d}(r,f):r}function bi(e,t){return t.map((function(t){var n=function(e,t){var n=Zt(e.getText()),i=e.offsetAt(t),r=n.findNodeAt(i),o=function(e){var t=e,n=[];for(;t.parent;)t=t.parent,(i=t,i.startTagEnd&&i.endTagStart&&i.startTagEnd<i.endTagStart?[[i.startTagEnd,i.endTagStart],[i.start,i.end]]:[[i.start,i.end]]).forEach((function(e){return n.push(e)}));var i;return n}(r);if(r.startTagEnd&&!r.endTagStart){var a=Mt.create(e.positionAt(r.startTagEnd-2),e.positionAt(r.startTagEnd));"/>"===e.getText(a)?o.unshift([r.start+1,r.startTagEnd-2]):o.unshift([r.start+1,r.startTagEnd-1]);var s=vi(e,r,i);return o=s.concat(o)}if(!r.startTagEnd||!r.endTagStart)return o;if(o.unshift([r.start,r.end]),r.start<i&&i<r.startTagEnd){o.unshift([r.start+1,r.startTagEnd-1]);s=vi(e,r,i);return o=s.concat(o)}return r.startTagEnd<=i&&i<=r.endTagStart?(o.unshift([r.startTagEnd,r.endTagStart]),o):(i>=r.endTagStart+2&&o.unshift([r.endTagStart+2,r.end-1]),o)}(e,t);return n.filter((function(e,t){if(0===t)return!0;var i=n[t-1];return e[0]!==i[0]||e[1]!==i[1]})).map((function(t){return{range:Mt.create(e.positionAt(t[0]),e.positionAt(t[1])),kind:rt.Declaration}}))}))}function vi(e,t,n){for(var i=Mt.create(e.positionAt(t.start),e.positionAt(t.end)),r=e.getText(i),o=n-t.start,a=Lt(r),s=a.scan(),l=t.start,h=[],c=!1,u=-1;s!==ot.EOS;){switch(s){case ot.AttributeName:if(o<a.getTokenOffset()){c=!1;break}o<=a.getTokenEnd()&&h.unshift([a.getTokenOffset(),a.getTokenEnd()]),c=!0,u=a.getTokenOffset();break;case ot.AttributeValue:if(!c)break;var d=a.getTokenText();if(o<a.getTokenOffset()){h.push([u,a.getTokenEnd()]);break}o>=a.getTokenOffset()&&o<=a.getTokenEnd()&&(h.unshift([a.getTokenOffset(),a.getTokenEnd()]),('"'===d[0]&&'"'===d[d.length-1]||"'"===d[0]&&"'"===d[d.length-1])&&o>=a.getTokenOffset()+1&&o<=a.getTokenEnd()-1&&h.unshift([a.getTokenOffset()+1,a.getTokenEnd()-1]),h.push([u,a.getTokenEnd()]))}s=a.scan()}return h.map((function(e){return[e[0]+l,e[1]+l]}))}function yi(e){var t=new Qn;return e&&e.customDataProviders&&e.customDataProviders.forEach((function(e){Gn.push(e)})),{createScanner:Lt,parseHTMLDocument:function(e){return Zt(e.getText())},doComplete:t.doComplete.bind(t),setCompletionParticipants:t.setCompletionParticipants.bind(t),doHover:Zn,format:ii,findDocumentHighlights:di,findDocumentLinks:ui,findDocumentSymbols:gi,getFoldingRanges:_i,getSelectionRanges:bi,doTagComplete:t.doTagComplete.bind(t)}}"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null!==e)for(var n=1;n<arguments.length;n++){var i=arguments[n];if(i)for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},writable:!0,configurable:!0});var wi=function(){function e(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=yi()}return e.prototype.doValidation=function(e){return Promise.resolve([])},e.prototype.doComplete=function(e,t){var n=this._getTextDocument(e),i=this._languageService.parseHTMLDocument(n);return Promise.resolve(this._languageService.doComplete(n,t,i,this._languageSettings&&this._languageSettings.suggest))},e.prototype.format=function(e,t,n){var i=this._getTextDocument(e),r=this._languageService.format(i,t,this._languageSettings&&this._languageSettings.format);return Promise.resolve(r)},e.prototype.doHover=function(e,t){var n=this._getTextDocument(e),i=this._languageService.parseHTMLDocument(n),r=this._languageService.doHover(n,t,i);return Promise.resolve(r)},e.prototype.findDocumentHighlights=function(e,t){var n=this._getTextDocument(e),i=this._languageService.parseHTMLDocument(n),r=this._languageService.findDocumentHighlights(n,t,i);return Promise.resolve(r)},e.prototype.findDocumentLinks=function(e){var t=this._getTextDocument(e),n=this._languageService.findDocumentLinks(t,null);return Promise.resolve(n)},e.prototype.findDocumentSymbols=function(e){var t=this._getTextDocument(e),n=this._languageService.parseHTMLDocument(t),i=this._languageService.findDocumentSymbols(t,n);return Promise.resolve(i)},e.prototype.provideFoldingRanges=function(e,t){var n=this._getTextDocument(e),i=this._languageService.getFoldingRanges(n,t);return Promise.resolve(i)},e.prototype._getTextDocument=function(e){for(var t=0,n=this._ctx.getMirrorModels();t<n.length;t++){var i=n[t];if(i.uri.toString()===e)return Cn.create(e,this._languageId,i.version,i.getValue())}return null},e}();self.onmessage=function(){lt((function(e,t){return new wi(e,t)}))}}]); \ No newline at end of file diff --git a/0.1/playground/index.html b/0.1/playground/index.html new file mode 100644 index 000000000..229879871 --- /dev/null +++ b/0.1/playground/index.html @@ -0,0 +1 @@ +<!doctype html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>oasis-playground
    \ No newline at end of file diff --git a/0.1/playground/json.worker.js b/0.1/playground/json.worker.js new file mode 100644 index 000000000..9585900e9 --- /dev/null +++ b/0.1/playground/json.worker.js @@ -0,0 +1 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/0.1/playground/",n(n.s=7)}([function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return g}));var i=!1,o=!1,s=!1,a=!1,u=!1,c="undefined"!==typeof e&&"undefined"!==typeof e.versions&&"undefined"!==typeof e.versions.electron&&"renderer"===e.type;if("object"!==typeof navigator||c){if("object"===typeof e){i="win32"===e.platform,o="darwin"===e.platform,s="linux"===e.platform,"en","en";var l=e.env.VSCODE_NLS_CONFIG;if(l)try{var f=JSON.parse(l),h=f.availableLanguages["*"];f.locale,h||"en",f._translationsConfigFile}catch(v){}a=!0}}else{var d=navigator.userAgent;i=d.indexOf("Windows")>=0,o=d.indexOf("Macintosh")>=0,s=d.indexOf("Linux")>=0,u=!0,navigator.language}var p=i,m=u,g="object"===typeof self?self:"object"===typeof r?r:{}}).call(this,n(3),n(2))},function(e,t,n){"use strict";(function(e){var n,r=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();if("object"===typeof e)n="win32"===e.platform;else if("object"===typeof navigator){var i=navigator.userAgent;n=i.indexOf("Windows")>=0}var o=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;var u="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,l=function(){function e(e,t,n,r,i){"object"===typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=e||"",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==u&&(t=u+t):t=u}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e){if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this))}return e.isUri=function(t){return t instanceof e||!!t&&("string"===typeof t.authority&&"string"===typeof t.fragment&&"string"===typeof t.path&&"string"===typeof t.query&&"string"===typeof t.scheme)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return g(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new h(t,n,r,i,o)},e.parse=function(e){var t=c.exec(e);return t?new h(t[2]||"",decodeURIComponent(t[4]||""),decodeURIComponent(t[5]||""),decodeURIComponent(t[7]||""),decodeURIComponent(t[9]||"")):new h("","","","","")},e.file=function(e){var t="";if(n&&(e=e.replace(/\\/g,u)),e[0]===u&&e[1]===u){var r=e.indexOf(u,2);-1===r?(t=e.substring(2),e=u):(t=e.substring(2,r),e=e.substring(r)||u)}return new h("file",t,e,"","")},e.from=function(e){return new h(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),v(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new h(t);return n._fsPath=t.fsPath,n._formatted=t.external,n}return t},e}();t.a=l;var f,h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return r(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=g(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(l),d=((f={})[58]="%3A",f[47]="%2F",f[63]="%3F",f[35]="%23",f[91]="%5B",f[93]="%5D",f[64]="%40",f[33]="%21",f[36]="%24",f[38]="%26",f[39]="%27",f[40]="%28",f[41]="%29",f[42]="%2A",f[43]="%2B",f[44]="%2C",f[59]="%3B",f[61]="%3D",f[32]="%20",f);function p(e,t){for(var n=void 0,r=-1,i=0;i=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var s=d[o];void 0!==s?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=s):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function m(e){for(var t=void 0,n=0;n1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,n&&(t=t.replace(/\//g,"\\")),t}function v(e,t){var n=t?m:p,r="",i=e.scheme,o=e.authority,s=e.path,a=e.query,c=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=u,r+=u),o){var l=o.indexOf("@");if(-1!==l){var f=o.substr(0,l);o=o.substr(l+1),-1===(l=f.indexOf(":"))?r+=n(f,!1):(r+=n(f.substr(0,l),!1),r+=":",r+=n(f.substr(l+1),!1)),r+="@"}-1===(l=(o=o.toLowerCase()).indexOf(":"))?r+=n(o,!1):(r+=n(o.substr(0,l),!1),r+=o.substr(l))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(h=s.charCodeAt(1))>=65&&h<=90&&(s="/"+String.fromCharCode(h+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var h;(h=s.charCodeAt(0))>=65&&h<=90&&(s=String.fromCharCode(h+32)+":"+s.substr(2))}r+=n(s,!0)}return a&&(r+="?",r+=n(a,!1)),c&&(r+="#",r+=t?c:p(c,!1)),r}}).call(this,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u,c=[],l=!1,f=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=a(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f1)for(var n=1;n=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(6),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(2))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i=1,o={},s=!1,a=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){l(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"===typeof n.data&&0===n.data.indexOf(t)&&l(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),r=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){l(e.data)},r=function(t){e.port2.postMessage(t)}}():a&&"onreadystatechange"in a.createElement("script")?function(){var e=a.documentElement;r=function(t){var n=a.createElement("script");n.onreadystatechange=function(){l(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():r=function(e){setTimeout(l,0,e)},u.setImmediate=function(e){"function"!==typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;nr?e[u]=o[a++]:a>i?e[u]=o[s++]:t(o[a],o[s])<0?e[u]=o[a++]:e[u]=o[s++]}(t,n,r,s,i,o)}(e,t,0,e.length-1,[]),e}var g=function(){function e(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}();function v(e){return{getLength:function(){return e.length},getElementAtIndex:function(t){return e.charCodeAt(t)}}}function y(e,t,n){return new E(v(e),v(t)).ComputeDiff(n)}var b,_=function(){function e(){}return e.Assert=function(e,t){if(!e)throw new Error(t)},e}(),C=function(){function e(){}return e.Copy=function(e,t,n,r,i){for(var o=0;o0||this.m_modifiedCount>0)&&this.m_changes.push(new g(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE},e.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),E=function(){function e(e,t,n){void 0===n&&(n=null),this.OriginalSequence=e,this.ModifiedSequence=t,this.ContinueProcessingPredicate=n,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e.prototype.ElementsAreEqual=function(e,t){return this.OriginalSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(t)},e.prototype.OriginalElementsAreEqual=function(e,t){return this.OriginalSequence.getElementAtIndex(e)===this.OriginalSequence.getElementAtIndex(t)},e.prototype.ModifiedElementsAreEqual=function(e,t){return this.ModifiedSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(t)},e.prototype.ComputeDiff=function(e){return this._ComputeDiff(0,this.OriginalSequence.getLength()-1,0,this.ModifiedSequence.getLength()-1,e)},e.prototype._ComputeDiff=function(e,t,n,r,i){var o=this.ComputeDiffRecursive(e,t,n,r,[!1]);return i?this.PrettifyChanges(o):o},e.prototype.ComputeDiffRecursive=function(e,t,n,r,i){for(i[0]=!1;e<=t&&n<=r&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){var o=void 0;return n<=r?(_.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new g(e,0,n,r-n+1)]):e<=t?(_.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[new g(e,t-e+1,n,0)]):(_.Assert(e===t+1,"originalStart should only be one more than originalEnd"),_.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}var s=[0],a=[0],u=this.ComputeRecursionPoint(e,t,n,r,s,a,i),c=s[0],l=a[0];if(null!==u)return u;if(!i[0]){var f=this.ComputeDiffRecursive(e,c,n,l,i),h=[];return h=i[0]?[new g(c+1,t-(c+1)+1,l+1,r-(l+1)+1)]:this.ComputeDiffRecursive(c+1,t,l+1,r,i),this.ConcatenateChanges(f,h)}return[new g(e,t-e+1,n,r-n+1)]},e.prototype.WALKTRACE=function(e,t,n,r,i,o,s,a,u,c,l,f,h,d,p,m,v,y){var b,_,C=null,E=new S,x=t,N=n,A=h[0]-m[0]-r,L=Number.MIN_VALUE,w=this.m_forwardHistory.length-1;do{(_=A+e)===x||_=0&&(e=(u=this.m_forwardHistory[w])[0],x=1,N=u.length-1)}while(--w>=-1);if(b=E.getReverseChanges(),y[0]){var T=h[0]+1,k=m[0]+1;if(null!==b&&b.length>0){var O=b[b.length-1];T=Math.max(T,O.getOriginalEnd()),k=Math.max(k,O.getModifiedEnd())}C=[new g(T,f-T+1,k,p-k+1)]}else{E=new S,x=o,N=s,A=h[0]-m[0]-a,L=Number.MAX_VALUE,w=v?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{(_=A+i)===x||_=c[_+1]?(d=(l=c[_+1]-1)-A-a,l>L&&E.MarkNextChange(),L=l+1,E.AddOriginalElement(l+1,d+1),A=_+1-i):(d=(l=c[_-1])-A-a,l>L&&E.MarkNextChange(),L=l,E.AddModifiedElement(l+1,d+1),A=_-1-i),w>=0&&(i=(c=this.m_reverseHistory[w])[0],x=1,N=c.length-1)}while(--w>=-1);C=E.getChanges()}return this.ConcatenateChanges(b,C)},e.prototype.ComputeRecursionPoint=function(e,t,n,r,i,o,s){var a,u=0,c=0,l=0,f=0,h=0,d=0;e--,n--,i[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var p,m,v=t-e+(r-n),y=v+1,b=new Array(y),_=new Array(y),S=r-n,E=t-e,x=e-n,N=t-r,A=(E-S)%2===0;for(b[S]=e,_[E]=t,s[0]=!1,a=1;a<=v/2+1;a++){var L=0,w=0;for(l=this.ClipDiagonalBound(S-a,a,S,y),f=this.ClipDiagonalBound(S+a,a,S,y),p=l;p<=f;p+=2){for(c=(u=p===l||pL+w&&(L=u,w=c),!A&&Math.abs(p-E)<=a-1&&u>=_[p])return i[0]=u,o[0]=c,m<=_[p]&&a<=1448?this.WALKTRACE(S,l,f,x,E,h,d,N,b,_,u,t,i,c,r,o,A,s):null}var T=(L-e+(w-n)-a)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(L,this.OriginalSequence,T))return s[0]=!0,i[0]=L,o[0]=w,T>0&&a<=1448?this.WALKTRACE(S,l,f,x,E,h,d,N,b,_,u,t,i,c,r,o,A,s):(e++,n++,[new g(e,t-e+1,n,r-n+1)]);for(h=this.ClipDiagonalBound(E-a,a,E,y),d=this.ClipDiagonalBound(E+a,a,E,y),p=h;p<=d;p+=2){for(c=(u=p===h||p=_[p+1]?_[p+1]-1:_[p-1])-(p-E)-N,m=u;u>e&&c>n&&this.ElementsAreEqual(u,c);)u--,c--;if(_[p]=u,A&&Math.abs(p-S)<=a&&u<=b[p])return i[0]=u,o[0]=c,m>=b[p]&&a<=1448?this.WALKTRACE(S,l,f,x,E,h,d,N,b,_,u,t,i,c,r,o,A,s):null}if(a<=1447){var k=new Array(f-l+2);k[0]=S-l+1,C.Copy(b,l,k,1,f-l+1),this.m_forwardHistory.push(k),(k=new Array(d-h+2))[0]=E-h+1,C.Copy(_,h,k,1,d-h+1),this.m_reverseHistory.push(k)}}return this.WALKTRACE(S,l,f,x,E,h,d,N,b,_,u,t,i,c,r,o,A,s)},e.prototype.PrettifyChanges=function(e){for(var t=0;t0,s=n.modifiedLength>0;n.originalStart+n.originalLength=0;t--){n=e[t],r=0,i=0;if(t>0){var u=e[t-1];u.originalLength>0&&(r=u.originalStart+u.originalLength),u.modifiedLength>0&&(i=u.modifiedStart+u.modifiedLength)}o=n.originalLength>0,s=n.modifiedLength>0;for(var c=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),f=1;;f++){var h=n.originalStart-f,d=n.modifiedStart-f;if(hl&&(l=p,c=f)}n.originalStart-=c,n.modifiedStart-=c}return e},e.prototype._OriginalIsBoundary=function(e){if(e<=0||e>=this.OriginalSequence.getLength()-1)return!0;var t=this.OriginalSequence.getElementAtIndex(e);return"string"===typeof t&&/^\s*$/.test(t)},e.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){if(e<=0||e>=this.ModifiedSequence.getLength()-1)return!0;var t=this.ModifiedSequence.getElementAtIndex(e);return"string"===typeof t&&/^\s*$/.test(t)},e.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)},e.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var r=new Array(e.length+t.length-1);return C.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],C.Copy(t,1,r,e.length,t.length-1),r}r=new Array(e.length+t.length);return C.Copy(e,0,r,0,e.length),C.Copy(t,0,r,e.length,t.length),r},e.prototype.ChangesOverlap=function(e,t,n){if(_.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),_.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var r=e.originalStart,i=e.originalLength,o=e.modifiedStart,s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new g(r,i,o,s),!0}return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,t,n,r){if(e>=0&&e=n?N:{done:!1,value:e[t++]}}}},e.from=function(t){return t?Array.isArray(t)?e.fromArray(t):t:e.empty()},e.map=function(e,t){return{next:function(){var n=e.next();return n.done?N:{done:!1,value:t(n.value)}}}},e.filter=function(e,t){return{next:function(){for(;;){var n=e.next();if(n.done)return N;if(t(n.value))return{done:!1,value:n.value}}}}},e.forEach=n,e.collect=function(e){var t=[];return n(e,(function(e){return t.push(e)})),t}}(b||(b={}));(function(e){function t(t,n,r,i){return void 0===n&&(n=0),void 0===r&&(r=t.length),void 0===i&&(i=n-1),e.call(this,t,n,r,i)||this}x(t,e),t.prototype.current=function(){return e.prototype.current.call(this)},t.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},t.prototype.first=function(){return this.index=this.start,this.current()},t.prototype.last=function(){return this.index=this.end-1,this.current()},t.prototype.parent=function(){return null}})(function(){function e(e,t,n,r){void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===r&&(r=t-1),this.items=e,this.start=t,this.end=n,this.index=r}return e.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},e.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},e}()),function(){function e(e,t){this.iterator=e,this.fn=t}e.prototype.next=function(){return this.fn(this.iterator.next())}}();var A,L=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=/^\w[\w\d+.-]*$/,T=/^\//,k=/^\/\//;var O="",I="/",P=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,M=function(){function e(e,t,n,r,i,o){void 0===o&&(o=!1),"object"===typeof e?(this.scheme=e.scheme||O,this.authority=e.authority||O,this.path=e.path||O,this.query=e.query||O,this.fragment=e.fragment||O):(this.scheme=e||O,this.authority=t||O,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==I&&(t=I+t):t=I}return t}(this.scheme,n||O),this.query=r||O,this.fragment=i||O,function(e,t){if(!e.scheme)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!w.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!T.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(k.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this))}return e.isUri=function(t){return t instanceof e||!!t&&("string"===typeof t.authority&&"string"===typeof t.fragment&&"string"===typeof t.path&&"string"===typeof t.query&&"string"===typeof t.scheme&&"function"===typeof t.fsPath&&"function"===typeof t.with&&"function"===typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return U(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=O),void 0===n?n=this.authority:null===n&&(n=O),void 0===r?r=this.path:null===r&&(r=O),void 0===i?i=this.query:null===i&&(i=O),void 0===o?o=this.fragment:null===o&&(o=O),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new R(t,n,r,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=P.exec(e);return n?new R(n[2]||O,decodeURIComponent(n[4]||O),decodeURIComponent(n[5]||O),decodeURIComponent(n[7]||O),decodeURIComponent(n[9]||O),t):new R(O,O,O,O,O)},e.file=function(e){var t=O;if(l.c&&(e=e.replace(/\\/g,I)),e[0]===I&&e[1]===I){var n=e.indexOf(I,2);-1===n?(t=e.substring(2),e=I):(t=e.substring(2,n),e=e.substring(n)||I)}return new R("file",t,e,O,O)},e.from=function(e){return new R(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),D(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new R(t);return n._fsPath=t.fsPath,n._formatted=t.external,n}return t},e}(),R=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return L(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=U(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?D(this,!0):(this._formatted||(this._formatted=D(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(M),j=((A={})[58]="%3A",A[47]="%2F",A[63]="%3F",A[35]="%23",A[91]="%5B",A[93]="%5D",A[64]="%40",A[33]="%21",A[36]="%24",A[38]="%26",A[39]="%27",A[40]="%28",A[41]="%29",A[42]="%2A",A[43]="%2B",A[44]="%2C",A[59]="%3B",A[61]="%3D",A[32]="%20",A);function F(e,t){for(var n=void 0,r=-1,i=0;i=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var s=j[o];void 0!==s?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=s):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function V(e){for(var t=void 0,n=0;n1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,l.c&&(t=t.replace(/\//g,"\\")),t}function D(e,t){var n=t?V:F,r="",i=e.scheme,o=e.authority,s=e.path,a=e.query,u=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=I,r+=I),o){var c=o.indexOf("@");if(-1!==c){var l=o.substr(0,c);o=o.substr(c+1),-1===(c=l.indexOf(":"))?r+=n(l,!1):(r+=n(l.substr(0,c),!1),r+=":",r+=n(l.substr(c+1),!1)),r+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?r+=n(o,!1):(r+=n(o.substr(0,c),!1),r+=o.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(f=s.charCodeAt(1))>=65&&f<=90&&(s="/"+String.fromCharCode(f+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var f;(f=s.charCodeAt(0))>=65&&f<=90&&(s=String.fromCharCode(f+32)+":"+s.substr(2))}r+=n(s,!0)}return a&&(r+="?",r+=n(a,!1)),u&&(r+="#",r+=t?u:F(u,!1)),r}var q=function(){function e(e,t){this.lineNumber=e,this.column=t}return e.prototype.with=function(t,n){return void 0===t&&(t=this.lineNumber),void 0===n&&(n=this.column),t===this.lineNumber&&n===this.column?this:new e(t,n)},e.prototype.delta=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=0),this.with(this.lineNumber+e,this.column+t)},e.prototype.equals=function(t){return e.equals(this,t)},e.equals=function(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column},e.prototype.isBefore=function(t){return e.isBefore(this,t)},e.isBefore=function(e,t){return e.lineNumbern||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},e.prototype.containsPosition=function(t){return e.containsPosition(this,t)},e.containsPosition=function(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.columne.endColumn))},e.prototype.containsRange=function(t){return e.containsRange(this,t)},e.containsRange=function(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)))},e.prototype.plusRange=function(t){return e.plusRange(this,t)},e.plusRange=function(t,n){var r,i,o,s;return n.startLineNumbert.endLineNumber?(o=n.endLineNumber,s=n.endColumn):n.endLineNumber===t.endLineNumber?(o=n.endLineNumber,s=Math.max(n.endColumn,t.endColumn)):(o=t.endLineNumber,s=t.endColumn),new e(r,i,o,s)},e.prototype.intersectRanges=function(t){return e.intersectRanges(this,t)},e.intersectRanges=function(t,n){var r=t.startLineNumber,i=t.startColumn,o=t.endLineNumber,s=t.endColumn,a=n.startLineNumber,u=n.startColumn,c=n.endLineNumber,l=n.endColumn;return rc?(o=c,s=l):o===c&&(s=Math.min(s,l)),r>o||r===o&&i>s?null:new e(r,i,o,s)},e.prototype.equalsRange=function(t){return e.equalsRange(this,t)},e.equalsRange=function(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn},e.prototype.getEndPosition=function(){return new q(this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new q(this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(t,n){return new e(this.startLineNumber,this.startColumn,t,n)},e.prototype.setStartPosition=function(t,n){return new e(t,n,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)},e.fromPositions=function(t,n){return void 0===n&&(n=t),new e(t.lineNumber,t.column,n.lineNumber,n.column)},e.lift=function(t){return t?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null},e.isIRange=function(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn},e.areIntersectingOrTouching=function(e,t){return!(e.endLineNumbere.startLineNumber},e}();String.fromCharCode(65279);function W(e,t,n,r){return new E(e,t,n).ComputeDiff(r)}var B=function(){function e(t){for(var n=[],r=[],i=0,o=t.length;i=0;n--){var r=e.charCodeAt(n);if(32!==r&&9!==r)return n}return-1}(e);return-1===n?t:n+2},e.prototype.getCharSequence=function(e,t,n){for(var r=[],i=[],o=[],s=0,a=t;a<=n;a++)for(var u=this._lines[a],c=e?this._startColumns[a]:1,l=e?this._endColumns[a]:u.length+1,f=c;f1&&p>1;){if(f.charCodeAt(d-2)!==h.charCodeAt(p-2))break;d--,p--}(d>1||p>1)&&this._pushTrimWhitespaceCharChange(i,o+1,1,d,s+1,1,p);for(var m=B._getLastNonBlankColumn(f,1),g=B._getLastNonBlankColumn(h,1),v=f.length+1,y=h.length+1;m255?255:0|e}function Q(e){return e<0?0:e>4294967295?4294967295:0|e}var X=function(e,t){this.index=e,this.remainder=t},Z=function(){function e(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return e.prototype.getCount=function(){return this.values.length},e.prototype.insertValues=function(e,t){e=Q(e);var n=this.values,r=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+i),this.values.set(t,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(e,t){return e=Q(e),t=Q(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;var i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(e){return e<0?0:(e=Q(e),this._getAccumulatedValue(e))},e.prototype._getAccumulatedValue=function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(var n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]},e.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();for(var t=0,n=this.values.length-1,r=0,i=0,o=0;t<=n;)if(r=t+(n-t)/2|0,e<(o=(i=this.prefixSum[r])-this.values[r]))n=r-1;else{if(!(e>=i))break;t=r+1}return new X(r,e-o)},e}(),ee=(function(){function e(e){this._cacheAccumulatedValueStart=0,this._cache=null,this._actual=new Z(e),this._bustCache()}e.prototype._bustCache=function(){this._cacheAccumulatedValueStart=0,this._cache=null},e.prototype.insertValues=function(e,t){this._actual.insertValues(e,t)&&this._bustCache()},e.prototype.changeValue=function(e,t){this._actual.changeValue(e,t)&&this._bustCache()},e.prototype.removeValues=function(e,t){this._actual.removeValues(e,t)&&this._bustCache()},e.prototype.getTotalValue=function(){return this._actual.getTotalValue()},e.prototype.getAccumulatedValue=function(e){return this._actual.getAccumulatedValue(e)},e.prototype.getIndexOf=function(e){if(e=Math.floor(e),null!==this._cache){var t=e-this._cacheAccumulatedValueStart;if(t>=0&&t/?".length;n++){var r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"[n];e.indexOf(r)>=0||(t+="\\"+r)}return t+="\\s]+)",new RegExp(t,"g")}();var ne=function(){function e(t){var n=J(t);this._defaultValue=n,this._asciiMap=e._createAsciiMap(n),this._map=new Map}return e._createAsciiMap=function(e){for(var t=new Uint8Array(256),n=0;n<256;n++)t[n]=e;return t},e.prototype.set=function(e,t){var n=J(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)},e.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue},e}(),re=(function(){function e(){this._actual=new ne(0)}e.prototype.add=function(e){this._actual.set(e,1)},e.prototype.has=function(e){return 1===this._actual.get(e)}}(),function(){function e(e){for(var t=0,n=0,r=0,i=e.length;rt&&(t=c),s>n&&(n=s),(l=o[2])>n&&(n=l)}t++,n++;var a=new G(n,t,0);for(r=0,i=e.length;r=this._maxCharCode?0:this._states.get(e,t)},e}()),ie=null;var oe=null;var se=function(){function e(){}return e._createLink=function(e,t,n,r,i){var o=i-1;do{var s=t.charCodeAt(o);if(2!==e.get(s))break;o--}while(o>r);if(r>0){var a=t.charCodeAt(r-1),u=t.charCodeAt(o);(40===a&&41===u||91===a&&93===u||123===a&&125===u)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}},e.computeLinks=function(t,n){void 0===n&&(null===ie&&(ie=new re([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),n=ie);for(var r=function(){if(null===oe){oe=new ne(0);for(var e=0;e<" \t<>'\"\u3001\u3002\uff61\uff64\uff0c\uff0e\uff1a\uff1b\uff1f\uff01\uff20\uff03\uff04\uff05\uff06\uff0a\u2018\u201c\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b\uff62\uff63\uff5d\uff3d\uff09\u3015\u3011\u300f\u300d\u300b\u3009\u201d\u2019\uff40\uff5e\u2026".length;e++)oe.set(" \t<>'\"\u3001\u3002\uff61\uff64\uff0c\uff0e\uff1a\uff1b\uff1f\uff01\uff20\uff03\uff04\uff05\uff06\uff0a\u2018\u201c\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b\uff62\uff63\uff5d\uff3d\uff09\u3015\u3011\u300f\u300d\u300b\u3009\u201d\u2019\uff40\uff5e\u2026".charCodeAt(e),1);for(e=0;e<".,;".length;e++)oe.set(".,;".charCodeAt(e),2)}return oe}(),i=[],o=1,s=t.getLineCount();o<=s;o++){for(var a=t.getLineContent(o),u=a.length,c=0,l=0,f=0,h=1,d=!1,p=!1,m=!1;c=0?((r+=n?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null},e.INSTANCE=new e,e}();n(4);var ue,ce=function(){function e(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),le=function(){function e(){this._first=ce.Undefined,this._last=ce.Undefined,this._size=0}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this._first===ce.Undefined},e.prototype.clear=function(){this._first=ce.Undefined,this._last=ce.Undefined,this._size=0},e.prototype.unshift=function(e){return this._insert(e,!1)},e.prototype.push=function(e){return this._insert(e,!0)},e.prototype._insert=function(e,t){var n=this,r=new ce(e);if(this._first===ce.Undefined)this._first=r,this._last=r;else if(t){var i=this._last;this._last=r,r.prev=i,i.next=r}else{var o=this._first;this._first=r,r.next=o,o.prev=r}this._size+=1;var s=!1;return function(){s||(s=!0,n._remove(r))}},e.prototype.shift=function(){if(this._first!==ce.Undefined){var e=this._first.element;return this._remove(this._first),e}},e.prototype._remove=function(e){if(e.prev!==ce.Undefined&&e.next!==ce.Undefined){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===ce.Undefined&&e.next===ce.Undefined?(this._first=ce.Undefined,this._last=ce.Undefined):e.next===ce.Undefined?(this._last=this._last.prev,this._last.next=ce.Undefined):e.prev===ce.Undefined&&(this._first=this._first.next,this._first.prev=ce.Undefined);this._size-=1},e.prototype.iterator=function(){var e,t=this._first;return{next:function(){return t===ce.Undefined?N:(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e)}}},e.prototype.toArray=function(){for(var e=[],t=this._first;t!==ce.Undefined;t=t.next)e.push(t.element);return e},e}(),fe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();!function(e){var t={dispose:function(){}};function n(e){return function(t,n,r){void 0===n&&(n=null);var i,o=!1;return i=e((function(e){if(!o)return i?i.dispose():o=!0,t.call(n,e)}),null,r),o&&i.dispose(),i}}function r(e,t){return a((function(n,r,i){return void 0===r&&(r=null),e((function(e){return n.call(r,t(e))}),null,i)}))}function i(e,t){return a((function(n,r,i){return void 0===r&&(r=null),e((function(e){t(e),n.call(r,e)}),null,i)}))}function o(e,t){return a((function(n,r,i){return void 0===r&&(r=null),e((function(e){return t(e)&&n.call(r,e)}),null,i)}))}function s(e,t,n){var i=n;return r(e,(function(e){return i=t(i,e)}))}function a(e){var t,n=new pe({onFirstListenerAdd:function(){t=e(n.fire,n)},onLastListenerRemove:function(){t.dispose()}});return n.event}function c(e){var t,n=!0;return o(e,(function(e){var r=n||e!==t;return n=!1,t=e,r}))}e.None=function(){return t},e.once=n,e.map=r,e.forEach=i,e.filter=o,e.signal=function(e){return e},e.any=function(){for(var e=[],t=0;t1)&&c.fire(e),u=0}),n)}))},onLastListenerRemove:function(){o.dispose()}});return c.event},e.stopwatch=function(e){var t=(new Date).getTime();return r(n(e),(function(e){return(new Date).getTime()-t}))},e.latch=c,e.buffer=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=[]);var r=n.slice(),i=e((function(e){r?r.push(e):s.fire(e)})),o=function(){r&&r.forEach((function(e){return s.fire(e)})),r=null},s=new pe({onFirstListenerAdd:function(){i||(i=e((function(e){return s.fire(e)})))},onFirstListenerDidAdd:function(){r&&(t?setTimeout(o):o())},onLastListenerRemove:function(){i&&i.dispose(),i=null}});return s.event};var l=function(){function e(e){this.event=e}return e.prototype.map=function(t){return new e(r(this.event,t))},e.prototype.forEach=function(t){return new e(i(this.event,t))},e.prototype.filter=function(t){return new e(o(this.event,t))},e.prototype.reduce=function(t,n){return new e(s(this.event,t,n))},e.prototype.latch=function(){return new e(c(this.event))},e.prototype.on=function(e,t,n){return this.event(e,t,n)},e.prototype.once=function(e,t,r){return n(this.event)(e,t,r)},e}();e.chain=function(e){return new l(e)},e.fromNodeEventEmitter=function(e,t,n){void 0===n&&(n=function(e){return e});var r=function(){for(var e=[],t=0;t0;){var r=this._deliveryQueue.shift(),o=r[0],s=r[1];try{"function"===typeof o?o.call(void 0,s):o[0].call(o[1],s)}catch(n){i(n)}}}},e.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},e._noop=function(){},e}(),me=(function(e){function t(t){var n=e.call(this,t)||this;return n._isPaused=0,n._eventQueue=new le,n._mergeFn=t&&t.merge,n}fe(t,e),t.prototype.pause=function(){this._isPaused++},t.prototype.resume=function(){if(0!==this._isPaused&&0===--this._isPaused)if(this._mergeFn){var t=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(t))}else for(;!this._isPaused&&0!==this._eventQueue.size;)e.prototype.fire.call(this,this._eventQueue.shift())},t.prototype.fire=function(t){this._listeners&&(0!==this._isPaused?this._eventQueue.push(t):e.prototype.fire.call(this,t))}}(pe),function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new pe({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var t=this,n={event:e,listener:null};this.events.push(n),this.hasListeners&&this.hook(n);return function(e){return{dispose:function(){e()}}}(function(e){var t,n=this,r=!1;return function(){return r?t:(r=!0,t=e.apply(n,arguments))}}((function(){t.hasListeners&&t.unhook(n);var e=t.events.indexOf(n);t.events.splice(e,1)})))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach((function(t){return e.hook(t)}))},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach((function(t){return e.unhook(t)}))},e.prototype.hook=function(e){var t=this;e.listener=e.event((function(e){return t.emitter.fire(e)}))},e.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()}}(),function(){function e(){this.buffers=[]}e.prototype.wrapEvent=function(e){var t=this;return function(n,r,i){return e((function(e){var i=t.buffers[t.buffers.length-1];i?i.push((function(){return n.call(r,e)})):n.call(r,e)}),void 0,i)}},e.prototype.bufferEvents=function(e){var t=[];this.buffers.push(t);var n=e();return this.buffers.pop(),t.forEach((function(e){return e()})),n}}(),function(){function e(){var e=this;this.listening=!1,this.inputEvent=ue.None,this.inputEventListener=c.None,this.emitter=new pe({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}Object.defineProperty(e.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()}}(),Object.freeze((function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}})));(de=he||(he={})).isCancellationToken=function(e){return e===de.None||e===de.Cancelled||e instanceof ve||!(!e||"object"!==typeof e)&&"boolean"===typeof e.isCancellationRequested&&"function"===typeof e.onCancellationRequested},de.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:ue.None}),de.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:me});var ge,ve=function(){function e(){this._isCancelled=!1,this._emitter=null}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?me:(this._emitter||(this._emitter=new pe),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),ye=function(){function e(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new ve),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof ve&&this._token.cancel():this._token=he.Cancelled},e.prototype.dispose=function(){this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof ve&&this._token.dispose():this._token=he.None},e}(),be=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),_e=new be,Ce=new be,Se=new be;!function(){function e(e,t,n,r){void 0===n&&(n=t),void 0===r&&(r=n),_e.define(e,t),Ce.define(e,n),Se.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return _e.keyCodeToStr(e)},e.fromString=function(e){return _e.strToKeyCode(e)},e.toUserSettingsUS=function(e){return Ce.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return Se.keyCodeToStr(e)},e.fromUserSettings=function(e){return Ce.strToKeyCode(e)||Se.strToKeyCode(e)}}(ge||(ge={}));!function(){function e(e,t,n,r,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=i}e.prototype.equals=function(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.toChord=function(){return new Je([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}();var Ee,xe,Ne,Ae,Le,we,Te,ke,Oe,Ie,Pe,Me,Re,je,Fe,Ve,Ue,De,qe,Ke,We,Be,$e,Ye,He,ze,Ge,Je=function(){function e(e){if(0===e.length)throw(t="parts")?new Error("Illegal argument: "+t):new Error("Illegal argument");var t;this.parts=e}return e.prototype.equals=function(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(var t=0;t "+this.positionLineNumber+","+this.positionColumn+"]"},t.prototype.equalsSelection=function(e){return t.selectionsEqual(this,e)},t.selectionsEqual=function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn},t.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},t.prototype.setEndPosition=function(e,n){return 0===this.getDirection()?new t(this.startLineNumber,this.startColumn,e,n):new t(e,n,this.startLineNumber,this.startColumn)},t.prototype.getPosition=function(){return new q(this.positionLineNumber,this.positionColumn)},t.prototype.setStartPosition=function(e,n){return 0===this.getDirection()?new t(e,n,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,e,n)},t.fromPositions=function(e,n){return void 0===n&&(n=e),new t(e.lineNumber,e.column,n.lineNumber,n.column)},t.liftSelection=function(e){return new t(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},t.selectionsArrEqual=function(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n>>0)>>>0}(e,t)},e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256,e}();var tt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return tt(t,e),Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){return this.getText()},t.prototype.getLinesContent=function(){return this._lines.slice(0)},t.prototype.getLineCount=function(){return this._lines.length},t.prototype.getLineContent=function(e){return this._lines[e-1]},t.prototype.getWordAtPosition=function(e,t){var n=function(e,t,n,r){t.lastIndex=0;var i=t.exec(n);if(!i)return null;var o=i[0].indexOf(" ")>=0?function(e,t,n,r){var i,o=e-1-r;for(t.lastIndex=0;i=t.exec(n);){var s=i.index||0;if(s>o)return null;if(t.lastIndex>=o)return{word:i[0],startColumn:r+1+s,endColumn:r+1+t.lastIndex}}return null}(e,t,n,r):function(e,t,n,r){var i,o=e-1-r,s=n.lastIndexOf(" ",o-1)+1;for(t.lastIndex=s;i=t.exec(n);){var a=i.index||0;if(a<=o&&t.lastIndex>=o)return{word:i[0],startColumn:r+1+a,endColumn:r+1+t.lastIndex}}return null}(e,t,n,r);return t.lastIndex=0,o}(e.column,function(e){var t=te;if(e&&e instanceof RegExp)if(e.global)t=e;else{var n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}(t),this._lines[e.lineNumber-1],0);return n?new K(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null},t.prototype.getWordUntilPosition=function(e,t){var n=this.getWordAtPosition(e,t);return n?{word:this._lines[e.lineNumber-1].substring(n.startColumn-1,e.column-1),startColumn:n.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}},t.prototype.createWordIterator=function(e){var t,n,r=this,i=0,o=0,s=[],a=function(){if(o=r._lines.length?N:(n=r._lines[i],s=r._wordenize(n,e),o=0,i+=1,a())};return{next:a}},t.prototype.getLineWords=function(e,t){for(var n=this._lines[e-1],r=[],i=0,o=this._wordenize(n,t);ithis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{var i=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>i&&(n=i,r=!0)}return r?{lineNumber:t,column:n}:e},t}(ee),rt=function(e){function t(t){var n=e.call(this,t)||this;return n._models=Object.create(null),n}return tt(t,e),t.prototype.dispose=function(){this._models=Object.create(null)},t.prototype._getModel=function(e){return this._models[e]},t.prototype._getModels=function(){var e=this,t=[];return Object.keys(this._models).forEach((function(n){return t.push(e._models[n])})),t},t.prototype.acceptNewModel=function(e){this._models[e.url]=new nt(M.parse(e.url),e.lines,e.EOL,e.versionId)},t.prototype.acceptModelChanged=function(e,t){this._models[e]&&this._models[e].onEvents(t)},t.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},t}(function(){function e(e){this._foreignModuleFactory=e,this._foreignModule=null}return e.prototype.computeDiff=function(e,t,n){var r=this._getModel(e),i=this._getModel(t);if(!r||!i)return Promise.resolve(null);var o=r.getLinesContent(),s=i.getLinesContent(),a=new z(o,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0}).computeDiff(),u=!(a.length>0)&&this._modelsAreIdentical(r,i);return Promise.resolve({identical:u,changes:a})},e.prototype._modelsAreIdentical=function(e,t){var n=e.getLineCount();if(n!==t.getLineCount())return!1;for(var r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0},e.prototype.computeMoreMinimalEdits=function(t,n){var r=this._getModel(t);if(!r)return Promise.resolve(n);for(var i=[],o=void 0,s=0,a=n=m(n,(function(e,t){return e.range&&t.range?K.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)}));se._diffLimit)i.push({range:c,text:l});else for(var d=y(h,l,!1),p=r.offsetAt(K.lift(c).getStartPosition()),g=0,v=d;g0&&(i.arguments=n),i},e.is=function(e){var t=e;return Zt.defined(t)&&Zt.string(t.title)&&Zt.string(t.command)}}(vt||(vt={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return Zt.objectLiteral(t)&&Zt.string(t.newText)&&ot.is(t.range)}}(yt||(yt={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return Zt.defined(t)&&Lt.is(t.textDocument)&&Array.isArray(t.edits)}}(bt||(bt={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&Zt.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||Zt.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Zt.boolean(t.options.ignoreIfExists)))}}(_t||(_t={})),function(e){e.create=function(e,t,n){var r={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(r.options=n),r},e.is=function(e){var t=e;return t&&"rename"===t.kind&&Zt.string(t.oldUri)&&Zt.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||Zt.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Zt.boolean(t.options.ignoreIfExists)))}}(Ct||(Ct={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&Zt.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||Zt.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||Zt.boolean(t.options.ignoreIfNotExists)))}}(St||(St={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return Zt.string(e.kind)?_t.is(e)||Ct.is(e)||St.is(e):bt.is(e)})))}}(Et||(Et={}));var At,Lt,wt,Tt,kt,Ot,It,Pt,Mt,Rt,jt,Ft,Vt,Ut,Dt,qt,Kt,Wt=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(yt.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(yt.replace(e,t))},e.prototype.delete=function(e){this.edits.push(yt.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(bt.is(e)){var n=new Wt(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new Wt(e.changes[n]);t._textEditChanges[n]=r})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(Lt.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new Wt(i),this._textEditChanges[t.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new Wt(i),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(_t.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(Ct.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(St.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return Zt.defined(t)&&Zt.string(t.uri)}}(At||(At={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return Zt.defined(t)&&Zt.string(t.uri)&&(null===t.version||Zt.number(t.version))}}(Lt||(Lt={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return Zt.defined(t)&&Zt.string(t.uri)&&Zt.string(t.languageId)&&Zt.number(t.version)&&Zt.string(t.text)}}(wt||(wt={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(Tt||(Tt={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(Tt||(Tt={})),function(e){e.is=function(e){var t=e;return Zt.objectLiteral(e)&&Tt.is(t.kind)&&Zt.string(t.value)}}(kt||(kt={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(Ot||(Ot={})),function(e){e.PlainText=1,e.Snippet=2}(It||(It={})),function(e){e.create=function(e){return{label:e}}}(Pt||(Pt={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(Mt||(Mt={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return Zt.string(t)||Zt.objectLiteral(t)&&Zt.string(t.language)&&Zt.string(t.value)}}(Rt||(Rt={})),function(e){e.is=function(e){var t=e;return!!t&&Zt.objectLiteral(t)&&(kt.is(t.contents)||Rt.is(t.contents)||Zt.typedArray(t.contents,Rt.is))&&(void 0===e.range||ot.is(e.range))}}(jt||(jt={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(Ft||(Ft={})),function(e){e.create=function(e,t){for(var n=[],r=2;r=0;o--){var s=r[o],a=e.offsetAt(s.range.start),u=e.offsetAt(s.range.end);if(!(u<=i))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(u,n.length),i=a}return n}}(Qt||(Qt={})),function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3}(Xt||(Xt={}));var Zt,en,tn=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=null}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=null},e.prototype.getLineOffsets=function(){if(null===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return it.create(0,e);for(;ne?r=i:n=i+1}var o=n-1;return it.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1=48&&s<=57)o=16*o+s-48;else if(s>=65&&s<=70)o=16*o+s-65+10;else{if(!(s>=97&&s<=102))break;o=16*o+s-97+10}n++,i++}return i=r)return o=r,s=17;var t=e.charCodeAt(n);if(rn(t)){do{n++,i+=String.fromCharCode(t),t=e.charCodeAt(n)}while(rn(t));return s=15}if(on(t))return n++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(n)&&(n++,i+="\n"),s=14;switch(t){case 123:return n++,s=1;case 125:return n++,s=2;case 91:return n++,s=3;case 93:return n++,s=4;case 58:return n++,s=6;case 44:return n++,s=5;case 34:return n++,i=function(){for(var t="",i=n;;){if(n>=r){t+=e.substring(i,n),a=2;break}var o=e.charCodeAt(n);if(34===o){t+=e.substring(i,n),n++;break}if(92!==o){if(o>=0&&o<=31){if(on(o)){t+=e.substring(i,n),a=2;break}a=6}n++}else{if(t+=e.substring(i,n),++n>=r){a=2;break}switch(o=e.charCodeAt(n++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var s=u(4,!0);s>=0?t+=String.fromCharCode(s):a=4;break;default:a=5}i=n}}return t}(),s=10;case 47:var c=n-1;if(47===e.charCodeAt(n+1)){for(n+=2;n=12&&e<=15);return e}:c,getToken:function(){return s},getTokenValue:function(){return i},getTokenOffset:function(){return o},getTokenLength:function(){return n-o},getTokenError:function(){return a}}}function rn(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function on(e){return 10===e||13===e||8232===e||8233===e}function sn(e){return e>=48&&e<=57}function an(e,t,n){var r,i,o,s,a;if(t){for(s=t.offset,a=s+t.length,o=s;o>0&&!cn(e,o-1);)o--;for(var u=a;us&&e.substring(n,r)!==t&&v.push({offset:n,length:r-n,content:t})}var b=g();if(17!==b){var _=d.getTokenOffset()+o;y(un(c,r),o,_)}for(;17!==b;){for(var C=d.getTokenOffset()+d.getTokenLength()+o,S=g(),E="";!f&&(12===S||13===S);){y(" ",C,d.getTokenOffset()+o),C=d.getTokenOffset()+d.getTokenLength()+o,E=12===S?m():"",S=g()}if(2===S)1!==b&&(h--,E=m());else if(4===S)3!==b&&(h--,E=m());else{switch(b){case 3:case 1:h++,E=m();break;case 5:case 12:E=m();break;case 13:E=f?m():" ";break;case 6:E=" ";break;case 10:if(6===S){E="";break}case 7:case 8:case 9:case 11:case 2:case 4:12===S||13===S?E=" ":5!==S&&17!==S&&(p=!0);break;case 16:p=!0}!f||12!==S&&13!==S||(E=m())}y(E,C,d.getTokenOffset()+o),b=S}return v}function un(e,t){for(var n="",r=0;r0)for(var i=r.getToken();17!==i;){if(-1!==t.indexOf(i)){v();break}if(-1!==n.indexOf(i))break;i=v()}}function b(e){var t=r.getTokenValue();return e?f(t):a(t),v(),!0}function _(){switch(r.getToken()){case 3:return function(){c(),v();for(var e=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(e||y(4,[],[]),h(","),v(),4===r.getToken()&&g)break}else e&&y(6,[],[]);_()||y(4,[],[4,5]),e=!0}return l(),4!==r.getToken()?y(8,[4],[]):v(),!0}();case 1:return function(){s(),v();for(var e=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(e||y(4,[],[]),h(","),v(),2===r.getToken()&&g)break}else e&&y(6,[],[]);(10!==r.getToken()?(y(3,[],[2,5]),0):(b(!1),6===r.getToken()?(h(":"),v(),_()||y(4,[],[2,5])):y(5,[],[2,5]),1))||y(4,[],[2,5]),e=!0}return u(),2!==r.getToken()?y(7,[2],[]):v(),!0}();case 10:return b(!0);default:return function(){switch(r.getToken()){case 11:var e=0;try{"number"!==typeof(e=JSON.parse(r.getTokenValue()))&&(y(2),e=0)}catch(t){y(2)}f(e);break;case 7:f(null);break;case 8:f(!0);break;case 9:f(!1);break;default:return!1}return v(),!0}()}}return v(),17===r.getToken()||(_()?(17!==r.getToken()&&y(9,[],[]),!0):(y(4,[],[]),!1))}!function(e){var t=Object.prototype.toString;e.defined=function(e){return"undefined"!==typeof e},e.undefined=function(e){return"undefined"===typeof e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"===typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(Zt||(Zt={})),function(e){e.DEFAULT={allowTrailingComma:!1}}(en||(en={}));var fn,hn,dn,pn=nn,mn=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=en.DEFAULT);var r=null,i=[],o=[];function s(e){Array.isArray(i)?i.push(e):r&&(i[r]=e)}return ln(e,{onObjectBegin:function(){var e={};s(e),o.push(i),i=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){i=o.pop()},onArrayBegin:function(){var e=[];s(e),o.push(i),i=e,r=null},onArrayEnd:function(){i=o.pop()},onLiteralValue:s,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),i[0]},gn=function e(t,n,r){if(void 0===r&&(r=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,In=function(){function e(e,t,n){this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),Pn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="null",r.value=null,r}return wn(t,e),t}(In),Mn=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.type="boolean",i.value=n,i}return wn(t,e),t}(In),Rn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="array",r.items=[],r}return wn(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!0,configurable:!0}),t}(In),jn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="number",r.isInteger=!0,r.value=Number.NaN,r}return wn(t,e),t}(In),Fn=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="string",i.value="",i}return wn(t,e),t}(In),Vn=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="property",r.colonOffset=-1,r}return wn(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!0,configurable:!0}),t}(In),Un=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="object",r.properties=[],r}return wn(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!0,configurable:!0}),t}(In);function Dn(e){return Sn(e)?e?{}:{not:{}}:e}!function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"}(An||(An={}));var qn=function(){function e(e,t){void 0===e&&(e=-1),void 0===t&&(t=null),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){var t;(t=this.schemas).push.apply(t,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||Yn(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),Kn=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),Wn=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=null}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0,n=e;t=e.offset&&t=0;)o.splice(t,1),t=o.indexOf(e)};if(t.properties)for(var m=0,g=Object.keys(t.properties);m0)for(var w=0,T=o;wt.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:Tn("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)});_n(t.minProperties)&&e.properties.length=i.length&&n.propertiesValueMatches++}if(e.items.length>i.length)if("object"===typeof t.additionalItems)for(var u=i.length;ut.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:Tn("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)});if(!0===t.uniqueItems){var p=Bn(e);p.some((function(e,t){return t!==p.lastIndexOf(e)}))&&n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:Tn("uniqueItemsWarning","Array has duplicate items.")})}}(e,t,n,r);break;case"string":!function(e,t,n,r){_n(t.minLength)&&e.value.lengtht.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:Tn("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)});if(i=t.pattern,"string"===typeof i){new RegExp(t.pattern).test(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:t.patternErrorMessage||t.errorMessage||Tn("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}var i;if(t.format)switch(t.format){case"uri":case"uri-reference":var o=void 0;if(e.value)try{Ln.a.parse(e.value).scheme||"uri"!==t.format||(o=Tn("uriSchemeMissing","URI with a scheme is expected."))}catch(s){o=s.message}else o=Tn("uriEmpty","URI expected.");o&&n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:t.patternErrorMessage||t.errorMessage||Tn("uriFormatWarning","String is not a URI: {0}",o)});break;case"email":e.value.match(On)||n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:t.patternErrorMessage||t.errorMessage||Tn("emailFormatWarning","String is not an e-mail address.")});break;case"color-hex":e.value.match(kn)||n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:t.patternErrorMessage||t.errorMessage||Tn("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA.")})}}(e,t,n);break;case"number":!function(e,t,n,r){var i=e.value;_n(t.multipleOf)&&i%t.multipleOf!==0&&n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:Tn("multipleOfWarning","Value is not divisible by {0}.",t.multipleOf)});function o(e,t){return _n(t)?t:Sn(t)&&t?e:void 0}function s(e,t){if(!Sn(t)||!t)return e}var a=o(t.minimum,t.exclusiveMinimum);_n(a)&&i<=a&&n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:Tn("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",a)});var u=o(t.maximum,t.exclusiveMaximum);_n(u)&&i>=u&&n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:Tn("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",u)});var c=s(t.minimum,t.exclusiveMinimum);_n(c)&&il&&n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:Tn("maximumWarning","Value is above the maximum of {0}.",l)})}(e,t,n);break;case"property":return zn(e.valueNode,t,n,r)}!function(){function i(t){return e.type===t||"integer"===t&&"number"===e.type&&e.isInteger}Array.isArray(t.type)?t.type.some(i)||n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:t.errorMessage||Tn("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&(i(t.type)||n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,message:t.errorMessage||Tn("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}));if(Array.isArray(t.allOf))for(var o=0,s=t.allOf;o0?s={schema:c,validationResult:l,matchingSchemas:f}:0===h&&(s.matchingSchemas.merge(f),s.validationResult.mergeEnumValues(l))}else s.matchingSchemas.merge(f),s.validationResult.propertiesMatches+=l.propertiesMatches,s.validationResult.propertiesValueMatches+=l.propertiesValueMatches;else s={schema:c,validationResult:l,matchingSchemas:f}}return o.length>1&&i&&n.problems.push({location:{offset:e.offset,length:1},severity:mt.Warning,message:Tn("oneOfWarning","Matches multiple schemas when only one must validate.")}),null!==s&&(n.merge(s.validationResult),n.propertiesMatches+=s.validationResult.propertiesMatches,n.propertiesValueMatches+=s.validationResult.propertiesValueMatches,r.merge(s.matchingSchemas)),o.length};Array.isArray(t.anyOf)&&p(t.anyOf,!1);Array.isArray(t.oneOf)&&p(t.oneOf,!0);var m=function(t){var i=new Wn,o=r.newSub();zn(e,Dn(t),i,o),n.merge(i),n.propertiesMatches+=i.propertiesMatches,n.propertiesValueMatches+=i.propertiesValueMatches,r.merge(o)},g=Dn(t.if);g&&function(t,n,i){var o=Dn(t),s=new Wn,a=r.newSub();zn(e,o,s,a),r.merge(a),s.hasProblems()?i&&m(i):n&&m(n)}(g,Dn(t.then),Dn(t.else));if(Array.isArray(t.enum)){for(var v=Bn(e),y=!1,b=0,_=t.enum;b<_.length;b++){var C=_[b];if(bn(v,C)){y=!0;break}}n.enumValues=t.enum,n.enumValueMatch=y,y||n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,code:hn.EnumValueMismatch,message:t.errorMessage||Tn("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map((function(e){return JSON.stringify(e)})).join(", "))})}if(Cn(t.const)){bn(v=Bn(e),t.const)?n.enumValueMatch=!0:(n.problems.push({location:{offset:e.offset,length:e.length},severity:mt.Warning,code:hn.EnumValueMismatch,message:t.errorMessage||Tn("constWarning","Value must be {0}.",JSON.stringify(t.const))}),n.enumValueMatch=!1),n.enumValues=[t.const]}t.deprecationMessage&&e.parent&&n.problems.push({location:{offset:e.parent.offset,length:e.parent.length},severity:mt.Warning,message:t.deprecationMessage})}(),r.add({node:e,schema:t})}}function Gn(e,t){var n=[],r=-1,i=e.getText(),o=pn(i,!1),s=t&&t.collectComments?[]:void 0;function a(){for(;;){var t=o.scan();switch(l(),t){case 12:case 13:Array.isArray(s)&&s.push(ot.create(e.positionAt(o.getTokenOffset()),e.positionAt(o.getTokenOffset()+o.getTokenLength())));break;case 15:case 14:break;default:return t}}}function u(t,i,o,s,a){if(void 0===a&&(a=mt.Error),0===n.length||o!==r){var u=ot.create(e.positionAt(o),e.positionAt(s));n.push(gt.create(u,t,a,i,e.languageId)),r=o}}function c(e,t,n,r,s){void 0===n&&(n=null),void 0===r&&(r=[]),void 0===s&&(s=[]);var c=o.getTokenOffset(),l=o.getTokenOffset()+o.getTokenLength();if(c===l&&c>0){for(c--;c>0&&/\s/.test(i.charAt(c));)c--;l=c+1}if(u(e,t,c,l),n&&f(n,!1),r.length+s.length>0)for(var h=o.getToken();17!==h;){if(-1!==r.indexOf(h)){a();break}if(-1!==s.indexOf(h))break;h=a()}return n}function l(){switch(o.getTokenError()){case 4:return c(Tn("InvalidUnicode","Invalid unicode sequence in string."),hn.InvalidUnicode),!0;case 5:return c(Tn("InvalidEscapeCharacter","Invalid escape character in string."),hn.InvalidEscapeCharacter),!0;case 3:return c(Tn("UnexpectedEndOfNumber","Unexpected end of number."),hn.UnexpectedEndOfNumber),!0;case 1:return c(Tn("UnexpectedEndOfComment","Unexpected end of comment."),hn.UnexpectedEndOfComment),!0;case 2:return c(Tn("UnexpectedEndOfString","Unexpected end of string."),hn.UnexpectedEndOfString),!0;case 6:return c(Tn("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),hn.InvalidCharacter),!0}return!1}function f(e,t){return e.length=o.getTokenOffset()+o.getTokenLength()-e.offset,t&&a(),e}function h(t,n){var r=new Vn(t,o.getTokenOffset()),i=d(r);if(!i){if(16!==o.getToken())return null;c(Tn("DoubleQuotesExpected","Property keys must be doublequoted"),hn.Undefined);var s=new Fn(r,o.getTokenOffset(),o.getTokenLength());s.value=o.getTokenValue(),i=s,a()}r.keyNode=i;var l=n[i.value];if(l?(u(Tn("DuplicateKeyWarning","Duplicate object key"),hn.DuplicateKey,r.keyNode.offset,r.keyNode.offset+r.keyNode.length,mt.Warning),"object"===typeof l&&u(Tn("DuplicateKeyWarning","Duplicate object key"),hn.DuplicateKey,l.keyNode.offset,l.keyNode.offset+l.keyNode.length,mt.Warning),n[i.value]=!0):n[i.value]=r,6===o.getToken())r.colonOffset=o.getTokenOffset(),a();else if(c(Tn("ColonExpected","Colon expected"),hn.ColonExpected),10===o.getToken()&&e.positionAt(i.offset+i.length).line0?e.lastIndexOf(t)===n:0===n&&e===t}var Qn=Nn(),Xn=function(){function e(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=Promise),void 0===r&&(r={}),this.schemaService=e,this.contributions=t,this.promiseConstructor=n,this.clientCapabilities=r,this.templateVarIdCounter=0}return e.prototype.doResolve=function(e){for(var t=this.contributions.length-1;t>=0;t--)if(this.contributions[t].resolveCompletion){var n=this.contributions[t].resolveCompletion(e);if(n)return n}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var r=this,i={items:[],isIncomplete:!1},o=e.offsetAt(t),s=n.getNodeFromOffset(o,!0);if(this.isInComment(e,s?s.offset:0,o))return Promise.resolve(i);var a=this.getCurrentWord(e,o),u=null;if(!s||"string"!==s.type&&"number"!==s.type&&"boolean"!==s.type&&"null"!==s.type){var c=o-a.length;c>0&&'"'===e.getText()[c-1]&&c--,u=ot.create(e.positionAt(c),t)}else u=ot.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length));var l={},f={add:function(e){var t=l[e.label];t?t.documentation||(t.documentation=e.documentation):(l[e.label]=e,u&&(e.textEdit=yt.replace(u,e.insertText)),i.items.push(e))},setAsIncomplete:function(){i.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return i.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then((function(t){var c=[],h=!0,d="",p=null;if(s&&"string"===s.type){var m=s.parent;m&&"property"===m.type&&m.keyNode===s&&(h=!m.valueNode,p=m,d=e.getText().substr(s.offset+1,s.length-2),m&&(s=m.parent))}if(s&&"object"===s.type){if(s.offset===o)return i;s.properties.forEach((function(e){p&&p===e||(l[e.keyNode.value]=Pt.create("__"))}));var g="";h&&(g=r.evaluateSeparatorAfter(e,e.offsetAt(u.end))),t?r.getPropertyCompletions(t,n,s,h,g,f):r.getSchemaLessPropertyCompletions(n,s,d,f);var v=$n(s);r.contributions.forEach((function(t){var n=t.collectPropertyCompletions(e.uri,v,a,h,""===g,f);n&&c.push(n)})),!t&&a.length>0&&'"'!==e.getText().charAt(o-a.length-1)&&(f.add({kind:Ot.Property,label:r.getLabelForValue(a),insertText:r.getInsertTextForProperty(a,null,!1,g),insertTextFormat:It.Snippet,documentation:""}),f.setAsIncomplete())}var y={};return t?r.getValueCompletions(t,n,s,o,e,f,y):r.getSchemaLessValueCompletions(n,s,o,e,f),r.contributions.length>0&&r.getContributedValueCompletions(n,s,o,e,f,c),r.promiseConstructor.all(c).then((function(){if(0===f.getNumberOfProposals()){var t=o;!s||"string"!==s.type&&"number"!==s.type&&"boolean"!==s.type&&"null"!==s.type||(t=s.offset+s.length);var n=r.evaluateSeparatorAfter(e,t);r.addFillerValueCompletions(y,n,f)}return i}))}))},e.prototype.getPropertyCompletions=function(e,t,n,r,i,o){var s=this;t.getMatchingSchemas(e.schema,n.offset).forEach((function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach((function(e){var n=t[e];if("object"===typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var a={kind:Ot.Property,label:s.sanitizeLabel(e),insertText:s.getInsertTextForProperty(e,n,r,i),insertTextFormat:It.Snippet,filterText:s.getFilterTextForValue(e),documentation:s.fromMarkup(n.markdownDescription)||n.description||""};Jn(a.insertText,"$1"+i)&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(a)}}))}}))},e.prototype.getSchemaLessPropertyCompletions=function(e,t,n,r){var i=this,o=function(e){e.properties.forEach((function(e){var t=e.keyNode.value;r.add({kind:Ot.Property,label:i.sanitizeLabel(t),insertText:i.getInsertTextForValue(t,""),insertTextFormat:It.Snippet,filterText:i.getFilterTextForValue(t),documentation:""})}))};if(t.parent)if("property"===t.parent.type){var s=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e!==t.parent&&e.keyNode.value===s&&e.valueNode&&"object"===e.valueNode.type&&o(e.valueNode),!0}))}else"array"===t.parent.type&&t.parent.items.forEach((function(e){"object"===e.type&&e!==t&&o(e)}));else"object"===t.type&&r.add({kind:Ot.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",null,!0,""),insertTextFormat:It.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},e.prototype.getSchemaLessValueCompletions=function(e,t,n,r,i){var o=this,s=n;if(!t||"string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(s=t.offset+t.length,t=t.parent),!t)return i.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:It.Snippet,documentation:""}),void i.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:It.Snippet,documentation:""});var a=this.evaluateSeparatorAfter(r,s),u=function(e){Yn(e.parent,n,!0)||i.add({kind:o.getSuggestionKind(e.type),label:o.getLabelTextForMatchingNode(e,r),insertText:o.getInsertTextForMatchingNode(e,r,a),insertTextFormat:It.Snippet,documentation:""}),"boolean"===e.type&&o.addBooleanValueCompletion(!e.value,a,i)};if("property"===t.type&&n>t.colonOffset){var c=t.valueNode;if(c&&(n>c.offset+c.length||"object"===c.type||"array"===c.type))return;var l=t.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===l&&e.valueNode&&u(e.valueNode),!0})),"$schema"===l&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(a,i)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var f=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===f&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(u),!0}))}else t.items.forEach(u)},e.prototype.getValueCompletions=function(e,t,n,r,i,o,s){var a=this,u=r,c=null,l=null;if(!n||"string"!==n.type&&"number"!==n.type&&"boolean"!==n.type&&"null"!==n.type||(u=n.offset+n.length,l=n,n=n.parent),n){if("property"===n.type&&r>n.colonOffset){var f=n.valueNode;if(f&&r>f.offset+f.length)return;c=n.keyNode.value,n=n.parent}if(n&&(null!==c||"array"===n.type)){var h=this.evaluateSeparatorAfter(i,u);t.getMatchingSchemas(e.schema,n.offset,l).forEach((function(e){if(e.node===n&&!e.inverted&&e.schema){if("array"===n.type&&e.schema.items)if(Array.isArray(e.schema.items)){var t=a.findItemAtOffset(n,i,r);tt.colonOffset){var s=t.keyNode.value,a=t.valueNode;if(!a||n<=a.offset+a.length){var u=$n(t.parent);this.contributions.forEach((function(e){var t=e.collectValueCompletions(r.uri,u,s,i);t&&o.push(t)}))}}}else this.contributions.forEach((function(e){var t=e.collectDefaultCompletions(r.uri,i);t&&o.push(t)}))},e.prototype.addSchemaValueCompletions=function(e,t,n,r){var i=this;"object"===typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),Array.isArray(e.allOf)&&e.allOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})),Array.isArray(e.anyOf)&&e.anyOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})),Array.isArray(e.oneOf)&&e.oneOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})))},e.prototype.addDefaultValueCompletions=function(e,t,n,r){var i=this;void 0===r&&(r=0);var o=!1;if(Cn(e.default)){for(var s=e.type,a=e.default,u=r;u>0;u--)a=[a],s="array";n.add({kind:this.getSuggestionKind(s),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:It.Snippet,detail:Qn("json.suggest.default","Default value")}),o=!0}Array.isArray(e.examples)&&e.examples.forEach((function(s){for(var a=e.type,u=s,c=r;c>0;c--)u=[u],a="array";n.add({kind:i.getSuggestionKind(a),label:i.getLabelForValue(u),insertText:i.getInsertTextForValue(u,t),insertTextFormat:It.Snippet}),o=!0})),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach((function(s){var a,u,c=e.type,l=s.body,f=s.label;if(Cn(l)){e.type;for(var h=r;h>0;h--)l=[l],"array";a=i.getInsertTextForSnippetValue(l,t),u=i.getFilterTextForSnippetValue(l),f=f||i.getLabelForSnippetValue(l)}else if("string"===typeof s.bodyText){var d="",p="",m="";for(h=r;h>0;h--)d=d+m+"[\n",p=p+"\n"+m+"]",m+="\t",c="array";a=d+m+s.bodyText.split("\n").join("\n"+m)+p+t,f=f||i.sanitizeLabel(a),u=a.replace(/[\n]/g,"")}n.add({kind:i.getSuggestionKind(c),label:f,documentation:i.fromMarkup(s.markdownDescription)||s.description,insertText:a,insertTextFormat:It.Snippet,filterText:u}),o=!0})),o||"object"!==typeof e.items||Array.isArray(e.items)||this.addDefaultValueCompletions(e.items,t,n,r+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(Cn(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:It.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var r=0,i=e.enum.length;r57&&(e=e.substr(0,57).trim()+"..."),e},e.prototype.getLabelForValue=function(e){return this.sanitizeLabel(JSON.stringify(e))},e.prototype.getFilterTextForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getLabelForSnippetValue=function(e){var t=JSON.stringify(e);return t=t.replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1"),this.sanitizeLabel(t)},e.prototype.getInsertTextForPlainText=function(e){return e.replace(/[\\\$\}]/g,"\\$&")},e.prototype.getInsertTextForValue=function(e,t){var n=JSON.stringify(e,null,"\t");return"{}"===n?"{$1}"+t:"[]"===n?"[$1]"+t:this.getInsertTextForPlainText(n+t)},e.prototype.getInsertTextForSnippetValue=function(e,t){return function e(t,n,r){if(null!==t&&"object"===typeof t){var i=n+"\t";if(Array.isArray(t)){if(0===t.length)return"[]";for(var o="[\n",s=0;s0?t[0]:null}if(!e)return Ot.Value;switch(e){case"string":return Ot.Value;case"object":return Ot.Module;case"property":return Ot.Property;default:return Ot.Value}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var r=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(r)}},e.prototype.getInsertTextForProperty=function(e,t,n,r){var i=this.getInsertTextForValue(e,"");if(!n)return i;var o,s=i+": ",a=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var u=t.defaultSnippets[0].body;Cn(u)&&(o=this.getInsertTextForSnippetValue(u,""))}a+=t.defaultSnippets.length}if(t.enum&&(o||1!==t.enum.length||(o=this.getInsertTextForGuessedValue(t.enum[0],"")),a+=t.enum.length),Cn(t.default)&&(o||(o=this.getInsertTextForGuessedValue(t.default,"")),a++),0===a){var c=Array.isArray(t.type)?t.type[0]:t.type;switch(c||(t.properties?c="object":t.items&&(c="array")),c){case"boolean":o="$1";break;case"string":o='"$1"';break;case"object":o="{$1}";break;case"array":o="[$1]";break;case"number":case"integer":o="${1:0}";break;case"null":o="${1:null}";break;default:return i}}}return(!o||a>1)&&(o="$1"),s+o+r},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,r=e.getText();n>=0&&-1===' \t\n\r\v":{[,]}'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=pn(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var r=pn(t.getText(),!0),i=e.items,o=i.length-1;o>=0;o--){var s=i[o];if(n>s.offset+s.length)return r.setPosition(s.offset+s.length),5===r.scan()&&n>=r.getTokenOffset()+r.getTokenLength()?o+1:o;if(n>=s.offset)return o}return 0},e.prototype.isInComment=function(e,t,n){var r=pn(e.getText(),!1);r.setPosition(t);for(var i=r.scan();17!==i&&r.getTokenOffset()+r.getTokenLength()i.offset+1&&r=0;l--){var f=this.contributions[l].getInfoContribution(e.uri,c);if(f)return f.then((function(e){return u(e)}))}return this.schemaService.getSchemaForResource(e.uri,n).then((function(e){if(e){var t=n.getMatchingSchemas(e.schema,i.offset),r=null,o=null,s=null,a=null;t.every((function(e){if(e.node===i&&!e.inverted&&e.schema&&(r=r||e.schema.title,o=o||e.schema.markdownDescription||er(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(Bn(i));e.schema.markdownEnumDescriptions?s=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(s=er(e.schema.enumDescriptions[t])),s&&"string"!==typeof(a=e.schema.enum[t])&&(a=JSON.stringify(a))}return!0}));var c="";return r&&(c=er(r)),o&&(c.length>0&&(c+="\n\n"),c+=o),s&&(c.length>0&&(c+="\n\n"),c+="`"+er(a)+"`: "+s),u([c])}return null}))},e}();function er(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var tr=Nn(),nr=function(){function e(e){try{this.patternRegExp=new RegExp(function(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}(e)+"$")}catch(t){this.patternRegExp=null}this.schemas=[]}return e.prototype.addSchema=function(e){this.schemas.push(e)},e.prototype.matchesPattern=function(e){return this.patternRegExp&&this.patternRegExp.test(e)},e.prototype.getSchemas=function(){return this.schemas},e}(),rr=function(){function e(e,t,n){this.service=e,this.url=t,this.dependencies={},n&&(this.unresolvedSchema=this.service.promise.resolve(new ir(n)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var e=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then((function(t){return e.service.resolveSchemaContent(t,e.url,e.dependencies)}))),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=null,this.unresolvedSchema=null,this.dependencies={}},e}(),ir=function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t},or=function(){function e(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}return e.prototype.getSection=function(e){return Dn(this.getSectionRecursive(e,this.schema))},e.prototype.getSectionRecursive=function(e,t){if(!t||"boolean"===typeof t||0===e.length)return t;var n=e.shift();if(t.properties&&(t.properties[n],1))return this.getSectionRecursive(e,t.properties[n]);if(t.patternProperties)for(var r=0,i=Object.keys(t.patternProperties);r0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){for(var t=this,n=!1,r=[e=this.normalizeId(e)],i=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));r.length;)for(var o=r.pop(),s=0;s1&&(t=n[1]),new ir({},[t])}))},e.prototype.resolveSchemaContent=function(e,t,n){var r=this,i=e.errors.slice(0),o=e.schema,s=this.contextService,a=function(e,t,n,r){var o=function(e,t){if(!t)return e;var n=e;return"/"===t[0]&&(t=t.substr(1)),t.split("/").some((function(e){return!(n=n[e])})),n}(t,r);if(o)for(var s in o)o.hasOwnProperty(s)&&!e.hasOwnProperty(s)&&(e[s]=o[s]);else i.push(tr("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",r,n))},u=function(e,t,n,o,u){s&&!/^\w+:\/\/.*/.test(t)&&(t=s.resolveRelativePath(t,o)),t=r.normalizeId(t);var l=r.getOrAddSchemaHandle(t);return l.getUnresolvedSchema().then((function(r){if(u[t]=!0,r.errors.length){var o=n?t+"#"+n:t;i.push(tr("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,r.errors[0]))}return a(e,r.schema,t,n),c(e,r.schema,t,l.dependencies)}))},c=function(e,t,n,i){if(!e||"object"!==typeof e)return Promise.resolve(null);for(var o=[e],s=[],c=[],l=function(e){for(var r=[];e.$ref;){var s=e.$ref,l=s.split("#",2);if(delete e.$ref,l[0].length>0)return void c.push(u(e,l[0],l[1],n,i));-1===r.indexOf(s)&&(a(e,t,n,l[1]),r.push(s))}!function(){for(var e=[],t=0;t=0||(s.push(f),l(f))}return r.promise.all(c)};return c(o,o,t,n).then((function(e){return new or(o,i)}))},e.prototype.getSchemaForResource=function(e,t){if(t&&t.root&&"object"===t.root.type){var n=t.root.properties.filter((function(e){return"$schema"===e.keyNode.value&&e.valueNode&&"string"===e.valueNode.type}));if(n.length>0){var r=Bn(n[0].valueNode);if(r&&function(e,t){if(e.length0?this.createCombinedSchema(e,s).getResolvedSchema():this.promise.resolve(null)},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),r={allOf:t.map((function(e){return{$ref:e}}))};return this.addSchemaHandle(n,r)},e}();function ar(e){try{var t=Ln.a.parse(e);if("file"===t.scheme)return t.fsPath}catch(n){}return e}var ur=Nn(),cr=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=e.validate,this.commentSeverity=e.allowComments?void 0:mt.Error)},e.prototype.doValidation=function(e,t,n,r){var i=this;if(!this.validationEnabled)return this.promise.resolve([]);var o=[],s={},a=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;s[t]||(s[t]=!0,o.push(e))},u=function(r){var s=n?hr(n.trailingCommas):mt.Error,u=n?hr(n.comments):i.commentSeverity;if(r){if(r.errors.length&&t.root){var c=t.root,l="object"===c.type?c.properties[0]:null;if(l&&"$schema"===l.keyNode.value){var f=l.valueNode||l,h=ot.create(e.positionAt(f.offset),e.positionAt(f.offset+f.length));a(gt.create(h,r.errors[0],mt.Warning,hn.SchemaResolveError))}else{h=ot.create(e.positionAt(c.offset),e.positionAt(c.offset+1));a(gt.create(h,r.errors[0],mt.Warning,hn.SchemaResolveError))}}else{var d=t.validate(e,r.schema);d&&d.forEach(a)}fr(r.schema)&&(s=u=void 0)}for(var p=0,m=t.syntaxErrors;p=97&&e<=102?e-97+10:0)}function pr(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*dr(e.charCodeAt(1))/255,green:17*dr(e.charCodeAt(2))/255,blue:17*dr(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*dr(e.charCodeAt(1))/255,green:17*dr(e.charCodeAt(2))/255,blue:17*dr(e.charCodeAt(3))/255,alpha:17*dr(e.charCodeAt(4))/255};case 7:return{red:(16*dr(e.charCodeAt(1))+dr(e.charCodeAt(2)))/255,green:(16*dr(e.charCodeAt(3))+dr(e.charCodeAt(4)))/255,blue:(16*dr(e.charCodeAt(5))+dr(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*dr(e.charCodeAt(1))+dr(e.charCodeAt(2)))/255,green:(16*dr(e.charCodeAt(3))+dr(e.charCodeAt(4)))/255,blue:(16*dr(e.charCodeAt(5))+dr(e.charCodeAt(6)))/255,alpha:(16*dr(e.charCodeAt(7))+dr(e.charCodeAt(8)))/255}}return null}var mr=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t){var n=this,r=t.root;if(!r)return null;var i=e.uri;if(("vscode://defaultsettings/keybindings.json"===i||Jn(i.toLowerCase(),"/user/keybindings.json"))&&"array"===r.type){var o=[];return r.items.forEach((function(t){if("object"===t.type)for(var n=0,r=t.properties;n0&&i[i.length-1].kind===l){c=i.pop();var f=e.positionAt(s.getTokenOffset()).line;c&&f>c.startLine+1&&o!==c.startLine&&(c.endLine=f-1,u(c),o=c.startLine)}break;case 13:var h=e.positionAt(s.getTokenOffset()).line,d=e.positionAt(s.getTokenOffset()+s.getTokenLength()).line;1===s.getTokenError()&&h+1=0&&i[m].kind!==ht.Region;)m--;if(m>=0){c=i[m];i.length=m,f>c.startLine&&o!==c.startLine&&(c.endLine=f,u(c),o=c.startLine)}}}}a=s.scan()}var g=t&&t.rangeLimit;if("number"!==typeof g||n.length<=g)return n;for(var v=[],y=0,b=r;yg){C=m;break}_+=S}}var E=[];for(m=0;m=u&&i<=c&&a.push(r(u,c)),a.push(r(s.offset,s.offset+s.length));break;case"number":case"boolean":case"null":case"property":a.push(r(s.offset,s.offset+s.length))}if("property"===s.type||s.parent&&"array"===s.parent.type){var l=o(s.offset+s.length,5);-1!==l&&a.push(r(s.offset,l))}s=s.parent}return a}))}function wr(e){var t=e.promiseConstructor||Promise,n=new sr(e.schemaRequestService,e.workspaceContext,t);n.setSchemaContributions(br);var r=new Xn(n,e.contributions,t,e.clientCapabilities),i=new Zn(n,e.contributions,t),o=new mr(n),s=new cr(n,t);return{configure:function(e){n.clearExternalSchemas(),e.schemas&&e.schemas.forEach((function(e){n.registerExternalSchema(e.uri,e.fileMatch,e.schema)})),s.configure(e)},resetSchema:function(e){return n.onResourceChange(e)},doValidation:s.doValidation.bind(s),parseJSONDocument:function(e){return Gn(e,{collectComments:!0})},newJSONDocument:function(e,t){return function(e,t){return void 0===t&&(t=[]),new Hn(e,t,[])}(e,t)},doResolve:r.doResolve.bind(r),doComplete:r.doComplete.bind(r),findDocumentSymbols:o.findDocumentSymbols.bind(o),findDocumentSymbols2:o.findDocumentSymbols2.bind(o),findColorSymbols:function(e,t){return o.findDocumentColors(e,t).then((function(e){return e.map((function(e){return e.range}))}))},findDocumentColors:o.findDocumentColors.bind(o),getColorPresentations:o.getColorPresentations.bind(o),doHover:i.doHover.bind(i),getFoldingRanges:Ar,getSelectionRanges:Lr,format:function(e,t,n){var r=void 0;if(t){var i=e.offsetAt(t.start);r={offset:i,length:e.offsetAt(t.end)-i}}var o={tabSize:n?n.tabSize:4,insertSpaces:!n||n.insertSpaces,eol:"\n"};return function(e,t,n){return an(e,t,n)}(e.getText(),r,o).map((function(t){return yt.replace(ot.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)}))}}}"undefined"!==typeof fetch&&(vr=function(e){return fetch(e).then((function(e){return e.text()}))});var Tr=function(){function e(e){this.wrapped=new Promise(e)}return e.prototype.then=function(e,t){return this.wrapped.then(e,t)},e.prototype.getWrapped=function(){return this.wrapped},e.resolve=function(e){return Promise.resolve(e)},e.reject=function(e){return Promise.reject(e)},e.all=function(e){return Promise.all(e)},e}(),kr=function(){function e(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=wr({schemaRequestService:t.enableSchemaRequest&&vr,promiseConstructor:Tr}),this._languageService.configure(this._languageSettings)}return e.prototype.doValidation=function(e){var t=this._getTextDocument(e);if(t){var n=this._languageService.parseJSONDocument(t);return this._languageService.doValidation(t,n)}return Promise.resolve([])},e.prototype.doComplete=function(e,t){var n=this._getTextDocument(e),r=this._languageService.parseJSONDocument(n);return this._languageService.doComplete(n,t,r)},e.prototype.doResolve=function(e){return this._languageService.doResolve(e)},e.prototype.doHover=function(e,t){var n=this._getTextDocument(e),r=this._languageService.parseJSONDocument(n);return this._languageService.doHover(n,t,r)},e.prototype.format=function(e,t,n){var r=this._getTextDocument(e),i=this._languageService.format(r,t,n);return Promise.resolve(i)},e.prototype.resetSchema=function(e){return Promise.resolve(this._languageService.resetSchema(e))},e.prototype.findDocumentSymbols=function(e){var t=this._getTextDocument(e),n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentSymbols(t,n);return Promise.resolve(r)},e.prototype.findDocumentColors=function(e){var t=this._getTextDocument(e),n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentColors(t,n);return Promise.resolve(r)},e.prototype.getColorPresentations=function(e,t,n){var r=this._getTextDocument(e),i=this._languageService.parseJSONDocument(r),o=this._languageService.getColorPresentations(r,i,t,n);return Promise.resolve(o)},e.prototype.provideFoldingRanges=function(e,t){var n=this._getTextDocument(e),r=this._languageService.getFoldingRanges(n,t);return Promise.resolve(r)},e.prototype._getTextDocument=function(e){for(var t=0,n=this._ctx.getMirrorModels();t0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]0;for(var t=0,r=e;t>1);switch(r(t(e[l]),n)){case-1:o=l+1;break;case 0:return l;case 1:s=l-1}}return~o}function g(e,n,t,r,a){if(e&&e.length>0){var i=e.length;if(i>0){var o=void 0===r||r<0?0:r,s=void 0===a||o+a>i-1?i-1:o+a,l=void 0;for(arguments.length<=2?(l=e[o],o++):l=t;o<=s;)l=n(l,e[o],o),o++;return l}}return t}e.emptyArray=[],e.createMap=t,e.createMapFromEntries=function(e){for(var n=t(),r=0,a=e;r=0;t--){var r=e[t];if(n(r,t))return r}},e.findIndex=function(e,n,t){for(var r=t||0;r=0;r--)if(n(e[r],r))return r;return-1},e.findMap=function(n,t){for(var r=0;r0&&e.Debug.assertGreaterThanOrEqual(r(t[o],t[o-1]),0);n:for(var s=i;is&&e.Debug.assertGreaterThanOrEqual(r(n[i],n[i-1]),0),r(t[o],n[i])){case-1:a.push(t[o]);continue e;case 0:continue e;case 1:continue n}}return a},e.sum=function(e,n){for(var t=0,r=0,a=e;rn?1:0}function O(e,n){return D(e,n)}e.hasProperty=v,e.getProperty=function(e,n){return _.call(e,n)?e[n]:void 0},e.getOwnKeys=function(e){var n=[];for(var t in e)_.call(e,t)&&n.push(t);return n},e.getOwnValues=function(e){var n=[];for(var t in e)_.call(e,t)&&n.push(e[t]);return n},e.arrayFrom=h,e.assign=function(e){for(var n=[],t=1;t0?1:0}function a(e){var n=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,t){return r(e,t,n)}}function i(e){return void 0!==e?o():function(e,t){return r(e,t,n)};function n(e,n){return e.localeCompare(n)}}function o(){return function(n,t){return r(n,t,e)};function e(e,t){return n(e.toUpperCase(),t.toUpperCase())||n(e,t)}function n(e,n){return en?1:0}}}();function N(e,n,t){for(var r=new Array(n.length+1),a=new Array(n.length+1),i=t+1,o=0;o<=n.length;o++)r[o]=o;for(o=1;o<=e.length;o++){var s=e.charCodeAt(o-1),l=o>t?o-t:1,c=n.length>t+o?t+o:n.length;a[0]=o;for(var d=o,u=1;ut)return;var m=r;r=a,a=m}var f=r[n.length];return f>t?void 0:f}function P(e,n){var t=e.length-n.length;return t>=0&&e.indexOf(n,t)===t}function F(e,n){return e.length>n.length&&P(e,n)}function G(e,n){for(var t=n;t=t.length+r.length&&H(n,t)&&P(n,r)}e.getUILocale=function(){return R},e.setUILocale=function(e){R!==e&&(R=e,I=void 0)},e.compareStringsCaseSensitiveUI=function(e,n){return(I||(I=w(R)))(e,n)},e.compareProperties=function(e,n,t,r){return e===n?0:void 0===e?-1:void 0===n?1:r(e[t],n[t])},e.compareBooleans=function(e,n){return k(e?1:0,n?1:0)},e.getSpellingSuggestion=function(n,t,r){for(var a,i=Math.min(2,Math.floor(.34*n.length)),o=Math.floor(.4*n.length)+1,s=!1,l=n.toLowerCase(),c=0,d=t;ca&&(a=l.prefix.length,r=s)}return r},e.startsWith=H,e.removePrefix=function(e,n){return H(e,n)?e.substr(n.length):e},e.tryRemovePrefix=function(e,n,t){return void 0===t&&(t=x),H(t(e),t(n))?e.substring(n.length):void 0},e.and=function(e,n){return function(t){return e(t)&&n(t)}},e.or=function(e,n){return function(t){return e(t)||n(t)}},e.assertType=function(e){},e.singleElementArray=function(e){return void 0===e?void 0:[e]},e.enumerateInsertsAndDeletes=function(e,n,t,r,a,i){i=i||L;for(var o=0,s=0,l=e.length,c=n.length;o=e}function r(e,n,t,i){e||(t&&(n+="\r\nVerbose Debug Information: "+("string"===typeof t?t:t())),a(n?"False expression: "+n:"False expression.",i||r))}function a(e,n){var t=new Error(e?"Debug Failure. "+e:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(t,n||a),t}function i(e,n){return void 0===e||null===e?a(n):e}function o(e){if("function"!==typeof e)return"";if(e.hasOwnProperty("name"))return e.name;var n=Function.prototype.toString.call(e),t=/^function\s+([\w\$]+)\s*\(/.exec(n);return t?t[1]:""}function s(n,t,r){void 0===n&&(n=0);var a=function(n){var t=[];for(var r in n){var a=n[r];"number"===typeof a&&t.push([a,r])}return e.stableSort(t,(function(n,t){return e.compareValues(n[0],t[0])}))}(t);if(0===n)return a.length>0&&0===a[0][0]?a[0][1]:"0";if(r){for(var i="",o=n,s=a.length-1;s>=0&&0!==o;s--){var l=a[s],c=l[0],d=l[1];0!==c&&(o&c)===c&&(o&=~c,i=d+(i?"|":"")+i)}if(0===o)return i}else for(var u=0,p=a;u=n&&a("Expected "+e+" < "+n+". "+(t||""))},n.assertLessThanOrEqual=function(e,n){e>n&&a("Expected "+e+" <= "+n)},n.assertGreaterThanOrEqual=function(e,n){e= "+n)},n.fail=a,n.assertDefined=i,n.assertEachDefined=function(e,n){for(var t=0,r=e;t=0,"Invalid argument: major"),e.Debug.assert(a>=0,"Invalid argument: minor"),e.Debug.assert(i>=0,"Invalid argument: patch"),e.Debug.assert(!s||t.test(s),"Invalid argument: prerelease"),e.Debug.assert(!l||r.test(l),"Invalid argument: build"),this.major=n,this.minor=a,this.patch=i,this.prerelease=s?s.split("."):e.emptyArray,this.build=l?l.split("."):e.emptyArray}return n.tryParse=function(e){var t=o(e);if(t)return new n(t.major,t.minor,t.patch,t.prerelease,t.build)},n.prototype.compareTo=function(n){return this===n?0:void 0===n?1:e.compareValues(this.major,n.major)||e.compareValues(this.minor,n.minor)||e.compareValues(this.patch,n.patch)||function(n,t){if(n===t)return 0;if(0===n.length)return 0===t.length?0:1;if(0===t.length)return-1;for(var r=Math.min(n.length,t.length),i=0;i|>=|=)?\s*([a-z0-9-+.*]+)$/i;function m(e){for(var n=[],t=0,r=e.trim().split(l);t=",r.version)),v(a.major)||t.push(v(a.minor)?h("<",a.version.increment("major")):v(a.patch)?h("<",a.version.increment("minor")):h("<=",a.version)),!0)}function _(e,n,t){var r=f(n);if(!r)return!1;var a=r.version,o=r.major,s=r.minor,l=r.patch;if(v(o))"<"!==e&&">"!==e||t.push(h("<",i.zero));else switch(e){case"~":t.push(h(">=",a)),t.push(h("<",a.increment(v(s)?"major":"minor")));break;case"^":t.push(h(">=",a)),t.push(h("<",a.increment(a.major>0||v(s)?"major":a.minor>0||v(l)?"minor":"patch")));break;case"<":case">=":t.push(h(e,a));break;case"<=":case">":t.push(v(s)?h("<="===e?"<":">=",a.increment("major")):v(l)?h("<="===e?"<":">=",a.increment("minor")):h(e,a));break;case"=":case void 0:v(s)||v(l)?(t.push(h(">=",a)),t.push(h("<",a.increment(v(s)?"major":"minor")))):t.push(h("=",a));break;default:return!1}return!0}function v(e){return"*"===e||"x"===e||"X"===e}function h(e,n){return{operator:e,operand:n}}function y(e,n){for(var t=0,r=n;t":return a>0;case">=":return a>=0;case"=":return 0===a;default:return e.Debug.assertNever(t)}}function E(n){return e.map(n,T).join(" ")}function T(e){return""+e.operator+e.operand}}(c||(c={})),function(e){!function(e){e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NumericLiteral=8]="NumericLiteral",e[e.BigIntLiteral=9]="BigIntLiteral",e[e.StringLiteral=10]="StringLiteral",e[e.JsxText=11]="JsxText",e[e.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=13]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=15]="TemplateHead",e[e.TemplateMiddle=16]="TemplateMiddle",e[e.TemplateTail=17]="TemplateTail",e[e.OpenBraceToken=18]="OpenBraceToken",e[e.CloseBraceToken=19]="CloseBraceToken",e[e.OpenParenToken=20]="OpenParenToken",e[e.CloseParenToken=21]="CloseParenToken",e[e.OpenBracketToken=22]="OpenBracketToken",e[e.CloseBracketToken=23]="CloseBracketToken",e[e.DotToken=24]="DotToken",e[e.DotDotDotToken=25]="DotDotDotToken",e[e.SemicolonToken=26]="SemicolonToken",e[e.CommaToken=27]="CommaToken",e[e.LessThanToken=28]="LessThanToken",e[e.LessThanSlashToken=29]="LessThanSlashToken",e[e.GreaterThanToken=30]="GreaterThanToken",e[e.LessThanEqualsToken=31]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=32]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=33]="EqualsEqualsToken",e[e.ExclamationEqualsToken=34]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=35]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=36]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=37]="EqualsGreaterThanToken",e[e.PlusToken=38]="PlusToken",e[e.MinusToken=39]="MinusToken",e[e.AsteriskToken=40]="AsteriskToken",e[e.AsteriskAsteriskToken=41]="AsteriskAsteriskToken",e[e.SlashToken=42]="SlashToken",e[e.PercentToken=43]="PercentToken",e[e.PlusPlusToken=44]="PlusPlusToken",e[e.MinusMinusToken=45]="MinusMinusToken",e[e.LessThanLessThanToken=46]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=47]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=48]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=49]="AmpersandToken",e[e.BarToken=50]="BarToken",e[e.CaretToken=51]="CaretToken",e[e.ExclamationToken=52]="ExclamationToken",e[e.TildeToken=53]="TildeToken",e[e.AmpersandAmpersandToken=54]="AmpersandAmpersandToken",e[e.BarBarToken=55]="BarBarToken",e[e.QuestionToken=56]="QuestionToken",e[e.ColonToken=57]="ColonToken",e[e.AtToken=58]="AtToken",e[e.BacktickToken=59]="BacktickToken",e[e.EqualsToken=60]="EqualsToken",e[e.PlusEqualsToken=61]="PlusEqualsToken",e[e.MinusEqualsToken=62]="MinusEqualsToken",e[e.AsteriskEqualsToken=63]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=64]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=65]="SlashEqualsToken",e[e.PercentEqualsToken=66]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=67]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=68]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=69]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=70]="AmpersandEqualsToken",e[e.BarEqualsToken=71]="BarEqualsToken",e[e.CaretEqualsToken=72]="CaretEqualsToken",e[e.Identifier=73]="Identifier",e[e.BreakKeyword=74]="BreakKeyword",e[e.CaseKeyword=75]="CaseKeyword",e[e.CatchKeyword=76]="CatchKeyword",e[e.ClassKeyword=77]="ClassKeyword",e[e.ConstKeyword=78]="ConstKeyword",e[e.ContinueKeyword=79]="ContinueKeyword",e[e.DebuggerKeyword=80]="DebuggerKeyword",e[e.DefaultKeyword=81]="DefaultKeyword",e[e.DeleteKeyword=82]="DeleteKeyword",e[e.DoKeyword=83]="DoKeyword",e[e.ElseKeyword=84]="ElseKeyword",e[e.EnumKeyword=85]="EnumKeyword",e[e.ExportKeyword=86]="ExportKeyword",e[e.ExtendsKeyword=87]="ExtendsKeyword",e[e.FalseKeyword=88]="FalseKeyword",e[e.FinallyKeyword=89]="FinallyKeyword",e[e.ForKeyword=90]="ForKeyword",e[e.FunctionKeyword=91]="FunctionKeyword",e[e.IfKeyword=92]="IfKeyword",e[e.ImportKeyword=93]="ImportKeyword",e[e.InKeyword=94]="InKeyword",e[e.InstanceOfKeyword=95]="InstanceOfKeyword",e[e.NewKeyword=96]="NewKeyword",e[e.NullKeyword=97]="NullKeyword",e[e.ReturnKeyword=98]="ReturnKeyword",e[e.SuperKeyword=99]="SuperKeyword",e[e.SwitchKeyword=100]="SwitchKeyword",e[e.ThisKeyword=101]="ThisKeyword",e[e.ThrowKeyword=102]="ThrowKeyword",e[e.TrueKeyword=103]="TrueKeyword",e[e.TryKeyword=104]="TryKeyword",e[e.TypeOfKeyword=105]="TypeOfKeyword",e[e.VarKeyword=106]="VarKeyword",e[e.VoidKeyword=107]="VoidKeyword",e[e.WhileKeyword=108]="WhileKeyword",e[e.WithKeyword=109]="WithKeyword",e[e.ImplementsKeyword=110]="ImplementsKeyword",e[e.InterfaceKeyword=111]="InterfaceKeyword",e[e.LetKeyword=112]="LetKeyword",e[e.PackageKeyword=113]="PackageKeyword",e[e.PrivateKeyword=114]="PrivateKeyword",e[e.ProtectedKeyword=115]="ProtectedKeyword",e[e.PublicKeyword=116]="PublicKeyword",e[e.StaticKeyword=117]="StaticKeyword",e[e.YieldKeyword=118]="YieldKeyword",e[e.AbstractKeyword=119]="AbstractKeyword",e[e.AsKeyword=120]="AsKeyword",e[e.AnyKeyword=121]="AnyKeyword",e[e.AsyncKeyword=122]="AsyncKeyword",e[e.AwaitKeyword=123]="AwaitKeyword",e[e.BooleanKeyword=124]="BooleanKeyword",e[e.ConstructorKeyword=125]="ConstructorKeyword",e[e.DeclareKeyword=126]="DeclareKeyword",e[e.GetKeyword=127]="GetKeyword",e[e.InferKeyword=128]="InferKeyword",e[e.IsKeyword=129]="IsKeyword",e[e.KeyOfKeyword=130]="KeyOfKeyword",e[e.ModuleKeyword=131]="ModuleKeyword",e[e.NamespaceKeyword=132]="NamespaceKeyword",e[e.NeverKeyword=133]="NeverKeyword",e[e.ReadonlyKeyword=134]="ReadonlyKeyword",e[e.RequireKeyword=135]="RequireKeyword",e[e.NumberKeyword=136]="NumberKeyword",e[e.ObjectKeyword=137]="ObjectKeyword",e[e.SetKeyword=138]="SetKeyword",e[e.StringKeyword=139]="StringKeyword",e[e.SymbolKeyword=140]="SymbolKeyword",e[e.TypeKeyword=141]="TypeKeyword",e[e.UndefinedKeyword=142]="UndefinedKeyword",e[e.UniqueKeyword=143]="UniqueKeyword",e[e.UnknownKeyword=144]="UnknownKeyword",e[e.FromKeyword=145]="FromKeyword",e[e.GlobalKeyword=146]="GlobalKeyword",e[e.BigIntKeyword=147]="BigIntKeyword",e[e.OfKeyword=148]="OfKeyword",e[e.QualifiedName=149]="QualifiedName",e[e.ComputedPropertyName=150]="ComputedPropertyName",e[e.TypeParameter=151]="TypeParameter",e[e.Parameter=152]="Parameter",e[e.Decorator=153]="Decorator",e[e.PropertySignature=154]="PropertySignature",e[e.PropertyDeclaration=155]="PropertyDeclaration",e[e.MethodSignature=156]="MethodSignature",e[e.MethodDeclaration=157]="MethodDeclaration",e[e.Constructor=158]="Constructor",e[e.GetAccessor=159]="GetAccessor",e[e.SetAccessor=160]="SetAccessor",e[e.CallSignature=161]="CallSignature",e[e.ConstructSignature=162]="ConstructSignature",e[e.IndexSignature=163]="IndexSignature",e[e.TypePredicate=164]="TypePredicate",e[e.TypeReference=165]="TypeReference",e[e.FunctionType=166]="FunctionType",e[e.ConstructorType=167]="ConstructorType",e[e.TypeQuery=168]="TypeQuery",e[e.TypeLiteral=169]="TypeLiteral",e[e.ArrayType=170]="ArrayType",e[e.TupleType=171]="TupleType",e[e.OptionalType=172]="OptionalType",e[e.RestType=173]="RestType",e[e.UnionType=174]="UnionType",e[e.IntersectionType=175]="IntersectionType",e[e.ConditionalType=176]="ConditionalType",e[e.InferType=177]="InferType",e[e.ParenthesizedType=178]="ParenthesizedType",e[e.ThisType=179]="ThisType",e[e.TypeOperator=180]="TypeOperator",e[e.IndexedAccessType=181]="IndexedAccessType",e[e.MappedType=182]="MappedType",e[e.LiteralType=183]="LiteralType",e[e.ImportType=184]="ImportType",e[e.ObjectBindingPattern=185]="ObjectBindingPattern",e[e.ArrayBindingPattern=186]="ArrayBindingPattern",e[e.BindingElement=187]="BindingElement",e[e.ArrayLiteralExpression=188]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=189]="ObjectLiteralExpression",e[e.PropertyAccessExpression=190]="PropertyAccessExpression",e[e.ElementAccessExpression=191]="ElementAccessExpression",e[e.CallExpression=192]="CallExpression",e[e.NewExpression=193]="NewExpression",e[e.TaggedTemplateExpression=194]="TaggedTemplateExpression",e[e.TypeAssertionExpression=195]="TypeAssertionExpression",e[e.ParenthesizedExpression=196]="ParenthesizedExpression",e[e.FunctionExpression=197]="FunctionExpression",e[e.ArrowFunction=198]="ArrowFunction",e[e.DeleteExpression=199]="DeleteExpression",e[e.TypeOfExpression=200]="TypeOfExpression",e[e.VoidExpression=201]="VoidExpression",e[e.AwaitExpression=202]="AwaitExpression",e[e.PrefixUnaryExpression=203]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=204]="PostfixUnaryExpression",e[e.BinaryExpression=205]="BinaryExpression",e[e.ConditionalExpression=206]="ConditionalExpression",e[e.TemplateExpression=207]="TemplateExpression",e[e.YieldExpression=208]="YieldExpression",e[e.SpreadElement=209]="SpreadElement",e[e.ClassExpression=210]="ClassExpression",e[e.OmittedExpression=211]="OmittedExpression",e[e.ExpressionWithTypeArguments=212]="ExpressionWithTypeArguments",e[e.AsExpression=213]="AsExpression",e[e.NonNullExpression=214]="NonNullExpression",e[e.MetaProperty=215]="MetaProperty",e[e.SyntheticExpression=216]="SyntheticExpression",e[e.TemplateSpan=217]="TemplateSpan",e[e.SemicolonClassElement=218]="SemicolonClassElement",e[e.Block=219]="Block",e[e.VariableStatement=220]="VariableStatement",e[e.EmptyStatement=221]="EmptyStatement",e[e.ExpressionStatement=222]="ExpressionStatement",e[e.IfStatement=223]="IfStatement",e[e.DoStatement=224]="DoStatement",e[e.WhileStatement=225]="WhileStatement",e[e.ForStatement=226]="ForStatement",e[e.ForInStatement=227]="ForInStatement",e[e.ForOfStatement=228]="ForOfStatement",e[e.ContinueStatement=229]="ContinueStatement",e[e.BreakStatement=230]="BreakStatement",e[e.ReturnStatement=231]="ReturnStatement",e[e.WithStatement=232]="WithStatement",e[e.SwitchStatement=233]="SwitchStatement",e[e.LabeledStatement=234]="LabeledStatement",e[e.ThrowStatement=235]="ThrowStatement",e[e.TryStatement=236]="TryStatement",e[e.DebuggerStatement=237]="DebuggerStatement",e[e.VariableDeclaration=238]="VariableDeclaration",e[e.VariableDeclarationList=239]="VariableDeclarationList",e[e.FunctionDeclaration=240]="FunctionDeclaration",e[e.ClassDeclaration=241]="ClassDeclaration",e[e.InterfaceDeclaration=242]="InterfaceDeclaration",e[e.TypeAliasDeclaration=243]="TypeAliasDeclaration",e[e.EnumDeclaration=244]="EnumDeclaration",e[e.ModuleDeclaration=245]="ModuleDeclaration",e[e.ModuleBlock=246]="ModuleBlock",e[e.CaseBlock=247]="CaseBlock",e[e.NamespaceExportDeclaration=248]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=249]="ImportEqualsDeclaration",e[e.ImportDeclaration=250]="ImportDeclaration",e[e.ImportClause=251]="ImportClause",e[e.NamespaceImport=252]="NamespaceImport",e[e.NamedImports=253]="NamedImports",e[e.ImportSpecifier=254]="ImportSpecifier",e[e.ExportAssignment=255]="ExportAssignment",e[e.ExportDeclaration=256]="ExportDeclaration",e[e.NamedExports=257]="NamedExports",e[e.ExportSpecifier=258]="ExportSpecifier",e[e.MissingDeclaration=259]="MissingDeclaration",e[e.ExternalModuleReference=260]="ExternalModuleReference",e[e.JsxElement=261]="JsxElement",e[e.JsxSelfClosingElement=262]="JsxSelfClosingElement",e[e.JsxOpeningElement=263]="JsxOpeningElement",e[e.JsxClosingElement=264]="JsxClosingElement",e[e.JsxFragment=265]="JsxFragment",e[e.JsxOpeningFragment=266]="JsxOpeningFragment",e[e.JsxClosingFragment=267]="JsxClosingFragment",e[e.JsxAttribute=268]="JsxAttribute",e[e.JsxAttributes=269]="JsxAttributes",e[e.JsxSpreadAttribute=270]="JsxSpreadAttribute",e[e.JsxExpression=271]="JsxExpression",e[e.CaseClause=272]="CaseClause",e[e.DefaultClause=273]="DefaultClause",e[e.HeritageClause=274]="HeritageClause",e[e.CatchClause=275]="CatchClause",e[e.PropertyAssignment=276]="PropertyAssignment",e[e.ShorthandPropertyAssignment=277]="ShorthandPropertyAssignment",e[e.SpreadAssignment=278]="SpreadAssignment",e[e.EnumMember=279]="EnumMember",e[e.UnparsedPrologue=280]="UnparsedPrologue",e[e.UnparsedPrepend=281]="UnparsedPrepend",e[e.UnparsedText=282]="UnparsedText",e[e.UnparsedInternalText=283]="UnparsedInternalText",e[e.UnparsedSyntheticReference=284]="UnparsedSyntheticReference",e[e.SourceFile=285]="SourceFile",e[e.Bundle=286]="Bundle",e[e.UnparsedSource=287]="UnparsedSource",e[e.InputFiles=288]="InputFiles",e[e.JSDocTypeExpression=289]="JSDocTypeExpression",e[e.JSDocAllType=290]="JSDocAllType",e[e.JSDocUnknownType=291]="JSDocUnknownType",e[e.JSDocNullableType=292]="JSDocNullableType",e[e.JSDocNonNullableType=293]="JSDocNonNullableType",e[e.JSDocOptionalType=294]="JSDocOptionalType",e[e.JSDocFunctionType=295]="JSDocFunctionType",e[e.JSDocVariadicType=296]="JSDocVariadicType",e[e.JSDocComment=297]="JSDocComment",e[e.JSDocTypeLiteral=298]="JSDocTypeLiteral",e[e.JSDocSignature=299]="JSDocSignature",e[e.JSDocTag=300]="JSDocTag",e[e.JSDocAugmentsTag=301]="JSDocAugmentsTag",e[e.JSDocClassTag=302]="JSDocClassTag",e[e.JSDocCallbackTag=303]="JSDocCallbackTag",e[e.JSDocEnumTag=304]="JSDocEnumTag",e[e.JSDocParameterTag=305]="JSDocParameterTag",e[e.JSDocReturnTag=306]="JSDocReturnTag",e[e.JSDocThisTag=307]="JSDocThisTag",e[e.JSDocTypeTag=308]="JSDocTypeTag",e[e.JSDocTemplateTag=309]="JSDocTemplateTag",e[e.JSDocTypedefTag=310]="JSDocTypedefTag",e[e.JSDocPropertyTag=311]="JSDocPropertyTag",e[e.SyntaxList=312]="SyntaxList",e[e.NotEmittedStatement=313]="NotEmittedStatement",e[e.PartiallyEmittedExpression=314]="PartiallyEmittedExpression",e[e.CommaListExpression=315]="CommaListExpression",e[e.MergeDeclarationMarker=316]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=317]="EndOfDeclarationMarker",e[e.Count=318]="Count",e[e.FirstAssignment=60]="FirstAssignment",e[e.LastAssignment=72]="LastAssignment",e[e.FirstCompoundAssignment=61]="FirstCompoundAssignment",e[e.LastCompoundAssignment=72]="LastCompoundAssignment",e[e.FirstReservedWord=74]="FirstReservedWord",e[e.LastReservedWord=109]="LastReservedWord",e[e.FirstKeyword=74]="FirstKeyword",e[e.LastKeyword=148]="LastKeyword",e[e.FirstFutureReservedWord=110]="FirstFutureReservedWord",e[e.LastFutureReservedWord=118]="LastFutureReservedWord",e[e.FirstTypeNode=164]="FirstTypeNode",e[e.LastTypeNode=184]="LastTypeNode",e[e.FirstPunctuation=18]="FirstPunctuation",e[e.LastPunctuation=72]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=148]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=8]="FirstLiteralToken",e[e.LastLiteralToken=14]="LastLiteralToken",e[e.FirstTemplateToken=14]="FirstTemplateToken",e[e.LastTemplateToken=17]="LastTemplateToken",e[e.FirstBinaryOperator=28]="FirstBinaryOperator",e[e.LastBinaryOperator=72]="LastBinaryOperator",e[e.FirstNode=149]="FirstNode",e[e.FirstJSDocNode=289]="FirstJSDocNode",e[e.LastJSDocNode=311]="LastJSDocNode",e[e.FirstJSDocTagNode=300]="FirstJSDocTagNode",e[e.LastJSDocTagNode=311]="LastJSDocTagNode",e[e.FirstContextualKeyword=119]="FirstContextualKeyword",e[e.LastContextualKeyword=148]="LastContextualKeyword"}(e.SyntaxKind||(e.SyntaxKind={})),function(e){e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.NestedNamespace=4]="NestedNamespace",e[e.Synthesized=8]="Synthesized",e[e.Namespace=16]="Namespace",e[e.ExportContext=32]="ExportContext",e[e.ContainsThis=64]="ContainsThis",e[e.HasImplicitReturn=128]="HasImplicitReturn",e[e.HasExplicitReturn=256]="HasExplicitReturn",e[e.GlobalAugmentation=512]="GlobalAugmentation",e[e.HasAsyncFunctions=1024]="HasAsyncFunctions",e[e.DisallowInContext=2048]="DisallowInContext",e[e.YieldContext=4096]="YieldContext",e[e.DecoratorContext=8192]="DecoratorContext",e[e.AwaitContext=16384]="AwaitContext",e[e.ThisNodeHasError=32768]="ThisNodeHasError",e[e.JavaScriptFile=65536]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=131072]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=262144]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=524288]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=1048576]="PossiblyContainsImportMeta",e[e.JSDoc=2097152]="JSDoc",e[e.Ambient=4194304]="Ambient",e[e.InWithStatement=8388608]="InWithStatement",e[e.JsonFile=16777216]="JsonFile",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=384]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=1408]="ReachabilityAndEmitFlags",e[e.ContextFlags=12679168]="ContextFlags",e[e.TypeExcludesFlags=20480]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=1572864]="PermanentlySetIncrementalFlags"}(e.NodeFlags||(e.NodeFlags={})),function(e){e[e.None=0]="None",e[e.Export=1]="Export",e[e.Ambient=2]="Ambient",e[e.Public=4]="Public",e[e.Private=8]="Private",e[e.Protected=16]="Protected",e[e.Static=32]="Static",e[e.Readonly=64]="Readonly",e[e.Abstract=128]="Abstract",e[e.Async=256]="Async",e[e.Default=512]="Default",e[e.Const=2048]="Const",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=92]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=2270]="TypeScriptModifier",e[e.ExportDefault=513]="ExportDefault",e[e.All=3071]="All"}(e.ModifierFlags||(e.ModifierFlags={})),function(e){e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement"}(e.JsxFlags||(e.JsxFlags={})),function(e){e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.FailedAndReported=3]="FailedAndReported"}(e.RelationComparisonResult||(e.RelationComparisonResult={})),function(e){e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel"}(e.GeneratedIdentifierFlags||(e.GeneratedIdentifierFlags={})),function(e){e[e.None=0]="None",e[e.PrecedingLineBreak=1]="PrecedingLineBreak",e[e.PrecedingJSDocComment=2]="PrecedingJSDocComment",e[e.Unterminated=4]="Unterminated",e[e.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",e[e.Scientific=16]="Scientific",e[e.Octal=32]="Octal",e[e.HexSpecifier=64]="HexSpecifier",e[e.BinarySpecifier=128]="BinarySpecifier",e[e.OctalSpecifier=256]="OctalSpecifier",e[e.ContainsSeparator=512]="ContainsSeparator",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.NumericLiteralFlags=1008]="NumericLiteralFlags"}(e.TokenFlags||(e.TokenFlags={})),function(e){e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Referenced=512]="Referenced",e[e.Shared=1024]="Shared",e[e.PreFinally=2048]="PreFinally",e[e.AfterFinally=4096]="AfterFinally",e[e.Cached=8192]="Cached",e[e.Label=12]="Label",e[e.Condition=96]="Condition"}(e.FlowFlags||(e.FlowFlags={}));var n,t=function(){};e.OperationCanceledException=t,function(e){e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely"}(e.StructureIsReused||(e.StructureIsReused={})),function(e){e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated"}(e.ExitStatus||(e.ExitStatus={})),function(e){e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype"}(e.UnionReduction||(e.UnionReduction={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifedNameInPlaceOfIdentifier=65536]="AllowQualifedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e[e.InReverseMappedType=33554432]="InReverseMappedType"}(e.NodeBuilderFlags||(e.NodeBuilderFlags={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.WriteOwnNameForAnyLike=0]="WriteOwnNameForAnyLike",e[e.NodeBuilderFlagsMask=9469291]="NodeBuilderFlagsMask"}(e.TypeFormatFlags||(e.TypeFormatFlags={})),function(e){e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",e[e.DoNotIncludeSymbolChain=16]="DoNotIncludeSymbolChain"}(e.SymbolFormatFlags||(e.SymbolFormatFlags={})),function(e){e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed"}(e.SymbolAccessibility||(e.SymbolAccessibility={})),function(e){e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread"}(e.SyntheticSymbolKind||(e.SyntheticSymbolKind={})),function(e){e[e.This=0]="This",e[e.Identifier=1]="Identifier"}(e.TypePredicateKind||(e.TypePredicateKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.BigIntLikeType=4]="BigIntLikeType",e[e.StringLikeType=5]="StringLikeType",e[e.BooleanType=6]="BooleanType",e[e.ArrayLikeType=7]="ArrayLikeType",e[e.ESSymbolType=8]="ESSymbolType",e[e.Promise=9]="Promise",e[e.TypeWithCallSignature=10]="TypeWithCallSignature",e[e.ObjectType=11]="ObjectType"}(e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={})),function(e){e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.Assignment=67108864]="Assignment",e[e.ModuleExports=134217728]="ModuleExports",e[e.All=67108863]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=67220415]="Value",e[e.Type=67897832]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=67220414]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=67220415]="BlockScopedVariableExcludes",e[e.ParameterExcludes=67220415]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=68008959]="EnumMemberExcludes",e[e.FunctionExcludes=67219887]="FunctionExcludes",e[e.ClassExcludes=68008383]="ClassExcludes",e[e.InterfaceExcludes=67897736]="InterfaceExcludes",e[e.RegularEnumExcludes=68008191]="RegularEnumExcludes",e[e.ConstEnumExcludes=68008831]="ConstEnumExcludes",e[e.ValueModuleExcludes=110735]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=67212223]="MethodExcludes",e[e.GetAccessorExcludes=67154879]="GetAccessorExcludes",e[e.SetAccessorExcludes=67187647]="SetAccessorExcludes",e[e.TypeParameterExcludes=67635688]="TypeParameterExcludes",e[e.TypeAliasExcludes=67897832]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6240]="LateBindingContainer"}(e.SymbolFlags||(e.SymbolFlags={})),function(e){e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal"}(e.EnumKind||(e.EnumKind={})),function(e){e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial"}(e.CheckFlags||(e.CheckFlags={})),function(e){e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default",e.This="this"}(e.InternalSymbolName||(e.InternalSymbolName={})),function(e){e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=256]="SuperInstance",e[e.SuperStatic=512]="SuperStatic",e[e.ContextChecked=1024]="ContextChecked",e[e.AsyncMethodWithSuper=2048]="AsyncMethodWithSuper",e[e.AsyncMethodWithSuperBinding=4096]="AsyncMethodWithSuperBinding",e[e.CaptureArguments=8192]="CaptureArguments",e[e.EnumValuesComputed=16384]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=32768]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=65536]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=131072]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=262144]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=524288]="BlockScopedBindingInLoop",e[e.ClassWithBodyScopedClassBinding=1048576]="ClassWithBodyScopedClassBinding",e[e.BodyScopedClassBinding=2097152]="BodyScopedClassBinding",e[e.NeedsLoopOutParameter=4194304]="NeedsLoopOutParameter",e[e.AssignmentsMarked=8388608]="AssignmentsMarked",e[e.ClassWithConstructorReference=16777216]="ClassWithConstructorReference",e[e.ConstructorReferenceInClass=33554432]="ConstructorReferenceInClass"}(e.NodeCheckFlags||(e.NodeCheckFlags={})),function(e){e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109440]="Unit",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.Primitive=131068]="Primitive",e[e.StringLike=132]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.DisjointDomains=67238908]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=4194304]="InstantiablePrimitive",e[e.Instantiable=63176704]="Instantiable",e[e.StructuredOrInstantiable=66846720]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899392]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Narrowable=133970943]="Narrowable",e[e.NotUnionOrUnit=67637251]="NotUnionOrUnit",e[e.NotPrimitiveUnion=66994211]="NotPrimitiveUnion",e[e.IncludesMask=1835007]="IncludesMask",e[e.IncludesStructuredOrInstantiable=262144]="IncludesStructuredOrInstantiable",e[e.IncludesNonWideningType=2097152]="IncludesNonWideningType",e[e.IncludesWildcard=4194304]="IncludesWildcard",e[e.IncludesEmptyObject=8388608]="IncludesEmptyObject",e[e.GenericMappedType=131072]="GenericMappedType"}(e.TypeFlags||(e.TypeFlags={})),function(e){e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ContainsSpread=1024]="ContainsSpread",e[e.ReverseMapped=2048]="ReverseMapped",e[e.JsxAttributes=4096]="JsxAttributes",e[e.MarkerType=8192]="MarkerType",e[e.JSLiteral=16384]="JSLiteral",e[e.FreshLiteral=32768]="FreshLiteral",e[e.PrimitiveUnion=65536]="PrimitiveUnion",e[e.ContainsWideningType=131072]="ContainsWideningType",e[e.ContainsObjectLiteral=262144]="ContainsObjectLiteral",e[e.NonInferrableType=524288]="NonInferrableType",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=393216]="RequiresWidening",e[e.PropagatingFlags=917504]="PropagatingFlags"}(e.ObjectFlags||(e.ObjectFlags={})),function(e){e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent",e[e.VarianceMask=7]="VarianceMask",e[e.Unmeasurable=8]="Unmeasurable",e[e.Unreliable=16]="Unreliable",e[e.AllowsStructuralFallback=24]="AllowsStructuralFallback"}(e.VarianceFlags||(e.VarianceFlags={})),function(e){e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed"}(e.JsxReferenceKind||(e.JsxReferenceKind={})),function(e){e[e.Call=0]="Call",e[e.Construct=1]="Construct"}(e.SignatureKind||(e.SignatureKind={})),function(e){e[e.String=0]="String",e[e.Number=1]="Number"}(e.IndexKind||(e.IndexKind={})),function(e){e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.HomomorphicMappedType=2]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=4]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=8]="MappedTypeConstraint",e[e.ReturnType=16]="ReturnType",e[e.LiteralKeyof=32]="LiteralKeyof",e[e.NoConstraints=64]="NoConstraints",e[e.AlwaysStrict=128]="AlwaysStrict",e[e.PriorityImpliesCombination=56]="PriorityImpliesCombination"}(e.InferencePriority||(e.InferencePriority={})),function(e){e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction"}(e.InferenceFlags||(e.InferenceFlags={})),function(e){e[e.False=0]="False",e[e.Maybe=1]="Maybe",e[e.True=-1]="True"}(e.Ternary||(e.Ternary={})),function(e){e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype",e[e.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",e[e.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",e[e.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty"}(e.AssignmentDeclarationKind||(e.AssignmentDeclarationKind={})),function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message"}(n=e.DiagnosticCategory||(e.DiagnosticCategory={})),e.diagnosticCategoryName=function(e,t){void 0===t&&(t=!0);var r=n[e.category];return t?r.toLowerCase():r},function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(e.ModuleResolutionKind||(e.ModuleResolutionKind={})),function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=6]="ESNext"}(e.ModuleKind||(e.ModuleKind={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative"}(e.JsxEmit||(e.JsxEmit={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(e.NewLineKind||(e.NewLineKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="External",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred"}(e.ScriptKind||(e.ScriptKind={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=8]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=8]="Latest"}(e.ScriptTarget||(e.ScriptTarget={})),function(e){e[e.Standard=0]="Standard",e[e.JSX=1]="JSX"}(e.LanguageVariant||(e.LanguageVariant={})),function(e){e[e.None=0]="None",e[e.Recursive=1]="Recursive"}(e.WatchDirectoryFlags||(e.WatchDirectoryFlags={})),function(e){e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab"}(e.CharacterCodes||(e.CharacterCodes={})),function(e){e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo"}(e.Extension||(e.Extension={})),function(e){e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2019=8]="ContainsES2019",e[e.ContainsES2018=16]="ContainsES2018",e[e.ContainsES2017=32]="ContainsES2017",e[e.ContainsES2016=64]="ContainsES2016",e[e.ContainsES2015=128]="ContainsES2015",e[e.ContainsGenerator=256]="ContainsGenerator",e[e.ContainsDestructuringAssignment=512]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=1024]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=2048]="ContainsLexicalThis",e[e.ContainsRestOrSpread=4096]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=8192]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=16384]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=32768]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=65536]="ContainsBindingPattern",e[e.ContainsYield=131072]="ContainsYield",e[e.ContainsHoistedDeclarationOrCompletion=262144]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=524288]="ContainsDynamicImport",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2019=8]="AssertES2019",e[e.AssertES2018=16]="AssertES2018",e[e.AssertES2017=32]="AssertES2017",e[e.AssertES2016=64]="AssertES2016",e[e.AssertES2015=128]="AssertES2015",e[e.AssertGenerator=256]="AssertGenerator",e[e.AssertDestructuringAssignment=512]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=536870912]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=536870912]="PropertyAccessExcludes",e[e.NodeExcludes=536870912]="NodeExcludes",e[e.ArrowFunctionExcludes=537371648]="ArrowFunctionExcludes",e[e.FunctionExcludes=537373696]="FunctionExcludes",e[e.ConstructorExcludes=537372672]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=537372672]="MethodOrAccessorExcludes",e[e.PropertyExcludes=536872960]="PropertyExcludes",e[e.ClassExcludes=536888320]="ClassExcludes",e[e.ModuleExcludes=537168896]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=536896512]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=536875008]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=536944640]="VariableDeclarationListExcludes",e[e.ParameterExcludes=536870912]="ParameterExcludes",e[e.CatchClauseExcludes=536879104]="CatchClauseExcludes",e[e.BindingPatternExcludes=536875008]="BindingPatternExcludes",e[e.PropertyNamePropagatingFlags=2048]="PropertyNamePropagatingFlags"}(e.TransformFlags||(e.TransformFlags={})),function(e){e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.AdviseOnEmitNode=2]="AdviseOnEmitNode",e[e.NoSubstitution=4]="NoSubstitution",e[e.CapturesThis=8]="CapturesThis",e[e.NoLeadingSourceMap=16]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=32]="NoTrailingSourceMap",e[e.NoSourceMap=48]="NoSourceMap",e[e.NoNestedSourceMaps=64]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=128]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=256]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=384]="NoTokenSourceMaps",e[e.NoLeadingComments=512]="NoLeadingComments",e[e.NoTrailingComments=1024]="NoTrailingComments",e[e.NoComments=1536]="NoComments",e[e.NoNestedComments=2048]="NoNestedComments",e[e.HelperName=4096]="HelperName",e[e.ExportName=8192]="ExportName",e[e.LocalName=16384]="LocalName",e[e.InternalName=32768]="InternalName",e[e.Indented=65536]="Indented",e[e.NoIndentation=131072]="NoIndentation",e[e.AsyncFunctionBody=262144]="AsyncFunctionBody",e[e.ReuseTempVariableScope=524288]="ReuseTempVariableScope",e[e.CustomPrologue=1048576]="CustomPrologue",e[e.NoHoisting=2097152]="NoHoisting",e[e.HasEndOfDeclarationMarker=4194304]="HasEndOfDeclarationMarker",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e[e.TypeScriptClassWrapper=33554432]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=67108864]="NeverApplyImportHelper"}(e.EmitFlags||(e.EmitFlags={})),function(e){e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.Spread=1024]="Spread",e[e.Await=2048]="Await",e[e.AsyncGenerator=4096]="AsyncGenerator",e[e.AsyncDelegator=8192]="AsyncDelegator",e[e.AsyncValues=16384]="AsyncValues",e[e.ExportStar=32768]="ExportStar",e[e.MakeTemplateObject=65536]="MakeTemplateObject",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=65536]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes"}(e.ExternalEmitHelpers||(e.ExternalEmitHelpers={})),function(e){e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified",e[e.EmbeddedStatement=5]="EmbeddedStatement"}(e.EmitHint||(e.EmitHint={})),function(e){e.Prologue="prologue",e.EmitHelpers="emitHelpers",e.NoDefaultLib="no-default-lib",e.Reference="reference",e.Type="type",e.Lib="lib",e.Prepend="prepend",e.Text="text",e.Internal="internal"}(e.BundleFileSectionKind||(e.BundleFileSectionKind={})),function(e){e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.AsteriskDelimited=32]="AsteriskDelimited",e[e.DelimitersMask=60]="DelimitersMask",e[e.AllowTrailingComma=64]="AllowTrailingComma",e[e.Indented=128]="Indented",e[e.SpaceBetweenBraces=256]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",e[e.Braces=1024]="Braces",e[e.Parenthesis=2048]="Parenthesis",e[e.AngleBrackets=4096]="AngleBrackets",e[e.SquareBrackets=8192]="SquareBrackets",e[e.BracketsMask=15360]="BracketsMask",e[e.OptionalIfUndefined=16384]="OptionalIfUndefined",e[e.OptionalIfEmpty=32768]="OptionalIfEmpty",e[e.Optional=49152]="Optional",e[e.PreferNewLine=65536]="PreferNewLine",e[e.NoTrailingNewLine=131072]="NoTrailingNewLine",e[e.NoInterveningComments=262144]="NoInterveningComments",e[e.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",e[e.SingleElement=1048576]="SingleElement",e[e.Modifiers=262656]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.TupleTypeElements=528]="TupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=49153]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment"}(e.ListFormat||(e.ListFormat={})),function(e){e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default"}(e.PragmaKindFlags||(e.PragmaKindFlags={})),e.commentPragmas={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4}}}(c||(c={})),function(n){var t,r;function a(e){var n;return(n={})[r.Low]=e.Low,n[r.Medium]=e.Medium,n[r.High]=e.High,n}n.generateDjb2Hash=function(e){for(var n=5381,t=0;t0;m(),s--){var u=e[i];if(u)if(u.isClosed)e[i]=void 0;else{d++;var p=c(u,y(u.fileName));u.isClosed?e[i]=void 0:p?(u.unchangedPolls=0,e!==a&&(e[i]=void 0,_(u))):u.unchangedPolls!==n.unchangedPollThresholds[t]?u.unchangedPolls++:e===a?(u.unchangedPolls=1,e[i]=void 0,g(u,r.Low)):t!==r.High&&(u.unchangedPolls++,e[i]=void 0,g(u,t===r.Low?r.Medium:r.High)),e[i]&&(l type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:n(1066,e.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:n(1068,e.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:n(1069,e.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:n(1070,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:n(1071,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:n(1079,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:n(1084,e.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:n(1085,e.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),An_accessor_cannot_be_declared_in_an_ambient_context:n(1086,e.DiagnosticCategory.Error,"An_accessor_cannot_be_declared_in_an_ambient_context_1086","An accessor cannot be declared in an ambient context."),_0_modifier_cannot_appear_on_a_constructor_declaration:n(1089,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:n(1090,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:n(1091,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:n(1092,e.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:n(1093,e.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:n(1094,e.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:n(1095,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:n(1096,e.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:n(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:n(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:n(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:n(1100,e.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:n(1101,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:n(1102,e.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator:n(1103,e.DiagnosticCategory.Error,"A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103","A 'for-await-of' statement is only allowed within an async function or async generator."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:n(1104,e.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:n(1105,e.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),Jump_target_cannot_cross_function_boundary:n(1107,e.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:n(1108,e.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:n(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:n(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:n(1113,e.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:n(1114,e.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:n(1115,e.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:n(1116,e.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:n(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:n(1118,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:n(1119,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:n(1120,e.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:n(1121,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:n(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:n(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:n(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:n(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:n(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:n(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:n(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:n(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:n(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:n(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:n(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:n(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:n(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:n(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:n(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:n(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:n(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:n(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:n(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:n(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:n(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:n(1147,e.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:n(1148,e.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:n(1149,e.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead:n(1150,e.DiagnosticCategory.Error,"new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead_1150","'new T[]' cannot be used to create an array. Use 'new Array()' instead."),const_declarations_must_be_initialized:n(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:n(1156,e.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:n(1157,e.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:n(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:n(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:n(1162,e.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:n(1163,e.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:n(1164,e.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1165,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166","A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1168,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1169,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1170,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:n(1171,e.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:n(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:n(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:n(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:n(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:n(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:n(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:n(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:n(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:n(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:n(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:n(1182,e.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:n(1183,e.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:n(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:n(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:n(1186,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:n(1187,e.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:n(1188,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:n(1189,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:n(1190,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:n(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:n(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:n(1193,e.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:n(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),Catch_clause_variable_cannot_have_a_type_annotation:n(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_a_type_annotation_1196","Catch clause variable cannot have a type annotation."),Catch_clause_variable_cannot_have_an_initializer:n(1197,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:n(1198,e.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:n(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:n(1200,e.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:n(1202,e.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:n(1203,e.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided:n(1205,e.DiagnosticCategory.Error,"Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided_1205","Cannot re-export a type when the '--isolatedModules' flag is provided."),Decorators_are_not_valid_here:n(1206,e.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:n(1207,e.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),All_files_must_be_modules_when_the_isolatedModules_flag_is_provided:n(1208,e.DiagnosticCategory.Error,"All_files_must_be_modules_when_the_isolatedModules_flag_is_provided_1208","All files must be modules when the '--isolatedModules' flag is provided."),Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:n(1210,e.DiagnosticCategory.Error,"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210","Invalid use of '{0}'. Class definitions are automatically in strict mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:n(1211,e.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:n(1212,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:n(1213,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:n(1214,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:n(1215,e.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:n(1216,e.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:n(1218,e.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:n(1219,e.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:n(1220,e.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:n(1221,e.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:n(1222,e.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:n(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:n(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:n(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:n(1226,e.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:n(1227,e.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:n(1228,e.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:n(1229,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:n(1230,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_can_only_be_used_in_a_module:n(1231,e.DiagnosticCategory.Error,"An_export_assignment_can_only_be_used_in_a_module_1231","An export assignment can only be used in a module."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:n(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:n(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:n(1234,e.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:n(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:n(1236,e.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:n(1237,e.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:n(1238,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:n(1239,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:n(1240,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:n(1241,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:n(1242,e.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:n(1243,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:n(1244,e.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:n(1245,e.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:n(1246,e.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:n(1247,e.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:n(1248,e.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:n(1249,e.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:n(1250,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:n(1251,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:n(1252,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:n(1253,e.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:n(1254,e.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:n(1255,e.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_rest_element_must_be_last_in_a_tuple_type:n(1256,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_tuple_type_1256","A rest element must be last in a tuple type."),A_required_element_cannot_follow_an_optional_element:n(1257,e.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation:n(1258,e.DiagnosticCategory.Error,"Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation_1258","Definite assignment assertions can only be used along with a type annotation."),Module_0_can_only_be_default_imported_using_the_1_flag:n(1259,e.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),with_statements_are_not_allowed_in_an_async_function_block:n(1300,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expression_is_only_allowed_within_an_async_function:n(1308,e.DiagnosticCategory.Error,"await_expression_is_only_allowed_within_an_async_function_1308","'await' expression is only allowed within an async function."),can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment:n(1312,e.DiagnosticCategory.Error,"can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment_1312","'=' can only be used in an object literal property inside a destructuring assignment."),The_body_of_an_if_statement_cannot_be_the_empty_statement:n(1313,e.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:n(1314,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:n(1315,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:n(1316,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:n(1317,e.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:n(1318,e.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:n(1319,e.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1320,e.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1321,e.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1322,e.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_import_is_only_supported_when_module_flag_is_commonjs_or_esNext:n(1323,e.DiagnosticCategory.Error,"Dynamic_import_is_only_supported_when_module_flag_is_commonjs_or_esNext_1323","Dynamic import is only supported when '--module' flag is 'commonjs' or 'esNext'."),Dynamic_import_must_have_one_specifier_as_an_argument:n(1324,e.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:n(1325,e.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:n(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments"),String_literal_with_double_quotes_expected:n(1327,e.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:n(1328,e.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:n(1329,e.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:n(1330,e.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:n(1331,e.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:n(1332,e.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:n(1333,e.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:n(1334,e.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:n(1335,e.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead:n(1336,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336","An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]: {2}' instead."),An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead:n(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337","An index signature parameter type cannot be a union type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:n(1338,e.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:n(1339,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:n(1340,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:n(1342,e.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_using_ESNext_for_the_target_and_module_compiler_options:n(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_using_ESNext_for_the_target_and_module_compiler_option_1343","The 'import.meta' meta-property is only allowed using 'ESNext' for the 'target' and 'module' compiler options."),A_label_is_not_allowed_here:n(1344,e.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:n(1345,e.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness"),This_parameter_is_not_allowed_with_use_strict_directive:n(1346,e.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:n(1347,e.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:n(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:n(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:n(1350,e.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:n(1351,e.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:n(1352,e.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:n(1353,e.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:n(1354,e.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:n(1355,e.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:n(1356,e.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),Duplicate_identifier_0:n(2300,e.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:n(2301,e.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:n(2302,e.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:n(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:n(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:n(2305,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:n(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0:n(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_2307","Cannot find module '{0}'."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:n(2308,e.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:n(2309,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:n(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:n(2311,e.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2312,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:n(2313,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:n(2314,e.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:n(2315,e.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:n(2316,e.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:n(2317,e.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:n(2318,e.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:n(2319,e.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:n(2320,e.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:n(2321,e.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:n(2322,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:n(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:n(2324,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:n(2325,e.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:n(2326,e.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:n(2327,e.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:n(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_is_missing_in_type_0:n(2329,e.DiagnosticCategory.Error,"Index_signature_is_missing_in_type_0_2329","Index signature is missing in type '{0}'."),Index_signatures_are_incompatible:n(2330,e.DiagnosticCategory.Error,"Index_signatures_are_incompatible_2330","Index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:n(2331,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:n(2332,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:n(2333,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:n(2334,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:n(2335,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:n(2336,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:n(2337,e.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:n(2338,e.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:n(2339,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:n(2340,e.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:n(2341,e.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:n(2342,e.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1:n(2343,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1_2343","This syntax requires an imported helper named '{1}', but module '{0}' has no exported member '{1}'."),Type_0_does_not_satisfy_the_constraint_1:n(2344,e.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:n(2345,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:n(2346,e.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:n(2347,e.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:n(2348,e.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures:n(2349,e.DiagnosticCategory.Error,"Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatur_2349","Cannot invoke an expression whose type lacks a call signature. Type '{0}' has no compatible call signatures."),Only_a_void_function_can_be_called_with_the_new_keyword:n(2350,e.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature:n(2351,e.DiagnosticCategory.Error,"Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature_2351","Cannot use 'new' with an expression whose type lacks a call or construct signature."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:n(2352,e.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:n(2353,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:n(2354,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:n(2355,e.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:n(2356,e.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:n(2357,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:n(2358,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:n(2359,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:n(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:n(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361","The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2362,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2363,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:n(2364,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:n(2365,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:n(2366,e.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:n(2367,e.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:n(2368,e.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:n(2369,e.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:n(2370,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:n(2371,e.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_be_referenced_in_its_initializer:n(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_be_referenced_in_its_initializer_2372","Parameter '{0}' cannot be referenced in its initializer."),Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it:n(2373,e.DiagnosticCategory.Error,"Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_string_index_signature:n(2374,e.DiagnosticCategory.Error,"Duplicate_string_index_signature_2374","Duplicate string index signature."),Duplicate_number_index_signature:n(2375,e.DiagnosticCategory.Error,"Duplicate_number_index_signature_2375","Duplicate number index signature."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_or_has_parameter_properties:n(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties."),Constructors_for_derived_classes_must_contain_a_super_call:n(2377,e.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:n(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Getter_and_setter_accessors_do_not_agree_in_visibility:n(2379,e.DiagnosticCategory.Error,"Getter_and_setter_accessors_do_not_agree_in_visibility_2379","Getter and setter accessors do not agree in visibility."),get_and_set_accessor_must_have_the_same_type:n(2380,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_type_2380","'get' and 'set' accessor must have the same type."),A_signature_with_an_implementation_cannot_use_a_string_literal_type:n(2381,e.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:n(2382,e.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:n(2383,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:n(2384,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:n(2385,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:n(2386,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:n(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:n(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:n(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:n(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:n(2391,e.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:n(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:n(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:n(2394,e.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:n(2395,e.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:n(2396,e.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:n(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:n(2399,e.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:n(2400,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:n(2401,e.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:n(2402,e.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:n(2403,e.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:n(2404,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:n(2405,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:n(2406,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:n(2407,e.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:n(2408,e.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:n(2409,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:n(2410,e.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Property_0_of_type_1_is_not_assignable_to_string_index_type_2:n(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411","Property '{0}' of type '{1}' is not assignable to string index type '{2}'."),Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:n(2412,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412","Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'."),Numeric_index_type_0_is_not_assignable_to_string_index_type_1:n(2413,e.DiagnosticCategory.Error,"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413","Numeric index type '{0}' is not assignable to string index type '{1}'."),Class_name_cannot_be_0:n(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:n(2415,e.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:n(2416,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:n(2417,e.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:n(2418,e.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Class_0_incorrectly_implements_interface_1:n(2420,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2422,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:n(2423,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_property:n(2424,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_proper_2424","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:n(2425,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:n(2426,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:n(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:n(2428,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:n(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:n(2431,e.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:n(2432,e.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:n(2433,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:n(2434,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:n(2435,e.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:n(2436,e.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:n(2437,e.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:n(2438,e.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:n(2439,e.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:n(2440,e.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:n(2441,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:n(2442,e.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:n(2443,e.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:n(2444,e.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:n(2445,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1:n(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:n(2447,e.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:n(2448,e.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:n(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:n(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:n(2451,e.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:n(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:n(2453,e.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:n(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:n(2455,e.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself:n(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:n(2457,e.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:n(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Type_0_is_not_an_array_type:n(2461,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:n(2462,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:n(2463,e.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:n(2464,e.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:n(2465,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:n(2466,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:n(2467,e.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:n(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:n(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:n(2470,e.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:n(2471,e.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:n(2472,e.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:n(2473,e.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:n(2474,e.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:n(2475,e.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:n(2476,e.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:n(2477,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:n(2478,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:n(2479,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:n(2480,e.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:n(2481,e.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:n(2483,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:n(2484,e.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:n(2487,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2488,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:n(2489,e.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property:n(2490,e.DiagnosticCategory.Error,"The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the 'next()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:n(2491,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:n(2492,e.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:n(2493,e.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:n(2494,e.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:n(2495,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:n(2496,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:n(2497,e.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:n(2498,e.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2499,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2500,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:n(2501,e.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:n(2502,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:n(2503,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:n(2504,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:n(2505,e.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:n(2506,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:n(2507,e.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:n(2508,e.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2509,e.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:n(2510,e.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:n(2511,e.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:n(2512,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:n(2513,e.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:n(2514,e.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:n(2515,e.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:n(2516,e.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:n(2517,e.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:n(2518,e.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:n(2519,e.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:n(2520,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:n(2521,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:n(2522,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:n(2523,e.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:n(2524,e.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:n(2525,e.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:n(2526,e.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:n(2527,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:n(2528,e.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:n(2529,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:n(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:n(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:n(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:n(2533,e.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:n(2534,e.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:n(2535,e.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:n(2536,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:n(2537,e.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:n(2538,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:n(2539,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:n(2540,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:n(2541,e.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:n(2542,e.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:n(2543,e.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:n(2544,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:n(2545,e.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1:n(2546,e.DiagnosticCategory.Error,"Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1_2546","Property '{0}' has conflicting declarations and is inaccessible in type '{1}'."),The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:n(2547,e.DiagnosticCategory.Error,"The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value__2547","The type returned by the 'next()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2548,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2549,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:n(2551,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:n(2552,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:n(2553,e.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:n(2554,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:n(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),Expected_0_arguments_but_got_1_or_more:n(2556,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_or_more_2556","Expected {0} arguments, but got {1} or more."),Expected_at_least_0_arguments_but_got_1_or_more:n(2557,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_or_more_2557","Expected at least {0} arguments, but got {1} or more."),Expected_0_type_arguments_but_got_1:n(2558,e.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:n(2559,e.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:n(2560,e.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:n(2561,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:n(2562,e.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:n(2563,e.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:n(2564,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:n(2565,e.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:n(2566,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:n(2567,e.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:n(2569,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Property_0_does_not_exist_on_type_1_Did_you_forget_to_use_await:n(2570,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_forget_to_use_await_2570","Property '{0}' does not exist on type '{1}'. Did you forget to use 'await'?"),Object_is_of_type_unknown:n(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:n(2572,e.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:n(2573,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:n(2574,e.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:n(2575,e.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_is_a_static_member_of_type_1:n(2576,e.DiagnosticCategory.Error,"Property_0_is_a_static_member_of_type_1_2576","Property '{0}' is a static member of type '{1}'"),Return_type_annotation_circularly_references_itself:n(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode:n(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery:n(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha:n(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:n(2583,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:n(2584,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:n(2585,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Enum_type_0_circularly_references_itself:n(2586,e.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:n(2587,e.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:n(2588,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:n(2589,e.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:n(2590,e.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:n(2591,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_th_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:n(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_an_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery` and then add `jquery` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:n(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:n(2594,e.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),JSX_element_attributes_type_0_may_not_be_a_union_type:n(2600,e.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:n(2601,e.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:n(2602,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:n(2603,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:n(2604,e.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:n(2605,e.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:n(2606,e.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:n(2607,e.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:n(2608,e.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:n(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:n(2649,e.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:n(2651,e.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:n(2652,e.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:n(2653,e.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:n(2654,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:n(2656,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element:n(2657,e.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:n(2658,e.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:n(2659,e.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:n(2660,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:n(2661,e.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:n(2662,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:n(2663,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:n(2664,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:n(2665,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:n(2666,e.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:n(2667,e.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:n(2668,e.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:n(2669,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:n(2670,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:n(2671,e.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:n(2672,e.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:n(2673,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:n(2674,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:n(2675,e.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:n(2676,e.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:n(2677,e.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:n(2678,e.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:n(2679,e.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:n(2680,e.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:n(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:n(2682,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:n(2683,e.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:n(2684,e.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:n(2685,e.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:n(2686,e.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:n(2687,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:n(2688,e.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:n(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:n(2691,e.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:n(2692,e.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:n(2693,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:n(2694,e.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:n(2695,e.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:n(2696,e.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:n(2697,e.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),Spread_types_may_only_be_created_from_object_types:n(2698,e.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:n(2699,e.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:n(2700,e.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:n(2701,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:n(2702,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:n(2703,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a delete operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:n(2704,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a delete operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:n(2705,e.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Required_type_parameters_may_not_follow_optional_type_parameters:n(2706,e.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:n(2707,e.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:n(2708,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:n(2709,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:n(2710,e.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:n(2711,e.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:n(2712,e.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:n(2713,e.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:n(2714,e.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:n(2715,e.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:n(2716,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:n(2717,e.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:n(2718,e.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:n(2719,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:n(2720,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:n(2721,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:n(2722,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:n(2723,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),Module_0_has_no_exported_member_1_Did_you_mean_2:n(2724,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_2_2724","Module '{0}' has no exported member '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:n(2725,e.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:n(2726,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:n(2727,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:n(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:n(2729,e.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:n(2730,e.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:n(2731,e.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:n(2732,e.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension"),Property_0_was_also_declared_here:n(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),It_is_highly_likely_that_you_are_missing_a_semicolon:n(2734,e.DiagnosticCategory.Error,"It_is_highly_likely_that_you_are_missing_a_semicolon_2734","It is highly likely that you are missing a semicolon."),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:n(2735,e.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:n(2736,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ESNext:n(2737,e.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ESNext_2737","BigInt literals are not available when targeting lower than ESNext."),An_outer_value_of_this_is_shadowed_by_this_container:n(2738,e.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:n(2739,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:n(2740,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:n(2741,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:n(2742,e.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:n(2743,e.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:n(2744,e.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:n(2745,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:n(2746,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:n(2747,e.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:n(2748,e.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here:n(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_2749","'{0}' refers to a value, but is being used as a type here."),The_implementation_signature_is_declared_here:n(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:n(2751,e.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:n(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:n(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:n(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),Import_declaration_0_is_using_private_name_1:n(4e3,e.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:n(4002,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:n(4004,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4006,e.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4008,e.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4010,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4012,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4014,e.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4016,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4019,e.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4020,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:n(4022,e.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4023,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:n(4024,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:n(4025,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4026,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4027,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:n(4028,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4029,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4030,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:n(4031,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4032,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:n(4033,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4034,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4035,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4036,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4037,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4038,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4039,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4040,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4041,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4042,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4043,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4044,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:n(4045,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4046,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:n(4047,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4048,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:n(4049,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4050,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4051,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:n(4052,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4053,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4054,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:n(4055,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4056,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:n(4057,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4058,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:n(4059,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:n(4060,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4061,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4062,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:n(4063,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4064,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4065,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4066,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4067,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4068,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4069,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4070,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4071,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4072,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4073,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4074,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4075,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4076,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:n(4077,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4078,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:n(4081,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:n(4082,e.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:n(4083,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:n(4090,e.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4091,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:n(4092,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:n(4094,e.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4095,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4096,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:n(4097,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4098,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4099,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:n(4100,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4101,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:n(4102,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:n(4103,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:n(4104,e.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),The_current_host_does_not_support_the_0_option:n(5001,e.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:n(5009,e.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5010,e.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:n(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:n(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:n(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:n(5024,e.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Could_not_write_file_0_Colon_1:n(5033,e.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:n(5042,e.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:n(5047,e.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:n(5051,e.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:n(5052,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:n(5053,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:n(5054,e.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:n(5055,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:n(5056,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:n(5057,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:n(5058,e.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:n(5059,e.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Option_paths_cannot_be_used_without_specifying_baseUrl_option:n(5060,e.DiagnosticCategory.Error,"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060","Option 'paths' cannot be used without specifying '--baseUrl' option."),Pattern_0_can_have_at_most_one_Asterisk_character:n(5061,e.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character:n(5062,e.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' in can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:n(5063,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:n(5064,e.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5065,e.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:n(5066,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:n(5067,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:n(5068,e.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:n(5069,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:n(5070,e.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:n(5071,e.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:n(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:n(5073,e.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:n(5074,e.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option `--tsBuildInfoFile` is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:n(5075,e.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:n(6e3,e.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:n(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:n(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:n(6003,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:n(6004,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:n(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:n(6006,e.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:n(6007,e.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:n(6008,e.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:n(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:n(6010,e.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:n(6011,e.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:n(6012,e.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:n(6013,e.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:n(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_or_ESNEXT:n(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_or_ESNEXT_6015","Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'."),Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext:n(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext_6016","Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'."),Print_this_message:n(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:n(6019,e.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:n(6020,e.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:n(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:n(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:n(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:n(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:n(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:n(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:n(6030,e.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:n(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:n(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:n(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:n(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:n(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:n(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:n(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:n(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:n(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:n(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:n(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:n(6045,e.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:n(6046,e.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:n(6048,e.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unsupported_locale_0:n(6049,e.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:n(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:n(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:n(6052,e.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:n(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_unsupported_extension_The_only_supported_extensions_are_1:n(6054,e.DiagnosticCategory.Error,"File_0_has_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:n(6055,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:n(6056,e.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:n(6058,e.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:n(6059,e.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:n(6060,e.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:n(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file:n(6064,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_6064","Option '{0}' can only be specified in 'tsconfig.json' file."),Enables_experimental_support_for_ES7_decorators:n(6065,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:n(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:n(6068,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:n(6069,e.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:n(6070,e.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:n(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:n(6072,e.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:n(6073,e.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:n(6074,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:n(6075,e.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:n(6076,e.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:n(6077,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:n(6078,e.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:n(6079,e.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation_Colon_preserve_react_native_or_react:n(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_Colon_preserve_react_native_or_react_6080","Specify JSX code generation: 'preserve', 'react-native', or 'react'."),File_0_has_an_unsupported_extension_so_skipping_it:n(6081,e.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:n(6082,e.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:n(6083,e.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:n(6084,e.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:n(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:n(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:n(6087,e.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:n(6088,e.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:n(6089,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:n(6090,e.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:n(6091,e.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:n(6092,e.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:n(6093,e.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:n(6094,e.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:n(6095,e.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:n(6096,e.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:n(6097,e.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:n(6098,e.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:n(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:n(6100,e.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:n(6101,e.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:n(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:n(6103,e.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:n(6104,e.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:n(6105,e.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:n(6106,e.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:n(6107,e.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:n(6108,e.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:n(6109,e.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:n(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:n(6111,e.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:n(6112,e.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:n(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:n(6114,e.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:n(6115,e.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:n(6116,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:n(6117,e.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:n(6118,e.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:n(6119,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:n(6120,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:n(6121,e.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:n(6122,e.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:n(6123,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:n(6124,e.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:n(6125,e.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:n(6126,e.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:n(6127,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:n(6128,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:n(6130,e.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:n(6131,e.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:n(6132,e.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:n(6133,e.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:n(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:n(6135,e.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:n(6136,e.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:n(6137,e.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:n(6138,e.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:n(6139,e.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:n(6140,e.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:n(6141,e.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:n(6142,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:n(6144,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:n(6145,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:n(6146,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:n(6147,e.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:n(6148,e.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:n(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:n(6150,e.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:n(6151,e.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:n(6152,e.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:n(6153,e.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:n(6154,e.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:n(6155,e.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:n(6156,e.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:n(6157,e.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:n(6158,e.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:n(6159,e.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:n(6160,e.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:n(6161,e.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:n(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:n(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:n(6164,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:n(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:n(6166,e.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:n(6167,e.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:n(6168,e.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:n(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:n(6170,e.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:n(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Basic_Options:n(6172,e.DiagnosticCategory.Message,"Basic_Options_6172","Basic Options"),Strict_Type_Checking_Options:n(6173,e.DiagnosticCategory.Message,"Strict_Type_Checking_Options_6173","Strict Type-Checking Options"),Module_Resolution_Options:n(6174,e.DiagnosticCategory.Message,"Module_Resolution_Options_6174","Module Resolution Options"),Source_Map_Options:n(6175,e.DiagnosticCategory.Message,"Source_Map_Options_6175","Source Map Options"),Additional_Checks:n(6176,e.DiagnosticCategory.Message,"Additional_Checks_6176","Additional Checks"),Experimental_Options:n(6177,e.DiagnosticCategory.Message,"Experimental_Options_6177","Experimental Options"),Advanced_Options:n(6178,e.DiagnosticCategory.Message,"Advanced_Options_6178","Advanced Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:n(6179,e.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:n(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:n(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:n(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_to_file_1_from_old_program:n(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_to_file_1_from_old_program_6183","Reusing resolution of module '{0}' to file '{1}' from old program."),Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program:n(6184,e.DiagnosticCategory.Message,"Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program_6184","Reusing module resolutions originating in '{0}' since resolutions are unchanged from old program."),Disable_strict_checking_of_generic_signatures_in_function_types:n(6185,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6185","Disable strict checking of generic signatures in function types."),Enable_strict_checking_of_function_types:n(6186,e.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:n(6187,e.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:n(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:n(6189,e.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:n(6191,e.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:n(6192,e.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:n(6193,e.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:n(6194,e.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:n(6195,e.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:n(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:n(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:n(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:n(6199,e.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:n(6200,e.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:n(6201,e.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),_0_was_also_declared_here:n(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:n(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:n(6205,e.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused"),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:n(6206,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:n(6207,e.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:n(6208,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:n(6209,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:n(6210,e.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:n(6211,e.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:n(6212,e.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:n(6213,e.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:n(6214,e.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:n(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:n(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:n(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:n(6218,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:n(6219,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:n(6220,e.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Projects_to_reference:n(6300,e.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:n(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:n(6202,e.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),Composite_projects_may_not_disable_declaration_emit:n(6304,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:n(6305,e.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:n(6306,e.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_in_project_file_list_Projects_must_list_all_files_or_use_an_include_pattern:n(6307,e.DiagnosticCategory.Error,"File_0_is_not_in_project_file_list_Projects_must_list_all_files_or_use_an_include_pattern_6307","File '{0}' is not in project file list. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:n(6308,e.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:n(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:n(6350,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:n(6351,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:n(6352,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:n(6353,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:n(6354,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:n(6355,e.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:n(6356,e.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:n(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:n(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:n(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:n(6360,e.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:n(6361,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:n(6362,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:n(6363,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:n(6364,e.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:n(6365,e.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Enable_verbose_logging:n(6366,e.DiagnosticCategory.Message,"Enable_verbose_logging_6366","Enable verbose logging"),Show_what_would_be_built_or_deleted_if_specified_with_clean:n(6367,e.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Build_all_projects_including_those_that_appear_to_be_up_to_date:n(6368,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6368","Build all projects, including those that appear to be up to date"),Option_build_must_be_the_first_command_line_argument:n(6369,e.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:n(6370,e.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:n(6371,e.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:n(6372,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:n(6373,e.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:n(6374,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:n(6375,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:n(6376,e.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:n(6377,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:n(6378,e.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:n(6379,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:n(6380,e.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:n(6381,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:n(6500,e.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:n(6501,e.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:n(6502,e.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Variable_0_implicitly_has_an_1_type:n(7005,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:n(7006,e.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:n(7008,e.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:n(7009,e.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:n(7010,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7011,e.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7013,e.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7014,e.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:n(7015,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:n(7016,e.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:n(7017,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:n(7018,e.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:n(7019,e.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7020,e.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:n(7022,e.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:n(7023,e.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:n(7024,e.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type:n(7025,e.DiagnosticCategory.Error,"Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_typ_7025","Generator implicitly has type '{0}' because it does not yield any values. Consider supplying a return type."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:n(7026,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:n(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:n(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:n(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:n(7030,e.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:n(7031,e.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:n(7032,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:n(7033,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:n(7034,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:n(7035,e.DiagnosticCategory.Error,"Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_mod_7035","Try `npm install @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:n(7036,e.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:n(7037,e.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:n(7038,e.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:n(7039,e.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:n(7040,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}`"),The_containing_arrow_function_captures_the_global_value_of_this:n(7041,e.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:n(7042,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7043,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7044,e.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7045,e.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:n(7046,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:n(7047,e.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:n(7048,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:n(7049,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:n(7050,e.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:n(7051,e.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:n(7052,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}' ?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:n(7053,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:n(7054,e.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),You_cannot_rename_this_element:n(8e3,e.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:n(8001,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_a_ts_file:n(8002,e.DiagnosticCategory.Error,"import_can_only_be_used_in_a_ts_file_8002","'import ... =' can only be used in a .ts file."),export_can_only_be_used_in_a_ts_file:n(8003,e.DiagnosticCategory.Error,"export_can_only_be_used_in_a_ts_file_8003","'export=' can only be used in a .ts file."),type_parameter_declarations_can_only_be_used_in_a_ts_file:n(8004,e.DiagnosticCategory.Error,"type_parameter_declarations_can_only_be_used_in_a_ts_file_8004","'type parameter declarations' can only be used in a .ts file."),implements_clauses_can_only_be_used_in_a_ts_file:n(8005,e.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_a_ts_file_8005","'implements clauses' can only be used in a .ts file."),interface_declarations_can_only_be_used_in_a_ts_file:n(8006,e.DiagnosticCategory.Error,"interface_declarations_can_only_be_used_in_a_ts_file_8006","'interface declarations' can only be used in a .ts file."),module_declarations_can_only_be_used_in_a_ts_file:n(8007,e.DiagnosticCategory.Error,"module_declarations_can_only_be_used_in_a_ts_file_8007","'module declarations' can only be used in a .ts file."),type_aliases_can_only_be_used_in_a_ts_file:n(8008,e.DiagnosticCategory.Error,"type_aliases_can_only_be_used_in_a_ts_file_8008","'type aliases' can only be used in a .ts file."),_0_can_only_be_used_in_a_ts_file:n(8009,e.DiagnosticCategory.Error,"_0_can_only_be_used_in_a_ts_file_8009","'{0}' can only be used in a .ts file."),types_can_only_be_used_in_a_ts_file:n(8010,e.DiagnosticCategory.Error,"types_can_only_be_used_in_a_ts_file_8010","'types' can only be used in a .ts file."),type_arguments_can_only_be_used_in_a_ts_file:n(8011,e.DiagnosticCategory.Error,"type_arguments_can_only_be_used_in_a_ts_file_8011","'type arguments' can only be used in a .ts file."),parameter_modifiers_can_only_be_used_in_a_ts_file:n(8012,e.DiagnosticCategory.Error,"parameter_modifiers_can_only_be_used_in_a_ts_file_8012","'parameter modifiers' can only be used in a .ts file."),non_null_assertions_can_only_be_used_in_a_ts_file:n(8013,e.DiagnosticCategory.Error,"non_null_assertions_can_only_be_used_in_a_ts_file_8013","'non-null assertions' can only be used in a .ts file."),enum_declarations_can_only_be_used_in_a_ts_file:n(8015,e.DiagnosticCategory.Error,"enum_declarations_can_only_be_used_in_a_ts_file_8015","'enum declarations' can only be used in a .ts file."),type_assertion_expressions_can_only_be_used_in_a_ts_file:n(8016,e.DiagnosticCategory.Error,"type_assertion_expressions_can_only_be_used_in_a_ts_file_8016","'type assertion expressions' can only be used in a .ts file."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:n(8017,e.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:n(8018,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:n(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:n(8020,e.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:n(8021,e.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:n(8022,e.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:n(8023,e.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:n(8024,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:n(8025,e.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one `@augments` or `@extends` tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:n(8026,e.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:n(8027,e.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:n(8028,e.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:n(8029,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:n(8030,e.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:n(8031,e.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:n(8032,e.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:n(9002,e.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:n(9003,e.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:n(9004,e.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:n(17e3,e.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:n(17001,e.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:n(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:n(17003,e.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:n(17004,e.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:n(17005,e.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:n(17006,e.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:n(17007,e.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:n(17008,e.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:n(17009,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:n(17010,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:n(17011,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:n(17012,e.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:n(17013,e.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:n(17014,e.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:n(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),JSX_fragment_is_not_supported_when_using_jsxFactory:n(17016,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_jsxFactory_17016","JSX fragment is not supported when using --jsxFactory"),JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma:n(17017,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma_17017","JSX fragment is not supported when using an inline JSX factory pragma"),Circularity_detected_while_resolving_configuration_Colon_0:n(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:n(18001,e.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:n(18002,e.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:n(18003,e.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:n(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:n(80002,e.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:n(80003,e.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:n(80004,e.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:n(80005,e.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:n(80006,e.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),Add_missing_super_call:n(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:n(90002,e.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:n(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_declaration_for_Colon_0:n(90004,e.DiagnosticCategory.Message,"Remove_declaration_for_Colon_0_90004","Remove declaration for: '{0}'"),Remove_import_from_0:n(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:n(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:n(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:n(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_destructuring:n(90009,e.DiagnosticCategory.Message,"Remove_destructuring_90009","Remove destructuring"),Remove_variable_statement:n(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:n(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:n(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:n(90013,e.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:n(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:n(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:n(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:n(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:n(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:n(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:n(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:n(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:n(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:n(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:n(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:n(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:n(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:n(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:n(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:n(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:n(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:n(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:n(90032,e.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032","Import default '{0}' from module \"{1}\""),Add_default_import_0_to_existing_import_declaration_from_1:n(90033,e.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033","Add default import '{0}' to existing import declaration from \"{1}\""),Add_parameter_name:n(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Convert_function_to_an_ES2015_class:n(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:n(95002,e.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Extract_to_0_in_1:n(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:n(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:n(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:n(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:n(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:n(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:n(95010,e.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:n(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:n(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:n(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:n(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:n(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:n(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:n(95017,e.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:n(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:n(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:n(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Add_all_missing_members:n(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:n(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:n(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:n(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:n(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:n(95027,e.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:n(95028,e.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:n(95029,e.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:n(95030,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:n(95031,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:n(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:n(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:n(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:n(95035,e.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:n(95036,e.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:n(95037,e.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:n(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:n(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:n(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:n(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:n(95042,e.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:n(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:n(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:n(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:n(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:n(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:n(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:n(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:n(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:n(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:n(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:n(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:n(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:n(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:n(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:n(95057,e.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:n(95058,e.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:n(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:n(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:n(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:n(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:n(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:n(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:n(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:n(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_unknown_conversion_for_non_overlapping_types:n(95069,e.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:n(95070,e.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:n(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:n(95072,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:n(95073,e.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:n(95074,e.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:n(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Allow_accessing_UMD_globals_from_modules:n(95076,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_95076","Allow accessing UMD globals from modules."),Extract_type:n(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:n(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:n(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:n(18004,e.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Quoted_constructors_have_previously_been_interpreted_as_methods_which_is_incorrect_In_TypeScript_3_6_they_will_be_correctly_parsed_as_constructors_In_the_meantime_consider_using_constructor_to_write_a_constructor_or_constructor_to_write_a_method:n(18005,e.DiagnosticCategory.Error,"Quoted_constructors_have_previously_been_interpreted_as_methods_which_is_incorrect_In_TypeScript_3_6_18005","Quoted constructors have previously been interpreted as methods, which is incorrect. In TypeScript 3.6, they will be correctly parsed as constructors. In the meantime, consider using 'constructor()' to write a constructor, or '[\"constructor\"]()' to write a method."),Classes_may_not_have_a_field_named_constructor:n(18006,e.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'.")}}(c||(c={})),function(e){var n;function t(e){return e>=73}e.tokenIsIdentifierOrKeyword=t,e.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 30===e||t(e)};var r=((n={abstract:119,any:121,as:120,bigint:147,boolean:124,break:74,case:75,catch:76,class:77,continue:79,const:78}).constructor=125,n.debugger=80,n.declare=126,n.default=81,n.delete=82,n.do=83,n.else=84,n.enum=85,n.export=86,n.extends=87,n.false=88,n.finally=89,n.for=90,n.from=145,n.function=91,n.get=127,n.if=92,n.implements=110,n.import=93,n.in=94,n.infer=128,n.instanceof=95,n.interface=111,n.is=129,n.keyof=130,n.let=112,n.module=131,n.namespace=132,n.never=133,n.new=96,n.null=97,n.number=136,n.object=137,n.package=113,n.private=114,n.protected=115,n.public=116,n.readonly=134,n.require=135,n.global=146,n.return=98,n.set=138,n.static=117,n.string=139,n.super=99,n.switch=100,n.symbol=140,n.this=101,n.throw=102,n.true=103,n.try=104,n.type=141,n.typeof=105,n.undefined=142,n.unique=143,n.unknown=144,n.var=106,n.void=107,n.while=108,n.with=109,n.yield=118,n.async=122,n.await=123,n.of=148,n),a=e.createMapFromTemplate(r),o=e.createMapFromTemplate(i({},r,{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":28,">":30,"<=":31,">=":32,"==":33,"!=":34,"===":35,"!==":36,"=>":37,"+":38,"-":39,"**":41,"*":40,"/":42,"%":43,"++":44,"--":45,"<<":46,">":47,">>>":48,"&":49,"|":50,"^":51,"!":52,"~":53,"&&":54,"||":55,"?":56,":":57,"=":60,"+=":61,"-=":62,"*=":63,"**=":64,"/=":65,"%=":66,"<<=":67,">>=":68,">>>=":69,"&=":70,"|=":71,"^=":72,"@":58})),s=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],l=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],c=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],d=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];function u(e,n){if(e=1?c:s)}e.isUnicodeIdentifierStart=p;var m=function(e){var n=[];return e.forEach((function(e,t){n[e]=t})),n}(o);function f(e){for(var n=new Array,t=0,r=0;t127&&b(a)&&(n.push(r),r=t)}}return n.push(r),n}function g(n,t,r,a,i){(t<0||t>=n.length)&&(i?t=t<0?0:t>=n.length?n.length-1:t:e.Debug.fail("Bad line number. Line: "+t+", lineStarts.length: "+n.length+" , line map is correct? "+(void 0!==a?e.arraysEqual(n,f(a)):"unknown")));var o=n[t]+r;return i?o>n[t+1]?n[t+1]:"string"===typeof a&&o>a.length?a.length:o:(t=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function b(e){return 10===e||13===e||8232===e||8233===e}function E(e){return e>=48&&e<=57}function T(e){return e>=48&&e<=55}e.tokenToString=function(e){return m[e]},e.stringToToken=function(e){return o.get(e)},e.computeLineStarts=f,e.getPositionOfLineAndCharacter=function(e,n,t,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(n,t,r):g(_(e),n,t,e.text,r)},e.computePositionOfLineAndCharacter=g,e.getLineStarts=_,e.computeLineAndCharacterOfPosition=v,e.getLineAndCharacterOfPosition=function(e,n){return v(_(e),n)},e.isWhiteSpaceLike=h,e.isWhiteSpaceSingleLine=y,e.isLineBreak=b,e.isOctalDigit=T,e.couldStartTrivia=function(e,n){var t=e.charCodeAt(n);switch(t){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return 0===n;default:return t>127}},e.skipTrivia=function(n,t,r,a){if(void 0===a&&(a=!1),e.positionIsSynthesized(t))return t;for(;;){var i=n.charCodeAt(t);switch(i){case 13:10===n.charCodeAt(t+1)&&t++;case 10:if(t++,r)return t;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(a)break;if(47===n.charCodeAt(t+1)){for(t+=2;t127&&h(i)){t++;continue}}return t}};var S="<<<<<<<".length;function L(n,t){if(e.Debug.assert(t>=0),0===t||b(n.charCodeAt(t-1))){var r=n.charCodeAt(t);if(t+S=0&&t127&&h(g)){u&&b(g)&&(d=!0),t++;continue}break e}}return u&&(m=a(s,l,c,d,i,m)),m}function M(e,n,t,r,a){return k(!0,e,n,!1,t,r,a)}function O(e,n,t,r,a){return k(!0,e,n,!0,t,r,a)}function I(e,n,t,r,a,i){return i||(i=[]),i.push({kind:t,pos:e,end:n,hasTrailingNewLine:r}),i}function R(e){var n=A.exec(e);if(n)return n[0]}function w(e,n){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&p(e,n)}function N(e,n){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||e>127&&function(e,n){return u(e,n>=1?d:l)}(e,n)}e.isShebangTrivia=C,e.scanShebangTrivia=D,e.forEachLeadingCommentRange=function(e,n,t,r){return k(!1,e,n,!1,t,r)},e.forEachTrailingCommentRange=function(e,n,t,r){return k(!1,e,n,!0,t,r)},e.reduceEachLeadingCommentRange=M,e.reduceEachTrailingCommentRange=O,e.getLeadingCommentRanges=function(e,n){return M(e,n,I,void 0,void 0)},e.getTrailingCommentRanges=function(e,n){return O(e,n,I,void 0,void 0)},e.getShebang=R,e.isIdentifierStart=w,e.isIdentifierPart=N,e.isIdentifierText=function(e,n){if(!w(e.charCodeAt(0),n))return!1;for(var t=1;t109},isReservedWord:function(){return f>=74&&f<=109},isUnterminated:function(){return 0!==(4&_)},getTokenFlags:function(){return _},reScanGreaterToken:function(){if(30===f){if(62===v.charCodeAt(d))return 62===v.charCodeAt(d+1)?61===v.charCodeAt(d+2)?(d+=3,f=69):(d+=2,f=48):61===v.charCodeAt(d+1)?(d+=2,f=68):(d++,f=47);if(61===v.charCodeAt(d))return d++,f=32}return f},reScanSlashToken:function(){if(42===f||65===f){for(var t=m+1,r=!1,a=!1;;){if(t>=u){_|=4,A(e.Diagnostics.Unterminated_regular_expression_literal);break}var i=v.charCodeAt(t);if(b(i)){_|=4,A(e.Diagnostics.Unterminated_regular_expression_literal);break}if(r)r=!1;else{if(47===i&&!a){t++;break}91===i?a=!0:92===i?r=!0:93===i&&(a=!1)}t++}for(;t=u)return f=1;var e=v.charCodeAt(d);switch(d++,e){case 9:case 11:case 12:case 32:for(;d=65&&s<=70)s+=32;else if(!(s>=48&&s<=57||s>=97&&s<=102))break;a.push(s),d++,o=!1}}return a.length=u){r+=v.substring(a,d),_|=4,A(e.Diagnostics.Unterminated_string_literal);break}var i=v.charCodeAt(d);if(i===t){r+=v.substring(a,d),d++;break}if(92!==i||n){if(b(i)&&!n){r+=v.substring(a,d),_|=4,A(e.Diagnostics.Unterminated_string_literal);break}d++}else r+=v.substring(a,d),r+=B(),a=d}return r}function V(){for(var n,t=96===v.charCodeAt(d),r=++d,a="";;){if(d>=u){a+=v.substring(r,d),_|=4,A(e.Diagnostics.Unterminated_template_literal),n=t?14:17;break}var i=v.charCodeAt(d);if(96===i){a+=v.substring(r,d),d++,n=t?14:17;break}if(36===i&&d+1=u)return A(e.Diagnostics.Unexpected_end_of_text),"";var n=v.charCodeAt(d);switch(d++,n){case 48:return"\0";case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:return d1114111&&(A(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),r=!0);d>=u?(A(e.Diagnostics.Unexpected_end_of_text),r=!0):125===v.charCodeAt(d)?d++:(A(e.Diagnostics.Unterminated_Unicode_escape_sequence),r=!0);if(r)return"";return function(n){if(e.Debug.assert(0<=n&&n<=1114111),n<=65535)return String.fromCharCode(n);var t=Math.floor((n-65536)/1024)+55296,r=(n-65536)%1024+56320;return String.fromCharCode(t,r)}(t)}()):H(4);case 120:return H(2);case 13:d=0?String.fromCharCode(t):(A(e.Diagnostics.Hexadecimal_digit_expected),"")}function K(){if(d+5=0&&N(r,n)))break;e+=v.substring(t,d),e+=String.fromCharCode(r),t=d+=6}}return e+=v.substring(t,d)}function U(){var e=g.length;if(e>=2&&e<=11){var n=g.charCodeAt(0);if(n>=97&&n<=122){var t=a.get(g);if(void 0!==t)return f=t}}return f=73}function W(n){for(var t="",r=!1,a=!1;;){var i=v.charCodeAt(d);if(95!==i){if(r=!0,!E(i)||i-48>=n)break;t+=v[d],d++,a=!1}else _|=512,r?(r=!1,a=!0):A(a?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,d,1),d++}return 95===v.charCodeAt(d-1)&&A(e.Diagnostics.Numeric_separators_are_not_allowed_here,d-1,1),t}function q(){if(110===v.charCodeAt(d))return g+="n",384&_&&(g=e.parsePseudoBigInt(g)+"n"),d++,9;var n=128&_?parseInt(g.slice(2),2):256&_?parseInt(g.slice(2),8):+g;return g=""+n,8}function z(){var t;p=d,_=0;for(var a=!1;;){if(m=d,d>=u)return f=1;var o=v.charCodeAt(d);if(35===o&&0===d&&C(v,d)){if(d=D(v,d),r)continue;return f=6}switch(o){case 10:case 13:if(_|=1,r){d++;continue}return 13===o&&d+1=0&&w(c,n)?(d+=6,g=String.fromCharCode(c)+j(),f=U()):(A(e.Diagnostics.Invalid_character),d++,f=0);default:if(w(o,n)){for(d++;d=u)return f=1;var e=v.charCodeAt(d);if(60===e)return 47===v.charCodeAt(d+1)?(d+=2,f=29):(d++,f=28);if(123===e)return d++,f=18;for(var n=0;d=0),d=n,p=n,m=n,f=0,g=void 0,_=0}}}(c||(c={})),function(e){e.isExternalModuleNameRelative=function(n){return e.pathIsRelative(n)||e.isRootedDiskPath(n)},e.sortAndDeduplicateDiagnostics=function(n){return e.sortAndDeduplicate(n,e.compareDiagnostics)}}(c||(c={})),function(e){e.resolvingEmptyArray=[],e.emptyMap=e.createMap(),e.emptyUnderscoreEscapedMap=e.emptyMap,e.externalHelpersModuleNameText="tslib",e.defaultMaximumTruncationLength=160,e.getDeclarationOfKind=function(e,n){var t=e.declarations;if(t)for(var r=0,a=t;r=0);var r=e.getLineStarts(t),a=n,i=t.text;if(a+1===r.length)return i.length-1;var o=r[a],s=r[a+1]-1;for(e.Debug.assert(e.isLineBreak(i.charCodeAt(s)));o<=s&&e.isLineBreak(i.charCodeAt(s));)s--;return s}function u(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function p(e){return!u(e)}function m(e,n,t){if(void 0===n||0===n.length)return e;for(var r=0;r0?v(n._children[0],t,r):e.skipTrivia((t||c(n)).text,n.pos)}function h(e,n,t){return void 0===t&&(t=!1),y(e.text,n,t)}function y(n,t,r){if(void 0===r&&(r=!1),u(t))return"";var a=n.substring(r?t.pos:e.skipTrivia(n,t.pos),t.end);return function e(n){return 289===n.kind||n.parent&&e(n.parent)}(t)&&(a=a.replace(/(^|\r?\n|\r)\s*\*\s*/g,"$1")),a}function b(e,n){return void 0===n&&(n=!1),h(c(e),e,n)}function E(e){return e.pos}function T(e){var n=e.emitNode;return n&&n.flags||0}function S(e){var n=Je(e);return 238===n.kind&&275===n.parent.kind}function L(n){return e.isModuleDeclaration(n)&&(10===n.name.kind||x(n))}function x(e){return!!(512&e.flags)}function A(e){return L(e)&&C(e)}function C(n){switch(n.parent.kind){case 285:return e.isExternalModule(n.parent);case 246:return L(n.parent.parent)&&e.isSourceFile(n.parent.parent.parent)&&!e.isExternalModule(n.parent.parent.parent)}return!1}function D(n,t){switch(n.kind){case 285:case 247:case 275:case 245:case 226:case 227:case 228:case 158:case 157:case 159:case 160:case 240:case 197:case 198:return!0;case 219:return!e.isFunctionLike(t)}return!1}function k(n){switch(n.kind){case 161:case 162:case 156:case 163:case 166:case 167:case 295:case 241:case 210:case 242:case 243:case 309:case 240:case 157:case 158:case 159:case 160:case 197:case 198:return!0;default:return e.assertType(n),!1}}function M(e){switch(e.kind){case 250:case 249:return!0;default:return!1}}function O(e){return e&&0!==s(e)?b(e):"(Missing)"}function I(n){switch(n.kind){case 73:return n.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(n.text);case 150:return He(n.expression)?e.escapeLeadingUnderscores(n.expression.text):e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(n)}}function R(n,t,r,a,i,o,s){var l=N(n,t);return e.createFileDiagnostic(n,l.start,l.length,r,a,i,o,s)}function w(n,t){var r=e.createScanner(n.languageVersion,!0,n.languageVariant,n.text,void 0,t);r.scan();var a=r.getTokenPos();return e.createTextSpanFromBounds(a,r.getTextPos())}function N(n,t){var r=t;switch(t.kind){case 285:var a=e.skipTrivia(n.text,0,!1);return a===n.text.length?e.createTextSpan(0,0):w(n,a);case 238:case 187:case 241:case 210:case 242:case 245:case 244:case 279:case 240:case 197:case 157:case 159:case 160:case 243:case 155:case 154:r=t.name;break;case 198:return function(n,t){var r=e.skipTrivia(n.text,t.pos);if(t.body&&219===t.body.kind){var a=e.getLineAndCharacterOfPosition(n,t.body.pos).line;if(a=r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(o<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(o,r.end)}function P(e){return 6===e.scriptKind}function F(n){return!!(2&e.getCombinedNodeFlags(n))}function G(e){return 192===e.kind&&93===e.expression.kind}function V(n){return e.isImportTypeNode(n)&&e.isLiteralTypeNode(n.argument)&&e.isStringLiteral(n.argument.literal)}function B(e){return 222===e.kind&&10===e.expression.kind}e.toPath=t,e.changesAffectModuleResolution=function(e,n){return e.configFilePath!==n.configFilePath||r(e,n)},e.optionsHaveModuleResolutionChanges=r,e.findAncestor=a,e.forEachAncestor=function(n,t){for(;;){var r=t(n);if("quit"===r)return;if(void 0!==r)return r;if(e.isSourceFile(n))return;n=n.parent}},e.forEachEntry=function(e,n){for(var t,r=e.entries(),a=r.next(),i=a.value,o=a.done;!o;i=(t=r.next()).value,o=t.done,t){var s=i[0],l=n(i[1],s);if(l)return l}},e.forEachKey=function(e,n){for(var t,r=e.keys(),a=r.next(),i=a.value,o=a.done;!o;i=(t=r.next()).value,o=t.done,t){var s=n(i);if(s)return s}},e.copyEntries=o,e.arrayToSet=function(n,t){return e.arrayToMap(n,t||function(e){return e},(function(){return!0}))},e.cloneMap=function(n){var t=e.createMap();return o(n,t),t},e.usingSingleLineStringWriter=function(e){var t=n.getText();try{return e(n),n.getText()}finally{n.clear(),n.writeKeyword(t)}},e.getFullWidth=s,e.getResolvedModule=function(e,n){return e&&e.resolvedModules&&e.resolvedModules.get(n)},e.setResolvedModule=function(n,t,r){n.resolvedModules||(n.resolvedModules=e.createMap()),n.resolvedModules.set(t,r)},e.setResolvedTypeReferenceDirective=function(n,t,r){n.resolvedTypeReferenceDirectiveNames||(n.resolvedTypeReferenceDirectiveNames=e.createMap()),n.resolvedTypeReferenceDirectiveNames.set(t,r)},e.projectReferenceIsEqualTo=function(e,n){return e.path===n.path&&!e.prepend===!n.prepend&&!e.circular===!n.circular},e.moduleResolutionIsEqualTo=function(e,n){return e.isExternalLibraryImport===n.isExternalLibraryImport&&e.extension===n.extension&&e.resolvedFileName===n.resolvedFileName&&e.originalPath===n.originalPath&&(t=e.packageId,r=n.packageId,t===r||!!t&&!!r&&t.name===r.name&&t.subModuleName===r.subModuleName&&t.version===r.version);var t,r},e.packageIdToString=function(e){var n=e.name,t=e.subModuleName;return(t?n+"/"+t:n)+"@"+e.version},e.typeDirectiveIsEqualTo=function(e,n){return e.resolvedFileName===n.resolvedFileName&&e.primary===n.primary},e.hasChangesInResolutions=function(n,t,r,a){e.Debug.assert(n.length===t.length);for(var i=0;i=0),e.getLineStarts(t)[n]},e.nodePosToString=function(n){var t=c(n),r=e.getLineAndCharacterOfPosition(t,n.pos);return t.fileName+"("+(r.line+1)+","+(r.character+1)+")"},e.getEndLinePosition=d,e.isFileLevelUniqueName=function(e,n,t){return!(t&&t(n))&&!e.identifiers.has(n)},e.nodeIsMissing=u,e.nodeIsPresent=p,e.insertStatementsAfterStandardPrologue=function(e,n){return m(e,n,B)},e.insertStatementsAfterCustomPrologue=function(e,n){return m(e,n,g)},e.insertStatementAfterStandardPrologue=function(e,n){return f(e,n,B)},e.insertStatementAfterCustomPrologue=function(e,n){return f(e,n,g)},e.isRecognizedTripleSlashComment=function(n,t,r){if(47===n.charCodeAt(t+1)&&t+2/;var H=/^(\/\/\/\s*/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var K=/^(\/\/\/\s*/;function j(n){if(164<=n.kind&&n.kind<=184)return!0;switch(n.kind){case 121:case 144:case 136:case 147:case 139:case 124:case 140:case 137:case 142:case 133:return!0;case 107:return 201!==n.parent.kind;case 212:return!Kn(n);case 151:return 182===n.parent.kind||177===n.parent.kind;case 73:(149===n.parent.kind&&n.parent.right===n||190===n.parent.kind&&n.parent.name===n)&&(n=n.parent),e.Debug.assert(73===n.kind||149===n.kind||190===n.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 149:case 190:case 101:var t=n.parent;if(168===t.kind)return!1;if(184===t.kind)return!t.isTypeOf;if(164<=t.kind&&t.kind<=184)return!0;switch(t.kind){case 212:return!Kn(t);case 151:case 309:return n===t.constraint;case 155:case 154:case 152:case 238:return n===t.type;case 240:case 197:case 198:case 158:case 157:case 156:case 159:case 160:return n===t.type;case 161:case 162:case 163:case 195:return n===t.type;case 192:case 193:return e.contains(t.typeArguments,n);case 194:return!1}}return!1}function U(e){if(e)switch(e.kind){case 187:case 279:case 152:case 276:case 155:case 154:case 277:case 238:return!0}return!1}function W(e){return 239===e.parent.kind&&220===e.parent.parent.kind}function q(e,n,t){return e.properties.filter((function(e){if(276===e.kind){var r=I(e.name);return n===r||!!t&&t===r}return!1}))}function z(n){if(n&&n.statements.length){var t=n.statements[0].expression;return e.tryCast(t,e.isObjectLiteralExpression)}}function J(n,t){var r=z(n);return r?q(r,t):e.emptyArray}function X(n,t){for(e.Debug.assert(285!==n.kind);;){if(!(n=n.parent))return e.Debug.fail();switch(n.kind){case 150:if(e.isClassLike(n.parent.parent))return n;n=n.parent;break;case 153:152===n.parent.kind&&e.isClassElement(n.parent.parent)?n=n.parent.parent:e.isClassElement(n.parent)&&(n=n.parent);break;case 198:if(!t)continue;case 240:case 197:case 245:case 155:case 154:case 157:case 156:case 158:case 159:case 160:case 161:case 162:case 163:case 244:case 285:return n}}}function Y(e){var n=e.kind;return(190===n||191===n)&&99===e.expression.kind}function Q(e,n,t){switch(e.kind){case 241:return!0;case 155:return 241===n.kind;case 159:case 160:case 157:return void 0!==e.body&&241===n.kind;case 152:return void 0!==n.body&&(158===n.kind||157===n.kind||160===n.kind)&&241===t.kind}return!1}function Z(e,n,t){return void 0!==e.decorators&&Q(e,n,t)}function $(e,n,t){return Z(e,n,t)||ee(e,n)}function ee(n,t){switch(n.kind){case 241:return e.some(n.members,(function(e){return $(e,n,t)}));case 157:case 160:return e.some(n.parameters,(function(e){return Z(e,n,t)}));default:return!1}}function ne(e){var n=e.parent;return(263===n.kind||262===n.kind||264===n.kind)&&n.tagName===e}function te(e){switch(e.kind){case 99:case 97:case 103:case 88:case 13:case 188:case 189:case 190:case 191:case 192:case 193:case 194:case 213:case 195:case 214:case 196:case 197:case 210:case 198:case 201:case 199:case 200:case 203:case 204:case 205:case 206:case 209:case 207:case 14:case 211:case 261:case 262:case 265:case 208:case 202:case 215:return!0;case 149:for(;149===e.parent.kind;)e=e.parent;return 168===e.parent.kind||ne(e);case 73:if(168===e.parent.kind||ne(e))return!0;case 8:case 9:case 10:case 101:return re(e);default:return!1}}function re(e){var n=e.parent;switch(n.kind){case 238:case 152:case 155:case 154:case 279:case 276:case 187:return n.initializer===e;case 222:case 223:case 224:case 225:case 231:case 232:case 233:case 272:case 235:return n.expression===e;case 226:var t=n;return t.initializer===e&&239!==t.initializer.kind||t.condition===e||t.incrementor===e;case 227:case 228:var r=n;return r.initializer===e&&239!==r.initializer.kind||r.expression===e;case 195:case 213:case 217:case 150:return e===n.expression;case 153:case 271:case 270:case 278:return!0;case 212:return n.expression===e&&Kn(n);case 277:return n.objectAssignmentInitializer===e;default:return te(n)}}function ae(e){return 249===e.kind&&260===e.moduleReference.kind}function ie(e){return oe(e)}function oe(e){return!!e&&!!(65536&e.flags)}function se(n,t){if(192!==n.kind)return!1;var r=n,a=r.expression,i=r.arguments;if(73!==a.kind||"require"!==a.escapedText)return!1;if(1!==i.length)return!1;var o=i[0];return!t||e.isStringLiteralLike(o)}function le(n){return oe(n)&&n.initializer&&e.isBinaryExpression(n.initializer)&&55===n.initializer.operatorToken.kind&&n.name&&jn(n.name)&&de(n.name,n.initializer.left)?n.initializer.right:n.initializer}function ce(n,t){if(e.isCallExpression(n)){var r=Oe(n.expression);return 197===r.kind||198===r.kind?n:void 0}return 197===n.kind||210===n.kind||198===n.kind||e.isObjectLiteralExpression(n)&&(0===n.properties.length||t)?n:void 0}function de(n,t){return e.isIdentifier(n)&&e.isIdentifier(t)?n.escapedText===t.escapedText:e.isIdentifier(n)&&e.isPropertyAccessExpression(t)?(101===t.expression.kind||e.isIdentifier(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))&&de(n,t.name):!(!e.isPropertyAccessExpression(n)||!e.isPropertyAccessExpression(t))&&(n.name.escapedText===t.name.escapedText&&de(n.expression,t.expression))}function ue(n){return e.isIdentifier(n)&&"exports"===n.escapedText}function pe(n){return e.isPropertyAccessExpression(n)&&e.isIdentifier(n.expression)&&"module"===n.expression.escapedText&&"exports"===n.name.escapedText}function me(n){var t=function(n){if(e.isCallExpression(n)){if(!fe(n))return 0;var t=n.arguments[0];return ue(t)||pe(t)?8:e.isPropertyAccessExpression(t)&&"prototype"===t.name.escapedText&&jn(t.expression)?9:7}if(60!==n.operatorToken.kind||!e.isPropertyAccessExpression(n.left))return 0;var r=n.left;if(jn(r.expression)&&"prototype"===r.name.escapedText&&e.isObjectLiteralExpression(_e(n)))return 6;return ge(r)}(n);return 5===t||oe(n)?t:0}function fe(n){return 3===e.length(n.arguments)&&e.isPropertyAccessExpression(n.expression)&&e.isIdentifier(n.expression.expression)&&"Object"===e.idText(n.expression.expression)&&"defineProperty"===e.idText(n.expression.name)&&He(n.arguments[1])&&jn(n.arguments[0])}function ge(n){if(101===n.expression.kind)return 4;if(pe(n))return 2;if(jn(n.expression)){if(Wn(n.expression))return 3;for(var t=n;e.isPropertyAccessExpression(t.expression);)t=t.expression;e.Debug.assert(e.isIdentifier(t.expression));var r=t.expression;return"exports"===r.escapedText||"module"===r.escapedText&&"exports"===t.name.escapedText?1:5}return 0}function _e(n){for(;e.isBinaryExpression(n.right);)n=n.right;return n.right}function ve(n){switch(n.parent.kind){case 250:case 256:return n.parent;case 260:return n.parent.parent;case 192:return G(n.parent)||se(n.parent,!1)?n.parent:void 0;case 183:return e.Debug.assert(e.isStringLiteral(n)),e.tryCast(n.parent.parent,e.isImportTypeNode);default:return}}function he(e){return 310===e.kind||303===e.kind}function ye(n){return e.isExpressionStatement(n)&&e.isBinaryExpression(n.expression)&&0!==me(n.expression)&&e.isBinaryExpression(n.expression.right)&&55===n.expression.right.operatorToken.kind?n.expression.right.right:void 0}function be(e){switch(e.kind){case 220:var n=Ee(e);return n&&n.initializer;case 155:case 276:return e.initializer}}function Ee(n){return e.isVariableStatement(n)?e.firstOrUndefined(n.declarationList.declarations):void 0}function Te(n){return e.isModuleDeclaration(n)&&n.body&&245===n.body.kind?n.body:void 0}function Se(n){var t=n.parent;return 276===t.kind||255===t.kind||155===t.kind||222===t.kind&&190===n.kind||Te(t)||e.isBinaryExpression(n)&&60===n.operatorToken.kind?t:t.parent&&(Ee(t.parent)===n||e.isBinaryExpression(t)&&60===t.operatorToken.kind)?t.parent:t.parent&&t.parent.parent&&(Ee(t.parent.parent)||be(t.parent.parent)===n||ye(t.parent.parent))?t.parent.parent:void 0}function Le(e){return xe(Ae(e))}function xe(n){var t,r=ye(n)||(t=n,e.isExpressionStatement(t)&&t.expression&&e.isBinaryExpression(t.expression)&&60===t.expression.operatorToken.kind?t.expression.right:void 0)||be(n)||Ee(n)||Te(n)||n;return r&&e.isFunctionLike(r)?r:void 0}function Ae(n){return e.Debug.assertDefined(a(n.parent,e.isJSDoc)).parent}function Ce(n){var t=e.isJSDocParameterTag(n)?n.typeExpression&&n.typeExpression.type:n.type;return void 0!==n.dotDotDotToken||!!t&&296===t.kind}function De(e){for(var n=e.parent;;){switch(n.kind){case 205:var t=n.operatorToken.kind;return Gn(t)&&n.left===e?60===t?1:2:0;case 203:case 204:var r=n.operator;return 44===r||45===r?2:0;case 227:case 228:return n.initializer===e?1:0;case 196:case 188:case 209:case 214:e=n;break;case 277:if(n.name!==e)return 0;e=n.parent;break;case 276:if(n.name===e)return 0;e=n.parent;break;default:return 0}n=e.parent}}function ke(e,n){for(;e&&e.kind===n;)e=e.parent;return e}function Me(e){return ke(e,196)}function Oe(e){for(;196===e.kind;)e=e.expression;return e}function Ie(n){var t=e.isExportAssignment(n)?n.expression:n.right;return jn(t)||e.isClassExpression(t)}function Re(n){var t=we(n);if(t&&oe(n)){var r=e.getJSDocAugmentsTag(n);if(r)return r.class}return t}function we(e){var n=Fe(e.heritageClauses,87);return n&&n.types.length>0?n.types[0]:void 0}function Ne(e){var n=Fe(e.heritageClauses,110);return n?n.types:void 0}function Pe(e){var n=Fe(e.heritageClauses,87);return n?n.types:void 0}function Fe(e,n){if(e)for(var t=0,r=e;t=0)return a[i];return},getGlobalDiagnostics:function(){return a=!0,n},getDiagnostics:function(a){if(a)return r.get(a)||[];var i=e.flatMapToMutable(t,(function(e){return r.get(e)}));if(!n.length)return i;return i.unshift.apply(i,n),i},reattachFileDiagnostics:function(n){e.forEach(r.get(n.fileName),(function(e){return e.file=n}))}}};var en=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,nn=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,tn=/[\\\`\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,rn=e.createMapFromTemplate({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085"});function an(e,n){var t=96===n?tn:39===n?nn:en;return e.replace(t,on)}function on(e,n,t){if(0===e.charCodeAt(0)){var r=t.charCodeAt(n+e.length);return r>=48&&r<=57?"\\x00":"\\0"}return rn.get(e)||sn(e.charCodeAt(0))}function sn(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}e.escapeString=an,e.isIntrinsicJsxName=function(n){var t=n.charCodeAt(0);return t>=97&&t<=122||e.stringContains(n,"-")};var ln=/[^\u0000-\u007F]/g;function cn(e,n){return e=an(e,n),ln.test(e)?e.replace(ln,(function(e){return sn(e.charCodeAt(0))})):e}e.escapeNonAsciiString=cn;var dn=[""," "];function un(e){return void 0===dn[e]&&(dn[e]=un(e-1)+dn[1]),dn[e]}function pn(){return dn[1].length}function mn(e,n,t){return n.moduleName||fn(e,n.fileName,t&&t.fileName)}function fn(n,r,a){var i=function(e){return n.getCanonicalFileName(e)},o=t(a?e.getDirectoryPath(a):n.getCommonSourceDirectory(),n.getCurrentDirectory(),i),s=e.getNormalizedAbsolutePath(r,n.getCurrentDirectory()),l=e.getRelativePathToDirectoryOrUrl(o,s,o,i,!1),c=e.removeFileExtension(l);return a?e.ensurePathIsNonModuleName(c):c}function gn(n,t,r,a,i){var o=t.declarationDir||t.outDir,s=o?hn(n,o,r,a,i):n;return e.removeFileExtension(s)+".d.ts"}function _n(e,n,t,r){return!(n.noEmitForJsFiles&&ie(e))&&!e.isDeclarationFile&&!t(e)&&!(P(e)&&r(e.fileName))}function vn(e,n,t){return hn(e,t,n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))}function hn(n,t,r,a,i){var o=e.getNormalizedAbsolutePath(n,r);return o=0===i(o).indexOf(i(a))?o.substring(a.length):o,e.combinePaths(t,o)}function yn(n,t){return e.getLineAndCharacterOfPosition(n,t).line}function bn(n,t){return e.computeLineAndCharacterOfPosition(n,t).line}function En(e){if(e&&e.parameters.length>0){var n=2===e.parameters.length&&Tn(e.parameters[0]);return e.parameters[n?1:0]}}function Tn(e){return Sn(e.name)}function Sn(e){return!!e&&73===e.kind&&Ln(e)}function Ln(e){return 101===e.originalKeywordKind}function xn(n){var t=n.type;return t||!oe(n)?t:e.isJSDocPropertyLikeTag(n)?n.typeExpression&&n.typeExpression.type:e.getJSDocType(n)}function An(e,n,t,r){Cn(e,n,t.pos,r)}function Cn(e,n,t,r){r&&r.length&&t!==r[0].pos&&bn(e,t)!==bn(e,r[0].pos)&&n.writeLine()}function Dn(e,n,t,r,a,i,o,s){if(r&&r.length>0){a&&t.writeSpace(" ");for(var l=!1,c=0,d=r;c=60&&e<=72}function Vn(e){var n=Bn(e);return n&&!n.isImplements?n.class:void 0}function Bn(n){return e.isExpressionWithTypeArguments(n)&&e.isHeritageClause(n.parent)&&e.isClassLike(n.parent.parent)?{class:n.parent.parent,isImplements:110===n.parent.token}:void 0}function Hn(n,t){return e.isBinaryExpression(n)&&(t?60===n.operatorToken.kind:Gn(n.operatorToken.kind))&&e.isLeftHandSideExpression(n.left)}function Kn(e){return void 0!==Vn(e)}function jn(e){return 73===e.kind||Un(e)}function Un(n){return e.isPropertyAccessExpression(n)&&jn(n.expression)}function Wn(n){return e.isPropertyAccessExpression(n)&&"prototype"===n.name.escapedText}e.getIndentString=un,e.getIndentSize=pn,e.createTextWriter=function(n){var t,r,a,i,o;function s(n){var r=e.computeLineStarts(n);r.length>1?(i=i+r.length-1,o=t.length-n.length+e.last(r),a=o-t.length===0):a=!1}function l(e){e&&e.length&&(a&&(e=un(r)+e,a=!1),t+=e,s(e))}function c(){t="",r=0,a=!0,i=0,o=0}return c(),{write:l,rawWrite:function(e){void 0!==e&&(t+=e,s(e))},writeLiteral:function(e){e&&e.length&&l(e)},writeLine:function(){a||(i++,o=(t+=n).length,a=!0)},increaseIndent:function(){r++},decreaseIndent:function(){r--},getIndent:function(){return r},getTextPos:function(){return t.length},getLine:function(){return i},getColumn:function(){return a?r*pn():t.length-o},getText:function(){return t},isAtStartOfLine:function(){return a},clear:c,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:e.noop,writeKeyword:l,writeOperator:l,writeParameter:l,writeProperty:l,writePunctuation:l,writeSpace:l,writeStringLiteral:l,writeSymbol:function(e,n){return l(e)},writeTrailingSemicolon:l,writeComment:l,getTextPosWithWriteLine:function(){return a?t.length:t.length+n.length}}},e.getTrailingSemicolonOmittingWriter=function(e){var n=!1;function t(){n&&(e.writeTrailingSemicolon(";"),n=!1)}return i({},e,{writeTrailingSemicolon:function(){n=!0},writeLiteral:function(n){t(),e.writeLiteral(n)},writeStringLiteral:function(n){t(),e.writeStringLiteral(n)},writeSymbol:function(n,r){t(),e.writeSymbol(n,r)},writePunctuation:function(n){t(),e.writePunctuation(n)},writeKeyword:function(n){t(),e.writeKeyword(n)},writeOperator:function(n){t(),e.writeOperator(n)},writeParameter:function(n){t(),e.writeParameter(n)},writeSpace:function(n){t(),e.writeSpace(n)},writeProperty:function(n){t(),e.writeProperty(n)},writeComment:function(n){t(),e.writeComment(n)},writeLine:function(){t(),e.writeLine()},increaseIndent:function(){t(),e.increaseIndent()},decreaseIndent:function(){t(),e.decreaseIndent()}})},e.getResolvedExternalModuleName=mn,e.getExternalModuleNameFromDeclaration=function(e,n,t){var r=n.getExternalModuleFileFromDeclaration(t);if(r&&!r.isDeclarationFile)return mn(e,r)},e.getExternalModuleNameFromPath=fn,e.getOwnEmitOutputFilePath=function(n,t,r){var a=t.getCompilerOptions();return(a.outDir?e.removeFileExtension(vn(n,t,a.outDir)):e.removeFileExtension(n))+r},e.getDeclarationEmitOutputFilePath=function(e,n){return gn(e,n.getCompilerOptions(),n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))},e.getDeclarationEmitOutputFilePathWorker=gn,e.getSourceFilesToEmit=function(n,t){var r=n.getCompilerOptions(),a=function(e){return n.isSourceFileFromExternalLibrary(e)},i=function(e){return n.getResolvedProjectReferenceToRedirect(e)};if(r.outFile||r.out){var o=e.getEmitModuleKind(r),s=r.emitDeclarationOnly||o===e.ModuleKind.AMD||o===e.ModuleKind.System;return e.filter(n.getSourceFiles(),(function(n){return(s||!e.isExternalModule(n))&&_n(n,r,a,i)}))}var l=void 0===t?n.getSourceFiles():[t];return e.filter(l,(function(e){return _n(e,r,a,i)}))},e.sourceFileMayBeEmitted=_n,e.getSourceFilePathInNewDir=vn,e.getSourceFilePathInNewDirWorker=hn,e.writeFile=function(n,t,r,a,i,o){n.writeFile(r,a,i,(function(n){t.add(e.createCompilerDiagnostic(e.Diagnostics.Could_not_write_file_0_Colon_1,r,n))}),o)},e.getLineOfLocalPosition=yn,e.getLineOfLocalPositionFromLineMap=bn,e.getFirstConstructorWithBody=function(n){return e.find(n.members,(function(n){return e.isConstructorDeclaration(n)&&p(n.body)}))},e.getSetAccessorTypeAnnotationNode=function(e){var n=En(e);return n&&n.type},e.getThisParameter=function(n){if(n.parameters.length&&!e.isJSDocSignature(n)){var t=n.parameters[0];if(Tn(t))return t}},e.parameterIsThisKeyword=Tn,e.isThisIdentifier=Sn,e.identifierIsThisKeyword=Ln,e.getAllAccessorDeclarations=function(n,t){var r,a,i,o;return Ke(t)?(r=t,159===t.kind?i=t:160===t.kind?o=t:e.Debug.fail("Accessor has wrong kind")):e.forEach(n,(function(n){e.isAccessor(n)&&On(n,32)===On(t,32)&&(We(n.name)===We(t.name)&&(r?a||(a=n):r=n,159!==n.kind||i||(i=n),160!==n.kind||o||(o=n)))})),{firstAccessor:r,secondAccessor:a,getAccessor:i,setAccessor:o}},e.getEffectiveTypeAnnotationNode=xn,e.getTypeAnnotationNode=function(e){return e.type},e.getEffectiveReturnTypeNode=function(n){return e.isJSDocSignature(n)?n.type&&n.type.typeExpression&&n.type.typeExpression.type:n.type||(oe(n)?e.getJSDocReturnType(n):void 0)},e.getJSDocTypeParameterDeclarations=function(n){return e.flatMap(e.getJSDocTags(n),(function(n){return function(n){return e.isJSDocTemplateTag(n)&&!(297===n.parent.kind&&n.parent.tags.some(he))}(n)?n.typeParameters:void 0}))},e.getEffectiveSetAccessorTypeAnnotationNode=function(e){var n=En(e);return n&&xn(n)},e.emitNewLineBeforeLeadingComments=An,e.emitNewLineBeforeLeadingCommentsOfPosition=Cn,e.emitNewLineBeforeLeadingCommentOfPosition=function(e,n,t,r){t!==r&&bn(e,t)!==bn(e,r)&&n.writeLine()},e.emitComments=Dn,e.emitDetachedComments=function(n,t,r,a,i,o,s){var l,c;if(s?0===i.pos&&(l=e.filter(e.getLeadingCommentRanges(n,i.pos),(function(e){return _(n,e.pos)}))):l=e.getLeadingCommentRanges(n,i.pos),l){for(var d=[],u=void 0,p=0,m=l;p=g+2)break}d.push(f),u=f}if(d.length){g=bn(t,e.last(d).end);bn(t,e.skipTrivia(n,i.pos))>=g+2&&(An(t,r,i,l),Dn(n,t,r,d,!1,!0,o,a),c={nodePos:i.pos,detachedCommentEndPos:e.last(d).end})}}return c},e.writeCommentRange=function(n,t,r,a,i,o){if(42===n.charCodeAt(a+1))for(var s=e.computeLineAndCharacterOfPosition(t,a),l=t.length,c=void 0,d=a,u=s.line;d0){var f=m%pn(),g=un((m-f)/pn());for(r.rawWrite(g);f;)r.rawWrite(" "),f--}else r.rawWrite("")}kn(n,i,r,o,d,p),d=p}else r.writeComment(n.substring(a,i))},e.hasModifiers=function(e){return 0!==Nn(e)},e.hasModifier=On,e.hasStaticModifier=In,e.hasReadonlyModifier=Rn,e.getSelectedModifierFlags=wn,e.getModifierFlags=Nn,e.getModifierFlagsNoCache=Pn,e.modifierToFlag=Fn,e.isLogicalOperator=function(e){return 55===e||54===e||52===e},e.isAssignmentOperator=Gn,e.tryGetClassExtendingExpressionWithTypeArguments=Vn,e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=Bn,e.isAssignmentExpression=Hn,e.isDestructuringAssignment=function(e){if(Hn(e,!0)){var n=e.left.kind;return 189===n||188===n}return!1},e.isExpressionWithTypeArgumentsInClassExtendsClause=Kn,e.isEntityNameExpression=jn,e.isPropertyAccessEntityNameExpression=Un,e.tryGetPropertyAccessOrIdentifierToString=function n(t){return e.isPropertyAccessExpression(t)?n(t.expression)+"."+t.name:e.isIdentifier(t)?e.unescapeLeadingUnderscores(t.escapedText):void 0},e.isPrototypeAccess=Wn,e.isRightSideOfQualifiedNameOrPropertyAccess=function(e){return 149===e.parent.kind&&e.parent.right===e||190===e.parent.kind&&e.parent.name===e},e.isEmptyObjectLiteral=function(e){return 189===e.kind&&0===e.properties.length},e.isEmptyArrayLiteral=function(e){return 188===e.kind&&0===e.elements.length},e.getLocalSymbolForExportDefault=function(n){return function(n){return n&&e.length(n.declarations)>0&&On(n.declarations[0],512)}(n)?n.declarations[0].localSymbol:void 0},e.tryExtractTSExtension=function(n){return e.find(e.supportedTSExtensionsForExtractExtension,(function(t){return e.fileExtensionIs(n,t)}))};var qn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function zn(n){for(var t,r,a,i,o="",s=function(n){for(var t=[],r=n.length,a=0;a>6|192),t.push(63&i|128)):i<65536?(t.push(i>>12|224),t.push(i>>6&63|128),t.push(63&i|128)):i<131072?(t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(63&i|128)):e.Debug.assert(!1,"Unexpected code point")}return t}(n),l=0,c=s.length;l>2,r=(3&s[l])<<4|s[l+1]>>4,a=(15&s[l+1])<<2|s[l+2]>>6,i=63&s[l+2],l+1>=c?a=i=64:l+2>=c&&(i=64),o+=qn.charAt(t)+qn.charAt(r)+qn.charAt(a)+qn.charAt(i),l+=3;return o}e.convertToBase64=zn,e.base64encode=function(e,n){return e&&e.base64encode?e.base64encode(n):zn(n)},e.base64decode=function(e,n){if(e&&e.base64decode)return e.base64decode(n);for(var t=n.length,r=[],a=0;a>4&3,d=(15&o)<<4|s>>2&15,u=(3&s)<<6|63&l;0===d&&0!==s?r.push(c):0===u&&0!==l?r.push(c,d):r.push(c,d,u),a+=4}return function(e){for(var n="",t=0,r=e.length;t=n||-1===t),{pos:n,end:t}}function Yn(e,n){return Xn(n,e.end)}function Qn(e){return e.decorators&&e.decorators.length>0?Yn(e,e.decorators.end):e}function Zn(e,n,t){return $n(et(e,t),n.end,t)}function $n(e,n,t){return e===n||yn(t,e)===yn(t,n)}function et(n,t){return e.positionIsSynthesized(n.pos)?-1:e.skipTrivia(t.text,n.pos)}function nt(e){return void 0!==e.initializer}function tt(e){return 33554432&e.flags?e.checkFlags:0}function rt(n){var t=n.parent;if(!t)return 0;switch(t.kind){case 196:return rt(t);case 204:case 203:var r=t.operator;return 44===r||45===r?l():0;case 205:var a=t,i=a.left,o=a.operatorToken;return i===n&&Gn(o.kind)?60===o.kind?1:l():0;case 190:return t.name!==n?0:rt(t);case 276:var s=rt(t.parent);return n===t.name?function(n){switch(n){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(n)}}(s):s;case 277:return n===t.objectAssignmentInitializer?0:rt(t.parent);case 188:return rt(t);default:return 0}function l(){return t.parent&&222===function(e){for(;196===e.kind;)e=e.parent;return e}(t.parent).kind?1:2}}function at(n,t){for(;;){var r=t(n);if(void 0!==r)return r;var a=e.getDirectoryPath(n);if(a===n)return;n=a}}function it(e){if(32&e.flags){var n=ot(e);return!!n&&On(n,128)}return!1}function ot(n){return e.find(n.declarations,e.isClassLike)}function st(e){return 3899392&e.flags?e.objectFlags:0}e.getNewLineCharacter=function(n,t){switch(n.newLine){case 0:return"\r\n";case 1:return"\n"}return t?t():e.sys?e.sys.newLine:"\r\n"},e.createRange=Xn,e.moveRangeEnd=function(e,n){return Xn(e.pos,n)},e.moveRangePos=Yn,e.moveRangePastDecorators=Qn,e.moveRangePastModifiers=function(e){return e.modifiers&&e.modifiers.length>0?Yn(e,e.modifiers.end):Qn(e)},e.isCollapsedRange=function(e){return e.pos===e.end},e.createTokenRange=function(n,t){return Xn(n,n+e.tokenToString(t).length)},e.rangeIsOnSingleLine=function(e,n){return Zn(e,e,n)},e.rangeStartPositionsAreOnSameLine=function(e,n,t){return $n(et(e,t),et(n,t),t)},e.rangeEndPositionsAreOnSameLine=function(e,n,t){return $n(e.end,n.end,t)},e.rangeStartIsOnSameLineAsRangeEnd=Zn,e.rangeEndIsOnSameLineAsRangeStart=function(e,n,t){return $n(e.end,et(n,t),t)},e.isNodeArrayMultiLine=function(e,n){return!$n(e.pos,e.end,n)},e.positionsAreOnSameLine=$n,e.getStartPositionOfRange=et,e.isDeclarationNameOfEnumOrNamespace=function(n){var t=e.getParseTreeNode(n);if(t)switch(t.parent.kind){case 244:case 245:return t===t.parent.name}return!1},e.getInitializedVariables=function(n){return e.filter(n.declarations,nt)},e.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},e.closeFileWatcher=function(e){e.close()},e.getCheckFlags=tt,e.getDeclarationModifierFlagsFromSymbol=function(n){if(n.valueDeclaration){var t=e.getCombinedModifierFlags(n.valueDeclaration);return n.parent&&32&n.parent.flags?t:-29&t}if(6&tt(n)){var r=n.checkFlags;return(1024&r?8:256&r?4:16)|(2048&r?32:0)}return 4194304&n.flags?36:0},e.skipAlias=function(e,n){return 2097152&e.flags?n.getAliasedSymbol(e):e},e.getCombinedLocalAndExportSymbolFlags=function(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags},e.isWriteOnlyAccess=function(e){return 1===rt(e)},e.isWriteAccess=function(e){return 0!==rt(e)},function(e){e[e.Read=0]="Read",e[e.Write=1]="Write",e[e.ReadWrite=2]="ReadWrite"}(Jn||(Jn={})),e.compareDataObjects=function e(n,t){if(!n||!t||Object.keys(n).length!==Object.keys(t).length)return!1;for(var r in n)if("object"===typeof n[r]){if(!e(n[r],t[r]))return!1}else if("function"!==typeof n[r]&&n[r]!==t[r])return!1;return!0},e.clearMap=function(e,n){e.forEach(n),e.clear()},e.mutateMap=function(e,n,t){var r=t.createNewValue,a=t.onDeleteValue,i=t.onExistingValue;e.forEach((function(t,r){var o=n.get(r);void 0===o?(e.delete(r),a(t,r)):i&&i(t,o,r)})),n.forEach((function(n,t){e.has(t)||e.set(t,r(t,n))}))},e.forEachAncestorDirectory=at,e.isAbstractConstructorType=function(e){return!!(16&st(e))&&!!e.symbol&&it(e.symbol)},e.isAbstractConstructorSymbol=it,e.getClassLikeDeclarationOfSymbol=ot,e.getObjectFlags=st,e.typeHasCallOrConstructSignatures=function(e,n){return 0!==n.getSignaturesOfType(e,0).length||0!==n.getSignaturesOfType(e,1).length},e.forSomeAncestorDirectory=function(e,n){return!!at(e,(function(e){return!!n(e)||void 0}))},e.isUMDExportSymbol=function(n){return!!n&&!!n.declarations&&!!n.declarations[0]&&e.isNamespaceExportDeclaration(n.declarations[0])},e.showModuleSpecifier=function(n){var t=n.moduleSpecifier;return e.isStringLiteral(t)?t.text:b(t)},e.getLastChild=function(n){var t;return e.forEachChild(n,(function(e){p(e)&&(t=e)}),(function(e){for(var n=e.length-1;n>=0;n--)if(p(e[n])){t=e[n];break}})),t},e.addToSeen=function(e,n,t){return void 0===t&&(t=!0),n=String(n),!e.has(n)&&(e.set(n,t),!0)},e.isObjectTypeDeclaration=function(n){return e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isTypeLiteralNode(n)},e.isTypeNodeKind=function(e){return e>=164&&e<=184||121===e||144===e||136===e||147===e||137===e||124===e||139===e||140===e||101===e||107===e||142===e||97===e||133===e||212===e||290===e||291===e||292===e||293===e||294===e||295===e||296===e},e.isAccessExpression=function(e){return 190===e.kind||191===e.kind},e.isBundleFileTextLike=function(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}}(c||(c={})),function(e){function n(e){return e.start+e.length}function t(e){return 0===e.length}function r(e,n){var t=i(e,n);return t&&0===t.length?void 0:t}function a(e,n,t,r){return t<=e+n&&t+r>=e}function i(e,t){var r=Math.max(e.start,t.start),a=Math.min(n(e),n(t));return r<=a?s(r,a):void 0}function o(e,n){if(e<0)throw new Error("start < 0");if(n<0)throw new Error("length < 0");return{start:e,length:n}}function s(e,n){return o(e,n-e)}function l(e,n){if(n<0)throw new Error("newLength < 0");return{span:e,newLength:n}}function c(n){return!!e.isBindingPattern(n)&&e.every(n.elements,d)}function d(n){return!!e.isOmittedExpression(n)||c(n.name)}function u(n){for(var t=n.parent;e.isBindingElement(t.parent);)t=t.parent.parent;return t.parent}function p(n,t){e.isBindingElement(n)&&(n=u(n));var r=t(n);return 238===n.kind&&(n=n.parent),n&&239===n.kind&&(r|=t(n),n=n.parent),n&&220===n.kind&&(r|=t(n)),r}function m(e,n){if(e)for(;void 0!==e.original;)e=e.original;return!n||n(e)?e:void 0}function f(e){return 0===(8&e.flags)}function g(e){var n=e;return n.length>=3&&95===n.charCodeAt(0)&&95===n.charCodeAt(1)&&95===n.charCodeAt(2)?n.substr(1):n}function _(n){var t=y(n);return t&&e.isIdentifier(t)?t:void 0}function v(n){return n.name||function(n){var t=n.parent.parent;if(t){if(e.isDeclaration(t))return _(t);switch(t.kind){case 220:if(t.declarationList&&t.declarationList.declarations[0])return _(t.declarationList.declarations[0]);break;case 222:var r=t.expression;switch(r.kind){case 190:return r.name;case 191:var a=r.argumentExpression;if(e.isIdentifier(a))return a}break;case 196:return _(t.expression);case 234:if(e.isDeclaration(t.statement)||e.isExpression(t.statement))return _(t.statement)}}}(n)}function h(n){switch(n.kind){case 73:return n;case 311:case 305:var t=n.name;if(149===t.kind)return t.right;break;case 192:case 205:var r=n;switch(e.getAssignmentDeclarationKind(r)){case 1:case 4:case 5:case 3:return r.left.name;case 7:case 8:case 9:return r.arguments[1];default:return}case 310:return v(n);case 255:var a=n.expression;return e.isIdentifier(a)?a:void 0}return n.name}function y(n){if(void 0!==n)return h(n)||(e.isFunctionExpression(n)||e.isClassExpression(n)?function(n){if(!n.parent)return;if(e.isPropertyAssignment(n.parent)||e.isBindingElement(n.parent))return n.parent.name;if(e.isBinaryExpression(n.parent)&&n===n.parent.right){if(e.isIdentifier(n.parent.left))return n.parent.left;if(e.isPropertyAccessExpression(n.parent.left))return n.parent.left.name}}(n):void 0)}function b(n){if(n.name){if(e.isIdentifier(n.name)){var t=n.name.escapedText;return L(n.parent).filter((function(n){return e.isJSDocParameterTag(n)&&e.isIdentifier(n.name)&&n.name.escapedText===t}))}var r=n.parent.parameters.indexOf(n);e.Debug.assert(r>-1,"Parameters should always be in their parents' parameter list");var a=L(n.parent).filter(e.isJSDocParameterTag);if(r=e.start&&t=e.pos&&n<=e.end},e.textSpanContainsTextSpan=function(e,t){return t.start>=e.start&&n(t)<=n(e)},e.textSpanOverlapsWith=function(e,n){return void 0!==r(e,n)},e.textSpanOverlap=r,e.textSpanIntersectsWithTextSpan=function(e,n){return a(e.start,e.length,n.start,n.length)},e.textSpanIntersectsWith=function(e,n,t){return a(e.start,e.length,n,t)},e.decodedTextSpanIntersectsWith=a,e.textSpanIntersectsWithPosition=function(e,t){return t<=n(e)&&t>=e.start},e.textSpanIntersection=i,e.createTextSpan=o,e.createTextSpanFromBounds=s,e.textChangeRangeNewSpan=function(e){return o(e.span.start,e.newLength)},e.textChangeRangeIsUnchanged=function(e){return t(e.span)&&0===e.newLength},e.createTextChangeRange=l,e.unchangedTextChangeRange=l(o(0,0),0),e.collapseTextChangeRangesAcrossMultipleVersions=function(t){if(0===t.length)return e.unchangedTextChangeRange;if(1===t.length)return t[0];for(var r=t[0],a=r.span.start,i=n(r.span),o=a+r.newLength,c=1;c=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e},e.unescapeLeadingUnderscores=g,e.idText=function(e){return g(e.escapedText)},e.symbolName=function(e){return g(e.escapedName)},e.getNameOfJSDocTypedef=v,e.isNamedDeclaration=function(e){return!!e.name},e.getNonAssignedNameOfDeclaration=h,e.getNameOfDeclaration=y,e.getJSDocParameterTags=b,e.getJSDocTypeParameterTags=function(n){var t=n.name.escapedText;return L(n.parent).filter((function(n){return e.isJSDocTemplateTag(n)&&n.typeParameters.some((function(e){return e.name.escapedText===t}))}))},e.hasJSDocParameterTags=function(n){return!!x(n,e.isJSDocParameterTag)},e.getJSDocAugmentsTag=function(n){return x(n,e.isJSDocAugmentsTag)},e.getJSDocClassTag=function(n){return x(n,e.isJSDocClassTag)},e.getJSDocEnumTag=function(n){return x(n,e.isJSDocEnumTag)},e.getJSDocThisTag=function(n){return x(n,e.isJSDocThisTag)},e.getJSDocReturnTag=E,e.getJSDocTemplateTag=function(n){return x(n,e.isJSDocTemplateTag)},e.getJSDocTypeTag=T,e.getJSDocType=S,e.getJSDocReturnType=function(n){var t=E(n);if(t&&t.typeExpression)return t.typeExpression.type;var r=T(n);if(r&&r.typeExpression){var a=r.typeExpression.type;if(e.isTypeLiteralNode(a)){var i=e.find(a.members,e.isCallSignatureDeclaration);return i&&i.type}if(e.isFunctionTypeNode(a))return a.type}},e.getJSDocTags=L,e.getAllJSDocTagsOfKind=function(e,n){return L(e).filter((function(e){return e.kind===n}))},e.getEffectiveTypeParameterDeclarations=function(n){if(e.isJSDocSignature(n))return e.emptyArray;if(e.isJSDocTypeAlias(n))return e.Debug.assert(297===n.parent.kind),e.flatMap(n.parent.tags,(function(n){return e.isJSDocTemplateTag(n)?n.typeParameters:void 0}));if(n.typeParameters)return n.typeParameters;if(e.isInJSFile(n)){var t=e.getJSDocTypeParameterDeclarations(n);if(t.length)return t;var r=S(n);if(r&&e.isFunctionTypeNode(r)&&r.typeParameters)return r.typeParameters}return e.emptyArray},e.getEffectiveConstraintOfTypeParameter=function(n){return n.constraint?n.constraint:e.isJSDocTemplateTag(n.parent)&&n===n.parent.typeParameters[0]?n.parent.constraint:void 0}}(c||(c={})),function(e){function n(e){return 73===e.kind}function t(e){return 165===e.kind}function r(e){switch(e.kind){case 282:case 283:return!0;default:return!1}}e.isNumericLiteral=function(e){return 8===e.kind},e.isBigIntLiteral=function(e){return 9===e.kind},e.isStringLiteral=function(e){return 10===e.kind},e.isJsxText=function(e){return 11===e.kind},e.isRegularExpressionLiteral=function(e){return 13===e.kind},e.isNoSubstitutionTemplateLiteral=function(e){return 14===e.kind},e.isTemplateHead=function(e){return 15===e.kind},e.isTemplateMiddle=function(e){return 16===e.kind},e.isTemplateTail=function(e){return 17===e.kind},e.isIdentifier=n,e.isQualifiedName=function(e){return 149===e.kind},e.isComputedPropertyName=function(e){return 150===e.kind},e.isTypeParameterDeclaration=function(e){return 151===e.kind},e.isParameter=function(e){return 152===e.kind},e.isDecorator=function(e){return 153===e.kind},e.isPropertySignature=function(e){return 154===e.kind},e.isPropertyDeclaration=function(e){return 155===e.kind},e.isMethodSignature=function(e){return 156===e.kind},e.isMethodDeclaration=function(e){return 157===e.kind},e.isConstructorDeclaration=function(e){return 158===e.kind},e.isGetAccessorDeclaration=function(e){return 159===e.kind},e.isSetAccessorDeclaration=function(e){return 160===e.kind},e.isCallSignatureDeclaration=function(e){return 161===e.kind},e.isConstructSignatureDeclaration=function(e){return 162===e.kind},e.isIndexSignatureDeclaration=function(e){return 163===e.kind},e.isGetOrSetAccessorDeclaration=function(e){return 160===e.kind||159===e.kind},e.isTypePredicateNode=function(e){return 164===e.kind},e.isTypeReferenceNode=t,e.isFunctionTypeNode=function(e){return 166===e.kind},e.isConstructorTypeNode=function(e){return 167===e.kind},e.isTypeQueryNode=function(e){return 168===e.kind},e.isTypeLiteralNode=function(e){return 169===e.kind},e.isArrayTypeNode=function(e){return 170===e.kind},e.isTupleTypeNode=function(e){return 171===e.kind},e.isUnionTypeNode=function(e){return 174===e.kind},e.isIntersectionTypeNode=function(e){return 175===e.kind},e.isConditionalTypeNode=function(e){return 176===e.kind},e.isInferTypeNode=function(e){return 177===e.kind},e.isParenthesizedTypeNode=function(e){return 178===e.kind},e.isThisTypeNode=function(e){return 179===e.kind},e.isTypeOperatorNode=function(e){return 180===e.kind},e.isIndexedAccessTypeNode=function(e){return 181===e.kind},e.isMappedTypeNode=function(e){return 182===e.kind},e.isLiteralTypeNode=function(e){return 183===e.kind},e.isImportTypeNode=function(e){return 184===e.kind},e.isObjectBindingPattern=function(e){return 185===e.kind},e.isArrayBindingPattern=function(e){return 186===e.kind},e.isBindingElement=function(e){return 187===e.kind},e.isArrayLiteralExpression=function(e){return 188===e.kind},e.isObjectLiteralExpression=function(e){return 189===e.kind},e.isPropertyAccessExpression=function(e){return 190===e.kind},e.isElementAccessExpression=function(e){return 191===e.kind},e.isCallExpression=function(e){return 192===e.kind},e.isNewExpression=function(e){return 193===e.kind},e.isTaggedTemplateExpression=function(e){return 194===e.kind},e.isTypeAssertion=function(e){return 195===e.kind},e.isConstTypeReference=function(e){return t(e)&&n(e.typeName)&&"const"===e.typeName.escapedText&&!e.typeArguments},e.isParenthesizedExpression=function(e){return 196===e.kind},e.skipPartiallyEmittedExpressions=function(e){for(;314===e.kind;)e=e.expression;return e},e.isFunctionExpression=function(e){return 197===e.kind},e.isArrowFunction=function(e){return 198===e.kind},e.isDeleteExpression=function(e){return 199===e.kind},e.isTypeOfExpression=function(e){return 200===e.kind},e.isVoidExpression=function(e){return 201===e.kind},e.isAwaitExpression=function(e){return 202===e.kind},e.isPrefixUnaryExpression=function(e){return 203===e.kind},e.isPostfixUnaryExpression=function(e){return 204===e.kind},e.isBinaryExpression=function(e){return 205===e.kind},e.isConditionalExpression=function(e){return 206===e.kind},e.isTemplateExpression=function(e){return 207===e.kind},e.isYieldExpression=function(e){return 208===e.kind},e.isSpreadElement=function(e){return 209===e.kind},e.isClassExpression=function(e){return 210===e.kind},e.isOmittedExpression=function(e){return 211===e.kind},e.isExpressionWithTypeArguments=function(e){return 212===e.kind},e.isAsExpression=function(e){return 213===e.kind},e.isNonNullExpression=function(e){return 214===e.kind},e.isMetaProperty=function(e){return 215===e.kind},e.isTemplateSpan=function(e){return 217===e.kind},e.isSemicolonClassElement=function(e){return 218===e.kind},e.isBlock=function(e){return 219===e.kind},e.isVariableStatement=function(e){return 220===e.kind},e.isEmptyStatement=function(e){return 221===e.kind},e.isExpressionStatement=function(e){return 222===e.kind},e.isIfStatement=function(e){return 223===e.kind},e.isDoStatement=function(e){return 224===e.kind},e.isWhileStatement=function(e){return 225===e.kind},e.isForStatement=function(e){return 226===e.kind},e.isForInStatement=function(e){return 227===e.kind},e.isForOfStatement=function(e){return 228===e.kind},e.isContinueStatement=function(e){return 229===e.kind},e.isBreakStatement=function(e){return 230===e.kind},e.isBreakOrContinueStatement=function(e){return 230===e.kind||229===e.kind},e.isReturnStatement=function(e){return 231===e.kind},e.isWithStatement=function(e){return 232===e.kind},e.isSwitchStatement=function(e){return 233===e.kind},e.isLabeledStatement=function(e){return 234===e.kind},e.isThrowStatement=function(e){return 235===e.kind},e.isTryStatement=function(e){return 236===e.kind},e.isDebuggerStatement=function(e){return 237===e.kind},e.isVariableDeclaration=function(e){return 238===e.kind},e.isVariableDeclarationList=function(e){return 239===e.kind},e.isFunctionDeclaration=function(e){return 240===e.kind},e.isClassDeclaration=function(e){return 241===e.kind},e.isInterfaceDeclaration=function(e){return 242===e.kind},e.isTypeAliasDeclaration=function(e){return 243===e.kind},e.isEnumDeclaration=function(e){return 244===e.kind},e.isModuleDeclaration=function(e){return 245===e.kind},e.isModuleBlock=function(e){return 246===e.kind},e.isCaseBlock=function(e){return 247===e.kind},e.isNamespaceExportDeclaration=function(e){return 248===e.kind},e.isImportEqualsDeclaration=function(e){return 249===e.kind},e.isImportDeclaration=function(e){return 250===e.kind},e.isImportClause=function(e){return 251===e.kind},e.isNamespaceImport=function(e){return 252===e.kind},e.isNamedImports=function(e){return 253===e.kind},e.isImportSpecifier=function(e){return 254===e.kind},e.isExportAssignment=function(e){return 255===e.kind},e.isExportDeclaration=function(e){return 256===e.kind},e.isNamedExports=function(e){return 257===e.kind},e.isExportSpecifier=function(e){return 258===e.kind},e.isMissingDeclaration=function(e){return 259===e.kind},e.isExternalModuleReference=function(e){return 260===e.kind},e.isJsxElement=function(e){return 261===e.kind},e.isJsxSelfClosingElement=function(e){return 262===e.kind},e.isJsxOpeningElement=function(e){return 263===e.kind},e.isJsxClosingElement=function(e){return 264===e.kind},e.isJsxFragment=function(e){return 265===e.kind},e.isJsxOpeningFragment=function(e){return 266===e.kind},e.isJsxClosingFragment=function(e){return 267===e.kind},e.isJsxAttribute=function(e){return 268===e.kind},e.isJsxAttributes=function(e){return 269===e.kind},e.isJsxSpreadAttribute=function(e){return 270===e.kind},e.isJsxExpression=function(e){return 271===e.kind},e.isCaseClause=function(e){return 272===e.kind},e.isDefaultClause=function(e){return 273===e.kind},e.isHeritageClause=function(e){return 274===e.kind},e.isCatchClause=function(e){return 275===e.kind},e.isPropertyAssignment=function(e){return 276===e.kind},e.isShorthandPropertyAssignment=function(e){return 277===e.kind},e.isSpreadAssignment=function(e){return 278===e.kind},e.isEnumMember=function(e){return 279===e.kind},e.isSourceFile=function(e){return 285===e.kind},e.isBundle=function(e){return 286===e.kind},e.isUnparsedSource=function(e){return 287===e.kind},e.isUnparsedPrepend=function(e){return 281===e.kind},e.isUnparsedTextLike=r,e.isUnparsedNode=function(e){return r(e)||280===e.kind||284===e.kind},e.isJSDocTypeExpression=function(e){return 289===e.kind},e.isJSDocAllType=function(e){return 290===e.kind},e.isJSDocUnknownType=function(e){return 291===e.kind},e.isJSDocNullableType=function(e){return 292===e.kind},e.isJSDocNonNullableType=function(e){return 293===e.kind},e.isJSDocOptionalType=function(e){return 294===e.kind},e.isJSDocFunctionType=function(e){return 295===e.kind},e.isJSDocVariadicType=function(e){return 296===e.kind},e.isJSDoc=function(e){return 297===e.kind},e.isJSDocAugmentsTag=function(e){return 301===e.kind},e.isJSDocClassTag=function(e){return 302===e.kind},e.isJSDocEnumTag=function(e){return 304===e.kind},e.isJSDocThisTag=function(e){return 307===e.kind},e.isJSDocParameterTag=function(e){return 305===e.kind},e.isJSDocReturnTag=function(e){return 306===e.kind},e.isJSDocTypeTag=function(e){return 308===e.kind},e.isJSDocTemplateTag=function(e){return 309===e.kind},e.isJSDocTypedefTag=function(e){return 310===e.kind},e.isJSDocPropertyTag=function(e){return 311===e.kind},e.isJSDocPropertyLikeTag=function(e){return 311===e.kind||305===e.kind},e.isJSDocTypeLiteral=function(e){return 298===e.kind},e.isJSDocCallbackTag=function(e){return 303===e.kind},e.isJSDocSignature=function(e){return 299===e.kind}}(c||(c={})),function(e){function n(e){return e>=149}function t(e){return 8<=e&&e<=14}function r(e){return 14<=e&&e<=17}function a(e){switch(e){case 119:case 122:case 78:case 126:case 81:case 86:case 116:case 114:case 115:case 134:case 117:return!0}return!1}function i(n){return!!(92&e.modifierToFlag(n))}function o(e){return e&&l(e.kind)}function s(e){switch(e){case 240:case 157:case 158:case 159:case 160:case 197:case 198:return!0;default:return!1}}function l(e){switch(e){case 156:case 161:case 299:case 162:case 163:case 166:case 295:case 167:return!0;default:return s(e)}}function c(e){var n=e.kind;return 158===n||155===n||157===n||159===n||160===n||163===n||218===n}function d(e){var n=e.kind;return 162===n||161===n||154===n||156===n||163===n}function u(e){var n=e.kind;return 276===n||277===n||278===n||157===n||159===n||160===n}function p(e){switch(e.kind){case 185:case 189:return!0}return!1}function m(e){switch(e.kind){case 186:case 188:return!0}return!1}function f(e){switch(e){case 190:case 191:case 193:case 192:case 261:case 262:case 265:case 194:case 188:case 196:case 189:case 210:case 197:case 73:case 13:case 8:case 9:case 10:case 14:case 207:case 88:case 97:case 101:case 103:case 99:case 214:case 215:case 93:return!0;default:return!1}}function g(e){switch(e){case 203:case 204:case 199:case 200:case 201:case 202:case 195:return!0;default:return f(e)}}function _(n){return function(e){switch(e){case 206:case 208:case 198:case 205:case 209:case 213:case 211:case 315:case 314:return!0;default:return g(e)}}(e.skipPartiallyEmittedExpressions(n).kind)}function v(e){return 314===e.kind}function h(e){return 313===e.kind}function y(e){return 240===e||259===e||241===e||242===e||243===e||244===e||245===e||250===e||249===e||256===e||255===e||248===e}function b(e){return 230===e||229===e||237===e||224===e||222===e||221===e||227===e||228===e||226===e||223===e||234===e||231===e||233===e||235===e||236===e||220===e||225===e||232===e||313===e||317===e||316===e}function E(e){return e.kind>=300&&e.kind<=311}function T(e){return!!e.initializer}e.isSyntaxList=function(e){return 312===e.kind},e.isNode=function(e){return n(e.kind)},e.isNodeKind=n,e.isToken=function(e){return e.kind>=0&&e.kind<=148},e.isNodeArray=function(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")},e.isLiteralKind=t,e.isLiteralExpression=function(e){return t(e.kind)},e.isTemplateLiteralKind=r,e.isTemplateLiteralToken=function(e){return r(e.kind)},e.isTemplateMiddleOrTemplateTail=function(e){var n=e.kind;return 16===n||17===n},e.isImportOrExportSpecifier=function(n){return e.isImportSpecifier(n)||e.isExportSpecifier(n)},e.isStringTextContainingNode=function(e){return 10===e.kind||r(e.kind)},e.isGeneratedIdentifier=function(n){return e.isIdentifier(n)&&(7&n.autoGenerateFlags)>0},e.isModifierKind=a,e.isParameterPropertyModifier=i,e.isClassMemberModifier=function(e){return i(e)||117===e},e.isModifier=function(e){return a(e.kind)},e.isEntityName=function(e){var n=e.kind;return 149===n||73===n},e.isPropertyName=function(e){var n=e.kind;return 73===n||10===n||8===n||150===n},e.isBindingName=function(e){var n=e.kind;return 73===n||185===n||186===n},e.isFunctionLike=o,e.isFunctionLikeDeclaration=function(e){return e&&s(e.kind)},e.isFunctionLikeKind=l,e.isFunctionOrModuleBlock=function(n){return e.isSourceFile(n)||e.isModuleBlock(n)||e.isBlock(n)&&o(n.parent)},e.isClassElement=c,e.isClassLike=function(e){return e&&(241===e.kind||210===e.kind)},e.isAccessor=function(e){return e&&(159===e.kind||160===e.kind)},e.isMethodOrAccessor=function(e){switch(e.kind){case 157:case 159:case 160:return!0;default:return!1}},e.isTypeElement=d,e.isClassOrTypeElement=function(e){return d(e)||c(e)},e.isObjectLiteralElementLike=u,e.isTypeNode=function(n){return e.isTypeNodeKind(n.kind)},e.isFunctionOrConstructorTypeNode=function(e){switch(e.kind){case 166:case 167:return!0}return!1},e.isBindingPattern=function(e){if(e){var n=e.kind;return 186===n||185===n}return!1},e.isAssignmentPattern=function(e){var n=e.kind;return 188===n||189===n},e.isArrayBindingElement=function(e){var n=e.kind;return 187===n||211===n},e.isDeclarationBindingElement=function(e){switch(e.kind){case 238:case 152:case 187:return!0}return!1},e.isBindingOrAssignmentPattern=function(e){return p(e)||m(e)},e.isObjectBindingOrAssignmentPattern=p,e.isArrayBindingOrAssignmentPattern=m,e.isPropertyAccessOrQualifiedNameOrImportTypeNode=function(e){var n=e.kind;return 190===n||149===n||184===n},e.isPropertyAccessOrQualifiedName=function(e){var n=e.kind;return 190===n||149===n},e.isCallLikeExpression=function(e){switch(e.kind){case 263:case 262:case 192:case 193:case 194:case 153:return!0;default:return!1}},e.isCallOrNewExpression=function(e){return 192===e.kind||193===e.kind},e.isTemplateLiteral=function(e){var n=e.kind;return 207===n||14===n},e.isLeftHandSideExpression=function(n){return f(e.skipPartiallyEmittedExpressions(n).kind)},e.isUnaryExpression=function(n){return g(e.skipPartiallyEmittedExpressions(n).kind)},e.isUnaryExpressionWithWrite=function(e){switch(e.kind){case 204:return!0;case 203:return 44===e.operator||45===e.operator;default:return!1}},e.isExpression=_,e.isAssertionExpression=function(e){var n=e.kind;return 195===n||213===n},e.isPartiallyEmittedExpression=v,e.isNotEmittedStatement=h,e.isNotEmittedOrPartiallyEmittedNode=function(e){return h(e)||v(e)},e.isIterationStatement=function e(n,t){switch(n.kind){case 226:case 227:case 228:case 224:case 225:return!0;case 234:return t&&e(n.statement,t)}return!1},e.isForInOrOfStatement=function(e){return 227===e.kind||228===e.kind},e.isConciseBody=function(n){return e.isBlock(n)||_(n)},e.isFunctionBody=function(n){return e.isBlock(n)},e.isForInitializer=function(n){return e.isVariableDeclarationList(n)||_(n)},e.isModuleBody=function(e){var n=e.kind;return 246===n||245===n||73===n},e.isNamespaceBody=function(e){var n=e.kind;return 246===n||245===n},e.isJSDocNamespaceBody=function(e){var n=e.kind;return 73===n||245===n},e.isNamedImportBindings=function(e){var n=e.kind;return 253===n||252===n},e.isModuleOrEnumDeclaration=function(e){return 245===e.kind||244===e.kind},e.isDeclaration=function(n){return 151===n.kind?n.parent&&309!==n.parent.kind||e.isInJSFile(n):198===(t=n.kind)||187===t||241===t||210===t||158===t||244===t||279===t||258===t||240===t||197===t||159===t||251===t||249===t||254===t||242===t||268===t||157===t||156===t||245===t||248===t||252===t||152===t||276===t||155===t||154===t||160===t||277===t||243===t||151===t||238===t||310===t||303===t||311===t;var t},e.isDeclarationStatement=function(e){return y(e.kind)},e.isStatementButNotDeclaration=function(e){return b(e.kind)},e.isStatement=function(n){var t=n.kind;return b(t)||y(t)||function(n){if(219!==n.kind)return!1;if(void 0!==n.parent&&(236===n.parent.kind||275===n.parent.kind))return!1;return!e.isFunctionBlock(n)}(n)},e.isModuleReference=function(e){var n=e.kind;return 260===n||149===n||73===n},e.isJsxTagNameExpression=function(e){var n=e.kind;return 101===n||73===n||190===n},e.isJsxChild=function(e){var n=e.kind;return 261===n||271===n||262===n||11===n||265===n},e.isJsxAttributeLike=function(e){var n=e.kind;return 268===n||270===n},e.isStringLiteralOrJsxExpression=function(e){var n=e.kind;return 10===n||271===n},e.isJsxOpeningLikeElement=function(e){var n=e.kind;return 263===n||262===n},e.isCaseOrDefaultClause=function(e){var n=e.kind;return 272===n||273===n},e.isJSDocNode=function(e){return e.kind>=289&&e.kind<=311},e.isJSDocCommentContainingNode=function(n){return 297===n.kind||E(n)||e.isJSDocTypeLiteral(n)||e.isJSDocSignature(n)},e.isJSDocTag=E,e.isSetAccessor=function(e){return 160===e.kind},e.isGetAccessor=function(e){return 159===e.kind},e.hasJSDocNodes=function(e){var n=e.jsDoc;return!!n&&n.length>0},e.hasType=function(e){return!!e.type},e.hasInitializer=T,e.hasOnlyExpressionInitializer=function(n){return T(n)&&!e.isForStatement(n)&&!e.isForInStatement(n)&&!e.isForOfStatement(n)&&!e.isJsxAttribute(n)},e.isObjectLiteralElement=function(e){return 268===e.kind||270===e.kind||u(e)},e.isTypeReferenceType=function(e){return 165===e.kind||212===e.kind};e.guessIndentation=function(n){for(var t=1073741823,r=0,a=n;r=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function m(e){return!(!e.declaration&&!e.composite)}function f(e,n){return void 0===e[n]?!!e.strict:!!e[n]}function g(e,n){return n.strictFlag?f(e,n.name):e[n.name]}e.isNamedImportsOrExports=function(e){return 253===e.kind||257===e.kind},e.objectAllocator={getNodeConstructor:function(){return a},getTokenConstructor:function(){return a},getIdentifierConstructor:function(){return a},getSourceFileConstructor:function(){return a},getSymbolConstructor:function(){return n},getTypeConstructor:function(){return t},getSignatureConstructor:function(){return r},getSourceMapSourceConstructor:function(){return i}},e.formatStringFromArgs=o,e.getLocaleSpecificMessage=s,e.createFileDiagnostic=function(n,t,r,a){e.Debug.assertGreaterThanOrEqual(t,0),e.Debug.assertGreaterThanOrEqual(r,0),n&&(e.Debug.assertLessThanOrEqual(t,n.text.length),e.Debug.assertLessThanOrEqual(t+r,n.text.length));var i=s(a);return arguments.length>4&&(i=o(i,arguments,4)),{file:n,start:t,length:r,messageText:i,category:a.category,code:a.code,reportsUnnecessary:a.reportsUnnecessary}},e.formatMessage=function(e,n){var t=s(n);return arguments.length>2&&(t=o(t,arguments,2)),t},e.createCompilerDiagnostic=function(e){var n=s(e);return arguments.length>1&&(n=o(n,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:n,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary}},e.createCompilerDiagnosticFromMessageChain=function(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}},e.chainDiagnosticMessages=function(e,n){var t=s(n);return arguments.length>2&&(t=o(t,arguments,2)),{messageText:t,category:n.category,code:n.code,next:e}},e.concatenateDiagnosticMessageChains=function(e,n){for(var t=e;t.next;)t=t.next;return t.next=n,e},e.compareDiagnostics=c,e.compareDiagnosticsSkipRelatedInformation=d,e.getEmitScriptTarget=u,e.getEmitModuleKind=p,e.getEmitModuleResolutionKind=function(n){var t=n.moduleResolution;return void 0===t&&(t=p(n)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),t},e.hasJsonModuleEmitEnabled=function(n){switch(p(n)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ESNext:return!0;default:return!1}},e.unreachableCodeIsError=function(e){return!1===e.allowUnreachableCode},e.unusedLabelIsError=function(e){return!1===e.allowUnusedLabels},e.getAreDeclarationMapsEnabled=function(e){return!(!m(e)||!e.declarationMap)},e.getAllowSyntheticDefaultImports=function(n){var t=p(n);return void 0!==n.allowSyntheticDefaultImports?n.allowSyntheticDefaultImports:n.esModuleInterop||t===e.ModuleKind.System},e.getEmitDeclarations=m,e.isIncrementalCompilation=function(e){return!(!e.incremental&&!e.composite)},e.getStrictOptionValue=f,e.compilerOptionsAffectSemanticDiagnostics=function(n,t){return t!==n&&e.semanticDiagnosticsOptionDeclarations.some((function(r){return!e.isJsonEqual(g(t,r),g(n,r))}))},e.compilerOptionsAffectEmit=function(n,t){return t!==n&&e.affectsEmitOptionDeclarations.some((function(r){return!e.isJsonEqual(g(t,r),g(n,r))}))},e.getCompilerOptionValue=g,e.hasZeroOrOneAsteriskCharacter=function(e){for(var n=!1,t=0;t=97&&e<=122||e>=65&&e<=90}function y(n){if(!n)return 0;var t=n.charCodeAt(0);if(47===t||92===t){if(n.charCodeAt(1)!==t)return 1;var r=n.indexOf(47===t?e.directorySeparator:"\\",2);return r<0?n.length:r+1}if(h(t)&&58===n.charCodeAt(1)){var a=n.charCodeAt(2);if(47===a||92===a)return 3;if(2===n.length)return 2}var i=n.indexOf("://");if(-1!==i){var o=i+"://".length,s=n.indexOf(e.directorySeparator,o);if(-1!==s){var l=n.slice(0,i),c=n.slice(o,s);if("file"===l&&(""===c||"localhost"===c)&&h(n.charCodeAt(s+1))){var d=function(e,n){var t=e.charCodeAt(n);if(58===t)return n+1;if(37===t&&51===e.charCodeAt(n+1)){var r=e.charCodeAt(n+2);if(97===r||65===r)return n+3}return-1}(n,s+2);if(-1!==d){if(47===n.charCodeAt(d))return~(d+1);if(d===n.length)return~d}}return~(s+1)}return~n.length}return 0}function b(e){var n=y(e);return n<0?~n:n}function E(e){return y(e)>0}function T(n,t){return void 0===t&&(t=""),function(n,t){var r=n.substring(0,t),a=n.substring(t).split(e.directorySeparator);return a.length&&!e.lastOrUndefined(a)&&a.pop(),[r].concat(a)}(n=e.combinePaths(t,n),b(n))}function S(n){if(!e.some(n))return[];for(var t=[n[0]],r=1;r1){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue;t.push(a)}}return t}function L(e,n){return S(T(e,n))}function x(n){return 0===n.length?"":(n[0]&&e.ensureTrailingDirectorySeparator(n[0]))+n.slice(1).join(e.directorySeparator)}e.normalizeSlashes=v,e.getRootLength=b,e.normalizePath=function(n){return e.resolvePath(n)},e.normalizePathAndParts=function(n){var t=S(T(n=v(n))),r=t[0],a=t.slice(1);if(a.length){var i=r+a.join(e.directorySeparator);return{path:e.hasTrailingDirectorySeparator(n)?e.ensureTrailingDirectorySeparator(i):i,parts:a}}return{path:r,parts:a}},e.getDirectoryPath=function(n){var t=b(n=v(n));return t===n.length?n:(n=e.removeTrailingDirectorySeparator(n)).slice(0,Math.max(t,n.lastIndexOf(e.directorySeparator)))},e.startsWithDirectory=function(n,t,r){var a=r(n),i=r(t);return e.startsWith(a,i+"/")||e.startsWith(a,i+"\\")},e.isUrl=function(e){return y(e)<0},e.pathIsRelative=function(e){return/^\.\.?($|[\\/])/.test(e)},e.isRootedDiskPath=E,e.isDiskPathRoot=function(e){var n=y(e);return n>0&&n===e.length},e.convertToRelativePath=function(n,t,r){return E(n)?e.getRelativePathToDirectoryOrUrl(t,n,t,r,!1):n},e.getPathComponents=T,e.reducePathComponents=S,e.getNormalizedPathComponents=L,e.getNormalizedAbsolutePath=function(e,n){return x(L(e,n))},e.getPathFromPathComponents=x,e.getNormalizedAbsolutePathWithoutRoot=function(n,t){return function(n){return 0===n.length?"":n.slice(1).join(e.directorySeparator)}(L(n,t))}}(c||(c={})),function(e){function n(n,t,r,a){var i,o=e.reducePathComponents(e.getPathComponents(n)),s=e.reducePathComponents(e.getPathComponents(t));for(i=0;i0===e.getRootLength(r)>0,"Paths must either both be absolute or both be relative");var i="function"===typeof a?a:e.identity,o=n(t,r,"boolean"===typeof a&&a?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,i);return e.getPathFromPathComponents(o)}function r(n){return 0!==e.getRootLength(n)||e.pathIsRelative(n)?n:"./"+n}function a(n,t,r){if(n=e.normalizeSlashes(n),e.getRootLength(n)===n.length)return"";var a=(n=l(n)).slice(Math.max(e.getRootLength(n),n.lastIndexOf(e.directorySeparator)+1)),i=void 0!==t&&void 0!==r?j(a,t,r):void 0;return i?a.slice(0,a.length-i.length):a}function i(n){for(var t=[],r=1;r0;)c+=")?",f--;return c}(n,t,r,E[r])}))}function L(e){return!/[.*?]/.test(e)}function x(e,n){return"*"===e?n:"?"===e?"[^/]":"\\"+e}function A(n,t,r,a,o){n=e.normalizePath(n);var s=i(o=e.normalizePath(o),n);return{includeFilePatterns:e.map(S(r,s,"files"),(function(e){return"^"+e+"$"})),includeFilePattern:T(r,s,"files"),includeDirectoryPattern:T(r,s,"directories"),excludePattern:T(t,s,"exclude"),basePaths:D(n,r,a)}}function C(e,n){return new RegExp(e,n?"":"i")}function D(n,t,r){var a=[n];if(t){for(var o=[],s=0,l=t;s=0;r--)if(e.fileExtensionIs(n,t[r]))return N(r,t);return 0},e.adjustExtensionPriority=N,e.getNextLowestExtensionPriority=function(e,n){return e<2?2:n.length};var P=[".d.ts",".ts",".js",".tsx",".jsx",".json"];function F(n,t){return e.fileExtensionIs(n,t)?G(n,t):void 0}function G(e,n){return e.substring(0,e.length-n.length)}function V(n,t,r,a){var i=void 0!==r&&void 0!==a?j(n,r,a):j(n);return i?n.slice(0,n.length-i.length)+(e.startsWith(t,".")?t:"."+t):n}function B(n){e.Debug.assert(e.hasZeroOrOneAsteriskCharacter(n));var t=n.indexOf("*");return-1===t?void 0:{prefix:n.substr(0,t),suffix:n.substr(t+1)}}function H(e){return".ts"===e||".tsx"===e||".d.ts"===e}function K(n){return e.find(P,(function(t){return e.fileExtensionIs(n,t)}))}function j(n,t,r){if(t)return function(n,t,r){"string"===typeof t&&(t=[t]);for(var a=0,i=t;a=o.length&&"."===n.charAt(n.length-o.length)){var s=n.slice(n.length-o.length);if(r(s,o))return s}}return""}(n,t,r?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive);var i=a(n),o=i.lastIndexOf(".");return o>=0?i.substring(o):""}e.removeFileExtension=function(e){for(var n=0,t=P;n=0)},e.extensionIsTS=H,e.resolutionExtensionIsTSOrJson=function(e){return H(e)||".json"===e},e.extensionFromPath=function(n){var t=K(n);return void 0!==t?t:e.Debug.fail("File "+n+" has unknown extension.")},e.isAnySupportedFileExtension=function(e){return void 0!==K(e)},e.tryGetExtensionFromPath=K,e.getAnyExtensionFromPath=j,e.isCheckJsEnabledForFile=function(e,n){return e.checkJsDirective?e.checkJsDirective.enabled:n.checkJs},e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray},e.matchPatternOrExact=function(n,t){for(var r=[],a=0,i=n;aa&&(a=o)}return{min:r,max:a}};var U=function(){function n(){this.map=e.createMap()}return n.prototype.add=function(n){this.map.set(String(e.getNodeId(n)),n)},n.prototype.tryAdd=function(e){return!this.has(e)&&(this.add(e),!0)},n.prototype.has=function(n){return this.map.has(String(e.getNodeId(n)))},n.prototype.forEach=function(e){this.map.forEach(e)},n.prototype.some=function(n){return e.forEachEntry(this.map,n)||!1},n}();e.NodeSet=U;var W=function(){function n(){this.map=e.createMap()}return n.prototype.get=function(n){var t=this.map.get(String(e.getNodeId(n)));return t&&t.value},n.prototype.getOrUpdate=function(e,n){var t=this.get(e);if(t)return t;var r=n();return this.set(e,r),r},n.prototype.set=function(n,t){this.map.set(String(e.getNodeId(n)),{node:n,value:t})},n.prototype.has=function(n){return this.map.has(String(e.getNodeId(n)))},n.prototype.forEach=function(e){this.map.forEach((function(n){var t=n.node,r=n.value;return e(r,t)}))},n}();e.NodeMap=W,e.rangeOfNode=function(n){return{pos:e.getTokenPosOfNode(n),end:n.end}},e.rangeOfTypeParameters=function(e){return{pos:e.pos-1,end:e.end+1}},e.skipTypeChecking=function(e,n){return n.skipLibCheck&&e.isDeclarationFile||n.skipDefaultLibCheck&&e.hasNoDefaultLib},e.isJsonEqual=function n(t,r){return t===r||"object"===typeof t&&null!==t&&"object"===typeof r&&null!==r&&e.equalOwnProperties(t,r,n)},e.getOrUpdate=function(e,n,t){var r=e.get(n);if(void 0===r){var a=t();return e.set(n,a),a}return r},e.parsePseudoBigInt=function(e){var n;switch(e.charCodeAt(1)){case 98:case 66:n=1;break;case 111:case 79:n=3;break;case 120:case 88:n=4;break;default:for(var t=e.length-1,r=0;48===e.charCodeAt(r);)r++;return e.slice(r,t)||"0"}for(var a=e.length-1,i=(a-2)*n,o=new Uint16Array((i>>>4)+(15&i?1:0)),s=a-1,l=0;s>=2;s--,l+=n){var c=l>>>4,d=e.charCodeAt(s),u=(d<=57?d-48:10+d-(d<=70?65:97))<<(15&l);o[c]|=u;var p=u>>>16;p&&(o[c+1]|=p)}for(var m="",f=o.length-1,g=!0;g;){var _=0;g=!1;for(c=f;c>=0;c--){var v=_<<16|o[c],h=v/10|0;o[c]=h,_=v-10*h,h&&!g&&(f=c,g=!0)}m=_+m}return m},e.pseudoBigIntToString=function(e){var n=e.negative,t=e.base10Value;return(n&&"0"!==t?"-":"")+t}}(c||(c={})),function(e){var n,t,r,a,i,o,s;function l(e,n){return n&&e(n)}function c(e,n,t){if(t){if(n)return n(t);for(var r=0,a=t;rn.checkJsDirective.pos)&&(n.checkJsDirective={enabled:"ts-check"===a,end:e.range.end,pos:e.range.pos})}));break;case"jsx":return;default:e.Debug.fail("Unhandled pragma kind")}}))}!function(e){e[e.None=0]="None",e[e.Yield=1]="Yield",e[e.Await=2]="Await",e[e.Type=4]="Type",e[e.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",e[e.JSDoc=32]="JSDoc"}(n||(n={})),e.createNode=function(n,o,s){return 285===n?new(i||(i=e.objectAllocator.getSourceFileConstructor()))(n,o,s):73===n?new(a||(a=e.objectAllocator.getIdentifierConstructor()))(n,o,s):e.isNodeKind(n)?new(t||(t=e.objectAllocator.getNodeConstructor()))(n,o,s):new(r||(r=e.objectAllocator.getTokenConstructor()))(n,o,s)},e.isJSDocLikeText=d,e.forEachChild=u,e.createSourceFile=function(n,t,r,a,i){var s;return void 0===a&&(a=!1),e.performance.mark("beforeParse"),s=100===r?o.parseSourceFile(n,t,r,void 0,a,6):o.parseSourceFile(n,t,r,void 0,a,i),e.performance.mark("afterParse"),e.performance.measure("Parse","beforeParse","afterParse"),s},e.parseIsolatedEntityName=function(e,n){return o.parseIsolatedEntityName(e,n)},e.parseJsonText=function(e,n){return o.parseJsonText(e,n)},e.isExternalModule=function(e){return void 0!==e.externalModuleIndicator},e.updateSourceFile=function(e,n,t,r){void 0===r&&(r=!1);var a=s.updateSourceFile(e,n,t,r);return a.flags|=1572864&e.flags,a},e.parseIsolatedJSDocComment=function(e,n,t){var r=o.JSDocParser.parseIsolatedJSDocComment(e,n,t);return r&&r.jsDoc&&o.fixupParentReferences(r.jsDoc),r},e.parseJSDocTypeExpressionForTests=function(e,n,t){return o.JSDocParser.parseJSDocTypeExpressionForTests(e,n,t)},function(n){var t,r,a,i,o,s,l,c,g,_,v,h,y,b,T,S,L,x=e.createScanner(8,!0),A=!1;function C(n,t,r,a,i){void 0===r&&(r=2),k(t,r,a,6),(o=w(n,2,6,!1)).flags=b,te();var l=ee();if(1===ne())o.statements=Te([],l,l),o.endOfFileToken=ve();else{var c=be(222);switch(ne()){case 22:c.expression=Ot();break;case 103:case 88:case 97:c.expression=ve();break;case 39:ce((function(){return 8===te()&&57!==te()}))?c.expression=ut():c.expression=Rt();break;case 8:case 10:if(ce((function(){return 57!==te()}))){c.expression=an();break}default:c.expression=Rt()}Se(c),o.statements=Te([c],l),o.endOfFileToken=_e(1,e.Diagnostics.Unexpected_token)}i&&R(o),o.parseDiagnostics=s;var d=o;return M(),d}function D(e){return 4===e||2===e||1===e||6===e?1:0}function k(n,o,c,d){switch(t=e.objectAllocator.getNodeConstructor(),r=e.objectAllocator.getTokenConstructor(),a=e.objectAllocator.getIdentifierConstructor(),i=e.objectAllocator.getSourceFileConstructor(),g=n,l=c,s=[],y=0,v=e.createMap(),h=0,_=0,d){case 1:case 2:b=65536;break;case 6:b=16842752;break;default:b=0}A=!1,x.setText(g),x.setOnError($),x.setScriptTarget(o),x.setLanguageVariant(D(d))}function M(){x.setText(""),x.setOnError(void 0),s=void 0,o=void 0,v=void 0,l=void 0,g=void 0}function O(n,t,r,a){var i=p(n);return i&&(b|=4194304),(o=w(n,t,a,i)).flags=b,te(),m(o,g),f(o,(function(n,t,r){s.push(e.createFileDiagnostic(o,n,t,r))})),o.statements=qe(0,Yt),e.Debug.assert(1===ne()),o.endOfFileToken=I(ve()),function(n){n.externalModuleIndicator=e.forEach(n.statements,Fr)||function(e){return 1048576&e.flags?Gr(e):void 0}(n)}(o),o.nodeCount=_,o.identifierCount=h,o.identifiers=v,o.parseDiagnostics=s,r&&R(o),o}function I(n){e.Debug.assert(!n.jsDoc);var t=e.mapDefined(e.getJSDocCommentRanges(n,o.text),(function(e){return L.parseJSDocComment(n,e.pos,e.end-e.pos)}));return t.length&&(n.jsDoc=t),n}function R(n){var t=n;return void u(n,(function n(r){if(r.parent!==t){r.parent=t;var a=t;if(t=r,u(r,n),e.hasJSDocNodes(r))for(var i=0,o=r.jsDoc;i109)}function pe(n,t,r){return void 0===r&&(r=!0),ne()===n?(r&&te(),!0):(t?X(t):X(e.Diagnostics._0_expected,e.tokenToString(n)),!1)}function me(e){return ne()===e&&(te(),!0)}function fe(e){if(ne()===e)return ve()}function ge(e){if(ne()===e)return function(){var e=be(ne());return re(),Se(e)}()}function _e(n,t,r){return fe(n)||Le(n,!1,t||e.Diagnostics._0_expected,r||e.tokenToString(n))}function ve(){var e=be(ne());return te(),Se(e)}function he(){return 26===ne()||(19===ne()||1===ne()||x.hasPrecedingLineBreak())}function ye(){return he()?(26===ne()&&te(),!0):pe(26)}function be(n,i){_++;var o=i>=0?i:x.getStartPos();return e.isNodeKind(n)||0===n?new t(n,o,o):73===n?new a(n,o,o):new r(n,o,o)}function Ee(e,n){var t=be(e,n);return 2&x.getTokenFlags()&&I(t),t}function Te(e,n,t){var r=e.length,a=r>=1&&r<=4?e.slice():e;return a.pos=n,a.end=void 0===t?x.getStartPos():t,a}function Se(e,n){return e.end=void 0===n?x.getStartPos():n,b&&(e.flags|=b),A&&(A=!1,e.flags|=32768),e}function Le(n,t,r,a){t?Y(x.getStartPos(),0,r,a):r&&X(r,a);var i=be(n);return 73===n?i.escapedText="":(e.isLiteralKind(n)||e.isTemplateLiteralKind(n))&&(i.text=""),Se(i)}function xe(e){var n=v.get(e);return void 0===n&&v.set(e,n=e),n}function Ae(n,t){if(h++,n){var r=be(73);return 73!==ne()&&(r.originalKeywordKind=ne()),r.escapedText=e.escapeLeadingUnderscores(xe(x.getTokenValue())),te(),Se(r)}return Le(73,1===ne(),t||e.Diagnostics.Identifier_expected)}function Ce(e){return Ae(ue(),e)}function De(n){return Ae(e.tokenIsIdentifierOrKeyword(ne()),n)}function ke(){return e.tokenIsIdentifierOrKeyword(ne())||10===ne()||8===ne()}function Me(e){if(10===ne()||8===ne()){var n=an();return n.text=xe(n.text),n}return e&&22===ne()?function(){var e=be(150);return pe(22),e.expression=K(Qn),pe(23),Se(e)}():De()}function Oe(){return Me(!0)}function Ie(e){return ne()===e&&de(we)}function Re(){return te(),!x.hasPrecedingLineBreak()&&Ne()}function we(){switch(ne()){case 78:return 85===te();case 86:return te(),81===ne()?ce(Pe):40!==ne()&&120!==ne()&&18!==ne()&&Ne();case 81:return Pe();case 117:case 127:case 138:return te(),Ne();default:return Re()}}function Ne(){return 22===ne()||18===ne()||40===ne()||25===ne()||ke()}function Pe(){return te(),77===ne()||91===ne()||111===ne()||119===ne()&&ce(jt)||122===ne()&&ce(Ut)}function Fe(n,t){if(Je(n))return!0;switch(n){case 0:case 1:case 3:return!(26===ne()&&t)&&Jt();case 2:return 75===ne()||81===ne();case 4:return ce(Tn);case 5:return ce(gr)||26===ne()&&!t;case 6:return 22===ne()||ke();case 12:switch(ne()){case 22:case 40:case 25:case 24:return!0;default:return ke()}case 18:return ke();case 9:return 22===ne()||25===ne()||ke();case 7:return 18===ne()?ce(Ge):t?ue()&&!Ke():Xn()&&!Ke();case 8:return ar();case 10:return 27===ne()||25===ne()||ar();case 19:return ue();case 15:switch(ne()){case 27:case 24:return!0}case 11:return 25===ne()||Yn();case 16:return fn(!1);case 17:return fn(!0);case 20:case 21:return 27===ne()||Fn();case 22:return Ar();case 23:return e.tokenIsIdentifierOrKeyword(ne());case 13:return e.tokenIsIdentifierOrKeyword(ne())||18===ne();case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function Ge(){if(e.Debug.assert(18===ne()),19===te()){var n=te();return 27===n||18===n||87===n||110===n}return!0}function Ve(){return te(),ue()}function Be(){return te(),e.tokenIsIdentifierOrKeyword(ne())}function He(){return te(),e.tokenIsIdentifierOrKeywordOrGreaterThan(ne())}function Ke(){return(110===ne()||87===ne())&&ce(je)}function je(){return te(),Yn()}function Ue(){return te(),Fn()}function We(e){if(1===ne())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return 19===ne();case 3:return 19===ne()||75===ne()||81===ne();case 7:return 18===ne()||87===ne()||110===ne();case 8:return function(){if(he())return!0;if(st(ne()))return!0;if(37===ne())return!0;return!1}();case 19:return 30===ne()||20===ne()||18===ne()||87===ne()||110===ne();case 11:return 21===ne()||26===ne();case 15:case 21:case 10:return 23===ne();case 17:case 16:case 18:return 21===ne()||23===ne();case 20:return 27!==ne();case 22:return 18===ne()||19===ne();case 13:return 30===ne()||42===ne();case 14:return 28===ne()&&ce(Or);default:return!1}}function qe(e,n){var t=y;y|=1<=0&&(l.hasTrailingComma=!0),l}function Qe(){var e=Te([],ee());return e.isMissingList=!0,e}function Ze(e,n,t,r){if(pe(t)){var a=Ye(e,n);return pe(r),a}return Qe()}function $e(e,n){for(var t=e?De(n):Ce(n),r=x.getStartPos();me(24);){if(28===ne()){t.jsdocDotPos=r;break}r=x.getStartPos(),t=en(t,nn(e))}return t}function en(e,n){var t=be(149,e.pos);return t.left=e,t.right=n,Se(t)}function nn(n){if(x.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(ne())&&ce(Kt))return Le(73,!0,e.Diagnostics.Identifier_expected);return n?De():Ce()}function tn(){var n=be(207);n.head=function(){var n=on(ne());return e.Debug.assert(15===n.kind,"Template head has wrong token kind"),n}(),e.Debug.assert(15===n.head.kind,"Template head has wrong token kind");var t=[],r=ee();do{t.push(rn())}while(16===e.last(t).literal.kind);return n.templateSpans=Te(t,r),Se(n)}function rn(){var n,t=be(217);return t.expression=K(Qn),19===ne()?(c=x.reScanTemplateToken(),n=function(){var n=on(ne());return e.Debug.assert(16===n.kind||17===n.kind,"Template fragment has wrong token kind"),n}()):n=_e(17,e.Diagnostics._0_expected,e.tokenToString(19)),t.literal=n,Se(t)}function an(){return on(ne())}function on(e){var n=be(e);return n.text=x.getTokenValue(),x.hasExtendedUnicodeEscape()&&(n.hasExtendedUnicodeEscape=!0),x.isUnterminated()&&(n.isUnterminated=!0),8===n.kind&&(n.numericLiteralFlags=1008&x.getTokenFlags()),te(),Se(n),n}function sn(){var n=be(165);return n.typeName=$e(!0,e.Diagnostics.Type_expected),x.hasPrecedingLineBreak()||28!==ie()||(n.typeArguments=Ze(20,qn,28,30)),Se(n)}function ln(e){var n=be(290);return e?Vn(294,n):(te(),Se(n))}function cn(){var e=be(152);return 101!==ne()&&96!==ne()||(e.name=De(),pe(57)),e.type=dn(),Se(e)}function dn(){x.setInJSDocType(!0);var e=fe(25),n=Un();if(x.setInJSDocType(!1),e){var t=be(296,e.pos);t.type=n,n=Se(t)}return 60===ne()?Vn(294,n):n}function un(){var e=be(151);return e.name=Ce(),me(87)&&(Fn()||!Yn()?e.constraint=qn():e.expression=pt()),me(60)&&(e.default=qn()),Se(e)}function pn(){if(28===ne())return Ze(19,un,28,30)}function mn(){if(me(57))return qn()}function fn(n){return 25===ne()||ar()||e.isModifierKind(ne())||58===ne()||Fn(!n)}function gn(){var n=Ee(152);return 101===ne()?(n.name=Ae(!0),n.type=mn(),Se(n)):(n.decorators=_r(),n.modifiers=vr(),n.dotDotDotToken=fe(25),n.name=ir(),0===e.getFullWidth(n.name)&&!e.hasModifiers(n)&&e.isModifierKind(ne())&&te(),n.questionToken=fe(56),n.type=mn(),n.initializer=Zn(),Se(n))}function _n(n,t,r){32&t||(r.typeParameters=pn());var a=function(e,n){if(!pe(20))return e.parameters=Qe(),!1;var t=W(),r=J();return F(!!(1&n)),V(!!(2&n)),e.parameters=32&n?Ye(17,cn):Ye(16,gn),F(t),V(r),pe(21)}(r,t);return(!function(n,t){if(37===n)return pe(n),!0;if(me(57))return!0;if(t&&37===ne())return X(e.Diagnostics._0_expected,e.tokenToString(57)),te(),!0;return!1}(n,!!(4&t))||(r.type=Un(),!function n(t){switch(t.kind){case 165:return e.nodeIsMissing(t.typeName);case 166:case 167:var r=t,a=r.parameters,i=r.type;return!!a.isMissingList||n(i);case 178:return n(t.type);default:return!1}}(r.type)))&&a}function vn(){me(27)||ye()}function hn(e){var n=Ee(e);return 162===e&&pe(96),_n(57,4,n),vn(),Se(n)}function yn(){return 22===ne()&&ce(bn)}function bn(){if(te(),25===ne()||23===ne())return!0;if(e.isModifierKind(ne())){if(te(),ue())return!0}else{if(!ue())return!1;te()}return 57===ne()||27===ne()||56===ne()&&(te(),57===ne()||27===ne()||23===ne())}function En(e){return e.kind=163,e.parameters=Ze(16,gn,22,23),e.type=Jn(),vn(),Se(e)}function Tn(){if(20===ne()||28===ne())return!0;for(var n=!1;e.isModifierKind(ne());)n=!0,te();return 22===ne()||(ke()&&(n=!0,te()),!!n&&(20===ne()||28===ne()||56===ne()||57===ne()||27===ne()||he()))}function Sn(){if(20===ne()||28===ne())return hn(161);if(96===ne()&&ce(Ln))return hn(162);var e=Ee(0);return e.modifiers=vr(),yn()?En(e):function(e){return e.name=Oe(),e.questionToken=fe(56),20===ne()||28===ne()?(e.kind=156,_n(57,4,e)):(e.kind=154,e.type=Jn(),60===ne()&&(e.initializer=Zn())),vn(),Se(e)}(e)}function Ln(){return te(),20===ne()||28===ne()}function xn(){return 24===te()}function An(){switch(te()){case 20:case 28:case 24:return!0}return!1}function Cn(){var e;return pe(18)?(e=qe(4,Sn),pe(19)):e=Qe(),e}function Dn(){return te(),38===ne()||39===ne()?134===te():(134===ne()&&te(),22===ne()&&Ve()&&94===te())}function kn(){var e=be(182);return pe(18),134!==ne()&&38!==ne()&&39!==ne()||(e.readonlyToken=ve(),134!==e.readonlyToken.kind&&_e(134)),pe(22),e.typeParameter=function(){var e=be(151);return e.name=Ce(),pe(94),e.constraint=qn(),Se(e)}(),pe(23),56!==ne()&&38!==ne()&&39!==ne()||(e.questionToken=ve(),56!==e.questionToken.kind&&_e(56)),e.type=Jn(),ye(),pe(19),Se(e)}function Mn(){var e=ee();if(me(25)){var n=be(173,e);return n.type=qn(),Se(n)}var t=qn();return 2097152&b||292!==t.kind||t.pos!==t.type.pos||(t.kind=172),t}function On(){var e=ve();return 24===ne()?void 0:e}function In(e){var n,t=be(183);e&&((n=be(203)).operator=39,te());var r=103===ne()||88===ne()?ve():on(ne());return e&&(n.operand=r,Se(n),r=n),t.literal=r,Se(t)}function Rn(){return te(),93===ne()}function wn(){o.flags|=524288;var n=be(184);return me(105)&&(n.isTypeOf=!0),pe(93),pe(20),n.argument=qn(),pe(21),me(24)&&(n.qualifier=$e(!0,e.Diagnostics.Type_expected)),x.hasPrecedingLineBreak()||28!==ie()||(n.typeArguments=Ze(20,qn,28,30)),Se(n)}function Nn(){return te(),8===ne()||9===ne()}function Pn(){switch(ne()){case 121:case 144:case 139:case 136:case 147:case 140:case 124:case 142:case 133:case 137:return de(On)||sn();case 40:return ln(!1);case 63:return ln(!0);case 56:return function(){var e,n=x.getStartPos();return te(),27===ne()||19===ne()||21===ne()||30===ne()||60===ne()||50===ne()?Se(e=be(291,n)):((e=be(292,n)).type=qn(),Se(e))}();case 91:return function(){if(ce(Mr)){var e=Ee(295);return te(),_n(57,36,e),Se(e)}var n=be(165);return n.typeName=De(),Se(n)}();case 52:return function(){var e=be(293);return te(),e.type=Pn(),Se(e)}();case 14:case 10:case 8:case 9:case 103:case 88:return In();case 39:return ce(Nn)?In(!0):sn();case 107:case 97:return ve();case 101:var e=function(){var e=be(179);return te(),Se(e)}();return 129!==ne()||x.hasPrecedingLineBreak()?e:function(e){te();var n=be(164,e.pos);return n.parameterName=e,n.type=qn(),Se(n)}(e);case 105:return ce(Rn)?wn():function(){var e=be(168);return pe(105),e.exprName=$e(!0),Se(e)}();case 18:return ce(Dn)?kn():function(){var e=be(169);return e.members=Cn(),Se(e)}();case 22:return function(){var e=be(171);return e.elementTypes=Ze(21,Mn,22,23),Se(e)}();case 20:return function(){var e=be(178);return pe(20),e.type=qn(),pe(21),Se(e)}();case 93:return wn();default:return sn()}}function Fn(e){switch(ne()){case 121:case 144:case 139:case 136:case 147:case 124:case 134:case 140:case 143:case 107:case 142:case 97:case 101:case 105:case 133:case 18:case 22:case 28:case 50:case 49:case 96:case 10:case 8:case 9:case 103:case 88:case 137:case 40:case 56:case 52:case 25:case 128:case 93:return!0;case 91:return!e;case 39:return!e&&ce(Nn);case 20:return!e&&ce(Gn);default:return ue()}}function Gn(){return te(),21===ne()||fn(!1)||Fn()}function Vn(e,n){te();var t=be(e,n.pos);return t.type=n,Se(t)}function Bn(){var e=ne();switch(e){case 130:case 143:case 134:return function(e){var n=be(180);return pe(e),n.operator=e,n.type=Bn(),Se(n)}(e);case 128:return function(){var e=be(177);pe(128);var n=be(151);return n.name=Ce(),e.typeParameter=Se(n),Se(e)}()}return function(){for(var e=Pn();!x.hasPrecedingLineBreak();)switch(ne()){case 52:e=Vn(293,e);break;case 56:if(!(2097152&b)&&ce(Ue))return e;e=Vn(292,e);break;case 22:var n;if(pe(22),Fn())(n=be(181,e.pos)).objectType=e,n.indexType=qn(),pe(23),e=Se(n);else(n=be(170,e.pos)).elementType=e,pe(23),e=Se(n);break;default:return e}return e}()}function Hn(e,n,t){var r=x.getStartPos(),a=me(t),i=n();if(ne()===t||a){for(var o=[i];me(t);)o.push(n());var s=be(e,r);s.types=Te(o,r),i=Se(s)}return i}function Kn(){return Hn(175,Bn,49)}function jn(){if(te(),21===ne()||25===ne())return!0;if(function(){if(e.isModifierKind(ne())&&vr(),ue()||101===ne())return te(),!0;if(22===ne()||18===ne()){var n=s.length;return ir(),n===s.length}return!1}()){if(57===ne()||27===ne()||56===ne()||60===ne())return!0;if(21===ne()&&(te(),37===ne()))return!0}return!1}function Un(){var e=ue()&&de(Wn),n=qn();if(e){var t=be(164,e.pos);return t.parameterName=e,t.type=n,Se(t)}return n}function Wn(){var e=Ce();if(129===ne()&&!x.hasPrecedingLineBreak())return te(),e}function qn(){return B(20480,zn)}function zn(e){if(28===ne()||20===ne()&&ce(jn)||96===ne())return function(){var e=ee(),n=Ee(me(96)?167:166,e);return _n(37,4,n),Se(n)}();var n=Hn(174,Kn,50);if(!e&&!x.hasPrecedingLineBreak()&&me(87)){var t=be(176,n.pos);return t.checkType=n,t.extendsType=zn(!0),pe(56),t.trueType=zn(),pe(57),t.falseType=zn(),Se(t)}return n}function Jn(){return me(57)?qn():void 0}function Xn(){switch(ne()){case 101:case 99:case 97:case 103:case 88:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 91:case 77:case 96:case 42:case 65:case 73:return!0;case 93:return ce(An);default:return ue()}}function Yn(){if(Xn())return!0;switch(ne()){case 38:case 39:case 53:case 52:case 82:case 105:case 107:case 44:case 45:case 28:case 123:case 118:return!0;default:return!!function(){if(q()&&94===ne())return!1;return e.getBinaryOperatorPrecedence(ne())>0}()||ue()}}function Qn(){var e=z();e&&G(!1);for(var n,t=$n();n=fe(27);)t=ct(t,n,$n());return e&&G(!0),t}function Zn(){return me(60)?$n():void 0}function $n(){if(function(){if(118===ne())return!!W()||ce(Wt);return!1}())return function(){var e=be(208);return te(),x.hasPrecedingLineBreak()||40!==ne()&&!Yn()||(e.asteriskToken=fe(40),e.expression=$n()),Se(e)}();var n=function(){var n=function(){if(20===ne()||28===ne()||122===ne())return ce(nt);if(37===ne())return 1;return 0}();if(0===n)return;var t=1===n?at(!0):de(tt);if(!t)return;var r=e.hasModifier(t,256),a=ne();return t.equalsGreaterThanToken=_e(37),t.body=37===a||18===a?it(r):Ce(),Se(t)}()||function(){if(122===ne()&&1===ce(rt)){var e=hr();return et(ot(0),e)}return}();if(n)return n;var t=ot(0);return 73===t.kind&&37===ne()?et(t):e.isLeftHandSideExpression(t)&&e.isAssignmentOperator(ae())?ct(t,ve(),$n()):function(n){var t=fe(56);if(!t)return n;var r=be(206,n.pos);return r.condition=n,r.questionToken=t,r.whenTrue=B(10240,$n),r.colonToken=_e(57),r.whenFalse=e.nodeIsPresent(r.colonToken)?$n():Le(73,!1,e.Diagnostics._0_expected,e.tokenToString(57)),Se(r)}(t)}function et(n,t){var r;e.Debug.assert(37===ne(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>"),t?(r=be(198,t.pos)).modifiers=t:r=be(198,n.pos);var a=be(152,n.pos);return a.name=n,Se(a),r.parameters=Te([a],a.pos,a.end),r.equalsGreaterThanToken=_e(37),r.body=it(!!t),I(Se(r))}function nt(){if(122===ne()){if(te(),x.hasPrecedingLineBreak())return 0;if(20!==ne()&&28!==ne())return 0}var n=ne(),t=te();if(20===n){if(21===t)switch(te()){case 37:case 57:case 18:return 1;default:return 0}if(22===t||18===t)return 2;if(25===t)return 1;if(e.isModifierKind(t)&&122!==t&&ce(Ve))return 1;if(!ue()&&101!==t)return 0;switch(te()){case 57:return 1;case 56:return te(),57===ne()||27===ne()||60===ne()||21===ne()?1:0;case 27:case 60:case 21:return 2}return 0}return e.Debug.assert(28===n),ue()?1===o.languageVariant?ce((function(){var e=te();if(87===e)switch(te()){case 60:case 30:return!1;default:return!0}else if(27===e)return!0;return!1}))?1:0:2:0}function tt(){return at(!1)}function rt(){if(122===ne()){if(te(),x.hasPrecedingLineBreak()||37===ne())return 0;var e=ot(0);if(!x.hasPrecedingLineBreak()&&73===e.kind&&37===ne())return 1}return 0}function at(n){var t=Ee(198);if(t.modifiers=hr(),_n(57,e.hasModifier(t,256)?2:0,t)||n){var r=t.type&&e.isJSDocFunctionType(t.type);if(n||37===ne()||!r&&18===ne())return t}}function it(e){return 18===ne()?Ft(e?2:0):26===ne()||91===ne()||77===ne()||!Jt()||18!==ne()&&91!==ne()&&77!==ne()&&58!==ne()&&Yn()?e?j($n):B(16384,$n):Ft(16|(e?2:0))}function ot(e){return lt(e,pt())}function st(e){return 94===e||148===e}function lt(n,t){for(;;){ae();var r=e.getBinaryOperatorPrecedence(ne());if(!(41===ne()?r>=n:r>n))break;if(94===ne()&&q())break;if(120===ne()){if(x.hasPrecedingLineBreak())break;te(),t=dt(t,qn())}else t=ct(t,ve(),ot(r))}return t}function ct(e,n,t){var r=be(205,e.pos);return r.left=e,r.operatorToken=n,r.right=t,Se(r)}function dt(e,n){var t=be(213,e.pos);return t.expression=e,t.type=n,Se(t)}function ut(){var e=be(203);return e.operator=ne(),te(),e.operand=mt(),Se(e)}function pt(){if(function(){switch(ne()){case 38:case 39:case 53:case 52:case 82:case 105:case 107:case 123:return!1;case 28:if(1!==o.languageVariant)return!1;default:return!0}}()){var n=ft();return 41===ne()?lt(e.getBinaryOperatorPrecedence(ne()),n):n}var t=ne(),r=mt();if(41===ne()){var a=e.skipTrivia(g,r.pos),i=r.end;195===r.kind?Q(a,i,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):Q(a,i,e.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,e.tokenToString(t))}return r}function mt(){switch(ne()){case 38:case 39:case 53:case 52:return ut();case 82:return function(){var e=be(199);return te(),e.expression=mt(),Se(e)}();case 105:return function(){var e=be(200);return te(),e.expression=mt(),Se(e)}();case 107:return function(){var e=be(201);return te(),e.expression=mt(),Se(e)}();case 28:return function(){var e=be(195);return pe(28),e.type=qn(),pe(30),e.expression=mt(),Se(e)}();case 123:if(123===ne()&&(J()||ce(Wt)))return function(){var e=be(202);return te(),e.expression=mt(),Se(e)}();default:return ft()}}function ft(){if(44===ne()||45===ne())return(n=be(203)).operator=ne(),te(),n.operand=gt(),Se(n);if(1===o.languageVariant&&28===ne()&&ce(He))return vt(!0);var n,t=gt();return e.Debug.assert(e.isLeftHandSideExpression(t)),44!==ne()&&45!==ne()||x.hasPrecedingLineBreak()?t:((n=be(204,t.pos)).operand=t,n.operator=ne(),te(),Se(n))}function gt(){var n;if(93===ne())if(ce(Ln))o.flags|=524288,n=ve();else if(ce(xn)){var t=x.getStartPos();te(),te();var r=be(215,t);r.keywordToken=93,r.name=De(),n=Se(r),o.flags|=1048576}else n=_t();else n=99===ne()?function(){var n=ve();if(28===ne()){var t=ee();void 0!==de(Ct)&&Q(t,ee(),e.Diagnostics.super_may_not_use_type_arguments)}if(20===ne()||24===ne()||22===ne())return n;var r=be(190,n.pos);return r.expression=n,_e(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),r.name=nn(!0),Se(r)}():_t();return function(e){for(;;)if(e=St(e),28!==ne()&&46!==ne()){if(20!==ne())return e;(n=be(192,e.pos)).expression=e,n.arguments=At(),e=Se(n)}else{var n,t=de(Ct);if(!t)return e;if(Lt()){e=xt(e,t);continue}(n=be(192,e.pos)).expression=e,n.typeArguments=t,n.arguments=At(),e=Se(n)}}(n)}function _t(){return St(Dt())}function vt(n){var t,r=function(e){var n=x.getStartPos();if(pe(28),30===ne()){var t=be(266,n);return se(),Se(t)}var r,a=bt(),i=xr(),o=function(){var e=be(269);return e.properties=qe(13,Tt),Se(e)}();30===ne()?(r=be(263,n),se()):(pe(42),e?pe(30):(pe(30,void 0,!1),se()),r=be(262,n));return r.tagName=a,r.typeArguments=i,r.attributes=o,Se(r)}(n);if(263===r.kind)(a=be(261,r.pos)).openingElement=r,a.children=yt(a.openingElement),a.closingElement=function(e){var n=be(264);pe(29),n.tagName=bt(),e?pe(30):(pe(30,void 0,!1),se());return Se(n)}(n),E(a.openingElement.tagName,a.closingElement.tagName)||Z(a.closingElement,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(g,a.openingElement.tagName)),t=Se(a);else if(266===r.kind){var a;(a=be(265,r.pos)).openingFragment=r,a.children=yt(a.openingFragment),a.closingFragment=function(n){var t=be(267);pe(29),e.tokenIsIdentifierOrKeyword(ne())&&Z(bt(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment);n?pe(30):(pe(30,void 0,!1),se());return Se(t)}(n),t=Se(a)}else e.Debug.assert(262===r.kind),t=r;if(n&&28===ne()){var i=de((function(){return vt(!0)}));if(i){X(e.Diagnostics.JSX_expressions_must_have_one_parent_element);var o=be(205,t.pos);return o.end=i.end,o.left=t,o.right=i,o.operatorToken=Le(27,!1),o.operatorToken.pos=o.operatorToken.end=o.right.pos,o}}return t}function ht(n,t){switch(t){case 1:return void(e.isJsxOpeningFragment(n)?Z(n,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag):Z(n.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(g,n.tagName)));case 29:case 7:return;case 11:case 12:return function(){var e=be(11);return e.text=x.getTokenValue(),e.containsOnlyTriviaWhiteSpaces=12===c,c=x.scanJsxToken(),Se(e)}();case 18:return Et(!1);case 28:return vt(!1);default:return e.Debug.assertNever(t)}}function yt(e){var n=[],t=ee(),r=y;for(y|=16384;;){var a=ht(e,c=x.reScanJsxToken());if(!a)break;n.push(a)}return y=r,Te(n,t)}function bt(){oe();for(var e=101===ne()?ve():De();me(24);){var n=be(190,e.pos);n.expression=e,n.name=nn(!0),e=Se(n)}return e}function Et(e){var n=be(271);if(pe(18))return 19!==ne()&&(n.dotDotDotToken=fe(25),n.expression=$n()),e?pe(19):(pe(19,void 0,!1),se()),Se(n)}function Tt(){if(18===ne())return function(){var e=be(270);return pe(18),pe(25),e.expression=Qn(),pe(19),Se(e)}();oe();var e=be(268);if(e.name=De(),60===ne())switch(c=x.scanJsxAttributeValue()){case 10:e.initializer=an();break;default:e.initializer=Et(!0)}return Se(e)}function St(n){for(;;){if(fe(24)){var t=be(190,n.pos);t.expression=n,t.name=nn(!0),n=Se(t)}else if(52!==ne()||x.hasPrecedingLineBreak())if(z()||!me(22)){if(!Lt())return n;n=xt(n,void 0)}else{var r=be(191,n.pos);if(r.expression=n,23===ne())r.argumentExpression=Le(73,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var a=K(Qn);e.isStringOrNumericLiteralLike(a)&&(a.text=xe(a.text)),r.argumentExpression=a}pe(23),n=Se(r)}else{te();var i=be(214,n.pos);i.expression=n,n=Se(i)}}}function Lt(){return 14===ne()||15===ne()}function xt(e,n){var t=be(194,e.pos);return t.tag=e,t.typeArguments=n,t.template=14===ne()?an():tn(),Se(t)}function At(){pe(20);var e=Ye(11,Mt);return pe(21),e}function Ct(){if(28===ie()){te();var e=Ye(20,qn);if(pe(30))return e&&function(){switch(ne()){case 20:case 14:case 15:case 24:case 21:case 23:case 57:case 26:case 56:case 33:case 35:case 34:case 36:case 54:case 55:case 51:case 49:case 50:case 19:case 1:return!0;case 27:case 18:default:return!1}}()?e:void 0}}function Dt(){switch(ne()){case 8:case 9:case 10:case 14:return an();case 101:case 99:case 97:case 103:case 88:return ve();case 20:return function(){var e=Ee(196);return pe(20),e.expression=K(Qn),pe(21),Se(e)}();case 22:return Ot();case 18:return Rt();case 122:if(!ce(Ut))break;return wt();case 77:return Er(Ee(0),210);case 91:return wt();case 96:return function(){var n=x.getStartPos();if(pe(96),me(24)){var t=be(215,n);return t.keywordToken=96,t.name=De(),Se(t)}var r,a=Dt();for(;;){a=St(a),r=de(Ct),Lt()&&(e.Debug.assert(!!r,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),a=xt(a,r),r=void 0);break}var i=be(193,n);i.expression=a,i.typeArguments=r,(i.typeArguments||20===ne())&&(i.arguments=At());return Se(i)}();case 42:case 65:if(13===(c=x.reScanSlashToken()))return an();break;case 15:return tn()}return Ce(e.Diagnostics.Expression_expected)}function kt(){return 25===ne()?function(){var e=be(209);return pe(25),e.expression=$n(),Se(e)}():27===ne()?be(211):$n()}function Mt(){return B(10240,kt)}function Ot(){var e=be(188);return pe(22),x.hasPrecedingLineBreak()&&(e.multiLine=!0),e.elements=Ye(15,kt),pe(23),Se(e)}function It(){var e=Ee(0);if(fe(25))return e.kind=278,e.expression=$n(),Se(e);if(e.decorators=_r(),e.modifiers=vr(),Ie(127))return fr(e,159);if(Ie(138))return fr(e,160);var n=fe(40),t=ue();if(e.name=Oe(),e.questionToken=fe(56),e.exclamationToken=fe(52),n||20===ne()||28===ne())return pr(e,n);if(t&&57!==ne()){e.kind=277;var r=fe(60);r&&(e.equalsToken=r,e.objectAssignmentInitializer=K($n))}else e.kind=276,pe(57),e.initializer=K($n);return Se(e)}function Rt(){var e=be(189);return pe(18),x.hasPrecedingLineBreak()&&(e.multiLine=!0),e.properties=Ye(12,It,!0),pe(19),Se(e)}function wt(){var n=z();n&&G(!1);var t=Ee(197);t.modifiers=vr(),pe(91),t.asteriskToken=fe(40);var r=t.asteriskToken?1:0,a=e.hasModifier(t,256)?2:0;return t.name=r&&a?H(20480,Nt):r?function(e){return H(4096,e)}(Nt):a?j(Nt):Nt(),_n(57,r|a,t),t.body=Ft(r|a),n&&G(!0),Se(t)}function Nt(){return ue()?Ce():void 0}function Pt(e,n){var t=be(219);return pe(18,n)||e?(x.hasPrecedingLineBreak()&&(t.multiLine=!0),t.statements=qe(1,Yt),pe(19)):t.statements=Qe(),Se(t)}function Ft(e,n){var t=W();F(!!(1&e));var r=J();V(!!(2&e));var a=z();a&&G(!1);var i=Pt(!!(16&e),n);return a&&G(!0),F(t),V(r),i}function Gt(){var e=ee();pe(90);var n,t,r=fe(123);if(pe(20),26!==ne()&&(n=106===ne()||112===ne()||78===ne()?lr(!0):H(2048,Qn)),r?pe(148):me(148)){var a=be(228,e);a.awaitModifier=r,a.initializer=n,a.expression=K($n),pe(21),t=a}else if(me(94)){var i=be(227,e);i.initializer=n,i.expression=K(Qn),pe(21),t=i}else{var o=be(226,e);o.initializer=n,pe(26),26!==ne()&&21!==ne()&&(o.condition=K(Qn)),pe(26),21!==ne()&&(o.incrementor=K(Qn)),pe(21),t=o}return t.statement=Yt(),Se(t)}function Vt(e){var n=be(e);return pe(230===e?74:79),he()||(n.label=Ce()),ye(),Se(n)}function Bt(){return 75===ne()?function(){var e=be(272);return pe(75),e.expression=K(Qn),pe(57),e.statements=qe(3,Yt),Se(e)}():function(){var e=be(273);return pe(81),pe(57),e.statements=qe(3,Yt),Se(e)}()}function Ht(){var e=be(236);return pe(104),e.tryBlock=Pt(!1),e.catchClause=76===ne()?function(){var e=be(275);pe(76),me(20)?(e.variableDeclaration=sr(),pe(21)):e.variableDeclaration=void 0;return e.block=Pt(!1),Se(e)}():void 0,e.catchClause&&89!==ne()||(pe(89),e.finallyBlock=Pt(!1)),Se(e)}function Kt(){return te(),e.tokenIsIdentifierOrKeyword(ne())&&!x.hasPrecedingLineBreak()}function jt(){return te(),77===ne()&&!x.hasPrecedingLineBreak()}function Ut(){return te(),91===ne()&&!x.hasPrecedingLineBreak()}function Wt(){return te(),(e.tokenIsIdentifierOrKeyword(ne())||8===ne()||9===ne()||10===ne())&&!x.hasPrecedingLineBreak()}function qt(){for(;;)switch(ne()){case 106:case 112:case 78:case 91:case 77:case 85:return!0;case 111:case 141:return te(),!x.hasPrecedingLineBreak()&&ue();case 131:case 132:return er();case 119:case 122:case 126:case 114:case 115:case 116:case 134:if(te(),x.hasPrecedingLineBreak())return!1;continue;case 146:return te(),18===ne()||73===ne()||86===ne();case 93:return te(),10===ne()||40===ne()||18===ne()||e.tokenIsIdentifierOrKeyword(ne());case 86:if(te(),60===ne()||40===ne()||18===ne()||81===ne()||120===ne())return!0;continue;case 117:te();continue;default:return!1}}function zt(){return ce(qt)}function Jt(){switch(ne()){case 58:case 26:case 18:case 106:case 112:case 91:case 77:case 85:case 92:case 83:case 108:case 90:case 79:case 74:case 98:case 109:case 100:case 102:case 104:case 80:case 76:case 89:return!0;case 93:return zt()||ce(An);case 78:case 86:return zt();case 122:case 126:case 111:case 131:case 132:case 141:case 146:return!0;case 116:case 114:case 115:case 117:case 134:return zt()||!ce(Kt);default:return Yn()}}function Xt(){return te(),ue()||18===ne()||22===ne()}function Yt(){switch(ne()){case 26:return function(){var e=be(221);return pe(26),Se(e)}();case 18:return Pt(!1);case 106:return dr(Ee(238));case 112:if(ce(Xt))return dr(Ee(238));break;case 91:return ur(Ee(240));case 77:return br(Ee(241));case 92:return function(){var e=be(223);return pe(92),pe(20),e.expression=K(Qn),pe(21),e.thenStatement=Yt(),e.elseStatement=me(84)?Yt():void 0,Se(e)}();case 83:return function(){var e=be(224);return pe(83),e.statement=Yt(),pe(108),pe(20),e.expression=K(Qn),pe(21),me(26),Se(e)}();case 108:return function(){var e=be(225);return pe(108),pe(20),e.expression=K(Qn),pe(21),e.statement=Yt(),Se(e)}();case 90:return Gt();case 79:return Vt(229);case 74:return Vt(230);case 98:return function(){var e=be(231);return pe(98),he()||(e.expression=K(Qn)),ye(),Se(e)}();case 109:return function(){var e=be(232);return pe(109),pe(20),e.expression=K(Qn),pe(21),e.statement=H(8388608,Yt),Se(e)}();case 100:return function(){var e=be(233);pe(100),pe(20),e.expression=K(Qn),pe(21);var n=be(247);return pe(18),n.clauses=qe(2,Bt),pe(19),e.caseBlock=Se(n),Se(e)}();case 102:return function(){var e=be(235);return pe(102),e.expression=x.hasPrecedingLineBreak()?void 0:K(Qn),ye(),Se(e)}();case 104:case 76:case 89:return Ht();case 80:return function(){var e=be(237);return pe(80),ye(),Se(e)}();case 58:return Zt();case 122:case 111:case 141:case 131:case 132:case 126:case 78:case 85:case 86:case 93:case 114:case 115:case 116:case 119:case 117:case 134:case 146:if(zt())return Zt()}return function(){var e=Ee(0),n=K(Qn);return 73===n.kind&&me(57)?(e.kind=234,e.label=n,e.statement=Yt()):(e.kind=222,e.expression=n,ye()),Se(e)}()}function Qt(e){return 126===e.kind}function Zt(){var n=Ee(0);if(n.decorators=_r(),n.modifiers=vr(),e.some(n.modifiers,Qt)){for(var t=0,r=n.modifiers;t=0),e.Debug.assert(n<=i),e.Debug.assert(i<=a.length),d(a,n)){var o,s,l,c=[];return x.scanRange(n+3,r-5,(function(){var e,t=1,r=n-Math.max(a.lastIndexOf("\n",n),0)+4;function d(n){e||(e=r),c.push(n),r+=n.length}for(re();I(5););I(4)&&(t=0,r=0);e:for(;;){switch(ne()){case 58:0===t||1===t?(p(c),y(v(r)),t=0,e=void 0):d(x.getTokenText());break;case 4:c.push(x.getTokenText()),t=0,r=0;break;case 40:var m=x.getTokenText();1===t||2===t?(t=2,d(m)):(t=1,r+=m.length);break;case 5:var f=x.getTokenText();2===t?c.push(f):void 0!==e&&r+f.length>e&&c.push(f.slice(e-r-1)),r+=f.length;break;case 1:break e;default:t=2,d(x.getTokenText())}re()}return u(c),p(c),function(){var e=be(297,n);return e.tags=o&&Te(o,s,l),e.comment=c.length?c.join(""):void 0,Se(e,i)}()}))}function u(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function p(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function m(){for(;;){if(re(),1===ne())return!0;if(5!==ne()&&4!==ne())return!1}}function f(){if(5!==ne()&&4!==ne()||!ce(m))for(;5===ne()||4===ne();)re()}function _(){if((5===ne()||4===ne())&&ce(m))return"";for(var e=x.hasPrecedingLineBreak(),n=!1,t="";e&&40===ne()||5===ne()||4===ne();)t+=x.getTokenText(),4===ne()?(e=!0,n=!0,t=""):40===ne()&&(e=!1),re();return n?t:""}function v(n){e.Debug.assert(58===ne());var r=x.getTokenPos();re();var a,i=R(void 0),s=_();switch(i.escapedText){case"augments":case"extends":a=function(e,n){var t=be(301,e);return t.tagName=n,t.class=function(){var e=me(18),n=be(212);n.expression=function(){var e=R();for(;me(24);){var n=be(190,e.pos);n.expression=e,n.name=R(),e=Se(n)}return e}(),n.typeArguments=xr();var t=Se(n);e&&pe(19);return t}(),Se(t)}(r,i);break;case"class":case"constructor":a=function(e,n){var t=be(302,e);return t.tagName=n,Se(t)}(r,i);break;case"this":a=function(e,n){var r=be(307,e);return r.tagName=n,r.typeExpression=t(!0),f(),Se(r)}(r,i);break;case"enum":a=function(e,n){var r=be(304,e);return r.tagName=n,r.typeExpression=t(!0),f(),Se(r)}(r,i);break;case"arg":case"argument":case"param":return S(r,i,2,n);case"return":case"returns":a=function(n,t){e.some(o,e.isJSDocReturnTag)&&Q(t.pos,x.getTokenPos(),e.Diagnostics._0_tag_already_specified,t.escapedText);var r=be(306,n);return r.tagName=t,r.typeExpression=b(),Se(r)}(r,i);break;case"template":a=function(n,r){var a;18===ne()&&(a=t());var i=[],o=ee();do{f();var s=be(151);s.name=R(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),Se(s),f(),i.push(s)}while(I(27));var l=be(309,n);return l.tagName=r,l.constraint=a,l.typeParameters=Te(i,o),Se(l),l}(r,i);break;case"type":a=L(r,i);break;case"typedef":a=function(n,t,r){var a=b();_();var i,o=be(310,n);if(o.tagName=t,o.fullName=A(),o.name=C(o.fullName),f(),o.comment=h(r),o.typeExpression=a,!a||T(a.type)){for(var s=void 0,l=void 0,c=void 0;s=de((function(){return k(r)}));)if(l||(l=be(298,n)),308===s.kind){if(c)break;c=s}else l.jsDocPropertyTags=e.append(l.jsDocPropertyTags,s);l&&(a&&170===a.type.kind&&(l.isArrayType=!0),o.typeExpression=c&&c.typeExpression&&!T(c.typeExpression.type)?c.typeExpression:Se(l),i=o.typeExpression.end)}return Se(o,i||void 0!==o.comment?x.getStartPos():(o.fullName||o.typeExpression||o.tagName).end)}(r,i,n);break;case"callback":a=function(n,t,r){var a,i=be(303,n);i.tagName=t,i.fullName=A(),i.name=C(i.fullName),f(),i.comment=h(r);var o=be(299,n);o.parameters=[];for(;a=de((function(){return M(4,r)}));)o.parameters=e.append(o.parameters,a);var s=de((function(){if(I(58)){var e=v(r);if(e&&306===e.kind)return e}}));s&&(o.type=s);return i.typeExpression=Se(o),Se(i)}(r,i,n);break;default:a=function(e,n){var t=be(300,e);return t.tagName=n,Se(t)}(r,i)}return a.comment||(s||(n+=a.end-a.pos),a.comment=h(n,s.slice(n))),a}function h(n,t){var r,a=[],i=0;function o(e){r||(r=n),a.push(e),n+=e.length}t&&(o(t),i=2);var s=ne();e:for(;;){switch(s){case 4:i>=1&&(i=0,a.push(x.getTokenText())),n=0;break;case 58:x.setTextPos(x.getTextPos()-1);case 1:break e;case 5:if(2===i)o(x.getTokenText());else{var l=x.getTokenText();void 0!==r&&n+l.length>r&&a.push(l.slice(r-n)),n+=l.length}break;case 18:i=2,ce((function(){return 58===re()&&e.tokenIsIdentifierOrKeyword(re())&&"link"===x.getTokenText()}))&&(o(x.getTokenText()),re(),o(x.getTokenText()),re()),o(x.getTokenText());break;case 40:if(0===i){i=1,n+=1;break}default:i=2,o(x.getTokenText())}s=re()}return u(a),p(a),0===a.length?void 0:a.join("")}function y(e){e&&(o?o.push(e):(o=[e],s=e.pos),l=e.end)}function b(){return _(),18===ne()?t():void 0}function E(){var n=I(22);n&&f();var t,r=I(59),a=function(){var e=R();me(22)&&pe(23);for(;me(24);){var n=R();me(22)&&pe(23),e=en(e,n)}return e}();return r&&(ge(t=59)||Le(t,!1,e.Diagnostics._0_expected,e.tokenToString(t))),n&&(f(),fe(60)&&Qn(),pe(23)),{name:a,isBracketed:n}}function T(n){switch(n.kind){case 137:return!0;case 170:return T(n.elementType);default:return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"Object"===n.typeName.escapedText}}function S(n,t,r,a){var i=b(),o=!i;_();var s=E(),l=s.name,c=s.isBracketed;f(),o&&(i=b());var d=be(1===r?311:305,n),u=h(a+x.getStartPos()-n),p=4!==r&&function(n,t,r,a){if(n&&T(n.type)){for(var i=be(289,x.getTokenPos()),o=void 0,s=void 0,l=x.getStartPos(),c=void 0;o=de((function(){return M(r,a,t)}));)305!==o.kind&&311!==o.kind||(c=e.append(c,o));if(c)return(s=be(298,l)).jsDocPropertyTags=c,170===n.type.kind&&(s.isArrayType=!0),i.type=Se(s),Se(i)}}(i,l,r,a);return p&&(i=p,o=!0),d.tagName=t,d.typeExpression=i,d.name=l,d.isNameFirst=o,d.isBracketed=c,d.comment=u,Se(d)}function L(n,r){e.some(o,e.isJSDocTypeTag)&&Q(r.pos,x.getTokenPos(),e.Diagnostics._0_tag_already_specified,r.escapedText);var a=be(308,n);return a.tagName=r,a.typeExpression=t(!0),Se(a)}function A(n){var t=x.getTokenPos();if(e.tokenIsIdentifierOrKeyword(ne())){var r=R();if(me(24)){var a=be(245,t);return n&&(a.flags|=4),a.name=r,a.body=A(!0),Se(a)}return n&&(r.isInJSDocNamespace=!0),r}}function C(n){if(n)for(var t=n;;){if(e.isIdentifier(t)||!t.body)return e.isIdentifier(t)?t:t.name;t=t.body}}function D(n,t){for(;!e.isIdentifier(n)||!e.isIdentifier(t);){if(e.isIdentifier(n)||e.isIdentifier(t)||n.right.escapedText!==t.right.escapedText)return!1;n=n.left,t=t.left}return n.escapedText===t.escapedText}function k(e){return M(1,e)}function M(n,t,r){for(var a=!0,i=!1;;)switch(re()){case 58:if(a){var o=O(n,t);return!(o&&(305===o.kind||311===o.kind)&&4!==n&&r&&(e.isIdentifier(o.name)||!D(r,o.name.left)))&&o}i=!1;break;case 4:a=!0,i=!1;break;case 40:i&&(a=!1),i=!0;break;case 73:a=!1;break;case 1:return!1}}function O(n,t){e.Debug.assert(58===ne());var r=x.getStartPos();re();var a,i=R();switch(f(),i.escapedText){case"type":return 1===n&&L(r,i);case"prop":case"property":a=1;break;case"arg":case"argument":case"param":a=6;break;default:return!1}return!!(n&a)&&S(r,i,n,t)}function I(e){return ne()===e&&(re(),!0)}function R(n){if(!e.tokenIsIdentifierOrKeyword(ne()))return Le(73,!n,n||e.Diagnostics.Identifier_expected);var t=x.getTokenPos(),r=x.getTextPos(),a=be(73,t);return a.escapedText=e.escapeLeadingUnderscores(x.getTokenText()),Se(a,r),re(),a}}n.parseJSDocTypeExpressionForTests=function(e,n,r){k(e,8,void 0,1),o=w("file.js",8,1,!1),x.setText(e,n,r),c=x.scan();var a=t(),i=s;return M(),a?{jsDocTypeExpression:a,diagnostics:i}:void 0},n.parseJSDocTypeExpression=t,n.parseIsolatedJSDocComment=function(e,n,t){k(e,8,void 0,1),o={languageVariant:0,text:e};var r=i(n,t),a=s;return M(),r?{jsDoc:r,diagnostics:a}:void 0},n.parseJSDocComment=function(e,n,t){var r,a=c,l=s.length,d=A,u=i(n,t);return u&&(u.parent=e),65536&b&&(o.jsDocDiagnostics||(o.jsDocDiagnostics=[]),(r=o.jsDocDiagnostics).push.apply(r,s)),c=a,s.length=l,A=d,u},function(e){e[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments"}(r||(r={})),function(e){e[e.Property=1]="Property",e[e.Parameter=2]="Parameter",e[e.CallbackParameter=4]="CallbackParameter"}(a||(a={})),n.parseJSDocCommentWorker=i}(L=n.JSDocParser||(n.JSDocParser={}))}(o||(o={})),function(n){function t(n,t,a,o,s,l){return void(t?d(n):c(n));function c(n){var t="";if(l&&r(n)&&(t=o.substring(n.pos,n.end)),n._children&&(n._children=void 0),n.pos+=a,n.end+=a,l&&r(n)&&e.Debug.assert(t===s.substring(n.pos,n.end)),u(n,c,d),e.hasJSDocNodes(n))for(var p=0,m=n.jsDoc;p=t,"Adjusting an element that was entirely before the change range"),e.Debug.assert(n.pos<=r,"Adjusting an element that was entirely after the change range"),e.Debug.assert(n.pos<=n.end),n.pos=Math.min(n.pos,a),n.end>=r?n.end+=i:n.end=Math.min(n.end,a),e.Debug.assert(n.pos<=n.end),n.parent&&(e.Debug.assert(n.pos>=n.parent.pos),e.Debug.assert(n.end<=n.parent.end))}function i(n,t){if(t){var r=n.pos,a=function(n){e.Debug.assert(n.pos>=r),r=n.end};if(e.hasJSDocNodes(n))for(var i=0,o=n.jsDoc;it),!0;if(i.pos>=a.pos&&(a=i),ta.pos&&(a=i)}return a}function l(n,t,r,a){var i=n.text;if(r&&(e.Debug.assert(i.length-r.span.length+r.newLength===t.length),a||e.Debug.shouldAssert(3))){var o=i.substr(0,r.span.start),s=t.substr(0,r.span.start);e.Debug.assert(o===s);var l=i.substring(e.textSpanEnd(r.span),i.length),c=t.substring(e.textSpanEnd(e.textChangeRangeNewSpan(r)),t.length);e.Debug.assert(l===c)}}var c;n.updateSourceFile=function(n,r,c,d){if(l(n,r,c,d=d||e.Debug.shouldAssert(2)),e.textChangeRangeIsUnchanged(c))return n;if(0===n.statements.length)return o.parseSourceFile(n.fileName,r,n.languageVersion,void 0,!0,n.scriptKind);var p=n;e.Debug.assert(!p.hasBeenIncrementallyParsed),p.hasBeenIncrementallyParsed=!0;var m=n.text,f=function(n){var t=n.statements,r=0;e.Debug.assert(r=n.pos&&e=n.pos&&e0&&a<=1;a++){var i=s(n,r);e.Debug.assert(i.pos<=r);var o=i.pos;r=Math.max(0,o-1)}var l=e.createTextSpanFromBounds(r,e.textSpanEnd(t.span)),c=t.newLength+(t.span.start-r);return e.createTextChangeRange(l,c)}(n,c);l(n,r,g,d),e.Debug.assert(g.span.start<=c.span.start),e.Debug.assert(e.textSpanEnd(g.span)===e.textSpanEnd(c.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(g))===e.textSpanEnd(e.textChangeRangeNewSpan(c)));var _=e.textChangeRangeNewSpan(g).length-g.span.length;return function(n,r,o,s,l,c,d,p){return void m(n);function m(n){if(e.Debug.assert(n.pos<=n.end),n.pos>o)t(n,!1,l,c,d,p);else{var g=n.end;if(g>=r){if(n.intersectsChange=!0,n._children=void 0,a(n,r,o,s,l),u(n,m,f),e.hasJSDocNodes(n))for(var _=0,v=n.jsDoc;_o)t(n,!0,l,c,d,p);else{var i=n.end;if(i>=r){n.intersectsChange=!0,n._children=void 0,a(n,r,o,s,l);for(var u=0,f=n;u/im,h=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function y(n,t,r){var a=2===t.kind&&v.exec(r);if(a){var i=a[1].toLowerCase(),o=e.commentPragmas[i];if(!o||!(1&o.kind))return;if(o.args){for(var s={},l=0,c=o.args;l=t.length)break;var o=i;if(34===t.charCodeAt(o)){for(i++;i32;)i++;r.push(t.substring(o,i))}}p(r)}else c.push(e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,n))}}function m(e,n){return f(o,e,n)}function f(e,n,t){void 0===t&&(t=!1),n=n.toLowerCase();var r=e(),a=r.optionNameMap,i=r.shortOptionNames;if(t){var o=i.get(n);void 0!==o&&(n=o)}return a.get(n)}function g(n){for(var t=[],r=1;r=0)return l.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,s.concat([d]).join(" -> "))),{raw:n||b(r,l)};var u=n?function(n,t,r,a,i){e.hasProperty(n,"excludes")&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var o,s=V(n.compilerOptions,r,i,a),l=H(n.typeAcquisition||n.typingOptions,r,i,a);if(n.compileOnSave=function(n,t,r){if(!e.hasProperty(n,e.compileOnSaveCommandLineOption.name))return!1;var a=j(e.compileOnSaveCommandLineOption,n.compileOnSave,t,r);return"boolean"===typeof a&&a}(n,r,i),n.extends)if(e.isString(n.extends)){var c=a?M(a,r):r;o=F(n.extends,t,c,i,e.createCompilerDiagnostic)}else i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));return{raw:n,options:s,typeAcquisition:l,extendedConfigPath:o}}(n,a,i,o,l):function(n,r,a,i,o){var s,l,c,d=G(i),u={onSetValidOptionKeyValueInParent:function(n,t,r){e.Debug.assert("compilerOptions"===n||"typeAcquisition"===n||"typingOptions"===n),("compilerOptions"===n?d:"typeAcquisition"===n?s||(s=B(i)):l||(l=B(i)))[t.name]=function n(t,r,a){if(k(a))return;if("list"===t.type){var i=t;return i.element.isFilePath||!e.isString(i.element.type)?e.filter(e.map(a,(function(e){return n(i.element,r,e)})),(function(e){return!!e})):a}if(!e.isString(t.type))return t.type.get(e.isString(a)?a.toLowerCase():a);return U(t,r,a)}(t,a,r)},onSetValidOptionKeyValueInRoot:function(t,s,l,d){switch(t){case"extends":var u=i?M(i,a):a;return void(c=F(l,r,u,o,(function(t,r){return e.createDiagnosticForNodeInSourceFile(n,d,t,r)})))}},onSetUnknownOptionKeyValueInRoot:function(t,r,a,i){"excludes"===t&&o.push(e.createDiagnosticForNodeInSourceFile(n,r,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}},p=E(n,o,!0,(void 0===t&&(t={name:void 0,type:"object",elementOptions:y([{name:"compilerOptions",type:"object",elementOptions:y(e.optionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_compiler_option_0},{name:"typingOptions",type:"object",elementOptions:y(e.typeAcquisitionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_type_acquisition_option_0},{name:"typeAcquisition",type:"object",elementOptions:y(e.typeAcquisitionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_type_acquisition_option_0},{name:"extends",type:"string"},{name:"references",type:"list",element:{name:"references",type:"object"}},{name:"files",type:"list",element:{name:"files",type:"string"}},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},e.compileOnSaveCommandLineOption])}),t),u);s||(s=l?void 0!==l.enableAutoDiscovery?{enable:l.enableAutoDiscovery,include:l.include,exclude:l.exclude}:l:B(i));return{raw:p,options:d,typeAcquisition:s,extendedConfigPath:c}}(r,a,i,o,l);if(u.extendedConfigPath){s=s.concat([d]);var p=function(n,t,r,a,i,o,s){var l,c,d,u,p=r.useCaseSensitiveFileNames?t:e.toLowerCase(t);if(s&&(c=s.get(p)))d=c.extendedResult,u=c.extendedConfig;else{if(!(d=v(t,(function(e){return r.readFile(e)}))).parseDiagnostics.length){var m=e.getDirectoryPath(t);if(N(u=P(void 0,d,r,m,e.getBaseFileName(t),i,o,s))){var f=e.convertToRelativePath(m,a,e.identity),g=function(n){return e.isRootedDiskPath(n)?n:e.combinePaths(f,n)},_=function(n){h[n]&&(h[n]=e.map(h[n],g))},h=u.raw;_("include"),_("exclude"),_("files")}}s&&s.set(p,{extendedResult:d,extendedConfig:u})}n&&(n.extendedSourceFiles=[d.fileName],d.extendedSourceFiles&&(l=n.extendedSourceFiles).push.apply(l,d.extendedSourceFiles));if(d.parseDiagnostics.length)return void o.push.apply(o,d.parseDiagnostics);return u}(r,u.extendedConfigPath,a,i,s,l,c);if(p&&N(p)){var m=p.raw,f=u.raw,g=function(e){var n=f[e]||m[e];n&&(f[e]=n)};g("include"),g("exclude"),g("files"),void 0===f.compileOnSave&&(f.compileOnSave=m.compileOnSave),u.options=e.assign({},p.options,u.options)}}return u}function F(n,t,r,a,i){if(n=e.normalizeSlashes(n),e.isRootedDiskPath(n)||e.startsWith(n,"./")||e.startsWith(n,"../")){var o=e.getNormalizedAbsolutePath(n,r);return t.fileExists(o)||e.endsWith(o,".json")||(o+=".json",t.fileExists(o))?o:void a.push(i(e.Diagnostics.File_0_not_found,n))}var s=e.nodeModuleNameResolver(n,e.combinePaths(r,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},t,void 0,void 0,!0);if(s.resolvedModule)return s.resolvedModule.resolvedFileName;a.push(i(e.Diagnostics.File_0_not_found,n))}function G(n){return n&&"jsconfig.json"===e.getBaseFileName(n)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function V(n,t,r,a){var i=G(a);return K(e.optionDeclarations,n,t,i,e.Diagnostics.Unknown_compiler_option_0,r),a&&(i.configFilePath=e.normalizeSlashes(a)),i}function B(n){return{enable:!!n&&"jsconfig.json"===e.getBaseFileName(n),include:[],exclude:[]}}function H(n,t,r,i){var o=B(i),s=a(n);return K(e.typeAcquisitionDeclarations,s,t,o,e.Diagnostics.Unknown_type_acquisition_option_0,r),o}function K(n,t,r,a,i,o){if(t){var s=y(n);for(var l in t){var c=s.get(l);c?a[c.name]=j(c,t[l],r,o):o.push(e.createCompilerDiagnostic(i,l))}}}function j(n,t,r,a){if(S(n,t)){var i=n.type;return"list"===i&&e.isArray(t)?function(n,t,r,a){return e.filter(e.map(t,(function(e){return j(n.element,e,r,a)})),(function(e){return!!e}))}(n,t,r,a):e.isString(i)?U(n,r,t):W(n,t,a)}a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,n.name,T(n)))}function U(n,t,r){return n.isFilePath&&""===(r=e.normalizePath(e.combinePaths(t,r)))&&(r="."),r}function W(e,n,t){if(!k(n)){var r=n.toLowerCase(),a=e.type.get(r);if(void 0!==a)return a;t.push(l(e))}}function q(e){return"function"===typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}e.libs=r.map((function(e){return e[0]})),e.libMap=e.createMapFromEntries(r),e.commonOptionsWithBuild=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_this_message},{name:"help",shortName:"?",type:"boolean"},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Watch_input_files},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen},{name:"listFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_files_part_of_the_compilation},{name:"listEmittedFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_generated_files_part_of_the_compilation},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Stylize_errors_and_messages_using_color_and_context_experimental},{name:"traceResolution",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Enable_tracing_of_the_name_resolution_process},{name:"diagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_diagnostic_information},{name:"extendedDiagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_verbose_diagnostic_information},{name:"incremental",shortName:"i",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_incremental_compilation}],e.optionDeclarations=e.commonOptionsWithBuild.concat([{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_all_compiler_options},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_the_compiler_s_version},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,paramType:e.Diagnostics.FILE_OR_DIRECTORY,description:e.Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date},{name:"showConfig",type:"boolean",category:e.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:e.Diagnostics.Print_the_final_configuration_instead_of_building},{name:"target",shortName:"t",type:e.createMapFromTemplate({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,esnext:8}),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.VERSION,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_or_ESNEXT},{name:"module",shortName:"m",type:e.createMapFromTemplate({none:e.ModuleKind.None,commonjs:e.ModuleKind.CommonJS,amd:e.ModuleKind.AMD,system:e.ModuleKind.System,umd:e.ModuleKind.UMD,es6:e.ModuleKind.ES2015,es2015:e.ModuleKind.ES2015,esnext:e.ModuleKind.ESNext}),affectsModuleResolution:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext},{name:"lib",type:"list",element:{name:"lib",type:e.libMap},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_library_files_to_be_included_in_the_compilation},{name:"allowJs",type:"boolean",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Allow_javascript_files_to_be_compiled},{name:"checkJs",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Report_errors_in_js_files},{name:"jsx",type:e.createMapFromTemplate({preserve:1,"react-native":3,react:2}),affectsSourceFile:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_JSX_code_generation_Colon_preserve_react_native_or_react},{name:"declaration",shortName:"d",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_d_ts_file},{name:"declarationMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_a_sourcemap_for_each_corresponding_d_ts_file},{name:"emitDeclarationOnly",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Only_emit_d_ts_declaration_files},{name:"sourceMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_map_file},{name:"outFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Concatenate_and_emit_output_to_single_file},{name:"outDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Redirect_output_structure_to_the_directory},{name:"rootDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir},{name:"composite",type:"boolean",affectsEmit:!0,isTSConfigOnly:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_project_compilation},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_file_to_store_incremental_compilation_information},{name:"removeComments",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_comments_to_output},{name:"noEmit",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_outputs},{name:"importHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Import_emit_helpers_from_tslib},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3},{name:"isolatedModules",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule},{name:"strict",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_all_strict_type_checking_options},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_expressions_and_declarations_with_an_implied_any_type},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_null_checks},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_function_types},{name:"strictBindCallApply",type:"boolean",strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_bind_call_and_apply_methods_on_functions},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_property_initialization_in_classes},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_this_expressions_with_an_implied_any_type},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Parse_in_strict_mode_and_emit_use_strict_for_each_source_file},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_locals},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_parameters},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_error_when_not_all_code_paths_in_function_return_a_value},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_for_fallthrough_cases_in_switch_statement},{name:"moduleResolution",type:e.createMapFromTemplate({node:e.ModuleResolutionKind.NodeJs,classic:e.ModuleResolutionKind.Classic}),affectsModuleResolution:!0,paramType:e.Diagnostics.STRATEGY,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Base_directory_to_resolve_non_absolute_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_folders_to_include_type_definitions_from},{name:"types",type:"list",element:{name:"types",type:"string"},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Type_declaration_files_to_be_included_in_compilation},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports},{name:"preserveSymlinks",type:"boolean",category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Do_not_resolve_the_real_path_of_symlinks},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_accessing_UMD_globals_from_modules},{name:"sourceRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations},{name:"mapRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSourceMap",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file},{name:"inlineSources",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set},{name:"experimentalDecorators",type:"boolean",category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_ES7_decorators},{name:"emitDecoratorMetadata",type:"boolean",category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_emitting_type_metadata_for_decorators},{name:"jsxFactory",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h},{name:"resolveJsonModule",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Include_modules_imported_with_json_extension},{name:"out",type:"string",affectsEmit:!0,isFilePath:!1,category:e.Diagnostics.Advanced_Options,paramType:e.Diagnostics.FILE,description:e.Diagnostics.Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file},{name:"reactNamespace",type:"string",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit},{name:"skipDefaultLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files},{name:"charset",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_character_set_of_the_input_files},{name:"emitBOM",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files},{name:"locale",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_locale_used_when_displaying_messages_to_the_user_e_g_en_us},{name:"newLine",type:e.createMapFromTemplate({crlf:0,lf:1}),affectsEmit:!0,paramType:e.Diagnostics.NEWLINE,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix},{name:"noErrorTruncation",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_truncate_error_messages},{name:"noLib",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_include_the_default_library_file_lib_d_ts},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files},{name:"stripInternal",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_declarations_for_code_that_has_an_internal_annotation},{name:"disableSizeLimit",type:"boolean",affectsSourceFile:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_size_limitations_on_JavaScript_projects},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_use_strict_directives_in_module_output},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_generate_custom_helper_functions_like_extends_in_compiled_output},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_outputs_if_any_errors_were_reported},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_erase_const_enum_declarations_in_generated_code},{name:"declarationDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Skip_type_checking_of_declaration_files},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unused_labels},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unreachable_code},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_excess_property_checks_for_object_literals},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures},{name:"forceConsistentCasingInFileNames",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disallow_inconsistently_cased_references_to_the_same_file},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types},{name:"keyofStringsOnly",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:e.Diagnostics.List_of_language_service_plugins}]),e.semanticDiagnosticsOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsSemanticDiagnostics})),e.affectsEmitOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsEmit})),e.moduleResolutionOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsModuleResolution})),e.sourceFileAffectingCompilerOptions=e.optionDeclarations.filter((function(e){return!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics})),e.buildOpts=e.commonOptionsWithBuild.concat([{name:"verbose",shortName:"v",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Enable_verbose_logging,type:"boolean"},{name:"dry",shortName:"d",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean"},{name:"force",shortName:"f",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean"},{name:"clean",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Delete_the_outputs_of_all_projects,type:"boolean"}]),e.typeAcquisitionDeclarations=[{name:"enableAutoDiscovery",type:"boolean"},{name:"enable",type:"boolean"},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}}],e.defaultInitCompilerOptions={module:e.ModuleKind.CommonJS,target:1,strict:!0,esModuleInterop:!0},e.convertEnableAutoDiscoveryToEnable=a,e.createOptionNameMap=s,e.createCompilerDiagnosticForInvalidCustomType=l,e.parseCustomTypeOption=d,e.parseListTypeOption=u,e.parseCommandLine=function(n,t){return p(o,[e.Diagnostics.Unknown_compiler_option_0,e.Diagnostics.Compiler_option_0_expects_an_argument],n,t)},e.getOptionFromName=m,e.parseBuildCommand=function(n){var t,r=p((function(){return t||(t=s(e.buildOpts))}),[e.Diagnostics.Unknown_build_option_0,e.Diagnostics.Build_option_0_requires_a_value_of_type_1],n),a=r.options,i=r.fileNames,o=r.errors,l=a;return 0===i.length&&i.push("."),l.clean&&l.force&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),l.clean&&l.verbose&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),l.clean&&l.watch&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),l.watch&&l.dry&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:l,projects:i,errors:o}},e.printVersion=function(){e.sys.write(g(e.Diagnostics.Version_0,e.version)+e.sys.newLine)},e.printHelp=function(n,t){void 0===t&&(t="");var r=[],a=g(e.Diagnostics.Syntax_Colon_0,"").length,i=g(e.Diagnostics.Examples_Colon_0,"").length,o=Math.max(a,i),s=M(o-a);s+="tsc "+t+"["+g(e.Diagnostics.options)+"] ["+g(e.Diagnostics.file)+"...]",r.push(g(e.Diagnostics.Syntax_Colon_0,s)),r.push(e.sys.newLine+e.sys.newLine);var l=M(o);r.push(g(e.Diagnostics.Examples_Colon_0,M(o-i)+"tsc hello.ts")+e.sys.newLine),r.push(l+"tsc --outFile file.js file.ts"+e.sys.newLine),r.push(l+"tsc @args.txt"+e.sys.newLine),r.push(l+"tsc --build tsconfig.json"+e.sys.newLine),r.push(e.sys.newLine),r.push(g(e.Diagnostics.Options_Colon)+e.sys.newLine),o=0;for(var c=[],d=[],u=e.createMap(),p=0,m=n;p";c.push(y),d.push(g(e.Diagnostics.Insert_command_line_options_and_files_from_a_file)),o=Math.max(y.length,o);for(var b=0;b0)for(var E=function(n){if(e.fileExtensionIs(n,".json")){if(!o){var r=p.filter((function(n){return e.endsWith(n,".json")})),i=e.map(e.getRegularExpressionsForWildcards(r,t,"files"),(function(e){return"^"+e+"$"}));o=i?i.map((function(n){return e.getRegexFromPattern(n,a.useCaseSensitiveFileNames)})):e.emptyArray}if(-1!==e.findIndex(o,(function(e){return e.test(n)}))){var u=s(n);l.has(u)||d.has(u)||d.set(u,n)}return"continue"}if(function(n,t,r,a,i){for(var o=e.getExtensionPriority(n,a),s=e.adjustExtensionPriority(o,a),l=0;l=110&&t.originalKeywordKind<=118)||e.isIdentifierName(t)||4194304&t.flags||n.parseDiagnostics.length||n.bindDiagnostics.push(G(t,function(t){if(e.getContainingClass(t))return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;if(n.externalModuleIndicator)return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}(t),e.declarationNameToString(t)))}function xe(t,r){if(r&&73===r.kind){var a=r;if(o=a,e.isIdentifier(o)&&("eval"===o.escapedText||"arguments"===o.escapedText)){var i=e.getErrorSpanForNode(n,r);n.bindDiagnostics.push(e.createFileDiagnostic(n,i.start,i.length,function(t){if(e.getContainingClass(t))return e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode;if(n.externalModuleIndicator)return e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Invalid_use_of_0_in_strict_mode}(t),e.idText(a)))}}var o}function Ae(e){M&&xe(e,e.name)}function Ce(t){if(d<2&&285!==_.kind&&245!==_.kind&&!e.isFunctionLike(_)){var r=e.getErrorSpanForNode(n,t);n.bindDiagnostics.push(e.createFileDiagnostic(n,r.start,r.length,function(t){return e.getContainingClass(t)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:n.externalModuleIndicator?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}(t)))}}function De(t,r,a,i,o){var s=e.getSpanOfTokenAtPosition(n,t.pos);n.bindDiagnostics.push(e.createFileDiagnostic(n,s.start,s.length,r,a,i,o))}function ke(t,r,a,o){!function(t,r,a){var o=e.createFileDiagnostic(n,r.pos,r.end-r.pos,a);t?n.bindDiagnostics.push(o):n.bindSuggestionDiagnostics=e.append(n.bindSuggestionDiagnostics,i({},o,{category:e.DiagnosticCategory.Suggestion}))}(t,{pos:e.getTokenPosOfNode(r,n),end:a.end},o)}function Me(t){if(t){t.parent=m;var i=M;if(function(t){switch(t.kind){case 73:if(t.isInJSDocNamespace){for(var r=t.parent;r&&!e.isJSDocTypeAlias(r);)r=r.parent;Se(r,524288,67897832);break}case 101:return b&&(e.isExpression(t)||277===m.kind)&&(t.flowNode=b),Le(t);case 190:case 191:b&&Z(t)&&(t.flowNode=b),e.isSpecialPropertyDeclaration(t)&&function(n){101===n.expression.kind?Fe(n):e.isPropertyAccessEntityNameExpression(n)&&285===n.parent.parent.kind&&(e.isPrototypeAccess(n.expression)?Ge(n,n.parent):Ve(n))}(t),e.isInJSFile(t)&&n.commonJsModuleIndicator&&e.isModuleExportsPropertyAccessExpression(t)&&!l(_,"module")&&U(n.locals,void 0,t.expression,134217729,67220414);break;case 205:switch(e.getAssignmentDeclarationKind(t)){case 1:Pe(t);break;case 2:!function(t){if(!Ne(t))return;var r=e.getRightMostAssignedExpression(t.right);if(e.isEmptyObjectLiteral(r)||f===n&&s(n,r))return;var a=e.exportAssignmentIsAlias(t)?2097152:1049092;U(n.symbol.exports,n.symbol,t,67108864|a,0)}(t);break;case 3:Ge(t.left,t);break;case 6:!function(e){e.left.parent=e,e.right.parent=e;var n=e.left;Ke(n.expression,n,!1)}(t);break;case 4:Fe(t);break;case 5:!function(t){var r=t.left,a=je(r.expression);if(!e.isInJSFile(t)&&!e.isFunctionSymbol(a))return;t.left.parent=t,t.right.parent=t,e.isIdentifier(r.expression)&&f===n&&s(n,r.expression)?Pe(t):Ve(r)}(t);break;case 0:break;default:e.Debug.fail("Unknown binary expression special property assignment kind")}return function(n){M&&e.isLeftHandSideExpression(n.left)&&e.isAssignmentOperator(n.operatorToken.kind)&&xe(n,n.left)}(t);case 275:return function(e){M&&e.variableDeclaration&&xe(e,e.variableDeclaration.name)}(t);case 199:return function(t){if(M&&73===t.expression.kind){var r=e.getErrorSpanForNode(n,t.expression);n.bindDiagnostics.push(e.createFileDiagnostic(n,r.start,r.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}(t);case 8:return function(t){M&&32&t.numericLiteralFlags&&n.bindDiagnostics.push(G(t,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}(t);case 204:return function(e){M&&xe(e,e.operand)}(t);case 203:return function(e){M&&(44!==e.operator&&45!==e.operator||xe(e,e.operand))}(t);case 232:return function(n){M&&De(n,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}(t);case 234:return function(n){M&&a.target>=2&&(e.isDeclarationStatement(n.statement)||e.isVariableStatement(n.statement))&&De(n.label,e.Diagnostics.A_label_is_not_allowed_here)}(t);case 179:return void(y=!0);case 164:break;case 151:return function(n){if(e.isJSDocTemplateTag(n.parent)){var t=e.find(n.parent.parent.tags,e.isJSDocTypeAlias)||e.getHostSignatureFromJSDoc(n.parent);t?(t.locals||(t.locals=e.createSymbolTable()),U(t.locals,void 0,n,262144,67635688)):ye(n,262144,67635688)}else if(177===n.parent.kind){var r=function(n){var t=e.findAncestor(n,(function(n){return n.parent&&e.isConditionalTypeNode(n.parent)&&n.parent.extendsType===n}));return t&&t.parent}(n.parent);r?(r.locals||(r.locals=e.createSymbolTable()),U(r.locals,void 0,n,262144,67635688)):Te(n,262144,K(n))}else ye(n,262144,67635688)}(t);case 152:return qe(t);case 238:return We(t);case 187:return t.flowNode=b,We(t);case 155:case 154:return function(e){return ze(e,4|(e.questionToken?16777216:0),0)}(t);case 276:case 277:return ze(t,4,0);case 279:return ze(t,8,68008959);case 161:case 162:case 163:return ye(t,131072,0);case 157:case 156:return ze(t,8192|(t.questionToken?16777216:0),e.isObjectLiteralMethod(t)?0:67212223);case 240:return function(t){n.isDeclarationFile||4194304&t.flags||e.isAsyncFunction(t)&&(k|=1024);Ae(t),M?(Ce(t),Se(t,16,67219887)):ye(t,16,67219887)}(t);case 158:return ye(t,16384,0);case 159:return ze(t,32768,67154879);case 160:return ze(t,65536,67187647);case 166:case 295:case 299:case 167:return function(n){var t=V(131072,K(n));B(t,n,131072);var r=V(2048,"__type");B(r,n,2048),r.members=e.createSymbolTable(),r.members.set(t.escapedName,t)}(t);case 169:case 298:case 182:return function(e){return Te(e,2048,"__type")}(t);case 189:return function(t){var r;if(function(e){e[e.Property=1]="Property",e[e.Accessor=2]="Accessor"}(r||(r={})),M)for(var a=e.createUnderscoreEscapedMap(),i=0,o=t.properties;i148){var o=m;m=t;var d=ve(t);0===d?q(t):function(n,t){var a=f,i=g,o=_;if(1&t?(198!==n.kind&&(g=f),f=_=n,32&t&&(f.locals=e.createSymbolTable()),he(f)):2&t&&((_=n).locals=void 0),4&t){var s=r,l=b,c=E,d=T,u=S,p=C,m=D,v=16&t&&!e.hasModifier(n,256)&&!n.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(n);v||(b={flags:2},144&t&&(b.container=n)),S=v||158===n.kind?ne():void 0,E=void 0,T=void 0,C=void 0,D=!1,r=e.identity,q(n),n.flags&=-1409,!(1&b.flags)&&8&t&&e.nodeIsPresent(n.body)&&(n.flags|=128,D&&(n.flags|=256)),285===n.kind&&(n.flags|=k),S&&(ae(S,b),b=ce(S),158===n.kind&&(n.returnFlowNode=b)),v||(b=l),E=c,T=d,S=u,C=p,D=m,r=s}else 64&t?(y=!1,q(n),n.flags=y?64|n.flags:-65&n.flags):q(n);f=a,g=i,_=o}(t,d),m=o}else if(!R&&0===(536870912&t.transformFlags)){F|=c(t,0);o=m;1===t.kind&&(m=t),Oe(t),m=o}M=i}}function Oe(n){if(e.hasJSDocNodes(n))if(e.isInJSFile(n))for(var t=0,r=n.jsDoc;t=164&&e<=184)return-2;switch(e){case 192:case 193:case 188:return 536875008;case 245:return 537168896;case 152:return 536870912;case 198:return 537371648;case 197:case 240:return 537373696;case 239:return 536944640;case 241:case 210:return 536888320;case 158:return 537372672;case 157:case 159:case 160:return 537372672;case 121:case 136:case 147:case 133:case 139:case 137:case 124:case 140:case 107:case 151:case 154:case 156:case 161:case 162:case 163:case 242:case 243:return-2;case 189:return 536896512;case 275:return 536879104;case 185:case 186:return 536875008;case 195:case 213:case 314:case 196:case 99:return 536870912;case 190:case 191:default:return 536870912}}function p(n,t){t.parent=n,e.forEachChild(t,(function(e){return p(t,e)}))}e.bindSourceFile=function(n,t){e.performance.mark("beforeBind"),a(n,t),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind")},e.isExportsOrModuleExportsOrAlias=s,e.computeTransformFlagsForNode=c,e.getTransformFlagsSubtreeExclusions=u}(c||(c={})),function(e){e.createGetSymbolWalker=function(n,t,r,a,i,o,s,l,c,d){return function(u){void 0===u&&(u=function(){return!0});var p=[],m=[];return{walkType:function(n){try{return f(n),{visitedTypes:e.getOwnValues(p),visitedSymbols:e.getOwnValues(m)}}finally{e.clear(p),e.clear(m)}},walkSymbol:function(n){try{return v(n),{visitedTypes:e.getOwnValues(p),visitedSymbols:e.getOwnValues(m)}}finally{e.clear(p),e.clear(m)}}};function f(n){if(n&&(!p[n.id]&&(p[n.id]=n,!v(n.symbol)))){if(524288&n.flags){var t=n,r=t.objectFlags;4&r&&function(n){f(n.target),e.forEach(n.typeArguments,f)}(n),32&r&&function(e){f(e.typeParameter),f(e.constraintType),f(e.templateType),f(e.modifiersType)}(n),3&r&&(_(i=n),e.forEach(i.typeParameters,f),e.forEach(a(i),f),f(i.thisType)),24&r&&_(t)}var i;262144&n.flags&&function(e){f(c(e))}(n),3145728&n.flags&&function(n){e.forEach(n.types,f)}(n),4194304&n.flags&&function(e){f(e.type)}(n),8388608&n.flags&&function(e){f(e.objectType),f(e.indexType),f(e.constraint)}(n)}}function g(a){var i=t(a);i&&f(i.type),e.forEach(a.typeParameters,f);for(var o=0,s=a.parameters;o0?e.createPropertyAccess(n(r,a-1),d):d}91===l&&(s=s.substring(1,s.length-1),l=s.charCodeAt(0));var u=void 0;return e.isSingleOrDoubleQuote(l)?(u=e.createLiteral(s.substring(1,s.length-1).replace(/\\./g,(function(e){return e.substring(1)})))).singleQuote=39===l:""+ +s===s&&(u=e.createLiteral(+s)),u||((u=e.setEmitFlags(e.createIdentifier(s,i),16777216)).symbol=o),e.createElementAccess(n(r,a-1),u)}(a,a.length-1)}(t,n,r)}))},symbolToTypeParameterDeclarations:function(e,t,r,a){return n(t,r,a,(function(n){return b(e,n)}))},symbolToParameterDeclaration:function(e,t,r,a){return n(t,r,a,(function(n){return v(e,n)}))},typeParameterToDeclaration:function(e,t,r,a){return n(t,r,a,(function(n){return _(e,n)}))}};function n(n,t,a,i){e.Debug.assert(void 0===n||0===(8&n.flags));var o={enclosingDeclaration:n,flags:t||0,tracker:a&&a.trackSymbol?a:{trackSymbol:e.noop,moduleResolverHost:134217728&t?{getCommonSourceDirectory:r.getCommonSourceDirectory?function(){return r.getCommonSourceDirectory()}:function(){return""},getSourceFiles:function(){return r.getSourceFiles()},getCurrentDirectory:r.getCurrentDirectory&&function(){return r.getCurrentDirectory()}}:void 0},encounteredError:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0},s=i(o);return o.encounteredError?void 0:s}function a(n){return n.truncating?n.truncating:n.truncating=!(1&n.flags)&&n.approximateLength>e.defaultMaximumTruncationLength}function o(n,t){f&&f.throwIfCancellationRequested&&f.throwIfCancellationRequested();var r=8388608&t.flags;if(t.flags&=-8388609,n){if(1&n.flags)return t.approximateLength+=3,e.createKeywordTypeNode(121);if(2&n.flags)return e.createKeywordTypeNode(144);if(4&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(139);if(8&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(136);if(64&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(147);if(16&n.flags)return t.approximateLength+=7,e.createKeywordTypeNode(124);if(1024&n.flags&&!(1048576&n.flags)){var i=Vr(n.symbol),_=S(i,t,67897832);return Ri(i)===n?_:w(_,e.createTypeReferenceNode(e.symbolName(n.symbol),void 0))}if(1056&n.flags)return S(n.symbol,t,67897832);if(128&n.flags)return t.approximateLength+=n.value.length+2,e.createLiteralTypeNode(e.setEmitFlags(e.createLiteral(n.value),16777216));if(256&n.flags){var v=n.value;return t.approximateLength+=(""+v).length,e.createLiteralTypeNode(v<0?e.createPrefix(39,e.createLiteral(-v)):e.createLiteral(v))}if(2048&n.flags)return t.approximateLength+=e.pseudoBigIntToString(n.value).length+1,e.createLiteralTypeNode(e.createLiteral(n.value));if(512&n.flags)return t.approximateLength+=n.intrinsicName.length,"true"===n.intrinsicName?e.createTrue():e.createFalse();if(8192&n.flags){if(!(1048576&t.flags)){if(ia(n.symbol,t.enclosingDeclaration))return t.approximateLength+=6,S(n.symbol,t,67220415);t.tracker.reportInaccessibleUniqueSymbolError&&t.tracker.reportInaccessibleUniqueSymbolError()}return t.approximateLength+=13,e.createTypeOperatorNode(143,e.createKeywordTypeNode(140))}if(16384&n.flags)return t.approximateLength+=4,e.createKeywordTypeNode(107);if(32768&n.flags)return t.approximateLength+=9,e.createKeywordTypeNode(142);if(65536&n.flags)return t.approximateLength+=4,e.createKeywordTypeNode(97);if(131072&n.flags)return t.approximateLength+=5,e.createKeywordTypeNode(133);if(4096&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(140);if(67108864&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(137);if(ec(n))return 4194304&t.flags&&(t.encounteredError||32768&t.flags||(t.encounteredError=!0),t.tracker.reportInaccessibleThisError&&t.tracker.reportInaccessibleThisError()),t.approximateLength+=4,e.createThis();var h=e.getObjectFlags(n);if(4&h)return e.Debug.assert(!!(524288&n.flags)),function(n){var r=n.typeArguments||e.emptyArray;if(n.target===$e||n.target===en){if(2&t.flags){var a=o(r[0],t);return e.createTypeReferenceNode(n.target===$e?"Array":"ReadonlyArray",[a])}var i=o(r[0],t),s=e.createArrayTypeNode(i);return n.target===$e?s:e.createTypeOperatorNode(134,s)}if(8&n.target.objectFlags){if(r.length>0){var l=Hs(n),d=c(r.slice(0,l),t),u=n.target.hasRestElement;if(d){for(var p=n.target.minLength;p0){var L=(n.target.typeParameters||e.emptyArray).length;T=c(r.slice(p,L),t)}var x=t.flags;t.flags|=16;var A=S(n.symbol,t,67897832,T);return t.flags=x,g?w(g,A):A}(n);if(262144&n.flags||3&h){if(262144&n.flags&&e.contains(t.inferTypeParameters,n))return t.approximateLength+=e.symbolName(n.symbol).length+6,e.createInferTypeNode(g(n,t,void 0));if(4&t.flags&&262144&n.flags&&e.length(n.symbol.declarations)&&e.isTypeParameterDeclaration(n.symbol.declarations[0])&&m(n,t)&&!aa(n.symbol,t.enclosingDeclaration)){var y=n.symbol.declarations[0].name;return t.approximateLength+=e.idText(y).length,e.createTypeReferenceNode(e.getGeneratedNameForNode(y,24),void 0)}return n.symbol?S(n.symbol,t,67897832):e.createTypeReferenceNode(e.createIdentifier("?"),void 0)}if(!r&&n.aliasSymbol&&(16384&t.flags||aa(n.aliasSymbol,t.enclosingDeclaration))){var b=c(n.aliasTypeArguments,t);return!Yr(n.aliasSymbol.escapedName)||32&n.aliasSymbol.flags?S(n.aliasSymbol,t,67897832,b):e.createTypeReferenceNode(e.createIdentifier(""),b)}if(3145728&n.flags){var E=1048576&n.flags?function(e){for(var n=[],t=0,r=0;r0?e.createUnionOrIntersectionTypeNode(1048576&n.flags?174:175,T):void(t.encounteredError||262144&t.flags||(t.encounteredError=!0))}if(48&h)return e.Debug.assert(!!(524288&n.flags)),I(n);if(4194304&n.flags){var L=n.type;t.approximateLength+=6;var x=o(L,t);return e.createTypeOperatorNode(x)}if(8388608&n.flags){var A=o(n.objectType,t);x=o(n.indexType,t);return t.approximateLength+=2,e.createIndexedAccessTypeNode(A,x)}if(16777216&n.flags){var C=o(n.checkType,t),D=t.inferTypeParameters;t.inferTypeParameters=n.root.inferTypeParameters;var k=o(n.extendsType,t);t.inferTypeParameters=D;var M=o(uc(n),t),O=o(pc(n),t);return t.approximateLength+=15,e.createConditionalTypeNode(C,k,M,O)}return 33554432&n.flags?o(n.typeVariable,t):e.Debug.fail("Should be unreachable.")}function I(n){var r,a=""+n.id,i=n.symbol;if(i){if(r=(16&e.getObjectFlags(n)&&n.symbol&&32&n.symbol.flags?"+":"")+d(i),Cg(i.valueDeclaration)){var o=n===Mg(i)?67897832:67220415;return S(i,t,o)}if(32&i.flags&&!oi(i)&&!(210===i.valueDeclaration.kind&&2048&t.flags)||896&i.flags||function(){var n=!!(8192&i.flags)&&e.some(i.declarations,(function(n){return e.hasModifier(n,32)})),r=!!(16&i.flags)&&(i.parent||e.forEach(i.declarations,(function(e){return 285===e.parent.kind||246===e.parent.kind})));if(n||r)return(!!(4096&t.flags)||t.visitedTypes&&t.visitedTypes.has(a))&&(!(8&t.flags)||ia(i,t.enclosingDeclaration))}())return S(i,t,67220415);if(t.visitedTypes&&t.visitedTypes.has(a)){var l=function(n){if(n.symbol&&2048&n.symbol.flags){var t=e.findAncestor(n.symbol.declarations[0].parent,(function(e){return 178!==e.kind}));if(243===t.kind)return Gr(t)}return}(n);return l?S(l,t,67897832):s(t)}t.visitedTypes||(t.visitedTypes=e.createMap()),t.symbolDepth||(t.symbolDepth=e.createMap());var c=t.symbolDepth.get(r)||0;if(c>10)return s(t);t.symbolDepth.set(r,c+1),t.visitedTypes.set(a,!0);var u=R(n);return t.visitedTypes.delete(a),t.symbolDepth.set(r,c),u}return R(n)}function R(n){if(xo(n))return function(n){e.Debug.assert(!!(524288&n.flags));var r,a=n.declaration.readonlyToken?e.createToken(n.declaration.readonlyToken.kind):void 0,i=n.declaration.questionToken?e.createToken(n.declaration.questionToken.kind):void 0;r=bo(n)?e.createTypeOperatorNode(o(Eo(n),t)):o(vo(n),t);var s=g(_o(n),t,r),l=o(ho(n),t),c=e.createMappedTypeNode(a,s,i,l);return t.approximateLength+=10,e.setEmitFlags(c,1)}(n);var r=Ao(n);if(!r.properties.length&&!r.stringIndexInfo&&!r.numberIndexInfo){if(!r.callSignatures.length&&!r.constructSignatures.length)return t.approximateLength+=2,e.setEmitFlags(e.createTypeLiteralNode(void 0),1);if(1===r.callSignatures.length&&!r.constructSignatures.length)return p(r.callSignatures[0],166,t);if(1===r.constructSignatures.length&&!r.callSignatures.length)return p(r.constructSignatures[0],167,t)}var i=t.flags;t.flags|=4194304;var c=function(n){if(a(t))return[e.createPropertySignature(void 0,"...",void 0,void 0,void 0)];for(var r=[],i=0,o=n.callSignatures;i2)return[o(n[0],t),e.createTypeReferenceNode("... "+(n.length-2)+" more ...",void 0),o(n[n.length-1],t)]}for(var i=[],s=0,l=0,c=n;l0)),i}function b(n,t){var r;return 524384&_h(n).flags&&(r=e.createNodeArray(e.map(vi(n),(function(e){return _(e,t)})))),r}function E(n,t,r){e.Debug.assert(n&&0<=t&&t1?_(i,i.length-1,1):void 0,l=a||E(i,0,t),c=T(i[0],t);!(67108864&t.flags)&&e.getEmitModuleResolutionKind(k)===e.ModuleResolutionKind.NodeJs&&c.indexOf("/node_modules/")>=0&&(t.encounteredError=!0,t.tracker.reportLikelyUnsafeImportRequiredError&&t.tracker.reportLikelyUnsafeImportRequiredError(c));var d=e.createLiteralTypeNode(e.createLiteral(c));if(t.tracker.trackExternalModuleSymbolOfImportTypeNode&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(i[0]),t.approximateLength+=c.length+10,!s||e.isEntityName(s)){if(s)(f=e.isIdentifier(s)?s:s.right).typeArguments=void 0;return e.createImportTypeNode(d,s,l,o)}var u=function n(t){return e.isIndexedAccessTypeNode(t.objectType)?n(t.objectType):t}(s),p=u.objectType.typeName;return e.createIndexedAccessTypeNode(e.createImportTypeNode(d,p,l,o),u.indexType)}var m=_(i,i.length-1,0);if(e.isIndexedAccessTypeNode(m))return m;if(o)return e.createTypeQueryNode(m);var f,g=(f=e.isIdentifier(m)?m:m.right).typeArguments;return f.typeArguments=void 0,e.createTypeReferenceNode(m,g);function _(n,r,i){var o=r===n.length-1?a:E(n,r,t),s=n[r];0===r&&(t.flags|=16777216);var l=Ta(s,t);t.approximateLength+=l.length+1,0===r&&(t.flags^=16777216);var c=n[r-1];if(!(16&t.flags)&&c&&Yi(c)&&Yi(c).get(s.escapedName)===s){var d=_(n,r-1,i);return e.isIndexedAccessTypeNode(d)?e.createIndexedAccessTypeNode(d,e.createLiteralTypeNode(e.createLiteral(l))):e.createIndexedAccessTypeNode(e.createTypeReferenceNode(d,o),e.createLiteralTypeNode(e.createLiteral(l)))}var u=e.setEmitFlags(e.createIdentifier(l,o),16777216);if(u.symbol=s,r>i){d=_(n,r-1,i);return e.isEntityName(d)?e.createQualifiedName(d,u):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return u}}function L(n,t,r,a){var i=y(n,t,r);return!a||1===i.length||t.encounteredError||65536&t.flags||(t.encounteredError=!0),function n(r,a){var i=E(r,a,t),o=r[a];0===a&&(t.flags|=16777216);var s=Ta(o,t);0===a&&(t.flags^=16777216);var l=e.setEmitFlags(e.createIdentifier(s,i),16777216);return l.symbol=o,a>0?e.createQualifiedName(n(r,a-1),l):l}(i,i.length-1)}}(),j=e.createSymbolTable(),U=Gt(4,"undefined");U.declarations=[];var W=Gt(1536,"globalThis",8);W.exports=j,j.set(W.escapedName,W);var q,z=Gt(4,"arguments"),J=Gt(4,"require"),X={getNodeCount:function(){return e.sum(r.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(r.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(r.getSourceFiles(),"symbolCount")+S},getTypeCount:function(){return T},getRelationCacheSizes:function(){return{assignable:kt.size,identity:Ot.size,subtype:Dt.size}},isUndefinedSymbol:function(e){return e===U},isArgumentsSymbol:function(e){return e===z},isUnknownSymbol:function(e){return e===ie},getMergedSymbol:Fr,getDiagnostics:Vh,getGlobalDiagnostics:function(){return Bh(),dt.getGlobalDiagnostics()},getTypeOfSymbolAtLocation:function(n,t){return(t=e.getParseTreeNode(t))?function(n,t){if(n=n.exportSymbol||n,73===t.kind&&(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),e.isExpressionNode(t)&&!e.isAssignmentTarget(t))){var r=K_(t);if(Kr(Xt(t).resolvedSymbol)===n)return r}return di(n)}(n,t):de},getSymbolsOfParameterPropertyDeclaration:function(n,t){var r=e.getParseTreeNode(n,e.isParameter);return void 0===r?e.Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):function(n,t){var r=n.parent,a=n.parent.parent,i=Qt(r.locals,t,67220415),o=Qt(Yi(a.symbol),t,67220415);if(i&&o)return[i,o];return e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(r,e.escapeLeadingUnderscores(t))},getDeclaredTypeOfSymbol:Ri,getPropertiesOfType:Mo,getPropertyOfType:function(n,t){return Jo(n,e.escapeLeadingUnderscores(t))},getTypeOfPropertyOfType:function(n,t){return Ma(n,e.escapeLeadingUnderscores(t))},getIndexInfoOfType:$o,getSignaturesOfType:Yo,getIndexTypeOfType:es,getBaseTypes:Li,getBaseTypeOfLiteralType:su,getWidenedType:ku,getTypeFromTypeNode:function(n){var t=e.getParseTreeNode(n,e.isTypeNode);return t?Oc(t):de},getParameterType:Bg,getPromisedTypeOfPromise:pv,getReturnTypeOfSignature:ys,getNullableType:yu,getNonNullableType:Eu,typeToTypeNode:K.typeToTypeNode,indexInfoToIndexSignatureDeclaration:K.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:K.signatureToSignatureDeclaration,symbolToEntityName:K.symbolToEntityName,symbolToExpression:K.symbolToExpression,symbolToTypeParameterDeclarations:K.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:K.symbolToParameterDeclaration,typeParameterToDeclaration:K.typeParameterToDeclaration,getSymbolsInScope:function(n,t){return(n=e.getParseTreeNode(n))?function(n,t){if(8388608&n.flags)return[];var r=e.createSymbolTable(),a=!1;return i(),r.delete("this"),rs(r);function i(){for(;n;){switch(n.locals&&!Yt(n)&&s(n.locals,t),n.kind){case 285:if(!e.isExternalOrCommonJsModule(n))break;case 245:s(Gr(n).exports,2623475&t);break;case 244:s(Gr(n).exports,8&t);break;case 210:n.name&&o(n.symbol,t);case 241:case 242:a||s(Yi(Gr(n)),67897832&t);break;case 197:n.name&&o(n.symbol,t)}e.introducesArgumentsExoticObject(n)&&o(z,t),a=e.hasModifier(n,32),n=n.parent}s(j,t)}function o(n,t){if(e.getCombinedLocalAndExportSymbolFlags(n)&t){var a=n.escapedName;r.has(a)||r.set(a,n)}}function s(e,n){n&&e.forEach((function(e){o(e,n)}))}}(n,t):[]},getSymbolAtLocation:function(n){return(n=e.getParseTreeNode(n))?zh(n):void 0},getShorthandAssignmentValueSymbol:function(n){return(n=e.getParseTreeNode(n))?function(e){if(e&&277===e.kind)return Tr(e.name,69317567);return}(n):void 0},getExportSpecifierLocalTargetSymbol:function(n){var t=e.getParseTreeNode(n,e.isExportSpecifier);return t?function(e){return e.parent.parent.moduleSpecifier?pr(e.parent.parent,e):Tr(e.propertyName||e.name,70107135)}(t):void 0},getExportSymbolOfSymbol:function(e){return Fr(e.exportSymbol||e)},getTypeAtLocation:function(n){return(n=e.getParseTreeNode(n))?Jh(n):de},getTypeOfAssignmentPattern:function(n){var t=e.getParseTreeNode(n,e.isAssignmentPattern);return t&&Xh(t)||de},getPropertySymbolOfDestructuringAssignment:function(n){var t=e.getParseTreeNode(n,e.isIdentifier);return t?function(n){var t=Xh(e.cast(n.parent.parent,e.isAssignmentPattern));return t&&Jo(t,n.escapedText)}(t):void 0},signatureToString:function(n,t,r,a){return ma(n,e.getParseTreeNode(t),r,a)},typeToString:function(n,t,r){return fa(n,e.getParseTreeNode(t),r)},symbolToString:function(n,t,r,a){return pa(n,e.getParseTreeNode(t),r,a)},typePredicateToString:function(n,t,r){return va(n,e.getParseTreeNode(t),r)},writeSignature:function(n,t,r,a,i){return ma(n,e.getParseTreeNode(t),r,a,i)},writeType:function(n,t,r,a){return fa(n,e.getParseTreeNode(t),r,a)},writeSymbol:function(n,t,r,a,i){return pa(n,e.getParseTreeNode(t),r,a,i)},writeTypePredicate:function(n,t,r,a){return va(n,e.getParseTreeNode(t),r,a)},getAugmentedPropertiesOfType:$h,getRootSymbols:function n(t){var r=function(n){if(6&e.getCheckFlags(n))return e.mapDefined(Jt(n).containingType.types,(function(e){return Jo(e,n.escapedName)}));if(33554432&n.flags){var t=n,r=t.leftSpread,a=t.rightSpread,i=t.syntheticOrigin;return r?[r,a]:i?[i]:e.singleElementArray(function(e){var n,t=e;for(;t=Jt(t).target;)n=t;return n}(n))}return}(t);return r?e.flatMap(r,n):[t]},getContextualType:function(n){var t=e.getParseTreeNode(n,e.isExpression);return t?Fm(t):void 0},getContextualTypeForObjectLiteralElement:function(n){var t=e.getParseTreeNode(n,e.isObjectLiteralElementLike);return t?km(t):void 0},getContextualTypeForArgumentAtIndex:function(n,t){var r=e.getParseTreeNode(n,e.isCallLikeExpression);return r&&xm(r,t)},getContextualTypeForJsxAttribute:function(n){var t=e.getParseTreeNode(n,e.isJsxAttributeLike);return t&&Im(t)},isContextSensitive:td,getFullyQualifiedName:Er,getResolvedSignature:function(e,n,t){return Y(e,n,t,0)},getResolvedSignatureForSignatureHelp:function(e,n,t){return Y(e,n,t,16)},getExpandedParameters:ro,hasEffectiveRestParameter:Wg,getConstantValue:function(n){var t=e.getParseTreeNode(n,yy);return t?by(t):void 0},isValidPropertyAccess:function(n,t){var r=e.getParseTreeNode(n,e.isPropertyAccessOrQualifiedNameOrImportTypeNode);return!!r&&function(e,n){switch(e.kind){case 190:return Bf(e,99===e.expression.kind,n,ku(U_(e.expression)));case 149:return Bf(e,!1,n,ku(U_(e.left)));case 184:return Bf(e,!1,n,Oc(e))}}(r,e.escapeLeadingUnderscores(t))},isValidPropertyAccessForCompletions:function(n,t,r){var a=e.getParseTreeNode(n,e.isPropertyAccessExpression);return!!a&&function(e,n,t){return Bf(e,190===e.kind&&99===e.expression.kind,t.escapedName,n)}(a,t,r)},getSignatureFromDeclaration:function(n){var t=e.getParseTreeNode(n,e.isFunctionLike);return t?ps(t):void 0},isImplementationOfOverload:function(n){var t=e.getParseTreeNode(n,e.isFunctionLike);return t?py(t):void 0},getImmediateAliasedSymbol:$m,getAliasedSymbol:vr,getEmitResolver:function(e,n){return Vh(e,n),H},getExportsOfModule:Or,getExportsAndPropertiesOfModule:function(n){var t=Or(n),r=Dr(n);r!==n&&e.addRange(t,Mo(di(r)));return t},getSymbolWalker:e.createGetSymbolWalker((function(e){return Ts(e)||se}),hs,ys,Li,Ao,di,ip,Zo,Io,Lh),getAmbientModules:function(){qe||(qe=[],j.forEach((function(e,n){t.test(n)&&qe.push(e)})));return qe},getJsxIntrinsicTagNamesAt:function(t){var r=lf(n.IntrinsicElements,t);return r?Mo(r):e.emptyArray},isOptionalParameter:function(n){var t=e.getParseTreeNode(n,e.isParameter);return!!t&&os(t)},tryGetMemberInModuleExports:function(n,t){return Ir(e.escapeLeadingUnderscores(n),t)},tryGetMemberInModuleExportsAndProperties:function(n,t){return function(e,n){var t=Ir(e,n);if(t)return t;var r=Dr(n);if(r===n)return;var a=di(r);return 131068&a.flags?void 0:Jo(a,e)}(e.escapeLeadingUnderscores(n),t)},tryFindAmbientModuleWithoutAugmentations:function(e){return is(e,!1)},getApparentType:Uo,getUnionType:Nl,createAnonymousType:$r,createSignature:eo,createSymbol:Gt,createIndexInfo:Is,getAnyType:function(){return se},getStringType:function(){return _e},getNumberType:function(){return ve},createPromiseType:Zg,createArrayType:Ll,getElementTypeOfArrayType:$d,getBooleanType:function(){return Se},getFalseType:function(e){return e?ye:be},getTrueType:function(e){return e?Ee:Te},getVoidType:function(){return xe},getUndefinedType:function(){return pe},getNullType:function(){return fe},getESSymbolType:function(){return Le},getNeverType:function(){return Ae},isSymbolAccessible:oa,getObjectFlags:e.getObjectFlags,isArrayType:Qd,isTupleType:uu,isArrayLikeType:eu,isTypeInvalidDueToUnionDiscriminant:function(e,n){return n.properties.some((function(n){var t=n.name&&jl(n.name),r=t&&Ki(t)?zi(t):void 0,a=void 0===r?void 0:Ma(e,r);return!!a&&ou(a)&&!pd(Jh(n),a)}))},getAllPossiblePropertiesOfTypes:function(n){var t=Nl(n);if(!(1048576&t.flags))return $h(t);for(var r=e.createSymbolTable(),a=0,i=n;a>",0,se),In=eo(void 0,void 0,void 0,e.emptyArray,se,void 0,0,!1,!1),Rn=eo(void 0,void 0,void 0,e.emptyArray,de,void 0,0,!1,!1),wn=eo(void 0,void 0,void 0,e.emptyArray,se,void 0,0,!1,!1),Nn=eo(void 0,void 0,void 0,e.emptyArray,Ce,void 0,0,!1,!1),Pn=Is(_e,!0),Fn=e.createMap(),Gn=e.createMap(),Vn=0,Bn=0,Hn=0,Kn=!1,jn=Dc(""),Un=Dc(0),Wn=Dc({negative:!1,base10Value:"0"}),qn=[],zn=[],Jn=[],Xn=0,Yn=[],Qn=[],Zn=[],$n=[],et=[],nt=[],tt=[],rt=[],at=[],it=[],ot=[],st=[],lt=[],ct=[],dt=e.createDiagnosticCollection(),ut=e.createMultiMap();!function(e){e[e.None=0]="None",e[e.TypeofEQString=1]="TypeofEQString",e[e.TypeofEQNumber=2]="TypeofEQNumber",e[e.TypeofEQBigInt=4]="TypeofEQBigInt",e[e.TypeofEQBoolean=8]="TypeofEQBoolean",e[e.TypeofEQSymbol=16]="TypeofEQSymbol",e[e.TypeofEQObject=32]="TypeofEQObject",e[e.TypeofEQFunction=64]="TypeofEQFunction",e[e.TypeofEQHostObject=128]="TypeofEQHostObject",e[e.TypeofNEString=256]="TypeofNEString",e[e.TypeofNENumber=512]="TypeofNENumber",e[e.TypeofNEBigInt=1024]="TypeofNEBigInt",e[e.TypeofNEBoolean=2048]="TypeofNEBoolean",e[e.TypeofNESymbol=4096]="TypeofNESymbol",e[e.TypeofNEObject=8192]="TypeofNEObject",e[e.TypeofNEFunction=16384]="TypeofNEFunction",e[e.TypeofNEHostObject=32768]="TypeofNEHostObject",e[e.EQUndefined=65536]="EQUndefined",e[e.EQNull=131072]="EQNull",e[e.EQUndefinedOrNull=262144]="EQUndefinedOrNull",e[e.NEUndefined=524288]="NEUndefined",e[e.NENull=1048576]="NENull",e[e.NEUndefinedOrNull=2097152]="NEUndefinedOrNull",e[e.Truthy=4194304]="Truthy",e[e.Falsy=8388608]="Falsy",e[e.All=16777215]="All",e[e.BaseStringStrictFacts=3735041]="BaseStringStrictFacts",e[e.BaseStringFacts=12582401]="BaseStringFacts",e[e.StringStrictFacts=16317953]="StringStrictFacts",e[e.StringFacts=16776705]="StringFacts",e[e.EmptyStringStrictFacts=12123649]="EmptyStringStrictFacts",e[e.EmptyStringFacts=12582401]="EmptyStringFacts",e[e.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",e[e.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",e[e.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",e[e.BaseNumberFacts=12582146]="BaseNumberFacts",e[e.NumberStrictFacts=16317698]="NumberStrictFacts",e[e.NumberFacts=16776450]="NumberFacts",e[e.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",e[e.ZeroNumberFacts=12582146]="ZeroNumberFacts",e[e.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",e[e.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",e[e.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",e[e.BaseBigIntFacts=12581636]="BaseBigIntFacts",e[e.BigIntStrictFacts=16317188]="BigIntStrictFacts",e[e.BigIntFacts=16775940]="BigIntFacts",e[e.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",e[e.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",e[e.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",e[e.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",e[e.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",e[e.BaseBooleanFacts=12580616]="BaseBooleanFacts",e[e.BooleanStrictFacts=16316168]="BooleanStrictFacts",e[e.BooleanFacts=16774920]="BooleanFacts",e[e.FalseStrictFacts=12121864]="FalseStrictFacts",e[e.FalseFacts=12580616]="FalseFacts",e[e.TrueStrictFacts=7927560]="TrueStrictFacts",e[e.TrueFacts=16774920]="TrueFacts",e[e.SymbolStrictFacts=7925520]="SymbolStrictFacts",e[e.SymbolFacts=16772880]="SymbolFacts",e[e.ObjectStrictFacts=7888800]="ObjectStrictFacts",e[e.ObjectFacts=16736160]="ObjectFacts",e[e.FunctionStrictFacts=7880640]="FunctionStrictFacts",e[e.FunctionFacts=16728e3]="FunctionFacts",e[e.UndefinedFacts=9830144]="UndefinedFacts",e[e.NullFacts=9363232]="NullFacts",e[e.EmptyObjectStrictFacts=16318463]="EmptyObjectStrictFacts",e[e.EmptyObjectFacts=16777215]="EmptyObjectFacts"}(kn||(kn={}));var pt,mt,ft,gt,_t,vt,ht,yt,bt,Et,Tt,St,Lt=e.createMapFromTemplate({string:1,number:2,bigint:4,boolean:8,symbol:16,undefined:65536,object:32,function:64}),xt=e.createMapFromTemplate({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384}),At=e.createMapFromTemplate({string:_e,number:ve,bigint:he,boolean:Se,symbol:Le,undefined:pe}),Ct=Nl(e.arrayFrom(Lt.keys(),Dc)),Dt=e.createMap(),kt=e.createMap(),Mt=e.createMap(),Ot=e.createMap(),It=e.createMap();!function(e){e[e.Type=0]="Type",e[e.ResolvedBaseConstructorType=1]="ResolvedBaseConstructorType",e[e.DeclaredType=2]="DeclaredType",e[e.ResolvedReturnType=3]="ResolvedReturnType",e[e.ImmediateBaseConstraint=4]="ImmediateBaseConstraint",e[e.EnumTagType=5]="EnumTagType",e[e.JSDocTypeReference=6]="JSDocTypeReference"}(gt||(gt={})),function(e){e[e.Normal=0]="Normal",e[e.Contextual=1]="Contextual",e[e.Inferential=2]="Inferential",e[e.SkipContextSensitive=4]="SkipContextSensitive",e[e.SkipGenericFunctions=8]="SkipGenericFunctions",e[e.IsForSignatureHelp=16]="IsForSignatureHelp"}(_t||(_t={})),function(e){e[e.None=0]="None",e[e.Signature=1]="Signature"}(vt||(vt={})),function(e){e[e.None=0]="None",e[e.NoIndexSignatures=1]="NoIndexSignatures",e[e.Writing=2]="Writing",e[e.CacheSymbol=4]="CacheSymbol"}(ht||(ht={})),function(e){e[e.None=0]="None",e[e.Bivariant=1]="Bivariant",e[e.Strict=2]="Strict"}(yt||(yt={})),function(e){e[e.IncludeReadonly=1]="IncludeReadonly",e[e.ExcludeReadonly=2]="ExcludeReadonly",e[e.IncludeOptional=4]="IncludeOptional",e[e.ExcludeOptional=8]="ExcludeOptional"}(bt||(bt={})),function(e){e[e.None=0]="None",e[e.Source=1]="Source",e[e.Target=2]="Target",e[e.Both=3]="Both"}(Et||(Et={})),function(e){e.resolvedExports="resolvedExports",e.resolvedMembers="resolvedMembers"}(Tt||(Tt={})),function(e){e[e.Local=0]="Local",e[e.Parameter=1]="Parameter"}(St||(St={}));var Rt=e.createSymbolTable();Rt.set(U.escapedName,U);var wt=e.and(Oh,(function(n){return!e.isAccessor(n)}));return function(){for(var n=0,t=r.getSourceFiles();n=5||e.addRelatedInfo(i,e.length(i.relatedInformation)?e.createDiagnosticForNode(l,e.Diagnostics.and_here):e.createDiagnosticForNode(l,e.Diagnostics._0_was_also_declared_here,r))}}function qt(e,n,t){void 0===t&&(t=!1),n.forEach((function(n,r){var a=e.get(r);e.set(r,a?jt(a,n,t):n)}))}function zt(n){var t=n.parent;if(t.symbol.declarations[0]===t)if(e.isGlobalScopeAugmentation(t))qt(j,t.symbol.exports);else{var r=xr(n,n,4194304&n.parent.parent.flags?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!0);if(!r)return;if(1920&(r=Dr(r)).flags)if(e.some(ze,(function(e){return r===e.symbol}))){var a=jt(t.symbol,r,!0);Je||(Je=e.createMap()),Je.set(n.text,a)}else jt(r,t.symbol);else Pt(n,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,n.text)}else e.Debug.assert(t.symbol.declarations.length>1)}function Jt(e){if(33554432&e.flags)return e;var n=d(e);return Qn[n]||(Qn[n]={})}function Xt(e){var n=c(e);return Zn[n]||(Zn[n]={flags:0})}function Yt(n){return 285===n.kind&&!e.isExternalOrCommonJsModule(n)}function Qt(n,t,r){if(r){var a=n.get(t);if(a){if(e.Debug.assert(0===(1&e.getCheckFlags(a)),"Should never get an instantiated symbol here."),a.flags&r)return a;if(2097152&a.flags){var i=vr(a);if(i===ie||i.flags&r)return a}}}}function Zt(n,t){var a=e.getSourceFileOfNode(n),i=e.getSourceFileOfNode(t);if(a!==i){if(O&&(a.externalModuleIndicator||i.externalModuleIndicator)||!k.outFile&&!k.out||op(t)||4194304&n.flags)return!0;if(c(t,n))return!0;var o=r.getSourceFiles();return o.indexOf(a)<=o.indexOf(i)}if(n.pos<=t.pos){if(187===n.kind){var s=e.getAncestor(t,187);return s?e.findAncestor(s,e.isBindingElement)!==e.findAncestor(n,e.isBindingElement)||n.posn.end)return!1;return void 0===e.findAncestor(t,(function(e){if(e===n)return"quit";switch(e.kind){case 198:case 155:return!0;case 219:switch(e.parent.kind){case 159:case 157:case 160:return!0;default:return!1}default:return!1}}))}(n,t)}if(258===t.parent.kind||255===t.parent.kind&&t.parent.isExportEquals)return!0;if(255===t.kind&&t.isExportEquals)return!0;var l=e.getEnclosingBlockScopeContainer(n);return!!(2097152&t.flags)||op(t)||c(t,n,l);function c(n,t,r){return!!e.findAncestor(n,(function(a){if(a===r)return"quit";if(e.isFunctionLike(a))return!0;if(a.parent&&155===a.parent.kind&&a.parent.initializer===a)if(e.hasModifier(a.parent,32)){if(157===t.kind)return!0}else if(!(155===t.kind&&!e.hasModifier(t,32))||e.getContainingClass(n)!==e.getContainingClass(t))return!0;return!1}))}}function $t(e,n,t,r,a,i,o,s){return void 0===o&&(o=!1),er(e,n,t,r,a,i,o,Qt,s)}function er(n,t,r,a,i,o,s,l,c){var d,u,p,m,f,g,_=n,v=!1,h=n,y=!1;e:for(;n;){if(n.locals&&!Yt(n)&&(d=l(n.locals,t,r))){var b=!0;if(e.isFunctionLike(n)&&u&&u!==n.body){if(r&d.flags&67897832&&297!==u.kind&&(b=!!(262144&d.flags)&&(u===n.type||152===u.kind||151===u.kind)),r&d.flags&3){var E=n;k.target&&k.target>=2&&e.isParameter(u)&&E.body&&d.valueDeclaration.pos>=E.body.pos&&d.valueDeclaration.end<=E.body.end?b=!1:1&d.flags&&(b=152===u.kind||u===n.type&&!!e.findAncestor(d.valueDeclaration,e.isParameter))}}else 176===n.kind&&(b=u===n.trueType);if(b)break e;d=void 0}switch(v=v||nr(n,u),n.kind){case 285:if(!e.isExternalOrCommonJsModule(n))break;y=!0;case 245:var T=Gr(n).exports;if(285===n.kind||e.isAmbientModule(n)){if(d=T.get("default")){var S=e.getLocalSymbolForExportDefault(d);if(S&&d.flags&r&&S.escapedName===t)break e;d=void 0}var L=T.get(t);if(L&&2097152===L.flags&&e.getDeclarationOfKind(L,258))break}if("default"!==t&&(d=l(T,t,2623475&r))){if(!e.isSourceFile(n)||!n.commonJsModuleIndicator||d.declarations.some(e.isJSDocTypeAlias))break e;d=void 0}break;case 244:if(d=l(Gr(n).exports,t,8&r))break e;break;case 155:if(!e.hasModifier(n,32)){var x=Ur(n.parent);x&&x.locals&&l(x.locals,t,67220415&r)&&(m=n)}break;case 241:case 210:case 242:if(d=l(Gr(n).members||C,t,67897832&r)){if(!ar(d,n)){d=void 0;break}if(u&&e.hasModifier(u,32))return void Pt(h,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(210===n.kind&&32&r){var A=n.name;if(A&&t===A.escapedText){d=n.symbol;break e}}break;case 212:if(u===n.expression&&87===n.parent.token){var D=n.parent.parent;if(e.isClassLike(D)&&(d=l(Gr(D).members,t,67897832&r)))return void(a&&Pt(h,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 150:if(g=n.parent.parent,(e.isClassLike(g)||242===g.kind)&&(d=l(Gr(g).members,t,67897832&r)))return void Pt(h,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 198:if(k.target>=2)break;case 157:case 158:case 159:case 160:case 240:if(3&r&&"arguments"===t){d=z;break e}break;case 197:if(3&r&&"arguments"===t){d=z;break e}if(16&r){var M=n.name;if(M&&t===M.escapedText){d=n.symbol;break e}}break;case 153:n.parent&&152===n.parent.kind&&(n=n.parent),n.parent&&(e.isClassElement(n.parent)||241===n.parent.kind)&&(n=n.parent);break;case 310:case 303:n=e.getJSDocHost(n);break;case 152:u&&u===n.initializer&&(f=n);break;case 187:if(u&&u===n.initializer)152===(N=e.getRootDeclaration(n)).kind&&(f=n)}tr(n)&&(p=n),u=n,n=n.parent}if(!o||!d||p&&d===p.symbol||(d.isReferenced|=r),!d){if(u&&(e.Debug.assert(285===u.kind),u.commonJsModuleIndicator&&"exports"===t&&r&u.symbol.flags))return u.symbol;s||(d=l(j,t,r))}if(!d&&_&&e.isInJSFile(_)&&_.parent&&e.isRequireCall(_.parent,!1))return J;if(d){if(a){if(m){var O=m.name;return void Pt(h,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(O),rr(i))}if(h&&(2&r||(32&r||384&r)&&67220415===(67220415&r))){var I=Kr(d);(2&I.flags||32&I.flags||384&I.flags)&&function(n,t){e.Debug.assert(!!(2&n.flags||32&n.flags||384&n.flags));var r=e.find(n.declarations,(function(n){return e.isBlockOrCatchScoped(n)||e.isClassLike(n)||244===n.kind||e.isInJSFile(n)&&!!e.getJSDocEnumTag(n)}));if(void 0===r)return e.Debug.fail("Declaration to checkResolvedBlockScopedVariable is undefined");if(!(4194304&r.flags)&&!Zt(r,t)){var a=void 0,i=e.declarationNameToString(e.getNameOfDeclaration(r));2&n.flags?a=Pt(t,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,i):32&n.flags?a=Pt(t,e.Diagnostics.Class_0_used_before_its_declaration,i):256&n.flags?a=Pt(t,e.Diagnostics.Enum_0_used_before_its_declaration,i):(e.Debug.assert(!!(128&n.flags)),k.preserveConstEnums&&(a=Pt(t,e.Diagnostics.Class_0_used_before_its_declaration,i))),a&&e.addRelatedInfo(a,e.createDiagnosticForNode(r,e.Diagnostics._0_is_declared_here,i))}}(I,h)}if(d&&y&&67220415===(67220415&r)&&!(2097152&_.flags)){var R=Fr(d);e.length(R.declarations)&&e.every(R.declarations,(function(n){return e.isNamespaceExportDeclaration(n)||e.isSourceFile(n)&&!!n.symbol.globalExports}))&&Ft(!k.allowUmdGlobalAccess,h,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,e.unescapeLeadingUnderscores(t))}if(d&&f&&!v&&67220415===(67220415&r)){var w=Fr(Qi(d)),N=e.getRootDeclaration(f);w===Gr(f)?Pt(h,e.Diagnostics.Parameter_0_cannot_be_referenced_in_its_initializer,e.declarationNameToString(f.name)):w.valueDeclaration&&w.valueDeclaration.pos>f.pos&&N.parent.locals&&l(N.parent.locals,w.escapedName,r)===w&&Pt(h,e.Diagnostics.Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(f.name),e.declarationNameToString(h))}}return d}if(a&&(!h||!function(n,t,r){if(!e.isIdentifier(n)||n.escapedText!==t||Kh(n)||op(n))return!1;var a=e.getThisContainer(n,!1),i=a;for(;i;){if(e.isClassLike(i.parent)){var o=Gr(i.parent);if(!o)break;if(Jo(di(o),t))return Pt(n,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,rr(r),pa(o)),!0;if(i===a&&!e.hasModifier(i,32))if(Jo(Ri(o).thisType,t))return Pt(n,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,rr(r)),!0}i=i.parent}return!1}(h,t,i)&&!ir(h)&&!function(n,t,r){var a=1920|(e.isInJSFile(n)?67220415:0);if(r===a){var i=_r($t(n,t,67897832&~a,void 0,void 0,!1)),o=n.parent;if(i){if(e.isQualifiedName(o)){e.Debug.assert(o.left===n,"Should only be resolving left side of qualified name as a namespace");var s=o.right.escapedText;if(Jo(Ri(i),s))return Pt(o,e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,e.unescapeLeadingUnderscores(t),e.unescapeLeadingUnderscores(s)),!0}return Pt(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,e.unescapeLeadingUnderscores(t)),!0}}return!1}(h,t,r)&&!function(n,t,r){if(67220415&r){if("any"===t||"string"===t||"number"===t||"boolean"===t||"never"===t)return Pt(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,e.unescapeLeadingUnderscores(t)),!0;var a=_r($t(n,t,788544,void 0,void 0,!1));if(a&&!(1024&a.flags)){var i=function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(t)?e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here;return Pt(n,i,e.unescapeLeadingUnderscores(t)),!0}}return!1}(h,t,r)&&!function(n,t,r){if(111127&r){if(_r($t(n,t,1024,void 0,void 0,!1)))return Pt(n,e.Diagnostics.Cannot_use_namespace_0_as_a_value,e.unescapeLeadingUnderscores(t)),!0}else if(788544&r){if(_r($t(n,t,1536,void 0,void 0,!1)))return Pt(n,e.Diagnostics.Cannot_use_namespace_0_as_a_type,e.unescapeLeadingUnderscores(t)),!0}return!1}(h,t,r)&&!function(n,t,r){if(67897448&r){var a=_r($t(n,t,111127,void 0,void 0,!1));if(a&&!(1920&a.flags))return Pt(n,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here,e.unescapeLeadingUnderscores(t)),!0}return!1}(h,t,r))){var P=void 0;if(c&&Xn<10&&(P=Pf(_,t,r))){var F=pa(P),G=Pt(h,c,rr(i),F);P.valueDeclaration&&e.addRelatedInfo(G,e.createDiagnosticForNode(P.valueDeclaration,e.Diagnostics._0_is_declared_here,F))}P||Pt(h,a,rr(i)),Xn++}}function nr(n,t){return 198!==n.kind&&197!==n.kind?e.isTypeQueryNode(n)||(e.isFunctionLikeDeclaration(n)||155===n.kind&&!e.hasModifier(n,32))&&(!t||t!==n.name):(!t||t!==n.name)&&(!(!n.asteriskToken&&!e.hasModifier(n,256))||!e.getImmediatelyInvokedFunctionExpression(n))}function tr(e){switch(e.kind){case 240:case 241:case 242:case 244:case 243:case 245:return!0;default:return!1}}function rr(n){return e.isString(n)?e.unescapeLeadingUnderscores(n):e.declarationNameToString(n)}function ar(n,t){for(var r=0,a=n.declarations;r=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",s=r.exports.get("export=").valueDeclaration,l=Pt(n.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,pa(r),o);e.addRelatedInfo(l,e.createDiagnosticForNode(s,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,o))}else Pt(n.name,e.Diagnostics.Module_0_has_no_default_export,pa(r));return a}}(n,t);case 252:return function(e,n){var t=e.parent.parent.moduleSpecifier;return kr(Lr(e,t),t,n)}(n,t);case 254:return function(e,n){return pr(e.parent.parent.parent,e,n)}(n,t);case 258:return mr(n,68009983,t);case 255:case 205:return function(n,t){var r=e.isExportAssignment(n)?n.expression:n.right;if(e.isClassExpression(r))return U_(r).symbol;var a=Tr(r,68009983,!0,t);return a||(U_(r),Xt(r).resolvedSymbol)}(n,t);case 248:return function(e,n){return Dr(e.parent.symbol,n)}(n,t);default:return e.Debug.fail()}}function gr(e,n){return void 0===n&&(n=68009983),!!e&&(2097152===(e.flags&(2097152|n))||!!(2097152&e.flags&&67108864&e.flags))}function _r(e,n){return!n&&gr(e)?vr(e):e}function vr(n){e.Debug.assert(0!==(2097152&n.flags),"Should only get Alias here.");var t=Jt(n);if(t.target)t.target===oe&&(t.target=ie);else{t.target=oe;var r=lr(n);if(!r)return e.Debug.fail();var a=fr(r);t.target===oe?t.target=a||ie:Pt(r,e.Diagnostics.Circular_definition_of_import_alias_0,pa(n))}return t.target}function hr(e){var n=Gr(e),t=vr(n);t&&((t===ie||67220415&t.flags&&!uy(t))&&yr(n))}function yr(n){var t=Jt(n);if(!t.referenced){t.referenced=!0;var r=lr(n);if(!r)return e.Debug.fail();255===r.kind?k_(r.expression):258===r.kind?k_(r.propertyName||r.name):e.isInternalModuleImportEqualsDeclaration(r)&&k_(r.moduleReference)}}function br(n,t){return 73===n.kind&&e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),73===n.kind||149===n.parent.kind?Tr(n,1920,!1,t):(e.Debug.assert(249===n.parent.kind),Tr(n,68009983,!1,t))}function Er(e,n){return e.parent?Er(e.parent,n)+"."+pa(e):pa(e,n,void 0,20)}function Tr(n,t,r,a,i){if(!e.nodeIsMissing(n)){var o,s=1920|(e.isInJSFile(n)?67220415&t:0);if(73===n.kind){var l=t===s?e.Diagnostics.Cannot_find_namespace_0:ap(Lh(n)),c=e.isInJSFile(n)?function(n,t){if($s(n.parent)){var r=function(n){if(e.findAncestor(n,(function(n){return e.isJSDocNode(n)||2097152&n.flags?e.isJSDocTypeAlias(n):"quit"})))return;var t=e.getJSDocHost(n);if(e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&3===e.getAssignmentDeclarationKind(t.expression)){if(a=Gr(t.expression.left))return Sr(a)}if((e.isObjectLiteralMethod(t)||e.isPropertyAssignment(t))&&e.isBinaryExpression(t.parent.parent)&&6===e.getAssignmentDeclarationKind(t.parent.parent)){if(a=Gr(t.parent.parent.left))return Sr(a)}var r=e.getHostSignatureFromJSDocHost(t);if(r){var a;return(a=Gr(r))&&a.valueDeclaration}}(n.parent);if(r)return $t(r,n.escapedText,t,void 0,n,!0)}}(n,t):void 0;if(!(o=$t(i||n,n.escapedText,t,r||c?void 0:l,n,!0)))return c}else{if(149!==n.kind&&190!==n.kind)throw e.Debug.assertNever(n,"Unknown entity name kind.");var d=149===n.kind?n.left:n.expression,u=149===n.kind?n.right:n.name,p=Tr(d,s,r,!1,i);if(!p||e.nodeIsMissing(u))return;if(p===ie)return p;if(e.isInJSFile(n)&&p.valueDeclaration&&e.isVariableDeclaration(p.valueDeclaration)&&p.valueDeclaration.initializer&&Ng(p.valueDeclaration.initializer)){var m=p.valueDeclaration.initializer.arguments[0],f=Lr(m,m);if(f){var g=Dr(f);g&&(p=g)}}if(!(o=Qt(Rr(p),u.escapedText,t)))return void(r||Pt(u,e.Diagnostics.Namespace_0_has_no_exported_member_1,Er(p),e.declarationNameToString(u)))}return e.Debug.assert(0===(1&e.getCheckFlags(o)),"Should never get an instantiated symbol here."),o.flags&t||a?o:vr(o)}}function Sr(n){var t=n.parent.valueDeclaration;if(t)return(e.isAssignmentDeclaration(t)?e.getAssignedExpandoInitializer(t):e.hasOnlyExpressionInitializer(t)?e.getDeclaredExpandoInitializer(t):void 0)||t}function Lr(n,t,r){return xr(n,t,r?void 0:e.Diagnostics.Cannot_find_module_0)}function xr(n,t,r,a){return void 0===a&&(a=!1),e.isStringLiteralLike(t)?Ar(n,t.text,r,t,a):void 0}function Ar(n,t,a,i,o){if(void 0===o&&(o=!1),void 0!==t){if(e.startsWith(t,"@types/"))Pt(i,e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,e.removePrefix(t,"@types/"),t);var s=is(t,!0);if(s)return s;var l=e.getSourceFileOfNode(n),c=e.getResolvedModule(l,t),d=c&&e.getResolutionDiagnostic(k,c),u=c&&!d&&r.getSourceFile(c.resolvedFileName);if(u)return u.symbol?(c.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(c.extension)&&Cr(!1,i,c,t),Fr(u.symbol)):void(a&&Pt(i,e.Diagnostics.File_0_is_not_a_module,u.fileName));if(ze){var p=e.findBestPatternMatch(ze,(function(e){return e.pattern}),t);if(p){var m=Je&&Je.get(t);return Fr(m?m:p.symbol)}}if(c&&!e.resolutionExtensionIsTSOrJson(c.extension)&&void 0===d||d===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)o?Pt(i,e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,t,c.resolvedFileName):Cr(F&&!!a,i,c,t);else if(a){if(c){var f=r.getProjectReferenceRedirect(c.resolvedFileName);if(f)return void Pt(i,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,f,c.resolvedFileName)}if(d)Pt(i,d,t,c.resolvedFileName);else{var g=e.tryExtractTSExtension(t);if(g)Pt(i,e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,g,e.removeExtension(t,g));else!k.resolveJsonModule&&e.fileExtensionIs(t,".json")&&e.getEmitModuleResolutionKind(k)===e.ModuleResolutionKind.NodeJs&&e.hasJsonModuleEmitEnabled(k)?Pt(i,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,t):Pt(i,a,t)}}}}function Cr(n,t,r,a){var i,o=r.packageId,s=r.resolvedFileName,l=!e.isExternalModuleNameRelative(a)&&o?(i=o.name,h().has(e.getTypesPackageName(i))?e.chainDiagnosticMessages(void 0,e.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,o.name,e.mangleScopedPackageName(o.name)):e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,a,e.mangleScopedPackageName(o.name))):void 0;Ft(n,t,e.chainDiagnosticMessages(l,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,a,s))}function Dr(n,t){if(n)return Fr(function(n,t){if(!n||n===ie||n===t||1===t.exports.size||2097152&n.flags)return n;var r=Kt(n);void 0===r.exports&&(r.flags=512|r.flags,r.exports=e.createSymbolTable());return t.exports.forEach((function(e,n){"export="!==n&&r.exports.set(n,r.exports.has(n)?jt(r.exports.get(n),e):e)})),r}(_r(n.exports.get("export="),t),n))||n}function kr(n,t,r){var a=Dr(n,r);if(!r&&a){if(!(1539&a.flags)&&!e.getDeclarationOfKind(a,285)){var i=O>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return Pt(t,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,i),a}if(k.esModuleInterop){var o=t.parent;if(e.isImportDeclaration(o)&&e.getNamespaceDeclarationNode(o)||e.isImportCall(o)){var s=di(a),l=Xo(s,0);if(l&&l.length||(l=Xo(s,1)),l&&l.length){var c=wg(s,a,n),d=Gt(a.flags,a.escapedName);d.declarations=a.declarations?a.declarations.slice():[],d.parent=a.parent,d.target=a,d.originatingImport=o,a.valueDeclaration&&(d.valueDeclaration=a.valueDeclaration),a.constEnumOnlyModule&&(d.constEnumOnlyModule=!0),a.members&&(d.members=e.cloneMap(a.members)),a.exports&&(d.exports=e.cloneMap(a.exports));var u=Ao(c);return d.type=$r(d,u.members,e.emptyArray,e.emptyArray,u.stringIndexInfo,u.numberIndexInfo),d}}}}return a}function Mr(e){return void 0!==e.exports.get("export=")}function Or(e){return rs(wr(e))}function Ir(e,n){var t=wr(n);if(t)return t.get(e)}function Rr(e){return 32&e.flags?Xi(e,"resolvedExports"):1536&e.flags?wr(e):e.exports||C}function wr(e){var n=Jt(e);return n.resolvedExports||(n.resolvedExports=Pr(e))}function Nr(n,t,r,a){t&&t.forEach((function(t,i){if("default"!==i){var o=n.get(i);if(o){if(r&&a&&o&&_r(o)!==_r(t)){var s=r.get(i);s.exportsWithDuplicate?s.exportsWithDuplicate.push(a):s.exportsWithDuplicate=[a]}}else n.set(i,t),r&&a&&r.set(i,{specifierText:e.getTextOfNode(a.moduleSpecifier)})}}))}function Pr(n){var t=[];return function n(r){if(!(r&&r.exports&&e.pushIfUnique(t,r)))return;var a=e.cloneMap(r.exports),i=r.exports.get("__export");if(i){for(var o=e.createSymbolTable(),s=e.createMap(),l=0,c=i.declarations;l=d?c.substr(0,d-"...".length)+"...":c}function ga(e,n){var t=fa(e),r=fa(n);return t===r&&(t=fa(e,void 0,64),r=fa(n,void 0,64)),[t,r]}function _a(e){return void 0===e&&(e=0),9469291&e}function va(n,t,r,a){return void 0===r&&(r=16384),a?i(a).getText():e.usingSingleLineStringWriter(i);function i(a){var i=e.createTypePredicateNode(1===n.kind?e.createIdentifier(n.parameterName):e.createThisTypeNode(),K.typeToTypeNode(n.type,t,70222336|_a(r))),o=e.createPrinter({removeComments:!0}),s=t&&e.getSourceFileOfNode(t);return o.writeNode(4,i,s,a),a}}function ha(e){return 8===e?"private":16===e?"protected":"public"}function ya(n){return n&&n.parent&&246===n.parent.kind&&e.isExternalModuleAugmentation(n.parent.parent)}function ba(n){return 285===n.kind||e.isAmbientModule(n)}function Ea(n,t){var r=n.nameType;if(r){if(384&r.flags){var a=""+r.value;return e.isIdentifierText(a,k.target)||Ym(a)?a:'"'+e.escapeString(a,34)+'"'}if(8192&r.flags)return"["+Ta(r.symbol,t)+"]"}}function Ta(n,t){if(t&&"default"===n.escapedName&&!(16384&t.flags)&&(!(16777216&t.flags)||!n.declarations||t.enclosingDeclaration&&e.findAncestor(n.declarations[0],ba)!==e.findAncestor(t.enclosingDeclaration,ba)))return"default";if(n.declarations&&n.declarations.length){var r=n.declarations[0],a=e.getNameOfDeclaration(r);if(a){if(e.isCallExpression(r)&&e.isBindableObjectDefinePropertyCall(r))return e.symbolName(n);if(e.isComputedPropertyName(a)&&!(4096&e.getCheckFlags(n))&&n.nameType&&384&n.nameType.flags){var i=Ea(n,t);if(void 0!==i)return i}return e.declarationNameToString(a)}if(r.parent&&238===r.parent.kind)return e.declarationNameToString(r.parent.name);switch(r.kind){case 210:case 197:case 198:return!t||t.encounteredError||131072&t.flags||(t.encounteredError=!0),210===r.kind?"(Anonymous class)":"(Anonymous function)"}}var o=Ea(n,t);return void 0!==o?o:e.symbolName(n)}function Sa(n){if(n){var t=Xt(n);return void 0===t.isVisible&&(t.isVisible=!!function(){switch(n.kind){case 303:case 310:return!!(n.parent&&n.parent.parent&&n.parent.parent.parent&&e.isSourceFile(n.parent.parent.parent));case 187:return Sa(n.parent.parent);case 238:if(e.isBindingPattern(n.name)&&!n.name.elements.length)return!1;case 245:case 241:case 242:case 243:case 240:case 244:case 249:if(e.isExternalModuleAugmentation(n))return!0;var t=ka(n);return 1&e.getCombinedModifierFlags(n)||249!==n.kind&&285!==t.kind&&4194304&t.flags?Sa(t):Yt(t);case 155:case 154:case 159:case 160:case 157:case 156:if(e.hasModifier(n,24))return!1;case 158:case 162:case 161:case 163:case 152:case 246:case 166:case 167:case 169:case 165:case 170:case 171:case 174:case 175:case 178:return Sa(n.parent);case 251:case 252:case 254:return!1;case 151:case 285:case 248:return!0;case 255:default:return!1}}()),t.isVisible}return!1}function La(n,t){var r,a;return n.parent&&255===n.parent.kind?r=$t(n,n.escapedText,70107135,void 0,n,!1):258===n.parent.kind&&(r=mr(n.parent,70107135)),r&&function n(r){e.forEach(r,(function(r){var i=sr(r)||r;if(t?Xt(r).isVisible=!0:(a=a||[],e.pushIfUnique(a,i)),e.isInternalModuleImportEqualsDeclaration(r)){var o=$t(r,Lh(r.moduleReference).escapedText,68009983,void 0,void 0,!1);o&&n(o.declarations)}}))}(r.declarations),a}function xa(e,n){var t=Aa(e,n);if(t>=0){for(var r=qn.length,a=t;a=0;t--){if(Ca(qn[t],Jn[t]))return-1;if(qn[t]===e&&Jn[t]===n)return t}return-1}function Ca(n,t){switch(t){case 0:return!!Jt(n).type;case 5:return!!Xt(n).resolvedEnumType;case 2:return!!Jt(n).declaredType;case 1:return!!n.resolvedBaseConstructorType;case 3:return!!n.resolvedReturnType;case 4:return!!n.immediateBaseConstraint;case 6:return!!Jt(n).resolvedJSDocType}return e.Debug.assertNever(t)}function Da(){return qn.pop(),Jn.pop(),zn.pop()}function ka(n){return e.findAncestor(e.getRootDeclaration(n),(function(e){switch(e.kind){case 238:case 239:case 254:case 253:case 252:case 251:return!1;default:return!0}})).parent}function Ma(e,n){var t=Jo(e,n);return t?di(t):void 0}function Oa(e){return e&&0!==(1&e.flags)}function Ia(e){var n=Gr(e);return n&&Jt(n).type||ja(e,!1)}function Ra(n){return 150===n.kind&&!e.isStringOrNumericLiteralLike(n.expression)}function wa(n,t,r){if(131072&(n=Pp(n,(function(e){return!(98304&e.flags)}))).flags)return we;if(1048576&n.flags)return Gp(n,(function(e){return wa(e,t,r)}));var a=Nl(e.map(t,jl));if(Zl(n)||$l(a)){if(131072&a.flags)return n;var i=Cn||(Cn=ol("Omit",524288,e.Diagnostics.Cannot_find_global_type_0));return i?js(i,[n,a]):de}for(var o=e.createSymbolTable(),s=0,l=Mo(n);s=2?Tl(se):sn;var s=Cl(e.map(a,(function(n){return e.isOmittedExpression(n)?se:Xa(n,t,r)})),e.findLastIndex(a,(function(n){return!e.isOmittedExpression(n)&&!Wm(n)}),a.length-(o?2:1))+1,o);return t&&((s=Bs(s)).pattern=n),s}(n,t,r)}function Qa(e,n){return Za(ja(e,!0),e,n)}function Za(n,t,r){return n?(r&&Iu(t,n),8192&n.flags&&(e.isBindingElement(t)||!t.type)&&n.symbol!==Gr(t)&&(n=Le),ku(n)):(n=e.isParameter(t)&&t.dotDotDotToken?sn:se,r&&($a(t)||Ou(t,n)),n)}function $a(n){var t=e.getRootDeclaration(n);return sv(152===t.kind?t.parent:t)}function ei(n){var t=e.getEffectiveTypeAnnotationNode(n);if(t)return Oc(t)}function ni(n){var t=Jt(n);if(!t.type){var r=function(n){if(4194304&n.flags)return function(n){var t=Ri(Vr(n));return t.typeParameters?Vs(t,e.map(t.typeParameters,(function(e){return se}))):t}(n);if(n===J)return se;if(134217728&n.flags){var t=Gr(e.getSourceFileOfNode(n.valueDeclaration)),r=e.createSymbolTable();return r.set("exports",t),$r(n,r,e.emptyArray,e.emptyArray,void 0,void 0)}var a,i=n.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(i))return se;if(e.isSourceFile(i)&&e.isJsonSourceFile(i)){if(!i.statements.length)return we;var o=lu(U_(i.statements[0].expression));return 524288&o.flags?Lu(o):o}if(!xa(n,0))return 512&n.flags?si(n):ci(n);if(255===i.kind)a=Za(k_(i.expression),i);else if(e.isInJSFile(i)&&(e.isCallExpression(i)||e.isBinaryExpression(i)||e.isPropertyAccessExpression(i)&&e.isBinaryExpression(i.parent)))a=Ua(n);else if(e.isJSDocPropertyLikeTag(i)||e.isPropertyAccessExpression(i)||e.isIdentifier(i)||e.isClassDeclaration(i)||e.isFunctionDeclaration(i)||e.isMethodDeclaration(i)&&!e.isObjectLiteralMethod(i)||e.isMethodSignature(i)||e.isSourceFile(i)){if(9136&n.flags)return si(n);a=e.isBinaryExpression(i.parent)?Ua(n):ei(i)||se}else if(e.isPropertyAssignment(i))a=ei(i)||N_(i);else if(e.isJsxAttribute(i))a=ei(i)||af(i);else if(e.isShorthandPropertyAssignment(i))a=ei(i)||w_(i.name,0);else if(e.isObjectLiteralMethod(i))a=ei(i)||P_(i,0);else if(e.isParameter(i)||e.isPropertyDeclaration(i)||e.isPropertySignature(i)||e.isVariableDeclaration(i)||e.isBindingElement(i))a=Qa(i,!0);else if(e.isEnumDeclaration(i))a=si(n);else{if(!e.isEnumMember(i))return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(i.kind)+" for "+e.Debug.formatSymbol(n));a=li(n)}if(!Da())return 512&n.flags?si(n):ci(n);return a}(n);t.type||(t.type=r)}return t.type}function ti(n){if(n)return 159===n.kind?e.getEffectiveReturnTypeNode(n):e.getEffectiveSetAccessorTypeAnnotationNode(n)}function ri(e){var n=ti(e);return n&&Oc(n)}function ai(e){return _s(ps(e))}function ii(n){var t=Jt(n);return t.type||(t.type=function(n){var t,r=e.getDeclarationOfKind(n,159),a=e.getDeclarationOfKind(n,160);if(r&&e.isInJSFile(r)){var i=Va(r);if(i)return i}if(!xa(n,0))return de;var o=ri(r);if(o)t=o;else{var s=ri(a);s?t=s:r&&r.body?t=n_(r):(a?Ft(F,a,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,pa(n)):(e.Debug.assert(!!r,"there must existed getter as we are current checking either setter or getter in this function"),Ft(F,r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,pa(n))),t=se)}if(!Da()){if(t=se,F)Pt(e.getDeclarationOfKind(n,159),e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,pa(n))}return t}(n))}function oi(e){var n=Si(Ai(e));return 8650752&n.flags?n:void 0}function si(n){var t=Jt(n),r=t;if(!t.type){var a=e.getDeclarationOfExpando(n.valueDeclaration);if(a){var i=Gr(a);i&&(e.hasEntries(i.exports)||e.hasEntries(i.members))&&(t=n=Kt(n),e.hasEntries(i.exports)&&(n.exports=n.exports||e.createSymbolTable(),qt(n.exports,i.exports)),e.hasEntries(i.members)&&(n.members=n.members||e.createSymbolTable(),qt(n.members,i.members)))}r.type=t.type=function(n){var t=n.valueDeclaration;if(1536&n.flags&&e.isShorthandAmbientModuleSymbol(n))return se;if(205===t.kind||190===t.kind&&205===t.parent.kind)return Ua(n);if(512&n.flags&&t&&e.isSourceFile(t)&&t.commonJsModuleIndicator){var r=Dr(n);if(r!==n){if(!xa(n,0))return de;var a=Fr(n.exports.get("export=")),i=Ua(a,a===r?void 0:r);return Da()?i:ci(n)}}var o=Jr(16,n);if(32&n.flags){var s=oi(n);return s?Hl([o,s]):o}return R&&16777216&n.flags?bu(o):o}(n)}return t.type}function li(e){var n=Jt(e);return n.type||(n.type=Oi(e))}function ci(n){var t=n.valueDeclaration;return e.getEffectiveTypeAnnotationNode(t)?(Pt(n.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,pa(n)),de):(F&&(152!==t.kind||t.initializer)&&Pt(n.valueDeclaration,e.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,pa(n)),se)}function di(n){return 65536&e.getCheckFlags(n)?function(n){var t=Jt(n);return t.type||(e.Debug.assertDefined(t.deferralParent),e.Debug.assertDefined(t.deferralConstituents),t.type=1048576&t.deferralParent.flags?Nl(t.deferralConstituents):Hl(t.deferralConstituents)),t.type}(n):1&e.getCheckFlags(n)?function(e){var n=Jt(e);if(!n.type){if(!xa(e,0))return n.type=de;var t=Zc(di(n.target),n.mapper);Da()||(t=ci(e)),n.type=t}return n.type}(n):8192&e.getCheckFlags(n)?function(e){return Uu(e.propertyType,e.mappedType,e.constraintType)}(n):7&n.flags?ni(n):9136&n.flags?si(n):8&n.flags?li(n):98304&n.flags?ii(n):2097152&n.flags?function(e){var n=Jt(e);if(!n.type){var t=vr(e);n.type=67220415&t.flags?di(t):de}return n.type}(n):de}function ui(n,t){return void 0!==n&&void 0!==t&&0!==(4&e.getObjectFlags(n))&&n.target===t}function pi(n){return 4&e.getObjectFlags(n)?n.target:n}function mi(n,t){return function n(r){if(7&e.getObjectFlags(r)){var a=pi(r);return a===t||e.some(Li(a),n)}if(2097152&r.flags)return e.some(r.types,n);return!1}(n)}function fi(n,t){for(var r=0,a=t;r0)return!0;if(8650752&e.flags){var n=Fo(e);return!!n&&xi(n)&&hi(n)}return Dg(e)}function bi(n){return e.getEffectiveBaseTypeNode(n.symbol.valueDeclaration)}function Ei(n,t,r){var a=e.length(t),i=e.isInJSFile(r);return e.filter(Yo(n,1),(function(n){return(i||a>=ds(n.typeParameters))&&a<=e.length(n.typeParameters)}))}function Ti(n,t,r){var a=Ei(n,t,r),i=e.map(t,Oc);return e.sameMap(a,(function(n){return e.some(n.typeParameters)?Ss(n,i,e.isInJSFile(r)):n}))}function Si(n){if(!n.resolvedBaseConstructorType){var t=n.symbol.valueDeclaration,r=e.getEffectiveBaseTypeNode(t),a=bi(n);if(!a)return n.resolvedBaseConstructorType=pe;if(!xa(n,1))return de;var i=U_(a.expression);if(r&&a!==r&&(e.Debug.assert(!r.typeArguments),U_(r.expression)),2621440&i.flags&&Ao(i),!Da())return Pt(n.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,pa(n.symbol)),n.resolvedBaseConstructorType=de;if(!(1&i.flags)&&i!==ge&&!yi(i)){var o=Pt(a.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,fa(i));if(262144&i.flags){var s=Ns(i),l=ue;if(s){var c=Yo(s,1);c[0]&&(l=ys(c[0]))}e.addRelatedInfo(o,e.createDiagnosticForNode(i.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,pa(i.symbol),fa(l)))}return n.resolvedBaseConstructorType=de}n.resolvedBaseConstructorType=i}return n.resolvedBaseConstructorType}function Li(n){return n.resolvedBaseTypes||(8&n.objectFlags?n.resolvedBaseTypes=[Ll(Nl(n.typeParameters||e.emptyArray),n.readonly)]:96&n.symbol.flags?(32&n.symbol.flags&&function(n){n.resolvedBaseTypes=e.resolvingEmptyArray;var t=Uo(Si(n));if(!(2621441&t.flags))return n.resolvedBaseTypes=e.emptyArray;var r,a=bi(n),i=tl(a),o=Dg(t)?t:t.symbol?Ri(t.symbol):void 0;if(t.symbol&&32&t.symbol.flags&&function(e){var n=e.outerTypeParameters;if(n){var t=n.length-1,r=e.typeArguments;return n[t].symbol!==r[t].symbol}return!0}(o))r=Ks(a,t.symbol,i);else if(1&t.flags)r=t;else if(Dg(t))r=!a.typeArguments&&kg(t.symbol)||se;else{var s=Ti(t,a.typeArguments,a);if(!s.length)return Pt(a.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),n.resolvedBaseTypes=e.emptyArray;r=ys(s[0])}if(r===de)return n.resolvedBaseTypes=e.emptyArray;if(!xi(r))return Pt(a.expression,e.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,fa(r)),n.resolvedBaseTypes=e.emptyArray;if(n===r||mi(r,n))return Pt(n.symbol.valueDeclaration,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,fa(n,void 0,2)),n.resolvedBaseTypes=e.emptyArray;n.resolvedBaseTypes===e.resolvingEmptyArray&&(n.members=void 0);n.resolvedBaseTypes=[r]}(n),64&n.symbol.flags&&function(n){n.resolvedBaseTypes=n.resolvedBaseTypes||e.emptyArray;for(var t=0,r=n.symbol.declarations;t=i?16384:0);return a.type=r===o?Ll(e):e,a}));return e.concatenate(n.parameters.slice(0,t),s)}}return n.parameters}function ao(e,n,t,r,a){for(var i=0,o=e;i0)return;for(var a=1;a1&&(r=void 0===r?a:-1);for(var i=0,o=n[a];i1){var d=s.thisParameter,u=e.forEach(l,(function(e){return e.thisParameter}));if(u)d=Su(u,Nl(e.map(l,(function(e){return e.thisParameter?di(e.thisParameter):se})),2));(c=to(s,l)).thisParameter=d}(t||(t=[])).push(c)}}}}if(!e.length(t)&&-1!==r){for(var p=n[void 0!==r?r:0],m=p.slice(),f=function(n){if(n!==p){var t=n[0];if(e.Debug.assert(!!t,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),!(m=t.typeParameters&&e.some(m,(function(e){return!!e.typeParameters}))?void 0:e.map(m,(function(n){return function(n,t){var r=n.declaration,a=function(e,n){for(var t=jg(e)>=jg(n)?e:n,r=t===e?n:e,a=jg(t),i=Wg(e)||Wg(n),o=i&&!Wg(t),s=new Array(a+(o?1:0)),l=0;l=Ug(t)&&l>=Ug(r),f=Vg(e,l),g=Vg(n,l),_=Gt(1|(m&&!p?16777216:0),f===g?f:"arg"+l);_.type=p?Ll(u):u,s[l]=_}if(o){var v=Gt(1,"args");v.type=Ll(Bg(r,a)),s[a]=v}return s}(n,t),i=function(e,n){if(!e||!n)return e||n;var t=Nl([di(e),di(n)],2);return Su(e,t)}(n.thisParameter,t.thisParameter),o=Math.max(n.minArgumentCount,t.minArgumentCount),s=n.hasRestParameter||t.hasRestParameter,l=n.hasLiteralTypes||t.hasLiteralTypes,c=eo(r,n.typeParameters||t.typeParameters,i,a,void 0,void 0,o,s,l);return c.unionSignatures=e.concatenate(n.unionSignatures||[n],[t]),c}(n,t)}))))return"break"}},g=0,_=n;g<_.length;g++){if("break"===f(_[g]))break}t=m}return t||e.emptyArray}function so(e,n){for(var t=[],r=!1,a=0,i=e;a0})),r=e.map(n,hi);if(t>0&&t===e.countWhere(r,(function(e){return e}))){var a=r.indexOf(!0);r[a]=!1}return r}function mo(n){for(var t,r,a=e.emptyArray,i=e.emptyArray,o=n.types,s=po(o),l=e.countWhere(s,(function(e){return e})),c=function(c){var d=n.types[c];if(!s[c]){var u=Yo(d,1);u.length&&l>0&&(u=e.map(u,(function(e){var n=no(e);return n.resolvedReturnType=function(e,n,t,r){for(var a=[],i=0;i=u&&o<=p){var m=p?xs(d,us(i,d.typeParameters,u,a)):no(d);m.typeParameters=n.localTypeParameters,m.resolvedReturnType=n,s.push(m)}}return s}(d)),n.constructSignatures=a}}}function go(n){if(131069&n.flags)return n;if(4194304&n.flags)return zl(Uo(n.type));if(16777216&n.flags){if(n.root.isDistributive){var t=n.checkType,r=go(t);if(r!==t)return Qc(n,Gc(Nc(n.root.checkType,r),n.mapper))}return n}return 1048576&n.flags?Nl(e.sameMap(n.types,go)):2097152&n.flags?Hl(e.sameMap(n.types,go)):Ae}function _o(e){return e.typeParameter||(e.typeParameter=Ii(Gr(e.declaration.typeParameter)))}function vo(e){return e.constraintType||(e.constraintType=Io(_o(e))||de)}function ho(e){return e.templateType||(e.templateType=e.declaration.type?Zc(Ha(Oc(e.declaration.type),!!(4&To(e))),e.mapper||D):de)}function yo(n){return e.getEffectiveConstraintOfTypeParameter(n.declaration.typeParameter)}function bo(e){var n=yo(e);return 180===n.kind&&130===n.operator}function Eo(e){if(!e.modifiersType)if(bo(e))e.modifiersType=Zc(Oc(yo(e).type),e.mapper||D);else{var n=vo(lc(e.declaration)),t=n&&262144&n.flags?Io(n):n;e.modifiersType=t&&4194304&t.flags?Zc(t.type,e.mapper||D):ue}return e.modifiersType}function To(e){var n=e.declaration;return(n.readonlyToken?39===n.readonlyToken.kind?2:1:0)|(n.questionToken?39===n.questionToken.kind?8:4:0)}function So(e){var n=To(e);return 8&n?-1:4&n?1:0}function Lo(e){var n=So(e),t=Eo(e);return n||(xo(t)?So(t):0)}function xo(n){return!!(32&e.getObjectFlags(n))&&$l(vo(n))}function Ao(n){return n.members||(524288&n.flags?4&n.objectFlags?function(n){var t=Hi(n.target),r=e.concatenate(t.typeParameters,[t.thisType]);$i(n,t,r,n.typeArguments&&n.typeArguments.length===r.length?n.typeArguments:e.concatenate(n.typeArguments,[n]))}(n):3&n.objectFlags?function(n){$i(n,Hi(n),e.emptyArray,e.emptyArray)}(n):2048&n.objectFlags?function(n){for(var t=$o(n.source,0),r=To(n.mappedType),a=!(1&r),i=4&r?0:16777216,o=t&&Is(Uu(t.type,n.mappedType,n.constraintType),a&&t.isReadonly),s=e.createSymbolTable(),l=0,c=Mo(n.source);l=50)return Pt(v,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),t=!0,n.immediateBaseConstraint=Be;A++;var r=function(e){if(262144&e.flags){var n=Ns(e);return e.isThisType||!n?n:a(n)}if(3145728&e.flags){for(var t=e.types,r=[],i=0,o=t;i=8,Dn||(Dn=sl("BigInt",0,t))||we):528&r.flags?rn:12288&r.flags?cl(M>=2):67108864&r.flags?we:4194304&r.flags?Ie:2&r.flags&&!R?we:r}function Wo(n,t){for(var r,a=e.createMap(),i=1048576&n.flags,o=i?24:0,s=i?0:16777216,l=4,c=0,u=0,p=n.types;u2?(C.checkFlags|=65536,C.deferralParent=n,C.deferralConstituents=E):C.type=i?Nl(E):Hl(E),C}}function qo(n,t){var r=n.propertyCache||(n.propertyCache=e.createSymbolTable()),a=r.get(t);return a||(a=Wo(n,t))&&r.set(t,a),a}function zo(n,t){var r=qo(n,t);return!r||16&e.getCheckFlags(r)?void 0:r}function Jo(e,n){if(524288&(e=Uo(e)).flags){var t=Ao(e),r=t.members.get(n);if(r&&jr(r))return r;var a=t===Ve?Ye:t.callSignatures.length?Qe:t.constructSignatures.length?Ze:void 0;if(a){var i=Do(a,n);if(i)return i}return Do(Xe,n)}if(3145728&e.flags)return zo(e,n)}function Xo(n,t){if(3670016&n.flags){var r=Ao(n);return 0===t?r.callSignatures:r.constructSignatures}return e.emptyArray}function Yo(e,n){return Xo(Uo(e),n)}function Qo(e,n){if(3670016&e.flags){var t=Ao(e);return 0===n?t.stringIndexInfo:t.numberIndexInfo}}function Zo(e,n){var t=Qo(e,n);return t&&t.type}function $o(e,n){return Qo(Uo(e),n)}function es(e,n){return Zo(Uo(e),n)}function ns(e,n){if(Tu(e)){for(var t=[],r=0,a=Mo(e);r=0),r>=Ug(t)}var a=e.getImmediatelyInvokedFunctionExpression(n.parent);return!!a&&(!n.type&&!n.dotDotDotToken&&n.parent.parameters.indexOf(n)>=a.arguments.length)}function ss(n){if(!e.isJSDocParameterTag(n))return!1;var t=n.isBracketed,r=n.typeExpression;return t||!!r&&294===r.type.kind}function ls(e,n,t){return{kind:1,parameterName:e,parameterIndex:n,type:t}}function cs(e){return{kind:0,type:e}}function ds(n){var t,r=0;if(n)for(var a=0;a=r&&o<=i){for(var s=n?n.slice():[],l=o;ll.arguments.length&&!f||d||as(p)||(i=r.length)}if((159===n.kind||160===n.kind)&&!qi(n)&&(!s||!o)){var g=159===n.kind?160:159,_=e.getDeclarationOfKind(Gr(n),g);_&&(o=function(e){var n=Xy(e);return n&&n.symbol}(_))}var v=158===n.kind?Ai(Fr(n.parent.symbol)):void 0,h=v?v.localTypeParameters:ts(n),y=e.hasRestParameter(n)||e.isInJSFile(n)&&function(n,t){if(e.isJSDocSignature(n)||!fs(n))return!1;var r=e.lastOrUndefined(n.parameters),a=r?e.getJSDocParameterTags(r):e.getJSDocTags(n).filter(e.isJSDocParameterTag),i=e.firstDefined(a,(function(n){return n.typeExpression&&e.isJSDocVariadicType(n.typeExpression.type)?n.typeExpression.type:void 0})),o=Gt(3,"args",32768);o.type=i?Ll(Oc(i.type)):sn,i&&t.pop();return t.push(o),!0}(n,r);t.resolvedSignature=eo(n,h,o,r,void 0,void 0,i,y,a)}return t.resolvedSignature}function ms(n){var t=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0,r=t&&t.typeExpression&&Zf(Oc(t.typeExpression));return r&&As(r)}function fs(n){var t=Xt(n);return void 0===t.containsArgumentsReference&&(8192&t.flags?t.containsArgumentsReference=!0:t.containsArgumentsReference=function n(t){if(!t)return!1;switch(t.kind){case 73:return"arguments"===t.escapedText&&e.isExpressionNode(t);case 155:case 157:case 159:case 160:return 150===t.name.kind&&n(t.name);default:return!e.nodeStartsNewLexicalEnvironment(t)&&!e.isPartOfTypeNode(t)&&!!e.forEachChild(t,n)}}(n.body)),t.containsArgumentsReference}function gs(n){if(!n)return e.emptyArray;for(var t=[],r=0;r0&&a.body){var i=n.declarations[r-1];if(a.parent===i.parent&&a.kind===i.kind&&a.pos===i.end)continue}t.push(ps(a))}}return t}function _s(e){if(e.thisParameter)return di(e.thisParameter)}function vs(e){return void 0!==hs(e)}function hs(n){if(!n.resolvedTypePredicate){if(n.target){var t=hs(n.target);n.resolvedTypePredicate=t?(o=t,s=n.mapper,e.isIdentifierTypePredicate(o)?{kind:1,parameterName:o.parameterName,parameterIndex:o.parameterIndex,type:Zc(o.type,s)}:{kind:0,type:Zc(o.type,s)}):On}else if(n.unionSignatures)n.resolvedTypePredicate=function(n){for(var t,r=[],a=0,i=n;a=0}function Ts(e){if(e.hasRestParameter){var n=di(e.parameters[e.parameters.length-1]),t=uu(n)?pu(n):n;return t&&es(t,1)}}function Ss(e,n,t,r){var a=Ls(e,us(n,e.typeParameters,ds(e.typeParameters),t));if(r){var i=$f(ys(a));if(i){var o=no(i);o.typeParameters=r;var s=no(a);return s.resolvedReturnType=ks(o),s}}return a}function Ls(n,t){var r=n.instantiations||(n.instantiations=e.createMap()),a=Fs(t),i=r.get(a);return i||r.set(a,i=xs(n,t)),i}function xs(e,n){return jc(e,function(e,n){return Pc(e.typeParameters,n)}(e,n),!0)}function As(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=function(e){return jc(e,Fc(e.typeParameters),!0)}(e)):e}function Cs(n){return n.typeParameters?n.canonicalSignatureCache||(n.canonicalSignatureCache=function(n){return Ss(n,e.map(n.typeParameters,(function(e){return e.target&&!Io(e.target)?e.target:e})),e.isInJSFile(n.declaration))}(n)):n}function Ds(n){var t=n.typeParameters;if(t){var r=Fc(t);return jc(n,Pc(t,e.map(t,(function(e){return Zc(Fo(e),r)||ue}))),!0)}return n}function ks(n){if(!n.isolatedSignatureType){var t=n.declaration?n.declaration.kind:0,r=158===t||162===t||167===t,a=Jr(16);a.members=C,a.properties=e.emptyArray,a.callSignatures=r?e.emptyArray:[n],a.constructSignatures=r?[n]:e.emptyArray,n.isolatedSignatureType=a}return n.isolatedSignatureType}function Ms(e){return e.members.get("__index")}function Os(n,t){var r=1===t?136:139,a=Ms(n);if(a)for(var i=0,o=a.declarations;i1&&(n+=":"+i),r+=i}return n}function Gs(n,t){for(var r=0,a=0,i=n;ai.length)){var c=l&&e.isExpressionWithTypeArguments(n)&&!e.isJSDocAugmentsTag(n.parent);if(Pt(n,s===i.length?c?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:c?e.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,fa(a,void 0,2),s,i.length),!l)return de}return Vs(a,e.concatenate(a.outerTypeParameters,us(r,i,s,l)))}return el(n,t)?a:de}function js(n,t){var r=Ri(n),a=Jt(n),i=a.typeParameters,o=Fs(t),s=a.instantiations.get(o);return s||a.instantiations.set(o,s=Zc(r,Pc(i,us(t,i,ds(i),e.isInJSFile(n.valueDeclaration))))),s}function Us(n){switch(n.kind){case 165:return n.typeName;case 212:var t=n.expression;if(e.isEntityNameExpression(t))return t}}function Ws(e,n){return e&&Tr(e,n)||ie}function qs(n,t){var r=tl(n);if(t===ie)return de;var a=Js(n,t,r);if(a)return a;var i=e.isInJSFile(n)&&t.valueDeclaration&&e.getJSDocEnumTag(t.valueDeclaration);if(i){var o=Xt(i);if(!xa(i,5))return de;var s=i.typeExpression?Oc(i.typeExpression):de;return Da()||(s=de,Pt(n,e.Diagnostics.Enum_type_0_circularly_references_itself,pa(t))),o.resolvedEnumType=s}var l=wi(t);if(l)return el(n,t)?262144&l.flags?Zs(l,n):Ac(l):de;if(!(67220415&t.flags&&$s(n)))return de;var c=zs(n,t,r);return c||(Ws(Us(n),67897832),di(t))}function zs(e,n,t){var r=di(n),a=r.symbol&&r.symbol!==n&&Js(e,r.symbol,t);if(a)return Jt(n).resolvedJSDocType=a}function Js(n,t,r){if(96&t.flags){if(t.valueDeclaration&&t.valueDeclaration.parent&&e.isBinaryExpression(t.valueDeclaration.parent)){var a=zs(n,t,r);if(a)return a}return Ks(n,t,r)}if(524288&t.flags)return function(n,t,r){var a=Ri(t),i=Jt(t).typeParameters;if(i){var o=e.length(n.typeArguments),s=ds(i);return oi.length?(Pt(n,s===i.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,pa(t),s,i.length),de):js(t,r)}return el(n,t)?a:de}(n,t,r);if(16&t.flags&&$s(n)&&Cg(t.valueDeclaration)){var i=Ao(di(t));if(1===i.callSignatures.length)return ys(i.callSignatures[0])}}function Xs(e,n){if(3&n.flags||n===e)return e;var t=kl(e)+">"+kl(n),r=te.get(t);if(r)return r;var a=Wr(33554432);return a.typeVariable=e,a.substitute=n,te.set(t,a),a}function Ys(e){return 171===e.kind&&1===e.elementTypes.length}function Qs(e,n,t){return Ys(n)&&Ys(t)?Qs(e,n.elementTypes[0],t.elementTypes[0]):cc(Oc(n))===e?Oc(t):void 0}function Zs(n,t){for(var r;t&&!e.isStatement(t)&&297!==t.kind;){var a=t.parent;if(176===a.kind&&t===a.trueType){var i=Qs(n,a.checkType,a.extendsType);i&&(r=e.append(r,i))}t=a}return r?Xs(n,Hl(e.append(r,n))):n}function $s(e){return!!(2097152&e.flags)&&(165===e.kind||184===e.kind)}function el(n,t){return!n.typeArguments||(Pt(n,e.Diagnostics.Type_0_is_not_generic,t?pa(t):n.typeName?e.declarationNameToString(n.typeName):"(anonymous)"),!1)}function nl(n){var t=Xt(n);if(!t.resolvedType){var r=void 0,a=void 0,i=67897832;$s(n)&&(a=function(n){if(e.isIdentifier(n.typeName)){var t=n.typeArguments;switch(n.typeName.escapedText){case"String":return el(n),_e;case"Number":return el(n),ve;case"Boolean":return el(n),Se;case"Void":return el(n),xe;case"Undefined":return el(n),pe;case"Null":return el(n),fe;case"Function":case"function":return el(n),Ye;case"Array":case"array":return t&&t.length?void 0:sn;case"Promise":case"promise":return t&&t.length?void 0:Zg(se);case"Object":if(t&&2===t.length){if(e.isJSDocIndexSignature(n)){var r=Oc(t[0]),a=Is(Oc(t[1]),!1);return $r(void 0,C,e.emptyArray,e.emptyArray,r===_e?a:void 0,r===ve?a:void 0)}return se}return el(n),se}}}(n),i|=67220415),a||(a=qs(n,r=Ws(Us(n),i))),t.resolvedSymbol=r,t.resolvedType=a}return t.resolvedType}function tl(n){return e.map(n.typeArguments,Oc)}function rl(e){var n=Xt(e);return n.resolvedType||(n.resolvedType=Ac(ku(U_(e.exprName)))),n.resolvedType}function al(n,t){function r(e){for(var n=0,t=e.declarations;n=t?16777216:0),""+c,a?8:0);u.type=d,s.push(u)}}}var p=[];for(c=t;c<=l;c++)p.push(Dc(c));var m=Gt(4,"length");m.type=r?ve:Nl(p),s.push(m);var f=Jr(12);return f.typeParameters=o,f.outerTypeParameters=void 0,f.localTypeParameters=o,f.instantiations=e.createMap(),f.instantiations.set(Fs(f.typeParameters),f),f.target=f,f.typeArguments=f.typeParameters,f.thisType=Xr(),f.thisType.isThisType=!0,f.thisType.constraint=f,f.declaredProperties=s,f.declaredCallSignatures=e.emptyArray,f.declaredConstructSignatures=e.emptyArray,f.declaredStringIndexInfo=void 0,f.declaredNumberIndexInfo=void 0,f.minLength=t,f.hasRestElement=r,f.readonly=a,f.associatedNames=i,f}(n,t,r,a,i)),s}function Cl(e,n,t,r,a){void 0===n&&(n=e.length),void 0===t&&(t=!1),void 0===r&&(r=!1);var i=e.length;if(1===i&&t)return Ll(e[0],r);var o=Al(i,n,i>0&&t,r,a);return e.length?Vs(o,e):o}function Dl(n,t){var r=n.target;return r.hasRestElement&&(t=Math.min(t,Hs(n)-1)),Cl((n.typeArguments||e.emptyArray).slice(t),Math.max(0,r.minLength-t),r.hasRestElement,r.readonly,r.associatedNames&&r.associatedNames.slice(t))}function kl(e){return e.id}function Ml(n,t){return e.binarySearch(n,t,kl,e.compareValues)>=0}function Ol(n,t){var r=e.binarySearch(n,t,kl,e.compareValues);return r<0&&(n.splice(~r,0,t),!0)}function Il(n,t,r){var a=r.flags;if(1048576&a)return Rl(n,t,r.types);if(!(131072&a||2097152&a&&function(e){for(var n=0,t=0,r=e.types;tn[i-1].id?~i:e.binarySearch(n,r,kl,e.compareValues);o<0&&n.splice(~o,0,r)}return t}function Rl(e,n,t){for(var r=0,a=t;r0;)for(var o=n[--a],s=0,l=n;s(t?25e6:1e6))return Pt(v,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1;if(i++,ud(o,c)&&(!(1&e.getObjectFlags(pi(o)))||!(1&e.getObjectFlags(pi(c)))||md(o,c))){e.orderedRemoveItemAt(n,a);break}}}return!0}function Nl(n,t,r,a){if(void 0===t&&(t=1),0===n.length)return Ae;if(1===n.length)return n[0];var i=[],o=Rl(i,0,n);if(0!==t){if(3&o)return 1&o?4194304&o?ce:se:ue;switch(t){case 1:11136&o&&function(n,t){for(var r=n.length;r>0;){var a=n[--r];(128&a.flags&&4&t||256&a.flags&&8&t||2048&a.flags&&64&t||8192&a.flags&&4096&t||Cc(a)&&Ml(n,a.regularType))&&e.orderedRemoveItemAt(n,r)}}(i,o);break;case 2:if(!wl(i,!(262144&o)))return de}if(0===i.length)return 65536&o?2097152&o?fe:ge:32768&o?2097152&o?pe:me:Ae}return Fl(i,66994211&o?0:65536,r,a)}function Pl(n,t){return e.isIdentifierTypePredicate(n)?e.isIdentifierTypePredicate(t)&&n.parameterIndex===t.parameterIndex:!e.isIdentifierTypePredicate(t)}function Fl(e,n,t,r){if(0===e.length)return Ae;if(1===e.length)return e[0];var a=Fs(e),i=Z.get(a);return i||(i=Wr(1048576),Z.set(a,i),i.objectFlags=n|Gs(e,98304),i.types=e,i.aliasSymbol=t,i.aliasTypeArguments=r),i}function Gl(n,t,r){var a=r.flags;return 2097152&a?Vl(n,t,r.types):(kd(r)?8388608&t||(t|=8388608,n.push(r)):(t|=1835007&a,3&a?r===ce&&(t|=4194304):!R&&98304&a||e.contains(n,r)||n.push(r)),t)}function Vl(e,n,t){for(var r=0,a=t;r0;){var a=n[--r];(4&a.flags&&128&t||8&a.flags&&256&t||64&a.flags&&2048&t||4096&a.flags&&8192&t)&&e.orderedRemoveItemAt(n,r)}}(a,i),8388608&i&&524288&i&&e.orderedRemoveItemAt(a,e.findIndex(a,kd)),0===a.length)return ue;if(1===a.length)return a[0];var o=Fs(a),s=$.get(o);if(!s){if(1048576&i)if(function(n){var t,r=e.findIndex(n,(function(n){return!!(65536&e.getObjectFlags(n))}));if(r<0)return!1;for(var a=r+1;a=1e5)return Pt(v,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),de;var l=e.findIndex(a,(function(e){return 0!==(1048576&e.flags)})),c=a[l];s=Nl(e.map(c.types,(function(n){return Hl(e.replaceElement(a,l,n))})),1,t,r)}else s=function(e,n,t){var r=Wr(2097152);return r.objectFlags=Gs(e,98304),r.types=e,r.aliasSymbol=n,r.aliasTypeArguments=t,r}(a,t,r);$.set(o,s)}return s}function Kl(e,n){var t=Wr(4194304);return t.type=e,t.stringsOnly=n,t}function jl(n){return e.isIdentifier(n)?Dc(e.unescapeLeadingUnderscores(n.escapedText)):Ac(e.isComputedPropertyName(n)?Qm(n):U_(n))}function Ul(n,t){if(!(24&e.getDeclarationModifierFlagsFromSymbol(n))){var r=Qi(n).nameType;if(!r&&!e.isKnownSymbol(n))if("default"===n.escapedName)r=Dc("default");else{var a=n.valueDeclaration&&e.getNameOfDeclaration(n.valueDeclaration);r=a&&jl(a)||Dc(e.symbolName(n))}if(r&&r.flags&t)return r}return Ae}function Wl(n,t){return Nl(e.map(Mo(n),(function(e){return Ul(e,t)})))}function ql(e){var n=$o(e,1);return n!==Pn?n:void 0}function zl(n,t,r){return void 0===t&&(t=V),1048576&n.flags?Hl(e.map(n.types,(function(e){return zl(e,t,r)}))):2097152&n.flags?Nl(e.map(n.types,(function(e){return zl(e,t,r)}))):__(n,58982400)?function(e,n){return n?e.resolvedStringIndexType||(e.resolvedStringIndexType=Kl(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=Kl(e,!1))}(n,t):32&e.getObjectFlags(n)?Pp(vo(n),(function(e){return!(r&&5&e.flags)})):n===ce?ce:2&n.flags?Ae:131073&n.flags?Ie:t?!r&&$o(n,0)?_e:Wl(n,128):!r&&$o(n,0)?Nl([_e,ve,Wl(n,8192)]):ql(n)?Nl([ve,Wl(n,8320)]):Wl(n,8576)}function Jl(n){if(V)return n;var t=An||(An=ol("Extract",524288,e.Diagnostics.Cannot_find_global_type_0));return t?js(t,[n,_e]):_e}function Xl(n){return!F&&(!!(16384&e.getObjectFlags(n))||(1048576&n.flags?e.every(n.types,Xl):2097152&n.flags?e.some(n.types,Xl):!!(63176704&n.flags)&&Xl(Bo(n))))}function Yl(n,t,r,a,i,o,s){var l=o&&191===o.kind?o:void 0,c=Ki(r)?zi(r):l&&jf(l.argumentExpression,r,!1)?e.getPropertyNameForKnownSymbolName(e.idText(l.argumentExpression.name)):o&&e.isPropertyName(o)?e.getPropertyNameForPropertyNameNode(o):void 0;if(void 0!==c){var d=Jo(t,c);if(d){if(l){if(Vf(d,l,101===l.expression.kind),e.isAssignmentTarget(l)&&(p_(l,d)||m_(l)))return void Pt(l.argumentExpression,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,pa(d));4&s&&(Xt(o).resolvedSymbol=d)}var u=di(d);return l&&1!==e.getAssignmentTargetKind(l)?Zp(l,u):u}if(Np(t,uu)&&Ym(c)&&+c>=0){if(o&&Np(t,(function(e){return!e.target.hasRestElement}))){var p=Ql(o);uu(t)?Pt(p,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,fa(t),Hs(t),e.unescapeLeadingUnderscores(c)):Pt(p,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(c),fa(t))}return y($o(t,1)),Gp(t,(function(e){return pu(e)||pe}))}}if(!(98304&r.flags)&&v_(r,12716)){if(131073&t.flags)return t;var m=$o(t,0),f=v_(r,296)&&$o(t,1)||m;if(f)return 1&s&&f===m?void(l&&Pt(l,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,fa(r),fa(n))):o&&!v_(r,12)?(Pt(p=Ql(o),e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,fa(r)),f.type):(y(f),f.type);if(131072&r.flags)return Ae;if(Xl(t))return se;if(l&&!y_(t)){if(t.symbol===W&&void 0!==c&&W.exports.has(c)&&418&W.exports.get(c).flags)Pt(l,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(c),fa(t));else if(F&&!k.suppressImplicitAnyIndexErrors&&!i)if(void 0!==c&&Rf(c,t))Pt(l,e.Diagnostics.Property_0_is_a_static_member_of_type_1,c,fa(t));else if(es(t,1))Pt(l.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var g=void 0;if(void 0!==c&&(g=Nf(c,t)))void 0!==g&&Pt(l.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,c,fa(t),g);else{var _=function(n,t){var r=e.isAssignmentTarget(t)?"set":"get";if(!function(e,t){void 0===t&&(t=1);var r=Do(n,e);if(r){var a=Zf(di(r));if(a&&Ug(a)===t&&"string"===fa(Bg(a,0)))return!0}return!1}(r))return;var a=e.tryGetPropertyAccessOrIdentifierToString(t);void 0===a?a=r:a+="."+r;return a}(t,l);if(void 0!==_)Pt(l,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,fa(t),_);else{var v=void 0;if(1024&r.flags)v=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+fa(r)+"]",fa(t));else if(8192&r.flags){var h=Er(r.symbol,l);v=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+h+"]",fa(t))}else 128&r.flags||256&r.flags?v=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,r.value,fa(t)):12&r.flags&&(v=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,fa(r),fa(t)));v=e.chainDiagnosticMessages(v,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,fa(a),fa(t)),dt.add(e.createDiagnosticForNodeFromMessageChain(l,v))}}}return}}if(Xl(t))return se;if(o){p=Ql(o);384&r.flags?Pt(p,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+r.value,fa(t)):12&r.flags?Pt(p,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,fa(t),fa(r)):Pt(p,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,fa(r))}return Oa(r)?r:void 0;function y(n){n&&n.isReadonly&&l&&(e.isAssignmentTarget(l)||e.isDeleteTarget(l))&&Pt(l,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,fa(t))}}function Ql(e){return 191===e.kind?e.argumentExpression:181===e.kind?e.indexType:150===e.kind?e.expression:e}function Zl(e){return __(e,59113472)}function $l(e){return __(e,63176704)}function ec(e){return!!(262144&e.flags&&e.isThisType)}function nc(n,t){return 8388608&n.flags?function(n,t){var r=t?"simplifiedForWriting":"simplifiedForReading";if(n[r])return n[r]===He?n:n[r];n[r]=He;var a=nc(n.objectType,t),i=nc(n.indexType,t),o=function(n,t,r){if(1048576&t.flags){var a=e.map(t.types,(function(e){return nc(ic(n,e),r)}));return r?Hl(a):Nl(a)}}(a,i,t);if(o)return n[r]=o;if(!(63176704&i.flags)){var s=tc(a,i,t);if(s)return n[r]=s}if(xo(a))return n[r]=Gp(ac(a,n.indexType),(function(e){return nc(e,t)}));return n[r]=n}(n,t):16777216&n.flags?function(e,n){var t=e.checkType,r=e.extendsType,a=uc(e),i=pc(e);if(131072&i.flags&&cc(a)===cc(t)){if(1&t.flags||pd(ed(t),ed(r)))return nc(a,n);if(rc(t,r))return Ae}else if(131072&a.flags&&cc(i)===cc(t)){if(!(1&t.flags)&&pd(ed(t),ed(r)))return Ae;if(1&t.flags||rc(t,r))return nc(i,n)}return e}(n,t):n}function tc(n,t,r){if(3145728&n.flags){var a=e.map(n.types,(function(e){return nc(ic(e,t),r)}));return 2097152&n.flags||r?Hl(a):Nl(a)}}function rc(e,n){return!!(131072&Nl([lo(e,n),Ae]).flags)}function ac(e,n){var t=Pc([_o(e)],[n]),r=Gc(e.mapper,t);return Zc(ho(e),r)}function ic(e,n,t){return oc(e,n,t,0)||(t?de:ue)}function oc(e,n,t,r){if(void 0===r&&(r=0),e===ce||n===ce)return ce;if(!Md(e)||98304&n.flags||!v_(n,12)||(n=_e),$l(n)||(!t||181===t.kind)&&Zl(e)){if(3&e.flags)return e;var a=e.id+","+n.id,i=ne.get(a);return i||ne.set(a,i=function(e,n){var t=Wr(8388608);return t.objectType=e,t.indexType=n,t}(e,n)),i}var o=Uo(e);if(1048576&n.flags&&!(16&n.flags)){for(var s=[],l=!1,c=0,d=n.types;c=a,r)})),o=To(t),s=4&o?0:8&o?Hs(n)-(n.target.hasRestElement?1:0):a,l=Jc(n.target.readonly,o);return e.contains(i,de)?de:Cl(i,s,n.target.hasRestElement,l,n.target.associatedNames)}(a,n,i):Yc(n,i)}return a}))}return Yc(n,t)}(r,_):Yc(r,_),i.instantiations.set(f,g)}return g}return n}function qc(n,t){if(n.symbol&&n.symbol.declarations&&1===n.symbol.declarations.length){for(var r=n.symbol.declarations[0].parent,a=t;a!==r;a=a.parent)if(!a||219===a.kind||176===a.kind&&e.forEachChild(a.extendsType,i))return!0;return!!e.forEachChild(t,i)}return!0;function i(t){switch(t.kind){case 179:return!!n.isThisType;case 73:return!n.isThisType&&e.isPartOfTypeNode(t)&&function(e){return!(149===e.kind||165===e.parent.kind&&e.parent.typeArguments&&e===e.parent.typeName)}(t)&&Oc(t)===n;case 168:return!0}return!!e.forEachChild(t,i)}}function zc(e){var n=vo(e);if(4194304&n.flags){var t=cc(n.type);if(262144&t.flags)return t}}function Jc(e,n){return!!(1&n)||!(2&n)&&e}function Xc(e,n,t,r){var a=Gc(r,Pc([_o(e)],[n])),i=Zc(ho(e.target||e),a),o=To(e);return R&&4&o&&!pd(pe,i)?bu(i):R&&8&o&&t?hp(i,524288):i}function Yc(e,n){var t=Jr(64|e.objectFlags,e.symbol);if(32&e.objectFlags){t.declaration=e.declaration;var r=_o(e),a=Kc(r);t.typeParameter=a,n=Gc(Nc(r,a),n),a.mapper=n}return t.target=e,t.mapper=n,t.aliasSymbol=e.aliasSymbol,t.aliasTypeArguments=Rc(e.aliasTypeArguments,n),t}function Qc(n,t){var r=n.root;if(r.outerTypeParameters){var a=e.map(r.outerTypeParameters,t),i=Fs(a),o=r.instantiations.get(i);if(!o)o=function(e,n){if(e.isDistributive){var t=e.checkType,r=n(t);if(t!==r&&1179648&r.flags)return Gp(r,(function(r){return dc(e,Vc(t,r,n))}))}return dc(e,n)}(r,Pc(r.outerTypeParameters,a)),r.instantiations.set(i,o);return o}return n}function Zc(n,t){if(!n||!t||t===D)return n;if(50===x)return Pt(v,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),de;x++;var r=function(e,n){var t=e.flags;if(262144&t)return n(e);if(524288&t){var r=e.objectFlags;if(16&r)return Hu(e)?Wc(e,n):e;if(32&r)return Wc(e,n);if(4&r){var a=e.typeArguments,i=Rc(a,n);return i!==a?Vs(e.target,i):e}return e}if(1048576&t&&!(131068&t)){var o=e.types;return(s=Rc(o,n))!==o?Nl(s,1,e.aliasSymbol,Rc(e.aliasTypeArguments,n)):e}if(2097152&t){var s;o=e.types;return(s=Rc(o,n))!==o?Hl(s,e.aliasSymbol,Rc(e.aliasTypeArguments,n)):e}if(4194304&t)return zl(Zc(e.type,n));if(8388608&t)return ic(Zc(e.objectType,n),Zc(e.indexType,n));if(16777216&t)return Qc(e,Gc(e.mapper,n));if(33554432&t){var l=Zc(e.typeVariable,n);if(8650752&l.flags)return Xs(l,Zc(e.substitute,n));var c=Zc(e.substitute,n);return 3&c.flags||pd(ed(l),ed(c))?l:c}return e}(n,t);return x--,r}function $c(e){return 262143&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=Zc(e,Bc))}function ed(e){return 262143&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=Zc(e,Hc),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function nd(e,n){return e&&Is(Zc(e.type,n),e.isReadonly,e.declaration)}function td(n){switch(e.Debug.assert(157!==n.kind||e.isObjectLiteralMethod(n)),n.kind){case 197:case 198:case 157:return rd(n);case 189:return e.some(n.properties,td);case 188:return e.some(n.elements,td);case 206:return td(n.whenTrue)||td(n.whenFalse);case 205:return 55===n.operatorToken.kind&&(td(n.left)||td(n.right));case 276:return td(n.initializer);case 196:return td(n.expression);case 269:return e.some(n.properties,td)||e.isJsxOpeningElement(n.parent)&&e.some(n.parent.parent.children,td);case 268:var t=n.initializer;return!!t&&td(t);case 271:var r=n.expression;return!!r&&td(r)}return!1}function rd(n){if(n.typeParameters)return!1;if(e.some(n.parameters,(function(n){return!e.getEffectiveTypeAnnotationNode(n)})))return!0;if(198!==n.kind){var t=e.firstOrUndefined(n.parameters);if(!t||!e.parameterIsThisKeyword(t))return!0}return ad(n)}function ad(e){return!!e.body&&219!==e.body.kind&&td(e.body)}function id(n){return(e.isInJSFile(n)&&e.isFunctionDeclaration(n)||Km(n)||e.isObjectLiteralMethod(n))&&rd(n)}function od(n){if(524288&n.flags){var t=Ao(n);if(t.constructSignatures.length||t.callSignatures.length){var r=Jr(16,n.symbol);return r.members=t.members,r.properties=t.properties,r.callSignatures=e.emptyArray,r.constructSignatures=e.emptyArray,r}}else if(2097152&n.flags)return Hl(e.map(n.types,od));return n}function sd(e,n){return Rd(e,n,Ot)}function ld(e,n){return Rd(e,n,Ot)?-1:0}function cd(e,n){return Rd(e,n,kt)?-1:0}function dd(e,n){return Rd(e,n,Dt)?-1:0}function ud(e,n){return Rd(e,n,Dt)}function pd(e,n){return Rd(e,n,kt)}function md(n,t){return 1048576&n.flags?e.every(n.types,(function(e){return md(e,t)})):1048576&t.flags?e.some(t.types,(function(e){return md(n,e)})):58982400&n.flags?md(Fo(n)||ue,t):t===Xe?!!(67633152&n.flags):t===Ye?!!(524288&n.flags)&&_p(n):mi(n,pi(t))}function fd(e,n){return Rd(e,n,Mt)}function gd(e,n){return fd(e,n)||fd(n,e)}function _d(e,n,t,r,a,i){return Nd(e,n,kt,t,r,a,i)}function vd(e,n,t,r,a,i){return hd(e,n,kt,t,r,a,i)}function hd(e,n,t,r,a,i,o){return!!Rd(e,n,t)||(!r||!bd(a,e,n,t,i))&&Nd(e,n,t,r,i,o)}function yd(n){return!!(16777216&n.flags||2097152&n.flags&&e.some(n.types,yd))}function bd(n,t,r,a,s){if(!n||yd(r))return!1;if(!Nd(t,r,a,void 0)&&function(n,t,r,a,i){for(var o=Yo(t,0),s=Yo(t,1),l=0,c=[s,o];l1,_=Pp(m,ru),v=Pp(m,(function(e){return!ru(e)}));if(g)if(_!==Ae){var h=Cl(of(c,0));l=Ed(function(n,t){var r,a,i,s,l;return o(this,(function(o){switch(o.label){case 0:if(!e.length(n.children))return[2];r=0,a=0,o.label=1;case 1:return ac)return 0;n.typeParameters&&n.typeParameters!==t.typeParameters&&(n=ng(n,t=Cs(t),void 0,s));var d=jg(n),u=zg(n),p=zg(t);if(u&&p&&d!==c)return 0;var m=t.declaration?t.declaration.kind:0,f=!r&&w&&157!==m&&156!==m&&158!==m,g=-1,_=_s(n);if(_&&_!==xe){var v=_s(t);if(v){if(!(E=!f&&s(_,v,!1)||s(v,_,i)))return i&&o(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;g&=E}}for(var h=u||p?Math.min(d,c):Math.max(d,c),y=u||p?h-1:-1,b=0;b0||ey(t))&&!function(e,n,t){for(var r=0,a=Mo(e);r0&&D(ys(m[0]),r,!1)||g.length>0&&D(ys(g[0]),r,!1)?x(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,fa(t),fa(r)):x(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,fa(t),fa(r))}return 0}var _=0,v=c,h=!!l;if(1048576&t.flags)_=a===Mt?w(t,r,o&&!(131068&t.flags)):function(e,n,t){for(var r=-1,a=e.types,i=0,o=a;i0||Yo(n,r=1).length>0)return e.find(t.types,(function(e){return Yo(e,r).length>0}))}(n,t)||function(n,t){for(var r,a=0,i=0,o=t.types;i=a&&(r=s,a=c)}else iu(l)&&1>=a&&(r=s,a=1)}return r}(n,t)||a[a.length-1],!0);return 0}function I(n,t){if(1048576&t.flags&&2621440&n.flags){var r=Mo(n);if(r){var a=pp(r,t);if(a)return Pd(t,e.map(a,(function(e){return[function(){return di(e)},e.escapedName]})),D)}}}function w(e,n,t){var r=e.types;if(1048576&e.flags&&Ml(r,n))return-1;for(var a=r.length,i=0;i25)return 0}for(var l=new Array(r.length),c=e.createUnderscoreEscapedMap(),d=0;d5?x(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,fa(n),fa(t),e.map(p.slice(0,4),(function(e){return pa(e)})).join(", "),p.length-4):x(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,fa(n),fa(t),e.map(p,(function(e){return pa(e)})).join(", ")),m&&(f=c))}return 0}if(Zu(t))for(var _=0,v=V(Mo(n),i);_0&&e.every(t.properties,(function(e){return!!(16777216&e.flags)}))}return!!(2097152&n.flags)&&e.every(n.types,Fd)}function Gd(n,t,r){var a=Vs(n,e.map(n.typeParameters,(function(e){return e===t?r:e})));return a.objectFlags|=8192,a}function Vd(n,t,r){void 0===n&&(n=e.emptyArray);var a=t.variances;if(!a){t.variances=e.emptyArray,a=[];for(var i=function(e){var n=!1,i=!1,o=ft;ft=function(e){return e?i=!0:n=!0};var s=r(t,e,je),l=r(t,e,Ue),c=(pd(l,s)?1:0)|(pd(s,l)?2:0);if(3===c&&pd(r(t,e,Mn),s)&&(c=4),ft=o,n||i){n&&(c|=8),i&&(c|=16);var d=Ud(l,s,kt),u=Ud(s,l,kt);kt.delete(d),kt.delete(u)}a.push(c)},o=0,s=n;o":r+="-"+o.id}return r}function Ud(e,n,t){if(t===Ot&&e.id>n.id){var r=e;e=n,n=r}if(Kd(e)&&Kd(n)){var a=[];return jd(e,a)+","+jd(n,a)}return e.id+","+n.id}function Wd(n,t){if(!(6&e.getCheckFlags(n)))return t(n);for(var r=0,a=n.containingType.types;r=5&&524288&e.flags){var r=e.symbol;if(r)for(var a=0,i=0;i=5)return!0}}return!1}function Jd(n,t,r){if(n===t)return-1;var a=24&e.getDeclarationModifierFlagsFromSymbol(n);if(a!==(24&e.getDeclarationModifierFlagsFromSymbol(t)))return 0;if(a){if(_h(n)!==_h(t))return 0}else if((16777216&n.flags)!==(16777216&t.flags))return 0;return u_(n)!==u_(t)?0:r(di(n),di(t))}function Xd(n,t,r,a,i,o){if(n===t)return-1;if(!function(e,n,t){var r=jg(e),a=jg(n),i=Ug(e),o=Ug(n),s=Wg(e),l=Wg(n);return r===a&&i===o&&s===l||!!(t&&i<=o)}(n,t,r))return 0;if(e.length(n.typeParameters)!==e.length(t.typeParameters))return 0;n=As(n),t=As(t);var s=-1;if(!a){var l=_s(n);if(l){var c=_s(t);if(c){if(!(p=o(l,c)))return 0;s&=p}}}for(var d=jg(t),u=0;u-1&&($t(i,i.name.escapedText,67897832,void 0,i.name.escapedText,!0)||i.name.originalKeywordKind&&e.isTypeNodeKind(i.name.originalKeywordKind))){var o="arg"+i.parent.parameters.indexOf(i);return void Ft(F,n,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,o,e.declarationNameToString(i.name))}a=n.dotDotDotToken?F?e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:F?e.Diagnostics.Parameter_0_implicitly_has_an_1_type:e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 187:if(a=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!F)return;break;case 295:return void Pt(n,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,r);case 240:case 157:case 156:case 159:case 160:case 197:case 198:if(F&&!n.name)return void Pt(n,e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,r);a=F?e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 182:return void(F&&Pt(n,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type));default:a=F?e.Diagnostics.Variable_0_implicitly_has_an_1_type:e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}Ft(F,n,a,e.declarationNameToString(e.getNameOfDeclaration(n)),r)}}function Iu(n,t){a&&F&&131072&e.getObjectFlags(t)&&(function n(t){var r=!1;if(131072&e.getObjectFlags(t)){if(1048576&t.flags)if(e.some(t.types,Dd))r=!0;else for(var a=0,i=t.types;ae.target.minLength||!pu(n)&&(!!pu(e)||mu(n)1){var t=e.filter(n,Zu);if(t.length){var r=ku(Nl(t,2));return e.concatenate(e.filter(n,(function(e){return!Zu(e)})),[r])}}return n}(n.candidates),a=function(e){var n=Io(e);return!!n&&__(16777216&n.flags?wo(n):n,4325372)}(n.typeParameter),i=!a&&n.topLevel&&(n.isFixed||!Ku(ys(t),n.typeParameter)),o=a?e.sameMap(r,Ac):i?e.sameMap(r,lu):r;return ku(56&n.priority?Nl(o,2):function(n){if(!R)return Yd(n);var t=e.filter(n,(function(e){return!(98304&e.flags)}));return t.length?yu(Yd(t),98304&gu(n)):Nl(n,2)}(o))}function np(n,t){var r=n.inferences[t];if(!r.inferredType){var a=void 0,i=n.signature;if(i){var o=r.candidates?ep(r,i):void 0;if(r.contraCandidates){var s=$u(r);a=!o||131072&o.flags||!ud(o,s)?s:o}else if(o)a=o;else if(1&n.flags)a=Ce;else{var l=Ko(r.typeParameter);l&&(a=Zc(l,Gc(function(n,t){return function(r){return e.findIndex(n.inferences,(function(e){return e.typeParameter===r}))>=t?ue:r}}(n,t),n.nonFixingMapper)))}}else a=Ju(r);r.inferredType=a||tp(!!(2&n.flags));var c=Io(r.typeParameter);if(c){var d=Zc(c,n.nonFixingMapper);a&&n.compareTypes(a,Zi(d,a))||(r.inferredType=a=d)}}return r.inferredType}function tp(e){return e?se:ue}function rp(e){for(var n=[],t=0;t=r&&l-1){var d=i.filter((function(e){return void 0!==e})),u=l=2||0===(34&t.flags)||e.isSourceFile(t.valueDeclaration)||275===t.valueDeclaration.parent.kind)return;var r=e.getEnclosingBlockScopeContainer(t.valueDeclaration),a=function(n,t){return!!e.findAncestor(n,(function(n){return n===t?"quit":e.isFunctionLike(n)}))}(n.parent,r),i=r,o=!1;for(;i&&!e.nodeStartsNewLexicalEnvironment(i);){if(e.isIterationStatement(i,!1)){o=!0;break}i=i.parent}if(o){if(a){var s=!0;if(e.isForStatement(r)&&e.getAncestor(t.valueDeclaration,239).parent===r){var l=function(n,t){return e.findAncestor(n,(function(e){return e===t?"quit":e===t.initializer||e===t.condition||e===t.incrementor||e===t.statement}))}(n.parent,r);if(l){var c=Xt(l);c.flags|=131072;var d=c.capturedBlockScopeBindings||(c.capturedBlockScopeBindings=[]);e.pushIfUnique(d,t),l===r.initializer&&(s=!1)}}s&&(Xt(i).flags|=65536)}226===r.kind&&e.getAncestor(t.valueDeclaration,239).parent===r&&function(n,t){var r=n;for(;196===r.parent.kind;)r=r.parent;var a=!1;if(e.isAssignmentTarget(r))a=!0;else if(203===r.parent.kind||204===r.parent.kind){var i=r.parent;a=44===i.operator||45===i.operator}if(!a)return!1;return!!e.findAncestor(r,(function(e){return e===t?"quit":e===t.statement}))}(n,r)&&(Xt(t.valueDeclaration).flags|=4194304),Xt(t.valueDeclaration).flags|=524288}a&&(Xt(t.valueDeclaration).flags|=262144)}(n,t);var o=im(di(a),n),s=e.getAssignmentTargetKind(n);if(s){if(!(3&a.flags)&&!(e.isInJSFile(n)&&512&a.flags))return Pt(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable,pa(t)),de;if(u_(a))return 3&a.flags?Pt(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,pa(t)):Pt(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,pa(t)),de}var l=2097152&a.flags;if(3&a.flags){if(1===s)return o}else{if(!l)return o;i=e.find(t.declarations,m)}if(!i)return o;for(var c=152===e.getRootDeclaration(i).kind,d=$p(i),u=$p(n),p=u!==d,f=n.parent&&n.parent.parent&&e.isSpreadAssignment(n.parent)&&Sp(n.parent.parent),g=134217728&t.flags;u!==d&&(197===u.kind||198===u.kind||e.isObjectLiteralOrClassExpressionMethod(u))&&(tm(a)||c&&!em(a));)u=$p(u);var _=c||l||p||f||g||e.isBindingElement(i)||o!==le&&o!==ln&&(!R||0!==(3&o.flags)||op(n)||258===n.parent.kind)||214===n.parent.kind||238===i.kind&&i.exclamationToken||4194304&i.flags,v=Zp(n,o,_?c?function(e,n){return R&&152===n.kind&&n.initializer&&32768&_u(e)&&!(32768&_u(U_(n.initializer)))?hp(e,524288):e}(o,i):o:o===le||o===ln?pe:bu(o),u,!_);if(Yp(n)||o!==le&&o!==ln){if(!_&&!(32768&_u(o))&&32768&_u(v))return Pt(n,e.Diagnostics.Variable_0_is_used_before_being_assigned,pa(t)),o}else if(v===le||v===ln)return F&&(Pt(e.getNameOfDeclaration(i),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,pa(t),fa(v)),Pt(n,e.Diagnostics.Variable_0_implicitly_has_an_1_type,pa(t),fa(v))),jv(v);return s?su(v):v}function lm(e,n){(Xt(e).flags|=2,155===n.kind||158===n.kind)?Xt(n.parent).flags|=4:Xt(n).flags|=4}function cm(n){return e.isSuperCall(n)?n:e.isFunctionLike(n)?void 0:e.forEachChild(n,cm)}function dm(e){var n=Xt(e);return void 0===n.hasSuperCall&&(n.superCall=cm(e.body),n.hasSuperCall=!!n.superCall),n.superCall}function um(e){return Si(Ri(Gr(e)))===ge}function pm(n,t,r){var a=t.parent;if(e.getClassExtendsHeritageElement(a)&&!um(a)){var i=dm(t);(!i||i.end>n.pos)&&Pt(n,r)}}function mm(n){var t=e.getThisContainer(n,!0),r=!1;switch(158===t.kind&&pm(n,t,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),198===t.kind&&(t=e.getThisContainer(t,!1),r=!0),t.kind){case 245:Pt(n,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 244:Pt(n,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 158:gm(n,t)&&Pt(n,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 155:case 154:e.hasModifier(t,32)&&Pt(n,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 150:Pt(n,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}r&&M<2&&lm(n,t);var a=fm(n,!0,t);if(G){var i=di(W);if(a===i&&r)Pt(n,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!a){var o=Pt(n,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(t)){var s=fm(t);s&&s!==i&&e.addRelatedInfo(o,e.createDiagnosticForNode(t,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return a||se}function fm(n,t,r){void 0===t&&(t=!0),void 0===r&&(r=e.getThisContainer(n,!1));var a=e.isInJSFile(n);if(e.isFunctionLike(r)&&(!Tm(n)||e.getThisParameter(r))){var i=function(n){if(197===n.kind&&e.isBinaryExpression(n.parent)&&3===e.getAssignmentDeclarationKind(n.parent))return n.parent.left.expression.expression;if(157===n.kind&&189===n.parent.kind&&e.isBinaryExpression(n.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent))return n.parent.parent.left.expression;if(197===n.kind&&276===n.parent.kind&&189===n.parent.parent.kind&&e.isBinaryExpression(n.parent.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent.parent))return n.parent.parent.parent.left.expression;if(197===n.kind&&e.isPropertyAssignment(n.parent)&&e.isIdentifier(n.parent.name)&&("value"===n.parent.name.escapedText||"get"===n.parent.name.escapedText||"set"===n.parent.name.escapedText)&&e.isObjectLiteralExpression(n.parent.parent)&&e.isCallExpression(n.parent.parent.parent)&&n.parent.parent.parent.arguments[2]===n.parent.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent.parent))return n.parent.parent.parent.arguments[0].expression;if(e.isMethodDeclaration(n)&&e.isIdentifier(n.name)&&("value"===n.name.escapedText||"get"===n.name.escapedText||"set"===n.name.escapedText)&&e.isObjectLiteralExpression(n.parent)&&e.isCallExpression(n.parent.parent)&&n.parent.parent.arguments[2]===n.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent))return n.parent.parent.arguments[0].expression}(r);if(a&&i){var o=U_(i).symbol;if(o&&o.members&&16&o.flags)if(s=kg(o))return Zp(n,s)}else if(a&&(197===r.kind||240===r.kind)&&e.getJSDocClassTag(r)){var s;if(s=kg(Fr(r.symbol)))return Zp(n,s)}var l=ai(r)||ym(r);if(l)return Zp(n,l)}if(e.isClassLike(r.parent)){var c,d=Gr(r.parent);return Zp(n,c=e.hasModifier(r,32)?di(d):Ri(d).thisType)}if(a&&((c=function(n){var t=e.getJSDocType(n);if(t&&295===t.kind){var r=t;if(r.parameters.length>0&&r.parameters[0].name&&"this"===r.parameters[0].name.escapedText)return Oc(r.parameters[0].type)}var a=e.getJSDocThisTag(n);if(a&&a.typeExpression)return Oc(a.typeExpression)}(r))&&c!==de))return Zp(n,c);if(e.isSourceFile(r)){if(r.commonJsModuleIndicator){var u=Gr(r);return u&&di(u)}if(t)return di(W)}}function gm(n,t){return!!e.findAncestor(n,(function(n){return e.isFunctionLikeDeclaration(n)?"quit":152===n.kind&&n.parent===t}))}function _m(n){var t=192===n.parent.kind&&n.parent.expression===n,r=e.getSuperContainer(n,!0),a=!1;if(!t)for(;r&&198===r.kind;)r=e.getSuperContainer(r,!0),a=M<2;var i=0;if(!function(n){if(!n)return!1;if(t)return 158===n.kind;if(e.isClassLike(n.parent)||189===n.parent.kind)return e.hasModifier(n,32)?157===n.kind||156===n.kind||159===n.kind||160===n.kind:157===n.kind||156===n.kind||159===n.kind||160===n.kind||155===n.kind||154===n.kind||158===n.kind;return!1}(r)){var o=e.findAncestor(n,(function(e){return e===r?"quit":150===e.kind}));return o&&150===o.kind?Pt(n,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):t?Pt(n,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):r&&r.parent&&(e.isClassLike(r.parent)||189===r.parent.kind)?Pt(n,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):Pt(n,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),de}if(t||158!==r.kind||pm(n,r,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),i=e.hasModifier(r,32)||t?512:256,Xt(n).flags|=i,157===r.kind&&e.hasModifier(r,256)&&(e.isSuperProperty(n.parent)&&e.isAssignmentTarget(n.parent)?Xt(r).flags|=4096:Xt(r).flags|=2048),a&&lm(n.parent,r),189===r.parent.kind)return M<2?(Pt(n,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),de):se;var s=r.parent;if(!e.getClassExtendsHeritageElement(s))return Pt(n,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),de;var l=Ri(Gr(s)),c=l&&Li(l)[0];return c?158===r.kind&&gm(n,r)?(Pt(n,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),de):512===i?Si(l):Zi(c,l.thisType):de}function vm(n){return 4&e.getObjectFlags(n)&&n.target===on?n.typeArguments[0]:void 0}function hm(n){return Gp(n,(function(n){return 2097152&n.flags?e.forEach(n.types,vm):vm(n)}))}function ym(n){if(198!==n.kind){if(id(n)){var t=Um(n);if(t){var r=t.thisParameter;if(r)return di(r)}}var a=e.isInJSFile(n);if(G||a){var i=function(e){return 157!==e.kind&&159!==e.kind&&160!==e.kind||189!==e.parent.kind?197===e.kind&&276===e.parent.kind?e.parent.parent:void 0:e.parent}(n);if(i){for(var o=wm(i),s=i,l=o;l;){var c=hm(l);if(c)return Zc(c,Bu(Gm(i)));if(276!==s.parent.kind)break;l=wm(s=s.parent.parent)}return o?Eu(o):k_(i)}var d=n.parent;if(205===d.kind&&60===d.operatorToken.kind){var u=d.left;if(190===u.kind||191===u.kind){var p=u.expression;if(a&&e.isIdentifier(p)){var m=e.getSourceFileOfNode(d);if(m.commonJsModuleIndicator&&ip(p)===m.symbol)return}return k_(p)}}}}}function bm(n){var t=n.parent;if(id(t)){var r=e.getImmediatelyInvokedFunctionExpression(t);if(r&&r.arguments){var a=cg(r),i=t.parameters.indexOf(n);if(n.dotDotDotToken)return rg(a,i,a.length,se,void 0);var o=Xt(r),s=o.resolvedSignature;o.resolvedSignature=In;var l=i=0)return s}return Ym(t)&&Dm(n,1)||Dm(n,0)}}),!0)}function Dm(e,n){return Gp(e,(function(e){return Zo(e,n)}),!0)}function km(e,n){var t=wm(e.parent,n);if(t){if(!qi(e)){var r=Cm(t,Gr(e).escapedName);if(r)return r}return Jm(e.name)&&Dm(t,1)||Dm(t,0)}}function Mm(e,n){return e&&(Cm(e,""+n)||nh(e,void 0,!1,!1,!1))}function Om(n){var t=n.parent;return e.isJsxAttributeLike(t)?Fm(n):e.isJsxElement(t)?function(e,n){var t=wm(e.openingElement.tagName),r=pf(df(e));if(t&&!Oa(t)&&r&&""!==r){var a=Sd(e.children),i=a.indexOf(n),o=Cm(t,r);return o&&(1===a.length?o:Gp(o,(function(e){return eu(e)?ic(e,Dc(i)):e}),!0))}}(t,n):void 0}function Im(n){if(e.isJsxAttribute(n)){var t=wm(n.parent);if(!t||Oa(t))return;return Cm(t,n.name.escapedText)}return Fm(n.parent)}function Rm(e){switch(e.kind){case 10:case 8:case 9:case 14:case 103:case 88:case 97:case 73:case 142:return!0;case 190:case 196:return Rm(e.expression);case 271:return!e.expression||Rm(e.expression)}return!1}function wm(n,t){var r=Nm(Fm(n,t),n,t);if(r){var a=Gp(r,Uo,!0);if(1048576&a.flags){if(e.isObjectLiteralExpression(n))return function(n,t){return Pd(t,e.map(e.filter(n.properties,(function(e){return!!e.symbol&&276===e.kind&&Rm(e.initializer)&&up(t,e.symbol.escapedName)})),(function(e){return[function(){return U_(e.initializer)},e.symbol.escapedName]})),pd,t)}(n,a);if(e.isJsxAttributes(n))return function(n,t){return Pd(t,e.map(e.filter(n.properties,(function(e){return!!e.symbol&&268===e.kind&&up(t,e.symbol.escapedName)&&(!e.initializer||Rm(e.initializer))})),(function(e){return[e.initializer?function(){return U_(e.initializer)}:function(){return Ee},e.symbol.escapedName]})),pd,t)}(n,a)}return a}}function Nm(n,t,r){if(n&&__(n,63176704)){var a=Gm(t);if(a&&e.some(a.inferences,V_)){if(r&&1&r)return Pm(n,a.nonFixingMapper);if(a.returnMapper)return Pm(n,a.returnMapper)}}return n}function Pm(n,t){return 63176704&n.flags?Zc(n,t):1048576&n.flags?Nl(e.map(n.types,(function(e){return Pm(e,t)})),0):2097152&n.flags?Hl(e.map(n.types,(function(e){return Pm(e,t)}))):n}function Fm(n,t){if(!(8388608&n.flags)){if(n.contextualType)return n.contextualType;var r=n.parent;switch(r.kind){case 238:case 152:case 155:case 154:case 187:return function(n){var t=n.parent;if(e.hasInitializer(t)&&n===t.initializer){var r=Em(t);if(r)return r;if(e.isBindingPattern(t.name))return Ya(t.name,!0,!1)}}(n);case 198:case 231:return function(n){var t=e.getContainingFunction(n);if(t){var r=e.getFunctionFlags(t);if(1&r)return;var a=Sm(t);if(a){if(2&r){var i=uv(a);return i&&Nl([i,$g(i)])}return a}}}(n);case 208:return function(n){var t=e.getContainingFunction(n);if(t){var r=e.getFunctionFlags(t),a=Sm(t);if(a)return n.asteriskToken?a:ih(a,0!==(2&r))}}(r);case 202:return function(e){var n=Fm(e);if(n){var t=fv(n);return t&&Nl([t,$g(t)])}}(r);case 192:case 193:return Lm(r,n);case 195:case 213:return e.isConstTypeReference(r.type)?void 0:Oc(r.type);case 205:return Am(n,t);case 276:case 277:return km(r,t);case 278:return wm(r.parent,t);case 188:var a=r;return Mm(wm(a,t),e.indexOfNode(a.elements,n));case 206:return function(e,n){var t=e.parent;return e===t.whenTrue||e===t.whenFalse?Fm(t,n):void 0}(n,t);case 217:return e.Debug.assert(207===r.parent.kind),function(e,n){if(194===e.parent.kind)return Lm(e.parent,n)}(r.parent,n);case 196:var i=e.isInJSFile(r)?e.getJSDocTypeTag(r):void 0;return i?Oc(i.typeExpression.type):Fm(r,t);case 271:return Om(r);case 268:case 270:return Im(r);case 263:case 262:return function(n){if(e.isJsxOpeningElement(n)&&n.parent.contextualType)return n.parent.contextualType;return xm(n,0)}(r)}}}function Gm(n){var t=e.findAncestor(n,(function(e){return!!e.inferenceContext}));return t&&t.inferenceContext}function Vm(t,r){return 0!==ig(r)?function(e,t){var r=Xg(e,ue);r=Bm(t,df(t),r);var a=lf(n.IntrinsicAttributes,t);a!==de&&(r=lo(a,r));return r}(t,r):function(t,r){var a=df(r),i=(s=a,uf(n.ElementAttributesPropertyNameContainer,s)),o=void 0===i?Xg(t,ue):""===i?ys(t):function(e,n){if(e.unionSignatures){for(var t=[],r=0,a=e.unionSignatures;r=2)return Vs(s,c=us([l,a],s.typeParameters,2,e.isInJSFile(t)));if(e.length(s.aliasTypeArguments)>=2){var c=us([l,a],s.aliasTypeArguments,2,e.isInJSFile(t));return js(s.aliasSymbol,c)}}return a}function Hm(n,t){var r=Yo(n,0);if(1===r.length){var a=r[0];if(!function(n,t){for(var r=0;r0&&209===a[i-1].kind,v=i-(_?1:0),h=void 0;if(l&&v>0)return(g=Bs(Cl(s,v,_))).pattern=n,g;if(h=zm(s,c,_,i,d))return h;if(r)return Cl(s,v,_)}return Ll(s.length?Nl(s,2):R?ke:me,d)}function zm(n,t,r,a,i){if(void 0===a&&(a=n.length),void 0===i&&(i=!1),i||t&&wp(t,tu)){var o=a-(r?1:0),s=t&&t.pattern;if(!r&&s&&(186===s.kind||188===s.kind))for(var l=s.elements,c=a;c0&&(o=bc(o,I(),n.symbol,f,c),i=[],r=e.createSymbolTable(),_=!1,v=!1),!nf(S=U_(b.expression)))return Pt(b,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),de;o=bc(o,S,n.symbol,f,c),h=y+1;continue}e.Debug.assert(159===b.kind||160===b.kind),wh(b)}!T||8576&T.flags?r.set(E.escapedName,E):pd(T,Oe)&&(pd(T,ve)?v=!0:_=!0,a&&(g=!0)),i.push(E)}if(l)for(var D=0,O=Mo(s);D0&&(o=bc(o,I(),n.symbol,f,c)),o):I();function I(){var t=_?Zm(n,h,i,0):void 0,o=v?Zm(n,h,i,1):void 0,s=$r(n.symbol,r,e.emptyArray,e.emptyArray,t,o);return s.objectFlags|=262272|f,m&&(s.objectFlags|=16384),g&&(s.objectFlags|=512),a&&(s.pattern=n),s}}function nf(n){return!!(126615555&n.flags||117632&_u(n)&&nf(vu(n))||3145728&n.flags&&e.every(n.types,nf))}function tf(n){return!e.stringContains(n,"-")}function rf(n){return 73===n.kind&&e.isIntrinsicJsxName(n.escapedText)}function af(e,n){return e.initializer?w_(e.initializer,n):Ee}function of(e,n){for(var t=[],r=0,a=e.children;r0&&(o=bc(o,S(),a.symbol,c,!1),i=e.createSymbolTable()),Oa(g=k_(m.expression,t))&&(s=!0),nf(g)?o=bc(o,g,a.symbol,c,!1):r=r?Hl([r,g]):g}}s||i.size>0&&(o=bc(o,S(),a.symbol,c,!1));var v=261===n.parent.kind?n.parent:void 0;if(v&&v.openingElement===n&&v.children.length>0){var h=of(v,t);if(!s&&d&&""!==d){l&&Pt(a,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(d));var y=wm(n.attributes),b=y&&Cm(y,d),E=Gt(33554436,d);E.type=1===h.length?h[0]:zm(h,b,!1)||Ll(Nl(h)),E.valueDeclaration=e.createPropertySignature(void 0,e.unescapeLeadingUnderscores(d),void 0,void 0,void 0),E.valueDeclaration.parent=a,E.valueDeclaration.symbol=E;var T=e.createSymbolTable();T.set(d,E),o=bc(o,$r(a.symbol,T,e.emptyArray,e.emptyArray,void 0,void 0),a.symbol,c,!1)}}return s?se:r&&o!==Ne?Hl([r,o]):r||(o===Ne?S():o);function S(){c|=B;var n=$r(a.symbol,i,e.emptyArray,e.emptyArray,void 0,void 0);return n.objectFlags|=262272|c,n}}(n.parent,t)}function lf(e,n){var t=df(n),r=t&&Rr(t),a=r&&Qt(r,e,67897832);return a?Ri(a):de}function cf(t){var r=Xt(t);if(!r.resolvedSymbol){var a=lf(n.IntrinsicElements,t);if(a!==de){if(!e.isIdentifier(t.tagName))return e.Debug.fail();var i=Jo(a,t.tagName.escapedText);return i?(r.jsxFlags|=1,r.resolvedSymbol=i):es(a,0)?(r.jsxFlags|=2,r.resolvedSymbol=a.symbol):(Pt(t,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.idText(t.tagName),"JSX."+n.IntrinsicElements),r.resolvedSymbol=ie)}return F&&Pt(t,e.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,e.unescapeLeadingUnderscores(n.IntrinsicElements)),r.resolvedSymbol=ie}return r.resolvedSymbol}function df(e){var t=e&&Xt(e);if(t&&t.jsxNamespace)return t.jsxNamespace;if(!t||!1!==t.jsxNamespace){var r=Nt(e),a=$t(e,r,1920,void 0,r,!1);if(a){var i=_r(Qt(Rr(_r(a)),n.JSX,1920));if(i)return t&&(t.jsxNamespace=i),i;t&&(t.jsxNamespace=!1)}}return ol(n.JSX,1920,void 0)}function uf(n,t){var r=t&&Qt(t.exports,n,67897832),a=r&&Ri(r),i=a&&Mo(a);if(i){if(0===i.length)return"";if(1===i.length)return i[0].escapedName;i.length>1&&Pt(r.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(n))}}function pf(e){return uf(n.ElementChildrenAttributeNameContainer,e)}function mf(t,r){var a=lf(n.IntrinsicElements,r);if(a!==de){var i=t.value,o=Jo(a,e.escapeLeadingUnderscores(i));if(o)return di(o);var s=es(a,0);return s||void 0}return se}function ff(n){e.Debug.assert(rf(n.tagName));var t=Xt(n);if(!t.resolvedJsxElementAttributesType){var r=cf(n);return 1&t.jsxFlags?t.resolvedJsxElementAttributesType=di(r):2&t.jsxFlags?t.resolvedJsxElementAttributesType=Rs(r,0).type:t.resolvedJsxElementAttributesType=de}return t.resolvedJsxElementAttributesType}function gf(e){var t=lf(n.ElementClass,e);if(t!==de)return t}function _f(e){return lf(n.Element,e)}function vf(e){var n=_f(e);if(n)return Nl([n,fe])}function hf(n){var t,r=e.isJsxOpeningLikeElement(n);r&&function(n){By(n,n.typeArguments);for(var t=e.createUnderscoreEscapedMap(),r=0,a=n.attributes.properties;r=0)return u>=Ug(r)&&(Wg(r)||us)return!1;if(o||i>=l)return!0;for(var p=i;p=a&&t.length<=r}function Zf(e){return eg(e,0,!1)}function $f(e){return eg(e,0,!1)||eg(e,1,!1)}function eg(e,n,t){if(524288&e.flags){var r=Ao(e);if(t||0===r.properties.length&&!r.stringIndexInfo&&!r.numberIndexInfo){if(0===n&&1===r.callSignatures.length&&0===r.constructSignatures.length)return r.callSignatures[0];if(1===n&&1===r.constructSignatures.length&&0===r.callSignatures.length)return r.constructSignatures[0]}}}function ng(n,t,r,a){var i=Nu(n.typeParameters,n,0,a),o=qg(t),s=r&&(o&&262144&o.flags?r.nonFixingMapper:r.mapper);return Ru(s?jc(t,s):t,n,(function(e,n){Xu(i.inferences,e,n)})),r||wu(t,n,(function(e,n){Xu(i.inferences,e,n,16)})),Ss(n,rp(i),e.isInJSFile(t.declaration))}function tg(n,t,r,a,i){if(e.isJsxOpeningLikeElement(n))return function(e,n,t,r){var a=Vm(n,e),i=D_(e.attributes,a,r,t);return Xu(r.inferences,i,a),rp(r)}(n,t,a,i);if(153!==n.kind){var o=Fm(n);if(o){var s=Zc(o,Bu(function(n,t){return void 0===t&&(t=0),n&&Pu(e.map(n.inferences,Vu),n.signature,n.flags|t,n.compareTypes)}(Gm(n),1))),l=Zf(s),c=l&&l.typeParameters?ks(Ls(l,l.typeParameters)):s,d=ys(t);Xu(i.inferences,c,d,16),i.returnMapper=Bu(function(n){var t=e.filter(n.inferences,V_);return t.length?Pu(e.map(t,Vu),n.signature,n.flags,n.compareTypes):void 0}(i))}}var u=_s(t);if(u){var p=sg(n),m=p?U_(p):xe;Xu(i.inferences,m,u)}for(var f=zg(t),g=f?Math.min(jg(t)-1,r.length):r.length,_=0;_=r-1){var o=n[r-1];if(zf(o))return 216===o.kind?Ll(o.type):wp(s=D_(o.expression,a,i,0),(function(e){return!(63176705&e.flags||Qd(e)||uu(e))}))?Ll(ic(s,ve)):s}for(var s,l=[],c=-1,d=t;d0||e.isJsxOpeningElement(n)&&n.parent.children.length>0?[n.attributes]:e.emptyArray;var a=n.arguments||e.emptyArray,i=a.length;if(i&&zf(a[i-1])&&Jf(a)===i-1){var o=a[i-1],s=Bn?U_(o.expression):k_(o.expression);if(uu(s)){var l=s.typeArguments||e.emptyArray,c=s.target.hasRestElement?l.length-1:-1,d=e.map(l,(function(e,n){return lg(o,e,n===c)}));return e.concatenate(a.slice(0,i-1),d)}}return a}function dg(n,t){switch(n.parent.kind){case 241:case 210:return 1;case 155:return 2;case 157:case 159:case 160:return 0===M||t.parameters.length<=2?2:3;case 152:return 3;default:return e.Debug.fail()}}function ug(n,t,r){for(var a,i=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY,c=r.length,d=0,u=t;ds&&(s=m),c-1;c<=o&&y&&c--;var b=v||y?v&&y?e.Diagnostics.Expected_at_least_0_arguments_but_got_1_or_more:v?e.Diagnostics.Expected_at_least_0_arguments_but_got_1:e.Diagnostics.Expected_0_arguments_but_got_1_or_more:e.Diagnostics.Expected_0_arguments_but_got_1;if(a&&Ug(a)>c&&a.declaration){var E=a.declaration.parameters[a.thisParameter?c+1:c];E&&(_=e.createDiagnosticForNode(E,e.isBindingPattern(E.name)?e.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:e.Diagnostics.An_argument_for_0_was_not_provided,E.name?e.isBindingPattern(E.name)?void 0:e.idText(Lh(E.name)):c))}if(ic&&S?r.indexOf(S):Math.min(o,r.length-1)))}}else g=e.createNodeArray(r.slice(o));g.pos=e.first(g).pos,g.end=e.last(g).end,g.end===g.pos&&g.end++;var L=e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),g,b,h,c);return _?e.addRelatedInfo(L,_):L}function pg(n,t,r,i,o){var s,l=194===n.kind,c=153===n.kind,d=e.isJsxOpeningLikeElement(n),u=!r;c||(s=n.typeArguments,(l||d||99!==n.expression.kind)&&e.forEach(s,Ih));var p=r||[];if(function(n,t){var r,a,i,o,s=0,l=-1;e.Debug.assert(!t.length);for(var c=0,d=n;c1&&(_=T(p,Dt,b)),_||(_=T(p,kt,b)),_)return _;if(u)if(m)og(n,v,m,kt,0,!0);else if(f)dt.add(ug(n,[f],v));else if(g)ag(g,n.typeArguments,!0,o);else{var E=e.filter(t,(function(e){return Qf(e,s)}));0===E.length?dt.add(function(n,t,r){var a=r.length;if(1===t.length){var i=ds((u=t[0]).typeParameters),o=e.length(u.typeParameters);return e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),r,e.Diagnostics.Expected_0_type_arguments_but_got_1,ia?l=Math.min(l,p):o0),a||1===t.length||t.some((function(e){return!!e.typeParameters}))?function(n,t,r){var a=function(e,n){for(var t=-1,r=-1,a=0;a=n)return a;o>r&&(r=o,t=a)}return t}(t,void 0===q?r.length:q),i=t[a],o=i.typeParameters;if(!o)return i;var s=Uf(n)?n.typeArguments:void 0,l=s?xs(i,function(e,n,t){var r=e.map(Jh);for(;r.length>n.length;)r.pop();for(;r.length=0&&Pt(n.arguments[a],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var i=xf(n.expression);if(i===Ce)return Nn;if((i=Uo(i))===de)return qf(n);if(Oa(i))return n.typeArguments&&Pt(n,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),Wf(n);var o=Yo(i,1);if(o.length){if(!function(n,t){if(!t||!t.declaration)return!0;var r=t.declaration,a=e.getSelectedModifierFlags(r,24);if(!a)return!0;var i=e.getClassLikeDeclarationOfSymbol(r.parent.symbol),o=Ri(r.parent.symbol);if(!Uh(n,i)){var s=e.getContainingClass(n);if(s&&16&a){var l=Jh(s);if(function n(t,r){var a=Li(r);if(!e.length(a))return!1;var i=a[0];if(2097152&i.flags){for(var o=po(i.types),s=0,l=0,c=i.types;l0)return e.parameters.length-1+t}}return e.minArgumentCount}function Wg(e){if(e.hasRestParameter){var n=di(e.parameters[e.parameters.length-1]);return!uu(n)||n.target.hasRestElement}return!1}function qg(e){if(e.hasRestParameter){var n=di(e.parameters[e.parameters.length-1]);return uu(n)?function(e){var n=pu(e);return n&&Ll(n)}(n):n}}function zg(e){var n=qg(e);return!n||Qd(n)||Oa(n)?void 0:n}function Jg(e){return Xg(e,Ae)}function Xg(e,n){return e.parameters.length>0?Bg(e,0):n}function Yg(n,t){(n.typeParameters=t.typeParameters,t.thisParameter)&&((!(i=n.thisParameter)||i.valueDeclaration&&!i.valueDeclaration.type)&&(i||(n.thisParameter=Su(t.thisParameter,void 0)),Qg(n.thisParameter,di(t.thisParameter))));for(var r=n.parameters.length-(n.hasRestParameter?1:0),a=0;a1&&n.charCodeAt(t-1)>=48&&n.charCodeAt(t-1)<=57;)t--;for(var r=n.slice(0,t),a=1;;a++){var i=r+a;if(!B_(e,i))return i}}function K_(n,t){var r=e.skipParentheses(n);if(192!==r.kind||99===r.expression.kind||e.isRequireCall(r,!0)||Ig(r)){if(e.isAssertionExpression(r)&&!e.isConstTypeReference(r.type))return Oc(r.type)}else{var a=Zf(xf(r.expression));if(a&&!a.typeParameters)return ys(a)}return t?k_(n):U_(n)}function j_(e){var n=Xt(e);if(n.contextFreeType)return n.contextFreeType;var t=e.contextualType;e.contextualType=se;var r=n.contextFreeType=U_(e,4);return e.contextualType=t,r}function U_(n,t,r){var i=v;v=n;var o=F_(n,function(n,t,r){switch(n.kind){case 73:return sm(n);case 101:return mm(n);case 99:return _m(n);case 97:return ge;case 14:case 10:return xc(Dc(n.text));case 8:return sb(n),xc(Dc(+n.text));case 9:return function(n){if(!(e.isLiteralTypeNode(n.parent)||e.isPrefixUnaryExpression(n.parent)&&e.isLiteralTypeNode(n.parent.parent))&&M<8&&ab(n,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ESNext))return!0}(n),xc(function(n){return Dc({negative:!1,base10Value:e.parsePseudoBigInt(n.text)})}(n));case 103:return Ee;case 88:return ye;case 207:return function(n){return e.forEach(n.templateSpans,(function(n){__(U_(n.expression),12288)&&Pt(n.expression,e.Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String)})),_e}(n);case 13:return an;case 188:return qm(n,t,r);case 189:return ef(n,t);case 190:return kf(n);case 149:return Mf(n);case 191:return Kf(n);case 192:if(93===n.expression.kind)return Rg(n);case 193:return Og(n,t);case 194:return function(e){return By(e,e.typeArguments),M<2&&Iy(e,65536),ys(Ag(e))}(n);case 196:return function(n,t){var r=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0;if(r)return Pg(r,r.typeExpression.type,n.expression,t);return U_(n.expression,t)}(n,t);case 210:return function(e){return fh(e),wh(e),di(Gr(e))}(n);case 197:case 198:return s_(n,t);case 200:return function(e){return U_(e.expression),Ct}(n);case 195:case 213:return function(e){return Pg(e,e.type,e.expression)}(n);case 214:return function(e){return Eu(U_(e.expression))}(n);case 215:return Fg(n);case 199:return function(n){U_(n.expression);var t=e.skipParentheses(n.expression);if(190!==t.kind&&191!==t.kind)return Pt(t,e.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference),Se;var r=Kr(Xt(t).resolvedSymbol);return r&&u_(r)&&Pt(t,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),Se}(n);case 201:return function(e){return U_(e.expression),me}(n);case 202:return function(n){if(a){if(!(16384&n.flags)){var t=e.getSourceFileOfNode(n);if(!nb(t)){var r=e.getSpanOfTokenAtPosition(t,n.pos),i=e.createFileDiagnostic(t,r.start,r.length,e.Diagnostics.await_expression_is_only_allowed_within_an_async_function),o=e.getContainingFunction(n);if(o&&158!==o.kind){e.Debug.assert(0===(2&e.getFunctionFlags(o)),"Enclosing function should never be an async function.");var s=e.createDiagnosticForNode(o,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(i,s)}dt.add(i)}}Tm(n)&&Pt(n,e.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer)}return mv(U_(n.expression),n,e.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(n);case 203:return function(n){var t=U_(n.operand);if(t===Ce)return Ce;switch(n.operand.kind){case 8:switch(n.operator){case 39:return xc(Dc(-n.operand.text));case 38:return xc(Dc(+n.operand.text))}break;case 9:if(39===n.operator)return xc(Dc({negative:!0,base10Value:e.parsePseudoBigInt(n.operand.text)}))}switch(n.operator){case 38:case 39:case 53:return Cf(t,n.operand),__(t,12288)&&Pt(n.operand,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(n.operator)),38===n.operator?(__(t,2112)&&Pt(n.operand,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1,e.tokenToString(n.operator),fa(t)),ve):g_(t);case 52:Yv(n.operand);var r=12582912&vp(t);return 4194304===r?ye:8388608===r?Ee:Se;case 44:case 45:return c_(n.operand,Cf(t,n.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&f_(n.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access),g_(t)}return de}(n);case 204:return function(n){var t=U_(n.operand);return t===Ce?Ce:(c_(n.operand,Cf(t,n.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&f_(n.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access),g_(t))}(n);case 205:return x_(n,t);case 206:return function(e,n){return Yv(e.condition),Nl([U_(e.whenTrue,n),U_(e.whenFalse,n)],2)}(n,t);case 209:return function(e,n){return M<2&&k.downlevelIteration&&Iy(e,1536),eh(U_(e.expression,n),e.expression,!1,!1)}(n,t);case 211:return me;case 208:return C_(n);case 216:return n.type;case 271:return function(n,t){if(n.expression){var r=U_(n.expression,t);return n.dotDotDotToken&&r!==se&&!Qd(r)&&Pt(n,e.Diagnostics.JSX_spread_child_must_be_an_array_type),r}return de}(n,t);case 261:case 262:return function(e,n){return wh(e),_f(e)||se}(n);case 265:return function(n){return hf(n.openingFragment),2===k.jsx&&(k.jsxFactory||e.getSourceFileOfNode(n).pragmas.has("jsx"))&&Pt(n,k.jsxFactory?e.Diagnostics.JSX_fragment_is_not_supported_when_using_jsxFactory:e.Diagnostics.JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma),of(n),_f(n)||se}(n);case 269:return sf(n,t);case 263:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return de}(n,t,r),t);return y_(o)&&function(n,t){190===n.parent.kind&&n.parent.expression===n||191===n.parent.kind&&n.parent.expression===n||(73===n.kind||149===n.kind)&&Wh(n)||168===n.parent.kind&&n.parent.exprName===n||Pt(n,e.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query);if(k.isolatedModules){e.Debug.assert(!!(128&t.symbol.flags)),4194304&t.symbol.valueDeclaration.flags&&Pt(n,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}(n,o),v=i,o}function W_(n){n.expression&&tb(n.expression,e.Diagnostics.Type_expected),Ih(n.constraint),Ih(n.default);var t=Ii(Gr(n));Fo(t),function(e){return Ho(e)!==He}(t)||Pt(n.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,fa(t));var r=Io(t),i=Ko(t);r&&i&&_d(i,Zi(Zc(r,Nc(t,i)),i),n.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),a&&dh(n.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function q_(n){wy(n),Uv(n);var t=e.getContainingFunction(n);e.hasModifier(n,92)&&(158===t.kind&&e.nodeIsPresent(t.body)||Pt(n,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)),n.questionToken&&e.isBindingPattern(n.name)&&t.body&&Pt(n,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),n.name&&e.isIdentifier(n.name)&&("this"===n.name.escapedText||"new"===n.name.escapedText)&&(0!==t.parameters.indexOf(n)&&Pt(n,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,n.name.escapedText),158!==t.kind&&162!==t.kind&&167!==t.kind||Pt(n,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),198===t.kind&&Pt(n,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter)),!n.dotDotDotToken||e.isBindingPattern(n.name)||pd(di(n.symbol),cn)||Pt(n,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function z_(n,t,r){for(var a=0,i=n.elements;a=2||k.noEmit||!e.hasRestParameter(n)||4194304&n.flags||e.nodeIsMissing(n.body))return;e.forEach(n.parameters,(function(n){n.name&&!e.isBindingPattern(n.name)&&n.name.escapedText===z.escapedName&&Pt(n,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}))}(n);var r=e.getEffectiveReturnTypeNode(n);if(F&&!r)switch(n.kind){case 162:Pt(n,e.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 161:Pt(n,e.Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}if(r){var i=e.getFunctionFlags(n);if(1===(5&i)){var o=Oc(r);if(o===xe)Pt(r,e.Diagnostics.A_generator_cannot_have_a_void_type_annotation);else{var s=ih(o,0!==(2&i))||se;_d(2&i?El(s):Sl(s),o,r)}}else 2===(3&i)&&function(n,t){var r=Oc(t);if(M>=2){if(r===de)return;var a=dl(!0);if(a!==Ge&&!ui(r,a))return void Pt(t,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type)}else{if(function(n){_v(n&&e.getEntityNameFromTypeNode(n))}(t),r===de)return;var i=e.getEntityNameFromTypeNode(t);if(void 0===i)return void Pt(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,fa(r));var o=Tr(i,67220415,!0),s=o?di(o):de;if(s===de)return void(73===i.kind&&"Promise"===i.escapedText&&pi(r)===dl(!1)?Pt(t,e.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):Pt(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(i)));var l=(u=!0,vn||(vn=sl("PromiseConstructorLike",0,u))||we);if(l===we)return void Pt(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(i));if(!_d(s,l,t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value))return;var c=i&&Lh(i),d=Qt(n.locals,c.escapedText,67220415);if(d)return void Pt(d.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(c),e.entityNameToString(i))}var u;mv(r,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(n,r)}163!==n.kind&&295!==n.kind&&Lv(n)}}function X_(n){for(var t=e.createMap(),r=0,a=n.members;r0&&t.declarations[0]!==n)return}var r=Ms(Gr(n));if(r)for(var a=!1,i=!1,o=0,s=r.declarations;o=0)return void(t&&Pt(t,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));ct.push(n.id);var d=fv(c,t,r);if(ct.pop(),!d)return;return a.awaitedTypeOfType=d}var u=Ma(n,"then");if(!(u&&Yo(u,0).length>0))return a.awaitedTypeOfType=n;if(t){if(!r)return e.Debug.fail();Pt(t,r)}}function gv(n){var t=ys(Ag(n));if(!(1&t.flags)){var r,a,i=Eg(n);switch(n.parent.kind){case 241:r=Nl([di(Gr(n.parent)),xe]);break;case 152:r=xe,a=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 155:r=xe,a=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 157:case 159:case 160:r=Nl([bl(Jh(n.parent)),xe]);break;default:return e.Debug.fail()}_d(t,r,n,i,(function(){return a}))}}function _v(e){if(e){var n=Lh(e),t=2097152|(73===e.kind?67897832:1920),r=$t(n,n.escapedText,t,void 0,void 0,!0);r&&2097152&r.flags&&jr(r)&&!uy(vr(r))&&yr(r)}}function vv(n){var t=hv(n);t&&e.isEntityName(t)&&_v(t)}function hv(e){if(e)switch(e.kind){case 175:case 174:return yv(e.types);case 176:return yv([e.trueType,e.falseType]);case 178:return hv(e.type);case 165:return e.typeName}}function yv(n){for(var t,r=0,a=n;r=e.ModuleKind.ES2015||k.noEmit)&&(Gv(n,t,"require")||Gv(n,t,"exports"))&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=ka(n);285===r.kind&&e.isExternalOrCommonJsModule(r)&&Pt(t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(t),e.declarationNameToString(t))}}function Kv(n,t){if(!(M>=4||k.noEmit)&&Gv(n,t,"Promise")&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=ka(n);285===r.kind&&e.isExternalOrCommonJsModule(r)&&1024&r.flags&&Pt(t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(t),e.declarationNameToString(t))}}function jv(e){return e===le?se:e===ln?sn:e}function Uv(n){if(Ev(n),e.isBindingElement(n)||Ih(n.type),n.name){if(150===n.name.kind&&(Qm(n.name),n.initializer&&k_(n.initializer)),187===n.kind){185===n.parent.kind&&M<8&&Iy(n,4),n.propertyName&&150===n.propertyName.kind&&Qm(n.propertyName);var t=n.parent.parent,r=Ia(t),a=n.propertyName||n.name;if(r&&!e.isBindingPattern(a)){var i=jl(a);if(Ki(i)){var o=Jo(r,zi(i));o&&(Vf(o,void 0,!1),Sf(t,!!t.initializer&&99===t.initializer.kind,r,o))}}}if(e.isBindingPattern(n.name)&&(186===n.name.kind&&M<2&&k.downlevelIteration&&Iy(n,512),e.forEach(n.name.elements,Ih)),n.initializer&&152===e.getRootDeclaration(n).kind&&e.nodeIsMissing(e.getContainingFunction(n).body))Pt(n,e.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);else if(e.isBindingPattern(n.name)){var s=n.initializer&&227!==n.parent.parent.kind,l=0===n.name.elements.length;if(s||l){var c=Qa(n);if(s){var d=k_(n.initializer);R&&l?Df(d,n):vd(d,Qa(n),n,n.initializer)}l&&(e.isArrayBindingPattern(n.name)?eh(c,n,!1,!1):R&&Df(c,n))}}else{var u=Gr(n),p=jv(di(u));if(n===u.valueDeclaration){var m=e.getEffectiveInitializer(n);if(m)e.isInJSFile(n)&&e.isObjectLiteralExpression(m)&&(0===m.properties.length||e.isPrototypeAccess(n.name))&&e.hasEntries(u.exports)||227===n.parent.parent.kind||vd(k_(m),p,n,m,void 0);u.declarations.length>1&&e.some(u.declarations,(function(t){return t!==n&&e.isVariableLike(t)&&!qv(t,n)}))&&Pt(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}else{var f=jv(Qa(n));p===de||f===de||sd(p,f)||67108864&u.flags||Wv(u.valueDeclaration,p,n,f),n.initializer&&vd(k_(n.initializer),f,n,n.initializer,void 0),qv(n,u.valueDeclaration)||Pt(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}155!==n.kind&&154!==n.kind&&(dv(n),238!==n.kind&&187!==n.kind||function(n){if(0===(3&e.getCombinedNodeFlags(n))&&!e.isParameterDeclaration(n)&&(238!==n.kind||n.initializer)){var t=Gr(n);if(1&t.flags){if(!e.isIdentifier(n.name))return e.Debug.fail();var r=$t(n,n.name.escapedText,3,void 0,void 0,!1);if(r&&r!==t&&2&r.flags&&3&Ef(r)){var a=e.getAncestor(r.valueDeclaration,239),i=220===a.parent.kind&&a.parent.parent?a.parent.parent:void 0;if(!(i&&(219===i.kind&&e.isFunctionLike(i.parent)||246===i.kind||245===i.kind||285===i.kind))){var o=pa(r);Pt(n,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o)}}}}}(n),Hv(n,n.name),Kv(n,n.name))}}}function Wv(n,t,r,a){var i=e.getNameOfDeclaration(r),o=155===r.kind||154===r.kind?e.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:e.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,s=e.declarationNameToString(i),l=Pt(i,o,s,fa(t),fa(a));n&&e.addRelatedInfo(l,e.createDiagnosticForNode(n,e.Diagnostics._0_was_also_declared_here,s))}function qv(n,t){if(152===n.kind&&238===t.kind||238===n.kind&&152===t.kind)return!0;if(e.hasQuestionToken(n)!==e.hasQuestionToken(t))return!1;return e.getSelectedModifierFlags(n,504)===e.getSelectedModifierFlags(t,504)}function zv(n){return function(n){if(227!==n.parent.parent.kind&&228!==n.parent.parent.kind)if(4194304&n.flags)$y(n);else if(!n.initializer){if(e.isBindingPattern(n.name)&&!e.isBindingPattern(n.parent))return ab(n,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(n))return ab(n,e.Diagnostics.const_declarations_must_be_initialized)}if(n.exclamationToken&&(220!==n.parent.parent.kind||!n.type||n.initializer||4194304&n.flags))return ab(n.exclamationToken,e.Diagnostics.Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation);k.module===e.ModuleKind.ES2015||k.module===e.ModuleKind.ESNext||k.module===e.ModuleKind.System||k.noEmit||4194304&n.parent.parent.flags||!e.hasModifier(n.parent.parent,1)||function n(t){if(73===t.kind){if("__esModule"===e.idText(t))return ab(t,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var r=t.elements,a=0,i=r;a=1&&zv(n.declarations[0])}function $v(e,n){return eh(xf(e),e,!0,void 0!==n)}function eh(e,n,t,r){return Oa(e)?e:nh(e,n,t,r,!0)||se}function nh(n,t,r,a,i){if(n!==Ae){var o=M>=2,s=!o&&k.downlevelIteration;if(o||s||a){var l=th(n,o?t:void 0,a,!0,i);if(l||o)return l}var c=n,d=!1,u=!1;if(r){if(1048576&c.flags){var p=n.types,m=e.filter(p,(function(e){return!(132&e.flags)}));m!==p&&(c=Nl(m,2))}else 132&c.flags&&(c=Ae);if((u=c!==n)&&(M<1&&t&&(Pt(t,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),d=!0),131072&c.flags))return _e}if(!eu(c)){if(t&&!d){var f=!!th(n,void 0,a,!0,i);Pt(t,!r||u?s?e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:f?e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:e.Diagnostics.Type_0_is_not_an_array_type:s?e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:f?e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,fa(c))}return u?_e:void 0}var g=es(c,1);return u&&g?132&g.flags?_e:Nl([g,_e],2):g}rh(t,n,a)}function th(n,t,r,a,i){if(!Oa(n))return Gp(n,(function(n){var o=n;if(r){if(o.iteratedTypeOfAsyncIterable)return o.iteratedTypeOfAsyncIterable;if(ui(n,pl(!1))||ui(n,fl(!1)))return o.iteratedTypeOfAsyncIterable=n.typeArguments[0]}if(a){if(o.iteratedTypeOfIterable)return r?o.iteratedTypeOfAsyncIterable=fv(o.iteratedTypeOfIterable):o.iteratedTypeOfIterable;if(ui(n,gl(!1))||ui(n,vl(!1)))return r?o.iteratedTypeOfAsyncIterable=fv(n.typeArguments[0]):o.iteratedTypeOfIterable=n.typeArguments[0]}var s=r&&Ma(n,e.getPropertyNameForKnownSymbolName("asyncIterator")),l=s||(a?Ma(n,e.getPropertyNameForKnownSymbolName("iterator")):void 0);if(Oa(l))return;var c=l?Yo(l,0):void 0;if(!e.some(c))return void(t&&(rh(t,n,r),t=void 0));var d=ah(Nl(e.map(c,ys),2),t,!!s);i&&t&&d&&_d(n,s?function(e){return yl(pl(!0),[e])}(d):Tl(d),t);if(d)return r?o.iteratedTypeOfAsyncIterable=s?d:fv(d):o.iteratedTypeOfIterable=d}))}function rh(n,t,r){Pt(n,r?e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator,fa(t))}function ah(n,t,r){if(!Oa(n)){var a=n;if(r?a.iteratedTypeOfAsyncIterator:a.iteratedTypeOfIterator)return r?a.iteratedTypeOfAsyncIterator:a.iteratedTypeOfIterator;if(ui(n,(r?ml:_l)(!1)))return r?a.iteratedTypeOfAsyncIterator=n.typeArguments[0]:a.iteratedTypeOfIterator=n.typeArguments[0];var i=Ma(n,"next");if(!Oa(i)){var o=i?Yo(i,0):e.emptyArray;if(0!==o.length){var s=Nl(e.map(o,ys),2);if(!Oa(s)&&(!r||!Oa(s=uv(s,t,e.Diagnostics.The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property)))){var l=s&&Ma(s,"value");if(l)return r?a.iteratedTypeOfAsyncIterator=l:a.iteratedTypeOfIterator=l;t&&Pt(t,r?e.Diagnostics.The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:e.Diagnostics.The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property)}}else t&&Pt(t,r?e.Diagnostics.An_async_iterator_must_have_a_next_method:e.Diagnostics.An_iterator_must_have_a_next_method)}}}function ih(e,n){if(!Oa(e))return th(e,void 0,n,!n,!1)||ah(e,void 0,n)}function oh(n){ob(n)||function(n){var t=n;for(;t;){if(e.isFunctionLike(t))return ab(n,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(t.kind){case 234:if(n.label&&t.label.escapedText===n.label.escapedText)return!!(229===n.kind&&!e.isIterationStatement(t.statement,!0))&&ab(n,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);break;case 233:if(230===n.kind&&!n.label)return!1;break;default:if(e.isIterationStatement(t,!1)&&!n.label)return!1}t=t.parent}if(n.label){var r=230===n.kind?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return ab(n,r)}r=230===n.kind?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;ab(n,r)}(n)}function sh(n,t){var r=2===(3&e.getFunctionFlags(n))?pv(t):t;return!!r&&__(r,16387)}function lh(n){ob(n)||void 0===n.expression&&function(n,t,r,a,i){var o=e.getSourceFileOfNode(n);if(!nb(o)){var s=e.getSpanOfTokenAtPosition(o,n.pos);return dt.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,t,r,a,i)),!0}}(n,e.Diagnostics.Line_break_not_permitted_here),n.expression&&U_(n.expression)}function ch(n){var t,r=Os(n.symbol,1),a=Os(n.symbol,0),i=es(n,0),o=es(n,1);if(i||o){e.forEach(Co(n),(function(e){var t=di(e);m(e,t,n,a,i,0),m(e,t,n,r,o,1)}));var s=n.symbol.valueDeclaration;if(1&e.getObjectFlags(n)&&e.isClassLike(s))for(var l=0,c=s.members;lr)return!1;for(var d=0;d1)return tb(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);t=!0}else{if(e.Debug.assert(110===o.token),r)return tb(o,e.Diagnostics.implements_clause_already_seen);r=!0}Ky(o)}})(n)||Fy(n.typeParameters,t)}(n),Ev(n),n.name&&(dh(n.name,e.Diagnostics.Class_name_cannot_be_0),Hv(n,n.name),Kv(n,n.name),4194304&n.flags||(t=n.name,1===M&&"Object"===t.escapedText&&O!==e.ModuleKind.ES2015&&O!==e.ModuleKind.ESNext&&Pt(t,e.Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,e.ModuleKind[O]))),uh(e.getEffectiveTypeParameterDeclarations(n)),dv(n);var r=Gr(n),i=Ri(r),o=Zi(i),s=di(r);mh(r),function(n){var t;!function(e){e[e.Getter=1]="Getter",e[e.Setter=2]="Setter",e[e.Method=4]="Method",e[e.Property=3]="Property"}(t||(t={}));for(var r=e.createUnderscoreEscapedMap(),a=e.createUnderscoreEscapedMap(),i=0,o=n.members;i>s;case 48:return i>>>s;case 46:return i<1&&u(n,!!k.preserveConstEnums||!!k.isolatedModules)){var s=function(n){for(var t=0,r=n.declarations;t1)for(var o=0,s=r;o=0)if(r.hasRestParameter&&a.parameterIndex===r.parameters.length-1)Pt(i,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else{_d(a.type,di(r.parameters[a.parameterIndex]),n.type,void 0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)}))}else if(i){for(var o=!1,s=0,l=t.parameters;s0),r.length>1&&Pt(r[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var a=Tv(n.class.expression),i=e.getClassExtendsHeritageElement(t);if(i){var o=Tv(i.expression);o&&a.escapedText!==o.escapedText&&Pt(a,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(n.tagName),e.idText(a),e.idText(o))}}else Pt(t,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(n.tagName))}(n);case 310:case 303:return function(n){n.typeExpression||Pt(n.name,e.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),n.name&&dh(n.name,e.Diagnostics.Type_alias_name_cannot_be_0),Ih(n.typeExpression)}(n);case 309:return function(e){Ih(e.constraint);for(var n=0,t=e.typeParameters;n-1&&r0?s.statements[0].pos:s.end)-c,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),r=!0}if(a&&272===s.kind){var d=U_(s.expression),u=ou(d),p=i;u&&o||(d=u?su(d):d,p=su(i)),L_(p,d)||xd(d,p,s.expression,void 0)}e.forEach(s.statements,Ih)})),n.caseBlock.locals&&Lv(n.caseBlock)}(n);case 234:return function(n){ob(n)||e.findAncestor(n.parent,(function(t){return e.isFunctionLike(t)?"quit":234===t.kind&&t.label.escapedText===n.label.escapedText&&(ab(n.label,e.Diagnostics.Duplicate_label_0,e.getTextOfNode(n.label)),!0)})),Ih(n.statement)}(n);case 235:return lh(n);case 236:return function(n){ob(n),Fv(n.tryBlock);var t=n.catchClause;if(t){if(t.variableDeclaration)if(t.variableDeclaration.type)tb(t.variableDeclaration.type,e.Diagnostics.Catch_clause_variable_cannot_have_a_type_annotation);else if(t.variableDeclaration.initializer)tb(t.variableDeclaration.initializer,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer);else{var r=t.block.locals;r&&e.forEachKey(t.locals,(function(n){var t=r.get(n);t&&0!==(2&t.flags)&&ab(t.valueDeclaration,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,n)}))}Fv(t.block)}n.finallyBlock&&Fv(n.finallyBlock)}(n);case 238:return zv(n);case 187:return Jv(n);case 241:return function(n){n.name||e.hasModifier(n,512)||tb(n,e.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name),fh(n),e.forEach(n.members,Ih),Lv(n)}(n);case 242:return yh(n);case 243:return function(n){wy(n),dh(n.name,e.Diagnostics.Type_alias_name_cannot_be_0),uh(n.typeParameters),Ih(n.type),Lv(n)}(n);case 244:return function(n){if(a){wy(n),dh(n.name,e.Diagnostics.Enum_name_cannot_be_0),Hv(n,n.name),Kv(n,n.name),dv(n),bh(n);var t=Gr(n);if(n===e.getDeclarationOfKind(t,n.kind)){if(t.declarations.length>1){var r=e.isEnumConst(n);e.forEach(t.declarations,(function(n){e.isEnumDeclaration(n)&&e.isEnumConst(n)!==r&&Pt(e.getNameOfDeclaration(n),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}))}var i=!1;e.forEach(t.declarations,(function(n){if(244!==n.kind)return!1;var t=n;if(!t.members.length)return!1;var r=t.members[0];r.initializer||(i?Pt(r.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):i=!0)}))}}}(n);case 245:return Th(n);case 250:return function(n){if(!Dh(n,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(!wy(n)&&e.hasModifiers(n)&&tb(n,e.Diagnostics.An_import_declaration_cannot_have_modifiers),xh(n))){var t=n.importClause;if(t)if(t.name&&Ch(t),t.namedBindings)if(252===t.namedBindings.kind)Ch(t.namedBindings);else Lr(n,n.moduleSpecifier)&&e.forEach(t.namedBindings.elements,Ch)}}(n);case 249:return function(n){if(!Dh(n,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(wy(n),e.isInternalModuleImportEqualsDeclaration(n)||xh(n)))if(Ch(n),e.hasModifier(n,1)&&hr(n),260!==n.moduleReference.kind){var t=vr(Gr(n));if(t!==ie){if(67220415&t.flags){var r=Lh(n.moduleReference);1920&Tr(r,67221439).flags||Pt(r,e.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,e.declarationNameToString(r))}67897832&t.flags&&dh(n.name,e.Diagnostics.Import_name_cannot_be_0)}}else O>=e.ModuleKind.ES2015&&!(4194304&n.flags)&&ab(n,e.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}(n);case 256:return function(n){if(!Dh(n,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)&&(!wy(n)&&e.hasModifiers(n)&&tb(n,e.Diagnostics.An_export_declaration_cannot_have_modifiers),!n.moduleSpecifier||xh(n)))if(n.exportClause){e.forEach(n.exportClause.elements,kh);var t=246===n.parent.kind&&e.isAmbientModule(n.parent.parent),r=!t&&246===n.parent.kind&&!n.moduleSpecifier&&4194304&n.flags;285===n.parent.kind||t||r||Pt(n,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var a=Lr(n,n.moduleSpecifier);a&&Mr(a)&&Pt(n.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,pa(a)),O!==e.ModuleKind.System&&O!==e.ModuleKind.ES2015&&O!==e.ModuleKind.ESNext&&Iy(n,32768)}}(n);case 255:return function(n){if(!Dh(n,e.Diagnostics.An_export_assignment_can_only_be_used_in_a_module)){var t=285===n.parent.kind?n.parent:n.parent.parent;245!==t.kind||e.isAmbientModule(t)?(!wy(n)&&e.hasModifiers(n)&&tb(n,e.Diagnostics.An_export_assignment_cannot_have_modifiers),73===n.expression.kind?(hr(n),e.getEmitDeclarations(k)&&La(n.expression,!0)):k_(n.expression),Mh(t),4194304&n.flags&&!e.isEntityNameExpression(n.expression)&&ab(n.expression,e.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),!n.isExportEquals||4194304&n.flags||(O>=e.ModuleKind.ES2015?ab(n,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):O===e.ModuleKind.System&&ab(n,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))):n.isExportEquals?Pt(n,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):Pt(n,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module)}}(n);case 221:case 237:return void ob(n);case 259:(function(e){Ev(e)})(n)}}(n),v=t}}function Rh(n){e.isInJSFile(n)||ab(n,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function wh(n){var t=Xt(e.getSourceFileOfNode(n));if(!(1&t.flags)){t.deferredNodes=t.deferredNodes||e.createMap();var r=""+c(n);t.deferredNodes.set(r,n)}}function Nh(n){var t=v;switch(v=n,n.kind){case 197:case 198:case 157:case 156:!function(n){e.Debug.assert(157!==n.kind||e.isObjectLiteralMethod(n));var t=e.getFunctionFlags(n),r=l_(n,t);if(0===(1&t)&&o_(n,r),n.body)if(e.getEffectiveReturnTypeNode(n)||ys(ps(n)),219===n.body.kind)Ih(n.body);else{var a=U_(n.body);if(r)if(2===(3&t))vd(mv(a,n.body,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member),r,n.body,n.body);else vd(a,r,n.body,n.body)}}(n);break;case 159:case 160:$_(n);break;case 210:!function(n){e.forEach(n.members,Ih),Lv(n)}(n);break;case 262:!function(e){hf(e)}(n);break;case 261:!function(e){hf(e.openingElement),rf(e.closingElement.tagName)?cf(e.closingElement):U_(e.closingElement.tagName),of(e)}(n)}v=t}function Ph(n){e.performance.mark("beforeCheck"),function(n){var t=Xt(n);if(!(1&t.flags)){if(e.skipTypeChecking(n,k))return;!function(n){!!(4194304&n.flags)&&function(n){for(var t=0,r=n.statements;t0?e.concatenate(o,i):i}return e.forEach(r.getSourceFiles(),Ph),dt.getDiagnostics()}(n)}finally{f=void 0}}function Bh(){if(!a)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function Hh(e){switch(e.kind){case 151:case 241:case 242:case 243:case 244:return!0;default:return!1}}function Kh(e){for(;149===e.parent.kind;)e=e.parent;return 165===e.parent.kind}function jh(n,t){for(var r;(n=e.getContainingClass(n))&&!(r=t(n)););return r}function Uh(e,n){return!!jh(e,(function(e){return e===n}))}function Wh(e){return void 0!==function(e){for(;149===e.parent.kind;)e=e.parent;return 249===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:255===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function qh(n){if(e.isDeclarationName(n))return Gr(n.parent);if(e.isInJSFile(n)&&190===n.parent.kind&&n.parent===n.parent.parent.left){var t=function(n){switch(e.getAssignmentDeclarationKind(n.parent.parent)){case 1:case 3:return Gr(n.parent);case 4:case 2:case 5:return Gr(n.parent.parent)}}(n);if(t)return t}if(255===n.parent.kind&&e.isEntityNameExpression(n)){var r=Tr(n,70107135,!0);if(r&&r!==ie)return r}else if(!e.isPropertyAccessExpression(n)&&Wh(n)){var a=e.getAncestor(n,249);return e.Debug.assert(void 0!==a),br(n,!0)}if(!e.isPropertyAccessExpression(n)){var i=function(n){for(var t=n.parent;e.isQualifiedName(t);)n=t,t=t.parent;if(t&&184===t.kind&&t.qualifier===n)return t}(n);if(i){Oc(i);var o=Xt(n).resolvedSymbol;return o===ie?void 0:o}}for(;e.isRightSideOfQualifiedNameOrPropertyAccess(n);)n=n.parent;if(function(e){for(;190===e.parent.kind;)e=e.parent;return 212===e.parent.kind}(n)){var s=0;212===n.parent.kind?(s=67897832,e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)&&(s|=67220415)):s=1920,s|=2097152;var l=e.isEntityNameExpression(n)?Tr(n,s):void 0;if(l)return l}if(305===n.parent.kind)return e.getParameterSymbolFromJSDoc(n.parent);if(151===n.parent.kind&&309===n.parent.parent.kind){e.Debug.assert(!e.isInJSFile(n));var c=e.getTypeParameterFromJsDoc(n.parent);return c&&c.symbol}if(e.isExpressionNode(n)){if(e.nodeIsMissing(n))return;if(73===n.kind){if(e.isJSXTagName(n)&&rf(n)){var d=cf(n.parent);return d===ie?void 0:d}return Tr(n,67220415,!1,!0)}if(190===n.kind||149===n.kind){var u=Xt(n);return u.resolvedSymbol||(190===n.kind?kf(n):Mf(n)),u.resolvedSymbol}}else if(Kh(n)){return Tr(n,s=165===n.parent.kind?67897832:1920,!1,!0)}return 164===n.parent.kind?Tr(n,1):void 0}function zh(n){if(285===n.kind)return e.isExternalModule(n)?Fr(n.symbol):void 0;var t=n.parent,r=t.parent;if(!(8388608&n.flags)){if(p(n)){var a=Gr(t);return e.isImportOrExportSpecifier(n.parent)&&n.parent.propertyName===n?$m(a):a}if(e.isLiteralComputedPropertyDeclarationName(n))return Gr(t.parent);if(73===n.kind){if(Wh(n))return qh(n);if(187===t.kind&&185===r.kind&&n===t.propertyName){var i=Jo(Jh(r),n.escapedText);if(i)return i}}switch(n.kind){case 73:case 190:case 149:return qh(n);case 101:var o=e.getThisContainer(n,!1);if(e.isFunctionLike(o)){var s=ps(o);if(s.thisParameter)return s.thisParameter}if(e.isInExpressionContext(n))return U_(n).symbol;case 179:return Mc(n).symbol;case 99:return U_(n).symbol;case 125:var l=n.parent;return l&&158===l.kind?l.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n||(250===n.parent.kind||256===n.parent.kind)&&n.parent.moduleSpecifier===n||e.isInJSFile(n)&&e.isRequireCall(n.parent,!1)||e.isImportCall(n.parent)||e.isLiteralTypeNode(n.parent)&&e.isLiteralImportTypeNode(n.parent.parent)&&n.parent.parent.argument===n.parent)return Lr(n,n);if(e.isCallExpression(t)&&e.isBindableObjectDefinePropertyCall(t)&&t.arguments[1]===n)return Gr(t);case 8:var c=e.isElementAccessExpression(t)?t.argumentExpression===n?K_(t.expression):void 0:e.isLiteralTypeNode(t)&&e.isIndexedAccessTypeNode(r)?Oc(r.objectType):void 0;return c&&Jo(c,e.escapeLeadingUnderscores(n.text));case 81:case 91:case 37:case 77:return Gr(n.parent);case 184:return e.isLiteralImportTypeNode(n)?zh(n.argument.literal):void 0;case 86:return e.isExportAssignment(n.parent)?e.Debug.assertDefined(n.parent.symbol):void 0;default:return}}}function Jh(n){if(8388608&n.flags)return de;var t,r,a=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(n),i=a&&Ai(Gr(a.class));if(e.isPartOfTypeNode(n)){var o=Oc(n);return i?Zi(o,i.thisType):o}if(e.isExpressionNode(n))return Yh(n);if(i&&!a.isImplements){var s=e.firstOrUndefined(Li(i));return s?Zi(s,i.thisType):de}if(Hh(n))return Ri(r=Gr(n));if(73===(t=n).kind&&Hh(t.parent)&&t.parent.name===t)return(r=zh(n))?Ri(r):de;if(e.isDeclaration(n))return di(r=Gr(n));if(p(n))return(r=zh(n))?di(r):de;if(e.isBindingPattern(n))return ja(n.parent,!0)||de;if(Wh(n)&&(r=zh(n))){var l=Ri(r);return l!==de?l:di(r)}return de}function Xh(n){if(e.Debug.assert(189===n.kind||188===n.kind),228===n.parent.kind)return S_(n,$v(n.parent.expression,n.parent.awaitModifier)||de);if(205===n.parent.kind)return S_(n,K_(n.parent.right)||de);if(276===n.parent.kind){var t=e.cast(n.parent.parent,e.isObjectLiteralExpression);return E_(t,Xh(t)||de,e.indexOfNode(t.properties,n.parent))}var r=e.cast(n.parent,e.isArrayLiteralExpression),a=Xh(r)||de,i=eh(a,n.parent,!1,!1)||de;return T_(r,a,r.elements.indexOf(n),i)}function Yh(n){return e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),Ac(K_(n))}function Qh(n){var t=Gr(n.parent);return e.hasModifier(n,32)?di(t):Ri(t)}function Zh(n){var t=n.name;switch(t.kind){case 73:return Dc(e.idText(t));case 8:case 10:return Dc(t.text);case 150:var r=Qm(t);return v_(r,12288)?r:_e;default:return e.Debug.fail("Unsupported property name."),de}}function $h(n){n=Uo(n);var t=e.createSymbolTable(Mo(n)),r=Yo(n,0).length?Qe:Yo(n,1).length?Ze:void 0;return r&&e.forEach(Mo(r),(function(e){t.has(e.escapedName)||t.set(e.escapedName,e)})),Qr(t)}function ey(n){return e.typeHasCallOrConstructSignatures(n,X)}function ny(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t)return!(190===t.parent.kind&&t.parent.name===t)&&Cy(t)===z}return!1}function ty(n){var t=Lr(n.parent,n);if(!t||e.isShorthandAmbientModuleSymbol(t))return!0;var r=Mr(t),a=Jt(t=Dr(t));return void 0===a.exportsSomeValue&&(a.exportsSomeValue=r?!!(67220415&t.flags):e.forEachEntry(wr(t),(function(e){return(e=_r(e))&&!!(67220415&e.flags)}))),a.exportsSomeValue}function ry(n,t){var r=e.getParseTreeNode(n,e.isIdentifier);if(r){var a=Cy(r,function(n){return e.isModuleOrEnumDeclaration(n.parent)&&n===n.parent.name}(r));if(a){if(1048576&a.flags){var i=Fr(a.exportSymbol);if(!t&&944&i.flags&&!(3&i.flags))return;a=i}var o=Vr(a);if(o){if(512&o.flags&&285===o.valueDeclaration.kind){var s=o.valueDeclaration;return s!==e.getSourceFileOfNode(r)?void 0:s}return e.findAncestor(r.parent,(function(n){return e.isModuleOrEnumDeclaration(n)&&Gr(n)===o}))}}}}function ay(n){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=Cy(t);if(gr(r,67220415))return lr(r)}}function iy(n){if(418&n.flags&&!e.isSourceFile(n.valueDeclaration)){var t=Jt(n);if(void 0===t.isDeclarationWithCollidingName){var r=e.getEnclosingBlockScopeContainer(n.valueDeclaration);if(e.isStatementWithLocals(r)||function(n){return e.isBindingElement(n.valueDeclaration)&&275===e.walkUpBindingElementsAndPatterns(n.valueDeclaration).parent.kind}(n)){var a=Xt(n.valueDeclaration);if($t(r.parent,n.escapedName,67220415,void 0,void 0,!1))t.isDeclarationWithCollidingName=!0;else if(262144&a.flags){var i=524288&a.flags,o=e.isIterationStatement(r,!1),s=219===r.kind&&e.isIterationStatement(r.parent,!1);t.isDeclarationWithCollidingName=!e.isBlockScopedContainerTopLevel(r)&&(!i||!o&&!s)}else t.isDeclarationWithCollidingName=!1}}return t.isDeclarationWithCollidingName}return!1}function oy(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=Cy(t);if(r&&iy(r))return r.valueDeclaration}}}function sy(n){var t=e.getParseTreeNode(n,e.isDeclaration);if(t){var r=Gr(t);if(r)return iy(r)}return!1}function ly(n){switch(n.kind){case 249:case 251:case 252:case 254:case 258:return dy(Gr(n)||ie);case 256:var t=n.exportClause;return!!t&&e.some(t.elements,ly);case 255:return!n.expression||73!==n.expression.kind||dy(Gr(n)||ie)}return!1}function cy(n){var t=e.getParseTreeNode(n,e.isImportEqualsDeclaration);return!(void 0===t||285!==t.parent.kind||!e.isInternalModuleImportEqualsDeclaration(t))&&(dy(Gr(t))&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference))}function dy(e){var n=vr(e);return n===ie||!!(67220415&n.flags)&&(k.preserveConstEnums||!uy(n))}function uy(e){return b_(e)||!!e.constEnumOnlyModule}function py(n){if(e.nodeIsPresent(n.body)){if(e.isGetAccessor(n)||e.isSetAccessor(n))return!1;var t=gs(Gr(n));return t.length>1||1===t.length&&t[0].declaration!==n}return!1}function my(n){return!!R&&!os(n)&&!e.isJSDocParameterTag(n)&&!!n.initializer&&!e.hasModifier(n,92)}function fy(n){return R&&os(n)&&!n.initializer&&e.hasModifier(n,92)}function gy(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return!1;var r=Gr(t);return!!(r&&16&r.flags)&&!!e.forEachEntry(Rr(r),(function(n){return 67220415&n.flags&&e.isPropertyAccessExpression(n.valueDeclaration)}))}function _y(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return e.emptyArray;var r=Gr(t);return r&&Mo(di(r))||e.emptyArray}function vy(e){return Xt(e).flags||0}function hy(e){return bh(e.parent),Xt(e).enumMemberValue}function yy(e){switch(e.kind){case 279:case 190:case 191:return!0}return!1}function by(n){if(279===n.kind)return hy(n);var t=Xt(n).resolvedSymbol;if(t&&8&t.flags){var r=t.valueDeclaration;if(e.isEnumConst(r.parent))return hy(r)}}function Ey(e){return!!(524288&e.flags)&&Yo(e,0).length>0}function Ty(n,t){var r=e.getParseTreeNode(n,e.isEntityName);if(!r)return e.TypeReferenceSerializationKind.Unknown;if(t&&!(t=e.getParseTreeNode(t)))return e.TypeReferenceSerializationKind.Unknown;var a=Tr(r,67220415,!0,!1,t),i=Tr(r,67897832,!0,!1,t);if(a&&a===i){var o=ul(!1);if(o&&a===o)return e.TypeReferenceSerializationKind.Promise;var s=di(a);if(s&&yi(s))return e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!i)return e.TypeReferenceSerializationKind.Unknown;var l=Ri(i);return l===de?e.TypeReferenceSerializationKind.Unknown:3&l.flags?e.TypeReferenceSerializationKind.ObjectType:v_(l,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:v_(l,528)?e.TypeReferenceSerializationKind.BooleanType:v_(l,296)?e.TypeReferenceSerializationKind.NumberLikeType:v_(l,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:v_(l,132)?e.TypeReferenceSerializationKind.StringLikeType:uu(l)?e.TypeReferenceSerializationKind.ArrayLikeType:v_(l,12288)?e.TypeReferenceSerializationKind.ESSymbolType:Ey(l)?e.TypeReferenceSerializationKind.TypeWithCallSignature:Qd(l)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function Sy(n,t,r,a,i){var o=e.getParseTreeNode(n,e.isVariableLikeOrAccessor);if(!o)return e.createToken(121);var s=Gr(o),l=!s||133120&s.flags?de:lu(di(s));return 8192&l.flags&&l.symbol===s&&(r|=1048576),i&&(l=bu(l)),K.typeToTypeNode(l,t,1024|r,a)}function Ly(n,t,r,a){var i=e.getParseTreeNode(n,e.isFunctionLike);if(!i)return e.createToken(121);var o=ps(i);return K.typeToTypeNode(ys(o),t,1024|r,a)}function xy(n,t,r,a){var i=e.getParseTreeNode(n,e.isExpression);if(!i)return e.createToken(121);var o=ku(Yh(i));return K.typeToTypeNode(o,t,1024|r,a)}function Ay(n){return j.has(e.escapeLeadingUnderscores(n))}function Cy(n,t){var r=Xt(n).resolvedSymbol;if(r)return r;var a=n;if(t){var i=n.parent;e.isDeclaration(i)&&n===i.name&&(a=ka(i))}return $t(a,n.escapedText,70366143,void 0,void 0,!0)}function Dy(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=Cy(t);if(r)return Kr(r).valueDeclaration}}}function ky(n){return!!(e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n))&&Cc(di(Gr(n)))}function My(n,t){return function(n,t,r){return(1024&n.flags?K.symbolToExpression(n.symbol,67220415,t,void 0,r):n===Ee?e.createTrue():n===ye&&e.createFalse())||e.createLiteral(n.value)}(di(Gr(n)),n,t)}function Oy(n){var t=245===n.kind?e.tryCast(n.name,e.isStringLiteral):e.getExternalModuleName(n),r=xr(t,t,void 0);if(r)return e.getDeclarationOfKind(r,285)}function Iy(n,t){if((g&t)!==t&&k.importHelpers){var r=e.getSourceFileOfNode(n);if(e.isEffectiveExternalModule(r,k)&&!(4194304&n.flags)){var a=function(n,t){_||(_=Ar(n,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,t)||ie);return _}(r,n);if(a!==ie)for(var i=t&~g,o=1;o<=65536;o<<=1)if(i&o){var s=Ry(o);Qt(a.exports,e.escapeLeadingUnderscores(s),67220415)||Pt(n,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1,e.externalHelpersModuleNameText,s)}g|=t}}}function Ry(n){switch(n){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spread";case 2048:return"__await";case 4096:return"__asyncGenerator";case 8192:return"__asyncDelegator";case 16384:return"__asyncValues";case 32768:return"__exportStar";case 65536:return"__makeTemplateObject";default:return e.Debug.fail("Unrecognized helper")}}function wy(n){return function(n){if(!n.decorators)return!1;if(!e.nodeCanBeDecorated(n,n.parent,n.parent.parent))return 157!==n.kind||e.nodeIsPresent(n.body)?tb(n,e.Diagnostics.Decorators_are_not_valid_here):tb(n,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(159===n.kind||160===n.kind){var t=e.getAllAccessorDeclarations(n.parent.members,n);if(t.firstAccessor.decorators&&n===t.secondAccessor)return tb(n,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}(n)||function(n){var t,r,a,i,o=function(n){return!!n.modifiers&&(function(n){switch(n.kind){case 159:case 160:case 158:case 155:case 154:case 157:case 156:case 163:case 245:case 250:case 249:case 256:case 255:case 197:case 198:case 152:return!1;default:if(246===n.parent.kind||285===n.parent.kind)return!1;switch(n.kind){case 240:return Ny(n,122);case 241:return Ny(n,119);case 242:case 220:case 243:return!0;case 244:return Ny(n,78);default:return e.Debug.fail(),!1}}}(n)?tb(n,e.Diagnostics.Modifiers_cannot_appear_here):void 0)}(n);if(void 0!==o)return o;for(var s=0,l=0,c=n.modifiers;l1||e.modifiers[0].kind!==n}function Py(n,t){return void 0===t&&(t=e.Diagnostics.Trailing_comma_not_allowed),!(!n||!n.hasTrailingComma)&&rb(n[0],n.end-",".length,",".length,t)}function Fy(n,t){if(n&&0===n.length){var r=n.pos-"<".length;return rb(t,r,e.skipTrivia(t.text,n.end)+">".length-r,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function Gy(n){if(M>=3){var t=n.body&&e.isBlock(n.body)&&e.findUseStrictPrologue(n.body.statements);if(t){var r=(i=n.parameters,e.filter(i,(function(n){return!!n.initializer||e.isBindingPattern(n.name)||e.isRestParameter(n)})));if(e.length(r)){e.forEach(r,(function(n){e.addRelatedInfo(Pt(n,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(t,e.Diagnostics.use_strict_directive_used_here))}));var a=r.map((function(n,t){return 0===t?e.createDiagnosticForNode(n,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(n,e.Diagnostics.and_here)}));return e.addRelatedInfo.apply(void 0,[Pt(t,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)].concat(a)),!0}}}var i;return!1}function Vy(n){var t=e.getSourceFileOfNode(n);return wy(n)||Fy(n.typeParameters,t)||function(n){for(var t=!1,r=n.length,a=0;a".length-a,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}(n,t)}function Hy(n){return function(n){if(n)for(var t=0,r=n;t1){t=227===n.kind?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return tb(i.declarations[1],t)}var s=o[0];if(s.initializer){var t=227===n.kind?e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return ab(s.name,t)}if(s.type)return ab(s,t=227===n.kind?e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:e.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation)}}return!1}function Xy(n){if(n.parameters.length===(159===n.kind?1:2))return e.getThisParameter(n)}function Yy(n,t){if(function(n){return e.isDynamicName(n)&&!ji(n)}(n))return ab(n,t)}function Qy(n){if(Vy(n))return!0;if(157===n.kind){if(189===n.parent.kind){if(n.modifiers&&(1!==n.modifiers.length||122!==e.first(n.modifiers).kind))return tb(n,e.Diagnostics.Modifiers_cannot_appear_here);if(qy(n.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(zy(n.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(void 0===n.body)return rb(n,n.end-1,";".length,e.Diagnostics._0_expected,"{")}else if(e.isClassLike(n.parent)&&e.isStringLiteral(n.name)&&"constructor"===n.name.text&&(!k.target||k.target<1))return ab(n.name,e.Diagnostics.Quoted_constructors_have_previously_been_interpreted_as_methods_which_is_incorrect_In_TypeScript_3_6_they_will_be_correctly_parsed_as_constructors_In_the_meantime_consider_using_constructor_to_write_a_constructor_or_constructor_to_write_a_method);if(Wy(n))return!0}if(e.isClassLike(n.parent)){if(4194304&n.flags)return Yy(n.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(157===n.kind&&!n.body)return Yy(n.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(242===n.parent.kind)return Yy(n.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(169===n.parent.kind)return Yy(n.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function Zy(e){return 10===e.kind||8===e.kind||203===e.kind&&39===e.operator&&8===e.operand.kind}function $y(n){var t,r=n.initializer;if(r){var a=!(Zy(r)||function(n){if((e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)&&Zy(n.argumentExpression))&&e.isEntityNameExpression(n.expression))return!!(1024&k_(n).flags)}(r)||103===r.kind||88===r.kind||(t=r,9===t.kind||203===t.kind&&39===t.operator&&9===t.operand.kind)),i=e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n);if(!i||n.type)return ab(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(a)return ab(r,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference);if(!i||a)return ab(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function eb(n){var t=n.declarations;return!!Py(n.declarations)||!n.declarations.length&&rb(n,t.pos,t.end-t.pos,e.Diagnostics.Variable_declaration_list_cannot_be_empty)}function nb(e){return e.parseDiagnostics.length>0}function tb(n,t,r,a,i){var o=e.getSourceFileOfNode(n);if(!nb(o)){var s=e.getSpanOfTokenAtPosition(o,n.pos);return dt.add(e.createFileDiagnostic(o,s.start,s.length,t,r,a,i)),!0}return!1}function rb(n,t,r,a,i,o,s){var l=e.getSourceFileOfNode(n);return!nb(l)&&(dt.add(e.createFileDiagnostic(l,t,r,a,i,o,s)),!0)}function ab(n,t,r,a,i){return!nb(e.getSourceFileOfNode(n))&&(dt.add(e.createDiagnosticForNode(n,t,r,a,i)),!0)}function ib(n){return 242!==n.kind&&243!==n.kind&&250!==n.kind&&249!==n.kind&&256!==n.kind&&255!==n.kind&&248!==n.kind&&!e.hasModifier(n,515)&&tb(n,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function ob(n){if(4194304&n.flags){if(e.isAccessor(n.parent))return Xt(n).hasReportedStatementInAmbientContext=!0;if(!Xt(n).hasReportedStatementInAmbientContext&&e.isFunctionLike(n.parent))return Xt(n).hasReportedStatementInAmbientContext=tb(n,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);if(219===n.parent.kind||246===n.parent.kind||285===n.parent.kind){var t=Xt(n.parent);if(!t.hasReportedStatementInAmbientContext)return t.hasReportedStatementInAmbientContext=tb(n,e.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function sb(n){if(32&n.numericLiteralFlags){var t=void 0;if(M>=1?t=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(n,183)?t=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(n,279)&&(t=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),t){var r=e.isPrefixUnaryExpression(n.parent)&&39===n.parent.operator,a=(r?"-":"")+"0o"+n.text;return ab(r?n.parent:n,t,a)}}return!1}},function(e){e.JSX="JSX",e.IntrinsicElements="IntrinsicElements",e.ElementClass="ElementClass",e.ElementAttributesPropertyNameContainer="ElementAttributesProperty",e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",e.Element="Element",e.IntrinsicAttributes="IntrinsicAttributes",e.IntrinsicClassAttributes="IntrinsicClassAttributes",e.LibraryManagedAttributes="LibraryManagedAttributes"}(n||(n={}))}(c||(c={})),function(e){function n(n){var t=e.createNode(n,-1,-1);return t.flags|=8,t}function t(n,t){return n!==t&&(Yn(n,t),Un(n,t),e.aggregateTransformFlags(n)),n}function r(n,t){if(n&&n!==e.emptyArray){if(e.isNodeArray(n))return n}else n=[];var r=n;return r.pos=-1,r.end=-1,r.hasTrailingComma=t,r}function a(e){if(void 0===e)return e;var t=n(e.kind);for(var r in t.flags|=e.flags,Yn(t,e),e)!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function i(n,t){if("number"===typeof n)return o(n+"");if("object"===typeof n&&"base10Value"in n)return s(e.pseudoBigIntToString(n)+"n");if("boolean"===typeof n)return n?g():_();if(e.isString(n)){var r=l(n);return t&&(r.singleQuote=!0),r}return function(n){var t=l(e.getTextOfIdentifierOrLiteral(n));return t.textSourceNode=n,t}(n)}function o(e,t){void 0===t&&(t=0);var r=n(8);return r.text=e,r.numericLiteralFlags=t,r}function s(e){var t=n(9);return t.text=e,t}function l(e){var t=n(10);return t.text=e,t}function c(t,a){var i=n(73);return i.escapedText=e.escapeLeadingUnderscores(t),i.originalKeywordKind=t?e.stringToToken(t):0,i.autoGenerateFlags=0,i.autoGenerateId=0,a&&(i.typeArguments=r(a)),i}e.updateNode=t,e.createNodeArray=r,e.getSynthesizedClone=a,e.createLiteral=i,e.createNumericLiteral=o,e.createBigIntLiteral=s,e.createStringLiteral=l,e.createRegularExpressionLiteral=function(e){var t=n(13);return t.text=e,t},e.createIdentifier=c,e.updateIdentifier=function(n,r){return n.typeArguments!==r?t(c(e.idText(n),r),n):n};var d,u,p=0;function m(e){var n=c(e);return n.autoGenerateFlags=19,n.autoGenerateId=p,p++,n}function f(e){return n(e)}function g(){return n(103)}function _(){return n(88)}function v(e){return f(e)}function h(e,t){var r=n(149);return r.left=e,r.right=Hn(t),r}function y(t){var r=n(150);return r.expression=function(n){return e.isCommaSequence(n)?le(n):n}(t),r}function b(e,t,r){var a=n(151);return a.name=Hn(e),a.constraint=t,a.default=r,a}function E(t,r,a,i,o,s,l){var c=n(152);return c.decorators=Kn(t),c.modifiers=Kn(r),c.dotDotDotToken=a,c.name=Hn(i),c.questionToken=o,c.type=s,c.initializer=l?e.parenthesizeExpressionForList(l):void 0,c}function T(t){var r=n(153);return r.expression=e.parenthesizeForAccess(t),r}function S(e,t,r,a,i){var o=n(154);return o.modifiers=Kn(e),o.name=Hn(t),o.questionToken=r,o.type=a,o.initializer=i,o}function L(e,t,r,a,i,o){var s=n(155);return s.decorators=Kn(e),s.modifiers=Kn(t),s.name=Hn(r),s.questionToken=void 0!==a&&56===a.kind?a:void 0,s.exclamationToken=void 0!==a&&52===a.kind?a:void 0,s.type=i,s.initializer=o,s}function x(e,n,t,r,a){var i=O(156,e,n,t);return i.name=Hn(r),i.questionToken=a,i}function A(e,t,a,i,o,s,l,c,d){var u=n(157);return u.decorators=Kn(e),u.modifiers=Kn(t),u.asteriskToken=a,u.name=Hn(i),u.questionToken=o,u.typeParameters=Kn(s),u.parameters=r(l),u.type=c,u.body=d,u}function C(e,t,a,i){var o=n(158);return o.decorators=Kn(e),o.modifiers=Kn(t),o.typeParameters=void 0,o.parameters=r(a),o.type=void 0,o.body=i,o}function D(e,t,a,i,o,s){var l=n(159);return l.decorators=Kn(e),l.modifiers=Kn(t),l.name=Hn(a),l.typeParameters=void 0,l.parameters=r(i),l.type=o,l.body=s,l}function k(e,t,a,i,o){var s=n(160);return s.decorators=Kn(e),s.modifiers=Kn(t),s.name=Hn(a),s.typeParameters=void 0,s.parameters=r(i),s.body=o,s}function M(e,t,a,i){var o=n(163);return o.decorators=Kn(e),o.modifiers=Kn(t),o.parameters=r(a),o.type=i,o}function O(e,t,r,a,i){var o=n(e);return o.typeParameters=Kn(t),o.parameters=Kn(r),o.type=a,o.typeArguments=Kn(i),o}function I(e,n,r,a){return e.typeParameters!==n||e.parameters!==r||e.type!==a?t(O(e.kind,n,r,a),e):e}function R(e,t){var r=n(164);return r.parameterName=Hn(e),r.type=t,r}function w(t,r){var a=n(165);return a.typeName=Hn(t),a.typeArguments=r&&e.parenthesizeTypeParameters(r),a}function N(e){var t=n(168);return t.exprName=e,t}function P(e){var t=n(169);return t.members=r(e),t}function F(t){var r=n(170);return r.elementType=e.parenthesizeArrayTypeMember(t),r}function G(e){var t=n(171);return t.elementTypes=r(e),t}function V(t){var r=n(172);return r.type=e.parenthesizeArrayTypeMember(t),r}function B(e){var t=n(173);return t.type=e,t}function H(t,r){var a=n(t);return a.types=e.parenthesizeElementTypeMembers(r),a}function K(e,n){return e.types!==n?t(H(e.kind,n),e):e}function j(t,r,a,i){var o=n(176);return o.checkType=e.parenthesizeConditionalTypeMember(t),o.extendsType=e.parenthesizeConditionalTypeMember(r),o.trueType=a,o.falseType=i,o}function U(e){var t=n(177);return t.typeParameter=e,t}function W(t,r,a,i){var o=n(184);return o.argument=t,o.qualifier=r,o.typeArguments=e.parenthesizeTypeParameters(a),o.isTypeOf=i,o}function q(e){var t=n(178);return t.type=e,t}function z(t,r){var a=n(180);return a.operator="number"===typeof t?t:130,a.type=e.parenthesizeElementTypeMember("number"===typeof t?r:t),a}function J(t,r){var a=n(181);return a.objectType=e.parenthesizeElementTypeMember(t),a.indexType=r,a}function X(e,t,r,a){var i=n(182);return i.readonlyToken=e,i.typeParameter=t,i.questionToken=r,i.type=a,i}function Y(e){var t=n(183);return t.literal=e,t}function Q(e){var t=n(185);return t.elements=r(e),t}function Z(e){var t=n(186);return t.elements=r(e),t}function $(e,t,r,a){var i=n(187);return i.dotDotDotToken=e,i.propertyName=Hn(t),i.name=Hn(r),i.initializer=a,i}function ee(t,a){var i=n(188);return i.elements=e.parenthesizeListElements(r(t)),a&&(i.multiLine=!0),i}function ne(e,t){var a=n(189);return a.properties=r(e),t&&(a.multiLine=!0),a}function te(t,r){var a=n(190);return a.expression=e.parenthesizeForAccess(t),a.name=Hn(r),Wn(a,131072),a}function re(t,r){var a,o=n(191);return o.expression=e.parenthesizeForAccess(t),o.argumentExpression=(a=r,e.isString(a)||"number"===typeof a?i(a):a),o}function ae(t,a,i){var o=n(192);return o.expression=e.parenthesizeForAccess(t),o.typeArguments=Kn(a),o.arguments=e.parenthesizeListElements(r(i)),o}function ie(t,a,i){var o=n(193);return o.expression=e.parenthesizeForNew(t),o.typeArguments=Kn(a),o.arguments=i?e.parenthesizeListElements(r(i)):void 0,o}function oe(t,r,a){var i=n(194);return i.tag=e.parenthesizeForAccess(t),a?(i.typeArguments=Kn(r),i.template=a):(i.typeArguments=void 0,i.template=r),i}function se(t,r){var a=n(195);return a.type=t,a.expression=e.parenthesizePrefixOperand(r),a}function le(e){var t=n(196);return t.expression=e,t}function ce(e,t,a,i,o,s,l){var c=n(197);return c.modifiers=Kn(e),c.asteriskToken=t,c.name=Hn(a),c.typeParameters=Kn(i),c.parameters=r(o),c.type=s,c.body=l,c}function de(t,a,i,o,s,l){var c=n(198);return c.modifiers=Kn(t),c.typeParameters=Kn(a),c.parameters=r(i),c.type=o,c.equalsGreaterThanToken=s||f(37),c.body=e.parenthesizeConciseBody(l),c}function ue(t){var r=n(199);return r.expression=e.parenthesizePrefixOperand(t),r}function pe(t){var r=n(200);return r.expression=e.parenthesizePrefixOperand(t),r}function me(t){var r=n(201);return r.expression=e.parenthesizePrefixOperand(t),r}function fe(t){var r=n(202);return r.expression=e.parenthesizePrefixOperand(t),r}function ge(t,r){var a=n(203);return a.operator=t,a.operand=e.parenthesizePrefixOperand(r),a}function _e(t,r){var a=n(204);return a.operand=e.parenthesizePostfixOperand(t),a.operator=r,a}function ve(t,r,a){var i,o=n(205),s="number"===typeof(i=r)?f(i):i,l=s.kind;return o.left=e.parenthesizeBinaryOperand(l,t,!0,void 0),o.operatorToken=s,o.right=e.parenthesizeBinaryOperand(l,a,!1,o.left),o}function he(t,r,a,i,o){var s=n(206);return s.condition=e.parenthesizeForConditionalHead(t),s.questionToken=o?r:f(56),s.whenTrue=e.parenthesizeSubexpressionOfConditionalExpression(o?a:r),s.colonToken=o?i:f(57),s.whenFalse=e.parenthesizeSubexpressionOfConditionalExpression(o||a),s}function ye(e,t){var a=n(207);return a.head=e,a.templateSpans=r(t),a}function be(e,t){var r=n(208);return r.asteriskToken=e&&40===e.kind?e:void 0,r.expression=e&&40!==e.kind?e:t,r}function Ee(t){var r=n(209);return r.expression=e.parenthesizeExpressionForList(t),r}function Te(e,t,a,i,o){var s=n(210);return s.decorators=void 0,s.modifiers=Kn(e),s.name=Hn(t),s.typeParameters=Kn(a),s.heritageClauses=Kn(i),s.members=r(o),s}function Se(t,r){var a=n(212);return a.expression=e.parenthesizeForAccess(r),a.typeArguments=Kn(t),a}function Le(e,t){var r=n(213);return r.expression=e,r.type=t,r}function xe(t){var r=n(214);return r.expression=e.parenthesizeForAccess(t),r}function Ae(e,t){var r=n(215);return r.keywordToken=e,r.name=t,r}function Ce(e,t){var r=n(217);return r.expression=e,r.literal=t,r}function De(e,t){var a=n(219);return a.statements=r(e),t&&(a.multiLine=t),a}function ke(t,r){var a=n(220);return a.decorators=void 0,a.modifiers=Kn(t),a.declarationList=e.isArray(r)?ze(r):r,a}function Me(t){var r=n(222);return r.expression=e.parenthesizeExpressionForExpressionStatement(t),r}function Oe(e,n){return e.expression!==n?t(Me(n),e):e}function Ie(e,t,r){var a=n(223);return a.expression=e,a.thenStatement=t,a.elseStatement=r,a}function Re(e,t){var r=n(224);return r.statement=e,r.expression=t,r}function we(e,t){var r=n(225);return r.expression=e,r.statement=t,r}function Ne(e,t,r,a){var i=n(226);return i.initializer=e,i.condition=t,i.incrementor=r,i.statement=a,i}function Pe(e,t,r){var a=n(227);return a.initializer=e,a.expression=t,a.statement=r,a}function Fe(e,t,r,a){var i=n(228);return i.awaitModifier=e,i.initializer=t,i.expression=r,i.statement=a,i}function Ge(e){var t=n(229);return t.label=Hn(e),t}function Ve(e){var t=n(230);return t.label=Hn(e),t}function Be(e){var t=n(231);return t.expression=e,t}function He(e,t){var r=n(232);return r.expression=e,r.statement=t,r}function Ke(t,r){var a=n(233);return a.expression=e.parenthesizeExpressionForList(t),a.caseBlock=r,a}function je(e,t){var r=n(234);return r.label=Hn(e),r.statement=t,r}function Ue(e){var t=n(235);return t.expression=e,t}function We(e,t,r){var a=n(236);return a.tryBlock=e,a.catchClause=t,a.finallyBlock=r,a}function qe(t,r,a){var i=n(238);return i.name=Hn(t),i.type=r,i.initializer=void 0!==a?e.parenthesizeExpressionForList(a):void 0,i}function ze(e,t){void 0===t&&(t=0);var a=n(239);return a.flags|=3&t,a.declarations=r(e),a}function Je(e,t,a,i,o,s,l,c){var d=n(240);return d.decorators=Kn(e),d.modifiers=Kn(t),d.asteriskToken=a,d.name=Hn(i),d.typeParameters=Kn(o),d.parameters=r(s),d.type=l,d.body=c,d}function Xe(e,t,a,i,o,s){var l=n(241);return l.decorators=Kn(e),l.modifiers=Kn(t),l.name=Hn(a),l.typeParameters=Kn(i),l.heritageClauses=Kn(o),l.members=r(s),l}function Ye(e,t,a,i,o,s){var l=n(242);return l.decorators=Kn(e),l.modifiers=Kn(t),l.name=Hn(a),l.typeParameters=Kn(i),l.heritageClauses=Kn(o),l.members=r(s),l}function Qe(e,t,r,a,i){var o=n(243);return o.decorators=Kn(e),o.modifiers=Kn(t),o.name=Hn(r),o.typeParameters=Kn(a),o.type=i,o}function Ze(e,t,a,i){var o=n(244);return o.decorators=Kn(e),o.modifiers=Kn(t),o.name=Hn(a),o.members=r(i),o}function $e(e,t,r,a,i){void 0===i&&(i=0);var o=n(245);return o.flags|=532&i,o.decorators=Kn(e),o.modifiers=Kn(t),o.name=r,o.body=a,o}function en(e){var t=n(246);return t.statements=r(e),t}function nn(e){var t=n(247);return t.clauses=r(e),t}function tn(e){var t=n(248);return t.name=Hn(e),t}function rn(e,t,r,a){var i=n(249);return i.decorators=Kn(e),i.modifiers=Kn(t),i.name=Hn(r),i.moduleReference=a,i}function an(e,t,r,a){var i=n(250);return i.decorators=Kn(e),i.modifiers=Kn(t),i.importClause=r,i.moduleSpecifier=a,i}function on(e,t){var r=n(251);return r.name=e,r.namedBindings=t,r}function sn(e){var t=n(252);return t.name=e,t}function ln(e){var t=n(253);return t.elements=r(e),t}function cn(e,t){var r=n(254);return r.propertyName=e,r.name=t,r}function dn(t,r,a,i){var o=n(255);return o.decorators=Kn(t),o.modifiers=Kn(r),o.isExportEquals=a,o.expression=a?e.parenthesizeBinaryOperand(60,i,!1,void 0):e.parenthesizeDefaultExpression(i),o}function un(e,t,r,a){var i=n(256);return i.decorators=Kn(e),i.modifiers=Kn(t),i.exportClause=r,i.moduleSpecifier=a,i}function pn(e){var t=n(257);return t.elements=r(e),t}function mn(e,t){var r=n(258);return r.propertyName=Hn(e),r.name=Hn(t),r}function fn(e){var t=n(260);return t.expression=e,t}function gn(e,t){var r=n(e);return r.tagName=c(t),r}function _n(e,t,a){var i=n(261);return i.openingElement=e,i.children=r(t),i.closingElement=a,i}function vn(e,t,r){var a=n(262);return a.tagName=e,a.typeArguments=Kn(t),a.attributes=r,a}function hn(e,t,r){var a=n(263);return a.tagName=e,a.typeArguments=Kn(t),a.attributes=r,a}function yn(e){var t=n(264);return t.tagName=e,t}function bn(e,t,a){var i=n(265);return i.openingFragment=e,i.children=r(t),i.closingFragment=a,i}function En(e,t){var r=n(11);return r.text=e,r.containsOnlyTriviaWhiteSpaces=!!t,r}function Tn(e,t){var r=n(268);return r.name=e,r.initializer=t,r}function Sn(e){var t=n(269);return t.properties=r(e),t}function Ln(e){var t=n(270);return t.expression=e,t}function xn(e,t){var r=n(271);return r.dotDotDotToken=e,r.expression=t,r}function An(t,a){var i=n(272);return i.expression=e.parenthesizeExpressionForList(t),i.statements=r(a),i}function Cn(e){var t=n(273);return t.statements=r(e),t}function Dn(e,t){var a=n(274);return a.token=e,a.types=r(t),a}function kn(t,r){var a=n(275);return a.variableDeclaration=e.isString(t)?qe(t):t,a.block=r,a}function Mn(t,r){var a=n(276);return a.name=Hn(t),a.questionToken=void 0,a.initializer=e.parenthesizeExpressionForList(r),a}function On(t,r){var a=n(277);return a.name=Hn(t),a.objectAssignmentInitializer=void 0!==r?e.parenthesizeExpressionForList(r):void 0,a}function In(t){var r=n(278);return r.expression=e.parenthesizeExpressionForList(t),r}function Rn(t,r){var a=n(279);return a.name=Hn(t),a.initializer=r&&e.parenthesizeExpressionForList(r),a}function wn(e,t){var r=n(314);return r.expression=e,r.original=t,Un(r,t),r}function Nn(n){if(e.nodeIsSynthesized(n)&&!e.isParseTreeNode(n)&&!n.original&&!n.emitNode&&!n.id){if(315===n.kind)return n.elements;if(e.isBinaryExpression(n)&&27===n.operatorToken.kind)return[n.left,n.right]}return n}function Pn(t){var a=n(315);return a.elements=r(e.sameFlatMap(t,Nn)),a}function Fn(n,t){void 0===t&&(t=e.emptyArray);var r=e.createNode(286);return r.prepends=t,r.sourceFiles=n,r}function Gn(){return d||(d=e.arrayToMap([e.valuesHelper,e.readHelper,e.spreadHelper,e.restHelper,e.decorateHelper,e.metadataHelper,e.paramHelper,e.awaiterHelper,e.assignHelper,e.awaitHelper,e.asyncGeneratorHelper,e.asyncDelegator,e.asyncValues,e.extendsHelper,e.templateObjectHelper,e.generatorHelper,e.importStarHelper,e.importDefaultHelper],(function(e){return e.name})))}function Vn(n,t){var r=e.createNode(function(n){switch(n){case"prologue":return 280;case"prepend":return 281;case"internal":return 283;case"text":return 282;case"emitHelpers":case"no-default-lib":case"reference":case"type":case"lib":return e.Debug.fail("BundleFileSectionKind: "+n+" not yet mapped to SyntaxKind");default:return e.Debug.assertNever(n)}}(n.kind),n.pos,n.end);return r.parent=t,r.data=n.data,r}function Bn(n,t){var r=e.createNode(284,n.pos,n.end);return r.parent=t,r.data=n.data,r.section=n,r}function Hn(n){return e.isString(n)?c(n):n}function Kn(e){return e?r(e):void 0}function jn(n){if(!n.emitNode){if(e.isParseTreeNode(n)){if(285===n.kind)return n.emitNode={annotatedNodes:[n]};jn(e.getSourceFileOfNode(e.getParseTreeNode(e.getSourceFileOfNode(n)))).annotatedNodes.push(n)}n.emitNode={}}return n.emitNode}function Un(e,n){return n&&(e.pos=n.pos,e.end=n.end),e}function Wn(e,n){return jn(e).flags=n,e}function qn(e){var n=e.emitNode;return n&&n.leadingComments}function zn(e,n){return jn(e).leadingComments=n,e}function Jn(e){var n=e.emitNode;return n&&n.trailingComments}function Xn(e,n){return jn(e).trailingComments=n,e}function Yn(n,t){if(n.original=t,t){var r=t.emitNode;r&&(n.emitNode=function(n,t){var r=n.flags,a=n.leadingComments,i=n.trailingComments,o=n.commentRange,s=n.sourceMapRange,l=n.tokenSourceMapRanges,c=n.constantValue,d=n.helpers,u=n.startsOnNewLine;t||(t={});a&&(t.leadingComments=e.addRange(a.slice(),t.leadingComments));i&&(t.trailingComments=e.addRange(i.slice(),t.trailingComments));r&&(t.flags=r);o&&(t.commentRange=o);s&&(t.sourceMapRange=s);l&&(t.tokenSourceMapRanges=function(e,n){n||(n=[]);for(var t in e)n[t]=e[t];return n}(l,t.tokenSourceMapRanges));void 0!==c&&(t.constantValue=c);d&&(t.helpers=e.addRange(t.helpers,d));void 0!==u&&(t.startsOnNewLine=u);return t}(r,n.emitNode))}return n}e.createTempVariable=function(e,n){var t=c("");return t.autoGenerateFlags=1,t.autoGenerateId=p,p++,e&&e(t),n&&(t.autoGenerateFlags|=8),t},e.createLoopVariable=function(){var e=c("");return e.autoGenerateFlags=2,e.autoGenerateId=p,p++,e},e.createUniqueName=function(e){var n=c(e);return n.autoGenerateFlags=3,n.autoGenerateId=p,p++,n},e.createOptimisticUniqueName=m,e.createFileLevelUniqueName=function(e){var n=m(e);return n.autoGenerateFlags|=32,n},e.getGeneratedNameForNode=function(n,t){var r=c(n&&e.isIdentifier(n)?e.idText(n):"");return r.autoGenerateFlags=4|t,r.autoGenerateId=p,r.original=n,p++,r},e.createToken=f,e.createSuper=function(){return n(99)},e.createThis=function(){return n(101)},e.createNull=function(){return n(97)},e.createTrue=g,e.createFalse=_,e.createModifier=v,e.createModifiersFromModifierFlags=function(e){var n=[];return 1&e&&n.push(v(86)),2&e&&n.push(v(126)),512&e&&n.push(v(81)),2048&e&&n.push(v(78)),4&e&&n.push(v(116)),8&e&&n.push(v(114)),16&e&&n.push(v(115)),128&e&&n.push(v(119)),32&e&&n.push(v(117)),64&e&&n.push(v(134)),256&e&&n.push(v(122)),n},e.createQualifiedName=h,e.updateQualifiedName=function(e,n,r){return e.left!==n||e.right!==r?t(h(n,r),e):e},e.createComputedPropertyName=y,e.updateComputedPropertyName=function(e,n){return e.expression!==n?t(y(n),e):e},e.createTypeParameterDeclaration=b,e.updateTypeParameterDeclaration=function(e,n,r,a){return e.name!==n||e.constraint!==r||e.default!==a?t(b(n,r,a),e):e},e.createParameter=E,e.updateParameter=function(e,n,r,a,i,o,s,l){return e.decorators!==n||e.modifiers!==r||e.dotDotDotToken!==a||e.name!==i||e.questionToken!==o||e.type!==s||e.initializer!==l?t(E(n,r,a,i,o,s,l),e):e},e.createDecorator=T,e.updateDecorator=function(e,n){return e.expression!==n?t(T(n),e):e},e.createPropertySignature=S,e.updatePropertySignature=function(e,n,r,a,i,o){return e.modifiers!==n||e.name!==r||e.questionToken!==a||e.type!==i||e.initializer!==o?t(S(n,r,a,i,o),e):e},e.createProperty=L,e.updateProperty=function(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.questionToken!==(void 0!==i&&56===i.kind?i:void 0)||e.exclamationToken!==(void 0!==i&&52===i.kind?i:void 0)||e.type!==o||e.initializer!==s?t(L(n,r,a,i,o,s),e):e},e.createMethodSignature=x,e.updateMethodSignature=function(e,n,r,a,i,o){return e.typeParameters!==n||e.parameters!==r||e.type!==a||e.name!==i||e.questionToken!==o?t(x(n,r,a,i,o),e):e},e.createMethod=A,e.updateMethod=function(e,n,r,a,i,o,s,l,c,d){return e.decorators!==n||e.modifiers!==r||e.asteriskToken!==a||e.name!==i||e.questionToken!==o||e.typeParameters!==s||e.parameters!==l||e.type!==c||e.body!==d?t(A(n,r,a,i,o,s,l,c,d),e):e},e.createConstructor=C,e.updateConstructor=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.parameters!==a||e.body!==i?t(C(n,r,a,i),e):e},e.createGetAccessor=D,e.updateGetAccessor=function(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.parameters!==i||e.type!==o||e.body!==s?t(D(n,r,a,i,o,s),e):e},e.createSetAccessor=k,e.updateSetAccessor=function(e,n,r,a,i,o){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.parameters!==i||e.body!==o?t(k(n,r,a,i,o),e):e},e.createCallSignature=function(e,n,t){return O(161,e,n,t)},e.updateCallSignature=function(e,n,t,r){return I(e,n,t,r)},e.createConstructSignature=function(e,n,t){return O(162,e,n,t)},e.updateConstructSignature=function(e,n,t,r){return I(e,n,t,r)},e.createIndexSignature=M,e.updateIndexSignature=function(e,n,r,a,i){return e.parameters!==a||e.type!==i||e.decorators!==n||e.modifiers!==r?t(M(n,r,a,i),e):e},e.createSignatureDeclaration=O,e.createKeywordTypeNode=function(e){return n(e)},e.createTypePredicateNode=R,e.updateTypePredicateNode=function(e,n,r){return e.parameterName!==n||e.type!==r?t(R(n,r),e):e},e.createTypeReferenceNode=w,e.updateTypeReferenceNode=function(e,n,r){return e.typeName!==n||e.typeArguments!==r?t(w(n,r),e):e},e.createFunctionTypeNode=function(e,n,t){return O(166,e,n,t)},e.updateFunctionTypeNode=function(e,n,t,r){return I(e,n,t,r)},e.createConstructorTypeNode=function(e,n,t){return O(167,e,n,t)},e.updateConstructorTypeNode=function(e,n,t,r){return I(e,n,t,r)},e.createTypeQueryNode=N,e.updateTypeQueryNode=function(e,n){return e.exprName!==n?t(N(n),e):e},e.createTypeLiteralNode=P,e.updateTypeLiteralNode=function(e,n){return e.members!==n?t(P(n),e):e},e.createArrayTypeNode=F,e.updateArrayTypeNode=function(e,n){return e.elementType!==n?t(F(n),e):e},e.createTupleTypeNode=G,e.updateTupleTypeNode=function(e,n){return e.elementTypes!==n?t(G(n),e):e},e.createOptionalTypeNode=V,e.updateOptionalTypeNode=function(e,n){return e.type!==n?t(V(n),e):e},e.createRestTypeNode=B,e.updateRestTypeNode=function(e,n){return e.type!==n?t(B(n),e):e},e.createUnionTypeNode=function(e){return H(174,e)},e.updateUnionTypeNode=function(e,n){return K(e,n)},e.createIntersectionTypeNode=function(e){return H(175,e)},e.updateIntersectionTypeNode=function(e,n){return K(e,n)},e.createUnionOrIntersectionTypeNode=H,e.createConditionalTypeNode=j,e.updateConditionalTypeNode=function(e,n,r,a,i){return e.checkType!==n||e.extendsType!==r||e.trueType!==a||e.falseType!==i?t(j(n,r,a,i),e):e},e.createInferTypeNode=U,e.updateInferTypeNode=function(e,n){return e.typeParameter!==n?t(U(n),e):e},e.createImportTypeNode=W,e.updateImportTypeNode=function(e,n,r,a,i){return e.argument!==n||e.qualifier!==r||e.typeArguments!==a||e.isTypeOf!==i?t(W(n,r,a,i),e):e},e.createParenthesizedType=q,e.updateParenthesizedType=function(e,n){return e.type!==n?t(q(n),e):e},e.createThisTypeNode=function(){return n(179)},e.createTypeOperatorNode=z,e.updateTypeOperatorNode=function(e,n){return e.type!==n?t(z(e.operator,n),e):e},e.createIndexedAccessTypeNode=J,e.updateIndexedAccessTypeNode=function(e,n,r){return e.objectType!==n||e.indexType!==r?t(J(n,r),e):e},e.createMappedTypeNode=X,e.updateMappedTypeNode=function(e,n,r,a,i){return e.readonlyToken!==n||e.typeParameter!==r||e.questionToken!==a||e.type!==i?t(X(n,r,a,i),e):e},e.createLiteralTypeNode=Y,e.updateLiteralTypeNode=function(e,n){return e.literal!==n?t(Y(n),e):e},e.createObjectBindingPattern=Q,e.updateObjectBindingPattern=function(e,n){return e.elements!==n?t(Q(n),e):e},e.createArrayBindingPattern=Z,e.updateArrayBindingPattern=function(e,n){return e.elements!==n?t(Z(n),e):e},e.createBindingElement=$,e.updateBindingElement=function(e,n,r,a,i){return e.propertyName!==r||e.dotDotDotToken!==n||e.name!==a||e.initializer!==i?t($(n,r,a,i),e):e},e.createArrayLiteral=ee,e.updateArrayLiteral=function(e,n){return e.elements!==n?t(ee(n,e.multiLine),e):e},e.createObjectLiteral=ne,e.updateObjectLiteral=function(e,n){return e.properties!==n?t(ne(n,e.multiLine),e):e},e.createPropertyAccess=te,e.updatePropertyAccess=function(n,r,a){return n.expression!==r||n.name!==a?t(Wn(te(r,a),e.getEmitFlags(n)),n):n},e.createElementAccess=re,e.updateElementAccess=function(e,n,r){return e.expression!==n||e.argumentExpression!==r?t(re(n,r),e):e},e.createCall=ae,e.updateCall=function(e,n,r,a){return e.expression!==n||e.typeArguments!==r||e.arguments!==a?t(ae(n,r,a),e):e},e.createNew=ie,e.updateNew=function(e,n,r,a){return e.expression!==n||e.typeArguments!==r||e.arguments!==a?t(ie(n,r,a),e):e},e.createTaggedTemplate=oe,e.updateTaggedTemplate=function(e,n,r,a){return e.tag!==n||(a?e.typeArguments!==r||e.template!==a:void 0!==e.typeArguments||e.template!==r)?t(oe(n,r,a),e):e},e.createTypeAssertion=se,e.updateTypeAssertion=function(e,n,r){return e.type!==n||e.expression!==r?t(se(n,r),e):e},e.createParen=le,e.updateParen=function(e,n){return e.expression!==n?t(le(n),e):e},e.createFunctionExpression=ce,e.updateFunctionExpression=function(e,n,r,a,i,o,s,l){return e.name!==a||e.modifiers!==n||e.asteriskToken!==r||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==l?t(ce(n,r,a,i,o,s,l),e):e},e.createArrowFunction=de,e.updateArrowFunction=function(e,n,r,a,i,o,s){return e.modifiers!==n||e.typeParameters!==r||e.parameters!==a||e.type!==i||e.equalsGreaterThanToken!==o||e.body!==s?t(de(n,r,a,i,o,s),e):e},e.createDelete=ue,e.updateDelete=function(e,n){return e.expression!==n?t(ue(n),e):e},e.createTypeOf=pe,e.updateTypeOf=function(e,n){return e.expression!==n?t(pe(n),e):e},e.createVoid=me,e.updateVoid=function(e,n){return e.expression!==n?t(me(n),e):e},e.createAwait=fe,e.updateAwait=function(e,n){return e.expression!==n?t(fe(n),e):e},e.createPrefix=ge,e.updatePrefix=function(e,n){return e.operand!==n?t(ge(e.operator,n),e):e},e.createPostfix=_e,e.updatePostfix=function(e,n){return e.operand!==n?t(_e(n,e.operator),e):e},e.createBinary=ve,e.updateBinary=function(e,n,r,a){return e.left!==n||e.right!==r?t(ve(n,a||e.operatorToken,r),e):e},e.createConditional=he,e.updateConditional=function(e,n,r,a,i,o){return e.condition!==n||e.questionToken!==r||e.whenTrue!==a||e.colonToken!==i||e.whenFalse!==o?t(he(n,r,a,i,o),e):e},e.createTemplateExpression=ye,e.updateTemplateExpression=function(e,n,r){return e.head!==n||e.templateSpans!==r?t(ye(n,r),e):e},e.createTemplateHead=function(e){var t=n(15);return t.text=e,t},e.createTemplateMiddle=function(e){var t=n(16);return t.text=e,t},e.createTemplateTail=function(e){var t=n(17);return t.text=e,t},e.createNoSubstitutionTemplateLiteral=function(e){var t=n(14);return t.text=e,t},e.createYield=be,e.updateYield=function(e,n,r){return e.expression!==r||e.asteriskToken!==n?t(be(n,r),e):e},e.createSpread=Ee,e.updateSpread=function(e,n){return e.expression!==n?t(Ee(n),e):e},e.createClassExpression=Te,e.updateClassExpression=function(e,n,r,a,i,o){return e.modifiers!==n||e.name!==r||e.typeParameters!==a||e.heritageClauses!==i||e.members!==o?t(Te(n,r,a,i,o),e):e},e.createOmittedExpression=function(){return n(211)},e.createExpressionWithTypeArguments=Se,e.updateExpressionWithTypeArguments=function(e,n,r){return e.typeArguments!==n||e.expression!==r?t(Se(n,r),e):e},e.createAsExpression=Le,e.updateAsExpression=function(e,n,r){return e.expression!==n||e.type!==r?t(Le(n,r),e):e},e.createNonNullExpression=xe,e.updateNonNullExpression=function(e,n){return e.expression!==n?t(xe(n),e):e},e.createMetaProperty=Ae,e.updateMetaProperty=function(e,n){return e.name!==n?t(Ae(e.keywordToken,n),e):e},e.createTemplateSpan=Ce,e.updateTemplateSpan=function(e,n,r){return e.expression!==n||e.literal!==r?t(Ce(n,r),e):e},e.createSemicolonClassElement=function(){return n(218)},e.createBlock=De,e.updateBlock=function(e,n){return e.statements!==n?t(De(n,e.multiLine),e):e},e.createVariableStatement=ke,e.updateVariableStatement=function(e,n,r){return e.modifiers!==n||e.declarationList!==r?t(ke(n,r),e):e},e.createEmptyStatement=function(){return n(221)},e.createExpressionStatement=Me,e.updateExpressionStatement=Oe,e.createStatement=Me,e.updateStatement=Oe,e.createIf=Ie,e.updateIf=function(e,n,r,a){return e.expression!==n||e.thenStatement!==r||e.elseStatement!==a?t(Ie(n,r,a),e):e},e.createDo=Re,e.updateDo=function(e,n,r){return e.statement!==n||e.expression!==r?t(Re(n,r),e):e},e.createWhile=we,e.updateWhile=function(e,n,r){return e.expression!==n||e.statement!==r?t(we(n,r),e):e},e.createFor=Ne,e.updateFor=function(e,n,r,a,i){return e.initializer!==n||e.condition!==r||e.incrementor!==a||e.statement!==i?t(Ne(n,r,a,i),e):e},e.createForIn=Pe,e.updateForIn=function(e,n,r,a){return e.initializer!==n||e.expression!==r||e.statement!==a?t(Pe(n,r,a),e):e},e.createForOf=Fe,e.updateForOf=function(e,n,r,a,i){return e.awaitModifier!==n||e.initializer!==r||e.expression!==a||e.statement!==i?t(Fe(n,r,a,i),e):e},e.createContinue=Ge,e.updateContinue=function(e,n){return e.label!==n?t(Ge(n),e):e},e.createBreak=Ve,e.updateBreak=function(e,n){return e.label!==n?t(Ve(n),e):e},e.createReturn=Be,e.updateReturn=function(e,n){return e.expression!==n?t(Be(n),e):e},e.createWith=He,e.updateWith=function(e,n,r){return e.expression!==n||e.statement!==r?t(He(n,r),e):e},e.createSwitch=Ke,e.updateSwitch=function(e,n,r){return e.expression!==n||e.caseBlock!==r?t(Ke(n,r),e):e},e.createLabel=je,e.updateLabel=function(e,n,r){return e.label!==n||e.statement!==r?t(je(n,r),e):e},e.createThrow=Ue,e.updateThrow=function(e,n){return e.expression!==n?t(Ue(n),e):e},e.createTry=We,e.updateTry=function(e,n,r,a){return e.tryBlock!==n||e.catchClause!==r||e.finallyBlock!==a?t(We(n,r,a),e):e},e.createDebuggerStatement=function(){return n(237)},e.createVariableDeclaration=qe,e.updateVariableDeclaration=function(e,n,r,a){return e.name!==n||e.type!==r||e.initializer!==a?t(qe(n,r,a),e):e},e.createVariableDeclarationList=ze,e.updateVariableDeclarationList=function(e,n){return e.declarations!==n?t(ze(n,e.flags),e):e},e.createFunctionDeclaration=Je,e.updateFunctionDeclaration=function(e,n,r,a,i,o,s,l,c){return e.decorators!==n||e.modifiers!==r||e.asteriskToken!==a||e.name!==i||e.typeParameters!==o||e.parameters!==s||e.type!==l||e.body!==c?t(Je(n,r,a,i,o,s,l,c),e):e},e.createClassDeclaration=Xe,e.updateClassDeclaration=function(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.heritageClauses!==o||e.members!==s?t(Xe(n,r,a,i,o,s),e):e},e.createInterfaceDeclaration=Ye,e.updateInterfaceDeclaration=function(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.heritageClauses!==o||e.members!==s?t(Ye(n,r,a,i,o,s),e):e},e.createTypeAliasDeclaration=Qe,e.updateTypeAliasDeclaration=function(e,n,r,a,i,o){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.type!==o?t(Qe(n,r,a,i,o),e):e},e.createEnumDeclaration=Ze,e.updateEnumDeclaration=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.members!==i?t(Ze(n,r,a,i),e):e},e.createModuleDeclaration=$e,e.updateModuleDeclaration=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.body!==i?t($e(n,r,a,i,e.flags),e):e},e.createModuleBlock=en,e.updateModuleBlock=function(e,n){return e.statements!==n?t(en(n),e):e},e.createCaseBlock=nn,e.updateCaseBlock=function(e,n){return e.clauses!==n?t(nn(n),e):e},e.createNamespaceExportDeclaration=tn,e.updateNamespaceExportDeclaration=function(e,n){return e.name!==n?t(tn(n),e):e},e.createImportEqualsDeclaration=rn,e.updateImportEqualsDeclaration=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.moduleReference!==i?t(rn(n,r,a,i),e):e},e.createImportDeclaration=an,e.updateImportDeclaration=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.importClause!==a||e.moduleSpecifier!==i?t(an(n,r,a,i),e):e},e.createImportClause=on,e.updateImportClause=function(e,n,r){return e.name!==n||e.namedBindings!==r?t(on(n,r),e):e},e.createNamespaceImport=sn,e.updateNamespaceImport=function(e,n){return e.name!==n?t(sn(n),e):e},e.createNamedImports=ln,e.updateNamedImports=function(e,n){return e.elements!==n?t(ln(n),e):e},e.createImportSpecifier=cn,e.updateImportSpecifier=function(e,n,r){return e.propertyName!==n||e.name!==r?t(cn(n,r),e):e},e.createExportAssignment=dn,e.updateExportAssignment=function(e,n,r,a){return e.decorators!==n||e.modifiers!==r||e.expression!==a?t(dn(n,r,e.isExportEquals,a),e):e},e.createExportDeclaration=un,e.updateExportDeclaration=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.exportClause!==a||e.moduleSpecifier!==i?t(un(n,r,a,i),e):e},e.createNamedExports=pn,e.updateNamedExports=function(e,n){return e.elements!==n?t(pn(n),e):e},e.createExportSpecifier=mn,e.updateExportSpecifier=function(e,n,r){return e.propertyName!==n||e.name!==r?t(mn(n,r),e):e},e.createExternalModuleReference=fn,e.updateExternalModuleReference=function(e,n){return e.expression!==n?t(fn(n),e):e},e.createJSDocTypeExpression=function(e){var t=n(289);return t.type=e,t},e.createJSDocTypeTag=function(e,n){var t=gn(308,"type");return t.typeExpression=e,t.comment=n,t},e.createJSDocReturnTag=function(e,n){var t=gn(306,"returns");return t.typeExpression=e,t.comment=n,t},e.createJSDocParamTag=function(e,n,t,r){var a=gn(305,"param");return a.typeExpression=t,a.name=e,a.isBracketed=n,a.comment=r,a},e.createJSDocComment=function(e,t){var r=n(297);return r.comment=e,r.tags=t,r},e.createJsxElement=_n,e.updateJsxElement=function(e,n,r,a){return e.openingElement!==n||e.children!==r||e.closingElement!==a?t(_n(n,r,a),e):e},e.createJsxSelfClosingElement=vn,e.updateJsxSelfClosingElement=function(e,n,r,a){return e.tagName!==n||e.typeArguments!==r||e.attributes!==a?t(vn(n,r,a),e):e},e.createJsxOpeningElement=hn,e.updateJsxOpeningElement=function(e,n,r,a){return e.tagName!==n||e.typeArguments!==r||e.attributes!==a?t(hn(n,r,a),e):e},e.createJsxClosingElement=yn,e.updateJsxClosingElement=function(e,n){return e.tagName!==n?t(yn(n),e):e},e.createJsxFragment=bn,e.createJsxText=En,e.updateJsxText=function(e,n,r){return e.text!==n||e.containsOnlyTriviaWhiteSpaces!==r?t(En(n,r),e):e},e.createJsxOpeningFragment=function(){return n(266)},e.createJsxJsxClosingFragment=function(){return n(267)},e.updateJsxFragment=function(e,n,r,a){return e.openingFragment!==n||e.children!==r||e.closingFragment!==a?t(bn(n,r,a),e):e},e.createJsxAttribute=Tn,e.updateJsxAttribute=function(e,n,r){return e.name!==n||e.initializer!==r?t(Tn(n,r),e):e},e.createJsxAttributes=Sn,e.updateJsxAttributes=function(e,n){return e.properties!==n?t(Sn(n),e):e},e.createJsxSpreadAttribute=Ln,e.updateJsxSpreadAttribute=function(e,n){return e.expression!==n?t(Ln(n),e):e},e.createJsxExpression=xn,e.updateJsxExpression=function(e,n){return e.expression!==n?t(xn(e.dotDotDotToken,n),e):e},e.createCaseClause=An,e.updateCaseClause=function(e,n,r){return e.expression!==n||e.statements!==r?t(An(n,r),e):e},e.createDefaultClause=Cn,e.updateDefaultClause=function(e,n){return e.statements!==n?t(Cn(n),e):e},e.createHeritageClause=Dn,e.updateHeritageClause=function(e,n){return e.types!==n?t(Dn(e.token,n),e):e},e.createCatchClause=kn,e.updateCatchClause=function(e,n,r){return e.variableDeclaration!==n||e.block!==r?t(kn(n,r),e):e},e.createPropertyAssignment=Mn,e.updatePropertyAssignment=function(e,n,r){return e.name!==n||e.initializer!==r?t(Mn(n,r),e):e},e.createShorthandPropertyAssignment=On,e.updateShorthandPropertyAssignment=function(e,n,r){return e.name!==n||e.objectAssignmentInitializer!==r?t(On(n,r),e):e},e.createSpreadAssignment=In,e.updateSpreadAssignment=function(e,n){return e.expression!==n?t(In(n),e):e},e.createEnumMember=Rn,e.updateEnumMember=function(e,n,r){return e.name!==n||e.initializer!==r?t(Rn(n,r),e):e},e.updateSourceFileNode=function(e,a,i,o,s,l,c){if(e.statements!==a||void 0!==i&&e.isDeclarationFile!==i||void 0!==o&&e.referencedFiles!==o||void 0!==s&&e.typeReferenceDirectives!==s||void 0!==c&&e.libReferenceDirectives!==c||void 0!==l&&e.hasNoDefaultLib!==l){var d=n(285);return d.flags|=e.flags,d.statements=r(a),d.endOfFileToken=e.endOfFileToken,d.fileName=e.fileName,d.path=e.path,d.text=e.text,d.isDeclarationFile=void 0===i?e.isDeclarationFile:i,d.referencedFiles=void 0===o?e.referencedFiles:o,d.typeReferenceDirectives=void 0===s?e.typeReferenceDirectives:s,d.hasNoDefaultLib=void 0===l?e.hasNoDefaultLib:l,d.libReferenceDirectives=void 0===c?e.libReferenceDirectives:c,void 0!==e.amdDependencies&&(d.amdDependencies=e.amdDependencies),void 0!==e.moduleName&&(d.moduleName=e.moduleName),void 0!==e.languageVariant&&(d.languageVariant=e.languageVariant),void 0!==e.renamedDependencies&&(d.renamedDependencies=e.renamedDependencies),void 0!==e.languageVersion&&(d.languageVersion=e.languageVersion),void 0!==e.scriptKind&&(d.scriptKind=e.scriptKind),void 0!==e.externalModuleIndicator&&(d.externalModuleIndicator=e.externalModuleIndicator),void 0!==e.commonJsModuleIndicator&&(d.commonJsModuleIndicator=e.commonJsModuleIndicator),void 0!==e.identifiers&&(d.identifiers=e.identifiers),void 0!==e.nodeCount&&(d.nodeCount=e.nodeCount),void 0!==e.identifierCount&&(d.identifierCount=e.identifierCount),void 0!==e.symbolCount&&(d.symbolCount=e.symbolCount),void 0!==e.parseDiagnostics&&(d.parseDiagnostics=e.parseDiagnostics),void 0!==e.bindDiagnostics&&(d.bindDiagnostics=e.bindDiagnostics),void 0!==e.bindSuggestionDiagnostics&&(d.bindSuggestionDiagnostics=e.bindSuggestionDiagnostics),void 0!==e.lineMap&&(d.lineMap=e.lineMap),void 0!==e.classifiableNames&&(d.classifiableNames=e.classifiableNames),void 0!==e.resolvedModules&&(d.resolvedModules=e.resolvedModules),void 0!==e.resolvedTypeReferenceDirectiveNames&&(d.resolvedTypeReferenceDirectiveNames=e.resolvedTypeReferenceDirectiveNames),void 0!==e.imports&&(d.imports=e.imports),void 0!==e.moduleAugmentations&&(d.moduleAugmentations=e.moduleAugmentations),void 0!==e.pragmas&&(d.pragmas=e.pragmas),void 0!==e.localJsxFactory&&(d.localJsxFactory=e.localJsxFactory),void 0!==e.localJsxNamespace&&(d.localJsxNamespace=e.localJsxNamespace),t(d,e)}return e},e.getMutableClone=function(e){var n=a(e);return n.pos=e.pos,n.end=e.end,n.parent=e.parent,n},e.createNotEmittedStatement=function(e){var t=n(313);return t.original=e,Un(t,e),t},e.createEndOfDeclarationMarker=function(e){var t=n(317);return t.emitNode={},t.original=e,t},e.createMergeDeclarationMarker=function(e){var t=n(316);return t.emitNode={},t.original=e,t},e.createPartiallyEmittedExpression=wn,e.updatePartiallyEmittedExpression=function(e,n){return e.expression!==n?t(wn(n,e.original),e):e},e.createCommaList=Pn,e.updateCommaList=function(e,n){return e.elements!==n?t(Pn(n),e):e},e.createBundle=Fn,e.createUnparsedSourceFile=function(n,t,r){var a,i,o=function(){var n=e.createNode(287);return n.prologues=e.emptyArray,n.referencedFiles=e.emptyArray,n.libReferenceDirectives=e.emptyArray,n.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(n,t)},n}();if(e.isString(n))o.fileName="",o.text=n,o.sourceMapPath=t,o.sourceMapText=r;else if(e.Debug.assert("js"===t||"dts"===t),o.fileName=("js"===t?n.javascriptPath:n.declarationPath)||"",o.sourceMapPath="js"===t?n.javascriptMapPath:n.declarationMapPath,Object.defineProperties(o,{text:{get:function(){return"js"===t?n.javascriptText:n.declarationText}},sourceMapText:{get:function(){return"js"===t?n.javascriptMapText:n.declarationMapText}}}),n.buildInfo&&n.buildInfo.bundle&&(o.oldFileOfCurrentEmit=n.oldFileOfCurrentEmit,e.Debug.assert(void 0===r||"boolean"===typeof r),a=r,i="js"===t?n.buildInfo.bundle.js:n.buildInfo.bundle.dts,o.oldFileOfCurrentEmit))return function(n,t){var r,a;e.Debug.assert(!!n.oldFileOfCurrentEmit);for(var i=0,o=t.sections;i0&&(i[l-s]=c)}s>0&&(i.length-=s)}},e.compareEmitHelpers=function(n,t){return n===t||n.priority===t.priority?0:void 0===n.priority?1:void 0===t.priority?-1:e.compareValues(n.priority,t.priority)},e.setOriginalNode=Yn}(c||(c={})),function(e){function n(n,t,r){if(e.isComputedPropertyName(t))return e.setTextRange(e.createElementAccess(n,t.expression),r);var a=e.setTextRange(e.isIdentifier(t)?e.createPropertyAccess(n,t):e.createElementAccess(n,t),t);return e.getOrCreateEmitNode(a).flags|=64,a}function t(n,t){var r=e.createIdentifier(n||"React");return r.flags&=-9,r.parent=e.getParseTreeNode(t),r}function r(n,r,a){return n?function n(r,a){if(e.isQualifiedName(r)){var i=n(r.left,a),o=e.createIdentifier(e.idText(r.right));return o.escapedText=r.right.escapedText,e.createPropertyAccess(i,o)}return t(e.idText(r),a)}(n,a):e.createPropertyAccess(t(r,a),"createElement")}function a(n){return e.setEmitFlags(e.createIdentifier(n),4098)}function i(n,t){var r=e.skipParentheses(n);switch(r.kind){case 73:return t;case 101:case 8:case 9:case 10:return!1;case 188:return 0!==r.elements.length;case 189:return r.properties.length>0;default:return!0}}function o(n){return e.isIdentifier(n)?e.createLiteral(n):e.isComputedPropertyName(n)?e.getMutableClone(n.expression):e.getMutableClone(n)}function s(e,n,t){return l(e,n,t,8192)}function l(n,t,r,a){void 0===a&&(a=0);var i=e.getNameOfDeclaration(n);if(i&&e.isIdentifier(i)&&!e.isGeneratedIdentifier(i)){var o=e.getMutableClone(i);return a|=e.getEmitFlags(i),r||(a|=48),t||(a|=1536),a&&e.setEmitFlags(o,a),o}return e.getGeneratedNameForNode(n)}function c(n,t,r,a){var i=e.createPropertyAccess(n,e.nodeIsSynthesized(t)?t:e.getSynthesizedClone(t));e.setTextRange(i,t);var o=0;return a||(o|=48),r||(o|=1536),o&&e.setEmitFlags(i,o),i}function d(n){return e.isStringLiteral(n.expression)&&"use strict"===n.expression.text}function u(n,t,r){e.Debug.assert(0===n.length,"Prologue directives should be at the first statement in the target statements array");for(var a=!1,i=0,o=t.length;ie.getOperatorPrecedence(205,27)?n:e.setTextRange(e.createParen(n),n)}function v(n){return 176===n.kind?e.createParenthesizedType(n):n}function h(n){switch(n.kind){case 174:case 175:case 166:case 167:return e.createParenthesizedType(n)}return v(n)}function y(e,n){for(;;){switch(e.kind){case 204:e=e.operand;continue;case 205:e=e.left;continue;case 206:e=e.condition;continue;case 194:e=e.tag;continue;case 192:if(n)return e;case 213:case 191:case 190:case 214:case 314:e=e.expression;continue}return e}}function b(e){return 205===e.kind&&27===e.operatorToken.kind||315===e.kind}function E(e,n){switch(void 0===n&&(n=7),e.kind){case 196:return 0!==(1&n);case 195:case 213:case 214:return 0!==(2&n);case 314:return 0!==(4&n)}return!1}function T(n,t){var r;void 0===t&&(t=7);do{r=n,1&t&&(n=e.skipParentheses(n)),2&t&&(n=S(n)),4&t&&(n=e.skipPartiallyEmittedExpressions(n))}while(r!==n);return n}function S(n){for(;e.isAssertionExpression(n)||214===n.kind;)n=n.expression;return n}function L(n,t,r){return void 0===r&&(r=7),n&&E(n,r)&&(!(196===(a=n).kind&&e.nodeIsSynthesized(a)&&e.nodeIsSynthesized(e.getSourceMapRange(a))&&e.nodeIsSynthesized(e.getCommentRange(a)))||e.some(e.getSyntheticLeadingComments(a))||e.some(e.getSyntheticTrailingComments(a)))?function(n,t){switch(n.kind){case 196:return e.updateParen(n,t);case 195:return e.updateTypeAssertion(n,n.type,t);case 213:return e.updateAsExpression(n,t,n.type);case 214:return e.updateNonNullExpression(n,t);case 314:return e.updatePartiallyEmittedExpression(n,t)}}(n,L(n.expression,t)):t;var a}function x(n){return e.setStartsOnNewLine(n,!0)}function A(n){var t=e.getOriginalNode(n,e.isSourceFile),r=t&&t.emitNode;return r&&r.externalHelpersModuleName}function C(n,t,r){if(n)return n.moduleName?e.createLiteral(n.moduleName):n.isDeclarationFile||!r.out&&!r.outFile?void 0:e.createLiteral(e.getExternalModuleNameFromPath(t,n.fileName))}function D(n){if(e.isDeclarationBindingElement(n))return n.name;if(!e.isObjectLiteralElementLike(n))return e.isAssignmentExpression(n,!0)?D(n.left):e.isSpreadElement(n)?D(n.expression):n;switch(n.kind){case 276:return D(n.initializer);case 277:return n.name;case 278:return D(n.expression)}}function k(e){var n=e.kind;return 10===n||8===n}function M(n){if(e.isBindingElement(n)){if(n.dotDotDotToken)return e.Debug.assertNode(n.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(e.createSpread(n.name),n),n);var t=N(n.name);return n.initializer?e.setOriginalNode(e.setTextRange(e.createAssignment(t,n.initializer),n),n):t}return e.Debug.assertNode(n,e.isExpression),n}function O(n){if(e.isBindingElement(n)){if(n.dotDotDotToken)return e.Debug.assertNode(n.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(e.createSpreadAssignment(n.name),n),n);if(n.propertyName){var t=N(n.name);return e.setOriginalNode(e.setTextRange(e.createPropertyAssignment(n.propertyName,n.initializer?e.createAssignment(t,n.initializer):t),n),n)}return e.Debug.assertNode(n.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(e.createShorthandPropertyAssignment(n.name,n.initializer),n),n)}return e.Debug.assertNode(n,e.isObjectLiteralElementLike),n}function I(e){switch(e.kind){case 186:case 188:return w(e);case 185:case 189:return R(e)}}function R(n){return e.isObjectBindingPattern(n)?e.setOriginalNode(e.setTextRange(e.createObjectLiteral(e.map(n.elements,O)),n),n):(e.Debug.assertNode(n,e.isObjectLiteralExpression),n)}function w(n){return e.isArrayBindingPattern(n)?e.setOriginalNode(e.setTextRange(e.createArrayLiteral(e.map(n.elements,M)),n),n):(e.Debug.assertNode(n,e.isArrayLiteralExpression),n)}function N(n){return e.isBindingPattern(n)?I(n):(e.Debug.assertNode(n,e.isExpression),n)}e.nullTransformationContext={enableEmitNotification:e.noop,enableSubstitution:e.noop,endLexicalEnvironment:e.returnUndefined,getCompilerOptions:e.notImplemented,getEmitHost:e.notImplemented,getEmitResolver:e.notImplemented,hoistFunctionDeclaration:e.noop,hoistVariableDeclaration:e.noop,isEmitNotificationEnabled:e.notImplemented,isSubstitutionEnabled:e.notImplemented,onEmitNode:e.noop,onSubstituteNode:e.notImplemented,readEmitHelpers:e.notImplemented,requestEmitHelper:e.noop,resumeLexicalEnvironment:e.noop,startLexicalEnvironment:e.noop,suspendLexicalEnvironment:e.noop,addDiagnostic:e.noop},e.createTypeCheck=function(n,t){return"undefined"===t?e.createStrictEquality(n,e.createVoidZero()):e.createStrictEquality(e.createTypeOf(n),e.createLiteral(t))},e.createMemberAccessForPropertyName=n,e.createFunctionCall=function(n,t,r,a){return e.setTextRange(e.createCall(e.createPropertyAccess(n,"call"),void 0,[t].concat(r)),a)},e.createFunctionApply=function(n,t,r,a){return e.setTextRange(e.createCall(e.createPropertyAccess(n,"apply"),void 0,[t,r]),a)},e.createArraySlice=function(n,t){var r=[];return void 0!==t&&r.push("number"===typeof t?e.createLiteral(t):t),e.createCall(e.createPropertyAccess(n,"slice"),void 0,r)},e.createArrayConcat=function(n,t){return e.createCall(e.createPropertyAccess(n,"concat"),void 0,t)},e.createMathPow=function(n,t,r){return e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Math"),"pow"),void 0,[n,t]),r)},e.createExpressionForJsxElement=function(n,t,a,i,o,s,l){var c=[a];if(i&&c.push(i),o&&o.length>0)if(i||c.push(e.createNull()),o.length>1)for(var d=0,u=o;d0)if(i.length>1)for(var c=0,d=i;c= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n };'},e.createValuesHelper=function(n,t,r){return n.requestEmitHelper(e.valuesHelper),e.setTextRange(e.createCall(a("__values"),void 0,[t]),r)},e.readHelper={name:"typescript:read",scoped:!1,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'},e.createReadHelper=function(n,t,r,i){return n.requestEmitHelper(e.readHelper),e.setTextRange(e.createCall(a("__read"),void 0,void 0!==r?[t,e.createLiteral(r)]:[t]),i)},e.spreadHelper={name:"typescript:spread",scoped:!1,text:"\n var __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n };"},e.createSpreadHelper=function(n,t,r){return n.requestEmitHelper(e.readHelper),n.requestEmitHelper(e.spreadHelper),e.setTextRange(e.createCall(a("__spread"),void 0,t),r)},e.createForOfBindingStatement=function(n,t){if(e.isVariableDeclarationList(n)){var r=e.first(n.declarations),a=e.updateVariableDeclaration(r,r.name,void 0,t);return e.setTextRange(e.createVariableStatement(void 0,e.updateVariableDeclarationList(n,[a])),n)}var i=e.setTextRange(e.createAssignment(n,t),n);return e.setTextRange(e.createStatement(i),n)},e.insertLeadingStatement=function(n,t){return e.isBlock(n)?e.updateBlock(n,e.setTextRange(e.createNodeArray([t].concat(n.statements)),n.statements)):e.createBlock(e.createNodeArray([n,t]),!0)},e.restoreEnclosingLabel=function n(t,r,a){if(!r)return t;var i=e.updateLabel(r,r.label,234===r.statement.kind?n(t,r.statement):t);return a&&a(r),i},e.createCallBinding=function(n,t,r,a){void 0===a&&(a=!1);var o,s,l=T(n,7);if(e.isSuperProperty(l))o=e.createThis(),s=l;else if(99===l.kind)o=e.createThis(),s=r<2?e.setTextRange(e.createIdentifier("_super"),l):l;else if(4096&e.getEmitFlags(l))o=e.createVoidZero(),s=g(l);else switch(l.kind){case 190:i(l.expression,a)?(o=e.createTempVariable(t),s=e.createPropertyAccess(e.setTextRange(e.createAssignment(o,l.expression),l.expression),l.name),e.setTextRange(s,l)):(o=l.expression,s=l);break;case 191:i(l.expression,a)?(o=e.createTempVariable(t),s=e.createElementAccess(e.setTextRange(e.createAssignment(o,l.expression),l.expression),l.argumentExpression),e.setTextRange(s,l)):(o=l.expression,s=l);break;default:o=e.createVoidZero(),s=g(n)}return{target:s,thisArg:o}},e.inlineExpressions=function(n){return n.length>10?e.createCommaList(n):e.reduceLeft(n,e.createComma)},e.createExpressionFromEntityName=function n(t){if(e.isQualifiedName(t)){var r=n(t.left),a=e.getMutableClone(t.right);return e.setTextRange(e.createPropertyAccess(r,a),t)}return e.getMutableClone(t)},e.createExpressionForPropertyName=o,e.createExpressionForObjectLiteralElementLike=function(t,r,a){switch(r.kind){case 159:case 160:return function(n,t,r,a){var i=e.getAllAccessorDeclarations(n,t),s=i.firstAccessor,l=i.getAccessor,c=i.setAccessor;if(t===s){var d=[];if(l){var u=e.createFunctionExpression(l.modifiers,void 0,void 0,void 0,l.parameters,void 0,l.body);e.setTextRange(u,l),e.setOriginalNode(u,l);var p=e.createPropertyAssignment("get",u);d.push(p)}if(c){var m=e.createFunctionExpression(c.modifiers,void 0,void 0,void 0,c.parameters,void 0,c.body);e.setTextRange(m,c),e.setOriginalNode(m,c);var f=e.createPropertyAssignment("set",m);d.push(f)}d.push(e.createPropertyAssignment("enumerable",e.createTrue())),d.push(e.createPropertyAssignment("configurable",e.createTrue()));var g=e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[r,o(t.name),e.createObjectLiteral(d,a)]),s);return e.aggregateTransformFlags(g)}return}(t.properties,r,a,!!t.multiLine);case 276:return function(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(n(r,t.name,t.name),t.initializer),t),t))}(r,a);case 277:return function(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(n(r,t.name,t.name),e.getSynthesizedClone(t.name)),t),t))}(r,a);case 157:return function(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(n(r,t.name,t.name),e.setOriginalNode(e.setTextRange(e.createFunctionExpression(t.modifiers,t.asteriskToken,void 0,void 0,t.parameters,void 0,t.body),t),t)),t),t))}(r,a)}},e.getInternalName=function(e,n,t){return l(e,n,t,49152)},e.isInternalName=function(n){return 0!==(32768&e.getEmitFlags(n))},e.getLocalName=function(e,n,t){return l(e,n,t,16384)},e.isLocalName=function(n){return 0!==(16384&e.getEmitFlags(n))},e.getExportName=s,e.isExportName=function(n){return 0!==(8192&e.getEmitFlags(n))},e.getDeclarationName=function(e,n,t){return l(e,n,t)},e.getExternalModuleOrNamespaceExportName=function(n,t,r,a){return n&&e.hasModifier(t,1)?c(n,l(t),r,a):s(t,r,a)},e.getNamespaceMemberName=c,e.convertToFunctionBody=function(n,t){return e.isBlock(n)?n:e.setTextRange(e.createBlock([e.setTextRange(e.createReturn(n),n)],t),n)},e.convertFunctionDeclarationToExpression=function(n){if(!n.body)return e.Debug.fail();var t=e.createFunctionExpression(n.modifiers,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body);return e.setOriginalNode(t,n),e.setTextRange(t,n),e.getStartsOnNewLine(n)&&e.setStartsOnNewLine(t,!0),e.aggregateTransformFlags(t),t},e.addPrologue=function(e,n,t,r){return p(e,n,u(e,n,t),r)},e.addStandardPrologue=u,e.addCustomPrologue=p,e.findUseStrictPrologue=m,e.startsWithUseStrict=function(n){var t=e.firstOrUndefined(n);return void 0!==t&&e.isPrologueDirective(t)&&d(t)},e.ensureUseStrict=function(n){return m(n)?n:e.setTextRange(e.createNodeArray([x(e.createStatement(e.createLiteral("use strict")))].concat(n)),n)},e.parenthesizeBinaryOperand=function(n,t,r,a){return 196===e.skipPartiallyEmittedExpressions(t).kind?t:function(n,t,r,a){var i=e.getOperatorPrecedence(205,n),o=e.getOperatorAssociativity(205,n),s=e.skipPartiallyEmittedExpressions(t);if(!r&&198===t.kind&&i>4)return!0;var l=e.getExpressionPrecedence(s);switch(e.compareValues(l,i)){case-1:return!(!r&&1===o&&208===t.kind);case 1:return!1;case 0:if(r)return 1===o;if(e.isBinaryExpression(s)&&s.operatorToken.kind===n){if(function(e){return 40===e||50===e||49===e||51===e}(n))return!1;if(38===n){var c=a?f(a):0;if(e.isLiteralKind(c)&&c===f(s))return!1}}return 0===e.getExpressionAssociativity(s)}}(n,t,r,a)?e.createParen(t):t},e.parenthesizeForConditionalHead=function(n){var t=e.getOperatorPrecedence(206,56),r=e.skipPartiallyEmittedExpressions(n),a=e.getExpressionPrecedence(r);return-1===e.compareValues(a,t)?e.createParen(n):n},e.parenthesizeSubexpressionOfConditionalExpression=function(n){return b(e.skipPartiallyEmittedExpressions(n))?e.createParen(n):n},e.parenthesizeDefaultExpression=function(n){var t=e.skipPartiallyEmittedExpressions(n),r=b(t);if(!r)switch(y(t,!1).kind){case 210:case 197:r=!0}return r?e.createParen(n):n},e.parenthesizeForNew=function(n){var t=y(n,!0);switch(t.kind){case 192:return e.createParen(n);case 193:return t.arguments?n:e.createParen(n)}return g(n)},e.parenthesizeForAccess=g,e.parenthesizePostfixOperand=function(n){return e.isLeftHandSideExpression(n)?n:e.setTextRange(e.createParen(n),n)},e.parenthesizePrefixOperand=function(n){return e.isUnaryExpression(n)?n:e.setTextRange(e.createParen(n),n)},e.parenthesizeListElements=function(n){for(var t,r=0;rs-a)&&(i=s-a),(a>0||i0&&p<=148||179===p)return s;switch(p){case 73:return e.updateIdentifier(s,d(s.typeArguments,l,n));case 149:return e.updateQualifiedName(s,t(s.left,l,e.isEntityName),t(s.right,l,e.isIdentifier));case 150:return e.updateComputedPropertyName(s,t(s.expression,l,e.isExpression));case 151:return e.updateTypeParameterDeclaration(s,t(s.name,l,e.isIdentifier),t(s.constraint,l,e.isTypeNode),t(s.default,l,e.isTypeNode));case 152:return e.updateParameter(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.dotDotDotToken,u,e.isToken),t(s.name,l,e.isBindingName),t(s.questionToken,u,e.isToken),t(s.type,l,e.isTypeNode),t(s.initializer,l,e.isExpression));case 153:return e.updateDecorator(s,t(s.expression,l,e.isExpression));case 154:return e.updatePropertySignature(s,d(s.modifiers,l,e.isToken),t(s.name,l,e.isPropertyName),t(s.questionToken,u,e.isToken),t(s.type,l,e.isTypeNode),t(s.initializer,l,e.isExpression));case 155:return e.updateProperty(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isPropertyName),t(s.questionToken||s.exclamationToken,u,e.isToken),t(s.type,l,e.isTypeNode),t(s.initializer,l,e.isExpression));case 156:return e.updateMethodSignature(s,d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode),t(s.name,l,e.isPropertyName),t(s.questionToken,u,e.isToken));case 157:return e.updateMethod(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.asteriskToken,u,e.isToken),t(s.name,l,e.isPropertyName),t(s.questionToken,u,e.isToken),d(s.typeParameters,l,e.isTypeParameterDeclaration),i(s.parameters,l,c,d),t(s.type,l,e.isTypeNode),o(s.body,l,c));case 158:return e.updateConstructor(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),i(s.parameters,l,c,d),o(s.body,l,c));case 159:return e.updateGetAccessor(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isPropertyName),i(s.parameters,l,c,d),t(s.type,l,e.isTypeNode),o(s.body,l,c));case 160:return e.updateSetAccessor(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isPropertyName),i(s.parameters,l,c,d),o(s.body,l,c));case 161:return e.updateCallSignature(s,d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode));case 162:return e.updateConstructSignature(s,d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode));case 163:return e.updateIndexSignature(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode));case 164:return e.updateTypePredicateNode(s,t(s.parameterName,l),t(s.type,l,e.isTypeNode));case 165:return e.updateTypeReferenceNode(s,t(s.typeName,l,e.isEntityName),d(s.typeArguments,l,e.isTypeNode));case 166:return e.updateFunctionTypeNode(s,d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode));case 167:return e.updateConstructorTypeNode(s,d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode));case 168:return e.updateTypeQueryNode(s,t(s.exprName,l,e.isEntityName));case 169:return e.updateTypeLiteralNode(s,d(s.members,l,e.isTypeElement));case 170:return e.updateArrayTypeNode(s,t(s.elementType,l,e.isTypeNode));case 171:return e.updateTupleTypeNode(s,d(s.elementTypes,l,e.isTypeNode));case 172:return e.updateOptionalTypeNode(s,t(s.type,l,e.isTypeNode));case 173:return e.updateRestTypeNode(s,t(s.type,l,e.isTypeNode));case 174:return e.updateUnionTypeNode(s,d(s.types,l,e.isTypeNode));case 175:return e.updateIntersectionTypeNode(s,d(s.types,l,e.isTypeNode));case 176:return e.updateConditionalTypeNode(s,t(s.checkType,l,e.isTypeNode),t(s.extendsType,l,e.isTypeNode),t(s.trueType,l,e.isTypeNode),t(s.falseType,l,e.isTypeNode));case 177:return e.updateInferTypeNode(s,t(s.typeParameter,l,e.isTypeParameterDeclaration));case 184:return e.updateImportTypeNode(s,t(s.argument,l,e.isTypeNode),t(s.qualifier,l,e.isEntityName),r(s.typeArguments,l,e.isTypeNode),s.isTypeOf);case 178:return e.updateParenthesizedType(s,t(s.type,l,e.isTypeNode));case 180:return e.updateTypeOperatorNode(s,t(s.type,l,e.isTypeNode));case 181:return e.updateIndexedAccessTypeNode(s,t(s.objectType,l,e.isTypeNode),t(s.indexType,l,e.isTypeNode));case 182:return e.updateMappedTypeNode(s,t(s.readonlyToken,u,e.isToken),t(s.typeParameter,l,e.isTypeParameterDeclaration),t(s.questionToken,u,e.isToken),t(s.type,l,e.isTypeNode));case 183:return e.updateLiteralTypeNode(s,t(s.literal,l,e.isExpression));case 185:return e.updateObjectBindingPattern(s,d(s.elements,l,e.isBindingElement));case 186:return e.updateArrayBindingPattern(s,d(s.elements,l,e.isArrayBindingElement));case 187:return e.updateBindingElement(s,t(s.dotDotDotToken,u,e.isToken),t(s.propertyName,l,e.isPropertyName),t(s.name,l,e.isBindingName),t(s.initializer,l,e.isExpression));case 188:return e.updateArrayLiteral(s,d(s.elements,l,e.isExpression));case 189:return e.updateObjectLiteral(s,d(s.properties,l,e.isObjectLiteralElementLike));case 190:return e.updatePropertyAccess(s,t(s.expression,l,e.isExpression),t(s.name,l,e.isIdentifier));case 191:return e.updateElementAccess(s,t(s.expression,l,e.isExpression),t(s.argumentExpression,l,e.isExpression));case 192:return e.updateCall(s,t(s.expression,l,e.isExpression),d(s.typeArguments,l,e.isTypeNode),d(s.arguments,l,e.isExpression));case 193:return e.updateNew(s,t(s.expression,l,e.isExpression),d(s.typeArguments,l,e.isTypeNode),d(s.arguments,l,e.isExpression));case 194:return e.updateTaggedTemplate(s,t(s.tag,l,e.isExpression),r(s.typeArguments,l,e.isExpression),t(s.template,l,e.isTemplateLiteral));case 195:return e.updateTypeAssertion(s,t(s.type,l,e.isTypeNode),t(s.expression,l,e.isExpression));case 196:return e.updateParen(s,t(s.expression,l,e.isExpression));case 197:return e.updateFunctionExpression(s,d(s.modifiers,l,e.isModifier),t(s.asteriskToken,u,e.isToken),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),i(s.parameters,l,c,d),t(s.type,l,e.isTypeNode),o(s.body,l,c));case 198:return e.updateArrowFunction(s,d(s.modifiers,l,e.isModifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),i(s.parameters,l,c,d),t(s.type,l,e.isTypeNode),t(s.equalsGreaterThanToken,l,e.isToken),o(s.body,l,c));case 199:return e.updateDelete(s,t(s.expression,l,e.isExpression));case 200:return e.updateTypeOf(s,t(s.expression,l,e.isExpression));case 201:return e.updateVoid(s,t(s.expression,l,e.isExpression));case 202:return e.updateAwait(s,t(s.expression,l,e.isExpression));case 203:return e.updatePrefix(s,t(s.operand,l,e.isExpression));case 204:return e.updatePostfix(s,t(s.operand,l,e.isExpression));case 205:return e.updateBinary(s,t(s.left,l,e.isExpression),t(s.right,l,e.isExpression),t(s.operatorToken,l,e.isToken));case 206:return e.updateConditional(s,t(s.condition,l,e.isExpression),t(s.questionToken,l,e.isToken),t(s.whenTrue,l,e.isExpression),t(s.colonToken,l,e.isToken),t(s.whenFalse,l,e.isExpression));case 207:return e.updateTemplateExpression(s,t(s.head,l,e.isTemplateHead),d(s.templateSpans,l,e.isTemplateSpan));case 208:return e.updateYield(s,t(s.asteriskToken,u,e.isToken),t(s.expression,l,e.isExpression));case 209:return e.updateSpread(s,t(s.expression,l,e.isExpression));case 210:return e.updateClassExpression(s,d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.heritageClauses,l,e.isHeritageClause),d(s.members,l,e.isClassElement));case 212:return e.updateExpressionWithTypeArguments(s,d(s.typeArguments,l,e.isTypeNode),t(s.expression,l,e.isExpression));case 213:return e.updateAsExpression(s,t(s.expression,l,e.isExpression),t(s.type,l,e.isTypeNode));case 214:return e.updateNonNullExpression(s,t(s.expression,l,e.isExpression));case 215:return e.updateMetaProperty(s,t(s.name,l,e.isIdentifier));case 217:return e.updateTemplateSpan(s,t(s.expression,l,e.isExpression),t(s.literal,l,e.isTemplateMiddleOrTemplateTail));case 219:return e.updateBlock(s,d(s.statements,l,e.isStatement));case 220:return e.updateVariableStatement(s,d(s.modifiers,l,e.isModifier),t(s.declarationList,l,e.isVariableDeclarationList));case 222:return e.updateExpressionStatement(s,t(s.expression,l,e.isExpression));case 223:return e.updateIf(s,t(s.expression,l,e.isExpression),t(s.thenStatement,l,e.isStatement,e.liftToBlock),t(s.elseStatement,l,e.isStatement,e.liftToBlock));case 224:return e.updateDo(s,t(s.statement,l,e.isStatement,e.liftToBlock),t(s.expression,l,e.isExpression));case 225:return e.updateWhile(s,t(s.expression,l,e.isExpression),t(s.statement,l,e.isStatement,e.liftToBlock));case 226:return e.updateFor(s,t(s.initializer,l,e.isForInitializer),t(s.condition,l,e.isExpression),t(s.incrementor,l,e.isExpression),t(s.statement,l,e.isStatement,e.liftToBlock));case 227:return e.updateForIn(s,t(s.initializer,l,e.isForInitializer),t(s.expression,l,e.isExpression),t(s.statement,l,e.isStatement,e.liftToBlock));case 228:return e.updateForOf(s,t(s.awaitModifier,l,e.isToken),t(s.initializer,l,e.isForInitializer),t(s.expression,l,e.isExpression),t(s.statement,l,e.isStatement,e.liftToBlock));case 229:return e.updateContinue(s,t(s.label,l,e.isIdentifier));case 230:return e.updateBreak(s,t(s.label,l,e.isIdentifier));case 231:return e.updateReturn(s,t(s.expression,l,e.isExpression));case 232:return e.updateWith(s,t(s.expression,l,e.isExpression),t(s.statement,l,e.isStatement,e.liftToBlock));case 233:return e.updateSwitch(s,t(s.expression,l,e.isExpression),t(s.caseBlock,l,e.isCaseBlock));case 234:return e.updateLabel(s,t(s.label,l,e.isIdentifier),t(s.statement,l,e.isStatement,e.liftToBlock));case 235:return e.updateThrow(s,t(s.expression,l,e.isExpression));case 236:return e.updateTry(s,t(s.tryBlock,l,e.isBlock),t(s.catchClause,l,e.isCatchClause),t(s.finallyBlock,l,e.isBlock));case 238:return e.updateVariableDeclaration(s,t(s.name,l,e.isBindingName),t(s.type,l,e.isTypeNode),t(s.initializer,l,e.isExpression));case 239:return e.updateVariableDeclarationList(s,d(s.declarations,l,e.isVariableDeclaration));case 240:return e.updateFunctionDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.asteriskToken,u,e.isToken),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),i(s.parameters,l,c,d),t(s.type,l,e.isTypeNode),o(s.body,l,c));case 241:return e.updateClassDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.heritageClauses,l,e.isHeritageClause),d(s.members,l,e.isClassElement));case 242:return e.updateInterfaceDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.heritageClauses,l,e.isHeritageClause),d(s.members,l,e.isTypeElement));case 243:return e.updateTypeAliasDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),t(s.type,l,e.isTypeNode));case 244:return e.updateEnumDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),d(s.members,l,e.isEnumMember));case 245:return e.updateModuleDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),t(s.body,l,e.isModuleBody));case 246:return e.updateModuleBlock(s,d(s.statements,l,e.isStatement));case 247:return e.updateCaseBlock(s,d(s.clauses,l,e.isCaseOrDefaultClause));case 248:return e.updateNamespaceExportDeclaration(s,t(s.name,l,e.isIdentifier));case 249:return e.updateImportEqualsDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),t(s.moduleReference,l,e.isModuleReference));case 250:return e.updateImportDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.importClause,l,e.isImportClause),t(s.moduleSpecifier,l,e.isExpression));case 251:return e.updateImportClause(s,t(s.name,l,e.isIdentifier),t(s.namedBindings,l,e.isNamedImportBindings));case 252:return e.updateNamespaceImport(s,t(s.name,l,e.isIdentifier));case 253:return e.updateNamedImports(s,d(s.elements,l,e.isImportSpecifier));case 254:return e.updateImportSpecifier(s,t(s.propertyName,l,e.isIdentifier),t(s.name,l,e.isIdentifier));case 255:return e.updateExportAssignment(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.expression,l,e.isExpression));case 256:return e.updateExportDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.exportClause,l,e.isNamedExports),t(s.moduleSpecifier,l,e.isExpression));case 257:return e.updateNamedExports(s,d(s.elements,l,e.isExportSpecifier));case 258:return e.updateExportSpecifier(s,t(s.propertyName,l,e.isIdentifier),t(s.name,l,e.isIdentifier));case 260:return e.updateExternalModuleReference(s,t(s.expression,l,e.isExpression));case 261:return e.updateJsxElement(s,t(s.openingElement,l,e.isJsxOpeningElement),d(s.children,l,e.isJsxChild),t(s.closingElement,l,e.isJsxClosingElement));case 262:return e.updateJsxSelfClosingElement(s,t(s.tagName,l,e.isJsxTagNameExpression),d(s.typeArguments,l,e.isTypeNode),t(s.attributes,l,e.isJsxAttributes));case 263:return e.updateJsxOpeningElement(s,t(s.tagName,l,e.isJsxTagNameExpression),d(s.typeArguments,l,e.isTypeNode),t(s.attributes,l,e.isJsxAttributes));case 264:return e.updateJsxClosingElement(s,t(s.tagName,l,e.isJsxTagNameExpression));case 265:return e.updateJsxFragment(s,t(s.openingFragment,l,e.isJsxOpeningFragment),d(s.children,l,e.isJsxChild),t(s.closingFragment,l,e.isJsxClosingFragment));case 268:return e.updateJsxAttribute(s,t(s.name,l,e.isIdentifier),t(s.initializer,l,e.isStringLiteralOrJsxExpression));case 269:return e.updateJsxAttributes(s,d(s.properties,l,e.isJsxAttributeLike));case 270:return e.updateJsxSpreadAttribute(s,t(s.expression,l,e.isExpression));case 271:return e.updateJsxExpression(s,t(s.expression,l,e.isExpression));case 272:return e.updateCaseClause(s,t(s.expression,l,e.isExpression),d(s.statements,l,e.isStatement));case 273:return e.updateDefaultClause(s,d(s.statements,l,e.isStatement));case 274:return e.updateHeritageClause(s,d(s.types,l,e.isExpressionWithTypeArguments));case 275:return e.updateCatchClause(s,t(s.variableDeclaration,l,e.isVariableDeclaration),t(s.block,l,e.isBlock));case 276:return e.updatePropertyAssignment(s,t(s.name,l,e.isPropertyName),t(s.initializer,l,e.isExpression));case 277:return e.updateShorthandPropertyAssignment(s,t(s.name,l,e.isIdentifier),t(s.objectAssignmentInitializer,l,e.isExpression));case 278:return e.updateSpreadAssignment(s,t(s.expression,l,e.isExpression));case 279:return e.updateEnumMember(s,t(s.name,l,e.isPropertyName),t(s.initializer,l,e.isExpression));case 285:return e.updateSourceFileNode(s,a(s.statements,l,c));case 314:return e.updatePartiallyEmittedExpression(s,t(s.expression,l,e.isExpression));case 315:return e.updateCommaList(s,d(s.elements,l,e.isExpression));default:return s}}}}(c||(c={})),function(e){function n(e,n,t){return e?n(t,e):t}function t(e,n,t){return e?n(t,e):t}function r(r,a,i,o){if(void 0===r)return a;var s=o?t:e.reduceLeft,l=o||i,c=r.kind;if(c>0&&c<=148)return a;if(c>=164&&c<=183)return a;var d=a;switch(r.kind){case 218:case 221:case 211:case 237:case 313:break;case 149:d=n(r.left,i,d),d=n(r.right,i,d);break;case 150:d=n(r.expression,i,d);break;case 152:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=n(r.type,i,d),d=n(r.initializer,i,d);break;case 153:d=n(r.expression,i,d);break;case 154:d=s(r.modifiers,l,d),d=n(r.name,i,d),d=n(r.questionToken,i,d),d=n(r.type,i,d),d=n(r.initializer,i,d);break;case 155:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=n(r.type,i,d),d=n(r.initializer,i,d);break;case 157:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.typeParameters,l,d),d=s(r.parameters,l,d),d=n(r.type,i,d),d=n(r.body,i,d);break;case 158:d=s(r.modifiers,l,d),d=s(r.parameters,l,d),d=n(r.body,i,d);break;case 159:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.parameters,l,d),d=n(r.type,i,d),d=n(r.body,i,d);break;case 160:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.parameters,l,d),d=n(r.body,i,d);break;case 185:case 186:d=s(r.elements,l,d);break;case 187:d=n(r.propertyName,i,d),d=n(r.name,i,d),d=n(r.initializer,i,d);break;case 188:d=s(r.elements,l,d);break;case 189:d=s(r.properties,l,d);break;case 190:d=n(r.expression,i,d),d=n(r.name,i,d);break;case 191:d=n(r.expression,i,d),d=n(r.argumentExpression,i,d);break;case 192:case 193:d=n(r.expression,i,d),d=s(r.typeArguments,l,d),d=s(r.arguments,l,d);break;case 194:d=n(r.tag,i,d),d=s(r.typeArguments,l,d),d=n(r.template,i,d);break;case 195:d=n(r.type,i,d),d=n(r.expression,i,d);break;case 197:d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.typeParameters,l,d),d=s(r.parameters,l,d),d=n(r.type,i,d),d=n(r.body,i,d);break;case 198:d=s(r.modifiers,l,d),d=s(r.typeParameters,l,d),d=s(r.parameters,l,d),d=n(r.type,i,d),d=n(r.body,i,d);break;case 196:case 199:case 200:case 201:case 202:case 208:case 209:case 214:d=n(r.expression,i,d);break;case 203:case 204:d=n(r.operand,i,d);break;case 205:d=n(r.left,i,d),d=n(r.right,i,d);break;case 206:d=n(r.condition,i,d),d=n(r.whenTrue,i,d),d=n(r.whenFalse,i,d);break;case 207:d=n(r.head,i,d),d=s(r.templateSpans,l,d);break;case 210:d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.typeParameters,l,d),d=s(r.heritageClauses,l,d),d=s(r.members,l,d);break;case 212:d=n(r.expression,i,d),d=s(r.typeArguments,l,d);break;case 213:d=n(r.expression,i,d),d=n(r.type,i,d);break;case 217:d=n(r.expression,i,d),d=n(r.literal,i,d);break;case 219:d=s(r.statements,l,d);break;case 220:d=s(r.modifiers,l,d),d=n(r.declarationList,i,d);break;case 222:d=n(r.expression,i,d);break;case 223:d=n(r.expression,i,d),d=n(r.thenStatement,i,d),d=n(r.elseStatement,i,d);break;case 224:d=n(r.statement,i,d),d=n(r.expression,i,d);break;case 225:case 232:d=n(r.expression,i,d),d=n(r.statement,i,d);break;case 226:d=n(r.initializer,i,d),d=n(r.condition,i,d),d=n(r.incrementor,i,d),d=n(r.statement,i,d);break;case 227:case 228:d=n(r.initializer,i,d),d=n(r.expression,i,d),d=n(r.statement,i,d);break;case 231:case 235:d=n(r.expression,i,d);break;case 233:d=n(r.expression,i,d),d=n(r.caseBlock,i,d);break;case 234:d=n(r.label,i,d),d=n(r.statement,i,d);break;case 236:d=n(r.tryBlock,i,d),d=n(r.catchClause,i,d),d=n(r.finallyBlock,i,d);break;case 238:d=n(r.name,i,d),d=n(r.type,i,d),d=n(r.initializer,i,d);break;case 239:d=s(r.declarations,l,d);break;case 240:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.typeParameters,l,d),d=s(r.parameters,l,d),d=n(r.type,i,d),d=n(r.body,i,d);break;case 241:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.typeParameters,l,d),d=s(r.heritageClauses,l,d),d=s(r.members,l,d);break;case 244:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.members,l,d);break;case 245:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=n(r.body,i,d);break;case 246:d=s(r.statements,l,d);break;case 247:d=s(r.clauses,l,d);break;case 249:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=n(r.moduleReference,i,d);break;case 250:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.importClause,i,d),d=n(r.moduleSpecifier,i,d);break;case 251:d=n(r.name,i,d),d=n(r.namedBindings,i,d);break;case 252:d=n(r.name,i,d);break;case 253:case 257:d=s(r.elements,l,d);break;case 254:case 258:d=n(r.propertyName,i,d),d=n(r.name,i,d);break;case 255:d=e.reduceLeft(r.decorators,i,d),d=e.reduceLeft(r.modifiers,i,d),d=n(r.expression,i,d);break;case 256:d=e.reduceLeft(r.decorators,i,d),d=e.reduceLeft(r.modifiers,i,d),d=n(r.exportClause,i,d),d=n(r.moduleSpecifier,i,d);break;case 260:d=n(r.expression,i,d);break;case 261:d=n(r.openingElement,i,d),d=e.reduceLeft(r.children,i,d),d=n(r.closingElement,i,d);break;case 265:d=n(r.openingFragment,i,d),d=e.reduceLeft(r.children,i,d),d=n(r.closingFragment,i,d);break;case 262:case 263:d=n(r.tagName,i,d),d=s(r.typeArguments,i,d),d=n(r.attributes,i,d);break;case 269:d=s(r.properties,l,d);break;case 264:d=n(r.tagName,i,d);break;case 268:d=n(r.name,i,d),d=n(r.initializer,i,d);break;case 270:case 271:d=n(r.expression,i,d);break;case 272:d=n(r.expression,i,d);case 273:d=s(r.statements,l,d);break;case 274:d=s(r.types,l,d);break;case 275:d=n(r.variableDeclaration,i,d),d=n(r.block,i,d);break;case 276:d=n(r.name,i,d),d=n(r.initializer,i,d);break;case 277:d=n(r.name,i,d),d=n(r.objectAssignmentInitializer,i,d);break;case 278:d=n(r.expression,i,d);break;case 279:d=n(r.name,i,d),d=n(r.initializer,i,d);break;case 285:d=s(r.statements,l,d);break;case 314:d=n(r.expression,i,d);break;case 315:d=s(r.elements,l,d)}return d}function a(n){if(void 0===n)return 0;if(536870912&n.transformFlags)return n.transformFlags&~e.getTransformFlagsSubtreeExclusions(n.kind);var t=function(n){if(e.hasModifier(n,2)||e.isTypeNode(n)&&212!==n.kind)return 0;return r(n,0,i,o)}(n);return e.computeTransformFlagsForNode(n,t)}function i(e,n){return e|a(n)}function o(e,n){return e|function(e){if(void 0===e)return 0;for(var n=0,t=0,r=0,i=e;r=x,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),u();for(var c,d=[],m=i(r.mappings),f=m.next(),g=f.value,_=f.done;!_&&(!s||!(g.generatedLine>s.line||g.generatedLine===s.line&&g.generatedCharacter>s.character));l=m.next(),g=l.value,_=l.done,l)if(!o||!(g.generatedLine=x,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),e.Debug.assert(void 0===r||r>=0,"sourceIndex cannot be negative"),e.Debug.assert(void 0===a||a>=0,"sourceLine cannot be negative"),e.Debug.assert(void 0===i||i>=0,"sourceCharacter cannot be negative"),u(),(function(e,n){return!O||x!==e||A!==n}(n,t)||function(e,n,t){return void 0!==e&&void 0!==n&&void 0!==t&&C===e&&(D>n||D===n&&k>t)}(r,a,i))&&(G(),x=n,A=t,I=!1,R=!1,O=!0),void 0!==r&&void 0!==a&&void 0!==i&&(C=r,D=a,k=i,I=!0,void 0!==o&&(M=o,R=!0)),p()}function G(){if(O&&(!L||h!==x||y!==A||b!==C||E!==D||T!==k||S!==M)){if(u(),h=e.length)return p("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var o=(n=e.charCodeAt(r))>=65&&n<=90?n-65:n>=97&&n<=122?n-97+26:n>=48&&n<=57?n-48+52:43===n?62:47===n?63:-1;if(-1===o)return p("Invalid character in VLQ"),-1;t=0!==(32&o),i|=(31&o)<>=1:i=-(i>>=1),i}}function o(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function s(n){n<0?n=1+(-n<<1):n<<=1;var t,r="";do{var a=31&n;(n>>=5)>0&&(a|=32),r+=String.fromCharCode((t=a)>=0&&t<26?65+t:t>=26&&t<52?97+t-26:t>=52&&t<62?48+t-52:62===t?43:63===t?47:e.Debug.fail(t+": not a base64 value"))}while(n>0);return r}function l(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function c(e,n){return e.generatedPosition===n.generatedPosition&&e.sourceIndex===n.sourceIndex&&e.sourcePosition===n.sourcePosition}function d(n,t){return e.Debug.assert(n.sourceIndex===t.sourceIndex),e.compareValues(n.sourcePosition,t.sourcePosition)}function u(n,t){return e.compareValues(n.generatedPosition,t.generatedPosition)}function p(e){return e.sourcePosition}function m(e){return e.generatedPosition}e.getLineInfo=function(e,n){return{getLineCount:function(){return n.length},getLineText:function(t){return e.substring(n[t],n[t+1])}}},e.tryGetSourceMappingURL=function(e){for(var r=e.getLineCount()-1;r>=0;r--){var a=e.getLineText(r),i=n.exec(a);if(i)return i[1];if(!a.match(t))break}},e.isRawSourceMap=a,e.tryParseRawSourceMap=function(e){try{var n=JSON.parse(e);if(a(n))return n}catch(t){}},e.decodeMappings=i,e.sameMapping=function(e,n){return e===n||e.generatedLine===n.generatedLine&&e.generatedCharacter===n.generatedCharacter&&e.sourceIndex===n.sourceIndex&&e.sourceLine===n.sourceLine&&e.sourceCharacter===n.sourceCharacter&&e.nameIndex===n.nameIndex},e.isSourceMapping=o,e.createDocumentPositionMapper=function(n,t,r){var a,s,f,g=e.getDirectoryPath(r),_=t.sourceRoot?e.getNormalizedAbsolutePath(t.sourceRoot,g):g,v=e.getNormalizedAbsolutePath(t.file,g),h=n.getSourceFileLike(v),y=t.sources.map((function(n){return e.getNormalizedAbsolutePath(n,_)})),b=e.createMapFromEntries(y.map((function(e,t){return[n.getCanonicalFileName(e),t]})));return{getSourcePosition:function(n){var t=L();if(!e.some(t))return n;var r=e.binarySearchKey(t,n.pos,m,e.compareValues);r<0&&(r=~r);var a=t[r];if(void 0===a||!l(a))return n;return{fileName:y[a.sourceIndex],pos:a.sourcePosition}},getGeneratedPosition:function(t){var r=b.get(n.getCanonicalFileName(t.fileName));if(void 0===r)return t;var a=S(r);if(!e.some(a))return t;var i=e.binarySearchKey(a,t.pos,p,e.compareValues);i<0&&(i=~i);var o=a[i];if(void 0===o||o.sourceIndex!==r)return t;return{fileName:v,pos:o.generatedPosition}}};function E(r){var a,i,s=void 0!==h?e.getPositionOfLineAndCharacter(h,r.generatedLine,r.generatedCharacter,!0):-1;if(o(r)){var l=n.getSourceFileLike(y[r.sourceIndex]);a=t.sources[r.sourceIndex],i=void 0!==l?e.getPositionOfLineAndCharacter(l,r.sourceLine,r.sourceCharacter,!0):-1}return{generatedPosition:s,source:a,sourceIndex:r.sourceIndex,sourcePosition:i,nameIndex:r.nameIndex}}function T(){if(void 0===a){var r=i(t.mappings),o=e.arrayFrom(r,E);void 0!==r.error?(n.log&&n.log("Encountered error while decoding sourcemap: "+r.error),a=e.emptyArray):a=o}return a}function S(n){if(void 0===f){for(var t=[],r=0,a=T();r0&&a!==r.elements.length||!!(r.elements.length-a)&&e.isDefaultImport(n)}function a(n){return!r(n)&&(e.isDefaultImport(n)||!!n.importClause&&e.isNamedImports(n.importClause.namedBindings)&&function(n){return!!n&&(!!e.isNamedImports(n)&&e.some(n.elements,t))}(n.importClause.namedBindings))}function i(n,t,r){if(e.isBindingPattern(n.name))for(var a=0,o=n.name.elements;a=1)||12288&_.transformFlags||12288&e.getTargetOfBindingOrAssignmentElement(_).transformFlags||e.isComputedPropertyName(v)){c&&(n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(c),s,l,o),c=void 0);var h=r(n,s,v);e.isComputedPropertyName(v)&&(d=e.append(d,h.argumentExpression)),t(n,_,h,_)}else c=e.append(c,_)}}c&&n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(c),s,l,o)}(n,i,d,o,s):e.isArrayBindingOrAssignmentPattern(d)?function(n,r,i,o,s){var l,c,d=e.getElementsOfBindingOrAssignmentPattern(i),u=d.length;if(n.level<1&&n.downlevelIteration)o=a(n,e.createReadHelper(n.context,o,u>0&&e.getRestIndicatorOfBindingOrAssignmentElement(d[u-1])?void 0:u,s),!1,s);else if(1!==u&&(n.level<1||0===u)||e.every(d,e.isOmittedExpression)){var p=!e.isDeclarationBindingElement(r)||0!==u;o=a(n,o,p,s)}for(var m=0;m=1)if(8192&f.transformFlags){var g=e.createTempVariable(void 0);n.hoistTempVariables&&n.context.hoistVariableDeclaration(g),c=e.append(c,[g,f]),l=e.append(l,n.createArrayBindingOrAssignmentElement(g))}else l=e.append(l,f);else{if(e.isOmittedExpression(f))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(f)){if(m===u-1){_=e.createArraySlice(o,m);t(n,f,_,f)}}else{var _=e.createElementAccess(o,m);t(n,f,_,f)}}}l&&n.emitBindingOrAssignment(n.createArrayBindingOrAssignmentPattern(l),o,s,i);if(c)for(var v=0,h=c;v0)return!0;var t=e.getFirstConstructorWithBody(n);if(t)return e.forEach(t.parameters,V);return!1})(n)&&(r|=2);e.childIsDecorated(n)&&(r|=4);Fe(n)?r|=8:!function(n){return Ge(n)&&e.hasModifier(n,512)}(n)?Ve(n)&&(r|=16):r|=32;T<=1&&7&r&&(r|=128);return r}(a,s);128&l&&n.startLexicalEnvironment();var c=a.name||(5&l?e.getGeneratedNameForNode(a):void 0),d=2&l?function(n,t,r){var a=e.moveRangePastDecorators(n),i=function(n){if(16777216&y.getNodeCheckFlags(n)){qe();var t=e.createUniqueName(n.name&&!e.isGeneratedIdentifier(n.name)?e.idText(n.name):"default");return p[e.getOriginalNodeId(n)]=t,h(t),t}}(n),o=e.getLocalName(n,!1,!0),s=e.visitNodes(n.heritageClauses,D,e.isHeritageClause),l=K(n,0!==(64&r)),c=e.createClassExpression(void 0,t,void 0,s,l);e.setOriginalNode(c,n),e.setTextRange(c,a);var d=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(o,void 0,i?e.createAssignment(i,c):c)],1));return e.setOriginalNode(d,n),e.setTextRange(d,a),e.setCommentRange(d,n),d}(a,c,l):function(n,t,r){var a=128&r?void 0:e.visitNodes(n.modifiers,P,e.isModifier),i=e.createClassDeclaration(void 0,a,t,void 0,e.visitNodes(n.heritageClauses,D,e.isHeritageClause),K(n,0!==(64&r))),o=e.getEmitFlags(n);1&r&&(o|=32);return e.setTextRange(i,n),e.setOriginalNode(i,n),e.setEmitFlags(i,o),i}(a,c,l),u=[d];e.some(f)&&u.push(e.createExpressionStatement(e.inlineExpressions(f)));f=i,1&l&&X(u,s,128&l?e.getInternalName(a):e.getLocalName(a));if(te(u,a,!1),te(u,a,!0),function(t,a){var i=function(t){var a=function(n){var t=n.decorators,r=$(e.getFirstConstructorWithBody(n));if(!t&&!r)return;return{decorators:t,parameters:r}}(t),i=ne(t,t,a);if(!i)return;var o=p&&p[e.getOriginalNodeId(t)],s=e.getLocalName(t,!1,!0),l=r(n,i,s),c=e.createAssignment(s,o?e.createAssignment(o,l):l);return e.setEmitFlags(c,1536),e.setSourceMapRange(c,e.moveRangePastDecorators(t)),c}(a);i&&t.push(e.setOriginalNode(e.createExpressionStatement(i),a))}(u,a),128&l){var m=e.createTokenRange(e.skipTrivia(t.text,a.members.end),19),g=e.getInternalName(a),_=e.createPartiallyEmittedExpression(g);_.end=m.end,e.setEmitFlags(_,1536);var v=e.createReturn(_);v.pos=m.pos,e.setEmitFlags(v,1920),u.push(v),e.insertStatementsAfterStandardPrologue(u,n.endLexicalEnvironment());var b=e.createImmediatelyInvokedArrowFunction(u);e.setEmitFlags(b,33554432);var E=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getLocalName(a,!1,!1),void 0,b)]));e.setOriginalNode(E,a),e.setCommentRange(E,a),e.setSourceMapRange(E,e.moveRangePastDecorators(a)),e.startOnNewLine(E),u=[E]}8&l?He(u,a):(128&l||2&l)&&(32&l?u.push(e.createExportDefault(e.getLocalName(a,!1,!0))):16&l&&u.push(e.createExternalModuleExport(e.getLocalName(a,!1,!0))));u.length>1&&(u.push(e.createEndOfDeclarationMarker(a)),e.setEmitFlags(d,4194304|e.getEmitFlags(d)));return e.singleOrMany(u)}(a);case 210:return function(t){if(!H(t))return e.visitEachChild(t,D,n);var r=f;f=void 0;var a=W(t,!0),i=e.visitNodes(t.heritageClauses,D,e.isHeritageClause),o=K(t,e.some(i,(function(e){return 87===e.token}))),s=e.createClassExpression(void 0,t.name,void 0,i,o);if(e.setOriginalNode(s,t),e.setTextRange(s,t),e.some(a)||e.some(f)){var l=[],c=16777216&y.getNodeCheckFlags(t),d=e.createTempVariable(h,!!c);if(c){qe();var u=e.getSynthesizedClone(d);u.autoGenerateFlags&=-9,p[e.getOriginalNodeId(t)]=u}return e.setEmitFlags(s,65536|e.getEmitFlags(s)),l.push(e.startOnNewLine(e.createAssignment(d,s))),e.addRange(l,e.map(f,e.startOnNewLine)),f=r,e.addRange(l,function(n,t){for(var r=[],a=0,i=n;a=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(t);return e.updateSourceFileNode(t,e.visitLexicalEnvironment(t.statements,M,n,0,r))}function V(e){return void 0!==e.decorators&&e.decorators.length>0}function B(e){return!!(1024&e.transformFlags)}function H(n){return e.some(n.decorators)||e.some(n.typeParameters)||e.some(n.heritageClauses,B)||e.some(n.members,B)}function K(t,r){var a=[],i=function(t,r){var a=e.getFirstConstructorWithBody(t),i=e.forEach(t.members,z),o=a&&1024&a.transformFlags&&e.forEach(a.parameters,j);if(!i&&!o)return e.visitEachChild(a,D,n);var s=function(t){return e.visitParameterList(t&&t.parameters,D,n)||[]}(a),l=function(n,t,r){var a=[],i=0;if(_(),t){i=function(n,t){if(n.body){var r=n.body.statements,a=e.addPrologue(t,r,!1,D);if(a===r.length)return a;var i=r[a];return 222===i.kind&&e.isSuperCall(i.expression)?(t.push(e.visitNode(i,D,e.isStatement)),a+1):a}return 0}(t,a);var o=function(n){return e.filter(n.parameters,j)}(t);e.addRange(a,e.map(o,U))}else r&&a.push(e.createExpressionStatement(e.createCall(e.createSuper(),void 0,[e.createSpread(e.createIdentifier("arguments"))])));var s=W(n,!1);X(a,s,e.createThis()),t&&e.addRange(a,e.visitNodes(t.body.statements,D,e.isStatement,i));return a=e.mergeLexicalEnvironment(a,v()),e.setTextRange(e.createBlock(e.setTextRange(e.createNodeArray(a),t?t.body.statements:n.members),!0),t?t.body:void 0)}(t,a,r);return e.startOnNewLine(e.setOriginalNode(e.setTextRange(e.createConstructor(void 0,void 0,s,l),a||t),a))}(t,r);return i&&a.push(i),e.addRange(a,e.visitNodes(t.members,w,e.isClassElement)),e.setTextRange(e.createNodeArray(a),t.members)}function j(n){return e.hasModifier(n,92)&&e.isIdentifier(n.name)}function U(n){e.Debug.assert(e.isIdentifier(n.name));var t=n.name,r=e.getMutableClone(t);e.setEmitFlags(r,1584);var a=e.getMutableClone(t);return e.setEmitFlags(a,1536),e.startOnNewLine(e.setEmitFlags(e.setTextRange(e.createExpressionStatement(e.createAssignment(e.setTextRange(e.createPropertyAccess(e.createThis(),r),n.name),a)),e.moveRangePos(n,-1)),1536))}function W(n,t){return e.filter(n.members,t?q:z)}function q(e){return J(e,!0)}function z(e){return J(e,!1)}function J(n,t){return 155===n.kind&&t===e.hasModifier(n,32)&&void 0!==n.initializer}function X(n,t,r){for(var a=0,i=t;a0&&e.parameterIsThisKeyword(r[0]),i=a?1:0,o=a?r.length-1:r.length,s=0;s0?155===a.kind?e.createVoidZero():e.createNull():void 0,c=r(n,i,o,s,l,e.moveRangePastDecorators(a));return e.setEmitFlags(c,1536),c}}function ae(n){return e.visitNode(n.expression,D,e.isExpression)}function ie(t,r){var a;if(t){a=[];for(var o=0,s=t;o= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'},e.metadataHelper={name:"typescript:metadata",scoped:!1,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'},e.paramHelper={name:"typescript:param",scoped:!1,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"}}(c||(c={})),function(e){var n;function t(n,t,r){var a=0!==(4096&n.getNodeCheckFlags(t)),i=[];return r.forEach((function(n,t){var r=e.unescapeLeadingUnderscores(t),o=[];o.push(e.createPropertyAssignment("get",e.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(e.createPropertyAccess(e.setEmitFlags(e.createSuper(),4),r),4)))),a&&o.push(e.createPropertyAssignment("set",e.createArrowFunction(void 0,void 0,[e.createParameter(void 0,void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,e.createAssignment(e.setEmitFlags(e.createPropertyAccess(e.setEmitFlags(e.createSuper(),4),r),4),e.createIdentifier("v"))))),i.push(e.createPropertyAssignment(r,e.createObjectLiteral(o)))})),e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_super"),void 0,e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"create"),void 0,[e.createNull(),e.createObjectLiteral(i,!0)]))],2))}function r(n,t,r,a){n.requestEmitHelper(e.awaiterHelper);var i=e.createFunctionExpression(void 0,e.createToken(40),void 0,void 0,[],void 0,a);return(i.emitNode||(i.emitNode={})).flags|=786432,e.createCall(e.getHelperName("__awaiter"),void 0,[e.createThis(),t?e.createIdentifier("arguments"):e.createVoidZero(),r?e.createExpressionFromEntityName(r):e.createVoidZero(),i])}!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(n||(n={})),e.transformES2017=function(n){var a,i,o,s,l=n.resumeLexicalEnvironment,c=n.endLexicalEnvironment,d=n.hoistVariableDeclaration,u=n.getEmitResolver(),p=n.getCompilerOptions(),m=e.getEmitScriptTarget(p),f=0,g=[],_=n.onEmitNode,v=n.onSubstituteNode;return n.onEmitNode=function(n,t,r){if(1&a&&function(e){var n=e.kind;return 241===n||158===n||157===n||159===n||160===n}(t)){var i=6144&u.getNodeCheckFlags(t);if(i!==f){var o=f;return f=i,_(n,t,r),void(f=o)}}else if(a&&g[e.getNodeId(t)]){o=f;return f=0,_(n,t,r),void(f=o)}_(n,t,r)},n.onSubstituteNode=function(n,t){if(t=v(n,t),1===n&&f)return function(n){switch(n.kind){case 190:return D(n);case 191:return k(n);case 192:return function(n){var t=n.expression;if(e.isSuperProperty(t)){var r=e.isPropertyAccessExpression(t)?D(t):k(t);return e.createCall(e.createPropertyAccess(r,"call"),void 0,[e.createThis()].concat(n.arguments))}return n}(n)}return n}(t);return t},e.chainBundle((function(t){if(t.isDeclarationFile)return t;var r=e.visitEachChild(t,h,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}));function h(t){if(0===(32&t.transformFlags))return t;switch(t.kind){case 122:return;case 202:return function(n){return e.setOriginalNode(e.setTextRange(e.createYield(void 0,e.visitNode(n.expression,h,e.isExpression)),n),n)}(t);case 157:return function(t){return e.updateMethod(t,void 0,e.visitNodes(t.modifiers,h,e.isModifier),t.asteriskToken,t.name,void 0,void 0,e.visitParameterList(t.parameters,h,n),void 0,2&e.getFunctionFlags(t)?A(t):e.visitFunctionBody(t.body,h,n))}(t);case 240:return function(t){return e.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,h,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,h,n),void 0,2&e.getFunctionFlags(t)?A(t):e.visitFunctionBody(t.body,h,n))}(t);case 197:return function(t){return e.updateFunctionExpression(t,e.visitNodes(t.modifiers,h,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,h,n),void 0,2&e.getFunctionFlags(t)?A(t):e.visitFunctionBody(t.body,h,n))}(t);case 198:return function(t){return e.updateArrowFunction(t,e.visitNodes(t.modifiers,h,e.isModifier),void 0,e.visitParameterList(t.parameters,h,n),void 0,t.equalsGreaterThanToken,2&e.getFunctionFlags(t)?A(t):e.visitFunctionBody(t.body,h,n))}(t);case 190:return o&&e.isPropertyAccessExpression(t)&&99===t.expression.kind&&o.set(t.name.escapedText,!0),e.visitEachChild(t,h,n);case 191:return o&&99===t.expression.kind&&(s=!0),e.visitEachChild(t,h,n);default:return e.visitEachChild(t,h,n)}}function y(t){if(e.isNodeWithPossibleHoistedDeclaration(t))switch(t.kind){case 220:return function(t){if(E(t.declarationList)){var r=T(t.declarationList,!1);return r?e.createExpressionStatement(r):void 0}return e.visitEachChild(t,h,n)}(t);case 226:return function(n){var t=n.initializer;return e.updateFor(n,E(t)?T(t,!1):e.visitNode(n.initializer,h,e.isForInitializer),e.visitNode(n.condition,h,e.isExpression),e.visitNode(n.incrementor,h,e.isExpression),e.visitNode(n.statement,y,e.isStatement,e.liftToBlock))}(t);case 227:return function(n){return e.updateForIn(n,E(n.initializer)?T(n.initializer,!0):e.visitNode(n.initializer,h,e.isForInitializer),e.visitNode(n.expression,h,e.isExpression),e.visitNode(n.statement,y,e.isStatement,e.liftToBlock))}(t);case 228:return function(n){return e.updateForOf(n,e.visitNode(n.awaitModifier,h,e.isToken),E(n.initializer)?T(n.initializer,!0):e.visitNode(n.initializer,h,e.isForInitializer),e.visitNode(n.expression,h,e.isExpression),e.visitNode(n.statement,y,e.isStatement,e.liftToBlock))}(t);case 275:return function(t){var r,a=e.createUnderscoreEscapedMap();if(b(t.variableDeclaration,a),a.forEach((function(n,t){i.has(t)&&(r||(r=e.cloneMap(i)),r.delete(t))})),r){var o=i;i=r;var s=e.visitEachChild(t,y,n);return i=o,s}return e.visitEachChild(t,y,n)}(t);case 219:case 233:case 247:case 272:case 273:case 236:case 224:case 225:case 223:case 232:case 234:return e.visitEachChild(t,y,n);default:return e.Debug.assertNever(t,"Unhandled node.")}return h(t)}function b(n,t){var r=n.name;if(e.isIdentifier(r))t.set(r.escapedText,!0);else for(var a=0,i=r.elements;a=2&&6144&u.getNodeCheckFlags(d);if(O&&(0===(1&a)&&(a|=1,n.enableSubstitution(192),n.enableSubstitution(190),n.enableSubstitution(191),n.enableEmitNotification(241),n.enableEmitNotification(157),n.enableEmitNotification(159),n.enableEmitNotification(160),n.enableEmitNotification(158),n.enableEmitNotification(220)),e.hasEntries(o))){var I=t(u,d,o);g[e.getNodeId(I)]=!0,e.insertStatementsAfterStandardPrologue(k,[I])}var R=e.createBlock(k,!0);e.setTextRange(R,d.body),O&&s&&(4096&u.getNodeCheckFlags(d)?e.addEmitHelper(R,e.advancedAsyncSuperHelper):2048&u.getNodeCheckFlags(d)&&e.addEmitHelper(R,e.asyncSuperHelper)),S=R}return i=y,_||(o=L,s=x),S}function C(n,t){return e.isBlock(n)?e.updateBlock(n,e.visitNodes(n.statements,y,e.isStatement,t)):e.convertToFunctionBody(e.visitNode(n,y,e.isConciseBody))}function D(n){return 99===n.expression.kind?e.setTextRange(e.createPropertyAccess(e.createFileLevelUniqueName("_super"),n.name),n):n}function k(n){return 99===n.expression.kind?(t=n.argumentExpression,r=n,4096&f?e.setTextRange(e.createPropertyAccess(e.createCall(e.createFileLevelUniqueName("_superIndex"),void 0,[t]),"value"),r):e.setTextRange(e.createCall(e.createFileLevelUniqueName("_superIndex"),void 0,[t]),r)):n;var t,r}},e.createSuperAccessVariableStatement=t,e.awaiterHelper={name:"typescript:awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'},e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:e.helperString(s(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:e.helperString(s(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")}}(c||(c={})),function(e){var n;function t(n,t){return n.getCompilerOptions().target>=2?e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"assign"),void 0,t):(n.requestEmitHelper(e.assignHelper),e.createCall(e.getHelperName("__assign"),void 0,t))}function r(n,t){return n.requestEmitHelper(e.awaitHelper),e.createCall(e.getHelperName("__await"),void 0,[t])}function a(n,t,r){return n.requestEmitHelper(e.asyncValues),e.setTextRange(e.createCall(e.getHelperName("__asyncValues"),void 0,[t]),r)}!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(n||(n={})),e.transformES2018=function(n){var i=n.resumeLexicalEnvironment,o=n.endLexicalEnvironment,s=n.hoistVariableDeclaration,l=n.getEmitResolver(),c=n.getCompilerOptions(),d=e.getEmitScriptTarget(c),u=n.onEmitNode;n.onEmitNode=function(n,t,r){if(1&p&&function(e){var n=e.kind;return 241===n||158===n||157===n||159===n||160===n}(t)){var a=6144&l.getNodeCheckFlags(t);if(a!==v){var i=v;return v=a,u(n,t,r),void(v=i)}}else if(p&&h[e.getNodeId(t)]){i=v;return v=0,u(n,t,r),void(v=i)}u(n,t,r)};var p,m,f=n.onSubstituteNode;n.onSubstituteNode=function(n,t){if(t=f(n,t),1===n&&v)return function(n){switch(n.kind){case 190:return D(n);case 191:return k(n);case 192:return function(n){var t=n.expression;if(e.isSuperProperty(t)){var r=e.isPropertyAccessExpression(t)?D(t):k(t);return e.createCall(e.createPropertyAccess(r,"call"),void 0,[e.createThis()].concat(n.arguments))}return n}(n)}return n}(t);return t};var g,_,v=0,h=[];return e.chainBundle((function(t){if(t.isDeclarationFile)return t;var r=e.visitEachChild(t,y,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}));function y(e){return T(e,!1)}function b(e){return T(e,!0)}function E(e){if(122!==e.kind)return e}function T(i,o){if(0===(16&i.transformFlags))return i;switch(i.kind){case 202:return function(t){if(2&m&&1&m)return e.setOriginalNode(e.setTextRange(e.createYield(r(n,e.visitNode(t.expression,y,e.isExpression))),t),t);return e.visitEachChild(t,y,n)}(i);case 208:return function(t){if(2&m&&1&m){if(t.asteriskToken){var i=e.visitNode(t.expression,y,e.isExpression);return e.setOriginalNode(e.setTextRange(e.createYield(r(n,e.updateYield(t,t.asteriskToken,function(n,t,r){return n.requestEmitHelper(e.awaitHelper),n.requestEmitHelper(e.asyncDelegator),e.setTextRange(e.createCall(e.getHelperName("__asyncDelegator"),void 0,[t]),r)}(n,a(n,i,i),i)))),t),t)}return e.setOriginalNode(e.setTextRange(e.createYield(L(t.expression?e.visitNode(t.expression,y,e.isExpression):e.createVoidZero())),t),t)}return e.visitEachChild(t,y,n)}(i);case 231:return function(t){if(2&m&&1&m)return e.updateReturn(t,L(t.expression?e.visitNode(t.expression,y,e.isExpression):e.createVoidZero()));return e.visitEachChild(t,y,n)}(i);case 234:return function(t){if(2&m){var r=e.unwrapInnermostStatementOfLabel(t);return 228===r.kind&&r.awaitModifier?S(r,t):e.restoreEnclosingLabel(e.visitEachChild(r,y,n),t)}return e.visitEachChild(t,y,n)}(i);case 189:return function(r){if(8192&r.transformFlags){var a=function(n){for(var t,r=[],a=0,i=n;a=2&&6144&l.getNodeCheckFlags(t);if(m){0===(1&p)&&(p|=1,n.enableSubstitution(192),n.enableSubstitution(190),n.enableSubstitution(191),n.enableEmitNotification(241),n.enableEmitNotification(157),n.enableEmitNotification(159),n.enableEmitNotification(160),n.enableEmitNotification(158),n.enableEmitNotification(220));var f=e.createSuperAccessVariableStatement(l,t,g);h[e.getNodeId(f)]=!0,e.insertStatementsAfterStandardPrologue(r,[f])}r.push(u),e.insertStatementsAfterStandardPrologue(r,o());var v=e.updateBlock(t.body,r);return m&&_&&(4096&l.getNodeCheckFlags(t)?e.addEmitHelper(v,e.advancedAsyncSuperHelper):2048&l.getNodeCheckFlags(t)&&e.addEmitHelper(v,e.asyncSuperHelper)),g=s,_=c,v}function A(n){i();var t=0,r=[],a=e.visitNode(n.body,y,e.isConciseBody);e.isBlock(a)&&(t=e.addPrologue(r,a.statements,!1,y)),e.addRange(r,C(void 0,n));var s=o();if(t>0||e.some(r)||e.some(s)){var l=e.convertToFunctionBody(a,!0);return e.insertStatementsAfterStandardPrologue(r,s),e.addRange(r,l.statements.slice(t)),e.updateBlock(l,e.setTextRange(e.createNodeArray(r),l.statements))}return a}function C(t,r){for(var a=0,i=r.parameters;a 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'},e.asyncDelegator={name:"typescript:asyncDelegator",scoped:!1,text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'},e.asyncValues={name:"typescript:asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'}}(c||(c={})),function(e){e.transformES2019=function(n){return e.chainBundle((function(r){if(r.isDeclarationFile)return r;return e.visitEachChild(r,t,n)}));function t(r){if(0===(8&r.transformFlags))return r;switch(r.kind){case 275:return function(r){if(!r.variableDeclaration)return e.updateCatchClause(r,e.createVariableDeclaration(e.createTempVariable(void 0)),e.visitNode(r.block,t,e.isBlock));return e.visitEachChild(r,t,n)}(r);default:return e.visitEachChild(r,t,n)}}}}(c||(c={})),function(e){e.transformESNext=function(n){return e.chainBundle((function(r){if(r.isDeclarationFile)return r;return e.visitEachChild(r,t,n)}));function t(r){return 0===(4&r.transformFlags)?r:(r.kind,e.visitEachChild(r,t,n))}}}(c||(c={})),function(e){e.transformJsx=function(t){var r,a=t.getCompilerOptions();return e.chainBundle((function(n){if(n.isDeclarationFile)return n;r=n;var a=e.visitEachChild(n,i,t);return e.addEmitHelpers(a,t.readEmitHelpers()),a}));function i(n){return 2&n.transformFlags?function(n){switch(n.kind){case 261:return s(n,!1);case 262:return l(n,!1);case 265:return c(n,!1);case 271:return g(n);default:return e.visitEachChild(n,i,t)}}(n):n}function o(n){switch(n.kind){case 11:return function(n){var t=function(n){for(var t,r=0,a=-1,i=0;i=n.end)return!1;var a=e.getEnclosingBlockScopeContainer(n);for(;r;){if(r===a||r===n)return!1;if(e.isClassElement(r)&&r.parent===n)return!0;r=r.parent}return!1}(t,n)))return e.setTextRange(e.getGeneratedNameForNode(e.getNameOfDeclaration(t)),n)}return n}(n);case 101:return function(n){if(1&s&&16&a)return e.setTextRange(e.createFileLevelUniqueName("_this"),n);return n}(n)}return n}(t);if(e.isIdentifier(t))return function(n){if(2&s&&!e.isInternalName(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t&&function(e){switch(e.parent.kind){case 187:case 241:case 244:case 238:return e.parent.name===e&&m.isDeclarationWithCollidingName(e.parent)}return!1}(t))return e.setTextRange(e.getGeneratedNameForNode(t),n)}return n}(t);return t},e.chainBundle((function(o){if(o.isDeclarationFile)return o;t=o,r=o.text;var s=function(n){var t=_(8064,64),r=[],a=[];l();var o=e.addStandardPrologue(r,n.statements,!1);o=e.addCustomPrologue(r,n.statements,o,y),e.addRange(a,e.visitNodes(n.statements,y,e.isStatement,o)),i&&a.push(e.createVariableStatement(void 0,e.createVariableDeclarationList(i)));return e.mergeLexicalEnvironment(r,d()),M(r,n),v(t,0,0),e.updateSourceFileNode(n,e.setTextRange(e.createNodeArray(e.concatenate(r,a)),n.statements))}(o);return e.addEmitHelpers(s,n.readEmitHelpers()),t=void 0,r=void 0,i=void 0,a=0,s}));function _(e,n){var t=a;return a=16383&(a&~e|n),t}function v(e,n,t){a=-16384&(a&~n|t)|e}function h(e){return 0!==(8192&a)&&231===e.kind&&!e.expression}function y(r){return function(n){return 0!==(128&n.transformFlags)||void 0!==o||8192&a&&(e.isStatement(n)||219===n.kind)||e.isIterationStatement(n,!1)&&re(n)||0!==(33554432&e.getEmitFlags(n))}(r)?function(r){switch(r.kind){case 117:return;case 241:return function(n){var t=e.createVariableDeclaration(e.getLocalName(n,!0),void 0,T(n));e.setOriginalNode(t,n);var r=[],a=e.createVariableStatement(void 0,e.createVariableDeclarationList([t]));if(e.setOriginalNode(a,n),e.setTextRange(a,n),e.startOnNewLine(a),r.push(a),e.hasModifier(n,1)){var i=e.hasModifier(n,512)?e.createExportDefault(e.getLocalName(n)):e.createExternalModuleExport(e.getLocalName(n));e.setOriginalNode(i,a),r.push(i)}var o=e.getEmitFlags(n);0===(4194304&o)&&(r.push(e.createEndOfDeclarationMarker(n)),e.setEmitFlags(a,4194304|o));return e.singleOrMany(r)}(r);case 210:return function(e){return T(e)}(r);case 152:return function(n){return n.dotDotDotToken?void 0:e.isBindingPattern(n.name)?e.setOriginalNode(e.setTextRange(e.createParameter(void 0,void 0,void 0,e.getGeneratedNameForNode(n),void 0,void 0,void 0),n),n):n.initializer?e.setOriginalNode(e.setTextRange(e.createParameter(void 0,void 0,void 0,n.name,void 0,void 0,void 0),n),n):n}(r);case 240:return function(t){var r=o;o=void 0;var i=_(16286,65),s=e.visitParameterList(t.parameters,y,n),l=G(t),c=16384&a?e.getLocalName(t):t.name;return v(i,49152,0),o=r,e.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,y,e.isModifier),t.asteriskToken,c,void 0,s,void 0,l)}(r);case 198:return function(t){2048&t.transformFlags&&(a|=32768);var r=o;o=void 0;var i=_(15232,66),s=e.createFunctionExpression(void 0,void 0,void 0,void 0,e.visitParameterList(t.parameters,y,n),void 0,G(t));e.setTextRange(s,t),e.setOriginalNode(s,t),e.setEmitFlags(s,8),32768&a&&xe();return v(i,0,0),o=r,s}(r);case 197:return function(t){var r=262144&e.getEmitFlags(t)?_(16278,69):_(16286,65),i=o;o=void 0;var s=e.visitParameterList(t.parameters,y,n),l=G(t),c=16384&a?e.getLocalName(t):t.name;return v(r,49152,0),o=i,e.updateFunctionExpression(t,void 0,t.asteriskToken,c,void 0,s,void 0,l)}(r);case 238:return K(r);case 73:return function(n){if(!o)return n;if(e.isGeneratedIdentifier(n))return n;if("arguments"!==n.escapedText||!m.isArgumentsLocalBinding(n))return n;return o.argumentsName||(o.argumentsName=e.createUniqueName("arguments"))}(r);case 239:return function(t){if(3&t.flags||65536&t.transformFlags){3&t.flags&&Le();var r=e.flatMap(t.declarations,1&t.flags?H:K),a=e.createVariableDeclarationList(r);return e.setOriginalNode(a,t),e.setTextRange(a,t),e.setCommentRange(a,t),65536&t.transformFlags&&(e.isBindingPattern(t.declarations[0].name)||e.isBindingPattern(e.last(t.declarations).name))&&e.setSourceMapRange(a,function(n){for(var t=-1,r=-1,a=0,i=n;a0?(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(r,y,n,0,e.getGeneratedNameForNode(r)))),1048576)),!0):!!i&&(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(e.createExpressionStatement(e.createAssignment(e.getGeneratedNameForNode(r),e.visitNode(i,y,e.isExpression))),1048576)),!0)}function D(n,t,r,a){a=e.visitNode(a,y,e.isExpression);var i=e.createIf(e.createTypeCheck(e.getSynthesizedClone(r),"undefined"),e.setEmitFlags(e.setTextRange(e.createBlock([e.createExpressionStatement(e.setEmitFlags(e.setTextRange(e.createAssignment(e.setEmitFlags(e.getMutableClone(r),48),e.setEmitFlags(a,1584|e.getEmitFlags(a))),t),1536))]),t),1953));e.startOnNewLine(i),e.setTextRange(i,t),e.setEmitFlags(i,1050528),e.insertStatementAfterCustomPrologue(n,i)}function k(t,r,a){var i=[],o=e.lastOrUndefined(r.parameters);if(!function(e,n){return!(!e||!e.dotDotDotToken||n)}(o,a))return!1;var s=73===o.name.kind?e.getMutableClone(o.name):e.createTempVariable(void 0);e.setEmitFlags(s,48);var l=73===o.name.kind?e.getSynthesizedClone(o.name):s,c=r.parameters.length-1,d=e.createLoopVariable();i.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(s,void 0,e.createArrayLiteral([]))])),o),1048576));var u=e.createFor(e.setTextRange(e.createVariableDeclarationList([e.createVariableDeclaration(d,void 0,e.createLiteral(c))]),o),e.setTextRange(e.createLessThan(d,e.createPropertyAccess(e.createIdentifier("arguments"),"length")),o),e.setTextRange(e.createPostfixIncrement(d),o),e.createBlock([e.startOnNewLine(e.setTextRange(e.createExpressionStatement(e.createAssignment(e.createElementAccess(l,0===c?d:e.createSubtract(d,e.createLiteral(c))),e.createElementAccess(e.createIdentifier("arguments"),d))),o))]));return e.setEmitFlags(u,1048576),e.startOnNewLine(u),i.push(u),73!==o.name.kind&&i.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(o,y,n,0,l))),o),1048576)),e.insertStatementsAfterCustomPrologue(t,i),!0}function M(n,t){return!!(32768&a&&198!==t.kind)&&(O(n,t,e.createThis()),!0)}function O(n,t,r){xe();var a=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_this"),void 0,r)]));e.setEmitFlags(a,1050112),e.setSourceMapRange(a,t),e.insertStatementAfterCustomPrologue(n,a)}function I(n,t,r){if(16384&a){var i=void 0;switch(t.kind){case 198:return n;case 157:case 159:case 160:i=e.createVoidZero();break;case 158:i=e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor");break;case 240:case 197:i=e.createConditional(e.createLogicalAnd(e.setEmitFlags(e.createThis(),4),e.createBinary(e.setEmitFlags(e.createThis(),4),95,e.getLocalName(t))),e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor"),e.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(t)}var o=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_newTarget"),void 0,i)]));e.setEmitFlags(o,1050112),r&&(n=n.slice()),e.insertStatementAfterCustomPrologue(n,o)}return n}function R(n){return e.setTextRange(e.createEmptyStatement(),n)}function w(n,t,r){var a=e.getCommentRange(t),i=e.getSourceMapRange(t),o=e.createMemberAccessForPropertyName(n,e.visitNode(t.name,y,e.isPropertyName),t.name),s=F(t,t,void 0,r);e.setEmitFlags(s,1536),e.setSourceMapRange(s,i);var l=e.setTextRange(e.createExpressionStatement(e.createAssignment(o,s)),t);return e.setOriginalNode(l,t),e.setCommentRange(l,a),e.setEmitFlags(l,48),l}function N(n,t,r){var a=e.createExpressionStatement(P(n,t,r,!1));return e.setEmitFlags(a,1536),e.setSourceMapRange(a,e.getSourceMapRange(t.firstAccessor)),a}function P(n,t,r,a){var i=t.firstAccessor,o=t.getAccessor,s=t.setAccessor,l=e.getMutableClone(n);e.setEmitFlags(l,1568),e.setSourceMapRange(l,i.name);var c=e.createExpressionForPropertyName(e.visitNode(i.name,y,e.isPropertyName));e.setEmitFlags(c,1552),e.setSourceMapRange(c,i.name);var d=[];if(o){var u=F(o,void 0,void 0,r);e.setSourceMapRange(u,e.getSourceMapRange(o)),e.setEmitFlags(u,512);var p=e.createPropertyAssignment("get",u);e.setCommentRange(p,e.getCommentRange(o)),d.push(p)}if(s){var m=F(s,void 0,void 0,r);e.setSourceMapRange(m,e.getSourceMapRange(s)),e.setEmitFlags(m,512);var f=e.createPropertyAssignment("set",m);e.setCommentRange(f,e.getCommentRange(s)),d.push(f)}d.push(e.createPropertyAssignment("enumerable",e.createTrue()),e.createPropertyAssignment("configurable",e.createTrue()));var g=e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[l,c,e.createObjectLiteral(d,!0)]);return a&&e.startOnNewLine(g),g}function F(t,r,i,s){var l=o;o=void 0;var c=s&&e.isClassLike(s)&&!e.hasModifier(t,32)?_(16286,73):_(16286,65),d=e.visitParameterList(t.parameters,y,n),u=G(t);return 16384&a&&!i&&(240===t.kind||197===t.kind)&&(i=e.getGeneratedNameForNode(t)),v(c,49152,0),o=l,e.setOriginalNode(e.setTextRange(e.createFunctionExpression(void 0,t.asteriskToken,i,void 0,d,void 0,u),r),t)}function G(n){var r,a,i,o=!1,s=!1,l=[],u=[],p=n.body;if(c(),e.isBlock(p)&&(i=e.addStandardPrologue(l,p.statements,!1)),o=A(u,n)||o,o=k(u,n,!1)||o,e.isBlock(p))i=e.addCustomPrologue(u,p.statements,i,y),r=p.statements,e.addRange(u,e.visitNodes(p.statements,y,e.isStatement,i)),!o&&p.multiLine&&(o=!0);else{e.Debug.assert(198===n.kind),r=e.moveRangeEnd(p,-1);var m=n.equalsGreaterThanToken;e.nodeIsSynthesized(m)||e.nodeIsSynthesized(p)||(e.rangeEndIsOnSameLineAsRangeStart(m,p,t)?s=!0:o=!0);var f=e.visitNode(p,y,e.isExpression),g=e.createReturn(f);e.setTextRange(g,p),e.moveSyntheticComments(g,p),e.setEmitFlags(g,1440),u.push(g),a=p}if(e.mergeLexicalEnvironment(l,d()),I(l,n,!1),M(l,n),e.some(l)&&(o=!0),u.unshift.apply(u,l),e.isBlock(p)&&e.arrayIsEqualTo(u,p.statements))return p;var _=e.createBlock(e.setTextRange(e.createNodeArray(u),r),o);return e.setTextRange(_,n.body),!o&&s&&e.setEmitFlags(_,1),a&&e.setTokenSourceMapRange(_,19,a),e.setOriginalNode(_,n.body),_}function V(t,r){if(!r)switch(t.expression.kind){case 196:return e.updateParen(t,V(t.expression,!1));case 205:return e.updateParen(t,B(t.expression,!1))}return e.visitEachChild(t,y,n)}function B(t,r){return e.isDestructuringAssignment(t)?e.flattenDestructuringAssignment(t,y,n,0,r):e.visitEachChild(t,y,n)}function H(t){var r=t.name;if(e.isBindingPattern(r))return K(t);if(!t.initializer&&function(e){var n=m.getNodeCheckFlags(e),t=262144&n,r=524288&n;return!(0!==(64&a)||t&&r&&0!==(512&a))&&0===(4096&a)&&(!m.isDeclarationWithCollidingName(e)||r&&!t&&0===(6144&a))}(t)){var i=e.getMutableClone(t);return i.initializer=e.createVoidZero(),i}return e.visitEachChild(t,y,n)}function K(t){var r,a=_(32,0);return r=e.isBindingPattern(t.name)?e.flattenDestructuringBinding(t,y,n,0,void 0,0!==(32&a)):e.visitEachChild(t,y,n),v(a,0,0),r}function j(n){o.labels.set(e.idText(n.label),!0)}function U(n){o.labels.set(e.idText(n.label),!1)}function W(t,r,i,s,c){var u=_(t,r),p=function(t,r,i,s){if(!re(t)){var c=void 0;o&&(c=o.allowedNonLabeledJumps,o.allowedNonLabeledJumps=6);var u=s?s(t,r,void 0,i):e.restoreEnclosingLabel(e.visitEachChild(t,y,n),r,o&&U);return o&&(o.allowedNonLabeledJumps=c),u}var p=function(n){var t;switch(n.kind){case 226:case 227:case 228:var r=n.initializer;r&&239===r.kind&&(t=r)}var a=[],i=[];if(t&&3&e.getCombinedNodeFlags(t))for(var s=ne(n),l=0,c=t.declarations;l=74&&t<=109)return e.setTextRange(e.createLiteral(n),n)}}}(c||(c={})),function(e){var n,t,r,a,i;!function(e){e[e.Nop=0]="Nop",e[e.Statement=1]="Statement",e[e.Assign=2]="Assign",e[e.Break=3]="Break",e[e.BreakWhenTrue=4]="BreakWhenTrue",e[e.BreakWhenFalse=5]="BreakWhenFalse",e[e.Yield=6]="Yield",e[e.YieldStar=7]="YieldStar",e[e.Return=8]="Return",e[e.Throw=9]="Throw",e[e.Endfinally=10]="Endfinally"}(n||(n={})),function(e){e[e.Open=0]="Open",e[e.Close=1]="Close"}(t||(t={})),function(e){e[e.Exception=0]="Exception",e[e.With=1]="With",e[e.Switch=2]="Switch",e[e.Loop=3]="Loop",e[e.Labeled=4]="Labeled"}(r||(r={})),function(e){e[e.Try=0]="Try",e[e.Catch=1]="Catch",e[e.Finally=2]="Finally",e[e.Done=3]="Done"}(a||(a={})),function(e){e[e.Next=0]="Next",e[e.Throw=1]="Throw",e[e.Return=2]="Return",e[e.Break=3]="Break",e[e.Yield=4]="Yield",e[e.YieldStar=5]="YieldStar",e[e.Catch=6]="Catch",e[e.Endfinally=7]="Endfinally"}(i||(i={})),e.transformGenerators=function(n){var t,r,a,i,o,s,l,c,d,u,p=n.resumeLexicalEnvironment,m=n.endLexicalEnvironment,f=n.hoistFunctionDeclaration,g=n.hoistVariableDeclaration,_=n.getCompilerOptions(),v=e.getEmitScriptTarget(_),h=n.getEmitResolver(),y=n.onSubstituteNode;n.onSubstituteNode=function(n,a){if(a=y(n,a),1===n)return function(n){if(e.isIdentifier(n))return function(n){if(!e.isGeneratedIdentifier(n)&&t&&t.has(e.idText(n))){var a=e.getOriginalNode(n);if(e.isIdentifier(a)&&a.parent){var i=h.getReferencedValueDeclaration(a);if(i){var o=r[e.getOriginalNodeId(i)];if(o){var s=e.getMutableClone(o);return e.setSourceMapRange(s,n),e.setCommentRange(s,n),s}}}}return n}(n);return n}(a);return a};var b,E,T,S,L,x,A,C,D,k,M,O,I=1,R=0,w=0;return e.chainBundle((function(t){if(t.isDeclarationFile||0===(256&t.transformFlags))return t;var r=e.visitEachChild(t,N,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}));function N(t){var r=t.transformFlags;return i?function(t){switch(t.kind){case 224:case 225:return function(t){return i?(te(),t=e.visitEachChild(t,N,n),ae(),t):e.visitEachChild(t,N,n)}(t);case 233:return function(t){i&&Z({kind:2,isScript:!0,breakLabel:-1});t=e.visitEachChild(t,N,n),i&&ie();return t}(t);case 234:return function(t){i&&Z({kind:4,isScript:!0,labelText:e.idText(t.label),breakLabel:-1});t=e.visitEachChild(t,N,n),i&&oe();return t}(t);default:return P(t)}}(t):a?P(t):e.isFunctionLikeDeclaration(t)&&t.asteriskToken?function(n){switch(n.kind){case 240:return F(n);case 197:return G(n);default:return e.Debug.failBadSyntaxKind(n)}}(t):256&r?e.visitEachChild(t,N,n):t}function P(t){switch(t.kind){case 240:return F(t);case 197:return G(t);case 159:case 160:return function(t){var r=a,o=i;return a=!1,i=!1,t=e.visitEachChild(t,N,n),a=r,i=o,t}(t);case 220:return function(n){if(131072&n.transformFlags)return void U(n.declarationList);if(1048576&e.getEmitFlags(n))return n;for(var t=0,r=n.declarationList.declarations;t0?e.inlineExpressions(e.map(l,W)):void 0,e.visitNode(t.condition,N,e.isExpression),e.visitNode(t.incrementor,N,e.isExpression),e.visitNode(t.statement,N,e.isStatement,e.liftToBlock))}else t=e.visitEachChild(t,N,n);i&&ae();return t}(t);case 227:return function(t){i&&te();var r=t.initializer;if(e.isVariableDeclarationList(r)){for(var a=0,o=r.declarations;a0)return ge(r,t)}return e.visitEachChild(t,N,n)}(t);case 229:return function(t){if(i){var r=pe(t.label&&e.idText(t.label));if(r>0)return ge(r,t)}return e.visitEachChild(t,N,n)}(t);case 231:return function(n){return t=e.visitNode(n.expression,N,e.isExpression),r=n,e.setTextRange(e.createReturn(e.createArrayLiteral(t?[fe(2),t]:[fe(2)])),r);var t,r}(t);default:return 131072&t.transformFlags?function(t){switch(t.kind){case 205:return function(t){var r=e.getExpressionAssociativity(t);switch(r){case 0:return function(t){if(q(t.right)){if(e.isLogicalOperator(t.operatorToken.kind))return function(n){var t=Y(),r=X();he(r,e.visitNode(n.left,N,e.isExpression),n.left),54===n.operatorToken.kind?Ee(t,r,n.left):be(t,r,n.left);return he(r,e.visitNode(n.right,N,e.isExpression),n.right),Q(t),r}(t);if(27===t.operatorToken.kind)return function(n){var t=[];return r(n.left),r(n.right),e.inlineExpressions(t);function r(n){e.isBinaryExpression(n)&&27===n.operatorToken.kind?(r(n.left),r(n.right)):(q(n)&&t.length>0&&(Te(1,[e.createExpressionStatement(e.inlineExpressions(t))]),t=[]),t.push(e.visitNode(n,N,e.isExpression)))}}(t);var r=e.getMutableClone(t);return r.left=J(e.visitNode(t.left,N,e.isExpression)),r.right=e.visitNode(t.right,N,e.isExpression),r}return e.visitEachChild(t,N,n)}(t);case 1:return function(t){var r=t.left,a=t.right;if(q(a)){var i=void 0;switch(r.kind){case 190:i=e.updatePropertyAccess(r,J(e.visitNode(r.expression,N,e.isLeftHandSideExpression)),r.name);break;case 191:i=e.updateElementAccess(r,J(e.visitNode(r.expression,N,e.isLeftHandSideExpression)),J(e.visitNode(r.argumentExpression,N,e.isExpression)));break;default:i=e.visitNode(r,N,e.isExpression)}var o=t.operatorToken.kind;return(s=o)>=61&&s<=72?e.setTextRange(e.createAssignment(i,e.setTextRange(e.createBinary(J(i),function(e){switch(e){case 61:return 38;case 62:return 39;case 63:return 40;case 64:return 41;case 65:return 42;case 66:return 43;case 67:return 46;case 68:return 47;case 69:return 48;case 70:return 49;case 71:return 50;case 72:return 51}}(o),e.visitNode(a,N,e.isExpression)),t)),t):e.updateBinary(t,i,e.visitNode(a,N,e.isExpression))}var s;return e.visitEachChild(t,N,n)}(t);default:return e.Debug.assertNever(r)}}(t);case 206:return function(t){if(q(t.whenTrue)||q(t.whenFalse)){var r=Y(),a=Y(),i=X();return Ee(r,e.visitNode(t.condition,N,e.isExpression),t.condition),he(i,e.visitNode(t.whenTrue,N,e.isExpression),t.whenTrue),ye(a),Q(r),he(i,e.visitNode(t.whenFalse,N,e.isExpression),t.whenFalse),Q(a),i}return e.visitEachChild(t,N,n)}(t);case 208:return function(t){var r=Y(),a=e.visitNode(t.expression,N,e.isExpression);if(t.asteriskToken){!function(e,n){Te(7,[e],n)}(0===(8388608&e.getEmitFlags(t.expression))?e.createValuesHelper(n,a,t):a,t)}else!function(e,n){Te(6,[e],n)}(a,t);return Q(r),function(n){return e.setTextRange(e.createCall(e.createPropertyAccess(S,"sent"),void 0,[]),n)}(t)}(t);case 188:return function(e){return B(e.elements,void 0,void 0,e.multiLine)}(t);case 189:return function(n){var t=n.properties,r=n.multiLine,a=z(t),i=X();he(i,e.createObjectLiteral(e.visitNodes(t,N,e.isObjectLiteralElementLike,0,a),r));var o=e.reduceLeft(t,(function(t,a){q(a)&&t.length>0&&(ve(e.createExpressionStatement(e.inlineExpressions(t))),t=[]);var o=e.createExpressionForObjectLiteralElementLike(n,a,i),s=e.visitNode(o,N,e.isExpression);s&&(r&&e.startOnNewLine(s),t.push(s));return t}),[],a);return o.push(r?e.startOnNewLine(e.getMutableClone(i)):i),e.inlineExpressions(o)}(t);case 191:return function(t){if(q(t.argumentExpression)){var r=e.getMutableClone(t);return r.expression=J(e.visitNode(t.expression,N,e.isLeftHandSideExpression)),r.argumentExpression=e.visitNode(t.argumentExpression,N,e.isExpression),r}return e.visitEachChild(t,N,n)}(t);case 192:return function(t){if(!e.isImportCall(t)&&e.forEach(t.arguments,q)){var r=e.createCallBinding(t.expression,g,v,!0),a=r.target,i=r.thisArg;return e.setOriginalNode(e.createFunctionApply(J(e.visitNode(a,N,e.isLeftHandSideExpression)),i,B(t.arguments),t),t)}return e.visitEachChild(t,N,n)}(t);case 193:return function(t){if(e.forEach(t.arguments,q)){var r=e.createCallBinding(e.createPropertyAccess(t.expression,"bind"),g),a=r.target,i=r.thisArg;return e.setOriginalNode(e.setTextRange(e.createNew(e.createFunctionApply(J(e.visitNode(a,N,e.isExpression)),i,B(t.arguments,e.createVoidZero())),void 0,[]),t),t)}return e.visitEachChild(t,N,n)}(t);default:return e.visitEachChild(t,N,n)}}(t):262400&t.transformFlags?e.visitEachChild(t,N,n):t}}function F(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(e.createFunctionDeclaration(void 0,t.modifiers,void 0,t.name,void 0,e.visitParameterList(t.parameters,N,n),void 0,V(t.body)),t),t);else{var r=a,o=i;a=!1,i=!1,t=e.visitEachChild(t,N,n),a=r,i=o}return a?void f(t):t}function G(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(e.createFunctionExpression(void 0,void 0,t.name,void 0,e.visitParameterList(t.parameters,N,n),void 0,V(t.body)),t),t);else{var r=a,o=i;a=!1,i=!1,t=e.visitEachChild(t,N,n),a=r,i=o}return t}function V(n){var t=[],r=a,f=i,g=o,_=s,v=l,h=c,y=d,L=u,x=I,A=b,C=E,D=T,k=S;a=!0,i=!1,o=void 0,s=void 0,l=void 0,c=void 0,d=void 0,u=void 0,I=1,b=void 0,E=void 0,T=void 0,S=e.createTempVariable(void 0),p();var M=e.addPrologue(t,n.statements,!1,N);H(n.statements,M);var O=Se();return e.insertStatementsAfterStandardPrologue(t,m()),t.push(e.createReturn(O)),a=r,i=f,o=g,s=_,l=v,c=h,d=y,u=L,I=x,b=A,E=C,T=D,S=k,e.setTextRange(e.createBlock(t,n.multiLine),n)}function B(n,t,r,a){var i,o=z(n);if(o>0){i=X();var s=e.visitNodes(n,N,e.isExpression,0,o);he(i,e.createArrayLiteral(t?[t].concat(s):s)),t=void 0}var l=e.reduceLeft(n,(function(n,r){if(q(r)&&n.length>0){var o=void 0!==i;i||(i=X()),he(i,o?e.createArrayConcat(i,[e.createArrayLiteral(n,a)]):e.createArrayLiteral(t?[t].concat(n):n,a)),t=void 0,n=[]}return n.push(e.visitNode(r,N,e.isExpression)),n}),[],o);return i?e.createArrayConcat(i,[e.createArrayLiteral(l,a)]):e.setTextRange(e.createArrayLiteral(t?[t].concat(l):l,a),r)}function H(e,n){void 0===n&&(n=0);for(var t=e.length,r=n;r0?ye(t,n):ve(n)}(a);case 230:return function(n){var t=ue(n.label?e.idText(n.label):void 0);t>0?ye(t,n):ve(n)}(a);case 231:return function(n){t=e.visitNode(n.expression,N,e.isExpression),r=n,Te(8,[t],r);var t,r}(a);case 232:return function(n){q(n)?(!function(e){var n=Y(),t=Y();Q(n),Z({kind:1,expression:e,startLabel:n,endLabel:t})}(J(e.visitNode(n.expression,N,e.isExpression))),K(n.statement),e.Debug.assert(1===ne()),Q($().endLabel)):ve(e.visitNode(n,N,e.isStatement))}(a);case 233:return function(n){if(q(n.caseBlock)){for(var t=n.caseBlock,r=t.clauses.length,a=function(){var e=Y();return Z({kind:2,isScript:!1,breakLabel:e}),e}(),i=J(e.visitNode(n.expression,N,e.isExpression)),o=[],s=-1,l=0;l0)break;u.push(e.createCaseClause(e.visitNode(c.expression,N,e.isExpression),[ge(o[l],c.expression)]))}else p++}u.length&&(ve(e.createSwitch(i,e.createCaseBlock(u))),d+=u.length,u=[]),p>0&&(d+=p,p=0)}ye(s>=0?o[s]:a);for(l=0;l0)break;c.push(W(a))}c.length&&(ve(e.createExpressionStatement(e.inlineExpressions(c))),l+=c.length,c=[])}}function W(n){return e.setSourceMapRange(e.createAssignment(e.setSourceMapRange(e.getSynthesizedClone(n.name),n.name),e.visitNode(n.initializer,N,e.isExpression)),n)}function q(e){return!!e&&0!==(131072&e.transformFlags)}function z(e){for(var n=e.length,t=0;t=0;t--){var r=c[t];if(!le(r))break;if(r.labelText===e)return!0}return!1}function ue(e){if(c)if(e)for(var n=c.length-1;n>=0;n--){if(le(t=c[n])&&t.labelText===e)return t.breakLabel;if(se(t)&&de(e,n-1))return t.breakLabel}else for(n=c.length-1;n>=0;n--){var t;if(se(t=c[n]))return t.breakLabel}return 0}function pe(e){if(c)if(e)for(var n=c.length-1;n>=0;n--){if(ce(t=c[n])&&de(e,n-1))return t.continueLabel}else for(n=c.length-1;n>=0;n--){var t;if(ce(t=c[n]))return t.continueLabel}return 0}function me(n){if(void 0!==n&&n>0){void 0===u&&(u=[]);var t=e.createLiteral(-1);return void 0===u[n]?u[n]=[t]:u[n].push(t),t}return e.createOmittedExpression()}function fe(n){var t=e.createLiteral(n);return e.addSyntheticTrailingComment(t,3,function(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}(n)),t}function ge(n,t){return e.Debug.assertLessThan(0,n,"Invalid label"),e.setTextRange(e.createReturn(e.createArrayLiteral([fe(3),me(n)])),t)}function _e(){Te(0)}function ve(e){e?Te(1,[e]):_e()}function he(e,n,t){Te(2,[e,n],t)}function ye(e,n){Te(3,[e],n)}function be(e,n,t){Te(4,[e,n],t)}function Ee(e,n,t){Te(5,[e,n],t)}function Te(e,n,t){void 0===b&&(b=[],E=[],T=[]),void 0===d&&Q(Y());var r=b.length;b[r]=e,E[r]=n,T[r]=t}function Se(){R=0,w=0,L=void 0,x=!1,A=!1,C=void 0,D=void 0,k=void 0,M=void 0,O=void 0;var t=function(){if(b){for(var n=0;n0)),524288))}function Le(e){(function(e){if(!A)return!0;if(!d||!u)return!1;for(var n=0;n=0;t--){var r=O[t];D=[e.createWith(r.expression,e.createBlock(D))]}if(M){var a=M.startLabel,i=M.catchLabel,o=M.finallyLabel,s=M.endLabel;D.unshift(e.createExpressionStatement(e.createCall(e.createPropertyAccess(e.createPropertyAccess(S,"trys"),"push"),void 0,[e.createArrayLiteral([me(a),me(i),me(o),me(s)])]))),M=void 0}n&&D.push(e.createExpressionStatement(e.createAssignment(e.createPropertyAccess(S,"label"),e.createLiteral(w+1))))}C.push(e.createCaseClause(e.createLiteral(w),D||[])),D=void 0}function Ae(e){if(d)for(var n=0;n 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'}}(c||(c={})),function(e){e.transformModule=function(r){var a=r.startLexicalEnvironment,i=r.endLexicalEnvironment,o=r.hoistVariableDeclaration,s=r.getCompilerOptions(),l=r.getEmitResolver(),c=r.getEmitHost(),d=e.getEmitScriptTarget(s),u=e.getEmitModuleKind(s),p=r.onSubstituteNode,m=r.onEmitNode;r.onSubstituteNode=function(n,t){if((t=p(n,t)).id&&_[t.id])return t;if(1===n)return function(n){switch(n.kind){case 73:return z(n);case 205:return function(n){if(e.isAssignmentOperator(n.operatorToken.kind)&&e.isIdentifier(n.left)&&!e.isGeneratedIdentifier(n.left)&&!e.isLocalName(n.left)&&!e.isDeclarationNameOfEnumOrNamespace(n.left)){var t=J(n.left);if(t){for(var r=n,a=0,i=t;a=2?2:0)),n),n))}else r&&e.isDefaultImport(n)&&(t=e.append(t,e.createVariableStatement(void 0,e.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(e.createVariableDeclaration(e.getSynthesizedClone(r.name),void 0,e.getGeneratedNameForNode(n)),n),n)],d>=2?2:0))));if(P(n)){var i=e.getOriginalNodeId(n);y[i]=F(y[i],n)}else t=F(t,n);return e.singleOrMany(t)}(n);case 249:return function(n){var t;e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(n),"import= for internal module references should be handled in an earlier transformer."),u!==e.ModuleKind.AMD?t=e.hasModifier(n,1)?e.append(t,e.setOriginalNode(e.setTextRange(e.createExpressionStatement(W(n.name,R(n))),n),n)):e.append(t,e.setOriginalNode(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedClone(n.name),void 0,R(n))],d>=2?2:0)),n),n)):e.hasModifier(n,1)&&(t=e.append(t,e.setOriginalNode(e.setTextRange(e.createExpressionStatement(W(e.getExportName(n),e.getLocalName(n))),n),n)));if(P(n)){var r=e.getOriginalNodeId(n);y[r]=G(y[r],n)}else t=G(t,n);return e.singleOrMany(t)}(n);case 256:return function(n){if(!n.moduleSpecifier)return;var t=e.getGeneratedNameForNode(n);if(n.exportClause){var a=[];u!==e.ModuleKind.AMD&&a.push(e.setOriginalNode(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(t,void 0,R(n))])),n),n));for(var i=0,o=n.exportClause.elements;i(e.isExportName(t)?1:0);return!1}(n.left))return e.flattenDestructuringAssignment(n,k,r,0,!1,w);return e.visitEachChild(n,k,r)}(n):e.visitEachChild(n,k,r):n}function M(n,t){var a,i=e.createUniqueName("resolve"),o=e.createUniqueName("reject"),l=[e.createParameter(void 0,void 0,void 0,i),e.createParameter(void 0,void 0,void 0,o)],c=e.createBlock([e.createExpressionStatement(e.createCall(e.createIdentifier("require"),void 0,[e.createArrayLiteral([n||e.createOmittedExpression()]),i,o]))]);d>=2?a=e.createArrowFunction(void 0,void 0,l,void 0,void 0,c):(a=e.createFunctionExpression(void 0,void 0,void 0,void 0,l,void 0,c),t&&e.setEmitFlags(a,8));var u=e.createNew(e.createIdentifier("Promise"),void 0,[a]);return s.esModuleInterop?(r.requestEmitHelper(e.importStarHelper),e.createCall(e.createPropertyAccess(u,e.createIdentifier("then")),void 0,[e.getHelperName("__importStar")])):u}function O(n,t){var a,i=e.createCall(e.createPropertyAccess(e.createIdentifier("Promise"),"resolve"),void 0,[]),o=e.createCall(e.createIdentifier("require"),void 0,n?[n]:[]);return s.esModuleInterop&&(r.requestEmitHelper(e.importStarHelper),o=e.createCall(e.getHelperName("__importStar"),void 0,[o])),d>=2?a=e.createArrowFunction(void 0,void 0,[],void 0,void 0,o):(a=e.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,e.createBlock([e.createReturn(o)])),t&&e.setEmitFlags(a,8)),e.createCall(e.createPropertyAccess(i,"then"),void 0,[a])}function I(n,t){return!s.esModuleInterop||67108864&e.getEmitFlags(n)?t:e.getImportNeedsImportStarHelper(n)?(r.requestEmitHelper(e.importStarHelper),e.createCall(e.getHelperName("__importStar"),void 0,[t])):e.getImportNeedsImportDefaultHelper(n)?(r.requestEmitHelper(e.importDefaultHelper),e.createCall(e.getHelperName("__importDefault"),void 0,[t])):t}function R(n){var t=e.getExternalModuleNameLiteral(n,f,c,l,s),r=[];return t&&r.push(t),e.createCall(e.createIdentifier("require"),void 0,r)}function w(n,t,r){var a=J(n);if(a){for(var i=e.isExportName(n)?t:e.createAssignment(n,t),o=0,s=a;o0?a.parent.parameters[i-1]:void 0,s=r.text,l=o?e.concatenate(e.getTrailingCommentRanges(s,e.skipTrivia(s,o.end+1,!1,!0)),e.getLeadingCommentRanges(s,t.pos)):e.getTrailingCommentRanges(s,e.skipTrivia(s,t.pos,!1,!0));return l&&l.length&&n(e.last(l),r)}var c=a&&e.getLeadingCommentRangesOfNode(a,r);return!!e.forEach(c,(function(e){return n(e,r)}))}e.getDeclarationDiagnostics=function(n,t,a){if(a&&e.isSourceFileJS(a))return[];var i=n.getCompilerOptions();return e.transformNodes(t,n,i,a?[a]:e.filter(n.getSourceFiles(),e.isSourceFileNotJS),[r],!1).diagnostics},e.isInternalDeclaration=t;function r(n){var r,s,l,c,d,u,p,m,f,g,_=function(){return e.Debug.fail("Diagnostic emitted without context")},v=_,h=!0,y=!1,b=!1,E=!1,T=!1,S=n.getEmitHost(),L={trackSymbol:function(e,n,t){if(262144&e.flags)return;O(x.isSymbolAccessible(e,n,t,!0)),M(x.getTypeReferenceDirectivesForSymbol(e,t))},reportInaccessibleThisError:function(){p&&n.addDiagnostic(e.createDiagnosticForNode(p,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(p),"this"))},reportInaccessibleUniqueSymbolError:function(){p&&n.addDiagnostic(e.createDiagnosticForNode(p,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(p),"unique symbol"))},reportPrivateInBaseOfClassExpression:function(t){p&&n.addDiagnostic(e.createDiagnosticForNode(p,e.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,t))},reportLikelyUnsafeImportRequiredError:function(t){p&&n.addDiagnostic(e.createDiagnosticForNode(p,e.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,e.declarationNameToString(p),t))},moduleResolverHost:S,trackReferencedAmbientModule:function(n,t){var r=x.getTypeReferenceDirectivesForSymbol(t,67108863);if(e.length(r))return M(r);var a=e.getSourceFileOfNode(n);f.set(""+e.getOriginalNodeId(a),a)},trackExternalModuleSymbolOfImportTypeNode:function(e){y||(u||(u=[])).push(e)}},x=n.getEmitResolver(),A=n.getCompilerOptions(),C=e.getNewLineCharacter(A),D=A.noResolve,k=A.stripInternal;return function(t){if(285===t.kind&&(t.isDeclarationFile||e.isSourceFileJS(t)))return t;if(286===t.kind){y=!0,f=e.createMap(),g=e.createMap();var a=!1,i=e.createBundle(e.map(t.sourceFiles,(function(t){if(!t.isDeclarationFile&&!e.isSourceFileJS(t)){if(a=a||t.hasNoDefaultLib,m=t,r=t,l=void 0,d=!1,c=e.createMap(),v=_,E=!1,T=!1,I(t,f),R(t,g),e.isExternalModule(t)){b=!1,h=!1;var i=e.visitNodes(t.statements,Y);return e.updateSourceFileNode(t,[e.createModuleDeclaration([],[e.createModifier(126)],e.createLiteral(e.getResolvedExternalModuleName(n.getEmitHost(),t)),e.createModuleBlock(e.setTextRange(e.createNodeArray(q(i)),t.statements)))],!0,[],[],!1,[])}h=!0;var o=e.visitNodes(t.statements,Y);return e.updateSourceFileNode(t,q(o),!0,[],[],!1,[])}})),e.mapDefined(t.prepends,(function(n){if(288===n.kind){var t=e.createUnparsedSourceFile(n,"dts",k);return a=a||!!t.hasNoDefaultLib,I(t,f),M(t.typeReferenceDirectives),R(t,g),t}return n})));i.syntheticFileReferences=[],i.syntheticTypeReferences=P(),i.syntheticLibReferences=N(),i.hasNoDefaultLib=a;var o=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(t,S,!0).declarationFilePath)),p=G(i.syntheticFileReferences,o);return f.forEach(p),i}h=!0,E=!1,T=!1,r=t,m=t,v=_,y=!1,b=!1,d=!1,l=void 0,c=e.createMap(),s=void 0,f=I(m,e.createMap()),g=R(m,e.createMap());var L=[],x=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(t,S,!0).declarationFilePath)),A=G(L,x),C=e.visitNodes(t.statements,Y),D=e.setTextRange(e.createNodeArray(q(C)),t.statements);f.forEach(A);var O=e.filter(D,e.isAnyImportSyntax);e.isExternalModule(t)&&(!b||E&&!T)&&(D=e.setTextRange(e.createNodeArray(D.concat([e.createExportDeclaration(void 0,void 0,e.createNamedExports([]),void 0)])),D));var w=e.updateSourceFileNode(t,D,!0,L,P(),t.hasNoDefaultLib,N());return w.exportedModulesFromDeclarationEmit=u,w;function N(){return e.map(e.arrayFrom(g.keys()),(function(e){return{fileName:e,pos:-1,end:-1}}))}function P(){return s?e.mapDefined(e.arrayFrom(s.keys()),F):[]}function F(n){if(O)for(var t=0,r=O;t1){var a=r.slice(1),o=e.guessIndentation(a);t=[r[0]].concat(e.map(a,(function(e){return e.slice(o)}))).join(C)}e.addSyntheticLeadingComment(i,n.kind,t,n.hasTrailingNewLine)}},c=0,d=s;c0?e.parameters[0].type:void 0}e.transformDeclarations=r}(c||(c={})),function(e){var n,t;function r(n,t,r){if(r)return e.emptyArray;var a=n.jsx,i=e.getEmitScriptTarget(n),s=e.getEmitModuleKind(n),l=[];return e.addRange(l,t&&e.map(t.before,o)),l.push(e.transformTypeScript),2===a&&l.push(e.transformJsx),i<8&&l.push(e.transformESNext),i<6&&l.push(e.transformES2019),i<5&&l.push(e.transformES2018),i<4&&l.push(e.transformES2017),i<3&&l.push(e.transformES2016),i<2&&(l.push(e.transformES2015),l.push(e.transformGenerators)),l.push(function(n){switch(n){case e.ModuleKind.ESNext:case e.ModuleKind.ES2015:return e.transformES2015Module;case e.ModuleKind.System:return e.transformSystemModule;default:return e.transformModule}}(s)),i<1&&l.push(e.transformES5),e.addRange(l,t&&e.map(t.after,o)),l}function a(n){var t=[];return t.push(e.transformDeclarations),e.addRange(t,n&&e.map(n.afterDeclarations,s)),t}function i(n,t){return function(r){var a=n(r);return"function"===typeof a?t(a):function(n){return function(t){return e.isBundle(t)?n.transformBundle(t):n.transformSourceFile(t)}}(a)}}function o(n){return i(n,e.chainBundle)}function s(n){return i(n,e.identity)}function l(e,n){return n}function c(e,n,t){t(e,n)}!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initialized=1]="Initialized",e[e.Completed=2]="Completed",e[e.Disposed=3]="Disposed"}(n||(n={})),function(e){e[e.Substitution=1]="Substitution",e[e.EmitNotifications=2]="EmitNotifications"}(t||(t={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray},e.getTransformers=function(e,n,t){return{scriptTransformers:r(e,n,t),declarationTransformers:a(n)}},e.noEmitSubstitution=l,e.noEmitNotification=c,e.transformNodes=function(n,t,r,a,i,o){for(var s,d,u,p=new Array(318),m=[],f=[],g=0,_=!1,v=l,h=c,y=0,b=[],E={getCompilerOptions:function(){return r},getEmitResolver:function(){return n},getEmitHost:function(){return t},startLexicalEnvironment:function(){e.Debug.assert(y>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(y<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!_,"Lexical environment is suspended."),m[g]=s,f[g]=d,g++,s=void 0,d=void 0},suspendLexicalEnvironment:function(){e.Debug.assert(y>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(y<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!_,"Lexical environment is already suspended."),_=!0},resumeLexicalEnvironment:function(){e.Debug.assert(y>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(y<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(_,"Lexical environment is not suspended."),_=!1},endLexicalEnvironment:function(){var n;if(e.Debug.assert(y>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(y<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!_,"Lexical environment is suspended."),(s||d)&&(d&&(n=d.slice()),s)){var t=e.createVariableStatement(void 0,e.createVariableDeclarationList(s));e.setEmitFlags(t,1048576),n?n.push(t):n=[t]}g--,s=m[g],d=f[g],0===g&&(m=[],f=[]);return n},hoistVariableDeclaration:function(n){e.Debug.assert(y>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(y<2,"Cannot modify the lexical environment after transformation has completed.");var t=e.setEmitFlags(e.createVariableDeclaration(n),64);s?s.push(t):s=[t]},hoistFunctionDeclaration:function(n){e.Debug.assert(y>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(y<2,"Cannot modify the lexical environment after transformation has completed."),d?d.push(n):d=[n]},requestEmitHelper:function(n){e.Debug.assert(y>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(y<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!n.scoped,"Cannot request a scoped emit helper."),u=e.append(u,n)},readEmitHelpers:function(){e.Debug.assert(y>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(y<2,"Cannot modify the transformation context after transformation has completed.");var n=u;return u=void 0,n},enableSubstitution:function(n){e.Debug.assert(y<2,"Cannot modify the transformation context after transformation has completed."),p[n]|=1},enableEmitNotification:function(n){e.Debug.assert(y<2,"Cannot modify the transformation context after transformation has completed."),p[n]|=2},isSubstitutionEnabled:D,isEmitNotificationEnabled:k,get onSubstituteNode(){return v},set onSubstituteNode(n){e.Debug.assert(y<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),v=n},get onEmitNode(){return h},set onEmitNode(n){e.Debug.assert(y<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),h=n},addDiagnostic:function(e){b.push(e)}},T=0,S=a;T"],e[8192]=["[","]"],e}(),a={pos:-1,end:-1};function i(n,t,r,a,i,s){void 0===a&&(a=!1);var c=e.isArray(r)?r:e.getSourceFilesToEmit(n,r),d=n.getCompilerOptions();if(d.outFile||d.out){var u=n.getPrependNodes();if(c.length||u.length){var p=e.createBundle(c,u);if(g=t(l(p,n,a),p))return g}}else{if(!i)for(var m=0,f=c;m"),Ln(),pe(e.type),qn(e)}(r);case 295:return function(e){bn("function"),un(e,e.parameters),hn(":"),pe(e.type)}(r);case 167:return function(e){Wn(e),bn("new"),Ln(),dn(e,e.typeParameters),un(e,e.parameters),Ln(),hn("=>"),Ln(),pe(e.type),qn(e)}(r);case 168:return function(e){bn("typeof"),Ln(),pe(e.exprName)}(r);case 169:return function(n){hn("{");var t=1&e.getEmitFlags(n)?768:32897;mn(n,n.members,524288|t),hn("}")}(r);case 170:return function(e){pe(e.elementType),hn("["),hn("]")}(r);case 171:return function(e){hn("["),mn(e,e.elementTypes,528),hn("]")}(r);case 172:return function(e){pe(e.type),hn("?")}(r);case 174:return function(e){mn(e,e.types,516)}(r);case 175:return function(e){mn(e,e.types,520)}(r);case 176:return function(e){pe(e.checkType),Ln(),bn("extends"),Ln(),pe(e.extendsType),Ln(),hn("?"),Ln(),pe(e.trueType),Ln(),hn(":"),Ln(),pe(e.falseType)}(r);case 177:return function(e){bn("infer"),Ln(),pe(e.typeParameter)}(r);case 178:return function(e){hn("("),pe(e.type),hn(")")}(r);case 212:return function(e){fe(e.expression),cn(e,e.typeArguments)}(r);case 179:return void bn("this");case 180:return function(e){On(e.operator,bn),Ln(),pe(e.type)}(r);case 181:return function(e){pe(e.objectType),hn("["),pe(e.indexType),hn("]")}(r);case 182:return function(n){var t=e.getEmitFlags(n);hn("{"),1&t?Ln():(An(),Cn());n.readonlyToken&&(pe(n.readonlyToken),134!==n.readonlyToken.kind&&bn("readonly"),Ln());hn("["),ge(0,n.typeParameter)(3,n.typeParameter),hn("]"),n.questionToken&&(pe(n.questionToken),56!==n.questionToken.kind&&hn("?"));hn(":"),Ln(),pe(n.type),yn(),1&t?Ln():(An(),Dn());hn("}")}(r);case 183:return function(e){fe(e.literal)}(r);case 184:return function(e){e.isTypeOf&&(bn("typeof"),Ln());bn("import"),hn("("),pe(e.argument),hn(")"),e.qualifier&&(hn("."),pe(e.qualifier));cn(e,e.typeArguments)}(r);case 290:return void hn("*");case 291:return void hn("?");case 292:return function(e){hn("?"),pe(e.type)}(r);case 293:return function(e){hn("!"),pe(e.type)}(r);case 294:return function(e){pe(e.type),hn("=")}(r);case 173:case 296:return function(e){hn("..."),pe(e.type)}(r);case 185:return function(e){hn("{"),mn(e,e.elements,525136),hn("}")}(r);case 186:return function(e){hn("["),mn(e,e.elements,524880),hn("]")}(r);case 187:return function(e){pe(e.dotDotDotToken),e.propertyName&&(pe(e.propertyName),hn(":"),Ln());pe(e.name),rn(e.initializer,e.name.end,e)}(r);case 217:return function(e){fe(e.expression),pe(e.literal)}(r);case 218:return void yn();case 219:return function(e){Ae(e,!e.multiLine&&Hn(e))}(r);case 220:return function(e){nn(e,e.modifiers),pe(e.declarationList),yn()}(r);case 221:return Ce(!1);case 222:return function(n){fe(n.expression),(!e.isJsonSourceFile(i)||e.nodeIsSynthesized(n.expression))&&yn()}(r);case 223:return function(e){var n=Me(92,e.pos,bn,e);Ln(),Me(20,n,hn,e),fe(e.expression),Me(21,e.expression.end,hn,e),sn(e,e.thenStatement),e.elseStatement&&(In(e),Me(84,e.thenStatement.end,bn,e),223===e.elseStatement.kind?(Ln(),pe(e.elseStatement)):sn(e,e.elseStatement))}(r);case 224:return function(n){Me(83,n.pos,bn,n),sn(n,n.statement),e.isBlock(n.statement)?Ln():In(n);De(n,n.statement.end),hn(";")}(r);case 225:return function(e){De(e,e.pos),sn(e,e.statement)}(r);case 226:return function(e){var n=Me(90,e.pos,bn,e);Ln();var t=Me(20,n,hn,e);ke(e.initializer),t=Me(26,e.initializer?e.initializer.end:t,hn,e),on(e.condition),t=Me(26,e.condition?e.condition.end:t,hn,e),on(e.incrementor),Me(21,e.incrementor?e.incrementor.end:t,hn,e),sn(e,e.statement)}(r);case 227:return function(e){var n=Me(90,e.pos,bn,e);Ln(),Me(20,n,hn,e),ke(e.initializer),Ln(),Me(94,e.initializer.end,bn,e),Ln(),fe(e.expression),Me(21,e.expression.end,hn,e),sn(e,e.statement)}(r);case 228:return function(e){var n=Me(90,e.pos,bn,e);Ln(),function(e){e&&(pe(e),Ln())}(e.awaitModifier),Me(20,n,hn,e),ke(e.initializer),Ln(),Me(148,e.initializer.end,bn,e),Ln(),fe(e.expression),Me(21,e.expression.end,hn,e),sn(e,e.statement)}(r);case 229:return function(e){Me(79,e.pos,bn,e),an(e.label),yn()}(r);case 230:return function(e){Me(74,e.pos,bn,e),an(e.label),yn()}(r);case 231:return function(e){Me(98,e.pos,bn,e),on(e.expression),yn()}(r);case 232:return function(e){var n=Me(109,e.pos,bn,e);Ln(),Me(20,n,hn,e),fe(e.expression),Me(21,e.expression.end,hn,e),sn(e,e.statement)}(r);case 233:return function(e){var n=Me(100,e.pos,bn,e);Ln(),Me(20,n,hn,e),fe(e.expression),Me(21,e.expression.end,hn,e),Ln(),pe(e.caseBlock)}(r);case 234:return function(e){pe(e.label),Me(57,e.label.end,hn,e),Ln(),pe(e.statement)}(r);case 235:return function(e){Me(102,e.pos,bn,e),on(e.expression),yn()}(r);case 236:return function(e){Me(104,e.pos,bn,e),Ln(),pe(e.tryBlock),e.catchClause&&(In(e),pe(e.catchClause));e.finallyBlock&&(In(e),Me(89,(e.catchClause||e.tryBlock).end,bn,e),Ln(),pe(e.finallyBlock))}(r);case 237:return function(e){kn(80,e.pos,bn),yn()}(r);case 238:return function(e){pe(e.name),tn(e.type),rn(e.initializer,e.type?e.type.end:e.name.end,e)}(r);case 239:return function(n){bn(e.isLet(n)?"let":e.isVarConst(n)?"const":"var"),Ln(),mn(n,n.declarations,528)}(r);case 240:return function(e){Oe(e)}(r);case 241:return function(e){Ge(e)}(r);case 242:return function(e){ln(e,e.decorators),nn(e,e.modifiers),bn("interface"),Ln(),pe(e.name),dn(e,e.typeParameters),mn(e,e.heritageClauses,512),Ln(),hn("{"),mn(e,e.members,129),hn("}")}(r);case 243:return function(e){ln(e,e.decorators),nn(e,e.modifiers),bn("type"),Ln(),pe(e.name),dn(e,e.typeParameters),Ln(),hn("="),Ln(),pe(e.type),yn()}(r);case 244:return function(e){nn(e,e.modifiers),bn("enum"),Ln(),pe(e.name),Ln(),hn("{"),mn(e,e.members,145),hn("}")}(r);case 245:return function(e){nn(e,e.modifiers),512&~e.flags&&(bn(16&e.flags?"namespace":"module"),Ln());pe(e.name);var n=e.body;if(!n)return yn();for(;245===n.kind;)hn("."),pe(n.name),n=n.body;Ln(),pe(n)}(r);case 246:return function(n){Wn(n),e.forEach(n.statements,Jn),Ae(n,Hn(n)),qn(n)}(r);case 247:return function(e){Me(18,e.pos,hn,e),mn(e,e.clauses,129),Me(19,e.clauses.end,hn,e,!0)}(r);case 248:return function(e){var n=Me(86,e.pos,bn,e);Ln(),n=Me(120,n,bn,e),Ln(),n=Me(132,n,bn,e),Ln(),pe(e.name),yn()}(r);case 249:return function(e){nn(e,e.modifiers),Me(93,e.modifiers?e.modifiers.end:e.pos,bn,e),Ln(),pe(e.name),Ln(),Me(60,e.name.end,hn,e),Ln(),function(e){73===e.kind?fe(e):pe(e)}(e.moduleReference),yn()}(r);case 250:return function(e){nn(e,e.modifiers),Me(93,e.modifiers?e.modifiers.end:e.pos,bn,e),Ln(),e.importClause&&(pe(e.importClause),Ln(),Me(145,e.importClause.end,bn,e),Ln());fe(e.moduleSpecifier),yn()}(r);case 251:return function(e){pe(e.name),e.name&&e.namedBindings&&(Me(27,e.name.end,hn,e),Ln());pe(e.namedBindings)}(r);case 252:return function(e){var n=Me(40,e.pos,hn,e);Ln(),Me(120,n,bn,e),Ln(),pe(e.name)}(r);case 253:return function(e){Ve(e)}(r);case 254:return function(e){Be(e)}(r);case 255:return function(e){var n=Me(86,e.pos,bn,e);Ln(),e.isExportEquals?Me(60,n,En,e):Me(81,n,bn,e);Ln(),fe(e.expression),yn()}(r);case 256:return function(e){var n=Me(86,e.pos,bn,e);Ln(),e.exportClause?pe(e.exportClause):n=Me(40,n,hn,e);if(e.moduleSpecifier){Ln(),Me(145,e.exportClause?e.exportClause.end:n,bn,e),Ln(),fe(e.moduleSpecifier)}yn()}(r);case 257:return function(e){Ve(e)}(r);case 258:return function(e){Be(e)}(r);case 259:return;case 260:return function(e){bn("require"),hn("("),fe(e.expression),hn(")")}(r);case 11:return function(e){m.writeLiteral(e.text)}(r);case 263:case 266:return function(n){hn("<"),e.isJsxOpeningElement(n)&&(He(n.tagName),cn(n,n.typeArguments),n.attributes.properties&&n.attributes.properties.length>0&&Ln(),pe(n.attributes));hn(">")}(r);case 264:case 267:return function(n){hn("")}(r);case 268:return function(e){pe(e.name),function(e,n,t,r){t&&(n(e),r(t))}("=",hn,e.initializer,pe)}(r);case 269:return function(e){mn(e,e.properties,262656)}(r);case 270:return function(e){hn("{..."),fe(e.expression),hn("}")}(r);case 271:return function(e){e.expression&&(hn("{"),pe(e.dotDotDotToken),fe(e.expression),hn("}"))}(r);case 272:return function(e){Me(75,e.pos,bn,e),Ln(),fe(e.expression),Ke(e,e.statements,e.expression.end)}(r);case 273:return function(e){var n=Me(81,e.pos,bn,e);Ke(e,e.statements,n)}(r);case 274:return function(e){Ln(),On(e.token,bn),Ln(),mn(e,e.types,528)}(r);case 275:return function(e){var n=Me(76,e.pos,bn,e);Ln(),e.variableDeclaration&&(Me(20,n,hn,e),pe(e.variableDeclaration),Me(21,e.variableDeclaration.end,hn,e),Ln());pe(e.block)}(r);case 276:return function(n){pe(n.name),hn(":"),Ln();var t=n.initializer;if(gt&&0===(512&e.getEmitFlags(t))){gt(e.getCommentRange(t).pos)}fe(t)}(r);case 277:return function(e){pe(e.name),e.objectAssignmentInitializer&&(Ln(),hn("="),Ln(),fe(e.objectAssignmentInitializer))}(r);case 278:return function(e){e.expression&&(Me(25,e.pos,hn,e),fe(e.expression))}(r);case 279:return function(e){pe(e.name),rn(e.initializer,e.name.end,e)}(r);case 305:case 311:return function(e){We(e.tagName),ze(e.typeExpression),Ln(),e.isBracketed&&hn("[");pe(e.name),e.isBracketed&&hn("]");qe(e.comment)}(r);case 306:case 308:case 307:case 304:return We((a=r).tagName),ze(a.typeExpression),void qe(a.comment);case 301:return function(e){We(e.tagName),Ln(),hn("{"),pe(e.class),hn("}"),qe(e.comment)}(r);case 309:return function(e){We(e.tagName),ze(e.constraint),Ln(),mn(e,e.typeParameters,528),qe(e.comment)}(r);case 310:return function(e){We(e.tagName),e.typeExpression&&(289===e.typeExpression.kind?ze(e.typeExpression):(Ln(),hn("{"),R("Object"),e.typeExpression.isArrayType&&(hn("["),hn("]")),hn("}")));e.fullName&&(Ln(),pe(e.fullName));qe(e.comment),e.typeExpression&&298===e.typeExpression.kind&&je(e.typeExpression)}(r);case 303:return function(e){We(e.tagName),e.name&&(Ln(),pe(e.name));qe(e.comment),Ue(e.typeExpression)}(r);case 299:return Ue(r);case 298:return je(r);case 302:case 300:return function(e){We(e.tagName),qe(e.comment)}(r);case 297:return function(e){if(R("/**"),e.comment)for(var n=e.comment.split(/\r\n?|\n/g),t=0,r=n;t=1&&!e.isJsonSourceFile(i)?64:0;mn(n,n.properties,526226|a|r),t&&Dn()}(r);case 190:return function(t){var r=!1,a=!1,o=e.skipTrivia(i.text,t.expression.end,!1,!0),s=e.skipTrivia(i.text,o),l=s+1;if(!(131072&e.getEmitFlags(t))){var c=e.createToken(24);c.pos=t.expression.end,c.end=l,r=Bn(t,t.expression,c),a=Bn(t,c,t.name)}fe(t.expression),wn(r,!1);var d=o!==s;!r&&function(t,r){if(t=e.skipPartiallyEmittedExpressions(t),e.isNumericLiteral(t)){var a=Un(t,!0);return!t.numericLiteralFlags&&!e.stringContains(a,e.tokenToString(24))&&(!r||n.removeComments)}if(e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)){var i=e.getConstantValue(t);return"number"===typeof i&&isFinite(i)&&Math.floor(i)===i&&n.removeComments}}(t.expression,d)&&hn(".");Me(24,t.expression.end,hn,t),wn(a,!1),pe(t.name),Nn(r,a)}(r);case 191:return function(e){fe(e.expression),Me(22,e.expression.end,hn,e),fe(e.argumentExpression),Me(23,e.argumentExpression.end,hn,e)}(r);case 192:return function(e){fe(e.expression),cn(e,e.typeArguments),fn(e,e.arguments,2576)}(r);case 193:return function(e){Me(96,e.pos,bn,e),Ln(),fe(e.expression),cn(e,e.typeArguments),fn(e,e.arguments,18960)}(r);case 194:return function(e){fe(e.tag),cn(e,e.typeArguments),Ln(),fe(e.template)}(r);case 195:return function(e){hn("<"),pe(e.type),hn(">"),fe(e.expression)}(r);case 196:return function(e){var n=Me(20,e.pos,hn,e);fe(e.expression),Me(21,e.expression?e.expression.end:n,hn,e)}(r);case 197:return function(e){Yn(e.name),Oe(e)}(r);case 198:return function(e){ln(e,e.decorators),nn(e,e.modifiers),Re(e,xe)}(r);case 199:return function(e){Me(82,e.pos,bn,e),Ln(),fe(e.expression)}(r);case 200:return function(e){Me(105,e.pos,bn,e),Ln(),fe(e.expression)}(r);case 201:return function(e){Me(107,e.pos,bn,e),Ln(),fe(e.expression)}(r);case 202:return function(e){Me(123,e.pos,bn,e),Ln(),fe(e.expression)}(r);case 203:return function(e){On(e.operator,En),function(e){var n=e.operand;return 203===n.kind&&(38===e.operator&&(38===n.operator||44===n.operator)||39===e.operator&&(39===n.operator||45===n.operator))}(e)&&Ln();fe(e.operand)}(r);case 204:return function(e){fe(e.operand),On(e.operator,En)}(r);case 205:return function(e){var n=27!==e.operatorToken.kind,t=Bn(e,e.left,e.operatorToken),r=Bn(e,e.operatorToken,e.right);fe(e.left),wn(t,n),mt(e.operatorToken.pos),Mn(e.operatorToken,94===e.operatorToken.kind?bn:En),gt(e.operatorToken.end,!0),wn(r,!0),fe(e.right),Nn(t,r)}(r);case 206:return function(e){var n=Bn(e,e.condition,e.questionToken),t=Bn(e,e.questionToken,e.whenTrue),r=Bn(e,e.whenTrue,e.colonToken),a=Bn(e,e.colonToken,e.whenFalse);fe(e.condition),wn(n,!0),pe(e.questionToken),wn(t,!0),fe(e.whenTrue),Nn(n,t),wn(r,!0),pe(e.colonToken),wn(a,!0),fe(e.whenFalse),Nn(r,a)}(r);case 207:return function(e){pe(e.head),mn(e,e.templateSpans,262144)}(r);case 208:return function(e){Me(118,e.pos,bn,e),pe(e.asteriskToken),on(e.expression)}(r);case 209:return function(e){Me(25,e.pos,hn,e),fe(e.expression)}(r);case 210:return function(e){Yn(e.name),Ge(e)}(r);case 211:return;case 213:return function(e){fe(e.expression),e.type&&(Ln(),bn("as"),Ln(),pe(e.type))}(r);case 214:return function(e){fe(e.expression),En("!")}(r);case 215:return function(e){kn(e.keywordToken,e.pos,hn),hn("."),pe(e.name)}(r);case 261:return function(e){pe(e.openingElement),mn(e,e.children,262144),pe(e.closingElement)}(r);case 262:return function(e){hn("<"),He(e.tagName),cn(e,e.typeArguments),Ln(),pe(e.attributes),hn("/>")}(r);case 265:return function(e){pe(e.openingFragment),mn(e,e.children,262144),pe(e.closingFragment)}(r);case 314:return function(e){fe(e.expression)}(r);case 315:return function(e){fn(e,e.elements,528)}(r)}}function ye(e,n){_e(1,n)(e,L(e,n))}function be(t){var r=!1,a=286===t.kind?t:void 0;if(!a||O!==e.ModuleKind.None){for(var o=a?a.prepends.length:0,s=a?a.sourceFiles.length+o:1,l=0;l'),w&&w.sections.push({pos:a,end:m.getTextPos(),kind:"no-default-lib"}),An()}if(i&&i.moduleName&&(Sn('/// '),An()),i&&i.amdDependencies)for(var o=0,s=i.amdDependencies;o'):Sn('/// '),An()}for(var c=0,d=n;c'),w&&w.sections.push({pos:a,end:m.getTextPos(),kind:"reference",data:u.fileName}),An()}for(var p=0,f=t;p'),w&&w.sections.push({pos:a,end:m.getTextPos(),kind:"type",data:u.fileName}),An()}for(var g=0,_=r;g<_.length;g++){u=_[g],a=m.getTextPos();Sn('/// '),w&&w.sections.push({pos:a,end:m.getTextPos(),kind:"lib",data:u.fileName}),An()}}function Xe(n){var t=n.statements;Wn(n),e.forEach(n.statements,Jn),be(n);var r=e.findIndex(t,(function(n){return!e.isPrologueDirective(n)}));!function(e){e.isDeclarationFile&&Je(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives,e.libReferenceDirectives)}(n),mn(n,t,1,-1===r?t.length:r),qn(n)}function Ye(n,t,r,a){for(var i=!!t,o=0;o=a.length||0===s;if(c&&32768&i)return x&&x(a),void(A&&A(a));if(15360&i&&(hn(function(e){return r[15360&e][0]}(i)),c&&!l&>(a.pos,!0)),x&&x(a),c)1&i?An():256&i&&!(524288&i)&&Ln();else{var d=0===(262144&i),u=d;Pn(t,a,i)?(An(),u=!1):256&i&&Ln(),128&i&&Cn();for(var p=void 0,m=void 0,f=!1,g=0;g=0&&St(c,a);a=i(t,r,a),l&&(a=l.end);0===(256&s)&&a>=0&&St(c,a);return a}(a,n,r,t,On)}function Mn(n,t){C&&C(n),t(e.tokenToString(n.kind)),D&&D(n)}function On(n,t,r){var a=e.tokenToString(n);return t(a),r<0?r:r+a.length}function In(n){1&e.getEmitFlags(n)?Ln():An()}function Rn(n){for(var t=n.split(/\r\n?|\n/g),r=e.guessIndentation(t),a=0,i=t;a0||o>0)&&i!==o&&(l||ct(i,s),(!l||i>=0&&0!==(512&r))&&(B=i),(!c||o>=0&&0!==(1024&r))&&(H=o,239===t.kind&&(K=o))),e.forEach(e.getSyntheticLeadingComments(t),it),z();var m=_e(2,t);2048&r?(U=!0,m(n,t),U=!1):m(n,t),q(),e.forEach(e.getSyntheticTrailingComments(t),ot),(i>0||o>0)&&i!==o&&(B=d,H=u,K=p,!c&&s&&function(e){ht(e,ft)}(o)),z()}function it(e){2===e.kind&&m.writeLine(),st(e),e.hasTrailingNewLine||2===e.kind?m.writeLine():m.writeSpace(" ")}function ot(e){m.isAtStartOfLine()||m.writeSpace(" "),st(e),e.hasTrailingNewLine&&m.writeLine()}function st(n){var t=function(e){return 3===e.kind?"/*"+e.text+"*/":"//"+e.text}(n),r=3===n.kind?e.computeLineStarts(t):void 0;e.writeCommentRange(t,r,m,0,t.length,M)}function lt(n,t,r){q();var a=t.pos,o=t.end,s=e.getEmitFlags(n),l=U||o<0||0!==(1024&s);a<0||0!==(512&s)||function(n){var t=e.emitDetachedComments(i.text,ue(),m,yt,n,M,U);t&&(y?y.push(t):y=[t])}(t),z(),2048&s&&!U?(U=!0,r(n),U=!1):r(n),q(),l||(ct(t.end,!0),j&&!m.isAtStartOfLine()&&m.writeLine()),z()}function ct(e,n){j=!1,n?vt(e,pt):0===e&&vt(e,dt)}function dt(n,t,r,a,o){(function(n,t){return e.isRecognizedTripleSlashComment(i.text,n,t)})(n,t)&&pt(n,t,r,a,o)}function ut(t,r){return!n.onlyPrintJsDocStyle||(e.isJSDocLikeText(t,r)||e.isPinnedComment(t,r))}function pt(n,t,r,a,o){ut(i.text,n)&&(j||(e.emitNewLineBeforeLeadingCommentOfPosition(ue(),m,o,n),j=!0),Tt(n),e.writeCommentRange(i.text,ue(),m,n,t,M),Tt(t),a?m.writeLine():3===r&&m.writeSpace(" "))}function mt(e){U||-1===e||ct(e,!0)}function ft(n,t,r,a){ut(i.text,n)&&(m.isAtStartOfLine()||m.writeSpace(" "),Tt(n),e.writeCommentRange(i.text,ue(),m,n,t,M),Tt(t),a&&m.writeLine())}function gt(e,n){U||(q(),ht(e,n?ft:_t),z())}function _t(n,t,r,a){Tt(n),e.writeCommentRange(i.text,ue(),m,n,t,M),Tt(t),a?m.writeLine():m.writeSpace(" ")}function vt(n,t){!i||-1!==B&&n===B||(function(n){return void 0!==y&&e.last(y).nodePos===n}(n)?function(n){var t=e.last(y).detachedCommentEndPos;y.length-1?y.pop():y=void 0;e.forEachLeadingCommentRange(i.text,t,n,t)}(t):e.forEachLeadingCommentRange(i.text,n,t,n))}function ht(n,t){i&&(-1===H||n!==H&&n!==K)&&e.forEachTrailingCommentRange(i.text,n,t)}function yt(n,t,r,a,o,s){ut(i.text,a)&&(Tt(a),e.writeCommentRange(n,t,r,a,o,s),Tt(o))}function bt(n,t){var r=_e(3,t);if(e.isUnparsedSource(t)||e.isUnparsedPrepend(t))r(n,t);else if(e.isUnparsedNode(t)){var a=function(n){return void 0===n.parsedSourceMap&&void 0!==n.sourceMapText&&(n.parsedSourceMap=e.tryParseRawSourceMap(n.sourceMapText)||!1),n.parsedSourceMap||void 0}(t.parent);a&&_&&_.appendSourceMap(m.getLine(),m.getColumn(),a,t.parent.sourceMapPath,t.parent.getLineAndCharacterOfPosition(t.pos),t.parent.getLineAndCharacterOfPosition(t.end)),r(n,t)}else{var i=e.getSourceMapRange(t),o=i.pos,s=i.end,l=i.source,c=void 0===l?v:l,d=e.getEmitFlags(t);313!==t.kind&&0===(16&d)&&o>=0&&St(c,Et(c,o)),64&d?(G=!0,r(n,t),G=!1):r(n,t),313!==t.kind&&0===(32&d)&&s>=0&&St(c,s)}}function Et(n,t){return n.skipTrivia?n.skipTrivia(t):e.skipTrivia(n.text,t)}function Tt(n){if(!(G||e.positionIsSynthesized(n)||xt(v))){var t=e.getLineAndCharacterOfPosition(v,n),r=t.line,a=t.character;_.addMapping(m.getLine(),m.getColumn(),V,r,a,void 0)}}function St(e,n){if(e!==v){var t=v;Lt(e),Tt(n),Lt(t)}else Tt(n)}function Lt(e){G||(v=e,xt(e)||(V=_.addSource(e.fileName),n.inlineSources&&_.setSourceContent(V,e.text)))}function xt(n){return e.fileExtensionIs(n.fileName,".json")}}e.isBuildInfoFile=function(n){return e.fileExtensionIs(n,".tsbuildinfo")},e.forEachEmittedFile=i,e.getOutputPathForBuildInfo=o,e.getOutputPathsForBundle=s,e.getOutputPathsFor=l,e.getOutputExtension=d,e.getOutputDeclarationFileName=p,e.getAllProjectOutputs=function(n,t){var r,a=function(e){return e&&(r||(r=[])).push(e)};if(n.options.outFile||n.options.out){var i=s(n.options,!1),l=i.jsFilePath,c=i.sourceMapFilePath,d=i.declarationFilePath,u=i.declarationMapPath,f=i.buildInfoPath;a(l),a(c),a(d),a(u),a(f)}else{for(var g=0,_=n.fileNames;g<_.length;g++){var v=_[g];if(!e.fileExtensionIs(v,".d.ts")){var h=m(v,n,t);if(a(h),!e.fileExtensionIs(v,".json")&&(n.options.sourceMap&&a(h+".map"),e.getEmitDeclarations(n.options)&&e.hasTSFileExtension(v))){var y=p(v,n,t);a(y),n.options.declarationMap&&a(y+".map")}}}a(o(n.options))}return r||e.emptyArray},e.getFirstProjectOutput=function(n,t){if(n.options.outFile||n.options.out){var r=s(n.options,!1).jsFilePath;return e.Debug.assertDefined(r,"project "+n.options.configFilePath+" expected to have at least one output")}for(var a=0,i=n.fileNames;ae.getRootLength(n)&&!function(e){return!!i.has(e)||!!r.directoryExists(e)&&(i.set(e,!0),!0)}(n)&&(s(e.getDirectoryPath(n)),u.createDirectory?u.createDirectory(n):r.createDirectory(n))}function l(){return e.getDirectoryPath(e.normalizePath(r.getExecutingFilePath()))}var c=e.getNewLineCharacter(n,(function(){return r.newLine})),d=r.realpath&&function(e){return r.realpath(e)},u={getSourceFile:function(n,r,a){var i;try{e.performance.mark("beforeIORead"),i=u.readFile(n),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(o){a&&a(o.message),i=""}return void 0!==i?e.createSourceFile(n,i,r,t):void 0},getDefaultLibLocation:l,getDefaultLibFileName:function(n){return e.combinePaths(l(),e.getDefaultLibFileName(n))},writeFile:function(t,i,o,l){try{e.performance.mark("beforeIOWrite"),s(e.getDirectoryPath(e.normalizePath(t))),e.isWatchSet(n)&&r.createHash&&r.getModifiedTime?function(n,t,i){a||(a=e.createMap());var o=r.createHash(t),s=r.getModifiedTime(n);if(s){var l=a.get(n);if(l&&l.byteOrderMark===i&&l.hash===o&&l.mtime.getTime()===s.getTime())return}r.writeFile(n,t,i);var c=r.getModifiedTime(n)||e.missingFileModifiedTime;a.set(n,{hash:o,byteOrderMark:i,mtime:c})}(t,i,o):r.writeFile(t,i,o),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(c){l&&l(c.message)}},getCurrentDirectory:e.memoize((function(){return r.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return r.useCaseSensitiveFileNames},getCanonicalFileName:o,getNewLine:function(){return c},fileExists:function(e){return r.fileExists(e)},readFile:function(e){return r.readFile(e)},trace:function(e){return r.write(e+c)},directoryExists:function(e){return r.directoryExists(e)},getEnvironmentVariable:function(e){return r.getEnvironmentVariable?r.getEnvironmentVariable(e):""},getDirectories:function(e){return r.getDirectories(e)},realpath:d,readDirectory:function(e,n,t,a,i){return r.readDirectory(e,n,t,a,i)},createDirectory:function(e){return r.createDirectory(e)},createHash:e.maybeBind(r,r.createHash)};return u}function l(n,t){var r=e.diagnosticCategoryName(n)+" TS"+n.code+": "+f(n.messageText,t.getNewLine())+t.getNewLine();if(n.file){var a=e.getLineAndCharacterOfPosition(n.file,n.start),i=a.line,o=a.character,s=n.file.fileName;return e.convertToRelativePath(s,t.getCurrentDirectory(),(function(e){return t.getCanonicalFileName(e)}))+"("+(i+1)+","+(o+1)+"): "+r}return r}e.findConfigFile=function(n,t,r){return void 0===r&&(r="tsconfig.json"),e.forEachAncestorDirectory(n,(function(n){var a=e.combinePaths(n,r);return t(a)?a:void 0}))},e.resolveTripleslashReference=r,e.computeCommonSourceDirectoryOfFilenames=a,e.createCompilerHost=o,e.createCompilerHostWorker=s,e.changeCompilerHostLikeToUseCache=function(n,t,r){var a=n.readFile,i=n.fileExists,o=n.directoryExists,s=n.createDirectory,l=n.writeFile,c=e.createMap(),d=e.createMap(),u=e.createMap(),p=e.createMap(),m=function(e,t){var r=a.call(n,t);return c.set(e,void 0!==r&&r),r};n.readFile=function(r){var i=t(r),o=c.get(i);return void 0!==o?!1!==o?o:void 0:e.fileExtensionIs(r,".json")||e.isBuildInfoFile(r)?m(i,r):a.call(n,r)};var f=r?function(n,a,i,o){var s=t(n),l=p.get(s);if(l)return l;var c=r(n,a,i,o);return c&&(e.isDeclarationFileName(n)||e.fileExtensionIs(n,".json"))&&p.set(s,c),c}:void 0;return n.fileExists=function(e){var r=t(e),a=d.get(r);if(void 0!==a)return a;var o=i.call(n,e);return d.set(r,!!o),o},l&&(n.writeFile=function(e,r,a,i,o){var s=t(e);d.delete(s);var u=c.get(s);if(void 0!==u&&u!==r)c.delete(s),p.delete(s);else if(f){var m=p.get(s);m&&m.text!==r&&p.delete(s)}l.call(n,e,r,a,i,o)}),o&&s&&(n.directoryExists=function(e){var r=t(e),a=u.get(r);if(void 0!==a)return a;var i=o.call(n,e);return u.set(r,!!i),i},n.createDirectory=function(e){var r=t(e);u.delete(r),s.call(n,e)}),{originalReadFile:a,originalFileExists:i,originalDirectoryExists:o,originalCreateDirectory:s,originalWriteFile:l,getSourceFileWithCache:f,readFileWithCache:function(e){var n=t(e),r=c.get(n);return void 0!==r?!1!==r?r:void 0:m(n,e)}}},e.getPreEmitDiagnostics=function(n,t,r){var a=n.getConfigFileParsingDiagnostics().concat(n.getOptionsDiagnostics(r),n.getSyntacticDiagnostics(t,r),n.getGlobalDiagnostics(r),n.getSemanticDiagnostics(t,r));return e.getEmitDeclarations(n.getCompilerOptions())&&e.addRange(a,n.getDeclarationDiagnostics(t,r)),e.sortAndDeduplicateDiagnostics(a)},e.formatDiagnostics=function(e,n){for(var t="",r=0,a=e;r=4,v=(m+1+"").length;_&&(v=Math.max("...".length,v));for(var h="",y=l;y<=m;y++){h+=o.getNewLine(),_&&l+10||s.length>0)return{diagnostics:e.concatenate(l,s),sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}var c=Ve().getEmitResolver(D.outFile||D.out?void 0:t,a);e.performance.mark("beforeEmit");var d=e.emitFiles(c,Pe(r),t,e.getTransformers(D,o,i),i);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),d}(u,n,t,r,a,i)}))},getCurrentDirectory:function(){return Q},getNodeCount:function(){return Ve().getNodeCount()},getIdentifierCount:function(){return Ve().getIdentifierCount()},getSymbolCount:function(){return Ve().getSymbolCount()},getTypeCount:function(){return Ve().getTypeCount()},getRelationCacheSizes:function(){return Ve().getRelationCacheSizes()},getFileProcessingDiagnostics:function(){return P},getResolvedTypeReferenceDirectives:function(){return N},isSourceFileFromExternalLibrary:Ge,isSourceFileDefaultLibrary:function(n){if(n.hasNoDefaultLib)return!0;if(!D.noLib)return!1;var t=W.useCaseSensitiveFileNames()?e.equateStringsCaseSensitive:e.equateStringsCaseInsensitive;return D.lib?e.some(D.lib,(function(r){return t(n.fileName,e.combinePaths(X,r))})):t(n.fileName,J())},dropDiagnosticsProducingTypeChecker:function(){S=void 0},getSourceFileFromReference:function(e,n){return an(r(n.fileName,e.fileName),(function(e){return ue.get(Re(e))||void 0}))},getLibFileFromReference:function(n){var t=n.fileName.toLocaleLowerCase(),r=e.libMap.get(t);if(r)return Ke(e.combinePaths(X,r))},sourceFileToPackageName:ce,redirectTargetsMap:de,isEmittedFile:function(n){if(D.noEmit)return!1;var t=Re(n);if(je(t))return!1;var r=D.outFile||D.out;if(r)return Pn(t,r)||Pn(t,e.removeFileExtension(r)+".d.ts");if(D.declarationDir&&e.containsPath(D.declarationDir,t,Q,!W.useCaseSensitiveFileNames()))return!0;if(D.outDir)return e.containsPath(D.outDir,t,Q,!W.useCaseSensitiveFileNames());if(e.fileExtensionIsOneOf(t,e.supportedJSExtensions)||e.fileExtensionIs(t,".d.ts")){var a=e.removeFileExtension(t);return!!je(a+".ts")||!!je(a+".tsx")}return!1},getConfigFileParsingDiagnostics:function(){return k||e.emptyArray},getResolvedModuleWithFailedLookupLocationsFromCache:function(n,t){return K&&e.resolveModuleNameFromCache(n,t,K)},getProjectReferences:function(){return M},getResolvedProjectReferences:function(){return ie},getProjectReferenceRedirect:dn,getResolvedProjectReferenceToRedirect:mn,getResolvedProjectReferenceByPath:_n,forEachResolvedProjectReference:fn,emitBuildInfo:function(n){e.Debug.assert(!D.out&&!D.outFile),e.performance.mark("beforeEmit");var t=e.emitFiles(e.notImplementedResolver,Pe(n),void 0,e.noTransformers,!1,!0);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),t}},function(){D.strictPropertyInitialization&&!e.getStrictOptionValue(D,"strictNullChecks")&&kn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks");D.isolatedModules&&(e.getEmitDeclarations(D)&&kn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,y(D),"isolatedModules"),D.out&&kn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","isolatedModules"),D.outFile&&kn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"outFile","isolatedModules"));D.inlineSourceMap&&(D.sourceMap&&kn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),D.mapRoot&&kn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap"));D.paths&&void 0===D.baseUrl&&kn(e.Diagnostics.Option_paths_cannot_be_used_without_specifying_baseUrl_option,"paths");D.composite&&(!1===D.declaration&&kn(e.Diagnostics.Composite_projects_may_not_disable_declaration_emit,"declaration"),!1===D.incremental&&kn(e.Diagnostics.Composite_projects_may_not_disable_incremental_compilation,"declaration"));D.tsBuildInfoFile?e.isIncrementalCompilation(D)||kn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):!D.incremental||D.outFile||D.out||D.configFilePath||Y.add(e.createCompilerDiagnostic(e.Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));if(function(){var n=D.noEmit||D.suppressOutputPathCheck?void 0:e.getOutputPathForBuildInfo(D);gn(M,ie,(function(t,r,a){var i=(a?a.commandLine.projectReferences:M)[r],o=a&&a.sourceFile;if(t){var s=t.commandLine.options;if(!s.composite)(a?a.commandLine.fileNames:C).length&&On(o,r,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,i.path);if(i.prepend){var l=s.outFile||s.out;l?W.fileExists(l)||On(o,r,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,l,i.path):On(o,r,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,i.path)}!a&&n&&n===e.getOutputPathForBuildInfo(s)&&(On(o,r,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,n,i.path),ee.set(Re(n),!0))}else On(o,r,e.Diagnostics.File_0_not_found,i.path)}))}(),D.composite)for(var n=C.map(Re),t=0,r=f;t1}))&&kn(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}!D.noEmit&&D.allowJs&&e.getEmitDeclarations(D)&&kn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"allowJs",y(D));D.checkJs&&!D.allowJs&&Y.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"));D.emitDeclarationOnly&&(e.getEmitDeclarations(D)||kn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),D.noEmit&&kn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit"));D.emitDecoratorMetadata&&!D.experimentalDecorators&&kn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators");D.jsxFactory?(D.reactNamespace&&kn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),e.parseIsolatedEntityName(D.jsxFactory,d)||Mn("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,D.jsxFactory)):D.reactNamespace&&!e.isIdentifierText(D.reactNamespace,d)&&Mn("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,D.reactNamespace);if(!D.noEmit&&!D.suppressOutputPathCheck){var v=Pe(),h=e.createMap();e.forEachEmittedFile(v,(function(e){D.emitDeclarationOnly||b(e.jsFilePath,h),b(e.declarationFilePath,h)}))}function b(n,t){if(n){var r=Re(n);if(ue.has(r)){var a=void 0;D.configFilePath||(a=e.chainDiagnosticMessages(void 0,e.Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)),a=e.chainDiagnosticMessages(a,e.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,n),Nn(n,e.createCompilerDiagnosticFromMessageChain(a))}var i=W.useCaseSensitiveFileNames()?r:r.toLocaleLowerCase();t.has(i)?Nn(n,e.createCompilerDiagnostic(e.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,n)):t.set(i,!0)}}}(),e.performance.mark("afterProgram"),e.performance.measure("Program","beforeProgram","afterProgram"),u;function Ie(n){if(e.containsPath(X,n.fileName,!1)){var t=e.getBaseFileName(n.fileName);if("lib.d.ts"===t||"lib.es6.d.ts"===t)return 0;var r=e.removeSuffix(e.removePrefix(t,"lib."),".d.ts"),a=e.libs.indexOf(r);if(-1!==a)return a+1}return e.libs.length+2}function Re(n){return e.toPath(n,Q,Tn)}function we(){if(void 0===T){var n=e.filter(f,(function(n){return e.sourceFileMayBeEmitted(n,D,Ge,mn)}));D.rootDir&&Ln(n,D.rootDir)?T=e.getNormalizedAbsolutePath(D.rootDir,Q):D.composite&&D.configFilePath?Ln(n,T=e.getDirectoryPath(e.normalizeSlashes(D.configFilePath))):(t=n,T=a(e.mapDefined(t,(function(e){return e.isDeclarationFile?void 0:e.fileName})),Q,Tn)),T&&T[T.length-1]!==e.directorySeparator&&(T+=e.directorySeparator)}var t;return T}function Ne(n,t,r){if(0===fe&&!r.ambientModuleNames.length)return j(n,t,void 0,mn(r.originalFileName));var a,i,o,s=O&&O.getSourceFile(t);if(s!==r&&r.resolvedModules){for(var l=[],c=0,d=n;c0;){var s=r.text.slice(i[o-1],i[o]),l=t.exec(s);if(!l)return!0;if(l[3])return!1;o--}return!0}function Ye(e,n){return Ze(e,n,w,Qe)}function Qe(n,t){return qe((function(){var r=Ve().getEmitResolver(n,t);return e.getDeclarationDiagnostics(Pe(e.noop),r,n)}))}function Ze(n,t,r,a){var i=n?r.perFile&&r.perFile.get(n.path):r.allDiagnostics;if(i)return i;var o=a(n,t)||e.emptyArray;return n?(r.perFile||(r.perFile=e.createMap()),r.perFile.set(n.path,o)):r.allDiagnostics=o,o}function $e(e,n){return e.isDeclarationFile?[]:Ye(e,n)}function en(n,t,r){on(e.normalizePath(n),t,r,void 0)}function nn(e,n){return e.fileName===n.fileName}function tn(e,n){return 73===e.kind?73===n.kind&&e.escapedText===n.escapedText:10===n.kind&&e.text===n.text}function rn(n){if(!n.imports){var t,r,a,i=e.isSourceFileJS(n),o=e.isExternalModule(n);if(D.importHelpers&&(D.isolatedModules||o)&&!n.isDeclarationFile){var s=e.createLiteral(e.externalHelpersModuleNameText),l=e.createImportDeclaration(void 0,void 0,void 0,s);e.addEmitFlags(l,67108864),s.parent=l,l.parent=n,t=[s]}for(var c=0,d=n.statements;c0),Object.defineProperties(o,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(e){this.redirectInfo.redirectTarget.symbol=e}}}),o}(b,h,n,t,Re(n),d);return de.add(b.path,n),cn(E,t,c),ce.set(t,l.name),m.push(E),E}h&&(le.set(y,h),ce.set(t,l.name))}if(cn(h,t,c),h){if(B.set(t,G>0),h.path=t,h.resolvedPath=Re(n),h.originalFileName=d,W.useCaseSensitiveFileNames()){var T=t.toLowerCase(),S=pe.get(T);S?sn(n,S.fileName,i,o,s):pe.set(T,h)}z=z||h.hasNoDefaultLib&&!a,D.noResolve||(vn(h,r),hn(h)),D.noLib||bn(h),Sn(h),r?p.push(h):m.push(h)}return h}function cn(e,n,t){t?(ue.set(t,e),ue.set(n,e||!1)):ue.set(n,e)}function dn(e){var n=un(e);return n&&pn(n,e)}function un(n){if(ie&&ie.length&&!e.fileExtensionIs(n,".d.ts")&&e.fileExtensionIsOneOf(n,e.supportedTSExtensions))return mn(n)}function pn(n,t){var r=n.commandLine.options.outFile||n.commandLine.options.out;return r?e.changeExtension(r,".d.ts"):e.getOutputDeclarationFileName(t,n.commandLine,!W.useCaseSensitiveFileNames())}function mn(n){void 0===se&&(se=e.createMap(),fn((function(e,n){e&&Re(D.configFilePath)!==n&&e.commandLine.fileNames.forEach((function(e){return se.set(Re(e),n)}))})));var t=se.get(Re(n));return t&&_n(t)}function fn(e){return gn(M,ie,(function(n,t,r){var a=Re(h((r?r.commandLine.projectReferences:M)[t]));return e(n,a)}))}function gn(n,t,r,a){var i;return function n(t,r,a,o,s){if(s){var l=s(t,a);if(l)return l}return e.forEach(r,(function(t,r){if(!e.contains(i,t)){var l=o(t,r,a);if(l)return l;if(t)return(i||(i=[])).push(t),n(t.commandLine.projectReferences,t.references,t,o,s)}}))}(n,t,void 0,r,a)}function _n(e){if(oe)return oe.get(e)||void 0}function vn(n,t){e.forEach(n.referencedFiles,(function(e){on(r(e.fileName,n.originalFileName),t,!1,void 0,n,e.pos,e.end)}))}function hn(n){var t=e.map(n.typeReferenceDirectives,(function(e){return e.fileName.toLocaleLowerCase()}));if(t)for(var r=U(t,n.originalFileName,mn(n.originalFileName)),a=0;aF,u=c&&!b(D,i)&&!D.noResolve&&at&&(Y.add(e.createDiagnosticForNodeInSourceFile(D.configFile,m.elements[t],r,a,i,o)),s=!1)}}s&&Y.add(e.createCompilerDiagnostic(r,a,i,o))}function Cn(n,t,r,a){for(var i=!0,o=0,s=Dn();ot?Y.add(e.createDiagnosticForNodeInSourceFile(n||D.configFile,o.elements[t],r,a,i)):Y.add(e.createCompilerDiagnostic(r,a,i))}function In(n,t,r,a,i,o,s){var l=Rn();(!l||!wn(l,n,t,r,a,i,o,s))&&Y.add(e.createCompilerDiagnostic(a,i,o,s))}function Rn(){if(void 0===H){H=null;var n=e.getTsConfigObjectLiteralExpression(D.configFile);if(n)for(var t=0,r=e.getPropertyAssignment(n,"compilerOptions");t0)for(var s=n.getTypeChecker(),l=0,c=t.imports;l0)for(var p=0,m=t.referencedFiles;p1&&T(E)}return o;function T(n){for(var r=0,a=n.declarations;r0?(d=s(m.outputFiles[0].text),l&&d!==u&&function(n,r,a){if(!r)return void a.set(n.path,!1);var i;r.forEach((function(n){var r;(r=t(n))&&(i||(i=e.createMap()),i.set(r,!0))})),a.set(n.path,i||!1)}(a,m.exportedModulesFromDeclarationEmit,l)):d=u}return i.set(a.path,d),!u||d!==u}function d(n,t){if(!n.allFileNames){var r=t.getSourceFiles();n.allFileNames=r===e.emptyArray?e.emptyArray:r.map((function(e){return e.fileName}))}return n.allFileNames}function u(n,t){return e.arrayFrom(e.mapDefinedIterator(n.referencedMap.entries(),(function(e){var n=e[0];return e[1].has(t)?n:void 0})))}function p(n){return function(n){return e.some(n.moduleAugmentations,(function(n){return e.isGlobalScopeAugmentation(n.parent)}))}(n)||!e.isExternalModule(n)&&!function(n){for(var t=0,r=n.statements;t0;){var g=f.pop();if(!d.has(g)){var _=t.getSourceFileByPath(g);d.set(g,_),_&&c(n,t,_,a,i,o,s)&&f.push.apply(f,u(n,_.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(d.values(),(function(e){return e})))}n.canReuseOldState=s,n.create=function(n,t,r){for(var a=e.createMap(),i=n.getCompilerOptions().module!==e.ModuleKind.None?e.createMap():void 0,l=i?e.createMap():void 0,c=e.createMap(),d=s(i,r),u=0,p=n.getSourceFiles();u0;i--)if(0===(a=n.indexOf(e.directorySeparator,a)+1))return!1;return!0}function w(n,t){if(A(T,t)){n=e.isRootedDiskPath(n)?e.normalizePath(n):e.getNormalizedAbsolutePath(n,d()),e.Debug.assert(n.length===t.length,"FailedLookup: "+n+" failedLookupLocationPath: "+t);var r=t.indexOf(e.directorySeparator,T.length+1);return-1!==r?{dir:n.substr(0,r),dirPath:t.substr(0,r)}:{dir:E,dirPath:T,nonRecursive:!1}}return N(e.getDirectoryPath(e.getNormalizedAbsolutePath(n,d())),e.getDirectoryPath(t))}function N(n,t){for(;e.pathContainsNodeModules(t);)n=e.getDirectoryPath(n),t=e.getDirectoryPath(t);if(O(t))return R(e.getDirectoryPath(t))?{dir:n,dirPath:t}:void 0;var r,a,i=!0;if(void 0!==T)for(;!A(t,T);){var o=e.getDirectoryPath(t);if(o===t)break;i=!1,r=t,a=n,t=o,n=e.getDirectoryPath(n)}return R(t)?{dir:a||n,dirPath:r||t,nonRecursive:i}:void 0}function P(n){return e.fileExtensionIsOneOf(n,h)}function F(n,t){t.failedLookupLocations&&t.failedLookupLocations.length&&(t.refCount?t.refCount++:(t.refCount=1,e.isExternalModuleNameRelative(n)?G(t):c.add(n,t)))}function G(n){e.Debug.assert(!!n.refCount);for(var r=!1,a=0,i=n.failedLookupLocations;a1),y.set(s,d-1))),c===T?r=!0:j(c)}}r&&j(T)}}function j(e){b.get(e).refCount--}function U(e,n,r){return t.watchDirectoryOfFailedLookupLocation(e,(function(e){var r=t.toPath(e);u&&u.addOrDeleteFileOrDirectory(e,r),!l&&X(r,n===r)&&t.onInvalidatedResolution()}),r?0:1)}function W(e,n){var t=e.get(n);t&&(t.forEach(K),e.delete(n))}function q(e){W(p,e),W(_,e)}function z(n,t,r){var a=e.createMap();n.forEach((function(n,i){var s=e.getDirectoryPath(i),l=a.get(s);l||(l=e.createMap(),a.set(s,l)),n.forEach((function(n,a){l.has(a)||(l.set(a,!0),!n.isInvalidated&&t(n,r)&&(n.isInvalidated=!0,(o||(o=e.createMap())).set(i,!0)))}))}))}function J(n){!function(){var n=t.maxNumberOfFilesToIterateForInvalidation||e.maxNumberOfFilesToIterateForInvalidation;return p.size>n||_.size>n}()?(z(p,n,L),z(_,n,x)):l=!0}function X(r,a){var i;if(a)i=function(e){return A(r,t.toPath(e))};else{if(n(r))return!1;var s=e.getDirectoryPath(r);if(I(r)||O(r)||I(s)||O(s))i=function(n){return t.toPath(n)===r||e.startsWith(t.toPath(n),r)};else{if(!P(r)&&!y.has(r))return!1;if(e.isEmittedFileOfProgram(t.getCurrentProgram(),r))return!1;i=function(e){return t.toPath(e)===r}}}var c=o&&o.size;return J((function(n){return e.some(n.failedLookupLocations,i)})),l||o&&o.size!==c}function Y(){e.clearMap(S,e.closeFileWatcher)}function Q(e,n){return t.watchTypeRootsDirectory(n,(function(r){var a=t.toPath(r);u&&u.addOrDeleteFileOrDirectory(r,a),t.onChangedAutomaticTypeDirectiveNames();var i=function(e,n){if(!l){if(A(T,n))return T;var t=N(e,n);return t&&b.has(t.dirPath)?t.dirPath:void 0}}(n,e);i&&X(a,i===a)&&t.onInvalidatedResolution()}),1)}function Z(n){var r=e.getDirectoryPath(e.getDirectoryPath(n)),a=t.toPath(r);return a===T||R(a)}}}(c||(c={})),function(e){!function(n){var t,r;function a(n,t,r){var a=n.importModuleSpecifierPreference,i=n.importModuleSpecifierEnding;return{relativePreference:"relative"===a?0:"non-relative"===a?1:2,ending:function(){switch(i){case"minimal":return 0;case"index":return 1;case"js":return 2;default:return function(n){var t=n.imports;return e.firstDefined(t,(function(n){var t=n.text;return e.pathIsRelative(t)?e.hasJSOrJsonFileExtension(t):void 0}))||!1}(r)?2:e.getEmitModuleResolutionKind(t)!==e.ModuleResolutionKind.NodeJs?1:0}}()}}function i(n,t,r,a,i,l,c){var d=o(t,a),u=p(i,t,r,d.getCanonicalFileName,a,l);return e.firstDefined(u,(function(e){return f(e,d,a,n)}))||s(r,d,n,c)}function o(n,t){return{getCanonicalFileName:e.createGetCanonicalFileName(!t.useCaseSensitiveFileNames||t.useCaseSensitiveFileNames()),sourceDirectory:e.getDirectoryPath(n)}}function s(n,t,r,a){var i=t.getCanonicalFileName,o=t.sourceDirectory,s=a.ending,c=a.relativePreference,d=r.baseUrl,u=r.paths,p=r.rootDirs,f=p&&function(n,t,r,a){var i=g(t,n,a);if(void 0===i)return;var o=g(r,n,a),s=void 0!==o?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(o,i,a)):i;return e.removeFileExtension(s)}(p,n,o,i)||_(e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(o,n,i)),s,r);if(!d||0===c)return f;var y=v(n,d,i);if(!y)return f;var b=_(y,s,r),E=u&&m(e.removeFileExtension(y),b,u),T=void 0===E?b:E;return 1===c?T:(2!==c&&e.Debug.assertNever(c),h(T)||l(f)=d.length+u.length&&e.startsWith(t,d)&&e.endsWith(t,u)||!u&&t===e.removeTrailingDirectorySeparator(d)){var p=t.substr(d.length,t.length-u.length);return a.replace("*",p)}}else if(l===t||l===n)return a}}function f(n,t,r,a){var i=t.getCanonicalFileName,o=t.sourceDirectory;if(r.fileExists&&r.readFile){var s=function(n){var t,r,a=0,i=0,o=0;!function(e){e[e.BeforeNodeModules=0]="BeforeNodeModules",e[e.NodeModules=1]="NodeModules",e[e.Scope=2]="Scope",e[e.PackageContent=3]="PackageContent"}(r||(r={}));var s=0,l=0,c=0;for(;l>=0;)switch(s=l,l=n.indexOf("/",s+1),c){case 0:n.indexOf(e.nodeModulesPathPart,s)===s&&(a=s,i=l,c=1);break;case 1:case 2:1===c&&"@"===n.charAt(s+1)?c=2:(o=l,c=3);break;case 3:c=n.indexOf(e.nodeModulesPathPart,s)===s?1:3}return t=s,c>1?{topLevelNodeModulesIndex:a,topLevelPackageNameIndex:i,packageRootIndex:o,fileNameIndex:t}:void 0}(n);if(s){var l=n.substring(0,s.packageRootIndex),c=e.combinePaths(l,"package.json"),d=r.fileExists(c)?JSON.parse(r.readFile(c)):void 0,u=d&&d.typesVersions?e.getPackageJsonTypesVersionsPaths(d.typesVersions):void 0;if(u){var p=n.slice(s.packageRootIndex+1),f=m(e.removeFileExtension(p),_(p,0,a),u.paths);void 0!==f&&(n=e.combinePaths(n.slice(0,s.packageRootIndex),f))}var g=function(n){if(d){var t=d.typings||d.types||d.main;if(t){var a=e.toPath(t,l,i);if(e.removeFileExtension(a)===e.removeFileExtension(i(n)))return l}}var o=e.removeFileExtension(n);if("/index"===i(o.substring(s.fileNameIndex))&&!function(n,t){if(!n.fileExists)return;for(var r=e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]),a=0,i=r;a0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:s.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}e.createDiagnosticReporter=t,e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code],e.createWatchStatusReporter=a,e.parseConfigFileWithSystem=function(n,t,r,a){var i=r;i.onUnRecoverableConfigFileDiagnostic=function(n){return g(e.sys,a,n)};var o=e.getParsedCommandLineOfConfigFile(n,t,i);return i.onUnRecoverableConfigFileDiagnostic=void 0,o},e.getErrorCountForSummary=i,e.getWatchErrorSummaryDiagnosticMessage=o,e.getErrorSummaryText=s,e.listFiles=l,e.emitFilesAndReportErrors=c;var d={close:e.noop};function u(n,t){return void 0===n&&(n=e.sys),{onWatchStatusChange:t||a(n),watchFile:e.maybeBind(n,n.watchFile)||function(){return d},watchDirectory:e.maybeBind(n,n.watchDirectory)||function(){return d},setTimeout:e.maybeBind(n,n.setTimeout)||e.noop,clearTimeout:e.maybeBind(n,n.clearTimeout)||e.noop}}function p(n,t){var r=n.getSourceFile,a=t.createHash||e.generateDjb2Hash;n.getSourceFile=function(){for(var e=[],i=0;ie.getRootLength(r)&&!n.directoryExists(r)){var a=e.getDirectoryPath(r);t(a),n.createDirectory&&n.createDirectory(r)}}(e.getDirectoryPath(e.normalizePath(t))),n.writeFile(t,r,a),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(o){i&&i(o.message)}},getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return a},getCanonicalFileName:e.createGetCanonicalFileName(a),getNewLine:function(){return e.getNewLineCharacter(t(),i)},fileExists:function(e){return n.fileExists(e)},readFile:function(e){return n.readFile(e)},trace:e.maybeBind(n,n.trace),directoryExists:e.maybeBind(r,r.directoryExists),getDirectories:e.maybeBind(r,r.getDirectories),realpath:e.maybeBind(n,n.realpath),getEnvironmentVariable:e.maybeBind(n,n.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(n,n.createHash),readDirectory:e.maybeBind(n,n.readDirectory)}},e.setGetSourceFileAsHashVersioned=p,e.createProgramHost=m,e.createWatchCompilerHostOfConfigFile=function(e,n,r,a,i,o){var s=i||t(r),l=f(r,a,s,o);return l.onUnRecoverableConfigFileDiagnostic=function(e){return g(r,s,e)},l.configFileName=e,l.optionsToExtend=n,l},e.createWatchCompilerHostOfFilesAndCompilerOptions=function(e,n,r,a,i,o,s){var l=f(r,a,i||t(r),o);return l.rootFiles=e,l.options=n,l.projectReferences=s,l},e.readBuilderProgram=_,e.createIncrementalCompilerHost=v,e.performIncrementalCompilation=function(n){var r=n.system||e.sys,a=n.host||(n.host=v(n.options,r)),i=function(n){var t=n.rootNames,r=n.options,a=n.configFileParsingDiagnostics,i=n.projectReferences,o=n.host,s=n.createProgram;o=o||v(r),s=s||e.createEmitAndSemanticDiagnosticsBuilderProgram;var l=_(r,(function(e){return o.readFile(e)}));return s(t,r,o,l,a,i)}(n),o=c(i,n.reportDiagnostic||t(r),(function(e){return a.trace&&a.trace(e)}),n.reportErrorSummary||n.options.pretty?function(e){return r.write(s(e,r.newLine))}:void 0);return n.afterProgramEmitAndDiagnostics&&n.afterProgramEmitAndDiagnostics(i),o}}(c||(c={})),function(e){e.createWatchCompilerHost=function(n,t,r,a,i,o,s){return e.isArray(n)?e.createWatchCompilerHostOfFilesAndCompilerOptions(n,t,r,a,i,o,s):e.createWatchCompilerHostOfConfigFile(n,t,r,a,i,o)},e.createWatchProgram=function(n){var t,r,a,i,o,s,l,c,d=e.createMap(),u=!1,p=!1,m=n.useCaseSensitiveFileNames(),f=n.getCurrentDirectory(),g=n.configFileName,_=n.optionsToExtend,v=void 0===_?{}:_,h=n.createProgram,y=n.rootFiles,b=n.options,E=n.projectReferences,T=!1,S=!1,L=void 0===g?void 0:e.createCachedDirectoryStructureHost(n,f,m);L&&n.onCachedDirectoryStructureHostCreate&&n.onCachedDirectoryStructureHostCreate(L);var x=L||n,A=e.parseConfigHostFromCompilerHostLike(n,x),C=j();g&&n.configFileParsingResult&&(ee(n.configFileParsingResult),C=j()),Y(e.Diagnostics.Starting_compilation_in_watch_mode),g&&!n.configFileParsingResult&&(C=e.getNewLineCharacter(v,(function(){return n.getNewLine()})),e.Debug.assert(!y),$(),C=j());var D,k=e.createWatchFactory(n,b),M=k.watchFile,O=k.watchFilePath,I=k.watchDirectory,R=k.writeLog,w=e.createGetCanonicalFileName(m);R("Current directory: "+f+" CaseSensitiveFileNames: "+m),g&&(D=M(n,g,(function(){e.Debug.assert(!!g),r=e.ConfigFileProgramReloadLevel.Full,Q()}),e.PollingInterval.High,"Config file"));var N=e.createCompilerHostFromProgramHost(n,(function(){return b}),x);e.setGetSourceFileAsHashVersioned(N,n);var P=N.getSourceFile;N.getSourceFile=function(e){for(var n=[],t=1;te?n:e}function c(n){return e.fileExtensionIs(n,".d.ts")}function d(n,t){return function(r){var a=t?"["+e.formatColorAndReset((new Date).toLocaleTimeString(),e.ForegroundColorEscapeSequences.Grey)+"] ":(new Date).toLocaleTimeString()+" - ";a+=""+e.flattenDiagnosticMessageText(r.messageText,n.newLine)+(n.newLine+n.newLine),n.write(a)}}function u(n,t,r,a){var i=e.createProgramHost(n,t);return i.getModifiedTime=n.getModifiedTime?function(e){return n.getModifiedTime(e)}:e.returnUndefined,i.setModifiedTime=n.setModifiedTime?function(e,t){return n.setModifiedTime(e,t)}:e.noop,i.deleteFile=n.deleteFile?function(e){return n.deleteFile(e)}:e.noop,i.reportDiagnostic=r||e.createDiagnosticReporter(n),i.reportSolutionBuilderStatus=a||d(n),i}function p(n){var t={};return e.commonOptionsWithBuild.forEach((function(r){e.hasProperty(n,r.name)&&(t[r.name]=n[r.name])})),t}function m(n){return e.fileExtensionIs(n,".json")?n:e.combinePaths(n,"tsconfig.json")}function f(n,r,a,i){switch(r.type){case t.OutOfDateWithSelf:return i(e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,a(n),a(r.outOfDateOutputFileName),a(r.newerInputFileName));case t.OutOfDateWithUpstream:return i(e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,a(n),a(r.outOfDateOutputFileName),a(r.newerProjectName));case t.OutputMissing:return i(e.Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist,a(n),a(r.missingOutputFileName));case t.UpToDate:if(void 0!==r.newestInputFileTime)return i(e.Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2,a(n),a(r.newestInputFileName||""),a(r.oldestOutputFileName||""));break;case t.OutOfDateWithPrepend:return i(e.Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,a(n),a(r.newerProjectName));case t.UpToDateWithUpstreamTypes:return i(e.Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,a(n));case t.UpstreamOutOfDate:return i(e.Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,a(n),a(r.upstreamProjectName));case t.UpstreamBlocked:return i(e.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,a(n),a(r.upstreamProjectName));case t.Unbuildable:return i(e.Diagnostics.Failed_to_parse_file_0_Colon_1,a(n),r.reason);case t.TsVersionOutputOfDate:return i(e.Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,a(n),r.version,e.version);case t.ContainerOnly:case t.ComputingUpstream:break;default:e.assertType(r)}}!function(e){e[e.None=0]="None",e[e.Success=1]="Success",e[e.DeclarationOutputUnchanged=2]="DeclarationOutputUnchanged",e[e.ConfigFileErrors=4]="ConfigFileErrors",e[e.SyntaxErrors=8]="SyntaxErrors",e[e.TypeErrors=16]="TypeErrors",e[e.DeclarationEmitErrors=32]="DeclarationEmitErrors",e[e.EmitErrors=64]="EmitErrors",e[e.AnyErrors=124]="AnyErrors"}(n||(n={})),function(e){e[e.Unbuildable=0]="Unbuildable",e[e.UpToDate=1]="UpToDate",e[e.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",e[e.OutOfDateWithPrepend=3]="OutOfDateWithPrepend",e[e.OutputMissing=4]="OutputMissing",e[e.OutOfDateWithSelf=5]="OutOfDateWithSelf",e[e.OutOfDateWithUpstream=6]="OutOfDateWithUpstream",e[e.UpstreamOutOfDate=7]="UpstreamOutOfDate",e[e.UpstreamBlocked=8]="UpstreamBlocked",e[e.ComputingUpstream=9]="ComputingUpstream",e[e.TsVersionOutputOfDate=10]="TsVersionOutputOfDate",e[e.ContainerOnly=11]="ContainerOnly"}(t=e.UpToDateStatusType||(e.UpToDateStatusType={})),e.createBuilderStatusReporter=d,e.createSolutionBuilderHost=function(n,t,r,a,i){void 0===n&&(n=e.sys);var o=u(n,t,r,a);return o.reportErrorSummary=i,o},e.createSolutionBuilderWithWatchHost=function(n,t,r,a,i){void 0===n&&(n=e.sys);var o=u(n,t,r,a),s=e.createWatchHost(n,i);return e.copyProperties(o,s),o},e.createSolutionBuilder=function(d,u,g){var _,v=d,h=d.getCurrentDirectory(),y=e.createGetCanonicalFileName(d.useCaseSensitiveFileNames()),b=e.parseConfigHostFromCompilerHostLike(d),E=g,T=p(E),S=i(Q),L=i(Q),x=i(Q),A=e.createMap(),C=d.trace?function(e){return d.trace(e)}:void 0,D=function(e){return d.readFile(e)},k=T,M=e.createCompilerHostFromProgramHost(d,(function(){return k}));e.setGetSourceFileAsHashVersioned(M,d),M.getParsedCommandLine=Z,M.resolveModuleNames=e.maybeBind(d,d.resolveModuleNames),M.resolveTypeReferenceDirectives=e.maybeBind(d,d.resolveTypeReferenceDirectives);var O,I,R=M.resolveModuleNames?void 0:e.createModuleResolutionCache(h,y),w=i(Q),N=e.createMap(),P=i(Q),F=i(Q),G=i(Q),V=i(Q),B=[],H=0,K=!1,j=e.createWatchFactory(d,E),U=j.watchFile,W=j.watchFilePath,q=j.watchDirectory,z=j.writeLog,J=i(Q),X=i(Q),Y=i(Q);return{buildAllProjects:function(){E.watch&&ee(e.Diagnostics.Starting_compilation_in_watch_mode);Te();var r=se();!function(n){E.verbose&&$(e.Diagnostics.Projects_in_this_build_Colon_0,n.buildQueue.map((function(e){return"\r\n * "+De(e)})).join(""))}(r);for(var a=!1,i=0,o=r.buildQueue;io&&(i=p,o=m)}if(!n.fileNames.length&&!e.canJsonReportNoInutFiles(n.raw))return{type:t.ContainerOnly};for(var f,g=e.getAllProjectOutputs(n,!d.useCaseSensitiveFileNames()),_="(none)",v=a,h="(none)",y=r,b=r,E=!1,T=0,S=g;Ty&&(y=C,h=A),c(A)){var k=L.getValue(A);if(void 0!==k)b=l(k,b);else{var M=d.getModifiedTime(A)||e.missingFileModifiedTime;b=l(b,M)}}}var O,I=!1,R=!1;if(n.projectReferences){x.setValue(n.options.configFilePath,{type:t.ComputingUpstream});for(var N=0,P=n.projectReferences;N0);var m={sourceFile:k.configFile,commandLine:u};R.directoryToModuleNameMap.setOwnMap(R.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(m)),R.moduleNameToDirectoryMap.setOwnMap(R.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(m))}R.directoryToModuleNameMap.setOwnOptions(k),R.moduleNameToDirectoryMap.setOwnOptions(k)}var f=d.createProgram(u.fileNames,u.options,M,function(n,t){if(E.force)return;var r=P.getValue(n);return r||e.readBuilderProgram(t.options,D)}(o,u),u.errors,u.projectReferences),g=f.getConfigFileParsingDiagnostics().concat(f.getOptionsDiagnostics(),f.getGlobalDiagnostics(),f.getSyntacticDiagnostics());if(g.length)return w(g,n.SyntaxErrors,"Syntactic");var _=f.getSemanticDiagnostics();if(_.length)return w(_,n.TypeErrors,"Semantic");f.backupState();var v,h=r,y=!1,b=[];if(e.emitFilesAndReportErrors(f,(function(e){return(v||(v=[])).push(e)}),void 0,void 0,(function(e,n,t){return b.push({name:e,text:n,writeByteOrderMark:t})})),v)return f.restoreState(),w(v,n.DeclarationEmitErrors,"Declaration file");var S=e.createDiagnosticCollection(),A=i(Q);b.forEach((function(t){var r,a=t.name,i=t.text,o=t.writeByteOrderMark;!y&&c(a)&&(d.fileExists(a)&&D(a)===i?r=d.getModifiedTime(a):(s&=~n.DeclarationOutputUnchanged,y=!0)),A.setValue(a,a),e.writeFile(M,S,a,i,o),void 0!==r&&(h=l(r,h),L.setValue(a,r))}));var O=S.getDiagnostics();if(O.length)return w(O,n.EmitErrors,"Emit");C&&(A.forEach((function(e){return _e(u,e)})),e.listFiles(f,C)),h=be(u,h,e.Diagnostics.Updating_unchanged_output_timestamps_of_project_0,A);var I={type:t.UpToDate,newestDeclarationFileContentChangedTime:y?a:h,oldestOutputFileName:b.length?b[0].name:e.getFirstProjectOutput(u,!d.useCaseSensitiveFileNames())};return F.removeKey(o),x.setValue(o,I),ve(o,f),k=T,s;function w(n,r,a){return s|=r,Ae(o,n),C&&e.listFiles(f,C),x.setValue(o,{type:t.Unbuildable,reason:a+" errors"}),ve(o,f),k=T,s}}function _e(e,n){C&&e.options.listEmittedFiles&&C("TSFILE: "+n)}function ve(e,n){d.afterProgramEmitAndDiagnostics&&d.afterProgramEmitAndDiagnostics(n),E.watch&&(n.releaseProgram(),P.setValue(e,n))}function he(a){if(E.dry)return $(e.Diagnostics.A_non_dry_build_would_update_output_of_project_0,a),n.Success;E.verbose&&$(e.Diagnostics.Updating_output_of_project_0,a);var o=e.Debug.assertDefined(Z(a));k=o.options;var s=e.emitUsingBuildInfo(o,M,(function(e){return Z(Ee(e.path))}));if(e.isString(s))return $(e.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,a,De(s)),ge(a);e.Debug.assert(!!s.length);var l=e.createDiagnosticCollection(),c=i(Q);s.forEach((function(n){var t=n.name,r=n.text,a=n.writeByteOrderMark;c.setValue(t,t),e.writeFile(M,l,t,r,a)}));var d=l.getDiagnostics();if(d.length)return Ae(a,d),x.setValue(a,{type:t.Unbuildable,reason:"Emit errors"}),k=T,n.DeclarationOutputUnchanged|n.EmitErrors;C&&c.forEach((function(e){return _e(o,e)}));var u=be(o,r,e.Diagnostics.Updating_unchanged_output_timestamps_of_project_0,c),p={type:t.UpToDate,newestDeclarationFileContentChangedTime:u,oldestOutputFileName:s[0].name};return F.removeKey(a),x.setValue(a,p),k=T,n.DeclarationOutputUnchanged}function ye(n){if(E.dry)return $(e.Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0,n.options.configFilePath);var a=be(n,r,e.Diagnostics.Updating_output_timestamps_of_project_0),i={type:t.UpToDate,newestDeclarationFileContentChangedTime:a,oldestOutputFileName:e.getFirstProjectOutput(n,!d.useCaseSensitiveFileNames())};x.setValue(n.options.configFilePath,i)}function be(n,t,r,a){var i=e.getAllProjectOutputs(n,!d.useCaseSensitiveFileNames());if(!a||i.length!==a.getSize()){E.verbose&&$(r,n.options.configFilePath);for(var o=d.now?d.now():new Date,s=0,u=i;s=0},n.findArgument=function(n){var t=e.sys.args.indexOf(n);return t>=0&&t214?3:46===e.charCodeAt(0)?4:95===e.charCodeAt(0)?5:/^@[^/]+\/[^/]+$/.test(e)?1:encodeURIComponent(e)!==e?6:0:2},n.renderPackageNameValidationFailure=function(n,t){switch(n){case 2:return"Package name '"+t+"' cannot be empty";case 3:return"Package name '"+t+"' should be less than 214 characters";case 4:return"Package name '"+t+"' cannot start with '.'";case 5:return"Package name '"+t+"' cannot start with '_'";case 1:return"Package '"+t+"' is scoped and currently is not supported";case 6:return"Package name '"+t+"' contains non URI safe characters";case 0:return e.Debug.fail();default:throw e.Debug.assertNever(n)}}}(e.JsTyping||(e.JsTyping={}))}(c||(c={})),function(e){var n;function t(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:n.Smart,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1}}!function(e){var n=function(){function e(e){this.text=e}return e.prototype.getText=function(e,n){return 0===e&&n===this.text.length?this.text:this.text.substring(e,n)},e.prototype.getLength=function(){return this.text.length},e.prototype.getChangeRange=function(){},e}();e.fromString=function(e){return new n(e)}}(e.ScriptSnapshot||(e.ScriptSnapshot={})),e.emptyOptions={},function(e){e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference"}(e.HighlightSpanKind||(e.HighlightSpanKind={})),function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(n=e.IndentStyle||(e.IndentStyle={})),e.getDefaultFormatCodeSettings=t,e.testFormatSettings=t("\n"),function(e){e[e.aliasName=0]="aliasName",e[e.className=1]="className",e[e.enumName=2]="enumName",e[e.fieldName=3]="fieldName",e[e.interfaceName=4]="interfaceName",e[e.keyword=5]="keyword",e[e.lineBreak=6]="lineBreak",e[e.numericLiteral=7]="numericLiteral",e[e.stringLiteral=8]="stringLiteral",e[e.localName=9]="localName",e[e.methodName=10]="methodName",e[e.moduleName=11]="moduleName",e[e.operator=12]="operator",e[e.parameterName=13]="parameterName",e[e.propertyName=14]="propertyName",e[e.punctuation=15]="punctuation",e[e.space=16]="space",e[e.text=17]="text",e[e.typeParameterName=18]="typeParameterName",e[e.enumMemberName=19]="enumMemberName",e[e.functionName=20]="functionName",e[e.regularExpressionLiteral=21]="regularExpressionLiteral"}(e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={})),function(e){e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports"}(e.OutliningSpanKind||(e.OutliningSpanKind={})),function(e){e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration"}(e.OutputFileType||(e.OutputFileType={})),function(e){e[e.None=0]="None",e[e.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",e[e.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",e[e.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",e[e.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",e[e.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition"}(e.EndOfLineState||(e.EndOfLineState={})),function(e){e[e.Punctuation=0]="Punctuation",e[e.Keyword=1]="Keyword",e[e.Operator=2]="Operator",e[e.Comment=3]="Comment",e[e.Whitespace=4]="Whitespace",e[e.Identifier=5]="Identifier",e[e.NumberLiteral=6]="NumberLiteral",e[e.BigIntLiteral=7]="BigIntLiteral",e[e.StringLiteral=8]="StringLiteral",e[e.RegExpLiteral=9]="RegExpLiteral"}(e.TokenClass||(e.TokenClass={})),function(e){e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string"}(e.ScriptElementKind||(e.ScriptElementKind={})),function(e){e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json"}(e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})),function(e){e.comment="comment",e.identifier="identifier",e.keyword="keyword",e.numericLiteral="number",e.bigintLiteral="bigint",e.operator="operator",e.stringLiteral="string",e.whiteSpace="whitespace",e.text="text",e.punctuation="punctuation",e.className="class name",e.enumName="enum name",e.interfaceName="interface name",e.moduleName="module name",e.typeParameterName="type parameter name",e.typeAliasName="type alias name",e.parameterName="parameter name",e.docCommentTagName="doc comment tag name",e.jsxOpenTagName="jsx open tag name",e.jsxCloseTagName="jsx close tag name",e.jsxSelfClosingTagName="jsx self closing tag name",e.jsxAttribute="jsx attribute",e.jsxText="jsx text",e.jsxAttributeStringLiteralValue="jsx attribute string literal value"}(e.ClassificationTypeNames||(e.ClassificationTypeNames={})),function(e){e[e.comment=1]="comment",e[e.identifier=2]="identifier",e[e.keyword=3]="keyword",e[e.numericLiteral=4]="numericLiteral",e[e.operator=5]="operator",e[e.stringLiteral=6]="stringLiteral",e[e.regularExpressionLiteral=7]="regularExpressionLiteral",e[e.whiteSpace=8]="whiteSpace",e[e.text=9]="text",e[e.punctuation=10]="punctuation",e[e.className=11]="className",e[e.enumName=12]="enumName",e[e.interfaceName=13]="interfaceName",e[e.moduleName=14]="moduleName",e[e.typeParameterName=15]="typeParameterName",e[e.typeAliasName=16]="typeAliasName",e[e.parameterName=17]="parameterName",e[e.docCommentTagName=18]="docCommentTagName",e[e.jsxOpenTagName=19]="jsxOpenTagName",e[e.jsxCloseTagName=20]="jsxCloseTagName",e[e.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",e[e.jsxAttribute=22]="jsxAttribute",e[e.jsxText=23]="jsxText",e[e.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",e[e.bigintLiteral=25]="bigintLiteral"}(e.ClassificationType||(e.ClassificationType={}))}(c||(c={})),function(e){function n(n){switch(n.kind){case 238:return e.isInJSFile(n)&&e.getJSDocEnumTag(n)?7:1;case 152:case 187:case 155:case 154:case 276:case 277:case 157:case 156:case 158:case 159:case 160:case 240:case 197:case 198:case 275:case 268:return 1;case 151:case 242:case 243:case 169:return 2;case 310:return void 0===n.name?3:2;case 279:case 241:return 3;case 245:return e.isAmbientModule(n)||1===e.getModuleInstanceState(n)?5:4;case 244:case 253:case 254:case 249:case 250:case 255:case 256:return 7;case 285:return 5}return 7}function t(n){for(;149===n.parent.kind;)n=n.parent;return e.isInternalModuleImportEqualsDeclaration(n.parent)&&n.parent.moduleReference===n}function r(e,n){var t=a(e);return!!t&&!!t.parent&&n(t.parent)&&t.parent.expression===t}function a(e){return s(e)?e.parent:e}function i(n){return 73===n.kind&&e.isBreakOrContinueStatement(n.parent)&&n.parent.label===n}function o(n){return 73===n.kind&&e.isLabeledStatement(n.parent)&&n.parent.label===n}function s(e){return e&&e.parent&&190===e.parent.kind&&e.parent.name===e}e.scanner=e.createScanner(8,!0),function(e){e[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All"}(e.SemanticMeaning||(e.SemanticMeaning={})),e.getMeaningFromDeclaration=n,e.getMeaningFromLocation=function(r){return 285===r.kind?1:255===r.parent.kind||260===r.parent.kind?7:t(r)?function(n){var t=149===n.kind?n:e.isQualifiedName(n.parent)&&n.parent.right===n?n.parent:void 0;return t&&249===t.parent.kind?7:4}(r):e.isDeclarationName(r)?n(r.parent):function(n){e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent);switch(n.kind){case 101:return!e.isExpressionNode(n);case 179:return!0}switch(n.parent.kind){case 165:return!0;case 184:return!n.parent.isTypeOf;case 212:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)}return!1}(r)?2:function(e){return function(e){var n=e,t=!0;if(149===n.parent.kind){for(;n.parent&&149===n.parent.kind;)n=n.parent;t=n.right===e}return 165===n.parent.kind&&!t}(e)||function(e){var n=e,t=!0;if(190===n.parent.kind){for(;n.parent&&190===n.parent.kind;)n=n.parent;t=n.name===e}if(!t&&212===n.parent.kind&&274===n.parent.parent.kind){var r=n.parent.parent.parent;return 241===r.kind&&110===n.parent.parent.token||242===r.kind&&87===n.parent.parent.token}return!1}(e)}(r)?4:e.isTypeParameterDeclaration(r.parent)?(e.Debug.assert(e.isJSDocTemplateTag(r.parent.parent)),2):e.isLiteralTypeNode(r.parent)?3:1},e.isInRightSideOfInternalImportEqualsDeclaration=t,e.isCallExpressionTarget=function(n){return r(n,e.isCallExpression)},e.isNewExpressionTarget=function(n){return r(n,e.isNewExpression)},e.isCallOrNewExpressionTarget=function(n){return r(n,e.isCallOrNewExpression)},e.climbPastPropertyAccess=a,e.getTargetLabel=function(e,n){for(;e;){if(234===e.kind&&e.label.escapedText===n)return e.label;e=e.parent}},e.hasPropertyAccessExpressionWithName=function(n,t){return!!e.isPropertyAccessExpression(n.expression)&&n.expression.name.text===t},e.isJumpStatementTarget=i,e.isLabelOfLabeledStatement=o,e.isLabelName=function(e){return o(e)||i(e)},e.isTagName=function(n){return e.isJSDocTag(n.parent)&&n.parent.tagName===n},e.isRightSideOfQualifiedName=function(e){return 149===e.parent.kind&&e.parent.right===e},e.isRightSideOfPropertyAccess=s,e.isNameOfModuleDeclaration=function(e){return 245===e.parent.kind&&e.parent.name===e},e.isNameOfFunctionDeclaration=function(n){return 73===n.kind&&e.isFunctionLike(n.parent)&&n.parent.name===n},e.isLiteralNameOfPropertyDeclarationOrIndexAccess=function(n){switch(n.parent.kind){case 155:case 154:case 276:case 279:case 157:case 156:case 159:case 160:case 245:return e.getNameOfDeclaration(n.parent)===n;case 191:return n.parent.argumentExpression===n;case 150:return!0;case 183:return 181===n.parent.parent.kind;default:return!1}},e.isExpressionOfExternalModuleImportEqualsDeclaration=function(n){return e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n},e.getContainerNode=function(n){for(e.isJSDocTypeAlias(n)&&(n=n.parent.parent);;){if(!(n=n.parent))return;switch(n.kind){case 285:case 157:case 156:case 240:case 197:case 159:case 160:case 241:case 242:case 244:case 245:return n}}},e.getNodeKind=function n(t){switch(t.kind){case 285:return e.isExternalModule(t)?"module":"script";case 245:return"module";case 241:case 210:return"class";case 242:return"interface";case 243:case 303:case 310:return"type";case 244:return"enum";case 238:return o(t);case 187:return o(e.getRootDeclaration(t));case 198:case 240:case 197:return"function";case 159:return"getter";case 160:return"setter";case 157:case 156:return"method";case 155:case 154:return"property";case 163:return"index";case 162:return"construct";case 161:return"call";case 158:return"constructor";case 151:return"type parameter";case 279:return"enum member";case 152:return e.hasModifier(t,92)?"property":"parameter";case 249:case 254:case 258:case 252:return"alias";case 205:var r=e.getAssignmentDeclarationKind(t),a=t.right;switch(r){case 7:case 8:case 9:case 0:return"";case 1:case 2:var i=n(a);return""===i?"const":i;case 3:return e.isFunctionExpression(a)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(a)?"method":"property";case 6:return"local class";default:return e.assertType(r),""}case 73:return e.isImportClause(t.parent)?"alias":"";default:return""}function o(n){return e.isVarConst(n)?"const":e.isLet(n)?"let":"var"}},e.isThis=function(n){switch(n.kind){case 101:return!0;case 73:return e.identifierIsThisKeyword(n)&&152===n.parent.kind;default:return!1}};var l=/^\/\/\/\s*=t.end}function p(e,n,t,r){return Math.max(e,t)n)break;var c=l.getEnd();if(n=n||!k(c,t)||L(c)){var d=S(s,l,t);return d&&T(d,t)}return i(c)}}e.Debug.assert(void 0!==r||285===o.kind||1===o.kind||e.isJSDocCommentContainingNode(o));var u=S(s,s.length,t);return u&&T(u,t)}(r||t);return e.Debug.assert(!(i&&L(i))),i}function E(n){return e.isToken(n)&&!L(n)}function T(e,n){if(E(e))return e;var t=e.getChildren(n),r=S(t,t.length,n);return r&&T(r,n)}function S(n,t,r){for(var a=t-1;a>=0;a--){if(L(n[a]))e.Debug.assert(a>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(k(n[a],r))return n[a]}}function L(n){return e.isJsxText(n)&&n.containsOnlyTriviaWhiteSpaces}function x(e,n,t){for(var r=e.kind,a=0;;){var i=b(e.getFullStart(),t);if(!i)return;if((e=i).kind===n){if(0===a)return e;a--}else e.kind===r&&a++}}function A(n,t,r){var a=r.getTypeAtLocation(n);return(e.isNewExpression(n.parent)?a.getConstructSignatures():a.getCallSignatures()).filter((function(e){return!!e.typeParameters&&e.typeParameters.length>=t}))}function C(n,t){for(var r=n,a=0,i=0;r;){switch(r.kind){case 28:if(!(r=b(r.getFullStart(),t))||!e.isIdentifier(r))return;if(!a)return e.isDeclarationName(r)?void 0:{called:r,nTypeArguments:i};a--;break;case 48:a=3;break;case 47:a=2;break;case 30:a++;break;case 19:if(!(r=x(r,18,t)))return;break;case 21:if(!(r=x(r,20,t)))return;break;case 23:if(!(r=x(r,22,t)))return;break;case 27:i++;break;case 37:case 73:case 10:case 8:case 9:case 103:case 88:case 105:case 87:case 130:case 24:case 50:case 56:case 57:break;default:if(e.isTypeNode(r))break;return}r=b(r.getFullStart(),t)}}function D(n,t,r){return e.formatting.getRangeOfEnclosingComment(n,t,void 0,r)}function k(e,n){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(n)}function M(e,n,t){var r=D(e,n,void 0);return!!r&&t===l.test(e.text.substring(r.pos,r.end))}function O(e,n){return{span:e,newText:n}}function I(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function R(n,t,r,a){return e.createImportDeclaration(void 0,void 0,n||t?e.createImportClause(n,t&&t.length?e.createNamedImports(t):void 0):void 0,"string"===typeof r?w(r,a):r)}function w(n,t){return e.createLiteral(n,0===t)}function N(n,t){return e.isStringDoubleQuoted(n,t)?1:0}function P(n){return"default"!==n.escapedName?n.escapedName:e.firstDefined(n.declarations,(function(n){var t=e.getNameOfDeclaration(n);return t&&73===t.kind?t.escapedText:void 0}))}function F(n,t,r,a){var i=e.createMap();return function n(o){if(!(96&o.flags)||!e.addToSeen(i,e.getSymbolId(o)))return;return e.firstDefined(o.declarations,(function(i){return e.firstDefined(e.getAllSuperTypeNodes(i),(function(i){var o=r.getTypeAtLocation(i),s=o&&o.symbol&&r.getPropertyOfType(o,t);return o&&s&&(e.firstDefined(r.getRootSymbols(s),a)||n(o.symbol))}))}))}(n)}function G(n,t,r){return e.textSpanContainsPosition(n,t.getStart(r))&&t.getEnd()<=e.textSpanEnd(n)}function V(e,n){return!!e&&!!n&&e.start===n.start&&e.length===n.length}e.getLineStartPositionForPosition=function(n,t){return e.getLineStarts(t)[t.getLineAndCharacterOfPosition(n).line]},e.rangeContainsRange=c,e.rangeContainsRangeExclusive=function(e,n){return d(e,n.pos)&&d(e,n.end)},e.rangeContainsPosition=function(e,n){return e.pos<=n&&n<=e.end},e.rangeContainsPositionExclusive=d,e.startEndContainsRange=u,e.rangeContainsStartEnd=function(e,n,t){return e.pos<=n&&e.end>=t},e.rangeOverlapsWithStartEnd=function(e,n,t){return p(e.pos,e.end,n,t)},e.nodeOverlapsWithStartEnd=function(e,n,t,r){return p(e.getStart(n),e.end,t,r)},e.startEndOverlapsWithStartEnd=p,e.positionBelongsToNode=function(n,t,r){return e.Debug.assert(n.pos<=t),tr.getStart(n)&&tn.end||e.pos===n.end)&&k(e,r)?t(e):void 0}))}(t)},e.findPrecedingToken=b,e.isInString=function(n,t,r){if(void 0===r&&(r=b(t,n)),r&&e.isStringTextContainingNode(r)){var a=r.getStart(n),i=r.getEnd();if(ar.getStart(n)},e.isInJSXText=function(n,t){var r=h(n,t);return!!e.isJsxText(r)||(!(18!==r.kind||!e.isJsxExpression(r.parent)||!e.isJsxElement(r.parent.parent))||!(28!==r.kind||!e.isJsxOpeningLikeElement(r.parent)||!e.isJsxElement(r.parent.parent)))},e.findPrecedingMatchingToken=x,e.isPossiblyTypeArgumentPosition=function n(t,r,a){var i=C(t,r);return void 0!==i&&(e.isPartOfTypeNode(i.called)||0!==A(i.called,i.nTypeArguments,a).length||n(i.called,r,a))},e.getPossibleGenericSignatures=A,e.getPossibleTypeArgumentsInfo=C,e.isInComment=D,e.hasDocComment=function(n,t){var r=h(n,t);return!!e.findAncestor(r,e.isJSDoc)},e.getNodeModifiers=function(n){var t=e.isDeclaration(n)?e.getCombinedModifierFlags(n):0,r=[];return 8&t&&r.push("private"),16&t&&r.push("protected"),4&t&&r.push("public"),32&t&&r.push("static"),128&t&&r.push("abstract"),1&t&&r.push("export"),4194304&n.flags&&r.push("declare"),r.length>0?r.join(","):""},e.getTypeArgumentOrTypeParameterList=function(n){return 165===n.kind||192===n.kind?n.typeArguments:e.isFunctionLike(n)||241===n.kind||242===n.kind?n.typeParameters:void 0},e.isComment=function(e){return 2===e||3===e},e.isStringOrRegularExpressionOrTemplateLiteral=function(n){return!(10!==n&&13!==n&&!e.isTemplateLiteralKind(n))},e.isPunctuation=function(e){return 18<=e&&e<=72},e.isInsideTemplateLiteral=function(n,t,r){return e.isTemplateLiteralKind(n.kind)&&n.getStart(r)=2||!!e.noEmit},e.hostUsesCaseSensitiveFileNames=I,e.hostGetCanonicalFileName=function(n){return e.createGetCanonicalFileName(I(n))},e.makeImportIfNecessary=function(e,n,t,r){return e||n&&n.length?R(e,n,t,r):void 0},e.makeImport=R,e.makeStringLiteral=w,function(e){e[e.Single=0]="Single",e[e.Double=1]="Double"}(e.QuotePreference||(e.QuotePreference={})),e.quotePreferenceFromString=N,e.getQuotePreference=function(n,t){if(t.quotePreference&&"auto"!==t.quotePreference)return"single"===t.quotePreference?0:1;var r=n.imports&&e.find(n.imports,e.isStringLiteral);return r?N(r,n):1},e.getQuoteFromPreference=function(n){switch(n){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(n)}},e.symbolNameNoDefault=function(n){var t=P(n);return void 0===t?void 0:e.unescapeLeadingUnderscores(t)},e.symbolEscapedNameNoDefault=P,e.isObjectBindingElementWithoutPropertyName=function(n){return e.isBindingElement(n)&&e.isObjectBindingPattern(n.parent)&&e.isIdentifier(n.name)&&!n.propertyName},e.getPropertySymbolFromBindingElement=function(e,n){var t=e.getTypeAtLocation(n.parent);return t&&e.getPropertyOfType(t,n.name.text)},e.getPropertySymbolsFromBaseTypes=F,e.isMemberSymbolInBaseType=function(e,n){return F(e.parent,e.name,n,(function(e){return!0}))||!1},e.getParentNodeInSpan=function(n,t,r){if(n)for(;n.parent;){if(e.isSourceFile(n.parent)||!G(r,n.parent,t))return n;n=n.parent}},e.findModifier=function(n,t){return n.modifiers&&e.find(n.modifiers,(function(e){return e.kind===t}))},e.insertImport=function(n,t,r){var a=e.findLast(t.statements,e.isAnyImportSyntax);a?n.insertNodeAfter(t,a,r):n.insertNodeAtTopOfFile(t,r,!0)},e.textSpansEqual=V,e.documentSpansEqual=function(e,n){return e.fileName===n.fileName&&V(e.textSpan,n.textSpan)}}(c||(c={})),function(e){function n(e){return e.declarations&&e.declarations.length>0&&152===e.declarations[0].kind}e.isFirstDeclarationOfSymbolParameter=n;var t=function(){var n,t,i,o,l=10*e.defaultMaximumTruncationLength;p();var c=function(n){return u(n,e.SymbolDisplayPartKind.text)};return{displayParts:function(){var t=n.length&&n[n.length-1].text;return o>l&&t&&"..."!==t&&(e.isWhiteSpaceLike(t.charCodeAt(t.length-1))||n.push(a(" ",e.SymbolDisplayPartKind.space)),n.push(a("...",e.SymbolDisplayPartKind.punctuation))),n},writeKeyword:function(n){return u(n,e.SymbolDisplayPartKind.keyword)},writeOperator:function(n){return u(n,e.SymbolDisplayPartKind.operator)},writePunctuation:function(n){return u(n,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(n){return u(n,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(n){return u(n,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(n){return u(n,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(n){return u(n,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(n){return u(n,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(n){return u(n,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:function(e,t){if(o>l)return;d(),o+=e.length,n.push(r(e,t))},writeLine:function(){if(o>l)return;o+=1,n.push(s()),t=!0},write:c,writeComment:c,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return!1},rawWrite:e.notImplemented,getIndent:function(){return i},increaseIndent:function(){i++},decreaseIndent:function(){i--},clear:p,trackSymbol:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function d(){if(!(o>l)&&t){var r=e.getIndentString(i);r&&(o+=r.length,n.push(a(r,e.SymbolDisplayPartKind.space))),t=!1}}function u(e,t){o>l||(d(),o+=e.length,n.push(a(e,t)))}function p(){n=[],t=!0,i=0,o=0}}();function r(t,r){return a(t,function(t){var r=t.flags;if(3&r)return n(t)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName;if(4&r)return e.SymbolDisplayPartKind.propertyName;if(32768&r)return e.SymbolDisplayPartKind.propertyName;if(65536&r)return e.SymbolDisplayPartKind.propertyName;if(8&r)return e.SymbolDisplayPartKind.enumMemberName;if(16&r)return e.SymbolDisplayPartKind.functionName;if(32&r)return e.SymbolDisplayPartKind.className;if(64&r)return e.SymbolDisplayPartKind.interfaceName;if(384&r)return e.SymbolDisplayPartKind.enumName;if(1536&r)return e.SymbolDisplayPartKind.moduleName;if(8192&r)return e.SymbolDisplayPartKind.methodName;if(262144&r)return e.SymbolDisplayPartKind.typeParameterName;if(524288&r)return e.SymbolDisplayPartKind.aliasName;if(2097152&r)return e.SymbolDisplayPartKind.aliasName;return e.SymbolDisplayPartKind.text}(r))}function a(n,t){return{text:n,kind:e.SymbolDisplayPartKind[t]}}function i(n){return a(e.tokenToString(n),e.SymbolDisplayPartKind.keyword)}function o(n){return a(n,e.SymbolDisplayPartKind.text)}e.symbolPart=r,e.displayPart=a,e.spacePart=function(){return a(" ",e.SymbolDisplayPartKind.space)},e.keywordPart=i,e.punctuationPart=function(n){return a(e.tokenToString(n),e.SymbolDisplayPartKind.punctuation)},e.operatorPart=function(n){return a(e.tokenToString(n),e.SymbolDisplayPartKind.operator)},e.textOrKeywordPart=function(n){var t=e.stringToToken(n);return void 0===t?o(n):i(t)},e.textPart=o;function s(){return a("\n",e.SymbolDisplayPartKind.lineBreak)}function l(e){try{return e(t),t.displayParts()}finally{t.clear()}}function c(e){var n=e.length;return n>=2&&e.charCodeAt(0)===e.charCodeAt(n-1)&&d(e)?e.substring(1,n-1):e}function d(n){return e.isSingleOrDoubleQuote(n.charCodeAt(0))}function u(n,t){return e.ensureScriptKind(n,t&&t.getScriptKind&&t.getScriptKind(n))}function p(e){return 0!==(33554432&e.flags)}function m(e){return 0!==(2097152&e.flags)}function f(e,n){void 0===n&&(n=!0);var t=e&&_(e);return t&&!n&&v(t),t}function g(n,t,r,a,i){var o;if(void 0===t&&(t=!0),r&&a&&e.isBindingElement(n)&&e.isIdentifier(n.name)&&e.isObjectBindingPattern(n.parent))(l=(s=a.getSymbolAtLocation(n.name))&&r.get(String(e.getSymbolId(s))))&&l.text!==(n.name||n.propertyName).getText()&&(o=e.createBindingElement(n.dotDotDotToken,n.propertyName||n.name,l,n.initializer));else if(r&&a&&e.isIdentifier(n)){var s,l;(l=(s=a.getSymbolAtLocation(n))&&r.get(String(e.getSymbolId(s))))&&(o=e.createIdentifier(l.text))}return o||(o=_(n,r,a,i)),o&&!t&&v(o),i&&o&&i(n,o),o}function _(n,t,r,a){var i=t||r||a?e.visitEachChild(n,(function(e){return g(e,!0,t,r,a)}),e.nullTransformationContext):e.visitEachChild(n,f,e.nullTransformationContext);if(i===n){var o=e.getSynthesizedClone(n);return e.isStringLiteral(o)?o.textSourceNode=n:e.isNumericLiteral(o)&&(o.numericLiteralFlags=n.numericLiteralFlags),e.setTextRange(o,n)}return i.parent=void 0,i}function v(e){h(e),y(e)}function h(e){b(e,512,E)}function y(n){b(n,1024,e.getLastChild)}function b(n,t,r){e.addEmitFlags(n,t);var a=r(n);a&&b(a,t,r)}function E(e){return e.forEachChild((function(e){return e}))}function T(e,n,t,r,a){return function(i,o,s,l){3===s?(i+=2,o-=2):i+=2,a(e,t||s,n.text.slice(i,o),void 0!==r?r:l)}}function S(n,t){if(e.startsWith(n,t))return 0;var r=n.indexOf(" "+t);return-1===r&&(r=n.indexOf("."+t)),-1===r&&(r=n.indexOf('"'+t)),-1===r?-1:r+1}function L(e){switch(e){case 35:case 33:case 36:case 34:return!0;default:return!1}}function x(e,n){return n.getTypeAtLocation(e.parent.parent.expression)}e.getNewLineOrDefaultFromHost=function(e,n){return n&&n.newLineCharacter||e.getNewLine&&e.getNewLine()||"\r\n"},e.lineBreakPart=s,e.mapToDisplayParts=l,e.typeToDisplayParts=function(e,n,t,r){return void 0===r&&(r=0),l((function(a){e.writeType(n,t,17408|r,a)}))},e.symbolToDisplayParts=function(e,n,t,r,a){return void 0===a&&(a=0),l((function(i){e.writeSymbol(n,t,r,8|a,i)}))},e.signatureToDisplayParts=function(e,n,t,r){return void 0===r&&(r=0),r|=25632,l((function(a){e.writeSignature(n,t,r,void 0,a)}))},e.isImportOrExportSpecifierName=function(n){return!!n.parent&&e.isImportOrExportSpecifier(n.parent)&&n.parent.propertyName===n},e.stripQuotes=c,e.startsWithQuote=d,e.scriptKindIs=function(n,t){for(var r=[],a=2;a-1&&e.isWhiteSpaceSingleLine(n.charCodeAt(t));)t-=1;return t+1},e.getSynthesizedDeepClone=f,e.getSynthesizedDeepCloneWithRenames=g,e.getSynthesizedDeepClones=function(n,t){return void 0===t&&(t=!0),n&&e.createNodeArray(n.map((function(e){return f(e,t)})),n.hasTrailingComma)},e.suppressLeadingAndTrailingTrivia=v,e.suppressLeadingTrivia=h,e.suppressTrailingTrivia=y,e.getUniqueName=function(n,t){for(var r=n,a=1;!e.isFileLevelUniqueName(t,r);a++)r=n+"_"+a;return r},e.getRenameLocation=function(n,t,r,a){for(var i=0,o=-1,s=0,l=n;s=0),o},e.copyLeadingComments=function(n,t,r,a,i){e.forEachLeadingCommentRange(r.text,n.pos,T(t,r,a,i,e.addSyntheticLeadingComment))},e.copyTrailingComments=function(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.end,T(t,r,a,i,e.addSyntheticTrailingComment))},e.copyTrailingAsLeadingComments=function(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.pos,T(t,r,a,i,e.addSyntheticLeadingComment))},e.getContextualTypeFromParent=function(e,n){var t=e.parent;switch(t.kind){case 193:return n.getContextualType(t);case 205:var r=t,a=r.left,i=r.operatorToken,o=r.right;return L(i.kind)?n.getTypeAtLocation(e===o?a:o):n.getContextualType(e);case 272:return t.expression===e?x(t,n):void 0;default:return n.getContextualType(e)}},e.quote=function(n,t){if(/^\d+$/.test(n))return n;var r=t.quotePreference||"auto",a=JSON.stringify(n);switch(r){case"auto":case"double":return a;case"single":return"'"+c(a).replace("'","\\'").replace('\\"','"')+"'";default:return e.Debug.assertNever(r)}},e.isEqualityOperatorKind=L,e.isStringLiteralOrTemplate=function(e){switch(e.kind){case 10:case 14:case 207:case 194:return!0;default:return!1}},e.hasIndexSignature=function(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()},e.getSwitchedType=x,e.getTypeNodeIfAccessible=function(e,n,t,r){var a=t.getTypeChecker(),i=!0,o=function(){i=!1},s=a.typeToTypeNode(e,n,void 0,{trackSymbol:function(e,n,t){i=i&&0===a.isSymbolAccessible(e,n,t,!1).accessibility},reportInaccessibleThisError:o,reportPrivateInBaseOfClassExpression:o,reportInaccessibleUniqueSymbolError:o,moduleResolverHost:{readFile:r.readFile,fileExists:r.fileExists,directoryExists:r.directoryExists,getSourceFiles:t.getSourceFiles,getCurrentDirectory:t.getCurrentDirectory,getCommonSourceDirectory:t.getCommonSourceDirectory}});return i?s:void 0}}(c||(c={})),function(e){e.createClassifier=function(){var o=e.createScanner(8,!1);function s(a,s,l){var c=0,d=0,u=[],p=function(n){switch(n){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return e.Debug.assertNever(n)}}(s),m=p.prefix,f=p.pushTemplate;a=m+a;var g=m.length;f&&u.push(15),o.setText(a);var _=0,v=[],h=0;do{c=o.scan(),e.isTrivia(c)||(E(),d=c);var y=o.getTextPos();if(r(o.getTokenPos(),y,g,i(c),v),y>=a.length){var b=t(o,c,e.lastOrUndefined(u));void 0!==b&&(_=b)}}while(1!==c);function E(){switch(c){case 42:case 65:n[d]||13!==o.reScanSlashToken()||(c=13);break;case 28:73===d&&h++;break;case 30:h>0&&h--;break;case 121:case 139:case 136:case 124:case 140:h>0&&!l&&(c=73);break;case 15:u.push(c);break;case 18:u.length>0&&u.push(c);break;case 19:if(u.length>0){var t=e.lastOrUndefined(u);15===t?17===(c=o.reScanTemplateToken())?u.pop():e.Debug.assertEqual(c,16,"Should have been a template middle."):(e.Debug.assertEqual(t,18,"Should have been an open brace"),u.pop())}break;default:if(!e.isKeyword(c))break;(24===d||e.isKeyword(d)&&e.isKeyword(c)&&!function(n,t){if(!e.isAccessibilityModifier(n))return!0;switch(t){case 127:case 138:case 125:case 117:return!0;default:return!1}}(d,c))&&(c=73)}}return{endOfLineState:_,spans:v}}return{getClassificationsForLine:function(n,t,r){return function(n,t){for(var r=[],i=n.spans,o=0,s=0;s=0){var u=l-o;u>0&&r.push({length:u,classification:e.TokenClass.Whitespace})}r.push({length:c,classification:a(d)}),o=l+c}var p=t.length-o;p>0&&r.push({length:p,classification:e.TokenClass.Whitespace});return{entries:r,finalLexState:n.endOfLineState}}(s(n,t,r),n)},getEncodedLexicalClassifications:s}};var n=e.arrayToNumericMap([73,10,8,9,13,101,44,45,21,23,19,103,88],(function(e){return e}),(function(){return!0}));function t(n,t,r){switch(t){case 10:if(!n.isUnterminated())return;for(var a=n.getTokenText(),i=a.length-1,o=0;92===a.charCodeAt(i-o);)o++;if(0===(1&o))return;return 34===a.charCodeAt(0)?3:2;case 3:return n.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(t)){if(!n.isUnterminated())return;switch(t){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return 15===r?6:void 0}}function r(e,n,t,r,a){if(8!==r){0===e&&t>0&&(e+=t);var i=n-e;i>0&&a.push(e-t,i,r)}}function a(n){switch(n){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 25:return e.TokenClass.BigIntLiteral;case 5:return e.TokenClass.Operator;case 6:return e.TokenClass.StringLiteral;case 8:return e.TokenClass.Whitespace;case 10:return e.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return e.TokenClass.Identifier;default:return}}function i(n){if(e.isKeyword(n))return 3;if(function(e){switch(e){case 40:case 42:case 43:case 38:case 39:case 46:case 47:case 48:case 28:case 30:case 31:case 32:case 95:case 94:case 120:case 33:case 34:case 35:case 36:case 49:case 51:case 50:case 54:case 55:case 71:case 70:case 72:case 67:case 68:case 69:case 61:case 62:case 63:case 65:case 66:case 60:case 27:return!0;default:return!1}}(n)||function(e){switch(e){case 38:case 39:case 53:case 52:case 44:case 45:return!0;default:return!1}}(n))return 5;if(n>=18&&n<=72)return 10;switch(n){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 73:default:return e.isTemplateLiteralKind(n)?6:2}}function o(e,n){switch(n){case 245:case 241:case 242:case 240:e.throwIfCancellationRequested()}}function s(n,t,r,a,i){var s=[];return r.forEachChild((function l(c){if(c&&e.textSpanIntersectsWith(i,c.pos,c.getFullWidth())){if(o(t,c.kind),e.isIdentifier(c)&&!e.nodeIsMissing(c)&&a.has(c.escapedText)){var d=n.getSymbolAtLocation(c),u=d&&function n(t,r,a){var i=t.getFlags();return 0===(2885600&i)?void 0:32&i?11:384&i?12:524288&i?16:1536&i?4&r||1&r&&function(n){return e.some(n.declarations,(function(n){return e.isModuleDeclaration(n)&&1===e.getModuleInstanceState(n)}))}(t)?14:void 0:2097152&i?n(a.getAliasedSymbol(t),r,a):2&r?64&i?13:262144&i?15:void 0:void 0}(d,e.getMeaningFromLocation(c),n);u&&function(e,n,t){s.push(e),s.push(n-e),s.push(t)}(c.getStart(r),c.getEnd(),u)}c.forEachChild(l)}})),{spans:s,endOfLineState:0}}function l(e){switch(e){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return}}function c(n){e.Debug.assert(n.spans.length%3===0);for(var t=n.spans,r=[],a=0;a=0),i>0){var o=r||v(n.kind,n);o&&d(a,i,o)}return!0}function v(n,t){if(e.isKeyword(n))return 3;if((28===n||30===n)&&t&&e.getTypeArgumentOrTypeParameterList(t.parent))return 10;if(e.isPunctuation(n)){if(t){var r=t.parent;if(60===n&&(238===r.kind||155===r.kind||152===r.kind||268===r.kind))return 5;if(205===r.kind||203===r.kind||204===r.kind||206===r.kind)return 5}return 10}if(8===n)return 4;if(9===n)return 25;if(10===n)return 268===t.parent.kind?24:6;if(13===n)return 6;if(e.isTemplateLiteralKind(n))return 6;if(11===n)return 23;if(73===n){if(t)switch(t.parent.kind){case 241:return t.parent.name===t?11:void 0;case 151:return t.parent.name===t?15:void 0;case 242:return t.parent.name===t?13:void 0;case 244:return t.parent.name===t?12:void 0;case 245:return t.parent.name===t?14:void 0;case 152:return t.parent.name===t?e.isThisIdentifier(t)?3:17:void 0}return 2}}function h(r){if(r&&e.decodedTextSpanIntersectsWith(a,i,r.pos,r.getFullWidth())){o(n,r.kind);for(var s=0,l=r.getChildren(t);se.parameters.length)){var i=t.getParameterType(e,n.argumentIndex);return r=r||!!(4&i.flags),l(i,a)}})),isNewIdentifier:r}}(v,a):h()}case 250:case 256:case 260:return{kind:0,paths:p(n,t,i,o,a)};default:return h()}function h(){return{kind:2,types:l(e.getContextualTypeFromParent(t,a)),isNewIdentifier:!1}}}function s(n){return n&&{kind:1,symbols:n.getApparentProperties(),hasIndexSignature:e.hasIndexSignature(n)}}function l(n,t){return void 0===t&&(t=e.createMap()),n?(n=e.skipConstraint(n)).isUnion()?e.flatMap(n.types,(function(e){return l(e,t)})):!n.isStringLiteral()||1024&n.flags||!e.addToSeen(t,n.value)?e.emptyArray:[n]:e.emptyArray}function c(e,n,t){return{name:e,kind:n,extension:t}}function d(e){return c(e,"directory",void 0)}function u(n,t,r){var a=function(n,t){var r=Math.max(n.lastIndexOf(e.directorySeparator),n.lastIndexOf("\\")),a=-1!==r?r+1:0,i=n.length-a;return 0===i||e.isIdentifierText(n.substr(a,i),8)?void 0:e.createTextSpan(t+a,i)}(n,t);return r.map((function(e){return{name:e.name,kind:e.kind,extension:e.extension,span:a}}))}function p(n,t,r,a,i){return u(t.text,t.getStart(n)+1,function(n,t,r,a,i){var o=e.normalizeSlashes(t.text),s=n.path,l=e.getDirectoryPath(s);return function(e){if(e&&e.length>=2&&46===e.charCodeAt(0)){var n=e.length>=3&&46===e.charCodeAt(1)?2:1,t=e.charCodeAt(n);return 47===t||92===t}return!1}(o)||!r.baseUrl&&(e.isRootedDiskPath(o)||e.isUrl(o))?function(n,t,r,a,i){var o=m(r);return r.rootDirs?function(n,t,r,a,i,o,s){var l=i.project||o.getCurrentDirectory(),c=!(o.useCaseSensitiveFileNames&&o.useCaseSensitiveFileNames()),d=function(n,t,r,a){n=n.map((function(n){return e.normalizePath(e.isRootedDiskPath(n)?n:e.combinePaths(t,n))}));var i=e.firstDefined(n,(function(n){return e.containsPath(n,r,t,a)?r.substr(n.length):void 0}));return e.deduplicate(n.map((function(n){return e.combinePaths(n,i)})).concat([r]),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}(n,l,r,c);return e.flatMap(d,(function(e){return g(t,e,a,o,s)}))}(r.rootDirs,n,t,o,r,a,i):g(n,t,o,a,i)}(o,l,r,a,s):function(n,t,r,a,i){var o=r.baseUrl,s=r.paths,l=[],d=m(r);if(o){var u=r.project||a.getCurrentDirectory(),p=e.normalizePath(e.combinePaths(u,o));g(n,p,d,a,void 0,l),s&&_(l,n,p,d.extensions,s,a)}for(var f=v(n),h=0,E=function(n,t,r){var a=r.getAmbientModules().map((function(n){return e.stripQuotes(n.name)})).filter((function(t){return e.startsWith(t,n)}));if(void 0!==t){var i=e.ensureTrailingDirectorySeparator(t);return a.map((function(n){return e.removePrefix(n,i)}))}return a}(n,f,i);h=e.pos&&t<=e.end}));if(!s)return;var l=n.text.slice(s.pos,t),c=E.exec(l);if(!c)return;var d=c[1],p=c[2],f=c[3],_=e.getDirectoryPath(n.path),h="path"===p?g(f,_,m(r,!0),a,n.path):"types"===p?y(a,r,_,v(f),m(r)):e.Debug.fail();return u(f,s.pos+d.length,h)}(t,a,l,c);return f&&r(f)}if(e.isInString(t,a,i))return i&&e.isStringLiteralLike(i)?function(t,a,i,o,s){if(void 0===t)return;switch(t.kind){case 0:return r(t.paths);case 1:var l=[];return n.getCompletionEntriesFromSymbols(t.symbols,l,a,a,i,8,o,4,s),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:t.hasIndexSignature,entries:l};case 2:l=t.types.map((function(e){return{name:e.value,kindModifiers:"",kind:"string",sortText:"0"}}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t.isNewIdentifier,entries:l};default:return e.Debug.assertNever(t)}}(o(t,i,a,s,l,c),t,s,d,p):void 0},t.getStringLiteralCompletionDetails=function(t,r,i,s,l,c,d,u){if(s&&e.isStringLiteralLike(s)){var p=o(r,s,i,l,c,d);return p&&function(t,r,i,o,s,l){switch(i.kind){case 0:return(c=e.find(i.paths,(function(e){return e.name===t})))&&n.createCompletionDetails(t,a(c.extension),c.kind,[e.textPart(t)]);case 1:var c;return(c=e.find(i.symbols,(function(e){return e.name===t})))&&n.createCompletionDetailsForSymbol(c,s,o,r,l);case 2:return e.find(i.types,(function(e){return e.value===t}))?n.createCompletionDetails(t,"","type",[e.textPart(t)]):void 0;default:return e.Debug.assertNever(i)}}(t,s,p,r,l,u)}},function(e){e[e.Paths=0]="Paths",e[e.Properties=1]="Properties",e[e.Types=2]="Types"}(i||(i={}));var E=/^(\/\/\/\s*"),kind:"class",kindModifiers:void 0,sortText:t.LocationPriority}]}}var k=[];if(l(n,a)){var M=v(d,k,g,n,r,a.target,i,u,s,_,T,E,b,L);!function(n,r,a,i,o){e.getNameTable(n).forEach((function(n,s){if(n!==r){var l=e.unescapeLeadingUnderscores(s);e.addToSeen(a,l)&&e.isIdentifierText(l,i)&&o.push({name:l,kind:"warning",kindModifiers:"",sortText:t.JavascriptIdentifiers})}}))}(n,g.pos,M,a.target,k)}else{if(!f&&(!d||0===d.length)&&0===h)return;v(d,k,g,n,r,a.target,i,u,s,_,T,E,b,L)}if(0!==h)for(var O=e.arrayToSet(k,(function(e){return e.name})),I=0,R=function(n,t){if(!t)return D(n);var r=n+6+1;return A[r]||(A[r]=D(n).filter((function(n){return!function(e){switch(e){case 119:case 121:case 147:case 124:case 126:case 85:case 146:case 110:case 128:case 111:case 129:case 130:case 131:case 132:case 133:case 136:case 137:case 114:case 115:case 116:case 134:case 139:case 140:case 141:case 143:case 144:return!0;default:return!1}}(e.stringToToken(n.name))})))}(h,!S&&e.isSourceFileJS(n));I=n.pos;case 24:return 186===r;case 57:return 187===r;case 22:return 186===r;case 20:return 275===r||ae(r);case 18:return 244===r;case 28:return 241===r||210===r||242===r||243===r||e.isFunctionLikeKind(r);case 117:return 155===r&&!e.isClassLike(t.parent);case 25:return 152===r||!!t.parent&&186===t.parent.kind;case 116:case 114:case 115:return 152===r&&!e.isConstructorDeclaration(t.parent);case 120:return 254===r||258===r||252===r;case 127:case 138:return!w(n);case 77:case 85:case 111:case 91:case 106:case 93:case 112:case 78:case 118:case 141:return!0;case 40:return e.isFunctionLike(n.parent)&&!e.isMethodDeclaration(n.parent)}if(M(O(n))&&w(n))return!1;if(re(n)&&(!e.isIdentifier(n)||e.isParameterPropertyModifier(O(n))||ie(n)))return!1;switch(O(n)){case 119:case 77:case 78:case 126:case 85:case 91:case 111:case 112:case 114:case 115:case 116:case 117:case 106:case 118:return!0;case 122:return e.isPropertyDeclaration(n.parent)}return e.isDeclarationName(n)&&!e.isJsxAttribute(n.parent)&&!(e.isClassLike(n.parent)&&(n!==v||o>v.end))}(n)||function(e){if(8===e.kind){var n=e.getFullText();return"."===n.charAt(n.length-1)}return!1}(n)||function(e){if(11===e.kind)return!0;if(30===e.kind&&e.parent){if(263===e.parent.kind)return!0;if(264===e.parent.kind||262===e.parent.kind)return!!e.parent.parent&&261===e.parent.parent.kind}return!1}(n);return r("getCompletionsAtPosition: isCompletionListBlocker: "+(e.timestamp()-t)),a}(h))return void r("Returning an empty list because completion was requested in an invalid position.");var P=h.parent;if(24===h.kind)switch(L=!0,P.kind){case 190:if((T=(E=P).expression).end===h.pos&&e.isCallExpression(T)&&T.getChildCount(a)&&21!==e.last(T.getChildren(a)).kind)return;break;case 149:T=P.left;break;case 245:T=P.name;break;case 184:case 215:T=P;break;default:return}else if(1===a.languageVariant){if(P&&190===P.kind&&(h=P,P=P.parent),u.parent===D)switch(u.kind){case 30:261!==u.parent.kind&&263!==u.parent.kind||(D=u);break;case 42:262===u.parent.kind&&(D=u)}switch(P.kind){case 264:42===h.kind&&(A=!0,D=h);break;case 205:if(!N(P))break;case 262:case 261:case 263:28===h.kind&&(x=!0,D=h);break;case 268:switch(v.kind){case 60:C=!0;break;case 73:P!==v.parent&&!P.initializer&&e.findChildOfKind(P,60,a)&&(C=v)}}}}var F=e.timestamp(),G=5,V=!1,B=0,H=[],K=[],j=[];if(L)!function(){G=2;var n=e.isLiteralImportTypeNode(T),t=m||n&&!T.isTypeOf||e.isPartOfTypeNode(T.parent),r=e.isInRightSideOfInternalImportEqualsDeclaration(T)||!t&&e.isPossiblyTypeArgumentPosition(h,a,c);if(e.isEntityName(T)||n){var i=e.isModuleDeclaration(T.parent);i&&(V=!0);var o=c.getSymbolAtLocation(T);if(o&&1920&(o=e.skipAlias(o,c)).flags){for(var s=e.Debug.assertEachDefined(c.getExportsOfModule(o),"getExportsOfModule() should all be defined"),l=function(e){return c.isValidPropertyAccess(n?T:T.parent,e.name)},d=function(e){return ne(e)},u=i?function(e){return!!(1920&e.flags)&&!e.declarations.every((function(e){return e.parent===T.parent}))}:r?function(e){return d(e)||l(e)}:t?d:l,p=0,f=s;p0&&(H=function(n,t){if(0===t.length)return n;for(var r=e.createUnderscoreEscapedMap(),a=0,i=t;a=0&&!l(t,r[i],108);i--);return e.forEach(a(n.statement),(function(e){o(n,e)&&l(t,e.getFirstToken(),74,79)})),t}function d(e){var n=s(e);if(n)switch(n.kind){case 226:case 227:case 228:case 224:case 225:return c(n);case 233:return u(n)}}function u(n){var t=[];return l(t,n.getFirstToken(),100),e.forEach(n.caseBlock.clauses,(function(r){l(t,r.getFirstToken(),75,81),e.forEach(a(r),(function(e){o(n,e)&&l(t,e.getFirstToken(),74)}))})),t}function p(n,t){var r=[];(l(r,n.getFirstToken(),104),n.catchClause&&l(r,n.catchClause.getFirstToken(),76),n.finallyBlock)&&l(r,e.findChildOfKind(n,89,t),89);return r}function m(n,t){var a=function(n){for(var t=n;t.parent;){var r=t.parent;if(e.isFunctionBlock(r)||285===r.kind)return r;if(e.isTryStatement(r)&&r.tryBlock===t&&r.catchClause)return t;t=r}}(n);if(a){var i=[];return e.forEach(r(a),(function(n){i.push(e.findChildOfKind(n,102,t))})),e.isFunctionBlock(a)&&e.forEachReturnStatement(a,(function(n){i.push(e.findChildOfKind(n,98,t))})),i}}function f(n,t){var a=e.getContainingFunction(n);if(a){var i=[];return e.forEachReturnStatement(e.cast(a.body,e.isBlock),(function(n){i.push(e.findChildOfKind(n,98,t))})),e.forEach(r(a.body),(function(n){i.push(e.findChildOfKind(n,102,t))})),i}}function g(n){var t=e.getContainingFunction(n);if(t){var r=[];return t.modifiers&&t.modifiers.forEach((function(e){l(r,e,122)})),e.forEachChild(t,(function(n){_(n,(function(n){e.isAwaitExpression(n)&&l(r,n.getFirstToken(),123)}))})),r}}function _(n,t){t(n),e.isFunctionLike(n)||e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isModuleDeclaration(n)||e.isTypeAliasDeclaration(n)||e.isTypeNode(n)||e.forEachChild(n,(function(e){return _(e,t)}))}n.getDocumentHighlights=function(n,r,a,i,o){var s=e.getTouchingPropertyName(a,i);if(s.parent&&(e.isJsxOpeningElement(s.parent)&&s.parent.tagName===s||e.isJsxClosingElement(s.parent))){var v=s.parent.parent,h=[v.openingElement,v.closingElement].map((function(e){return t(e.tagName,a)}));return[{fileName:a.fileName,highlightSpans:h}]}return function(n,t,r,a,i){var o=e.arrayToSet(i,(function(e){return e.fileName})),s=e.FindAllReferences.getReferenceEntriesForNode(n,t,r,i,a,void 0,o);if(!s)return;var l=e.arrayToMultiMap(s.map(e.FindAllReferences.toHighlightSpan),(function(e){return e.fileName}),(function(e){return e.span}));return e.arrayFrom(l.entries(),(function(n){var t=n[0],a=n[1];if(!o.has(t)){e.Debug.assert(r.redirectTargetsMap.has(t));var s=r.getSourceFile(t);t=e.find(i,(function(e){return!!e.redirectInfo&&e.redirectInfo.redirectTarget===s})).fileName,e.Debug.assert(o.has(t))}return{fileName:t,highlightSpans:a}}))}(i,s,n,r,o)||function(n,r){var a=function(n,r){switch(n.kind){case 92:case 84:return e.isIfStatement(n.parent)?function(n,r){for(var a=function(n,t){var r=[];for(;e.isIfStatement(n.parent)&&n.parent.elseStatement===n;)n=n.parent;for(;;){var a=n.getChildren(t);l(r,a[0],92);for(var i=a.length-1;i>=0&&!l(r,a[i],84);i--);if(!n.elseStatement||!e.isIfStatement(n.elseStatement))break;n=n.elseStatement}return r}(n,r),i=[],o=0;o=s.end;u--)if(!e.isWhiteSpaceSingleLine(r.text.charCodeAt(u))){d=!1;break}if(d){i.push({fileName:r.fileName,textSpan:e.createTextSpanFromBounds(s.getStart(),c.end),kind:"reference"}),o++;continue}}i.push(t(a[o],r))}return i}(n.parent,r):void 0;case 98:return s(n.parent,e.isReturnStatement,f);case 102:return s(n.parent,e.isThrowStatement,m);case 104:case 76:case 89:return s(76===n.kind?n.parent.parent:n.parent,e.isTryStatement,p);case 100:return s(n.parent,e.isSwitchStatement,u);case 75:case 81:return s(n.parent.parent.parent,e.isSwitchStatement,u);case 74:case 79:return s(n.parent,e.isBreakOrContinueStatement,d);case 90:case 108:case 83:return s(n.parent,(function(n){return e.isIterationStatement(n,!0)}),c);case 125:return o(e.isConstructorDeclaration,[125]);case 127:case 138:return o(e.isAccessor,[127,138]);case 123:return s(n.parent,e.isAwaitExpression,g);case 122:return v(g(n));case 118:return v(function(n){var t=e.getContainingFunction(n);if(!t)return;var r=[];return e.forEachChild(t,(function(n){_(n,(function(n){e.isYieldExpression(n)&&l(r,n.getFirstToken(),118)}))})),r}(n));default:return e.isModifierKind(n.kind)&&(e.isDeclaration(n.parent)||e.isVariableStatement(n.parent))?v((a=n.kind,i=n.parent,e.mapDefined(function(n,t){var r=n.parent;switch(r.kind){case 246:case 285:case 219:case 272:case 273:return 128&t&&e.isClassDeclaration(n)?n.members.concat([n]):r.statements;case 158:case 157:case 240:return r.parameters.concat(e.isClassLike(r.parent)?r.parent.members:[]);case 241:case 210:var a=r.members;if(28&t){var i=e.find(r.members,e.isConstructorDeclaration);if(i)return a.concat(i.parameters)}else if(128&t)return a.concat([r]);return a;default:e.Debug.assertNever(r,"Invalid container kind.")}}(i,e.modifierToFlag(a)),(function(n){return e.findModifier(n,a)})))):void 0}var a,i;function o(t,a){return s(n.parent,t,(function(n){return e.mapDefined(n.symbol.declarations,(function(n){return t(n)?e.find(n.getChildren(r),(function(n){return e.contains(a,n.kind)})):void 0}))}))}function s(e,n,t){return n(e)?v(t(e,r)):void 0}function v(e){return e&&e.map((function(e){return t(e,r)}))}}(n,r);return a&&[{fileName:r.fileName,highlightSpans:a}]}(s,a)}}(e.DocumentHighlights||(e.DocumentHighlights={}))}(c||(c={})),function(e){function n(n,r,a){void 0===r&&(r="");var i=e.createMap(),o=e.createGetCanonicalFileName(!!n);function s(e,n,t,r,a,i,o){return c(e,n,t,r,a,i,!0,o)}function l(e,n,t,r,a,i,o){return c(e,n,t,r,a,i,!1,o)}function c(n,t,r,o,s,l,c,d){var u=e.getOrUpdate(i,o,e.createMap),p=u.get(t),m=6===d?100:r.target||1;!p&&a&&((f=a.getDocument(o,t))&&(e.Debug.assert(c),p={sourceFile:f,languageServiceRefCount:0},u.set(t,p)));if(p)p.sourceFile.version!==l&&(p.sourceFile=e.updateLanguageServiceSourceFile(p.sourceFile,s,l,s.getChangeRange(p.sourceFile.scriptSnapshot)),a&&a.setDocument(o,t,p.sourceFile)),c&&p.languageServiceRefCount++;else{var f=e.createLanguageServiceSourceFile(n,s,m,l,!1,d);a&&a.setDocument(o,t,f),p={sourceFile:f,languageServiceRefCount:1},u.set(t,p)}return e.Debug.assert(0!==p.languageServiceRefCount),p.sourceFile}function d(n,t){var r=e.Debug.assertDefined(i.get(t)),a=r.get(n);a.languageServiceRefCount--,e.Debug.assert(a.languageServiceRefCount>=0),0===a.languageServiceRefCount&&r.delete(n)}return{acquireDocument:function(n,a,i,l,c){return s(n,e.toPath(n,r,o),a,t(a),i,l,c)},acquireDocumentWithKey:s,updateDocument:function(n,a,i,s,c){return l(n,e.toPath(n,r,o),a,t(a),i,s,c)},updateDocumentWithKey:l,releaseDocument:function(n,a){return d(e.toPath(n,r,o),t(a))},releaseDocumentWithKey:d,getLanguageServiceRefCounts:function(n){return e.arrayFrom(i.entries(),(function(e){var t=e[0],r=e[1].get(n);return[t,r&&r.languageServiceRefCount]}))},reportStats:function(){var n=e.arrayFrom(i.keys()).filter((function(e){return e&&"_"===e.charAt(0)})).map((function(e){var n=i.get(e),t=[];return n.forEach((function(e,n){t.push({name:n,refCount:e.languageServiceRefCount})})),t.sort((function(e,n){return n.refCount-e.refCount})),{bucket:e,sourceFiles:t}}));return JSON.stringify(n,void 0,2)},getKeyForCompilationSettings:t}}function t(n){return e.sourceFileAffectingCompilerOptions.map((function(t){return e.getCompilerOptionValue(n,t)})).join("|")}e.createDocumentRegistry=function(e,t){return n(e,t)},e.createDocumentRegistryInternal=n}(c||(c={})),function(e){!function(n){function t(n,t){return e.forEach(285===n.kind?n.statements:n.body.statements,(function(n){return t(n)||l(n)&&e.forEach(n.body&&n.body.statements,t)}))}function r(n,r){if(n.externalModuleIndicator||void 0!==n.imports)for(var a=0,i=n.imports;a=0&&!(l>r.end);){var c=l+s;0!==l&&e.isIdentifierPart(i.charCodeAt(l-1),8)||c!==o&&e.isIdentifierPart(i.charCodeAt(c),8)||a.push(l),l=i.indexOf(t,l+s+1)}return a}function y(t,r){var a=t.getSourceFile(),i=r.text,o=e.mapDefined(v(a,i,t),(function(t){return t===r||e.isJumpStatementTarget(t)&&e.getTargetLabel(t,i)===r?n.nodeEntry(t):void 0}));return[{definition:{type:1,node:r},references:o}]}function b(e,n,t,r){return void 0===r&&(r=!0),t.cancellationToken.throwIfCancellationRequested(),E(e,e,n,t,r)}function E(e,n,t,r,a){if(r.markSearchedSymbols(n,t.allSearchSymbols))for(var i=0,o=h(n,t.text,e);i0)return r}switch(n.kind){case 285:var a=n;return e.isExternalModule(a)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(a.fileName))))+'"':"";case 198:case 240:case 197:case 241:case 210:return 512&e.getModifierFlags(n)?"default":R(n);case 158:return"constructor";case 162:return"new()";case 161:return"()";case 163:return"[]";default:return""}}function A(n){return{text:x(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:I(n.node),spans:D(n),nameSpan:n.name&&O(n.name),childItems:e.map(n.children,A)}}function C(n){return{text:x(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:I(n.node),spans:D(n),childItems:e.map(n.children,(function(n){return{text:x(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:e.getNodeModifiers(n.node),spans:D(n),childItems:s,indent:0,bolded:!1,grayed:!1}}))||s,indent:n.indent,bolded:!1,grayed:!1}}function D(e){var n=[O(e.node)];if(e.additionalNodes)for(var t=0,r=e.additionalNodes;t0)return e.declarationNameToString(n.name);if(e.isVariableDeclaration(t))return e.declarationNameToString(t.name);if(e.isBinaryExpression(t)&&60===t.operatorToken.kind)return c(t.left).replace(i,"");if(e.isPropertyAssignment(t))return c(t.name);if(512&e.getModifierFlags(n))return"default";if(e.isClassLike(n))return"";if(e.isCallExpression(t)){var a=function n(t){if(e.isIdentifier(t))return t.text;if(e.isPropertyAccessExpression(t)){var r=n(t.expression),a=t.name.text;return void 0===r?a:r+"."+a}return}(t.expression);if(void 0!==a)return a+"("+e.mapDefined(t.arguments,(function(n){return e.isStringLiteralLike(n)?n.getText(r):void 0})).join(", ")+") callback"}return""}n.getNavigationBarItems=function(n,a){t=a,r=n;try{return e.map(function(n){var t=[];return function n(r){if(function(n){switch(d(n)){case 241:case 210:case 244:case 242:case 245:case 285:case 243:case 310:case 303:return!0;case 158:case 157:case 159:case 160:case 238:return t(n);case 198:case 240:case 197:return function(e){if(!e.node.body)return!1;switch(d(e.parent)){case 246:case 285:case 157:case 158:return!0;default:return t(e)}}(n);default:return!1}function t(n){return e.some(n.children,(function(e){var n=d(e);return 238!==n&&187!==n}))}}(r)&&(t.push(r),r.children))for(var a=0,i=r.children;a0?a[0]:c[0],E=0===y.length?p?void 0:e.createNamedImports(e.emptyArray):0===c.length?e.createNamedImports(y):e.updateNamedImports(c[0].importClause.namedBindings,y);return d.push(i(b,p,E)),d}function a(n){if(0===n.length)return n;var t=function(e){for(var n,t=[],r=0,a=e;r...")}(n);case 262:case 263:return function(e){if(0===e.properties.length)return;return i(e.getStart(t),e.getEnd(),"code")}(n.attributes)}function a(n,t){return void 0===t&&(t=18),l(n,!1,!e.isArrayLiteralExpression(n.parent)&&!e.isCallExpression(n.parent),t)}function l(r,a,i,s,l){void 0===a&&(a=!1),void 0===i&&(i=!0),void 0===s&&(s=18),void 0===l&&(l=18===s?19:23);var c=e.findChildOfKind(n,s,t),d=e.findChildOfKind(n,l,t);return c&&d&&o(c,d,r,t,a,i)}}(c,n);d&&r.push(d),l--,e.isIfStatement(c)&&c.elseStatement&&e.isIfStatement(c.elseStatement)?(f(c.expression),f(c.thenStatement),l++,f(c.elseStatement),l--):c.forEachChild(f),l++}}}(n,t,l),function(n,t){for(var a=[],i=n.getLineStarts(),o=0;o1&&o.push(i(l,c,"comment"))}}function i(n,t,r){return s(e.createTextSpanFromBounds(n,t),r)}function o(n,t,r,a,i,o){return void 0===i&&(i=!1),void 0===o&&(o=!0),s(e.createTextSpanFromBounds(o?n.getFullStart():n.getStart(a),t.getEnd()),"code",e.createTextSpanFromNode(r,a),i)}function s(e,n,t,r,a){return void 0===t&&(t=e),void 0===r&&(r=!1),void 0===a&&(a="..."),{textSpan:e,kind:n,hintSpan:t,bannerText:a,autoCollapse:r}}}(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(c||(c={})),function(e){var n;function t(e,n){return{kind:e,isCaseSensitive:n}}function r(e,n){var t=n.get(e);return t||n.set(e,t=h(e)),t}function a(a,i,o){var s=function(e,n){for(var t=e.length-n.length,r=function(t){if(x(n,(function(n,r){return p(e.charCodeAt(r+t))===n})))return{value:t}},a=0;a<=t;a++){var i=r(a);if("object"===typeof i)return i.value}return-1}(a,i.textLowerCase);if(0===s)return t(i.text.length===a.length?n.exact:n.prefix,e.startsWith(a,i.text));if(i.isLowerCase){if(-1===s)return;for(var u=0,m=r(a,o);u0)return t(n.substring,!0);if(i.characterSpans.length>0){var g=r(a,o),_=!!c(a,g,i,!1)||!c(a,g,i,!0)&&void 0;if(void 0!==_)return t(n.camelCase,_)}}}function i(e,n,t){if(x(n.totalTextChunk.text,(function(e){return 32!==e&&42!==e}))){var r=a(e,n.totalTextChunk,t);if(r)return r}for(var i,s=0,l=n.subWordTextChunks;s=65&&n<=90)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,8))return!1;var t=String.fromCharCode(n);return t===t.toUpperCase()}function u(n){if(n>=97&&n<=122)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,8))return!1;var t=String.fromCharCode(n);return t===t.toLowerCase()}function p(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function m(e){return e>=48&&e<=57}function f(e){return d(e)||u(e)||m(e)||95===e||36===e}function g(e){for(var n=[],t=0,r=0,a=0;a0&&(n.push(_(e.substr(t,r))),r=0)}return r>0&&n.push(_(e.substr(t,r))),n}function _(e){var n=e.toLowerCase();return{text:e,textLowerCase:n,isLowerCase:e===n,characterSpans:v(e)}}function v(e){return y(e,!1)}function h(e){return y(e,!0)}function y(n,t){for(var r=[],a=0,i=1;in.length)return;for(var l=r.length-2,c=n.length-1;l>=0;l-=1,c-=1)s=o(s,i(n[c],r[l],a));return s}(n,a,r,t)},getMatchForLastSegmentOfPattern:function(n){return i(n,e.last(r),t)},patternContainsDots:r.length>1}},e.breakIntoCharacterSpans=v,e.breakIntoWordSpans=h}(c||(c={})),function(e){e.preProcessFile=function(n,t,r){void 0===t&&(t=!0),void 0===r&&(r=!1);var a,i,o,s={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},l=[],c=0,d=!1;function u(){return i=o,18===(o=e.scanner.scan())?c++:19===o&&c--,o}function p(){var n=e.scanner.getTokenValue(),t=e.scanner.getTokenPos();return{fileName:n,pos:t,end:t+n.length}}function m(){l.push(p()),f()}function f(){0===c&&(d=!0)}function g(){var n=e.scanner.getToken();return 126===n&&(131===(n=u())&&10===(n=u())&&(a||(a=[]),a.push({ref:p(),depth:c})),!0)}function _(){if(24===i)return!1;var n=e.scanner.getToken();if(93===n){if(20===(n=u())){if(10===(n=u()))return m(),!0}else{if(10===n)return m(),!0;if(73===n||e.isKeyword(n))if(145===(n=u())){if(10===(n=u()))return m(),!0}else if(60===n){if(h(!0))return!0}else{if(27!==n)return!0;n=u()}if(18===n){for(n=u();19!==n&&1!==n;)n=u();19===n&&145===(n=u())&&10===(n=u())&&m()}else 40===n&&120===(n=u())&&(73===(n=u())||e.isKeyword(n))&&145===(n=u())&&10===(n=u())&&m()}return!0}return!1}function v(){var n=e.scanner.getToken();if(86===n){if(f(),18===(n=u())){for(n=u();19!==n&&1!==n;)n=u();19===n&&145===(n=u())&&10===(n=u())&&m()}else if(40===n)145===(n=u())&&10===(n=u())&&m();else if(93===n&&(73===(n=u())||e.isKeyword(n))&&60===(n=u())&&h(!0))return!0;return!0}return!1}function h(n){var t=n?u():e.scanner.getToken();return 135===t&&(20===(t=u())&&10===(t=u())&&m(),!0)}function y(){var n=e.scanner.getToken();if(73===n&&"define"===e.scanner.getTokenValue()){if(20!==(n=u()))return!0;if(10===(n=u())){if(27!==(n=u()))return!0;n=u()}if(22!==n)return!0;for(n=u();23!==n&&1!==n;)10===n&&m(),n=u();return!0}return!1}if(t&&function(){for(e.scanner.setText(n),u();1!==e.scanner.getToken();)g()||_()||v()||r&&(h(!1)||y())||u();e.scanner.setText(void 0)}(),e.processCommentPragmas(s,n),e.processPragmasIntoFields(s,e.noop),d){if(a)for(var b=0,E=a;bn)break e;if(t(n,m,f)){if(e.isBlock(m)||e.isTemplateSpan(m)||e.isTemplateHead(m)||p&&e.isTemplateHead(p)||e.isVariableDeclarationList(m)&&e.isVariableStatement(s)||e.isSyntaxList(m)&&e.isVariableDeclarationList(s)||e.isVariableDeclaration(m)&&e.isSyntaxList(s)&&1===l.length){s=m;break}if(e.isTemplateSpan(s)&&f&&e.isTemplateMiddleOrTemplateTail(f))y(m.getFullStart()-"${".length,f.getStart()+"}".length);var g=e.isSyntaxList(m)&&c(p)&&d(f)&&!e.positionsAreOnSameLine(p.getStart(),f.getStart(),r),_=e.hasJSDocNodes(m)&&m.jsDoc[0].getStart(),v=g?p.getEnd():m.getStart(),h=g?f.getStart():m.getEnd();e.isNumber(_)&&y(_,h),y(v,h),(e.isStringLiteral(m)||e.isTemplateLiteral(m))&&y(v+1,h-1),s=m;break}}}return o;function y(n,t){if(n!==t){var r=e.createTextSpanFromBounds(n,t);o&&e.textSpansEqual(r,o.textSpan)||(o=i({textSpan:r},o&&{parent:o}))}}};var r=e.or(e.isImportDeclaration,e.isImportEqualsDeclaration);function a(n){if(e.isSourceFile(n))return o(n.getChildAt(0).getChildren(),r);if(e.isMappedTypeNode(n)){var t=n.getChildren(),a=t[0],i=t.slice(1),c=e.Debug.assertDefined(i.pop());e.Debug.assertEqual(a.kind,18),e.Debug.assertEqual(c.kind,19);var d=o(i,(function(e){return e===n.readonlyToken||134===e.kind||e===n.questionToken||56===e.kind}));return[a,l(s(o(d,(function(e){var n=e.kind;return 22===n||151===n||23===n})),(function(e){return 57===e.kind}))),c]}if(e.isPropertySignature(n))return s(i=o(n.getChildren(),(function(t){return t===n.name||e.contains(n.modifiers,t)})),(function(e){return 57===e.kind}));if(e.isParameter(n)){var u=o(n.getChildren(),(function(e){return e===n.dotDotDotToken||e===n.name}));return s(o(u,(function(e){return e===u[0]||e===n.questionToken})),(function(e){return 60===e.kind}))}return e.isBindingElement(n)?s(n.getChildren(),(function(e){return 60===e.kind})):n.getChildren()}function o(e,n){for(var t,r=[],a=0,i=e;a0&&27===e.last(t).kind&&r++;return r}(a);return 0!==i&&e.Debug.assertLessThan(i,o),{list:a,argumentIndex:i,argumentCount:o,argumentsSpan:function(n,t){var r=n.getFullStart(),a=e.skipTrivia(t.text,n.getEnd(),!1);return e.createTextSpan(r,a-r)}(a,t)}}}function o(n,t,r){var a=n.parent;if(e.isCallOrNewExpression(a)){var o=a,s=i(n,r);if(!s)return;var l=s.list,c=s.argumentIndex,u=s.argumentCount,p=s.argumentsSpan;return{isTypeParameterList:!!a.typeArguments&&a.typeArguments.pos===l.pos,invocation:{kind:0,node:o},argumentsSpan:p,argumentIndex:c,argumentCount:u}}if(e.isNoSubstitutionTemplateLiteral(n)&&e.isTaggedTemplateExpression(a))return e.isInsideTemplateLiteral(n,t,r)?d(a,0,r):void 0;if(e.isTemplateHead(n)&&194===a.parent.kind){var m=a,f=m.parent;return e.Debug.assert(207===m.kind),d(f,c=e.isInsideTemplateLiteral(n,t,r)?0:1,r)}if(e.isTemplateSpan(a)&&e.isTaggedTemplateExpression(a.parent.parent)){var g=a;f=a.parent.parent;if(e.isTemplateTail(n)&&!e.isInsideTemplateLiteral(n,t,r))return;return d(f,c=function(n,t,r,a){if(e.Debug.assert(r>=t.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(t))return e.isInsideTemplateLiteral(t,r,a)?0:n+2;return n+1}(g.parent.templateSpans.indexOf(g),n,t,r),r)}if(e.isJsxOpeningLikeElement(a)){var _=a.attributes.pos,v=e.skipTrivia(r.text,a.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:a},argumentsSpan:e.createTextSpan(_,v-_),argumentIndex:0,argumentCount:1}}var h=e.getPossibleTypeArgumentsInfo(n,r);if(h){var y=h.called,b=h.nTypeArguments;return{isTypeParameterList:!0,invocation:o={kind:1,called:y},argumentsSpan:p=e.createTextSpanFromBounds(y.getStart(r),n.end),argumentIndex:b,argumentCount:b+1}}}function s(n){return e.isBinaryExpression(n.left)?s(n.left)+1:2}function l(n){return"__type"===n.name&&e.firstDefined(n.declarations,(function(n){return e.isFunctionTypeNode(n)?n.parent.symbol:void 0}))||n}function c(e,n){for(var t=0,r=0,a=e.getChildren();r=0&&a.length>i+1),a[i+1]}function m(n){return 0===n.kind?e.getInvokedExpression(n.node):n.called}function f(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}!function(e){e[e.Call=0]="Call",e[e.TypeArgs=1]="TypeArgs",e[e.Contextual=2]="Contextual"}(t||(t={})),n.getSignatureHelpItems=function(n,t,r,c,d){var u=n.getTypeChecker(),p=e.findTokenOnLeftOfPosition(t,r);if(p){var v=!!c&&"characterTyped"===c.kind;if(!v||!e.isInString(t,r,p)&&!e.isInComment(t,r)){var h=!!c&&"invoked"===c.kind,y=function(n,t,r,a,c){for(var d=function(n){e.Debug.assert(e.rangeContainsRange(n.parent,n),"Not a subspan",(function(){return"Child: "+e.Debug.formatSyntaxKind(n.kind)+", parent: "+e.Debug.formatSyntaxKind(n.parent.kind)}));var c=function(n,t,r,a){return function(n,t,r,a){var o=function(n,t,r){if(20!==n.kind&&27!==n.kind)return;var a=n.parent;switch(a.kind){case 196:case 157:case 197:case 198:var o=i(n,t);if(!o)return;var l=o.argumentIndex,c=o.argumentCount,d=o.argumentsSpan,u=e.isMethodDeclaration(a)?r.getContextualTypeForObjectLiteralElement(a):r.getContextualType(a);return u&&{contextualType:u,argumentIndex:l,argumentCount:c,argumentsSpan:d};case 205:var p=function n(t){return e.isBinaryExpression(t.parent)?n(t.parent):t}(a),m=r.getContextualType(p),f=20===n.kind?0:s(a)-1,g=s(p);return m&&{contextualType:m,argumentIndex:f,argumentCount:g,argumentsSpan:e.createTextSpanFromNode(a)};default:return}}(n,r,a);if(!o)return;var c=o.contextualType,d=o.argumentIndex,u=o.argumentCount,p=o.argumentsSpan,m=c.getCallSignatures();return 1!==m.length?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:e.first(m),node:n,symbol:l(c.symbol)},argumentsSpan:p,argumentIndex:d,argumentCount:u}}(n,0,r,a)||o(n,t,r)}(n,t,r,a);if(c)return{value:c}},u=n;!e.isSourceFile(u)&&(c||!e.isBlock(u));u=u.parent){var p=d(u);if("object"===typeof p)return p.value}return}(p,r,t,u,h);if(y){d.throwIfCancellationRequested();var b=function(n,t,r,i,o){var s=n.invocation,l=n.argumentCount;switch(s.kind){case 0:if(o&&!function(n,t,r){if(!e.isCallOrNewExpression(t))return!1;var i=t.getChildren(r);switch(n.kind){case 20:return e.contains(i,n);case 27:var o=e.findContainingList(n);return!!o&&e.contains(i,o);case 28:return a(n,r,t.expression);default:return!1}}(i,s.node,r))return;var c=[],d=t.getResolvedSignatureForSignatureHelp(s.node,c,l);return 0===c.length?void 0:{kind:0,candidates:c,resolvedSignature:d};case 1:var u=s.called;if(o&&!a(i,r,e.isIdentifier(u)?u.parent:u))return;if(0!==(c=e.getPossibleGenericSignatures(u,l,t)).length)return{kind:0,candidates:c,resolvedSignature:e.first(c)};var p=t.getSymbolAtLocation(u);return p&&{kind:1,symbol:p};case 2:return{kind:0,candidates:[s.signature],resolvedSignature:s.signature};default:return e.Debug.assertNever(s)}}(y,u,t,p,v);return d.throwIfCancellationRequested(),b?u.runWithCancellationToken(d,(function(e){return 0===b.kind?g(b.candidates,b.resolvedSignature,y,t,e):function(e,n,t,r){var a=n.argumentCount,i=n.argumentsSpan,o=n.invocation,s=n.argumentIndex,l=r.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);return l?{items:[_(e,l,r,f(o),t)],applicableSpan:i,selectedItemIndex:0,argumentIndex:s,argumentCount:a}:void 0}(b.symbol,y,t,e)})):e.isSourceFileJS(t)?function(n,t,r){if(2===n.invocation.kind)return;var a=m(n.invocation),i=e.isIdentifier(a)?a.text:e.isPropertyAccessExpression(a)?a.name.text:void 0,o=t.getTypeChecker();return void 0===i?void 0:e.firstDefined(t.getSourceFiles(),(function(t){return e.firstDefined(t.getNamedDeclarations().get(i),(function(e){var a=e.symbol&&o.getTypeOfSymbolAtLocation(e.symbol,e),i=a&&a.getCallSignatures();if(i&&i.length)return o.runWithCancellationToken(r,(function(e){return g(i,i[0],n,t,e)}))}))}))}(y,n,d):void 0}}}},function(e){e[e.Candidate=0]="Candidate",e[e.Type=1]="Type"}(r||(r={})),n.getArgumentInfoForCompletions=function(e,n,t){var r=o(e,n,t);return!r||r.isTypeParameterList||0!==r.invocation.kind?void 0:{invocation:r.invocation.node,argumentCount:r.argumentCount,argumentIndex:r.argumentIndex}};function g(n,t,r,a,i){var o=r.isTypeParameterList,s=r.argumentCount,l=r.argumentsSpan,c=r.invocation,d=r.argumentIndex,u=f(c),p=2===c.kind?c.symbol:i.getSymbolAtLocation(m(c)),g=p?e.symbolToDisplayParts(i,p,void 0,void 0):e.emptyArray,_=n.map((function(n){return function(n,t,r,a,i,o){var s=(r?h:y)(n,a,i,o),l=s.isVariadic,c=s.parameters,d=s.prefix,u=s.suffix,p=t.concat(d),m=u.concat(function(n,t,r){return e.mapToDisplayParts((function(e){e.writePunctuation(":"),e.writeSpace(" ");var a=r.getTypePredicateOfSignature(n);a?r.writeTypePredicate(a,t,void 0,e):r.writeType(r.getReturnTypeOfSignature(n),t,void 0,e)}))}(n,i,a)),f=n.getDocumentationComment(a),g=n.getJsDocTags();return{isVariadic:l,prefixDisplayParts:p,suffixDisplayParts:m,separatorDisplayParts:v,parameters:c,documentation:f,tags:g}}(n,g,o,i,u,a)}));0!==d&&e.Debug.assertLessThan(d,s);var b=n.indexOf(t);return e.Debug.assert(-1!==b),{items:_,applicableSpan:l,selectedItemIndex:b,argumentIndex:d,argumentCount:s}}function _(n,t,r,a,i){var o=e.symbolToDisplayParts(r,n),s=e.createPrinter({removeComments:!0}),l=t.map((function(e){return b(e,r,a,i,s)})),c=n.getDocumentationComment(r),d=n.getJsDocTags();return{isVariadic:!1,prefixDisplayParts:o.concat([e.punctuationPart(28)]),suffixDisplayParts:[e.punctuationPart(30)],separatorDisplayParts:v,parameters:l,documentation:c,tags:d}}var v=[e.punctuationPart(27),e.spacePart()];function h(n,t,r,a){var i=(n.target||n).typeParameters,o=e.createPrinter({removeComments:!0}),s=(i||e.emptyArray).map((function(e){return b(e,t,r,a,o)})),l=e.mapToDisplayParts((function(i){var s=n.thisParameter?[t.symbolToParameterDeclaration(n.thisParameter,r,70246400)]:[],l=e.createNodeArray(s.concat(t.getExpandedParameters(n).map((function(e){return t.symbolToParameterDeclaration(e,r,70246400)}))));o.writeList(2576,l,a,i)}));return{isVariadic:!1,parameters:s,prefix:[e.punctuationPart(28)],suffix:[e.punctuationPart(30)].concat(l)}}function y(n,t,r,a){var i=t.hasEffectiveRestParameter(n),o=e.createPrinter({removeComments:!0}),s=e.mapToDisplayParts((function(i){if(n.typeParameters&&n.typeParameters.length){var s=e.createNodeArray(n.typeParameters.map((function(e){return t.typeParameterToDeclaration(e,r)})));o.writeList(53776,s,a,i)}}));return{isVariadic:i,parameters:t.getExpandedParameters(n).map((function(n){return function(n,t,r,a,i){var o=e.mapToDisplayParts((function(e){var o=t.symbolToParameterDeclaration(n,r,70246400);i.writeNode(4,o,a,e)})),s=t.isOptionalParameter(n.valueDeclaration);return{name:n.name,documentation:n.getDocumentationComment(t),displayParts:o,isOptional:s}}(n,t,r,a,o)})),prefix:s.concat([e.punctuationPart(20)]),suffix:[e.punctuationPart(21)]}}function b(n,t,r,a,i){var o=e.mapToDisplayParts((function(e){var o=t.typeParameterToDeclaration(n,r);i.writeNode(4,o,a,e)}));return{name:n.symbol.name,documentation:n.symbol.getDocumentationComment(t),displayParts:o,isOptional:!1}}}(e.SignatureHelp||(e.SignatureHelp={}))}(c||(c={})),function(e){var n=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function t(n,t,r){var a=e.tryParseRawSourceMap(t);if(a&&a.sources&&a.file&&a.mappings)return e.createDocumentPositionMapper(n,a,r)}e.getSourceMapper=function(n){var t=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames()),r=n.getCurrentDirectory(),a=e.createMap(),i=e.createMap();return{tryGetSourcePosition:function n(t){if(!e.isDeclarationFileName(t.fileName))return;if(!l(t.fileName))return;var r=s(t.fileName).getSourcePosition(t);return r&&r!==t?n(r)||r:void 0},tryGetGeneratedPosition:function(a){if(e.isDeclarationFileName(a.fileName))return;if(!l(a.fileName))return;var i=n.getProgram(),o=i.getCompilerOptions(),c=o.outFile||o.out,d=c?e.removeFileExtension(c)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(a.fileName,i.getCompilerOptions(),r,i.getCommonSourceDirectory(),t);if(void 0===d)return;var u=s(d,a.fileName).getGeneratedPosition(a);return u===a?void 0:u},toLineColumnOffset:function(e,n){return d(e).getLineAndCharacterOfPosition(n)},clearCache:function(){a.clear(),i.clear()}};function o(n){return e.toPath(n,r,t)}function s(r,a){var s,l=o(r),c=i.get(l);if(c)return c;if(n.getDocumentPositionMapper)s=n.getDocumentPositionMapper(r,a);else if(n.readFile){var u=d(r);s=u&&e.getDocumentPositionMapper({getSourceFileLike:d,getCanonicalFileName:t,log:function(e){return n.log(e)}},r,e.getLineInfo(u.text,e.getLineStarts(u)),(function(e){return!n.fileExists||n.fileExists(e)?n.readFile(e):void 0}))}return i.set(l,s||e.identitySourceMapConsumer),s||e.identitySourceMapConsumer}function l(e){var t=n.getProgram();if(t){var r=o(e),a=t.getSourceFileByPath(r);return a&&a.resolvedPath===r?a:void 0}}function c(t){var r=o(t),i=a.get(r);if(void 0!==i)return i||void 0;if(n.readFile&&(!n.fileExists||n.fileExists(r))){var s=n.readFile(r),l=!!s&&function(n,t){return{text:n,lineMap:t,getLineAndCharacterOfPosition:function(n){return e.computeLineAndCharacterOfPosition(e.getLineStarts(this),n)}}}(s);return a.set(r,l),l||void 0}a.set(r,!1)}function d(e){return n.getSourceFileLike?n.getSourceFileLike(e):l(e)||c(e)}},e.getDocumentPositionMapper=function(r,a,i,o){var s=e.tryGetSourceMappingURL(i);if(s){var l=n.exec(s);if(l){if(l[1]){var c=l[1];return t(r,e.base64decode(e.sys,c),a)}s=void 0}}var d=[];s&&d.push(s),d.push(a+".map");for(var u=s&&e.getNormalizedAbsolutePath(s,e.getDirectoryPath(a)),p=0,m=d;p0&&c.push(e.createDiagnosticForNode(e.isVariableDeclaration(i.parent)?i.parent.name:i,e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration))}else{if(e.isVariableStatement(i)&&i.parent===a&&2&i.declarationList.flags&&1===i.declarationList.declarations.length){var m=i.declarationList.declarations[0].initializer;m&&e.isRequireCall(m,!0)&&c.push(e.createDiagnosticForNode(m,e.Diagnostics.require_call_may_be_converted_to_an_import))}e.codefix.parameterShouldGetTypeFromJSDoc(i)&&c.push(e.createDiagnosticForNode(i.name||i,e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types))}e.isFunctionLikeDeclaration(i)&&function(t,a,i){(function(n,t){return!e.isAsyncFunction(n)&&n.body&&e.isBlock(n.body)&&(a=n.body,!!e.forEachReturnStatement(a,r))&&function(e,n){var t=n.getTypeAtLocation(e),r=n.getSignaturesOfType(t,0),a=r.length?n.getReturnTypeOfSignature(r[0]):void 0;return!!a&&!!n.getPromisedTypeOfPromise(a)}(n,t);var a})(t,a)&&!n.has(s(t))&&i.push(e.createDiagnosticForNode(!t.name&&e.isVariableDeclaration(t.parent)&&e.isIdentifier(t.parent.name)?t.parent.name:t,e.Diagnostics.This_may_be_converted_to_an_async_function))}(i,d,c);i.forEachChild(t)}(a),e.getAllowSyntheticDefaultImports(i.getCompilerOptions()))for(var p=0,m=a.imports;p0?e.getNodeModifiers(n.declarations[0]):"",r=n&&16777216&n.flags?"optional":"";return t&&r?t+","+r:t||r},n.getSymbolDisplayPartsDocumentationAndSymbolKind=function n(a,i,o,s,l,c,d){void 0===c&&(c=e.getMeaningFromLocation(l));var u,p,m,f,g,_,v=[],h=e.getCombinedLocalAndExportSymbolFlags(i),y=1&c?r(a,i,l):"",b=!1,E=101===l.kind&&e.isInExpressionContext(l);if(101===l.kind&&!E)return{displayParts:[e.keywordPart(101)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==y||32&h||2097152&h){"getter"!==y&&"setter"!==y||(y="property");var T=void 0;if(m=E?a.getTypeAtLocation(l):a.getTypeOfSymbolAtLocation(i.exportSymbol||i,l),l.parent&&190===l.parent.kind){var S=l.parent.name;(S===l||S&&0===S.getFullWidth())&&(l=l.parent)}var L=void 0;if(e.isCallOrNewExpression(l)?L=l:(e.isCallExpressionTarget(l)||e.isNewExpressionTarget(l)||l.parent&&e.isJsxOpeningLikeElement(l.parent)&&e.isFunctionLike(i.valueDeclaration))&&(L=l.parent),L){T=a.getResolvedSignature(L);var x=193===L.kind||e.isCallExpression(L)&&99===L.expression.kind,A=x?m.getConstructSignatures():m.getCallSignatures();if(e.contains(A,T.target)||e.contains(A,T)||(T=A.length?A[0]:void 0),T){switch(x&&32&h?(y="constructor",z(m.symbol,y)):2097152&h?(J(y="alias"),v.push(e.spacePart()),x&&(v.push(e.keywordPart(96)),v.push(e.spacePart())),q(i)):z(i,y),y){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":v.push(e.punctuationPart(57)),v.push(e.spacePart()),16&e.getObjectFlags(m)||!m.symbol||(e.addRange(v,e.symbolToDisplayParts(a,m.symbol,s,void 0,5)),v.push(e.lineBreakPart())),x&&(v.push(e.keywordPart(96)),v.push(e.spacePart())),X(T,A,262144);break;default:X(T,A)}b=!0}}else if(e.isNameOfFunctionDeclaration(l)&&!(98304&h)||125===l.kind&&158===l.parent.kind){var C=l.parent;if(e.find(i.declarations,(function(e){return e===(125===l.kind?C.parent:C)}))){A=158===C.kind?m.getNonNullableType().getConstructSignatures():m.getNonNullableType().getCallSignatures();T=a.isImplementationOfOverload(C)?A[0]:a.getSignatureFromDeclaration(C),158===C.kind?(y="constructor",z(m.symbol,y)):z(161!==C.kind||2048&m.symbol.flags||4096&m.symbol.flags?i:m.symbol,y),X(T,A),b=!0}}}if(32&h&&!b&&!E&&(U(),e.getDeclarationOfKind(i,210)?J("local class"):v.push(e.keywordPart(77)),v.push(e.spacePart()),q(i),Y(i,o)),64&h&&2&c&&(j(),v.push(e.keywordPart(111)),v.push(e.spacePart()),q(i),Y(i,o)),524288&h&&2&c&&(j(),v.push(e.keywordPart(141)),v.push(e.spacePart()),q(i),Y(i,o),v.push(e.spacePart()),v.push(e.operatorPart(60)),v.push(e.spacePart()),e.addRange(v,e.typeToDisplayParts(a,a.getDeclaredTypeOfSymbol(i),s,8388608))),384&h&&(j(),e.some(i.declarations,(function(n){return e.isEnumDeclaration(n)&&e.isEnumConst(n)}))&&(v.push(e.keywordPart(78)),v.push(e.spacePart())),v.push(e.keywordPart(85)),v.push(e.spacePart()),q(i)),1536&h&&!E){j();var D=(B=e.getDeclarationOfKind(i,245))&&B.name&&73===B.name.kind;v.push(e.keywordPart(D?132:131)),v.push(e.spacePart()),q(i)}if(262144&h&&2&c)if(j(),v.push(e.punctuationPart(20)),v.push(e.textPart("type parameter")),v.push(e.punctuationPart(21)),v.push(e.spacePart()),q(i),i.parent)W(),q(i.parent,s),Y(i.parent,s);else{var k=e.getDeclarationOfKind(i,151);if(void 0===k)return e.Debug.fail();if(B=k.parent)if(e.isFunctionLikeKind(B.kind)){W();T=a.getSignatureFromDeclaration(B);162===B.kind?(v.push(e.keywordPart(96)),v.push(e.spacePart())):161!==B.kind&&B.name&&q(B.symbol),e.addRange(v,e.signatureToDisplayParts(a,T,o,32))}else 243===B.kind&&(W(),v.push(e.keywordPart(141)),v.push(e.spacePart()),q(B.symbol),Y(B.symbol,o))}if(8&h&&(y="enum member",z(i,"enum member"),279===(B=i.declarations[0]).kind)){var M=a.getConstantValue(B);void 0!==M&&(v.push(e.spacePart()),v.push(e.operatorPart(60)),v.push(e.spacePart()),v.push(e.displayPart(e.getTextOfConstantValue(M),"number"===typeof M?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}if(2097152&h){if(j(),!b){var O=a.getAliasedSymbol(i);if(O!==i&&O.declarations&&O.declarations.length>0){var I=O.declarations[0],R=e.getNameOfDeclaration(I);if(R){var w=e.isModuleWithStringLiteralName(I)&&e.hasModifier(I,2),N="default"!==i.name&&!w,P=n(a,O,e.getSourceFileOfNode(I),I,R,c,N?i:O);v.push.apply(v,P.displayParts),v.push(e.lineBreakPart()),g=P.documentation,_=P.tags}}}switch(i.declarations[0].kind){case 248:v.push(e.keywordPart(86)),v.push(e.spacePart()),v.push(e.keywordPart(132));break;case 255:v.push(e.keywordPart(86)),v.push(e.spacePart()),v.push(e.keywordPart(i.declarations[0].isExportEquals?60:81));break;case 258:v.push(e.keywordPart(86));break;default:v.push(e.keywordPart(93))}v.push(e.spacePart()),q(i),e.forEach(i.declarations,(function(n){if(249===n.kind){var t=n;if(e.isExternalModuleImportEqualsDeclaration(t))v.push(e.spacePart()),v.push(e.operatorPart(60)),v.push(e.spacePart()),v.push(e.keywordPart(135)),v.push(e.punctuationPart(20)),v.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(t)),e.SymbolDisplayPartKind.stringLiteral)),v.push(e.punctuationPart(21));else{var r=a.getSymbolAtLocation(t.moduleReference);r&&(v.push(e.spacePart()),v.push(e.operatorPart(60)),v.push(e.spacePart()),q(r,s))}return!0}}))}if(!b)if(""!==y){if(m)if(E?(j(),v.push(e.keywordPart(101))):z(i,y),"property"===y||"JSX attribute"===y||3&h||"local var"===y||E)if(v.push(e.punctuationPart(57)),v.push(e.spacePart()),m.symbol&&262144&m.symbol.flags){var F=e.mapToDisplayParts((function(n){var t=a.typeParameterToDeclaration(m,s);K().writeNode(4,t,e.getSourceFileOfNode(e.getParseTreeNode(s)),n)}));e.addRange(v,F)}else e.addRange(v,e.typeToDisplayParts(a,m,s));else if(16&h||8192&h||16384&h||131072&h||98304&h||"method"===y){(A=m.getNonNullableType().getCallSignatures()).length&&X(A[0],A)}}else y=t(a,i,l);if(!u&&(u=i.getDocumentationComment(a),p=i.getJsDocTags(),0===u.length&&4&h&&i.parent&&e.forEach(i.parent.declarations,(function(e){return 285===e.kind}))))for(var G=0,V=i.declarations;G0))break}}return 0===u.length&&g&&(u=g),0===p.length&&_&&(p=_),{displayParts:v,documentation:u,symbolKind:y,tags:0===p.length?void 0:p};function K(){return f||(f=e.createPrinter({removeComments:!0})),f}function j(){v.length&&v.push(e.lineBreakPart()),U()}function U(){d&&(J("alias"),v.push(e.spacePart()))}function W(){v.push(e.spacePart()),v.push(e.keywordPart(94)),v.push(e.spacePart())}function q(n,t){d&&n===i&&(n=d);var r=e.symbolToDisplayParts(a,n,t||o,void 0,7);e.addRange(v,r),16777216&i.flags&&v.push(e.punctuationPart(56))}function z(n,t){j(),t&&(J(t),n&&!e.some(n.declarations,(function(n){return e.isArrowFunction(n)||(e.isFunctionExpression(n)||e.isClassExpression(n))&&!n.name}))&&(v.push(e.spacePart()),q(n)))}function J(n){switch(n){case"var":case"function":case"let":case"const":case"constructor":return void v.push(e.textOrKeywordPart(n));default:return v.push(e.punctuationPart(20)),v.push(e.textOrKeywordPart(n)),void v.push(e.punctuationPart(21))}}function X(n,t,r){void 0===r&&(r=0),e.addRange(v,e.signatureToDisplayParts(a,n,s,32|r)),t.length>1&&(v.push(e.spacePart()),v.push(e.punctuationPart(20)),v.push(e.operatorPart(38)),v.push(e.displayPart((t.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),v.push(e.spacePart()),v.push(e.textPart(2===t.length?"overload":"overloads")),v.push(e.punctuationPart(21)));var i=n.getDocumentationComment(a);u=0===i.length?void 0:i,p=n.getJsDocTags()}function Y(n,t){var r=e.mapToDisplayParts((function(r){var i=a.symbolToTypeParameterDeclarations(n,t);K().writeList(53776,i,e.getSourceFileOfNode(e.getParseTreeNode(t)),r)}));e.addRange(v,r)}}}(e.SymbolDisplay||(e.SymbolDisplay={}))}(c||(c={})),function(e){function n(n,t){var a=[],i=t.compilerOptions?r(t.compilerOptions,a):e.getDefaultCompilerOptions();i.isolatedModules=!0,i.suppressOutputPathCheck=!0,i.allowNonTsExtensions=!0,i.noLib=!0,i.lib=void 0,i.types=void 0,i.noEmit=void 0,i.noEmitOnError=void 0,i.paths=void 0,i.rootDirs=void 0,i.declaration=void 0,i.composite=void 0,i.declarationDir=void 0,i.out=void 0,i.outFile=void 0,i.noResolve=!0;var o=t.fileName||(i.jsx?"module.tsx":"module.ts"),s=e.createSourceFile(o,n,i.target);t.moduleName&&(s.moduleName=t.moduleName),t.renamedDependencies&&(s.renamedDependencies=e.createMapFromTemplate(t.renamedDependencies));var l,c,d=e.getNewLineCharacter(i),u={getSourceFile:function(n){return n===e.normalizePath(o)?s:void 0},writeFile:function(n,t){e.fileExtensionIs(n,".map")?(e.Debug.assertEqual(c,void 0,"Unexpected multiple source map outputs, file:",n),c=t):(e.Debug.assertEqual(l,void 0,"Unexpected multiple outputs, file:",n),l=t)},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(e){return e},getCurrentDirectory:function(){return""},getNewLine:function(){return d},fileExists:function(e){return e===o},readFile:function(){return""},directoryExists:function(){return!0},getDirectories:function(){return[]}},p=e.createProgram([o],i,u);return t.reportDiagnostics&&(e.addRange(a,p.getSyntacticDiagnostics(s)),e.addRange(a,p.getOptionsDiagnostics())),p.emit(void 0,void 0,void 0,void 0,t.transformers),void 0===l?e.Debug.fail("Output generation failed"):{outputText:l,diagnostics:a,sourceMapText:c}}var t;function r(n,r){t=t||e.filter(e.optionDeclarations,(function(n){return"object"===typeof n.type&&!e.forEachEntry(n.type,(function(e){return"number"!==typeof e}))})),n=e.cloneCompilerOptions(n);for(var a=function(t){if(!e.hasProperty(n,t.name))return"continue";var a=n[t.name];e.isString(a)?n[t.name]=e.parseCustomTypeOption(t,a,r):e.forEachEntry(t.type,(function(e){return e===a}))||r.push(e.createCompilerDiagnosticForInvalidCustomType(t))},i=0,o=t;i>=5;return t}(c,l),0,r),o[s]=function(n,t){var r=1+(n>>t&31);return e.Debug.assert((31&r)===r,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),n&~(31<=t.pos?n.pos:i.end:n.pos}(o,t,r),t.end,(function(s){return p(t,o,n.SmartIndenter.getIndentationForNode(o,t,r,a.options),function(e,t,r){for(var a,i=-1;e;){var o=r.getLineAndCharacterOfPosition(e.getStart(r)).line;if(-1!==i&&o!==i)break;if(n.SmartIndenter.shouldIndentChildNode(t,e,a,r))return t.indentSize;i=o,a=e,e=e.parent}return 0}(o,a.options,r),s,a,i,function(n,t){if(!n.length)return i;var r=n.filter((function(n){return e.rangeOverlapsWithStartEnd(t,n.start,n.start+n.length)})).sort((function(e,n){return e.start-n.start}));if(!r.length)return i;var a=0;return function(n){for(;;){if(a>=r.length)return!1;var t=r[a];if(n.end<=t.start)return!1;if(e.startEndOverlapsWithStartEnd(n.pos,n.end,t.start,t.start+t.length))return!0;a++}};function i(){return!1}}(r.parseDiagnostics,t),r)}))}function p(t,r,a,i,o,s,l,c,d){var u,p,f,g,_=s.options,v=s.getRule,h=new n.FormattingContext(d,l,_),y=-1,b=[];if(o.advance(),o.isOnToken()){var E=d.getLineAndCharacterOfPosition(r.getStart(d)).line,T=E;r.decorators&&(T=d.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(r,d)).line),function r(a,i,s,l,p,m){if(!e.rangeOverlapsWithStartEnd(t,a.getStart(d),a.getEnd()))return;var f=L(a,s,p,m),v=i;e.forEachChild(a,(function(e){b(e,-1,a,f,s,l,!1)}),(function(t){!function(t,r,i,s){e.Debug.assert(e.isNodeArray(t));var l=function(e,n){switch(e.kind){case 158:case 240:case 197:case 157:case 156:case 198:if(e.typeParameters===n)return 28;if(e.parameters===n)return 20;break;case 192:case 193:if(e.typeArguments===n)return 28;if(e.arguments===n)return 20;break;case 165:if(e.typeArguments===n)return 28;break;case 169:return 18}return 0}(r,t),c=s,u=i;if(0!==l)for(;o.isOnToken();){if((T=o.readTokenInfo(r)).token.end>t.pos)break;if(T.token.kind===l){u=d.getLineAndCharacterOfPosition(T.token.pos).line,E(T,r,s,r);var p=void 0;if(-1!==y)p=y;else{var m=e.getLineStartPositionForPosition(T.token.pos,d);p=n.SmartIndenter.findFirstNonWhitespaceColumn(m,T.token.pos,d,_)}c=L(r,i,p,_.indentSize)}else E(T,r,s,r)}for(var f=-1,g=0;ga.end)break;E(h,a,f,a)}function b(i,s,l,c,u,p,m,f){var h=i.getStart(d),b=d.getLineAndCharacterOfPosition(h).line,T=b;i.decorators&&(T=d.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(i,d)).line);var S=-1;if(m&&e.rangeContainsRange(t,l)&&-1!==(S=function(t,r,a,i,o){if(e.rangeOverlapsWithStartEnd(i,t,r)||e.rangeContainsStartEnd(i,t,r)){if(-1!==o)return o}else{var s=d.getLineAndCharacterOfPosition(t).line,l=e.getLineStartPositionForPosition(t,d),c=n.SmartIndenter.findFirstNonWhitespaceColumn(l,t,d,_);if(s!==a||t===c){var u=n.SmartIndenter.getBaseIndentation(_);return u>c?u:c}}return-1}(h,i.end,u,t,s))&&(s=S),!e.rangeOverlapsWithStartEnd(t,i.pos,i.end))return i.endh)break;E(L,a,c,a)}if(!o.isOnToken())return s;if(e.isToken(i)&&11!==i.kind){var L=o.readTokenInfo(i);return e.Debug.assert(L.token.end===i.end,"Token end is child end"),E(L,a,c,i),s}var x=153===i.kind?b:p,A=function(e,t,r,a,i,o){var s=n.SmartIndenter.shouldIndentChildNode(_,e)?_.indentSize:0;return o===t?{indentation:t===g?y:i.getIndentation(),delta:Math.min(_.indentSize,i.getDelta(e)+s)}:-1===r?20===e.kind&&t===g?{indentation:y,delta:i.getDelta(e)}:n.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(a,e,t,d)?{indentation:i.getIndentation(),delta:s}:{indentation:i.getIndentation()+i.getDelta(e),delta:s}:{indentation:r,delta:s}}(i,b,S,a,c,x);(r(i,v,b,T,A.indentation,A.delta),11===i.kind)&&k({pos:i.getStart(),end:i.getEnd()},A.indentation,!0,!1);return v=a,f&&188===l.kind&&-1===s&&(s=A.indentation),s}function E(n,r,a,i,s){e.Debug.assert(e.rangeContainsRange(r,n.token));var l=o.lastTrailingTriviaWasNewLine(),p=!1;n.leadingTrivia&&A(n.leadingTrivia,r,v,a);var m=0,f=e.rangeContainsRange(t,n.token),_=d.getLineAndCharacterOfPosition(n.token.pos);if(f){var h=c(n.token),b=u;if(m=C(n.token,_,r,v,a),!h)if(0===m){var E=b&&d.getLineAndCharacterOfPosition(b.end).line;p=l&&_.line!==E}else p=1===m}if(n.trailingTrivia&&A(n.trailingTrivia,r,v,a),p){var T=f&&!c(n.token)?a.getIndentationForToken(_.line,n.token.kind,i,!!s):-1,S=!0;if(n.leadingTrivia){var L=a.getIndentationForComment(n.token.kind,T,i);S=x(n.leadingTrivia,L,S,(function(e){return D(e.pos,L,!1)}))}-1!==T&&S&&(D(n.token.pos,T,1===m),g=_.line,y=T)}o.advance(),v=r}}(r,r,E,T,a,i)}if(!o.isOnToken()){var S=o.getCurrentLeadingTrivia();S&&(x(S,a,!1,(function(e){return C(e,d.getLineAndCharacterOfPosition(e.pos),r,r,void 0)})),function(){var e=u?u.end:t.pos,n=d.getLineAndCharacterOfPosition(e).line,r=d.getLineAndCharacterOfPosition(t.end).line;M(n,r+1,u)}())}return b;function L(t,r,a,i){return{getIndentationForComment:function(e,n,t){switch(e){case 19:case 23:case 21:return a+o(t)}return-1!==n?n:a},getIndentationForToken:function(n,i,s,l){return!l&&function(n,a,i){switch(a){case 18:case 19:case 21:case 84:case 108:case 58:return!1;case 42:case 30:switch(i.kind){case 263:case 264:case 262:return!1}break;case 22:case 23:if(182!==i.kind)return!1}return r!==n&&!(t.decorators&&a===function(n){if(n.modifiers&&n.modifiers.length)return n.modifiers[0].kind;switch(n.kind){case 241:return 77;case 242:return 111;case 240:return 91;case 244:return 244;case 159:return 127;case 160:return 138;case 157:if(n.asteriskToken)return 40;case 155:case 152:var t=e.getNameOfDeclaration(n);if(t)return t.kind}}(t))}(n,i,s)?a+o(s):a},getIndentation:function(){return a},getDelta:o,recomputeIndentation:function(e){t.parent&&n.SmartIndenter.shouldIndentChildNode(_,t.parent,t,d)&&(a+=e?_.indentSize:-_.indentSize,i=n.SmartIndenter.shouldIndentChildNode(_,t)?_.indentSize:0)}};function o(e){return n.SmartIndenter.nodeWillIndentChild(_,t,e,d,!0)?i:0}}function x(n,r,a,i){for(var o=0,s=n;o0){var S=m(T,_);R(b,E.character,S)}else I(b,E.character)}}}}else a||D(t.pos,r,!1)}function M(n,t,r){for(var a=n;ao)){var s=O(i,o);-1!==s&&(e.Debug.assert(s===i||!e.isWhiteSpaceSingleLine(d.text.charCodeAt(s-1))),I(s,o+1-s))}}}function O(n,t){for(var r=t;r>=n&&e.isWhiteSpaceSingleLine(d.text.charCodeAt(r));)r--;return r!==t?r+1:-1}function I(n,t){t&&b.push(e.createTextChangeFromStartLength(n,t,""))}function R(n,t,r){(t||r)&&b.push(e.createTextChangeFromStartLength(n,t,r))}}function m(n,t){if((!a||a.tabSize!==t.tabSize||a.indentSize!==t.indentSize)&&(a={tabSize:t.tabSize,indentSize:t.indentSize},i=o=void 0),t.convertTabsToSpaces){var r=void 0,s=Math.floor(n/t.indentSize),l=n%t.indentSize;return o||(o=[]),void 0===o[s]?(r=e.repeatString(" ",t.indentSize*s),o[s]=r):r=o[s],l?r+e.repeatString(" ",l):r}var c=Math.floor(n/t.tabSize),d=n-c*t.tabSize,u=void 0;return i||(i=[]),void 0===i[c]?i[c]=u=e.repeatString("\t",c):u=i[c],d?u+e.repeatString(" ",d):u}!function(e){e[e.Unknown=-1]="Unknown"}(t||(t={})),n.formatOnEnter=function(n,t,r){var a=t.getLineAndCharacterOfPosition(n).line;if(0===a)return[];for(var i=e.getEndLinePosition(a,t);e.isWhiteSpaceSingleLine(t.text.charCodeAt(i));)i--;return e.isLineBreak(t.text.charCodeAt(i))&&i--,u({pos:e.getStartPositionOfLine(a-1,t),end:i+1},t,r,2)},n.formatOnSemicolon=function(e,n,t){return d(l(s(e,26,n)),n,t,3)},n.formatOnOpeningCurly=function(n,t,r){var a=s(n,18,t);if(!a)return[];var i=l(a.parent);return u({pos:e.getLineStartPositionForPosition(i.getStart(t),t),end:n},t,r,4)},n.formatOnClosingCurly=function(e,n,t){return d(l(s(e,19,n)),n,t,5)},n.formatDocument=function(e,n){return u({pos:0,end:e.text.length},e,n,0)},n.formatSelection=function(n,t,r,a){return u({pos:e.getLineStartPositionForPosition(n,r),end:t},r,a,1)},n.formatNodeGivenIndentation=function(e,t,r,a,i,o){var s={pos:0,end:t.text.length};return n.getFormattingScanner(t.text,r,s.pos,s.end,(function(n){return p(s,e,a,i,n,o,1,(function(e){return!1}),t)}))},function(e){e[e.None=0]="None",e[e.LineAdded=1]="LineAdded",e[e.LineRemoved=2]="LineRemoved"}(r||(r={})),n.getRangeOfEnclosingComment=function(n,t,r,a){void 0===a&&(a=e.getTokenAtPosition(n,t));var i=e.findAncestor(a,e.isJSDoc);if(i&&(a=i.parent),!(a.getStart(n)<=t&&tt.end}var g=s(d,e,a),v=g.line===n.line||p(d,e,n.line,a);if(m){var h=_(e,a,c,!v);if(-1!==h)return h+r;if(-1!==(h=l(e,d,n,v,a,c)))return h+r}T(c,d,e,a,o)&&!v&&(r+=c.indentSize);var y=u(d,e,n.line,a);d=(e=d).parent,n=y?a.getLineAndCharacterOfPosition(e.getStart(a)):g}return r+i(c)}function s(e,n,t){var r=m(n,t),a=r?r.pos:e.getStart(t);return t.getLineAndCharacterOfPosition(a)}function l(n,t,r,a,i,o){return(e.isDeclaration(n)||e.isStatementButNotDeclaration(n))&&(285===t.kind||!a)?h(r,i,o):-1}function c(n,t,r,a){var i=e.findNextToken(n,t,a);return i?18===i.kind?1:19===i.kind&&r===d(i,a).line?2:0:0}function d(e,n){return n.getLineAndCharacterOfPosition(e.getStart(n))}function u(n,t,r,a){if(!e.isCallExpression(n)||!e.contains(n.arguments,t))return!1;var i=n.expression.getEnd();return e.getLineAndCharacterOfPosition(a,i).line===r}function p(n,t,r,a){if(223===n.kind&&n.elseStatement===t){var i=e.findChildOfKind(n,84,a);return e.Debug.assert(void 0!==i),d(i,a).line===r}return!1}function m(e,n){return e.parent&&f(e.getStart(n),e.getEnd(),e.parent,n)}function f(n,t,r,a){switch(r.kind){case 165:return i(r.typeArguments);case 189:return i(r.properties);case 188:return i(r.elements);case 169:return i(r.members);case 240:case 197:case 198:case 157:case 156:case 161:case 158:case 167:case 162:return i(r.typeParameters)||i(r.parameters);case 241:case 210:case 242:case 243:case 309:return i(r.typeParameters);case 193:case 192:return i(r.typeArguments)||i(r.arguments);case 239:return i(r.declarations);case 253:case 257:return i(r.elements);case 185:case 186:return i(r.elements)}function i(i){return i&&e.rangeContainsStartEnd(function(e,n,t){for(var r=e.getChildren(t),a=1;a=0&&t=0;o--)if(27!==n[o].kind){if(r.getLineAndCharacterOfPosition(n[o].end).line!==i.line)return h(i,r,a);i=d(n[o],r)}return-1}function h(e,n,t){var r=n.getPositionOfLineAndCharacter(e.line,0);return b(r,r+e.character,n,t)}function y(n,t,r,a){for(var i=0,o=0,s=n;sr.text.length)return i(a);if(a.indentStyle===e.IndentStyle.None)return 0;var l=e.findPrecedingToken(t,r,void 0,!0),u=n.getRangeOfEnclosingComment(r,t,l||null);if(u&&3===u.kind)return function(n,t,r,a){var i=e.getLineAndCharacterOfPosition(n,t).line-1,o=e.getLineAndCharacterOfPosition(n,a.pos).line;if(e.Debug.assert(o>=0),i<=o)return b(e.getStartPositionOfLine(o,n),t,n,r);var s=e.getStartPositionOfLine(i,n),l=y(s,t,n,r),c=l.column,d=l.character;if(0===c)return c;return 42===n.text.charCodeAt(s+d)?c-1:c}(r,t,a,u);if(!l)return i(a);if(e.isStringOrRegularExpressionOrTemplateLiteral(l.kind)&&l.getStart(r)<=t&&t0;){var i=n.text.charCodeAt(a);if(!e.isWhiteSpaceLike(i))break;a--}return b(e.getLineStartPositionForPosition(a,n),a,n,r)}(r,t,a);if(27===l.kind&&205!==l.parent.kind){var m=function(n,t,r){var a=e.findListItemInfo(n);return a&&a.listItemIndex>0?v(a.list.getChildren(),a.listItemIndex-1,t,r):-1}(l,r,a);if(-1!==m)return m}var h=function(e,n,t){return n&&f(e,e,n,t)}(t,l.parent,r);return h&&!e.rangeContainsRange(h,l)?g(h,r,a)+a.indentSize:function(n,t,r,a,s,l){var u,p=r;for(;p;){if(e.positionBelongsToNode(p,t,n)&&T(l,p,u,n,!0)){var m=d(p,n),f=c(r,p,a,n),g=0!==f?s&&2===f?l.indentSize:0:a!==m.line?l.indentSize:0;return o(p,m,void 0,g,n,!0,l)}var v=_(p,n,l,!0);if(-1!==v)return v;u=p,p=p.parent}return i(l)}(r,t,l,p,s,a)},t.getIndentationForNode=function(e,n,t,r){var a=t.getLineAndCharacterOfPosition(e.getStart(t));return o(e,a,n,0,t,!1,r)},t.getBaseIndentation=i,function(e){e[e.Unknown=0]="Unknown",e[e.OpenBrace=1]="OpenBrace",e[e.CloseBrace=2]="CloseBrace"}(a||(a={})),t.isArgumentAndStartLineOverlapsExpressionBeingCalled=u,t.childStartsOnTheSameLineWithElseInIfStatement=p,t.getContainingList=m,t.findFirstNonWhitespaceCharacterAndColumn=y,t.findFirstNonWhitespaceColumn=b,t.nodeWillIndentChild=E,t.shouldIndentChildNode=T}(n.SmartIndenter||(n.SmartIndenter={}))}(e.formatting||(e.formatting={}))}(c||(c={})),function(e){!function(n){function t(n){var t=n.__pos;return e.Debug.assert("number"===typeof t),t}function r(n,t){e.Debug.assert("number"===typeof t),n.__pos=t}function a(n){var t=n.__end;return e.Debug.assert("number"===typeof t),t}function o(n,t){e.Debug.assert("number"===typeof t),n.__end=t}var s,l;function c(n,t){return e.skipTrivia(n,t,!1,!0)}!function(e){e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll"}(s=n.LeadingTriviaOption||(n.LeadingTriviaOption={})),function(e){e[e.Exclude=0]="Exclude",e[e.Include=1]="Include"}(l=n.TrailingTriviaOption||(n.TrailingTriviaOption={}));var d,u={leadingTriviaOption:s.Exclude,trailingTriviaOption:l.Exclude};function p(e,n,t,r){return{pos:m(e,n,r),end:f(e,t,r)}}function m(n,t,r){var a=r.leadingTriviaOption;if(a===s.Exclude)return t.getStart(n);var i=t.getFullStart(),o=t.getStart(n);if(i===o)return o;var l=e.getLineStartPositionForPosition(i,n);if(e.getLineStartPositionForPosition(o,n)===l)return a===s.IncludeAll?i:o;var d=i>0?1:0,u=e.getStartPositionOfLine(e.getLineOfLocalPosition(n,l)+d,n);return u=c(n.text,u),e.getStartPositionOfLine(e.getLineOfLocalPosition(n,u),n)}function f(n,t,r){var a=t.end,i=r.trailingTriviaOption;if(i===l.Exclude||e.isExpression(t)&&i!==l.Include)return a;var o=e.skipTrivia(n.text,a,!0);return o===a||i!==l.Include&&!e.isLineBreak(n.text.charCodeAt(o-1))?a:o}function g(e,n){return!!n&&!!e.parent&&(27===n.kind||26===n.kind&&189===e.parent.kind)}!function(e){e[e.Remove=0]="Remove",e[e.ReplaceWithSingleNode=1]="ReplaceWithSingleNode",e[e.ReplaceWithMultipleNodes=2]="ReplaceWithMultipleNodes",e[e.Text=3]="Text"}(d||(d={}));var _,v=function(){function n(n,t){this.newLineCharacter=n,this.formatContext=t,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=e.createMap(),this.deletedNodes=[]}return n.fromContext=function(t){return new n(e.getNewLineOrDefaultFromHost(t.host,t.formatContext.options),t.formatContext)},n.with=function(e,t){var r=n.fromContext(e);return t(r),r.getChanges()},n.prototype.deleteRange=function(e,n){this.changes.push({kind:d.Remove,sourceFile:e,range:n})},n.prototype.delete=function(e,n){this.deletedNodes.push({sourceFile:e,node:n})},n.prototype.deleteModifier=function(n,t){this.deleteRange(n,{pos:t.getStart(n),end:e.skipTrivia(n.text,t.end,!0)})},n.prototype.deleteNodeRange=function(e,n,t,r){void 0===r&&(r={leadingTriviaOption:s.IncludeAll});var a=m(e,n,r),i=f(e,t,r);this.deleteRange(e,{pos:a,end:i})},n.prototype.deleteNodeRangeExcludingEnd=function(e,n,t,r){void 0===r&&(r={leadingTriviaOption:s.IncludeAll});var a=m(e,n,r),i=void 0===t?e.text.length:m(e,t,r);this.deleteRange(e,{pos:a,end:i})},n.prototype.replaceRange=function(e,n,t,r){void 0===r&&(r={}),this.changes.push({kind:d.ReplaceWithSingleNode,sourceFile:e,range:n,options:r,node:t})},n.prototype.replaceNode=function(e,n,t,r){void 0===r&&(r=u),this.replaceRange(e,p(e,n,n,r),t,r)},n.prototype.replaceNodeRange=function(e,n,t,r,a){void 0===a&&(a=u),this.replaceRange(e,p(e,n,t,a),r,a)},n.prototype.replaceRangeWithNodes=function(e,n,t,r){void 0===r&&(r={}),this.changes.push({kind:d.ReplaceWithMultipleNodes,sourceFile:e,range:n,options:r,nodes:t})},n.prototype.replaceNodeWithNodes=function(e,n,t,r){void 0===r&&(r=u),this.replaceRangeWithNodes(e,p(e,n,n,r),t,r)},n.prototype.replaceNodeWithText=function(e,n,t){this.replaceRangeWithText(e,p(e,n,n,u),t)},n.prototype.replaceNodeRangeWithNodes=function(e,n,t,r,a){void 0===a&&(a=u),this.replaceRangeWithNodes(e,p(e,n,t,a),r,a)},n.prototype.nextCommaToken=function(n,t){var r=e.findNextToken(t,t.parent,n);return r&&27===r.kind?r:void 0},n.prototype.replacePropertyAssignment=function(e,n,t){var r=this.nextCommaToken(e,n)?"":","+this.newLineCharacter;this.replaceNode(e,n,t,{suffix:r})},n.prototype.insertNodeAt=function(n,t,r,a){void 0===a&&(a={}),this.replaceRange(n,e.createRange(t),r,a)},n.prototype.insertNodesAt=function(n,t,r,a){void 0===a&&(a={}),this.replaceRangeWithNodes(n,e.createRange(t),r,a)},n.prototype.insertNodeAtTopOfFile=function(n,t,r){var a=function(n){for(var t,r=0,a=n.statements;r"})},n.prototype.getOptionsForInsertNodeBefore=function(n,t){return e.isStatement(n)||e.isClassElement(n)?{suffix:t?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(n)?{suffix:", "}:e.isParameter(n)?{}:e.isStringLiteral(n)&&e.isImportDeclaration(n.parent)||e.isNamedImports(n)?{suffix:", "}:e.Debug.failBadSyntaxKind(n)},n.prototype.insertNodeAtConstructorStart=function(n,t,r){var a=e.firstOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeBefore(n,a,r):this.replaceConstructorBody(n,t,[r].concat(t.body.statements))},n.prototype.insertNodeAtConstructorEnd=function(n,t,r){var a=e.lastOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeAfter(n,a,r):this.replaceConstructorBody(n,t,t.body.statements.concat([r]))},n.prototype.replaceConstructorBody=function(n,t,r){this.replaceNode(n,t.body,e.createBlock(r,!0))},n.prototype.insertNodeAtEndOfScope=function(n,t,r){var a=m(n,t.getLastToken(),{});this.insertNodeAt(n,a,r,{prefix:e.isLineBreak(n.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},n.prototype.insertNodeAtClassStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtObjectStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtStartWorker=function(n,t,r){var a=t.getStart(n),o=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(a,n),a,n,this.formatContext.options)+this.formatContext.options.indentSize;this.insertNodeAt(n,b(t).pos,r,i({indentation:o},this.getInsertNodeAtStartPrefixSuffix(n,t)))},n.prototype.getInsertNodeAtStartPrefixSuffix=function(n,t){var r=e.isObjectLiteralExpression(t)?",":"";if(0===b(t).length){if(e.addToSeen(this.classesWithNodesInsertedAtStart,e.getNodeId(t),{node:t,sourceFile:n})){var a=e.positionsAreOnSameLine.apply(void 0,y(t,n).concat([n]));return{prefix:this.newLineCharacter,suffix:r+(a?this.newLineCharacter:"")}}return{prefix:"",suffix:r+this.newLineCharacter}}return{prefix:this.newLineCharacter,suffix:r}},n.prototype.insertNodeAfterComma=function(e,n,t){var r=this.insertNodeAfterWorker(e,this.nextCommaToken(e,n)||n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},n.prototype.insertNodeAfter=function(e,n,t){var r=this.insertNodeAfterWorker(e,n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},n.prototype.insertNodeAtEndOfList=function(e,n,t){this.insertNodeAt(e,n.end,t,{prefix:", "})},n.prototype.insertNodesAfter=function(n,t,r){var a=this.insertNodeAfterWorker(n,t,e.first(r));this.insertNodesAt(n,a,r,this.getInsertNodeAfterOptions(n,t))},n.prototype.insertNodeAfterWorker=function(n,t,r){var a,i;return a=t,i=r,((e.isPropertySignature(a)||e.isPropertyDeclaration(a))&&e.isClassOrTypeElement(i)&&150===i.name.kind||e.isStatementButNotDeclaration(a)&&e.isStatementButNotDeclaration(i))&&59!==n.text.charCodeAt(t.end-1)&&this.replaceRange(n,e.createRange(t.end),e.createToken(26)),f(n,t,{})},n.prototype.getInsertNodeAfterOptions=function(n,t){var r=this.getInsertNodeAfterOptionsWorker(t);return i({},r,{prefix:t.end===n.end&&e.isStatement(t)?r.prefix?"\n"+r.prefix:"\n":r.prefix})},n.prototype.getInsertNodeAfterOptionsWorker=function(n){switch(n.kind){case 241:case 245:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 238:case 10:case 73:return{prefix:", "};case 276:return{suffix:","+this.newLineCharacter};case 86:return{prefix:" "};case 152:return{};default:return e.Debug.assert(e.isStatement(n)||e.isClassOrTypeElement(n)),{suffix:this.newLineCharacter}}},n.prototype.insertName=function(n,t,r){if(e.Debug.assert(!t.name),198===t.kind){var a=e.findChildOfKind(t,37,n),i=e.findChildOfKind(t,20,n);i?(this.insertNodesAt(n,i.getStart(n),[e.createToken(91),e.createIdentifier(r)],{joiner:" "}),C(this,n,a)):(this.insertText(n,e.first(t.parameters).getStart(n),"function "+r+"("),this.replaceRange(n,a,e.createToken(21))),219!==t.body.kind&&(this.insertNodesAt(n,t.body.getStart(n),[e.createToken(18),e.createToken(98)],{joiner:" ",suffix:" "}),this.insertNodesAt(n,t.body.end,[e.createToken(26),e.createToken(19)],{joiner:" "}))}else{var o=e.findChildOfKind(t,197===t.kind?91:77,n).end;this.insertNodeAt(n,o,e.createIdentifier(r),{prefix:" "})}},n.prototype.insertExportModifier=function(e,n){this.insertText(e,n.getStart(e),"export ")},n.prototype.insertNodeInListAfter=function(n,t,r,a){if(void 0===a&&(a=e.formatting.SmartIndenter.getContainingList(t,n)),a){var i=e.indexOfNode(a,t);if(!(i<0)){var o=t.getEnd();if(i!==a.length-1){var s=e.getTokenAtPosition(n,t.end);if(s&&g(t,s)){var l=e.getLineAndCharacterOfPosition(n,c(n.text,a[i+1].getFullStart())),d=e.getLineAndCharacterOfPosition(n,s.end),u=void 0,p=void 0;d.line===l.line?(p=s.end,u=function(e){for(var n="",t=0;t=0;r--){var a=t[r],i=a.span,o=a.newText;n=""+n.substring(0,i.start)+o+n.substring(e.textSpanEnd(i))}return n}function T(n){var r=e.visitEachChild(n,T,e.nullTransformationContext,S,T),i=e.nodeIsSynthesized(r)?r:Object.create(r);return i.pos=t(n),i.end=a(n),i}function S(n,r,i,o,s){var l=e.visitNodes(n,r,i,o,s);if(!l)return l;var c=l===n?e.createNodeArray(l.slice(0)):l;return c.pos=t(n),c.end=a(n),c}n.ChangeTracker=v,n.getNewFileText=function(e,n,t,r){return _.newFileChangesWorker(void 0,n,e,t,r)},function(n){function t(n,t,a,i,o){var s=a.map((function(e){return r(e,n,i).text})).join(i),l=e.createSourceFile("any file name",s,8,!0,t);return E(s,e.formatting.formatDocument(l,o))+i}function r(n,t,r){var a=new x(r),i="\n"===r?1:0;return e.createPrinter({newLine:i,neverAsciiEscape:!0},a).writeNode(4,n,t,a),{text:a.getText(),node:T(n)}}n.getTextChangesFromChanges=function(n,t,a,i){return e.group(n,(function(e){return e.sourceFile.path})).map((function(n){for(var o=n[0].sourceFile,s=e.stableSort(n,(function(e,n){return e.range.pos-n.range.pos||e.range.end-n.range.end})),l=function(n){e.Debug.assert(s[n].range.end<=s[n+1].range.pos,"Changes overlap",(function(){return JSON.stringify(s[n].range)+" and "+JSON.stringify(s[n+1].range)}))},c=0;c-1,"Parameter not found in parent parameter list.");var s=e.createParameter(void 0,i.modifiers,i.dotDotDotToken,"arg"+o,i.questionToken,e.createTypeReferenceNode(a,void 0),i.initializer);n.replaceNode(t,a,s)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Add_parameter_name,t,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(c||(c={})),function(e){!function(n){var t="annotateWithTypeFromJSDoc",r=[e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.tryCast(e.isParameter(r.parent)?r.parent.parent:r.parent,i)}function i(n){return function(n){return e.isFunctionLikeDeclaration(n)||238===n.kind||154===n.kind||155===n.kind}(n)&&o(n)}function o(n){return e.isFunctionLikeDeclaration(n)?n.parameters.some(o)||!n.type&&!!e.getJSDocReturnType(n):!n.type&&!!e.getJSDocType(n)}function s(n,t,r){if(e.isFunctionLikeDeclaration(r)&&(e.getJSDocReturnType(r)||r.parameters.some((function(n){return!!e.getJSDocType(n)})))){if(!r.typeParameters){var a=e.getJSDocTypeParameterDeclarations(r);a.length&&n.insertTypeParameters(t,r,a)}var i=e.isArrowFunction(r)&&!e.findChildOfKind(r,20,t);i&&n.insertNodeBefore(t,e.first(r.parameters),e.createToken(20));for(var o=0,s=r.parameters;on&&(r?i=e.concatenate(i,e.map(l.argumentTypes.slice(n),(function(e){return a.getBaseTypeOfLiteralType(e)}))):i.push(a.getBaseTypeOfLiteralType(l.argumentTypes[n])))}if(i.length){var c=a.getWidenedType(a.getUnionType(i,2));return r?a.createArrayType(c):c}}function l(n,t){for(var r=[],a=0;a0)return A;var C=g(o.checker.getTypeAtLocation(n),o.checker).getReturnType(),D=e.getSynthesizedDeepClone(h),k=o.checker.getPromisedTypeOfPromise(C)?e.createAwait(D):D;if(l)return[e.createReturn(k)];var M=m(t,k,o);return t&&t.types.push(C),M;default:i=!1}return e.emptyArray}function g(n,t){var r=t.getSignaturesOfType(n,0);return e.lastOrUndefined(r)}function _(n,t,r){for(var a=[],i=0,o=t;i0)return}else e.isFunctionLike(i)||e.forEachChild(i,t)}))}return a}function v(n,t){var r,a=[];e.isFunctionLikeDeclaration(n)?n.parameters.length>0&&(r=function n(t){if(e.isIdentifier(t))return i(t);var r=e.flatMap(t.elements,(function(t){return e.isOmittedExpression(t)?[]:[n(t.name)]}));return function(n,t,r){void 0===t&&(t=e.emptyArray);void 0===r&&(r=[]);return{kind:1,bindingPattern:n,elements:t,types:r}}(t,r)}(n.parameters[0].name)):e.isIdentifier(n)&&(r=i(n));if(r&&(!("identifier"in r)||"undefined"!==r.identifier.text))return r;function i(n){var r,i=function(e){return e.symbol?e.symbol:t.checker.getSymbolAtLocation(e)}((r=n).original?r.original:r);return i&&t.synthNamesMap.get(e.getSymbolId(i).toString())||b(n,a,0)}}function h(n){return!n||(E(n)?!n.identifier.text:e.every(n.elements,h))}function y(e){return E(e)?e.identifier:e.bindingPattern}function b(e,n,t){return void 0===n&&(n=[]),void 0===t&&(t=0),{kind:0,identifier:e,types:n,numberOfAssignmentsOriginal:t}}function E(e){return 0===e.kind}n.registerCodeFix({errorCodes:a,getCodeActions:function(t){i=!0;var a=e.textChanges.ChangeTracker.with(t,(function(e){return o(e,t.sourceFile,t.span.start,t.program.getTypeChecker(),t)}));return i?[n.createCodeFixAction(r,a,e.Diagnostics.Convert_to_async_function,r,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[r],getAllCodeActions:function(e){return n.codeFixAll(e,a,(function(n,t){return o(n,t.file,t.start,e.program.getTypeChecker(),e)}))}}),function(e){e[e.Identifier=0]="Identifier",e[e.BindingPattern=1]="BindingPattern"}(t||(t={}))}(e.codefix||(e.codefix={}))}(c||(c={})),function(e){!function(n){function t(n,t,r,a){for(var i=0,o=n.imports;i1?[[i(r),o(r)],!0]:[[o(r)],!0]:[[i(r)],!1]}(d.arguments[0],t):void 0;return u?(a.replaceNodeWithNodes(n,r.parent,u[0]),u[1]):(a.replaceRangeWithText(n,e.createRange(l.getStart(n),d.pos),"export default"),!0)}a.delete(n,r.parent)}else e.isExportsOrModuleExportsOrAlias(n,l.expression)&&function(n,t,r,a){var i=t.left.name.text,o=a.get(i);if(void 0!==o){var s=[p(void 0,o,t.right),m([e.createExportSpecifier(o,i)])];r.replaceNodeWithNodes(n,t.parent,s)}else!function(n,t,r){var a=n.left,i=n.right,o=n.parent,s=a.name.text;if(!(e.isFunctionExpression(i)||e.isArrowFunction(i)||e.isClassExpression(i))||i.name&&i.name.text!==s)r.replaceNodeRangeWithNodes(t,a.expression,e.findChildOfKind(a,24,t),[e.createToken(86),e.createToken(78)],{joiner:" ",suffix:" "});else{r.replaceRange(t,{pos:a.getStart(t),end:i.getStart(t)},e.createToken(86),{suffix:" "}),i.name||r.insertName(t,i,s);var l=e.findChildOfKind(o,26,t);l&&r.delete(t,l)}}(t,n,r)}(n,r,a,s);return!1}(t,a,h,l,_)}default:return!1}}function i(e){return m(void 0,e)}function o(n){return m([e.createExportSpecifier(void 0,"default")],n)}function s(e,n){for(;n.original.has(e)||n.additional.has(e);)e="_"+e;return n.additional.set(e,!0),e}function l(n){var t=e.createMultiMap();return function n(t,r){e.isIdentifier(t)&&function(e){var n=e.parent;switch(n.kind){case 190:return n.name!==e;case 187:case 254:return n.propertyName!==e;default:return!0}}(t)&&r(t);t.forEachChild((function(e){return n(e,r)}))}(n,(function(e){return t.add(e.text,e)})),t}function c(n,t,r){return e.createFunctionDeclaration(e.getSynthesizedDeepClones(r.decorators),e.concatenate(t,e.getSynthesizedDeepClones(r.modifiers)),e.getSynthesizedDeepClone(r.asteriskToken),n,e.getSynthesizedDeepClones(r.typeParameters),e.getSynthesizedDeepClones(r.parameters),e.getSynthesizedDeepClone(r.type),e.convertToFunctionBody(e.getSynthesizedDeepClone(r.body)))}function d(n,t,r,a){return"default"===t?e.makeImport(e.createIdentifier(n),void 0,r,a):e.makeImport(void 0,[u(t,n)],r,a)}function u(n,t){return e.createImportSpecifier(void 0!==n&&n!==t?e.createIdentifier(n):void 0,e.createIdentifier(t))}function p(n,t,r){return e.createVariableStatement(n,e.createVariableDeclarationList([e.createVariableDeclaration(t,void 0,r)],2))}function m(n,t){return e.createExportDeclaration(void 0,void 0,n&&e.createNamedExports(n),void 0===t?void 0:e.createLiteral(t))}n.registerCodeFix({errorCodes:[e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(i){var o=i.sourceFile,c=i.program,d=i.preferences,u=e.textChanges.ChangeTracker.with(i,(function(n){if(function(n,t,i,o,c){var d={original:l(n),additional:e.createMap()},u=function(n,t,a){var i=e.createMap();return r(n,(function(n){var r=n.name,o=r.text,l=r.originalKeywordKind;!i.has(o)&&(void 0!==l&&e.isNonContextualKeyword(l)||t.resolveName(n.name.text,n,67220415,!0))&&i.set(o,s("_"+o,a))})),i}(n,t,d);!function(n,t,a){r(n,(function(r,i){if(!i){var o=r.name.text;a.replaceNode(n,r,e.createIdentifier(t.get(o)||o))}}))}(n,u,i);for(var p=!1,m=0,f=n.statements;m0&&(!e.isIdentifier(r.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(r.name,a,t))?r.modifiers.forEach((function(e){n.deleteModifier(t,e)})):(n.delete(t,r),function(n,t,r,a,i){e.FindAllReferences.Core.eachSignatureCall(r.parent,a,i,(function(e){var a=r.parent.parameters.indexOf(r);e.arguments.length>a&&n.delete(t,e.arguments[a])}))}(n,t,r,i,a)))}n.registerCodeFix({errorCodes:o,getCodeActions:function(a){var o=a.errorCode,g=a.sourceFile,_=a.program,v=_.getTypeChecker(),h=_.getSourceFiles(),y=e.getTokenAtPosition(g,a.span.start);if(e.isJSDocTemplateTag(y))return[l(e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(g,y)})),e.Diagnostics.Remove_template_tag)];if(28===y.kind)return[l(L=e.textChanges.ChangeTracker.with(a,(function(e){return c(e,g,y)})),e.Diagnostics.Remove_type_parameters)];var b=d(y);if(b)return[l(L=e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(g,b)})),[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(b)])];var E=e.textChanges.ChangeTracker.with(a,(function(e){return u(y,e,g,v,h,!1)}));if(E.length)return[l(E,e.Diagnostics.Remove_destructuring)];var T=e.textChanges.ChangeTracker.with(a,(function(e){return p(g,y,e)}));if(T.length)return[l(T,e.Diagnostics.Remove_variable_statement)];var S=[];if(128===y.kind){var L=e.textChanges.ChangeTracker.with(a,(function(e){return s(e,g,y)})),x=e.cast(y.parent,e.isInferTypeNode).typeParameter.name.text;S.push(n.createCodeFixAction(t,L,[e.Diagnostics.Replace_infer_0_with_unknown,x],i,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var A=e.textChanges.ChangeTracker.with(a,(function(e){return f(g,y,e,v,h,!1)}));if(A.length){x=e.isComputedPropertyName(y.parent)?y.parent:y;S.push(l(A,[e.Diagnostics.Remove_declaration_for_Colon_0,x.getText(g)]))}}var C=e.textChanges.ChangeTracker.with(a,(function(e){return m(e,o,g,y)}));return C.length&&S.push(n.createCodeFixAction(t,C,[e.Diagnostics.Prefix_0_with_an_underscore,y.getText(g)],r,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),S},fixIds:[r,a,i],getAllCodeActions:function(t){var l=t.sourceFile,g=t.program,_=g.getTypeChecker(),v=g.getSourceFiles();return n.codeFixAll(t,o,(function(n,o){var g=e.getTokenAtPosition(l,o.start);switch(t.fixId){case r:m(n,o.code,l,g);break;case a:if(128===g.kind)break;var h=d(g);h?n.delete(l,h):e.isJSDocTemplateTag(g)?n.delete(l,g):28===g.kind?c(n,l,g):u(g,n,l,_,v,!0)||p(l,g,n)||f(l,g,n,_,v,!0);break;case i:128===g.kind&&s(n,l,g);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})}(e.codefix||(e.codefix={}))}(c||(c={})),function(e){!function(n){var t="fixUnreachableCode",r=[e.Diagnostics.Unreachable_code_detected.code];function a(n,t,r,a){var i=e.getTokenAtPosition(t,r),o=e.findAncestor(i,e.isStatement);e.Debug.assert(o.getStart(t)===i.getStart(t));var s=(e.isBlock(o.parent)?o.parent:o).parent;if(!e.isBlock(o.parent)||o===e.first(o.parent.statements))switch(s.kind){case 223:if(s.elseStatement){if(e.isBlock(o.parent))break;return void n.replaceNode(t,o,e.createBlock(e.emptyArray))}case 225:case 226:return void n.delete(t,s)}if(e.isBlock(o.parent)){var l=r+a,c=e.Debug.assertDefined(function(e,n){for(var t,r=0,a=e;rh.length)E(d.getSignatureFromDeclaration(c[c.length-1]),f,p,o(s));else e.Debug.assert(c.length===h.length),l(function(n,t,r,a,s){for(var l=n[0],c=n[0].minArgumentCount,d=!1,u=0,p=n;u=l.parameters.length&&(!m.hasRestParameter||l.hasRestParameter)&&(l=m)}var f=l.parameters.length-(l.hasRestParameter?1:0),g=l.parameters.map((function(e){return e.name})),_=i(f,g,void 0,c,!1);if(d){var v=e.createArrayTypeNode(e.createKeywordTypeNode(121)),h=e.createParameter(void 0,void 0,e.createToken(25),g[f]||"rest",f>=c?e.createToken(56):void 0,v,void 0);_.push(h)}return function(n,t,r,a,i,s,l){return e.createMethod(void 0,n,void 0,t,r?e.createToken(56):void 0,a,i,s,o(l))}(a,t,r,void 0,_,void 0,s)}(h,p,_,f,s))}}function E(n,i,o,s){var c=function(n,t,a,i,o,s,l){var c=n.program.getTypeChecker().signatureToSignatureDeclaration(t,157,a,257,r(n));if(!c)return;return c.decorators=void 0,c.modifiers=i,c.name=o,c.questionToken=s?e.createToken(56):void 0,c.body=l,c}(a,n,t,i,o,_,s);c&&l(c)}}function i(n,t,r,a,i){for(var o=[],s=0;s=a?e.createToken(56):void 0,i?void 0:r&&r[s]||e.createKeywordTypeNode(121),void 0);o.push(l)}return o}function o(n){return e.createBlock([e.createThrow(e.createNew(e.createIdentifier("Error"),void 0,[e.createLiteral("Method not implemented.","single"===n.quotePreference)]))],!0)}function s(n,t){return e.createPropertyAssignment(e.createStringLiteral(n),t)}function l(n,t){return e.find(n.properties,(function(n){return e.isPropertyAssignment(n)&&!!n.name&&e.isStringLiteral(n.name)&&n.name.text===t}))}n.createMissingMemberNodes=function(e,n,t,r,i){for(var o=e.symbol.members,s=0,l=n;s0;if(e.isBlock(n)&&!s&&0===a.size)return{body:e.createBlock(n.statements,!0),returnValueProperty:void 0};var l=!1,c=e.createNodeArray(e.isBlock(n)?n.statements.slice(0):[e.isStatement(n)?n:e.createReturn(n)]);if(s||a.size){var d=e.visitNodes(c,(function n(i){if(!l&&231===i.kind&&s){var c=g(t,r);return i.expression&&(o||(o="__return"),c.unshift(e.createPropertyAssignment(o,e.visitNode(i.expression,n)))),1===c.length?e.createReturn(c[0].name):e.createReturn(e.createObjectLiteral(c))}var d=l;l=l||e.isFunctionLikeDeclaration(i)||e.isClassLike(i);var u=a.get(e.getNodeId(i).toString()),p=u?e.getSynthesizedDeepClone(u):e.visitEachChild(i,n,e.nullTransformationContext);return l=d,p})).slice();if(s&&!i&&e.isStatement(n)){var u=g(t,r);1===u.length?d.push(e.createReturn(u[0].name)):d.push(e.createReturn(e.createObjectLiteral(u)))}return{body:e.createBlock(d,!0),returnValueProperty:o}}return{body:e.createBlock(c,!0),returnValueProperty:void 0}}(n,i,c,p,!!(o.facts&a.HasReturn)),M=k.body,O=k.returnValueProperty;if(e.suppressLeadingAndTrailingTrivia(M),e.isClassLike(t)){var I=b?[]:[e.createToken(114)];o.facts&a.InStaticRegion&&I.push(e.createToken(117)),o.facts&a.IsAsyncFunction&&I.push(e.createToken(122)),D=e.createMethod(void 0,I.length?I:void 0,o.facts&a.IsGenerator?e.createToken(40):void 0,E,void 0,x,T,l,M)}else D=e.createFunctionDeclaration(void 0,o.facts&a.IsAsyncFunction?[e.createToken(122)]:void 0,o.facts&a.IsGenerator?e.createToken(40):void 0,E,x,T,l,M);var R=e.textChanges.ChangeTracker.fromContext(s),w=function(n,t){return e.find(function(n){if(e.isFunctionLikeDeclaration(n)){var t=n.body;if(e.isBlock(t))return t.statements}else{if(e.isModuleBlock(n)||e.isSourceFile(n))return n.statements;if(e.isClassLike(n))return n.members;e.assertType(n)}return e.emptyArray}(t),(function(t){return t.pos>=n&&e.isFunctionLikeDeclaration(t)&&!e.isConstructorDeclaration(t)}))}((_(o.range)?e.last(o.range):o.range).end,t);w?R.insertNodeBefore(s.file,w,D,!0):R.insertNodeAtEndOfScope(s.file,t,D);var N=[],P=function(n,t,r){var i=e.createIdentifier(r);if(e.isClassLike(n)){var o=t.facts&a.InStaticRegion?e.createIdentifier(n.name.text):e.createThis();return e.createPropertyAccess(o,i)}return i}(t,o,y),F=e.createCall(P,A,S);o.facts&a.IsGenerator&&(F=e.createYield(e.createToken(40),F));o.facts&a.IsAsyncFunction&&(F=e.createAwait(F));if(i.length&&!c)if(e.Debug.assert(!O),e.Debug.assert(!(o.facts&a.HasReturn)),1===i.length){var G=i[0];N.push(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedDeepClone(G.name),e.getSynthesizedDeepClone(G.type),F)],G.parent.flags)))}else{for(var V=[],B=[],H=i[0].parent.flags,K=!1,j=0,U=i;j0);for(var i=!0,o=0,s=a;on)return r||a[0];if(i&&!e.isPropertyDeclaration(l)){if(void 0!==r)return l;i=!1}r=l}return void 0===r?e.Debug.fail():r}(n.pos,t);g.insertNodeBefore(o.file,b,h,!0),g.replaceNode(o.file,n,y)}else{var E=e.createVariableDeclaration(d,m,f),T=function(n,t){var r;for(;void 0!==n&&n!==t;){if(e.isVariableDeclaration(n)&&n.initializer===r&&e.isVariableDeclarationList(n.parent)&&n.parent.declarations.length>1)return n;r=n,n=n.parent}}(n,t);if(T){g.insertNodeBefore(o.file,T,E);y=e.createIdentifier(d);g.replaceNode(o.file,n,y)}else if(222===n.parent.kind&&t===e.findAncestor(n,u)){var S=e.createVariableStatement(void 0,e.createVariableDeclarationList([E],2));g.replaceNode(o.file,n.parent,S)}else{S=e.createVariableStatement(void 0,e.createVariableDeclarationList([E],2));if(0===(b=function(n,t){var r;e.Debug.assert(!e.isClassLike(t));for(var a=n;a!==t;a=a.parent)u(a)&&(r=a);for(a=(r||n).parent;;a=a.parent){if(v(a)){for(var i=void 0,o=0,s=a.statements;on.pos)break;i=l}return!i&&e.isCaseClause(a)?(e.Debug.assert(e.isSwitchStatement(a.parent.parent)),a.parent.parent):e.Debug.assertDefined(i)}e.Debug.assert(a!==t,"Didn't encounter a block-like before encountering scope")}}(n,t)).pos?g.insertNodeAtTopOfFile(o.file,S,!1):g.insertNodeBefore(o.file,b,S,!1),222===n.parent.kind)g.delete(o.file,n.parent);else{y=e.createIdentifier(d);g.replaceNode(o.file,n,y)}}}var L=g.getChanges(),x=n.getSourceFile().fileName,A=e.getRenameLocation(L,x,d,!0);return{renameFilename:x,renameLocation:A,edits:L}}(e.isExpression(l)?l:l.statements[0].expression,o[r],c[r],n.facts,t)}(r,n,o)}e.Debug.fail("Unrecognized action name")}function c(n,t){var i=t.length;if(0===i)return{errors:[e.createFileDiagnostic(n,t.start,i,r.cannotExtractEmpty)]};var o=e.getParentNodeInSpan(e.getTokenAtPosition(n,t.start),n,t),s=e.getParentNodeInSpan(e.findTokenOnLeftOfPosition(n,e.textSpanEnd(t)),n,t),l=[],c=a.None;if(!o||!s)return{errors:[e.createFileDiagnostic(n,t.start,i,r.cannotExtractRange)]};if(o.parent!==s.parent)return{errors:[e.createFileDiagnostic(n,t.start,i,r.cannotExtractRange)]};if(o!==s){if(!v(o.parent))return{errors:[e.createFileDiagnostic(n,t.start,i,r.cannotExtractRange)]};for(var u=[],p=0,m=o.parent.statements;p=t.start+t.length)return(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractSuper)),!0}else c|=a.UsesThis}if(e.isFunctionLikeDeclaration(i)||e.isClassLike(i)){switch(i.kind){case 240:case 241:e.isSourceFile(i.parent)&&void 0===i.parent.externalModuleIndicator&&(o||(o=[])).push(e.createDiagnosticForNode(i,r.functionWillNotBeVisibleInTheNewScope))}return!1}var m=u;switch(i.kind){case 223:case 236:u=0;break;case 219:i.parent&&236===i.parent.kind&&i.parent.finallyBlock===i&&(u=4);break;case 272:u|=1;break;default:e.isIterationStatement(i,!1)&&(u|=3)}switch(i.kind){case 179:case 101:c|=a.UsesThis;break;case 234:var f=i.label;(d||(d=[])).push(f.escapedText),e.forEachChild(i,n),d.pop();break;case 230:case 229:(f=i.label)?e.contains(d,f.escapedText)||(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):u&(230===i.kind?1:2)||(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 202:c|=a.IsAsyncFunction;break;case 208:c|=a.IsGenerator;break;case 231:4&u?c|=a.HasReturn:(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(i,n)}u=m}(n),o}}function d(n){return e.isStatement(n)?[n]:e.isExpressionNode(n)?e.isExpressionStatement(n.parent)?[n.parent]:n:void 0}function u(n){return e.isFunctionLikeDeclaration(n)||e.isSourceFile(n)||e.isModuleBlock(n)||e.isClassLike(n)}function p(n,t){var i=t.file,o=function(n){var t=_(n.range)?e.first(n.range):n.range;if(n.facts&a.UsesThis){var r=e.getContainingClass(t);if(r){var i=e.findAncestor(t,e.isFunctionLikeDeclaration);return i?[i,r]:[r]}}for(var o=[];;)if(152===(t=t.parent).kind&&(t=e.findAncestor(t,(function(n){return e.isFunctionLikeDeclaration(n)})).parent),u(t)&&(o.push(t),285===t.kind))return o}(n);return{scopes:o,readsAndWrites:function(n,t,i,o,s,l){var c,d,u=e.createMap(),p=[],m=[],f=[],g=[],v=[],h=e.createMap(),y=[],b=_(n.range)?1===n.range.length&&e.isExpressionStatement(n.range[0])?n.range[0].expression:void 0:n.range;if(void 0===b){var E=n.range,T=e.first(E).getStart(),S=e.last(E).end;d=e.createFileDiagnostic(o,T,S-T,r.expressionExpected)}else 147456&s.getTypeAtLocation(b).flags&&(d=e.createDiagnosticForNode(b,r.uselessConstantType));for(var L=0,x=t;L=c)return _;if(D.set(_,c),v){for(var h=0,y=p;h0){for(var R=e.createMap(),w=0,N=M;void 0!==N&&w=0)return;var a=e.isIdentifier(r)?U(r):s.getSymbolAtLocation(r);if(a){var i=e.find(v,(function(e){return e.symbol===a}));if(i)if(e.isVariableDeclaration(i)){var o=i.symbol.id.toString();h.has(o)||(y.push(i),h.set(o,!0))}else c=c||i}e.forEachChild(r,t)}))}for(var H=function(t){var a=p[t];if(t>0&&(a.usages.size>0||a.typeParameterUsages.size>0)){var i=_(n.range)?n.range[0]:n.range;g[t].push(e.createDiagnosticForNode(i,r.cannotAccessVariablesFromNestedScopes))}var o,s=!1;if(p[t].usages.forEach((function(n){2===n.usage&&(s=!0,106500&n.symbol.flags&&n.symbol.valueDeclaration&&e.hasModifier(n.symbol.valueDeclaration,64)&&(o=n.symbol.valueDeclaration))})),e.Debug.assert(_(n.range)||0===y.length),s&&!_(n.range)){var l=e.createDiagnosticForNode(n.range,r.cannotWriteInExpression);f[t].push(l),g[t].push(l)}else if(o&&t>0){l=e.createDiagnosticForNode(o,r.cannotExtractReadonlyPropertyInitializerOutsideConstructor);f[t].push(l),g[t].push(l)}else if(c){l=e.createDiagnosticForNode(c,r.cannotExtractExportedEntity);f[t].push(l),g[t].push(l)}},K=0;Kr.pos}));if(-1!==i){var o=a[i];if(e.isNamedDeclaration(o)&&o.name&&e.rangeContainsRange(o.name,r))return{toMove:[a[i]],afterLast:a[i+1]};if(!(r.pos>o.getStart(t))){var s=e.findIndex(a,(function(e){return e.end>r.end}),i);if(-1===s||!(0===s||a[s].getStart(t)=2&&e.every(n,(function(n){return function(n,t){if(e.isRestParameter(n)){var r=t.getTypeAtLocation(n);if(!t.isArrayType(r)&&!t.isTupleType(r))return!1}return!n.modifiers&&!n.decorators&&e.isIdentifier(n.name)}(n,t)}))}(n.parameters,t))return!1;switch(n.kind){case 240:return u(n)&&d(n,t);case 157:return d(n,t);case 158:return e.isClassDeclaration(n.parent)?u(n.parent)&&d(n,t):p(n.parent.parent)&&d(n,t);case 197:case 198:return p(n.parent)}return!1}(i,r)&&e.rangeContainsRange(i,a))||i.body&&e.rangeContainsRange(i.body,a)?void 0:i}function d(e,n){return!!e.body&&!n.isImplementationOfOverload(e)}function u(n){return!!n.name||!!e.findModifier(n,81)}function p(n){return e.isVariableDeclaration(n)&&e.isVarConst(n)&&e.isIdentifier(n.name)&&!n.type}function m(n){return n.length>0&&e.isThis(n[0].name)}function f(n){return m(n)&&(n=e.createNodeArray(n.slice(1),n.hasTrailingComma)),n}function g(n,t){var r=f(n.parameters),a=e.isRestParameter(e.last(r)),i=a?t.slice(0,r.length-1):t,o=e.map(i,(function(n,t){var a,i,o=v(r[t]),s=(a=o,i=n,e.isIdentifier(i)&&e.getTextOfIdentifierOrLiteral(i)===a?e.createShorthandPropertyAssignment(a):e.createPropertyAssignment(a,i));return e.suppressLeadingAndTrailingTrivia(s.name),e.isPropertyAssignment(s)&&e.suppressLeadingAndTrailingTrivia(s.initializer),_(n,s),s}));if(a&&t.length>=r.length){var s=t.slice(r.length-1),l=e.createPropertyAssignment(v(e.last(r)),e.createArrayLiteral(s));o.push(l)}return e.createObjectLiteral(o,!1)}function _(n,t){var r=n.getSourceFile();!function(e,n){for(var t=e.getFullStart(),r=e.getStart(),a=t;a311}));return r.kind<149?r:r.getFirstToken(n)}},t.prototype.getLastToken=function(n){this.assertHasRealPosition();var t=this.getChildren(n),r=e.lastOrUndefined(t);if(r)return r.kind<149?r:r.getLastToken(n)},t.prototype.forEachChild=function(n,t){return e.forEachChild(this,n,t)},t}();function a(t,r,a,i){for(e.scanner.setTextPos(r);r=r.length&&(n=this.getEnd()),n||(n=r[t+1]-1);var a=this.getFullText();return"\n"===a[n]&&"\r"===a[n-1]?n-1:n},t.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},t.prototype.computeNamedDeclarations=function(){var n=e.createMultiMap();return this.forEachChild((function a(i){switch(i.kind){case 240:case 197:case 157:case 156:var o=i,s=r(o);if(s){var l=function(e){var t=n.get(e);t||n.set(e,t=[]);return t}(s),c=e.lastOrUndefined(l);c&&o.parent===c.parent&&o.symbol===c.symbol?o.body&&!c.body&&(l[l.length-1]=o):l.push(o)}e.forEachChild(i,a);break;case 241:case 210:case 242:case 243:case 244:case 245:case 249:case 258:case 254:case 251:case 252:case 159:case 160:case 169:t(i),e.forEachChild(i,a);break;case 152:if(!e.hasModifier(i,92))break;case 238:case 187:var d=i;if(e.isBindingPattern(d.name)){e.forEachChild(d.name,a);break}d.initializer&&a(d.initializer);case 279:case 155:case 154:t(i);break;case 256:i.exportClause&&e.forEach(i.exportClause.elements,a);break;case 250:var u=i.importClause;u&&(u.name&&t(u.name),u.namedBindings&&(252===u.namedBindings.kind?t(u.namedBindings):e.forEach(u.namedBindings.elements,a)));break;case 205:0!==e.getAssignmentDeclarationKind(i)&&t(i);default:e.forEachChild(i,a)}})),n;function t(e){var t=r(e);t&&n.add(t,e)}function r(n){var t=e.getNonAssignedNameOfDeclaration(n);return t&&(e.isComputedPropertyName(t)&&e.isPropertyAccessExpression(t.expression)?t.expression.name.text:e.isPropertyName(t)?e.getNameFromPropertyName(t):void 0)}},t}(t),v=function(){function n(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t}return n.prototype.getLineAndCharacterOfPosition=function(n){return e.getLineAndCharacterOfPosition(this,n)},n}();function h(n){var t=!0;for(var r in n)if(e.hasProperty(n,r)&&!y(r)){t=!1;break}if(t)return n;var a={};for(var r in n){if(e.hasProperty(n,r))a[y(r)?r:r.charAt(0).toLowerCase()+r.substr(1)]=n[r]}return a}function y(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function b(){return{target:1,jsx:1}}e.toEditorSettings=h,e.displayPartsToString=function(n){return n?e.map(n,(function(e){return e.text})).join(""):""},e.getDefaultCompilerOptions=b,e.getSupportedCodeFixes=function(){return e.codefix.getSupportedErrorCodes()};var E=function(){function n(n,t){this.host=n,this.currentDirectory=n.getCurrentDirectory(),this.fileNameToEntry=e.createMap();for(var r=0,a=n.getScriptFileNames();r=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=n,this.hostCancellationToken.isCancellationRequested())},n.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw new e.OperationCanceledException},n}();function D(n){var t=function(n){switch(n.kind){case 10:case 8:if(150===n.parent.kind)return e.isObjectLiteralElement(n.parent.parent)?n.parent.parent:void 0;case 73:return!e.isObjectLiteralElement(n.parent)||189!==n.parent.parent.kind&&269!==n.parent.parent.kind||n.parent.name!==n?void 0:n.parent}return}(n);return t&&(e.isObjectLiteralExpression(t.parent)||e.isJsxAttributes(t.parent))?t:void 0}function k(n,t,r,a){var i=e.getNameFromPropertyName(n.name);if(!i)return e.emptyArray;if(!r.isUnion())return(o=r.getProperty(i))?[o]:e.emptyArray;var o,s=e.mapDefined(r.types,(function(r){return e.isObjectLiteralExpression(n.parent)&&t.isTypeInvalidDueToUnionDiscriminant(r,n.parent)?void 0:r.getProperty(i)}));if(a&&(0===s.length||s.length===r.types.length)&&(o=r.getProperty(i)))return[o];return 0===s.length?e.mapDefined(r.types,(function(e){return e.getProperty(i)})):s}e.ThrottledCancellationToken=C,e.createLanguageService=function(n,t,r){var a;void 0===t&&(t=e.createDocumentRegistry(n.useCaseSensitiveFileNames&&n.useCaseSensitiveFileNames(),n.getCurrentDirectory())),void 0===r&&(r=!1);var o,s,l=new T(n),c=0,d=new A(n.getCancellationToken&&n.getCancellationToken()),u=n.getCurrentDirectory();function p(e){n.log&&n.log(e)}!e.localizedDiagnosticMessages&&n.getLocalizedDiagnosticMessages&&(e.localizedDiagnosticMessages=n.getLocalizedDiagnosticMessages());var m=e.hostUsesCaseSensitiveFileNames(n),f=e.createGetCanonicalFileName(m),g=e.getSourceMapper({useCaseSensitiveFileNames:function(){return m},getCurrentDirectory:function(){return u},getProgram:y,fileExists:n.fileExists&&function(e){return n.fileExists(e)},readFile:n.readFile&&function(e,t){return n.readFile(e,t)},getDocumentPositionMapper:n.getDocumentPositionMapper&&function(e,t){return n.getDocumentPositionMapper(e,t)},getSourceFileLike:n.getSourceFileLike&&function(e){return n.getSourceFileLike(e)},log:p});function _(e){var n=o.getSourceFile(e);if(!n)throw new Error("Could not find sourceFile: '"+e+"' in "+(o&&JSON.stringify(o.getSourceFiles().map((function(e){return e.fileName}))))+".");return n}function v(){if(e.Debug.assert(!r),n.getProjectVersion){var a=n.getProjectVersion();if(a){if(s===a&&!n.hasChangedAutomaticTypeDirectiveNames)return;s=a}}var i=n.getTypeRootsVersion?n.getTypeRootsVersion():0;c!==i&&(p("TypeRoots version has changed; provide new program"),o=void 0,c=i);var l=new E(n,f),_=l.getRootFileNames(),v=n.hasInvalidatedResolution||e.returnFalse,h=l.getProjectReferences();if(!e.isProgramUptoDate(o,_,l.compilationSettings(),(function(e){return l.getVersion(e)}),L,v,!!n.hasChangedAutomaticTypeDirectiveNames,h)){var y=l.compilationSettings(),b={getSourceFile:function(n,t,r,a){return x(n,e.toPath(n,u,f),t,r,a)},getSourceFileByPath:x,getCancellationToken:function(){return d},getCanonicalFileName:f,useCaseSensitiveFileNames:function(){return m},getNewLine:function(){return e.getNewLineCharacter(y,(function(){return e.getNewLineOrDefaultFromHost(n)}))},getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:e.noop,getCurrentDirectory:function(){return u},fileExists:L,readFile:function(t){var r=e.toPath(t,u,f),a=l&&l.getEntryByPath(r);if(a)return e.isString(a)?void 0:e.getSnapshotText(a.scriptSnapshot);return n.readFile&&n.readFile(t)},realpath:n.realpath&&function(e){return n.realpath(e)},directoryExists:function(t){return e.directoryProbablyExists(t,n)},getDirectories:function(e){return n.getDirectories?n.getDirectories(e):[]},readDirectory:function(t,r,a,i,o){return e.Debug.assertDefined(n.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),n.readDirectory(t,r,a,i,o)},onReleaseOldSourceFile:function(e,n){var r=t.getKeyForCompilationSettings(n);t.releaseDocumentWithKey(e.resolvedPath,r)},hasInvalidatedResolution:v,hasChangedAutomaticTypeDirectiveNames:n.hasChangedAutomaticTypeDirectiveNames};n.trace&&(b.trace=function(e){return n.trace(e)}),n.resolveModuleNames&&(b.resolveModuleNames=function(e,t,r,a){return n.resolveModuleNames(e,t,r,a)}),n.resolveTypeReferenceDirectives&&(b.resolveTypeReferenceDirectives=function(e,t,r){return n.resolveTypeReferenceDirectives(e,t,r)});var T=t.getKeyForCompilationSettings(y),S={rootNames:_,options:y,host:b,oldProgram:o,projectReferences:h};return o=e.createProgram(S),l=void 0,g.clearCache(),void o.getTypeChecker()}function L(t){var r=e.toPath(t,u,f),a=l&&l.getEntryByPath(r);return a?!e.isString(a):!!n.fileExists&&n.fileExists(t)}function x(n,r,a,i,s){e.Debug.assert(void 0!==l,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var c=l&&l.getOrCreateEntryByPath(n,r);if(c){if(!s){var d=o&&o.getSourceFileByPath(r);if(d)return e.Debug.assertEqual(c.scriptKind,d.scriptKind,"Registered script kind should match new script kind.",r),t.updateDocumentWithKey(n,r,y,T,c.scriptSnapshot,c.version,c.scriptKind)}return t.acquireDocumentWithKey(n,r,y,T,c.scriptSnapshot,c.version,c.scriptKind)}}}function y(){if(!r)return v(),o;e.Debug.assert(void 0===o)}function b(n,t,r){var a=e.normalizePath(n);e.Debug.assert(r.some((function(n){return e.normalizePath(n)===a}))),v();var i=r.map(_),s=_(n);return e.DocumentHighlights.getDocumentHighlights(o,d,s,t,i)}function S(n,t,r,a){v();var i=r&&r.isForRename?o.getSourceFiles().filter((function(e){return!o.isSourceFileDefaultLibrary(e)})):o.getSourceFiles();return e.FindAllReferences.findReferenceOrRenameEntries(o,d,i,n,t,r,a)}function L(t){var r=e.getScriptKind(t,n);return 3===r||4===r}var x=e.createMapFromTemplate(((a={})[18]=19,a[20]=21,a[22]=23,a[30]=28,a));function C(t){var r;return e.Debug.assertEqual(t.type,"install package"),n.installPackage?n.installPackage({fileName:(r=t.file,e.toPath(r,u,f)),packageName:t.packageName}):Promise.reject("Host does not implement `installPackage`")}function M(t,r,a,i){var o="number"===typeof r?[r,void 0]:[r.pos,r.end];return{file:t,startPosition:o[0],endPosition:o[1],program:y(),host:n,formatContext:e.formatting.getFormatContext(i),cancellationToken:d,preferences:a}}return x.forEach((function(e,n){return x.set(e.toString(),Number(n))})),{dispose:function(){o&&(e.forEach(o.getSourceFiles(),(function(e){return t.releaseDocument(e.fileName,o.getCompilerOptions())})),o=void 0),n=void 0},cleanupSemanticCache:function(){o=void 0},getSyntacticDiagnostics:function(e){return v(),o.getSyntacticDiagnostics(_(e),d).slice()},getSemanticDiagnostics:function(n){v();var t=_(n),r=o.getSemanticDiagnostics(t,d);if(!e.getEmitDeclarations(o.getCompilerOptions()))return r.slice();var a=o.getDeclarationDiagnostics(t,d);return r.concat(a)},getSuggestionDiagnostics:function(n){return v(),e.computeSuggestionDiagnostics(_(n),o,d)},getCompilerOptionsDiagnostics:function(){return v(),o.getOptionsDiagnostics(d).concat(o.getGlobalDiagnostics(d))},getSyntacticClassifications:function(n,t){return e.getSyntacticClassifications(d,l.getCurrentSourceFile(n),t)},getSemanticClassifications:function(n,t){return L(n)?(v(),e.getSemanticClassifications(o.getTypeChecker(),d,_(n),o.getClassifiableNames(),t)):[]},getEncodedSyntacticClassifications:function(n,t){return e.getEncodedSyntacticClassifications(d,l.getCurrentSourceFile(n),t)},getEncodedSemanticClassifications:function(n,t){return L(n)?(v(),e.getEncodedSemanticClassifications(o.getTypeChecker(),d,_(n),o.getClassifiableNames(),t)):{spans:[],endOfLineState:0}},getCompletionsAtPosition:function(t,r,a){void 0===a&&(a=e.emptyOptions);var s=i({},e.identity(a),{includeCompletionsForModuleExports:a.includeCompletionsForModuleExports||a.includeExternalModuleExports,includeCompletionsWithInsertText:a.includeCompletionsWithInsertText||a.includeInsertTextCompletions});return v(),e.Completions.getCompletionsAtPosition(n,o,p,_(t),r,s,a.triggerCharacter)},getCompletionEntryDetails:function(t,r,a,i,s,l){return void 0===l&&(l=e.emptyOptions),v(),e.Completions.getCompletionEntryDetails(o,p,_(t),r,{name:a,source:s},n,i&&e.formatting.getFormatContext(i),l,d)},getCompletionEntrySymbol:function(n,t,r,a){return v(),e.Completions.getCompletionEntrySymbol(o,p,_(n),t,{name:r,source:a})},getSignatureHelpItems:function(n,t,r){var a=(void 0===r?e.emptyOptions:r).triggerReason;v();var i=_(n);return e.SignatureHelp.getSignatureHelpItems(o,i,t,a,d)},getQuickInfoAtPosition:function(n,t){v();var r=_(n),a=e.getTouchingPropertyName(r,t);if(a!==r){var i=o.getTypeChecker(),s=function(n){if(e.isNewExpression(n.parent)&&n.pos===n.parent.pos)return n.parent.expression;return n}(a),l=function(n,t){var r=D(n);if(r){var a=t.getContextualType(r.parent),i=a&&k(r,t,a,!1);if(i&&1===i.length)return e.first(i)}return t.getSymbolAtLocation(n)}(s,i);if(!l||i.isUnknownSymbol(l)){var c=function(n,t,r){switch(t.kind){case 73:return!e.isLabelName(t)&&!e.isTagName(t);case 190:case 149:return!e.isInComment(n,r);case 101:case 179:case 99:return!0;default:return!1}}(r,s,t)?i.getTypeAtLocation(s):void 0;return c&&{kind:"",kindModifiers:"",textSpan:e.createTextSpanFromNode(s,r),displayParts:i.runWithCancellationToken(d,(function(n){return e.typeToDisplayParts(n,c,e.getContainerNode(s))})),documentation:c.symbol?c.symbol.getDocumentationComment(i):void 0,tags:c.symbol?c.symbol.getJsDocTags():void 0}}var u=i.runWithCancellationToken(d,(function(n){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(n,l,r,e.getContainerNode(s),s)})),p=u.symbolKind,m=u.displayParts,f=u.documentation,g=u.tags;return{kind:p,kindModifiers:e.SymbolDisplay.getSymbolModifiers(l),textSpan:e.createTextSpanFromNode(s,r),displayParts:m,documentation:f,tags:g}}},getDefinitionAtPosition:function(n,t){return v(),e.GoToDefinition.getDefinitionAtPosition(o,_(n),t)},getDefinitionAndBoundSpan:function(n,t){return v(),e.GoToDefinition.getDefinitionAndBoundSpan(o,_(n),t)},getImplementationAtPosition:function(n,t){return v(),e.FindAllReferences.getImplementationsAtPosition(o,d,o.getSourceFiles(),_(n),t)},getTypeDefinitionAtPosition:function(n,t){return v(),e.GoToDefinition.getTypeDefinitionAtPosition(o.getTypeChecker(),_(n),t)},getReferencesAtPosition:function(n,t){return v(),S(e.getTouchingPropertyName(_(n),t),t,{},e.FindAllReferences.toReferenceEntry)},findReferences:function(n,t){return v(),e.FindAllReferences.findReferencedSymbols(o,d,o.getSourceFiles(),_(n),t)},getOccurrencesAtPosition:function(n,t){return e.flatMap(b(n,t,[n]),(function(e){return e.highlightSpans.map((function(n){return{fileName:e.fileName,textSpan:n.textSpan,isWriteAccess:"writtenReference"===n.kind,isDefinition:!1,isInString:n.isInString}}))}))},getDocumentHighlights:b,getNameOrDottedNameSpan:function(n,t,r){var a=l.getCurrentSourceFile(n),i=e.getTouchingPropertyName(a,t);if(i!==a){switch(i.kind){case 190:case 149:case 10:case 88:case 103:case 97:case 99:case 101:case 179:case 73:break;default:return}for(var o=i;;)if(e.isRightSideOfPropertyAccess(o)||e.isRightSideOfQualifiedName(o))o=o.parent;else{if(!e.isNameOfModuleDeclaration(o))break;if(245!==o.parent.parent.kind||o.parent.parent.body!==o.parent)break;o=o.parent.parent.name}return e.createTextSpanFromBounds(o.getStart(),i.getEnd())}},getBreakpointStatementAtPosition:function(n,t){var r=l.getCurrentSourceFile(n);return e.BreakpointResolver.spanInSourceFileAtLocation(r,t)},getNavigateToItems:function(n,t,r,a){void 0===a&&(a=!1),v();var i=r?[_(r)]:o.getSourceFiles();return e.NavigateTo.getNavigateToItems(i,o.getTypeChecker(),d,n,t,a)},getRenameInfo:function(n,t,r){return v(),e.Rename.getRenameInfo(o,_(n),t,r)},getSmartSelectionRange:function(n,t){return e.SmartSelectionRange.getSmartSelectionRange(t,l.getCurrentSourceFile(n))},findRenameLocations:function(n,t,r,a,i){v();var o=_(n),s=e.getTouchingPropertyName(o,t);if(e.isIdentifier(s)&&(e.isJsxOpeningElement(s.parent)||e.isJsxClosingElement(s.parent))&&e.isIntrinsicJsxName(s.escapedText)){var l=s.parent.parent;return[l.openingElement,l.closingElement].map((function(n){return{fileName:o.fileName,textSpan:e.createTextSpanFromNode(n.tagName,o)}}))}return S(s,t,{findInStrings:r,findInComments:a,providePrefixAndSuffixTextForRename:i,isForRename:!0},(function(n,t,r){return e.FindAllReferences.toRenameLocation(n,t,r,i||!1)}))},getNavigationBarItems:function(n){return e.NavigationBar.getNavigationBarItems(l.getCurrentSourceFile(n),d)},getNavigationTree:function(n){return e.NavigationBar.getNavigationTree(l.getCurrentSourceFile(n),d)},getOutliningSpans:function(n){var t=l.getCurrentSourceFile(n);return e.OutliningElementsCollector.collectElements(t,d)},getTodoComments:function(n,t){v();var r=_(n);d.throwIfCancellationRequested();var a,i,o=r.text,s=[];if(t.length>0&&(i=r.fileName,!e.stringContains(i,"/node_modules/")))for(var l=function(){var n="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",r="(?:"+e.map(t,(function(e){return"("+(e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")")})).join("|")+")";return new RegExp(n+"("+r+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim")}(),c=void 0;c=l.exec(o);){d.throwIfCancellationRequested();e.Debug.assert(c.length===t.length+3);var u=c[1],p=c.index+u.length;if(e.isInComment(r,p)){for(var m=void 0,f=0;f=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)){var g=c[2];s.push({descriptor:m,message:g,position:p})}}}return s},getBraceMatchingAtPosition:function(n,t){var r=l.getCurrentSourceFile(n),a=e.getTouchingToken(r,t),i=a.getStart(r)===t?x.get(a.kind.toString()):void 0,o=i&&e.findChildOfKind(a.parent,i,r);return o?[e.createTextSpanFromNode(a,r),e.createTextSpanFromNode(o,r)].sort((function(e,n){return e.start-n.start})):e.emptyArray},getIndentationAtPosition:function(n,t,r){var a=e.timestamp(),i=h(r),o=l.getCurrentSourceFile(n);p("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-a)),a=e.timestamp();var s=e.formatting.SmartIndenter.getIndentation(t,o,i);return p("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-a)),s},getFormattingEditsForRange:function(n,t,r,a){var i=l.getCurrentSourceFile(n);return e.formatting.formatSelection(t,r,i,e.formatting.getFormatContext(h(a)))},getFormattingEditsForDocument:function(n,t){return e.formatting.formatDocument(l.getCurrentSourceFile(n),e.formatting.getFormatContext(h(t)))},getFormattingEditsAfterKeystroke:function(n,t,r,a){var i=l.getCurrentSourceFile(n),o=e.formatting.getFormatContext(h(a));if(!e.isInComment(i,t))switch(r){case"{":return e.formatting.formatOnOpeningCurly(t,i,o);case"}":return e.formatting.formatOnClosingCurly(t,i,o);case";":return e.formatting.formatOnSemicolon(t,i,o);case"\n":return e.formatting.formatOnEnter(t,i,o)}return[]},getDocCommentTemplateAtPosition:function(t,r){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(n),l.getCurrentSourceFile(t),r)},isValidBraceCompletionAtPosition:function(n,t,r){if(60===r)return!1;var a=l.getCurrentSourceFile(n);if(e.isInString(a,t))return!1;if(e.isInsideJsxElementOrAttribute(a,t))return 123===r;if(e.isInTemplateString(a,t))return!1;switch(r){case 39:case 34:case 96:return!e.isInComment(a,t)}return!0},getJsxClosingTagAtPosition:function(n,t){var r=l.getCurrentSourceFile(n),a=e.findPrecedingToken(t,r);if(a){var i=30===a.kind&&e.isJsxOpeningElement(a.parent)?a.parent.parent:e.isJsxText(a)?a.parent:void 0;return i&&function n(t){var r=t.openingElement,a=t.closingElement,i=t.parent;return!e.tagNamesAreEquivalent(r.tagName,a.tagName)||e.isJsxElement(i)&&e.tagNamesAreEquivalent(r.tagName,i.openingElement.tagName)&&n(i)}(i)?{newText:""}:void 0}},getSpanOfEnclosingComment:function(n,t,r){var a=l.getCurrentSourceFile(n),i=e.formatting.getRangeOfEnclosingComment(a,t);return!i||r&&3!==i.kind?void 0:e.createTextSpanFromRange(i)},getCodeFixesAtPosition:function(t,r,a,i,s,l){void 0===l&&(l=e.emptyOptions),v();var c=_(t),u=e.createTextSpanFromBounds(r,a),p=e.formatting.getFormatContext(s);return e.flatMap(e.deduplicate(i,e.equateValues,e.compareValues),(function(t){return d.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:t,sourceFile:c,span:u,program:o,host:n,cancellationToken:d,formatContext:p,preferences:l})}))},getCombinedCodeFix:function(t,r,a,i){void 0===i&&(i=e.emptyOptions),v(),e.Debug.assert("file"===t.type);var s=_(t.fileName),l=e.formatting.getFormatContext(a);return e.codefix.getAllFixes({fixId:r,sourceFile:s,program:o,host:n,cancellationToken:d,formatContext:l,preferences:i})},applyCodeActionCommand:function(n,t){var r="string"===typeof n?t:n;return e.isArray(r)?Promise.all(r.map((function(e){return C(e)}))):C(r)},organizeImports:function(t,r,a){void 0===a&&(a=e.emptyOptions),v(),e.Debug.assert("file"===t.type);var i=_(t.fileName),s=e.formatting.getFormatContext(r);return e.OrganizeImports.organizeImports(i,s,n,o,a)},getEditsForFileRename:function(t,r,a,i){return void 0===i&&(i=e.emptyOptions),e.getEditsForFileRename(y(),t,r,n,e.formatting.getFormatContext(a),i,g)},getEmitOutput:function(t,r){void 0===r&&(r=!1),v();var a=_(t),i=n.getCustomTransformers&&n.getCustomTransformers();return e.getFileEmitOutput(o,a,r,d,i)},getNonBoundSourceFile:function(e){return l.getCurrentSourceFile(e)},getProgram:y,getApplicableRefactors:function(n,t,r){void 0===r&&(r=e.emptyOptions),v();var a=_(n);return e.refactor.getApplicableRefactors(M(a,t,r))},getEditsForRefactor:function(n,t,r,a,i,o){void 0===o&&(o=e.emptyOptions),v();var s=_(n);return e.refactor.getEditsForRefactor(M(s,r,o,t),a,i)},toLineColumnOffset:g.toLineColumnOffset,getSourceMapper:function(){return g}}},e.getNameTable=function(n){return n.nameTable||function(n){var t=n.nameTable=e.createUnderscoreEscapedMap();n.forEachChild((function n(r){if(e.isIdentifier(r)&&!e.isTagName(r)&&r.escapedText||e.isStringOrNumericLiteralLike(r)&&function(n){return e.isDeclarationName(n)||260===n.parent.kind||function(e){return e&&e.parent&&191===e.parent.kind&&e.parent.argumentExpression===e}(n)||e.isLiteralComputedPropertyDeclarationName(n)}(r)){var a=e.getEscapedTextOfIdentifierOrLiteral(r);t.set(a,void 0===t.get(a)?r.pos:-1)}if(e.forEachChild(r,n),e.hasJSDocNodes(r))for(var i=0,o=r.jsDoc;ia){var i=e.findPrecedingToken(r.pos,n);if(!i||n.getLineAndCharacterOfPosition(i.getEnd()).line!==a)return;r=i}if(!(4194304&r.flags))return u(r)}function o(t,r){var a=t.decorators?e.skipTrivia(n.text,t.decorators.end):t.getStart(n);return e.createTextSpanFromBounds(a,(r||t).getEnd())}function s(t,r){return o(t,e.findNextToken(r,r.parent,n))}function l(e,t){return e&&a===n.getLineAndCharacterOfPosition(e.getStart(n)).line?u(e):u(t)}function c(t){return u(e.findPrecedingToken(t.pos,n))}function d(t){return u(e.findNextToken(t,t.parent,n))}function u(t){if(t){var r=t.parent;switch(t.kind){case 220:return h(t.declarationList.declarations[0]);case 238:case 155:case 154:return h(t);case 152:return function n(t){if(e.isBindingPattern(t.name))return T(t.name);if(function(n){return!!n.initializer||void 0!==n.dotDotDotToken||e.hasModifier(n,12)}(t))return o(t);var r=t.parent,a=r.parameters.indexOf(t);return e.Debug.assert(-1!==a),0!==a?n(r.parameters[a-1]):u(r.body)}(t);case 240:case 157:case 156:case 159:case 160:case 158:case 197:case 198:return function(e){if(!e.body)return;if(y(e))return o(e);return u(e.body)}(t);case 219:if(e.isFunctionBlock(t))return function(e){var n=e.statements.length?e.statements[0]:e.getLastToken();if(y(e.parent))return l(e.parent,n);return u(n)}(t);case 246:return b(t);case 275:return b(t.block);case 222:return o(t.expression);case 231:return o(t.getChildAt(0),t.expression);case 225:return s(t,t.expression);case 224:return u(t.statement);case 237:return o(t.getChildAt(0));case 223:return s(t,t.expression);case 234:return u(t.statement);case 230:case 229:return o(t.getChildAt(0),t.label);case 226:return function(e){if(e.initializer)return E(e);if(e.condition)return o(e.condition);if(e.incrementor)return o(e.incrementor)}(t);case 227:return s(t,t.expression);case 228:return E(t);case 233:return s(t,t.expression);case 272:case 273:return u(t.statements[0]);case 236:return b(t.tryBlock);case 235:case 255:return o(t,t.expression);case 249:return o(t,t.moduleReference);case 250:case 256:return o(t,t.moduleSpecifier);case 245:if(1!==e.getModuleInstanceState(t))return;case 241:case 244:case 279:case 187:return o(t);case 232:return u(t.statement);case 153:return _=r.decorators,e.createTextSpanFromBounds(e.skipTrivia(n.text,_.pos),_.end);case 185:case 186:return T(t);case 242:case 243:return;case 26:case 1:return l(e.findPrecedingToken(t.pos,n));case 27:return c(t);case 18:return function(t){switch(t.parent.kind){case 244:var r=t.parent;return l(e.findPrecedingToken(t.pos,n,t.parent),r.members.length?r.members[0]:r.getLastToken(n));case 241:var a=t.parent;return l(e.findPrecedingToken(t.pos,n,t.parent),a.members.length?a.members[0]:a.getLastToken(n));case 247:return l(t.parent.parent,t.parent.clauses[0])}return u(t.parent)}(t);case 19:return function(n){switch(n.parent.kind){case 246:if(1!==e.getModuleInstanceState(n.parent.parent))return;case 244:case 241:return o(n);case 219:if(e.isFunctionBlock(n.parent))return o(n);case 275:return u(e.lastOrUndefined(n.parent.statements));case 247:var t=n.parent,r=e.lastOrUndefined(t.clauses);return r?u(e.lastOrUndefined(r.statements)):void 0;case 185:var a=n.parent;return u(e.lastOrUndefined(a.elements)||a);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var i=n.parent;return o(e.lastOrUndefined(i.properties)||i)}return u(n.parent)}}(t);case 23:return function(n){switch(n.parent.kind){case 186:var t=n.parent;return o(e.lastOrUndefined(t.elements)||t);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var r=n.parent;return o(e.lastOrUndefined(r.elements)||r)}return u(n.parent)}}(t);case 20:return function(e){if(224===e.parent.kind||192===e.parent.kind||193===e.parent.kind)return c(e);if(196===e.parent.kind)return d(e);return u(e.parent)}(t);case 21:return function(e){switch(e.parent.kind){case 197:case 240:case 198:case 157:case 156:case 159:case 160:case 158:case 225:case 224:case 226:case 228:case 192:case 193:case 196:return c(e);default:return u(e.parent)}}(t);case 57:return function(n){if(e.isFunctionLike(n.parent)||276===n.parent.kind||152===n.parent.kind)return c(n);return u(n.parent)}(t);case 30:case 28:return function(e){if(195===e.parent.kind)return d(e);return u(e.parent)}(t);case 108:return function(e){if(224===e.parent.kind)return s(e,e.parent.expression);return u(e.parent)}(t);case 84:case 76:case 89:return d(t);case 148:return function(e){if(228===e.parent.kind)return d(e);return u(e.parent)}(t);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t))return S(t);if((73===t.kind||209===t.kind||276===t.kind||277===t.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r))return o(t);if(205===t.kind){var a=t,i=a.left,p=a.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i))return S(i);if(60===p.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent))return o(t);if(27===p.kind)return u(i)}if(e.isExpressionNode(t))switch(r.kind){case 224:return c(t);case 153:return u(t.parent);case 226:case 228:return o(t);case 205:if(27===t.parent.operatorToken.kind)return o(t);break;case 198:if(t.parent.body===t)return o(t)}switch(t.parent.kind){case 276:if(t.parent.name===t&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent.parent))return u(t.parent.initializer);break;case 195:if(t.parent.type===t)return d(t.parent.type);break;case 238:case 152:var m=t.parent,f=m.initializer,g=m.type;if(f===t||g===t||e.isAssignmentOperator(t.kind))return c(t);break;case 205:i=t.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i)&&t!==i)return c(t);break;default:if(e.isFunctionLike(t.parent)&&t.parent.type===t)return c(t)}return u(t.parent)}}var _;function v(t){return e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]===t?o(e.findPrecedingToken(t.pos,n,t.parent),t):o(t)}function h(t){if(227===t.parent.parent.kind)return u(t.parent.parent);var r=t.parent;return e.isBindingPattern(t.name)?T(t.name):t.initializer||e.hasModifier(t,1)||228===r.parent.kind?v(t):e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]!==t?u(e.findPrecedingToken(t.pos,n,t.parent)):void 0}function y(n){return e.hasModifier(n,1)||241===n.parent.kind&&158!==n.kind}function b(t){switch(t.parent.kind){case 245:if(1!==e.getModuleInstanceState(t.parent))return;case 225:case 223:case 227:return l(t.parent,t.statements[0]);case 226:case 228:return l(e.findPrecedingToken(t.pos,n,t.parent),t.statements[0])}return u(t.statements[0])}function E(e){if(239!==e.initializer.kind)return u(e.initializer);var n=e.initializer;return n.declarations.length>0?u(n.declarations[0]):void 0}function T(n){var t=e.forEach(n.elements,(function(e){return 211!==e.kind?e:void 0}));return t?u(t):187===n.parent.kind?o(n.parent):v(n.parent)}function S(n){e.Debug.assert(186!==n.kind&&185!==n.kind);var t=188===n.kind?n.elements:n.properties,r=e.forEach(t,(function(e){return 211!==e.kind?e:void 0}));return r?u(r):o(205===n.parent.kind?n.parent:n)}}}}(e.BreakpointResolver||(e.BreakpointResolver={}))}(c||(c={})),function(e){e.transform=function(n,t,r){var a=[];r=e.fixupCompilerOptions(r,a);var i=e.isArray(n)?n:[n],o=e.transformNodes(void 0,void 0,r,i,t,!0);return o.diagnostics=e.concatenate(o.diagnostics,a),o}}(c||(c={}));var c,d,u=function(){return this}();!function(e){function n(e,n){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+n.message)}var t=function(){function n(e){this.scriptSnapshotShim=e}return n.prototype.getText=function(e,n){return this.scriptSnapshotShim.getText(e,n)},n.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},n.prototype.getChangeRange=function(n){var t=n,r=this.scriptSnapshotShim.getChangeRange(t.scriptSnapshotShim);if(null===r)return null;var a=JSON.parse(r);return e.createTextChangeRange(e.createTextSpan(a.span.start,a.span.length),a.newLength)},n.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},n}(),r=function(){function n(n){var t=this;this.shimHost=n,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(n,r){var a=JSON.parse(t.shimHost.getModuleResolutionsForFile(r));return e.map(n,(function(n){var t=e.getProperty(a,n);return t?{resolvedFileName:t,extension:e.extensionFromPath(t),isExternalLibraryImport:!1}:void 0}))}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return t.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(n,r){var a=JSON.parse(t.shimHost.getTypeReferenceDirectiveResolutionsForFile(r));return e.map(n,(function(n){return e.getProperty(a,n)}))})}return n.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},n.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},n.prototype.error=function(e){this.shimHost.error(e)},n.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},n.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},n.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},n.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var n=JSON.parse(e);return n.allowNonTsExtensions=!0,n},n.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)},n.prototype.getScriptSnapshot=function(e){var n=this.shimHost.getScriptSnapshot(e);return n&&new t(n)},n.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},n.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},n.prototype.getLocalizedDiagnosticMessages=function(){var e=this.shimHost.getLocalizedDiagnosticMessages();if(null===e||""===e)return null;try{return JSON.parse(e)}catch(n){return this.log(n.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},n.prototype.getCancellationToken=function(){var n=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(n)},n.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.readFile=function(e,n){return this.shimHost.readFile(e,n)},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n}();e.LanguageServiceShimHostAdapter=r;var i=function(){function n(e){var n=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=function(e){return n.shimHost.directoryExists(e)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(e){return n.shimHost.realpath(e)}:this.realpath=void 0}return n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n.prototype.readFile=function(e){return this.shimHost.readFile(e)},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n}();function o(e,n,t,r){return s(e,n,!0,t,r)}function s(t,r,a,i,o){try{var s=function(n,t,r,a){var i;a&&(n.log(t),i=e.timestamp());var o=r();if(a){var s=e.timestamp();if(n.log(t+" completed in "+(s-i)+" msec"),e.isString(o)){var l=o;l.length>128&&(l=l.substring(0,128)+"..."),n.log(" result.length="+l.length+", result='"+JSON.stringify(l)+"'")}}return o}(t,r,i,o);return a?JSON.stringify({result:s}):s}catch(l){return l instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(n(t,l),l.description=r,JSON.stringify({error:l}))}}e.CoreServicesShimHostAdapter=i;var c=function(){function e(e){this.factory=e,e.registerShim(this)}return e.prototype.dispose=function(e){this.factory.unregisterShim(this)},e}();function d(n,t){return n.map((function(n){return function(n,t){return{message:e.flattenDiagnosticMessageText(n.messageText,t),start:n.start,length:n.length,category:e.diagnosticCategoryName(n),code:n.code,reportsUnnecessary:n.reportsUnnecessary}}(n,t)}))}e.realizeDiagnostics=d;var p=function(n){function t(e,t,r){var a=n.call(this,e)||this;return a.host=t,a.languageService=r,a.logPerformance=!1,a.logger=a.host,a}return l(t,n),t.prototype.forwardJSONCall=function(e,n){return o(this.logger,e,n,this.logPerformance)},t.prototype.dispose=function(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,u&&u.CollectGarbage&&(u.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,n.prototype.dispose.call(this,e)},t.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",(function(){return null}))},t.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){return e.languageService.cleanupSemanticCache(),null}))},t.prototype.realizeDiagnostics=function(n){return d(n,e.getNewLineOrDefaultFromHost(this.host))},t.prototype.getSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSyntacticClassifications('"+n+"', "+t+", "+r+")",(function(){return a.languageService.getSyntacticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSemanticClassifications('"+n+"', "+t+", "+r+")",(function(){return a.languageService.getSemanticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getEncodedSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+n+"', "+t+", "+r+")",(function(){return m(a.languageService.getEncodedSyntacticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getEncodedSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+n+"', "+t+", "+r+")",(function(){return m(a.languageService.getEncodedSemanticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getSyntacticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSyntacticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSemanticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSemanticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSuggestionDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+e+"')",(function(){return n.realizeDiagnostics(n.languageService.getSuggestionDiagnostics(e))}))},t.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var n=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(n)}))},t.prototype.getQuickInfoAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getQuickInfoAtPosition(e,n)}))},t.prototype.getNameOrDottedNameSpan=function(e,n,t){var r=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNameOrDottedNameSpan(e,n,t)}))},t.prototype.getBreakpointStatementAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBreakpointStatementAtPosition(e,n)}))},t.prototype.getSignatureHelpItems=function(e,n,t){var r=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+n+")",(function(){return r.languageService.getSignatureHelpItems(e,n,t)}))},t.prototype.getDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAtPosition(e,n)}))},t.prototype.getDefinitionAndBoundSpan=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAndBoundSpan(e,n)}))},t.prototype.getTypeDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getTypeDefinitionAtPosition(e,n)}))},t.prototype.getImplementationAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getImplementationAtPosition(e,n)}))},t.prototype.getRenameInfo=function(e,n,t){var r=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+n+")",(function(){return r.languageService.getRenameInfo(e,n,t)}))},t.prototype.getSmartSelectionRange=function(e,n){var t=this;return this.forwardJSONCall("getSmartSelectionRange('"+e+"', "+n+")",(function(){return t.languageService.getSmartSelectionRange(e,n)}))},t.prototype.findRenameLocations=function(e,n,t,r,a){var i=this;return this.forwardJSONCall("findRenameLocations('"+e+"', "+n+", "+t+", "+r+", "+a+")",(function(){return i.languageService.findRenameLocations(e,n,t,r,a)}))},t.prototype.getBraceMatchingAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBraceMatchingAtPosition(e,n)}))},t.prototype.isValidBraceCompletionAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.isValidBraceCompletionAtPosition(e,n,t)}))},t.prototype.getSpanOfEnclosingComment=function(e,n,t){var r=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+e+"', "+n+")",(function(){return r.languageService.getSpanOfEnclosingComment(e,n,t)}))},t.prototype.getIndentationAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getIndentationAtPosition('"+e+"', "+n+")",(function(){var a=JSON.parse(t);return r.languageService.getIndentationAtPosition(e,n,a)}))},t.prototype.getReferencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getReferencesAtPosition(e,n)}))},t.prototype.findReferences=function(e,n){var t=this;return this.forwardJSONCall("findReferences('"+e+"', "+n+")",(function(){return t.languageService.findReferences(e,n)}))},t.prototype.getOccurrencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getOccurrencesAtPosition(e,n)}))},t.prototype.getDocumentHighlights=function(n,t,r){var a=this;return this.forwardJSONCall("getDocumentHighlights('"+n+"', "+t+")",(function(){var i=a.languageService.getDocumentHighlights(n,t,JSON.parse(r)),o=e.normalizeSlashes(n).toLowerCase();return e.filter(i,(function(n){return e.normalizeSlashes(n.fileName).toLowerCase()===o}))}))},t.prototype.getCompletionsAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getCompletionsAtPosition(e,n,t)}))},t.prototype.getCompletionEntryDetails=function(e,n,t,r,a,i){var o=this;return this.forwardJSONCall("getCompletionEntryDetails('"+e+"', "+n+", '"+t+"')",(function(){var s=void 0===r?void 0:JSON.parse(r);return o.languageService.getCompletionEntryDetails(e,n,t,s,a,i)}))},t.prototype.getFormattingEditsForRange=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsForRange('"+e+"', "+n+", "+t+")",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsForRange(e,n,t,i)}))},t.prototype.getFormattingEditsForDocument=function(e,n){var t=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+e+"')",(function(){var r=JSON.parse(n);return t.languageService.getFormattingEditsForDocument(e,r)}))},t.prototype.getFormattingEditsAfterKeystroke=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+e+"', "+n+", '"+t+"')",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsAfterKeystroke(e,n,t,i)}))},t.prototype.getDocCommentTemplateAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDocCommentTemplateAtPosition(e,n)}))},t.prototype.getNavigateToItems=function(e,n,t){var r=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNavigateToItems(e,n,t)}))},t.prototype.getNavigationBarItems=function(e){var n=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",(function(){return n.languageService.getNavigationBarItems(e)}))},t.prototype.getNavigationTree=function(e){var n=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",(function(){return n.languageService.getNavigationTree(e)}))},t.prototype.getOutliningSpans=function(e){var n=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",(function(){return n.languageService.getOutliningSpans(e)}))},t.prototype.getTodoComments=function(e,n){var t=this;return this.forwardJSONCall("getTodoComments('"+e+"')",(function(){return t.languageService.getTodoComments(e,JSON.parse(n))}))},t.prototype.getEmitOutput=function(e){var n=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",(function(){return n.languageService.getEmitOutput(e)}))},t.prototype.getEmitOutputObject=function(e){var n=this;return s(this.logger,"getEmitOutput('"+e+"')",!1,(function(){return n.languageService.getEmitOutput(e)}),this.logPerformance)},t}(c);function m(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var f=function(n){function t(t,r){var a=n.call(this,t)||this;return a.logger=r,a.logPerformance=!1,a.classifier=e.createClassifier(),a}return l(t,n),t.prototype.getEncodedLexicalClassifications=function(e,n,t){var r=this;return void 0===t&&(t=!1),o(this.logger,"getEncodedLexicalClassifications",(function(){return m(r.classifier.getEncodedLexicalClassifications(e,n,t))}),this.logPerformance)},t.prototype.getClassificationsForLine=function(e,n,t){void 0===t&&(t=!1);for(var r=this.classifier.getClassificationsForLine(e,n,t),a="",i=0,o=r.entries;i=0,i=m.indexOf("Macintosh")>=0,o=m.indexOf("Linux")>=0,l=!0,navigator.language}var f=a,g=l,_="object"===typeof self?self:"object"===typeof r?r:{}}).call(this,t(3),t(2))},function(e,n){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(r){"object"===typeof window&&(t=window)}e.exports=t},function(e,n){var t,r,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"===typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l,c=[],d=!1,u=-1;function p(){d&&l&&(d=!1,l.length?c=l.concat(c):u=-1,c.length&&m())}function m(){if(!d){var e=s(p);d=!0;for(var n=c.length;n;){for(l=c,c=[];++u1)for(var t=1;t=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),n))},t(6),n.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,n.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(this,t(2))},function(e,n,t){(function(e,n){!function(e,t){"use strict";if(!e.setImmediate){var r,a=1,i={},o=!1,s=e.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(e);l=l&&l.setTimeout?l:e,"[object process]"==={}.toString.call(e.process)?r=function(e){n.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var n=!0,t=e.onmessage;return e.onmessage=function(){n=!1},e.postMessage("","*"),e.onmessage=t,n}}()?function(){var n="setImmediate$"+Math.random()+"$",t=function(t){t.source===e&&"string"===typeof t.data&&0===t.data.indexOf(n)&&d(+t.data.slice(n.length))};e.addEventListener?e.addEventListener("message",t,!1):e.attachEvent("onmessage",t),r=function(t){e.postMessage(n+t,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},r=function(n){e.port2.postMessage(n)}}():s&&"onreadystatechange"in s.createElement("script")?function(){var e=s.documentElement;r=function(n){var t=s.createElement("script");t.onreadystatechange=function(){d(n),t.onreadystatechange=null,e.removeChild(t),t=null},e.appendChild(t)}}():r=function(e){setTimeout(d,0,e)},l.setImmediate=function(e){"function"!==typeof e&&(e=new Function(""+e));for(var n=new Array(arguments.length-1),t=0;tr?e[l]=i[s++]:s>a?e[l]=i[o++]:n(i[s],i[o])<0?e[l]=i[s++]:e[l]=i[o++]}(n,t,r,o,a,i)}(e,n,0,e.length-1,[]),e}var _=function(){function e(e,n,t,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=t,this.modifiedLength=r}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}();function v(e){return{getLength:function(){return e.length},getElementAtIndex:function(n){return e.charCodeAt(n)}}}function h(e,n,t){return new S(v(e),v(n)).ComputeDiff(t)}var y,b=function(){function e(){}return e.Assert=function(e,n){if(!e)throw new Error(n)},e}(),E=function(){function e(){}return e.Copy=function(e,n,t,r,a){for(var i=0;i0||this.m_modifiedCount>0)&&this.m_changes.push(new _(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE},e.prototype.AddOriginalElement=function(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),S=function(){function e(e,n,t){void 0===t&&(t=null),this.OriginalSequence=e,this.ModifiedSequence=n,this.ContinueProcessingPredicate=t,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e.prototype.ElementsAreEqual=function(e,n){return this.OriginalSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(n)},e.prototype.OriginalElementsAreEqual=function(e,n){return this.OriginalSequence.getElementAtIndex(e)===this.OriginalSequence.getElementAtIndex(n)},e.prototype.ModifiedElementsAreEqual=function(e,n){return this.ModifiedSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(n)},e.prototype.ComputeDiff=function(e){return this._ComputeDiff(0,this.OriginalSequence.getLength()-1,0,this.ModifiedSequence.getLength()-1,e)},e.prototype._ComputeDiff=function(e,n,t,r,a){var i=this.ComputeDiffRecursive(e,n,t,r,[!1]);return a?this.PrettifyChanges(i):i},e.prototype.ComputeDiffRecursive=function(e,n,t,r,a){for(a[0]=!1;e<=n&&t<=r&&this.ElementsAreEqual(e,t);)e++,t++;for(;n>=e&&r>=t&&this.ElementsAreEqual(n,r);)n--,r--;if(e>n||t>r){var i=void 0;return t<=r?(b.Assert(e===n+1,"originalStart should only be one more than originalEnd"),i=[new _(e,0,t,r-t+1)]):e<=n?(b.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new _(e,n-e+1,t,0)]):(b.Assert(e===n+1,"originalStart should only be one more than originalEnd"),b.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}var o=[0],s=[0],l=this.ComputeRecursionPoint(e,n,t,r,o,s,a),c=o[0],d=s[0];if(null!==l)return l;if(!a[0]){var u=this.ComputeDiffRecursive(e,c,t,d,a),p=[];return p=a[0]?[new _(c+1,n-(c+1)+1,d+1,r-(d+1)+1)]:this.ComputeDiffRecursive(c+1,n,d+1,r,a),this.ConcatenateChanges(u,p)}return[new _(e,n-e+1,t,r-t+1)]},e.prototype.WALKTRACE=function(e,n,t,r,a,i,o,s,l,c,d,u,p,m,f,g,v,h){var y,b,E=null,S=new T,L=n,x=t,A=p[0]-g[0]-r,C=Number.MIN_VALUE,D=this.m_forwardHistory.length-1;do{(b=A+e)===L||b=0&&(e=(l=this.m_forwardHistory[D])[0],L=1,x=l.length-1)}while(--D>=-1);if(y=S.getReverseChanges(),h[0]){var k=p[0]+1,M=g[0]+1;if(null!==y&&y.length>0){var O=y[y.length-1];k=Math.max(k,O.getOriginalEnd()),M=Math.max(M,O.getModifiedEnd())}E=[new _(k,u-k+1,M,f-M+1)]}else{S=new T,L=i,x=o,A=p[0]-g[0]-s,C=Number.MAX_VALUE,D=v?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{(b=A+a)===L||b=c[b+1]?(m=(d=c[b+1]-1)-A-s,d>C&&S.MarkNextChange(),C=d+1,S.AddOriginalElement(d+1,m+1),A=b+1-a):(m=(d=c[b-1])-A-s,d>C&&S.MarkNextChange(),C=d,S.AddModifiedElement(d+1,m+1),A=b-1-a),D>=0&&(a=(c=this.m_reverseHistory[D])[0],L=1,x=c.length-1)}while(--D>=-1);E=S.getChanges()}return this.ConcatenateChanges(y,E)},e.prototype.ComputeRecursionPoint=function(e,n,t,r,a,i,o){var s,l=0,c=0,d=0,u=0,p=0,m=0;e--,t--,a[0]=0,i[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var f,g,v=n-e+(r-t),h=v+1,y=new Array(h),b=new Array(h),T=r-t,S=n-e,L=e-t,x=n-r,A=(S-T)%2===0;for(y[T]=e,b[S]=n,o[0]=!1,s=1;s<=v/2+1;s++){var C=0,D=0;for(d=this.ClipDiagonalBound(T-s,s,T,h),u=this.ClipDiagonalBound(T+s,s,T,h),f=d;f<=u;f+=2){for(c=(l=f===d||fC+D&&(C=l,D=c),!A&&Math.abs(f-S)<=s-1&&l>=b[f])return a[0]=l,i[0]=c,g<=b[f]&&s<=1448?this.WALKTRACE(T,d,u,L,S,p,m,x,y,b,l,n,a,c,r,i,A,o):null}var k=(C-e+(D-t)-s)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(C,this.OriginalSequence,k))return o[0]=!0,a[0]=C,i[0]=D,k>0&&s<=1448?this.WALKTRACE(T,d,u,L,S,p,m,x,y,b,l,n,a,c,r,i,A,o):(e++,t++,[new _(e,n-e+1,t,r-t+1)]);for(p=this.ClipDiagonalBound(S-s,s,S,h),m=this.ClipDiagonalBound(S+s,s,S,h),f=p;f<=m;f+=2){for(c=(l=f===p||f=b[f+1]?b[f+1]-1:b[f-1])-(f-S)-x,g=l;l>e&&c>t&&this.ElementsAreEqual(l,c);)l--,c--;if(b[f]=l,A&&Math.abs(f-T)<=s&&l<=y[f])return a[0]=l,i[0]=c,g>=y[f]&&s<=1448?this.WALKTRACE(T,d,u,L,S,p,m,x,y,b,l,n,a,c,r,i,A,o):null}if(s<=1447){var M=new Array(u-d+2);M[0]=T-d+1,E.Copy(y,d,M,1,u-d+1),this.m_forwardHistory.push(M),(M=new Array(m-p+2))[0]=S-p+1,E.Copy(b,p,M,1,m-p+1),this.m_reverseHistory.push(M)}}return this.WALKTRACE(T,d,u,L,S,p,m,x,y,b,l,n,a,c,r,i,A,o)},e.prototype.PrettifyChanges=function(e){for(var n=0;n0,o=t.modifiedLength>0;t.originalStart+t.originalLength=0;n--){t=e[n],r=0,a=0;if(n>0){var l=e[n-1];l.originalLength>0&&(r=l.originalStart+l.originalLength),l.modifiedLength>0&&(a=l.modifiedStart+l.modifiedLength)}i=t.originalLength>0,o=t.modifiedLength>0;for(var c=0,d=this._boundaryScore(t.originalStart,t.originalLength,t.modifiedStart,t.modifiedLength),u=1;;u++){var p=t.originalStart-u,m=t.modifiedStart-u;if(pd&&(d=f,c=u)}t.originalStart-=c,t.modifiedStart-=c}return e},e.prototype._OriginalIsBoundary=function(e){if(e<=0||e>=this.OriginalSequence.getLength()-1)return!0;var n=this.OriginalSequence.getElementAtIndex(e);return"string"===typeof n&&/^\s*$/.test(n)},e.prototype._OriginalRegionIsBoundary=function(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){var t=e+n;if(this._OriginalIsBoundary(t-1)||this._OriginalIsBoundary(t))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){if(e<=0||e>=this.ModifiedSequence.getLength()-1)return!0;var n=this.ModifiedSequence.getElementAtIndex(e);return"string"===typeof n&&/^\s*$/.test(n)},e.prototype._ModifiedRegionIsBoundary=function(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){var t=e+n;if(this._ModifiedIsBoundary(t-1)||this._ModifiedIsBoundary(t))return!0}return!1},e.prototype._boundaryScore=function(e,n,t,r){return(this._OriginalRegionIsBoundary(e,n)?1:0)+(this._ModifiedRegionIsBoundary(t,r)?1:0)},e.prototype.ConcatenateChanges=function(e,n){var t=[];if(0===e.length||0===n.length)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],t)){var r=new Array(e.length+n.length-1);return E.Copy(e,0,r,0,e.length-1),r[e.length-1]=t[0],E.Copy(n,1,r,e.length,n.length-1),r}r=new Array(e.length+n.length);return E.Copy(e,0,r,0,e.length),E.Copy(n,0,r,e.length,n.length),r},e.prototype.ChangesOverlap=function(e,n,t){if(b.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),b.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){var r=e.originalStart,a=e.originalLength,i=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(a=n.originalStart+n.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(o=n.modifiedStart+n.modifiedLength-e.modifiedStart),t[0]=new _(r,a,i,o),!0}return t[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,n,t,r){if(e>=0&&e=t?x:{done:!1,value:e[n++]}}}},e.from=function(n){return n?Array.isArray(n)?e.fromArray(n):n:e.empty()},e.map=function(e,n){return{next:function(){var t=e.next();return t.done?x:{done:!1,value:n(t.value)}}}},e.filter=function(e,n){return{next:function(){for(;;){var t=e.next();if(t.done)return x;if(n(t.value))return{done:!1,value:t.value}}}}},e.forEach=t,e.collect=function(e){var n=[];return t(e,(function(e){return n.push(e)})),n}}(y||(y={}));(function(e){function n(n,t,r,a){return void 0===t&&(t=0),void 0===r&&(r=n.length),void 0===a&&(a=t-1),e.call(this,n,t,r,a)||this}L(n,e),n.prototype.current=function(){return e.prototype.current.call(this)},n.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},n.prototype.first=function(){return this.index=this.start,this.current()},n.prototype.last=function(){return this.index=this.end-1,this.current()},n.prototype.parent=function(){return null}})(function(){function e(e,n,t,r){void 0===n&&(n=0),void 0===t&&(t=e.length),void 0===r&&(r=n-1),this.items=e,this.start=n,this.end=t,this.index=r}return e.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},e.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},e}()),function(){function e(e,n){this.iterator=e,this.fn=n}e.prototype.next=function(){return this.fn(this.iterator.next())}}();var A,C=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),D=/^\w[\w\d+.-]*$/,k=/^\//,M=/^\/\//;var O="",I="/",R=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,w=function(){function e(e,n,t,r,a,i){void 0===i&&(i=!1),"object"===typeof e?(this.scheme=e.scheme||O,this.authority=e.authority||O,this.path=e.path||O,this.query=e.query||O,this.fragment=e.fragment||O):(this.scheme=e||O,this.authority=n||O,this.path=function(e,n){switch(e){case"https":case"http":case"file":n?n[0]!==I&&(n=I+n):n=I}return n}(this.scheme,t||O),this.query=r||O,this.fragment=a||O,function(e,n){if(!e.scheme)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!D.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!k.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(M.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this))}return e.isUri=function(n){return n instanceof e||!!n&&("string"===typeof n.authority&&"string"===typeof n.fragment&&"string"===typeof n.path&&"string"===typeof n.query&&"string"===typeof n.scheme&&"function"===typeof n.fsPath&&"function"===typeof n.with&&"function"===typeof n.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return V(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var n=e.scheme,t=e.authority,r=e.path,a=e.query,i=e.fragment;return void 0===n?n=this.scheme:null===n&&(n=O),void 0===t?t=this.authority:null===t&&(t=O),void 0===r?r=this.path:null===r&&(r=O),void 0===a?a=this.query:null===a&&(a=O),void 0===i?i=this.fragment:null===i&&(i=O),n===this.scheme&&t===this.authority&&r===this.path&&a===this.query&&i===this.fragment?this:new N(n,t,r,a,i)},e.parse=function(e,n){void 0===n&&(n=!1);var t=R.exec(e);return t?new N(t[2]||O,decodeURIComponent(t[4]||O),decodeURIComponent(t[5]||O),decodeURIComponent(t[7]||O),decodeURIComponent(t[9]||O),n):new N(O,O,O,O,O)},e.file=function(e){var n=O;if(d.c&&(e=e.replace(/\\/g,I)),e[0]===I&&e[1]===I){var t=e.indexOf(I,2);-1===t?(n=e.substring(2),e=I):(n=e.substring(2,t),e=e.substring(t)||I)}return new N("file",n,e,O,O)},e.from=function(e){return new N(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),B(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(n){if(n){if(n instanceof e)return n;var t=new N(n);return t._fsPath=n.fsPath,t._formatted=n.external,t}return n},e}(),N=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n._formatted=null,n._fsPath=null,n}return C(n,e),Object.defineProperty(n.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=V(this)),this._fsPath},enumerable:!0,configurable:!0}),n.prototype.toString=function(e){return void 0===e&&(e=!1),e?B(this,!0):(this._formatted||(this._formatted=B(this,!1)),this._formatted)},n.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},n}(w),P=((A={})[58]="%3A",A[47]="%2F",A[63]="%3F",A[35]="%23",A[91]="%5B",A[93]="%5D",A[64]="%40",A[33]="%21",A[36]="%24",A[38]="%26",A[39]="%27",A[40]="%28",A[41]="%29",A[42]="%2A",A[43]="%2B",A[44]="%2C",A[59]="%3B",A[61]="%3D",A[32]="%20",A);function F(e,n){for(var t=void 0,r=-1,a=0;a=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||45===i||46===i||95===i||126===i||n&&47===i)-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),void 0!==t&&(t+=e.charAt(a));else{void 0===t&&(t=e.substr(0,a));var o=P[i];void 0!==o?(-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),t+=o):-1===r&&(r=a)}}return-1!==r&&(t+=encodeURIComponent(e.substring(r))),void 0!==t?t:e}function G(e){for(var n=void 0,t=0;t1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,d.c&&(n=n.replace(/\//g,"\\")),n}function B(e,n){var t=n?G:F,r="",a=e.scheme,i=e.authority,o=e.path,s=e.query,l=e.fragment;if(a&&(r+=a,r+=":"),(i||"file"===a)&&(r+=I,r+=I),i){var c=i.indexOf("@");if(-1!==c){var d=i.substr(0,c);i=i.substr(c+1),-1===(c=d.indexOf(":"))?r+=t(d,!1):(r+=t(d.substr(0,c),!1),r+=":",r+=t(d.substr(c+1),!1)),r+="@"}-1===(c=(i=i.toLowerCase()).indexOf(":"))?r+=t(i,!1):(r+=t(i.substr(0,c),!1),r+=i.substr(c))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2))(u=o.charCodeAt(1))>=65&&u<=90&&(o="/"+String.fromCharCode(u+32)+":"+o.substr(3));else if(o.length>=2&&58===o.charCodeAt(1)){var u;(u=o.charCodeAt(0))>=65&&u<=90&&(o=String.fromCharCode(u+32)+":"+o.substr(2))}r+=t(o,!0)}return s&&(r+="?",r+=t(s,!1)),l&&(r+="#",r+=n?l:F(l,!1)),r}var H=function(){function e(e,n){this.lineNumber=e,this.column=n}return e.prototype.with=function(n,t){return void 0===n&&(n=this.lineNumber),void 0===t&&(t=this.column),n===this.lineNumber&&t===this.column?this:new e(n,t)},e.prototype.delta=function(e,n){return void 0===e&&(e=0),void 0===n&&(n=0),this.with(this.lineNumber+e,this.column+n)},e.prototype.equals=function(n){return e.equals(this,n)},e.equals=function(e,n){return!e&&!n||!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column},e.prototype.isBefore=function(n){return e.isBefore(this,n)},e.isBefore=function(e,n){return e.lineNumbert||e===t&&n>r?(this.startLineNumber=t,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=t,this.endColumn=r)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},e.prototype.containsPosition=function(n){return e.containsPosition(this,n)},e.containsPosition=function(e,n){return!(n.lineNumbere.endLineNumber)&&(!(n.lineNumber===e.startLineNumber&&n.columne.endColumn))},e.prototype.containsRange=function(n){return e.containsRange(this,n)},e.containsRange=function(e,n){return!(n.startLineNumbere.endLineNumber||n.endLineNumber>e.endLineNumber)&&(!(n.startLineNumber===e.startLineNumber&&n.startColumne.endColumn)))},e.prototype.plusRange=function(n){return e.plusRange(this,n)},e.plusRange=function(n,t){var r,a,i,o;return t.startLineNumbern.endLineNumber?(i=t.endLineNumber,o=t.endColumn):t.endLineNumber===n.endLineNumber?(i=t.endLineNumber,o=Math.max(t.endColumn,n.endColumn)):(i=n.endLineNumber,o=n.endColumn),new e(r,a,i,o)},e.prototype.intersectRanges=function(n){return e.intersectRanges(this,n)},e.intersectRanges=function(n,t){var r=n.startLineNumber,a=n.startColumn,i=n.endLineNumber,o=n.endColumn,s=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,d=t.endColumn;return rc?(i=c,o=d):i===c&&(o=Math.min(o,d)),r>i||r===i&&a>o?null:new e(r,a,i,o)},e.prototype.equalsRange=function(n){return e.equalsRange(this,n)},e.equalsRange=function(e,n){return!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn},e.prototype.getEndPosition=function(){return new H(this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new H(this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(n,t){return new e(this.startLineNumber,this.startColumn,n,t)},e.prototype.setStartPosition=function(n,t){return new e(n,t,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(n){return new e(n.startLineNumber,n.startColumn,n.startLineNumber,n.startColumn)},e.fromPositions=function(n,t){return void 0===t&&(t=n),new e(n.lineNumber,n.column,t.lineNumber,t.column)},e.lift=function(n){return n?new e(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):null},e.isIRange=function(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn},e.areIntersectingOrTouching=function(e,n){return!(e.endLineNumbere.startLineNumber},e}();String.fromCharCode(65279);function j(e,n,t,r){return new S(e,n,t).ComputeDiff(r)}var U=function(){function e(n){for(var t=[],r=[],a=0,i=n.length;a=0;t--){var r=e.charCodeAt(t);if(32!==r&&9!==r)return t}return-1}(e);return-1===t?n:t+2},e.prototype.getCharSequence=function(e,n,t){for(var r=[],a=[],i=[],o=0,s=n;s<=t;s++)for(var l=this._lines[s],c=e?this._startColumns[s]:1,d=e?this._endColumns[s]:l.length+1,u=c;u1&&f>1;){if(u.charCodeAt(m-2)!==p.charCodeAt(f-2))break;m--,f--}(m>1||f>1)&&this._pushTrimWhitespaceCharChange(a,i+1,1,m,o+1,1,f);for(var g=U._getLastNonBlankColumn(u,1),_=U._getLastNonBlankColumn(p,1),v=u.length+1,h=p.length+1;g255?255:0|e}function Q(e){return e<0?0:e>4294967295?4294967295:0|e}var Z=function(e,n){this.index=e,this.remainder=n},$=function(){function e(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return e.prototype.getCount=function(){return this.values.length},e.prototype.insertValues=function(e,n){e=Q(e);var t=this.values,r=this.prefixSum,a=n.length;return 0!==a&&(this.values=new Uint32Array(t.length+a),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e),e+a),this.values.set(n,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(e,n){return e=Q(e),n=Q(n),this.values[e]!==n&&(this.values[e]=n,e-1=t.length)return!1;var a=t.length-e;return n>=a&&(n=a),0!==n&&(this.values=new Uint32Array(t.length-n),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e+n),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(e){return e<0?0:(e=Q(e),this._getAccumulatedValue(e))},e.prototype._getAccumulatedValue=function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var n=this.prefixSumValidIndex[0]+1;0===n&&(this.prefixSum[0]=this.values[0],n++),e>=this.values.length&&(e=this.values.length-1);for(var t=n;t<=e;t++)this.prefixSum[t]=this.prefixSum[t-1]+this.values[t];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]},e.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();for(var n=0,t=this.values.length-1,r=0,a=0,i=0;n<=t;)if(r=n+(t-n)/2|0,e<(i=(a=this.prefixSum[r])-this.values[r]))t=r-1;else{if(!(e>=a))break;n=r+1}return new Z(r,e-i)},e}(),ee=(function(){function e(e){this._cacheAccumulatedValueStart=0,this._cache=null,this._actual=new $(e),this._bustCache()}e.prototype._bustCache=function(){this._cacheAccumulatedValueStart=0,this._cache=null},e.prototype.insertValues=function(e,n){this._actual.insertValues(e,n)&&this._bustCache()},e.prototype.changeValue=function(e,n){this._actual.changeValue(e,n)&&this._bustCache()},e.prototype.removeValues=function(e,n){this._actual.removeValues(e,n)&&this._bustCache()},e.prototype.getTotalValue=function(){return this._actual.getTotalValue()},e.prototype.getAccumulatedValue=function(e){return this._actual.getAccumulatedValue(e)},e.prototype.getIndexOf=function(e){if(e=Math.floor(e),null!==this._cache){var n=e-this._cacheAccumulatedValueStart;if(n>=0&&n/?".length;t++){var r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"[t];e.indexOf(r)>=0||(n+="\\"+r)}return n+="\\s]+)",new RegExp(n,"g")}();var te=function(){function e(n){var t=Y(n);this._defaultValue=t,this._asciiMap=e._createAsciiMap(t),this._map=new Map}return e._createAsciiMap=function(e){for(var n=new Uint8Array(256),t=0;t<256;t++)n[t]=e;return n},e.prototype.set=function(e,n){var t=Y(n);e>=0&&e<256?this._asciiMap[e]=t:this._map.set(e,t)},e.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue},e}(),re=(function(){function e(){this._actual=new te(0)}e.prototype.add=function(e){this._actual.set(e,1)},e.prototype.has=function(e){return 1===this._actual.get(e)}}(),function(){function e(e){for(var n=0,t=0,r=0,a=e.length;rn&&(n=c),o>t&&(t=o),(d=i[2])>t&&(t=d)}n++,t++;var s=new X(t,n,0);for(r=0,a=e.length;r=this._maxCharCode?0:this._states.get(e,n)},e}()),ae=null;var ie=null;var oe=function(){function e(){}return e._createLink=function(e,n,t,r,a){var i=a-1;do{var o=n.charCodeAt(i);if(2!==e.get(o))break;i--}while(i>r);if(r>0){var s=n.charCodeAt(r-1),l=n.charCodeAt(i);(40===s&&41===l||91===s&&93===l||123===s&&125===l)&&i--}return{range:{startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:i+2},url:n.substring(r,i+1)}},e.computeLinks=function(n,t){void 0===t&&(null===ae&&(ae=new re([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),t=ae);for(var r=function(){if(null===ie){ie=new te(0);for(var e=0;e<" \t<>'\"\u3001\u3002\uff61\uff64\uff0c\uff0e\uff1a\uff1b\uff1f\uff01\uff20\uff03\uff04\uff05\uff06\uff0a\u2018\u201c\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b\uff62\uff63\uff5d\uff3d\uff09\u3015\u3011\u300f\u300d\u300b\u3009\u201d\u2019\uff40\uff5e\u2026".length;e++)ie.set(" \t<>'\"\u3001\u3002\uff61\uff64\uff0c\uff0e\uff1a\uff1b\uff1f\uff01\uff20\uff03\uff04\uff05\uff06\uff0a\u2018\u201c\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b\uff62\uff63\uff5d\uff3d\uff09\u3015\u3011\u300f\u300d\u300b\u3009\u201d\u2019\uff40\uff5e\u2026".charCodeAt(e),1);for(e=0;e<".,;".length;e++)ie.set(".,;".charCodeAt(e),2)}return ie}(),a=[],i=1,o=n.getLineCount();i<=o;i++){for(var s=n.getLineContent(i),l=s.length,c=0,d=0,u=0,p=1,m=!1,f=!1,g=!1;c=0?((r+=t?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null},e.INSTANCE=new e,e}();t(4);var le,ce=function(){function e(n){this.element=n,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),de=function(){function e(){this._first=ce.Undefined,this._last=ce.Undefined,this._size=0}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this._first===ce.Undefined},e.prototype.clear=function(){this._first=ce.Undefined,this._last=ce.Undefined,this._size=0},e.prototype.unshift=function(e){return this._insert(e,!1)},e.prototype.push=function(e){return this._insert(e,!0)},e.prototype._insert=function(e,n){var t=this,r=new ce(e);if(this._first===ce.Undefined)this._first=r,this._last=r;else if(n){var a=this._last;this._last=r,r.prev=a,a.next=r}else{var i=this._first;this._first=r,r.next=i,i.prev=r}this._size+=1;var o=!1;return function(){o||(o=!0,t._remove(r))}},e.prototype.shift=function(){if(this._first!==ce.Undefined){var e=this._first.element;return this._remove(this._first),e}},e.prototype._remove=function(e){if(e.prev!==ce.Undefined&&e.next!==ce.Undefined){var n=e.prev;n.next=e.next,e.next.prev=n}else e.prev===ce.Undefined&&e.next===ce.Undefined?(this._first=ce.Undefined,this._last=ce.Undefined):e.next===ce.Undefined?(this._last=this._last.prev,this._last.next=ce.Undefined):e.prev===ce.Undefined&&(this._first=this._first.next,this._first.prev=ce.Undefined);this._size-=1},e.prototype.iterator=function(){var e,n=this._first;return{next:function(){return n===ce.Undefined?x:(e?e.value=n.element:e={done:!1,value:n.element},n=n.next,e)}}},e.prototype.toArray=function(){for(var e=[],n=this._first;n!==ce.Undefined;n=n.next)e.push(n.element);return e},e}(),ue=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}();!function(e){var n={dispose:function(){}};function t(e){return function(n,t,r){void 0===t&&(t=null);var a,i=!1;return a=e((function(e){if(!i)return a?a.dispose():i=!0,n.call(t,e)}),null,r),i&&a.dispose(),a}}function r(e,n){return s((function(t,r,a){return void 0===r&&(r=null),e((function(e){return t.call(r,n(e))}),null,a)}))}function a(e,n){return s((function(t,r,a){return void 0===r&&(r=null),e((function(e){n(e),t.call(r,e)}),null,a)}))}function i(e,n){return s((function(t,r,a){return void 0===r&&(r=null),e((function(e){return n(e)&&t.call(r,e)}),null,a)}))}function o(e,n,t){var a=t;return r(e,(function(e){return a=n(a,e)}))}function s(e){var n,t=new fe({onFirstListenerAdd:function(){n=e(t.fire,t)},onLastListenerRemove:function(){n.dispose()}});return t.event}function c(e){var n,t=!0;return i(e,(function(e){var r=t||e!==n;return t=!1,n=e,r}))}e.None=function(){return n},e.once=t,e.map=r,e.forEach=a,e.filter=i,e.signal=function(e){return e},e.any=function(){for(var e=[],n=0;n1)&&c.fire(e),l=0}),t)}))},onLastListenerRemove:function(){i.dispose()}});return c.event},e.stopwatch=function(e){var n=(new Date).getTime();return r(t(e),(function(e){return(new Date).getTime()-n}))},e.latch=c,e.buffer=function(e,n,t){void 0===n&&(n=!1),void 0===t&&(t=[]);var r=t.slice(),a=e((function(e){r?r.push(e):o.fire(e)})),i=function(){r&&r.forEach((function(e){return o.fire(e)})),r=null},o=new fe({onFirstListenerAdd:function(){a||(a=e((function(e){return o.fire(e)})))},onFirstListenerDidAdd:function(){r&&(n?setTimeout(i):i())},onLastListenerRemove:function(){a&&a.dispose(),a=null}});return o.event};var d=function(){function e(e){this.event=e}return e.prototype.map=function(n){return new e(r(this.event,n))},e.prototype.forEach=function(n){return new e(a(this.event,n))},e.prototype.filter=function(n){return new e(i(this.event,n))},e.prototype.reduce=function(n,t){return new e(o(this.event,n,t))},e.prototype.latch=function(){return new e(c(this.event))},e.prototype.on=function(e,n,t){return this.event(e,n,t)},e.prototype.once=function(e,n,r){return t(this.event)(e,n,r)},e}();e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,n,t){void 0===t&&(t=function(e){return e});var r=function(){for(var e=[],n=0;n0;){var r=this._deliveryQueue.shift(),i=r[0],o=r[1];try{"function"===typeof i?i.call(void 0,o):i[0].call(i[1],o)}catch(t){a(t)}}}},e.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},e._noop=function(){},e}(),ge=(function(e){function n(n){var t=e.call(this,n)||this;return t._isPaused=0,t._eventQueue=new de,t._mergeFn=n&&n.merge,t}ue(n,e),n.prototype.pause=function(){this._isPaused++},n.prototype.resume=function(){if(0!==this._isPaused&&0===--this._isPaused)if(this._mergeFn){var n=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(n))}else for(;!this._isPaused&&0!==this._eventQueue.size;)e.prototype.fire.call(this,this._eventQueue.shift())},n.prototype.fire=function(n){this._listeners&&(0!==this._isPaused?this._eventQueue.push(n):e.prototype.fire.call(this,n))}}(fe),function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new fe({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var n=this,t={event:e,listener:null};this.events.push(t),this.hasListeners&&this.hook(t);return function(e){return{dispose:function(){e()}}}(function(e){var n,t=this,r=!1;return function(){return r?n:(r=!0,n=e.apply(t,arguments))}}((function(){n.hasListeners&&n.unhook(t);var e=n.events.indexOf(t);n.events.splice(e,1)})))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach((function(n){return e.hook(n)}))},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach((function(n){return e.unhook(n)}))},e.prototype.hook=function(e){var n=this;e.listener=e.event((function(e){return n.emitter.fire(e)}))},e.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()}}(),function(){function e(){this.buffers=[]}e.prototype.wrapEvent=function(e){var n=this;return function(t,r,a){return e((function(e){var a=n.buffers[n.buffers.length-1];a?a.push((function(){return t.call(r,e)})):t.call(r,e)}),void 0,a)}},e.prototype.bufferEvents=function(e){var n=[];this.buffers.push(n);var t=e();return this.buffers.pop(),n.forEach((function(e){return e()})),t}}(),function(){function e(){var e=this;this.listening=!1,this.inputEvent=le.None,this.inputEventListener=c.None,this.emitter=new fe({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}Object.defineProperty(e.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()}}(),Object.freeze((function(e,n){var t=setTimeout(e.bind(n),0);return{dispose:function(){clearTimeout(t)}}})));(me=pe||(pe={})).isCancellationToken=function(e){return e===me.None||e===me.Cancelled||e instanceof ve||!(!e||"object"!==typeof e)&&"boolean"===typeof e.isCancellationRequested&&"function"===typeof e.onCancellationRequested},me.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:le.None}),me.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:ge});var _e,ve=function(){function e(){this._isCancelled=!1,this._emitter=null}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?ge:(this._emitter||(this._emitter=new fe),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),he=function(){function e(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new ve),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof ve&&this._token.cancel():this._token=pe.Cancelled},e.prototype.dispose=function(){this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof ve&&this._token.dispose():this._token=pe.None},e}(),ye=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),be=new ye,Ee=new ye,Te=new ye;!function(){function e(e,n,t,r){void 0===t&&(t=n),void 0===r&&(r=t),be.define(e,n),Ee.define(e,t),Te.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return be.keyCodeToStr(e)},e.fromString=function(e){return be.strToKeyCode(e)},e.toUserSettingsUS=function(e){return Ee.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return Te.keyCodeToStr(e)},e.fromUserSettings=function(e){return Ee.strToKeyCode(e)||Te.strToKeyCode(e)}}(_e||(_e={}));!function(){function e(e,n,t,r,a){this.ctrlKey=e,this.shiftKey=n,this.altKey=t,this.metaKey=r,this.keyCode=a}e.prototype.equals=function(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.toChord=function(){return new Ye([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}();var Se,Le,xe,Ae,Ce,De,ke,Me,Oe,Ie,Re,we,Ne,Pe,Fe,Ge,Ve,Be,He,Ke,je,Ue,We,qe,ze,Je,Xe,Ye=function(){function e(e){if(0===e.length)throw(n="parts")?new Error("Illegal argument: "+n):new Error("Illegal argument");var n;this.parts=e}return e.prototype.equals=function(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(var n=0;n "+this.positionLineNumber+","+this.positionColumn+"]"},n.prototype.equalsSelection=function(e){return n.selectionsEqual(this,e)},n.selectionsEqual=function(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn},n.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},n.prototype.setEndPosition=function(e,t){return 0===this.getDirection()?new n(this.startLineNumber,this.startColumn,e,t):new n(e,t,this.startLineNumber,this.startColumn)},n.prototype.getPosition=function(){return new H(this.positionLineNumber,this.positionColumn)},n.prototype.setStartPosition=function(e,t){return 0===this.getDirection()?new n(e,t,this.endLineNumber,this.endColumn):new n(this.endLineNumber,this.endColumn,e,t)},n.fromPositions=function(e,t){return void 0===t&&(t=e),new n(e.lineNumber,e.column,t.lineNumber,t.column)},n.liftSelection=function(e){return new n(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},n.selectionsArrEqual=function(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;if(e.length!==n.length)return!1;for(var t=0,r=e.length;t>>0)>>>0}(e,n)},e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256,e}();var nn=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),tn=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return nn(n,e),Object.defineProperty(n.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),n.prototype.getValue=function(){return this.getText()},n.prototype.getLinesContent=function(){return this._lines.slice(0)},n.prototype.getLineCount=function(){return this._lines.length},n.prototype.getLineContent=function(e){return this._lines[e-1]},n.prototype.getWordAtPosition=function(e,n){var t=function(e,n,t,r){n.lastIndex=0;var a=n.exec(t);if(!a)return null;var i=a[0].indexOf(" ")>=0?function(e,n,t,r){var a,i=e-1-r;for(n.lastIndex=0;a=n.exec(t);){var o=a.index||0;if(o>i)return null;if(n.lastIndex>=i)return{word:a[0],startColumn:r+1+o,endColumn:r+1+n.lastIndex}}return null}(e,n,t,r):function(e,n,t,r){var a,i=e-1-r,o=t.lastIndexOf(" ",i-1)+1;for(n.lastIndex=o;a=n.exec(t);){var s=a.index||0;if(s<=i&&n.lastIndex>=i)return{word:a[0],startColumn:r+1+s,endColumn:r+1+n.lastIndex}}return null}(e,n,t,r);return n.lastIndex=0,i}(e.column,function(e){var n=ne;if(e&&e instanceof RegExp)if(e.global)n=e;else{var t="g";e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),n=new RegExp(e.source,t)}return n.lastIndex=0,n}(n),this._lines[e.lineNumber-1],0);return t?new K(e.lineNumber,t.startColumn,e.lineNumber,t.endColumn):null},n.prototype.getWordUntilPosition=function(e,n){var t=this.getWordAtPosition(e,n);return t?{word:this._lines[e.lineNumber-1].substring(t.startColumn-1,e.column-1),startColumn:t.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}},n.prototype.createWordIterator=function(e){var n,t,r=this,a=0,i=0,o=[],s=function(){if(i=r._lines.length?x:(t=r._lines[a],o=r._wordenize(t,e),i=0,a+=1,s())};return{next:s}},n.prototype.getLineWords=function(e,n){for(var t=this._lines[e-1],r=[],a=0,i=this._wordenize(t,n);athis._lines.length)n=this._lines.length,t=this._lines[n-1].length+1,r=!0;else{var a=this._lines[n-1].length+1;t<1?(t=1,r=!0):t>a&&(t=a,r=!0)}return r?{lineNumber:n,column:t}:e},n}(ee),rn=function(e){function n(n){var t=e.call(this,n)||this;return t._models=Object.create(null),t}return nn(n,e),n.prototype.dispose=function(){this._models=Object.create(null)},n.prototype._getModel=function(e){return this._models[e]},n.prototype._getModels=function(){var e=this,n=[];return Object.keys(this._models).forEach((function(t){return n.push(e._models[t])})),n},n.prototype.acceptNewModel=function(e){this._models[e.url]=new tn(w.parse(e.url),e.lines,e.EOL,e.versionId)},n.prototype.acceptModelChanged=function(e,n){this._models[e]&&this._models[e].onEvents(n)},n.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},n}(function(){function e(e){this._foreignModuleFactory=e,this._foreignModule=null}return e.prototype.computeDiff=function(e,n,t){var r=this._getModel(e),a=this._getModel(n);if(!r||!a)return Promise.resolve(null);var i=r.getLinesContent(),o=a.getLinesContent(),s=new J(i,o,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:t,shouldMakePrettyDiff:!0}).computeDiff(),l=!(s.length>0)&&this._modelsAreIdentical(r,a);return Promise.resolve({identical:l,changes:s})},e.prototype._modelsAreIdentical=function(e,n){var t=e.getLineCount();if(t!==n.getLineCount())return!1;for(var r=1;r<=t;r++){if(e.getLineContent(r)!==n.getLineContent(r))return!1}return!0},e.prototype.computeMoreMinimalEdits=function(n,t){var r=this._getModel(n);if(!r)return Promise.resolve(t);for(var a=[],i=void 0,o=0,s=t=g(t,(function(e,n){return e.range&&n.range?K.compareRangesUsingStarts(e.range,n.range):(e.range?0:1)-(n.range?0:1)}));oe._diffLimit)a.push({range:c,text:d});else for(var m=h(p,d,!1),f=r.offsetAt(K.lift(c).getStartPosition()),_=0,v=m;_\n\n/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\n/////////////////////////////\n/// ECMAScript APIs\n/////////////////////////////\n\ndeclare var NaN: number;\ndeclare var Infinity: number;\n\n/**\n * Evaluates JavaScript code and executes it.\n * @param x A String value that contains valid JavaScript code.\n */\ndeclare function eval(x: string): any;\n\n/**\n * Converts A string to an integer.\n * @param s A string to convert into a number.\n * @param radix A value between 2 and 36 that specifies the base of the number in numString.\n * If this argument is not supplied, strings with a prefix of \'0x\' are considered hexadecimal.\n * All other strings are considered decimal.\n */\ndeclare function parseInt(s: string, radix?: number): number;\n\n/**\n * Converts a string to a floating-point number.\n * @param string A string that contains a floating-point number.\n */\ndeclare function parseFloat(string: string): number;\n\n/**\n * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).\n * @param number A numeric value.\n */\ndeclare function isNaN(number: number): boolean;\n\n/**\n * Determines whether a supplied number is finite.\n * @param number Any numeric value.\n */\ndeclare function isFinite(number: number): boolean;\n\n/**\n * Gets the unencoded version of an encoded Uniform Resource Identifier (URI).\n * @param encodedURI A value representing an encoded URI.\n */\ndeclare function decodeURI(encodedURI: string): string;\n\n/**\n * Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).\n * @param encodedURIComponent A value representing an encoded URI component.\n */\ndeclare function decodeURIComponent(encodedURIComponent: string): string;\n\n/**\n * Encodes a text string as a valid Uniform Resource Identifier (URI)\n * @param uri A value representing an encoded URI.\n */\ndeclare function encodeURI(uri: string): string;\n\n/**\n * Encodes a text string as a valid component of a Uniform Resource Identifier (URI).\n * @param uriComponent A value representing an encoded URI component.\n */\ndeclare function encodeURIComponent(uriComponent: string | number | boolean): string;\n\n/**\n * Computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.\n * @param string A string value\n */\ndeclare function escape(string: string): string;\n\n/**\n * Computes a new string in which hexadecimal escape sequences are replaced with the character that it represents.\n * @param string A string value\n */\ndeclare function unescape(string: string): string;\n\ninterface Symbol {\n /** Returns a string representation of an object. */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): symbol;\n}\n\ndeclare type PropertyKey = string | number | symbol;\n\ninterface PropertyDescriptor {\n configurable?: boolean;\n enumerable?: boolean;\n value?: any;\n writable?: boolean;\n get?(): any;\n set?(v: any): void;\n}\n\ninterface PropertyDescriptorMap {\n [s: string]: PropertyDescriptor;\n}\n\ninterface Object {\n /** The initial value of Object.prototype.constructor is the standard built-in Object constructor. */\n constructor: Function;\n\n /** Returns a string representation of an object. */\n toString(): string;\n\n /** Returns a date converted to a string using the current locale. */\n toLocaleString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Object;\n\n /**\n * Determines whether an object has a property with the specified name.\n * @param v A property name.\n */\n hasOwnProperty(v: PropertyKey): boolean;\n\n /**\n * Determines whether an object exists in another object\'s prototype chain.\n * @param v Another object whose prototype chain is to be checked.\n */\n isPrototypeOf(v: Object): boolean;\n\n /**\n * Determines whether a specified property is enumerable.\n * @param v A property name.\n */\n propertyIsEnumerable(v: PropertyKey): boolean;\n}\n\ninterface ObjectConstructor {\n new(value?: any): Object;\n (): any;\n (value: any): any;\n\n /** A reference to the prototype for a class of objects. */\n readonly prototype: Object;\n\n /**\n * Returns the prototype of an object.\n * @param o The object that references the prototype.\n */\n getPrototypeOf(o: any): any;\n\n /**\n * Gets the own property descriptor of the specified object.\n * An own property descriptor is one that is defined directly on the object and is not inherited from the object\'s prototype.\n * @param o Object that contains the property.\n * @param p Name of the property.\n */\n getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;\n\n /**\n * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly\n * on that object, and are not inherited from the object\'s prototype. The properties of an object include both fields (objects) and functions.\n * @param o Object that contains the own properties.\n */\n getOwnPropertyNames(o: any): string[];\n\n /**\n * Creates an object that has the specified prototype or that has null prototype.\n * @param o Object to use as a prototype. May be null.\n */\n create(o: object | null): any;\n\n /**\n * Creates an object that has the specified prototype, and that optionally contains specified properties.\n * @param o Object to use as a prototype. May be null\n * @param properties JavaScript object that contains one or more property descriptors.\n */\n create(o: object | null, properties: PropertyDescriptorMap & ThisType): any;\n\n /**\n * Adds a property to an object, or modifies attributes of an existing property.\n * @param o Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.\n * @param p The property name.\n * @param attributes Descriptor for the property. It can be for a data property or an accessor property.\n */\n defineProperty(o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType): any;\n\n /**\n * Adds one or more properties to an object, and/or modifies attributes of existing properties.\n * @param o Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.\n * @param properties JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.\n */\n defineProperties(o: any, properties: PropertyDescriptorMap & ThisType): any;\n\n /**\n * Prevents the modification of attributes of existing properties, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n seal(o: T): T;\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze(a: T[]): ReadonlyArray;\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze(f: T): T;\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze(o: T): Readonly;\n\n /**\n * Prevents the addition of new properties to an object.\n * @param o Object to make non-extensible.\n */\n preventExtensions(o: T): T;\n\n /**\n * Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.\n * @param o Object to test.\n */\n isSealed(o: any): boolean;\n\n /**\n * Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.\n * @param o Object to test.\n */\n isFrozen(o: any): boolean;\n\n /**\n * Returns a value that indicates whether new properties can be added to an object.\n * @param o Object to test.\n */\n isExtensible(o: any): boolean;\n\n /**\n * Returns the names of the enumerable string properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n keys(o: object): string[];\n}\n\n/**\n * Provides functionality common to all JavaScript objects.\n */\ndeclare var Object: ObjectConstructor;\n\n/**\n * Creates a new function.\n */\ninterface Function {\n /**\n * Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.\n * @param thisArg The object to be used as the this object.\n * @param argArray A set of arguments to be passed to the function.\n */\n apply(this: Function, thisArg: any, argArray?: any): any;\n\n /**\n * Calls a method of an object, substituting another object for the current object.\n * @param thisArg The object to be used as the current object.\n * @param argArray A list of arguments to be passed to the method.\n */\n call(this: Function, thisArg: any, ...argArray: any[]): any;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg An object to which the this keyword can refer inside the new function.\n * @param argArray A list of arguments to be passed to the new function.\n */\n bind(this: Function, thisArg: any, ...argArray: any[]): any;\n\n /** Returns a string representation of a function. */\n toString(): string;\n\n prototype: any;\n readonly length: number;\n\n // Non-standard extensions\n arguments: any;\n caller: Function;\n}\n\ninterface FunctionConstructor {\n /**\n * Creates a new function.\n * @param args A list of arguments the function accepts.\n */\n new(...args: string[]): Function;\n (...args: string[]): Function;\n readonly prototype: Function;\n}\n\ndeclare var Function: FunctionConstructor;\n\n/**\n * Extracts the type of the \'this\' parameter of a function type, or \'unknown\' if the function type has no \'this\' parameter.\n */\ntype ThisParameterType = T extends (this: unknown, ...args: any[]) => any ? unknown : T extends (this: infer U, ...args: any[]) => any ? U : unknown;\n\n/**\n * Removes the \'this\' parameter from a function type.\n */\ntype OmitThisParameter = unknown extends ThisParameterType ? T : T extends (...args: infer A) => infer R ? (...args: A) => R : T;\n\ninterface CallableFunction extends Function {\n /**\n * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args An array of argument values to be passed to the function.\n */\n apply(this: (this: T) => R, thisArg: T): R;\n apply(this: (this: T, ...args: A) => R, thisArg: T, args: A): R;\n\n /**\n * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args Argument values to be passed to the function.\n */\n call(this: (this: T, ...args: A) => R, thisArg: T, ...args: A): R;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg The object to be used as the this object.\n * @param args Arguments to bind to the parameters of the function.\n */\n bind(this: T, thisArg: ThisParameterType): OmitThisParameter;\n bind(this: (this: T, arg0: A0, ...args: A) => R, thisArg: T, arg0: A0): (...args: A) => R;\n bind(this: (this: T, arg0: A0, arg1: A1, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1): (...args: A) => R;\n bind(this: (this: T, arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2): (...args: A) => R;\n bind(this: (this: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3): (...args: A) => R;\n bind(this: (this: T, ...args: AX[]) => R, thisArg: T, ...args: AX[]): (...args: AX[]) => R;\n}\n\ninterface NewableFunction extends Function {\n /**\n * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args An array of argument values to be passed to the function.\n */\n apply(this: new () => T, thisArg: T): void;\n apply(this: new (...args: A) => T, thisArg: T, args: A): void;\n\n /**\n * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args Argument values to be passed to the function.\n */\n call(this: new (...args: A) => T, thisArg: T, ...args: A): void;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg The object to be used as the this object.\n * @param args Arguments to bind to the parameters of the function.\n */\n bind(this: T, thisArg: any): T;\n bind(this: new (arg0: A0, ...args: A) => R, thisArg: any, arg0: A0): new (...args: A) => R;\n bind(this: new (arg0: A0, arg1: A1, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1): new (...args: A) => R;\n bind(this: new (arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2): new (...args: A) => R;\n bind(this: new (arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2, arg3: A3): new (...args: A) => R;\n bind(this: new (...args: AX[]) => R, thisArg: any, ...args: AX[]): new (...args: AX[]) => R;\n}\n\ninterface IArguments {\n [index: number]: any;\n length: number;\n callee: Function;\n}\n\ninterface String {\n /** Returns a string representation of a string. */\n toString(): string;\n\n /**\n * Returns the character at the specified index.\n * @param pos The zero-based index of the desired character.\n */\n charAt(pos: number): string;\n\n /**\n * Returns the Unicode value of the character at the specified location.\n * @param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.\n */\n charCodeAt(index: number): number;\n\n /**\n * Returns a string that contains the concatenation of two or more strings.\n * @param strings The strings to append to the end of the string.\n */\n concat(...strings: string[]): string;\n\n /**\n * Returns the position of the first occurrence of a substring.\n * @param searchString The substring to search for in the string\n * @param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.\n */\n indexOf(searchString: string, position?: number): number;\n\n /**\n * Returns the last occurrence of a substring in the string.\n * @param searchString The substring to search for.\n * @param position The index at which to begin searching. If omitted, the search begins at the end of the string.\n */\n lastIndexOf(searchString: string, position?: number): number;\n\n /**\n * Determines whether two strings are equivalent in the current locale.\n * @param that String to compare to target string\n */\n localeCompare(that: string): number;\n\n /**\n * Matches a string with a regular expression, and returns an array containing the results of that search.\n * @param regexp A variable name or string literal containing the regular expression pattern and flags.\n */\n match(regexp: string | RegExp): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replace(searchValue: string | RegExp, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replacer A function that returns the replacement text.\n */\n replace(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the first substring match in a regular expression search.\n * @param regexp The regular expression pattern and applicable flags.\n */\n search(regexp: string | RegExp): number;\n\n /**\n * Returns a section of a string.\n * @param start The index to the beginning of the specified portion of stringObj.\n * @param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\n * If this value is not specified, the substring continues to the end of stringObj.\n */\n slice(start?: number, end?: number): string;\n\n /**\n * Split a string into substrings using the specified separator and return them as an array.\n * @param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\n * @param limit A value used to limit the number of elements returned in the array.\n */\n split(separator: string | RegExp, limit?: number): string[];\n\n /**\n * Returns the substring at the specified location within a String object.\n * @param start The zero-based index number indicating the beginning of the substring.\n * @param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\n * If end is omitted, the characters from start through the end of the original string are returned.\n */\n substring(start: number, end?: number): string;\n\n /** Converts all the alphabetic characters in a string to lowercase. */\n toLowerCase(): string;\n\n /** Converts all alphabetic characters to lowercase, taking into account the host environment\'s current locale. */\n toLocaleLowerCase(): string;\n\n /** Converts all the alphabetic characters in a string to uppercase. */\n toUpperCase(): string;\n\n /** Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment\'s current locale. */\n toLocaleUpperCase(): string;\n\n /** Removes the leading and trailing white space and line terminator characters from a string. */\n trim(): string;\n\n /** Returns the length of a String object. */\n readonly length: number;\n\n // IE extensions\n /**\n * Gets a substring beginning at the specified location and having the specified length.\n * @param from The starting position of the desired substring. The index of the first character in the string is zero.\n * @param length The number of characters to include in the returned substring.\n */\n substr(from: number, length?: number): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): string;\n\n readonly [index: number]: string;\n}\n\ninterface StringConstructor {\n new(value?: any): String;\n (value?: any): string;\n readonly prototype: String;\n fromCharCode(...codes: number[]): string;\n}\n\n/**\n * Allows manipulation and formatting of text strings and determination and location of substrings within strings.\n */\ndeclare var String: StringConstructor;\n\ninterface Boolean {\n /** Returns the primitive value of the specified object. */\n valueOf(): boolean;\n}\n\ninterface BooleanConstructor {\n new(value?: any): Boolean;\n (value?: T): boolean;\n readonly prototype: Boolean;\n}\n\ndeclare var Boolean: BooleanConstructor;\n\ninterface Number {\n /**\n * Returns a string representation of an object.\n * @param radix Specifies a radix for converting numeric values to strings. This value is only used for numbers.\n */\n toString(radix?: number): string;\n\n /**\n * Returns a string representing a number in fixed-point notation.\n * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\n */\n toFixed(fractionDigits?: number): string;\n\n /**\n * Returns a string containing a number represented in exponential notation.\n * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\n */\n toExponential(fractionDigits?: number): string;\n\n /**\n * Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.\n * @param precision Number of significant digits. Must be in the range 1 - 21, inclusive.\n */\n toPrecision(precision?: number): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): number;\n}\n\ninterface NumberConstructor {\n new(value?: any): Number;\n (value?: any): number;\n readonly prototype: Number;\n\n /** The largest number that can be represented in JavaScript. Equal to approximately 1.79E+308. */\n readonly MAX_VALUE: number;\n\n /** The closest number to zero that can be represented in JavaScript. Equal to approximately 5.00E-324. */\n readonly MIN_VALUE: number;\n\n /**\n * A value that is not a number.\n * In equality comparisons, NaN does not equal any value, including itself. To test whether a value is equivalent to NaN, use the isNaN function.\n */\n readonly NaN: number;\n\n /**\n * A value that is less than the largest negative number that can be represented in JavaScript.\n * JavaScript displays NEGATIVE_INFINITY values as -infinity.\n */\n readonly NEGATIVE_INFINITY: number;\n\n /**\n * A value greater than the largest number that can be represented in JavaScript.\n * JavaScript displays POSITIVE_INFINITY values as infinity.\n */\n readonly POSITIVE_INFINITY: number;\n}\n\n/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */\ndeclare var Number: NumberConstructor;\n\ninterface TemplateStringsArray extends ReadonlyArray {\n readonly raw: ReadonlyArray;\n}\n\n/**\n * The type of `import.meta`.\n *\n * If you need to declare that a given property exists on `import.meta`,\n * this type may be augmented via interface merging.\n */\ninterface ImportMeta {\n}\n\ninterface Math {\n /** The mathematical constant e. This is Euler\'s number, the base of natural logarithms. */\n readonly E: number;\n /** The natural logarithm of 10. */\n readonly LN10: number;\n /** The natural logarithm of 2. */\n readonly LN2: number;\n /** The base-2 logarithm of e. */\n readonly LOG2E: number;\n /** The base-10 logarithm of e. */\n readonly LOG10E: number;\n /** Pi. This is the ratio of the circumference of a circle to its diameter. */\n readonly PI: number;\n /** The square root of 0.5, or, equivalently, one divided by the square root of 2. */\n readonly SQRT1_2: number;\n /** The square root of 2. */\n readonly SQRT2: number;\n /**\n * Returns the absolute value of a number (the value without regard to whether it is positive or negative).\n * For example, the absolute value of -5 is the same as the absolute value of 5.\n * @param x A numeric expression for which the absolute value is needed.\n */\n abs(x: number): number;\n /**\n * Returns the arc cosine (or inverse cosine) of a number.\n * @param x A numeric expression.\n */\n acos(x: number): number;\n /**\n * Returns the arcsine of a number.\n * @param x A numeric expression.\n */\n asin(x: number): number;\n /**\n * Returns the arctangent of a number.\n * @param x A numeric expression for which the arctangent is needed.\n */\n atan(x: number): number;\n /**\n * Returns the angle (in radians) from the X axis to a point.\n * @param y A numeric expression representing the cartesian y-coordinate.\n * @param x A numeric expression representing the cartesian x-coordinate.\n */\n atan2(y: number, x: number): number;\n /**\n * Returns the smallest integer greater than or equal to its numeric argument.\n * @param x A numeric expression.\n */\n ceil(x: number): number;\n /**\n * Returns the cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n cos(x: number): number;\n /**\n * Returns e (the base of natural logarithms) raised to a power.\n * @param x A numeric expression representing the power of e.\n */\n exp(x: number): number;\n /**\n * Returns the greatest integer less than or equal to its numeric argument.\n * @param x A numeric expression.\n */\n floor(x: number): number;\n /**\n * Returns the natural logarithm (base e) of a number.\n * @param x A numeric expression.\n */\n log(x: number): number;\n /**\n * Returns the larger of a set of supplied numeric expressions.\n * @param values Numeric expressions to be evaluated.\n */\n max(...values: number[]): number;\n /**\n * Returns the smaller of a set of supplied numeric expressions.\n * @param values Numeric expressions to be evaluated.\n */\n min(...values: number[]): number;\n /**\n * Returns the value of a base expression taken to a specified power.\n * @param x The base value of the expression.\n * @param y The exponent value of the expression.\n */\n pow(x: number, y: number): number;\n /** Returns a pseudorandom number between 0 and 1. */\n random(): number;\n /**\n * Returns a supplied numeric expression rounded to the nearest number.\n * @param x The value to be rounded to the nearest number.\n */\n round(x: number): number;\n /**\n * Returns the sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n sin(x: number): number;\n /**\n * Returns the square root of a number.\n * @param x A numeric expression.\n */\n sqrt(x: number): number;\n /**\n * Returns the tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n tan(x: number): number;\n}\n/** An intrinsic object that provides basic mathematics functionality and constants. */\ndeclare var Math: Math;\n\n/** Enables basic storage and retrieval of dates and times. */\ninterface Date {\n /** Returns a string representation of a date. The format of the string depends on the locale. */\n toString(): string;\n /** Returns a date as a string value. */\n toDateString(): string;\n /** Returns a time as a string value. */\n toTimeString(): string;\n /** Returns a value as a string value appropriate to the host environment\'s current locale. */\n toLocaleString(): string;\n /** Returns a date as a string value appropriate to the host environment\'s current locale. */\n toLocaleDateString(): string;\n /** Returns a time as a string value appropriate to the host environment\'s current locale. */\n toLocaleTimeString(): string;\n /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */\n valueOf(): number;\n /** Gets the time value in milliseconds. */\n getTime(): number;\n /** Gets the year, using local time. */\n getFullYear(): number;\n /** Gets the year using Universal Coordinated Time (UTC). */\n getUTCFullYear(): number;\n /** Gets the month, using local time. */\n getMonth(): number;\n /** Gets the month of a Date object using Universal Coordinated Time (UTC). */\n getUTCMonth(): number;\n /** Gets the day-of-the-month, using local time. */\n getDate(): number;\n /** Gets the day-of-the-month, using Universal Coordinated Time (UTC). */\n getUTCDate(): number;\n /** Gets the day of the week, using local time. */\n getDay(): number;\n /** Gets the day of the week using Universal Coordinated Time (UTC). */\n getUTCDay(): number;\n /** Gets the hours in a date, using local time. */\n getHours(): number;\n /** Gets the hours value in a Date object using Universal Coordinated Time (UTC). */\n getUTCHours(): number;\n /** Gets the minutes of a Date object, using local time. */\n getMinutes(): number;\n /** Gets the minutes of a Date object using Universal Coordinated Time (UTC). */\n getUTCMinutes(): number;\n /** Gets the seconds of a Date object, using local time. */\n getSeconds(): number;\n /** Gets the seconds of a Date object using Universal Coordinated Time (UTC). */\n getUTCSeconds(): number;\n /** Gets the milliseconds of a Date, using local time. */\n getMilliseconds(): number;\n /** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */\n getUTCMilliseconds(): number;\n /** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */\n getTimezoneOffset(): number;\n /**\n * Sets the date and time value in the Date object.\n * @param time A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT.\n */\n setTime(time: number): number;\n /**\n * Sets the milliseconds value in the Date object using local time.\n * @param ms A numeric value equal to the millisecond value.\n */\n setMilliseconds(ms: number): number;\n /**\n * Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).\n * @param ms A numeric value equal to the millisecond value.\n */\n setUTCMilliseconds(ms: number): number;\n\n /**\n * Sets the seconds value in the Date object using local time.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setSeconds(sec: number, ms?: number): number;\n /**\n * Sets the seconds value in the Date object using Universal Coordinated Time (UTC).\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCSeconds(sec: number, ms?: number): number;\n /**\n * Sets the minutes value in the Date object using local time.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setMinutes(min: number, sec?: number, ms?: number): number;\n /**\n * Sets the minutes value in the Date object using Universal Coordinated Time (UTC).\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCMinutes(min: number, sec?: number, ms?: number): number;\n /**\n * Sets the hour value in the Date object using local time.\n * @param hours A numeric value equal to the hours value.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setHours(hours: number, min?: number, sec?: number, ms?: number): number;\n /**\n * Sets the hours value in the Date object using Universal Coordinated Time (UTC).\n * @param hours A numeric value equal to the hours value.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCHours(hours: number, min?: number, sec?: number, ms?: number): number;\n /**\n * Sets the numeric day-of-the-month value of the Date object using local time.\n * @param date A numeric value equal to the day of the month.\n */\n setDate(date: number): number;\n /**\n * Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).\n * @param date A numeric value equal to the day of the month.\n */\n setUTCDate(date: number): number;\n /**\n * Sets the month value in the Date object using local time.\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\n * @param date A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used.\n */\n setMonth(month: number, date?: number): number;\n /**\n * Sets the month value in the Date object using Universal Coordinated Time (UTC).\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\n * @param date A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used.\n */\n setUTCMonth(month: number, date?: number): number;\n /**\n * Sets the year of the Date object using local time.\n * @param year A numeric value for the year.\n * @param month A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified.\n * @param date A numeric value equal for the day of the month.\n */\n setFullYear(year: number, month?: number, date?: number): number;\n /**\n * Sets the year value in the Date object using Universal Coordinated Time (UTC).\n * @param year A numeric value equal to the year.\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied.\n * @param date A numeric value equal to the day of the month.\n */\n setUTCFullYear(year: number, month?: number, date?: number): number;\n /** Returns a date converted to a string using Universal Coordinated Time (UTC). */\n toUTCString(): string;\n /** Returns a date as a string value in ISO format. */\n toISOString(): string;\n /** Used by the JSON.stringify method to enable the transformation of an object\'s data for JavaScript Object Notation (JSON) serialization. */\n toJSON(key?: any): string;\n}\n\ninterface DateConstructor {\n new(): Date;\n new(value: number | string): Date;\n new(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): Date;\n (): string;\n readonly prototype: Date;\n /**\n * Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.\n * @param s A date string\n */\n parse(s: string): number;\n /**\n * Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.\n * @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.\n * @param month The month as an number between 0 and 11 (January to December).\n * @param date The date as an number between 1 and 31.\n * @param hours Must be supplied if minutes is supplied. An number from 0 to 23 (midnight to 11pm) that specifies the hour.\n * @param minutes Must be supplied if seconds is supplied. An number from 0 to 59 that specifies the minutes.\n * @param seconds Must be supplied if milliseconds is supplied. An number from 0 to 59 that specifies the seconds.\n * @param ms An number from 0 to 999 that specifies the milliseconds.\n */\n UTC(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;\n now(): number;\n}\n\ndeclare var Date: DateConstructor;\n\ninterface RegExpMatchArray extends Array {\n index?: number;\n input?: string;\n}\n\ninterface RegExpExecArray extends Array {\n index: number;\n input: string;\n}\n\ninterface RegExp {\n /**\n * Executes a search on a string using a regular expression pattern, and returns an array containing the results of that search.\n * @param string The String object or string literal on which to perform the search.\n */\n exec(string: string): RegExpExecArray | null;\n\n /**\n * Returns a Boolean value that indicates whether or not a pattern exists in a searched string.\n * @param string String on which to perform the search.\n */\n test(string: string): boolean;\n\n /** Returns a copy of the text of the regular expression pattern. Read-only. The regExp argument is a Regular expression object. It can be a variable name or a literal. */\n readonly source: string;\n\n /** Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only. */\n readonly global: boolean;\n\n /** Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Default is false. Read-only. */\n readonly ignoreCase: boolean;\n\n /** Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Default is false. Read-only. */\n readonly multiline: boolean;\n\n lastIndex: number;\n\n // Non-standard extensions\n compile(): this;\n}\n\ninterface RegExpConstructor {\n new(pattern: RegExp | string): RegExp;\n new(pattern: string, flags?: string): RegExp;\n (pattern: RegExp | string): RegExp;\n (pattern: string, flags?: string): RegExp;\n readonly prototype: RegExp;\n\n // Non-standard extensions\n $1: string;\n $2: string;\n $3: string;\n $4: string;\n $5: string;\n $6: string;\n $7: string;\n $8: string;\n $9: string;\n lastMatch: string;\n}\n\ndeclare var RegExp: RegExpConstructor;\n\ninterface Error {\n name: string;\n message: string;\n stack?: string;\n}\n\ninterface ErrorConstructor {\n new(message?: string): Error;\n (message?: string): Error;\n readonly prototype: Error;\n}\n\ndeclare var Error: ErrorConstructor;\n\ninterface EvalError extends Error {\n}\n\ninterface EvalErrorConstructor {\n new(message?: string): EvalError;\n (message?: string): EvalError;\n readonly prototype: EvalError;\n}\n\ndeclare var EvalError: EvalErrorConstructor;\n\ninterface RangeError extends Error {\n}\n\ninterface RangeErrorConstructor {\n new(message?: string): RangeError;\n (message?: string): RangeError;\n readonly prototype: RangeError;\n}\n\ndeclare var RangeError: RangeErrorConstructor;\n\ninterface ReferenceError extends Error {\n}\n\ninterface ReferenceErrorConstructor {\n new(message?: string): ReferenceError;\n (message?: string): ReferenceError;\n readonly prototype: ReferenceError;\n}\n\ndeclare var ReferenceError: ReferenceErrorConstructor;\n\ninterface SyntaxError extends Error {\n}\n\ninterface SyntaxErrorConstructor {\n new(message?: string): SyntaxError;\n (message?: string): SyntaxError;\n readonly prototype: SyntaxError;\n}\n\ndeclare var SyntaxError: SyntaxErrorConstructor;\n\ninterface TypeError extends Error {\n}\n\ninterface TypeErrorConstructor {\n new(message?: string): TypeError;\n (message?: string): TypeError;\n readonly prototype: TypeError;\n}\n\ndeclare var TypeError: TypeErrorConstructor;\n\ninterface URIError extends Error {\n}\n\ninterface URIErrorConstructor {\n new(message?: string): URIError;\n (message?: string): URIError;\n readonly prototype: URIError;\n}\n\ndeclare var URIError: URIErrorConstructor;\n\ninterface JSON {\n /**\n * Converts a JavaScript Object Notation (JSON) string into an object.\n * @param text A valid JSON string.\n * @param reviver A function that transforms the results. This function is called for each member of the object.\n * If a member contains nested objects, the nested objects are transformed before the parent object is.\n */\n parse(text: string, reviver?: (this: any, key: string, value: any) => any): any;\n /**\n * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\n * @param value A JavaScript value, usually an object or array, to be converted.\n * @param replacer A function that transforms the results.\n * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\n */\n stringify(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;\n /**\n * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\n * @param value A JavaScript value, usually an object or array, to be converted.\n * @param replacer An array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified.\n * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\n */\n stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string;\n}\n\n/**\n * An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format.\n */\ndeclare var JSON: JSON;\n\n\n/////////////////////////////\n/// ECMAScript Array API (specially handled by compiler)\n/////////////////////////////\n\ninterface ReadonlyArray {\n /**\n * Gets the length of the array. This is a number one higher than the highest element defined in an array.\n */\n readonly length: number;\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n /**\n * Returns a string representation of an array. The elements are converted to string using their toLocalString methods.\n */\n toLocaleString(): string;\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: ConcatArray[]): T[];\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: (T | ConcatArray)[]): T[];\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): T[];\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\n */\n indexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Returns the index of the last occurrence of a specified value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.\n */\n lastIndexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: T, index: number, array: ReadonlyArray) => unknown, thisArg?: any): boolean;\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: T, index: number, array: ReadonlyArray) => unknown, thisArg?: any): boolean;\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: T, index: number, array: ReadonlyArray) => void, thisArg?: any): void;\n /**\n * Calls a defined callback function on each element of an array, and returns an array that contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: T, index: number, array: ReadonlyArray) => U, thisArg?: any): U[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: T, index: number, array: ReadonlyArray) => value is S, thisArg?: any): S[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: T, index: number, array: ReadonlyArray) => unknown, thisArg?: any): T[];\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: ReadonlyArray) => T): T;\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: ReadonlyArray) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: ReadonlyArray) => U, initialValue: U): U;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: ReadonlyArray) => T): T;\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: ReadonlyArray) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: ReadonlyArray) => U, initialValue: U): U;\n\n readonly [n: number]: T;\n}\n\ninterface ConcatArray {\n readonly length: number;\n readonly [n: number]: T;\n join(separator?: string): string;\n slice(start?: number, end?: number): T[];\n}\n\ninterface Array {\n /**\n * Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.\n */\n length: number;\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n /**\n * Returns a string representation of an array. The elements are converted to string using their toLocalString methods.\n */\n toLocaleString(): string;\n /**\n * Removes the last element from an array and returns it.\n */\n pop(): T | undefined;\n /**\n * Appends new elements to an array, and returns the new length of the array.\n * @param items New elements of the Array.\n */\n push(...items: T[]): number;\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: ConcatArray[]): T[];\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: (T | ConcatArray)[]): T[];\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n /**\n * Reverses the elements in an Array.\n */\n reverse(): T[];\n /**\n * Removes the first element from an array and returns it.\n */\n shift(): T | undefined;\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): T[];\n /**\n * Sorts an array.\n * @param compareFn The name of the function used to determine the order of the elements. If omitted, the elements are sorted in ascending, ASCII character order.\n */\n sort(compareFn?: (a: T, b: T) => number): this;\n /**\n * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n * @param start The zero-based location in the array from which to start removing elements.\n * @param deleteCount The number of elements to remove.\n */\n splice(start: number, deleteCount?: number): T[];\n /**\n * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n * @param start The zero-based location in the array from which to start removing elements.\n * @param deleteCount The number of elements to remove.\n * @param items Elements to insert into the array in place of the deleted elements.\n */\n splice(start: number, deleteCount: number, ...items: T[]): T[];\n /**\n * Inserts new elements at the start of an array.\n * @param items Elements to insert at the start of the Array.\n */\n unshift(...items: T[]): number;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\n */\n indexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Returns the index of the last occurrence of a specified value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.\n */\n lastIndexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;\n /**\n * Calls a defined callback function on each element of an array, and returns an array that contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T[];\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\n\n [n: number]: T;\n}\n\ninterface ArrayConstructor {\n new(arrayLength?: number): any[];\n new (arrayLength: number): T[];\n new (...items: T[]): T[];\n (arrayLength?: number): any[];\n (arrayLength: number): T[];\n (...items: T[]): T[];\n isArray(arg: any): arg is Array;\n readonly prototype: Array;\n}\n\ndeclare var Array: ArrayConstructor;\n\ninterface TypedPropertyDescriptor {\n enumerable?: boolean;\n configurable?: boolean;\n writable?: boolean;\n value?: T;\n get?: () => T;\n set?: (value: T) => void;\n}\n\ndeclare type ClassDecorator = (target: TFunction) => TFunction | void;\ndeclare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;\ndeclare type MethodDecorator = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor | void;\ndeclare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;\n\ndeclare type PromiseConstructorLike = new (executor: (resolve: (value?: T | PromiseLike) => void, reject: (reason?: any) => void) => void) => PromiseLike;\n\ninterface PromiseLike {\n /**\n * Attaches callbacks for the resolution and/or rejection of the Promise.\n * @param onfulfilled The callback to execute when the Promise is resolved.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of which ever callback is executed.\n */\n then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): PromiseLike;\n}\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface Promise {\n /**\n * Attaches callbacks for the resolution and/or rejection of the Promise.\n * @param onfulfilled The callback to execute when the Promise is resolved.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of which ever callback is executed.\n */\n then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise;\n\n /**\n * Attaches a callback for only the rejection of the Promise.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of the callback.\n */\n catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise;\n}\n\ninterface ArrayLike {\n readonly length: number;\n readonly [n: number]: T;\n}\n\n/**\n * Make all properties in T optional\n */\ntype Partial = {\n [P in keyof T]?: T[P];\n};\n\n/**\n * Make all properties in T required\n */\ntype Required = {\n [P in keyof T]-?: T[P];\n};\n\n/**\n * Make all properties in T readonly\n */\ntype Readonly = {\n readonly [P in keyof T]: T[P];\n};\n\n/**\n * From T, pick a set of properties whose keys are in the union K\n */\ntype Pick = {\n [P in K]: T[P];\n};\n\n/**\n * Construct a type with a set of properties K of type T\n */\ntype Record = {\n [P in K]: T;\n};\n\n/**\n * Exclude from T those types that are assignable to U\n */\ntype Exclude = T extends U ? never : T;\n\n/**\n * Extract from T those types that are assignable to U\n */\ntype Extract = T extends U ? T : never;\n\n/**\n * Construct a type with the properties of T except for those in type K.\n */\ntype Omit = Pick>;\n\n/**\n * Exclude null and undefined from T\n */\ntype NonNullable = T extends null | undefined ? never : T;\n\n/**\n * Obtain the parameters of a function type in a tuple\n */\ntype Parameters any> = T extends (...args: infer P) => any ? P : never;\n\n/**\n * Obtain the parameters of a constructor function type in a tuple\n */\ntype ConstructorParameters any> = T extends new (...args: infer P) => any ? P : never;\n\n/**\n * Obtain the return type of a function type\n */\ntype ReturnType any> = T extends (...args: any) => infer R ? R : any;\n\n/**\n * Obtain the return type of a constructor function type\n */\ntype InstanceType any> = T extends new (...args: any) => infer R ? R : any;\n\n/**\n * Marker for contextual \'this\' type\n */\ninterface ThisType { }\n\n/**\n * Represents a raw buffer of binary data, which is used to store data for the\n * different typed arrays. ArrayBuffers cannot be read from or written to directly,\n * but can be passed to a typed array or DataView Object to interpret the raw\n * buffer as needed.\n */\ninterface ArrayBuffer {\n /**\n * Read-only. The length of the ArrayBuffer (in bytes).\n */\n readonly byteLength: number;\n\n /**\n * Returns a section of an ArrayBuffer.\n */\n slice(begin: number, end?: number): ArrayBuffer;\n}\n\n/**\n * Allowed ArrayBuffer types for the buffer of an ArrayBufferView and related Typed Arrays.\n */\ninterface ArrayBufferTypes {\n ArrayBuffer: ArrayBuffer;\n}\ntype ArrayBufferLike = ArrayBufferTypes[keyof ArrayBufferTypes];\n\ninterface ArrayBufferConstructor {\n readonly prototype: ArrayBuffer;\n new(byteLength: number): ArrayBuffer;\n isView(arg: any): arg is ArrayBufferView;\n}\ndeclare var ArrayBuffer: ArrayBufferConstructor;\n\ninterface ArrayBufferView {\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n byteOffset: number;\n}\n\ninterface DataView {\n readonly buffer: ArrayBuffer;\n readonly byteLength: number;\n readonly byteOffset: number;\n /**\n * Gets the Float32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getFloat32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Float64 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getFloat64(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Int8 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt8(byteOffset: number): number;\n\n /**\n * Gets the Int16 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt16(byteOffset: number, littleEndian?: boolean): number;\n /**\n * Gets the Int32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Uint8 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint8(byteOffset: number): number;\n\n /**\n * Gets the Uint16 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint16(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Uint32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Stores an Float32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setFloat32(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Float64 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setFloat64(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Int8 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n */\n setInt8(byteOffset: number, value: number): void;\n\n /**\n * Stores an Int16 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setInt16(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Int32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setInt32(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Uint8 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n */\n setUint8(byteOffset: number, value: number): void;\n\n /**\n * Stores an Uint16 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setUint16(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Uint32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setUint32(byteOffset: number, value: number, littleEndian?: boolean): void;\n}\n\ninterface DataViewConstructor {\n new(buffer: ArrayBufferLike, byteOffset?: number, byteLength?: number): DataView;\n}\ndeclare var DataView: DataViewConstructor;\n\n/**\n * A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\n * number of bytes could not be allocated an exception is raised.\n */\ninterface Int8Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in array1 until the callbackfn returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Int8Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Int8Array) => any, thisArg?: any): Int8Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int8Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int8Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): Int8Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls the\n * callbackfn function for each element in array1 until the callbackfn returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Int8Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn The name of the function used to determine the order of the elements. If\n * omitted, the elements are sorted in ascending, ASCII character order.\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int8Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin: number, end?: number): Int8Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\ninterface Int8ArrayConstructor {\n readonly prototype: Int8Array;\n new(length: number): Int8Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Int8Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Int8Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array;\n\n\n}\ndeclare var Int8Array: Int8ArrayConstructor;\n\n/**\n * A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint8Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in array1 until the callbackfn returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Uint8Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Uint8Array) => any, thisArg?: any): Uint8Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint8Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint8Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): Uint8Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls the\n * callbackfn function for each element in array1 until the callbackfn returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Uint8Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn The name of the function used to determine the order of the elements. If\n * omitted, the elements are sorted in ascending, ASCII character order.\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin: number, end?: number): Uint8Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Uint8ArrayConstructor {\n readonly prototype: Uint8Array;\n new(length: number): Uint8Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Uint8Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint8Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array;\n\n}\ndeclare var Uint8Array: Uint8ArrayConstructor;\n\n/**\n * A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\n * If the requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint8ClampedArray {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in array1 until the callbackfn returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => any, thisArg?: any): Uint8ClampedArray;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint8ClampedArray;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): Uint8ClampedArray;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls the\n * callbackfn function for each element in array1 until the callbackfn returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn The name of the function used to determine the order of the elements. If\n * omitted, the elements are sorted in ascending, ASCII character order.\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint8ClampedArray view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin: number, end?: number): Uint8ClampedArray;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Uint8ClampedArrayConstructor {\n readonly prototype: Uint8ClampedArray;\n new(length: number): Uint8ClampedArray;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Uint8ClampedArray;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint8ClampedArray;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint8ClampedArray;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Uint8ClampedArray;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray;\n}\ndeclare var Uint8ClampedArray: Uint8ClampedArrayConstructor;\n\n/**\n * A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Int16Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in array1 until the callbackfn returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Int16Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int16Array) => void, thisArg?: any): void;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int16Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): Int16Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls the\n * callbackfn function for each element in array1 until the callbackfn returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Int16Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn The name of the function used to determine the order of the elements. If\n * omitted, the elements are sorted in ascending, ASCII character order.\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int16Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin: number, end?: number): Int16Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Int16ArrayConstructor {\n readonly prototype: Int16Array;\n new(length: number): Int16Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Int16Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Int16Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array;\n\n\n}\ndeclare var Int16Array: Int16ArrayConstructor;\n\n/**\n * A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint16Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in array1 until the callbackfn returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Uint16Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Uint16Array) => any, thisArg?: any): Uint16Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint16Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint16Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): Uint16Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls the\n * callbackfn function for each element in array1 until the callbackfn returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Uint16Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn The name of the function used to determine the order of the elements. If\n * omitted, the elements are sorted in ascending, ASCII character order.\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint16Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin: number, end?: number): Uint16Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Uint16ArrayConstructor {\n readonly prototype: Uint16Array;\n new(length: number): Uint16Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Uint16Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint16Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array;\n\n\n}\ndeclare var Uint16Array: Uint16ArrayConstructor;\n/**\n * A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Int32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in array1 until the callbackfn returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Int32Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Int32Array) => any, thisArg?: any): Int32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int32Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int32Array) => number, thisArg?: any): Int32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): Int32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls the\n * callbackfn function for each element in array1 until the callbackfn returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Int32Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn The name of the function used to determine the order of the elements. If\n * omitted, the elements are sorted in ascending, ASCII character order.\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin: number, end?: number): Int32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Int32ArrayConstructor {\n readonly prototype: Int32Array;\n new(length: number): Int32Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Int32Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Int32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array;\n\n}\ndeclare var Int32Array: Int32ArrayConstructor;\n\n/**\n * A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in array1 until the callbackfn returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Uint32Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Uint32Array) => any, thisArg?: any): Uint32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint32Array) => void, thisArg?: any): void;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): Uint32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls the\n * callbackfn function for each element in array1 until the callbackfn returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Uint32Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn The name of the function used to determine the order of the elements. If\n * omitted, the elements are sorted in ascending, ASCII character order.\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin: number, end?: number): Uint32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Uint32ArrayConstructor {\n readonly prototype: Uint32Array;\n new(length: number): Uint32Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Uint32Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array;\n\n}\ndeclare var Uint32Array: Uint32ArrayConstructor;\n\n/**\n * A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\n * of bytes could not be allocated an exception is raised.\n */\ninterface Float32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in array1 until the callbackfn returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Float32Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Float32Array) => any, thisArg?: any): Float32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Float32Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Float32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): Float32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls the\n * callbackfn function for each element in array1 until the callbackfn returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Float32Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn The name of the function used to determine the order of the elements. If\n * omitted, the elements are sorted in ascending, ASCII character order.\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Float32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin: number, end?: number): Float32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Float32ArrayConstructor {\n readonly prototype: Float32Array;\n new(length: number): Float32Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Float32Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Float32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array;\n\n\n}\ndeclare var Float32Array: Float32ArrayConstructor;\n\n/**\n * A typed array of 64-bit float values. The contents are initialized to 0. If the requested\n * number of bytes could not be allocated an exception is raised.\n */\ninterface Float64Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in array1 until the callbackfn returns false,\n * or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Float64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Float64Array) => any, thisArg?: any): Float64Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any): Float64Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Float64Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array.\n */\n slice(start?: number, end?: number): Float64Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls the\n * callbackfn function for each element in array1 until the callbackfn returns true, or until\n * the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Float64Array) => boolean, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn The name of the function used to determine the order of the elements. If\n * omitted, the elements are sorted in ascending, ASCII character order.\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Float64Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin: number, end?: number): Float64Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Float64ArrayConstructor {\n readonly prototype: Float64Array;\n new(length: number): Float64Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Float64Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Float64Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array;\n\n}\ndeclare var Float64Array: Float64ArrayConstructor;\n\n/////////////////////////////\n/// ECMAScript Internationalization API\n/////////////////////////////\n\ndeclare namespace Intl {\n interface CollatorOptions {\n usage?: string;\n localeMatcher?: string;\n numeric?: boolean;\n caseFirst?: string;\n sensitivity?: string;\n ignorePunctuation?: boolean;\n }\n\n interface ResolvedCollatorOptions {\n locale: string;\n usage: string;\n sensitivity: string;\n ignorePunctuation: boolean;\n collation: string;\n caseFirst: string;\n numeric: boolean;\n }\n\n interface Collator {\n compare(x: string, y: string): number;\n resolvedOptions(): ResolvedCollatorOptions;\n }\n var Collator: {\n new(locales?: string | string[], options?: CollatorOptions): Collator;\n (locales?: string | string[], options?: CollatorOptions): Collator;\n supportedLocalesOf(locales: string | string[], options?: CollatorOptions): string[];\n };\n\n interface NumberFormatOptions {\n localeMatcher?: string;\n style?: string;\n currency?: string;\n currencyDisplay?: string;\n useGrouping?: boolean;\n minimumIntegerDigits?: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n }\n\n interface ResolvedNumberFormatOptions {\n locale: string;\n numberingSystem: string;\n style: string;\n currency?: string;\n currencyDisplay?: string;\n minimumIntegerDigits: number;\n minimumFractionDigits: number;\n maximumFractionDigits: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n useGrouping: boolean;\n }\n\n interface NumberFormat {\n format(value: number): string;\n resolvedOptions(): ResolvedNumberFormatOptions;\n }\n var NumberFormat: {\n new(locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\n (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\n supportedLocalesOf(locales: string | string[], options?: NumberFormatOptions): string[];\n };\n\n interface DateTimeFormatOptions {\n localeMatcher?: string;\n weekday?: string;\n era?: string;\n year?: string;\n month?: string;\n day?: string;\n hour?: string;\n minute?: string;\n second?: string;\n timeZoneName?: string;\n formatMatcher?: string;\n hour12?: boolean;\n timeZone?: string;\n }\n\n interface ResolvedDateTimeFormatOptions {\n locale: string;\n calendar: string;\n numberingSystem: string;\n timeZone: string;\n hour12?: boolean;\n weekday?: string;\n era?: string;\n year?: string;\n month?: string;\n day?: string;\n hour?: string;\n minute?: string;\n second?: string;\n timeZoneName?: string;\n }\n\n interface DateTimeFormat {\n format(date?: Date | number): string;\n resolvedOptions(): ResolvedDateTimeFormatOptions;\n }\n var DateTimeFormat: {\n new(locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\n (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\n supportedLocalesOf(locales: string | string[], options?: DateTimeFormatOptions): string[];\n };\n}\n\ninterface String {\n /**\n * Determines whether two strings are equivalent in the current or specified locale.\n * @param that String to compare to target string\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\n * @param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.\n */\n localeCompare(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;\n}\n\ninterface Number {\n /**\n * Converts a number to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Date {\n /**\n * Converts a date and time to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n /**\n * Converts a date to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleDateString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n\n /**\n * Converts a time to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleTimeString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n}\n/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\n/////////////////////////////\n/// DOM APIs\n/////////////////////////////\n\ninterface Account {\n displayName: string;\n id: string;\n imageURL?: string;\n name?: string;\n rpDisplayName: string;\n}\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n once?: boolean;\n passive?: boolean;\n}\n\ninterface AesCbcParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCtrParams extends Algorithm {\n counter: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n additionalData?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n length: number;\n}\n\ninterface Algorithm {\n name: string;\n}\n\ninterface AnalyserOptions extends AudioNodeOptions {\n fftSize?: number;\n maxDecibels?: number;\n minDecibels?: number;\n smoothingTimeConstant?: number;\n}\n\ninterface AnimationEventInit extends EventInit {\n animationName?: string;\n elapsedTime?: number;\n pseudoElement?: string;\n}\n\ninterface AnimationPlaybackEventInit extends EventInit {\n currentTime?: number | null;\n timelineTime?: number | null;\n}\n\ninterface AssertionOptions {\n allowList?: ScopedCredentialDescriptor[];\n extensions?: WebAuthnExtensions;\n rpId?: string;\n timeoutSeconds?: number;\n}\n\ninterface AssignedNodesOptions {\n flatten?: boolean;\n}\n\ninterface AudioBufferOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface AudioBufferSourceOptions {\n buffer?: AudioBuffer | null;\n detune?: number;\n loop?: boolean;\n loopEnd?: number;\n loopStart?: number;\n playbackRate?: number;\n}\n\ninterface AudioContextInfo {\n currentTime?: number;\n sampleRate?: number;\n}\n\ninterface AudioContextOptions {\n latencyHint?: AudioContextLatencyCategory | number;\n sampleRate?: number;\n}\n\ninterface AudioNodeOptions {\n channelCount?: number;\n channelCountMode?: ChannelCountMode;\n channelInterpretation?: ChannelInterpretation;\n}\n\ninterface AudioParamDescriptor {\n automationRate?: AutomationRate;\n defaultValue?: number;\n maxValue?: number;\n minValue?: number;\n name: string;\n}\n\ninterface AudioProcessingEventInit extends EventInit {\n inputBuffer: AudioBuffer;\n outputBuffer: AudioBuffer;\n playbackTime: number;\n}\n\ninterface AudioTimestamp {\n contextTime?: number;\n performanceTime?: number;\n}\n\ninterface AudioWorkletNodeOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n numberOfOutputs?: number;\n outputChannelCount?: number[];\n parameterData?: Record;\n processorOptions?: any;\n}\n\ninterface BiquadFilterOptions extends AudioNodeOptions {\n Q?: number;\n detune?: number;\n frequency?: number;\n gain?: number;\n type?: BiquadFilterType;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface ByteLengthChunk {\n byteLength?: number;\n}\n\ninterface CacheQueryOptions {\n ignoreMethod?: boolean;\n ignoreSearch?: boolean;\n ignoreVary?: boolean;\n}\n\ninterface CanvasRenderingContext2DSettings {\n alpha?: boolean;\n}\n\ninterface ChannelMergerOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n}\n\ninterface ChannelSplitterOptions extends AudioNodeOptions {\n numberOfOutputs?: number;\n}\n\ninterface ClientData {\n challenge: string;\n extensions?: WebAuthnExtensions;\n hashAlg: string | Algorithm;\n origin: string;\n rpId: string;\n tokenBinding?: string;\n}\n\ninterface ClientQueryOptions {\n includeUncontrolled?: boolean;\n type?: ClientTypes;\n}\n\ninterface ClipboardEventInit extends EventInit {\n clipboardData?: DataTransfer | null;\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number;\n reason?: string;\n wasClean?: boolean;\n}\n\ninterface CompositionEventInit extends UIEventInit {\n data?: string;\n}\n\ninterface ComputedEffectTiming extends EffectTiming {\n activeDuration?: number;\n currentIteration?: number | null;\n endTime?: number;\n localTime?: number | null;\n progress?: number | null;\n}\n\ninterface ComputedKeyframe {\n composite: CompositeOperationOrAuto;\n computedOffset: number;\n easing: string;\n offset: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation {\n arrayOfDomainStrings?: string[];\n}\n\ninterface ConstantSourceOptions {\n offset?: number;\n}\n\ninterface ConstrainBooleanParameters {\n exact?: boolean;\n ideal?: boolean;\n}\n\ninterface ConstrainDOMStringParameters {\n exact?: string | string[];\n ideal?: string | string[];\n}\n\ninterface ConstrainDoubleRange extends DoubleRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainULongRange extends ULongRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainVideoFacingModeParameters {\n exact?: VideoFacingModeEnum | VideoFacingModeEnum[];\n ideal?: VideoFacingModeEnum | VideoFacingModeEnum[];\n}\n\ninterface ConvolverOptions extends AudioNodeOptions {\n buffer?: AudioBuffer | null;\n disableNormalization?: boolean;\n}\n\ninterface CustomEventInit extends EventInit {\n detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n a?: number;\n b?: number;\n c?: number;\n d?: number;\n e?: number;\n f?: number;\n m11?: number;\n m12?: number;\n m21?: number;\n m22?: number;\n m41?: number;\n m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n is2D?: boolean;\n m13?: number;\n m14?: number;\n m23?: number;\n m24?: number;\n m31?: number;\n m32?: number;\n m33?: number;\n m34?: number;\n m43?: number;\n m44?: number;\n}\n\ninterface DOMPointInit {\n w?: number;\n x?: number;\n y?: number;\n z?: number;\n}\n\ninterface DOMQuadInit {\n p1?: DOMPointInit;\n p2?: DOMPointInit;\n p3?: DOMPointInit;\n p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n height?: number;\n width?: number;\n x?: number;\n y?: number;\n}\n\ninterface DelayOptions extends AudioNodeOptions {\n delayTime?: number;\n maxDelayTime?: number;\n}\n\ninterface DeviceLightEventInit extends EventInit {\n value?: number;\n}\n\ninterface DeviceMotionEventAccelerationInit {\n x?: number | null;\n y?: number | null;\n z?: number | null;\n}\n\ninterface DeviceMotionEventInit extends EventInit {\n acceleration?: DeviceMotionEventAccelerationInit;\n accelerationIncludingGravity?: DeviceMotionEventAccelerationInit;\n interval?: number;\n rotationRate?: DeviceMotionEventRotationRateInit;\n}\n\ninterface DeviceMotionEventRotationRateInit {\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DeviceOrientationEventInit extends EventInit {\n absolute?: boolean;\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DevicePermissionDescriptor extends PermissionDescriptor {\n deviceId?: string;\n name: "camera" | "microphone" | "speaker";\n}\n\ninterface DocumentTimelineOptions {\n originTime?: number;\n}\n\ninterface DoubleRange {\n max?: number;\n min?: number;\n}\n\ninterface DragEventInit extends MouseEventInit {\n dataTransfer?: DataTransfer | null;\n}\n\ninterface DynamicsCompressorOptions extends AudioNodeOptions {\n attack?: number;\n knee?: number;\n ratio?: number;\n release?: number;\n threshold?: number;\n}\n\ninterface EcKeyAlgorithm extends KeyAlgorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyGenParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface EffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n}\n\ninterface ElementCreationOptions {\n is?: string;\n}\n\ninterface ElementDefinitionOptions {\n extends?: string;\n}\n\ninterface ErrorEventInit extends EventInit {\n colno?: number;\n error?: any;\n filename?: string;\n lineno?: number;\n message?: string;\n}\n\ninterface EventInit {\n bubbles?: boolean;\n cancelable?: boolean;\n composed?: boolean;\n}\n\ninterface EventListenerOptions {\n capture?: boolean;\n}\n\ninterface EventModifierInit extends UIEventInit {\n altKey?: boolean;\n ctrlKey?: boolean;\n metaKey?: boolean;\n modifierAltGraph?: boolean;\n modifierCapsLock?: boolean;\n modifierFn?: boolean;\n modifierFnLock?: boolean;\n modifierHyper?: boolean;\n modifierNumLock?: boolean;\n modifierOS?: boolean;\n modifierScrollLock?: boolean;\n modifierSuper?: boolean;\n modifierSymbol?: boolean;\n modifierSymbolLock?: boolean;\n shiftKey?: boolean;\n}\n\ninterface EventSourceInit {\n withCredentials?: boolean;\n}\n\ninterface ExceptionInformation {\n domain?: string | null;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n lastModified?: number;\n}\n\ninterface FocusEventInit extends UIEventInit {\n relatedTarget?: EventTarget | null;\n}\n\ninterface FocusNavigationEventInit extends EventInit {\n navigationReason?: string | null;\n originHeight?: number;\n originLeft?: number;\n originTop?: number;\n originWidth?: number;\n}\n\ninterface FocusNavigationOrigin {\n originHeight?: number;\n originLeft?: number;\n originTop?: number;\n originWidth?: number;\n}\n\ninterface FocusOptions {\n preventScroll?: boolean;\n}\n\ninterface FullscreenOptions {\n navigationUI?: FullscreenNavigationUI;\n}\n\ninterface GainOptions extends AudioNodeOptions {\n gain?: number;\n}\n\ninterface GamepadEventInit extends EventInit {\n gamepad: Gamepad;\n}\n\ninterface GetNotificationOptions {\n tag?: string;\n}\n\ninterface GetRootNodeOptions {\n composed?: boolean;\n}\n\ninterface HashChangeEventInit extends EventInit {\n newURL?: string;\n oldURL?: string;\n}\n\ninterface HkdfParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n info: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface HmacImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface HmacKeyAlgorithm extends KeyAlgorithm {\n hash: KeyAlgorithm;\n length: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface IDBIndexParameters {\n multiEntry?: boolean;\n unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n autoIncrement?: boolean;\n keyPath?: string | string[] | null;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n newVersion?: number | null;\n oldVersion?: number;\n}\n\ninterface IIRFilterOptions extends AudioNodeOptions {\n feedback: number[];\n feedforward: number[];\n}\n\ninterface ImageEncodeOptions {\n quality?: number;\n type?: string;\n}\n\ninterface IntersectionObserverEntryInit {\n boundingClientRect: DOMRectInit;\n intersectionRatio: number;\n intersectionRect: DOMRectInit;\n isIntersecting: boolean;\n rootBounds: DOMRectInit | null;\n target: Element;\n time: number;\n}\n\ninterface IntersectionObserverInit {\n root?: Element | null;\n rootMargin?: string;\n threshold?: number | number[];\n}\n\ninterface JsonWebKey {\n alg?: string;\n crv?: string;\n d?: string;\n dp?: string;\n dq?: string;\n e?: string;\n ext?: boolean;\n k?: string;\n key_ops?: string[];\n kty?: string;\n n?: string;\n oth?: RsaOtherPrimesInfo[];\n p?: string;\n q?: string;\n qi?: string;\n use?: string;\n x?: string;\n y?: string;\n}\n\ninterface KeyAlgorithm {\n name: string;\n}\n\ninterface KeyboardEventInit extends EventModifierInit {\n code?: string;\n key?: string;\n location?: number;\n repeat?: boolean;\n}\n\ninterface Keyframe {\n composite?: CompositeOperationOrAuto;\n easing?: string;\n offset?: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface KeyframeAnimationOptions extends KeyframeEffectOptions {\n id?: string;\n}\n\ninterface KeyframeEffectOptions extends EffectTiming {\n composite?: CompositeOperation;\n iterationComposite?: IterationCompositeOperation;\n}\n\ninterface MediaElementAudioSourceOptions {\n mediaElement: HTMLMediaElement;\n}\n\ninterface MediaEncryptedEventInit extends EventInit {\n initData?: ArrayBuffer | null;\n initDataType?: string;\n}\n\ninterface MediaKeyMessageEventInit extends EventInit {\n message: ArrayBuffer;\n messageType: MediaKeyMessageType;\n}\n\ninterface MediaKeySystemConfiguration {\n audioCapabilities?: MediaKeySystemMediaCapability[];\n distinctiveIdentifier?: MediaKeysRequirement;\n initDataTypes?: string[];\n label?: string;\n persistentState?: MediaKeysRequirement;\n sessionTypes?: string[];\n videoCapabilities?: MediaKeySystemMediaCapability[];\n}\n\ninterface MediaKeySystemMediaCapability {\n contentType?: string;\n robustness?: string;\n}\n\ninterface MediaQueryListEventInit extends EventInit {\n matches?: boolean;\n media?: string;\n}\n\ninterface MediaStreamAudioSourceOptions {\n mediaStream: MediaStream;\n}\n\ninterface MediaStreamConstraints {\n audio?: boolean | MediaTrackConstraints;\n peerIdentity?: string;\n video?: boolean | MediaTrackConstraints;\n}\n\ninterface MediaStreamErrorEventInit extends EventInit {\n error?: MediaStreamError | null;\n}\n\ninterface MediaStreamEventInit extends EventInit {\n stream?: MediaStream;\n}\n\ninterface MediaStreamTrackAudioSourceOptions {\n mediaStreamTrack: MediaStreamTrack;\n}\n\ninterface MediaStreamTrackEventInit extends EventInit {\n track: MediaStreamTrack;\n}\n\ninterface MediaTrackCapabilities {\n aspectRatio?: DoubleRange;\n autoGainControl?: boolean[];\n channelCount?: ULongRange;\n deviceId?: string;\n echoCancellation?: boolean[];\n facingMode?: string[];\n frameRate?: DoubleRange;\n groupId?: string;\n height?: ULongRange;\n latency?: DoubleRange;\n noiseSuppression?: boolean[];\n resizeMode?: string[];\n sampleRate?: ULongRange;\n sampleSize?: ULongRange;\n volume?: DoubleRange;\n width?: ULongRange;\n}\n\ninterface MediaTrackConstraintSet {\n aspectRatio?: ConstrainDouble;\n autoGainControl?: ConstrainBoolean;\n channelCount?: ConstrainULong;\n deviceId?: ConstrainDOMString;\n echoCancellation?: ConstrainBoolean;\n facingMode?: ConstrainDOMString;\n frameRate?: ConstrainDouble;\n groupId?: ConstrainDOMString;\n height?: ConstrainULong;\n latency?: ConstrainDouble;\n noiseSuppression?: ConstrainBoolean;\n resizeMode?: ConstrainDOMString;\n sampleRate?: ConstrainULong;\n sampleSize?: ConstrainULong;\n volume?: ConstrainDouble;\n width?: ConstrainULong;\n}\n\ninterface MediaTrackConstraints extends MediaTrackConstraintSet {\n advanced?: MediaTrackConstraintSet[];\n}\n\ninterface MediaTrackSettings {\n aspectRatio?: number;\n autoGainControl?: boolean;\n channelCount?: number;\n deviceId?: string;\n echoCancellation?: boolean;\n facingMode?: string;\n frameRate?: number;\n groupId?: string;\n height?: number;\n latency?: number;\n noiseSuppression?: boolean;\n resizeMode?: string;\n sampleRate?: number;\n sampleSize?: number;\n volume?: number;\n width?: number;\n}\n\ninterface MediaTrackSupportedConstraints {\n aspectRatio?: boolean;\n autoGainControl?: boolean;\n channelCount?: boolean;\n deviceId?: boolean;\n echoCancellation?: boolean;\n facingMode?: boolean;\n frameRate?: boolean;\n groupId?: boolean;\n height?: boolean;\n latency?: boolean;\n noiseSuppression?: boolean;\n resizeMode?: boolean;\n sampleRate?: boolean;\n sampleSize?: boolean;\n volume?: boolean;\n width?: boolean;\n}\n\ninterface MessageEventInit extends EventInit {\n data?: any;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: MessageEventSource | null;\n}\n\ninterface MidiPermissionDescriptor extends PermissionDescriptor {\n name: "midi";\n sysex?: boolean;\n}\n\ninterface MouseEventInit extends EventModifierInit {\n button?: number;\n buttons?: number;\n clientX?: number;\n clientY?: number;\n movementX?: number;\n movementY?: number;\n relatedTarget?: EventTarget | null;\n screenX?: number;\n screenY?: number;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n cacheName?: string;\n}\n\ninterface MutationObserverInit {\n attributeFilter?: string[];\n attributeOldValue?: boolean;\n attributes?: boolean;\n characterData?: boolean;\n characterDataOldValue?: boolean;\n childList?: boolean;\n subtree?: boolean;\n}\n\ninterface NavigationPreloadState {\n enabled?: boolean;\n headerValue?: string;\n}\n\ninterface NotificationAction {\n action: string;\n icon?: string;\n title: string;\n}\n\ninterface NotificationOptions {\n actions?: NotificationAction[];\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n image?: string;\n lang?: string;\n renotify?: boolean;\n requireInteraction?: boolean;\n silent?: boolean;\n tag?: string;\n timestamp?: number;\n vibrate?: VibratePattern;\n}\n\ninterface OfflineAudioCompletionEventInit extends EventInit {\n renderedBuffer: AudioBuffer;\n}\n\ninterface OfflineAudioContextOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface OptionalEffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n}\n\ninterface OscillatorOptions extends AudioNodeOptions {\n detune?: number;\n frequency?: number;\n periodicWave?: PeriodicWave;\n type?: OscillatorType;\n}\n\ninterface PannerOptions extends AudioNodeOptions {\n coneInnerAngle?: number;\n coneOuterAngle?: number;\n coneOuterGain?: number;\n distanceModel?: DistanceModelType;\n maxDistance?: number;\n orientationX?: number;\n orientationY?: number;\n orientationZ?: number;\n panningModel?: PanningModelType;\n positionX?: number;\n positionY?: number;\n positionZ?: number;\n refDistance?: number;\n rolloffFactor?: number;\n}\n\ninterface PaymentCurrencyAmount {\n currency: string;\n currencySystem?: string;\n value: string;\n}\n\ninterface PaymentDetailsBase {\n displayItems?: PaymentItem[];\n modifiers?: PaymentDetailsModifier[];\n shippingOptions?: PaymentShippingOption[];\n}\n\ninterface PaymentDetailsInit extends PaymentDetailsBase {\n id?: string;\n total: PaymentItem;\n}\n\ninterface PaymentDetailsModifier {\n additionalDisplayItems?: PaymentItem[];\n data?: any;\n supportedMethods: string | string[];\n total?: PaymentItem;\n}\n\ninterface PaymentDetailsUpdate extends PaymentDetailsBase {\n error?: string;\n total?: PaymentItem;\n}\n\ninterface PaymentItem {\n amount: PaymentCurrencyAmount;\n label: string;\n pending?: boolean;\n}\n\ninterface PaymentMethodData {\n data?: any;\n supportedMethods: string | string[];\n}\n\ninterface PaymentOptions {\n requestPayerEmail?: boolean;\n requestPayerName?: boolean;\n requestPayerPhone?: boolean;\n requestShipping?: boolean;\n shippingType?: string;\n}\n\ninterface PaymentRequestUpdateEventInit extends EventInit {\n}\n\ninterface PaymentShippingOption {\n amount: PaymentCurrencyAmount;\n id: string;\n label: string;\n selected?: boolean;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n hash: HashAlgorithmIdentifier;\n iterations: number;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface PerformanceObserverInit {\n buffered?: boolean;\n entryTypes?: string[];\n type?: string;\n}\n\ninterface PeriodicWaveConstraints {\n disableNormalization?: boolean;\n}\n\ninterface PeriodicWaveOptions extends PeriodicWaveConstraints {\n imag?: number[] | Float32Array;\n real?: number[] | Float32Array;\n}\n\ninterface PermissionDescriptor {\n name: PermissionName;\n}\n\ninterface PipeOptions {\n preventAbort?: boolean;\n preventCancel?: boolean;\n preventClose?: boolean;\n signal?: AbortSignal;\n}\n\ninterface PointerEventInit extends MouseEventInit {\n height?: number;\n isPrimary?: boolean;\n pointerId?: number;\n pointerType?: string;\n pressure?: number;\n tangentialPressure?: number;\n tiltX?: number;\n tiltY?: number;\n twist?: number;\n width?: number;\n}\n\ninterface PopStateEventInit extends EventInit {\n state?: any;\n}\n\ninterface PositionOptions {\n enableHighAccuracy?: boolean;\n maximumAge?: number;\n timeout?: number;\n}\n\ninterface PostMessageOptions {\n transfer?: any[];\n}\n\ninterface ProgressEventInit extends EventInit {\n lengthComputable?: boolean;\n loaded?: number;\n total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n promise: Promise;\n reason?: any;\n}\n\ninterface PropertyIndexedKeyframes {\n composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];\n easing?: string | string[];\n offset?: number | (number | null)[];\n [property: string]: string | string[] | number | null | (number | null)[] | undefined;\n}\n\ninterface PushPermissionDescriptor extends PermissionDescriptor {\n name: "push";\n userVisibleOnly?: boolean;\n}\n\ninterface PushSubscriptionJSON {\n endpoint?: string;\n expirationTime?: number | null;\n keys?: Record;\n}\n\ninterface PushSubscriptionOptionsInit {\n applicationServerKey?: BufferSource | string | null;\n userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy {\n highWaterMark?: number;\n size?: QueuingStrategySizeCallback;\n}\n\ninterface RTCAnswerOptions extends RTCOfferAnswerOptions {\n}\n\ninterface RTCCertificateExpiration {\n expires?: number;\n}\n\ninterface RTCConfiguration {\n bundlePolicy?: RTCBundlePolicy;\n certificates?: RTCCertificate[];\n iceCandidatePoolSize?: number;\n iceServers?: RTCIceServer[];\n iceTransportPolicy?: RTCIceTransportPolicy;\n peerIdentity?: string;\n rtcpMuxPolicy?: RTCRtcpMuxPolicy;\n}\n\ninterface RTCDTMFToneChangeEventInit extends EventInit {\n tone: string;\n}\n\ninterface RTCDataChannelEventInit extends EventInit {\n channel: RTCDataChannel;\n}\n\ninterface RTCDataChannelInit {\n id?: number;\n maxPacketLifeTime?: number;\n maxRetransmits?: number;\n negotiated?: boolean;\n ordered?: boolean;\n priority?: RTCPriorityType;\n protocol?: string;\n}\n\ninterface RTCDtlsFingerprint {\n algorithm?: string;\n value?: string;\n}\n\ninterface RTCDtlsParameters {\n fingerprints?: RTCDtlsFingerprint[];\n role?: RTCDtlsRole;\n}\n\ninterface RTCErrorEventInit extends EventInit {\n error?: RTCError | null;\n}\n\ninterface RTCIceCandidateAttributes extends RTCStats {\n addressSourceUrl?: string;\n candidateType?: RTCStatsIceCandidateType;\n ipAddress?: string;\n portNumber?: number;\n priority?: number;\n transport?: string;\n}\n\ninterface RTCIceCandidateComplete {\n}\n\ninterface RTCIceCandidateDictionary {\n foundation?: string;\n ip?: string;\n msMTurnSessionId?: string;\n port?: number;\n priority?: number;\n protocol?: RTCIceProtocol;\n relatedAddress?: string;\n relatedPort?: number;\n tcpType?: RTCIceTcpCandidateType;\n type?: RTCIceCandidateType;\n}\n\ninterface RTCIceCandidateInit {\n candidate?: string;\n sdpMLineIndex?: number | null;\n sdpMid?: string | null;\n usernameFragment?: string;\n}\n\ninterface RTCIceCandidatePair {\n local?: RTCIceCandidate;\n remote?: RTCIceCandidate;\n}\n\ninterface RTCIceCandidatePairStats extends RTCStats {\n availableIncomingBitrate?: number;\n availableOutgoingBitrate?: number;\n bytesReceived?: number;\n bytesSent?: number;\n localCandidateId?: string;\n nominated?: boolean;\n priority?: number;\n readable?: boolean;\n remoteCandidateId?: string;\n roundTripTime?: number;\n state?: RTCStatsIceCandidatePairState;\n transportId?: string;\n writable?: boolean;\n}\n\ninterface RTCIceGatherOptions {\n gatherPolicy?: RTCIceGatherPolicy;\n iceservers?: RTCIceServer[];\n}\n\ninterface RTCIceParameters {\n password?: string;\n usernameFragment?: string;\n}\n\ninterface RTCIceServer {\n credential?: string | RTCOAuthCredential;\n credentialType?: RTCIceCredentialType;\n urls: string | string[];\n username?: string;\n}\n\ninterface RTCIdentityProviderOptions {\n peerIdentity?: string;\n protocol?: string;\n usernameHint?: string;\n}\n\ninterface RTCInboundRTPStreamStats extends RTCRTPStreamStats {\n bytesReceived?: number;\n fractionLost?: number;\n jitter?: number;\n packetsLost?: number;\n packetsReceived?: number;\n}\n\ninterface RTCMediaStreamTrackStats extends RTCStats {\n audioLevel?: number;\n echoReturnLoss?: number;\n echoReturnLossEnhancement?: number;\n frameHeight?: number;\n frameWidth?: number;\n framesCorrupted?: number;\n framesDecoded?: number;\n framesDropped?: number;\n framesPerSecond?: number;\n framesReceived?: number;\n framesSent?: number;\n remoteSource?: boolean;\n ssrcIds?: string[];\n trackIdentifier?: string;\n}\n\ninterface RTCOAuthCredential {\n accessToken: string;\n macKey: string;\n}\n\ninterface RTCOfferAnswerOptions {\n voiceActivityDetection?: boolean;\n}\n\ninterface RTCOfferOptions extends RTCOfferAnswerOptions {\n iceRestart?: boolean;\n offerToReceiveAudio?: boolean;\n offerToReceiveVideo?: boolean;\n}\n\ninterface RTCOutboundRTPStreamStats extends RTCRTPStreamStats {\n bytesSent?: number;\n packetsSent?: number;\n roundTripTime?: number;\n targetBitrate?: number;\n}\n\ninterface RTCPeerConnectionIceErrorEventInit extends EventInit {\n errorCode: number;\n hostCandidate?: string;\n statusText?: string;\n url?: string;\n}\n\ninterface RTCPeerConnectionIceEventInit extends EventInit {\n candidate?: RTCIceCandidate | null;\n url?: string | null;\n}\n\ninterface RTCRTPStreamStats extends RTCStats {\n associateStatsId?: string;\n codecId?: string;\n firCount?: number;\n isRemote?: boolean;\n mediaTrackId?: string;\n mediaType?: string;\n nackCount?: number;\n pliCount?: number;\n sliCount?: number;\n ssrc?: string;\n transportId?: string;\n}\n\ninterface RTCRtcpFeedback {\n parameter?: string;\n type?: string;\n}\n\ninterface RTCRtcpParameters {\n cname?: string;\n reducedSize?: boolean;\n}\n\ninterface RTCRtpCapabilities {\n codecs: RTCRtpCodecCapability[];\n headerExtensions: RTCRtpHeaderExtensionCapability[];\n}\n\ninterface RTCRtpCodecCapability {\n channels?: number;\n clockRate: number;\n mimeType: string;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodecParameters {\n channels?: number;\n clockRate: number;\n mimeType: string;\n payloadType: number;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodingParameters {\n rid?: string;\n}\n\ninterface RTCRtpContributingSource {\n audioLevel?: number;\n source: number;\n timestamp: number;\n}\n\ninterface RTCRtpDecodingParameters extends RTCRtpCodingParameters {\n}\n\ninterface RTCRtpEncodingParameters extends RTCRtpCodingParameters {\n active?: boolean;\n codecPayloadType?: number;\n dtx?: RTCDtxStatus;\n maxBitrate?: number;\n maxFramerate?: number;\n priority?: RTCPriorityType;\n ptime?: number;\n scaleResolutionDownBy?: number;\n}\n\ninterface RTCRtpFecParameters {\n mechanism?: string;\n ssrc?: number;\n}\n\ninterface RTCRtpHeaderExtension {\n kind?: string;\n preferredEncrypt?: boolean;\n preferredId?: number;\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionCapability {\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionParameters {\n encrypted?: boolean;\n id: number;\n uri: string;\n}\n\ninterface RTCRtpParameters {\n codecs: RTCRtpCodecParameters[];\n headerExtensions: RTCRtpHeaderExtensionParameters[];\n rtcp: RTCRtcpParameters;\n}\n\ninterface RTCRtpReceiveParameters extends RTCRtpParameters {\n encodings: RTCRtpDecodingParameters[];\n}\n\ninterface RTCRtpRtxParameters {\n ssrc?: number;\n}\n\ninterface RTCRtpSendParameters extends RTCRtpParameters {\n degradationPreference?: RTCDegradationPreference;\n encodings: RTCRtpEncodingParameters[];\n transactionId: string;\n}\n\ninterface RTCRtpSynchronizationSource extends RTCRtpContributingSource {\n voiceActivityFlag?: boolean;\n}\n\ninterface RTCRtpTransceiverInit {\n direction?: RTCRtpTransceiverDirection;\n sendEncodings?: RTCRtpEncodingParameters[];\n streams?: MediaStream[];\n}\n\ninterface RTCRtpUnhandled {\n muxId?: string;\n payloadType?: number;\n ssrc?: number;\n}\n\ninterface RTCSessionDescriptionInit {\n sdp?: string;\n type: RTCSdpType;\n}\n\ninterface RTCSrtpKeyParam {\n keyMethod?: string;\n keySalt?: string;\n lifetime?: string;\n mkiLength?: number;\n mkiValue?: number;\n}\n\ninterface RTCSrtpSdesParameters {\n cryptoSuite?: string;\n keyParams?: RTCSrtpKeyParam[];\n sessionParams?: string[];\n tag?: number;\n}\n\ninterface RTCSsrcRange {\n max?: number;\n min?: number;\n}\n\ninterface RTCStats {\n id: string;\n timestamp: number;\n type: RTCStatsType;\n}\n\ninterface RTCStatsEventInit extends EventInit {\n report: RTCStatsReport;\n}\n\ninterface RTCStatsReport {\n}\n\ninterface RTCTrackEventInit extends EventInit {\n receiver: RTCRtpReceiver;\n streams?: MediaStream[];\n track: MediaStreamTrack;\n transceiver: RTCRtpTransceiver;\n}\n\ninterface RTCTransportStats extends RTCStats {\n activeConnection?: boolean;\n bytesReceived?: number;\n bytesSent?: number;\n localCertificateId?: string;\n remoteCertificateId?: string;\n rtcpTransportStatsId?: string;\n selectedCandidatePairId?: string;\n}\n\ninterface RegistrationOptions {\n scope?: string;\n type?: WorkerType;\n updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n body?: BodyInit | null;\n cache?: RequestCache;\n credentials?: RequestCredentials;\n headers?: HeadersInit;\n integrity?: string;\n keepalive?: boolean;\n method?: string;\n mode?: RequestMode;\n redirect?: RequestRedirect;\n referrer?: string;\n referrerPolicy?: ReferrerPolicy;\n signal?: AbortSignal | null;\n window?: any;\n}\n\ninterface ResponseInit {\n headers?: HeadersInit;\n status?: number;\n statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm {\n hash: KeyAlgorithm;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyAlgorithm extends KeyAlgorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n label?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface RsaOtherPrimesInfo {\n d?: string;\n r?: string;\n t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n saltLength: number;\n}\n\ninterface SVGBoundingBoxOptions {\n clipped?: boolean;\n fill?: boolean;\n markers?: boolean;\n stroke?: boolean;\n}\n\ninterface ScopedCredentialDescriptor {\n id: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null;\n transports?: Transport[];\n type: ScopedCredentialType;\n}\n\ninterface ScopedCredentialOptions {\n excludeList?: ScopedCredentialDescriptor[];\n extensions?: WebAuthnExtensions;\n rpId?: string;\n timeoutSeconds?: number;\n}\n\ninterface ScopedCredentialParameters {\n algorithm: string | Algorithm;\n type: ScopedCredentialType;\n}\n\ninterface ScrollIntoViewOptions extends ScrollOptions {\n block?: ScrollLogicalPosition;\n inline?: ScrollLogicalPosition;\n}\n\ninterface ScrollOptions {\n behavior?: ScrollBehavior;\n}\n\ninterface ScrollToOptions extends ScrollOptions {\n left?: number;\n top?: number;\n}\n\ninterface SecurityPolicyViolationEventInit extends EventInit {\n blockedURI?: string;\n columnNumber?: number;\n documentURI?: string;\n effectiveDirective?: string;\n lineNumber?: number;\n originalPolicy?: string;\n referrer?: string;\n sourceFile?: string;\n statusCode?: number;\n violatedDirective?: string;\n}\n\ninterface ServiceWorkerMessageEventInit extends EventInit {\n data?: any;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[] | null;\n source?: ServiceWorker | MessagePort | null;\n}\n\ninterface ShadowRootInit {\n delegatesFocus?: boolean;\n mode: ShadowRootMode;\n}\n\ninterface StereoPannerOptions extends AudioNodeOptions {\n pan?: number;\n}\n\ninterface StorageEstimate {\n quota?: number;\n usage?: number;\n}\n\ninterface StorageEventInit extends EventInit {\n key?: string | null;\n newValue?: string | null;\n oldValue?: string | null;\n storageArea?: Storage | null;\n url?: string;\n}\n\ninterface StoreExceptionsInformation extends ExceptionInformation {\n detailURI?: string | null;\n explanationString?: string | null;\n siteName?: string | null;\n}\n\ninterface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation {\n arrayOfDomainStrings?: string[];\n}\n\ninterface TextDecodeOptions {\n stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n fatal?: boolean;\n ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n read?: number;\n written?: number;\n}\n\ninterface TouchEventInit extends EventModifierInit {\n changedTouches?: Touch[];\n targetTouches?: Touch[];\n touches?: Touch[];\n}\n\ninterface TouchInit {\n altitudeAngle?: number;\n azimuthAngle?: number;\n clientX?: number;\n clientY?: number;\n force?: number;\n identifier: number;\n pageX?: number;\n pageY?: number;\n radiusX?: number;\n radiusY?: number;\n rotationAngle?: number;\n screenX?: number;\n screenY?: number;\n target: EventTarget;\n touchType?: TouchType;\n}\n\ninterface TrackEventInit extends EventInit {\n track?: VideoTrack | AudioTrack | TextTrack | null;\n}\n\ninterface Transformer {\n flush?: TransformStreamDefaultControllerCallback;\n readableType?: undefined;\n start?: TransformStreamDefaultControllerCallback;\n transform?: TransformStreamDefaultControllerTransformCallback;\n writableType?: undefined;\n}\n\ninterface TransitionEventInit extends EventInit {\n elapsedTime?: number;\n propertyName?: string;\n pseudoElement?: string;\n}\n\ninterface UIEventInit extends EventInit {\n detail?: number;\n view?: Window | null;\n}\n\ninterface ULongRange {\n max?: number;\n min?: number;\n}\n\ninterface UnderlyingByteSource {\n autoAllocateChunkSize?: number;\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableByteStreamControllerCallback;\n start?: ReadableByteStreamControllerCallback;\n type: "bytes";\n}\n\ninterface UnderlyingSink {\n abort?: WritableStreamErrorCallback;\n close?: WritableStreamDefaultControllerCloseCallback;\n start?: WritableStreamDefaultControllerStartCallback;\n type?: undefined;\n write?: WritableStreamDefaultControllerWriteCallback;\n}\n\ninterface UnderlyingSource {\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableStreamDefaultControllerCallback;\n start?: ReadableStreamDefaultControllerCallback;\n type?: undefined;\n}\n\ninterface VRDisplayEventInit extends EventInit {\n display: VRDisplay;\n reason?: VRDisplayEventReason;\n}\n\ninterface VRLayer {\n leftBounds?: number[] | Float32Array | null;\n rightBounds?: number[] | Float32Array | null;\n source?: HTMLCanvasElement | null;\n}\n\ninterface VRStageParameters {\n sittingToStandingTransform?: Float32Array;\n sizeX?: number;\n sizeY?: number;\n}\n\ninterface WaveShaperOptions extends AudioNodeOptions {\n curve?: number[] | Float32Array;\n oversample?: OverSampleType;\n}\n\ninterface WebAuthnExtensions {\n}\n\ninterface WebGLContextAttributes {\n alpha?: GLboolean;\n antialias?: GLboolean;\n depth?: GLboolean;\n failIfMajorPerformanceCaveat?: boolean;\n powerPreference?: WebGLPowerPreference;\n premultipliedAlpha?: GLboolean;\n preserveDrawingBuffer?: GLboolean;\n stencil?: GLboolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n statusMessage?: string;\n}\n\ninterface WheelEventInit extends MouseEventInit {\n deltaMode?: number;\n deltaX?: number;\n deltaY?: number;\n deltaZ?: number;\n}\n\ninterface WorkerOptions {\n credentials?: RequestCredentials;\n name?: string;\n type?: WorkerType;\n}\n\ninterface WorkletOptions {\n credentials?: RequestCredentials;\n}\n\ninterface EventListener {\n (evt: Event): void;\n}\n\ntype XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; };\n\n/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */\ninterface ANGLE_instanced_arrays {\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /**\n * Returns the AbortSignal object associated with this object.\n */\n readonly signal: AbortSignal;\n /**\n * Invoking this method will set this object\'s AbortSignal\'s aborted flag and\n * signal to any observers that the associated activity is to be aborted.\n */\n abort(): void;\n}\n\ndeclare var AbortController: {\n prototype: AbortController;\n new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n "abort": Event;\n}\n\n/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */\ninterface AbortSignal extends EventTarget {\n /**\n * Returns true if this AbortSignal\'s AbortController has signaled to abort, and false\n * otherwise.\n */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n prototype: AbortSignal;\n new(): AbortSignal;\n};\n\ninterface AbstractRange {\n readonly collapsed: boolean;\n readonly endContainer: Node;\n readonly endOffset: number;\n readonly startContainer: Node;\n readonly startOffset: number;\n}\n\ndeclare var AbstractRange: {\n prototype: AbstractRange;\n new(): AbstractRange;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface AesCfbParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCmacParams extends Algorithm {\n length: number;\n}\n\n/** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */\ninterface AnalyserNode extends AudioNode {\n fftSize: number;\n readonly frequencyBinCount: number;\n maxDecibels: number;\n minDecibels: number;\n smoothingTimeConstant: number;\n getByteFrequencyData(array: Uint8Array): void;\n getByteTimeDomainData(array: Uint8Array): void;\n getFloatFrequencyData(array: Float32Array): void;\n getFloatTimeDomainData(array: Float32Array): void;\n}\n\ndeclare var AnalyserNode: {\n prototype: AnalyserNode;\n new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode;\n};\n\ninterface Animatable {\n animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;\n getAnimations(): Animation[];\n}\n\ninterface AnimationEventMap {\n "cancel": AnimationPlaybackEvent;\n "finish": AnimationPlaybackEvent;\n}\n\ninterface Animation extends EventTarget {\n currentTime: number | null;\n effect: AnimationEffect | null;\n readonly finished: Promise;\n id: string;\n oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n readonly pending: boolean;\n readonly playState: AnimationPlayState;\n playbackRate: number;\n readonly ready: Promise;\n startTime: number | null;\n timeline: AnimationTimeline | null;\n cancel(): void;\n finish(): void;\n pause(): void;\n play(): void;\n reverse(): void;\n updatePlaybackRate(playbackRate: number): void;\n addEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Animation: {\n prototype: Animation;\n new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation;\n};\n\ninterface AnimationEffect {\n getComputedTiming(): ComputedEffectTiming;\n getTiming(): EffectTiming;\n updateTiming(timing?: OptionalEffectTiming): void;\n}\n\ndeclare var AnimationEffect: {\n prototype: AnimationEffect;\n new(): AnimationEffect;\n};\n\n/** Events providing information related to animations. */\ninterface AnimationEvent extends Event {\n readonly animationName: string;\n readonly elapsedTime: number;\n readonly pseudoElement: string;\n}\n\ndeclare var AnimationEvent: {\n prototype: AnimationEvent;\n new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent;\n};\n\ninterface AnimationPlaybackEvent extends Event {\n readonly currentTime: number | null;\n readonly timelineTime: number | null;\n}\n\ndeclare var AnimationPlaybackEvent: {\n prototype: AnimationPlaybackEvent;\n new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent;\n};\n\ninterface AnimationTimeline {\n readonly currentTime: number | null;\n}\n\ndeclare var AnimationTimeline: {\n prototype: AnimationTimeline;\n new(): AnimationTimeline;\n};\n\ninterface ApplicationCacheEventMap {\n "cached": Event;\n "checking": Event;\n "downloading": Event;\n "error": Event;\n "noupdate": Event;\n "obsolete": Event;\n "progress": ProgressEvent;\n "updateready": Event;\n}\n\ninterface ApplicationCache extends EventTarget {\n /** @deprecated */\n oncached: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onchecking: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n ondownloading: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onerror: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onnoupdate: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onobsolete: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onprogress: ((this: ApplicationCache, ev: ProgressEvent) => any) | null;\n /** @deprecated */\n onupdateready: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n readonly status: number;\n /** @deprecated */\n abort(): void;\n /** @deprecated */\n swapCache(): void;\n /** @deprecated */\n update(): void;\n readonly CHECKING: number;\n readonly DOWNLOADING: number;\n readonly IDLE: number;\n readonly OBSOLETE: number;\n readonly UNCACHED: number;\n readonly UPDATEREADY: number;\n addEventListener(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ApplicationCache: {\n prototype: ApplicationCache;\n new(): ApplicationCache;\n readonly CHECKING: number;\n readonly DOWNLOADING: number;\n readonly IDLE: number;\n readonly OBSOLETE: number;\n readonly UNCACHED: number;\n readonly UPDATEREADY: number;\n};\n\n/** A DOM element\'s attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */\ninterface Attr extends Node {\n readonly localName: string;\n readonly name: string;\n readonly namespaceURI: string | null;\n readonly ownerElement: Element | null;\n readonly prefix: string | null;\n readonly specified: boolean;\n value: string;\n}\n\ndeclare var Attr: {\n prototype: Attr;\n new(): Attr;\n};\n\n/** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */\ninterface AudioBuffer {\n readonly duration: number;\n readonly length: number;\n readonly numberOfChannels: number;\n readonly sampleRate: number;\n copyFromChannel(destination: Float32Array, channelNumber: number, startInChannel?: number): void;\n copyToChannel(source: Float32Array, channelNumber: number, startInChannel?: number): void;\n getChannelData(channel: number): Float32Array;\n}\n\ndeclare var AudioBuffer: {\n prototype: AudioBuffer;\n new(options: AudioBufferOptions): AudioBuffer;\n};\n\n/** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It\'s especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */\ninterface AudioBufferSourceNode extends AudioScheduledSourceNode {\n buffer: AudioBuffer | null;\n readonly detune: AudioParam;\n loop: boolean;\n loopEnd: number;\n loopStart: number;\n readonly playbackRate: AudioParam;\n start(when?: number, offset?: number, duration?: number): void;\n addEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioBufferSourceNode: {\n prototype: AudioBufferSourceNode;\n new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode;\n};\n\n/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */\ninterface AudioContext extends BaseAudioContext {\n readonly baseLatency: number;\n readonly outputLatency: number;\n close(): Promise;\n createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;\n createMediaStreamDestination(): MediaStreamAudioDestinationNode;\n createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;\n createMediaStreamTrackSource(mediaStreamTrack: MediaStreamTrack): MediaStreamTrackAudioSourceNode;\n getOutputTimestamp(): AudioTimestamp;\n resume(): Promise;\n suspend(): Promise;\n addEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioContext: {\n prototype: AudioContext;\n new(contextOptions?: AudioContextOptions): AudioContext;\n};\n\n/** AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. */\ninterface AudioDestinationNode extends AudioNode {\n readonly maxChannelCount: number;\n}\n\ndeclare var AudioDestinationNode: {\n prototype: AudioDestinationNode;\n new(): AudioDestinationNode;\n};\n\n/** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */\ninterface AudioListener {\n readonly forwardX: AudioParam;\n readonly forwardY: AudioParam;\n readonly forwardZ: AudioParam;\n readonly positionX: AudioParam;\n readonly positionY: AudioParam;\n readonly positionZ: AudioParam;\n readonly upX: AudioParam;\n readonly upY: AudioParam;\n readonly upZ: AudioParam;\n /** @deprecated */\n setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;\n /** @deprecated */\n setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var AudioListener: {\n prototype: AudioListener;\n new(): AudioListener;\n};\n\n/** A generic interface for representing an audio processing module. Examples include: */\ninterface AudioNode extends EventTarget {\n channelCount: number;\n channelCountMode: ChannelCountMode;\n channelInterpretation: ChannelInterpretation;\n readonly context: BaseAudioContext;\n readonly numberOfInputs: number;\n readonly numberOfOutputs: number;\n connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode;\n connect(destinationParam: AudioParam, output?: number): void;\n disconnect(): void;\n disconnect(output: number): void;\n disconnect(destinationNode: AudioNode): void;\n disconnect(destinationNode: AudioNode, output: number): void;\n disconnect(destinationNode: AudioNode, output: number, input: number): void;\n disconnect(destinationParam: AudioParam): void;\n disconnect(destinationParam: AudioParam, output: number): void;\n}\n\ndeclare var AudioNode: {\n prototype: AudioNode;\n new(): AudioNode;\n};\n\n/** The Web Audio API\'s AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */\ninterface AudioParam {\n automationRate: AutomationRate;\n readonly defaultValue: number;\n readonly maxValue: number;\n readonly minValue: number;\n value: number;\n cancelAndHoldAtTime(cancelTime: number): AudioParam;\n cancelScheduledValues(cancelTime: number): AudioParam;\n exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;\n linearRampToValueAtTime(value: number, endTime: number): AudioParam;\n setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;\n setValueAtTime(value: number, startTime: number): AudioParam;\n setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;\n}\n\ndeclare var AudioParam: {\n prototype: AudioParam;\n new(): AudioParam;\n};\n\ninterface AudioParamMap {\n forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void;\n}\n\ndeclare var AudioParamMap: {\n prototype: AudioParamMap;\n new(): AudioParamMap;\n};\n\n/** The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed. */\ninterface AudioProcessingEvent extends Event {\n readonly inputBuffer: AudioBuffer;\n readonly outputBuffer: AudioBuffer;\n readonly playbackTime: number;\n}\n\ndeclare var AudioProcessingEvent: {\n prototype: AudioProcessingEvent;\n new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent;\n};\n\ninterface AudioScheduledSourceNodeEventMap {\n "ended": Event;\n}\n\ninterface AudioScheduledSourceNode extends AudioNode {\n onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null;\n start(when?: number): void;\n stop(when?: number): void;\n addEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioScheduledSourceNode: {\n prototype: AudioScheduledSourceNode;\n new(): AudioScheduledSourceNode;\n};\n\n/** A single audio track from one of the HTML media elements,