@guihz/trading-vue-editor-tes 0.0.134 → 0.0.136

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. package/lib/assets/{parserTccWorker-CpxYiTUZ.js → parserTccWorker-cirR5d2e.js} +6 -6
  2. package/lib/trading-vue-editor.js +248 -254
  3. package/lib/trading-vue-editor.umd.cjs +24 -24
  4. package/package.json +1 -1
  5. package/lib/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  6. package/lib/vs/base/common/worker/simpleWorker.nls.de.js +0 -8
  7. package/lib/vs/base/common/worker/simpleWorker.nls.es.js +0 -8
  8. package/lib/vs/base/common/worker/simpleWorker.nls.fr.js +0 -8
  9. package/lib/vs/base/common/worker/simpleWorker.nls.it.js +0 -8
  10. package/lib/vs/base/common/worker/simpleWorker.nls.ja.js +0 -8
  11. package/lib/vs/base/common/worker/simpleWorker.nls.js +0 -8
  12. package/lib/vs/base/common/worker/simpleWorker.nls.ko.js +0 -8
  13. package/lib/vs/base/common/worker/simpleWorker.nls.ru.js +0 -8
  14. package/lib/vs/base/common/worker/simpleWorker.nls.zh-cn.js +0 -8
  15. package/lib/vs/base/common/worker/simpleWorker.nls.zh-tw.js +0 -8
  16. package/lib/vs/base/worker/workerMain.js +0 -27
  17. package/lib/vs/basic-languages/abap/abap.js +0 -10
  18. package/lib/vs/basic-languages/apex/apex.js +0 -10
  19. package/lib/vs/basic-languages/azcli/azcli.js +0 -10
  20. package/lib/vs/basic-languages/bat/bat.js +0 -10
  21. package/lib/vs/basic-languages/bicep/bicep.js +0 -11
  22. package/lib/vs/basic-languages/cameligo/cameligo.js +0 -10
  23. package/lib/vs/basic-languages/clojure/clojure.js +0 -10
  24. package/lib/vs/basic-languages/coffee/coffee.js +0 -10
  25. package/lib/vs/basic-languages/cpp/cpp.js +0 -10
  26. package/lib/vs/basic-languages/csharp/csharp.js +0 -10
  27. package/lib/vs/basic-languages/csp/csp.js +0 -10
  28. package/lib/vs/basic-languages/css/css.js +0 -12
  29. package/lib/vs/basic-languages/cypher/cypher.js +0 -10
  30. package/lib/vs/basic-languages/dart/dart.js +0 -10
  31. package/lib/vs/basic-languages/dockerfile/dockerfile.js +0 -10
  32. package/lib/vs/basic-languages/ecl/ecl.js +0 -10
  33. package/lib/vs/basic-languages/elixir/elixir.js +0 -10
  34. package/lib/vs/basic-languages/flow9/flow9.js +0 -10
  35. package/lib/vs/basic-languages/freemarker2/freemarker2.js +0 -12
  36. package/lib/vs/basic-languages/fsharp/fsharp.js +0 -10
  37. package/lib/vs/basic-languages/go/go.js +0 -10
  38. package/lib/vs/basic-languages/graphql/graphql.js +0 -10
  39. package/lib/vs/basic-languages/handlebars/handlebars.js +0 -10
  40. package/lib/vs/basic-languages/hcl/hcl.js +0 -10
  41. package/lib/vs/basic-languages/html/html.js +0 -10
  42. package/lib/vs/basic-languages/ini/ini.js +0 -10
  43. package/lib/vs/basic-languages/java/java.js +0 -10
  44. package/lib/vs/basic-languages/javascript/javascript.js +0 -10
  45. package/lib/vs/basic-languages/julia/julia.js +0 -10
  46. package/lib/vs/basic-languages/kotlin/kotlin.js +0 -10
  47. package/lib/vs/basic-languages/less/less.js +0 -11
  48. package/lib/vs/basic-languages/lexon/lexon.js +0 -10
  49. package/lib/vs/basic-languages/liquid/liquid.js +0 -10
  50. package/lib/vs/basic-languages/lua/lua.js +0 -10
  51. package/lib/vs/basic-languages/m3/m3.js +0 -10
  52. package/lib/vs/basic-languages/markdown/markdown.js +0 -10
  53. package/lib/vs/basic-languages/mdx/mdx.js +0 -10
  54. package/lib/vs/basic-languages/mips/mips.js +0 -10
  55. package/lib/vs/basic-languages/msdax/msdax.js +0 -10
  56. package/lib/vs/basic-languages/mysql/mysql.js +0 -10
  57. package/lib/vs/basic-languages/objective-c/objective-c.js +0 -10
  58. package/lib/vs/basic-languages/pascal/pascal.js +0 -10
  59. package/lib/vs/basic-languages/pascaligo/pascaligo.js +0 -10
  60. package/lib/vs/basic-languages/perl/perl.js +0 -10
  61. package/lib/vs/basic-languages/pgsql/pgsql.js +0 -10
  62. package/lib/vs/basic-languages/php/php.js +0 -10
  63. package/lib/vs/basic-languages/pla/pla.js +0 -10
  64. package/lib/vs/basic-languages/postiats/postiats.js +0 -10
  65. package/lib/vs/basic-languages/powerquery/powerquery.js +0 -10
  66. package/lib/vs/basic-languages/powershell/powershell.js +0 -10
  67. package/lib/vs/basic-languages/protobuf/protobuf.js +0 -11
  68. package/lib/vs/basic-languages/pug/pug.js +0 -10
  69. package/lib/vs/basic-languages/python/python.js +0 -10
  70. package/lib/vs/basic-languages/qsharp/qsharp.js +0 -10
  71. package/lib/vs/basic-languages/r/r.js +0 -10
  72. package/lib/vs/basic-languages/razor/razor.js +0 -10
  73. package/lib/vs/basic-languages/redis/redis.js +0 -10
  74. package/lib/vs/basic-languages/redshift/redshift.js +0 -10
  75. package/lib/vs/basic-languages/restructuredtext/restructuredtext.js +0 -10
  76. package/lib/vs/basic-languages/ruby/ruby.js +0 -10
  77. package/lib/vs/basic-languages/rust/rust.js +0 -10
  78. package/lib/vs/basic-languages/sb/sb.js +0 -10
  79. package/lib/vs/basic-languages/scala/scala.js +0 -10
  80. package/lib/vs/basic-languages/scheme/scheme.js +0 -10
  81. package/lib/vs/basic-languages/scss/scss.js +0 -12
  82. package/lib/vs/basic-languages/shell/shell.js +0 -10
  83. package/lib/vs/basic-languages/solidity/solidity.js +0 -10
  84. package/lib/vs/basic-languages/sophia/sophia.js +0 -10
  85. package/lib/vs/basic-languages/sparql/sparql.js +0 -10
  86. package/lib/vs/basic-languages/sql/sql.js +0 -10
  87. package/lib/vs/basic-languages/st/st.js +0 -10
  88. package/lib/vs/basic-languages/swift/swift.js +0 -13
  89. package/lib/vs/basic-languages/systemverilog/systemverilog.js +0 -10
  90. package/lib/vs/basic-languages/tcl/tcl.js +0 -10
  91. package/lib/vs/basic-languages/twig/twig.js +0 -10
  92. package/lib/vs/basic-languages/typescript/typescript.js +0 -10
  93. package/lib/vs/basic-languages/vb/vb.js +0 -10
  94. package/lib/vs/basic-languages/wgsl/wgsl.js +0 -307
  95. package/lib/vs/basic-languages/xml/xml.js +0 -10
  96. package/lib/vs/basic-languages/yaml/yaml.js +0 -10
  97. package/lib/vs/editor/editor.main.css +0 -6
  98. package/lib/vs/editor/editor.main.js +0 -745
  99. package/lib/vs/editor/editor.main.nls.de.js +0 -31
  100. package/lib/vs/editor/editor.main.nls.es.js +0 -31
  101. package/lib/vs/editor/editor.main.nls.fr.js +0 -29
  102. package/lib/vs/editor/editor.main.nls.it.js +0 -29
  103. package/lib/vs/editor/editor.main.nls.ja.js +0 -31
  104. package/lib/vs/editor/editor.main.nls.js +0 -29
  105. package/lib/vs/editor/editor.main.nls.ko.js +0 -29
  106. package/lib/vs/editor/editor.main.nls.ru.js +0 -31
  107. package/lib/vs/editor/editor.main.nls.zh-cn.js +0 -31
  108. package/lib/vs/editor/editor.main.nls.zh-tw.js +0 -29
  109. package/lib/vs/language/css/cssMode.js +0 -13
  110. package/lib/vs/language/css/cssWorker.js +0 -81
  111. package/lib/vs/language/html/htmlMode.js +0 -13
  112. package/lib/vs/language/html/htmlWorker.js +0 -453
  113. package/lib/vs/language/json/jsonMode.js +0 -15
  114. package/lib/vs/language/json/jsonWorker.js +0 -36
  115. package/lib/vs/language/typescript/tsMode.js +0 -20
  116. package/lib/vs/language/typescript/tsWorker.js +0 -37016
  117. package/lib/vs/loader.js +0 -11
