const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/files-BvzqRH5l.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DCUwxYMh.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-Coav-X6q.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-DG30ZWXQ.chunk.mjs'),window.OC.filePath('text', '', 'js/public-CX3DIv4G.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-BrouV0Mr.chunk.mjs'),window.OC.filePath('text', '', 'js/index-CJ7wDv5l.chunk.mjs'),window.OC.filePath('text', '', 'css/public-BffjDTy3.chunk.css'),window.OC.filePath('text', '', 'js/index-DFzk44L7.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DtTpkYe5.chunk.mjs'),window.OC.filePath('text', '', 'js/index-jVSJWteM.chunk.mjs'),window.OC.filePath('text', '', 'js/token-DsHNcSTq.chunk.mjs'),window.OC.filePath('text', '', 'js/mime-L6mwwXGo.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BlLlZtv2.chunk.mjs'),window.OC.filePath('text', '', 'js/FilesSettings-CUrsDOeW.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DLE8eHQU.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-hk4lAjcj.chunk.css')])))=>i.map(i=>d[i]);
import{_ as a}from"./modulepreload-polyfill-DCUwxYMh.chunk.mjs";import{l as n}from"./index-CJ7wDv5l.chunk.mjs";import{l as d}from"./logger-YW53u4Eu.chunk.mjs";import"./emoji-picker-Coav-X6q.chunk.mjs";import"./index-DtTpkYe5.chunk.mjs";const p=n("text","workspace_available"),c=n("text","workspace_enabled");document.addEventListener("DOMContentLoaded",async()=>{var o;if(typeof OCA.Viewer>"u"){const{registerFileActionFallback:e}=await a(async()=>{const{registerFileActionFallback:r}=await import("./files-BvzqRH5l.chunk.mjs");return{registerFileActionFallback:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url);d.error("Viewer app is not installed"),e()}if(p&&OCA&&((o=OCA==null?void 0:OCA.Files)!=null&&o.Settings)){const{default:e}=await a(async()=>{const{default:t}=await import("./vue.runtime.esm-BrouV0Mr.chunk.mjs").then(i=>i.v);return{default:t}},[],import.meta.url),{default:r}=await a(async()=>{const{default:t}=await import("./FilesSettings-CUrsDOeW.chunk.mjs");return{default:t}},__vite__mapDeps([14,1,2,10,5,15,4,6,7,9,16]),import.meta.url),{default:l}=await a(async()=>{const{default:t}=await import("./index-BlLlZtv2.chunk.mjs").then(i=>i.i);return{default:t}},__vite__mapDeps([13,5,10,1,2]),import.meta.url);e.prototype.t=window.t,e.prototype.n=window.n,e.prototype.OCA=window.OCA;const s=new e({render:t=>t(r,{}),store:l}).$mount().$el;OCA.Files.Settings.register(new OCA.Files.Settings.Setting("text",{el:()=>s}))}}),OCA.Text={RichWorkspaceEnabled:c};
