@opensumi/cli-engine 3.6.4-next-1734602150.0 → 3.6.5-next-1734685380.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/lib/browser/151.browser.js +58 -0
  2. package/lib/browser/238.browser.js +11 -0
  3. package/lib/browser/359.browser.js +1 -0
  4. package/lib/browser/412.browser.js +1 -0
  5. package/lib/browser/412.main.css +1 -0
  6. package/lib/browser/454.browser.js +264 -0
  7. package/lib/browser/622.browser.js +1 -0
  8. package/lib/browser/622.main.css +1 -0
  9. package/lib/browser/628.browser.js +1 -0
  10. package/lib/browser/804.browser.js +1 -0
  11. package/lib/browser/assets.json +94 -0
  12. package/lib/browser/browser.js +28966 -0
  13. package/lib/browser/e865fd888cafb2a91b52.module.wasm +0 -0
  14. package/lib/browser/f86e6127667de32bbd4f.png +0 -0
  15. package/lib/browser/fd3be59fe5f76327c48f.png +0 -0
  16. package/lib/browser/fonts/codicon.ttf +0 -0
  17. package/lib/browser/images/background-logo-icon.svg +19 -0
  18. package/lib/browser/images/boolean-dark.svg +3 -0
  19. package/lib/browser/images/boolean-light.svg +3 -0
  20. package/lib/browser/images/breakpoint-conditional-disabled.svg +4 -0
  21. package/lib/browser/images/breakpoint-conditional-unverified.svg +4 -0
  22. package/lib/browser/images/breakpoint-conditional.svg +4 -0
  23. package/lib/browser/images/breakpoint-disabled.svg +4 -0
  24. package/lib/browser/images/breakpoint-hint.svg +4 -0
  25. package/lib/browser/images/breakpoint-log-disabled.svg +4 -0
  26. package/lib/browser/images/breakpoint-log-unverified.svg +4 -0
  27. package/lib/browser/images/breakpoint-log.svg +4 -0
  28. package/lib/browser/images/breakpoint-unsupported.svg +4 -0
  29. package/lib/browser/images/breakpoint-unverified.svg +4 -0
  30. package/lib/browser/images/breakpoint.svg +4 -0
  31. package/lib/browser/images/class-dark.svg +3 -0
  32. package/lib/browser/images/class-light.svg +3 -0
  33. package/lib/browser/images/constant-dark.svg +4 -0
  34. package/lib/browser/images/constant-light.svg +4 -0
  35. package/lib/browser/images/current-and-breakpoint.svg +4 -0
  36. package/lib/browser/images/current-arrow.svg +4 -0
  37. package/lib/browser/images/enumerator-dark.svg +3 -0
  38. package/lib/browser/images/enumerator-item-dark.svg +3 -0
  39. package/lib/browser/images/enumerator-item-light.svg +3 -0
  40. package/lib/browser/images/enumerator-light.svg +3 -0
  41. package/lib/browser/images/event-dark.svg +3 -0
  42. package/lib/browser/images/event-light.svg +3 -0
  43. package/lib/browser/images/field-dark.svg +3 -0
  44. package/lib/browser/images/field-light.svg +3 -0
  45. package/lib/browser/images/file-dark.svg +3 -0
  46. package/lib/browser/images/file-light.svg +3 -0
  47. package/lib/browser/images/indexer-dark.svg +3 -0
  48. package/lib/browser/images/indexer-light.svg +3 -0
  49. package/lib/browser/images/interface-dark.svg +3 -0
  50. package/lib/browser/images/interface-light.svg +3 -0
  51. package/lib/browser/images/keyword-dark.svg +3 -0
  52. package/lib/browser/images/keyword-light.svg +3 -0
  53. package/lib/browser/images/loading-dark.svg +52 -0
  54. package/lib/browser/images/loading-hc.svg +52 -0
  55. package/lib/browser/images/loading.svg +52 -0
  56. package/lib/browser/images/logo.svg +1 -0
  57. package/lib/browser/images/method-dark.svg +3 -0
  58. package/lib/browser/images/method-light.svg +3 -0
  59. package/lib/browser/images/namespace-dark.svg +3 -0
  60. package/lib/browser/images/namespace-light.svg +3 -0
  61. package/lib/browser/images/numeric-dark.svg +3 -0
  62. package/lib/browser/images/numeric-light.svg +3 -0
  63. package/lib/browser/images/operator-dark.svg +3 -0
  64. package/lib/browser/images/operator-light.svg +3 -0
  65. package/lib/browser/images/property-dark.svg +3 -0
  66. package/lib/browser/images/property-light.svg +3 -0
  67. package/lib/browser/images/snippet-dark.svg +3 -0
  68. package/lib/browser/images/snippet-light.svg +3 -0
  69. package/lib/browser/images/stackframe-and-breakpoint.svg +4 -0
  70. package/lib/browser/images/stackframe-arrow.svg +4 -0
  71. package/lib/browser/images/string-dark.svg +3 -0
  72. package/lib/browser/images/string-light.svg +3 -0
  73. package/lib/browser/images/structure-dark.svg +3 -0
  74. package/lib/browser/images/structure-light.svg +3 -0
  75. package/lib/browser/images/template-dark.svg +3 -0
  76. package/lib/browser/images/template-light.svg +3 -0
  77. package/lib/browser/images/variable-dark.svg +3 -0
  78. package/lib/browser/images/variable-light.svg +3 -0
  79. package/lib/browser/index.html +42 -0
  80. package/lib/browser/loader.js +3 -0
  81. package/lib/browser/main.css +3 -0
  82. package/lib/browser/worker-host.js +1 -1
  83. package/lib/hosted/ext.process.js +1 -1
  84. package/package.json +10 -10