@@ -1,7 +1,8 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`.line-decoration_modified,.line-decoration_added,.line-decoration_removed{left:auto!important;right:20px;transform:scale(-1);width:4px!important}.line-modified:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1;background-image:linear-gradient(-45deg,#2962ff 25%,#0000 0,#0000 50%,#2962ff 0,#2962ff 75%,#0000 0,#0000);background-size:3px 3px}.line-added:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1;background:#089950}.modified-in-monaco-diff-editor .line-modified:before,.modified-in-monaco-diff-editor .line-added:before,.modified-in-monaco-diff-editor .line-decoration_removed:after{background:none}.line-modified:hover:before,.line-added:hover:before,.line-decoration_removed:hover:before{width:5px}.line-decoration_removed:hover:before{background-color:#f23645}.line-decoration_removed:hover:after{background:none}.line-decoration_removed:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1}.line-decoration_removed:after{background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='4'%20height='18'%20viewBox='0%200%204%2018'%20fill='%23F23645'%3e%3cpath%20d='M3.7%208.11a.5.5%200%200%201%200%20.67L.89%2012a.5.5%200%200%201-.88-.33V5.3a.5.5%200%200%201%20.87-.33L3.7%208.1Z'/%3e%3c/svg%3e") 50% no-repeat;background-size:5px 20px;content:"";height:10px;left:-4px;position:absolute;top:-3px;transform:scale(-1);width:10px}.vs-dark .content-popup{background-color:#1e222d}.content-popup{position:relative;border-bottom:1px solid;display:flex;flex-direction:column;height:100%;-webkit-user-select:none;user-select:none;background-color:#fff}.header-popup{align-items:center;position:relative;z-index:1;border-left:0;border-right:0;display:flex;height:22px;justify-content:space-between;margin-top:5px;border-bottom:1px solid #fff;border-top:1px solid #fff;background-color:#fff}.title-popup{font-size:13px;font-weight:400;line-height:18px;margin-left:27px}.actions-popup{align-items:center;display:flex}.button-popup{height:24px;cursor:pointer;justify-content:center;width:24px;display:flex;padding:0 5px;align-items:center;box-sizing:border-box;transition:background-color 60ms ease,opacity 60ms ease,color 60ms ease}.icon-popup{display:flex}.triangle-popup{position:absolute;left:55px;margin-top:1px;height:8px;z-index:0;transform:rotate(-45deg);width:8px}.triangle-modified-popup{background-color:#2962ff}.vs-dark .header-modified-popup{background-color:#1e222d}.header-modified-popup{background-color:#e3effd;border-color:#2962ff}.content-modified-popup{border-bottom-color:#2962ff}.triangle-added-popup{background-color:#089950}.vs-dark .header-added-popup{background-color:#1a3326}.header-added-popup{background-color:#daf2e6;border-color:#089950}.content-added-popup{border-bottom-color:#089950}.triangle-removed-popup{background-color:#f23645}.vs-dark .header-removed-popup{background-color:#331f20}.header-removed-popup{background-color:#ffebec;border-color:#f23645}.content-removed-popup{border-bottom-color:#f23645}.tvue-script .monaco-editor.vs-dark .quick-input-widget{background:#1e222d!important}.tvue-script .monaco-editor .monaco-inputbox:focus-within,.tvue-script .monaco-editor.vs-dark .monaco-inputbox:focus-within{border-color:#2962ff}.tvue-script .monaco-editor .quick-input-widget .monaco-inputbox{background-color:unset!important;border:unset!important}.tvue-script .monaco-editor .quick-input-widget .input:active,.tvue-script .monaco-editor .quick-input-widget .input:focus{border:2px solid #2962ff}.tvue-script .monaco-editor.vs-dark .quick-input-widget .input{background-color:#1e222d!important;color:#d1d4dc!important}.tvue-script .monaco-editor .monaco-inputbox .input{font-size:14px;line-height:18px;outline:none}.tvue-script .monaco-editor .quick-input-widget .input{background-color:#fff!important;border:1px solid #d1d4dc;border-radius:6px;color:#131722!important;height:28px;padding-bottom:5px}.tvue-script .monaco-editor .overflow-guard{overflow:hidden!important}.tvue-script .monaco-editor .find-widget .codicon.toggle:before{content:"";font-size:15px;transition:.3s ease-out}.tvue-script .monaco-editor .find-widget.replaceToggled{height:80px!important}.tvue-script .monaco-editor .find-widget{border-bottom-left-radius:6px;border-bottom-right-radius:6px;height:44px!important;width:450px!important;transition:.3s ease-out}.tvue-script .monaco-editor .find-widget.replaceToggled .find-part,.tvue-script .monaco-editor .find-widget.replaceToggled .replace-part{margin-left:17px}.tvue-script .monaco-editor .find-widget .codicon.toggle.codicon-find-expanded{height:77px}.tvue-script .monaco-editor .find-widget.replaceToggled .replace-part{margin-top:8px}.tvue-script .monaco-editor .find-widget .codicon.toggle{border-radius:4px;cursor:default;height:41px;left:2px;top:2px}.tvue-script .monaco-editor .find-widget .monaco-sash{display:none}.tvue-script .monaco-editor .find-widget .find-part{margin-top:8px}.tvue-script .monaco-editor .find-widget .monaco-findInput{width:255px}.tvue-script .monaco-editor .monaco-scrollable-element{--vscode-scrollbarSlider-background: #64646466;margin-bottom:-2px}.tvue-script .monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{background-color:#1e222d!important}.tvue-script .monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{border-color:#50535e!important}.tvue-script .monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{background-color:#fff!important;border-color:#d1d4dc!important;border-radius:6px;height:28px}.tvue-script .monaco-editor.vs-dark .monaco-inputbox,.tvue-script .monaco-editor.vs-dark .monaco-inputbox.idle{border:2px solid #50535e}.tvue-script .monaco-editor .monaco-inputbox,.tvue-script .monaco-editor .monaco-inputbox.idle{border:2px solid #a3a6af;border-radius:4px;overflow:hidden}.tvue-script .monaco-editor .find-widget .button{box-sizing:content-box}.tvue-script .monaco-editor .find-widget>.button.codicon-widget-close{top:10px}.tvue-script .monaco-editor .find-widget .codicon.toggle.codicon-find-expanded:before{transform:rotate(180deg)}.tvue-script .monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.idle .ibwrapper>textarea.input{padding-top:4px}.tvue-script .monaco-editor .monaco-inputbox .input{line-height:18px}.tvue-script .monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.synthetic-focus{border:1px solid #2962ff!important}.tvue-script .monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.synthetic-focus{border:1px solid #2962ff!important;outline-color:#0000}.tvue-script .monaco-editor .monaco-inputbox:focus-within{border-color:#2962ff}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical{background-color:#1e222d!important}.context-view .monaco-menu>.monaco-action-bar.vertical{background-color:#fff!important}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item,.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .submenu-indicator{color:#d1d4dc!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item,.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .submenu-indicator{color:#131722!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item{border-radius:0;height:32px;margin:0}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .action-menu-item,.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .submenu-indicator{background-color:#2a2e39!important;color:#d1d4dc!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .action-menu-item,.context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .submenu-indicator{background-color:#f0f3fa!important;color:#131722!important}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-label.separator{border-bottom:1px solid #434651!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-label.separator{border-bottom:1px solid #e0e3eb!important;margin-left:0!important;margin-right:0!important;opacity:1}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item span.keybinding{color:#5d606b}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item span.keybinding{color:#9598a1}.monaco-menu{max-height:calc(100vh - 35px)!important}.vs-dark.manual-warpper{color:#d1d4dc}.manual-warpper{display:flex;height:100%;text-align:left;color:#131722}.vs-dark .manual-left{border-right-color:#434651}.manual-left{border-right:1px solid #e0e3eb;display:flex;flex:0 0 240px;flex-direction:column;height:100%}.manual-right{flex:1;height:100%;overflow-y:auto;-webkit-user-select:text;user-select:text}.vs-dark .manual-search{border-bottom-color:#434651}.manual-search{display:flex;align-items:center;flex:0 0 47px;padding-left:16.5px;border-bottom:1px solid #e0e3eb}.manual-search-icon{height:18px;font-size:14px;opacity:.8;pointer-events:none;transition:opacity .35s ease}.manual-search-icon svg{fill:#a3a6af}.manual-search-input{background-color:transparent;color:inherit;height:29px;width:146px;margin-left:5px;border:none;outline:none}.vs-dark .manual-search-clear svg{fill:#d1d4dc}.manual-search-clear svg{fill:#434651}.manual-search-clear{cursor:pointer;opacity:.5;text-align:center;transition:opacity .35s ease;width:36px;font-size:14px}.manual-search-clear:hover{opacity:1;transition-duration:60ms}.manual-group-list{display:flex;flex:1 1 100%;flex-direction:column;overflow-y:auto;text-align:left}.manual-group-search-list{flex:1 1 100%;overflow-y:auto;text-align:left}.vs-dark .manual-content-separator{background-color:#363a45}.manual-content-separator{background-color:#e0e3eb;height:1px}.vs-dark .manual-group-title{color:#d1d4dc;border-bottom-color:#434651}.manual-group-title{box-sizing:border-box;color:#434651;cursor:default;display:block;flex:0 0 auto;font-size:14px;font-weight:700;margin:0;padding:12px;border-bottom:1px solid #e0e3eb;-webkit-user-select:none;user-select:none}.vs-dark .manual-group-title.active{background-color:#2a2e39;border-top-color:#2a2e39;color:#d1d4dc}.manual-group-title.active{background-color:#e3effd;border-top-color:#e3effd;color:#131722}.vs-dark .manual-group-body{border-bottom-color:#434651}.manual-group-body{display:block;flex:1 1 auto;pointer-events:auto;-webkit-user-select:text;user-select:text;overflow-x:hidden;overflow-y:auto;transform:translateZ(0);border-bottom:1px solid #e0e3eb}.manual-group-body.hide,.manual-search-clear.hide,.manual-group-list.hide,.manual-group-search-list.hide{display:none}.vs-dark .manual-group-body-item{color:#b2b5be}.manual-group-body-item{box-sizing:border-box;color:#5d606b;cursor:default;display:block;font-size:14px;letter-spacing:.3px;line-height:24px;padding:2px 8px 2px 12px;position:relative;transition:none;word-break:break-all;text-decoration:none}.vs-dark .manual-group-body-item-selected{fill:#2962ff;color:#2962ff}.manual-group-body-item-selected{color:#2962ff;fill:#2962ff}.manual-group-body-item-selected:before{background-color:#2962ff;bottom:0;content:"";display:block;left:0;position:absolute;top:0;width:4px}.manual-content-wrapper{box-sizing:border-box;padding:30px 25px 25px;position:relative}.manual-content-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2px}.vs-dark .manual-content-header-overloads{background-color:#2a2e39}.manual-content-header-overloads{background-color:#e3effd;border-radius:8px;display:inline-block;height:auto;margin-left:6px;padding:4px 8px;vertical-align:top}.vs-dark .manual-content-header-title{color:#d1d4dc}.manual-content-header-title{font-size:18px;line-height:26px;color:#131722;font-weight:700;display:inline-block;margin:0}.vs-dark .manual-content-btn{color:#d1d4dc}.manual-content-btn{align-items:center;background:#0000;border:none;border-radius:4px;box-sizing:initial;color:#131722;cursor:default;display:flex;height:34px;justify-content:center;margin:0;padding:0;width:34px}.vs-dark .manual-content-btn:hover{background-color:#2a2e39}.manual-content-btn:hover{background-color:#f0f3fa}.vs-dark .manual-content-args-label{color:#d1d4dc}.manual-content-args-label{color:#131722;font-weight:700}.vs-dark .manual-content-syntax{background-color:#2a2e39;color:#d1d4dc}.manual-content-syntax{background-color:#e3effd;border-radius:8px;color:#131722;font-family:Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;overflow:hidden;transition:opacity .1s ease;white-space:pre-wrap;font-size:14px;line-height:21px;margin-top:8px;padding:24px;-webkit-user-select:none;user-select:none}.with-overloads{opacity:.6}.with-overloads:hover{opacity:.8}.with-overloads.selected{box-shadow:0 0 0 2px #2962ff;opacity:1}.vs-dark .manual-content-text{color:#d1d4dc}.manual-content-text{font-size:14px;line-height:21px;color:#131722;margin-top:8px}.vs-dark .manual-content-text-link{fill:#5b9cf6;color:#5b9cf6}.vs-dark .manual-content-text-link:hover{fill:#3179f5;color:#3179f5}.manual-content-text-link{color:#2962ff;fill:#2962ff}.manual-content-text-link:hover{color:#1e53e5;fill:#1e53e5}.vs-dark .manual-content-text code{background-color:#2a2e39}.manual-content-text code{background-color:#e0e3eb;border-radius:3px;padding:0 .4em}.vs-dark .manual-content-sub-title{color:#868993}.manual-content-sub-title{color:#6a6d78;font-size:11px;letter-spacing:.4px;line-height:16px;margin-top:24px;text-transform:uppercase}.manual-content-example-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px}.vs-dark .manual-content-example-copy{color:#868993}.manual-content-example-copy{color:#6a6d78}.vs-dark .manual-content-example{background-color:#2a2e39}.manual-content-example{background-color:#e3effd;border-radius:8px;box-shadow:none;margin-top:0;overflow:hidden}.manual-content-example code{display:block;font-family:Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:13px;line-height:18px;overflow-x:auto;padding:24px}.manual-content-see_also{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;-webkit-user-select:none;user-select:none}.vs-dark .manual-content-see_also-tag{background-color:#1e222d;color:#d1d4dc}.vs-dark .manual-content-see_also-tag:hover{background-color:#363a45}.manual-content-see_also-tag{background-color:#f8f9fd;border-radius:3px;color:#131722;cursor:default;font-size:14px;line-height:21px;margin:0;padding:6px 8px}.manual-content-see_also-tag:hover{background-color:#f0f3fa}.manual-scroll::-webkit-scrollbar{height:5px;width:5px}.manual-scroll::-webkit-scrollbar-corner{display:none}.vs-dark .manual-scroll::-webkit-scrollbar-thumb,.vs-dark code::-webkit-scrollbar-thumb{background-color:#363a45}.manual-scroll::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#9598a1;border:1px solid #0000;border-radius:3px}.manual-scroll::-webkit-scrollbar-track{background-color:initial;border-radius:3px}[data-tooltip]{position:relative;text-transform:none}[data-tooltip]:before,[data-tooltip]:after{position:absolute;opacity:0;z-index:1000;pointer-events:none;transition:.2s}[data-tooltip]:before{content:"";border:5px solid transparent;border-top-color:#2a2e39;-webkit-transform:translateX(-50%);transform:translate(-50%);bottom:100%;left:50%;margin-bottom:-5px}[data-tooltip]:after{content:attr(data-tooltip);background:#2a2e39;font:12px Microsoft YaHei;color:#fff;padding:4px 8px;border-radius:2px;box-shadow:3px 3px 6px #0000004d;bottom:100%;width:max-content;left:50%;transform:translate(-50%);margin-bottom:5px}[data-tooltip]:hover:before,[data-tooltip]:hover:after{opacity:1;-webkit-transition-delay:.15s;transition-delay:.15s}[data-tooltip=""]:before,[data-tooltip=""]:after{display:none!important}.vs-dark ::selection{background:#143a87}::selection{background:#bbd9fb}`)),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
2
  import is, { memo as Fi, useState as ot, useRef as Pe, useCallback as $r, useEffect as Ve, forwardRef as xp, useImperativeHandle as hp, useMemo as Jg, Fragment as Wt } from "react";
3
- import { languages as $e, Position as eb, MarkerSeverity as tb, editor as Hr } from "monaco-editor";
4
- import sb from "react-dom";
3
+ import * as eb from "monaco-editor";
4
+ import { languages as $e, Position as tb, MarkerSeverity as sb, editor as Hr } from "monaco-editor";
5
+ import rb from "react-dom";
5
6
  var xc;
6
7
  (function(a) {
7
8
  a.Comment = "comment", a.Text = "text", a.String = "string", a.Paren = "paren", a.StringInvalid = "string.invalid", a.ConstantNumericInteger = "constant.numeric.integer", a.ConstantNumericFloat = "constant.numeric.float", a.ConstantLanguage = "constant.language", a.ConstantLanguageBoolean = "constant.other.boolean", a.ConstantOtherColor = "constant.other.color", a.SupportVariable = "support.variable", a.SupportType = "support.type", a.Keyword = "keyword", a.KeywordEquals = "keyword.equals", a.KeywordOperator = "keyword.operator", a.CustomType = "entity.name.type", a.VariableOther = "variable.other", a.Property = "variable.other.property", a.SupportFunction = "support.function", a.SupportMethod = "support.method", a.ImportedFunction = "meta.function-call", a.Function = "entity.name.function", a.ImportName = "entity.name.module", a.ImportAlias = "entity.name.module.name", a.ExtensionMethod = "entity.name.method", a.Annotation = "comment.annotation", a.PunctuationOperator = "punctuation.operator", a.Empty = "empty", a.Source = "source";
@@ -15,7 +16,7 @@ var Ls;
15
16
  a.Save = "save", a.Find = "find", a.TriggerConsole = "trigger.console", a.RunScript = "runScript", a.Open = "open";
16
17
  })(Ls || (Ls = {}));
17
18
  var Mr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
