import{d as t}from"./chunk-AOZYVJHK.js";import{a as e}from"./chunk-DAOTUXG2.js";import{a as n}from"./chunk-HKSRVRBT.js";var s=n(),i=class extends t{constructor(o){super(o)}create(){this.setConfig("helpDialogue"),super.create(),this.openCommand=e.SHOW_HELP_DIALOGUE,this.closeCommand=e.HIDE_HELP_DIALOGUE,this.extensionHost.subscribe(this.openCommand,()=>{this.open()}),this.extensionHost.subscribe(this.closeCommand,()=>{this.close()}),this.$title=s('<div role="heading" class="heading"></div>'),this.$content.append(this.$title),this.$scroll=s('<div class="scroll"></div>'),this.$content.append(this.$scroll),this.$message=s("<p></p>"),this.$scroll.append(this.$message),this.$title.text(this.content.title),this.$message.html(this.content.text),this.$message.targetBlank(),this.$element.hide()}resize(){super.resize()}};export{i as a};
