@knime/scripting-editor 0.0.91 → 0.0.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -29,30 +29,30 @@
29
29
  * The original design remains. The terminal itself
30
30
  * has been extended to include xterm CSI codes, among
31
31
  * other features.
32
- */.xterm{cursor:text;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::-moz-selection{color:transparent}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;-moz-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{-webkit-text-decoration:underline;text-decoration:underline}.xterm-underline-2{text-decoration:underline;-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{text-decoration:underline;-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{text-decoration:underline;-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{text-decoration:underline;-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{-webkit-text-decoration:overline;text-decoration:overline}.xterm-overline.xterm-underline-1{-webkit-text-decoration:overline underline;text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{-webkit-text-decoration:line-through;text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.console[data-v-7c6287c5]{height:100%}.terminal.focus-painted[data-v-7c6287c5]:focus-within>div:first-of-type:after{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;pointer-events:none;z-index:1;border:2px solid var(--knime-cornflower)}.terminal[data-v-7c6287c5]{height:100%}iframe[data-v-cab5217b]{width:100%;height:100%;border:none;display:block}.ui-ext-shadow-app[data-v-9a05a807]{overflow:hidden}.output-table-preview[data-v-e361a08c]{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}.pre-evaluation-sign[data-v-e361a08c]{display:flex;height:35px;justify-content:center;border-radius:10px}.output-table[data-v-e361a08c]{height:100%;width:100%}.preview-background[data-v-e361a08c]{width:100%;background-color:var(--knime-cornflower-semi);padding:var(--space-4) 0;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.preview-warning-text[data-v-e361a08c]{background-color:#fff;color:#000;padding:var(--space-4) var(--space-8);border-radius:999vw;box-shadow:0 4px 8px #0000001a;text-align:center;font-size:small;vertical-align:middle}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.infinity-loading[data-v-8742e2de]{--loading-bar-background-color: var(--knime-silver-sand);--loading-bar-foreground-color: var(--knime-yellow);background-color:var(--loading-bar-background-color);height:4px;width:100%;position:relative;overflow:hidden}.infinity-loading[data-v-8742e2de]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--loading-bar-foreground-color);z-index:1;animation:loading-8742e2de 1.5s linear infinite}@keyframes loading-8742e2de{0%{left:-50%;right:100%}to{left:100%;right:-50%}}.disclaimer-container[data-v-f2265532]{display:flex;flex-direction:column}.disclaimer-container .disclaimer-text[data-v-f2265532]{margin:var(--space-8);line-height:20px;padding:var(--space-4);background-color:var(--knime-white);border-radius:var(--ai-bar-corner-radius)}.disclaimer-container .disclaimer-button-container[data-v-f2265532]{display:flex;justify-content:right}.disclaimer-container .disclaimer-button-container>button[data-v-f2265532]{margin-top:0}.notification-button[data-v-f2265532]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.disclaimer-slide-fade-leave-active[data-v-f2265532]{transition:all .2s cubic-bezier(1,.5,.8,1)}.disclaimer-slide-fade-enter-from[data-v-f2265532],.disclaimer-slide-fade-leave-to[data-v-f2265532]{transform:translateY(30px);opacity:0}.suggestion-container[data-v-fadc461b]{display:flex;flex-direction:column;position:relative}.suggestion-container .diff-editor[data-v-fadc461b]{flex-grow:1;overflow:hidden;border-radius:var(--ai-bar-corner-radius);position:absolute;top:0;right:0;bottom:0;left:0}.suggestion-container .accept-decline-buttons[data-v-fadc461b]{position:absolute;bottom:15px;right:15px}.suggestion-container .accept-decline-buttons .button[data-v-fadc461b]{float:right;margin-top:var(--ai-bar-margin)}.slide-fade-enter-active[data-v-ac6b75a8]{transition:all .3s ease-out}.slide-fade-leave-active[data-v-ac6b75a8]{transition:all .8s cubic-bezier(1,.5,.8,1)}.slide-fade-enter-from[data-v-ac6b75a8],.slide-fade-leave-to[data-v-ac6b75a8]{transform:translateY(30px);opacity:0}.popup-content[data-v-ac6b75a8]{--ai-bar-margin: var(--space-8);--ai-bar-corner-radius: 8px;display:flex;flex-direction:column;background-color:var(--knime-gray-ultra-light);border:1px solid var(--knime-porcelain);border-radius:8px;border-radius:var(--ai-bar-corner-radius);font-size:13px;line-height:27px;z-index:11;box-shadow:var(--shadow-elevation-2);transition:width .2s ease-in-out;overflow:hidden}.popup-content .subtitle[data-v-ac6b75a8]{color:var(--knime-black);margin-top:var(--space-8);font-style:italic;display:flex;justify-content:flex-start;align-items:baseline;flex-direction:row}.popup-content .subtitle .text[data-v-ac6b75a8]{margin-right:var(--space-4)}.popup-content .subtitle .button[data-v-ac6b75a8]{position:absolute;bottom:4px;right:79px}.popup-content .subtitle .button.primary[data-v-ac6b75a8]{right:4px}.popup-content .ai-suggestion[data-v-ac6b75a8]{margin:var(--ai-bar-margin);min-height:200px;height:40vh}.popup-content .chat-controls-border-top[data-v-ac6b75a8]{border-top:1px solid var(--knime-porcelain)}.popup-content .chat-controls[data-v-ac6b75a8]{display:flex;flex-direction:column;position:relative}.popup-content .chat-controls .prompt-bar[data-v-ac6b75a8]{margin-top:var(--ai-bar-margin);margin-right:var(--ai-bar-margin);margin-left:var(--ai-bar-margin);line-height:15.23px;word-wrap:break-word}.popup-content .chat-controls .error-message[data-v-ac6b75a8]{color:var(--knime-coral-dark);z-index:12;margin:0 var(--ai-bar-margin) var(--ai-bar-margin) var(--ai-bar-margin);line-height:15.23px;display:flex;align-items:center;flex-wrap:nowrap}.popup-content .chat-controls .error-message .error-icon[data-v-ac6b75a8]{stroke:var(--knime-coral-dark);width:13px;min-width:13px;height:13px;margin-right:var(--space-8)}.popup-content .chat-controls .error-message .error-text[data-v-ac6b75a8]{white-space:normal;word-wrap:break-word;font-size:12px}.popup-content .chat-controls .chat-controls-text-input[data-v-ac6b75a8]{display:flex;flex-flow:row nowrap;align-items:center;z-index:12}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-ac6b75a8]{flex-grow:1;border:2px solid var(--knime-porcelain);resize:none;border-radius:0;padding:var(--space-8);margin:var(--ai-bar-margin);color:var(--knime-masala);font-size:13px;font-weight:lighter;font-family:Roboto,sans-serif;overflow:hidden;text-wrap:soft}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-ac6b75a8]::-moz-placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-ac6b75a8]::placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-ac6b75a8]:disabled{opacity:.5}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-ac6b75a8]:focus{outline:none}.popup-content .chat-controls .chat-controls-text-input .chat-controls-buttons[data-v-ac6b75a8]{margin:var(--ai-bar-margin);margin-left:0}.popup-content .notification-bar[data-v-ac6b75a8]{display:flex;justify-content:space-between;vertical-align:middle;border-top:1px solid var(--knime-porcelain);position:relative;height:49px}.notification[data-v-ac6b75a8]{line-height:15.23px;margin:var(--space-16)}.notification-button[data-v-ac6b75a8]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.abort-button[data-v-ac6b75a8]{border:1px solid var(--knime-silver-sand)}.popup-anchor[data-v-f3b7a3ce]{position:relative;display:flex;width:100%}.popup-anchor .ai-popup[data-v-f3b7a3ce]{--default-ai-bar-width: 65vw;--arrow-size: 18px;z-index:10;--left-hang: 150px;--left-hang-correction-for-left-pane: max( 0px, calc(var(--left-hang) - var(--left-splitter-position)) );--left-hang-correction-for-arrow: var(--arrow-size);width:65vw;width:var(--default-ai-bar-width);max-width:1000px;position:absolute;left:50%;top:-20px;top:calc(-1 * (var(--arrow-size) + 2px));transform:translateY(-100%) translate(calc(var(--left-hang-correction-for-left-pane) - 150px - 18px));transform:translateY(-100%) translate(calc(var(--left-hang-correction-for-left-pane) - var(--left-hang) - var(--left-hang-correction-for-arrow)))}.popup-anchor .ai-popup .arrow[data-v-f3b7a3ce]{width:var(--arrow-size);height:var(--arrow-size);content:"";position:absolute;background-color:var(--knime-gray-ultra-light);bottom:0;z-index:1;border-right:1px solid var(--knime-porcelain);border-top:1px solid var(--knime-porcelain);clip-path:polygon(0 calc(0px - 100vw),calc(100% + 100vw) calc(0px - 100vw),calc(100% + 100vw) 100%,0 100%);box-shadow:var(--shadow-elevation-2);transform:translate(calc(var(--left-hang) - var(--arrow-size) / 2 - var(--left-hang-correction-for-left-pane) + var(--left-hang-correction-for-arrow))) translateY(50%) rotate(135deg)}.hide-button-text[data-v-7ab3671a] svg{margin-right:0}.controls[data-v-7ab3671a]{display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between;place-content:center space-between;align-items:center;padding:var(--space-4) var(--space-8);background-color:var(--knime-gray-light-semi);border-top:1px solid var(--knime-silver-sand);height:var(--controls-height);width:100%}.button-controls[data-v-7ab3671a]{display:flex;justify-content:right;flex-wrap:wrap;row-gap:var(--space-4)}.button-active.compact[data-v-7ab3671a]{color:var(--knime-white);background-color:var(--knime-masala)}.button-active.compact svg[data-v-7ab3671a]{stroke:var(--knime-white)}.container[data-v-bbbe81d7]{justify-content:space-between;height:var(--controls-height);background-color:var(--knime-porcelain);border-bottom:1px solid var(--knime-silver-sand);display:flex;flex-wrap:nowrap}.title[data-v-bbbe81d7]{margin-left:10px;height:var(--controls-height);line-height:var(--controls-height);display:flex;align-items:center}.open-icon[data-v-bbbe81d7]{width:18px;height:18px;margin:auto}.menu[data-v-bbbe81d7]{margin:var(--space-4);margin-right:var(--space-8);flex:0 1 1px;justify-content:center}.code-editor{height:100%}.editor-container{height:100%;min-height:0}.port-table[data-v-6b51bd57]{height:100%}.view-value-switch[data-v-ad87bfef]{display:flex;justify-content:center}.scripting-editor-bottom-pane[data-v-16277859]{display:flex;flex-direction:column;height:100%}.scripting-editor-bottom-pane .tab-content[data-v-16277859]{display:flex;height:100%;flex-direction:column;position:relative;min-height:0;padding:0 var(--space-8)}.scripting-editor-bottom-pane .tab-bar-and-buttons[data-v-16277859]{display:flex;align-items:center;position:relative;padding:0 var(--space-8);border-bottom:1px solid var(--color-border);height:var(--space-48);flex-grow:1}.scripting-editor-bottom-pane .tab-bar-and-buttons .tab-bar-buttons[data-v-16277859]{position:absolute;right:var(--space-16);top:var(--space-4);display:flex;flex-wrap:nowrap}.scripting-editor-bottom-pane .tab-bar-and-buttons .scripting-editor-tab-bar[data-v-16277859]{flex-grow:1}.settings-title[data-v-1037c6a3]{display:flex;flex-direction:row;justify-content:left;width:100%;height:120px;background-color:var(--knime-white);align-items:center}.settings-title .back-button[data-v-1037c6a3]{padding-right:var(--space-16)}.settings-title .arrow-left[data-v-1037c6a3]{border-right:1px solid var(--knime-silver-sand)}.settings-title .button svg[data-v-1037c6a3]{height:31px;width:31px}.settings-title h3[data-v-1037c6a3]{font-size:28px;margin-left:0}.settings-content[data-v-1037c6a3]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--knime-gray-ultra-light)}.common-splitter[data-v-e324a655] .splitpanes__splitter{min-width:11px;min-height:11px;background-color:var(--knime-porcelain);background-repeat:no-repeat;background-position:center;border-color:var(--knime-silver-sand);border-style:solid}.common-splitter.slim-mode[data-v-e324a655] .splitpanes__splitter{display:none;pointer-events:none}.collapse-left-pane[data-v-e324a655]>.splitpanes__splitter{display:none;pointer-events:none}.common-splitter.slim-splitter[data-v-e324a655] .splitpanes__splitter{position:relative;min-width:2px;border-width:0 0 0 1px}.common-splitter.slim-splitter[data-v-e324a655] .splitpanes__splitter:before{content:"";position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%);width:11px;height:100%;background:transparent;cursor:ew-resize;z-index:1}.splitpanes--vertical[data-v-e324a655]>.splitpanes__splitter{border-width:0 1px}.splitpanes--horizontal[data-v-e324a655]>.splitpanes__splitter{border-width:1px 0}.left-facing-splitter[data-v-e324a655]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20fill='none'%20stroke='%23000'%20stroke-linejoin='round'%3e%3cpath%20d='M21.5%2027l-11-11%2011-11'/%3e%3c/svg%3e")}.right-facing-splitter[data-v-e324a655]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20fill='none'%20stroke='%23000'%20stroke-linejoin='round'%3e%3cpath%20d='M10.5%205l11%2011-11%2011'/%3e%3c/svg%3e")}.down-facing-splitter[data-v-e324a655]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20stroke='%23000'%20fill='none'%20stroke-linejoin='round'%3e%3cpath%20d='M28.7%209.7L16%2022.3%203.3%209.7'/%3e%3c/svg%3e")}.up-facing-splitter[data-v-e324a655]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20stroke='%23000'%20fill='none'%20stroke-linejoin='round'%3e%3cpath%20d='M28.7%209.7L16%2022.3%203.3%209.7'/%3e%3c/svg%3e");transform:scaleY(-1)}.splitpanes__pane[data-v-e324a655]{transition:none 0s ease 0s;transition:initial;overflow:visible;min-width:0;min-height:0}.main-splitpane[data-v-e324a655]{overflow:hidden}.main-splitpane[data-v-e324a655]>.splitpanes__splitter:hover{border-right:1px solid var(--knime-masala)}.horizontal-splitpane[data-v-e324a655]>.splitpanes__splitter:hover{border-top:1px solid var(--knime-masala)}.vertical-splitpane[data-v-e324a655]>.splitpanes__splitter:hover{border-left:1px solid var(--knime-masala)}.layout[data-v-e324a655]{display:flex;flex-direction:column;height:100vh;width:100%;flex-grow:0;overflow:hidden;position:relative}.editor-and-control-bar[data-v-e324a655]{height:100%;display:flex;flex-direction:column}.editor-and-control-bar .multi-editor-container[data-v-e324a655]{display:flex;flex-direction:column;width:100%;flex-grow:1;min-height:0}.editor-and-control-bar .multi-editor-container .editor-slot-container[data-v-e324a655]{display:flex;flex-direction:column;height:100%;overflow-y:auto;flex-grow:1}.editor-and-control-bar .multi-editor-container .run-button-panel[data-v-e324a655]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;height:-moz-fit-content;height:fit-content;margin:0;background-color:var(--knime-gray-light-semi);background-clip:padding-box}.right-pane[data-v-e324a655]{background-color:var(--knime-gray-ultra-light)}.scrollable-y[data-v-e324a655]{overflow-y:auto}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
33
- var El = Object.defineProperty;
34
- var kl = (e, t, f) => t in e ? El(e, t, { enumerable: !0, configurable: !0, writable: !0, value: f }) : e[t] = f;
35
- var Qe = (e, t, f) => kl(e, typeof t != "symbol" ? t + "" : t, f);
36
- import { getCurrentScope as Rl, onScopeDispose as Dl, onMounted as Ze, nextTick as Gi, unref as J, getCurrentInstance as so, isRef as no, ref as ne, shallowRef as ei, watchEffect as Ac, computed as ye, watch as st, onUnmounted as nr, defineComponent as Oe, openBlock as Q, createBlock as Ae, normalizeClass as Ke, createElementBlock as oe, createElementVNode as ee, reactive as Pi, withCtx as ve, createVNode as fe, createTextVNode as dt, toDisplayString as Ve, createCommentVNode as xe, Fragment as ur, renderList as Qt, resolveDynamicComponent as Pl, mergeProps as Ll, readonly as ko, withDirectives as ht, normalizeStyle as Ji, markRaw as Tl, toRaw as cs, toRef as Ml, h as Al, renderSlot as qe, pushScopeId as oo, popScopeId as ao, vShow as It, Transition as ls, vModelText as Ol, resolveComponent as Ro, mergeModels as Il, useModel as xl, useSlots as Do, createSlots as Bl } from "vue";
37
- import { TabBar as Nl, useMultiSelection as Hl, Collapser as Fl, PortIcon as Po, Button as fr, FunctionButton as Lo, SubMenu as ql, ValueSwitch as jl } from "@knime/components";
38
- import * as tt from "monaco-editor";
39
- import { languages as We, MarkerSeverity as Or, MarkerTag as To, editor as Wl } from "monaco-editor";
40
- import { setUpIframeEmbedderService as zl, JsonDataService as rr, setUpEmbedderService as Ul, AlertType as Mo, ExtensionTypes as Ao, AlertingService as Oc, DialogService as $l } from "@knime/ui-extension-service";
32
+ */.xterm{cursor:text;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::-moz-selection{color:transparent}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;-moz-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{-webkit-text-decoration:underline;text-decoration:underline}.xterm-underline-2{text-decoration:underline;-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{text-decoration:underline;-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{text-decoration:underline;-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{text-decoration:underline;-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{-webkit-text-decoration:overline;text-decoration:overline}.xterm-overline.xterm-underline-1{-webkit-text-decoration:overline underline;text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{-webkit-text-decoration:line-through;text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.console[data-v-7c6287c5]{height:100%}.terminal.focus-painted[data-v-7c6287c5]:focus-within>div:first-of-type:after{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;pointer-events:none;z-index:1;border:2px solid var(--knime-cornflower)}.terminal[data-v-7c6287c5]{height:100%}iframe[data-v-cab5217b]{width:100%;height:100%;border:none;display:block}.ui-ext-shadow-app[data-v-9a05a807]{overflow:hidden}.output-table-preview[data-v-e361a08c]{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}.pre-evaluation-sign[data-v-e361a08c]{display:flex;height:35px;justify-content:center;border-radius:10px}.output-table[data-v-e361a08c]{height:100%;width:100%}.preview-background[data-v-e361a08c]{width:100%;background-color:var(--knime-cornflower-semi);padding:var(--space-4) 0;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.preview-warning-text[data-v-e361a08c]{background-color:#fff;color:#000;padding:var(--space-4) var(--space-8);border-radius:999vw;box-shadow:0 4px 8px #0000001a;text-align:center;font-size:small;vertical-align:middle}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.infinity-loading[data-v-8742e2de]{--loading-bar-background-color: var(--knime-silver-sand);--loading-bar-foreground-color: var(--knime-yellow);background-color:var(--loading-bar-background-color);height:4px;width:100%;position:relative;overflow:hidden}.infinity-loading[data-v-8742e2de]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--loading-bar-foreground-color);z-index:1;animation:loading-8742e2de 1.5s linear infinite}@keyframes loading-8742e2de{0%{left:-50%;right:100%}to{left:100%;right:-50%}}.disclaimer-container[data-v-6d842396]{display:flex;flex-direction:column}.disclaimer-container .disclaimer-box[data-v-6d842396]{margin:var(--space-8);line-height:20px;padding:var(--space-4);background-color:var(--knime-white);border-radius:var(--ai-bar-corner-radius)}.disclaimer-container .disclaimer-box .content[data-v-6d842396]{word-wrap:break-word;white-space:pre-wrap}.disclaimer-container .disclaimer-button-container[data-v-6d842396]{display:flex;justify-content:right}.disclaimer-container .disclaimer-button-container>button[data-v-6d842396]{margin-top:0}.notification-button[data-v-6d842396]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.disclaimer-slide-fade-leave-active[data-v-6d842396]{transition:all .2s cubic-bezier(1,.5,.8,1)}.disclaimer-slide-fade-enter-from[data-v-6d842396],.disclaimer-slide-fade-leave-to[data-v-6d842396]{transform:translateY(30px);opacity:0}.suggestion-container[data-v-fadc461b]{display:flex;flex-direction:column;position:relative}.suggestion-container .diff-editor[data-v-fadc461b]{flex-grow:1;overflow:hidden;border-radius:var(--ai-bar-corner-radius);position:absolute;top:0;right:0;bottom:0;left:0}.suggestion-container .accept-decline-buttons[data-v-fadc461b]{position:absolute;bottom:15px;right:15px}.suggestion-container .accept-decline-buttons .button[data-v-fadc461b]{float:right;margin-top:var(--ai-bar-margin)}.slide-fade-enter-active[data-v-ac6b75a8]{transition:all .3s ease-out}.slide-fade-leave-active[data-v-ac6b75a8]{transition:all .8s cubic-bezier(1,.5,.8,1)}.slide-fade-enter-from[data-v-ac6b75a8],.slide-fade-leave-to[data-v-ac6b75a8]{transform:translateY(30px);opacity:0}.popup-content[data-v-ac6b75a8]{--ai-bar-margin: var(--space-8);--ai-bar-corner-radius: 8px;display:flex;flex-direction:column;background-color:var(--knime-gray-ultra-light);border:1px solid var(--knime-porcelain);border-radius:8px;border-radius:var(--ai-bar-corner-radius);font-size:13px;line-height:27px;z-index:11;box-shadow:var(--shadow-elevation-2);transition:width .2s ease-in-out;overflow:hidden}.popup-content .subtitle[data-v-ac6b75a8]{color:var(--knime-black);margin-top:var(--space-8);font-style:italic;display:flex;justify-content:flex-start;align-items:baseline;flex-direction:row}.popup-content .subtitle .text[data-v-ac6b75a8]{margin-right:var(--space-4)}.popup-content .subtitle .button[data-v-ac6b75a8]{position:absolute;bottom:4px;right:79px}.popup-content .subtitle .button.primary[data-v-ac6b75a8]{right:4px}.popup-content .ai-suggestion[data-v-ac6b75a8]{margin:var(--ai-bar-margin);min-height:200px;height:40vh}.popup-content .chat-controls-border-top[data-v-ac6b75a8]{border-top:1px solid var(--knime-porcelain)}.popup-content .chat-controls[data-v-ac6b75a8]{display:flex;flex-direction:column;position:relative}.popup-content .chat-controls .prompt-bar[data-v-ac6b75a8]{margin-top:var(--ai-bar-margin);margin-right:var(--ai-bar-margin);margin-left:var(--ai-bar-margin);line-height:15.23px;word-wrap:break-word}.popup-content .chat-controls .error-message[data-v-ac6b75a8]{color:var(--knime-coral-dark);z-index:12;margin:0 var(--ai-bar-margin) var(--ai-bar-margin) var(--ai-bar-margin);line-height:15.23px;display:flex;align-items:center;flex-wrap:nowrap}.popup-content .chat-controls .error-message .error-icon[data-v-ac6b75a8]{stroke:var(--knime-coral-dark);width:13px;min-width:13px;height:13px;margin-right:var(--space-8)}.popup-content .chat-controls .error-message .error-text[data-v-ac6b75a8]{white-space:normal;word-wrap:break-word;font-size:12px}.popup-content .chat-controls .chat-controls-text-input[data-v-ac6b75a8]{display:flex;flex-flow:row nowrap;align-items:center;z-index:12}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-ac6b75a8]{flex-grow:1;border:2px solid var(--knime-porcelain);resize:none;border-radius:0;padding:var(--space-8);margin:var(--ai-bar-margin);color:var(--knime-masala);font-size:13px;font-weight:lighter;font-family:Roboto,sans-serif;overflow:hidden;text-wrap:soft}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-ac6b75a8]::-moz-placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-ac6b75a8]::placeholder{color:var(--knime-dove-gray)}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-ac6b75a8]:disabled{opacity:.5}.popup-content .chat-controls .chat-controls-text-input .textarea[data-v-ac6b75a8]:focus{outline:none}.popup-content .chat-controls .chat-controls-text-input .chat-controls-buttons[data-v-ac6b75a8]{margin:var(--ai-bar-margin);margin-left:0}.popup-content .notification-bar[data-v-ac6b75a8]{display:flex;justify-content:space-between;vertical-align:middle;border-top:1px solid var(--knime-porcelain);position:relative;height:49px}.notification[data-v-ac6b75a8]{line-height:15.23px;margin:var(--space-16)}.notification-button[data-v-ac6b75a8]{height:30px;margin:var(--space-8);margin-right:var(--space-16)}.abort-button[data-v-ac6b75a8]{border:1px solid var(--knime-silver-sand)}.popup-anchor[data-v-f3b7a3ce]{position:relative;display:flex;width:100%}.popup-anchor .ai-popup[data-v-f3b7a3ce]{--default-ai-bar-width: 65vw;--arrow-size: 18px;z-index:10;--left-hang: 150px;--left-hang-correction-for-left-pane: max( 0px, calc(var(--left-hang) - var(--left-splitter-position)) );--left-hang-correction-for-arrow: var(--arrow-size);width:65vw;width:var(--default-ai-bar-width);max-width:1000px;position:absolute;left:50%;top:-20px;top:calc(-1 * (var(--arrow-size) + 2px));transform:translateY(-100%) translate(calc(var(--left-hang-correction-for-left-pane) - 150px - 18px));transform:translateY(-100%) translate(calc(var(--left-hang-correction-for-left-pane) - var(--left-hang) - var(--left-hang-correction-for-arrow)))}.popup-anchor .ai-popup .arrow[data-v-f3b7a3ce]{width:var(--arrow-size);height:var(--arrow-size);content:"";position:absolute;background-color:var(--knime-gray-ultra-light);bottom:0;z-index:1;border-right:1px solid var(--knime-porcelain);border-top:1px solid var(--knime-porcelain);clip-path:polygon(0 calc(0px - 100vw),calc(100% + 100vw) calc(0px - 100vw),calc(100% + 100vw) 100%,0 100%);box-shadow:var(--shadow-elevation-2);transform:translate(calc(var(--left-hang) - var(--arrow-size) / 2 - var(--left-hang-correction-for-left-pane) + var(--left-hang-correction-for-arrow))) translateY(50%) rotate(135deg)}.hide-button-text[data-v-7ab3671a] svg{margin-right:0}.controls[data-v-7ab3671a]{display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between;place-content:center space-between;align-items:center;padding:var(--space-4) var(--space-8);background-color:var(--knime-gray-light-semi);border-top:1px solid var(--knime-silver-sand);height:var(--controls-height);width:100%}.button-controls[data-v-7ab3671a]{display:flex;justify-content:right;flex-wrap:wrap;row-gap:var(--space-4)}.button-active.compact[data-v-7ab3671a]{color:var(--knime-white);background-color:var(--knime-masala)}.button-active.compact svg[data-v-7ab3671a]{stroke:var(--knime-white)}.container[data-v-bbbe81d7]{justify-content:space-between;height:var(--controls-height);background-color:var(--knime-porcelain);border-bottom:1px solid var(--knime-silver-sand);display:flex;flex-wrap:nowrap}.title[data-v-bbbe81d7]{margin-left:10px;height:var(--controls-height);line-height:var(--controls-height);display:flex;align-items:center}.open-icon[data-v-bbbe81d7]{width:18px;height:18px;margin:auto}.menu[data-v-bbbe81d7]{margin:var(--space-4);margin-right:var(--space-8);flex:0 1 1px;justify-content:center}.code-editor{height:100%}.editor-container{height:100%;min-height:0}.port-table[data-v-6b51bd57]{height:100%}.view-value-switch[data-v-ad87bfef]{display:flex;justify-content:center}.scripting-editor-bottom-pane[data-v-16277859]{display:flex;flex-direction:column;height:100%}.scripting-editor-bottom-pane .tab-content[data-v-16277859]{display:flex;height:100%;flex-direction:column;position:relative;min-height:0;padding:0 var(--space-8)}.scripting-editor-bottom-pane .tab-bar-and-buttons[data-v-16277859]{display:flex;align-items:center;position:relative;padding:0 var(--space-8);border-bottom:1px solid var(--color-border);height:var(--space-48);flex-grow:1}.scripting-editor-bottom-pane .tab-bar-and-buttons .tab-bar-buttons[data-v-16277859]{position:absolute;right:var(--space-16);top:var(--space-4);display:flex;flex-wrap:nowrap}.scripting-editor-bottom-pane .tab-bar-and-buttons .scripting-editor-tab-bar[data-v-16277859]{flex-grow:1}.settings-title[data-v-1037c6a3]{display:flex;flex-direction:row;justify-content:left;width:100%;height:120px;background-color:var(--knime-white);align-items:center}.settings-title .back-button[data-v-1037c6a3]{padding-right:var(--space-16)}.settings-title .arrow-left[data-v-1037c6a3]{border-right:1px solid var(--knime-silver-sand)}.settings-title .button svg[data-v-1037c6a3]{height:31px;width:31px}.settings-title h3[data-v-1037c6a3]{font-size:28px;margin-left:0}.settings-content[data-v-1037c6a3]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--knime-gray-ultra-light)}.common-splitter[data-v-e324a655] .splitpanes__splitter{min-width:11px;min-height:11px;background-color:var(--knime-porcelain);background-repeat:no-repeat;background-position:center;border-color:var(--knime-silver-sand);border-style:solid}.common-splitter.slim-mode[data-v-e324a655] .splitpanes__splitter{display:none;pointer-events:none}.collapse-left-pane[data-v-e324a655]>.splitpanes__splitter{display:none;pointer-events:none}.common-splitter.slim-splitter[data-v-e324a655] .splitpanes__splitter{position:relative;min-width:2px;border-width:0 0 0 1px}.common-splitter.slim-splitter[data-v-e324a655] .splitpanes__splitter:before{content:"";position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%);width:11px;height:100%;background:transparent;cursor:ew-resize;z-index:1}.splitpanes--vertical[data-v-e324a655]>.splitpanes__splitter{border-width:0 1px}.splitpanes--horizontal[data-v-e324a655]>.splitpanes__splitter{border-width:1px 0}.left-facing-splitter[data-v-e324a655]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20fill='none'%20stroke='%23000'%20stroke-linejoin='round'%3e%3cpath%20d='M21.5%2027l-11-11%2011-11'/%3e%3c/svg%3e")}.right-facing-splitter[data-v-e324a655]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20fill='none'%20stroke='%23000'%20stroke-linejoin='round'%3e%3cpath%20d='M10.5%205l11%2011-11%2011'/%3e%3c/svg%3e")}.down-facing-splitter[data-v-e324a655]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20stroke='%23000'%20fill='none'%20stroke-linejoin='round'%3e%3cpath%20d='M28.7%209.7L16%2022.3%203.3%209.7'/%3e%3c/svg%3e")}.up-facing-splitter[data-v-e324a655]>.splitpanes__splitter{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20stroke='%23000'%20fill='none'%20stroke-linejoin='round'%3e%3cpath%20d='M28.7%209.7L16%2022.3%203.3%209.7'/%3e%3c/svg%3e");transform:scaleY(-1)}.splitpanes__pane[data-v-e324a655]{transition:none 0s ease 0s;transition:initial;overflow:visible;min-width:0;min-height:0}.main-splitpane[data-v-e324a655]{overflow:hidden}.main-splitpane[data-v-e324a655]>.splitpanes__splitter:hover{border-right:1px solid var(--knime-masala)}.horizontal-splitpane[data-v-e324a655]>.splitpanes__splitter:hover{border-top:1px solid var(--knime-masala)}.vertical-splitpane[data-v-e324a655]>.splitpanes__splitter:hover{border-left:1px solid var(--knime-masala)}.layout[data-v-e324a655]{display:flex;flex-direction:column;height:100vh;width:100%;flex-grow:0;overflow:hidden;position:relative}.editor-and-control-bar[data-v-e324a655]{height:100%;display:flex;flex-direction:column}.editor-and-control-bar .multi-editor-container[data-v-e324a655]{display:flex;flex-direction:column;width:100%;flex-grow:1;min-height:0}.editor-and-control-bar .multi-editor-container .editor-slot-container[data-v-e324a655]{display:flex;flex-direction:column;height:100%;overflow-y:auto;flex-grow:1}.editor-and-control-bar .multi-editor-container .run-button-panel[data-v-e324a655]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;height:-moz-fit-content;height:fit-content;margin:0;background-color:var(--knime-gray-light-semi);background-clip:padding-box}.right-pane[data-v-e324a655]{background-color:var(--knime-gray-ultra-light)}.scrollable-y[data-v-e324a655]{overflow-y:auto}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
33
+ var kl = Object.defineProperty;
34
+ var Rl = (e, t, f) => t in e ? kl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: f }) : e[t] = f;
35
+ var Qe = (e, t, f) => Rl(e, typeof t != "symbol" ? t + "" : t, f);
36
+ import { getCurrentScope as Dl, onScopeDispose as Pl, onMounted as Ge, nextTick as Gi, unref as J, getCurrentInstance as so, isRef as no, ref as ne, shallowRef as ei, watchEffect as Ac, computed as ye, watch as st, onUnmounted as or, defineComponent as Oe, openBlock as Q, createBlock as Ae, normalizeClass as Ke, createElementBlock as oe, createElementVNode as ee, reactive as Pi, withCtx as ve, createVNode as de, createTextVNode as dt, toDisplayString as We, createCommentVNode as xe, Fragment as er, renderList as tr, resolveDynamicComponent as Ll, mergeProps as Tl, readonly as ko, withDirectives as ht, normalizeStyle as Ji, markRaw as Ml, toRaw as cs, toRef as Al, h as Ol, renderSlot as qe, pushScopeId as oo, popScopeId as ao, vShow as It, Transition as ls, vModelText as Il, resolveComponent as Ro, mergeModels as xl, useModel as Bl, useSlots as Do, createSlots as Nl } from "vue";
37
+ import { TabBar as Hl, useMultiSelection as Fl, Collapser as ql, PortIcon as Po, Button as fr, FunctionButton as Lo, SubMenu as jl, ValueSwitch as Wl } from "@knime/components";
38
+ import * as it from "monaco-editor";
39
+ import { languages as ze, MarkerSeverity as Or, MarkerTag as To, editor as zl } from "monaco-editor";
40
+ import { setUpIframeEmbedderService as Ul, JsonDataService as sr, setUpEmbedderService as $l, AlertType as Mo, ExtensionTypes as Ao, AlertingService as Oc, DialogService as Vl } from "@knime/ui-extension-service";
41
41
  function co(e) {
42
- return Rl() ? (Dl(e), !0) : !1;
42
+ return Dl() ? (Pl(e), !0) : !1;
43
43
  }
44
44
  function pr(e) {
45
45
  return typeof e == "function" ? e() : J(e);
46
46
  }
47
47
  const Ic = typeof window < "u" && typeof document < "u";
48
48
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
49
- const Vl = (e) => typeof e < "u", Kl = (e) => e != null, Gl = Object.prototype.toString, Jl = (e) => Gl.call(e) === "[object Object]", er = () => {
50
- }, Xl = /* @__PURE__ */ Yl();
51
- function Yl() {
49
+ const Kl = (e) => typeof e < "u", Gl = (e) => e != null, Jl = Object.prototype.toString, Xl = (e) => Jl.call(e) === "[object Object]", rr = () => {
50
+ }, Yl = /* @__PURE__ */ Zl();
51
+ function Zl() {
52
52
  var e, t;
53
53
  return Ic && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
54
54
  }
55
- function Zl(e, t) {
55
+ function Ql(e, t) {
56
56
  function f(...o) {
57
57
  return new Promise((l, v) => {
58
58
  Promise.resolve(e(() => t.apply(this, o), { fn: t, thisArg: this, args: o })).then(l).catch(v);
@@ -60,10 +60,10 @@ function Zl(e, t) {
60
60
  }
61
61
  return f;
62
62
  }
63
- function Ql(e, t = {}) {
64
- let f, o, l = er;
63
+ function eh(e, t = {}) {
64
+ let f, o, l = rr;
65
65
  const v = (r) => {
66
- clearTimeout(r), l(), l = er;
66
+ clearTimeout(r), l(), l = rr;
67
67
  };
68
68
  return (r) => {
69
69
  const i = pr(e), n = pr(t.maxWait);
@@ -76,17 +76,17 @@ function Ql(e, t = {}) {
76
76
  });
77
77
  };
78
78
  }
79
- function eh(e) {
79
+ function th(e) {
80
80
  return so();
81
81
  }
82
- function th(e, t = 200, f = {}) {
83
- return Zl(
84
- Ql(t, f),
82
+ function rh(e, t = 200, f = {}) {
83
+ return Ql(
84
+ eh(t, f),
85
85
  e
86
86
  );
87
87
  }
88
- function rh(e, t = !0, f) {
89
- eh() ? Ze(e, f) : t ? e() : Gi(e);
88
+ function ih(e, t = !0, f) {
89
+ th() ? Ge(e, f) : t ? e() : Gi(e);
90
90
  }
91
91
  function Li(e, t, f) {
92
92
  let o;
@@ -97,7 +97,7 @@ function Li(e, t, f) {
97
97
  lazy: l = !1,
98
98
  evaluating: v = void 0,
99
99
  shallow: m = !0,
100
- onError: r = er
100
+ onError: r = rr
101
101
  } = o, i = ne(!l), n = m ? ei(t) : ne(t);
102
102
  let c = 0;
103
103
  return Ac(async (h) => {
@@ -132,7 +132,7 @@ const ti = Ic ? window : void 0;
132
132
  function dr(...e) {
133
133
  let t, f, o, l;
134
134
  if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([f, o, l] = e, t = ti) : [t, f, o, l] = e, !t)
135
- return er;
135
+ return rr;
136
136
  Array.isArray(f) || (f = [f]), Array.isArray(o) || (o = [o]);
137
137
  const v = [], m = () => {
138
138
  v.forEach((c) => c()), v.length = 0;
@@ -141,7 +141,7 @@ function dr(...e) {
141
141
  ([c, h]) => {
142
142
  if (m(), !c)
143
143
  return;
144
- const s = Jl(h) ? { ...h } : h;
144
+ const s = Xl(h) ? { ...h } : h;
145
145
  v.push(
146
146
  ...f.flatMap((d) => o.map((g) => r(c, d, g, s)))
147
147
  );
@@ -153,11 +153,11 @@ function dr(...e) {
153
153
  return co(n), n;
154
154
  }
155
155
  let Oo = !1;
156
- function ih(e, t, f = {}) {
156
+ function sh(e, t, f = {}) {
157
157
  const { window: o = ti, ignore: l = [], capture: v = !0, detectIframe: m = !1 } = f;
158
158
  if (!o)
159
- return er;
160
- Xl && !Oo && (Oo = !0, Array.from(o.document.body.children).forEach((s) => s.addEventListener("click", er)), o.document.documentElement.addEventListener("click", er));
159
+ return rr;
160
+ Yl && !Oo && (Oo = !0, Array.from(o.document.body.children).forEach((s) => s.addEventListener("click", rr)), o.document.documentElement.addEventListener("click", rr));
161
161
  let r = !0;
162
162
  const i = (s) => l.some((d) => {
163
163
  if (typeof d == "string")
@@ -191,7 +191,7 @@ function ih(e, t, f = {}) {
191
191
  ].filter(Boolean);
192
192
  return () => c.forEach((s) => s());
193
193
  }
194
- function sh(e) {
194
+ function nh(e) {
195
195
  return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
196
196
  }
197
197
  function Io(...e) {
@@ -202,31 +202,31 @@ function Io(...e) {
202
202
  eventName: v = "keydown",
203
203
  passive: m = !1,
204
204
  dedupe: r = !1
205
- } = o, i = sh(t);
205
+ } = o, i = nh(t);
206
206
  return dr(l, v, (c) => {
207
207
  c.repeat && pr(r) || i(c) && f(c);
208
208
  }, m);
209
209
  }
210
- function nh() {
210
+ function oh() {
211
211
  const e = ne(!1), t = so();
212
- return t && Ze(() => {
212
+ return t && Ge(() => {
213
213
  e.value = !0;
214
214
  }, t), e;
215
215
  }
216
216
  function xc(e) {
217
- const t = nh();
217
+ const t = oh();
218
218
  return ye(() => (t.value, !!e()));
219
219
  }
220
- function oh(e) {
220
+ function ah(e) {
221
221
  return JSON.parse(JSON.stringify(e));
222
222
  }
223
- function ah(e, t, f = {}) {
223
+ function ch(e, t, f = {}) {
224
224
  const { window: o = ti, ...l } = f;
225
225
  let v;
226
226
  const m = xc(() => o && "MutationObserver" in o), r = () => {
227
227
  v && (v.disconnect(), v = void 0);
228
228
  }, i = ye(() => {
229
- const s = pr(e), d = (Array.isArray(s) ? s : [s]).map(yt).filter(Kl);
229
+ const s = pr(e), d = (Array.isArray(s) ? s : [s]).map(yt).filter(Gl);
230
230
  return new Set(d);
231
231
  }), n = st(
232
232
  () => i.value,
@@ -282,9 +282,9 @@ function xo(e, t = {}) {
282
282
  const u = y.getBoundingClientRect();
283
283
  m.value = u.height, r.value = u.bottom, i.value = u.left, n.value = u.right, c.value = u.top, h.value = u.width, s.value = u.x, d.value = u.y;
284
284
  }
285
- return lo(e, g), st(() => yt(e), (y) => !y && g()), ah(e, g, {
285
+ return lo(e, g), st(() => yt(e), (y) => !y && g()), ch(e, g, {
286
286
  attributeFilter: ["style", "class"]
287
- }), l && dr("scroll", g, { capture: !0, passive: !0 }), o && dr("resize", g, { passive: !0 }), rh(() => {
287
+ }), l && dr("scroll", g, { capture: !0, passive: !0 }), o && dr("resize", g, { passive: !0 }), ih(() => {
288
288
  v && g();
289
289
  }), {
290
290
  height: m,
@@ -298,7 +298,7 @@ function xo(e, t = {}) {
298
298
  update: g
299
299
  };
300
300
  }
301
- function ch(e) {
301
+ function lh(e) {
302
302
  var t;
303
303
  const f = ne(void 0), o = ne(void 0), l = (t = void 0) != null ? t : "height", v = ne(1);
304
304
  function m() {
@@ -314,7 +314,7 @@ function ch(e) {
314
314
  triggerResize: m
315
315
  };
316
316
  }
317
- function lh(e, t, f, o = {}) {
317
+ function hh(e, t, f, o = {}) {
318
318
  var l, v, m;
319
319
  const {
320
320
  clone: r = !1,
@@ -326,7 +326,7 @@ function lh(e, t, f, o = {}) {
326
326
  } = o, d = so(), g = f || (d == null ? void 0 : d.emit) || ((l = d == null ? void 0 : d.$emit) == null ? void 0 : l.bind(d)) || ((m = (v = d == null ? void 0 : d.proxy) == null ? void 0 : v.$emit) == null ? void 0 : m.bind(d == null ? void 0 : d.proxy));
327
327
  let y = n;
328
328
  y = y || `update:${t.toString()}`;
329
- const u = (_) => r ? typeof r == "function" ? r(_) : oh(_) : _, p = () => Vl(e[t]) ? u(e[t]) : h, a = (_) => {
329
+ const u = (_) => r ? typeof r == "function" ? r(_) : ah(_) : _, p = () => Kl(e[t]) ? u(e[t]) : h, a = (_) => {
330
330
  s ? s(_) && g(y, _) : g(y, _);
331
331
  };
332
332
  if (i) {
@@ -354,7 +354,7 @@ function lh(e, t, f, o = {}) {
354
354
  }
355
355
  });
356
356
  }
357
- const hh = [
357
+ const uh = [
358
358
  "Tab",
359
359
  "ArrowUp",
360
360
  "ArrowDown",
@@ -364,16 +364,16 @@ const hh = [
364
364
  "Enter"
365
365
  ], Xi = () => {
366
366
  const e = ne(!1), t = (o) => {
367
- hh.includes(o.key) && (e.value = !0);
367
+ uh.includes(o.key) && (e.value = !0);
368
368
  }, f = () => {
369
369
  e.value = !1;
370
370
  };
371
- return Ze(() => {
371
+ return Ge(() => {
372
372
  document.addEventListener("keydown", t), document.addEventListener("mousedown", f);
373
- }), nr(() => {
373
+ }), or(() => {
374
374
  document.removeEventListener("keydown", t), document.removeEventListener("mousedown", f);
375
375
  }), e;
376
- }, uh = /* @__PURE__ */ Oe({
376
+ }, dh = /* @__PURE__ */ Oe({
377
377
  __name: "CompactTabBar",
378
378
  props: {
379
379
  disabled: {
@@ -395,8 +395,8 @@ const hh = [
395
395
  },
396
396
  emits: ["update:modelValue"],
397
397
  setup(e, { emit: t }) {
398
- const f = e, l = lh(f, "modelValue", t), v = Xi();
399
- return (m, r) => (Q(), Ae(J(Nl), {
398
+ const f = e, l = hh(f, "modelValue", t), v = Xi();
399
+ return (m, r) => (Q(), Ae(J(Hl), {
400
400
  modelValue: J(l),
401
401
  "onUpdate:modelValue": r[0] || (r[0] = (i) => no(l) ? l.value = i : null),
402
402
  class: Ke(["scripting-editor-tab-bar", { "focus-painted": J(v) }]),
@@ -409,12 +409,12 @@ const hh = [
409
409
  for (const [o, l] of t)
410
410
  f[o] = l;
411
411
  return f;
412
- }, dh = /* @__PURE__ */ Be(uh, [["__scopeId", "data-v-be68c5c4"]]);
412
+ }, fh = /* @__PURE__ */ Be(dh, [["__scopeId", "data-v-be68c5c4"]]);
413
413
  var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
414
- function fh(e) {
414
+ function ph(e) {
415
415
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
416
416
  }
417
- function ph(e) {
417
+ function _h(e) {
418
418
  if (e.__esModule) return e;
419
419
  var t = e.default;
420
420
  if (typeof t == "function") {
@@ -436,13 +436,13 @@ function ph(e) {
436
436
  var Cs = { exports: {} }, ws = { exports: {} }, ot = {}, Ce = {};
437
437
  Ce.__esModule = !0;
438
438
  Ce.extend = Bc;
439
- Ce.indexOf = Sh;
440
- Ce.escapeExpression = yh;
441
- Ce.isEmpty = bh;
442
- Ce.createFrame = Ch;
443
- Ce.blockParams = wh;
444
- Ce.appendContextPath = Eh;
445
- var _h = {
439
+ Ce.indexOf = yh;
440
+ Ce.escapeExpression = bh;
441
+ Ce.isEmpty = Ch;
442
+ Ce.createFrame = wh;
443
+ Ce.blockParams = Eh;
444
+ Ce.appendContextPath = kh;
445
+ var gh = {
446
446
  "&": "&amp;",
447
447
  "<": "&lt;",
448
448
  ">": "&gt;",
@@ -450,9 +450,9 @@ var _h = {
450
450
  "'": "&#x27;",
451
451
  "`": "&#x60;",
452
452
  "=": "&#x3D;"
453
- }, gh = /[&<>"'`=]/g, vh = /[&<>"'`=]/;
454
- function mh(e) {
455
- return _h[e];
453
+ }, vh = /[&<>"'`=]/g, mh = /[&<>"'`=]/;
454
+ function Sh(e) {
455
+ return gh[e];
456
456
  }
457
457
  function Bc(e) {
458
458
  for (var t = 1; t < arguments.length; t++)
@@ -473,13 +473,13 @@ var Nc = Array.isArray || function(e) {
473
473
  return e && typeof e == "object" ? ho.call(e) === "[object Array]" : !1;
474
474
  };
475
475
  Ce.isArray = Nc;
476
- function Sh(e, t) {
476
+ function yh(e, t) {
477
477
  for (var f = 0, o = e.length; f < o; f++)
478
478
  if (e[f] === t)
479
479
  return f;
480
480
  return -1;
481
481
  }
482
- function yh(e) {
482
+ function bh(e) {
483
483
  if (typeof e != "string") {
484
484
  if (e && e.toHTML)
485
485
  return e.toHTML();
@@ -489,19 +489,19 @@ function yh(e) {
489
489
  return e + "";
490
490
  e = "" + e;
491
491
  }
492
- return vh.test(e) ? e.replace(gh, mh) : e;
492
+ return mh.test(e) ? e.replace(vh, Sh) : e;
493
493
  }
494
- function bh(e) {
494
+ function Ch(e) {
495
495
  return !e && e !== 0 ? !0 : !!(Nc(e) && e.length === 0);
496
496
  }
497
- function Ch(e) {
497
+ function wh(e) {
498
498
  var t = Bc({}, e);
499
499
  return t._parent = e, t;
500
500
  }
501
- function wh(e, t) {
501
+ function Eh(e, t) {
502
502
  return e.path = t, e;
503
503
  }
504
- function Eh(e, t) {
504
+ function kh(e, t) {
505
505
  return (e ? e + "." : "") + t;
506
506
  }
507
507
  var ks = { exports: {} };
@@ -548,7 +548,7 @@ var ft = ks.exports, ri = {}, Rs = { exports: {} };
548
548
  });
549
549
  }, e.exports = t.default;
550
550
  })(Rs, Rs.exports);
551
- var kh = Rs.exports, Ds = { exports: {} };
551
+ var Rh = Rs.exports, Ds = { exports: {} };
552
552
  (function(e, t) {
553
553
  t.__esModule = !0;
554
554
  function f(m) {
@@ -588,7 +588,7 @@ var kh = Rs.exports, Ds = { exports: {} };
588
588
  });
589
589
  }, e.exports = t.default;
590
590
  })(Ds, Ds.exports);
591
- var Rh = Ds.exports, Ps = { exports: {} };
591
+ var Dh = Ds.exports, Ps = { exports: {} };
592
592
  (function(e, t) {
593
593
  t.__esModule = !0;
594
594
  function f(v) {
@@ -602,7 +602,7 @@ var Rh = Ds.exports, Ps = { exports: {} };
602
602
  });
603
603
  }, e.exports = t.default;
604
604
  })(Ps, Ps.exports);
605
- var Dh = Ps.exports, Ls = { exports: {} };
605
+ var Ph = Ps.exports, Ls = { exports: {} };
606
606
  (function(e, t) {
607
607
  t.__esModule = !0;
608
608
  function f(m) {
@@ -625,7 +625,7 @@ var Dh = Ps.exports, Ls = { exports: {} };
625
625
  });
626
626
  }, e.exports = t.default;
627
627
  })(Ls, Ls.exports);
628
- var Ph = Ls.exports, Ts = { exports: {} };
628
+ var Lh = Ls.exports, Ts = { exports: {} };
629
629
  (function(e, t) {
630
630
  t.__esModule = !0, t.default = function(f) {
631
631
  f.registerHelper("log", function() {
@@ -636,7 +636,7 @@ var Ph = Ls.exports, Ts = { exports: {} };
636
636
  });
637
637
  }, e.exports = t.default;
638
638
  })(Ts, Ts.exports);
639
- var Lh = Ts.exports, Ms = { exports: {} };
639
+ var Th = Ts.exports, Ms = { exports: {} };
640
640
  (function(e, t) {
641
641
  t.__esModule = !0, t.default = function(f) {
642
642
  f.registerHelper("lookup", function(o, l, v) {
@@ -644,7 +644,7 @@ var Lh = Ts.exports, Ms = { exports: {} };
644
644
  });
645
645
  }, e.exports = t.default;
646
646
  })(Ms, Ms.exports);
647
- var Th = Ms.exports, As = { exports: {} };
647
+ var Mh = Ms.exports, As = { exports: {} };
648
648
  (function(e, t) {
649
649
  t.__esModule = !0;
650
650
  function f(m) {
@@ -667,18 +667,18 @@ var Th = Ms.exports, As = { exports: {} };
667
667
  });
668
668
  }, e.exports = t.default;
669
669
  })(As, As.exports);
670
- var Mh = As.exports;
670
+ var Ah = As.exports;
671
671
  ri.__esModule = !0;
672
- ri.registerDefaultHelpers = Vh;
673
- ri.moveHelperToHooks = Kh;
674
- function or(e) {
672
+ ri.registerDefaultHelpers = Kh;
673
+ ri.moveHelperToHooks = Gh;
674
+ function ar(e) {
675
675
  return e && e.__esModule ? e : { default: e };
676
676
  }
677
- var Ah = kh, Oh = or(Ah), Ih = Rh, xh = or(Ih), Bh = Dh, Nh = or(Bh), Hh = Ph, Fh = or(Hh), qh = Lh, jh = or(qh), Wh = Th, zh = or(Wh), Uh = Mh, $h = or(Uh);
678
- function Vh(e) {
679
- Oh.default(e), xh.default(e), Nh.default(e), Fh.default(e), jh.default(e), zh.default(e), $h.default(e);
677
+ var Oh = Rh, Ih = ar(Oh), xh = Dh, Bh = ar(xh), Nh = Ph, Hh = ar(Nh), Fh = Lh, qh = ar(Fh), jh = Th, Wh = ar(jh), zh = Mh, Uh = ar(zh), $h = Ah, Vh = ar($h);
678
+ function Kh(e) {
679
+ Ih.default(e), Bh.default(e), Hh.default(e), qh.default(e), Wh.default(e), Uh.default(e), Vh.default(e);
680
680
  }
681
- function Kh(e, t, f) {
681
+ function Gh(e, t, f) {
682
682
  e.helpers[t] && (e.hooks[t] = e.helpers[t], f || delete e.helpers[t]);
683
683
  }
684
684
  var uo = {}, Os = { exports: {} };
@@ -697,15 +697,15 @@ var uo = {}, Os = { exports: {} };
697
697
  });
698
698
  }, e.exports = t.default;
699
699
  })(Os, Os.exports);
700
- var Gh = Os.exports;
700
+ var Jh = Os.exports;
701
701
  uo.__esModule = !0;
702
- uo.registerDefaultDecorators = Zh;
703
- function Jh(e) {
702
+ uo.registerDefaultDecorators = Qh;
703
+ function Xh(e) {
704
704
  return e && e.__esModule ? e : { default: e };
705
705
  }
706
- var Xh = Gh, Yh = Jh(Xh);
707
- function Zh(e) {
708
- Yh.default(e);
706
+ var Yh = Jh, Zh = Xh(Yh);
707
+ function Qh(e) {
708
+ Zh.default(e);
709
709
  }
710
710
  var Is = { exports: {} };
711
711
  (function(e, t) {
@@ -736,22 +736,22 @@ var Is = { exports: {} };
736
736
  })(Is, Is.exports);
737
737
  var Hc = Is.exports, Tr = {}, fo = {};
738
738
  fo.__esModule = !0;
739
- fo.createNewLookupObject = eu;
740
- var Qh = Ce;
741
- function eu() {
739
+ fo.createNewLookupObject = tu;
740
+ var eu = Ce;
741
+ function tu() {
742
742
  for (var e = arguments.length, t = Array(e), f = 0; f < e; f++)
743
743
  t[f] = arguments[f];
744
- return Qh.extend.apply(void 0, [/* @__PURE__ */ Object.create(null)].concat(t));
744
+ return eu.extend.apply(void 0, [/* @__PURE__ */ Object.create(null)].concat(t));
745
745
  }
746
746
  Tr.__esModule = !0;
747
- Tr.createProtoAccessControl = su;
748
- Tr.resultIsAllowed = nu;
749
- Tr.resetLoggedProperties = au;
750
- function tu(e) {
747
+ Tr.createProtoAccessControl = nu;
748
+ Tr.resultIsAllowed = ou;
749
+ Tr.resetLoggedProperties = cu;
750
+ function ru(e) {
751
751
  return e && e.__esModule ? e : { default: e };
752
752
  }
753
- var Bo = fo, ru = Hc, iu = tu(ru), Ti = /* @__PURE__ */ Object.create(null);
754
- function su(e) {
753
+ var Bo = fo, iu = Hc, su = ru(iu), Ti = /* @__PURE__ */ Object.create(null);
754
+ function nu(e) {
755
755
  var t = /* @__PURE__ */ Object.create(null);
756
756
  t.constructor = !1, t.__defineGetter__ = !1, t.__defineSetter__ = !1, t.__lookupGetter__ = !1;
757
757
  var f = /* @__PURE__ */ Object.create(null);
@@ -766,18 +766,18 @@ function su(e) {
766
766
  }
767
767
  };
768
768
  }
769
- function nu(e, t, f) {
769
+ function ou(e, t, f) {
770
770
  return No(typeof e == "function" ? t.methods : t.properties, f);
771
771
  }
772
772
  function No(e, t) {
773
- return e.whitelist[t] !== void 0 ? e.whitelist[t] === !0 : e.defaultValue !== void 0 ? e.defaultValue : (ou(t), !1);
773
+ return e.whitelist[t] !== void 0 ? e.whitelist[t] === !0 : e.defaultValue !== void 0 ? e.defaultValue : (au(t), !1);
774
774
  }
775
- function ou(e) {
776
- Ti[e] !== !0 && (Ti[e] = !0, iu.default.log("error", 'Handlebars: Access has been denied to resolve the property "' + e + `" because it is not an "own property" of its parent.
775
+ function au(e) {
776
+ Ti[e] !== !0 && (Ti[e] = !0, su.default.log("error", 'Handlebars: Access has been denied to resolve the property "' + e + `" because it is not an "own property" of its parent.
777
777
  You can add a runtime option to disable the check or this warning:
778
778
  See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`));
779
779
  }
780
- function au() {
780
+ function cu() {
781
781
  Object.keys(Ti).forEach(function(e) {
782
782
  delete Ti[e];
783
783
  });
@@ -787,13 +787,13 @@ ot.HandlebarsEnvironment = xs;
787
787
  function Fc(e) {
788
788
  return e && e.__esModule ? e : { default: e };
789
789
  }
790
- var Jt = Ce, cu = ft, hs = Fc(cu), lu = ri, hu = uo, uu = Hc, Mi = Fc(uu), du = Tr, fu = "4.7.8";
791
- ot.VERSION = fu;
792
- var pu = 8;
793
- ot.COMPILER_REVISION = pu;
794
- var _u = 7;
795
- ot.LAST_COMPATIBLE_COMPILER_REVISION = _u;
796
- var gu = {
790
+ var Xt = Ce, lu = ft, hs = Fc(lu), hu = ri, uu = uo, du = Hc, Mi = Fc(du), fu = Tr, pu = "4.7.8";
791
+ ot.VERSION = pu;
792
+ var _u = 8;
793
+ ot.COMPILER_REVISION = _u;
794
+ var gu = 7;
795
+ ot.LAST_COMPATIBLE_COMPILER_REVISION = gu;
796
+ var vu = {
797
797
  1: "<= 1.0.rc.2",
798
798
  // 1.0.rc.2 is actually rev2 but doesn't report it
799
799
  2: "== 1.0.0-rc.3",
@@ -804,20 +804,20 @@ var gu = {
804
804
  7: ">= 4.0.0 <4.3.0",
805
805
  8: ">= 4.3.0"
806
806
  };
807
- ot.REVISION_CHANGES = gu;
807
+ ot.REVISION_CHANGES = vu;
808
808
  var us = "[object Object]";
809
809
  function xs(e, t, f) {
810
- this.helpers = e || {}, this.partials = t || {}, this.decorators = f || {}, lu.registerDefaultHelpers(this), hu.registerDefaultDecorators(this);
810
+ this.helpers = e || {}, this.partials = t || {}, this.decorators = f || {}, hu.registerDefaultHelpers(this), uu.registerDefaultDecorators(this);
811
811
  }
812
812
  xs.prototype = {
813
813
  constructor: xs,
814
814
  logger: Mi.default,
815
815
  log: Mi.default.log,
816
816
  registerHelper: function(t, f) {
817
- if (Jt.toString.call(t) === us) {
817
+ if (Xt.toString.call(t) === us) {
818
818
  if (f)
819
819
  throw new hs.default("Arg not supported with multiple helpers");
820
- Jt.extend(this.helpers, t);
820
+ Xt.extend(this.helpers, t);
821
821
  } else
822
822
  this.helpers[t] = f;
823
823
  },
@@ -825,8 +825,8 @@ xs.prototype = {
825
825
  delete this.helpers[t];
826
826
  },
827
827
  registerPartial: function(t, f) {
828
- if (Jt.toString.call(t) === us)
829
- Jt.extend(this.partials, t);
828
+ if (Xt.toString.call(t) === us)
829
+ Xt.extend(this.partials, t);
830
830
  else {
831
831
  if (typeof f > "u")
832
832
  throw new hs.default('Attempting to register a partial called "' + t + '" as undefined');
@@ -837,10 +837,10 @@ xs.prototype = {
837
837
  delete this.partials[t];
838
838
  },
839
839
  registerDecorator: function(t, f) {
840
- if (Jt.toString.call(t) === us) {
840
+ if (Xt.toString.call(t) === us) {
841
841
  if (f)
842
842
  throw new hs.default("Arg not supported with multiple decorators");
843
- Jt.extend(this.decorators, t);
843
+ Xt.extend(this.decorators, t);
844
844
  } else
845
845
  this.decorators[t] = f;
846
846
  },
@@ -852,12 +852,12 @@ xs.prototype = {
852
852
  * @deprecated should only be used in handlebars test-cases
853
853
  */
854
854
  resetLoggedPropertyAccesses: function() {
855
- du.resetLoggedProperties();
855
+ fu.resetLoggedProperties();
856
856
  }
857
857
  };
858
- var vu = Mi.default.log;
859
- ot.log = vu;
860
- ot.createFrame = Jt.createFrame;
858
+ var mu = Mi.default.log;
859
+ ot.log = mu;
860
+ ot.createFrame = Xt.createFrame;
861
861
  ot.logger = Mi.default;
862
862
  var Bs = { exports: {} };
863
863
  (function(e, t) {
@@ -869,10 +869,10 @@ var Bs = { exports: {} };
869
869
  return "" + this.string;
870
870
  }, t.default = f, e.exports = t.default;
871
871
  })(Bs, Bs.exports);
872
- var mu = Bs.exports, zt = {}, po = {};
872
+ var Su = Bs.exports, Ut = {}, po = {};
873
873
  po.__esModule = !0;
874
- po.wrapHelper = Su;
875
- function Su(e, t) {
874
+ po.wrapHelper = yu;
875
+ function yu(e, t) {
876
876
  if (typeof e != "function")
877
877
  return e;
878
878
  var f = function() {
@@ -881,17 +881,17 @@ function Su(e, t) {
881
881
  };
882
882
  return f;
883
883
  }
884
- zt.__esModule = !0;
885
- zt.checkRevision = ku;
886
- zt.template = Ru;
887
- zt.wrapProgram = Ei;
888
- zt.resolvePartial = Du;
889
- zt.invokePartial = Pu;
890
- zt.noop = qc;
891
- function yu(e) {
884
+ Ut.__esModule = !0;
885
+ Ut.checkRevision = Ru;
886
+ Ut.template = Du;
887
+ Ut.wrapProgram = Ei;
888
+ Ut.resolvePartial = Pu;
889
+ Ut.invokePartial = Lu;
890
+ Ut.noop = qc;
891
+ function bu(e) {
892
892
  return e && e.__esModule ? e : { default: e };
893
893
  }
894
- function bu(e) {
894
+ function Cu(e) {
895
895
  if (e && e.__esModule)
896
896
  return e;
897
897
  var t = {};
@@ -900,8 +900,8 @@ function bu(e) {
900
900
  Object.prototype.hasOwnProperty.call(e, f) && (t[f] = e[f]);
901
901
  return t.default = e, t;
902
902
  }
903
- var Cu = Ce, Tt = bu(Cu), wu = ft, Mt = yu(wu), At = ot, Ho = ri, Eu = po, Fo = Tr;
904
- function ku(e) {
903
+ var wu = Ce, Tt = Cu(wu), Eu = ft, Mt = bu(Eu), At = ot, Ho = ri, ku = po, Fo = Tr;
904
+ function Ru(e) {
905
905
  var t = e && e[0] || 1, f = At.COMPILER_REVISION;
906
906
  if (!(t >= At.LAST_COMPATIBLE_COMPILER_REVISION && t <= At.COMPILER_REVISION))
907
907
  if (t < At.LAST_COMPATIBLE_COMPILER_REVISION) {
@@ -910,7 +910,7 @@ function ku(e) {
910
910
  } else
911
911
  throw new Mt.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (" + e[1] + ").");
912
912
  }
913
- function Ru(e, t) {
913
+ function Du(e, t) {
914
914
  if (!t)
915
915
  throw new Mt.default("No environment passed to template");
916
916
  if (!e || !e.main)
@@ -985,7 +985,7 @@ function Ru(e, t) {
985
985
  };
986
986
  function v(m) {
987
987
  var r = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], i = r.data;
988
- v._setup(r), !r.partial && e.useData && (i = Lu(m, i));
988
+ v._setup(r), !r.partial && e.useData && (i = Tu(m, i));
989
989
  var n = void 0, c = e.useBlockParams ? [] : void 0;
990
990
  e.useDepths && (r.depths ? n = m != r.depths[0] ? [m].concat(r.depths) : r.depths : n = [m]);
991
991
  function h(s) {
@@ -998,7 +998,7 @@ function Ru(e, t) {
998
998
  l.protoAccessControl = m.protoAccessControl, l.helpers = m.helpers, l.partials = m.partials, l.decorators = m.decorators, l.hooks = m.hooks;
999
999
  else {
1000
1000
  var r = Tt.extend({}, t.helpers, m.helpers);
1001
- Tu(r, l), l.helpers = r, e.usePartial && (l.partials = l.mergeIfNeeded(m.partials, t.partials)), (e.usePartial || e.useDecorators) && (l.decorators = Tt.extend({}, t.decorators, m.decorators)), l.hooks = {}, l.protoAccessControl = Fo.createProtoAccessControl(m);
1001
+ Mu(r, l), l.helpers = r, e.usePartial && (l.partials = l.mergeIfNeeded(m.partials, t.partials)), (e.usePartial || e.useDecorators) && (l.decorators = Tt.extend({}, t.decorators, m.decorators)), l.hooks = {}, l.protoAccessControl = Fo.createProtoAccessControl(m);
1002
1002
  var i = m.allowCallsToHelperMissing || f;
1003
1003
  Ho.moveHelperToHooks(l, "helperMissing", i), Ho.moveHelperToHooks(l, "blockHelperMissing", i);
1004
1004
  }
@@ -1017,10 +1017,10 @@ function Ei(e, t, f, o, l, v, m) {
1017
1017
  }
1018
1018
  return r = jc(f, r, e, m, o, v), r.program = t, r.depth = m ? m.length : 0, r.blockParams = l || 0, r;
1019
1019
  }
1020
- function Du(e, t, f) {
1020
+ function Pu(e, t, f) {
1021
1021
  return e ? !e.call && !f.name && (f.name = e, e = f.partials[e]) : f.name === "@partial-block" ? e = f.data["partial-block"] : e = f.partials[f.name], e;
1022
1022
  }
1023
- function Pu(e, t, f) {
1023
+ function Lu(e, t, f) {
1024
1024
  var o = f.data && f.data["partial-block"];
1025
1025
  f.partial = !0, f.ids && (f.data.contextPath = f.ids[0] || f.data.contextPath);
1026
1026
  var l = void 0;
@@ -1039,7 +1039,7 @@ function Pu(e, t, f) {
1039
1039
  function qc() {
1040
1040
  return "";
1041
1041
  }
1042
- function Lu(e, t) {
1042
+ function Tu(e, t) {
1043
1043
  return (!t || !("root" in t)) && (t = t ? At.createFrame(t) : {}, t.root = e), t;
1044
1044
  }
1045
1045
  function jc(e, t, f, o, l, v) {
@@ -1049,15 +1049,15 @@ function jc(e, t, f, o, l, v) {
1049
1049
  }
1050
1050
  return t;
1051
1051
  }
1052
- function Tu(e, t) {
1052
+ function Mu(e, t) {
1053
1053
  Object.keys(e).forEach(function(f) {
1054
1054
  var o = e[f];
1055
- e[f] = Mu(o, t);
1055
+ e[f] = Au(o, t);
1056
1056
  });
1057
1057
  }
1058
- function Mu(e, t) {
1058
+ function Au(e, t) {
1059
1059
  var f = t.lookupProperty;
1060
- return Eu.wrapHelper(e, function(o) {
1060
+ return ku.wrapHelper(e, function(o) {
1061
1061
  return Tt.extend({ lookupProperty: f }, o);
1062
1062
  });
1063
1063
  }
@@ -1090,7 +1090,7 @@ var Wc = Ns.exports;
1090
1090
  Object.prototype.hasOwnProperty.call(a, S) && (_[S] = a[S]);
1091
1091
  return _.default = a, _;
1092
1092
  }
1093
- var l = ot, v = o(l), m = mu, r = f(m), i = ft, n = f(i), c = Ce, h = o(c), s = zt, d = o(s), g = Wc, y = f(g);
1093
+ var l = ot, v = o(l), m = Su, r = f(m), i = ft, n = f(i), c = Ce, h = o(c), s = Ut, d = o(s), g = Wc, y = f(g);
1094
1094
  function u() {
1095
1095
  var a = new v.HandlebarsEnvironment();
1096
1096
  return h.extend(a, v), a.SafeString = r.default, a.Exception = n.default, a.Utils = h, a.escapeExpression = h.escapeExpression, a.VM = d, a.template = function(_) {
@@ -1100,7 +1100,7 @@ var Wc = Ns.exports;
1100
1100
  var p = u();
1101
1101
  p.create = u, y.default(p), p.default = p, t.default = p, e.exports = t.default;
1102
1102
  })(ws, ws.exports);
1103
- var Au = ws.exports, Hs = { exports: {} };
1103
+ var Ou = ws.exports, Hs = { exports: {} };
1104
1104
  (function(e, t) {
1105
1105
  t.__esModule = !0;
1106
1106
  var f = {
@@ -1615,7 +1615,7 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : A = "
1615
1615
  }();
1616
1616
  t.default = f, e.exports = t.default;
1617
1617
  })(Fs, Fs.exports);
1618
- var Ou = Fs.exports, qs = { exports: {} }, js = { exports: {} };
1618
+ var Iu = Fs.exports, qs = { exports: {} }, js = { exports: {} };
1619
1619
  (function(e, t) {
1620
1620
  t.__esModule = !0;
1621
1621
  function f(n) {
@@ -1790,29 +1790,29 @@ var Uc = js.exports;
1790
1790
  }
1791
1791
  t.default = v, e.exports = t.default;
1792
1792
  })(qs, qs.exports);
1793
- var Iu = qs.exports, at = {};
1793
+ var xu = qs.exports, at = {};
1794
1794
  at.__esModule = !0;
1795
- at.SourceLocation = Nu;
1796
- at.id = Hu;
1797
- at.stripFlags = Fu;
1798
- at.stripComment = qu;
1799
- at.preparePath = ju;
1800
- at.prepareMustache = Wu;
1801
- at.prepareRawBlock = zu;
1802
- at.prepareBlock = Uu;
1803
- at.prepareProgram = $u;
1804
- at.preparePartialBlock = Vu;
1805
- function xu(e) {
1795
+ at.SourceLocation = Hu;
1796
+ at.id = Fu;
1797
+ at.stripFlags = qu;
1798
+ at.stripComment = ju;
1799
+ at.preparePath = Wu;
1800
+ at.prepareMustache = zu;
1801
+ at.prepareRawBlock = Uu;
1802
+ at.prepareBlock = $u;
1803
+ at.prepareProgram = Vu;
1804
+ at.preparePartialBlock = Ku;
1805
+ function Bu(e) {
1806
1806
  return e && e.__esModule ? e : { default: e };
1807
1807
  }
1808
- var Bu = ft, _o = xu(Bu);
1808
+ var Nu = ft, _o = Bu(Nu);
1809
1809
  function go(e, t) {
1810
1810
  if (t = t.path ? t.path.original : t, e.path.original !== t) {
1811
1811
  var f = { loc: e.path.loc };
1812
1812
  throw new _o.default(e.path.original + " doesn't match " + t, f);
1813
1813
  }
1814
1814
  }
1815
- function Nu(e, t) {
1815
+ function Hu(e, t) {
1816
1816
  this.source = e, this.start = {
1817
1817
  line: t.first_line,
1818
1818
  column: t.first_column
@@ -1821,19 +1821,19 @@ function Nu(e, t) {
1821
1821
  column: t.last_column
1822
1822
  };
1823
1823
  }
1824
- function Hu(e) {
1824
+ function Fu(e) {
1825
1825
  return /^\[.*\]$/.test(e) ? e.substring(1, e.length - 1) : e;
1826
1826
  }
1827
- function Fu(e, t) {
1827
+ function qu(e, t) {
1828
1828
  return {
1829
1829
  open: e.charAt(2) === "~",
1830
1830
  close: t.charAt(t.length - 3) === "~"
1831
1831
  };
1832
1832
  }
1833
- function qu(e) {
1833
+ function ju(e) {
1834
1834
  return e.replace(/^\{\{~?!-?-?/, "").replace(/-?-?~?\}\}$/, "");
1835
1835
  }
1836
- function ju(e, t, f) {
1836
+ function Wu(e, t, f) {
1837
1837
  f = this.locInfo(f);
1838
1838
  for (var o = e ? "@" : "", l = [], v = 0, m = 0, r = t.length; m < r; m++) {
1839
1839
  var i = t[m].part, n = t[m].original !== i;
@@ -1853,7 +1853,7 @@ function ju(e, t, f) {
1853
1853
  loc: f
1854
1854
  };
1855
1855
  }
1856
- function Wu(e, t, f, o, l, v) {
1856
+ function zu(e, t, f, o, l, v) {
1857
1857
  var m = o.charAt(3) || o.charAt(2), r = m !== "{" && m !== "&", i = /\*/.test(o);
1858
1858
  return {
1859
1859
  type: i ? "Decorator" : "MustacheStatement",
@@ -1865,7 +1865,7 @@ function Wu(e, t, f, o, l, v) {
1865
1865
  loc: this.locInfo(v)
1866
1866
  };
1867
1867
  }
1868
- function zu(e, t, f, o) {
1868
+ function Uu(e, t, f, o) {
1869
1869
  go(e, f), o = this.locInfo(o);
1870
1870
  var l = {
1871
1871
  type: "Program",
@@ -1885,7 +1885,7 @@ function zu(e, t, f, o) {
1885
1885
  loc: o
1886
1886
  };
1887
1887
  }
1888
- function Uu(e, t, f, o, l, v) {
1888
+ function $u(e, t, f, o, l, v) {
1889
1889
  o && o.path && go(e, o);
1890
1890
  var m = /\*/.test(e.open);
1891
1891
  t.blockParams = e.blockParams;
@@ -1908,7 +1908,7 @@ function Uu(e, t, f, o, l, v) {
1908
1908
  loc: this.locInfo(v)
1909
1909
  };
1910
1910
  }
1911
- function $u(e, t) {
1911
+ function Vu(e, t) {
1912
1912
  if (!t && e.length) {
1913
1913
  var f = e[0].loc, o = e[e.length - 1].loc;
1914
1914
  f && o && (t = {
@@ -1930,7 +1930,7 @@ function $u(e, t) {
1930
1930
  loc: t
1931
1931
  };
1932
1932
  }
1933
- function Vu(e, t, f, o) {
1933
+ function Ku(e, t, f, o) {
1934
1934
  return go(e, f), {
1935
1935
  type: "PartialBlockStatement",
1936
1936
  name: e.path,
@@ -1944,8 +1944,8 @@ function Vu(e, t, f, o) {
1944
1944
  }
1945
1945
  ii.__esModule = !0;
1946
1946
  ii.parseWithoutProcessing = Vc;
1947
- ii.parse = ed;
1948
- function Ku(e) {
1947
+ ii.parse = td;
1948
+ function Gu(e) {
1949
1949
  if (e && e.__esModule)
1950
1950
  return e;
1951
1951
  var t = {};
@@ -1957,10 +1957,10 @@ function Ku(e) {
1957
1957
  function $c(e) {
1958
1958
  return e && e.__esModule ? e : { default: e };
1959
1959
  }
1960
- var Gu = Ou, Ws = $c(Gu), Ju = Iu, Xu = $c(Ju), Yu = at, Zu = Ku(Yu), Qu = Ce;
1960
+ var Ju = Iu, Ws = $c(Ju), Xu = xu, Yu = $c(Xu), Zu = at, Qu = Gu(Zu), ed = Ce;
1961
1961
  ii.parser = Ws.default;
1962
1962
  var ki = {};
1963
- Qu.extend(ki, Zu);
1963
+ ed.extend(ki, Qu);
1964
1964
  function Vc(e, t) {
1965
1965
  if (e.type === "Program")
1966
1966
  return e;
@@ -1970,19 +1970,19 @@ function Vc(e, t) {
1970
1970
  var f = Ws.default.parse(e);
1971
1971
  return f;
1972
1972
  }
1973
- function ed(e, t) {
1974
- var f = Vc(e, t), o = new Xu.default(t);
1973
+ function td(e, t) {
1974
+ var f = Vc(e, t), o = new Yu.default(t);
1975
1975
  return o.accept(f);
1976
1976
  }
1977
1977
  var si = {};
1978
1978
  si.__esModule = !0;
1979
1979
  si.Compiler = zs;
1980
- si.precompile = sd;
1981
- si.compile = nd;
1980
+ si.precompile = nd;
1981
+ si.compile = od;
1982
1982
  function Kc(e) {
1983
1983
  return e && e.__esModule ? e : { default: e };
1984
1984
  }
1985
- var td = ft, Wr = Kc(td), zr = Ce, rd = zc, Ir = Kc(rd), id = [].slice;
1985
+ var rd = ft, Wr = Kc(rd), zr = Ce, id = zc, Ir = Kc(id), sd = [].slice;
1986
1986
  function zs() {
1987
1987
  }
1988
1988
  zs.prototype = {
@@ -2125,7 +2125,7 @@ zs.prototype = {
2125
2125
  opcode: function(t) {
2126
2126
  this.opcodes.push({
2127
2127
  opcode: t,
2128
- args: id.call(arguments, 1),
2128
+ args: sd.call(arguments, 1),
2129
2129
  loc: this.sourceNode[0].loc
2130
2130
  });
2131
2131
  },
@@ -2172,14 +2172,14 @@ zs.prototype = {
2172
2172
  }
2173
2173
  }
2174
2174
  };
2175
- function sd(e, t, f) {
2175
+ function nd(e, t, f) {
2176
2176
  if (e == null || typeof e != "string" && e.type !== "Program")
2177
2177
  throw new Wr.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed " + e);
2178
2178
  t = t || {}, "data" in t || (t.data = !0), t.compat && (t.useDepths = !0);
2179
2179
  var o = f.parse(e, t), l = new f.Compiler().compile(o, t);
2180
2180
  return new f.JavaScriptCompiler().compile(l, t);
2181
2181
  }
2182
- function nd(e, t, f) {
2182
+ function od(e, t, f) {
2183
2183
  if (t === void 0 && (t = {}), e == null || typeof e != "string" && e.type !== "Program")
2184
2184
  throw new Wr.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed " + e);
2185
2185
  t = zr.extend({}, t), "data" in t || (t.data = !0), t.compat && (t.useDepths = !0);
@@ -2221,7 +2221,7 @@ function qo(e) {
2221
2221
  }
2222
2222
  }
2223
2223
  var Us = { exports: {} }, $s = { exports: {} }, xr = {}, ds = {}, yi = {}, bi = {}, jo;
2224
- function od() {
2224
+ function ad() {
2225
2225
  if (jo) return bi;
2226
2226
  jo = 1;
2227
2227
  var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
@@ -2238,7 +2238,7 @@ var Wo;
2238
2238
  function Jc() {
2239
2239
  if (Wo) return yi;
2240
2240
  Wo = 1;
2241
- var e = od(), t = 5, f = 1 << t, o = f - 1, l = f;
2241
+ var e = ad(), t = 5, f = 1 << t, o = f - 1, l = f;
2242
2242
  function v(r) {
2243
2243
  return r < 0 ? (-r << 1) + 1 : (r << 1) + 0;
2244
2244
  }
@@ -2436,7 +2436,7 @@ function Xc() {
2436
2436
  }, ps.ArraySet = o, ps;
2437
2437
  }
2438
2438
  var _s = {}, $o;
2439
- function ad() {
2439
+ function cd() {
2440
2440
  if ($o) return _s;
2441
2441
  $o = 1;
2442
2442
  var e = ni();
@@ -2459,7 +2459,7 @@ var Vo;
2459
2459
  function Yc() {
2460
2460
  if (Vo) return ds;
2461
2461
  Vo = 1;
2462
- var e = Jc(), t = ni(), f = Xc().ArraySet, o = ad().MappingList;
2462
+ var e = Jc(), t = ni(), f = Xc().ArraySet, o = cd().MappingList;
2463
2463
  function l(v) {
2464
2464
  v || (v = {}), this._file = t.getArg(v, "file", null), this._sourceRoot = t.getArg(v, "sourceRoot", null), this._skipValidation = t.getArg(v, "skipValidation", !1), this._sources = new f(), this._names = new f(), this._mappings = new o(), this._sourcesContents = null;
2465
2465
  }
@@ -2575,7 +2575,7 @@ function Yc() {
2575
2575
  }, ds.SourceMapGenerator = l, ds;
2576
2576
  }
2577
2577
  var Br = {}, gs = {}, Ko;
2578
- function cd() {
2578
+ function ld() {
2579
2579
  return Ko || (Ko = 1, function(e) {
2580
2580
  e.GREATEST_LOWER_BOUND = 1, e.LEAST_UPPER_BOUND = 2;
2581
2581
  function t(f, o, l, v, m, r) {
@@ -2602,7 +2602,7 @@ function cd() {
2602
2602
  }(gs)), gs;
2603
2603
  }
2604
2604
  var vs = {}, Go;
2605
- function ld() {
2605
+ function hd() {
2606
2606
  if (Go) return vs;
2607
2607
  Go = 1;
2608
2608
  function e(o, l, v) {
@@ -2628,10 +2628,10 @@ function ld() {
2628
2628
  }, vs;
2629
2629
  }
2630
2630
  var Jo;
2631
- function hd() {
2631
+ function ud() {
2632
2632
  if (Jo) return Br;
2633
2633
  Jo = 1;
2634
- var e = ni(), t = cd(), f = Xc().ArraySet, o = Jc(), l = ld().quickSort;
2634
+ var e = ni(), t = ld(), f = Xc().ArraySet, o = Jc(), l = hd().quickSort;
2635
2635
  function v(n, c) {
2636
2636
  var h = n;
2637
2637
  return typeof n == "string" && (h = e.parseSourceMapInput(n)), h.sections != null ? new i(h, c) : new m(h, c);
@@ -2997,7 +2997,7 @@ function hd() {
2997
2997
  }, Br.IndexedSourceMapConsumer = i, Br;
2998
2998
  }
2999
2999
  var ms = {}, Xo;
3000
- function ud() {
3000
+ function dd() {
3001
3001
  if (Xo) return ms;
3002
3002
  Xo = 1;
3003
3003
  var e = Yc().SourceMapGenerator, t = ni(), f = /(\r?\n)/, o = 10, l = "$$$isSourceNode$$$";
@@ -3143,14 +3143,14 @@ function ud() {
3143
3143
  }, ms.SourceNode = v, ms;
3144
3144
  }
3145
3145
  var Yo;
3146
- function dd() {
3147
- return Yo || (Yo = 1, xr.SourceMapGenerator = Yc().SourceMapGenerator, xr.SourceMapConsumer = hd().SourceMapConsumer, xr.SourceNode = ud().SourceNode), xr;
3146
+ function fd() {
3147
+ return Yo || (Yo = 1, xr.SourceMapGenerator = Yc().SourceMapGenerator, xr.SourceMapConsumer = ud().SourceMapConsumer, xr.SourceNode = dd().SourceNode), xr;
3148
3148
  }
3149
3149
  (function(e, t) {
3150
3150
  t.__esModule = !0;
3151
3151
  var f = Ce, o = void 0;
3152
3152
  try {
3153
- var l = dd();
3153
+ var l = fd();
3154
3154
  o = l.SourceNode;
3155
3155
  } catch {
3156
3156
  }
@@ -3237,13 +3237,13 @@ function dd() {
3237
3237
  }
3238
3238
  }, t.default = m, e.exports = t.default;
3239
3239
  })($s, $s.exports);
3240
- var fd = $s.exports;
3240
+ var pd = $s.exports;
3241
3241
  (function(e, t) {
3242
3242
  t.__esModule = !0;
3243
3243
  function f(s) {
3244
3244
  return s && s.__esModule ? s : { default: s };
3245
3245
  }
3246
- var o = ot, l = ft, v = f(l), m = Ce, r = fd, i = f(r);
3246
+ var o = ot, l = ft, v = f(l), m = Ce, r = pd, i = f(r);
3247
3247
  function n(s) {
3248
3248
  this.value = s;
3249
3249
  }
@@ -3749,13 +3749,13 @@ var fd = $s.exports;
3749
3749
  }
3750
3750
  t.default = c, e.exports = t.default;
3751
3751
  })(Us, Us.exports);
3752
- var pd = Us.exports;
3752
+ var _d = Us.exports;
3753
3753
  (function(e, t) {
3754
3754
  t.__esModule = !0;
3755
3755
  function f(a) {
3756
3756
  return a && a.__esModule ? a : { default: a };
3757
3757
  }
3758
- var o = Au, l = f(o), v = zc, m = f(v), r = ii, i = si, n = pd, c = f(n), h = Uc, s = f(h), d = Wc, g = f(d), y = l.default.create;
3758
+ var o = Ou, l = f(o), v = zc, m = f(v), r = ii, i = si, n = _d, c = f(n), h = Uc, s = f(h), d = Wc, g = f(d), y = l.default.create;
3759
3759
  function u() {
3760
3760
  var a = y();
3761
3761
  return a.compile = function(_, S) {
@@ -3767,26 +3767,26 @@ var pd = Us.exports;
3767
3767
  var p = u();
3768
3768
  p.create = u, g.default(p), p.Visitor = s.default, p.default = p, t.default = p, e.exports = t.default;
3769
3769
  })(Cs, Cs.exports);
3770
- var _d = Cs.exports;
3771
- const Zo = /* @__PURE__ */ fh(_d), gd = {
3770
+ var gd = Cs.exports;
3771
+ const Zo = /* @__PURE__ */ ph(gd), vd = {
3772
3772
  xmlns: "http://www.w3.org/2000/svg",
3773
3773
  fill: "none",
3774
3774
  stroke: "#000",
3775
3775
  viewBox: "0 0 32 32"
3776
- }, vd = /* @__PURE__ */ ee("path", {
3776
+ }, md = /* @__PURE__ */ ee("path", {
3777
3777
  "stroke-linejoin": "round",
3778
3778
  d: "M29.604 16c0-2.2-4.4-9-13.5-9s-13.5 6.8-13.5 9m27 0c0 2.2-4.4 9-13.5 9s-13.5-6.8-13.5-9"
3779
- }, null, -1), md = /* @__PURE__ */ ee("path", {
3779
+ }, null, -1), Sd = /* @__PURE__ */ ee("path", {
3780
3780
  "stroke-linejoin": "round",
3781
3781
  d: "M16.104 20.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"
3782
- }, null, -1), Sd = [
3783
- vd,
3784
- md
3782
+ }, null, -1), yd = [
3783
+ md,
3784
+ Sd
3785
3785
  ];
3786
- function yd(e, t) {
3787
- return Q(), oe("svg", gd, [...Sd]);
3786
+ function bd(e, t) {
3787
+ return Q(), oe("svg", vd, [...yd]);
3788
3788
  }
3789
- const Qo = { render: yd }, bd = () => {
3789
+ const Qo = { render: bd }, Cd = () => {
3790
3790
  const e = {};
3791
3791
  return {
3792
3792
  getInsertionEventHelper: (f) => (e[f] || (e[f] = []), {
@@ -3798,11 +3798,11 @@ const Qo = { render: yd }, bd = () => {
3798
3798
  }
3799
3799
  })
3800
3800
  };
3801
- }, Vs = bd(), Cd = Pi({}), Zc = () => Cd, wd = ne(!1), Ri = () => wd, vo = (e, t) => {
3801
+ }, Vs = Cd(), wd = Pi({}), Zc = () => wd, Ed = ne(!1), Ri = () => Ed, vo = (e, t) => {
3802
3802
  Object.entries(t).forEach(([f, o]) => {
3803
3803
  e.style[f] = o;
3804
3804
  });
3805
- }, Ed = (e) => {
3805
+ }, kd = (e) => {
3806
3806
  const t = document.createElement("div"), f = 99;
3807
3807
  return t.innerText = e <= f ? e.toString() : "99+", vo(t, {
3808
3808
  background: "var(--knime-masala)",
@@ -3821,7 +3821,7 @@ const Qo = { render: yd }, bd = () => {
3821
3821
  padding: "5px",
3822
3822
  pointerEvents: "none"
3823
3823
  }), t;
3824
- }, kd = (e) => e.map(({ text: f }) => {
3824
+ }, Rd = (e) => e.map(({ text: f }) => {
3825
3825
  const o = document.createElement("div");
3826
3826
  o.innerText = f;
3827
3827
  const l = `${Math.floor(100 / e.length)}%`;
@@ -3848,38 +3848,38 @@ const Qo = { render: yd }, bd = () => {
3848
3848
  fontSize: "11px",
3849
3849
  flexDirection: "row",
3850
3850
  ...f ? { "font-family": f } : {}
3851
- }), document.body.appendChild(o), kd(e).forEach((v) => {
3851
+ }), document.body.appendChild(o), Rd(e).forEach((v) => {
3852
3852
  o.appendChild(v);
3853
3853
  }), t > 1) {
3854
- const v = Ed(t);
3854
+ const v = kd(t);
3855
3855
  o.appendChild(v);
3856
3856
  }
3857
3857
  return o;
3858
3858
  }, ta = () => {
3859
3859
  const e = document.getElementById("drag-ghost");
3860
3860
  e != null && e.parentNode && e.parentNode.removeChild(e);
3861
- }, Rd = { class: "top-card has-collapser" }, Dd = { class: "title" }, Pd = { class: "port-icon-container" }, Ld = {
3861
+ }, Dd = { class: "top-card has-collapser" }, Pd = { class: "title" }, Ld = { class: "port-icon-container" }, Td = {
3862
3862
  key: 1,
3863
3863
  viewBox: "-6 -6 12 12"
3864
- }, Td = ["draggable"], Md = {
3864
+ }, Md = ["draggable"], Ad = {
3865
3865
  key: 0,
3866
3866
  class: "collapser-content"
3867
- }, Ad = {
3867
+ }, Od = {
3868
3868
  key: 0,
3869
3869
  class: "sub-item-icon"
3870
- }, Od = ["draggable", "onDragstart", "onClick", "onDblclick"], Id = { class: "subitem-type" }, xd = {
3870
+ }, Id = ["draggable", "onDragstart", "onClick", "onDblclick"], xd = { class: "subitem-type" }, Bd = {
3871
3871
  key: 1,
3872
3872
  class: "top-card bottom-border"
3873
- }, Bd = { class: "title" }, Nd = { class: "port-icon-container" }, Hd = {
3873
+ }, Nd = { class: "title" }, Hd = { class: "port-icon-container" }, Fd = {
3874
3874
  key: 1,
3875
3875
  viewBox: "-6 -6 12 12"
3876
- }, Fd = ["draggable"], Ks = "input_output_drag_event", Gs = "columnInsertion", qd = /* @__PURE__ */ Oe({
3876
+ }, qd = ["draggable"], Ks = "input_output_drag_event", Gs = "columnInsertion", jd = /* @__PURE__ */ Oe({
3877
3877
  __name: "InputOutputItem",
3878
3878
  props: {
3879
3879
  inputOutputItem: {}
3880
3880
  },
3881
3881
  setup(e, { expose: t }) {
3882
- const o = e, l = Hl({
3882
+ const o = e, l = Fl({
3883
3883
  singleSelectionOnly: ne(!o.inputOutputItem.multiSelection)
3884
3884
  });
3885
3885
  Zo.registerHelper("escapeDblQuotes", (b) => b.replace("\\", "\\\\").replace(/"/g, '\\"'));
@@ -3968,7 +3968,7 @@ const Qo = { render: yd }, bd = () => {
3968
3968
  }, S = Ri();
3969
3969
  return (b, w) => {
3970
3970
  var E, C;
3971
- return (E = b.inputOutputItem.subItems) != null && E.length ? (Q(), Ae(J(Fl), {
3971
+ return (E = b.inputOutputItem.subItems) != null && E.length ? (Q(), Ae(J(ql), {
3972
3972
  key: 0,
3973
3973
  ref_key: "collapserRef",
3974
3974
  ref: r,
@@ -3976,17 +3976,17 @@ const Qo = { render: yd }, bd = () => {
3976
3976
  class: "collapser bottom-border"
3977
3977
  }, {
3978
3978
  title: ve(() => [
3979
- ee("div", Rd, [
3980
- ee("div", Dd, [
3981
- ee("div", Pd, [
3982
- b.inputOutputItem.portType === "view" ? (Q(), Ae(J(Qo), { key: 0 })) : (Q(), oe("svg", Ld, [
3983
- fe(J(Po), {
3979
+ ee("div", Dd, [
3980
+ ee("div", Pd, [
3981
+ ee("div", Ld, [
3982
+ b.inputOutputItem.portType === "view" ? (Q(), Ae(J(Qo), { key: 0 })) : (Q(), oe("svg", Td, [
3983
+ de(J(Po), {
3984
3984
  type: b.inputOutputItem.portType,
3985
3985
  color: b.inputOutputItem.portIconColor
3986
3986
  }, null, 8, ["type", "color"])
3987
3987
  ]))
3988
3988
  ]),
3989
- dt(" " + Ve(b.inputOutputItem.name), 1)
3989
+ dt(" " + We(b.inputOutputItem.name), 1)
3990
3990
  ]),
3991
3991
  b.inputOutputItem.codeAlias ? (Q(), oe("div", {
3992
3992
  key: 0,
@@ -3999,19 +3999,19 @@ const Qo = { render: yd }, bd = () => {
3999
3999
  onDblclick: d,
4000
4000
  onDragstart: w[1] || (w[1] = (k) => a(k, b.inputOutputItem.codeAlias)),
4001
4001
  onDragend: _
4002
- }, Ve(b.inputOutputItem.codeAlias), 43, Td)) : xe("", !0)
4002
+ }, We(b.inputOutputItem.codeAlias), 43, Md)) : xe("", !0)
4003
4003
  ])
4004
4004
  ]),
4005
4005
  default: ve(() => [
4006
- o.inputOutputItem.subItems ? (Q(), oe("div", Md, [
4007
- (Q(!0), oe(ur, null, Qt(o.inputOutputItem.subItems, (k, T) => (Q(), oe("div", {
4006
+ o.inputOutputItem.subItems ? (Q(), oe("div", Ad, [
4007
+ (Q(!0), oe(er, null, tr(o.inputOutputItem.subItems, (k, T) => (Q(), oe("div", {
4008
4008
  key: T,
4009
4009
  class: Ke(["sub-item", {
4010
4010
  disabled: !k.supported || J(S)
4011
4011
  }])
4012
4012
  }, [
4013
- typeof k.icon < "u" ? (Q(), oe("div", Ad, [
4014
- (Q(), Ae(Pl(k.icon.component), Ll({ ref_for: !0 }, k.icon.props), null, 16))
4013
+ typeof k.icon < "u" ? (Q(), oe("div", Od, [
4014
+ (Q(), Ae(Ll(k.icon.component), Tl({ ref_for: !0 }, k.icon.props), null, 16))
4015
4015
  ])) : xe("", !0),
4016
4016
  ee("span", {
4017
4017
  class: Ke(["sub-item-content", {
@@ -4028,24 +4028,24 @@ const Qo = { render: yd }, bd = () => {
4028
4028
  class: Ke(["sub-item-name", {
4029
4029
  selected: o.inputOutputItem.subItemCodeAliasTemplate && o.inputOutputItem.multiSelection && J(l).isSelected(T) && k.supported
4030
4030
  }])
4031
- }, Ve(k.name), 3),
4032
- ee("span", Id, Ve(k.type), 1)
4033
- ], 42, Od)
4031
+ }, We(k.name), 3),
4032
+ ee("span", xd, We(k.type), 1)
4033
+ ], 42, Id)
4034
4034
  ], 2))), 128))
4035
4035
  ])) : xe("", !0)
4036
4036
  ]),
4037
4037
  _: 1
4038
- }, 8, ["initially-expanded"])) : (Q(), oe("div", xd, [
4039
- ee("div", Bd, [
4040
- ee("div", Nd, [
4041
- b.inputOutputItem.portType === "view" ? (Q(), Ae(J(Qo), { key: 0 })) : (Q(), oe("svg", Hd, [
4042
- fe(J(Po), {
4038
+ }, 8, ["initially-expanded"])) : (Q(), oe("div", Bd, [
4039
+ ee("div", Nd, [
4040
+ ee("div", Hd, [
4041
+ b.inputOutputItem.portType === "view" ? (Q(), Ae(J(Qo), { key: 0 })) : (Q(), oe("svg", Fd, [
4042
+ de(J(Po), {
4043
4043
  type: b.inputOutputItem.portType,
4044
4044
  color: b.inputOutputItem.portIconColor
4045
4045
  }, null, 8, ["type", "color"])
4046
4046
  ]))
4047
4047
  ]),
4048
- dt(" " + Ve(b.inputOutputItem.name), 1)
4048
+ dt(" " + We(b.inputOutputItem.name), 1)
4049
4049
  ]),
4050
4050
  b.inputOutputItem.codeAlias ? (Q(), oe("div", {
4051
4051
  key: 0,
@@ -4057,14 +4057,14 @@ const Qo = { render: yd }, bd = () => {
4057
4057
  onMousedown: w[2] || (w[2] = (k) => h(k)),
4058
4058
  onDragstart: w[3] || (w[3] = (k) => a(k, b.inputOutputItem.codeAlias)),
4059
4059
  onDragend: _
4060
- }, Ve(b.inputOutputItem.codeAlias), 43, Fd)) : xe("", !0)
4060
+ }, We(b.inputOutputItem.codeAlias), 43, qd)) : xe("", !0)
4061
4061
  ]));
4062
4062
  };
4063
4063
  }
4064
- }), jd = /* @__PURE__ */ Be(qd, [["__scopeId", "data-v-3ad8770b"]]);
4064
+ }), Wd = /* @__PURE__ */ Be(jd, [["__scopeId", "data-v-3ad8770b"]]);
4065
4065
  var Mc;
4066
4066
  (Mc = document.fonts) == null || Mc.ready.then(() => {
4067
- tt.editor.remeasureFonts();
4067
+ it.editor.remeasureFonts();
4068
4068
  });
4069
4069
  const Qc = {
4070
4070
  minimap: { enabled: !1 },
@@ -4087,17 +4087,17 @@ const Qc = {
4087
4087
  scrollbar: {
4088
4088
  alwaysConsumeMouseWheel: !1
4089
4089
  }
4090
- }, Wd = {
4090
+ }, zd = {
4091
4091
  ...Qc,
4092
4092
  renderOverviewRuler: !1,
4093
4093
  overviewRulerBorder: !1,
4094
4094
  originalEditable: !1
4095
- }, zd = (e) => {
4095
+ }, Ud = (e) => {
4096
4096
  if ("editorModel" in e)
4097
4097
  return e.editorModel;
4098
4098
  {
4099
- const t = tt.Uri.parse(`inmemory://model/${e.fileName}`);
4100
- return tt.editor.getModel(t) ?? tt.editor.createModel("", e.language, t);
4099
+ const t = it.Uri.parse(`inmemory://model/${e.fileName}`);
4100
+ return it.editor.getModel(t) ?? it.editor.createModel("", e.language, t);
4101
4101
  }
4102
4102
  }, el = (e) => {
4103
4103
  const t = ne(e.getValue());
@@ -4122,13 +4122,13 @@ const Qc = {
4122
4122
  e.value && e.value.dispose();
4123
4123
  for (const f of t)
4124
4124
  f.isAttachedToEditor() || f.dispose();
4125
- }, Ud = (e) => (t, f) => {
4125
+ }, $d = (e) => (t, f) => {
4126
4126
  var l, v, m, r, i, n, c, h;
4127
- if ((l = e.value) != null && l.getOption(tt.editor.EditorOption.readOnly))
4127
+ if ((l = e.value) != null && l.getOption(it.editor.EditorOption.readOnly))
4128
4128
  return;
4129
4129
  const o = [];
4130
4130
  f && !((m = (v = e.value) == null ? void 0 : v.getModel()) != null && m.getValue().includes(f)) && o.push({
4131
- range: new tt.Selection(1, 1, 1, 1),
4131
+ range: new it.Selection(1, 1, 1, 1),
4132
4132
  text: `${f}
4133
4133
  `,
4134
4134
  forceMoveMarkers: !0
@@ -4137,9 +4137,9 @@ const Qc = {
4137
4137
  text: t,
4138
4138
  forceMoveMarkers: !0
4139
4139
  }), (n = (i = e.value) == null ? void 0 : i.getModel()) == null || n.pushEditOperations([], o, () => null), (h = (c = e.value) == null ? void 0 : c.getModel()) == null || h.pushStackElement();
4140
- }, $d = (e) => (t) => {
4140
+ }, Vd = (e) => (t) => {
4141
4141
  var o, l, v, m, r, i;
4142
- if ((o = e.value) != null && o.getOption(tt.editor.EditorOption.readOnly))
4142
+ if ((o = e.value) != null && o.getOption(it.editor.EditorOption.readOnly))
4143
4143
  return;
4144
4144
  const f = [
4145
4145
  {
@@ -4149,20 +4149,10 @@ const Qc = {
4149
4149
  }
4150
4150
  ];
4151
4151
  (m = (v = e.value) == null ? void 0 : v.getModel()) == null || m.pushEditOperations([], f, () => null), (i = (r = e.value) == null ? void 0 : r.getModel()) == null || i.pushStackElement();
4152
- }, Vd = (e) => (t, f) => {
4153
- var l, v;
4154
- if ((l = e.value) != null && l.getOption(tt.editor.EditorOption.readOnly))
4155
- return;
4156
- const o = (v = e.value) == null ? void 0 : v.getContribution(
4157
- "snippetController2"
4158
- );
4159
- f === null ? o == null || o.insert(t) : o == null || o.insert(
4160
- `${t}(${f.map((m, r) => `\${${r + 1}:${m}}`).join(", ")})`
4161
- );
4162
4152
  }, il = (e) => {
4163
- const t = ei(), f = zd(e), o = ne(""), l = ne("");
4164
- return Ze(() => {
4165
- tl(e.container), t.value = tt.editor.create(e.container.value, {
4153
+ const t = ei(), f = Ud(e), o = ne(""), l = ne("");
4154
+ return Ge(() => {
4155
+ tl(e.container), t.value = it.editor.create(e.container.value, {
4166
4156
  model: f,
4167
4157
  ...Qc,
4168
4158
  ...e.extraEditorOptions ?? {}
@@ -4176,28 +4166,27 @@ const Qc = {
4176
4166
  )
4177
4167
  });
4178
4168
  });
4179
- }), nr(rl(t, [f])), {
4169
+ }), or(rl(t, [f])), {
4180
4170
  editor: t,
4181
4171
  editorModel: f,
4182
4172
  selection: ko(o),
4183
4173
  selectedLines: ko(l),
4184
- insertColumnReference: Ud(t),
4185
- insertFunctionReference: Vd(t),
4186
- insertText: $d(t),
4174
+ insertColumnReference: $d(t),
4175
+ insertText: Vd(t),
4187
4176
  ...el(f)
4188
4177
  };
4189
4178
  }, Kd = (e) => {
4190
- const t = ei(), f = e.originalModel, o = tt.editor.createModel(
4179
+ const t = ei(), f = e.originalModel, o = it.editor.createModel(
4191
4180
  "",
4192
4181
  f.getLanguageId(),
4193
- tt.Uri.parse(`inmemory://model/${e.modifiedFileName}`)
4182
+ it.Uri.parse(`inmemory://model/${e.modifiedFileName}`)
4194
4183
  ), l = { original: f, modified: o };
4195
- Ze(() => {
4196
- tl(e.container), t.value = tt.editor.createDiffEditor(e.container.value, {
4197
- ...Wd,
4184
+ Ge(() => {
4185
+ tl(e.container), t.value = it.editor.createDiffEditor(e.container.value, {
4186
+ ...zd,
4198
4187
  ...e.extraEditorOptions ?? {}
4199
4188
  }), t.value.setModel(l);
4200
- }), nr(rl(t, [f, o]));
4189
+ }), or(rl(t, [f, o]));
4201
4190
  const { text: v, setInitialText: m } = el(o);
4202
4191
  return { editor: t, editorModel: l, modifiedText: v, setInitialModifiedText: m };
4203
4192
  }, sl = ei(), Yi = () => sl, Gd = (e) => {
@@ -4233,7 +4222,7 @@ const Qc = {
4233
4222
  var w, E;
4234
4223
  S == null || S.dispose();
4235
4224
  const b = {
4236
- range: new tt.Range(1, 1, 1, 1),
4225
+ range: new it.Range(1, 1, 1, 1),
4237
4226
  text: `${g}
4238
4227
  `,
4239
4228
  forceMoveMarkers: !0
@@ -4283,7 +4272,7 @@ const Qc = {
4283
4272
  "aria-role": "menu",
4284
4273
  onKeydown: h
4285
4274
  }, [
4286
- (Q(!0), oe(ur, null, Qt(o.inputOutputItems, (y, u) => ht((Q(), Ae(jd, {
4275
+ (Q(!0), oe(er, null, tr(o.inputOutputItems, (y, u) => ht((Q(), Ae(Wd, {
4287
4276
  key: y.name,
4288
4277
  ref_for: !0,
4289
4278
  ref_key: "selectableItems",
@@ -5878,13 +5867,13 @@ WARNING: This link could potentially be dangerous`)) {
5878
5867
  ae = new p.JoinedCellData(this._workCell, w.translateToString(!0, me[0], me[1]), me[1] - me[0]), Pe = me[1] - 1, he = ae.getWidth();
5879
5868
  }
5880
5869
  const ct = this._isCellInSelection(le, E), wt = C && le === M, Et = G && le >= j && le <= F;
5881
- let ze = !1;
5870
+ let Ue = !1;
5882
5871
  this._decorationService.forEachDecorationAtCell(le, E, void 0, (me) => {
5883
- ze = !0;
5872
+ Ue = !0;
5884
5873
  });
5885
5874
  let pt = ae.getChars() || s.WHITESPACE_CELL_CHAR;
5886
5875
  if (pt === " " && (ae.isUnderline() || ae.isOverline()) && (pt = " "), W = he * R - B.get(pt, ae.isBold(), ae.isItalic()), O) {
5887
- if (N && (ct && $ || !ct && !$ && ae.bg === X) && (ct && $ && D.selectionForeground || ae.fg === te) && ae.extended.ext === se && Et === H && W === P && !wt && !pe && !ze) {
5876
+ if (N && (ct && $ || !ct && !$ && ae.bg === X) && (ct && $ && D.selectionForeground || ae.fg === te) && ae.extended.ext === se && Et === H && W === P && !wt && !pe && !Ue) {
5888
5877
  ae.isInvisible() ? V += s.WHITESPACE_CELL_CHAR : V += pt, N++;
5889
5878
  continue;
5890
5879
  }
@@ -5912,41 +5901,41 @@ WARNING: This link could potentially be dangerous`)) {
5912
5901
  this._optionsService.rawOptions.drawBoldTextInBrightColors && ae.isBold() && me < 8 && (me += 8), O.style.textDecorationColor = D.ansi[me].css;
5913
5902
  }
5914
5903
  ae.isOverline() && (Y.push("xterm-overline"), V === " " && (V = " ")), ae.isStrikethrough() && Y.push("xterm-strikethrough"), Et && (O.style.textDecoration = "underline");
5915
- let Ne = ae.getFgColor(), _t = ae.getFgColorMode(), Ue = ae.getBgColor(), gt = ae.getBgColorMode();
5904
+ let Ne = ae.getFgColor(), _t = ae.getFgColorMode(), $e = ae.getBgColor(), gt = ae.getBgColorMode();
5916
5905
  const kt = !!ae.isInverse();
5917
5906
  if (kt) {
5918
5907
  const me = Ne;
5919
- Ne = Ue, Ue = me;
5920
- const Ut = _t;
5921
- _t = gt, gt = Ut;
5908
+ Ne = $e, $e = me;
5909
+ const $t = _t;
5910
+ _t = gt, gt = $t;
5922
5911
  }
5923
- let Ge, Je, Xe, vt = !1;
5912
+ let Je, Xe, Ye, vt = !1;
5924
5913
  switch (this._decorationService.forEachDecorationAtCell(le, E, void 0, (me) => {
5925
- me.options.layer !== "top" && vt || (me.backgroundColorRGB && (gt = 50331648, Ue = me.backgroundColorRGB.rgba >> 8 & 16777215, Ge = me.backgroundColorRGB), me.foregroundColorRGB && (_t = 50331648, Ne = me.foregroundColorRGB.rgba >> 8 & 16777215, Je = me.foregroundColorRGB), vt = me.options.layer === "top");
5926
- }), !vt && ct && (Ge = this._coreBrowserService.isFocused ? D.selectionBackgroundOpaque : D.selectionInactiveBackgroundOpaque, Ue = Ge.rgba >> 8 & 16777215, gt = 50331648, vt = !0, D.selectionForeground && (_t = 50331648, Ne = D.selectionForeground.rgba >> 8 & 16777215, Je = D.selectionForeground)), vt && Y.push("xterm-decoration-top"), gt) {
5914
+ me.options.layer !== "top" && vt || (me.backgroundColorRGB && (gt = 50331648, $e = me.backgroundColorRGB.rgba >> 8 & 16777215, Je = me.backgroundColorRGB), me.foregroundColorRGB && (_t = 50331648, Ne = me.foregroundColorRGB.rgba >> 8 & 16777215, Xe = me.foregroundColorRGB), vt = me.options.layer === "top");
5915
+ }), !vt && ct && (Je = this._coreBrowserService.isFocused ? D.selectionBackgroundOpaque : D.selectionInactiveBackgroundOpaque, $e = Je.rgba >> 8 & 16777215, gt = 50331648, vt = !0, D.selectionForeground && (_t = 50331648, Ne = D.selectionForeground.rgba >> 8 & 16777215, Xe = D.selectionForeground)), vt && Y.push("xterm-decoration-top"), gt) {
5927
5916
  case 16777216:
5928
5917
  case 33554432:
5929
- Xe = D.ansi[Ue], Y.push(`xterm-bg-${Ue}`);
5918
+ Ye = D.ansi[$e], Y.push(`xterm-bg-${$e}`);
5930
5919
  break;
5931
5920
  case 50331648:
5932
- Xe = y.channels.toColor(Ue >> 16, Ue >> 8 & 255, 255 & Ue), this._addStyle(O, `background-color:#${b((Ue >>> 0).toString(16), "0", 6)}`);
5921
+ Ye = y.channels.toColor($e >> 16, $e >> 8 & 255, 255 & $e), this._addStyle(O, `background-color:#${b(($e >>> 0).toString(16), "0", 6)}`);
5933
5922
  break;
5934
5923
  default:
5935
- kt ? (Xe = D.foreground, Y.push(`xterm-bg-${h.INVERTED_DEFAULT_COLOR}`)) : Xe = D.background;
5924
+ kt ? (Ye = D.foreground, Y.push(`xterm-bg-${h.INVERTED_DEFAULT_COLOR}`)) : Ye = D.background;
5936
5925
  }
5937
- switch (Ge || ae.isDim() && (Ge = y.color.multiplyOpacity(Xe, 0.5)), _t) {
5926
+ switch (Je || ae.isDim() && (Je = y.color.multiplyOpacity(Ye, 0.5)), _t) {
5938
5927
  case 16777216:
5939
5928
  case 33554432:
5940
- ae.isBold() && Ne < 8 && this._optionsService.rawOptions.drawBoldTextInBrightColors && (Ne += 8), this._applyMinimumContrast(O, Xe, D.ansi[Ne], ae, Ge, void 0) || Y.push(`xterm-fg-${Ne}`);
5929
+ ae.isBold() && Ne < 8 && this._optionsService.rawOptions.drawBoldTextInBrightColors && (Ne += 8), this._applyMinimumContrast(O, Ye, D.ansi[Ne], ae, Je, void 0) || Y.push(`xterm-fg-${Ne}`);
5941
5930
  break;
5942
5931
  case 50331648:
5943
5932
  const me = y.channels.toColor(Ne >> 16 & 255, Ne >> 8 & 255, 255 & Ne);
5944
- this._applyMinimumContrast(O, Xe, me, ae, Ge, Je) || this._addStyle(O, `color:#${b(Ne.toString(16), "0", 6)}`);
5933
+ this._applyMinimumContrast(O, Ye, me, ae, Je, Xe) || this._addStyle(O, `color:#${b(Ne.toString(16), "0", 6)}`);
5945
5934
  break;
5946
5935
  default:
5947
- this._applyMinimumContrast(O, Xe, D.foreground, ae, Ge, Je) || kt && Y.push(`xterm-fg-${h.INVERTED_DEFAULT_COLOR}`);
5936
+ this._applyMinimumContrast(O, Ye, D.foreground, ae, Je, Xe) || kt && Y.push(`xterm-fg-${h.INVERTED_DEFAULT_COLOR}`);
5948
5937
  }
5949
- Y.length && (O.className = Y.join(" "), Y.length = 0), wt || pe || ze ? O.textContent = V : N++, W !== this.defaultSpacing && (O.style.letterSpacing = `${W}px`), z.push(O), le = Pe;
5938
+ Y.length && (O.className = Y.join(" "), Y.length = 0), wt || pe || Ue ? O.textContent = V : N++, W !== this.defaultSpacing && (O.style.letterSpacing = `${W}px`), z.push(O), le = Pe;
5950
5939
  }
5951
5940
  return O && N && (O.textContent = V), z;
5952
5941
  }
@@ -10636,7 +10625,7 @@ const tf = "hsl(0, 0%, 100%)", rf = "hsl(206, 74%, 90%)", ra = "hsl(0, 3%, 12%)"
10636
10625
  l.loadAddon(m), l.unicode.activeVersion = "11";
10637
10626
  const r = new Zd.FitAddon();
10638
10627
  l.loadAddon(r);
10639
- const i = th(() => {
10628
+ const i = rh(() => {
10640
10629
  r.fit();
10641
10630
  }, af);
10642
10631
  lo(v, () => {
@@ -10658,7 +10647,7 @@ const tf = "hsl(0, 0%, 100%)", rf = "hsl(206, 74%, 90%)", ra = "hsl(0, 3%, 12%)"
10658
10647
  return !0;
10659
10648
  }), l.onWriteParsed(() => l.scrollToBottom());
10660
10649
  const c = t, h = (d) => "error" in d ? `❌ ${nf}${d.error}${ia}` : "warning" in d ? `⚠️ ${of}${d.warning}${ia}` : d.text;
10661
- Ze(() => {
10650
+ Ge(() => {
10662
10651
  l.open(v.value), c("console-created", {
10663
10652
  write: (g) => l.write(h(g)),
10664
10653
  writeln: (g) => l.writeln(h(g)),
@@ -10667,7 +10656,7 @@ const tf = "hsl(0, 0%, 100%)", rf = "hsl(206, 74%, 90%)", ra = "hsl(0, 3%, 12%)"
10667
10656
  const d = l.onLineFeed(() => {
10668
10657
  r.fit(), d.dispose();
10669
10658
  });
10670
- }), nr(() => {
10659
+ }), or(() => {
10671
10660
  l == null || l.dispose();
10672
10661
  });
10673
10662
  const s = Xi();
@@ -10677,7 +10666,7 @@ const tf = "hsl(0, 0%, 100%)", rf = "hsl(206, 74%, 90%)", ra = "hsl(0, 3%, 12%)"
10677
10666
  class: Ke(["terminal", { "focus-painted": J(s) }])
10678
10667
  }, null, 2));
10679
10668
  }
10680
- }), cv = /* @__PURE__ */ Be(cf, [["__scopeId", "data-v-7c6287c5"]]), lf = ["src"], hf = /* @__PURE__ */ Oe({
10669
+ }), hv = /* @__PURE__ */ Be(cf, [["__scopeId", "data-v-7c6287c5"]]), lf = ["src"], hf = /* @__PURE__ */ Oe({
10681
10670
  __name: "UIExtIFrame",
10682
10671
  props: {
10683
10672
  resourceLocation: {},
@@ -10686,8 +10675,8 @@ const tf = "hsl(0, 0%, 100%)", rf = "hsl(206, 74%, 90%)", ra = "hsl(0, 3%, 12%)"
10686
10675
  emits: ["serviceCreated"],
10687
10676
  setup(e, { emit: t }) {
10688
10677
  const f = e, o = t, l = ne(null);
10689
- return Ze(() => {
10690
- const v = zl(
10678
+ return Ge(() => {
10679
+ const v = Ul(
10691
10680
  f.apiLayer,
10692
10681
  l.value.contentWindow
10693
10682
  );
@@ -10722,21 +10711,21 @@ const tf = "hsl(0, 0%, 100%)", rf = "hsl(206, 74%, 90%)", ra = "hsl(0, 3%, 12%)"
10722
10711
  const i = () => {
10723
10712
  if (r !== null)
10724
10713
  return;
10725
- const c = Ul(o.apiLayer);
10726
- r = Tl(c.service), l("serviceCreated", c);
10714
+ const c = $l(o.apiLayer);
10715
+ r = Ml(c.service), l("serviceCreated", c);
10727
10716
  }, n = async () => {
10728
10717
  var d;
10729
10718
  i();
10730
10719
  const c = await f(o.resourceLocation);
10731
10720
  v.value && ((d = v.value) == null || d.teardown());
10732
- const h = m.value.shadowRoot ? m.value.shadowRoot : m.value.attachShadow({ mode: "open" }), s = o.apiLayer.getConfig().initialData ? await new rr(r).initialData() : null;
10721
+ const h = m.value.shadowRoot ? m.value.shadowRoot : m.value.attachShadow({ mode: "open" }), s = o.apiLayer.getConfig().initialData ? await new sr(r).initialData() : null;
10733
10722
  v.value = c.default(
10734
10723
  h,
10735
10724
  r,
10736
10725
  s
10737
10726
  );
10738
10727
  };
10739
- return Ze(async () => {
10728
+ return Ge(async () => {
10740
10729
  await n();
10741
10730
  }), (c, h) => (Q(), oe("div", {
10742
10731
  ref_key: "container",
@@ -10785,11 +10774,11 @@ const tf = "hsl(0, 0%, 100%)", rf = "hsl(206, 74%, 90%)", ra = "hsl(0, 3%, 12%)"
10785
10774
  nodeId: h
10786
10775
  });
10787
10776
  };
10788
- return st(Ml(t, "extensionConfig"), () => {
10777
+ return st(Al(t, "extensionConfig"), () => {
10789
10778
  o == null || o(), f.value += 1;
10790
- }), Ze(() => {
10779
+ }), Ge(() => {
10791
10780
  r(t.extensionConfig.nodeInfo);
10792
- }), nr(() => {
10781
+ }), or(() => {
10793
10782
  o == null || o();
10794
10783
  }), (i, n) => l.value ? (Q(), Ae(pf, {
10795
10784
  key: `comp_${f.value}`,
@@ -10811,10 +10800,10 @@ let ul = {
10811
10800
  write: (e) => consola.error("Console not yet initialized", e),
10812
10801
  clear: () => consola.error("Console not yet initialized")
10813
10802
  };
10814
- const lv = (e) => {
10803
+ const uv = (e) => {
10815
10804
  ul = e;
10816
10805
  };
10817
- var ue = {}, ar = {}, mo = {}, Ss = {}, ie = {}, He = {}, sa;
10806
+ var ue = {}, cr = {}, mo = {}, Ss = {}, ie = {}, He = {}, sa;
10818
10807
  function oi() {
10819
10808
  if (sa) return He;
10820
10809
  sa = 1, Object.defineProperty(He, "__esModule", { value: !0 }), He.stringArray = He.array = He.func = He.error = He.number = He.string = He.boolean = void 0;
@@ -11318,8 +11307,8 @@ function _f() {
11318
11307
  t.create = f;
11319
11308
  }(e || (Hr.Disposable = e = {})), Hr;
11320
11309
  }
11321
- var Vt = {}, Ci = {}, ca;
11322
- function cr() {
11310
+ var Kt = {}, Ci = {}, ca;
11311
+ function lr() {
11323
11312
  if (ca) return Ci;
11324
11313
  ca = 1, Object.defineProperty(Ci, "__esModule", { value: !0 });
11325
11314
  let e;
@@ -11339,9 +11328,9 @@ function cr() {
11339
11328
  }
11340
11329
  var la;
11341
11330
  function ai() {
11342
- if (la) return Vt;
11343
- la = 1, Object.defineProperty(Vt, "__esModule", { value: !0 }), Vt.Emitter = Vt.Event = void 0;
11344
- const e = cr();
11331
+ if (la) return Kt;
11332
+ la = 1, Object.defineProperty(Kt, "__esModule", { value: !0 }), Kt.Emitter = Kt.Event = void 0;
11333
+ const e = lr();
11345
11334
  var t;
11346
11335
  (function(l) {
11347
11336
  const v = { dispose() {
@@ -11349,7 +11338,7 @@ function ai() {
11349
11338
  l.None = function() {
11350
11339
  return v;
11351
11340
  };
11352
- })(t || (Vt.Event = t = {}));
11341
+ })(t || (Kt.Event = t = {}));
11353
11342
  class f {
11354
11343
  add(v, m = null, r) {
11355
11344
  this._callbacks || (this._callbacks = [], this._contexts = []), this._callbacks.push(v), this._contexts.push(m), Array.isArray(r) && r.push({ dispose: () => this.remove(v, m) });
@@ -11417,14 +11406,14 @@ function ai() {
11417
11406
  this._callbacks && (this._callbacks.dispose(), this._callbacks = void 0);
11418
11407
  }
11419
11408
  }
11420
- return Vt.Emitter = o, o._noop = function() {
11421
- }, Vt;
11409
+ return Kt.Emitter = o, o._noop = function() {
11410
+ }, Kt;
11422
11411
  }
11423
- var Kt = {}, ha;
11412
+ var Gt = {}, ha;
11424
11413
  function So() {
11425
- if (ha) return Kt;
11426
- ha = 1, Object.defineProperty(Kt, "__esModule", { value: !0 }), Kt.CancellationTokenSource = Kt.CancellationToken = void 0;
11427
- const e = cr(), t = oi(), f = ai();
11414
+ if (ha) return Gt;
11415
+ ha = 1, Object.defineProperty(Gt, "__esModule", { value: !0 }), Gt.CancellationTokenSource = Gt.CancellationToken = void 0;
11416
+ const e = lr(), t = oi(), f = ai();
11428
11417
  var o;
11429
11418
  (function(r) {
11430
11419
  r.None = Object.freeze({
@@ -11439,7 +11428,7 @@ function So() {
11439
11428
  return c && (c === r.None || c === r.Cancelled || t.boolean(c.isCancellationRequested) && !!c.onCancellationRequested);
11440
11429
  }
11441
11430
  r.is = i;
11442
- })(o || (Kt.CancellationToken = o = {}));
11431
+ })(o || (Gt.CancellationToken = o = {}));
11443
11432
  const l = Object.freeze(function(r, i) {
11444
11433
  const n = (0, e.default)().timer.setTimeout(r.bind(i), 0);
11445
11434
  return { dispose() {
@@ -11474,12 +11463,12 @@ function So() {
11474
11463
  this._token ? this._token instanceof v && this._token.dispose() : this._token = o.None;
11475
11464
  }
11476
11465
  }
11477
- return Kt.CancellationTokenSource = m, Kt;
11466
+ return Gt.CancellationTokenSource = m, Gt;
11478
11467
  }
11479
- var Gt = {}, ua;
11468
+ var Jt = {}, ua;
11480
11469
  function gf() {
11481
- if (ua) return Gt;
11482
- ua = 1, Object.defineProperty(Gt, "__esModule", { value: !0 }), Gt.SharedArrayReceiverStrategy = Gt.SharedArraySenderStrategy = void 0;
11470
+ if (ua) return Jt;
11471
+ ua = 1, Object.defineProperty(Jt, "__esModule", { value: !0 }), Jt.SharedArrayReceiverStrategy = Jt.SharedArraySenderStrategy = void 0;
11483
11472
  const e = So();
11484
11473
  var t;
11485
11474
  (function(m) {
@@ -11509,7 +11498,7 @@ function gf() {
11509
11498
  this.buffers.clear();
11510
11499
  }
11511
11500
  }
11512
- Gt.SharedArraySenderStrategy = f;
11501
+ Jt.SharedArraySenderStrategy = f;
11513
11502
  class o {
11514
11503
  constructor(r) {
11515
11504
  this.data = new Int32Array(r, 0, 1);
@@ -11539,13 +11528,13 @@ function gf() {
11539
11528
  return i === void 0 ? new e.CancellationTokenSource() : new l(i);
11540
11529
  }
11541
11530
  }
11542
- return Gt.SharedArrayReceiverStrategy = v, Gt;
11531
+ return Jt.SharedArrayReceiverStrategy = v, Jt;
11543
11532
  }
11544
11533
  var Pt = {}, Fr = {}, da;
11545
11534
  function pl() {
11546
11535
  if (da) return Fr;
11547
11536
  da = 1, Object.defineProperty(Fr, "__esModule", { value: !0 }), Fr.Semaphore = void 0;
11548
- const e = cr();
11537
+ const e = lr();
11549
11538
  class t {
11550
11539
  constructor(o = 1) {
11551
11540
  if (o <= 0)
@@ -11587,7 +11576,7 @@ var fa;
11587
11576
  function vf() {
11588
11577
  if (fa) return Pt;
11589
11578
  fa = 1, Object.defineProperty(Pt, "__esModule", { value: !0 }), Pt.ReadableStreamMessageReader = Pt.AbstractMessageReader = Pt.MessageReader = void 0;
11590
- const e = cr(), t = oi(), f = ai(), o = pl();
11579
+ const e = lr(), t = oi(), f = ai(), o = pl();
11591
11580
  var l;
11592
11581
  (function(i) {
11593
11582
  function n(c) {
@@ -11715,7 +11704,7 @@ var Lt = {}, pa;
11715
11704
  function mf() {
11716
11705
  if (pa) return Lt;
11717
11706
  pa = 1, Object.defineProperty(Lt, "__esModule", { value: !0 }), Lt.WriteableStreamMessageWriter = Lt.AbstractMessageWriter = Lt.MessageWriter = void 0;
11718
- const e = cr(), t = oi(), f = pl(), o = ai(), l = "Content-Length: ", v = `\r
11707
+ const e = lr(), t = oi(), f = pl(), o = ai(), l = "Content-Length: ", v = `\r
11719
11708
  `;
11720
11709
  var m;
11721
11710
  (function(c) {
@@ -11894,7 +11883,7 @@ var ys = {}, ga;
11894
11883
  function yf() {
11895
11884
  return ga || (ga = 1, function(e) {
11896
11885
  Object.defineProperty(e, "__esModule", { value: !0 }), e.createMessageConnection = e.ConnectionOptions = e.MessageStrategy = e.CancellationStrategy = e.CancellationSenderStrategy = e.CancellationReceiverStrategy = e.RequestCancellationReceiverStrategy = e.IdCancellationReceiverStrategy = e.ConnectionStrategy = e.ConnectionError = e.ConnectionErrors = e.LogTraceNotification = e.SetTraceNotification = e.TraceFormat = e.TraceValues = e.Trace = e.NullLogger = e.ProgressType = e.ProgressToken = void 0;
11897
- const t = cr(), f = oi(), o = dl(), l = fl(), v = ai(), m = So();
11886
+ const t = lr(), f = oi(), o = dl(), l = fl(), v = ai(), m = So();
11898
11887
  var r;
11899
11888
  (function(R) {
11900
11889
  R.type = new o.NotificationType("$/cancelRequest");
@@ -12091,7 +12080,7 @@ function yf() {
12091
12080
  let X;
12092
12081
  const te = /* @__PURE__ */ new Map(), se = /* @__PURE__ */ new Map();
12093
12082
  let H, P = new l.LinkedMap(), $ = /* @__PURE__ */ new Map(), W = /* @__PURE__ */ new Set(), Y = /* @__PURE__ */ new Map(), G = s.Off, le = g.Text, he, pe = M.New;
12094
- const Pe = new v.Emitter(), ae = new v.Emitter(), ct = new v.Emitter(), wt = new v.Emitter(), Et = new v.Emitter(), ze = F && F.cancellationStrategy ? F.cancellationStrategy : C.Message;
12083
+ const Pe = new v.Emitter(), ae = new v.Emitter(), ct = new v.Emitter(), wt = new v.Emitter(), Et = new v.Emitter(), Ue = F && F.cancellationStrategy ? F.cancellationStrategy : C.Message;
12095
12084
  function pt(I) {
12096
12085
  if (I === null)
12097
12086
  throw new Error("Can't send requests with id null since the response can't be correlated.");
@@ -12103,7 +12092,7 @@ function yf() {
12103
12092
  function _t() {
12104
12093
  return "not-" + (++D).toString();
12105
12094
  }
12106
- function Ue(I, U) {
12095
+ function $e(I, U) {
12107
12096
  o.Message.isRequest(U) ? I.set(pt(U.id), U) : o.Message.isResponse(U) ? I.set(Ne(U.id), U) : I.set(_t(), U);
12108
12097
  }
12109
12098
  function gt(I) {
@@ -12111,13 +12100,13 @@ function yf() {
12111
12100
  function kt() {
12112
12101
  return pe === M.Listening;
12113
12102
  }
12114
- function Ge() {
12103
+ function Je() {
12115
12104
  return pe === M.Closed;
12116
12105
  }
12117
- function Je() {
12106
+ function Xe() {
12118
12107
  return pe === M.Disposed;
12119
12108
  }
12120
- function Xe() {
12109
+ function Ye() {
12121
12110
  (pe === M.New || pe === M.Listening) && (pe = M.Closed, ae.fire(void 0));
12122
12111
  }
12123
12112
  function vt(I) {
@@ -12126,8 +12115,8 @@ function yf() {
12126
12115
  function me(I) {
12127
12116
  Pe.fire(I);
12128
12117
  }
12129
- R.onClose(Xe), R.onError(vt), B.onClose(Xe), B.onError(me);
12130
- function Ut() {
12118
+ R.onClose(Ye), R.onError(vt), B.onClose(Ye), B.onError(me);
12119
+ function $t() {
12131
12120
  H || P.size === 0 || (H = (0, t.default)().timer.setImmediate(() => {
12132
12121
  H = void 0, ci();
12133
12122
  }));
@@ -12143,7 +12132,7 @@ function yf() {
12143
12132
  const U = F == null ? void 0 : F.messageStrategy;
12144
12133
  k.is(U) ? U.handleMessage(I, Mr) : Mr(I);
12145
12134
  } finally {
12146
- Ut();
12135
+ $t();
12147
12136
  }
12148
12137
  }
12149
12138
  const li = (I) => {
@@ -12153,31 +12142,31 @@ function yf() {
12153
12142
  if (o.Message.isRequest(re)) {
12154
12143
  const Se = F == null ? void 0 : F.connectionStrategy, be = Se && Se.cancelUndispatched ? Se.cancelUndispatched(re, gt) : void 0;
12155
12144
  if (be && (be.error !== void 0 || be.result !== void 0)) {
12156
- P.delete(Z), Y.delete(U), be.id = re.id, $t(be, I.method, Date.now()), B.write(be).catch(() => z.error("Sending response for canceled message failed."));
12145
+ P.delete(Z), Y.delete(U), be.id = re.id, Vt(be, I.method, Date.now()), B.write(be).catch(() => z.error("Sending response for canceled message failed."));
12157
12146
  return;
12158
12147
  }
12159
12148
  }
12160
12149
  const we = Y.get(U);
12161
12150
  if (we !== void 0) {
12162
- we.cancel(), lr(I);
12151
+ we.cancel(), hr(I);
12163
12152
  return;
12164
12153
  } else
12165
12154
  W.add(U);
12166
12155
  }
12167
- Ue(P, I);
12156
+ $e(P, I);
12168
12157
  } finally {
12169
- Ut();
12158
+ $t();
12170
12159
  }
12171
12160
  };
12172
12161
  function hi(I) {
12173
- if (Je())
12162
+ if (Xe())
12174
12163
  return;
12175
12164
  function U(_e, Ee, ge) {
12176
12165
  const Ie = {
12177
12166
  jsonrpc: x,
12178
12167
  id: I.id
12179
12168
  };
12180
- _e instanceof o.ResponseError ? Ie.error = _e.toJson() : Ie.result = _e === void 0 ? null : _e, $t(Ie, Ee, ge), B.write(Ie).catch(() => z.error("Sending response failed."));
12169
+ _e instanceof o.ResponseError ? Ie.error = _e.toJson() : Ie.result = _e === void 0 ? null : _e, Vt(Ie, Ee, ge), B.write(Ie).catch(() => z.error("Sending response failed."));
12181
12170
  }
12182
12171
  function Z(_e, Ee, ge) {
12183
12172
  const Ie = {
@@ -12185,7 +12174,7 @@ function yf() {
12185
12174
  id: I.id,
12186
12175
  error: _e.toJson()
12187
12176
  };
12188
- $t(Ie, Ee, ge), B.write(Ie).catch(() => z.error("Sending response failed."));
12177
+ Vt(Ie, Ee, ge), B.write(Ie).catch(() => z.error("Sending response failed."));
12189
12178
  }
12190
12179
  function re(_e, Ee, ge) {
12191
12180
  _e === void 0 && (_e = null);
@@ -12194,7 +12183,7 @@ function yf() {
12194
12183
  id: I.id,
12195
12184
  result: _e
12196
12185
  };
12197
- $t(Ie, Ee, ge), B.write(Ie).catch(() => z.error("Sending response failed."));
12186
+ Vt(Ie, Ee, ge), B.write(Ie).catch(() => z.error("Sending response failed."));
12198
12187
  }
12199
12188
  gi(I);
12200
12189
  const we = V.get(I.method);
@@ -12202,7 +12191,7 @@ function yf() {
12202
12191
  we && (Se = we.type, be = we.handler);
12203
12192
  const Me = Date.now();
12204
12193
  if (be || N) {
12205
- const _e = I.id ?? String(Date.now()), Ee = S.is(ze.receiver) ? ze.receiver.createCancellationTokenSource(_e) : ze.receiver.createCancellationTokenSource(I);
12194
+ const _e = I.id ?? String(Date.now()), Ee = S.is(Ue.receiver) ? Ue.receiver.createCancellationTokenSource(_e) : Ue.receiver.createCancellationTokenSource(I);
12206
12195
  I.id !== null && W.has(I.id) && Ee.cancel(), I.id !== null && Y.set(_e, Ee);
12207
12196
  try {
12208
12197
  let ge;
@@ -12228,10 +12217,10 @@ function yf() {
12228
12217
  }
12229
12218
  else N && (ge = N(I.method, I.params, Ee.token));
12230
12219
  const Ie = ge;
12231
- ge ? Ie.then ? Ie.then(($e) => {
12232
- Y.delete(_e), U($e, I.method, Me);
12233
- }, ($e) => {
12234
- Y.delete(_e), $e instanceof o.ResponseError ? Z($e, I.method, Me) : $e && f.string($e.message) ? Z(new o.ResponseError(o.ErrorCodes.InternalError, `Request ${I.method} failed with message: ${$e.message}`), I.method, Me) : Z(new o.ResponseError(o.ErrorCodes.InternalError, `Request ${I.method} failed unexpectedly without providing any details.`), I.method, Me);
12220
+ ge ? Ie.then ? Ie.then((Ve) => {
12221
+ Y.delete(_e), U(Ve, I.method, Me);
12222
+ }, (Ve) => {
12223
+ Y.delete(_e), Ve instanceof o.ResponseError ? Z(Ve, I.method, Me) : Ve && f.string(Ve.message) ? Z(new o.ResponseError(o.ErrorCodes.InternalError, `Request ${I.method} failed with message: ${Ve.message}`), I.method, Me) : Z(new o.ResponseError(o.ErrorCodes.InternalError, `Request ${I.method} failed unexpectedly without providing any details.`), I.method, Me);
12235
12224
  }) : (Y.delete(_e), U(ge, I.method, Me)) : (Y.delete(_e), re(ge, I.method, Me));
12236
12225
  } catch (ge) {
12237
12226
  Y.delete(_e), ge instanceof o.ResponseError ? U(ge, I.method, Me) : ge && f.string(ge.message) ? Z(new o.ResponseError(o.ErrorCodes.InternalError, `Request ${I.method} failed with message: ${ge.message}`), I.method, Me) : Z(new o.ResponseError(o.ErrorCodes.InternalError, `Request ${I.method} failed unexpectedly without providing any details.`), I.method, Me);
@@ -12240,7 +12229,7 @@ function yf() {
12240
12229
  Z(new o.ResponseError(o.ErrorCodes.MethodNotFound, `Unhandled method ${I.method}`), I.method, Me);
12241
12230
  }
12242
12231
  function ui(I) {
12243
- if (!Je())
12232
+ if (!Xe())
12244
12233
  if (I.id === null)
12245
12234
  I.error ? z.error(`Received response message without id: Error is:
12246
12235
  ${JSON.stringify(I.error, void 0, 4)}`) : z.error("Received response message without id. No further error information provided.");
@@ -12263,12 +12252,12 @@ ${JSON.stringify(I.error, void 0, 4)}`) : z.error("Received response message wit
12263
12252
  }
12264
12253
  }
12265
12254
  function di(I) {
12266
- if (Je())
12255
+ if (Xe())
12267
12256
  return;
12268
12257
  let U, Z;
12269
12258
  if (I.method === r.type.method) {
12270
12259
  const re = I.params.id;
12271
- W.delete(re), lr(I);
12260
+ W.delete(re), hr(I);
12272
12261
  return;
12273
12262
  } else {
12274
12263
  const re = te.get(I.method);
@@ -12276,7 +12265,7 @@ ${JSON.stringify(I.error, void 0, 4)}`) : z.error("Received response message wit
12276
12265
  }
12277
12266
  if (Z || X)
12278
12267
  try {
12279
- if (lr(I), Z)
12268
+ if (hr(I), Z)
12280
12269
  if (I.params === void 0)
12281
12270
  U !== void 0 && U.numberOfParams !== 0 && U.parameterStructures !== o.ParameterStructures.byName && z.error(`Notification ${I.method} defines ${U.numberOfParams} params but received none.`), Z();
12282
12271
  else if (Array.isArray(I.params)) {
@@ -12337,7 +12326,7 @@ ${JSON.stringify(I, null, 4)}`);
12337
12326
  } else
12338
12327
  Rt("send-notification", I);
12339
12328
  }
12340
- function $t(I, U, Z) {
12329
+ function Vt(I, U, Z) {
12341
12330
  if (!(G === s.Off || !he))
12342
12331
  if (le === g.Text) {
12343
12332
  let re;
@@ -12361,7 +12350,7 @@ ${JSON.stringify(I, null, 4)}`);
12361
12350
  } else
12362
12351
  Rt("receive-request", I);
12363
12352
  }
12364
- function lr(I) {
12353
+ function hr(I) {
12365
12354
  if (!(G === s.Off || !he || I.method === u.type.method))
12366
12355
  if (le === g.Text) {
12367
12356
  let U;
@@ -12403,9 +12392,9 @@ ${JSON.stringify(I, null, 4)}`);
12403
12392
  he.log(Z);
12404
12393
  }
12405
12394
  function Bt() {
12406
- if (Ge())
12407
- throw new a(p.Closed, "Connection is closed.");
12408
12395
  if (Je())
12396
+ throw new a(p.Closed, "Connection is closed.");
12397
+ if (Xe())
12409
12398
  throw new a(p.Disposed, "Connection is disposed.");
12410
12399
  }
12411
12400
  function mi() {
@@ -12526,9 +12515,9 @@ ${JSON.stringify(I, null, 4)}`);
12526
12515
  const _e = U[0], Ee = U[U.length - 1];
12527
12516
  let ge = 0, Ie = o.ParameterStructures.auto;
12528
12517
  o.ParameterStructures.is(_e) && (ge = 1, Ie = _e);
12529
- let $e = U.length;
12530
- m.CancellationToken.is(Ee) && ($e = $e - 1, we = Ee);
12531
- const mt = $e - ge;
12518
+ let Ve = U.length;
12519
+ m.CancellationToken.is(Ee) && (Ve = Ve - 1, we = Ee);
12520
+ const mt = Ve - ge;
12532
12521
  switch (mt) {
12533
12522
  case 0:
12534
12523
  re = void 0;
@@ -12539,7 +12528,7 @@ ${JSON.stringify(I, null, 4)}`);
12539
12528
  default:
12540
12529
  if (Ie === o.ParameterStructures.byName)
12541
12530
  throw new Error(`Received ${mt} parameters for 'by Name' request parameter structure.`);
12542
- re = U.slice(ge, $e).map((wl) => Nt(wl));
12531
+ re = U.slice(ge, Ve).map((El) => Nt(El));
12543
12532
  break;
12544
12533
  }
12545
12534
  } else {
@@ -12551,7 +12540,7 @@ ${JSON.stringify(I, null, 4)}`);
12551
12540
  const Se = K++;
12552
12541
  let be;
12553
12542
  we && (be = we.onCancellationRequested(() => {
12554
- const _e = ze.sender.sendCancellation(ce, Se);
12543
+ const _e = Ue.sender.sendCancellation(ce, Se);
12555
12544
  return _e === void 0 ? (z.log(`Received no promise from cancellation strategy when cancelling id ${Se}`), Promise.resolve()) : _e.catch(() => {
12556
12545
  z.log(`Sending cancellation messages for id ${Se} failed`);
12557
12546
  });
@@ -12562,16 +12551,16 @@ ${JSON.stringify(I, null, 4)}`);
12562
12551
  method: Z,
12563
12552
  params: re
12564
12553
  };
12565
- return pi(Me), typeof ze.sender.enableCancellation == "function" && ze.sender.enableCancellation(Me), new Promise(async (_e, Ee) => {
12554
+ return pi(Me), typeof Ue.sender.enableCancellation == "function" && Ue.sender.enableCancellation(Me), new Promise(async (_e, Ee) => {
12566
12555
  const ge = (mt) => {
12567
- _e(mt), ze.sender.cleanup(Se), be == null || be.dispose();
12556
+ _e(mt), Ue.sender.cleanup(Se), be == null || be.dispose();
12568
12557
  }, Ie = (mt) => {
12569
- Ee(mt), ze.sender.cleanup(Se), be == null || be.dispose();
12570
- }, $e = { method: Z, timerStart: Date.now(), resolve: ge, reject: Ie };
12558
+ Ee(mt), Ue.sender.cleanup(Se), be == null || be.dispose();
12559
+ }, Ve = { method: Z, timerStart: Date.now(), resolve: ge, reject: Ie };
12571
12560
  try {
12572
- await B.write(Me), $.set(Se, $e);
12561
+ await B.write(Me), $.set(Se, Ve);
12573
12562
  } catch (mt) {
12574
- throw z.error("Sending request failed."), $e.reject(new o.ResponseError(o.ErrorCodes.MessageWriteError, mt.message ? mt.message : "Unknown reason")), mt;
12563
+ throw z.error("Sending request failed."), Ve.reject(new o.ResponseError(o.ErrorCodes.MessageWriteError, mt.message ? mt.message : "Unknown reason")), mt;
12575
12564
  }
12576
12565
  });
12577
12566
  },
@@ -12587,7 +12576,7 @@ ${JSON.stringify(I, null, 4)}`);
12587
12576
  hasPendingResponse: () => $.size > 0,
12588
12577
  trace: async (I, U, Z) => {
12589
12578
  let re = !1, we = g.Text;
12590
- Z !== void 0 && (f.boolean(Z) ? re = Z : (re = Z.sendNotification || !1, we = Z.traceFormat || g.Text)), G = I, le = we, G === s.Off ? he = void 0 : he = U, re && !Ge() && !Je() && await ce.sendNotification(y.type, { value: s.toString(I) });
12579
+ Z !== void 0 && (f.boolean(Z) ? re = Z : (re = Z.sendNotification || !1, we = Z.traceFormat || g.Text)), G = I, le = we, G === s.Off ? he = void 0 : he = U, re && !Je() && !Xe() && await ce.sendNotification(y.type, { value: s.toString(I) });
12591
12580
  },
12592
12581
  onError: Pe.event,
12593
12582
  onClose: ae.event,
@@ -12597,7 +12586,7 @@ ${JSON.stringify(I, null, 4)}`);
12597
12586
  B.end();
12598
12587
  },
12599
12588
  dispose: () => {
12600
- if (Je())
12589
+ if (Xe())
12601
12590
  return;
12602
12591
  pe = M.Disposed, Et.fire(void 0);
12603
12592
  const I = new o.ResponseError(o.ErrorCodes.PendingResponseRejected, "Pending response rejected since connection got disposed");
@@ -12769,7 +12758,7 @@ function Js() {
12769
12758
  } }), Object.defineProperty(e, "MessageStrategy", { enumerable: !0, get: function() {
12770
12759
  return c.MessageStrategy;
12771
12760
  } });
12772
- const h = cr();
12761
+ const h = lr();
12773
12762
  e.RAL = h.default;
12774
12763
  }(Ss)), Ss;
12775
12764
  }
@@ -12945,8 +12934,8 @@ mo.default = Xs;
12945
12934
  return c === void 0 && (c = l.NullLogger), l.ConnectionStrategy.is(h) && (h = { connectionStrategy: h }), (0, l.createMessageConnection)(i, n, c, h);
12946
12935
  }
12947
12936
  e.createMessageConnection = r;
12948
- })(ar);
12949
- var ma = ar, gl = {}, Ys;
12937
+ })(cr);
12938
+ var ma = cr, gl = {}, Ys;
12950
12939
  (function(e) {
12951
12940
  function t(f) {
12952
12941
  return typeof f == "string";
@@ -12976,7 +12965,7 @@ var Ur;
12976
12965
  }
12977
12966
  e.is = t;
12978
12967
  })(Ur || (Ur = {}));
12979
- var rt;
12968
+ var tt;
12980
12969
  (function(e) {
12981
12970
  function t(o, l) {
12982
12971
  return o === Number.MAX_VALUE && (o = Ur.MAX_VALUE), l === Number.MAX_VALUE && (l = Ur.MAX_VALUE), { line: o, character: l };
@@ -12987,20 +12976,20 @@ var rt;
12987
12976
  return q.objectLiteral(l) && q.uinteger(l.line) && q.uinteger(l.character);
12988
12977
  }
12989
12978
  e.is = f;
12990
- })(rt || (rt = {}));
12979
+ })(tt || (tt = {}));
12991
12980
  var De;
12992
12981
  (function(e) {
12993
12982
  function t(o, l, v, m) {
12994
12983
  if (q.uinteger(o) && q.uinteger(l) && q.uinteger(v) && q.uinteger(m))
12995
- return { start: rt.create(o, l), end: rt.create(v, m) };
12996
- if (rt.is(o) && rt.is(l))
12984
+ return { start: tt.create(o, l), end: tt.create(v, m) };
12985
+ if (tt.is(o) && tt.is(l))
12997
12986
  return { start: o, end: l };
12998
12987
  throw new Error(`Range#create called with invalid arguments[${o}, ${l}, ${v}, ${m}]`);
12999
12988
  }
13000
12989
  e.create = t;
13001
12990
  function f(o) {
13002
12991
  let l = o;
13003
- return q.objectLiteral(l) && rt.is(l.start) && rt.is(l.end);
12992
+ return q.objectLiteral(l) && tt.is(l.start) && tt.is(l.end);
13004
12993
  }
13005
12994
  e.is = f;
13006
12995
  })(De || (De = {}));
@@ -13141,7 +13130,7 @@ var Vr;
13141
13130
  }
13142
13131
  e.is = f;
13143
13132
  })(Vr || (Vr = {}));
13144
- var ir;
13133
+ var nr;
13145
13134
  (function(e) {
13146
13135
  function t(o, l, ...v) {
13147
13136
  let m = { title: o, command: l };
@@ -13153,7 +13142,7 @@ var ir;
13153
13142
  return q.defined(l) && q.string(l.title) && q.string(l.command);
13154
13143
  }
13155
13144
  e.is = f;
13156
- })(ir || (ir = {}));
13145
+ })(nr || (nr = {}));
13157
13146
  var bt;
13158
13147
  (function(e) {
13159
13148
  function t(v, m) {
@@ -13174,7 +13163,7 @@ var bt;
13174
13163
  }
13175
13164
  e.is = l;
13176
13165
  })(bt || (bt = {}));
13177
- var tr;
13166
+ var ir;
13178
13167
  (function(e) {
13179
13168
  function t(o, l, v) {
13180
13169
  const m = { label: o };
@@ -13186,7 +13175,7 @@ var tr;
13186
13175
  return q.objectLiteral(l) && q.string(l.label) && (q.boolean(l.needsConfirmation) || l.needsConfirmation === void 0) && (q.string(l.description) || l.description === void 0);
13187
13176
  }
13188
13177
  e.is = f;
13189
- })(tr || (tr = {}));
13178
+ })(ir || (ir = {}));
13190
13179
  var Fe;
13191
13180
  (function(e) {
13192
13181
  function t(f) {
@@ -13211,7 +13200,7 @@ var Ot;
13211
13200
  e.del = o;
13212
13201
  function l(v) {
13213
13202
  const m = v;
13214
- return bt.is(m) && (tr.is(m.annotationId) || Fe.is(m.annotationId));
13203
+ return bt.is(m) && (ir.is(m.annotationId) || Fe.is(m.annotationId));
13215
13204
  }
13216
13205
  e.is = l;
13217
13206
  })(Ot || (Ot = {}));
@@ -13393,7 +13382,7 @@ class Ef {
13393
13382
  if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0)
13394
13383
  throw new Error("Workspace edit is not configured for document changes.");
13395
13384
  let l;
13396
- tr.is(f) || Fe.is(f) ? l = f : o = f;
13385
+ ir.is(f) || Fe.is(f) ? l = f : o = f;
13397
13386
  let v, m;
13398
13387
  if (l === void 0 ? v = _r.create(t, o) : (m = Fe.is(l) ? l : this._changeAnnotations.manage(l), v = _r.create(t, o, m)), this._workspaceEdit.documentChanges.push(v), m !== void 0)
13399
13388
  return m;
@@ -13402,7 +13391,7 @@ class Ef {
13402
13391
  if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0)
13403
13392
  throw new Error("Workspace edit is not configured for document changes.");
13404
13393
  let v;
13405
- tr.is(o) || Fe.is(o) ? v = o : l = o;
13394
+ ir.is(o) || Fe.is(o) ? v = o : l = o;
13406
13395
  let m, r;
13407
13396
  if (v === void 0 ? m = gr.create(t, f, l) : (r = Fe.is(v) ? v : this._changeAnnotations.manage(v), m = gr.create(t, f, l, r)), this._workspaceEdit.documentChanges.push(m), r !== void 0)
13408
13397
  return r;
@@ -13411,7 +13400,7 @@ class Ef {
13411
13400
  if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0)
13412
13401
  throw new Error("Workspace edit is not configured for document changes.");
13413
13402
  let l;
13414
- tr.is(f) || Fe.is(f) ? l = f : o = f;
13403
+ ir.is(f) || Fe.is(f) ? l = f : o = f;
13415
13404
  let v, m;
13416
13405
  if (l === void 0 ? v = vr.create(t, o) : (m = Fe.is(l) ? l : this._changeAnnotations.manage(l), v = vr.create(t, o, m)), this._workspaceEdit.documentChanges.push(v), m !== void 0)
13417
13406
  return m;
@@ -13650,12 +13639,12 @@ var Mn;
13650
13639
  (function(e) {
13651
13640
  function t(o, l, v) {
13652
13641
  let m = { title: o }, r = !0;
13653
- return typeof l == "string" ? (r = !1, m.kind = l) : ir.is(l) ? m.command = l : m.edit = l, r && v !== void 0 && (m.kind = v), m;
13642
+ return typeof l == "string" ? (r = !1, m.kind = l) : nr.is(l) ? m.command = l : m.edit = l, r && v !== void 0 && (m.kind = v), m;
13654
13643
  }
13655
13644
  e.create = t;
13656
13645
  function f(o) {
13657
13646
  let l = o;
13658
- return l && q.string(l.title) && (l.diagnostics === void 0 || q.typedArray(l.diagnostics, Vr.is)) && (l.kind === void 0 || q.string(l.kind)) && (l.edit !== void 0 || l.command !== void 0) && (l.command === void 0 || ir.is(l.command)) && (l.isPreferred === void 0 || q.boolean(l.isPreferred)) && (l.edit === void 0 || xi.is(l.edit));
13647
+ return l && q.string(l.title) && (l.diagnostics === void 0 || q.typedArray(l.diagnostics, Vr.is)) && (l.kind === void 0 || q.string(l.kind)) && (l.edit !== void 0 || l.command !== void 0) && (l.command === void 0 || nr.is(l.command)) && (l.isPreferred === void 0 || q.boolean(l.isPreferred)) && (l.edit === void 0 || xi.is(l.edit));
13659
13648
  }
13660
13649
  e.is = f;
13661
13650
  })(Mn || (Mn = {}));
@@ -13668,7 +13657,7 @@ var An;
13668
13657
  e.create = t;
13669
13658
  function f(o) {
13670
13659
  let l = o;
13671
- return q.defined(l) && De.is(l.range) && (q.undefined(l.command) || ir.is(l.command));
13660
+ return q.defined(l) && De.is(l.range) && (q.undefined(l.command) || nr.is(l.command));
13672
13661
  }
13673
13662
  e.is = f;
13674
13663
  })(An || (An = {}));
@@ -13788,7 +13777,7 @@ var Hi;
13788
13777
  e.create = t;
13789
13778
  function f(o) {
13790
13779
  const l = o;
13791
- return q.objectLiteral(l) && (l.tooltip === void 0 || q.string(l.tooltip) || mr.is(l.tooltip)) && (l.location === void 0 || $r.is(l.location)) && (l.command === void 0 || ir.is(l.command));
13780
+ return q.objectLiteral(l) && (l.tooltip === void 0 || q.string(l.tooltip) || mr.is(l.tooltip)) && (l.location === void 0 || $r.is(l.location)) && (l.command === void 0 || nr.is(l.command));
13792
13781
  }
13793
13782
  e.is = f;
13794
13783
  })(Hi || (Hi = {}));
@@ -13801,7 +13790,7 @@ var zn;
13801
13790
  e.create = t;
13802
13791
  function f(o) {
13803
13792
  const l = o;
13804
- return q.objectLiteral(l) && rt.is(l.position) && (q.string(l.label) || q.typedArray(l.label, Hi.is)) && (l.kind === void 0 || Ni.is(l.kind)) && l.textEdits === void 0 || q.typedArray(l.textEdits, bt.is) && (l.tooltip === void 0 || q.string(l.tooltip) || mr.is(l.tooltip)) && (l.paddingLeft === void 0 || q.boolean(l.paddingLeft)) && (l.paddingRight === void 0 || q.boolean(l.paddingRight));
13793
+ return q.objectLiteral(l) && tt.is(l.position) && (q.string(l.label) || q.typedArray(l.label, Hi.is)) && (l.kind === void 0 || Ni.is(l.kind)) && l.textEdits === void 0 || q.typedArray(l.textEdits, bt.is) && (l.tooltip === void 0 || q.string(l.tooltip) || mr.is(l.tooltip)) && (l.paddingLeft === void 0 || q.boolean(l.paddingLeft)) && (l.paddingRight === void 0 || q.boolean(l.paddingRight));
13805
13794
  }
13806
13795
  e.is = f;
13807
13796
  })(zn || (zn = {}));
@@ -13938,13 +13927,13 @@ class Rf {
13938
13927
  t = Math.max(Math.min(t, this._content.length), 0);
13939
13928
  let f = this.getLineOffsets(), o = 0, l = f.length;
13940
13929
  if (l === 0)
13941
- return rt.create(0, t);
13930
+ return tt.create(0, t);
13942
13931
  for (; o < l; ) {
13943
13932
  let m = Math.floor((o + l) / 2);
13944
13933
  f[m] > t ? l = m : o = m + 1;
13945
13934
  }
13946
13935
  let v = o - 1;
13947
- return rt.create(v, t - f[v]);
13936
+ return tt.create(v, t - f[v]);
13948
13937
  }
13949
13938
  offsetAt(t) {
13950
13939
  let f = this.getLineOffsets();
@@ -14013,7 +14002,7 @@ const Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14013
14002
  return Ot;
14014
14003
  },
14015
14004
  get ChangeAnnotation() {
14016
- return tr;
14005
+ return ir;
14017
14006
  },
14018
14007
  get ChangeAnnotationIdentifier() {
14019
14008
  return Fe;
@@ -14046,7 +14035,7 @@ const Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14046
14035
  return tn;
14047
14036
  },
14048
14037
  get Command() {
14049
- return ir;
14038
+ return nr;
14050
14039
  },
14051
14040
  get CompletionItem() {
14052
14041
  return vn;
@@ -14173,7 +14162,7 @@ const Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14173
14162
  return yn;
14174
14163
  },
14175
14164
  get Position() {
14176
- return rt;
14165
+ return tt;
14177
14166
  },
14178
14167
  get Range() {
14179
14168
  return De;
@@ -14248,45 +14237,45 @@ const Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14248
14237
  get uinteger() {
14249
14238
  return Ur;
14250
14239
  }
14251
- }, Symbol.toStringTag, { value: "Module" })), yo = /* @__PURE__ */ ph(Df);
14252
- var de = {};
14253
- Object.defineProperty(de, "__esModule", { value: !0 });
14254
- de.ProtocolNotificationType = de.ProtocolNotificationType0 = de.ProtocolRequestType = de.ProtocolRequestType0 = de.RegistrationType = de.MessageDirection = void 0;
14255
- const Sr = ar;
14240
+ }, Symbol.toStringTag, { value: "Module" })), yo = /* @__PURE__ */ _h(Df);
14241
+ var fe = {};
14242
+ Object.defineProperty(fe, "__esModule", { value: !0 });
14243
+ fe.ProtocolNotificationType = fe.ProtocolNotificationType0 = fe.ProtocolRequestType = fe.ProtocolRequestType0 = fe.RegistrationType = fe.MessageDirection = void 0;
14244
+ const Sr = cr;
14256
14245
  var ya;
14257
14246
  (function(e) {
14258
14247
  e.clientToServer = "clientToServer", e.serverToClient = "serverToClient", e.both = "both";
14259
- })(ya || (de.MessageDirection = ya = {}));
14248
+ })(ya || (fe.MessageDirection = ya = {}));
14260
14249
  class Pf {
14261
14250
  constructor(t) {
14262
14251
  this.method = t;
14263
14252
  }
14264
14253
  }
14265
- de.RegistrationType = Pf;
14254
+ fe.RegistrationType = Pf;
14266
14255
  class Lf extends Sr.RequestType0 {
14267
14256
  constructor(t) {
14268
14257
  super(t);
14269
14258
  }
14270
14259
  }
14271
- de.ProtocolRequestType0 = Lf;
14260
+ fe.ProtocolRequestType0 = Lf;
14272
14261
  class Tf extends Sr.RequestType {
14273
14262
  constructor(t) {
14274
14263
  super(t, Sr.ParameterStructures.byName);
14275
14264
  }
14276
14265
  }
14277
- de.ProtocolRequestType = Tf;
14266
+ fe.ProtocolRequestType = Tf;
14278
14267
  class Mf extends Sr.NotificationType0 {
14279
14268
  constructor(t) {
14280
14269
  super(t);
14281
14270
  }
14282
14271
  }
14283
- de.ProtocolNotificationType0 = Mf;
14272
+ fe.ProtocolNotificationType0 = Mf;
14284
14273
  class Af extends Sr.NotificationType {
14285
14274
  constructor(t) {
14286
14275
  super(t, Sr.ParameterStructures.byName);
14287
14276
  }
14288
14277
  }
14289
- de.ProtocolNotificationType = Af;
14278
+ fe.ProtocolNotificationType = Af;
14290
14279
  var vl = {}, Re = {};
14291
14280
  Object.defineProperty(Re, "__esModule", { value: !0 });
14292
14281
  Re.objectLiteral = Re.typedArray = Re.stringArray = Re.array = Re.func = Re.error = Re.number = Re.string = Re.boolean = void 0;
@@ -14329,7 +14318,7 @@ Re.objectLiteral = Ff;
14329
14318
  var Qi = {};
14330
14319
  Object.defineProperty(Qi, "__esModule", { value: !0 });
14331
14320
  Qi.ImplementationRequest = void 0;
14332
- const ba = de;
14321
+ const ba = fe;
14333
14322
  var Ca;
14334
14323
  (function(e) {
14335
14324
  e.method = "textDocument/implementation", e.messageDirection = ba.MessageDirection.clientToServer, e.type = new ba.ProtocolRequestType(e.method);
@@ -14337,7 +14326,7 @@ var Ca;
14337
14326
  var es = {};
14338
14327
  Object.defineProperty(es, "__esModule", { value: !0 });
14339
14328
  es.TypeDefinitionRequest = void 0;
14340
- const wa = de;
14329
+ const wa = fe;
14341
14330
  var Ea;
14342
14331
  (function(e) {
14343
14332
  e.method = "textDocument/typeDefinition", e.messageDirection = wa.MessageDirection.clientToServer, e.type = new wa.ProtocolRequestType(e.method);
@@ -14345,7 +14334,7 @@ var Ea;
14345
14334
  var yr = {};
14346
14335
  Object.defineProperty(yr, "__esModule", { value: !0 });
14347
14336
  yr.DidChangeWorkspaceFoldersNotification = yr.WorkspaceFoldersRequest = void 0;
14348
- const Fi = de;
14337
+ const Fi = fe;
14349
14338
  var ka;
14350
14339
  (function(e) {
14351
14340
  e.method = "workspace/workspaceFolders", e.messageDirection = Fi.MessageDirection.serverToClient, e.type = new Fi.ProtocolRequestType0(e.method);
@@ -14357,7 +14346,7 @@ var Ra;
14357
14346
  var ts = {};
14358
14347
  Object.defineProperty(ts, "__esModule", { value: !0 });
14359
14348
  ts.ConfigurationRequest = void 0;
14360
- const Da = de;
14349
+ const Da = fe;
14361
14350
  var Pa;
14362
14351
  (function(e) {
14363
14352
  e.method = "workspace/configuration", e.messageDirection = Da.MessageDirection.serverToClient, e.type = new Da.ProtocolRequestType(e.method);
@@ -14365,7 +14354,7 @@ var Pa;
14365
14354
  var br = {};
14366
14355
  Object.defineProperty(br, "__esModule", { value: !0 });
14367
14356
  br.ColorPresentationRequest = br.DocumentColorRequest = void 0;
14368
- const qi = de;
14357
+ const qi = fe;
14369
14358
  var La;
14370
14359
  (function(e) {
14371
14360
  e.method = "textDocument/documentColor", e.messageDirection = qi.MessageDirection.clientToServer, e.type = new qi.ProtocolRequestType(e.method);
@@ -14377,7 +14366,7 @@ var Ta;
14377
14366
  var Cr = {};
14378
14367
  Object.defineProperty(Cr, "__esModule", { value: !0 });
14379
14368
  Cr.FoldingRangeRefreshRequest = Cr.FoldingRangeRequest = void 0;
14380
- const ji = de;
14369
+ const ji = fe;
14381
14370
  var Ma;
14382
14371
  (function(e) {
14383
14372
  e.method = "textDocument/foldingRange", e.messageDirection = ji.MessageDirection.clientToServer, e.type = new ji.ProtocolRequestType(e.method);
@@ -14389,7 +14378,7 @@ var Aa;
14389
14378
  var rs = {};
14390
14379
  Object.defineProperty(rs, "__esModule", { value: !0 });
14391
14380
  rs.DeclarationRequest = void 0;
14392
- const Oa = de;
14381
+ const Oa = fe;
14393
14382
  var Ia;
14394
14383
  (function(e) {
14395
14384
  e.method = "textDocument/declaration", e.messageDirection = Oa.MessageDirection.clientToServer, e.type = new Oa.ProtocolRequestType(e.method);
@@ -14397,7 +14386,7 @@ var Ia;
14397
14386
  var is = {};
14398
14387
  Object.defineProperty(is, "__esModule", { value: !0 });
14399
14388
  is.SelectionRangeRequest = void 0;
14400
- const xa = de;
14389
+ const xa = fe;
14401
14390
  var Ba;
14402
14391
  (function(e) {
14403
14392
  e.method = "textDocument/selectionRange", e.messageDirection = xa.MessageDirection.clientToServer, e.type = new xa.ProtocolRequestType(e.method);
@@ -14405,7 +14394,7 @@ var Ba;
14405
14394
  var Ht = {};
14406
14395
  Object.defineProperty(Ht, "__esModule", { value: !0 });
14407
14396
  Ht.WorkDoneProgressCancelNotification = Ht.WorkDoneProgressCreateRequest = Ht.WorkDoneProgress = void 0;
14408
- const qf = ar, Wi = de;
14397
+ const qf = cr, Wi = fe;
14409
14398
  var Na;
14410
14399
  (function(e) {
14411
14400
  e.type = new qf.ProgressType();
@@ -14425,7 +14414,7 @@ var Fa;
14425
14414
  var Ft = {};
14426
14415
  Object.defineProperty(Ft, "__esModule", { value: !0 });
14427
14416
  Ft.CallHierarchyOutgoingCallsRequest = Ft.CallHierarchyIncomingCallsRequest = Ft.CallHierarchyPrepareRequest = void 0;
14428
- const wr = de;
14417
+ const wr = fe;
14429
14418
  var qa;
14430
14419
  (function(e) {
14431
14420
  e.method = "textDocument/prepareCallHierarchy", e.messageDirection = wr.MessageDirection.clientToServer, e.type = new wr.ProtocolRequestType(e.method);
@@ -14438,38 +14427,38 @@ var Wa;
14438
14427
  (function(e) {
14439
14428
  e.method = "callHierarchy/outgoingCalls", e.messageDirection = wr.MessageDirection.clientToServer, e.type = new wr.ProtocolRequestType(e.method);
14440
14429
  })(Wa || (Ft.CallHierarchyOutgoingCallsRequest = Wa = {}));
14441
- var Ye = {};
14442
- Object.defineProperty(Ye, "__esModule", { value: !0 });
14443
- Ye.SemanticTokensRefreshRequest = Ye.SemanticTokensRangeRequest = Ye.SemanticTokensDeltaRequest = Ye.SemanticTokensRequest = Ye.SemanticTokensRegistrationType = Ye.TokenFormat = void 0;
14444
- const xt = de;
14430
+ var Ze = {};
14431
+ Object.defineProperty(Ze, "__esModule", { value: !0 });
14432
+ Ze.SemanticTokensRefreshRequest = Ze.SemanticTokensRangeRequest = Ze.SemanticTokensDeltaRequest = Ze.SemanticTokensRequest = Ze.SemanticTokensRegistrationType = Ze.TokenFormat = void 0;
14433
+ const xt = fe;
14445
14434
  var za;
14446
14435
  (function(e) {
14447
14436
  e.Relative = "relative";
14448
- })(za || (Ye.TokenFormat = za = {}));
14437
+ })(za || (Ze.TokenFormat = za = {}));
14449
14438
  var Yr;
14450
14439
  (function(e) {
14451
14440
  e.method = "textDocument/semanticTokens", e.type = new xt.RegistrationType(e.method);
14452
- })(Yr || (Ye.SemanticTokensRegistrationType = Yr = {}));
14441
+ })(Yr || (Ze.SemanticTokensRegistrationType = Yr = {}));
14453
14442
  var Ua;
14454
14443
  (function(e) {
14455
14444
  e.method = "textDocument/semanticTokens/full", e.messageDirection = xt.MessageDirection.clientToServer, e.type = new xt.ProtocolRequestType(e.method), e.registrationMethod = Yr.method;
14456
- })(Ua || (Ye.SemanticTokensRequest = Ua = {}));
14445
+ })(Ua || (Ze.SemanticTokensRequest = Ua = {}));
14457
14446
  var $a;
14458
14447
  (function(e) {
14459
14448
  e.method = "textDocument/semanticTokens/full/delta", e.messageDirection = xt.MessageDirection.clientToServer, e.type = new xt.ProtocolRequestType(e.method), e.registrationMethod = Yr.method;
14460
- })($a || (Ye.SemanticTokensDeltaRequest = $a = {}));
14449
+ })($a || (Ze.SemanticTokensDeltaRequest = $a = {}));
14461
14450
  var Va;
14462
14451
  (function(e) {
14463
14452
  e.method = "textDocument/semanticTokens/range", e.messageDirection = xt.MessageDirection.clientToServer, e.type = new xt.ProtocolRequestType(e.method), e.registrationMethod = Yr.method;
14464
- })(Va || (Ye.SemanticTokensRangeRequest = Va = {}));
14453
+ })(Va || (Ze.SemanticTokensRangeRequest = Va = {}));
14465
14454
  var Ka;
14466
14455
  (function(e) {
14467
14456
  e.method = "workspace/semanticTokens/refresh", e.messageDirection = xt.MessageDirection.serverToClient, e.type = new xt.ProtocolRequestType0(e.method);
14468
- })(Ka || (Ye.SemanticTokensRefreshRequest = Ka = {}));
14457
+ })(Ka || (Ze.SemanticTokensRefreshRequest = Ka = {}));
14469
14458
  var ss = {};
14470
14459
  Object.defineProperty(ss, "__esModule", { value: !0 });
14471
14460
  ss.ShowDocumentRequest = void 0;
14472
- const Ga = de;
14461
+ const Ga = fe;
14473
14462
  var Ja;
14474
14463
  (function(e) {
14475
14464
  e.method = "window/showDocument", e.messageDirection = Ga.MessageDirection.serverToClient, e.type = new Ga.ProtocolRequestType(e.method);
@@ -14477,7 +14466,7 @@ var Ja;
14477
14466
  var ns = {};
14478
14467
  Object.defineProperty(ns, "__esModule", { value: !0 });
14479
14468
  ns.LinkedEditingRangeRequest = void 0;
14480
- const Xa = de;
14469
+ const Xa = fe;
14481
14470
  var Ya;
14482
14471
  (function(e) {
14483
14472
  e.method = "textDocument/linkedEditingRange", e.messageDirection = Xa.MessageDirection.clientToServer, e.type = new Xa.ProtocolRequestType(e.method);
@@ -14485,7 +14474,7 @@ var Ya;
14485
14474
  var je = {};
14486
14475
  Object.defineProperty(je, "__esModule", { value: !0 });
14487
14476
  je.WillDeleteFilesRequest = je.DidDeleteFilesNotification = je.DidRenameFilesNotification = je.WillRenameFilesRequest = je.DidCreateFilesNotification = je.WillCreateFilesRequest = je.FileOperationPatternKind = void 0;
14488
- const nt = de;
14477
+ const nt = fe;
14489
14478
  var Za;
14490
14479
  (function(e) {
14491
14480
  e.file = "file", e.folder = "folder";
@@ -14517,7 +14506,7 @@ var sc;
14517
14506
  var qt = {};
14518
14507
  Object.defineProperty(qt, "__esModule", { value: !0 });
14519
14508
  qt.MonikerRequest = qt.MonikerKind = qt.UniquenessLevel = void 0;
14520
- const nc = de;
14509
+ const nc = fe;
14521
14510
  var oc;
14522
14511
  (function(e) {
14523
14512
  e.document = "document", e.project = "project", e.group = "group", e.scheme = "scheme", e.global = "global";
@@ -14533,7 +14522,7 @@ var cc;
14533
14522
  var jt = {};
14534
14523
  Object.defineProperty(jt, "__esModule", { value: !0 });
14535
14524
  jt.TypeHierarchySubtypesRequest = jt.TypeHierarchySupertypesRequest = jt.TypeHierarchyPrepareRequest = void 0;
14536
- const Er = de;
14525
+ const Er = fe;
14537
14526
  var lc;
14538
14527
  (function(e) {
14539
14528
  e.method = "textDocument/prepareTypeHierarchy", e.messageDirection = Er.MessageDirection.clientToServer, e.type = new Er.ProtocolRequestType(e.method);
@@ -14549,7 +14538,7 @@ var uc;
14549
14538
  var kr = {};
14550
14539
  Object.defineProperty(kr, "__esModule", { value: !0 });
14551
14540
  kr.InlineValueRefreshRequest = kr.InlineValueRequest = void 0;
14552
- const zi = de;
14541
+ const zi = fe;
14553
14542
  var dc;
14554
14543
  (function(e) {
14555
14544
  e.method = "textDocument/inlineValue", e.messageDirection = zi.MessageDirection.clientToServer, e.type = new zi.ProtocolRequestType(e.method);
@@ -14561,7 +14550,7 @@ var fc;
14561
14550
  var Wt = {};
14562
14551
  Object.defineProperty(Wt, "__esModule", { value: !0 });
14563
14552
  Wt.InlayHintRefreshRequest = Wt.InlayHintResolveRequest = Wt.InlayHintRequest = void 0;
14564
- const Rr = de;
14553
+ const Rr = fe;
14565
14554
  var pc;
14566
14555
  (function(e) {
14567
14556
  e.method = "textDocument/inlayHint", e.messageDirection = Rr.MessageDirection.clientToServer, e.type = new Rr.ProtocolRequestType(e.method);
@@ -14574,10 +14563,10 @@ var gc;
14574
14563
  (function(e) {
14575
14564
  e.method = "workspace/inlayHint/refresh", e.messageDirection = Rr.MessageDirection.serverToClient, e.type = new Rr.ProtocolRequestType0(e.method);
14576
14565
  })(gc || (Wt.InlayHintRefreshRequest = gc = {}));
14577
- var it = {};
14578
- Object.defineProperty(it, "__esModule", { value: !0 });
14579
- it.DiagnosticRefreshRequest = it.WorkspaceDiagnosticRequest = it.DocumentDiagnosticRequest = it.DocumentDiagnosticReportKind = it.DiagnosticServerCancellationData = void 0;
14580
- const yl = ar, jf = Re, Dr = de;
14566
+ var rt = {};
14567
+ Object.defineProperty(rt, "__esModule", { value: !0 });
14568
+ rt.DiagnosticRefreshRequest = rt.WorkspaceDiagnosticRequest = rt.DocumentDiagnosticRequest = rt.DocumentDiagnosticReportKind = rt.DiagnosticServerCancellationData = void 0;
14569
+ const yl = cr, jf = Re, Dr = fe;
14581
14570
  var vc;
14582
14571
  (function(e) {
14583
14572
  function t(f) {
@@ -14585,27 +14574,27 @@ var vc;
14585
14574
  return o && jf.boolean(o.retriggerRequest);
14586
14575
  }
14587
14576
  e.is = t;
14588
- })(vc || (it.DiagnosticServerCancellationData = vc = {}));
14577
+ })(vc || (rt.DiagnosticServerCancellationData = vc = {}));
14589
14578
  var mc;
14590
14579
  (function(e) {
14591
14580
  e.Full = "full", e.Unchanged = "unchanged";
14592
- })(mc || (it.DocumentDiagnosticReportKind = mc = {}));
14581
+ })(mc || (rt.DocumentDiagnosticReportKind = mc = {}));
14593
14582
  var Sc;
14594
14583
  (function(e) {
14595
14584
  e.method = "textDocument/diagnostic", e.messageDirection = Dr.MessageDirection.clientToServer, e.type = new Dr.ProtocolRequestType(e.method), e.partialResult = new yl.ProgressType();
14596
- })(Sc || (it.DocumentDiagnosticRequest = Sc = {}));
14585
+ })(Sc || (rt.DocumentDiagnosticRequest = Sc = {}));
14597
14586
  var yc;
14598
14587
  (function(e) {
14599
14588
  e.method = "workspace/diagnostic", e.messageDirection = Dr.MessageDirection.clientToServer, e.type = new Dr.ProtocolRequestType(e.method), e.partialResult = new yl.ProgressType();
14600
- })(yc || (it.WorkspaceDiagnosticRequest = yc = {}));
14589
+ })(yc || (rt.WorkspaceDiagnosticRequest = yc = {}));
14601
14590
  var bc;
14602
14591
  (function(e) {
14603
14592
  e.method = "workspace/diagnostic/refresh", e.messageDirection = Dr.MessageDirection.serverToClient, e.type = new Dr.ProtocolRequestType0(e.method);
14604
- })(bc || (it.DiagnosticRefreshRequest = bc = {}));
14593
+ })(bc || (rt.DiagnosticRefreshRequest = bc = {}));
14605
14594
  var ke = {};
14606
14595
  Object.defineProperty(ke, "__esModule", { value: !0 });
14607
14596
  ke.DidCloseNotebookDocumentNotification = ke.DidSaveNotebookDocumentNotification = ke.DidChangeNotebookDocumentNotification = ke.NotebookCellArrayChange = ke.DidOpenNotebookDocumentNotification = ke.NotebookDocumentSyncRegistrationType = ke.NotebookDocument = ke.NotebookCell = ke.ExecutionSummary = ke.NotebookCellKind = void 0;
14608
- const Zr = yo, ut = Re, Ct = de;
14597
+ const Zr = yo, ut = Re, Ct = fe;
14609
14598
  var Zn;
14610
14599
  (function(e) {
14611
14600
  e.Markup = 1, e.Code = 2;
@@ -14723,14 +14712,14 @@ var Dc;
14723
14712
  var os = {};
14724
14713
  Object.defineProperty(os, "__esModule", { value: !0 });
14725
14714
  os.InlineCompletionRequest = void 0;
14726
- const Pc = de;
14715
+ const Pc = fe;
14727
14716
  var Lc;
14728
14717
  (function(e) {
14729
14718
  e.method = "textDocument/inlineCompletion", e.messageDirection = Pc.MessageDirection.clientToServer, e.type = new Pc.ProtocolRequestType(e.method);
14730
14719
  })(Lc || (os.InlineCompletionRequest = Lc = {}));
14731
14720
  (function(e) {
14732
14721
  Object.defineProperty(e, "__esModule", { value: !0 }), e.WorkspaceSymbolRequest = e.CodeActionResolveRequest = e.CodeActionRequest = e.DocumentSymbolRequest = e.DocumentHighlightRequest = e.ReferencesRequest = e.DefinitionRequest = e.SignatureHelpRequest = e.SignatureHelpTriggerKind = e.HoverRequest = e.CompletionResolveRequest = e.CompletionRequest = e.CompletionTriggerKind = e.PublishDiagnosticsNotification = e.WatchKind = e.RelativePattern = e.FileChangeType = e.DidChangeWatchedFilesNotification = e.WillSaveTextDocumentWaitUntilRequest = e.WillSaveTextDocumentNotification = e.TextDocumentSaveReason = e.DidSaveTextDocumentNotification = e.DidCloseTextDocumentNotification = e.DidChangeTextDocumentNotification = e.TextDocumentContentChangeEvent = e.DidOpenTextDocumentNotification = e.TextDocumentSyncKind = e.TelemetryEventNotification = e.LogMessageNotification = e.ShowMessageRequest = e.ShowMessageNotification = e.MessageType = e.DidChangeConfigurationNotification = e.ExitNotification = e.ShutdownRequest = e.InitializedNotification = e.InitializeErrorCodes = e.InitializeRequest = e.WorkDoneProgressOptions = e.TextDocumentRegistrationOptions = e.StaticRegistrationOptions = e.PositionEncodingKind = e.FailureHandlingKind = e.ResourceOperationKind = e.UnregistrationRequest = e.RegistrationRequest = e.DocumentSelector = e.NotebookCellTextDocumentFilter = e.NotebookDocumentFilter = e.TextDocumentFilter = void 0, e.MonikerRequest = e.MonikerKind = e.UniquenessLevel = e.WillDeleteFilesRequest = e.DidDeleteFilesNotification = e.WillRenameFilesRequest = e.DidRenameFilesNotification = e.WillCreateFilesRequest = e.DidCreateFilesNotification = e.FileOperationPatternKind = e.LinkedEditingRangeRequest = e.ShowDocumentRequest = e.SemanticTokensRegistrationType = e.SemanticTokensRefreshRequest = e.SemanticTokensRangeRequest = e.SemanticTokensDeltaRequest = e.SemanticTokensRequest = e.TokenFormat = e.CallHierarchyPrepareRequest = e.CallHierarchyOutgoingCallsRequest = e.CallHierarchyIncomingCallsRequest = e.WorkDoneProgressCancelNotification = e.WorkDoneProgressCreateRequest = e.WorkDoneProgress = e.SelectionRangeRequest = e.DeclarationRequest = e.FoldingRangeRefreshRequest = e.FoldingRangeRequest = e.ColorPresentationRequest = e.DocumentColorRequest = e.ConfigurationRequest = e.DidChangeWorkspaceFoldersNotification = e.WorkspaceFoldersRequest = e.TypeDefinitionRequest = e.ImplementationRequest = e.ApplyWorkspaceEditRequest = e.ExecuteCommandRequest = e.PrepareRenameRequest = e.RenameRequest = e.PrepareSupportDefaultBehavior = e.DocumentOnTypeFormattingRequest = e.DocumentRangesFormattingRequest = e.DocumentRangeFormattingRequest = e.DocumentFormattingRequest = e.DocumentLinkResolveRequest = e.DocumentLinkRequest = e.CodeLensRefreshRequest = e.CodeLensResolveRequest = e.CodeLensRequest = e.WorkspaceSymbolResolveRequest = void 0, e.InlineCompletionRequest = e.DidCloseNotebookDocumentNotification = e.DidSaveNotebookDocumentNotification = e.DidChangeNotebookDocumentNotification = e.NotebookCellArrayChange = e.DidOpenNotebookDocumentNotification = e.NotebookDocumentSyncRegistrationType = e.NotebookDocument = e.NotebookCell = e.ExecutionSummary = e.NotebookCellKind = e.DiagnosticRefreshRequest = e.WorkspaceDiagnosticRequest = e.DocumentDiagnosticRequest = e.DocumentDiagnosticReportKind = e.DiagnosticServerCancellationData = e.InlayHintRefreshRequest = e.InlayHintResolveRequest = e.InlayHintRequest = e.InlineValueRefreshRequest = e.InlineValueRequest = e.TypeHierarchySupertypesRequest = e.TypeHierarchySubtypesRequest = e.TypeHierarchyPrepareRequest = void 0;
14733
- const t = de, f = yo, o = Re, l = Qi;
14722
+ const t = fe, f = yo, o = Re, l = Qi;
14734
14723
  Object.defineProperty(e, "ImplementationRequest", { enumerable: !0, get: function() {
14735
14724
  return l.ImplementationRequest;
14736
14725
  } });
@@ -14784,7 +14773,7 @@ var Lc;
14784
14773
  } }), Object.defineProperty(e, "CallHierarchyPrepareRequest", { enumerable: !0, get: function() {
14785
14774
  return d.CallHierarchyPrepareRequest;
14786
14775
  } });
14787
- const g = Ye;
14776
+ const g = Ze;
14788
14777
  Object.defineProperty(e, "TokenFormat", { enumerable: !0, get: function() {
14789
14778
  return g.TokenFormat;
14790
14779
  } }), Object.defineProperty(e, "SemanticTokensRequest", { enumerable: !0, get: function() {
@@ -14852,7 +14841,7 @@ var Lc;
14852
14841
  } }), Object.defineProperty(e, "InlayHintRefreshRequest", { enumerable: !0, get: function() {
14853
14842
  return b.InlayHintRefreshRequest;
14854
14843
  } });
14855
- const w = it;
14844
+ const w = rt;
14856
14845
  Object.defineProperty(e, "DiagnosticServerCancellationData", { enumerable: !0, get: function() {
14857
14846
  return w.DiagnosticServerCancellationData;
14858
14847
  } }), Object.defineProperty(e, "DocumentDiagnosticReportKind", { enumerable: !0, get: function() {
@@ -15064,10 +15053,10 @@ var Lc;
15064
15053
  (function(L) {
15065
15054
  L.method = "textDocument/willSaveWaitUntil", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
15066
15055
  })(Et || (e.WillSaveTextDocumentWaitUntilRequest = Et = {}));
15067
- var ze;
15056
+ var Ue;
15068
15057
  (function(L) {
15069
15058
  L.method = "workspace/didChangeWatchedFiles", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolNotificationType(L.method);
15070
- })(ze || (e.DidChangeWatchedFilesNotification = ze = {}));
15059
+ })(Ue || (e.DidChangeWatchedFilesNotification = Ue = {}));
15071
15060
  var pt;
15072
15061
  (function(L) {
15073
15062
  L.Created = 1, L.Changed = 2, L.Deleted = 3;
@@ -15084,10 +15073,10 @@ var Lc;
15084
15073
  (function(L) {
15085
15074
  L.Create = 1, L.Change = 2, L.Delete = 4;
15086
15075
  })(_t || (e.WatchKind = _t = {}));
15087
- var Ue;
15076
+ var $e;
15088
15077
  (function(L) {
15089
15078
  L.method = "textDocument/publishDiagnostics", L.messageDirection = t.MessageDirection.serverToClient, L.type = new t.ProtocolNotificationType(L.method);
15090
- })(Ue || (e.PublishDiagnosticsNotification = Ue = {}));
15079
+ })($e || (e.PublishDiagnosticsNotification = $e = {}));
15091
15080
  var gt;
15092
15081
  (function(L) {
15093
15082
  L.Invoked = 1, L.TriggerCharacter = 2, L.TriggerForIncompleteCompletions = 3;
@@ -15096,18 +15085,18 @@ var Lc;
15096
15085
  (function(L) {
15097
15086
  L.method = "textDocument/completion", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
15098
15087
  })(kt || (e.CompletionRequest = kt = {}));
15099
- var Ge;
15088
+ var Je;
15100
15089
  (function(L) {
15101
15090
  L.method = "completionItem/resolve", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
15102
- })(Ge || (e.CompletionResolveRequest = Ge = {}));
15103
- var Je;
15091
+ })(Je || (e.CompletionResolveRequest = Je = {}));
15092
+ var Xe;
15104
15093
  (function(L) {
15105
15094
  L.method = "textDocument/hover", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
15106
- })(Je || (e.HoverRequest = Je = {}));
15107
- var Xe;
15095
+ })(Xe || (e.HoverRequest = Xe = {}));
15096
+ var Ye;
15108
15097
  (function(L) {
15109
15098
  L.Invoked = 1, L.TriggerCharacter = 2, L.ContentChange = 3;
15110
- })(Xe || (e.SignatureHelpTriggerKind = Xe = {}));
15099
+ })(Ye || (e.SignatureHelpTriggerKind = Ye = {}));
15111
15100
  var vt;
15112
15101
  (function(L) {
15113
15102
  L.method = "textDocument/signatureHelp", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
@@ -15116,10 +15105,10 @@ var Lc;
15116
15105
  (function(L) {
15117
15106
  L.method = "textDocument/definition", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
15118
15107
  })(me || (e.DefinitionRequest = me = {}));
15119
- var Ut;
15108
+ var $t;
15120
15109
  (function(L) {
15121
15110
  L.method = "textDocument/references", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
15122
- })(Ut || (e.ReferencesRequest = Ut = {}));
15111
+ })($t || (e.ReferencesRequest = $t = {}));
15123
15112
  var Mr;
15124
15113
  (function(L) {
15125
15114
  L.method = "textDocument/documentHighlight", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
@@ -15160,18 +15149,18 @@ var Lc;
15160
15149
  (function(L) {
15161
15150
  L.method = "textDocument/documentLink", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
15162
15151
  })(_i || (e.DocumentLinkRequest = _i = {}));
15163
- var $t;
15152
+ var Vt;
15164
15153
  (function(L) {
15165
15154
  L.method = "documentLink/resolve", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
15166
- })($t || (e.DocumentLinkResolveRequest = $t = {}));
15155
+ })(Vt || (e.DocumentLinkResolveRequest = Vt = {}));
15167
15156
  var gi;
15168
15157
  (function(L) {
15169
15158
  L.method = "textDocument/formatting", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
15170
15159
  })(gi || (e.DocumentFormattingRequest = gi = {}));
15171
- var lr;
15160
+ var hr;
15172
15161
  (function(L) {
15173
15162
  L.method = "textDocument/rangeFormatting", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
15174
- })(lr || (e.DocumentRangeFormattingRequest = lr = {}));
15163
+ })(hr || (e.DocumentRangeFormattingRequest = hr = {}));
15175
15164
  var vi;
15176
15165
  (function(L) {
15177
15166
  L.method = "textDocument/rangesFormatting", L.messageDirection = t.MessageDirection.clientToServer, L.type = new t.ProtocolRequestType(L.method);
@@ -15204,7 +15193,7 @@ var Lc;
15204
15193
  var as = {};
15205
15194
  Object.defineProperty(as, "__esModule", { value: !0 });
15206
15195
  as.createProtocolConnection = void 0;
15207
- const Tc = ar;
15196
+ const Tc = cr;
15208
15197
  function Wf(e, t, f, o) {
15209
15198
  return Tc.ConnectionStrategy.is(o) && (o = { connectionStrategy: o }), (0, Tc.createMessageConnection)(e, t, f, o);
15210
15199
  }
@@ -15221,7 +15210,7 @@ as.createProtocolConnection = Wf;
15221
15210
  }), f = et && et.__exportStar || function(v, m) {
15222
15211
  for (var r in v) r !== "default" && !Object.prototype.hasOwnProperty.call(m, r) && t(m, v, r);
15223
15212
  };
15224
- Object.defineProperty(e, "__esModule", { value: !0 }), e.LSPErrorCodes = e.createProtocolConnection = void 0, f(ar, e), f(yo, e), f(de, e), f(vl, e);
15213
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.LSPErrorCodes = e.createProtocolConnection = void 0, f(cr, e), f(yo, e), f(fe, e), f(vl, e);
15225
15214
  var o = as;
15226
15215
  Object.defineProperty(e, "createProtocolConnection", { enumerable: !0, get: function() {
15227
15216
  return o.createProtocolConnection;
@@ -15290,14 +15279,14 @@ const zf = (e) => ({
15290
15279
  };
15291
15280
  }, Vf = (e) => {
15292
15281
  const t = Object.keys(ue.CompletionItemKind).find((f) => ue.CompletionItemKind[f] === e);
15293
- return t ? We.CompletionItemKind[t] : We.CompletionItemKind.Text;
15294
- }, Kf = (e) => e.flatMap((t) => t === ue.CompletionItemTag.Deprecated ? [We.CompletionItemTag.Deprecated] : []), Gf = (e) => {
15282
+ return t ? ze.CompletionItemKind[t] : ze.CompletionItemKind.Text;
15283
+ }, Kf = (e) => e.flatMap((t) => t === ue.CompletionItemTag.Deprecated ? [ze.CompletionItemTag.Deprecated] : []), Gf = (e) => {
15295
15284
  switch (e) {
15296
- case We.CompletionTriggerKind.Invoke:
15285
+ case ze.CompletionTriggerKind.Invoke:
15297
15286
  return ue.CompletionTriggerKind.Invoked;
15298
- case We.CompletionTriggerKind.TriggerCharacter:
15287
+ case ze.CompletionTriggerKind.TriggerCharacter:
15299
15288
  return ue.CompletionTriggerKind.TriggerCharacter;
15300
- case We.CompletionTriggerKind.TriggerForIncompleteCompletions:
15289
+ case ze.CompletionTriggerKind.TriggerForIncompleteCompletions:
15301
15290
  return ue.CompletionTriggerKind.TriggerForIncompleteCompletions;
15302
15291
  default:
15303
15292
  return ue.CompletionTriggerKind.Invoked;
@@ -15312,9 +15301,9 @@ const zf = (e) => ({
15312
15301
  detail: (v = e.labelDetails) == null ? void 0 : v.detail,
15313
15302
  description: (m = e.labelDetails) == null ? void 0 : m.description
15314
15303
  }, o = Kf(e.tags ?? []);
15315
- e.deprecated && o.push(We.CompletionItemTag.Deprecated);
15316
- let l = We.CompletionItemInsertTextRule.None;
15317
- return e.insertTextFormat === ue.InsertTextFormat.Snippet ? l = We.CompletionItemInsertTextRule.InsertAsSnippet : e.insertTextMode === ue.InsertTextMode.adjustIndentation && (l = We.CompletionItemInsertTextRule.KeepWhitespace), {
15304
+ e.deprecated && o.push(ze.CompletionItemTag.Deprecated);
15305
+ let l = ze.CompletionItemInsertTextRule.None;
15306
+ return e.insertTextFormat === ue.InsertTextFormat.Snippet ? l = ze.CompletionItemInsertTextRule.InsertAsSnippet : e.insertTextMode === ue.InsertTextMode.adjustIndentation && (l = ze.CompletionItemInsertTextRule.KeepWhitespace), {
15318
15307
  label: f,
15319
15308
  kind: Vf(e.kind ?? ue.CompletionItemKind.Text),
15320
15309
  tags: o,
@@ -15467,11 +15456,11 @@ ${o.value}
15467
15456
  }
15468
15457
  }, fp = (e) => {
15469
15458
  switch (e) {
15470
- case We.SignatureHelpTriggerKind.Invoke:
15459
+ case ze.SignatureHelpTriggerKind.Invoke:
15471
15460
  return ue.SignatureHelpTriggerKind.Invoked;
15472
- case We.SignatureHelpTriggerKind.TriggerCharacter:
15461
+ case ze.SignatureHelpTriggerKind.TriggerCharacter:
15473
15462
  return ue.SignatureHelpTriggerKind.TriggerCharacter;
15474
- case We.SignatureHelpTriggerKind.ContentChange:
15463
+ case ze.SignatureHelpTriggerKind.ContentChange:
15475
15464
  return ue.SignatureHelpTriggerKind.ContentChange;
15476
15465
  default:
15477
15466
  return ue.SignatureHelpTriggerKind.Invoked;
@@ -15591,7 +15580,7 @@ class wo {
15591
15580
  * Hover
15592
15581
  */
15593
15582
  registerHoverProvider() {
15594
- We.registerHoverProvider(this.getLanguageId(), {
15583
+ ze.registerHoverProvider(this.getLanguageId(), {
15595
15584
  provideHover: async (t, f) => {
15596
15585
  await this._onChangeLock;
15597
15586
  const o = await this._connection.sendRequest(
@@ -15606,7 +15595,7 @@ class wo {
15606
15595
  * Auto-completion
15607
15596
  */
15608
15597
  registerCompletionProvider(t) {
15609
- We.registerCompletionItemProvider(this.getLanguageId(), {
15598
+ ze.registerCompletionItemProvider(this.getLanguageId(), {
15610
15599
  triggerCharacters: t.triggerCharacters,
15611
15600
  provideCompletionItems: async (f, o, l) => {
15612
15601
  await this._onChangeLock;
@@ -15629,7 +15618,7 @@ class wo {
15629
15618
  * Signature help
15630
15619
  */
15631
15620
  registerSignatureHelpProvider(t) {
15632
- We.registerSignatureHelpProvider(this.getLanguageId(), {
15621
+ ze.registerSignatureHelpProvider(this.getLanguageId(), {
15633
15622
  signatureHelpTriggerCharacters: t.triggerCharacters,
15634
15623
  signatureHelpRetriggerCharacters: t.retriggerCharacters,
15635
15624
  provideSignatureHelp: async (f, o, l, v) => {
@@ -15649,7 +15638,7 @@ class wo {
15649
15638
  this._connection.onNotification(
15650
15639
  ue.PublishDiagnosticsNotification.type,
15651
15640
  (t) => {
15652
- Wl.setModelMarkers(
15641
+ zl.setModelMarkers(
15653
15642
  this._editorModel,
15654
15643
  "lsp-diagnostics",
15655
15644
  sp(t.diagnostics)
@@ -15663,7 +15652,7 @@ class yp extends ue.AbstractMessageReader {
15663
15652
  super();
15664
15653
  Qe(this, "messageCache", []);
15665
15654
  Qe(this, "callback");
15666
- sr().registerEventHandler("language-server", (f) => {
15655
+ zt().registerEventHandler("language-server", (f) => {
15667
15656
  this.readMessage(f);
15668
15657
  }), this.callback = null;
15669
15658
  }
@@ -15691,7 +15680,7 @@ class yp extends ue.AbstractMessageReader {
15691
15680
  class bp extends ue.AbstractMessageWriter {
15692
15681
  // eslint-disable-next-line class-methods-use-this -- required for the interface
15693
15682
  async write(t) {
15694
- await sr().sendToService("sendLanguageServerMessage", [
15683
+ await zt().sendToService("sendLanguageServerMessage", [
15695
15684
  JSON.stringify(t)
15696
15685
  ]);
15697
15686
  }
@@ -15699,13 +15688,13 @@ class bp extends ue.AbstractMessageWriter {
15699
15688
  end() {
15700
15689
  }
15701
15690
  }
15702
- const Xt = class Xt {
15691
+ const Yt = class Yt {
15703
15692
  constructor() {
15704
15693
  Qe(this, "_eventHandlers", {});
15705
15694
  this.startPolling();
15706
15695
  }
15707
15696
  async startPolling() {
15708
- const t = await rr.getInstance();
15697
+ const t = await sr.getInstance();
15709
15698
  for (; ; ) {
15710
15699
  const f = await t.data({
15711
15700
  method: "ScriptingService.getEvent"
@@ -15723,16 +15712,16 @@ const Xt = class Xt {
15723
15712
  this._eventHandlers[t] = f;
15724
15713
  }
15725
15714
  static getInstance() {
15726
- return Xt.instance || (Xt.instance = new Xt()), Xt.instance;
15715
+ return Yt.instance || (Yt.instance = new Yt()), Yt.instance;
15727
15716
  }
15728
15717
  };
15729
15718
  // eslint-disable-next-line no-use-before-define
15730
- Qe(Xt, "instance");
15731
- let to = Xt;
15732
- const Yt = class Yt {
15719
+ Qe(Yt, "instance");
15720
+ let to = Yt;
15721
+ const Zt = class Zt {
15733
15722
  constructor() {
15734
15723
  Qe(this, "jsonDataService");
15735
- this.jsonDataService = rr.getInstance();
15724
+ this.jsonDataService = sr.getInstance();
15736
15725
  }
15737
15726
  async sendToService(t, f) {
15738
15727
  return (await this.jsonDataService).data({
@@ -15752,12 +15741,12 @@ const Yt = class Yt {
15752
15741
  })).isSome;
15753
15742
  }
15754
15743
  static getInstance() {
15755
- return Yt.instance || (Yt.instance = new Yt()), Yt.instance;
15744
+ return Zt.instance || (Zt.instance = new Zt()), Zt.instance;
15756
15745
  }
15757
15746
  };
15758
15747
  // eslint-disable-next-line no-use-before-define
15759
- Qe(Yt, "instance");
15760
- let $i = Yt;
15748
+ Qe(Zt, "instance");
15749
+ let $i = Zt;
15761
15750
  const Cp = {
15762
15751
  sendToService(e, t) {
15763
15752
  return $i.getInstance().sendToService(e, t);
@@ -15788,9 +15777,12 @@ const Cp = {
15788
15777
  },
15789
15778
  isLoggedIntoHub() {
15790
15779
  return this.sendToService("isLoggedIntoHub");
15780
+ },
15781
+ getAiDisclaimer() {
15782
+ return this.sendToService("getAiDisclaimer");
15791
15783
  }
15792
- }, sr = () => Cp, hv = () => {
15793
- sr().registerEventHandler("console", ul.write);
15784
+ }, zt = () => Cp, dv = () => {
15785
+ zt().registerEventHandler("console", ul.write);
15794
15786
  }, wp = {
15795
15787
  key: 0,
15796
15788
  class: "output-table"
@@ -15819,7 +15811,7 @@ const Cp = {
15819
15811
  path: `${y}uiext/tableview/TableView.js`
15820
15812
  },
15821
15813
  initialData: JSON.parse(
15822
- await (await rr.getInstance()).data({
15814
+ await (await sr.getInstance()).data({
15823
15815
  method: "OutputPreviewTableInitialDataRpcSupplier.getInitialData"
15824
15816
  })
15825
15817
  )
@@ -15861,11 +15853,11 @@ const Cp = {
15861
15853
  s.resourceInfo.baseUrl
15862
15854
  );
15863
15855
  };
15864
- return Ze(async () => {
15865
- const s = await rr.getInstance();
15856
+ return Ge(async () => {
15857
+ const s = await sr.getInstance();
15866
15858
  f.value = s.baseService;
15867
15859
  const d = await f.value.getConfig();
15868
- await h(d), sr().registerEventHandler(
15860
+ await h(d), zt().registerEventHandler(
15869
15861
  "updateOutputTable",
15870
15862
  async (g) => {
15871
15863
  await h(d), v.value = !0, m.value = { ...g }, r("output-table-updated");
@@ -15874,9 +15866,9 @@ const Cp = {
15874
15866
  }), (s, d) => v.value === !0 && o.value !== null ? (Q(), oe("div", wp, [
15875
15867
  ee("div", Ep, [
15876
15868
  ee("div", kp, [
15877
- m.value.numberOfRows != m.value.totalNumberOfRows ? (Q(), oe("div", Rp, " Preview computed on first " + Ve(m.value.numberOfRows) + " " + Ve(m.value.numberOfRows === 1 ? "row" : "rows") + " of " + Ve(m.value.totalNumberOfRows) + " " + Ve(m.value.totalNumberOfRows === 1 ? "row" : "rows"), 1)) : (Q(), oe("div", Dp, " Preview computed on all rows. "))
15869
+ m.value.numberOfRows != m.value.totalNumberOfRows ? (Q(), oe("div", Rp, " Preview computed on first " + We(m.value.numberOfRows) + " " + We(m.value.numberOfRows === 1 ? "row" : "rows") + " of " + We(m.value.totalNumberOfRows) + " " + We(m.value.totalNumberOfRows === 1 ? "row" : "rows"), 1)) : (Q(), oe("div", Dp, " Preview computed on all rows. "))
15878
15870
  ]),
15879
- fe(J(ll), {
15871
+ de(J(ll), {
15880
15872
  "api-layer": c,
15881
15873
  "extension-config": o.value,
15882
15874
  "resource-location": l.value,
@@ -15885,7 +15877,7 @@ const Cp = {
15885
15877
  ])
15886
15878
  ])) : (Q(), oe("div", Pp, " To see the preview, evaluate the expression using the button above. "));
15887
15879
  }
15888
- }), uv = /* @__PURE__ */ Be(Lp, [["__scopeId", "data-v-e361a08c"]]), bs = {
15880
+ }), fv = /* @__PURE__ */ Be(Lp, [["__scopeId", "data-v-e361a08c"]]), bs = {
15889
15881
  name: "splitpanes",
15890
15882
  emits: ["ready", "resize", "resized", "pane-click", "pane-maximize", "pane-add", "pane-remove", "splitter-click"],
15891
15883
  props: {
@@ -16147,7 +16139,7 @@ const Cp = {
16147
16139
  this.container = this.$refs.container, this.checkSplitpanesNodes(), this.redoSplitters(), this.resetPaneSizes(), this.$emit("ready"), this.ready = !0;
16148
16140
  },
16149
16141
  render() {
16150
- return Al(
16142
+ return Ol(
16151
16143
  "div",
16152
16144
  {
16153
16145
  ref: "container",
@@ -16221,7 +16213,7 @@ function Ap(e, t, f, o, l, v) {
16221
16213
  qe(e.$slots, "default")
16222
16214
  ], 4);
16223
16215
  }
16224
- const hr = /* @__PURE__ */ Tp(Mp, [["render", Ap]]), Op = 576, Ip = 992, xp = 400, Bp = ({
16216
+ const ur = /* @__PURE__ */ Tp(Mp, [["render", Ap]]), Op = 576, Ip = 992, xp = 400, Bp = ({
16225
16217
  initialPaneSizes: e,
16226
16218
  rightPaneMinimumWidthInPixel: t,
16227
16219
  rightPaneLayout: f,
@@ -16299,12 +16291,12 @@ const hr = /* @__PURE__ */ Tp(Mp, [["render", Ap]]), Op = 576, Ip = 992, xp = 40
16299
16291
  w === "left" && S(E), _(E, w);
16300
16292
  }
16301
16293
  };
16302
- }, Zt = class Zt {
16294
+ }, Qt = class Qt {
16303
16295
  constructor() {
16304
16296
  Qe(this, "jsonDataService");
16305
16297
  Qe(this, "dialogService");
16306
16298
  Qe(this, "cachedInitialDataAndSettings", null);
16307
- this.jsonDataService = rr.getInstance(), this.dialogService = $l.getInstance();
16299
+ this.jsonDataService = sr.getInstance(), this.dialogService = Vl.getInstance();
16308
16300
  }
16309
16301
  async loadDataIntoCache() {
16310
16302
  this.cachedInitialDataAndSettings = await (await this.jsonDataService).initialData();
@@ -16329,12 +16321,12 @@ const hr = /* @__PURE__ */ Tp(Mp, [["render", Ap]]), Op = 576, Ip = 992, xp = 40
16329
16321
  });
16330
16322
  }
16331
16323
  static getInstance() {
16332
- return Zt.instance || (Zt.instance = new Zt()), Zt.instance;
16324
+ return Qt.instance || (Qt.instance = new Qt()), Qt.instance;
16333
16325
  }
16334
16326
  };
16335
16327
  // eslint-disable-next-line no-use-before-define
16336
- Qe(Zt, "instance");
16337
- let ro = Zt;
16328
+ Qe(Qt, "instance");
16329
+ let ro = Qt;
16338
16330
  const Vi = () => ro.getInstance(), Np = Vi().getInitialDataAndSettings().then((e) => e.initialData), Hp = {
16339
16331
  getInitialData: () => Np
16340
16332
  }, Lr = () => Hp, Fp = ne(!1), qp = Vi().getInitialDataAndSettings().then((e) => (Fp.value = !0, e.settings)), jp = {
@@ -16416,65 +16408,71 @@ const g_ = { render: __ }, v_ = {}, m_ = { class: "infinity-loading" };
16416
16408
  function S_(e, t) {
16417
16409
  return Q(), oe("div", m_);
16418
16410
  }
16419
- const y_ = /* @__PURE__ */ Be(v_, [["render", S_], ["__scopeId", "data-v-8742e2de"]]), io = Pi(
16411
+ const Cl = /* @__PURE__ */ Be(v_, [["render", S_], ["__scopeId", "data-v-8742e2de"]]), io = Pi(
16420
16412
  {}
16421
- ), Cl = () => io, b_ = () => {
16413
+ ), wl = () => io, y_ = () => {
16422
16414
  typeof io.promptResponse < "u" && delete io.promptResponse;
16423
- }, jr = ne(!0), Ki = ei(), C_ = (e) => {
16415
+ }, jr = ne(!0), Ki = ei(), b_ = (e) => {
16424
16416
  Ki.value = e;
16425
16417
  };
16426
- st(() => Yi().value, C_);
16427
- const w_ = (e) => (oo("data-v-f2265532"), e = e(), ao(), e), E_ = { class: "disclaimer-container" }, k_ = /* @__PURE__ */ w_(() => /* @__PURE__ */ ee("div", { class: "disclaimer-text" }, [
16428
- /* @__PURE__ */ ee("p", { style: { "font-weight": "bold" } }, "Disclaimer"),
16429
- /* @__PURE__ */ ee("p", null, " By using this coding assistant, you acknowledge and agree the following: Any information you enter into the prompt, as well as the current code (being edited) and table headers, may be shared with OpenAI and KNIME in order to provide and improve this service. "),
16430
- /* @__PURE__ */ ee("p", null, " KNIME is not responsible for any content, input or output, or actions triggered by the generated code, and is not liable for any damages arising from or related to your use of the coding assistant. "),
16431
- /* @__PURE__ */ ee("p", null, "This is an experimental service, USE AT YOUR OWN RISK.")
16432
- ], -1)), R_ = { class: "disclaimer-button-container" }, D_ = /* @__PURE__ */ Oe({
16418
+ st(() => Yi().value, b_);
16419
+ const C_ = (e) => (oo("data-v-6d842396"), e = e(), ao(), e), w_ = { class: "disclaimer-container" }, E_ = { class: "disclaimer-box" }, k_ = /* @__PURE__ */ C_(() => /* @__PURE__ */ ee("p", { style: { "font-weight": "bold" } }, "Disclaimer", -1)), R_ = { class: "content" }, D_ = { class: "disclaimer-button-container" }, P_ = { key: 1 }, L_ = /* @__PURE__ */ Oe({
16433
16420
  __name: "AiDisclaimer",
16434
16421
  emits: ["accept-disclaimer"],
16435
16422
  setup(e, { emit: t }) {
16436
- const f = t;
16437
- return (o, l) => (Q(), oe("div", E_, [
16438
- k_,
16439
- ee("div", R_, [
16440
- fe(J(fr), {
16441
- compact: "",
16442
- primary: "",
16443
- class: "notification-button",
16444
- "data-testid": "ai-disclaimer-accept-button",
16445
- onClick: l[0] || (l[0] = (v) => f("accept-disclaimer"))
16446
- }, {
16447
- default: ve(() => [
16448
- dt(" Accept and close ")
16449
- ]),
16450
- _: 1
16451
- })
16452
- ])
16423
+ const f = ne();
16424
+ Ge(async () => {
16425
+ f.value = await zt().getAiDisclaimer();
16426
+ });
16427
+ const o = t;
16428
+ return (l, v) => (Q(), oe("div", w_, [
16429
+ f.value ? (Q(), oe(er, { key: 0 }, [
16430
+ ee("div", E_, [
16431
+ k_,
16432
+ ee("p", R_, We(f.value), 1)
16433
+ ]),
16434
+ ee("div", D_, [
16435
+ de(J(fr), {
16436
+ compact: "",
16437
+ primary: "",
16438
+ class: "notification-button",
16439
+ "data-testid": "ai-disclaimer-accept-button",
16440
+ onClick: v[0] || (v[0] = (m) => o("accept-disclaimer"))
16441
+ }, {
16442
+ default: ve(() => [
16443
+ dt(" Accept and close ")
16444
+ ]),
16445
+ _: 1
16446
+ })
16447
+ ])
16448
+ ], 64)) : (Q(), oe("div", P_, [
16449
+ de(Cl)
16450
+ ]))
16453
16451
  ]));
16454
16452
  }
16455
- }), P_ = /* @__PURE__ */ Be(D_, [["__scopeId", "data-v-f2265532"]]), L_ = {
16453
+ }), T_ = /* @__PURE__ */ Be(L_, [["__scopeId", "data-v-6d842396"]]), M_ = {
16456
16454
  xmlns: "http://www.w3.org/2000/svg",
16457
16455
  fill: "none",
16458
16456
  stroke: "#000",
16459
16457
  viewBox: "0 0 32 32"
16460
- }, T_ = /* @__PURE__ */ ee("path", {
16458
+ }, A_ = /* @__PURE__ */ ee("path", {
16461
16459
  "stroke-linejoin": "round",
16462
16460
  d: "M15.267 26.055H4.445V6.175h10.822"
16463
- }, null, -1), M_ = /* @__PURE__ */ ee("path", {
16461
+ }, null, -1), O_ = /* @__PURE__ */ ee("path", {
16464
16462
  "stroke-linejoin": "round",
16465
16463
  d: "M13 21.89v-3.525a5.025 5.025 0 0 1 5.025-5.025H27.5"
16466
- }, null, -1), A_ = /* @__PURE__ */ ee("path", {
16464
+ }, null, -1), I_ = /* @__PURE__ */ ee("path", {
16467
16465
  "stroke-linejoin": "round",
16468
16466
  d: "m21.525 19.565 6.225-6.225-6.225-6.225"
16469
- }, null, -1), O_ = [
16470
- T_,
16471
- M_,
16472
- A_
16467
+ }, null, -1), x_ = [
16468
+ A_,
16469
+ O_,
16470
+ I_
16473
16471
  ];
16474
- function I_(e, t) {
16475
- return Q(), oe("svg", L_, [...O_]);
16472
+ function B_(e, t) {
16473
+ return Q(), oe("svg", M_, [...x_]);
16476
16474
  }
16477
- const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class: "accept-decline-buttons" }, H_ = /* @__PURE__ */ Oe({
16475
+ const N_ = { render: B_ }, H_ = { class: "suggestion-container" }, F_ = { class: "accept-decline-buttons" }, q_ = /* @__PURE__ */ Oe({
16478
16476
  __name: "AiSuggestion",
16479
16477
  emits: ["accept-suggestion"],
16480
16478
  setup(e, { emit: t }) {
@@ -16482,7 +16480,7 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16482
16480
  container: o,
16483
16481
  originalModel: Ki.value.editorModel,
16484
16482
  modifiedFileName: "ai-suggestion"
16485
- }), v = Cl();
16483
+ }), v = wl();
16486
16484
  st(
16487
16485
  () => {
16488
16486
  var r;
@@ -16496,20 +16494,20 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16496
16494
  const m = () => {
16497
16495
  f("accept-suggestion", l.modifiedText.value);
16498
16496
  };
16499
- return (r, i) => (Q(), oe("div", B_, [
16497
+ return (r, i) => (Q(), oe("div", H_, [
16500
16498
  ee("div", {
16501
16499
  ref_key: "diffEditorContainer",
16502
16500
  ref: o,
16503
16501
  class: "diff-editor"
16504
16502
  }, null, 512),
16505
- ee("div", N_, [
16506
- fe(J(fr), {
16503
+ ee("div", F_, [
16504
+ de(J(fr), {
16507
16505
  "with-border": "",
16508
16506
  compact: "",
16509
16507
  onClick: m
16510
16508
  }, {
16511
16509
  default: ve(() => [
16512
- fe(J(x_)),
16510
+ de(J(N_)),
16513
16511
  dt(" Insert ")
16514
16512
  ]),
16515
16513
  _: 1
@@ -16517,31 +16515,31 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16517
16515
  ])
16518
16516
  ]));
16519
16517
  }
16520
- }), F_ = /* @__PURE__ */ Be(H_, [["__scopeId", "data-v-fadc461b"]]), Eo = (e) => (oo("data-v-ac6b75a8"), e = e(), ao(), e), q_ = { class: "popup-content" }, j_ = { class: "notification-bar" }, W_ = /* @__PURE__ */ Eo(() => /* @__PURE__ */ ee("span", { class: "notification" }, [
16518
+ }), j_ = /* @__PURE__ */ Be(q_, [["__scopeId", "data-v-fadc461b"]]), Eo = (e) => (oo("data-v-ac6b75a8"), e = e(), ao(), e), W_ = { class: "popup-content" }, z_ = { class: "notification-bar" }, U_ = /* @__PURE__ */ Eo(() => /* @__PURE__ */ ee("span", { class: "notification" }, [
16521
16519
  /* @__PURE__ */ dt(" To start generating code with our AI assistant, install the "),
16522
16520
  /* @__PURE__ */ ee("i", null, "KNIME AI Assistant"),
16523
16521
  /* @__PURE__ */ dt(" extension ")
16524
- ], -1)), z_ = { class: "notification-bar" }, U_ = /* @__PURE__ */ Eo(() => /* @__PURE__ */ ee("span", { class: "notification" }, [
16522
+ ], -1)), $_ = { class: "notification-bar" }, V_ = /* @__PURE__ */ Eo(() => /* @__PURE__ */ ee("span", { class: "notification" }, [
16525
16523
  /* @__PURE__ */ dt(" To start generating code with our AI assistant, please log into your "),
16526
16524
  /* @__PURE__ */ ee("i", null, "KNIME Hub"),
16527
16525
  /* @__PURE__ */ dt(" account ")
16528
- ], -1)), $_ = { class: "notification-bar" }, V_ = /* @__PURE__ */ Eo(() => /* @__PURE__ */ ee("span", { class: "notification" }, " Script is overwritten by a flow variable. ", -1)), K_ = [
16529
- V_
16530
- ], G_ = {
16526
+ ], -1)), K_ = { class: "notification-bar" }, G_ = /* @__PURE__ */ Eo(() => /* @__PURE__ */ ee("span", { class: "notification" }, " Script is overwritten by a flow variable. ", -1)), J_ = [
16527
+ G_
16528
+ ], X_ = {
16531
16529
  key: 0,
16532
16530
  class: "prompt-bar"
16533
- }, J_ = { class: "chat-controls-text-input" }, X_ = ["disabled"], Y_ = { class: "chat-controls-buttons" }, Z_ = {
16531
+ }, Y_ = { class: "chat-controls-text-input" }, Z_ = ["disabled"], Q_ = { class: "chat-controls-buttons" }, eg = {
16534
16532
  key: 1,
16535
16533
  class: "error-message"
16536
- }, Q_ = { class: "error-text" }, eg = {}, tg = /* @__PURE__ */ Oe({
16537
- ...eg,
16534
+ }, tg = { class: "error-text" }, rg = {}, ig = /* @__PURE__ */ Oe({
16535
+ ...rg,
16538
16536
  __name: "AiPopupContent",
16539
16537
  emits: ["request-close"],
16540
16538
  setup(e, { emit: t }) {
16541
16539
  var S;
16542
- const { textarea: f, input: o } = ch(), l = t, v = Cl(), m = ne("idle");
16540
+ const { textarea: f, input: o } = lh(), l = t, v = wl(), m = ne("idle");
16543
16541
  let r = ((S = v.promptResponse) == null ? void 0 : S.message) ?? null, i = [];
16544
- const n = sr(), c = () => {
16542
+ const n = zt(), c = () => {
16545
16543
  n == null || n.sendToService("abortSuggestCodeRequest"), m.value = "waiting";
16546
16544
  }, h = ne(null), s = (b) => {
16547
16545
  if (h.value = null, b.status === "ERROR")
@@ -16570,15 +16568,15 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16570
16568
  }, g = (b) => {
16571
16569
  b.key === "Enter" && !b.shiftKey && (b.preventDefault(), m.value !== "waiting" && d()), b.key === "ArrowUp" && !o.value && (o.value = i.length ? i[i.length - 1].content : "");
16572
16570
  }, y = (b) => {
16573
- i.push(r), m.value = "idle", Ki.value.text.value = b, b_(), l("request-close");
16571
+ i.push(r), m.value = "idle", Ki.value.text.value = b, y_(), l("request-close");
16574
16572
  };
16575
- Ze(async () => {
16573
+ Ge(async () => {
16576
16574
  const [b, w] = await Promise.all([
16577
16575
  Di().getSettings(),
16578
16576
  Lr().getInitialData()
16579
16577
  ]);
16580
- w.kAiConfig.codeAssistantInstalled ? b.settingsAreOverriddenByFlowVariable ? m.value = "readonly" : await sr().isLoggedIntoHub() || (m.value = "unauthorized") : m.value = "uninstalled";
16581
- }), nr(() => {
16578
+ w.kAiConfig.codeAssistantInstalled ? b.settingsAreOverriddenByFlowVariable ? m.value = "readonly" : await zt().isLoggedIntoHub() || (m.value = "unauthorized") : m.value = "uninstalled";
16579
+ }), or(() => {
16582
16580
  m.value === "waiting" && c();
16583
16581
  });
16584
16582
  const u = (b) => {
@@ -16591,17 +16589,17 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16591
16589
  return Lr().getInitialData().then((b) => {
16592
16590
  const w = b.kAiConfig.hubId;
16593
16591
  w !== null && (_.value = w);
16594
- }), (b, w) => (Q(), oe("div", q_, [
16595
- ht(ee("div", j_, [
16596
- W_,
16597
- fe(J(fr), {
16592
+ }), (b, w) => (Q(), oe("div", W_, [
16593
+ ht(ee("div", z_, [
16594
+ U_,
16595
+ de(J(fr), {
16598
16596
  compact: "",
16599
16597
  primary: "",
16600
16598
  to: "https://hub.knime.com/knime/extensions/org.knime.features.ai.assistant/latest",
16601
16599
  class: "notification-button"
16602
16600
  }, {
16603
16601
  default: ve(() => [
16604
- fe(J(u_)),
16602
+ de(J(u_)),
16605
16603
  dt("Download from KNIME Hub ")
16606
16604
  ]),
16607
16605
  _: 1
@@ -16609,38 +16607,38 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16609
16607
  ], 512), [
16610
16608
  [It, m.value === "uninstalled"]
16611
16609
  ]),
16612
- ht(ee("div", z_, [
16613
- U_,
16614
- fe(J(fr), {
16610
+ ht(ee("div", $_, [
16611
+ V_,
16612
+ de(J(fr), {
16615
16613
  compact: "",
16616
16614
  primary: "",
16617
16615
  class: "notification-button",
16618
16616
  onClick: w[0] || (w[0] = (E) => p())
16619
16617
  }, {
16620
16618
  default: ve(() => [
16621
- dt(" Login to " + Ve(_.value), 1)
16619
+ dt(" Login to " + We(_.value), 1)
16622
16620
  ]),
16623
16621
  _: 1
16624
16622
  })
16625
16623
  ], 512), [
16626
16624
  [It, m.value === "unauthorized"]
16627
16625
  ]),
16628
- ht(ee("div", $_, K_, 512), [
16626
+ ht(ee("div", K_, J_, 512), [
16629
16627
  [It, m.value === "readonly"]
16630
16628
  ]),
16631
16629
  ht(ee("div", null, [
16632
- fe(ls, { name: "disclaimer-slide-fade" }, {
16630
+ de(ls, { name: "disclaimer-slide-fade" }, {
16633
16631
  default: ve(() => [
16634
- J(jr) ? (Q(), Ae(P_, {
16632
+ J(jr) ? (Q(), Ae(T_, {
16635
16633
  key: 0,
16636
16634
  onAcceptDisclaimer: w[1] || (w[1] = (E) => jr.value = !1)
16637
16635
  })) : xe("", !0)
16638
16636
  ]),
16639
16637
  _: 1
16640
16638
  }),
16641
- fe(ls, { name: "slide-fade" }, {
16639
+ de(ls, { name: "slide-fade" }, {
16642
16640
  default: ve(() => [
16643
- J(v).promptResponse ? (Q(), Ae(F_, {
16641
+ J(v).promptResponse ? (Q(), Ae(j_, {
16644
16642
  key: 0,
16645
16643
  class: "ai-suggestion",
16646
16644
  onAcceptSuggestion: y
@@ -16651,14 +16649,14 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16651
16649
  ee("div", {
16652
16650
  class: Ke(["chat-controls", { "chat-controls-border-top": a.value }])
16653
16651
  }, [
16654
- fe(ls, { name: "slide-fade" }, {
16652
+ de(ls, { name: "slide-fade" }, {
16655
16653
  default: ve(() => [
16656
- J(v).promptResponse ? (Q(), oe("div", G_, Ve(J(v).promptResponse.message.content), 1)) : xe("", !0)
16654
+ J(v).promptResponse ? (Q(), oe("div", X_, We(J(v).promptResponse.message.content), 1)) : xe("", !0)
16657
16655
  ]),
16658
16656
  _: 1
16659
16657
  }),
16660
- m.value === "waiting" ? (Q(), Ae(y_, { key: 0 })) : xe("", !0),
16661
- ee("div", J_, [
16658
+ m.value === "waiting" ? (Q(), Ae(Cl, { key: 0 })) : xe("", !0),
16659
+ ee("div", Y_, [
16662
16660
  ht(ee("textarea", {
16663
16661
  ref_key: "textarea",
16664
16662
  ref: f,
@@ -16668,10 +16666,10 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16668
16666
  placeholder: "Describe your task",
16669
16667
  wrap: "soft",
16670
16668
  onKeydown: g
16671
- }, null, 40, X_), [
16672
- [Ol, J(o)]
16669
+ }, null, 40, Z_), [
16670
+ [Il, J(o)]
16673
16671
  ]),
16674
- ee("div", Y_, [
16672
+ ee("div", Q_, [
16675
16673
  m.value === "error" || m.value === "idle" ? (Q(), Ae(J(Lo), {
16676
16674
  key: 0,
16677
16675
  ref: "sendButton",
@@ -16682,7 +16680,7 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16682
16680
  onClick: d
16683
16681
  }, {
16684
16682
  default: ve(() => [
16685
- fe(J(g_), { class: "icon" })
16683
+ de(J(g_), { class: "icon" })
16686
16684
  ]),
16687
16685
  _: 1
16688
16686
  }, 8, ["disabled"])) : xe("", !0),
@@ -16694,15 +16692,15 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16694
16692
  onClick: c
16695
16693
  }, {
16696
16694
  default: ve(() => [
16697
- fe(J(Qp), { class: "icon" })
16695
+ de(J(Qp), { class: "icon" })
16698
16696
  ]),
16699
16697
  _: 1
16700
16698
  }, 512)) : xe("", !0)
16701
16699
  ])
16702
16700
  ]),
16703
- m.value === "error" ? (Q(), oe("div", Z_, [
16704
- fe(J(o_), { class: "error-icon" }),
16705
- ee("span", Q_, Ve(h.value), 1)
16701
+ m.value === "error" ? (Q(), oe("div", eg, [
16702
+ de(J(o_), { class: "error-icon" }),
16703
+ ee("span", tg, We(h.value), 1)
16706
16704
  ])) : xe("", !0)
16707
16705
  ], 2)
16708
16706
  ], 512), [
@@ -16713,8 +16711,8 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16713
16711
  ])
16714
16712
  ]));
16715
16713
  }
16716
- }), rg = /* @__PURE__ */ Be(tg, [["__scopeId", "data-v-ac6b75a8"]]), ig = (e) => (oo("data-v-f3b7a3ce"), e = e(), ao(), e), sg = { class: "button-container" }, ng = { class: "popup-anchor" }, og = /* @__PURE__ */ ig(() => /* @__PURE__ */ ee("div", { class: "arrow" }, null, -1)), ag = {}, cg = /* @__PURE__ */ Oe({
16717
- ...ag,
16714
+ }), sg = /* @__PURE__ */ Be(ig, [["__scopeId", "data-v-ac6b75a8"]]), ng = (e) => (oo("data-v-f3b7a3ce"), e = e(), ao(), e), og = { class: "button-container" }, ag = { class: "popup-anchor" }, cg = /* @__PURE__ */ ng(() => /* @__PURE__ */ ee("div", { class: "arrow" }, null, -1)), lg = {}, hg = /* @__PURE__ */ Oe({
16715
+ ...lg,
16718
16716
  __name: "AiButton",
16719
16717
  props: {
16720
16718
  currentPaneSizes: {},
@@ -16731,7 +16729,7 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16731
16729
  const n = [
16732
16730
  ...document.querySelectorAll(".splitpanes__splitter")
16733
16731
  ];
16734
- ih(
16732
+ sh(
16735
16733
  l,
16736
16734
  () => {
16737
16735
  t.value = !1;
@@ -16741,10 +16739,10 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16741
16739
  }, i = ye(
16742
16740
  () => Math.max(m.currentPaneSizes.left, 0)
16743
16741
  );
16744
- return Ze(() => {
16742
+ return Ge(() => {
16745
16743
  r();
16746
- }), (n, c) => (Q(), oe("div", sg, [
16747
- ee("div", ng, [
16744
+ }), (n, c) => (Q(), oe("div", og, [
16745
+ ee("div", ag, [
16748
16746
  t.value ? (Q(), oe("div", {
16749
16747
  key: 0,
16750
16748
  ref_key: "aiBarPopupRef",
@@ -16755,10 +16753,10 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16755
16753
  "--left-splitter-position": `${i.value}vw`
16756
16754
  })
16757
16755
  }, [
16758
- fe(rg, {
16756
+ de(sg, {
16759
16757
  onRequestClose: c[0] || (c[0] = (h) => t.value = !1)
16760
16758
  }),
16761
- og
16759
+ cg
16762
16760
  ], 4)) : xe("", !0)
16763
16761
  ]),
16764
16762
  J(f) ? (Q(), Ae(J(fr), {
@@ -16775,14 +16773,14 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16775
16773
  onClick: c[1] || (c[1] = (h) => t.value = !t.value)
16776
16774
  }, {
16777
16775
  default: ve(() => [
16778
- fe(J(Gp), { viewBox: "0 0 32 32" }),
16779
- dt(" " + Ve(n.showButtonText ? "Ask K-AI" : ""), 1)
16776
+ de(J(Gp), { viewBox: "0 0 32 32" }),
16777
+ dt(" " + We(n.showButtonText ? "Ask K-AI" : ""), 1)
16780
16778
  ]),
16781
16779
  _: 1
16782
16780
  }, 8, ["disabled", "class"])) : xe("", !0)
16783
16781
  ]));
16784
16782
  }
16785
- }), lg = /* @__PURE__ */ Be(cg, [["__scopeId", "data-v-f3b7a3ce"]]), hg = { class: "controls" }, ug = { class: "button-controls" }, dg = /* @__PURE__ */ Oe({
16783
+ }), ug = /* @__PURE__ */ Be(hg, [["__scopeId", "data-v-f3b7a3ce"]]), dg = { class: "controls" }, fg = { class: "button-controls" }, pg = /* @__PURE__ */ Oe({
16786
16784
  __name: "CodeEditorControlBar",
16787
16785
  props: {
16788
16786
  currentPaneSizes: {
@@ -16796,33 +16794,33 @@ const x_ = { render: I_ }, B_ = { class: "suggestion-container" }, N_ = { class:
16796
16794
  },
16797
16795
  setup(e) {
16798
16796
  const t = e;
16799
- return (f, o) => (Q(), oe("div", hg, [
16800
- fe(lg, {
16797
+ return (f, o) => (Q(), oe("div", dg, [
16798
+ de(ug, {
16801
16799
  "current-pane-sizes": t.currentPaneSizes,
16802
16800
  "show-button-text": e.showButtonText
16803
16801
  }, null, 8, ["current-pane-sizes", "show-button-text"]),
16804
- ee("div", ug, [
16802
+ ee("div", fg, [
16805
16803
  qe(f.$slots, "controls", {}, void 0, !0)
16806
16804
  ])
16807
16805
  ]));
16808
16806
  }
16809
- }), fg = /* @__PURE__ */ Be(dg, [["__scopeId", "data-v-7ab3671a"]]), pg = {
16807
+ }), _g = /* @__PURE__ */ Be(pg, [["__scopeId", "data-v-7ab3671a"]]), gg = {
16810
16808
  xmlns: "http://www.w3.org/2000/svg",
16811
16809
  fill: "none",
16812
16810
  stroke: "#000",
16813
16811
  "stroke-linecap": "round",
16814
16812
  viewBox: "0 0 32 32"
16815
- }, _g = /* @__PURE__ */ ee("line", { transform: "matrix(3 0 0 3 16 8)" }, null, -1), gg = /* @__PURE__ */ ee("line", { transform: "matrix(3 0 0 3 16 16)" }, null, -1), vg = /* @__PURE__ */ ee("line", { transform: "matrix(3 0 0 3 16 24)" }, null, -1), mg = [
16816
- _g,
16817
- gg,
16818
- vg
16813
+ }, vg = /* @__PURE__ */ ee("line", { transform: "matrix(3 0 0 3 16 8)" }, null, -1), mg = /* @__PURE__ */ ee("line", { transform: "matrix(3 0 0 3 16 16)" }, null, -1), Sg = /* @__PURE__ */ ee("line", { transform: "matrix(3 0 0 3 16 24)" }, null, -1), yg = [
16814
+ vg,
16815
+ mg,
16816
+ Sg
16819
16817
  ];
16820
- function Sg(e, t) {
16821
- return Q(), oe("svg", pg, [...mg]);
16818
+ function bg(e, t) {
16819
+ return Q(), oe("svg", gg, [...yg]);
16822
16820
  }
16823
- const yg = { render: Sg }, bg = Oe({
16821
+ const Cg = { render: bg }, wg = Oe({
16824
16822
  name: "HeaderBar",
16825
- components: { SubMenu: ql, MenuIcon: yg },
16823
+ components: { SubMenu: jl, MenuIcon: Cg },
16826
16824
  props: {
16827
16825
  title: {
16828
16826
  type: String,
@@ -16844,28 +16842,28 @@ const yg = { render: Sg }, bg = Oe({
16844
16842
  this.$emit("menu-item-click", { event: e, item: t });
16845
16843
  }
16846
16844
  }
16847
- }), Cg = { class: "container" }, wg = { class: "title" }, Eg = {
16845
+ }), Eg = { class: "container" }, kg = { class: "title" }, Rg = {
16848
16846
  key: 0,
16849
16847
  class: "menu"
16850
16848
  };
16851
- function kg(e, t, f, o, l, v) {
16849
+ function Dg(e, t, f, o, l, v) {
16852
16850
  const m = Ro("MenuIcon"), r = Ro("SubMenu");
16853
- return Q(), oe("div", Cg, [
16854
- ee("div", wg, Ve(e.title), 1),
16855
- e.hasMenu ? (Q(), oe("div", Eg, [
16856
- fe(r, {
16851
+ return Q(), oe("div", Eg, [
16852
+ ee("div", kg, We(e.title), 1),
16853
+ e.hasMenu ? (Q(), oe("div", Rg, [
16854
+ de(r, {
16857
16855
  items: e.menuItems,
16858
16856
  onItemClick: e.menuItemClicked
16859
16857
  }, {
16860
16858
  default: ve(() => [
16861
- fe(m, { class: "open-icon" })
16859
+ de(m, { class: "open-icon" })
16862
16860
  ]),
16863
16861
  _: 1
16864
16862
  }, 8, ["items", "onItemClick"])
16865
16863
  ])) : xe("", !0)
16866
16864
  ]);
16867
16865
  }
16868
- const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d7"]]), Dg = { class: "editor-container" }, Pg = /* @__PURE__ */ Oe({
16866
+ const Pg = /* @__PURE__ */ Be(wg, [["render", Dg], ["__scopeId", "data-v-bbbe81d7"]]), Lg = { class: "editor-container" }, Tg = /* @__PURE__ */ Oe({
16869
16867
  __name: "MainEditorPane",
16870
16868
  props: {
16871
16869
  showControlBar: { type: Boolean },
@@ -16888,7 +16886,7 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
16888
16886
  l.textToInsert,
16889
16887
  (v = l.extraArgs) == null ? void 0 : v.requiredImport
16890
16888
  );
16891
- }), Ze(async () => {
16889
+ }), Ge(async () => {
16892
16890
  var r;
16893
16891
  const l = await Di().getSettings();
16894
16892
  o.setInitialText(l.script), Ri().value = l.settingsAreOverriddenByFlowVariable ?? !1, (r = o.editor.value) == null || r.updateOptions({
@@ -16912,7 +16910,7 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
16912
16910
  (navigator.userAgent.toLowerCase().includes("mac") ? l.metaKey : l.ctrlKey) && ((m = o.editor.value) == null || m.trigger("window", "undo", {}));
16913
16911
  }), Di().registerSettingsGetterForApply(
16914
16912
  () => t.toSettings({ script: o.text.value ?? "" })
16915
- ), (l, v) => (Q(), oe("div", Dg, [
16913
+ ), (l, v) => (Q(), oe("div", Lg, [
16916
16914
  ee("div", {
16917
16915
  ref_key: "editorRef",
16918
16916
  ref: f,
@@ -16921,7 +16919,7 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
16921
16919
  }, null, 544)
16922
16920
  ]));
16923
16921
  }
16924
- }), Lg = { class: "port-table" }, Tg = { key: 1 }, Mg = /* @__PURE__ */ Oe({
16922
+ }), Mg = { class: "port-table" }, Ag = { key: 1 }, Og = /* @__PURE__ */ Oe({
16925
16923
  __name: "InputPortTableView",
16926
16924
  props: {
16927
16925
  inputNodeId: {},
@@ -16978,8 +16976,8 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
16978
16976
  showDataValueView: m,
16979
16977
  closeDataValueView: m
16980
16978
  };
16981
- return Ze(async () => {
16982
- v.value = (await rr.getInstance()).baseService;
16979
+ return Ge(async () => {
16980
+ v.value = (await sr.getInstance()).baseService;
16983
16981
  }), Ac(() => {
16984
16982
  v.value !== null && v.value.callKnimeUiApi("PortService.getPortView", {
16985
16983
  nodeId: t.inputNodeId,
@@ -16992,24 +16990,24 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
16992
16990
  }).catch((i) => {
16993
16991
  consola.error("Error while fetching data", i), f.value = !1;
16994
16992
  });
16995
- }), nr(() => {
16993
+ }), or(() => {
16996
16994
  var i;
16997
16995
  (i = v.value) == null || i.callKnimeUiApi("PortService.deactivatePortDataServices", {
16998
16996
  nodeId: t.inputNodeId,
16999
16997
  portIdx: t.portIdx,
17000
16998
  viewIdx: t.viewIdx
17001
16999
  }), f.value = !1;
17002
- }), (i, n) => (Q(), oe("div", Lg, [
17000
+ }), (i, n) => (Q(), oe("div", Mg, [
17003
17001
  f.value ? (Q(), Ae(J(ll), {
17004
17002
  key: 0,
17005
17003
  "api-layer": r,
17006
17004
  "extension-config": o.value,
17007
17005
  "resource-location": l.value,
17008
17006
  "shadow-app-style": { height: "100%", width: "100%", overflowX: "scroll" }
17009
- }, null, 8, ["extension-config", "resource-location"])) : (Q(), oe("div", Tg, "No data available"))
17007
+ }, null, 8, ["extension-config", "resource-location"])) : (Q(), oe("div", Ag, "No data available"))
17010
17008
  ]));
17011
17009
  }
17012
- }), Ag = /* @__PURE__ */ Be(Mg, [["__scopeId", "data-v-6b51bd57"]]), Og = { style: { height: "100%", width: "100%" } }, Ig = { class: "view-value-switch" }, xg = /* @__PURE__ */ Oe({
17010
+ }), Ig = /* @__PURE__ */ Be(Og, [["__scopeId", "data-v-6b51bd57"]]), xg = { style: { height: "100%", width: "100%" } }, Bg = { class: "view-value-switch" }, Ng = /* @__PURE__ */ Oe({
17013
17011
  __name: "InputPortTables",
17014
17012
  props: {
17015
17013
  inputNodeId: {},
@@ -17028,9 +17026,9 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
17028
17026
  return (v = t.portViewConfigs.find((m) => m.label === o.value)) == null ? void 0 : v.portViewIdx;
17029
17027
  }
17030
17028
  );
17031
- return (v, m) => (Q(), oe("div", Og, [
17032
- ee("div", Ig, [
17033
- fe(J(jl), {
17029
+ return (v, m) => (Q(), oe("div", xg, [
17030
+ ee("div", Bg, [
17031
+ de(J(Wl), {
17034
17032
  modelValue: o.value,
17035
17033
  "onUpdate:modelValue": m[0] || (m[0] = (r) => o.value = r),
17036
17034
  name: `port-view-config-selector-${t.portIdx}`,
@@ -17038,7 +17036,7 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
17038
17036
  "possible-values": f.value
17039
17037
  }, null, 8, ["modelValue", "name", "possible-values"])
17040
17038
  ]),
17041
- l.value ? (Q(), Ae(Ag, {
17039
+ l.value ? (Q(), Ae(Ig, {
17042
17040
  key: 0,
17043
17041
  "input-node-id": t.inputNodeId,
17044
17042
  "port-idx": t.portIdx,
@@ -17046,9 +17044,9 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
17046
17044
  }, null, 8, ["input-node-id", "port-idx", "view-idx"])) : xe("", !0)
17047
17045
  ]));
17048
17046
  }
17049
- }), Bg = /* @__PURE__ */ Be(xg, [["__scopeId", "data-v-ad87bfef"]]), Ng = { class: "scripting-editor-bottom-pane" }, Hg = { class: "tab-bar-and-buttons" }, Fg = { class: "tab-bar-buttons" }, qg = /* @__PURE__ */ Oe({
17047
+ }), Hg = /* @__PURE__ */ Be(Ng, [["__scopeId", "data-v-ad87bfef"]]), Fg = { class: "scripting-editor-bottom-pane" }, qg = { class: "tab-bar-and-buttons" }, jg = { class: "tab-bar-buttons" }, Wg = /* @__PURE__ */ Oe({
17050
17048
  __name: "ScriptingEditorBottomPane",
17051
- props: /* @__PURE__ */ Il({
17049
+ props: /* @__PURE__ */ xl({
17052
17050
  slottedTabs: { default: () => [] }
17053
17051
  }, {
17054
17052
  modelValue: {},
@@ -17056,12 +17054,12 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
17056
17054
  }),
17057
17055
  emits: ["update:modelValue"],
17058
17056
  setup(e) {
17059
- const t = Xi(), f = e, o = (c, h) => `bottomPaneTabSlot:${c}-${h}`, l = (c) => o(c.nodeId, c.portIdx), v = xl(e, "modelValue"), m = (c) => () => {
17057
+ const t = Xi(), f = e, o = (c, h) => `bottomPaneTabSlot:${c}-${h}`, l = (c) => o(c.nodeId, c.portIdx), v = Bl(e, "modelValue"), m = (c) => () => {
17060
17058
  v.value = c;
17061
17059
  }, r = Li(
17062
17060
  async () => {
17063
17061
  const c = (await Lr().getInitialData()).inputPortConfigs.inputPorts.filter((h) => h.nodeId !== null);
17064
- return await sr().isCallKnimeUiApiAvailable(c[0]) ? {
17062
+ return await zt().isCallKnimeUiApiAvailable(c[0]) ? {
17065
17063
  inputPorts: c
17066
17064
  } : {
17067
17065
  inputPorts: []
@@ -17079,17 +17077,17 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
17079
17077
  label: c.label
17080
17078
  })
17081
17079
  ));
17082
- return (c, h) => (Q(), oe("div", Ng, [
17083
- ee("span", Hg, [
17084
- fe(dh, {
17080
+ return (c, h) => (Q(), oe("div", Fg, [
17081
+ ee("span", qg, [
17082
+ de(fh, {
17085
17083
  modelValue: v.value,
17086
17084
  "onUpdate:modelValue": h[0] || (h[0] = (s) => v.value = s),
17087
17085
  class: Ke(["scripting-editor-tab-bar", { "focus-painted": J(t) }]),
17088
17086
  "possible-values": n.value
17089
17087
  }, null, 8, ["modelValue", "possible-values", "class"]),
17090
- ee("span", Fg, [
17088
+ ee("span", jg, [
17091
17089
  qe(c.$slots, "status-label", {}, void 0, !0),
17092
- (Q(!0), oe(ur, null, Qt(f.slottedTabs, (s) => ht((Q(), oe("div", {
17090
+ (Q(!0), oe(er, null, tr(f.slottedTabs, (s) => ht((Q(), oe("div", {
17093
17091
  key: s.value
17094
17092
  }, [
17095
17093
  qe(c.$slots, s.associatedControlsSlotName, {}, void 0, !0)
@@ -17098,7 +17096,7 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
17098
17096
  ])), 128))
17099
17097
  ])
17100
17098
  ]),
17101
- (Q(!0), oe(ur, null, Qt(J(r).inputPorts, (s) => ht((Q(), Ae(Bg, {
17099
+ (Q(!0), oe(er, null, tr(J(r).inputPorts, (s) => ht((Q(), Ae(Hg, {
17102
17100
  key: s.portName,
17103
17101
  "input-node-id": s.nodeId,
17104
17102
  "port-idx": s.portIdx,
@@ -17106,7 +17104,7 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
17106
17104
  }, null, 8, ["input-node-id", "port-idx", "port-view-configs"])), [
17107
17105
  [It, v.value === l(s)]
17108
17106
  ])), 128)),
17109
- (Q(!0), oe(ur, null, Qt(f.slottedTabs, (s) => ht((Q(), oe("div", {
17107
+ (Q(!0), oe(er, null, tr(f.slottedTabs, (s) => ht((Q(), oe("div", {
17110
17108
  key: s.value,
17111
17109
  class: "tab-content"
17112
17110
  }, [
@@ -17118,33 +17116,33 @@ const Rg = /* @__PURE__ */ Be(bg, [["render", kg], ["__scopeId", "data-v-bbbe81d
17118
17116
  ])), 128))
17119
17117
  ]));
17120
17118
  }
17121
- }), jg = /* @__PURE__ */ Be(qg, [["__scopeId", "data-v-16277859"]]), Wg = {
17119
+ }), zg = /* @__PURE__ */ Be(Wg, [["__scopeId", "data-v-16277859"]]), Ug = {
17122
17120
  xmlns: "http://www.w3.org/2000/svg",
17123
17121
  fill: "none",
17124
17122
  stroke: "#000",
17125
17123
  "stroke-linejoin": "round",
17126
17124
  viewBox: "0 0 32 32"
17127
- }, zg = /* @__PURE__ */ ee("path", { d: "m14.9 27-11-11 11-11m-11 11h24.2" }, null, -1), Ug = [
17128
- zg
17125
+ }, $g = /* @__PURE__ */ ee("path", { d: "m14.9 27-11-11 11-11m-11 11h24.2" }, null, -1), Vg = [
17126
+ $g
17129
17127
  ];
17130
- function $g(e, t) {
17131
- return Q(), oe("svg", Wg, [...Ug]);
17128
+ function Kg(e, t) {
17129
+ return Q(), oe("svg", Ug, [...Vg]);
17132
17130
  }
17133
- const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arrow-left" }, Jg = { class: "settings-content" }, Xg = /* @__PURE__ */ Oe({
17131
+ const Gg = { render: Kg }, Jg = { class: "settings-title" }, Xg = { class: "arrow-left" }, Yg = { class: "settings-content" }, Zg = /* @__PURE__ */ Oe({
17134
17132
  __name: "SettingsPage",
17135
17133
  emits: ["close-settings-page"],
17136
17134
  setup(e, { emit: t }) {
17137
17135
  const f = t;
17138
- return (o, l) => (Q(), oe(ur, null, [
17139
- ee("div", Kg, [
17140
- fe(J(fr), {
17136
+ return (o, l) => (Q(), oe(er, null, [
17137
+ ee("div", Jg, [
17138
+ de(J(fr), {
17141
17139
  class: "back-button",
17142
17140
  "with-border": !1,
17143
17141
  onClick: l[0] || (l[0] = (v) => f("close-settings-page"))
17144
17142
  }, {
17145
17143
  default: ve(() => [
17146
- ee("div", Gg, [
17147
- fe(J(Vg))
17144
+ ee("div", Xg, [
17145
+ de(J(Gg))
17148
17146
  ])
17149
17147
  ]),
17150
17148
  _: 1
@@ -17153,15 +17151,15 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17153
17151
  qe(o.$slots, "settings-title", {}, void 0, !0)
17154
17152
  ])
17155
17153
  ]),
17156
- ee("div", Jg, [
17154
+ ee("div", Yg, [
17157
17155
  qe(o.$slots, "settings-content", {}, void 0, !0)
17158
17156
  ])
17159
17157
  ], 64));
17160
17158
  }
17161
- }), Yg = /* @__PURE__ */ Be(Xg, [["__scopeId", "data-v-1037c6a3"]]), Zg = { class: "layout" }, Qg = { class: "editor-and-control-bar" }, ev = {
17159
+ }), Qg = /* @__PURE__ */ Be(Zg, [["__scopeId", "data-v-1037c6a3"]]), ev = { class: "layout" }, tv = { class: "editor-and-control-bar" }, rv = {
17162
17160
  key: 0,
17163
17161
  class: "editor-slot-container"
17164
- }, tv = { class: "run-button-panel" }, rv = /* @__PURE__ */ Oe({
17162
+ }, iv = { class: "run-button-panel" }, sv = /* @__PURE__ */ Oe({
17165
17163
  __name: "ScriptingEditor",
17166
17164
  props: {
17167
17165
  title: { default: null },
@@ -17226,14 +17224,14 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17226
17224
  return F.outputObjects && z.push(...F.outputObjects), z;
17227
17225
  }
17228
17226
  }, []);
17229
- return (F, z) => (Q(), oe("div", Zg, [
17230
- !J(h) && F.title !== null ? (Q(), Ae(Rg, {
17227
+ return (F, z) => (Q(), oe("div", ev, [
17228
+ !J(h) && F.title !== null ? (Q(), Ae(Pg, {
17231
17229
  key: 0,
17232
17230
  title: F.title,
17233
17231
  "menu-items": [...f, ...F.menuItems],
17234
17232
  onMenuItemClick: R
17235
17233
  }, null, 8, ["title", "menu-items"])) : xe("", !0),
17236
- A.value ? (Q(), Ae(Yg, {
17234
+ A.value ? (Q(), Ae(Qg, {
17237
17235
  key: 1,
17238
17236
  onCloseSettingsPage: z[0] || (z[0] = (K) => A.value = !1)
17239
17237
  }, {
@@ -17245,7 +17243,7 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17245
17243
  ]),
17246
17244
  _: 3
17247
17245
  })) : xe("", !0),
17248
- ht(fe(J(bs), {
17246
+ ht(de(J(bs), {
17249
17247
  ref_key: "rootSplitPane",
17250
17248
  ref: r,
17251
17249
  "data-testid": "mainSplitpane",
@@ -17265,14 +17263,14 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17265
17263
  onResized: z[7] || (z[7] = (K) => J(S)("left"))
17266
17264
  }, {
17267
17265
  default: ve(() => [
17268
- ht(fe(J(hr), {
17266
+ ht(de(J(ur), {
17269
17267
  "data-testid": "leftPane",
17270
17268
  size: J(g).left,
17271
17269
  class: "scrollable-y"
17272
17270
  }, {
17273
17271
  default: ve(() => [
17274
17272
  qe(F.$slots, "left-pane", {}, () => [
17275
- fe(Yd, {
17273
+ de(Yd, {
17276
17274
  "input-output-items": J(j),
17277
17275
  onDropEventHandlerCreated: M
17278
17276
  }, null, 8, ["input-output-items"])
@@ -17282,13 +17280,13 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17282
17280
  }, 8, ["size"]), [
17283
17281
  [It, !J(d)]
17284
17282
  ]),
17285
- fe(J(hr), {
17283
+ de(J(ur), {
17286
17284
  "data-testid": "mainPane",
17287
17285
  size: J(C),
17288
17286
  "min-size": "40"
17289
17287
  }, {
17290
17288
  default: ve(() => [
17291
- fe(J(bs), {
17289
+ de(J(bs), {
17292
17290
  "data-testid": "horizontalSplitpane",
17293
17291
  horizontal: "",
17294
17292
  class: Ke(["common-splitter horizontal-splitpane", {
@@ -17300,13 +17298,13 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17300
17298
  onResize: z[4] || (z[4] = (K) => J(_)(K[1].size, "bottom"))
17301
17299
  }, {
17302
17300
  default: ve(() => [
17303
- fe(J(hr), {
17301
+ de(J(ur), {
17304
17302
  "data-testid": "topPane",
17305
17303
  size: J(k),
17306
17304
  "min-size": "40"
17307
17305
  }, {
17308
17306
  default: ve(() => [
17309
- fe(J(bs), {
17307
+ de(J(bs), {
17310
17308
  "data-testid": "verticalSplitpane",
17311
17309
  class: Ke(["common-splitter unset-transition vertical-splitpane", {
17312
17310
  "slim-splitter": !v.value,
@@ -17318,7 +17316,7 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17318
17316
  onResized: z[2] || (z[2] = (K) => J(_)(K[1].size, "right"))
17319
17317
  }, {
17320
17318
  default: ve(() => [
17321
- fe(J(hr), {
17319
+ de(J(ur), {
17322
17320
  ref_key: "editorSplitPane",
17323
17321
  ref: n,
17324
17322
  "data-testid": "editorPane",
@@ -17326,15 +17324,15 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17326
17324
  "min-size": "25"
17327
17325
  }, {
17328
17326
  default: ve(() => [
17329
- ee("div", Qg, [
17327
+ ee("div", tv, [
17330
17328
  ee("div", {
17331
17329
  class: Ke(["multi-editor-container", {
17332
17330
  "has-control-bar": B.value
17333
17331
  }])
17334
17332
  }, [
17335
- F.$slots.editor ? (Q(), oe("div", ev, [
17333
+ F.$slots.editor ? (Q(), oe("div", rv, [
17336
17334
  qe(F.$slots, "editor", {}, void 0, !0)
17337
- ])) : (Q(), Ae(Pg, {
17335
+ ])) : (Q(), Ae(Tg, {
17338
17336
  key: 1,
17339
17337
  "file-name": o.fileName,
17340
17338
  language: o.language,
@@ -17343,8 +17341,8 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17343
17341
  "to-settings": o.toSettings,
17344
17342
  "model-or-view": o.modelOrView
17345
17343
  }, null, 8, ["file-name", "language", "show-control-bar", "drop-event-handler", "to-settings", "model-or-view"])),
17346
- ee("div", tv, [
17347
- B.value ? (Q(), Ae(fg, {
17344
+ ee("div", iv, [
17345
+ B.value ? (Q(), Ae(_g, {
17348
17346
  key: 0,
17349
17347
  "current-pane-sizes": J(g),
17350
17348
  "show-button-text": J(w)
@@ -17360,7 +17358,7 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17360
17358
  ]),
17361
17359
  _: 3
17362
17360
  }, 8, ["size"]),
17363
- fe(J(hr), {
17361
+ de(J(ur), {
17364
17362
  "data-testid": "rightPane",
17365
17363
  size: J(g).right,
17366
17364
  class: "right-pane",
@@ -17377,24 +17375,24 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17377
17375
  ]),
17378
17376
  _: 3
17379
17377
  }, 8, ["size"]),
17380
- fe(J(hr), {
17378
+ de(J(ur), {
17381
17379
  "data-testid": "bottomPane",
17382
17380
  size: J(g).bottom
17383
17381
  }, {
17384
17382
  default: ve(() => [
17385
- fe(jg, { "slotted-tabs": F.additionalBottomPaneTabContent }, Bl({
17383
+ de(zg, { "slotted-tabs": F.additionalBottomPaneTabContent }, Nl({
17386
17384
  "status-label": ve(() => [
17387
17385
  qe(F.$slots, "bottom-pane-status-label", {}, void 0, !0)
17388
17386
  ]),
17389
17387
  _: 2
17390
17388
  }, [
17391
- Qt(F.additionalBottomPaneTabContent, (K) => ({
17389
+ tr(F.additionalBottomPaneTabContent, (K) => ({
17392
17390
  name: K.slotName,
17393
17391
  fn: ve(({ grabFocus: D }) => [
17394
17392
  qe(F.$slots, K.slotName, { grabFocus: D }, void 0, !0)
17395
17393
  ])
17396
17394
  })),
17397
- Qt(F.additionalBottomPaneTabContent, (K) => ({
17395
+ tr(F.additionalBottomPaneTabContent, (K) => ({
17398
17396
  name: K.associatedControlsSlotName,
17399
17397
  fn: ve(() => [
17400
17398
  K.associatedControlsSlotName ? qe(F.$slots, K.associatedControlsSlotName, { key: 0 }, void 0, !0) : xe("", !0)
@@ -17417,25 +17415,25 @@ const Vg = { render: $g }, Kg = { class: "settings-title" }, Gg = { class: "arro
17417
17415
  ])
17418
17416
  ]));
17419
17417
  }
17420
- }), dv = /* @__PURE__ */ Be(rv, [["__scopeId", "data-v-e324a655"]]);
17418
+ }), pv = /* @__PURE__ */ Be(sv, [["__scopeId", "data-v-e324a655"]]);
17421
17419
  export {
17422
17420
  Gs as COLUMN_INSERTION_EVENT,
17423
- dh as CompactTabBar,
17421
+ fh as CompactTabBar,
17424
17422
  Yd as InputOutputPane,
17425
17423
  Ip as MIN_WIDTH_FOR_DISPLAYING_LEFT_PANE,
17426
17424
  Op as MIN_WIDTH_FOR_DISPLAYING_PANES,
17427
- cv as OutputConsole,
17428
- uv as OutputTablePreview,
17429
- dv as ScriptingEditor,
17425
+ hv as OutputConsole,
17426
+ fv as OutputTablePreview,
17427
+ pv as ScriptingEditor,
17430
17428
  ul as consoleHandler,
17431
17429
  Jd as editor,
17432
17430
  Lr as getInitialDataService,
17433
- sr as getScriptingService,
17431
+ zt as getScriptingService,
17434
17432
  Di as getSettingsService,
17435
- hv as initConsoleEventHandler,
17433
+ dv as initConsoleEventHandler,
17436
17434
  Vs as insertionEventHelper,
17437
- C_ as setActiveEditorStoreForAi,
17438
- lv as setConsoleHandler,
17435
+ b_ as setActiveEditorStoreForAi,
17436
+ uv as setConsoleHandler,
17439
17437
  Ri as useReadonlyStore,
17440
17438
  Xi as useShouldFocusBePainted
17441
17439
  };