@@ -0,0 +1 @@
1
+ (self.webpackChunk_opensumi_cli_engine=self.webpackChunk_opensumi_cli_engine||[]).push([[359],{67359:(Le,Ae,be)=>{var ue=be(39907);(function(ge,re){Le.exports=re()})(self,()=>(()=>{"use strict";var ge={903:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.BaseRenderLayer=void 0;const d=h(274),o=h(627),r=h(237),l=h(860),w=h(374),v=h(296),i=h(345),t=h(859),g=h(399),C=h(855);class n extends t.Disposable{get canvas(){return this._canvas}get cacheCanvas(){return this._charAtlas?.pages[0].canvas}constructor(s,c,u,a,p,m,x,L,b,A){super(),this._terminal=s,this._container=c,this._alpha=p,this._themeService=m,this._bufferService=x,this._optionsService=L,this._decorationService=b,this._coreBrowserService=A,this._deviceCharWidth=0,this._deviceCharHeight=0,this._deviceCellWidth=0,this._deviceCellHeight=0,this._deviceCharLeft=0,this._deviceCharTop=0,this._selectionModel=(0,v.createSelectionRenderModel)(),this._bitmapGenerator=[],this._charAtlasDisposable=this.register(new t.MutableDisposable),this._onAddTextureAtlasCanvas=this.register(new i.EventEmitter),this.onAddTextureAtlasCanvas=this._onAddTextureAtlasCanvas.event,this._cellColorResolver=new d.CellColorResolver(this._terminal,this._optionsService,this._selectionModel,this._decorationService,this._coreBrowserService,this._themeService),this._canvas=this._coreBrowserService.mainDocument.createElement("canvas"),this._canvas.classList.add(`xterm-${u}-layer`),this._canvas.style.zIndex=a.toString(),this._initCanvas(),this._container.appendChild(this._canvas),this._refreshCharAtlas(this._themeService.colors),this.register(this._themeService.onChangeColors(D=>{this._refreshCharAtlas(D),this.reset(),this.handleSelectionChanged(this._selectionModel.selectionStart,this._selectionModel.selectionEnd,this._selectionModel.columnSelectMode)})),this.register((0,t.toDisposable)(()=>{this._canvas.remove()}))}_initCanvas(){this._ctx=(0,w.throwIfFalsy)(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()}handleBlur(){}handleFocus(){}handleCursorMove(){}handleGridChanged(s,c){}handleSelectionChanged(s,c,u=!1){this._selectionModel.update(this._terminal._core,s,c,u)}_setTransparency(s){if(s===this._alpha)return;const c=this._canvas;this._alpha=s,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,c),this._refreshCharAtlas(this._themeService.colors),this.handleGridChanged(0,this._bufferService.rows-1)}_refreshCharAtlas(s){if(!(this._deviceCharWidth<=0&&this._deviceCharHeight<=0)){this._charAtlas=(0,o.acquireTextureAtlas)(this._terminal,this._optionsService.rawOptions,s,this._deviceCellWidth,this._deviceCellHeight,this._deviceCharWidth,this._deviceCharHeight,this._coreBrowserService.dpr),this._charAtlasDisposable.value=(0,i.forwardEvent)(this._charAtlas.onAddTextureAtlasCanvas,this._onAddTextureAtlasCanvas),this._charAtlas.warmUp();for(let c=0;c<this._charAtlas.pages.length;c++)this._bitmapGenerator[c]=new f(this._charAtlas.pages[c].canvas)}}resize(s){this._deviceCellWidth=s.device.cell.width,this._deviceCellHeight=s.device.cell.height,this._deviceCharWidth=s.device.char.width,this._deviceCharHeight=s.device.char.height,this._deviceCharLeft=s.device.char.left,this._deviceCharTop=s.device.char.top,this._canvas.width=s.device.canvas.width,this._canvas.height=s.device.canvas.height,this._canvas.style.width=`${s.css.canvas.width}px`,this._canvas.style.height=`${s.css.canvas.height}px`,this._alpha||this._clearAll(),this._refreshCharAtlas(this._themeService.colors)}clearTextureAtlas(){this._charAtlas?.clearTexture()}_fillCells(s,c,u,a){this._ctx.fillRect(s*this._deviceCellWidth,c*this._deviceCellHeight,u*this._deviceCellWidth,a*this._deviceCellHeight)}_fillMiddleLineAtCells(s,c,u=1){const a=Math.ceil(.5*this._deviceCellHeight);this._ctx.fillRect(s*this._deviceCellWidth,(c+1)*this._deviceCellHeight-a-this._coreBrowserService.dpr,u*this._deviceCellWidth,this._coreBrowserService.dpr)}_fillBottomLineAtCells(s,c,u=1,a=0){this._ctx.fillRect(s*this._deviceCellWidth,(c+1)*this._deviceCellHeight+a-this._coreBrowserService.dpr-1,u*this._deviceCellWidth,this._coreBrowserService.dpr)}_curlyUnderlineAtCell(s,c,u=1){this._ctx.save(),this._ctx.beginPath(),this._ctx.strokeStyle=this._ctx.fillStyle;const a=this._coreBrowserService.dpr;this._ctx.lineWidth=a;for(let p=0;p<u;p++){const m=(s+p)*this._deviceCellWidth,x=(s+p+.5)*this._deviceCellWidth,L=(s+p+1)*this._deviceCellWidth,b=(c+1)*this._deviceCellHeight-a-1,A=b-a,D=b+a;this._ctx.moveTo(m,b),this._ctx.bezierCurveTo(m,A,x,A,x,b),this._ctx.bezierCurveTo(x,D,L,D,L,b)}this._ctx.stroke(),this._ctx.restore()}_dottedUnderlineAtCell(s,c,u=1){this._ctx.save(),this._ctx.beginPath(),this._ctx.strokeStyle=this._ctx.fillStyle;const a=this._coreBrowserService.dpr;this._ctx.lineWidth=a,this._ctx.setLineDash([2*a,a]);const p=s*this._deviceCellWidth,m=(c+1)*this._deviceCellHeight-a-1;this._ctx.moveTo(p,m);for(let x=0;x<u;x++){const L=(s+u+x)*this._deviceCellWidth;this._ctx.lineTo(L,m)}this._ctx.stroke(),this._ctx.closePath(),this._ctx.restore()}_dashedUnderlineAtCell(s,c,u=1){this._ctx.save(),this._ctx.beginPath(),this._ctx.strokeStyle=this._ctx.fillStyle;const a=this._coreBrowserService.dpr;this._ctx.lineWidth=a,this._ctx.setLineDash([4*a,3*a]);const p=s*this._deviceCellWidth,m=(s+u)*this._deviceCellWidth,x=(c+1)*this._deviceCellHeight-a-1;this._ctx.moveTo(p,x),this._ctx.lineTo(m,x),this._ctx.stroke(),this._ctx.closePath(),this._ctx.restore()}_fillLeftLineAtCell(s,c,u){this._ctx.fillRect(s*this._deviceCellWidth,c*this._deviceCellHeight,this._coreBrowserService.dpr*u,this._deviceCellHeight)}_strokeRectAtCell(s,c,u,a){const p=this._coreBrowserService.dpr;this._ctx.lineWidth=p,this._ctx.strokeRect(s*this._deviceCellWidth+p/2,c*this._deviceCellHeight+p/2,u*this._deviceCellWidth-p,a*this._deviceCellHeight-p)}_clearAll(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._themeService.colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))}_clearCells(s,c,u,a){this._alpha?this._ctx.clearRect(s*this._deviceCellWidth,c*this._deviceCellHeight,u*this._deviceCellWidth,a*this._deviceCellHeight):(this._ctx.fillStyle=this._themeService.colors.background.css,this._ctx.fillRect(s*this._deviceCellWidth,c*this._deviceCellHeight,u*this._deviceCellWidth,a*this._deviceCellHeight))}_fillCharTrueColor(s,c,u){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline=r.TEXT_BASELINE,this._clipRow(u);let a=!1;this._optionsService.rawOptions.customGlyphs!==!1&&(a=(0,l.tryDrawCustomChar)(this._ctx,s.getChars(),c*this._deviceCellWidth,u*this._deviceCellHeight,this._deviceCellWidth,this._deviceCellHeight,this._optionsService.rawOptions.fontSize,this._coreBrowserService.dpr)),a||this._ctx.fillText(s.getChars(),c*this._deviceCellWidth+this._deviceCharLeft,u*this._deviceCellHeight+this._deviceCharTop+this._deviceCharHeight)}_drawChars(s,c,u){const a=s.getChars(),p=s.getCode(),m=s.getWidth();if(this._cellColorResolver.resolve(s,c,this._bufferService.buffer.ydisp+u,this._deviceCellWidth),!this._charAtlas)return;let x;if(x=a&&a.length>1?this._charAtlas.getRasterizedGlyphCombinedChar(a,this._cellColorResolver.result.bg,this._cellColorResolver.result.fg,this._cellColorResolver.result.ext,!0):this._charAtlas.getRasterizedGlyph(s.getCode()||C.WHITESPACE_CELL_CODE,this._cellColorResolver.result.bg,this._cellColorResolver.result.fg,this._cellColorResolver.result.ext,!0),!x.size.x||!x.size.y)return;this._ctx.save(),this._clipRow(u),this._bitmapGenerator[x.texturePage]&&this._charAtlas.pages[x.texturePage].canvas!==this._bitmapGenerator[x.texturePage].canvas&&(this._bitmapGenerator[x.texturePage]?.bitmap?.close(),delete this._bitmapGenerator[x.texturePage]),this._charAtlas.pages[x.texturePage].version!==this._bitmapGenerator[x.texturePage]?.version&&(this._bitmapGenerator[x.texturePage]||(this._bitmapGenerator[x.texturePage]=new f(this._charAtlas.pages[x.texturePage].canvas)),this._bitmapGenerator[x.texturePage].refresh(),this._bitmapGenerator[x.texturePage].version=this._charAtlas.pages[x.texturePage].version);let L=x.size.x;this._optionsService.rawOptions.rescaleOverlappingGlyphs&&(0,w.allowRescaling)(p,m,x.size.x,this._deviceCellWidth)&&(L=this._deviceCellWidth-1),this._ctx.drawImage(this._bitmapGenerator[x.texturePage]?.bitmap||this._charAtlas.pages[x.texturePage].canvas,x.texturePosition.x,x.texturePosition.y,x.size.x,x.size.y,c*this._deviceCellWidth+this._deviceCharLeft-x.offset.x,u*this._deviceCellHeight+this._deviceCharTop-x.offset.y,L,x.size.y),this._ctx.restore()}_clipRow(s){this._ctx.beginPath(),this._ctx.rect(0,s*this._deviceCellHeight,this._bufferService.cols*this._deviceCellWidth,this._deviceCellHeight),this._ctx.clip()}_getFont(s,c){return`${c?"italic":""} ${s?this._optionsService.rawOptions.fontWeightBold:this._optionsService.rawOptions.fontWeight} ${this._optionsService.rawOptions.fontSize*this._coreBrowserService.dpr}px ${this._optionsService.rawOptions.fontFamily}`}}e.BaseRenderLayer=n;class f{get bitmap(){return this._bitmap}constructor(s){this.canvas=s,this._state=0,this._commitTimeout=void 0,this._bitmap=void 0,this.version=-1}refresh(){this._bitmap?.close(),this._bitmap=void 0,g.isSafari||(this._commitTimeout===void 0&&(this._commitTimeout=window.setTimeout(()=>this._generate(),100)),this._state===1&&(this._state=2))}_generate(){this._state===0&&(this._bitmap?.close(),this._bitmap=void 0,this._state=1,window.createImageBitmap(this.canvas).then(s=>{this._state===2?this.refresh():this._bitmap=s,this._state=0}),this._commitTimeout&&(this._commitTimeout=void 0))}}},949:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CanvasRenderer=void 0;const d=h(627),o=h(56),r=h(374),l=h(345),w=h(859),v=h(873),i=h(43),t=h(630),g=h(744);class C extends w.Disposable{constructor(f,_,s,c,u,a,p,m,x,L,b){super(),this._terminal=f,this._screenElement=_,this._bufferService=c,this._charSizeService=u,this._optionsService=a,this._coreBrowserService=x,this._themeService=b,this._observerDisposable=this.register(new w.MutableDisposable),this._onRequestRedraw=this.register(new l.EventEmitter),this.onRequestRedraw=this._onRequestRedraw.event,this._onChangeTextureAtlas=this.register(new l.EventEmitter),this.onChangeTextureAtlas=this._onChangeTextureAtlas.event,this._onAddTextureAtlasCanvas=this.register(new l.EventEmitter),this.onAddTextureAtlasCanvas=this._onAddTextureAtlasCanvas.event;const A=this._optionsService.rawOptions.allowTransparency;this._renderLayers=[new g.TextRenderLayer(this._terminal,this._screenElement,0,A,this._bufferService,this._optionsService,p,L,this._coreBrowserService,b),new t.SelectionRenderLayer(this._terminal,this._screenElement,1,this._bufferService,this._coreBrowserService,L,this._optionsService,b),new i.LinkRenderLayer(this._terminal,this._screenElement,2,s,this._bufferService,this._optionsService,L,this._coreBrowserService,b),new v.CursorRenderLayer(this._terminal,this._screenElement,3,this._onRequestRedraw,this._bufferService,this._optionsService,m,this._coreBrowserService,L,b)];for(const D of this._renderLayers)(0,l.forwardEvent)(D.onAddTextureAtlasCanvas,this._onAddTextureAtlasCanvas);this.dimensions=(0,r.createRenderDimensions)(),this._devicePixelRatio=this._coreBrowserService.dpr,this._updateDimensions(),this._observerDisposable.value=(0,o.observeDevicePixelDimensions)(this._renderLayers[0].canvas,this._coreBrowserService.window,(D,S)=>this._setCanvasDevicePixelDimensions(D,S)),this.register(this._coreBrowserService.onWindowChange(D=>{this._observerDisposable.value=(0,o.observeDevicePixelDimensions)(this._renderLayers[0].canvas,D,(S,M)=>this._setCanvasDevicePixelDimensions(S,M))})),this.register((0,w.toDisposable)(()=>{for(const D of this._renderLayers)D.dispose();(0,d.removeTerminalFromCache)(this._terminal)}))}get textureAtlas(){return this._renderLayers[0].cacheCanvas}handleDevicePixelRatioChange(){this._devicePixelRatio!==this._coreBrowserService.dpr&&(this._devicePixelRatio=this._coreBrowserService.dpr,this.handleResize(this._bufferService.cols,this._bufferService.rows))}handleResize(f,_){this._updateDimensions();for(const s of this._renderLayers)s.resize(this.dimensions);this._screenElement.style.width=`${this.dimensions.css.canvas.width}px`,this._screenElement.style.height=`${this.dimensions.css.canvas.height}px`}handleCharSizeChanged(){this.handleResize(this._bufferService.cols,this._bufferService.rows)}handleBlur(){this._runOperation(f=>f.handleBlur())}handleFocus(){this._runOperation(f=>f.handleFocus())}handleSelectionChanged(f,_,s=!1){this._runOperation(c=>c.handleSelectionChanged(f,_,s)),this._themeService.colors.selectionForeground&&this._onRequestRedraw.fire({start:0,end:this._bufferService.rows-1})}handleCursorMove(){this._runOperation(f=>f.handleCursorMove())}clear(){this._runOperation(f=>f.reset())}_runOperation(f){for(const _ of this._renderLayers)f(_)}renderRows(f,_){for(const s of this._renderLayers)s.handleGridChanged(f,_)}clearTextureAtlas(){for(const f of this._renderLayers)f.clearTextureAtlas()}_updateDimensions(){if(!this._charSizeService.hasValidSize)return;const f=this._coreBrowserService.dpr;this.dimensions.device.char.width=Math.floor(this._charSizeService.width*f),this.dimensions.device.char.height=Math.ceil(this._charSizeService.height*f),this.dimensions.device.cell.height=Math.floor(this.dimensions.device.char.height*this._optionsService.rawOptions.lineHeight),this.dimensions.device.char.top=this._optionsService.rawOptions.lineHeight===1?0:Math.round((this.dimensions.device.cell.height-this.dimensions.device.char.height)/2),this.dimensions.device.cell.width=this.dimensions.device.char.width+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.device.char.left=Math.floor(this._optionsService.rawOptions.letterSpacing/2),this.dimensions.device.canvas.height=this._bufferService.rows*this.dimensions.device.cell.height,this.dimensions.device.canvas.width=this._bufferService.cols*this.dimensions.device.cell.width,this.dimensions.css.canvas.height=Math.round(this.dimensions.device.canvas.height/f),this.dimensions.css.canvas.width=Math.round(this.dimensions.device.canvas.width/f),this.dimensions.css.cell.height=this.dimensions.css.canvas.height/this._bufferService.rows,this.dimensions.css.cell.width=this.dimensions.css.canvas.width/this._bufferService.cols}_setCanvasDevicePixelDimensions(f,_){this.dimensions.device.canvas.height=_,this.dimensions.device.canvas.width=f;for(const s of this._renderLayers)s.resize(this.dimensions);this._requestRedrawViewport()}_requestRedrawViewport(){this._onRequestRedraw.fire({start:0,end:this._bufferService.rows-1})}}e.CanvasRenderer=C},873:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CursorRenderLayer=void 0;const d=h(457),o=h(859),r=h(399),l=h(782),w=h(903);class v extends w.BaseRenderLayer{constructor(t,g,C,n,f,_,s,c,u,a){super(t,g,"cursor",C,!0,a,f,_,u,c),this._onRequestRedraw=n,this._coreService=s,this._cursorBlinkStateManager=this.register(new o.MutableDisposable),this._cell=new l.CellData,this._state={x:0,y:0,isFocused:!1,style:"",width:0},this._cursorRenderers={bar:this._renderBarCursor.bind(this),block:this._renderBlockCursor.bind(this),underline:this._renderUnderlineCursor.bind(this),outline:this._renderOutlineCursor.bind(this)},this.register(_.onOptionChange(()=>this._handleOptionsChanged())),this._handleOptionsChanged()}resize(t){super.resize(t),this._state={x:0,y:0,isFocused:!1,style:"",width:0}}reset(){this._clearCursor(),this._cursorBlinkStateManager.value?.restartBlinkAnimation(),this._handleOptionsChanged()}handleBlur(){this._cursorBlinkStateManager.value?.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})}handleFocus(){this._cursorBlinkStateManager.value?.resume(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})}_handleOptionsChanged(){this._optionsService.rawOptions.cursorBlink?this._cursorBlinkStateManager.value||(this._cursorBlinkStateManager.value=new d.CursorBlinkStateManager(()=>this._render(!0),this._coreBrowserService)):this._cursorBlinkStateManager.clear(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})}handleCursorMove(){this._cursorBlinkStateManager.value?.restartBlinkAnimation()}handleGridChanged(t,g){!this._cursorBlinkStateManager.value||this._cursorBlinkStateManager.value.isPaused?this._render(!1):this._cursorBlinkStateManager.value.restartBlinkAnimation()}_render(t){if(!this._coreService.isCursorInitialized||this._coreService.isCursorHidden)return void this._clearCursor();const g=this._bufferService.buffer.ybase+this._bufferService.buffer.y,C=g-this._bufferService.buffer.ydisp;if(C<0||C>=this._bufferService.rows)return void this._clearCursor();const n=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(g).loadCell(n,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._themeService.colors.cursor.css;const f=this._optionsService.rawOptions.cursorStyle,_=this._optionsService.rawOptions.cursorInactiveStyle;return _&&_!=="none"&&this._cursorRenderers[_](n,C,this._cell),this._ctx.restore(),this._state.x=n,this._state.y=C,this._state.isFocused=!1,this._state.style=f,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager.value||this._cursorBlinkStateManager.value.isCursorVisible){if(this._state){if(this._state.x===n&&this._state.y===C&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.rawOptions.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.rawOptions.cursorStyle||"block"](n,C,this._cell),this._ctx.restore(),this._state.x=n,this._state.y=C,this._state.isFocused=!1,this._state.style=this._optionsService.rawOptions.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}_clearCursor(){this._state&&(r.isFirefox||this._coreBrowserService.dpr<1?this._clearAll():this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})}_renderBarCursor(t,g,C){this._ctx.save(),this._ctx.fillStyle=this._themeService.colors.cursor.css,this._fillLeftLineAtCell(t,g,this._optionsService.rawOptions.cursorWidth),this._ctx.restore()}_renderBlockCursor(t,g,C){this._ctx.save(),this._ctx.fillStyle=this._themeService.colors.cursor.css,this._fillCells(t,g,C.getWidth(),1),this._ctx.fillStyle=this._themeService.colors.cursorAccent.css,this._fillCharTrueColor(C,t,g),this._ctx.restore()}_renderUnderlineCursor(t,g,C){this._ctx.save(),this._ctx.fillStyle=this._themeService.colors.cursor.css,this._fillBottomLineAtCells(t,g),this._ctx.restore()}_renderOutlineCursor(t,g,C){this._ctx.save(),this._ctx.strokeStyle=this._themeService.colors.cursor.css,this._strokeRectAtCell(t,g,C.getWidth(),1),this._ctx.restore()}}e.CursorRenderLayer=v},574:(k,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GridCache=void 0,e.GridCache=class{constructor(){this.cache=[]}resize(h,d){for(let o=0;o<h;o++){this.cache.length<=o&&this.cache.push([]);for(let r=this.cache[o].length;r<d;r++)this.cache[o].push(void 0);this.cache[o].length=d}this.cache.length=h}clear(){for(let h=0;h<this.cache.length;h++)for(let d=0;d<this.cache[h].length;d++)this.cache[h][d]=void 0}}},43:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.LinkRenderLayer=void 0;const d=h(197),o=h(237),r=h(903);class l extends r.BaseRenderLayer{constructor(v,i,t,g,C,n,f,_,s){super(v,i,"link",t,!0,s,C,n,f,_),this.register(g.onShowLinkUnderline(c=>this._handleShowLinkUnderline(c))),this.register(g.onHideLinkUnderline(c=>this._handleHideLinkUnderline(c)))}resize(v){super.resize(v),this._state=void 0}reset(){this._clearCurrentLink()}_clearCurrentLink(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);const v=this._state.y2-this._state.y1-1;v>0&&this._clearCells(0,this._state.y1+1,this._state.cols,v),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}}_handleShowLinkUnderline(v){if(v.fg===o.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._themeService.colors.background.css:v.fg&&(0,d.is256Color)(v.fg)?this._ctx.fillStyle=this._themeService.colors.ansi[v.fg].css:this._ctx.fillStyle=this._themeService.colors.foreground.css,v.y1===v.y2)this._fillBottomLineAtCells(v.x1,v.y1,v.x2-v.x1);else{this._fillBottomLineAtCells(v.x1,v.y1,v.cols-v.x1);for(let i=v.y1+1;i<v.y2;i++)this._fillBottomLineAtCells(0,i,v.cols);this._fillBottomLineAtCells(0,v.y2,v.x2)}this._state=v}_handleHideLinkUnderline(v){this._clearCurrentLink()}}e.LinkRenderLayer=l},630:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SelectionRenderLayer=void 0;const d=h(903);class o extends d.BaseRenderLayer{constructor(l,w,v,i,t,g,C,n){super(l,w,"selection",v,!0,n,i,C,g,t),this._clearState()}_clearState(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}}resize(l){super.resize(l),this._selectionModel.selectionStart&&this._selectionModel.selectionEnd&&(this._clearState(),this._redrawSelection(this._selectionModel.selectionStart,this._selectionModel.selectionEnd,this._selectionModel.columnSelectMode))}reset(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())}handleBlur(){this.reset(),this._redrawSelection(this._selectionModel.selectionStart,this._selectionModel.selectionEnd,this._selectionModel.columnSelectMode)}handleFocus(){this.reset(),this._redrawSelection(this._selectionModel.selectionStart,this._selectionModel.selectionEnd,this._selectionModel.columnSelectMode)}handleSelectionChanged(l,w,v){super.handleSelectionChanged(l,w,v),this._redrawSelection(l,w,v)}_redrawSelection(l,w,v){if(!this._didStateChange(l,w,v,this._bufferService.buffer.ydisp))return;if(this._clearAll(),!l||!w)return void this._clearState();const i=l[1]-this._bufferService.buffer.ydisp,t=w[1]-this._bufferService.buffer.ydisp,g=Math.max(i,0),C=Math.min(t,this._bufferService.rows-1);if(g>=this._bufferService.rows||C<0)this._state.ydisp=this._bufferService.buffer.ydisp;else{if(this._ctx.fillStyle=(this._coreBrowserService.isFocused?this._themeService.colors.selectionBackgroundTransparent:this._themeService.colors.selectionInactiveBackgroundTransparent).css,v){const n=l[0],f=w[0]-n,_=C-g+1;this._fillCells(n,g,f,_)}else{const n=i===g?l[0]:0,f=g===t?w[0]:this._bufferService.cols;this._fillCells(n,g,f-n,1);const _=Math.max(C-g-1,0);if(this._fillCells(0,g+1,this._bufferService.cols,_),g!==C){const s=t===C?w[0]:this._bufferService.cols;this._fillCells(0,C,s,1)}}this._state.start=[l[0],l[1]],this._state.end=[w[0],w[1]],this._state.columnSelectMode=v,this._state.ydisp=this._bufferService.buffer.ydisp}}_didStateChange(l,w,v,i){return!this._areCoordinatesEqual(l,this._state.start)||!this._areCoordinatesEqual(w,this._state.end)||v!==this._state.columnSelectMode||i!==this._state.ydisp}_areCoordinatesEqual(l,w){return!(!l||!w)&&l[0]===w[0]&&l[1]===w[1]}}e.SelectionRenderLayer=o},744:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TextRenderLayer=void 0;const d=h(577),o=h(147),r=h(782),l=h(855),w=h(903),v=h(574);class i extends w.BaseRenderLayer{constructor(g,C,n,f,_,s,c,u,a,p){super(g,C,"text",n,f,p,_,s,u,a),this._characterJoinerService=c,this._characterWidth=0,this._characterFont="",this._characterOverlapCache={},this._workCell=new r.CellData,this._state=new v.GridCache,this.register(s.onSpecificOptionChange("allowTransparency",m=>this._setTransparency(m)))}resize(g){super.resize(g);const C=this._getFont(!1,!1);this._characterWidth===g.device.char.width&&this._characterFont===C||(this._characterWidth=g.device.char.width,this._characterFont=C,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)}reset(){this._state.clear(),this._clearAll()}_forEachCell(g,C,n){for(let f=g;f<=C;f++){const _=f+this._bufferService.buffer.ydisp,s=this._bufferService.buffer.lines.get(_),c=this._characterJoinerService.getJoinedCharacters(_);for(let u=0;u<this._bufferService.cols;u++){s.loadCell(u,this._workCell);let a=this._workCell,p=!1,m=u;if(a.getWidth()!==0){if(c.length>0&&u===c[0][0]){p=!0;const x=c.shift();a=new d.JoinedCellData(this._workCell,s.translateToString(!0,x[0],x[1]),x[1]-x[0]),m=x[1]-1}!p&&this._isOverlapping(a)&&m<s.length-1&&s.getCodePoint(m+1)===l.NULL_CELL_CODE&&(a.content&=-12582913,a.content|=8388608),n(a,u,f),u=m}}}}_drawBackground(g,C){const n=this._ctx,f=this._bufferService.cols;let _=0,s=0,c=null;n.save(),this._forEachCell(g,C,(u,a,p)=>{let m=null;u.isInverse()?m=u.isFgDefault()?this._themeService.colors.foreground.css:u.isFgRGB()?`rgb(${o.AttributeData.toColorRGB(u.getFgColor()).join(",")})`:this._themeService.colors.ansi[u.getFgColor()].css:u.isBgRGB()?m=`rgb(${o.AttributeData.toColorRGB(u.getBgColor()).join(",")})`:u.isBgPalette()&&(m=this._themeService.colors.ansi[u.getBgColor()].css);let x=!1;this._decorationService.forEachDecorationAtCell(a,this._bufferService.buffer.ydisp+p,void 0,L=>{L.options.layer!=="top"&&x||(L.backgroundColorRGB&&(m=L.backgroundColorRGB.css),x=L.options.layer==="top")}),c===null&&(_=a,s=p),p!==s?(n.fillStyle=c||"",this._fillCells(_,s,f-_,1),_=a,s=p):c!==m&&(n.fillStyle=c||"",this._fillCells(_,s,a-_,1),_=a,s=p),c=m}),c!==null&&(n.fillStyle=c,this._fillCells(_,s,f-_,1)),n.restore()}_drawForeground(g,C){this._forEachCell(g,C,(n,f,_)=>this._drawChars(n,f,_))}handleGridChanged(g,C){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,g,this._bufferService.cols,C-g+1),this._drawBackground(g,C),this._drawForeground(g,C))}_isOverlapping(g){if(g.getWidth()!==1||g.getCode()<256)return!1;const C=g.getChars();if(this._characterOverlapCache.hasOwnProperty(C))return this._characterOverlapCache[C];this._ctx.save(),this._ctx.font=this._characterFont;const n=Math.floor(this._ctx.measureText(C).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[C]=n,n}}e.TextRenderLayer=i},274:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CellColorResolver=void 0;const d=h(855),o=h(160),r=h(374);let l,w=0,v=0,i=!1,t=!1,g=!1,C=0;e.CellColorResolver=class{constructor(n,f,_,s,c,u){this._terminal=n,this._optionService=f,this._selectionRenderModel=_,this._decorationService=s,this._coreBrowserService=c,this._themeService=u,this.result={fg:0,bg:0,ext:0}}resolve(n,f,_,s){if(this.result.bg=n.bg,this.result.fg=n.fg,this.result.ext=268435456&n.bg?n.extended.ext:0,v=0,w=0,t=!1,i=!1,g=!1,l=this._themeService.colors,C=0,n.getCode()!==d.NULL_CELL_CODE&&n.extended.underlineStyle===4){const c=Math.max(1,Math.floor(this._optionService.rawOptions.fontSize*this._coreBrowserService.dpr/15));C=f*s%(2*Math.round(c))}if(this._decorationService.forEachDecorationAtCell(f,_,"bottom",c=>{c.backgroundColorRGB&&(v=c.backgroundColorRGB.rgba>>8&16777215,t=!0),c.foregroundColorRGB&&(w=c.foregroundColorRGB.rgba>>8&16777215,i=!0)}),g=this._selectionRenderModel.isCellSelected(this._terminal,f,_),g){if(67108864&this.result.fg||50331648&this.result.bg){if(67108864&this.result.fg)switch(50331648&this.result.fg){case 16777216:case 33554432:v=this._themeService.colors.ansi[255&this.result.fg].rgba;break;case 50331648:v=(16777215&this.result.fg)<<8|255;break;default:v=this._themeService.colors.foreground.rgba}else switch(50331648&this.result.bg){case 16777216:case 33554432:v=this._themeService.colors.ansi[255&this.result.bg].rgba;break;case 50331648:v=(16777215&this.result.bg)<<8|255}v=o.rgba.blend(v,4294967040&(this._coreBrowserService.isFocused?l.selectionBackgroundOpaque:l.selectionInactiveBackgroundOpaque).rgba|128)>>8&16777215}else v=(this._coreBrowserService.isFocused?l.selectionBackgroundOpaque:l.selectionInactiveBackgroundOpaque).rgba>>8&16777215;if(t=!0,l.selectionForeground&&(w=l.selectionForeground.rgba>>8&16777215,i=!0),(0,r.treatGlyphAsBackgroundColor)(n.getCode())){if(67108864&this.result.fg&&!(50331648&this.result.bg))w=(this._coreBrowserService.isFocused?l.selectionBackgroundOpaque:l.selectionInactiveBackgroundOpaque).rgba>>8&16777215;else{if(67108864&this.result.fg)switch(50331648&this.result.bg){case 16777216:case 33554432:w=this._themeService.colors.ansi[255&this.result.bg].rgba;break;case 50331648:w=(16777215&this.result.bg)<<8|255}else switch(50331648&this.result.fg){case 16777216:case 33554432:w=this._themeService.colors.ansi[255&this.result.fg].rgba;break;case 50331648:w=(16777215&this.result.fg)<<8|255;break;default:w=this._themeService.colors.foreground.rgba}w=o.rgba.blend(w,4294967040&(this._coreBrowserService.isFocused?l.selectionBackgroundOpaque:l.selectionInactiveBackgroundOpaque).rgba|128)>>8&16777215}i=!0}}this._decorationService.forEachDecorationAtCell(f,_,"top",c=>{c.backgroundColorRGB&&(v=c.backgroundColorRGB.rgba>>8&16777215,t=!0),c.foregroundColorRGB&&(w=c.foregroundColorRGB.rgba>>8&16777215,i=!0)}),t&&(v=g?-16777216&n.bg&-134217729|v|50331648:-16777216&n.bg|v|50331648),i&&(w=-16777216&n.fg&-67108865|w|50331648),67108864&this.result.fg&&(t&&!i&&(w=50331648&this.result.bg?-134217728&this.result.fg|67108863&this.result.bg:-134217728&this.result.fg|16777215&l.background.rgba>>8|50331648,i=!0),!t&&i&&(v=50331648&this.result.fg?-67108864&this.result.bg|67108863&this.result.fg:-67108864&this.result.bg|16777215&l.foreground.rgba>>8|50331648,t=!0)),l=void 0,this.result.bg=t?v:this.result.bg,this.result.fg=i?w:this.result.fg,this.result.ext&=536870911,this.result.ext|=C<<29&3758096384}}},627:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.removeTerminalFromCache=e.acquireTextureAtlas=void 0;const d=h(509),o=h(197),r=[];e.acquireTextureAtlas=function(l,w,v,i,t,g,C,n){const f=(0,o.generateConfig)(i,t,g,C,w,v,n);for(let c=0;c<r.length;c++){const u=r[c],a=u.ownedBy.indexOf(l);if(a>=0){if((0,o.configEquals)(u.config,f))return u.atlas;u.ownedBy.length===1?(u.atlas.dispose(),r.splice(c,1)):u.ownedBy.splice(a,1);break}}for(let c=0;c<r.length;c++){const u=r[c];if((0,o.configEquals)(u.config,f))return u.ownedBy.push(l),u.atlas}const _=l._core,s={atlas:new d.TextureAtlas(document,f,_.unicodeService),config:f,ownedBy:[l]};return r.push(s),s.atlas},e.removeTerminalFromCache=function(l){for(let w=0;w<r.length;w++){const v=r[w].ownedBy.indexOf(l);if(v!==-1){r[w].ownedBy.length===1?(r[w].atlas.dispose(),r.splice(w,1)):r[w].ownedBy.splice(v,1);break}}}},197:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.is256Color=e.configEquals=e.generateConfig=void 0;const d=h(160);e.generateConfig=function(o,r,l,w,v,i,t){const g={foreground:i.foreground,background:i.background,cursor:d.NULL_COLOR,cursorAccent:d.NULL_COLOR,selectionForeground:d.NULL_COLOR,selectionBackgroundTransparent:d.NULL_COLOR,selectionBackgroundOpaque:d.NULL_COLOR,selectionInactiveBackgroundTransparent:d.NULL_COLOR,selectionInactiveBackgroundOpaque:d.NULL_COLOR,ansi:i.ansi.slice(),contrastCache:i.contrastCache,halfContrastCache:i.halfContrastCache};return{customGlyphs:v.customGlyphs,devicePixelRatio:t,letterSpacing:v.letterSpacing,lineHeight:v.lineHeight,deviceCellWidth:o,deviceCellHeight:r,deviceCharWidth:l,deviceCharHeight:w,fontFamily:v.fontFamily,fontSize:v.fontSize,fontWeight:v.fontWeight,fontWeightBold:v.fontWeightBold,allowTransparency:v.allowTransparency,drawBoldTextInBrightColors:v.drawBoldTextInBrightColors,minimumContrastRatio:v.minimumContrastRatio,colors:g}},e.configEquals=function(o,r){for(let l=0;l<o.colors.ansi.length;l++)if(o.colors.ansi[l].rgba!==r.colors.ansi[l].rgba)return!1;return o.devicePixelRatio===r.devicePixelRatio&&o.customGlyphs===r.customGlyphs&&o.lineHeight===r.lineHeight&&o.letterSpacing===r.letterSpacing&&o.fontFamily===r.fontFamily&&o.fontSize===r.fontSize&&o.fontWeight===r.fontWeight&&o.fontWeightBold===r.fontWeightBold&&o.allowTransparency===r.allowTransparency&&o.deviceCharWidth===r.deviceCharWidth&&o.deviceCharHeight===r.deviceCharHeight&&o.drawBoldTextInBrightColors===r.drawBoldTextInBrightColors&&o.minimumContrastRatio===r.minimumContrastRatio&&o.colors.foreground.rgba===r.colors.foreground.rgba&&o.colors.background.rgba===r.colors.background.rgba},e.is256Color=function(o){return(50331648&o)==16777216||(50331648&o)==33554432}},237:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TEXT_BASELINE=e.DIM_OPACITY=e.INVERTED_DEFAULT_COLOR=void 0;const d=h(399);e.INVERTED_DEFAULT_COLOR=257,e.DIM_OPACITY=.5,e.TEXT_BASELINE=d.isFirefox||d.isLegacyEdge?"bottom":"ideographic"},457:(k,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CursorBlinkStateManager=void 0,e.CursorBlinkStateManager=class{constructor(h,d){this._renderCallback=h,this._coreBrowserService=d,this.isCursorVisible=!0,this._coreBrowserService.isFocused&&this._restartInterval()}get isPaused(){return!(this._blinkStartTimeout||this._blinkInterval)}dispose(){this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(this._coreBrowserService.window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}restartBlinkAnimation(){this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=this._coreBrowserService.window.requestAnimationFrame(()=>{this._renderCallback(),this._animationFrame=void 0})))}_restartInterval(h=600){this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout=this._coreBrowserService.window.setTimeout(()=>{if(this._animationTimeRestarted){const d=600-(Date.now()-this._animationTimeRestarted);if(this._animationTimeRestarted=void 0,d>0)return void this._restartInterval(d)}this.isCursorVisible=!1,this._animationFrame=this._coreBrowserService.window.requestAnimationFrame(()=>{this._renderCallback(),this._animationFrame=void 0}),this._blinkInterval=this._coreBrowserService.window.setInterval(()=>{if(this._animationTimeRestarted){const d=600-(Date.now()-this._animationTimeRestarted);return this._animationTimeRestarted=void 0,void this._restartInterval(d)}this.isCursorVisible=!this.isCursorVisible,this._animationFrame=this._coreBrowserService.window.requestAnimationFrame(()=>{this._renderCallback(),this._animationFrame=void 0})},600)},h)}pause(){this.isCursorVisible=!0,this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(this._coreBrowserService.window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}resume(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()}}},860:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.tryDrawCustomChar=e.powerlineDefinitions=e.boxDrawingDefinitions=e.blockElementDefinitions=void 0;const d=h(374);e.blockElementDefinitions={"\u2580":[{x:0,y:0,w:8,h:4}],"\u2581":[{x:0,y:7,w:8,h:1}],"\u2582":[{x:0,y:6,w:8,h:2}],"\u2583":[{x:0,y:5,w:8,h:3}],"\u2584":[{x:0,y:4,w:8,h:4}],"\u2585":[{x:0,y:3,w:8,h:5}],"\u2586":[{x:0,y:2,w:8,h:6}],"\u2587":[{x:0,y:1,w:8,h:7}],"\u2588":[{x:0,y:0,w:8,h:8}],"\u2589":[{x:0,y:0,w:7,h:8}],"\u258A":[{x:0,y:0,w:6,h:8}],"\u258B":[{x:0,y:0,w:5,h:8}],"\u258C":[{x:0,y:0,w:4,h:8}],"\u258D":[{x:0,y:0,w:3,h:8}],"\u258E":[{x:0,y:0,w:2,h:8}],"\u258F":[{x:0,y:0,w:1,h:8}],"\u2590":[{x:4,y:0,w:4,h:8}],"\u2594":[{x:0,y:0,w:8,h:1}],"\u2595":[{x:7,y:0,w:1,h:8}],"\u2596":[{x:0,y:4,w:4,h:4}],"\u2597":[{x:4,y:4,w:4,h:4}],"\u2598":[{x:0,y:0,w:4,h:4}],"\u2599":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"\u259A":[{x:0,y:0,w:4,h:4},{x:4,y:4,w:4,h:4}],"\u259B":[{x:0,y:0,w:4,h:8},{x:4,y:0,w:4,h:4}],"\u259C":[{x:0,y:0,w:8,h:4},{x:4,y:0,w:4,h:8}],"\u259D":[{x:4,y:0,w:4,h:4}],"\u259E":[{x:4,y:0,w:4,h:4},{x:0,y:4,w:4,h:4}],"\u259F":[{x:4,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"\u{1FB70}":[{x:1,y:0,w:1,h:8}],"\u{1FB71}":[{x:2,y:0,w:1,h:8}],"\u{1FB72}":[{x:3,y:0,w:1,h:8}],"\u{1FB73}":[{x:4,y:0,w:1,h:8}],"\u{1FB74}":[{x:5,y:0,w:1,h:8}],"\u{1FB75}":[{x:6,y:0,w:1,h:8}],"\u{1FB76}":[{x:0,y:1,w:8,h:1}],"\u{1FB77}":[{x:0,y:2,w:8,h:1}],"\u{1FB78}":[{x:0,y:3,w:8,h:1}],"\u{1FB79}":[{x:0,y:4,w:8,h:1}],"\u{1FB7A}":[{x:0,y:5,w:8,h:1}],"\u{1FB7B}":[{x:0,y:6,w:8,h:1}],"\u{1FB7C}":[{x:0,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"\u{1FB7D}":[{x:0,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"\u{1FB7E}":[{x:7,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"\u{1FB7F}":[{x:7,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"\u{1FB80}":[{x:0,y:0,w:8,h:1},{x:0,y:7,w:8,h:1}],"\u{1FB81}":[{x:0,y:0,w:8,h:1},{x:0,y:2,w:8,h:1},{x:0,y:4,w:8,h:1},{x:0,y:7,w:8,h:1}],"\u{1FB82}":[{x:0,y:0,w:8,h:2}],"\u{1FB83}":[{x:0,y:0,w:8,h:3}],"\u{1FB84}":[{x:0,y:0,w:8,h:5}],"\u{1FB85}":[{x:0,y:0,w:8,h:6}],"\u{1FB86}":[{x:0,y:0,w:8,h:7}],"\u{1FB87}":[{x:6,y:0,w:2,h:8}],"\u{1FB88}":[{x:5,y:0,w:3,h:8}],"\u{1FB89}":[{x:3,y:0,w:5,h:8}],"\u{1FB8A}":[{x:2,y:0,w:6,h:8}],"\u{1FB8B}":[{x:1,y:0,w:7,h:8}],"\u{1FB95}":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"\u{1FB96}":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"\u{1FB97}":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};const o={"\u2591":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"\u2592":[[1,0],[0,0],[0,1],[0,0]],"\u2593":[[0,1],[1,1],[1,0],[1,1]]};e.boxDrawingDefinitions={"\u2500":{1:"M0,.5 L1,.5"},"\u2501":{3:"M0,.5 L1,.5"},"\u2502":{1:"M.5,0 L.5,1"},"\u2503":{3:"M.5,0 L.5,1"},"\u250C":{1:"M0.5,1 L.5,.5 L1,.5"},"\u250F":{3:"M0.5,1 L.5,.5 L1,.5"},"\u2510":{1:"M0,.5 L.5,.5 L.5,1"},"\u2513":{3:"M0,.5 L.5,.5 L.5,1"},"\u2514":{1:"M.5,0 L.5,.5 L1,.5"},"\u2517":{3:"M.5,0 L.5,.5 L1,.5"},"\u2518":{1:"M.5,0 L.5,.5 L0,.5"},"\u251B":{3:"M.5,0 L.5,.5 L0,.5"},"\u251C":{1:"M.5,0 L.5,1 M.5,.5 L1,.5"},"\u2523":{3:"M.5,0 L.5,1 M.5,.5 L1,.5"},"\u2524":{1:"M.5,0 L.5,1 M.5,.5 L0,.5"},"\u252B":{3:"M.5,0 L.5,1 M.5,.5 L0,.5"},"\u252C":{1:"M0,.5 L1,.5 M.5,.5 L.5,1"},"\u2533":{3:"M0,.5 L1,.5 M.5,.5 L.5,1"},"\u2534":{1:"M0,.5 L1,.5 M.5,.5 L.5,0"},"\u253B":{3:"M0,.5 L1,.5 M.5,.5 L.5,0"},"\u253C":{1:"M0,.5 L1,.5 M.5,0 L.5,1"},"\u254B":{3:"M0,.5 L1,.5 M.5,0 L.5,1"},"\u2574":{1:"M.5,.5 L0,.5"},"\u2578":{3:"M.5,.5 L0,.5"},"\u2575":{1:"M.5,.5 L.5,0"},"\u2579":{3:"M.5,.5 L.5,0"},"\u2576":{1:"M.5,.5 L1,.5"},"\u257A":{3:"M.5,.5 L1,.5"},"\u2577":{1:"M.5,.5 L.5,1"},"\u257B":{3:"M.5,.5 L.5,1"},"\u2550":{1:(i,t)=>`M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t}`},"\u2551":{1:(i,t)=>`M${.5-i},0 L${.5-i},1 M${.5+i},0 L${.5+i},1`},"\u2552":{1:(i,t)=>`M.5,1 L.5,${.5-t} L1,${.5-t} M.5,${.5+t} L1,${.5+t}`},"\u2553":{1:(i,t)=>`M${.5-i},1 L${.5-i},.5 L1,.5 M${.5+i},.5 L${.5+i},1`},"\u2554":{1:(i,t)=>`M1,${.5-t} L${.5-i},${.5-t} L${.5-i},1 M1,${.5+t} L${.5+i},${.5+t} L${.5+i},1`},"\u2555":{1:(i,t)=>`M0,${.5-t} L.5,${.5-t} L.5,1 M0,${.5+t} L.5,${.5+t}`},"\u2556":{1:(i,t)=>`M${.5+i},1 L${.5+i},.5 L0,.5 M${.5-i},.5 L${.5-i},1`},"\u2557":{1:(i,t)=>`M0,${.5+t} L${.5-i},${.5+t} L${.5-i},1 M0,${.5-t} L${.5+i},${.5-t} L${.5+i},1`},"\u2558":{1:(i,t)=>`M.5,0 L.5,${.5+t} L1,${.5+t} M.5,${.5-t} L1,${.5-t}`},"\u2559":{1:(i,t)=>`M1,.5 L${.5-i},.5 L${.5-i},0 M${.5+i},.5 L${.5+i},0`},"\u255A":{1:(i,t)=>`M1,${.5-t} L${.5+i},${.5-t} L${.5+i},0 M1,${.5+t} L${.5-i},${.5+t} L${.5-i},0`},"\u255B":{1:(i,t)=>`M0,${.5+t} L.5,${.5+t} L.5,0 M0,${.5-t} L.5,${.5-t}`},"\u255C":{1:(i,t)=>`M0,.5 L${.5+i},.5 L${.5+i},0 M${.5-i},.5 L${.5-i},0`},"\u255D":{1:(i,t)=>`M0,${.5-t} L${.5-i},${.5-t} L${.5-i},0 M0,${.5+t} L${.5+i},${.5+t} L${.5+i},0`},"\u255E":{1:(i,t)=>`M.5,0 L.5,1 M.5,${.5-t} L1,${.5-t} M.5,${.5+t} L1,${.5+t}`},"\u255F":{1:(i,t)=>`M${.5-i},0 L${.5-i},1 M${.5+i},0 L${.5+i},1 M${.5+i},.5 L1,.5`},"\u2560":{1:(i,t)=>`M${.5-i},0 L${.5-i},1 M1,${.5+t} L${.5+i},${.5+t} L${.5+i},1 M1,${.5-t} L${.5+i},${.5-t} L${.5+i},0`},"\u2561":{1:(i,t)=>`M.5,0 L.5,1 M0,${.5-t} L.5,${.5-t} M0,${.5+t} L.5,${.5+t}`},"\u2562":{1:(i,t)=>`M0,.5 L${.5-i},.5 M${.5-i},0 L${.5-i},1 M${.5+i},0 L${.5+i},1`},"\u2563":{1:(i,t)=>`M${.5+i},0 L${.5+i},1 M0,${.5+t} L${.5-i},${.5+t} L${.5-i},1 M0,${.5-t} L${.5-i},${.5-t} L${.5-i},0`},"\u2564":{1:(i,t)=>`M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t} M.5,${.5+t} L.5,1`},"\u2565":{1:(i,t)=>`M0,.5 L1,.5 M${.5-i},.5 L${.5-i},1 M${.5+i},.5 L${.5+i},1`},"\u2566":{1:(i,t)=>`M0,${.5-t} L1,${.5-t} M0,${.5+t} L${.5-i},${.5+t} L${.5-i},1 M1,${.5+t} L${.5+i},${.5+t} L${.5+i},1`},"\u2567":{1:(i,t)=>`M.5,0 L.5,${.5-t} M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t}`},"\u2568":{1:(i,t)=>`M0,.5 L1,.5 M${.5-i},.5 L${.5-i},0 M${.5+i},.5 L${.5+i},0`},"\u2569":{1:(i,t)=>`M0,${.5+t} L1,${.5+t} M0,${.5-t} L${.5-i},${.5-t} L${.5-i},0 M1,${.5-t} L${.5+i},${.5-t} L${.5+i},0`},"\u256A":{1:(i,t)=>`M.5,0 L.5,1 M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t}`},"\u256B":{1:(i,t)=>`M0,.5 L1,.5 M${.5-i},0 L${.5-i},1 M${.5+i},0 L${.5+i},1`},"\u256C":{1:(i,t)=>`M0,${.5+t} L${.5-i},${.5+t} L${.5-i},1 M1,${.5+t} L${.5+i},${.5+t} L${.5+i},1 M0,${.5-t} L${.5-i},${.5-t} L${.5-i},0 M1,${.5-t} L${.5+i},${.5-t} L${.5+i},0`},"\u2571":{1:"M1,0 L0,1"},"\u2572":{1:"M0,0 L1,1"},"\u2573":{1:"M1,0 L0,1 M0,0 L1,1"},"\u257C":{1:"M.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"\u257D":{1:"M.5,.5 L.5,0",3:"M.5,.5 L.5,1"},"\u257E":{1:"M.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"\u257F":{1:"M.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"\u250D":{1:"M.5,.5 L.5,1",3:"M.5,.5 L1,.5"},"\u250E":{1:"M.5,.5 L1,.5",3:"M.5,.5 L.5,1"},"\u2511":{1:"M.5,.5 L.5,1",3:"M.5,.5 L0,.5"},"\u2512":{1:"M.5,.5 L0,.5",3:"M.5,.5 L.5,1"},"\u2515":{1:"M.5,.5 L.5,0",3:"M.5,.5 L1,.5"},"\u2516":{1:"M.5,.5 L1,.5",3:"M.5,.5 L.5,0"},"\u2519":{1:"M.5,.5 L.5,0",3:"M.5,.5 L0,.5"},"\u251A":{1:"M.5,.5 L0,.5",3:"M.5,.5 L.5,0"},"\u251D":{1:"M.5,0 L.5,1",3:"M.5,.5 L1,.5"},"\u251E":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,.5 L.5,0"},"\u251F":{1:"M.5,0 L.5,.5 L1,.5",3:"M.5,.5 L.5,1"},"\u2520":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,1"},"\u2521":{1:"M.5,.5 L.5,1",3:"M.5,0 L.5,.5 L1,.5"},"\u2522":{1:"M.5,.5 L.5,0",3:"M0.5,1 L.5,.5 L1,.5"},"\u2525":{1:"M.5,0 L.5,1",3:"M.5,.5 L0,.5"},"\u2526":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"\u2527":{1:"M.5,0 L.5,.5 L0,.5",3:"M.5,.5 L.5,1"},"\u2528":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,1"},"\u2529":{1:"M.5,.5 L.5,1",3:"M.5,0 L.5,.5 L0,.5"},"\u252A":{1:"M.5,.5 L.5,0",3:"M0,.5 L.5,.5 L.5,1"},"\u252D":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"\u252E":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,.5 L1,.5"},"\u252F":{1:"M.5,.5 L.5,1",3:"M0,.5 L1,.5"},"\u2530":{1:"M0,.5 L1,.5",3:"M.5,.5 L.5,1"},"\u2531":{1:"M.5,.5 L1,.5",3:"M0,.5 L.5,.5 L.5,1"},"\u2532":{1:"M.5,.5 L0,.5",3:"M0.5,1 L.5,.5 L1,.5"},"\u2535":{1:"M.5,0 L.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"\u2536":{1:"M.5,0 L.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"\u2537":{1:"M.5,.5 L.5,0",3:"M0,.5 L1,.5"},"\u2538":{1:"M0,.5 L1,.5",3:"M.5,.5 L.5,0"},"\u2539":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,.5 L0,.5"},"\u253A":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,.5 L1,.5"},"\u253D":{1:"M.5,0 L.5,1 M.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"\u253E":{1:"M.5,0 L.5,1 M.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"\u253F":{1:"M.5,0 L.5,1",3:"M0,.5 L1,.5"},"\u2540":{1:"M0,.5 L1,.5 M.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"\u2541":{1:"M.5,.5 L.5,0 M0,.5 L1,.5",3:"M.5,.5 L.5,1"},"\u2542":{1:"M0,.5 L1,.5",3:"M.5,0 L.5,1"},"\u2543":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,0 L.5,.5 L0,.5"},"\u2544":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,0 L.5,.5 L1,.5"},"\u2545":{1:"M.5,0 L.5,.5 L1,.5",3:"M0,.5 L.5,.5 L.5,1"},"\u2546":{1:"M.5,0 L.5,.5 L0,.5",3:"M0.5,1 L.5,.5 L1,.5"},"\u2547":{1:"M.5,.5 L.5,1",3:"M.5,.5 L.5,0 M0,.5 L1,.5"},"\u2548":{1:"M.5,.5 L.5,0",3:"M0,.5 L1,.5 M.5,.5 L.5,1"},"\u2549":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,1 M.5,.5 L0,.5"},"\u254A":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,1 M.5,.5 L1,.5"},"\u254C":{1:"M.1,.5 L.4,.5 M.6,.5 L.9,.5"},"\u254D":{3:"M.1,.5 L.4,.5 M.6,.5 L.9,.5"},"\u2504":{1:"M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5"},"\u2505":{3:"M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5"},"\u2508":{1:"M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5"},"\u2509":{3:"M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5"},"\u254E":{1:"M.5,.1 L.5,.4 M.5,.6 L.5,.9"},"\u254F":{3:"M.5,.1 L.5,.4 M.5,.6 L.5,.9"},"\u2506":{1:"M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333"},"\u2507":{3:"M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333"},"\u250A":{1:"M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95"},"\u250B":{3:"M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95"},"\u256D":{1:(i,t)=>`M.5,1 L.5,${.5+t/.15*.5} C.5,${.5+t/.15*.5},.5,.5,1,.5`},"\u256E":{1:(i,t)=>`M.5,1 L.5,${.5+t/.15*.5} C.5,${.5+t/.15*.5},.5,.5,0,.5`},"\u256F":{1:(i,t)=>`M.5,0 L.5,${.5-t/.15*.5} C.5,${.5-t/.15*.5},.5,.5,0,.5`},"\u2570":{1:(i,t)=>`M.5,0 L.5,${.5-t/.15*.5} C.5,${.5-t/.15*.5},.5,.5,1,.5`}},e.powerlineDefinitions={"\uE0B0":{d:"M0,0 L1,.5 L0,1",type:0,rightPadding:2},"\uE0B1":{d:"M-1,-.5 L1,.5 L-1,1.5",type:1,leftPadding:1,rightPadding:1},"\uE0B2":{d:"M1,0 L0,.5 L1,1",type:0,leftPadding:2},"\uE0B3":{d:"M2,-.5 L0,.5 L2,1.5",type:1,leftPadding:1,rightPadding:1},"\uE0B4":{d:"M0,0 L0,1 C0.552,1,1,0.776,1,.5 C1,0.224,0.552,0,0,0",type:0,rightPadding:1},"\uE0B5":{d:"M.2,1 C.422,1,.8,.826,.78,.5 C.8,.174,0.422,0,.2,0",type:1,rightPadding:1},"\uE0B6":{d:"M1,0 L1,1 C0.448,1,0,0.776,0,.5 C0,0.224,0.448,0,1,0",type:0,leftPadding:1},"\uE0B7":{d:"M.8,1 C0.578,1,0.2,.826,.22,.5 C0.2,0.174,0.578,0,0.8,0",type:1,leftPadding:1},"\uE0B8":{d:"M-.5,-.5 L1.5,1.5 L-.5,1.5",type:0},"\uE0B9":{d:"M-.5,-.5 L1.5,1.5",type:1,leftPadding:1,rightPadding:1},"\uE0BA":{d:"M1.5,-.5 L-.5,1.5 L1.5,1.5",type:0},"\uE0BC":{d:"M1.5,-.5 L-.5,1.5 L-.5,-.5",type:0},"\uE0BD":{d:"M1.5,-.5 L-.5,1.5",type:1,leftPadding:1,rightPadding:1},"\uE0BE":{d:"M-.5,-.5 L1.5,1.5 L1.5,-.5",type:0}},e.powerlineDefinitions["\uE0BB"]=e.powerlineDefinitions["\uE0BD"],e.powerlineDefinitions["\uE0BF"]=e.powerlineDefinitions["\uE0B9"],e.tryDrawCustomChar=function(i,t,g,C,n,f,_,s){const c=e.blockElementDefinitions[t];if(c)return function(m,x,L,b,A,D){for(let S=0;S<x.length;S++){const M=x[S],T=A/8,R=D/8;m.fillRect(L+M.x*T,b+M.y*R,M.w*T,M.h*R)}}(i,c,g,C,n,f),!0;const u=o[t];if(u)return function(m,x,L,b,A,D){let S=r.get(x);S||(S=new Map,r.set(x,S));const M=m.fillStyle;if(typeof M!="string")throw new Error(`Unexpected fillStyle type "${M}"`);let T=S.get(M);if(!T){const R=x[0].length,H=x.length,z=m.canvas.ownerDocument.createElement("canvas");z.width=R,z.height=H;const U=(0,d.throwIfFalsy)(z.getContext("2d")),I=new ImageData(R,H);let Q,V,K,X;if(M.startsWith("#"))Q=parseInt(M.slice(1,3),16),V=parseInt(M.slice(3,5),16),K=parseInt(M.slice(5,7),16),X=M.length>7&&parseInt(M.slice(7,9),16)||1;else{if(!M.startsWith("rgba"))throw new Error(`Unexpected fillStyle color format "${M}" when drawing pattern glyph`);[Q,V,K,X]=M.substring(5,M.length-1).split(",").map(N=>parseFloat(N))}for(let N=0;N<H;N++)for(let J=0;J<R;J++)I.data[4*(N*R+J)]=Q,I.data[4*(N*R+J)+1]=V,I.data[4*(N*R+J)+2]=K,I.data[4*(N*R+J)+3]=x[N][J]*(255*X);U.putImageData(I,0,0),T=(0,d.throwIfFalsy)(m.createPattern(z,null)),S.set(M,T)}m.fillStyle=T,m.fillRect(L,b,A,D)}(i,u,g,C,n,f),!0;const a=e.boxDrawingDefinitions[t];if(a)return function(m,x,L,b,A,D,S){m.strokeStyle=m.fillStyle;for(const[M,T]of Object.entries(x)){let R;m.beginPath(),m.lineWidth=S*Number.parseInt(M),R=typeof T=="function"?T(.15,.15/D*A):T;for(const H of R.split(" ")){const z=H[0],U=w[z];if(!U){console.error(`Could not find drawing instructions for "${z}"`);continue}const I=H.substring(1).split(",");I[0]&&I[1]&&U(m,v(I,A,D,L,b,!0,S))}m.stroke(),m.closePath()}}(i,a,g,C,n,f,s),!0;const p=e.powerlineDefinitions[t];return!!p&&(function(m,x,L,b,A,D,S,M){const T=new Path2D;T.rect(L,b,A,D),m.clip(T),m.beginPath();const R=S/12;m.lineWidth=M*R;for(const H of x.d.split(" ")){const z=H[0],U=w[z];if(!U){console.error(`Could not find drawing instructions for "${z}"`);continue}const I=H.substring(1).split(",");I[0]&&I[1]&&U(m,v(I,A,D,L,b,!1,M,(x.leftPadding??0)*(R/2),(x.rightPadding??0)*(R/2)))}x.type===1?(m.strokeStyle=m.fillStyle,m.stroke()):m.fill(),m.closePath()}(i,p,g,C,n,f,_,s),!0)};const r=new Map;function l(i,t,g=0){return Math.max(Math.min(i,t),g)}const w={C:(i,t)=>i.bezierCurveTo(t[0],t[1],t[2],t[3],t[4],t[5]),L:(i,t)=>i.lineTo(t[0],t[1]),M:(i,t)=>i.moveTo(t[0],t[1])};function v(i,t,g,C,n,f,_,s=0,c=0){const u=i.map(a=>parseFloat(a)||parseInt(a));if(u.length<2)throw new Error("Too few arguments for instruction");for(let a=0;a<u.length;a+=2)u[a]*=t-s*_-c*_,f&&u[a]!==0&&(u[a]=l(Math.round(u[a]+.5)-.5,t,0)),u[a]+=C+s*_;for(let a=1;a<u.length;a+=2)u[a]*=g,f&&u[a]!==0&&(u[a]=l(Math.round(u[a]+.5)-.5,g,0)),u[a]+=n;return u}},56:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.observeDevicePixelDimensions=void 0;const d=h(859);e.observeDevicePixelDimensions=function(o,r,l){let w=new r.ResizeObserver(v=>{const i=v.find(C=>C.target===o);if(!i)return;if(!("devicePixelContentBoxSize"in i))return w?.disconnect(),void(w=void 0);const t=i.devicePixelContentBoxSize[0].inlineSize,g=i.devicePixelContentBoxSize[0].blockSize;t>0&&g>0&&l(t,g)});try{w.observe(o,{box:["device-pixel-content-box"]})}catch{w.disconnect(),w=void 0}return(0,d.toDisposable)(()=>w?.disconnect())}},374:(k,e)=>{function h(o){return 57508<=o&&o<=57558}function d(o){return o>=128512&&o<=128591||o>=127744&&o<=128511||o>=128640&&o<=128767||o>=9728&&o<=9983||o>=9984&&o<=10175||o>=65024&&o<=65039||o>=129280&&o<=129535||o>=127462&&o<=127487}Object.defineProperty(e,"__esModule",{value:!0}),e.computeNextVariantOffset=e.createRenderDimensions=e.treatGlyphAsBackgroundColor=e.allowRescaling=e.isEmoji=e.isRestrictedPowerlineGlyph=e.isPowerlineGlyph=e.throwIfFalsy=void 0,e.throwIfFalsy=function(o){if(!o)throw new Error("value must not be falsy");return o},e.isPowerlineGlyph=h,e.isRestrictedPowerlineGlyph=function(o){return 57520<=o&&o<=57527},e.isEmoji=d,e.allowRescaling=function(o,r,l,w){return r===1&&l>Math.ceil(1.5*w)&&o!==void 0&&o>255&&!d(o)&&!h(o)&&!function(v){return 57344<=v&&v<=63743}(o)},e.treatGlyphAsBackgroundColor=function(o){return h(o)||function(r){return 9472<=r&&r<=9631}(o)},e.createRenderDimensions=function(){return{css:{canvas:{width:0,height:0},cell:{width:0,height:0}},device:{canvas:{width:0,height:0},cell:{width:0,height:0},char:{width:0,height:0,left:0,top:0}}}},e.computeNextVariantOffset=function(o,r,l=0){return(o-(2*Math.round(r)-l))%(2*Math.round(r))}},296:(k,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createSelectionRenderModel=void 0;class h{constructor(){this.clear()}clear(){this.hasSelection=!1,this.columnSelectMode=!1,this.viewportStartRow=0,this.viewportEndRow=0,this.viewportCappedStartRow=0,this.viewportCappedEndRow=0,this.startCol=0,this.endCol=0,this.selectionStart=void 0,this.selectionEnd=void 0}update(o,r,l,w=!1){if(this.selectionStart=r,this.selectionEnd=l,!r||!l||r[0]===l[0]&&r[1]===l[1])return void this.clear();const v=o.buffers.active.ydisp,i=r[1]-v,t=l[1]-v,g=Math.max(i,0),C=Math.min(t,o.rows-1);g>=o.rows||C<0?this.clear():(this.hasSelection=!0,this.columnSelectMode=w,this.viewportStartRow=i,this.viewportEndRow=t,this.viewportCappedStartRow=g,this.viewportCappedEndRow=C,this.startCol=r[0],this.endCol=l[0])}isCellSelected(o,r,l){return!!this.hasSelection&&(l-=o.buffer.active.viewportY,this.columnSelectMode?this.startCol<=this.endCol?r>=this.startCol&&l>=this.viewportCappedStartRow&&r<this.endCol&&l<=this.viewportCappedEndRow:r<this.startCol&&l>=this.viewportCappedStartRow&&r>=this.endCol&&l<=this.viewportCappedEndRow:l>this.viewportStartRow&&l<this.viewportEndRow||this.viewportStartRow===this.viewportEndRow&&l===this.viewportStartRow&&r>=this.startCol&&r<this.endCol||this.viewportStartRow<this.viewportEndRow&&l===this.viewportEndRow&&r<this.endCol||this.viewportStartRow<this.viewportEndRow&&l===this.viewportStartRow&&r>=this.startCol)}}e.createSelectionRenderModel=function(){return new h}},509:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TextureAtlas=void 0;const d=h(237),o=h(860),r=h(374),l=h(160),w=h(345),v=h(485),i=h(385),t=h(147),g=h(855),C={texturePage:0,texturePosition:{x:0,y:0},texturePositionClipSpace:{x:0,y:0},offset:{x:0,y:0},size:{x:0,y:0},sizeClipSpace:{x:0,y:0}};let n;class f{get pages(){return this._pages}constructor(a,p,m){this._document=a,this._config=p,this._unicodeService=m,this._didWarmUp=!1,this._cacheMap=new v.FourKeyMap,this._cacheMapCombined=new v.FourKeyMap,this._pages=[],this._activePages=[],this._workBoundingBox={top:0,left:0,bottom:0,right:0},this._workAttributeData=new t.AttributeData,this._textureSize=512,this._onAddTextureAtlasCanvas=new w.EventEmitter,this.onAddTextureAtlasCanvas=this._onAddTextureAtlasCanvas.event,this._onRemoveTextureAtlasCanvas=new w.EventEmitter,this.onRemoveTextureAtlasCanvas=this._onRemoveTextureAtlasCanvas.event,this._requestClearModel=!1,this._createNewPage(),this._tmpCanvas=c(a,4*this._config.deviceCellWidth+4,this._config.deviceCellHeight+4),this._tmpCtx=(0,r.throwIfFalsy)(this._tmpCanvas.getContext("2d",{alpha:this._config.allowTransparency,willReadFrequently:!0}))}dispose(){for(const a of this.pages)a.canvas.remove();this._onAddTextureAtlasCanvas.dispose()}warmUp(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)}_doWarmUp(){const a=new i.IdleTaskQueue;for(let p=33;p<126;p++)a.enqueue(()=>{if(!this._cacheMap.get(p,g.DEFAULT_COLOR,g.DEFAULT_COLOR,g.DEFAULT_EXT)){const m=this._drawToCache(p,g.DEFAULT_COLOR,g.DEFAULT_COLOR,g.DEFAULT_EXT);this._cacheMap.set(p,g.DEFAULT_COLOR,g.DEFAULT_COLOR,g.DEFAULT_EXT,m)}})}beginFrame(){return this._requestClearModel}clearTexture(){if(this._pages[0].currentRow.x!==0||this._pages[0].currentRow.y!==0){for(const a of this._pages)a.clear();this._cacheMap.clear(),this._cacheMapCombined.clear(),this._didWarmUp=!1}}_createNewPage(){if(f.maxAtlasPages&&this._pages.length>=Math.max(4,f.maxAtlasPages)){const p=this._pages.filter(S=>2*S.canvas.width<=(f.maxTextureSize||4096)).sort((S,M)=>M.canvas.width!==S.canvas.width?M.canvas.width-S.canvas.width:M.percentageUsed-S.percentageUsed);let m=-1,x=0;for(let S=0;S<p.length;S++)if(p[S].canvas.width!==x)m=S,x=p[S].canvas.width;else if(S-m==3)break;const L=p.slice(m,m+4),b=L.map(S=>S.glyphs[0].texturePage).sort((S,M)=>S>M?1:-1),A=this.pages.length-L.length,D=this._mergePages(L,A);D.version++;for(let S=b.length-1;S>=0;S--)this._deletePage(b[S]);this.pages.push(D),this._requestClearModel=!0,this._onAddTextureAtlasCanvas.fire(D.canvas)}const a=new _(this._document,this._textureSize);return this._pages.push(a),this._activePages.push(a),this._onAddTextureAtlasCanvas.fire(a.canvas),a}_mergePages(a,p){const m=2*a[0].canvas.width,x=new _(this._document,m,a);for(const[L,b]of a.entries()){const A=L*b.canvas.width%m,D=Math.floor(L/2)*b.canvas.height;x.ctx.drawImage(b.canvas,A,D);for(const M of b.glyphs)M.texturePage=p,M.sizeClipSpace.x=M.size.x/m,M.sizeClipSpace.y=M.size.y/m,M.texturePosition.x+=A,M.texturePosition.y+=D,M.texturePositionClipSpace.x=M.texturePosition.x/m,M.texturePositionClipSpace.y=M.texturePosition.y/m;this._onRemoveTextureAtlasCanvas.fire(b.canvas);const S=this._activePages.indexOf(b);S!==-1&&this._activePages.splice(S,1)}return x}_deletePage(a){this._pages.splice(a,1);for(let p=a;p<this._pages.length;p++){const m=this._pages[p];for(const x of m.glyphs)x.texturePage--;m.version++}}getRasterizedGlyphCombinedChar(a,p,m,x,L){return this._getFromCacheMap(this._cacheMapCombined,a,p,m,x,L)}getRasterizedGlyph(a,p,m,x,L){return this._getFromCacheMap(this._cacheMap,a,p,m,x,L)}_getFromCacheMap(a,p,m,x,L,b=!1){return n=a.get(p,m,x,L),n||(n=this._drawToCache(p,m,x,L,b),a.set(p,m,x,L,n)),n}_getColorFromAnsiIndex(a){if(a>=this._config.colors.ansi.length)throw new Error("No color found for idx "+a);return this._config.colors.ansi[a]}_getBackgroundColor(a,p,m,x){if(this._config.allowTransparency)return l.NULL_COLOR;let L;switch(a){case 16777216:case 33554432:L=this._getColorFromAnsiIndex(p);break;case 50331648:const b=t.AttributeData.toColorRGB(p);L=l.channels.toColor(b[0],b[1],b[2]);break;default:L=m?l.color.opaque(this._config.colors.foreground):this._config.colors.background}return L}_getForegroundColor(a,p,m,x,L,b,A,D,S,M){const T=this._getMinimumContrastColor(a,p,m,x,L,b,A,S,D,M);if(T)return T;let R;switch(L){case 16777216:case 33554432:this._config.drawBoldTextInBrightColors&&S&&b<8&&(b+=8),R=this._getColorFromAnsiIndex(b);break;case 50331648:const H=t.AttributeData.toColorRGB(b);R=l.channels.toColor(H[0],H[1],H[2]);break;default:R=A?this._config.colors.background:this._config.colors.foreground}return this._config.allowTransparency&&(R=l.color.opaque(R)),D&&(R=l.color.multiplyOpacity(R,d.DIM_OPACITY)),R}_resolveBackgroundRgba(a,p,m){switch(a){case 16777216:case 33554432:return this._getColorFromAnsiIndex(p).rgba;case 50331648:return p<<8;default:return m?this._config.colors.foreground.rgba:this._config.colors.background.rgba}}_resolveForegroundRgba(a,p,m,x){switch(a){case 16777216:case 33554432:return this._config.drawBoldTextInBrightColors&&x&&p<8&&(p+=8),this._getColorFromAnsiIndex(p).rgba;case 50331648:return p<<8;default:return m?this._config.colors.background.rgba:this._config.colors.foreground.rgba}}_getMinimumContrastColor(a,p,m,x,L,b,A,D,S,M){if(this._config.minimumContrastRatio===1||M)return;const T=this._getContrastCache(S),R=T.getColor(a,x);if(R!==void 0)return R||void 0;const H=this._resolveBackgroundRgba(p,m,A),z=this._resolveForegroundRgba(L,b,A,D),U=l.rgba.ensureContrastRatio(H,z,this._config.minimumContrastRatio/(S?2:1));if(!U)return void T.setColor(a,x,null);const I=l.channels.toColor(U>>24&255,U>>16&255,U>>8&255);return T.setColor(a,x,I),I}_getContrastCache(a){return a?this._config.colors.halfContrastCache:this._config.colors.contrastCache}_drawToCache(a,p,m,x,L=!1){const b=typeof a=="number"?String.fromCharCode(a):a,A=Math.min(this._config.deviceCellWidth*Math.max(b.length,2)+4,this._textureSize);this._tmpCanvas.width<A&&(this._tmpCanvas.width=A);const D=Math.min(this._config.deviceCellHeight+8,this._textureSize);if(this._tmpCanvas.height<D&&(this._tmpCanvas.height=D),this._tmpCtx.save(),this._workAttributeData.fg=m,this._workAttributeData.bg=p,this._workAttributeData.extended.ext=x,this._workAttributeData.isInvisible())return C;const S=!!this._workAttributeData.isBold(),M=!!this._workAttributeData.isInverse(),T=!!this._workAttributeData.isDim(),R=!!this._workAttributeData.isItalic(),H=!!this._workAttributeData.isUnderline(),z=!!this._workAttributeData.isStrikethrough(),U=!!this._workAttributeData.isOverline();let I=this._workAttributeData.getFgColor(),Q=this._workAttributeData.getFgColorMode(),V=this._workAttributeData.getBgColor(),K=this._workAttributeData.getBgColorMode();if(M){const y=I;I=V,V=y;const P=Q;Q=K,K=P}const X=this._getBackgroundColor(K,V,M,T);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=X.css,this._tmpCtx.fillRect(0,0,this._tmpCanvas.width,this._tmpCanvas.height),this._tmpCtx.globalCompositeOperation="source-over";const N=S?this._config.fontWeightBold:this._config.fontWeight,J=R?"italic":"";this._tmpCtx.font=`${J} ${N} ${this._config.fontSize*this._config.devicePixelRatio}px ${this._config.fontFamily}`,this._tmpCtx.textBaseline=d.TEXT_BASELINE;const Me=b.length===1&&(0,r.isPowerlineGlyph)(b.charCodeAt(0)),ve=b.length===1&&(0,r.isRestrictedPowerlineGlyph)(b.charCodeAt(0)),oe=this._getForegroundColor(p,K,V,m,Q,I,M,T,S,(0,r.treatGlyphAsBackgroundColor)(b.charCodeAt(0)));this._tmpCtx.fillStyle=oe.css;const O=ve?0:4;let ne=!1;this._config.customGlyphs!==!1&&(ne=(0,o.tryDrawCustomChar)(this._tmpCtx,b,O,O,this._config.deviceCellWidth,this._config.deviceCellHeight,this._config.fontSize,this._config.devicePixelRatio));let ee,te=!Me;if(ee=typeof a=="number"?this._unicodeService.wcwidth(a):this._unicodeService.getStringCellWidth(a),H){this._tmpCtx.save();const y=Math.max(1,Math.floor(this._config.fontSize*this._config.devicePixelRatio/15)),P=y%2==1?.5:0;if(this._tmpCtx.lineWidth=y,this._workAttributeData.isUnderlineColorDefault())this._tmpCtx.strokeStyle=this._tmpCtx.fillStyle;else if(this._workAttributeData.isUnderlineColorRGB())te=!1,this._tmpCtx.strokeStyle=`rgb(${t.AttributeData.toColorRGB(this._workAttributeData.getUnderlineColor()).join(",")})`;else{te=!1;let j=this._workAttributeData.getUnderlineColor();this._config.drawBoldTextInBrightColors&&this._workAttributeData.isBold()&&j<8&&(j+=8),this._tmpCtx.strokeStyle=this._getColorFromAnsiIndex(j).css}this._tmpCtx.beginPath();const q=O,W=Math.ceil(O+this._config.deviceCharHeight)-P-(L?2*y:0),ie=W+y,se=W+2*y;let Y=this._workAttributeData.getUnderlineVariantOffset();for(let j=0;j<ee;j++){this._tmpCtx.save();const F=q+j*this._config.deviceCellWidth,G=q+(j+1)*this._config.deviceCellWidth,de=F+this._config.deviceCellWidth/2;switch(this._workAttributeData.extended.underlineStyle){case 2:this._tmpCtx.moveTo(F,W),this._tmpCtx.lineTo(G,W),this._tmpCtx.moveTo(F,se),this._tmpCtx.lineTo(G,se);break;case 3:const he=y<=1?se:Math.ceil(O+this._config.deviceCharHeight-y/2)-P,le=y<=1?W:Math.ceil(O+this._config.deviceCharHeight+y/2)-P,pe=new Path2D;pe.rect(F,W,this._config.deviceCellWidth,se-W),this._tmpCtx.clip(pe),this._tmpCtx.moveTo(F-this._config.deviceCellWidth/2,ie),this._tmpCtx.bezierCurveTo(F-this._config.deviceCellWidth/2,le,F,le,F,ie),this._tmpCtx.bezierCurveTo(F,he,de,he,de,ie),this._tmpCtx.bezierCurveTo(de,le,G,le,G,ie),this._tmpCtx.bezierCurveTo(G,he,G+this._config.deviceCellWidth/2,he,G+this._config.deviceCellWidth/2,ie);break;case 4:const ce=Y===0?0:Y>=y?2*y-Y:y-Y;Y>=y||ce===0?(this._tmpCtx.setLineDash([Math.round(y),Math.round(y)]),this._tmpCtx.moveTo(F+ce,W),this._tmpCtx.lineTo(G,W)):(this._tmpCtx.setLineDash([Math.round(y),Math.round(y)]),this._tmpCtx.moveTo(F,W),this._tmpCtx.lineTo(F+ce,W),this._tmpCtx.moveTo(F+ce+y,W),this._tmpCtx.lineTo(G,W)),Y=(0,r.computeNextVariantOffset)(G-F,y,Y);break;case 5:const Se=.6,ye=.3,_e=G-F,me=Math.floor(Se*_e),xe=Math.floor(ye*_e),Re=_e-me-xe;this._tmpCtx.setLineDash([me,xe,Re]),this._tmpCtx.moveTo(F,W),this._tmpCtx.lineTo(G,W);break;default:this._tmpCtx.moveTo(F,W),this._tmpCtx.lineTo(G,W)}this._tmpCtx.stroke(),this._tmpCtx.restore()}if(this._tmpCtx.restore(),!ne&&this._config.fontSize>=12&&!this._config.allowTransparency&&b!==" "){this._tmpCtx.save(),this._tmpCtx.textBaseline="alphabetic";const j=this._tmpCtx.measureText(b);if(this._tmpCtx.restore(),"actualBoundingBoxDescent"in j&&j.actualBoundingBoxDescent>0){this._tmpCtx.save();const F=new Path2D;F.rect(q,W-Math.ceil(y/2),this._config.deviceCellWidth*ee,se-W+Math.ceil(y/2)),this._tmpCtx.clip(F),this._tmpCtx.lineWidth=3*this._config.devicePixelRatio,this._tmpCtx.strokeStyle=X.css,this._tmpCtx.strokeText(b,O,O+this._config.deviceCharHeight),this._tmpCtx.restore()}}}if(U){const y=Math.max(1,Math.floor(this._config.fontSize*this._config.devicePixelRatio/15)),P=y%2==1?.5:0;this._tmpCtx.lineWidth=y,this._tmpCtx.strokeStyle=this._tmpCtx.fillStyle,this._tmpCtx.beginPath(),this._tmpCtx.moveTo(O,O+P),this._tmpCtx.lineTo(O+this._config.deviceCharWidth*ee,O+P),this._tmpCtx.stroke()}if(ne||this._tmpCtx.fillText(b,O,O+this._config.deviceCharHeight),b==="_"&&!this._config.allowTransparency){let y=s(this._tmpCtx.getImageData(O,O,this._config.deviceCellWidth,this._config.deviceCellHeight),X,oe,te);if(y)for(let P=1;P<=5&&(this._tmpCtx.save(),this._tmpCtx.fillStyle=X.css,this._tmpCtx.fillRect(0,0,this._tmpCanvas.width,this._tmpCanvas.height),this._tmpCtx.restore(),this._tmpCtx.fillText(b,O,O+this._config.deviceCharHeight-P),y=s(this._tmpCtx.getImageData(O,O,this._config.deviceCellWidth,this._config.deviceCellHeight),X,oe,te),y);P++);}if(z){const y=Math.max(1,Math.floor(this._config.fontSize*this._config.devicePixelRatio/10)),P=this._tmpCtx.lineWidth%2==1?.5:0;this._tmpCtx.lineWidth=y,this._tmpCtx.strokeStyle=this._tmpCtx.fillStyle,this._tmpCtx.beginPath(),this._tmpCtx.moveTo(O,O+Math.floor(this._config.deviceCharHeight/2)-P),this._tmpCtx.lineTo(O+this._config.deviceCharWidth*ee,O+Math.floor(this._config.deviceCharHeight/2)-P),this._tmpCtx.stroke()}this._tmpCtx.restore();const ae=this._tmpCtx.getImageData(0,0,this._tmpCanvas.width,this._tmpCanvas.height);let Ce;if(Ce=this._config.allowTransparency?function(y){for(let P=0;P<y.data.length;P+=4)if(y.data[P+3]>0)return!1;return!0}(ae):s(ae,X,oe,te),Ce)return C;const $=this._findGlyphBoundingBox(ae,this._workBoundingBox,A,ve,ne,O);let E,B;for(;;){if(this._activePages.length===0){const y=this._createNewPage();E=y,B=y.currentRow,B.height=$.size.y;break}E=this._activePages[this._activePages.length-1],B=E.currentRow;for(const y of this._activePages)$.size.y<=y.currentRow.height&&(E=y,B=y.currentRow);for(let y=this._activePages.length-1;y>=0;y--)for(const P of this._activePages[y].fixedRows)P.height<=B.height&&$.size.y<=P.height&&(E=this._activePages[y],B=P);if(B.y+$.size.y>=E.canvas.height||B.height>$.size.y+2){let y=!1;if(E.currentRow.y+E.currentRow.height+$.size.y>=E.canvas.height){let P;for(const q of this._activePages)if(q.currentRow.y+q.currentRow.height+$.size.y<q.canvas.height){P=q;break}if(P)E=P;else if(f.maxAtlasPages&&this._pages.length>=f.maxAtlasPages&&B.y+$.size.y<=E.canvas.height&&B.height>=$.size.y&&B.x+$.size.x<=E.canvas.width)y=!0;else{const q=this._createNewPage();E=q,B=q.currentRow,B.height=$.size.y,y=!0}}y||(E.currentRow.height>0&&E.fixedRows.push(E.currentRow),B={x:0,y:E.currentRow.y+E.currentRow.height,height:$.size.y},E.fixedRows.push(B),E.currentRow={x:0,y:B.y+B.height,height:0})}if(B.x+$.size.x<=E.canvas.width)break;B===E.currentRow?(B.x=0,B.y+=B.height,B.height=0):E.fixedRows.splice(E.fixedRows.indexOf(B),1)}return $.texturePage=this._pages.indexOf(E),$.texturePosition.x=B.x,$.texturePosition.y=B.y,$.texturePositionClipSpace.x=B.x/E.canvas.width,$.texturePositionClipSpace.y=B.y/E.canvas.height,$.sizeClipSpace.x/=E.canvas.width,$.sizeClipSpace.y/=E.canvas.height,B.height=Math.max(B.height,$.size.y),B.x+=$.size.x,E.ctx.putImageData(ae,$.texturePosition.x-this._workBoundingBox.left,$.texturePosition.y-this._workBoundingBox.top,this._workBoundingBox.left,this._workBoundingBox.top,$.size.x,$.size.y),E.addGlyph($),E.version++,$}_findGlyphBoundingBox(a,p,m,x,L,b){p.top=0;const A=x?this._config.deviceCellHeight:this._tmpCanvas.height,D=x?this._config.deviceCellWidth:m;let S=!1;for(let M=0;M<A;M++){for(let T=0;T<D;T++){const R=M*this._tmpCanvas.width*4+4*T+3;if(a.data[R]!==0){p.top=M,S=!0;break}}if(S)break}p.left=0,S=!1;for(let M=0;M<b+D;M++){for(let T=0;T<A;T++){const R=T*this._tmpCanvas.width*4+4*M+3;if(a.data[R]!==0){p.left=M,S=!0;break}}if(S)break}p.right=D,S=!1;for(let M=b+D-1;M>=b;M--){for(let T=0;T<A;T++){const R=T*this._tmpCanvas.width*4+4*M+3;if(a.data[R]!==0){p.right=M,S=!0;break}}if(S)break}p.bottom=A,S=!1;for(let M=A-1;M>=0;M--){for(let T=0;T<D;T++){const R=M*this._tmpCanvas.width*4+4*T+3;if(a.data[R]!==0){p.bottom=M,S=!0;break}}if(S)break}return{texturePage:0,texturePosition:{x:0,y:0},texturePositionClipSpace:{x:0,y:0},size:{x:p.right-p.left+1,y:p.bottom-p.top+1},sizeClipSpace:{x:p.right-p.left+1,y:p.bottom-p.top+1},offset:{x:-p.left+b+(x||L?Math.floor((this._config.deviceCellWidth-this._config.deviceCharWidth)/2):0),y:-p.top+b+(x||L?this._config.lineHeight===1?0:Math.round((this._config.deviceCellHeight-this._config.deviceCharHeight)/2):0)}}}}e.TextureAtlas=f;class _{get percentageUsed(){return this._usedPixels/(this.canvas.width*this.canvas.height)}get glyphs(){return this._glyphs}addGlyph(a){this._glyphs.push(a),this._usedPixels+=a.size.x*a.size.y}constructor(a,p,m){if(this._usedPixels=0,this._glyphs=[],this.version=0,this.currentRow={x:0,y:0,height:0},this.fixedRows=[],m)for(const x of m)this._glyphs.push(...x.glyphs),this._usedPixels+=x._usedPixels;this.canvas=c(a,p,p),this.ctx=(0,r.throwIfFalsy)(this.canvas.getContext("2d",{alpha:!0}))}clear(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.currentRow.x=0,this.currentRow.y=0,this.currentRow.height=0,this.fixedRows.length=0,this.version++}}function s(u,a,p,m){const x=a.rgba>>>24,L=a.rgba>>>16&255,b=a.rgba>>>8&255,A=p.rgba>>>24,D=p.rgba>>>16&255,S=p.rgba>>>8&255,M=Math.floor((Math.abs(x-A)+Math.abs(L-D)+Math.abs(b-S))/12);let T=!0;for(let R=0;R<u.data.length;R+=4)u.data[R]===x&&u.data[R+1]===L&&u.data[R+2]===b||m&&Math.abs(u.data[R]-x)+Math.abs(u.data[R+1]-L)+Math.abs(u.data[R+2]-b)<M?u.data[R+3]=0:T=!1;return T}function c(u,a,p){const m=u.createElement("canvas");return m.width=a,m.height=p,m}},577:function(k,e,h){var d=this&&this.__decorate||function(g,C,n,f){var _,s=arguments.length,c=s<3?C:f===null?f=Object.getOwnPropertyDescriptor(C,n):f;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(g,C,n,f);else for(var u=g.length-1;u>=0;u--)(_=g[u])&&(c=(s<3?_(c):s>3?_(C,n,c):_(C,n))||c);return s>3&&c&&Object.defineProperty(C,n,c),c},o=this&&this.__param||function(g,C){return function(n,f){C(n,f,g)}};Object.defineProperty(e,"__esModule",{value:!0}),e.CharacterJoinerService=e.JoinedCellData=void 0;const r=h(147),l=h(855),w=h(782),v=h(97);class i extends r.AttributeData{constructor(C,n,f){super(),this.content=0,this.combinedData="",this.fg=C.fg,this.bg=C.bg,this.combinedData=n,this._width=f}isCombined(){return 2097152}getWidth(){return this._width}getChars(){return this.combinedData}getCode(){return 2097151}setFromCharData(C){throw new Error("not implemented")}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}}e.JoinedCellData=i;let t=e.CharacterJoinerService=class we{constructor(C){this._bufferService=C,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new w.CellData}register(C){const n={id:this._nextCharacterJoinerId++,handler:C};return this._characterJoiners.push(n),n.id}deregister(C){for(let n=0;n<this._characterJoiners.length;n++)if(this._characterJoiners[n].id===C)return this._characterJoiners.splice(n,1),!0;return!1}getJoinedCharacters(C){if(this._characterJoiners.length===0)return[];const n=this._bufferService.buffer.lines.get(C);if(!n||n.length===0)return[];const f=[],_=n.translateToString(!0);let s=0,c=0,u=0,a=n.getFg(0),p=n.getBg(0);for(let m=0;m<n.getTrimmedLength();m++)if(n.loadCell(m,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==a||this._workCell.bg!==p){if(m-s>1){const x=this._getJoinedRanges(_,u,c,n,s);for(let L=0;L<x.length;L++)f.push(x[L])}s=m,u=c,a=this._workCell.fg,p=this._workCell.bg}c+=this._workCell.getChars().length||l.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-s>1){const m=this._getJoinedRanges(_,u,c,n,s);for(let x=0;x<m.length;x++)f.push(m[x])}return f}_getJoinedRanges(C,n,f,_,s){const c=C.substring(n,f);let u=[];try{u=this._characterJoiners[0].handler(c)}catch(a){console.error(a)}for(let a=1;a<this._characterJoiners.length;a++)try{const p=this._characterJoiners[a].handler(c);for(let m=0;m<p.length;m++)we._mergeRanges(u,p[m])}catch(p){console.error(p)}return this._stringRangesToCellRanges(u,_,s),u}_stringRangesToCellRanges(C,n,f){let _=0,s=!1,c=0,u=C[_];if(u){for(let a=f;a<this._bufferService.cols;a++){const p=n.getWidth(a),m=n.getString(a).length||l.WHITESPACE_CELL_CHAR.length;if(p!==0){if(!s&&u[0]<=c&&(u[0]=a,s=!0),u[1]<=c){if(u[1]=a,u=C[++_],!u)break;u[0]<=c?(u[0]=a,s=!0):s=!1}c+=m}}u&&(u[1]=this._bufferService.cols)}}static _mergeRanges(C,n){let f=!1;for(let _=0;_<C.length;_++){const s=C[_];if(f){if(n[1]<=s[0])return C[_-1][1]=n[1],C;if(n[1]<=s[1])return C[_-1][1]=Math.max(n[1],s[1]),C.splice(_,1),C;C.splice(_,1),_--}else{if(n[1]<=s[0])return C.splice(_,0,n),C;if(n[1]<=s[1])return s[0]=Math.min(n[0],s[0]),C;n[0]<s[1]&&(s[0]=Math.min(n[0],s[0]),f=!0)}}return f?C[C.length-1][1]=n[1]:C.push(n),C}};e.CharacterJoinerService=t=d([o(0,v.IBufferService)],t)},160:(k,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.contrastRatio=e.toPaddedHex=e.rgba=e.rgb=e.css=e.color=e.channels=e.NULL_COLOR=void 0;let h=0,d=0,o=0,r=0;var l,w,v,i,t;function g(n){const f=n.toString(16);return f.length<2?"0"+f:f}function C(n,f){return n<f?(f+.05)/(n+.05):(n+.05)/(f+.05)}e.NULL_COLOR={css:"#00000000",rgba:0},function(n){n.toCss=function(f,_,s,c){return c!==void 0?`#${g(f)}${g(_)}${g(s)}${g(c)}`:`#${g(f)}${g(_)}${g(s)}`},n.toRgba=function(f,_,s,c=255){return(f<<24|_<<16|s<<8|c)>>>0},n.toColor=function(f,_,s,c){return{css:n.toCss(f,_,s,c),rgba:n.toRgba(f,_,s,c)}}}(l||(e.channels=l={})),function(n){function f(_,s){return r=Math.round(255*s),[h,d,o]=t.toChannels(_.rgba),{css:l.toCss(h,d,o,r),rgba:l.toRgba(h,d,o,r)}}n.blend=function(_,s){if(r=(255&s.rgba)/255,r===1)return{css:s.css,rgba:s.rgba};const c=s.rgba>>24&255,u=s.rgba>>16&255,a=s.rgba>>8&255,p=_.rgba>>24&255,m=_.rgba>>16&255,x=_.rgba>>8&255;return h=p+Math.round((c-p)*r),d=m+Math.round((u-m)*r),o=x+Math.round((a-x)*r),{css:l.toCss(h,d,o),rgba:l.toRgba(h,d,o)}},n.isOpaque=function(_){return(255&_.rgba)==255},n.ensureContrastRatio=function(_,s,c){const u=t.ensureContrastRatio(_.rgba,s.rgba,c);if(u)return l.toColor(u>>24&255,u>>16&255,u>>8&255)},n.opaque=function(_){const s=(255|_.rgba)>>>0;return[h,d,o]=t.toChannels(s),{css:l.toCss(h,d,o),rgba:s}},n.opacity=f,n.multiplyOpacity=function(_,s){return r=255&_.rgba,f(_,r*s/255)},n.toColorRGB=function(_){return[_.rgba>>24&255,_.rgba>>16&255,_.rgba>>8&255]}}(w||(e.color=w={})),function(n){let f,_;try{const s=document.createElement("canvas");s.width=1,s.height=1;const c=s.getContext("2d",{willReadFrequently:!0});c&&(f=c,f.globalCompositeOperation="copy",_=f.createLinearGradient(0,0,1,1))}catch{}n.toColor=function(s){if(s.match(/#[\da-f]{3,8}/i))switch(s.length){case 4:return h=parseInt(s.slice(1,2).repeat(2),16),d=parseInt(s.slice(2,3).repeat(2),16),o=parseInt(s.slice(3,4).repeat(2),16),l.toColor(h,d,o);case 5:return h=parseInt(s.slice(1,2).repeat(2),16),d=parseInt(s.slice(2,3).repeat(2),16),o=parseInt(s.slice(3,4).repeat(2),16),r=parseInt(s.slice(4,5).repeat(2),16),l.toColor(h,d,o,r);case 7:return{css:s,rgba:(parseInt(s.slice(1),16)<<8|255)>>>0};case 9:return{css:s,rgba:parseInt(s.slice(1),16)>>>0}}const c=s.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(c)return h=parseInt(c[1]),d=parseInt(c[2]),o=parseInt(c[3]),r=Math.round(255*(c[5]===void 0?1:parseFloat(c[5]))),l.toColor(h,d,o,r);if(!f||!_)throw new Error("css.toColor: Unsupported css format");if(f.fillStyle=_,f.fillStyle=s,typeof f.fillStyle!="string")throw new Error("css.toColor: Unsupported css format");if(f.fillRect(0,0,1,1),[h,d,o,r]=f.getImageData(0,0,1,1).data,r!==255)throw new Error("css.toColor: Unsupported css format");return{rgba:l.toRgba(h,d,o,r),css:s}}}(v||(e.css=v={})),function(n){function f(_,s,c){const u=_/255,a=s/255,p=c/255;return .2126*(u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4))+.7152*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.0722*(p<=.03928?p/12.92:Math.pow((p+.055)/1.055,2.4))}n.relativeLuminance=function(_){return f(_>>16&255,_>>8&255,255&_)},n.relativeLuminance2=f}(i||(e.rgb=i={})),function(n){function f(s,c,u){const a=s>>24&255,p=s>>16&255,m=s>>8&255;let x=c>>24&255,L=c>>16&255,b=c>>8&255,A=C(i.relativeLuminance2(x,L,b),i.relativeLuminance2(a,p,m));for(;A<u&&(x>0||L>0||b>0);)x-=Math.max(0,Math.ceil(.1*x)),L-=Math.max(0,Math.ceil(.1*L)),b-=Math.max(0,Math.ceil(.1*b)),A=C(i.relativeLuminance2(x,L,b),i.relativeLuminance2(a,p,m));return(x<<24|L<<16|b<<8|255)>>>0}function _(s,c,u){const a=s>>24&255,p=s>>16&255,m=s>>8&255;let x=c>>24&255,L=c>>16&255,b=c>>8&255,A=C(i.relativeLuminance2(x,L,b),i.relativeLuminance2(a,p,m));for(;A<u&&(x<255||L<255||b<255);)x=Math.min(255,x+Math.ceil(.1*(255-x))),L=Math.min(255,L+Math.ceil(.1*(255-L))),b=Math.min(255,b+Math.ceil(.1*(255-b))),A=C(i.relativeLuminance2(x,L,b),i.relativeLuminance2(a,p,m));return(x<<24|L<<16|b<<8|255)>>>0}n.blend=function(s,c){if(r=(255&c)/255,r===1)return c;const u=c>>24&255,a=c>>16&255,p=c>>8&255,m=s>>24&255,x=s>>16&255,L=s>>8&255;return h=m+Math.round((u-m)*r),d=x+Math.round((a-x)*r),o=L+Math.round((p-L)*r),l.toRgba(h,d,o)},n.ensureContrastRatio=function(s,c,u){const a=i.relativeLuminance(s>>8),p=i.relativeLuminance(c>>8);if(C(a,p)<u){if(p<a){const L=f(s,c,u),b=C(a,i.relativeLuminance(L>>8));if(b<u){const A=_(s,c,u);return b>C(a,i.relativeLuminance(A>>8))?L:A}return L}const m=_(s,c,u),x=C(a,i.relativeLuminance(m>>8));if(x<u){const L=f(s,c,u);return x>C(a,i.relativeLuminance(L>>8))?m:L}return m}},n.reduceLuminance=f,n.increaseLuminance=_,n.toChannels=function(s){return[s>>24&255,s>>16&255,s>>8&255,255&s]}}(t||(e.rgba=t={})),e.toPaddedHex=g,e.contrastRatio=C},345:(k,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.runAndSubscribe=e.forwardEvent=e.EventEmitter=void 0,e.EventEmitter=class{constructor(){this._listeners=[],this._disposed=!1}get event(){return this._event||(this._event=h=>(this._listeners.push(h),{dispose:()=>{if(!this._disposed){for(let d=0;d<this._listeners.length;d++)if(this._listeners[d]===h)return void this._listeners.splice(d,1)}}})),this._event}fire(h,d){const o=[];for(let r=0;r<this._listeners.length;r++)o.push(this._listeners[r]);for(let r=0;r<o.length;r++)o[r].call(void 0,h,d)}dispose(){this.clearListeners(),this._disposed=!0}clearListeners(){this._listeners&&(this._listeners.length=0)}},e.forwardEvent=function(h,d){return h(o=>d.fire(o))},e.runAndSubscribe=function(h,d){return d(void 0),h(o=>d(o))}},859:(k,e)=>{function h(d){for(const o of d)o.dispose();d.length=0}Object.defineProperty(e,"__esModule",{value:!0}),e.getDisposeArrayDisposable=e.disposeArray=e.toDisposable=e.MutableDisposable=e.Disposable=void 0,e.Disposable=class{constructor(){this._disposables=[],this._isDisposed=!1}dispose(){this._isDisposed=!0;for(const d of this._disposables)d.dispose();this._disposables.length=0}register(d){return this._disposables.push(d),d}unregister(d){const o=this._disposables.indexOf(d);o!==-1&&this._disposables.splice(o,1)}},e.MutableDisposable=class{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(d){this._isDisposed||d===this._value||(this._value?.dispose(),this._value=d)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value?.dispose(),this._value=void 0}},e.toDisposable=function(d){return{dispose:d}},e.disposeArray=h,e.getDisposeArrayDisposable=function(d){return{dispose:()=>h(d)}}},485:(k,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.FourKeyMap=e.TwoKeyMap=void 0;class h{constructor(){this._data={}}set(o,r,l){this._data[o]||(this._data[o]={}),this._data[o][r]=l}get(o,r){return this._data[o]?this._data[o][r]:void 0}clear(){this._data={}}}e.TwoKeyMap=h,e.FourKeyMap=class{constructor(){this._data=new h}set(d,o,r,l,w){this._data.get(d,o)||this._data.set(d,o,new h),this._data.get(d,o).set(r,l,w)}get(d,o,r,l){return this._data.get(d,o)?.get(r,l)}clear(){this._data.clear()}}},399:(k,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isChromeOS=e.isLinux=e.isWindows=e.isIphone=e.isIpad=e.isMac=e.getSafariVersion=e.isSafari=e.isLegacyEdge=e.isFirefox=e.isNode=void 0,e.isNode=typeof ue<"u"&&"title"in ue;const h=e.isNode?"node":navigator.userAgent,d=e.isNode?"node":navigator.platform;e.isFirefox=h.includes("Firefox"),e.isLegacyEdge=h.includes("Edge"),e.isSafari=/^((?!chrome|android).)*safari/i.test(h),e.getSafariVersion=function(){if(!e.isSafari)return 0;const o=h.match(/Version\/(\d+)/);return o===null||o.length<2?0:parseInt(o[1])},e.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(d),e.isIpad=d==="iPad",e.isIphone=d==="iPhone",e.isWindows=["Windows","Win16","Win32","WinCE"].includes(d),e.isLinux=d.indexOf("Linux")>=0,e.isChromeOS=/\bCrOS\b/.test(h)},385:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DebouncedIdleTask=e.IdleTaskQueue=e.PriorityTaskQueue=void 0;const d=h(399);class o{constructor(){this._tasks=[],this._i=0}enqueue(w){this._tasks.push(w),this._start()}flush(){for(;this._i<this._tasks.length;)this._tasks[this._i]()||this._i++;this.clear()}clear(){this._idleCallback&&(this._cancelCallback(this._idleCallback),this._idleCallback=void 0),this._i=0,this._tasks.length=0}_start(){this._idleCallback||(this._idleCallback=this._requestCallback(this._process.bind(this)))}_process(w){this._idleCallback=void 0;let v=0,i=0,t=w.timeRemaining(),g=0;for(;this._i<this._tasks.length;){if(v=Date.now(),this._tasks[this._i]()||this._i++,v=Math.max(1,Date.now()-v),i=Math.max(v,i),g=w.timeRemaining(),1.5*i>g)return t-v<-20&&console.warn(`task queue exceeded allotted deadline by ${Math.abs(Math.round(t-v))}ms`),void this._start();t=g}this.clear()}}class r extends o{_requestCallback(w){return setTimeout(()=>w(this._createDeadline(16)))}_cancelCallback(w){clearTimeout(w)}_createDeadline(w){const v=Date.now()+w;return{timeRemaining:()=>Math.max(0,v-Date.now())}}}e.PriorityTaskQueue=r,e.IdleTaskQueue=!d.isNode&&"requestIdleCallback"in window?class extends o{_requestCallback(l){return requestIdleCallback(l)}_cancelCallback(l){cancelIdleCallback(l)}}:r,e.DebouncedIdleTask=class{constructor(){this._queue=new e.IdleTaskQueue}set(l){this._queue.clear(),this._queue.enqueue(l)}flush(){this._queue.flush()}}},147:(k,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ExtendedAttrs=e.AttributeData=void 0;class h{constructor(){this.fg=0,this.bg=0,this.extended=new d}static toColorRGB(r){return[r>>>16&255,r>>>8&255,255&r]}static fromColorRGB(r){return(255&r[0])<<16|(255&r[1])<<8|255&r[2]}clone(){const r=new h;return r.fg=this.fg,r.bg=this.bg,r.extended=this.extended.clone(),r}isInverse(){return 67108864&this.fg}isBold(){return 134217728&this.fg}isUnderline(){return this.hasExtendedAttrs()&&this.extended.underlineStyle!==0?1:268435456&this.fg}isBlink(){return 536870912&this.fg}isInvisible(){return 1073741824&this.fg}isItalic(){return 67108864&this.bg}isDim(){return 134217728&this.bg}isStrikethrough(){return 2147483648&this.fg}isProtected(){return 536870912&this.bg}isOverline(){return 1073741824&this.bg}getFgColorMode(){return 50331648&this.fg}getBgColorMode(){return 50331648&this.bg}isFgRGB(){return(50331648&this.fg)==50331648}isBgRGB(){return(50331648&this.bg)==50331648}isFgPalette(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432}isBgPalette(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432}isFgDefault(){return(50331648&this.fg)==0}isBgDefault(){return(50331648&this.bg)==0}isAttributeDefault(){return this.fg===0&&this.bg===0}getFgColor(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}}getBgColor(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}}hasExtendedAttrs(){return 268435456&this.bg}updateExtended(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456}getUnderlineColor(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()}getUnderlineColorMode(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()}isUnderlineColorRGB(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()}isUnderlineColorPalette(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()}isUnderlineColorDefault(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()}getUnderlineStyle(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0}getUnderlineVariantOffset(){return this.extended.underlineVariantOffset}}e.AttributeData=h;class d{get ext(){return this._urlId?-469762049&this._ext|this.underlineStyle<<26:this._ext}set ext(r){this._ext=r}get underlineStyle(){return this._urlId?5:(469762048&this._ext)>>26}set underlineStyle(r){this._ext&=-469762049,this._ext|=r<<26&469762048}get underlineColor(){return 67108863&this._ext}set underlineColor(r){this._ext&=-67108864,this._ext|=67108863&r}get urlId(){return this._urlId}set urlId(r){this._urlId=r}get underlineVariantOffset(){const r=(3758096384&this._ext)>>29;return r<0?4294967288^r:r}set underlineVariantOffset(r){this._ext&=536870911,this._ext|=r<<29&3758096384}constructor(r=0,l=0){this._ext=0,this._urlId=0,this._ext=r,this._urlId=l}clone(){return new d(this._ext,this._urlId)}isEmpty(){return this.underlineStyle===0&&this._urlId===0}}e.ExtendedAttrs=d},782:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CellData=void 0;const d=h(133),o=h(855),r=h(147);class l extends r.AttributeData{constructor(){super(...arguments),this.content=0,this.fg=0,this.bg=0,this.extended=new r.ExtendedAttrs,this.combinedData=""}static fromCharData(v){const i=new l;return i.setFromCharData(v),i}isCombined(){return 2097152&this.content}getWidth(){return this.content>>22}getChars(){return 2097152&this.content?this.combinedData:2097151&this.content?(0,d.stringFromCodePoint)(2097151&this.content):""}getCode(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content}setFromCharData(v){this.fg=v[o.CHAR_DATA_ATTR_INDEX],this.bg=0;let i=!1;if(v[o.CHAR_DATA_CHAR_INDEX].length>2)i=!0;else if(v[o.CHAR_DATA_CHAR_INDEX].length===2){const t=v[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=t&&t<=56319){const g=v[o.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=g&&g<=57343?this.content=1024*(t-55296)+g-56320+65536|v[o.CHAR_DATA_WIDTH_INDEX]<<22:i=!0}else i=!0}else this.content=v[o.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|v[o.CHAR_DATA_WIDTH_INDEX]<<22;i&&(this.combinedData=v[o.CHAR_DATA_CHAR_INDEX],this.content=2097152|v[o.CHAR_DATA_WIDTH_INDEX]<<22)}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}}e.CellData=l},855:(k,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.WHITESPACE_CELL_CODE=e.WHITESPACE_CELL_WIDTH=e.WHITESPACE_CELL_CHAR=e.NULL_CELL_CODE=e.NULL_CELL_WIDTH=e.NULL_CELL_CHAR=e.CHAR_DATA_CODE_INDEX=e.CHAR_DATA_WIDTH_INDEX=e.CHAR_DATA_CHAR_INDEX=e.CHAR_DATA_ATTR_INDEX=e.DEFAULT_EXT=e.DEFAULT_ATTR=e.DEFAULT_COLOR=void 0,e.DEFAULT_COLOR=0,e.DEFAULT_ATTR=256|e.DEFAULT_COLOR<<9,e.DEFAULT_EXT=0,e.CHAR_DATA_ATTR_INDEX=0,e.CHAR_DATA_CHAR_INDEX=1,e.CHAR_DATA_WIDTH_INDEX=2,e.CHAR_DATA_CODE_INDEX=3,e.NULL_CELL_CHAR="",e.NULL_CELL_WIDTH=1,e.NULL_CELL_CODE=0,e.WHITESPACE_CELL_CHAR=" ",e.WHITESPACE_CELL_WIDTH=1,e.WHITESPACE_CELL_CODE=32},133:(k,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Utf8ToUtf32=e.StringToUtf32=e.utf32ToString=e.stringFromCodePoint=void 0,e.stringFromCodePoint=function(h){return h>65535?(h-=65536,String.fromCharCode(55296+(h>>10))+String.fromCharCode(h%1024+56320)):String.fromCharCode(h)},e.utf32ToString=function(h,d=0,o=h.length){let r="";for(let l=d;l<o;++l){let w=h[l];w>65535?(w-=65536,r+=String.fromCharCode(55296+(w>>10))+String.fromCharCode(w%1024+56320)):r+=String.fromCharCode(w)}return r},e.StringToUtf32=class{constructor(){this._interim=0}clear(){this._interim=0}decode(h,d){const o=h.length;if(!o)return 0;let r=0,l=0;if(this._interim){const w=h.charCodeAt(l++);56320<=w&&w<=57343?d[r++]=1024*(this._interim-55296)+w-56320+65536:(d[r++]=this._interim,d[r++]=w),this._interim=0}for(let w=l;w<o;++w){const v=h.charCodeAt(w);if(55296<=v&&v<=56319){if(++w>=o)return this._interim=v,r;const i=h.charCodeAt(w);56320<=i&&i<=57343?d[r++]=1024*(v-55296)+i-56320+65536:(d[r++]=v,d[r++]=i)}else v!==65279&&(d[r++]=v)}return r}},e.Utf8ToUtf32=class{constructor(){this.interim=new Uint8Array(3)}clear(){this.interim.fill(0)}decode(h,d){const o=h.length;if(!o)return 0;let r,l,w,v,i=0,t=0,g=0;if(this.interim[0]){let f=!1,_=this.interim[0];_&=(224&_)==192?31:(240&_)==224?15:7;let s,c=0;for(;(s=63&this.interim[++c])&&c<4;)_<<=6,_|=s;const u=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,a=u-c;for(;g<a;){if(g>=o)return 0;if(s=h[g++],(192&s)!=128){g--,f=!0;break}this.interim[c++]=s,_<<=6,_|=63&s}f||(u===2?_<128?g--:d[i++]=_:u===3?_<2048||_>=55296&&_<=57343||_===65279||(d[i++]=_):_<65536||_>1114111||(d[i++]=_)),this.interim.fill(0)}const C=o-4;let n=g;for(;n<o;){for(;!(!(n<C)||128&(r=h[n])||128&(l=h[n+1])||128&(w=h[n+2])||128&(v=h[n+3]));)d[i++]=r,d[i++]=l,d[i++]=w,d[i++]=v,n+=4;if(r=h[n++],r<128)d[i++]=r;else if((224&r)==192){if(n>=o)return this.interim[0]=r,i;if(l=h[n++],(192&l)!=128){n--;continue}if(t=(31&r)<<6|63&l,t<128){n--;continue}d[i++]=t}else if((240&r)==224){if(n>=o)return this.interim[0]=r,i;if(l=h[n++],(192&l)!=128){n--;continue}if(n>=o)return this.interim[0]=r,this.interim[1]=l,i;if(w=h[n++],(192&w)!=128){n--;continue}if(t=(15&r)<<12|(63&l)<<6|63&w,t<2048||t>=55296&&t<=57343||t===65279)continue;d[i++]=t}else if((248&r)==240){if(n>=o)return this.interim[0]=r,i;if(l=h[n++],(192&l)!=128){n--;continue}if(n>=o)return this.interim[0]=r,this.interim[1]=l,i;if(w=h[n++],(192&w)!=128){n--;continue}if(n>=o)return this.interim[0]=r,this.interim[1]=l,this.interim[2]=w,i;if(v=h[n++],(192&v)!=128){n--;continue}if(t=(7&r)<<18|(63&l)<<12|(63&w)<<6|63&v,t<65536||t>1114111)continue;d[i++]=t}}return i}}},776:function(k,e,h){var d=this&&this.__decorate||function(t,g,C,n){var f,_=arguments.length,s=_<3?g:n===null?n=Object.getOwnPropertyDescriptor(g,C):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,g,C,n);else for(var c=t.length-1;c>=0;c--)(f=t[c])&&(s=(_<3?f(s):_>3?f(g,C,s):f(g,C))||s);return _>3&&s&&Object.defineProperty(g,C,s),s},o=this&&this.__param||function(t,g){return function(C,n){g(C,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.traceCall=e.setTraceLogger=e.LogService=void 0;const r=h(859),l=h(97),w={trace:l.LogLevelEnum.TRACE,debug:l.LogLevelEnum.DEBUG,info:l.LogLevelEnum.INFO,warn:l.LogLevelEnum.WARN,error:l.LogLevelEnum.ERROR,off:l.LogLevelEnum.OFF};let v,i=e.LogService=class extends r.Disposable{get logLevel(){return this._logLevel}constructor(t){super(),this._optionsService=t,this._logLevel=l.LogLevelEnum.OFF,this._updateLogLevel(),this.register(this._optionsService.onSpecificOptionChange("logLevel",()=>this._updateLogLevel())),v=this}_updateLogLevel(){this._logLevel=w[this._optionsService.rawOptions.logLevel]}_evalLazyOptionalParams(t){for(let g=0;g<t.length;g++)typeof t[g]=="function"&&(t[g]=t[g]())}_log(t,g,C){this._evalLazyOptionalParams(C),t.call(console,(this._optionsService.options.logger?"":"xterm.js: ")+g,...C)}trace(t,...g){this._logLevel<=l.LogLevelEnum.TRACE&&this._log(this._optionsService.options.logger?.trace.bind(this._optionsService.options.logger)??console.log,t,g)}debug(t,...g){this._logLevel<=l.LogLevelEnum.DEBUG&&this._log(this._optionsService.options.logger?.debug.bind(this._optionsService.options.logger)??console.log,t,g)}info(t,...g){this._logLevel<=l.LogLevelEnum.INFO&&this._log(this._optionsService.options.logger?.info.bind(this._optionsService.options.logger)??console.info,t,g)}warn(t,...g){this._logLevel<=l.LogLevelEnum.WARN&&this._log(this._optionsService.options.logger?.warn.bind(this._optionsService.options.logger)??console.warn,t,g)}error(t,...g){this._logLevel<=l.LogLevelEnum.ERROR&&this._log(this._optionsService.options.logger?.error.bind(this._optionsService.options.logger)??console.error,t,g)}};e.LogService=i=d([o(0,l.IOptionsService)],i),e.setTraceLogger=function(t){v=t},e.traceCall=function(t,g,C){if(typeof C.value!="function")throw new Error("not supported");const n=C.value;C.value=function(...f){if(v.logLevel!==l.LogLevelEnum.TRACE)return n.apply(this,f);v.trace(`GlyphRenderer#${n.name}(${f.map(s=>JSON.stringify(s)).join(", ")})`);const _=n.apply(this,f);return v.trace(`GlyphRenderer#${n.name} return`,_),_}}},726:(k,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createDecorator=e.getServiceDependencies=e.serviceRegistry=void 0;const h="di$target",d="di$dependencies";e.serviceRegistry=new Map,e.getServiceDependencies=function(o){return o[d]||[]},e.createDecorator=function(o){if(e.serviceRegistry.has(o))return e.serviceRegistry.get(o);const r=function(l,w,v){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");(function(i,t,g){t[h]===t?t[d].push({id:i,index:g}):(t[d]=[{id:i,index:g}],t[h]=t)})(r,l,v)};return r.toString=()=>o,e.serviceRegistry.set(o,r),r}},97:(k,e,h)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.IDecorationService=e.IUnicodeService=e.IOscLinkService=e.IOptionsService=e.ILogService=e.LogLevelEnum=e.IInstantiationService=e.ICharsetService=e.ICoreService=e.ICoreMouseService=e.IBufferService=void 0;const d=h(726);var o;e.IBufferService=(0,d.createDecorator)("BufferService"),e.ICoreMouseService=(0,d.createDecorator)("CoreMouseService"),e.ICoreService=(0,d.createDecorator)("CoreService"),e.ICharsetService=(0,d.createDecorator)("CharsetService"),e.IInstantiationService=(0,d.createDecorator)("InstantiationService"),function(r){r[r.TRACE=0]="TRACE",r[r.DEBUG=1]="DEBUG",r[r.INFO=2]="INFO",r[r.WARN=3]="WARN",r[r.ERROR=4]="ERROR",r[r.OFF=5]="OFF"}(o||(e.LogLevelEnum=o={})),e.ILogService=(0,d.createDecorator)("LogService"),e.IOptionsService=(0,d.createDecorator)("OptionsService"),e.IOscLinkService=(0,d.createDecorator)("OscLinkService"),e.IUnicodeService=(0,d.createDecorator)("UnicodeService"),e.IDecorationService=(0,d.createDecorator)("DecorationService")}},re={};function Z(k){var e=re[k];if(e!==void 0)return e.exports;var h=re[k]={exports:{}};return ge[k].call(h.exports,h,h.exports,Z),h.exports}var fe={};return(()=>{var k=fe;Object.defineProperty(k,"__esModule",{value:!0}),k.CanvasAddon=void 0;const e=Z(345),h=Z(859),d=Z(776),o=Z(949);class r extends h.Disposable{constructor(){super(...arguments),this._onChangeTextureAtlas=this.register(new e.EventEmitter),this.onChangeTextureAtlas=this._onChangeTextureAtlas.event,this._onAddTextureAtlasCanvas=this.register(new e.EventEmitter),this.onAddTextureAtlasCanvas=this._onAddTextureAtlasCanvas.event}get textureAtlas(){return this._renderer?.textureAtlas}activate(w){const v=w._core;if(!w.element)return void this.register(v.onWillOpen(()=>this.activate(w)));this._terminal=w;const i=v.coreService,t=v.optionsService,g=v.screenElement,C=v.linkifier,n=v,f=n._bufferService,_=n._renderService,s=n._characterJoinerService,c=n._charSizeService,u=n._coreBrowserService,a=n._decorationService,p=n._logService,m=n._themeService;(0,d.setTraceLogger)(p),this._renderer=new o.CanvasRenderer(w,g,C,f,c,t,s,i,u,a,m),this.register((0,e.forwardEvent)(this._renderer.onChangeTextureAtlas,this._onChangeTextureAtlas)),this.register((0,e.forwardEvent)(this._renderer.onAddTextureAtlasCanvas,this._onAddTextureAtlasCanvas)),_.setRenderer(this._renderer),_.handleResize(f.cols,f.rows),this.register((0,h.toDisposable)(()=>{_.setRenderer(this._terminal._core._createRenderer()),_.handleResize(w.cols,w.rows),this._renderer?.dispose(),this._renderer=void 0}))}clearTextureAtlas(){this._renderer?.clearTextureAtlas()}}k.CanvasAddon=r})(),fe})())}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_opensumi_cli_engine=self.webpackChunk_opensumi_cli_engine||[]).push([[412],{50412:(n,e,_)=>{_.r(e)}}]);
@@ -0,0 +1 @@
1
+ .hljs-comment,.hljs-quote{color:#696969}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#d91e18}.hljs-attribute,.hljs-built_in,.hljs-builtin-name,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#aa5d00}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:green}.hljs-section,.hljs-title{color:#007faa}.hljs-keyword,.hljs-selector-tag{color:#7928a1}.hljs{background:#fefefe;color:#545454;display:block;overflow-x:auto;padding:.5em}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}@media screen and (-ms-high-contrast:active){.hljs-addition,.hljs-attribute,.hljs-built_in,.hljs-builtin-name,.hljs-bullet,.hljs-comment,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-quote,.hljs-string,.hljs-symbol,.hljs-type{color:highlight}.hljs-keyword,.hljs-selector-tag{font-weight:700}}
@@ -0,0 +1,264 @@
1
+ "use strict";(self.webpackChunk_opensumi_cli_engine=self.webpackChunk_opensumi_cli_engine||[]).push([[454],{69508:(l,e,t)=>{t.d(e,{A:()=>p});var i=t(36758),a=t.n(i),d=t(40935),s=t.n(d),r=s()(a());r.push([l.id,`#opensumi-left-tabbar .kt-badge {
2
+ top: 0;
3
+ right: -8px;
4
+ font-size: 10px;
5
+ min-width: 16px;
6
+ padding: 0 2px;
7
+ height: 14px;
8
+ line-height: 14px;
9
+ letter-spacing: -0.5px;
10
+ }
11
+ #opensumi-statusbar {
12
+ border-top: 0;
13
+ }
14
+ #top {
15
+ margin-bottom: 1px;
16
+ }
17
+ #top #opensumi-menubar {
18
+ border-radius: 12px;
19
+ }
20
+ #statusbar {
21
+ padding-top: 1px;
22
+ }
23
+ #statusbar #opensumi-statusbar {
24
+ border-radius: 12px;
25
+ overflow: hidden;
26
+ }
27
+ .kt-menu::-webkit-scrollbar {
28
+ width: 4px;
29
+ margin: 20px;
30
+ }
31
+ .kt-menu::-webkit-scrollbar:hover {
32
+ width: 10px;
33
+ }
34
+ .kt-menu.kt-inner-menu-submenu {
35
+ background-color: transparent !important;
36
+ border-radius: 8px !important;
37
+ }
38
+ .kt-menu.kt-inner-menu-submenu ul.kt-inner-menu-sub {
39
+ backdrop-filter: saturate(150%) blur(20px) !important;
40
+ -webkit-backdrop-filter: saturate(150%) blur(20px) !important;
41
+ border: 0 none !important;
42
+ box-shadow: 0px 9px 28px 8px var(--design-boxShadow-primary), 0px 3px 6px -4px var(--design-boxShadow-secondary), 0px 6px 16px 0px var(--design-boxShadow-tertiary) !important;
43
+ border-radius: 8px !important;
44
+ margin-left: 2px;
45
+ }
46
+ .kt-menu.kt-inner-menu-submenu ul.kt-inner-menu-sub .kt-icon {
47
+ display: none;
48
+ }
49
+ .kt-menu.kt-inner-menu,
50
+ .kt-menu .kt-inner-menu {
51
+ backdrop-filter: saturate(150%) blur(20px) !important;
52
+ -webkit-backdrop-filter: saturate(150%) blur(20px) !important;
53
+ border: 0 none !important;
54
+ box-shadow: 0px 9px 28px 8px var(--design-boxShadow-primary), 0px 3px 6px -4px var(--design-boxShadow-secondary), 0px 6px 16px 0px var(--design-boxShadow-tertiary) !important;
55
+ border-radius: 8px !important;
56
+ min-width: initial;
57
+ padding: 4px 0 !important;
58
+ }
59
+ .kt-menu.kt-inner-menu .kt-inner-menu-submenu-title,
60
+ .kt-menu .kt-inner-menu .kt-inner-menu-submenu-title,
61
+ .kt-menu.kt-inner-menu .kt-inner-menu-item,
62
+ .kt-menu .kt-inner-menu .kt-inner-menu-item {
63
+ height: 28px !important;
64
+ padding: 0 !important;
65
+ line-height: 28px !important;
66
+ }
67
+ .kt-menu.kt-inner-menu li.kt-inner-menu-submenu,
68
+ .kt-menu .kt-inner-menu li.kt-inner-menu-submenu {
69
+ line-height: 28px;
70
+ padding-bottom: 0;
71
+ }
72
+ .kt-menu.kt-inner-menu .kt-inner-menu-item {
73
+ margin: 0 !important;
74
+ height: 28px !important;
75
+ display: flex !important;
76
+ align-items: center !important;
77
+ color: inherit !important;
78
+ transition: none !important;
79
+ }
80
+ .kt-menu.kt-inner-menu .kt-inner-menu-item-divider,
81
+ .kt-menu .kt-inner-menu .kt-inner-menu-item-divider {
82
+ pointer-events: none !important;
83
+ opacity: 1 !important;
84
+ margin: 4px 0 !important;
85
+ }
86
+ .kt-popover-content {
87
+ box-shadow: 0px 9px 28px 8px var(--design-boxShadow-primary), 0px 3px 6px -4px var(--design-boxShadow-secondary), 0px 6px 16px 0px var(--design-boxShadow-tertiary);
88
+ border-radius: 6px;
89
+ line-height: 18px;
90
+ padding: 4px 6px;
91
+ }
92
+ .kt-popover-content .kt-popover-title {
93
+ margin-bottom: 0;
94
+ font-size: 12px;
95
+ }
96
+ html ::-webkit-scrollbar-thumb {
97
+ border-radius: 4px !important;
98
+ }
99
+ #workbench-editor .monaco-editor .decorationsOverviewRuler {
100
+ width: 4px !important;
101
+ }
102
+ #workbench-editor .monaco-editor .find-widget {
103
+ border-radius: 6px;
104
+ }
105
+ #workbench-editor .monaco-editor .minimap {
106
+ left: auto !important;
107
+ right: 4px !important;
108
+ }
109
+ #workbench-editor .monaco-editor .monaco-hover,
110
+ #workbench-editor .monaco-editor .suggest-widget,
111
+ #workbench-editor .monaco-editor .suggest-details {
112
+ background-color: var(--kt-modal-background) !important;
113
+ border-color: transparent;
114
+ box-shadow: 0px 9px 28px 8px var(--design-boxShadow-primary), 0px 3px 6px -4px var(--design-boxShadow-secondary), 0px 6px 16px 0px var(--design-boxShadow-tertiary) !important;
115
+ border-radius: 8px !important;
116
+ }
117
+ #workbench-editor .monaco-editor .suggest-widget {
118
+ overflow: hidden;
119
+ }
120
+ #workbench-editor .monaco-editor .monaco-scrollable-element > .scrollbar > .slider {
121
+ background: var(--scrollbarSlider-background);
122
+ }
123
+ #workbench-editor .monaco-editor .monaco-scrollable-element .vertical {
124
+ width: 4px !important;
125
+ }
126
+ #workbench-editor .monaco-editor .monaco-scrollable-element .vertical:hover {
127
+ width: 10px !important;
128
+ }
129
+ #workbench-editor .monaco-editor .monaco-scrollable-element .vertical .slider {
130
+ width: 4px !important;
131
+ left: unset !important;
132
+ right: 0;
133
+ border-radius: 4px !important;
134
+ }
135
+ #workbench-editor .monaco-editor .monaco-scrollable-element .vertical .slider:hover {
136
+ width: 10px !important;
137
+ }
138
+ #workbench-editor .monaco-editor .monaco-scrollable-element .horizontal {
139
+ height: 4px !important;
140
+ }
141
+ #workbench-editor .monaco-editor .monaco-scrollable-element .horizontal:hover {
142
+ height: 10px !important;
143
+ }
144
+ #workbench-editor .monaco-editor .monaco-scrollable-element .horizontal .slider {
145
+ border-radius: 4px !important;
146
+ height: 4px !important;
147
+ }
148
+ #workbench-editor .monaco-editor .monaco-scrollable-element .horizontal .slider:hover {
149
+ height: 10px !important;
150
+ }
151
+ #workbench-editor .monaco-editor .action-widget {
152
+ backdrop-filter: saturate(150%) blur(20px);
153
+ -webkit-backdrop-filter: saturate(150%) blur(20px);
154
+ border: 0 none !important;
155
+ box-shadow: 0px 9px 28px 8px var(--design-boxShadow-primary), 0px 3px 6px -4px var(--design-boxShadow-secondary), 0px 6px 16px 0px var(--design-boxShadow-tertiary);
156
+ border-radius: 8px;
157
+ background-color: var(--menu-background);
158
+ padding: 4px 0;
159
+ }
160
+ .basic_tree .tree_node {
161
+ border-radius: 4px;
162
+ }
163
+ .xterm .xterm-viewport::-webkit-scrollbar {
164
+ width: 4px;
165
+ }
166
+ .xterm .xterm-viewport::-webkit-scrollbar:hover {
167
+ width: 10px;
168
+ }
169
+ .kt-modal-content {
170
+ border-radius: 8px;
171
+ background-color: transparent;
172
+ }
173
+ .kt-overlay .kt-modal-body {
174
+ border-radius: 8px;
175
+ border: 0 none !important;
176
+ box-shadow: 0px 9px 28px 8px var(--design-boxShadow-primary), 0px 3px 6px -4px var(--design-boxShadow-secondary), 0px 6px 16px 0px var(--design-boxShadow-tertiary) !important;
177
+ }
178
+ .kt-dialog-buttonWrap button {
179
+ border-radius: 4px;
180
+ }
181
+ .kt-notification-notice {
182
+ border-radius: 8px;
183
+ }
184
+ .input-box .validate-message.popup {
185
+ padding: 8px;
186
+ }
187
+ .input-box .validate-message.popup.validate-warning {
188
+ border-radius: 6px;
189
+ }
190
+ .kt-input {
191
+ border-radius: 6px;
192
+ }
193
+ .default-button-size,
194
+ .kt-button {
195
+ border-radius: 4px;
196
+ }
197
+ .large-button-size,
198
+ .kt-dialog-buttonWrap button {
199
+ border-radius: 6px;
200
+ }
201
+ .kt-select-container .kt-select-value {
202
+ border-radius: 4px;
203
+ }
204
+ .kt-select-options {
205
+ border-radius: 8px;
206
+ }
207
+ .kt-clickable-icon:hover {
208
+ transform: none;
209
+ }
210
+ #opensumi-quickpick {
211
+ border: 0 none !important;
212
+ box-shadow: 0px 9px 28px 8px var(--design-boxShadow-primary), 0px 3px 6px -4px var(--design-boxShadow-secondary), 0px 6px 16px 0px var(--design-boxShadow-tertiary) !important;
213
+ border-radius: 8px 8px 0 0 !important;
214
+ padding: 4px 0;
215
+ }
216
+ .design_left_slot {
217
+ display: flex;
218
+ }
219
+ .design_bottom_slot {
220
+ background-color: var(--design-container-background);
221
+ border-bottom-left-radius: 12px;
222
+ border-bottom-right-radius: 12px;
223
+ overflow: hidden;
224
+ }
225
+ .design_bottom_slot .kt-select-container .kt-select-value > span {
226
+ color: var(--design-text-foreground);
227
+ }
228
+ .design_bottom_slot .kt-select-container .kt-select-options {
229
+ padding: 4px 0;
230
+ border-radius: 8px;
231
+ box-shadow: 0px 9px 28px 8px var(--design-boxShadow-primary), 0px 3px 6px -4px var(--design-boxShadow-secondary), 0px 6px 16px 0px var(--design-boxShadow-tertiary);
232
+ }
233
+ .design_bottom_slot .kt-select-container .kt-select-options > div {
234
+ line-height: 26px;
235
+ height: 26px;
236
+ }
237
+ .design_bottom_slot .kt-select-container .kt-select-options span {
238
+ margin: 0;
239
+ width: 100%;
240
+ }
241
+ .design_bottom_slot .kt-select-container .kt-select-options::-webkit-scrollbar {
242
+ width: 4px !important;
243
+ }
244
+ .design_bottom_slot .kt-select-container .kt-select-options::-webkit-scrollbar:hover {
245
+ width: 10px;
246
+ }
247
+ .design-dark .monaco-editor,
248
+ .design-light .monaco-editor,
249
+ .design-dark .monaco-editor-background,
250
+ .design-light .monaco-editor-background,
251
+ .design-dark .monaco-editor .margin,
252
+ .design-light .monaco-editor .margin {
253
+ background-color: var(--design-monaco-background) !important;
254
+ }
255
+ /**
256
+ * layout \u9762\u677F
257
+ **/
258
+ .design-slot_resize_horizontal {
259
+ width: 2px;
260
+ height: 100%;
261
+ margin: 0 2px;
262
+ position: relative;
263
+ }
264
+ `,""]);const p=r},77454:(l,e,t)=>{t.r(e),t.d(e,{default:()=>h});var i=t(72591),a=t.n(i),d=t(1740),s=t.n(d),r=t(88128),p=t.n(r),m=t(30855),_=t.n(m),x=t(93051),u=t.n(x),b=t(73656),c=t.n(b),n=t(69508),o={};o.styleTagTransform=c(),o.setAttributes=_(),o.insert=p().bind(null,"head"),o.domAPI=s(),o.insertStyleElement=u();var g=a()(n.A,o);const h=n.A&&n.A.locals?n.A.locals:void 0}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_opensumi_cli_engine=self.webpackChunk_opensumi_cli_engine||[]).push([[622],{51622:(n,e,_)=>{_.r(e)}}]);
@@ -0,0 +1 @@
1
+ .hljs-comment,.hljs-quote{color:#d4d0ab}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ffa07a}.hljs-built_in,.hljs-builtin-name,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#f5ab35}.hljs-attribute{color:gold}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#abe338}.hljs-section,.hljs-title{color:#00e0e0}.hljs-keyword,.hljs-selector-tag{color:#dcc6e0}.hljs{background:#2b2b2b;color:#f8f8f2;display:block;overflow-x:auto;padding:.5em}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}@media screen and (-ms-high-contrast:active){.hljs-addition,.hljs-attribute,.hljs-built_in,.hljs-builtin-name,.hljs-bullet,.hljs-comment,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-quote,.hljs-string,.hljs-symbol,.hljs-type{color:highlight}.hljs-keyword,.hljs-selector-tag{font-weight:700}}
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_opensumi_cli_engine=self.webpackChunk_opensumi_cli_engine||[]).push([[628],{63628:(n,e,_)=>{_.r(e)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_opensumi_cli_engine=self.webpackChunk_opensumi_cli_engine||[]).push([[804],{61804:(m,o,e)=>{e.r(o),e.d(o,{initialize:()=>l});var n=e(12897),r=e(8133),t=e(43382);let s=!1;function l(a){if(s)return;s=!0;const _=new n.SimpleWorkerServer(i=>{globalThis.postMessage(i)},i=>new r.EditorSimpleWorker(t.EditorWorkerHost.getChannel(i),null));globalThis.onmessage=i=>{_.onmessage(i.data)}}globalThis.onmessage=a=>{s||l(null)}}}]);
@@ -0,0 +1,94 @@
1
+ {
2
+ "main": {
3
+ "css": "auto/main.css",
4
+ "js": "auto/browser.js"
5
+ },
6
+ "": {
7
+ "wasm": "auto/e865fd888cafb2a91b52.module.wasm",
8
+ "png": [
9
+ "auto/f86e6127667de32bbd4f.png",
10
+ "auto/fd3be59fe5f76327c48f.png"
11
+ ],
12
+ "js": [
13
+ "auto/238.browser.js",
14
+ "auto/151.browser.js",
15
+ "auto/359.browser.js",
16
+ "auto/loader.js",
17
+ "auto/454.browser.js",
18
+ "auto/804.browser.js",
19
+ "auto/412.browser.js",
20
+ "auto/622.browser.js",
21
+ "auto/628.browser.js"
22
+ ],
23
+ "ttf": "auto/fonts/codicon.ttf",
24
+ "svg": [
25
+ "auto/images/logo.svg",
26
+ "auto/images/namespace-dark.svg",
27
+ "auto/images/namespace-light.svg",
28
+ "auto/images/string-dark.svg",
29
+ "auto/images/string-light.svg",
30
+ "auto/images/loading-hc.svg",
31
+ "auto/images/loading-dark.svg",
32
+ "auto/images/loading.svg",
33
+ "auto/images/operator-dark.svg",
34
+ "auto/images/operator-light.svg",
35
+ "auto/images/property-dark.svg",
36
+ "auto/images/property-light.svg",
37
+ "auto/images/background-logo-icon.svg",
38
+ "auto/images/breakpoint-conditional-unverified.svg",
39
+ "auto/images/breakpoint-unsupported.svg",
40
+ "auto/images/breakpoint-unverified.svg",
41
+ "auto/images/breakpoint-conditional-disabled.svg",
42
+ "auto/images/current-and-breakpoint.svg",
43
+ "auto/images/breakpoint-conditional.svg",
44
+ "auto/images/stackframe-and-breakpoint.svg",
45
+ "auto/images/breakpoint-disabled.svg",
46
+ "auto/images/breakpoint-hint.svg",
47
+ "auto/images/breakpoint-log-unverified.svg",
48
+ "auto/images/breakpoint.svg",
49
+ "auto/images/class-dark.svg",
50
+ "auto/images/class-light.svg",
51
+ "auto/images/breakpoint-log-disabled.svg",
52
+ "auto/images/breakpoint-log.svg",
53
+ "auto/images/current-arrow.svg",
54
+ "auto/images/stackframe-arrow.svg",
55
+ "auto/images/template-dark.svg",
56
+ "auto/images/template-light.svg",
57
+ "auto/images/variable-dark.svg",
58
+ "auto/images/variable-light.svg",
59
+ "auto/images/boolean-dark.svg",
60
+ "auto/images/boolean-light.svg",
61
+ "auto/images/interface-dark.svg",
62
+ "auto/images/interface-light.svg",
63
+ "auto/images/field-dark.svg",
64
+ "auto/images/field-light.svg",
65
+ "auto/images/method-dark.svg",
66
+ "auto/images/method-light.svg",
67
+ "auto/images/snippet-dark.svg",
68
+ "auto/images/snippet-light.svg",
69
+ "auto/images/event-dark.svg",
70
+ "auto/images/event-light.svg",
71
+ "auto/images/structure-dark.svg",
72
+ "auto/images/structure-light.svg",
73
+ "auto/images/enumerator-dark.svg",
74
+ "auto/images/enumerator-light.svg",
75
+ "auto/images/enumerator-item-dark.svg",
76
+ "auto/images/enumerator-item-light.svg",
77
+ "auto/images/constant-dark.svg",
78
+ "auto/images/constant-light.svg",
79
+ "auto/images/file-dark.svg",
80
+ "auto/images/file-light.svg",
81
+ "auto/images/numeric-dark.svg",
82
+ "auto/images/numeric-light.svg",
83
+ "auto/images/indexer-dark.svg",
84
+ "auto/images/indexer-light.svg",
85
+ "auto/images/keyword-dark.svg",
86
+ "auto/images/keyword-light.svg"
87
+ ],
88
+ "html": "auto/index.html",
89
+ "css": [
90
+ "auto/622.main.css",
91
+ "auto/412.main.css"
92
+ ]
93
+ }
94
+ }