"use strict";(self.webpackChunk_cocalc_static=self.webpackChunk_cocalc_static||[]).push([[3314],{18737:(e,t,a)=>{a.d(t,{l:()=>o,v:()=>s});var r=a(26131),n=a(89368),i=a(62799);function o(e){var t=(0,r.path_split)(e),a=(0,r.separate_file_extension)(t.tail);return{directory:t.head,base:a.name,filename:t.tail}}function s(e,t){var a=(0,r.encode_path)(t);return(0,n.join)(i.appBasePath,e,"raw",a)}},83080:(e,t,a)=>{a.r(t),a.d(t,{Editor:()=>d});var r=a(73317),n=a(26131),i=a(33026),o=a(37685),s=a(4930),c=a(43774),l=a(44990),_={cm:{short:"Code",name:"Source Code",icon:"code",component:o.CodemirrorEditor,buttons:(0,n.set)(["print","decrease_font_size","increase_font_size","save","time_travel","replace","find","goto_line","cut","paste","copy","undo","redo","reload"])},html:{short:"HTML",name:"Rendered HTML (pandoc)",icon:"html5",component:i.IFrameHTML,buttons:(0,n.set)(["print","decrease_font_size","increase_font_size","save","time_travel","reload"]),path:function(e){return(0,n.aux_file)(e,"html")},fullscreen_style:{"max-width":"900px",margin:"auto"}},terminal:c.terminal,settings:s.SETTINGS_SPEC,time_travel:l.time_travel},d=(0,r.createEditor)({format_bar:!0,editor_spec:_,display_name:"WikiEditor"})}}]);