18
- function rb(a) {
19
+ function ab(a) {
19
20
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
20
21
  }
21
22
  var zi = { exports: {} }, Pr = {};
@@ -29,7 +30,7 @@ var zi = { exports: {} }, Pr = {};
29
30
  * LICENSE file in the root directory of this source tree.
30
31
  */
31
32
  var hc;
32
- function ab() {
33
+ function nb() {
33
34
  if (hc)
34
35
  return Pr;
35
36
  hc = 1;
@@ -57,7 +58,7 @@ var Or = {};
57
58
  * LICENSE file in the root directory of this source tree.
58
59
  */
59
60
  var wc;
60
- function nb() {
61
+ function ib() {
61
62
  return wc || (wc = 1, process.env.NODE_ENV !== "production" && function() {
62
63
  var a = is, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), _ = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), P = Symbol.iterator, N = "@@iterator";
63
64
  function H(f) {
@@ -643,9 +644,9 @@ Check the top-level render call using <` + B + ">.");
643
644
  Or.Fragment = o, Or.jsx = mn, Or.jsxs = un;
644
645
  }()), Or;
645
646
  }
646
- process.env.NODE_ENV === "production" ? zi.exports = ab() : zi.exports = nb();
647
+ process.env.NODE_ENV === "production" ? zi.exports = nb() : zi.exports = ib();
647
648
  var L = zi.exports;
648
- function ib(a, n, r) {
649
+ function ob(a, n, r) {
649
650
  return n in a ? Object.defineProperty(a, n, {
650
651
  value: r,
651
652
  enumerable: !0,
@@ -667,14 +668,14 @@ function Tc(a) {
667
668
  for (var n = 1; n < arguments.length; n++) {
668
669
  var r = arguments[n] != null ? arguments[n] : {};
669
670
  n % 2 ? vc(Object(r), !0).forEach(function(o) {
670
- ib(a, o, r[o]);
671
+ ob(a, o, r[o]);
671
672
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : vc(Object(r)).forEach(function(o) {
672
673
  Object.defineProperty(a, o, Object.getOwnPropertyDescriptor(r, o));
673
674
  });
674
675
  }
675
676
  return a;
676
677
  }
677
- function ob(a, n) {
678
+ function lb(a, n) {
678
679
  if (a == null)
679
680
  return {};
680
681
  var r = {}, o = Object.keys(a), l, c;
@@ -682,10 +683,10 @@ function ob(a, n) {
682
683
  l = o[c], !(n.indexOf(l) >= 0) && (r[l] = a[l]);
683
684
  return r;
684
685
  }
685
- function lb(a, n) {
686
+ function cb(a, n) {
686
687
  if (a == null)
687
688
  return {};
688
- var r = ob(a, n), o, l;
689
+ var r = lb(a, n), o, l;
689
690
  if (Object.getOwnPropertySymbols) {
690
691
  var c = Object.getOwnPropertySymbols(a);
691
692
  for (l = 0; l < c.length; l++)
@@ -693,14 +694,14 @@ function lb(a, n) {
693
694
  }
694
695
  return r;
695
696
  }
696
- function cb(a, n) {
697
- return pb(a) || db(a, n) || mb(a, n) || ub();
697
+ function pb(a, n) {
698
+ return db(a) || mb(a, n) || ub(a, n) || yb();
698
699
  }
699
- function pb(a) {
700
+ function db(a) {
700
701
  if (Array.isArray(a))
701
702
  return a;
702
703
  }
703
- function db(a, n) {
704
+ function mb(a, n) {
704
705
  if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(a)))) {
705
706
  var r = [], o = !0, l = !1, c = void 0;
706
707
  try {
@@ -719,7 +720,7 @@ function db(a, n) {
719
720
  return r;
720
721
  }
721
722
  }
722
- function mb(a, n) {
723
+ function ub(a, n) {
723
724
  if (a) {
724
725
  if (typeof a == "string")
725
726
  return Dc(a, n);
@@ -736,11 +737,11 @@ function Dc(a, n) {
736
737
  o[r] = a[r];
737
738
  return o;
738
739
  }
739
- function ub() {
740
+ function yb() {
740
741
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
741
742
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
742
743
  }
743
- function yb(a, n, r) {
744
+ function _b(a, n, r) {
744
745
  return n in a ? Object.defineProperty(a, n, {
745
746
  value: r,
746
747
  enumerable: !0,
@@ -762,14 +763,14 @@ function kc(a) {
762
763
  for (var n = 1; n < arguments.length; n++) {
763
764
  var r = arguments[n] != null ? arguments[n] : {};
764
765
  n % 2 ? Ic(Object(r), !0).forEach(function(o) {
765
- yb(a, o, r[o]);
766
+ _b(a, o, r[o]);
766
767
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : Ic(Object(r)).forEach(function(o) {
767
768
  Object.defineProperty(a, o, Object.getOwnPropertyDescriptor(r, o));
768
769
  });
769
770
  }
770
771
  return a;
771
772
  }
772
- function _b() {
773
+ function fb() {
773
774
  for (var a = arguments.length, n = new Array(a), r = 0; r < a; r++)
774
775
  n[r] = arguments[r];
775
776
  return function(o) {
@@ -792,35 +793,35 @@ function Rr(a) {
792
793
  function Qa(a) {
793
794
  return {}.toString.call(a).includes("Object");
794
795
  }
795
- function fb(a) {
796
+ function gb(a) {
796
797
  return !Object.keys(a).length;
797
798
  }
798
799
  function jr(a) {
799
800
  return typeof a == "function";
800
801
  }
801
- function gb(a, n) {
802
+ function bb(a, n) {
802
803
  return Object.prototype.hasOwnProperty.call(a, n);
803
804
  }
804
- function bb(a, n) {
805
+ function xb(a, n) {
805
806
  return Qa(n) || xs("changeType"), Object.keys(n).some(function(r) {
806
- return !gb(a, r);
807
+ return !bb(a, r);
807
808
  }) && xs("changeField"), n;
808
809
  }
809
- function xb(a) {
810
+ function hb(a) {
810
811
  jr(a) || xs("selectorType");
811
812
  }
812
- function hb(a) {
813
+ function wb(a) {
813
814
  jr(a) || Qa(a) || xs("handlerType"), Qa(a) && Object.values(a).some(function(n) {
814
815
  return !jr(n);
815
816
  }) && xs("handlersType");
816
817
  }
817
- function wb(a) {
818
- a || xs("initialIsRequired"), Qa(a) || xs("initialType"), fb(a) && xs("initialContent");
818
+ function vb(a) {
819
+ a || xs("initialIsRequired"), Qa(a) || xs("initialType"), gb(a) && xs("initialContent");
819
820
  }
820
- function vb(a, n) {
821
+ function Tb(a, n) {
821
822
  throw new Error(a[n] || a.default);
822
823
  }
823
- var Tb = {
824
+ var Db = {
824
825
  initialIsRequired: "initial state is required",
825
826
  initialType: "initial state should be an object",
826
827
  initialContent: "initial state shouldn't be an empty object",
@@ -830,18 +831,18 @@ var Tb = {
830
831
  changeType: "provided value of changes should be an object",
831
832
  changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state',
832
833
  default: "an unknown error accured in `state-local` package"
833
- }, xs = Rr(vb)(Tb), Ha = {
834
- changes: bb,
835
- selector: xb,
836
- handler: hb,
837
- initial: wb
834
+ }, xs = Rr(Tb)(Db), Ha = {
835
+ changes: xb,
836
+ selector: hb,
837
+ handler: wb,
838
+ initial: vb
838
839
  };
839
- function Db(a) {
840
+ function Ib(a) {
840
841
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
841
842
  Ha.initial(a), Ha.handler(n);
842
843
  var r = {
843
844
  current: a
844
- }, o = Rr(Ab)(r, n), l = Rr(kb)(r), c = Rr(Ha.changes)(a), m = Rr(Ib)(r);
845
+ }, o = Rr(qb)(r, n), l = Rr(Ab)(r), c = Rr(Ha.changes)(a), m = Rr(kb)(r);
845
846
  function _() {
846
847
  var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(h) {
847
848
  return h;
@@ -849,30 +850,30 @@ function Db(a) {
849
850
  return Ha.selector(b), b(r.current);
850
851
  }
851
852
  function g(b) {
852
- _b(o, l, c, m)(b);
853
+ fb(o, l, c, m)(b);
853
854
  }
854
855
  return [_, g];
855
856
  }
856
- function Ib(a, n) {
857
+ function kb(a, n) {
857
858
  return jr(n) ? n(a.current) : n;
858
859
  }
859
- function kb(a, n) {
860
+ function Ab(a, n) {
860
861
  return a.current = kc(kc({}, a.current), n), n;
861
862
  }
862
- function Ab(a, n, r) {
863
+ function qb(a, n, r) {
863
864
  return jr(n) ? n(a.current) : Object.keys(r).forEach(function(o) {
864
865
  var l;
865
866
  return (l = n[o]) === null || l === void 0 ? void 0 : l.call(n, a.current[o]);
866
867
  }), r;
867
868
  }
868
- var qb = {
869
- create: Db
870
- }, Cb = {
869
+ var Cb = {
870
+ create: Ib
871
+ }, zb = {
871
872
  paths: {
872
873
  vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"
873
874
  }
874
875
  };
875
- function zb(a) {
876
+ function Eb(a) {
876
877
  return function n() {
877
878
  for (var r = this, o = arguments.length, l = new Array(o), c = 0; c < o; c++)
878
879
  l[c] = arguments[c];
@@ -883,20 +884,20 @@ function zb(a) {
883
884
  };
884
885
  };
885
886
  }
886
- function Eb(a) {
887
+ function Nb(a) {
887
888
  return {}.toString.call(a).includes("Object");
888
889
  }
889
- function Nb(a) {
890
- return a || Ac("configIsRequired"), Eb(a) || Ac("configType"), a.urls ? (Sb(), {
890
+ function Sb(a) {
891
+ return a || Ac("configIsRequired"), Nb(a) || Ac("configType"), a.urls ? (Lb(), {
891
892
  paths: {
892
893
  vs: a.urls.monacoBase
893
894
  }
894
895
  }) : a;
895
896
  }
896
- function Sb() {
897
+ function Lb() {
897
898
  console.warn(wp.deprecation);
898
899
  }
899
- function Lb(a, n) {
900
+ function Mb(a, n) {
900
901
  throw new Error(a[n] || a.default);
901
902
  }
902
903
  var wp = {
@@ -913,9 +914,9 @@ var wp = {
913
914
 
914
915
  For more please check the link https://github.com/suren-atoyan/monaco-loader#config
915
916
  `
916
- }, Ac = zb(Lb)(wp), Mb = {
917
- config: Nb
918
- }, Pb = function() {
917
+ }, Ac = Eb(Mb)(wp), Pb = {
918
+ config: Sb
919
+ }, Ob = function() {
919
920
  for (var n = arguments.length, r = new Array(n), o = 0; o < n; o++)
920
921
  r[o] = arguments[o];
921
922
  return function(l) {
@@ -929,29 +930,29 @@ function vp(a, n) {
929
930
  n[r] instanceof Object && a[r] && Object.assign(n[r], vp(a[r], n[r]));
930
931
  }), Tc(Tc({}, a), n);
931
932
  }
932
- var Ob = {
933
+ var Fb = {
933
934
  type: "cancelation",
934
935
  msg: "operation is manually canceled"
935
936
  };
936
937
  function Di(a) {
937
938
  var n = !1, r = new Promise(function(o, l) {
938
939
  a.then(function(c) {
939
- return n ? l(Ob) : o(c);
940
+ return n ? l(Fb) : o(c);
940
941
  }), a.catch(l);
941
942
  });
942
943
  return r.cancel = function() {
943
944
  return n = !0;
944
945
  }, r;
945
946
  }
946
- var Fb = qb.create({
947
- config: Cb,
947
+ var Rb = Cb.create({
948
+ config: zb,
948
949
  isInitialized: !1,
949
950
  resolve: null,
950
951
  reject: null,
951
952
  monaco: null
952
- }), Tp = cb(Fb, 2), Gr = Tp[0], an = Tp[1];
953
- function Rb(a) {
954
- var n = Mb.config(a), r = n.monaco, o = lb(n, ["monaco"]);
953
+ }), Tp = pb(Rb, 2), Gr = Tp[0], an = Tp[1];
954
+ function Bb(a) {
955
+ var n = Pb.config(a), r = n.monaco, o = cb(n, ["monaco"]);
955
956
  an(function(l) {
956
957
  return {
957
958
  config: vp(l.config, o),
@@ -959,7 +960,7 @@ function Rb(a) {
959
960
  };
960
961
  });
961
962
  }
962
- function Bb() {
963
+ function Kb() {
963
964
  var a = Gr(function(n) {
964
965
  var r = n.monaco, o = n.isInitialized, l = n.resolve;
965
966
  return {
@@ -975,30 +976,30 @@ function Bb() {
975
976
  return a.resolve(a.monaco), Di(Ii);
976
977
  if (window.monaco && window.monaco.editor)
977
978
  return Dp(window.monaco), a.resolve(window.monaco), Di(Ii);
978
- Pb(Kb, $b)(Hb);
979
+ Ob(Ub, Hb)(jb);
979
980
  }
980
981
  return Di(Ii);
981
982
  }
982
- function Kb(a) {
983
+ function Ub(a) {
983
984
  return document.body.appendChild(a);
984
985
  }
985
- function Ub(a) {
986
+ function $b(a) {
986
987
  var n = document.createElement("script");
987
988
  return a && (n.src = a), n;
988
989
  }
989
- function $b(a) {
990
+ function Hb(a) {
990
991
  var n = Gr(function(o) {
991
992
  var l = o.config, c = o.reject;
992
993
  return {
993
994
  config: l,
994
995
  reject: c
995
996
  };
996
- }), r = Ub("".concat(n.config.paths.vs, "/loader.js"));
997
+ }), r = $b("".concat(n.config.paths.vs, "/loader.js"));
997
998
  return r.onload = function() {
998
999
  return a();
999
1000
  }, r.onerror = n.reject, r;
1000
1001
  }
1001
- function Hb() {
1002
+ function jb() {
1002
1003
  var a = Gr(function(r) {
1003
1004
  var o = r.config, l = r.resolve, c = r.reject;
1004
1005
  return {
@@ -1018,7 +1019,7 @@ function Dp(a) {
1018
1019
  monaco: a
1019
1020
  });
1020
1021
  }
1021
- function jb() {
1022
+ function Wb() {
1022
1023
  return Gr(function(a) {
1023
1024
  var n = a.monaco;
1024
1025
  return n;
@@ -1030,44 +1031,44 @@ var Ii = new Promise(function(a, n) {
1030
1031
  reject: n
1031
1032
  });
1032
1033
  }), Ri = {
1033
- config: Rb,
1034
- init: Bb,
1035
- __getMonacoInstance: jb
1036
- }, Wb = { wrapper: { display: "flex", position: "relative", textAlign: "initial" }, fullWidth: { width: "100%" }, hide: { display: "none" } }, ki = Wb, Gb = { container: { display: "flex", height: "100%", width: "100%", justifyContent: "center", alignItems: "center" } }, Xb = Gb;
1037
- function Yb({ children: a }) {
1038
- return is.createElement("div", { style: Xb.container }, a);
1034
+ config: Bb,
1035
+ init: Kb,
1036
+ __getMonacoInstance: Wb
1037
+ }, Gb = { wrapper: { display: "flex", position: "relative", textAlign: "initial" }, fullWidth: { width: "100%" }, hide: { display: "none" } }, ki = Gb, Xb = { container: { display: "flex", height: "100%", width: "100%", justifyContent: "center", alignItems: "center" } }, Yb = Xb;
1038
+ function Vb({ children: a }) {
1039
+ return is.createElement("div", { style: Yb.container }, a);
1039
1040
  }
1040
- var Vb = Yb, Qb = Vb;
1041
- function Zb({ width: a, height: n, isEditorReady: r, loading: o, _ref: l, className: c, wrapperProps: m }) {
1042
- return is.createElement("section", { style: { ...ki.wrapper, width: a, height: n }, ...m }, !r && is.createElement(Qb, null, o), is.createElement("div", { ref: l, style: { ...ki.fullWidth, ...!r && ki.hide }, className: c }));
1041
+ var Qb = Vb, Zb = Qb;
1042
+ function Jb({ width: a, height: n, isEditorReady: r, loading: o, _ref: l, className: c, wrapperProps: m }) {
1043
+ return is.createElement("section", { style: { ...ki.wrapper, width: a, height: n }, ...m }, !r && is.createElement(Zb, null, o), is.createElement("div", { ref: l, style: { ...ki.fullWidth, ...!r && ki.hide }, className: c }));
1043
1044
  }
1044
- var Jb = Zb, Ip = Fi(Jb);
1045
- function ex(a) {
1045
+ var ex = Jb, Ip = Fi(ex);
1046
+ function tx(a) {
1046
1047
  Ve(a, []);
1047
1048
  }
1048
- var kp = ex;
1049
- function tx(a, n, r = !0) {
1049
+ var kp = tx;
1050
+ function sx(a, n, r = !0) {
1050
1051
  let o = Pe(!0);
1051
1052
  Ve(o.current || !r ? () => {
1052
1053
  o.current = !1;
1053
1054
  } : a, n);
1054
1055
  }
1055
- var gt = tx;
1056
+ var gt = sx;
1056
1057
  function Ur() {
1057
1058
  }
1058
1059
  function nr(a, n, r, o) {
1059
- return sx(a, o) || rx(a, n, r, o);
1060
+ return rx(a, o) || ax(a, n, r, o);
1060
1061
  }
1061
- function sx(a, n) {
1062
+ function rx(a, n) {
1062
1063
  return a.editor.getModel(Ap(a, n));
1063
1064
  }
1064
- function rx(a, n, r, o) {
1065
+ function ax(a, n, r, o) {
1065
1066
  return a.editor.createModel(n, r, o ? Ap(a, o) : void 0);
1066
1067
  }
1067
1068
  function Ap(a, n) {
1068
1069
  return a.Uri.parse(n);
1069
1070
  }
1070
- function ax({ original: a, modified: n, language: r, originalLanguage: o, modifiedLanguage: l, originalModelPath: c, modifiedModelPath: m, keepCurrentOriginalModel: _ = !1, keepCurrentModifiedModel: g = !1, theme: b = "light", loading: h = "Loading...", options: T = {}, height: M = "100%", width: F = "100%", className: P, wrapperProps: N = {}, beforeMount: H = Ur, onMount: G = Ur }) {
1071
+ function nx({ original: a, modified: n, language: r, originalLanguage: o, modifiedLanguage: l, originalModelPath: c, modifiedModelPath: m, keepCurrentOriginalModel: _ = !1, keepCurrentModifiedModel: g = !1, theme: b = "light", loading: h = "Loading...", options: T = {}, height: M = "100%", width: F = "100%", className: P, wrapperProps: N = {}, beforeMount: H = Ur, onMount: G = Ur }) {
1071
1072
  let [j, O] = ot(!1), [I, A] = ot(!0), R = Pe(null), U = Pe(null), se = Pe(null), me = Pe(G), ie = Pe(H), xt = Pe(!1);
1072
1073
  kp(() => {
1073
1074
  let Y = Ri.init();
@@ -1121,16 +1122,16 @@ function ax({ original: a, modified: n, language: r, originalLanguage: o, modifi
1121
1122
  }
1122
1123
  return is.createElement(Ip, { width: F, height: M, isEditorReady: j, loading: h, _ref: se, className: P, wrapperProps: N });
1123
1124
  }
1124
- var nx = ax, ix = Fi(nx);
1125
- function ox(a) {
1125
+ var ix = nx, ox = Fi(ix);
1126
+ function lx(a) {
1126
1127
  let n = Pe();
1127
1128
  return Ve(() => {
1128
1129
  n.current = a;
1129
1130
  }, [a]), n.current;
1130
1131
  }
1131
- var lx = ox, ja = /* @__PURE__ */ new Map();
1132
- function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, language: l, path: c, theme: m = "light", line: _, loading: g = "Loading...", options: b = {}, overrideServices: h = {}, saveViewState: T = !0, keepCurrentModel: M = !1, width: F = "100%", height: P = "100%", className: N, wrapperProps: H = {}, beforeMount: G = Ur, onMount: j = Ur, onChange: O, onValidate: I = Ur }) {
1133
- let [A, R] = ot(!1), [U, se] = ot(!0), me = Pe(null), ie = Pe(null), xt = Pe(null), Et = Pe(j), Ke = Pe(G), Fe = Pe(), Y = Pe(o), _e = lx(c), Ce = Pe(!1), Se = Pe(!1);
1132
+ var cx = lx, ja = /* @__PURE__ */ new Map();
1133
+ function px({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, language: l, path: c, theme: m = "light", line: _, loading: g = "Loading...", options: b = {}, overrideServices: h = {}, saveViewState: T = !0, keepCurrentModel: M = !1, width: F = "100%", height: P = "100%", className: N, wrapperProps: H = {}, beforeMount: G = Ur, onMount: j = Ur, onChange: O, onValidate: I = Ur }) {
1134
+ let [A, R] = ot(!1), [U, se] = ot(!0), me = Pe(null), ie = Pe(null), xt = Pe(null), Et = Pe(j), Ke = Pe(G), Fe = Pe(), Y = Pe(o), _e = cx(c), Ce = Pe(!1), Se = Pe(!1);
1134
1135
  kp(() => {
1135
1136
  let J = Ri.init();
1136
1137
  return J.then((be) => (me.current = be) && se(!1)).catch((be) => (be == null ? void 0 : be.type) !== "cancelation" && console.error("Monaco initialization: error:", be)), () => ie.current ? Nt() : J.cancel();
@@ -1194,7 +1195,7 @@ function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, lan
1194
1195
  }
1195
1196
  return is.createElement(Ip, { width: F, height: P, isEditorReady: A, loading: g, _ref: xt, className: N, wrapperProps: H });
1196
1197
  }
1197
- var px = cx, dx = Fi(px);
1198
+ var dx = px, mx = Fi(dx);
1198
1199
  const qc = {
1199
1200
  keywords: [
1200
1201
  {
@@ -60442,7 +60443,7 @@ else
60442
60443
  ]
60443
60444
  }
60444
60445
  ]
60445
- }, mx = [{
60446
+ }, ux = [{
60446
60447
  label: "if",
60447
60448
  insertText: "if ${1:condition}\n ${2:local_block}\n",
60448
60449
  kind: "statement"
@@ -60489,17 +60490,17 @@ else
60489
60490
  parameter: "parameter",
60490
60491
  namespaceDesc: "**Namespaces** are immutable terms that act as prefixes for groups of identifiers. A dot and another term always follow a namespace when naming Tcc functions, variables, and methods.",
60491
60492
  toTriggerParameterHints: "to trigger parameters hint"
60492
- }, ux = {
60493
+ }, yx = {
60493
60494
  clickOnKeywordForMoreHelp: "`click` on keyword for more help"
60494
60495
  };
60495
- function yx() {
60496
+ function _x() {
60496
60497
  const a = {}, n = {};
60497
60498
  return Object.keys(qc).reduce((r, o) => {
60498
- const l = qc[o], c = ge[o], { mapObj: m, keys: _ } = _x(l, c);
60499
+ const l = qc[o], c = ge[o], { mapObj: m, keys: _ } = fx(l, c);
60499
60500
  return r.keyMapList[o] = m, r.keyList[o] = _, r;
60500
60501
  }, { keyList: a, keyMapList: n }), { keyList: a, keyMapList: n };
60501
60502
  }
60502
- function _x(a, n) {
60503
+ function fx(a, n) {
60503
60504
  const r = /* @__PURE__ */ new Map(), o = [];
60504
60505
  return a.forEach((l) => {
60505
60506
  var m;
@@ -60508,7 +60509,7 @@ function _x(a, n) {
60508
60509
  c !== "for...in" && (r.has(c) ? (m = r.get(c)) == null || m.push(l) : (o.push(c), r.set(c, [l])));
60509
60510
  }), { mapObj: r, keys: o };
60510
60511
  }
60511
- const { keyList: Cp, keyMapList: bt } = yx(), Br = [{
60512
+ const { keyList: Cp, keyMapList: bt } = _x(), Br = [{
60512
60513
  title: "Variables",
60513
60514
  key: "variables",
60514
60515
  prefix: "var"
@@ -60537,10 +60538,10 @@ const { keyList: Cp, keyMapList: bt } = yx(), Br = [{
60537
60538
  key: "annotations",
60538
60539
  prefix: "an"
60539
60540
  }];
60540
- function fx(a) {
60541
+ function gx(a) {
60541
60542
  return a.replace(/<.*>/, "");
60542
60543
  }
60543
- class gx {
60544
+ class bx {
60544
60545
  constructor() {
60545
60546
  Object.defineProperty(this, "delimiter", {
60546
60547
  enumerable: !0,
@@ -60583,12 +60584,12 @@ ${n}
60583
60584
  return `[${n}](${r.href})`;
60584
60585
  }
60585
60586
  }
60586
- const ne = new gx();
60587
- function bx(a) {
60587
+ const ne = new bx();
60588
+ function xx(a) {
60588
60589
  const { name: n, libraryName: r, desc: o } = a, l = [`${ne.bold(n || r)} (library)`];
60589
60590
  return l.push(ne.delimiter), o && l.push(ne.paragraph(ne.bold(it.Description), ne.lineBreak, o)), l.join(l.length === 2 ? " " : ne.lineBreak);
60590
60591
  }
60591
- function xx(a, n = 0, r = !0) {
60592
+ function hx(a, n = 0, r = !0) {
60592
60593
  const o = a[n];
60593
60594
  if (!o)
60594
60595
  return "";
@@ -60615,21 +60616,21 @@ function xx(a, n = 0, r = !0) {
60615
60616
  }
60616
60617
  P.push(ne.paragraph(ne.bold(it.EnumMembers), ne.lineBreak, N.join(ne.paragraphBreak)));
60617
60618
  }
60618
- return r && P.push(ne.italic(`${ne.code(l ? "⌘" : "Ctrl")} + ${ux.clickOnKeywordForMoreHelp}`)), P.join(P.length === 2 ? " " : ne.lineBreak);
60619
+ return r && P.push(ne.italic(`${ne.code(l ? "⌘" : "Ctrl")} + ${yx.clickOnKeywordForMoreHelp}`)), P.join(P.length === 2 ? " " : ne.lineBreak);
60619
60620
  }
60620
- const Ai = "tcc_cursor_position", hx = ["submenuitem.EditorContextPeek", "editor.action.peekDefinition"];
60621
- function wx(a) {
60621
+ const Ai = "tcc_cursor_position", wx = ["submenuitem.EditorContextPeek", "editor.action.peekDefinition"];
60622
+ function vx(a) {
60622
60623
  return a.replace(/<[^<>]+>/, "").replace(/(series|simple|const|input)\s+([\w\d.]+)/, "$2").replace(/\w[\w.\d]*\[\]/, "array");
60623
60624
  }
60624
- function vx(a) {
60625
+ function Tx(a) {
60625
60626
  const n = a.getContribution("editor.contrib.contextmenu"), r = n == null ? void 0 : n._getMenuActions;
60626
60627
  n._getMenuActions = function() {
60627
60628
  return r.apply(n, arguments).filter(function(l) {
60628
- return !hx.includes(l.id);
60629
+ return !wx.includes(l.id);
60629
60630
  });
60630
60631
  };
60631
60632
  }
60632
- class Tx {
60633
+ class Dx {
60633
60634
  constructor() {
60634
60635
  Object.defineProperty(this, "bracketsPostfix", {
60635
60636
  enumerable: !0,
@@ -60851,7 +60852,7 @@ class Tx {
60851
60852
  _setUserVariableSubItems(n, r) {
60852
60853
  var b, h, T, M;
60853
60854
  let o = [];
60854
- const l = wx(n.type || ""), c = this._methodNamespaceCache.get(l), m = r ? `${r}.${n.name}` : n.name;
60855
+ const l = vx(n.type || ""), c = this._methodNamespaceCache.get(l), m = r ? `${r}.${n.name}` : n.name;
60855
60856
  c && (o = c.filter((F) => {
60856
60857
  var G;
60857
60858
  const P = `${l}.${F.label}`, N = bt.methods.get(P) || this._userMethods.get(P), H = N == null ? void 0 : N.some((j) => !j.thisType || j.thisType[0].includes("<>") || j.thisType.includes(n.type || ""));
@@ -60985,7 +60986,7 @@ class Tx {
60985
60986
  return c.length && r && (o ? this._mergeUserCompletions(r, c) : this._mergeCompletions(r, c)), l;
60986
60987
  }
60987
60988
  _getSnippetsCompletionsList() {
60988
- return mx.map((n) => {
60989
+ return ux.map((n) => {
60989
60990
  const { label: r, kind: o, insertText: l } = n, c = r.charAt(0).toUpperCase() + r.substring(1), m = {
60990
60991
  value: this._formatter.pineCode(l.replace(/\${\d:([^}]+)}|\${\d}/g, "$1"))
60991
60992
  };
@@ -61150,7 +61151,7 @@ class Tx {
61150
61151
  c.length ? _.push(this._createExampleSection(c)) : n.syntax && n.syntax.length && _.push(this._createSyntaxSection(n.syntax)), n.returns && n.returns.length && _.push(this._createReturnSection(n.returns));
61151
61152
  const g = {
61152
61153
  value: _.join(this._formatter.lineBreak)
61153
- }, b = n.name, h = o ? ge.functions : ge.userDefinedFunction, T = n.template, M = T ? `${fx(b)}<\${1}>` : b;
61154
+ }, b = n.name, h = o ? ge.functions : ge.userDefinedFunction, T = n.template, M = T ? `${gx(b)}<\${1}>` : b;
61154
61155
  return {
61155
61156
  documentation: g,
61156
61157
  label: T ? `${b.replace(/<.+>/, "")}<type>` : b,
@@ -61214,8 +61215,8 @@ class Tx {
61214
61215
  return !n || n.trim().length === 0 ? "" : this._formatter.paragraph(this._formatter.bold(it.Description), this._formatter.lineBreak, n);
61215
61216
  }
61216
61217
  }
61217
- const Bt = new Tx();
61218
- class Dx {
61218
+ const Bt = new Dx();
61219
+ class Ix {
61219
61220
  constructor() {
61220
61221
  Object.defineProperty(this, "_userFunctions", {
61221
61222
  enumerable: !0,
@@ -61267,7 +61268,7 @@ class Dx {
61267
61268
  const _ = this._getVariablesDocVal(c, n, r);
61268
61269
  if (_) {
61269
61270
  if (_.isBuildIn) {
61270
- const h = o == null ? void 0 : o.getWordAtPosition(l || new eb(r, n));
61271
+ const h = o == null ? void 0 : o.getWordAtPosition(l || new tb(r, n));
61271
61272
  if (((o == null ? void 0 : o.getValueInRange({ startLineNumber: r, startColumn: (h == null ? void 0 : h.endColumn) || 0, endLineNumber: r, endColumn: ((h == null ? void 0 : h.endColumn) || 0) + 2 })) || "").trim().startsWith("="))
61272
61273
  return null;
61273
61274
  }
@@ -61564,7 +61565,7 @@ class Dx {
61564
61565
  return !c.test(m);
61565
61566
  }
61566
61567
  }
61567
- const or = new Dx();
61568
+ const or = new Ix();
61568
61569
  var Za = { exports: {} };
61569
61570
  /**
61570
61571
  * @license
@@ -65762,7 +65763,7 @@ const Ki = {
65762
65763
  "editorError.foreground": k["color-ripe-red-500"],
65763
65764
  "editorWarning.foreground": k["color-tan-orange-700"]
65764
65765
  }
65765
- }, Ix = /(\\(?:[\\'"]))|(\\$)|("|$)|($)/g, kx = /(\\(?:[\\'"]))|(\\$)|('|$)|($)/g, zc = {
65766
+ }, kx = /(\\(?:[\\'"]))|(\\$)|("|$)|($)/g, Ax = /(\\(?:[\\'"]))|(\\$)|('|$)|($)/g, zc = {
65766
65767
  "color.aqua": "#00BCD4",
65767
65768
  "color.black": "#363A45",
65768
65769
  "color.blue": "#2196F3",
@@ -65781,7 +65782,7 @@ const Ki = {
65781
65782
  "color.white": "#FFFFFF",
65782
65783
  "color.yellow": "#FFEB3B"
65783
65784
  };
65784
- class Ax {
65785
+ class qx {
65785
65786
  constructor(n) {
65786
65787
  Object.defineProperty(this, "_formatter", {
65787
65788
  enumerable: !0,
@@ -65871,8 +65872,8 @@ class Ax {
65871
65872
  };
65872
65873
  }
65873
65874
  }
65874
- const qx = new Ax(window.navigator.userAgent);
65875
- class Cx {
65875
+ const Cx = new qx(window.navigator.userAgent);
65876
+ class zx {
65876
65877
  constructor() {
65877
65878
  Object.defineProperty(this, "_colors", {
65878
65879
  enumerable: !0,
@@ -65997,7 +65998,7 @@ class Cx {
65997
65998
  return n.startsWith("color.new");
65998
65999
  }
65999
66000
  }
66000
- const Ei = new Cx();
66001
+ const Ei = new zx();
66001
66002
  var Rt;
66002
66003
  (function(a) {
66003
66004
  a.BOOL = "bool", a.INT = "int", a.FLOAT = "float", a.ARRAY = "array", a.BOX = "box", a.CHART_POINT = "chart.point", a.COLOR = "color", a.CONST = "const", a.LABEL = "label", a.LINE = "line", a.LINEFILL = "linefill", a.MAP = "map", a.MATRIX = "matrix", a.POLYLINE = "polyline", a.SERIES = "series", a.SIMPLE = "simple", a.STRING = "string", a.TABLE = "table", a.UNDETERMINED = "undetermined type", a.INPUT = "input", a.NA = "na", a.VOID = "void", a.ENUM = "enum";
@@ -66128,7 +66129,7 @@ var op;
66128
66129
  })(op || (op = {}));
66129
66130
  Rt.SERIES, Rt.SIMPLE, Rt.INPUT, Rt.CONST;
66130
66131
  Rt.INT, Rt.FLOAT, Rt.BOOL, Rt.COLOR, Rt.STRING;
66131
- const zx = {
66132
+ const Ex = {
66132
66133
  domReadOnly: !0,
66133
66134
  scrollBeyondLastLine: !1,
66134
66135
  readOnly: !0,
@@ -66430,7 +66431,7 @@ const zx = {
66430
66431
  description: "Provides a tool to quickly output a label on the chart.",
66431
66432
  codeStr: 'const $name={calcBB:({srcArray:a,mult:r,calculate:_=!0},e)=>{let v=$_var.getVarValue("mean",e+"_14_12","var")||$_var.setVarValue("mean",e+"_14_12",$_var.na,"var"),s=$_var.getVarValue("dev",e+"_14_13","var")||$_var.setVarValue("dev",e+"_14_13",$_var.na,"var");return _&&($_var.againAssignParse(v,a.avg(e+"_16_16")),v=a.avg(e+"_16_16"),$_var.setVarValue("mean",e+"_14_12",v,"var"),$_var.againAssignParse(s,a.stdev(e+"_17_16")*r),s=a.stdev(e+"_17_16")*r,$_var.setVarValue("dev",e+"_14_13",s,"var")),[v,$_var.add(v,s),$_var.sub(v,s)]},calcBB$1:({srcArray:a,mult:r,calculate:_=!0},e)=>{let v=$_var.getVarValue("mean",e+"_14_21","var")||$_var.setVarValue("mean",e+"_14_21",$_var.na,"var"),s=$_var.getVarValue("dev",e+"_14_22","var")||$_var.setVarValue("dev",e+"_14_22",$_var.na,"var");return _&&($_var.againAssignParse(v,a.avg(e+"_25_16")),v=a.avg(e+"_25_16"),$_var.setVarValue("mean",e+"_14_21",v,"var"),$_var.againAssignParse(s,a.stdev(e+"_26_16")*r),s=a.stdev(e+"_26_16")*r,$_var.setVarValue("dev",e+"_14_22",s,"var")),[v,$_var.add(v,s),$_var.sub(v,s)]},Scanner:$_var.getTypeInstance({enabled:void 0,ticker:void 0,timeframe:void 0},[])};'
66432
66433
  };
66433
- class Ex {
66434
+ class Nx {
66434
66435
  constructor() {
66435
66436
  Object.defineProperty(this, "_inlayHints", {
66436
66437
  enumerable: !0,
@@ -66517,8 +66518,8 @@ class Ex {
66517
66518
  o.splice(15, 0, [r, "meta.function-call"]), $e.setMonarchTokensProvider(Ne, { ...ir, tokenizer: { ...ir.tokenizer, root: o } });
66518
66519
  }
66519
66520
  }
66520
- const Ja = new Ex();
66521
- function Nx(a, n, r) {
66521
+ const Ja = new Nx();
66522
+ function Sx(a, n, r) {
66522
66523
  var F;
66523
66524
  const o = {
66524
66525
  startLineNumber: n.lineNumber,
@@ -66555,25 +66556,25 @@ function Nx(a, n, r) {
66555
66556
  }
66556
66557
  };
66557
66558
  }
66558
- function Sx(a) {
66559
+ function Lx(a) {
66559
66560
  if (a.kind !== 1)
66560
66561
  return a;
66561
66562
  const { originInsertText: n } = a;
66562
66563
  return Bt.nextIsBracket ? a.insertText = n : a.insertText = n + Bt.bracketsPostfix, a;
66563
66564
  }
66564
- function Lx(a, n) {
66565
+ function Mx(a, n) {
66565
66566
  var o;
66566
66567
  const r = or.parseLineContentFuncVar(n.column, n.lineNumber, a, n);
66567
66568
  if (r != null && r.libraryId)
66568
66569
  return {
66569
66570
  contents: [
66570
66571
  {
66571
- value: bx(r)
66572
+ value: xx(r)
66572
66573
  }
66573
66574
  ]
66574
66575
  };
66575
66576
  if ((o = r == null ? void 0 : r.docValue) != null && o.length) {
66576
- const l = xx(r.docValue, r.index, r.isBuildIn);
66577
+ const l = hx(r.docValue, r.index, r.isBuildIn);
66577
66578
  if (l)
66578
66579
  return {
66579
66580
  contents: [
@@ -66587,21 +66588,21 @@ function Lx(a, n) {
66587
66588
  contents: []
66588
66589
  };
66589
66590
  }
66590
- function Mx(a, n) {
66591
+ function Px(a, n) {
66591
66592
  var T, M;
66592
66593
  const r = {
66593
66594
  startLineNumber: n.lineNumber,
66594
66595
  endLineNumber: n.lineNumber,
66595
66596
  startColumn: 1,
66596
66597
  endColumn: n.column
66597
- }, o = a.getValueInRange(r), l = a.findMatches(String(Ix), r, !0, !1, null, !0), c = a.findMatches(String(kx), r, !0, !1, null, !0), m = (T = l.pop()) == null ? void 0 : T.matches, _ = (M = c.pop()) == null ? void 0 : M.matches;
66598
+ }, o = a.getValueInRange(r), l = a.findMatches(String(kx), r, !0, !1, null, !0), c = a.findMatches(String(Ax), r, !0, !1, null, !0), m = (T = l.pop()) == null ? void 0 : T.matches, _ = (M = c.pop()) == null ? void 0 : M.matches;
66598
66599
  let g = !1;
66599
66600
  l.length % 2 === 0 ? m && m[0] === '"' && (g = !0) : m && !m[0] && (g = !0);
66600
66601
  let b = !1;
66601
66602
  c.length % 2 === 0 ? _ && _[0] === "'" && (b = !0) : _ && !_[0] && (b = !0);
66602
66603
  const h = or.parseCurrentInputFuncAndArg(o, b, g);
66603
66604
  if (h) {
66604
- const { funcName: F, args: P } = h, N = qx.getSignatureHelpValues(F, P);
66605
+ const { funcName: F, args: P } = h, N = Cx.getSignatureHelpValues(F, P);
66605
66606
  if (N)
66606
66607
  return {
66607
66608
  value: N,
@@ -66611,7 +66612,7 @@ function Mx(a, n) {
66611
66612
  }
66612
66613
  return null;
66613
66614
  }
66614
- function Px(a) {
66615
+ function Ox(a) {
66615
66616
  let n = a.findMatches(Ei.colorMatchesRegStr, !0, !0, !1, null, !0);
66616
66617
  return n = n.filter((o) => {
66617
66618
  const l = a.getValueInRange({
@@ -66621,10 +66622,10 @@ function Px(a) {
66621
66622
  return l.indexOf("//") === -1 || l.indexOf("//") > o.range.endColumn;
66622
66623
  }), Ei.getDocumentColors(n);
66623
66624
  }
66624
- function Ox(a, n) {
66625
+ function Fx(a, n) {
66625
66626
  return Ei.getDocumentColorPresentations(a, n) || [];
66626
66627
  }
66627
- function Fx(a, n) {
66628
+ function Rx(a, n) {
66628
66629
  const r = a.getModel(), o = or.parseLineContentFuncVar(n.startColumn + 1, n.startLineNumber, r);
66629
66630
  if (!o || o.isBuildIn || !o.docValue || !o.docValue[0].pos)
66630
66631
  return o != null && o.isBuildIn ? o : void 0;
@@ -66636,7 +66637,7 @@ function Fx(a, n) {
66636
66637
  };
66637
66638
  a.revealRangeInCenterIfOutsideViewport(m), a.setSelection(m);
66638
66639
  }
66639
- function Rx(a, n) {
66640
+ function Bx(a, n) {
66640
66641
  return or.parseLineContentFuncVar(n.column, n.lineNumber, a, n) ? {
66641
66642
  uri: a.uri,
66642
66643
  range: {
@@ -66650,14 +66651,14 @@ function Rx(a, n) {
66650
66651
  function cp(a, n) {
66651
66652
  return a.map((r) => (r.range = n, r));
66652
66653
  }
66653
- function Bx() {
66654
+ function Kx() {
66654
66655
  return {
66655
66656
  hints: Ja.inlayHints,
66656
66657
  dispose: () => {
66657
66658
  }
66658
66659
  };
66659
66660
  }
66660
- var Kr = {}, Fr = sb;
66661
+ var Kr = {}, Fr = rb;
66661
66662
  if (process.env.NODE_ENV === "production")
66662
66663
  Kr.createRoot = Fr.createRoot, Kr.hydrateRoot = Fr.hydrateRoot;
66663
66664
  else {
@@ -66682,15 +66683,15 @@ var Ye;
66682
66683
  (function(a) {
66683
66684
  a.added = "added", a.removed = "removed", a.modified = "modified";
66684
66685
  })(Ye || (Ye = {}));
66685
- const Kx = (a, n) => {
66686
+ const Ux = (a, n) => {
66686
66687
  const { close: r, retracement: o } = a, [l, c] = ot("modified");
66687
66688
  return hp(n, () => ({
66688
66689
  updateType(m) {
66689
66690
  c(m);
66690
66691
  }
66691
66692
  })), L.jsxs("div", { className: `content-popup content-${l}-popup`, children: [L.jsx("div", { className: `triangle-popup triangle-${l}-popup` }), L.jsxs("div", { className: `header-popup header-${l}-popup`, children: [L.jsx("div", { className: "title-popup", children: "Local working changes" }), L.jsx("div", { className: "actions-popup", children: L.jsx("div", { onClick: r, "data-role": "button", className: "button-popup", "data-name": "button-close-diff", children: L.jsx("span", { className: "icon-popup", role: "img", children: L.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", width: "12", height: "12", children: L.jsx("path", { stroke: "currentColor", strokeWidth: "1.2", d: "m1.5 1.5 9 9m0-9-9 9" }) }) }) }) })] }), L.jsx("div", { id: "diffEditorContainer", style: { height: "100%" } })] });
66692
- }, Ux = xp(Kx);
66693
- class $x {
66693
+ }, $x = xp(Ux);
66694
+ class Hx {
66694
66695
  constructor(n, r, o = !0) {
66695
66696
  Object.defineProperty(this, "_domNode", {
66696
66697
  enumerable: !0,
@@ -66712,7 +66713,7 @@ class $x {
66712
66713
  configurable: !0,
66713
66714
  writable: !0,
66714
66715
  value: void 0
66715
- }), this._id = n, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = o ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", r == null || r.onDidScrollChange(this.scrollChangeHandler.bind(this)), Kr.createRoot(this._domNode).render(L.jsx(Ux, { ref: (l) => this._content = l, close: () => this._close(), retracement: this._retracement })), this._top = 0;
66716
+ }), this._id = n, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = o ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", r == null || r.onDidScrollChange(this.scrollChangeHandler.bind(this)), Kr.createRoot(this._domNode).render(L.jsx($x, { ref: (l) => this._content = l, close: () => this._close(), retracement: this._retracement })), this._top = 0;
66716
66717
  }
66717
66718
  _close() {
66718
66719
  this._domNode.style.display = "none";
@@ -66780,7 +66781,7 @@ hs.prototype = {
66780
66781
  continue;
66781
66782
  }
66782
66783
  if (!ie || se && R.oldPos + 1 < U.oldPos ? A = m.addToPath(U, !0, void 0, 0) : A = m.addToPath(R, void 0, !0, 1), N = m.extractCommon(A, r, n, I), A.oldPos + 1 >= b && N + 1 >= g)
66783
- return _(Hx(m, A.lastComponent, r, n, m.useLongestToken));
66784
+ return _(jx(m, A.lastComponent, r, n, m.useLongestToken));
66784
66785
  P[I] = A, A.oldPos + 1 >= b && (G = Math.min(G, I - 1)), N + 1 >= g && (H = Math.max(H, I + 1));
66785
66786
  }
66786
66787
  h++;
@@ -66846,7 +66847,7 @@ hs.prototype = {
66846
66847
  return n.join("");
66847
66848
  }
66848
66849
  };
66849
- function Hx(a, n, r, o, l) {
66850
+ function jx(a, n, r, o, l) {
66850
66851
  for (var c = [], m; n; )
66851
66852
  c.push(n), m = n.previousComponent, delete n.previousComponent, n = m;
66852
66853
  c.reverse();
@@ -66893,15 +66894,15 @@ $i.tokenize = function(a) {
66893
66894
  }
66894
66895
  return n;
66895
66896
  };
66896
- function jx(a, n, r) {
66897
+ function Wx(a, n, r) {
66897
66898
  return $i.diff(a, n, r);
66898
66899
  }
66899
- var Wx = new hs();
66900
- Wx.tokenize = function(a) {
66901
- return a.split(/(\S.+?[.!?])(?=\s+|$)/);
66902
- };
66903
66900
  var Gx = new hs();
66904
66901
  Gx.tokenize = function(a) {
66902
+ return a.split(/(\S.+?[.!?])(?=\s+|$)/);
66903
+ };
66904
+ var Xx = new hs();
66905
+ Xx.tokenize = function(a) {
66905
66906
  return a.split(/([{}:;,]|\s+)/);
66906
66907
  };
66907
66908
  function Ya(a) {
@@ -66912,7 +66913,7 @@ function Ya(a) {
66912
66913
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
66913
66914
  }, Ya(a);
66914
66915
  }
66915
- var Xx = Object.prototype.toString, Wr = new hs();
66916
+ var Yx = Object.prototype.toString, Wr = new hs();
66916
66917
  Wr.useLongestToken = !0;
66917
66918
  Wr.tokenize = $i.tokenize;
66918
66919
  Wr.castInput = function(a) {
@@ -66931,7 +66932,7 @@ function Ni(a, n, r, o, l) {
66931
66932
  if (n[c] === a)
66932
66933
  return r[c];
66933
66934
  var m;
66934
- if (Xx.call(a) === "[object Array]") {
66935
+ if (Yx.call(a) === "[object Array]") {
66935
66936
  for (n.push(a), m = new Array(a.length), r.push(m), c = 0; c < a.length; c += 1)
66936
66937
  m[c] = Ni(a[c], n, r, o, l);
66937
66938
  return n.pop(), r.pop(), m;
@@ -66955,7 +66956,7 @@ Si.tokenize = function(a) {
66955
66956
  Si.join = Si.removeEmpty = function(a) {
66956
66957
  return a;
66957
66958
  };
66958
- class Yx {
66959
+ class Vx {
66959
66960
  constructor(n, r, o = "") {
66960
66961
  Object.defineProperty(this, "_editor", {
66961
66962
  enumerable: !0,
@@ -67041,11 +67042,11 @@ class Yx {
67041
67042
  }
67042
67043
  _changeEvent() {
67043
67044
  var l, c;
67044
- const n = jx(this._originalModel.getValue(), ((l = this._editor.getModel()) == null ? void 0 : l.getValue()) || ""), r = this._changesHandle(n), o = ((c = this._editor.getModel()) == null ? void 0 : c.deltaDecorations(this._oldDecorations, r)) || [];
67045
+ const n = Wx(this._originalModel.getValue(), ((l = this._editor.getModel()) == null ? void 0 : l.getValue()) || ""), r = this._changesHandle(n), o = ((c = this._editor.getModel()) == null ? void 0 : c.deltaDecorations(this._oldDecorations, r)) || [];
67045
67046
  this._oldDecorations = o;
67046
67047
  }
67047
67048
  _eventListening() {
67048
- const n = new $x("diff.popup.widget", this._editor);
67049
+ const n = new Hx("diff.popup.widget", this._editor);
67049
67050
  this._editor.addOverlayWidget(n), this._onMouseDownListener = this._editor.onMouseDown((r) => this._onMouseDownHandle(r)), this._diffPopupWidget = n;
67050
67051
  }
67051
67052
  _onMouseDownHandle(n) {
@@ -67069,7 +67070,7 @@ class Yx {
67069
67070
  });
67070
67071
  }
67071
67072
  }
67072
- class Vx {
67073
+ class Qx {
67073
67074
  constructor(n, r, o) {
67074
67075
  Object.defineProperty(this, "_editor", {
67075
67076
  enumerable: !0,
@@ -67118,7 +67119,7 @@ class Vx {
67118
67119
  this._monaco.editor.setModelMarkers(this._editor.getModel(), "owner", n);
67119
67120
  }
67120
67121
  addDiffDecorations() {
67121
- this._decorations || (this._decorations = new Yx(this._editor, this._monaco, this._originalScript));
67122
+ this._decorations || (this._decorations = new Vx(this._editor, this._monaco, this._originalScript));
67122
67123
  }
67123
67124
  removeDiffDecorations() {
67124
67125
  var n;
@@ -67160,19 +67161,19 @@ class Vx {
67160
67161
  id: Ne
67161
67162
  }), this._monaco.languages.registerCompletionItemProvider(Ne, {
67162
67163
  triggerCharacters: [".", "@"],
67163
- provideCompletionItems: Nx,
67164
- resolveCompletionItem: Sx
67164
+ provideCompletionItems: Sx,
67165
+ resolveCompletionItem: Lx
67165
67166
  }), this._monaco.languages.registerHoverProvider(Ne, {
67166
- provideHover: Lx
67167
+ provideHover: Mx
67167
67168
  }), this._monaco.languages.registerSignatureHelpProvider(Ne, {
67168
67169
  signatureHelpTriggerCharacters: ["(", ","],
67169
- provideSignatureHelp: Mx
67170
+ provideSignatureHelp: Px
67170
67171
  }), this._monaco.languages.registerColorProvider(Ne, {
67171
- provideColorPresentations: Ox,
67172
- provideDocumentColors: Px
67172
+ provideColorPresentations: Fx,
67173
+ provideDocumentColors: Ox
67173
67174
  }), this._monaco.editor.registerEditorOpener({
67174
67175
  openCodeEditor: (n, r, o) => {
67175
- const l = Fx(n, o);
67176
+ const l = Rx(n, o);
67176
67177
  if (l) {
67177
67178
  const { index: c, docValue: m } = l, { title: _, name: g } = m[c];
67178
67179
  let b = "";
@@ -67200,9 +67201,9 @@ class Vx {
67200
67201
  }), this._monaco.editor.registerLinkOpener({
67201
67202
  open: (n) => (this._onLinkOpen && n.fragment && this._onLinkOpen(n.fragment), !!n.fragment)
67202
67203
  }), this._monaco.languages.registerDefinitionProvider(Ne, {
67203
- provideDefinition: Rx
67204
+ provideDefinition: Bx
67204
67205
  }), this._monaco.languages.registerInlayHintsProvider(Ne, {
67205
- provideInlayHints: Bx
67206
+ provideInlayHints: Kx
67206
67207
  });
67207
67208
  }
67208
67209
  _setOptions() {
@@ -67286,7 +67287,7 @@ class Vx {
67286
67287
  * Copyright 2019 Google LLC
67287
67288
  * SPDX-License-Identifier: Apache-2.0
67288
67289
  */
67289
- const Ep = Symbol("Comlink.proxy"), Qx = Symbol("Comlink.endpoint"), Zx = Symbol("Comlink.releaseProxy"), qi = Symbol("Comlink.finalizer"), Va = Symbol("Comlink.thrown"), Np = (a) => typeof a == "object" && a !== null || typeof a == "function", Jx = {
67290
+ const Ep = Symbol("Comlink.proxy"), Zx = Symbol("Comlink.endpoint"), Jx = Symbol("Comlink.releaseProxy"), qi = Symbol("Comlink.finalizer"), Va = Symbol("Comlink.thrown"), Np = (a) => typeof a == "object" && a !== null || typeof a == "function", eh = {
67290
67291
  canHandle: (a) => Np(a) && a[Ep],
67291
67292
  serialize(a) {
67292
67293
  const { port1: n, port2: r } = new MessageChannel();
@@ -67295,7 +67296,7 @@ const Ep = Symbol("Comlink.proxy"), Qx = Symbol("Comlink.endpoint"), Zx = Symbol
67295
67296
  deserialize(a) {
67296
67297
  return a.start(), Hi(a);
67297
67298
  }
67298
- }, eh = {
67299
+ }, th = {
67299
67300
  canHandle: (a) => Np(a) && Va in a,
67300
67301
  serialize({ value: a }) {
67301
67302
  let n;
@@ -67312,10 +67313,10 @@ const Ep = Symbol("Comlink.proxy"), Qx = Symbol("Comlink.endpoint"), Zx = Symbol
67312
67313
  throw a.isError ? Object.assign(new Error(a.value.message), a.value) : a.value;
67313
67314
  }
67314
67315
  }, Sp = /* @__PURE__ */ new Map([
67315
- ["proxy", Jx],
67316
- ["throw", eh]
67316
+ ["proxy", eh],
67317
+ ["throw", th]
67317
67318
  ]);
67318
- function th(a, n) {
67319
+ function sh(a, n) {
67319
67320
  for (const r of a)
67320
67321
  if (n === r || r === "*" || r instanceof RegExp && r.test(n))
67321
67322
  return !0;
@@ -67325,7 +67326,7 @@ function Lp(a, n = globalThis, r = ["*"]) {
67325
67326
  n.addEventListener("message", function o(l) {
67326
67327
  if (!l || !l.data)
67327
67328
  return;
67328
- if (!th(r, l.origin)) {
67329
+ if (!sh(r, l.origin)) {
67329
67330
  console.warn(`Invalid origin '${l.origin}' for comlink proxy`);
67330
67331
  return;
67331
67332
  }
@@ -67352,7 +67353,7 @@ function Lp(a, n = globalThis, r = ["*"]) {
67352
67353
  case "ENDPOINT":
67353
67354
  {
67354
67355
  const { port1: M, port2: F } = new MessageChannel();
67355
- Lp(a, F), b = ih(M, [M]);
67356
+ Lp(a, F), b = oh(M, [M]);
67356
67357
  }
67357
67358
  break;
67358
67359
  case "RELEASE":
@@ -67376,11 +67377,11 @@ function Lp(a, n = globalThis, r = ["*"]) {
67376
67377
  });
67377
67378
  }), n.start && n.start();
67378
67379
  }
67379
- function sh(a) {
67380
+ function rh(a) {
67380
67381
  return a.constructor.name === "MessagePort";
67381
67382
  }
67382
67383
  function Mp(a) {
67383
- sh(a) && a.close();
67384
+ rh(a) && a.close();
67384
67385
  }
67385
67386
  function Hi(a, n) {
67386
67387
  return Li(a, [], n);
@@ -67400,11 +67401,11 @@ const en = /* @__PURE__ */ new WeakMap(), tn = "FinalizationRegistry" in globalT
67400
67401
  const n = (en.get(a) || 0) - 1;
67401
67402
  en.set(a, n), n === 0 && Pp(a);
67402
67403
  });
67403
- function rh(a, n) {
67404
+ function ah(a, n) {
67404
67405
  const r = (en.get(n) || 0) + 1;
67405
67406
  en.set(n, r), tn && tn.register(a, n, a);
67406
67407
  }
67407
- function ah(a) {
67408
+ function nh(a) {
67408
67409
  tn && tn.unregister(a);
67409
67410
  }
67410
67411
  function Li(a, n = [], r = function() {
@@ -67412,9 +67413,9 @@ function Li(a, n = [], r = function() {
67412
67413
  let o = !1;
67413
67414
  const l = new Proxy(r, {
67414
67415
  get(c, m) {
67415
- if (Ga(o), m === Zx)
67416
+ if (Ga(o), m === Jx)
67416
67417
  return () => {
67417
- ah(l), Pp(a), o = !0;
67418
+ nh(l), Pp(a), o = !0;
67418
67419
  };
67419
67420
  if (m === "then") {
67420
67421
  if (n.length === 0)
@@ -67439,7 +67440,7 @@ function Li(a, n = [], r = function() {
67439
67440
  apply(c, m, _) {
67440
67441
  Ga(o);
67441
67442
  const g = n[n.length - 1];
67442
- if (g === Qx)
67443
+ if (g === Zx)
67443
67444
  return ar(a, {
67444
67445
  type: "ENDPOINT"
67445
67446
  }).then(Ms);
@@ -67462,17 +67463,17 @@ function Li(a, n = [], r = function() {
67462
67463
  }, g).then(Ms);
67463
67464
  }
67464
67465
  });
67465
- return rh(l, a), l;
67466
+ return ah(l, a), l;
67466
67467
  }
67467
- function nh(a) {
67468
+ function ih(a) {
67468
67469
  return Array.prototype.concat.apply([], a);
67469
67470
  }
67470
67471
  function mp(a) {
67471
67472
  const n = a.map(sn);
67472
- return [n.map((r) => r[0]), nh(n.map((r) => r[1]))];
67473
+ return [n.map((r) => r[0]), ih(n.map((r) => r[1]))];
67473
67474
  }
67474
67475
  const Op = /* @__PURE__ */ new WeakMap();
67475
- function ih(a, n) {
67476
+ function oh(a, n) {
67476
67477
  return Op.set(a, n), a;
67477
67478
  }
67478
67479
  function ji(a) {
@@ -67509,13 +67510,13 @@ function Ms(a) {
67509
67510
  }
67510
67511
  function ar(a, n, r) {
67511
67512
  return new Promise((o) => {
67512
- const l = oh();
67513
+ const l = lh();
67513
67514
  a.addEventListener("message", function c(m) {
67514
67515
  !m.data || !m.data.id || m.data.id !== l || (a.removeEventListener("message", c), o(m.data));
67515
67516
  }), a.start && a.start(), a.postMessage(Object.assign({ id: l }, n), r);
67516
67517
  });
67517
67518
  }
67518
- function oh() {
67519
+ function lh() {
67519
67520
  return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
67520
67521
  }
67521
67522
  const Fp = new Worker(new URL("" + new URL("assets/scriptsRunWorker-DTH9vYgp.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run TccScript Server" });
@@ -67525,22 +67526,22 @@ Fp.onerror = (a) => {
67525
67526
  async function Rp(a) {
67526
67527
  return await Ja.setInlayHints(a);
67527
67528
  }
67528
- const Bp = Hi(Fp), Kp = Hi(new Worker(new URL("" + new URL("assets/parserTccWorker-CpxYiTUZ.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
67529
- async function lh(a, n = !1) {
67529
+ const Bp = Hi(Fp), Kp = Hi(new Worker(new URL("" + new URL("assets/parserTccWorker-cirR5d2e.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
67530
+ async function ch(a, n = !1) {
67530
67531
  const { functions: r, types: o, constants: l, variables: c, methods: m } = bt;
67531
67532
  return await Kp.parseTcc(a, n, ji(Rp), { functions: Object.fromEntries(r), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(l), variables: Object.fromEntries(c) });
67532
67533
  }
67533
- async function Oh(a, n) {
67534
+ async function Fh(a, n) {
67534
67535
  const { functions: r, types: o, constants: l, variables: c, methods: m } = bt;
67535
67536
  return await Kp.parseLibraryCode(a, n, ji(Rp), { functions: Object.fromEntries(r), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(l), variables: Object.fromEntries(c) });
67536
67537
  }
67537
- async function ch(a, n, r = !0) {
67538
+ async function ph(a, n, r = !0) {
67538
67539
  return await Bp.runScript(a, n, r);
67539
67540
  }
67540
- async function Fh(a) {
67541
+ async function Rh(a) {
67541
67542
  return await Bp.removeScript(a);
67542
67543
  }
67543
- function ph(a) {
67544
+ function dh(a) {
67544
67545
  return new Worker(
67545
67546
  "" + new URL("assets/editor.worker-CT5Cb1wO.js", import.meta.url).href,
67546
67547
  {
@@ -67550,19 +67551,12 @@ function ph(a) {
67550
67551
  }
67551
67552
  self.MonacoEnvironment = {
67552
67553
  getWorker() {
67553
- return new ph({ name: "Editor Worker" });
67554
+ return new dh({ name: "Editor Worker" });
67554
67555
  }
67555
67556
  };
67556
- console.log(import.meta.url);
67557
- console.log(new URL("./vs", import.meta.url));
67558
- Ri.config({
67559
- // paths: {
67560
- // vs: './vs',
67561
- // },
67562
- "vs/nls": { availableLanguages: { "*": "zh-cn" } }
67563
- });
67557
+ Ri.config({ monaco: eb });
67564
67558
  let up = {};
67565
- const dh = (a, n) => {
67559
+ const mh = (a, n) => {
67566
67560
  const { height: r, width: o, theme: l, options: c, hasDiff: m, readOnly: _, defaultValue: g, onChange: b, onLinkOpen: h, onDeclareConfigChange: T, onCursorPositionChange: M, onActionTrigger: F, onEditorDidMount: P } = a, N = Pe(null), H = Pe(null);
67567
67561
  hp(n, () => ({
67568
67562
  setOriginalScript(A) {
@@ -67601,13 +67595,13 @@ const dh = (a, n) => {
67601
67595
  }, [h]);
67602
67596
  function G(A, R) {
67603
67597
  var se, me, ie;
67604
- Bt.initBuiltinsTrees(), Ja.setEditor(A), N.current = new Vx(A, R, F), h && ((se = N.current) == null || se.addLinkOpenFunc(h)), m && ((me = N.current) == null || me.addDiffDecorations()), vx(A), (ie = N.current) == null || ie.setEditorLayout(Number(r));
67598
+ Bt.initBuiltinsTrees(), Ja.setEditor(A), N.current = new Qx(A, R, F), h && ((se = N.current) == null || se.addLinkOpenFunc(h)), m && ((me = N.current) == null || me.addDiffDecorations()), Tx(A), (ie = N.current) == null || ie.setEditorLayout(Number(r));
67605
67599
  const U = A.getValue();
67606
67600
  N.current.onChangeCursorPosition(M), b && b(U), !_ && j(U), P && P();
67607
67601
  }
67608
67602
  const j = $r(async (A) => {
67609
67603
  var ht;
67610
- const R = Date.now(), { errors: U, functions: se, methods: me, types: ie, variables: xt, overloadsFuncs: Et, imports: Ke, preParserCode: Fe, enums: Y } = await lh(A), _e = new Map(Object.entries(se)), Ce = new Map(Object.entries(me)), Se = new Map(Object.entries(ie)), lt = new Map(Object.entries(xt)), Nt = new Map(Object.entries(Ke)), J = new Map(Object.entries(Y));
67604
+ const R = Date.now(), { errors: U, functions: se, methods: me, types: ie, variables: xt, overloadsFuncs: Et, imports: Ke, preParserCode: Fe, enums: Y } = await ch(A, !0), _e = new Map(Object.entries(se)), Ce = new Map(Object.entries(me)), Se = new Map(Object.entries(ie)), lt = new Map(Object.entries(xt)), Nt = new Map(Object.entries(Ke)), J = new Map(Object.entries(Y));
67611
67605
  or.setUserDefined({
67612
67606
  functions: _e,
67613
67607
  methods: Ce,
@@ -67618,13 +67612,13 @@ const dh = (a, n) => {
67618
67612
  }, Et), Bt.setUserDefind(_e, Se, lt, Ce, J);
67619
67613
  const be = U.map((De) => ({
67620
67614
  ...De,
67621
- severity: De.type || tb.Error
67615
+ severity: De.type || sb.Error
67622
67616
  }));
67623
67617
  if (_)
67624
67618
  return;
67625
67619
  try {
67626
67620
  if (!U.length && Fe) {
67627
- const De = await ch(Fe, {
67621
+ const De = await ph(Fe, {
67628
67622
  isPreParser: !0
67629
67623
  });
67630
67624
  Cc.isEqual(De, up) || (up = De, T && T(De));
@@ -67661,7 +67655,7 @@ const dh = (a, n) => {
67661
67655
  return H.current && R.observe(H.current), () => {
67662
67656
  H.current && R.unobserve(H.current), R.disconnect();
67663
67657
  };
67664
- }, []), L.jsx("div", { ref: H, children: L.jsx(dx, { height: r, width: o || "100%", defaultLanguage: Ne, defaultValue: g || `indicator("我的脚本")
67658
+ }, []), L.jsx("div", { ref: H, children: L.jsx(mx, { height: r, width: o || "100%", defaultLanguage: Ne, defaultValue: g || `indicator("我的脚本")
67665
67659
  plot(close)
67666
67660
  `, theme: l || "vs-dark", className: `tvue-script ${l || "vs-dark"}`, options: {
67667
67661
  colorDecorators: !0,
@@ -67673,19 +67667,19 @@ plot(close)
67673
67667
  filterGraceful: !0
67674
67668
  },
67675
67669
  fontSize: 13,
67676
- ..._ ? zx : {},
67670
+ ..._ ? Ex : {},
67677
67671
  readOnlyMessage: {
67678
67672
  value: "该脚本是只读的。它无法被编辑。"
67679
67673
  },
67680
67674
  ...c
67681
67675
  }, onMount: G, onChange: I }) });
67682
- }, Rh = xp(dh), Bh = (a) => {
67676
+ }, Bh = xp(mh), Kh = (a) => {
67683
67677
  const { theme: n, modified: r, original: o, height: l, width: c, renderSideBySide: m = !0 } = a, _ = $r((g, b) => {
67684
67678
  b.languages.register({
67685
67679
  id: Ne
67686
67680
  }), b.editor.defineTheme("vs-dark", Ui), b.editor.defineTheme("vs", Ki), b.languages.setMonarchTokensProvider(Ne, ir), b.languages.setLanguageConfiguration(Ne, Bi);
67687
67681
  }, []);
67688
- return L.jsx(ix, { height: l || "90vh", width: c || "100%", theme: n || "vs-dark", options: {
67682
+ return L.jsx(ox, { height: l || "90vh", width: c || "100%", theme: n || "vs-dark", options: {
67689
67683
  readOnly: !0,
67690
67684
  renderSideBySide: m,
67691
67685
  scrollBeyondLastLine: !1
@@ -67695,7 +67689,7 @@ var yp;
67695
67689
  (function(a) {
67696
67690
  a[a.Hint = 1] = "Hint", a[a.Info = 2] = "Info", a[a.Warning = 4] = "Warning", a[a.Error = 8] = "Error";
67697
67691
  })(yp || (yp = {}));
67698
- var nn = {}, mh = function() {
67692
+ var nn = {}, uh = function() {
67699
67693
  var a = document.getSelection();
67700
67694
  if (!a.rangeCount)
67701
67695
  return function() {
@@ -67716,20 +67710,20 @@ var nn = {}, mh = function() {
67716
67710
  a.addRange(l);
67717
67711
  }), n && n.focus();
67718
67712
  };
67719
- }, uh = mh, _p = {
67713
+ }, yh = uh, _p = {
67720
67714
  "text/plain": "Text",
67721
67715
  "text/html": "Url",
67722
67716
  default: "Text"
67723
- }, yh = "Copy to clipboard: #{key}, Enter";
67724
- function _h(a) {
67717
+ }, _h = "Copy to clipboard: #{key}, Enter";
67718
+ function fh(a) {
67725
67719
  var n = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
67726
67720
  return a.replace(/#{\s*key\s*}/g, n);
67727
67721
  }
67728
- function fh(a, n) {
67722
+ function gh(a, n) {
67729
67723
  var r, o, l, c, m, _, g = !1;
67730
67724
  n || (n = {}), r = n.debug || !1;
67731
67725
  try {
67732
- l = uh(), c = document.createRange(), m = document.getSelection(), _ = document.createElement("span"), _.textContent = a, _.ariaHidden = "true", _.style.all = "unset", _.style.position = "fixed", _.style.top = 0, _.style.clip = "rect(0, 0, 0, 0)", _.style.whiteSpace = "pre", _.style.webkitUserSelect = "text", _.style.MozUserSelect = "text", _.style.msUserSelect = "text", _.style.userSelect = "text", _.addEventListener("copy", function(h) {
67726
+ l = yh(), c = document.createRange(), m = document.getSelection(), _ = document.createElement("span"), _.textContent = a, _.ariaHidden = "true", _.style.all = "unset", _.style.position = "fixed", _.style.top = 0, _.style.clip = "rect(0, 0, 0, 0)", _.style.whiteSpace = "pre", _.style.webkitUserSelect = "text", _.style.MozUserSelect = "text", _.style.msUserSelect = "text", _.style.userSelect = "text", _.addEventListener("copy", function(h) {
67733
67727
  if (h.stopPropagation(), n.format)
67734
67728
  if (h.preventDefault(), typeof h.clipboardData > "u") {
67735
67729
  r && console.warn("unable to use e.clipboardData"), r && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
@@ -67748,14 +67742,14 @@ function fh(a, n) {
67748
67742
  try {
67749
67743
  window.clipboardData.setData(n.format || "text", a), n.onCopy && n.onCopy(window.clipboardData), g = !0;
67750
67744
  } catch (T) {
67751
- r && console.error("unable to copy using clipboardData: ", T), r && console.error("falling back to prompt"), o = _h("message" in n ? n.message : yh), window.prompt(o, a);
67745
+ r && console.error("unable to copy using clipboardData: ", T), r && console.error("falling back to prompt"), o = fh("message" in n ? n.message : _h), window.prompt(o, a);
67752
67746
  }
67753
67747
  } finally {
67754
67748
  m && (typeof m.removeRange == "function" ? m.removeRange(c) : m.removeAllRanges()), _ && document.body.removeChild(_), l();
67755
67749
  }
67756
67750
  return g;
67757
67751
  }
67758
- var gh = fh;
67752
+ var bh = gh;
67759
67753
  function Mi(a) {
67760
67754
  "@babel/helpers - typeof";
67761
67755
  return Mi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
@@ -67768,7 +67762,7 @@ Object.defineProperty(nn, "__esModule", {
67768
67762
  value: !0
67769
67763
  });
67770
67764
  nn.CopyToClipboard = void 0;
67771
- var Xa = Up(is), bh = Up(gh), xh = ["text", "onCopy", "options", "children"];
67765
+ var Xa = Up(is), xh = Up(bh), hh = ["text", "onCopy", "options", "children"];
67772
67766
  function Up(a) {
67773
67767
  return a && a.__esModule ? a : { default: a };
67774
67768
  }
@@ -67793,10 +67787,10 @@ function gp(a) {
67793
67787
  }
67794
67788
  return a;
67795
67789
  }
67796
- function hh(a, n) {
67790
+ function wh(a, n) {
67797
67791
  if (a == null)
67798
67792
  return {};
67799
- var r = wh(a, n), o, l;
67793
+ var r = vh(a, n), o, l;
67800
67794
  if (Object.getOwnPropertySymbols) {
67801
67795
  var c = Object.getOwnPropertySymbols(a);
67802
67796
  for (l = 0; l < c.length; l++)
@@ -67804,7 +67798,7 @@ function hh(a, n) {
67804
67798
  }
67805
67799
  return r;
67806
67800
  }
67807
- function wh(a, n) {
67801
+ function vh(a, n) {
67808
67802
  if (a == null)
67809
67803
  return {};
67810
67804
  var r = {}, o = Object.keys(a), l, c;
@@ -67812,7 +67806,7 @@ function wh(a, n) {
67812
67806
  l = o[c], !(n.indexOf(l) >= 0) && (r[l] = a[l]);
67813
67807
  return r;
67814
67808
  }
67815
- function vh(a, n) {
67809
+ function Th(a, n) {
67816
67810
  if (!(a instanceof n))
67817
67811
  throw new TypeError("Cannot call a class as a function");
67818
67812
  }
@@ -67822,10 +67816,10 @@ function bp(a, n) {
67822
67816
  o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(a, o.key, o);
67823
67817
  }
67824
67818
  }
67825
- function Th(a, n, r) {
67819
+ function Dh(a, n, r) {
67826
67820
  return n && bp(a.prototype, n), r && bp(a, r), Object.defineProperty(a, "prototype", { writable: !1 }), a;
67827
67821
  }
67828
- function Dh(a, n) {
67822
+ function Ih(a, n) {
67829
67823
  if (typeof n != "function" && n !== null)
67830
67824
  throw new TypeError("Super expression must either be null or a function");
67831
67825
  a.prototype = Object.create(n && n.prototype, { constructor: { value: a, writable: !0, configurable: !0 } }), Object.defineProperty(a, "prototype", { writable: !1 }), n && Pi(a, n);
@@ -67835,8 +67829,8 @@ function Pi(a, n) {
67835
67829
  return o.__proto__ = l, o;
67836
67830
  }, Pi(a, n);
67837
67831
  }
67838
- function Ih(a) {
67839
- var n = Ah();
67832
+ function kh(a) {
67833
+ var n = qh();
67840
67834
  return function() {
67841
67835
  var o = rn(a), l;
67842
67836
  if (n) {
@@ -67844,10 +67838,10 @@ function Ih(a) {
67844
67838
  l = Reflect.construct(o, arguments, c);
67845
67839
  } else
67846
67840
  l = o.apply(this, arguments);
67847
- return kh(this, l);
67841
+ return Ah(this, l);
67848
67842
  };
67849
67843
  }
67850
- function kh(a, n) {
67844
+ function Ah(a, n) {
67851
67845
  if (n && (Mi(n) === "object" || typeof n == "function"))
67852
67846
  return n;
67853
67847
  if (n !== void 0)
@@ -67859,7 +67853,7 @@ function $p(a) {
67859
67853
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
67860
67854
  return a;
67861
67855
  }
67862
- function Ah() {
67856
+ function qh() {
67863
67857
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
67864
67858
  return !1;
67865
67859
  if (typeof Proxy == "function")
@@ -67880,24 +67874,24 @@ function Wi(a, n, r) {
67880
67874
  return n in a ? Object.defineProperty(a, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : a[n] = r, a;
67881
67875
  }
67882
67876
  var Hp = /* @__PURE__ */ function(a) {
67883
- Dh(r, a);
67884
- var n = Ih(r);
67877
+ Ih(r, a);
67878
+ var n = kh(r);
67885
67879
  function r() {
67886
67880
  var o;
67887
- vh(this, r);
67881
+ Th(this, r);
67888
67882
  for (var l = arguments.length, c = new Array(l), m = 0; m < l; m++)
67889
67883
  c[m] = arguments[m];
67890
67884
  return o = n.call.apply(n, [this].concat(c)), Wi($p(o), "onClick", function(_) {
67891
- var g = o.props, b = g.text, h = g.onCopy, T = g.children, M = g.options, F = Xa.default.Children.only(T), P = (0, bh.default)(b, M);
67885
+ var g = o.props, b = g.text, h = g.onCopy, T = g.children, M = g.options, F = Xa.default.Children.only(T), P = (0, xh.default)(b, M);
67892
67886
  h && h(b, P), F && F.props && typeof F.props.onClick == "function" && F.props.onClick(_);
67893
67887
  }), o;
67894
67888
  }
67895
- return Th(r, [{
67889
+ return Dh(r, [{
67896
67890
  key: "render",
67897
67891
  value: function() {
67898
67892
  var l = this.props;
67899
67893
  l.text, l.onCopy, l.options;
67900
- var c = l.children, m = hh(l, xh), _ = Xa.default.Children.only(c);
67894
+ var c = l.children, m = wh(l, hh), _ = Xa.default.Children.only(c);
67901
67895
  return /* @__PURE__ */ Xa.default.cloneElement(_, gp(gp({}, m), {}, {
67902
67896
  onClick: this.onClick
67903
67897
  }));
@@ -67909,11 +67903,11 @@ Wi(Hp, "defaultProps", {
67909
67903
  onCopy: void 0,
67910
67904
  options: void 0
67911
67905
  });
67912
- var qh = nn, Oi = qh.CopyToClipboard;
67906
+ var Ch = nn, Oi = Ch.CopyToClipboard;
67913
67907
  Oi.CopyToClipboard = Oi;
67914
- var Ch = Oi;
67915
- const Ci = /* @__PURE__ */ rb(Ch);
67916
- async function zh(a, n = 0) {
67908
+ var zh = Oi;
67909
+ const Ci = /* @__PURE__ */ ab(zh);
67910
+ async function Eh(a, n = 0) {
67917
67911
  const r = a[n];
67918
67912
  if (!r)
67919
67913
  return;
@@ -67953,9 +67947,9 @@ async function zh(a, n = 0) {
67953
67947
  label: `${H} (${j})`,
67954
67948
  desc: G && Ss(G)
67955
67949
  };
67956
- })), b && (P.seeAlso = b.map((N) => Eh(N))), P;
67950
+ })), b && (P.seeAlso = b.map((N) => Nh(N))), P;
67957
67951
  }
67958
- function Eh(a) {
67952
+ function Nh(a) {
67959
67953
  const r = /\[([^\[\]]+)\]\(([^\(\)]+)\)/g.exec(a);
67960
67954
  if (r) {
67961
67955
  const [o, l, c] = r;
@@ -67969,7 +67963,7 @@ function Ss(a) {
67969
67963
  const n = /\*\*([^\*]+)\*\*/g, r = /\`([^\`]+)\`/g, o = /\[([^\[\]]+)\]\(([^\(\)]+)\)/g;
67970
67964
  return a.replace(n, (l, c) => `<strong>${c}</strong>`).replace(r, (l, c) => `<code>${c}</code>`).replace(o, (l, c, m) => `<a ${m.startsWith("#") ? `data-name="${c}"` : 'target="_blank"'} class="manual-content-text-link" href="${m}">${c}</a>`);
67971
67965
  }
67972
- function Nh(a) {
67966
+ function Sh(a) {
67973
67967
  var o;
67974
67968
  const n = [], r = [];
67975
67969
  for (const l of Br) {
@@ -68104,7 +68098,7 @@ function Nh(a) {
68104
68098
  contentList: r
68105
68099
  };
68106
68100
  }
68107
- const Sh = (a) => {
68101
+ const Lh = (a) => {
68108
68102
  var j;
68109
68103
  const { group: n, itemKey: r, onItemClick: o, currentIndex: l } = a, [c, m] = ot(), [_, g] = ot(0), [b, h] = ot("Copy code"), [T, M] = ot("Copy link");
68110
68104
  Ve(() => {
@@ -68112,7 +68106,7 @@ const Sh = (a) => {
68112
68106
  }, [r]);
68113
68107
  const F = (O) => {
68114
68108
  const I = r.replace(`${n == null ? void 0 : n.prefix}_`, ""), A = bt[n == null ? void 0 : n.key].get(I);
68115
- g(O), A && zh(A, O).then((R) => {
68109
+ g(O), A && Eh(A, O).then((R) => {
68116
68110
  m(R);
68117
68111
  });
68118
68112
  }, P = (O) => {
@@ -68161,7 +68155,7 @@ Hr.defineTheme("vs-dark", Ui);
68161
68155
  Hr.defineTheme("vs", Ki);
68162
68156
  $e.setMonarchTokensProvider(Ne, ir);
68163
68157
  $e.setLanguageConfiguration(Ne, Bi);
68164
- const Kh = ({ theme: a = "vs-dark", currentValue: n }) => {
68158
+ const Uh = ({ theme: a = "vs-dark", currentValue: n }) => {
68165
68159
  const [r, o] = ot(Br[0]), [l, c] = ot(null), [m, _] = ot(0), [g, b] = ot(""), [h, T] = ot("var_bar_index"), M = Pe(null), F = Pe(null), P = (I) => {
68166
68160
  I.key === (r == null ? void 0 : r.key) && !(r != null && r.isHidden) ? o({ ...I, isHidden: !0 }) : o(I);
68167
68161
  };
@@ -68181,7 +68175,7 @@ const Kh = ({ theme: a = "vs-dark", currentValue: n }) => {
68181
68175
  G();
68182
68176
  else {
68183
68177
  b(I.target.value);
68184
- const A = Nh(I.target.value);
68178
+ const A = Sh(I.target.value);
68185
68179
  c(A);
68186
68180
  }
68187
68181
  }, G = () => {
@@ -68211,13 +68205,13 @@ const Kh = ({ theme: a = "vs-dark", currentValue: n }) => {
68211
68205
  me.preventDefault(), N(se);
68212
68206
  }, className: `manual-group-body-item ${se === h ? "manual-group-body-item-selected" : ""}`, "data-href": se, href: `#${se}`, children: `${U}${I.prefix === "fun" ? "()" : ""}` }, se);
68213
68207
  }) })] }, I.key);
68214
- }) })] }), L.jsx("div", { ref: F, className: "manual-right manual-scroll", children: L.jsx(Sh, { currentIndex: m, group: r, itemKey: h, onItemClick: O }) })] });
68208
+ }) })] }), L.jsx("div", { ref: F, className: "manual-right manual-scroll", children: L.jsx(Lh, { currentIndex: m, group: r, itemKey: h, onItemClick: O }) })] });
68215
68209
  };
68216
68210
  export {
68217
68211
  Ls as Actions,
68218
- Kh as ReferenceManual,
68219
- Bh as TradingVueDiffEditor,
68220
- Rh as TradingVueEditor,
68212
+ Uh as ReferenceManual,
68213
+ Kh as TradingVueDiffEditor,
68214
+ Bh as TradingVueEditor,
68221
68215
  Nc as VAdjustment,
68222
68216
  Sc as VAlert,
68223
68217
  Lc as VBarmergeGaps,
@@ -68250,8 +68244,8 @@ export {
68250
68244
  Rt as VType,
68251
68245
  tp as VXloc,
68252
68246
  sp as VYloc,
68253
- Oh as parseLibrary,
68254
- lh as parseTcc,
68255
- Fh as removeScript,
68256
- ch as scriptsRun
68247
+ Fh as parseLibrary,
68248
+ ch as parseTcc,
68249
+ Rh as removeScript,
68250
+ ph as scriptsRun
68257
68251
  };