(()=>{"use strict";var e={759:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.registerAudioPreviewSupport=void 0;const s=i(549),n=i(406),r=i(968);class o{constructor(e,t){this.a=e,this.b=t}async openCustomDocument(e){return{uri:e,dispose:()=>{}}}async resolveCustomEditor(e,t){new a(this.a,e.uri,t,this.b)}}o.viewType="vscode.audioPreview";class a extends n.MediaPreview{constructor(e,t,i,s){super(e,t,i,s),this.o=e,this.c(i.webview.onDidReceiveMessage((e=>{switch(e.type){case"reopen-as-text":(0,n.reopenAsText)(t,i.viewColumn)}}))),this.k(),this.l(),this.n()}async m(){const e=Date.now().toString(),t={src:await this.q(this.i,this.h,e)},i=(0,r.getNonce)(),n=this.i.webview.cspSource;return`\n\n\n\t\n\n\t\x3c!-- Disable pinch zooming --\x3e\n\t\n\n\tAudio Preview\n\n\t\n\n\t\n\t\n\n\n\t
\n\t
\n\t\t

${s.l10n.t("An error occurred while loading the audio file.")}

\n\t\t${s.l10n.t("Open file using VS Code's standard text/binary editor?")}\n\t
\n\t