Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-08-25 21:56:12 +0300
committerJulius Härtl <jus@bitgrid.net>2020-08-25 21:56:12 +0300
commita4e16757d4157ded9307ed83de9397be1f900b21 (patch)
treed74972dde6caeeae5d411e77abe7c1cd2037602d /js/editor.js
parent52a20e28ba01add51e9b28c8a7128dc2af340162 (diff)
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'js/editor.js')
-rw-r--r--js/editor.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/editor.js b/js/editor.js
index bc35998b3..3ed7174f4 100644
--- a/js/editor.js
+++ b/js/editor.js
@@ -63,7 +63,7 @@ var b={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},y={SAVE
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
- */var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(n,e);var t,r,o,i=M(n);function n(){return S(this,n),i.apply(this,arguments)}return t=n,(r=[{key:"keys",value:function(e){return e.schema,this.options}},{key:"name",get:function(){return"save"}}])&&O(t.prototype,r),o&&O(t,o),n}(x.e),R={data:function(){return{isMobile:this._isMobile()}},beforeMount:function(){window.addEventListener("resize",this._onResize)},beforeDestroy:function(){window.removeEventListener("resize",this._onResize)},methods:{_onResize:function(){this.isMobile=this._isMobile()},_isMobile:function(){return document.documentElement.clientWidth<768}}},T=o(186),D=o.n(T);
+ */var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(n,e);var t,r,o,i=M(n);function n(){return S(this,n),i.apply(this,arguments)}return t=n,(r=[{key:"keys",value:function(e){return e.schema,this.options}},{key:"name",get:function(){return"customkeymap"}},{key:"plugins",get:function(){return[new x.h({props:{handleKeyDown:function(e,t){var r=t.key||t.keyCode;if((t.ctrlKey||t.metaKey)&&!t.shiftKey&&("f"===r||70===r))return t.stopPropagation(),window.dispatchEvent(t),!0}}})]}}])&&O(t.prototype,r),o&&O(t,o),n}(x.e),R={data:function(){return{isMobile:this._isMobile()}},beforeMount:function(){window.addEventListener("resize",this._onResize)},beforeDestroy:function(){window.removeEventListener("resize",this._onResize)},methods:{_onResize:function(){this.isMobile=this._isMobile()},_isMobile:function(){return document.documentElement.clientWidth<768}}},T=o(186),D=o.n(T);
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -105,7 +105,7 @@ var b={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},y={SAVE
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
- */function N(e,t,r,o,i,n,s){try{var a=e[n](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(o,i)}var z={name:"EditorWrapper",components:{EditorContent:x.b,MenuBar:function(){return Promise.all([o.e(1),o.e(198),o.e(192)]).then(o.bind(null,668))},MenuBubble:function(){return Promise.all([o.e(1),o.e(198),o.e(192)]).then(o.bind(null,670))},ReadOnlyEditor:function(){return Promise.all([o.e(0),o.e(188),o.e(197),o.e(189)]).then(o.bind(null,671))},CollisionResolveDialog:function(){return Promise.all([o.e(0),o.e(188),o.e(197),o.e(189)]).then(o.bind(null,672))},GuestNameDialog:function(){return Promise.all([o.e(1),o.e(187),o.e(191)]).then(o.bind(null,673))},SessionList:function(){return Promise.all([o.e(1),o.e(187),o.e(190)]).then(o.bind(null,674))}},directives:{Tooltip:D.a},mixins:[R],props:{initialSession:{type:Object,default:null},relativePath:{type:String,default:null},fileId:{type:Number,default:null},active:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!0},shareToken:{type:String,default:null},mime:{type:String,default:null},autohide:{type:Boolean,default:!1},isDirectEditing:{type:Boolean,default:!1}},data:function(){return{tiptap:null,syncService:null,document:null,sessions:[],currentSession:null,filteredSessions:{},dirty:!1,initialLoading:!1,lastSavedString:"",syncError:null,hasConnectionIssue:!1,readOnly:!0,forceRecreate:!1,saveStatusPolling:null}},computed:{lastSavedStatus:function(){var e=this.dirtyStateIndicator?"*":"";return this.isMobile||(e+=this.lastSavedString),e},lastSavedStatusClass:function(){return this.syncError&&""!==this.lastSavedString?"error":""},dirtyStateIndicator:function(){return this.hasUnpushedChanges||this.hasUnsavedChanges},lastSavedStatusTooltip:function(){var e=t("text","Last saved {lastSaved}",{lastSaved:this.lastSavedString});return this.hasSyncCollission&&(e=t("text","The document has been changed outside of the editor. The changes cannot be applied.")),this.hasUnpushedChanges&&(e+=" - "+t("text","Unpushed changes")),this.hasUnsavedChanges&&(e+=" - "+t("text","Unsaved changes")),{content:e,placement:"bottom"}},hasSyncCollission:function(){return this.syncError&&this.syncError.type===y.SAVE_COLLISSION},hasUnpushedChanges:function(){return this.dirty},hasUnsavedChanges:function(){return this.document&&this.document.lastSavedVersion<this.document.currentVersion},backendUrl:function(){var e=this;return function(t){return Object(u.b)(t,!!e.shareToken)}},hasDocumentParameters:function(){return this.fileId||this.shareToken||this.initialSession},isPublic:function(){return this.isDirectEditing||document.getElementById("isPublic")&&"1"===document.getElementById("isPublic").value},isRichEditor:function(){return"text/markdown"===this.mime},fileExtension:function(){return this.relativePath?this.relativePath.split("/").pop().split(".").pop():"txt"}},watch:{lastSavedStatus:function(){this.$refs.menubar&&this.$refs.menubar.redrawMenuBar()}},mounted:function(){this.active&&this.hasDocumentParameters&&this.initSession(),this.$parent.$emit("update:loaded",!0)},created:function(){var e=this;this.saveStatusPolling=setInterval((function(){e.updateLastSavedStatus()}),2e3),document.addEventListener("keydown",this._keyUpHandler,!0)},beforeDestroy:function(){this.close()},methods:{close:function(){var e,t=this;return(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(document.removeEventListener("keydown",t._keyUpHandler,!0),clearInterval(t.saveStatusPolling),!t.currentSession||!t.syncService){e.next=12;break}return e.prev=3,e.next=6,t.syncService.close();case 6:t.currentSession=null,t.syncService=null,e.next=12;break;case 10:e.prev=10,e.t0=e.catch(3);case 12:return e.abrupt("return",!0);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})),function(){var t=this,r=arguments;return new Promise((function(o,i){var n=e.apply(t,r);function s(e){N(n,o,i,s,a,"next",e)}function a(e){N(n,o,i,s,a,"throw",e)}s(void 0)}))})()},updateLastSavedStatus:function(){this.document&&(this.lastSavedString=c()(1e3*this.document.lastSavedVersionTime).fromNow())},initSession:function(){var e=this;if(this.hasDocumentParameters){var t=localStorage.getItem("nick")?localStorage.getItem("nick"):Object(u.c)();this.syncService=new g({shareToken:this.shareToken,filePath:this.relativePath,guestName:t,forceRecreate:this.forceRecreate,serialize:function(t){if(e.isRichEditor){var r=Object(w.b)(e.tiptap.nodes,e.tiptap.marks).serialize(t);return console.debug("serialized document",{markdown:r}),r}var o=Object(w.e)(e.tiptap);return console.debug("serialized document",{file:o}),o}}).on("opened",(function(t){var r=t.document,o=t.session;e.currentSession=o,e.document=r,e.readOnly=r.readOnly,localStorage.setItem("nick",e.currentSession.guestName)})).on("change",(function(t){var r=t.document,o=t.sessions;""===e.document.baseVersionEtag||r.baseVersionEtag===e.document.baseVersionEtag?(e.updateSessions.bind(e)(o),e.document=r,e.syncError=null,e.tiptap.setOptions({editable:!e.readOnly})):e.resolveUseServerVersion()})).on("loaded",(function(t){var r=t.documentSource;e.hasConnectionIssue=!1,Object(w.c)(j[e.fileExtension]?j[e.fileExtension]:e.fileExtension).then((function(t){e.tiptap=Object(w.a)({content:e.isRichEditor?w.d.render(r):"<pre>"+s()(r)+"</pre>",onInit:function(t){var r=t.state;e.syncService.state=r,e.syncService.startSync()},onUpdate:function(t){var r=t.state;e.syncService.state=r},extensions:[new k.g({version:e.document.initialVersion,clientID:e.currentSession.id,debounce:200,onSendable:function(t){t.sendable;e.syncService&&e.syncService.sendSteps()}}),new I({"Ctrl-s":function(){return e.syncService.save(),!0}})],enableRichEditing:e.isRichEditor,languages:t}),e.tiptap.on("focus",(function(){e.$emit("focus")})),e.tiptap.on("blur",(function(){e.$emit("blur")})),e.syncService.state=e.tiptap.state}))})).on("sync",(function(t){var r=t.steps,o=t.document;e.hasConnectionIssue=!1;try{e.tiptap.extensions.options.collaboration.update({version:o.currentVersion,steps:r}),e.syncService.state=e.tiptap.state,e.updateLastSavedStatus()}catch(e){console.error("Failed to update steps in collaboration plugin",e)}e.document=o})).on("error",(function(t,r){e.tiptap.setOptions({editable:!1}),t!==y.SAVE_COLLISSION||e.syncError&&e.syncError.type===y.SAVE_COLLISSION||(e.initialLoading=!0,e.syncError={type:t,data:r}),t!==y.CONNECTION_FAILED||e.hasConnectionIssue||(e.hasConnectionIssue=!0,OC.Notification.showTemporary("Connection failed, reconnecting"),!1!==r.retry&&setTimeout(e.reconnect.bind(e),5e3)),t===y.SOURCE_NOT_FOUND&&(e.initialLoading=!1,e.$emit("close"),e.$emit("error"))})).on("stateChange",(function(t){t.initialLoading&&!e.initialLoading&&(e.initialLoading=!0,e.autofocus&&e.tiptap.focus("start"),e.$emit("ready"),e.$parent.$emit("ready",!0)),Object.prototype.hasOwnProperty.call(t,"dirty")&&(e.dirty=t.dirty)})),null===this.initialSession?this.syncService.open({fileId:this.fileId,filePath:this.relativePath}).catch((function(t){e.hasConnectionIssue=!0})):this.syncService.open({initialSession:this.initialSession}).catch((function(t){e.hasConnectionIssue=!0})),this.forceRecreate=!1}else this.$parent.$emit("error","No valid file provided")},resolveUseThisVersion:function(){this.syncService.forceSave(),this.tiptap.setOptions({editable:!this.readOnly})},resolveUseServerVersion:function(){this.forceRecreate=!0,this.reconnect()},reconnect:function(){var e=this;this.syncService?this.syncService.close().then((function(){e.syncService=null,e.tiptap.destroy(),e.initSession()})).catch((function(e){})):(this.syncService=null,this.tiptap.destroy(),this.initSession())},updateSessions:function(e){this.sessions=e.sort((function(e,t){return t.lastContact-e.lastContact}));var t=this.sessions.map((function(e){return e.userId})),r=this.sessions.map((function(e){return e.guestId})),o=Object.keys(this.filteredSessions).filter((function(e){return!t.includes(e)&&!r.includes(e)}));for(var n in o)i.default.delete(this.filteredSessions,o[n]);for(var s in this.sessions){var a=this.sessions[s],c=a.displayName?a.userId:a.id;this.filteredSessions[c]?this.filteredSessions[c].lastContact<a.lastContact&&i.default.set(this.filteredSessions[c],"lastContact",a.lastContact):i.default.set(this.filteredSessions,c,a),a.id===this.currentSession.id&&i.default.set(this.filteredSessions[c],"isCurrent",!0)}},_keyUpHandler:function(e){var t=e.key||e.keyCode;if((e.ctrlKey||e.metaKey)&&!e.shiftKey&&("f"===t||70===t))return e.stopPropagation(),!0}}},L=(o(627),o(629),o(18)),A=Object(L.a)(z,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"editor-container"}},[e.currentSession&&e.active?r("div",[e.hasSyncCollission?r("p",{staticClass:"msg icon-error"},[e._v("\n\t\t\t"+e._s(e.t("text","The document has been changed outside of the editor. The changes cannot be applied."))+"\n\t\t")]):e._e(),e._v(" "),e.hasConnectionIssue?r("p",{staticClass:"msg icon-info"},[e._v("\n\t\t\t"+e._s(e.t("text","File could not be loaded. Please check your internet connection."))+" "),r("a",{staticClass:"button primary",on:{click:e.reconnect}},[e._v(e._s(e.t("text","Retry")))])]):e._e()]):e._e(),e._v(" "),e.currentSession&&e.active?r("div",{class:{"has-conflicts":e.hasSyncCollission,"icon-loading":!e.initialLoading||e.hasConnectionIssue,richEditor:e.isRichEditor},attrs:{id:"editor-wrapper"}},[r("div",{attrs:{id:"editor"}},[e.syncError||e.readOnly?e._e():r("MenuBar",{ref:"menubar",attrs:{editor:e.tiptap,"file-path":e.relativePath,"is-rich-editor":e.isRichEditor,"is-public":e.isPublic,autohide:e.autohide}},[e.currentSession&&e.active?r("div",{attrs:{id:"editor-session-list"}},[r("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.lastSavedStatusTooltip,expression:"lastSavedStatusTooltip"}],staticClass:"save-status",class:e.lastSavedStatusClass},[e._v("\n\t\t\t\t\t\t"+e._s(e.lastSavedStatus)+"\n\t\t\t\t\t")]),e._v(" "),r("SessionList",{attrs:{sessions:e.filteredSessions}},[e.isPublic&&e.currentSession.guestName?r("GuestNameDialog",{attrs:{"sync-service":e.syncService}}):e._e()],1)],1):e._e(),e._v(" "),e._t("header")],2),e._v(" "),r("div",[!e.readOnly&&e.isRichEditor?r("MenuBubble",{attrs:{editor:e.tiptap,filePath:e.relativePath}}):e._e(),e._v(" "),r("EditorContent",{directives:[{name:"show",rawName:"v-show",value:e.initialLoading,expression:"initialLoading"}],staticClass:"editor__content",attrs:{editor:e.tiptap}})],1)],1),e._v(" "),e.hasSyncCollission?r("ReadOnlyEditor",{attrs:{content:e.syncError.data.outsideChange,"is-rich-editor":e.isRichEditor}}):e._e()],1):e._e(),e._v(" "),e.hasSyncCollission&&!e.readOnly?r("CollisionResolveDialog",{on:{resolveUseThisVersion:e.resolveUseThisVersion,resolveUseServerVersion:e.resolveUseServerVersion}}):e._e()],1)}),[],!1,null,"6e21a4b1",null);r.default=A.exports},177:function(e,t,r){"use strict";r.r(t);var o=r(45),i=r(176);function n(e,t,r,o,i,n,s){try{var a=e[n](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(o,i)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var s=e.apply(t,r);function a(e){n(s,o,i,a,c,"next",e)}function c(e){n(s,o,i,a,c,"throw",e)}a(void 0)}))}}var a=o.default.observable({messages:[],mtime:0}),c=function(e,t){console.debug("callMobileMessage "+e,t);var r=e;void 0!==t&&(r={MessageName:e,Values:t});var o=null;try{o=JSON.stringify(t)}catch(e){o=null}window.DirectEditingMobileInterface&&"function"==typeof window.DirectEditingMobileInterface[e]&&(null==o?window.DirectEditingMobileInterface[e]():window.DirectEditingMobileInterface[e](o)),window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.DirectEditingMobileInterface&&window.webkit.messageHandlers.DirectEditingMobileInterface.postMessage(r),window.postMessage(r)};window.addEventListener("message",(function(e){a.messages.push(e.data),console.debug("postMessage",e)}));var l={name:"DirectEditing",components:{EditorWrapper:i.default},data:function(){return{initial:OCP.InitialState.loadState("text","file"),messages:a.messages,log:a,saving:!1}},computed:{initialSession:function(){return JSON.parse(this.initial.session)||null}},beforeMount:function(){c("loading")},mounted:function(){document.querySelector('meta[name="viewport"]').setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0")},methods:{close:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.saving=!0,setTimeout(s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.editor.close();case 2:c("close");case 3:case"end":return t.stop()}}),t)}))),0);case 2:case"end":return t.stop()}}),t)})))()},share:function(){c("share")},loaded:function(){c("loaded")}}},d=(r(631),r(18)),u=Object(d.a)(l,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:{"icon-loading":e.saving},attrs:{id:"direct-editor"}},[r("EditorWrapper",{ref:"editor",attrs:{"initial-session":e.initialSession,active:!0,mime:e.initial.mimetype,"is-direct-editing":!0},on:{ready:e.loaded},scopedSlots:e._u([{key:"header",fn:function(){return[r("button",{staticClass:"icon-share",on:{click:e.share}}),e._v(" "),r("button",{staticClass:"icon-close",on:{click:e.close}})]},proxy:!0}])})],1)}),[],!1,null,"3ea77884",null);t.default=u.exports},199:function(e,t,r){var o=r(565);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("5e6bee16",o,!0,{})},203:function(e,t,r){var o=r(628);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("07474748",o,!0,{})},204:function(e,t,r){var o=r(630);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("5039213c",o,!0,{})},205:function(e,t,r){var o=r(632);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("992233ba",o,!0,{})},217:function(e,t,r){var o=r(647);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("5ba6a5c3",o,!0,{})},218:function(e,t,r){var o=r(649);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("ed017fbc",o,!0,{})},219:function(e,t,r){var o=r(651);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("a3c96434",o,!0,{})},554:function(e,t,r){"use strict";r.d(t,"d",(function(){return Ce})),r.d(t,"a",(function(){return Ee})),r.d(t,"b",(function(){return Re})),r.d(t,"e",(function(){return Te})),r.d(t,"c",(function(){return Me}));var o=r(183),i=r(188),n=r(191),s=r(11);function a(e,t){return function(e){if(Array.isArray(e))return e}
+ */function N(e,t,r,o,i,n,s){try{var a=e[n](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(o,i)}var z={name:"EditorWrapper",components:{EditorContent:x.b,MenuBar:function(){return Promise.all([o.e(1),o.e(198),o.e(192)]).then(o.bind(null,668))},MenuBubble:function(){return Promise.all([o.e(1),o.e(198),o.e(192)]).then(o.bind(null,670))},ReadOnlyEditor:function(){return Promise.all([o.e(0),o.e(188),o.e(197),o.e(189)]).then(o.bind(null,671))},CollisionResolveDialog:function(){return Promise.all([o.e(0),o.e(188),o.e(197),o.e(189)]).then(o.bind(null,672))},GuestNameDialog:function(){return Promise.all([o.e(1),o.e(187),o.e(191)]).then(o.bind(null,673))},SessionList:function(){return Promise.all([o.e(1),o.e(187),o.e(190)]).then(o.bind(null,674))}},directives:{Tooltip:D.a},mixins:[R],props:{initialSession:{type:Object,default:null},relativePath:{type:String,default:null},fileId:{type:Number,default:null},active:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!0},shareToken:{type:String,default:null},mime:{type:String,default:null},autohide:{type:Boolean,default:!1},isDirectEditing:{type:Boolean,default:!1}},data:function(){return{tiptap:null,syncService:null,document:null,sessions:[],currentSession:null,filteredSessions:{},dirty:!1,initialLoading:!1,lastSavedString:"",syncError:null,hasConnectionIssue:!1,readOnly:!0,forceRecreate:!1,saveStatusPolling:null}},computed:{lastSavedStatus:function(){var e=this.dirtyStateIndicator?"*":"";return this.isMobile||(e+=this.lastSavedString),e},lastSavedStatusClass:function(){return this.syncError&&""!==this.lastSavedString?"error":""},dirtyStateIndicator:function(){return this.hasUnpushedChanges||this.hasUnsavedChanges},lastSavedStatusTooltip:function(){var e=t("text","Last saved {lastSaved}",{lastSaved:this.lastSavedString});return this.hasSyncCollission&&(e=t("text","The document has been changed outside of the editor. The changes cannot be applied.")),this.hasUnpushedChanges&&(e+=" - "+t("text","Unpushed changes")),this.hasUnsavedChanges&&(e+=" - "+t("text","Unsaved changes")),{content:e,placement:"bottom"}},hasSyncCollission:function(){return this.syncError&&this.syncError.type===y.SAVE_COLLISSION},hasUnpushedChanges:function(){return this.dirty},hasUnsavedChanges:function(){return this.document&&this.document.lastSavedVersion<this.document.currentVersion},backendUrl:function(){var e=this;return function(t){return Object(u.b)(t,!!e.shareToken)}},hasDocumentParameters:function(){return this.fileId||this.shareToken||this.initialSession},isPublic:function(){return this.isDirectEditing||document.getElementById("isPublic")&&"1"===document.getElementById("isPublic").value},isRichEditor:function(){return"text/markdown"===this.mime},fileExtension:function(){return this.relativePath?this.relativePath.split("/").pop().split(".").pop():"txt"}},watch:{lastSavedStatus:function(){this.$refs.menubar&&this.$refs.menubar.redrawMenuBar()}},mounted:function(){this.active&&this.hasDocumentParameters&&this.initSession(),this.$parent.$emit("update:loaded",!0)},created:function(){var e=this;this.saveStatusPolling=setInterval((function(){e.updateLastSavedStatus()}),2e3)},beforeDestroy:function(){this.close()},methods:{close:function(){var e,t=this;return(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(clearInterval(t.saveStatusPolling),!t.currentSession||!t.syncService){e.next=11;break}return e.prev=2,e.next=5,t.syncService.close();case 5:t.currentSession=null,t.syncService=null,e.next=11;break;case 9:e.prev=9,e.t0=e.catch(2);case 11:return e.abrupt("return",!0);case 12:case"end":return e.stop()}}),e,null,[[2,9]])})),function(){var t=this,r=arguments;return new Promise((function(o,i){var n=e.apply(t,r);function s(e){N(n,o,i,s,a,"next",e)}function a(e){N(n,o,i,s,a,"throw",e)}s(void 0)}))})()},updateLastSavedStatus:function(){this.document&&(this.lastSavedString=c()(1e3*this.document.lastSavedVersionTime).fromNow())},initSession:function(){var e=this;if(this.hasDocumentParameters){var t=localStorage.getItem("nick")?localStorage.getItem("nick"):Object(u.c)();this.syncService=new g({shareToken:this.shareToken,filePath:this.relativePath,guestName:t,forceRecreate:this.forceRecreate,serialize:function(t){if(e.isRichEditor){var r=Object(w.b)(e.tiptap.nodes,e.tiptap.marks).serialize(t);return console.debug("serialized document",{markdown:r}),r}var o=Object(w.e)(e.tiptap);return console.debug("serialized document",{file:o}),o}}).on("opened",(function(t){var r=t.document,o=t.session;e.currentSession=o,e.document=r,e.readOnly=r.readOnly,localStorage.setItem("nick",e.currentSession.guestName)})).on("change",(function(t){var r=t.document,o=t.sessions;""===e.document.baseVersionEtag||r.baseVersionEtag===e.document.baseVersionEtag?(e.updateSessions.bind(e)(o),e.document=r,e.syncError=null,e.tiptap.setOptions({editable:!e.readOnly})):e.resolveUseServerVersion()})).on("loaded",(function(t){var r=t.documentSource;e.hasConnectionIssue=!1,Object(w.c)(j[e.fileExtension]?j[e.fileExtension]:e.fileExtension).then((function(t){e.tiptap=Object(w.a)({content:e.isRichEditor?w.d.render(r):"<pre>"+s()(r)+"</pre>",onInit:function(t){var r=t.state;e.syncService.state=r,e.syncService.startSync()},onUpdate:function(t){var r=t.state;e.syncService.state=r},extensions:[new k.g({version:e.document.initialVersion,clientID:e.currentSession.id,debounce:200,onSendable:function(t){t.sendable;e.syncService&&e.syncService.sendSteps()}}),new I({"Mod-s":function(){return e.syncService.save(),!0}})],enableRichEditing:e.isRichEditor,languages:t}),e.tiptap.on("focus",(function(){e.$emit("focus")})),e.tiptap.on("blur",(function(){e.$emit("blur")})),e.syncService.state=e.tiptap.state}))})).on("sync",(function(t){var r=t.steps,o=t.document;e.hasConnectionIssue=!1;try{e.tiptap.extensions.options.collaboration.update({version:o.currentVersion,steps:r}),e.syncService.state=e.tiptap.state,e.updateLastSavedStatus()}catch(e){console.error("Failed to update steps in collaboration plugin",e)}e.document=o})).on("error",(function(t,r){e.tiptap.setOptions({editable:!1}),t!==y.SAVE_COLLISSION||e.syncError&&e.syncError.type===y.SAVE_COLLISSION||(e.initialLoading=!0,e.syncError={type:t,data:r}),t!==y.CONNECTION_FAILED||e.hasConnectionIssue||(e.hasConnectionIssue=!0,OC.Notification.showTemporary("Connection failed, reconnecting"),!1!==r.retry&&setTimeout(e.reconnect.bind(e),5e3)),t===y.SOURCE_NOT_FOUND&&(e.initialLoading=!1,e.$emit("close"),e.$emit("error"))})).on("stateChange",(function(t){t.initialLoading&&!e.initialLoading&&(e.initialLoading=!0,e.autofocus&&e.tiptap.focus("start"),e.$emit("ready"),e.$parent.$emit("ready",!0)),Object.prototype.hasOwnProperty.call(t,"dirty")&&(e.dirty=t.dirty)})),null===this.initialSession?this.syncService.open({fileId:this.fileId,filePath:this.relativePath}).catch((function(t){e.hasConnectionIssue=!0})):this.syncService.open({initialSession:this.initialSession}).catch((function(t){e.hasConnectionIssue=!0})),this.forceRecreate=!1}else this.$parent.$emit("error","No valid file provided")},resolveUseThisVersion:function(){this.syncService.forceSave(),this.tiptap.setOptions({editable:!this.readOnly})},resolveUseServerVersion:function(){this.forceRecreate=!0,this.reconnect()},reconnect:function(){var e=this;this.syncService?this.syncService.close().then((function(){e.syncService=null,e.tiptap.destroy(),e.initSession()})).catch((function(e){})):(this.syncService=null,this.tiptap.destroy(),this.initSession())},updateSessions:function(e){this.sessions=e.sort((function(e,t){return t.lastContact-e.lastContact}));var t=this.sessions.map((function(e){return e.userId})),r=this.sessions.map((function(e){return e.guestId})),o=Object.keys(this.filteredSessions).filter((function(e){return!t.includes(e)&&!r.includes(e)}));for(var n in o)i.default.delete(this.filteredSessions,o[n]);for(var s in this.sessions){var a=this.sessions[s],c=a.displayName?a.userId:a.id;this.filteredSessions[c]?this.filteredSessions[c].lastContact<a.lastContact&&i.default.set(this.filteredSessions[c],"lastContact",a.lastContact):i.default.set(this.filteredSessions,c,a),a.id===this.currentSession.id&&i.default.set(this.filteredSessions[c],"isCurrent",!0)}}}},L=(o(627),o(629),o(18)),A=Object(L.a)(z,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"editor-container"}},[e.currentSession&&e.active?r("div",[e.hasSyncCollission?r("p",{staticClass:"msg icon-error"},[e._v("\n\t\t\t"+e._s(e.t("text","The document has been changed outside of the editor. The changes cannot be applied."))+"\n\t\t")]):e._e(),e._v(" "),e.hasConnectionIssue?r("p",{staticClass:"msg icon-info"},[e._v("\n\t\t\t"+e._s(e.t("text","File could not be loaded. Please check your internet connection."))+" "),r("a",{staticClass:"button primary",on:{click:e.reconnect}},[e._v(e._s(e.t("text","Retry")))])]):e._e()]):e._e(),e._v(" "),e.currentSession&&e.active?r("div",{class:{"has-conflicts":e.hasSyncCollission,"icon-loading":!e.initialLoading||e.hasConnectionIssue,richEditor:e.isRichEditor},attrs:{id:"editor-wrapper"}},[r("div",{attrs:{id:"editor"}},[e.syncError||e.readOnly?e._e():r("MenuBar",{ref:"menubar",attrs:{editor:e.tiptap,"file-path":e.relativePath,"is-rich-editor":e.isRichEditor,"is-public":e.isPublic,autohide:e.autohide}},[e.currentSession&&e.active?r("div",{attrs:{id:"editor-session-list"}},[r("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.lastSavedStatusTooltip,expression:"lastSavedStatusTooltip"}],staticClass:"save-status",class:e.lastSavedStatusClass},[e._v("\n\t\t\t\t\t\t"+e._s(e.lastSavedStatus)+"\n\t\t\t\t\t")]),e._v(" "),r("SessionList",{attrs:{sessions:e.filteredSessions}},[e.isPublic&&e.currentSession.guestName?r("GuestNameDialog",{attrs:{"sync-service":e.syncService}}):e._e()],1)],1):e._e(),e._v(" "),e._t("header")],2),e._v(" "),r("div",[!e.readOnly&&e.isRichEditor?r("MenuBubble",{attrs:{editor:e.tiptap,filePath:e.relativePath}}):e._e(),e._v(" "),r("EditorContent",{directives:[{name:"show",rawName:"v-show",value:e.initialLoading,expression:"initialLoading"}],staticClass:"editor__content",attrs:{editor:e.tiptap}})],1)],1),e._v(" "),e.hasSyncCollission?r("ReadOnlyEditor",{attrs:{content:e.syncError.data.outsideChange,"is-rich-editor":e.isRichEditor}}):e._e()],1):e._e(),e._v(" "),e.hasSyncCollission&&!e.readOnly?r("CollisionResolveDialog",{on:{resolveUseThisVersion:e.resolveUseThisVersion,resolveUseServerVersion:e.resolveUseServerVersion}}):e._e()],1)}),[],!1,null,"efb56066",null);r.default=A.exports},177:function(e,t,r){"use strict";r.r(t);var o=r(45),i=r(176);function n(e,t,r,o,i,n,s){try{var a=e[n](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(o,i)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var s=e.apply(t,r);function a(e){n(s,o,i,a,c,"next",e)}function c(e){n(s,o,i,a,c,"throw",e)}a(void 0)}))}}var a=o.default.observable({messages:[],mtime:0}),c=function(e,t){console.debug("callMobileMessage "+e,t);var r=e;void 0!==t&&(r={MessageName:e,Values:t});var o=null;try{o=JSON.stringify(t)}catch(e){o=null}window.DirectEditingMobileInterface&&"function"==typeof window.DirectEditingMobileInterface[e]&&(null==o?window.DirectEditingMobileInterface[e]():window.DirectEditingMobileInterface[e](o)),window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.DirectEditingMobileInterface&&window.webkit.messageHandlers.DirectEditingMobileInterface.postMessage(r),window.postMessage(r)};window.addEventListener("message",(function(e){a.messages.push(e.data),console.debug("postMessage",e)}));var l={name:"DirectEditing",components:{EditorWrapper:i.default},data:function(){return{initial:OCP.InitialState.loadState("text","file"),messages:a.messages,log:a,saving:!1}},computed:{initialSession:function(){return JSON.parse(this.initial.session)||null}},beforeMount:function(){c("loading")},mounted:function(){document.querySelector('meta[name="viewport"]').setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0")},methods:{close:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.saving=!0,setTimeout(s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.editor.close();case 2:c("close");case 3:case"end":return t.stop()}}),t)}))),0);case 2:case"end":return t.stop()}}),t)})))()},share:function(){c("share")},loaded:function(){c("loaded")}}},d=(r(631),r(18)),u=Object(d.a)(l,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:{"icon-loading":e.saving},attrs:{id:"direct-editor"}},[r("EditorWrapper",{ref:"editor",attrs:{"initial-session":e.initialSession,active:!0,mime:e.initial.mimetype,"is-direct-editing":!0},on:{ready:e.loaded},scopedSlots:e._u([{key:"header",fn:function(){return[r("button",{staticClass:"icon-share",on:{click:e.share}}),e._v(" "),r("button",{staticClass:"icon-close",on:{click:e.close}})]},proxy:!0}])})],1)}),[],!1,null,"3ea77884",null);t.default=u.exports},199:function(e,t,r){var o=r(565);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("5e6bee16",o,!0,{})},203:function(e,t,r){var o=r(628);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("1eac179a",o,!0,{})},204:function(e,t,r){var o=r(630);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("5039213c",o,!0,{})},205:function(e,t,r){var o=r(632);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("992233ba",o,!0,{})},217:function(e,t,r){var o=r(647);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("5ba6a5c3",o,!0,{})},218:function(e,t,r){var o=r(649);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("ed017fbc",o,!0,{})},219:function(e,t,r){var o=r(651);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,r(50).default)("a3c96434",o,!0,{})},554:function(e,t,r){"use strict";r.d(t,"d",(function(){return Ce})),r.d(t,"a",(function(){return Ee})),r.d(t,"b",(function(){return Re})),r.d(t,"e",(function(){return Te})),r.d(t,"c",(function(){return Me}));var o=r(183),i=r(188),n=r(191),s=r(11);function a(e,t){return function(e){if(Array.isArray(e))return e}
/*
* @copyright Copyright (c) 2020 Azul <azul@riseup.net>
*
@@ -168,7 +168,7 @@ var b={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},y={SAVE
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
- */var H=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q(e,t)}(n,e);var t,r,o,i=$(n);function n(){return U(this,n),i.apply(this,arguments)}return t=n,(r=[{key:"view",get:function(){return D}},{key:"schema",get:function(){return L(L({},B(G(n.prototype),"schema",this)),{},{selectable:!1})}}])&&V(t.prototype,r),o&&V(t,o),n}(i.l),W=r(196);function J(e){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=ee(e);if(t){var i=ee(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return X(this,r)}}function X(e,t){return!t||"object"!==J(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
+ */var W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q(e,t)}(n,e);var t,r,o,i=$(n);function n(){return U(this,n),i.apply(this,arguments)}return t=n,(r=[{key:"view",get:function(){return D}},{key:"schema",get:function(){return L(L({},B(G(n.prototype),"schema",this)),{},{selectable:!1})}}])&&V(t.prototype,r),o&&V(t,o),n}(i.l),H=r(196);function J(e){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=ee(e);if(t){var i=ee(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return X(this,r)}}function X(e,t){return!t||"object"!==J(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -189,7 +189,7 @@ var b={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},y={SAVE
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
- */var te=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y(e,t)}(n,e);var t,r,o,i=Z(n);function n(){return K(this,n),i.apply(this,arguments)}return t=n,(r=[{key:"keys",value:function(){var e=this;return{Tab:function(t){return Object(W.c)("\t")(t,e.editor.view.dispatch,e.editor.view),!0}}}},{key:"name",get:function(){return"doc"}},{key:"schema",get:function(){return{content:"block"}}}])&&Q(t.prototype,r),o&&Q(t,o),n}(o.g),re=r(192);function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function se(e,t){return(se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=le(e);if(t){var i=le(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return ce(this,r)}}function ce(e,t){return!t||"object"!==oe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
+ */var te=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y(e,t)}(n,e);var t,r,o,i=Z(n);function n(){return K(this,n),i.apply(this,arguments)}return t=n,(r=[{key:"keys",value:function(){var e=this;return{Tab:function(t){return Object(H.c)("\t")(t,e.editor.view.dispatch,e.editor.view),!0}}}},{key:"name",get:function(){return"doc"}},{key:"schema",get:function(){return{content:"block"}}}])&&Q(t.prototype,r),o&&Q(t,o),n}(o.g),re=r(192);function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function se(e,t){return(se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=le(e);if(t){var i=le(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return ce(this,r)}}function ce(e,t){return!t||"object"!==oe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -210,7 +210,7 @@ var b={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},y={SAVE
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
- */var de=0,ue=1,pe=function(e,t){return Object(re.findParentNode)((function(t){return t.type===e.nodes.list_item}))(t)},he=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&se(e,t)}(s,e);var t,r,i,n=ae(s);function s(){return ie(this,s),n.apply(this,arguments)}return t=s,(r=[{key:"commands",value:function(e){var t=e.type,r=e.schema;return{bullet_list_item:function(){return function(e,o,i){return Object(W.q)(r.nodes.bullet_list,t)(e,o,i)}},todo_item:function(){return function(e,r,o){var i=e.schema,n=e.selection,s=n.$from,a=n.$to,c=s.blockRange(a),l=e.tr,d=pe(i,n);if(void 0===d&&(Object(W.q)(i.nodes.bullet_list,t)(e,(function(e){l=e}),o),d=pe(i,l.selection)),!c||void 0===d)return!1;l.setNodeMarkup(d.pos,i.nodes.list_item,{type:d.node.attrs.type===ue?de:ue}),l.scrollIntoView(),r&&r(l)}}}}},{key:"defaultOptions",get:function(){return{nested:!0}}},{key:"schema",get:function(){return{attrs:{done:{default:!1},type:{default:de}},draggable:!1,content:"paragraph block*",toDOM:function(e){if(e.attrs.type===de)return["li",0];var t={class:"checkbox-item"},r={type:"checkbox",class:"",contenteditable:!1};return e.attrs.done&&(r.checked=!0,t.class+=" checked"),["li",t,["input",r],["label",0]]},parseDOM:[{priority:100,tag:"li",getAttrs:function(e){var t=e.querySelector("input[type=checkbox]");return{done:t&&t.checked,type:t?ue:de}}}],toMarkdown:function(e,t){t.attrs.type===ue&&e.write("[".concat(t.attrs.done?"x":" ","] ")),e.renderContent(t)}}}},{key:"plugins",get:function(){return[new o.h({props:{handleClick:function(e,t,r){var o=e.state,i=o.schema,n=e.posAtCoords({left:r.clientX,top:r.clientY}),s=o.doc.resolve(n.pos),a=Object(re.findParentNodeClosestToPos)(s,(function(e){return e.type===i.nodes.list_item})),c="li"===r.target.tagName.toLowerCase();if(void 0!==a&&a.node.attrs.type===ue&&c){var l=o.tr;l.setNodeMarkup(a.pos,i.nodes.list_item,{done:!a.node.attrs.done,type:ue}),e.dispatch(l)}}}})]}}])&&ne(t.prototype,r),i&&ne(t,i),s}(i.o),fe=r(354),me=r.n(fe),ve=r(620),be=r.n(ve),ye=r(189),ge=(r(621),r(623));function je(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],o=!0,i=!1,n=void 0;try{for(var s,a=e[Symbol.iterator]();!(o=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);o=!0);}catch(e){i=!0,n=e}finally{try{o||null==a.return||a.return()}finally{if(i)throw n}}return r}(e,t)||xe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(e){return function(e){if(Array.isArray(e))return ke(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||xe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xe(e,t){if(e){if("string"==typeof e)return ke(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ke(e,t):void 0}}function ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function Pe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(r),!0).forEach((function(t){Oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t,r,o,i,n,s){try{var a=e[n](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(o,i)}
+ */var de=0,ue=1,pe=function(e,t){return Object(re.findParentNode)((function(t){return t.type===e.nodes.list_item}))(t)},he=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&se(e,t)}(s,e);var t,r,i,n=ae(s);function s(){return ie(this,s),n.apply(this,arguments)}return t=s,(r=[{key:"commands",value:function(e){var t=e.type,r=e.schema;return{bullet_list_item:function(){return function(e,o,i){return Object(H.q)(r.nodes.bullet_list,t)(e,o,i)}},todo_item:function(){return function(e,r,o){var i=e.schema,n=e.selection,s=n.$from,a=n.$to,c=s.blockRange(a),l=e.tr,d=pe(i,n);if(void 0===d&&(Object(H.q)(i.nodes.bullet_list,t)(e,(function(e){l=e}),o),d=pe(i,l.selection)),!c||void 0===d)return!1;l.setNodeMarkup(d.pos,i.nodes.list_item,{type:d.node.attrs.type===ue?de:ue}),l.scrollIntoView(),r&&r(l)}}}}},{key:"defaultOptions",get:function(){return{nested:!0}}},{key:"schema",get:function(){return{attrs:{done:{default:!1},type:{default:de}},draggable:!1,content:"paragraph block*",toDOM:function(e){if(e.attrs.type===de)return["li",0];var t={class:"checkbox-item"},r={type:"checkbox",class:"",contenteditable:!1};return e.attrs.done&&(r.checked=!0,t.class+=" checked"),["li",t,["input",r],["label",0]]},parseDOM:[{priority:100,tag:"li",getAttrs:function(e){var t=e.querySelector("input[type=checkbox]");return{done:t&&t.checked,type:t?ue:de}}}],toMarkdown:function(e,t){t.attrs.type===ue&&e.write("[".concat(t.attrs.done?"x":" ","] ")),e.renderContent(t)}}}},{key:"plugins",get:function(){return[new o.h({props:{handleClick:function(e,t,r){var o=e.state,i=o.schema,n=e.posAtCoords({left:r.clientX,top:r.clientY}),s=o.doc.resolve(n.pos),a=Object(re.findParentNodeClosestToPos)(s,(function(e){return e.type===i.nodes.list_item})),c="li"===r.target.tagName.toLowerCase();if(void 0!==a&&a.node.attrs.type===ue&&c){var l=o.tr;l.setNodeMarkup(a.pos,i.nodes.list_item,{done:!a.node.attrs.done,type:ue}),e.dispatch(l)}}}})]}}])&&ne(t.prototype,r),i&&ne(t,i),s}(i.o),fe=r(354),me=r.n(fe),ve=r(620),be=r.n(ve),ye=r(189),ge=(r(621),r(623));function je(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],o=!0,i=!1,n=void 0;try{for(var s,a=e[Symbol.iterator]();!(o=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);o=!0);}catch(e){i=!0,n=e}finally{try{o||null==a.return||a.return()}finally{if(i)throw n}}return r}(e,t)||xe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(e){return function(e){if(Array.isArray(e))return ke(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||xe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xe(e,t){if(e){if("string"==typeof e)return ke(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ke(e,t):void 0}}function ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function Pe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(r),!0).forEach((function(t){Oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t,r,o,i,n,s){try{var a=e[n](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(o,i)}
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -232,5 +232,5 @@ var b={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},y={SAVE
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-var Me=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var o,i,n,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=[t],i={},n=0;case 3:if(!(n<o.length)){e.next=17;break}return e.prev=4,e.next=7,r(624)("./"+o[n]);case 7:s=e.sent,i[o[n]]=s.default,e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",void 0);case 14:n++,e.next=3;break;case 17:if(0!==Object.keys(i).length||i.constructor!==Object){e.next=19;break}return e.abrupt("return",void 0);case 19:return e.abrupt("return",{languages:i});case 20:case"end":return e.stop()}}),e,null,[[4,11]])})),function(){var t=this,r=arguments;return new Promise((function(o,i){var n=e.apply(t,r);function s(e){_e(n,o,i,s,a,"next",e)}function a(e){_e(n,o,i,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}(),Ee=function(e){var t=e.content,r=e.onInit,n=e.onUpdate,s=e.extensions,a=e.enableRichEditing,c=e.languages,l=[];return l=a?[new i.i,new i.d,new P,new S,new O,new i.h,new i.k,new i.c,new i.p,new i.a,new i.e,new he,new _({openOnClick:!0}),new H,new i.q({emptyNodeClass:"is-empty",emptyNodeText:Object(ye.translate)("text","Add notes, lists or links …"),showOnlyWhenEditable:!0})]:[new te,new o.j,new i.f(Se({},c))],s=s||[],new o.a({content:t,onInit:r,onUpdate:n,extensions:[].concat(we(l),[new i.j]).concat(s),useBuiltInExtensions:a})},Ce=me()("commonmark",{html:!1,breaks:!1}).enable("strikethrough").use(be.a,{enable:!0,labelAfter:!0}),Ie=function(e){this.message=e},Re=function(e,t){var r=Object.entries(e).filter((function(e){return je(e,2)[1].toMarkdown})).reduce((function(e,t){var r=je(t,2),o=r[0],i=r[1].toMarkdown;return Se(Se({},e),{},Oe({},o,i))}),{}),o=Object.entries(t).filter((function(e){return je(e,2)[1].toMarkdown})).reduce((function(e,t){var r=je(t,2),o=r[0],i=r[1].toMarkdown;return Se(Se({},e),{},Oe({},o,i))}),{});return{serializer:new ge.a(Se(Se({},ge.b.nodes),r),Se(Se({},ge.b.marks),o)),serialize:function(e,t){return this.serializer.serialize(e,Se(Se({},t),{},{tightLists:!0})).split("\\[").join("[").split("\\]").join("]")}}},Te=function(e){var t=e.getJSON();if(1!==t.content.length||void 0===t.content[0].content||1!==t.content[0].content.length){if("code_block"===t.content[0].type&&void 0===t.content[0].content)return"";throw new Ie("Failed to serialize document to plain text")}var r=t.content[0].content[0];if("text"!==r.type)throw new Ie("Failed to serialize document to plain text");return r.text}},556:function(e,t,r){var o={"./af":225,"./af.js":225,"./ar":226,"./ar-dz":227,"./ar-dz.js":227,"./ar-kw":228,"./ar-kw.js":228,"./ar-ly":229,"./ar-ly.js":229,"./ar-ma":230,"./ar-ma.js":230,"./ar-sa":231,"./ar-sa.js":231,"./ar-tn":232,"./ar-tn.js":232,"./ar.js":226,"./az":233,"./az.js":233,"./be":234,"./be.js":234,"./bg":235,"./bg.js":235,"./bm":236,"./bm.js":236,"./bn":237,"./bn.js":237,"./bo":238,"./bo.js":238,"./br":239,"./br.js":239,"./bs":240,"./bs.js":240,"./ca":241,"./ca.js":241,"./cs":242,"./cs.js":242,"./cv":243,"./cv.js":243,"./cy":244,"./cy.js":244,"./da":245,"./da.js":245,"./de":246,"./de-at":247,"./de-at.js":247,"./de-ch":248,"./de-ch.js":248,"./de.js":246,"./dv":249,"./dv.js":249,"./el":250,"./el.js":250,"./en-SG":251,"./en-SG.js":251,"./en-au":252,"./en-au.js":252,"./en-ca":253,"./en-ca.js":253,"./en-gb":254,"./en-gb.js":254,"./en-ie":255,"./en-ie.js":255,"./en-il":256,"./en-il.js":256,"./en-nz":257,"./en-nz.js":257,"./eo":258,"./eo.js":258,"./es":259,"./es-do":260,"./es-do.js":260,"./es-us":261,"./es-us.js":261,"./es.js":259,"./et":262,"./et.js":262,"./eu":263,"./eu.js":263,"./fa":264,"./fa.js":264,"./fi":265,"./fi.js":265,"./fo":266,"./fo.js":266,"./fr":267,"./fr-ca":268,"./fr-ca.js":268,"./fr-ch":269,"./fr-ch.js":269,"./fr.js":267,"./fy":270,"./fy.js":270,"./ga":271,"./ga.js":271,"./gd":272,"./gd.js":272,"./gl":273,"./gl.js":273,"./gom-latn":274,"./gom-latn.js":274,"./gu":275,"./gu.js":275,"./he":276,"./he.js":276,"./hi":277,"./hi.js":277,"./hr":278,"./hr.js":278,"./hu":279,"./hu.js":279,"./hy-am":280,"./hy-am.js":280,"./id":281,"./id.js":281,"./is":282,"./is.js":282,"./it":283,"./it-ch":284,"./it-ch.js":284,"./it.js":283,"./ja":285,"./ja.js":285,"./jv":286,"./jv.js":286,"./ka":287,"./ka.js":287,"./kk":288,"./kk.js":288,"./km":289,"./km.js":289,"./kn":290,"./kn.js":290,"./ko":291,"./ko.js":291,"./ku":292,"./ku.js":292,"./ky":293,"./ky.js":293,"./lb":294,"./lb.js":294,"./lo":295,"./lo.js":295,"./lt":296,"./lt.js":296,"./lv":297,"./lv.js":297,"./me":298,"./me.js":298,"./mi":299,"./mi.js":299,"./mk":300,"./mk.js":300,"./ml":301,"./ml.js":301,"./mn":302,"./mn.js":302,"./mr":303,"./mr.js":303,"./ms":304,"./ms-my":305,"./ms-my.js":305,"./ms.js":304,"./mt":306,"./mt.js":306,"./my":307,"./my.js":307,"./nb":308,"./nb.js":308,"./ne":309,"./ne.js":309,"./nl":310,"./nl-be":311,"./nl-be.js":311,"./nl.js":310,"./nn":312,"./nn.js":312,"./pa-in":313,"./pa-in.js":313,"./pl":314,"./pl.js":314,"./pt":315,"./pt-br":316,"./pt-br.js":316,"./pt.js":315,"./ro":317,"./ro.js":317,"./ru":318,"./ru.js":318,"./sd":319,"./sd.js":319,"./se":320,"./se.js":320,"./si":321,"./si.js":321,"./sk":322,"./sk.js":322,"./sl":323,"./sl.js":323,"./sq":324,"./sq.js":324,"./sr":325,"./sr-cyrl":326,"./sr-cyrl.js":326,"./sr.js":325,"./ss":327,"./ss.js":327,"./sv":328,"./sv.js":328,"./sw":329,"./sw.js":329,"./ta":330,"./ta.js":330,"./te":331,"./te.js":331,"./tet":332,"./tet.js":332,"./tg":333,"./tg.js":333,"./th":334,"./th.js":334,"./tl-ph":335,"./tl-ph.js":335,"./tlh":336,"./tlh.js":336,"./tr":337,"./tr.js":337,"./tzl":338,"./tzl.js":338,"./tzm":339,"./tzm-latn":340,"./tzm-latn.js":340,"./tzm.js":339,"./ug-cn":341,"./ug-cn.js":341,"./uk":342,"./uk.js":342,"./ur":343,"./ur.js":343,"./uz":344,"./uz-latn":345,"./uz-latn.js":345,"./uz.js":344,"./vi":346,"./vi.js":346,"./x-pseudo":347,"./x-pseudo.js":347,"./yo":348,"./yo.js":348,"./zh-cn":349,"./zh-cn.js":349,"./zh-hk":350,"./zh-hk.js":350,"./zh-tw":351,"./zh-tw.js":351};function i(e){var t=n(e);return r(t)}function n(e){if(!r.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}i.keys=function(){return Object.keys(o)},i.resolve=n,e.exports=i,i.id=556},564:function(e,t,r){"use strict";var o=r(199);r.n(o).a},565:function(e,t,r){(t=r(49)(!1)).push([e.i,".image[data-v-5a0c4be0]{margin:0;padding:0}.image__caption[data-v-5a0c4be0]{text-align:center;color:var(--color-text-lighter)}.image__caption input[type='text'][data-v-5a0c4be0]{width:100%;border:none;text-align:center}.icon-image[data-v-5a0c4be0]{margin-top:10px;height:32px;padding:20px;background-size:contain}.image__loading[data-v-5a0c4be0]{height:100px}.image__view[data-v-5a0c4be0]{text-align:center}.image__view .image__main[data-v-5a0c4be0]{max-height:40vh}.image__placeholder a[data-v-5a0c4be0]{display:flex}.image__placeholder .image__main[data-v-5a0c4be0]{background-color:var(--color-background-dark);text-align:center;padding:5px;border-radius:var(--border-radius)}.image__placeholder .image__main .icon-image[data-v-5a0c4be0]{margin:0}.image__placeholder .image__main p[data-v-5a0c4be0]{padding:10px}.fade-enter-active[data-v-5a0c4be0]{transition:opacity .3s ease-in-out}.fade-enter-to[data-v-5a0c4be0]{opacity:1}.fade-enter[data-v-5a0c4be0]{opacity:0}\n",""]),e.exports=t},624:function(e,t,r){var o={"./1c":[369,2],"./1c.js":[369,2],"./abnf":[370,3],"./abnf.js":[370,3],"./accesslog":[371,4],"./accesslog.js":[371,4],"./actionscript":[372,5],"./actionscript.js":[372,5],"./ada":[373,6],"./ada.js":[373,6],"./angelscript":[374,7],"./angelscript.js":[374,7],"./apache":[375,8],"./apache.js":[375,8],"./applescript":[376,9],"./applescript.js":[376,9],"./arcade":[377,10],"./arcade.js":[377,10],"./arduino":[378,11],"./arduino.js":[378,11],"./armasm":[379,12],"./armasm.js":[379,12],"./asciidoc":[380,13],"./asciidoc.js":[380,13],"./aspectj":[381,14],"./aspectj.js":[381,14],"./autohotkey":[382,15],"./autohotkey.js":[382,15],"./autoit":[383,16],"./autoit.js":[383,16],"./avrasm":[384,17],"./avrasm.js":[384,17],"./awk":[385,18],"./awk.js":[385,18],"./axapta":[386,19],"./axapta.js":[386,19],"./bash":[387,20],"./bash.js":[387,20],"./basic":[388,21],"./basic.js":[388,21],"./bnf":[389,22],"./bnf.js":[389,22],"./brainfuck":[390,23],"./brainfuck.js":[390,23],"./cal":[391,24],"./cal.js":[391,24],"./capnproto":[392,25],"./capnproto.js":[392,25],"./ceylon":[393,26],"./ceylon.js":[393,26],"./clean":[394,27],"./clean.js":[394,27],"./clojure":[396,28],"./clojure-repl":[395,29],"./clojure-repl.js":[395,29],"./clojure.js":[396,28],"./cmake":[397,30],"./cmake.js":[397,30],"./coffeescript":[398,31],"./coffeescript.js":[398,31],"./coq":[399,32],"./coq.js":[399,32],"./cos":[400,33],"./cos.js":[400,33],"./cpp":[401,34],"./cpp.js":[401,34],"./crmsh":[402,35],"./crmsh.js":[402,35],"./crystal":[403,36],"./crystal.js":[403,36],"./cs":[404,37],"./cs.js":[404,37],"./csp":[405,38],"./csp.js":[405,38],"./css":[406,39],"./css.js":[406,39],"./d":[407,40],"./d.js":[407,40],"./dart":[408,41],"./dart.js":[408,41],"./delphi":[409,42],"./delphi.js":[409,42],"./diff":[410,43],"./diff.js":[410,43],"./django":[411,44],"./django.js":[411,44],"./dns":[412,45],"./dns.js":[412,45],"./dockerfile":[413,46],"./dockerfile.js":[413,46],"./dos":[414,47],"./dos.js":[414,47],"./dsconfig":[415,48],"./dsconfig.js":[415,48],"./dts":[416,49],"./dts.js":[416,49],"./dust":[417,50],"./dust.js":[417,50],"./ebnf":[418,51],"./ebnf.js":[418,51],"./elixir":[419,52],"./elixir.js":[419,52],"./elm":[420,53],"./elm.js":[420,53],"./erb":[421,54],"./erb.js":[421,54],"./erlang":[423,55],"./erlang-repl":[422,56],"./erlang-repl.js":[422,56],"./erlang.js":[423,55],"./excel":[424,57],"./excel.js":[424,57],"./fix":[425,58],"./fix.js":[425,58],"./flix":[426,59],"./flix.js":[426,59],"./fortran":[427,60],"./fortran.js":[427,60],"./fsharp":[428,61],"./fsharp.js":[428,61],"./gams":[429,62],"./gams.js":[429,62],"./gauss":[430,63],"./gauss.js":[430,63],"./gcode":[431,64],"./gcode.js":[431,64],"./gherkin":[432,65],"./gherkin.js":[432,65],"./glsl":[433,66],"./glsl.js":[433,66],"./gml":[434,67],"./gml.js":[434,67],"./go":[435,68],"./go.js":[435,68],"./golo":[436,69],"./golo.js":[436,69],"./gradle":[437,70],"./gradle.js":[437,70],"./groovy":[438,71],"./groovy.js":[438,71],"./haml":[439,72],"./haml.js":[439,72],"./handlebars":[440,73],"./handlebars.js":[440,73],"./haskell":[441,74],"./haskell.js":[441,74],"./haxe":[442,75],"./haxe.js":[442,75],"./hsp":[443,76],"./hsp.js":[443,76],"./htmlbars":[444,77],"./htmlbars.js":[444,77],"./http":[445,78],"./http.js":[445,78],"./hy":[446,79],"./hy.js":[446,79],"./inform7":[447,80],"./inform7.js":[447,80],"./ini":[448,81],"./ini.js":[448,81],"./irpf90":[449,82],"./irpf90.js":[449,82],"./isbl":[450,83],"./isbl.js":[450,83],"./java":[451,84],"./java.js":[451,84],"./javascript":[452,85],"./javascript.js":[452,85],"./jboss-cli":[453,86],"./jboss-cli.js":[453,86],"./json":[454,87],"./json.js":[454,87],"./julia":[456,88],"./julia-repl":[455,89],"./julia-repl.js":[455,89],"./julia.js":[456,88],"./kotlin":[457,90],"./kotlin.js":[457,90],"./lasso":[458,91],"./lasso.js":[458,91],"./ldif":[459,92],"./ldif.js":[459,92],"./leaf":[460,93],"./leaf.js":[460,93],"./less":[461,94],"./less.js":[461,94],"./lisp":[462,95],"./lisp.js":[462,95],"./livecodeserver":[463,96],"./livecodeserver.js":[463,96],"./livescript":[464,97],"./livescript.js":[464,97],"./llvm":[465,98],"./llvm.js":[465,98],"./lsl":[466,99],"./lsl.js":[466,99],"./lua":[467,100],"./lua.js":[467,100],"./makefile":[468,101],"./makefile.js":[468,101],"./markdown":[469,102],"./markdown.js":[469,102],"./mathematica":[470,103],"./mathematica.js":[470,103],"./matlab":[471,104],"./matlab.js":[471,104],"./maxima":[472,105],"./maxima.js":[472,105],"./mel":[473,106],"./mel.js":[473,106],"./mercury":[474,107],"./mercury.js":[474,107],"./mipsasm":[475,108],"./mipsasm.js":[475,108],"./mizar":[476,109],"./mizar.js":[476,109],"./mojolicious":[477,110],"./mojolicious.js":[477,110],"./monkey":[478,111],"./monkey.js":[478,111],"./moonscript":[479,112],"./moonscript.js":[479,112],"./n1ql":[480,113],"./n1ql.js":[480,113],"./nginx":[481,114],"./nginx.js":[481,114],"./nimrod":[482,115],"./nimrod.js":[482,115],"./nix":[483,116],"./nix.js":[483,116],"./nsis":[484,117],"./nsis.js":[484,117],"./objectivec":[485,118],"./objectivec.js":[485,118],"./ocaml":[486,119],"./ocaml.js":[486,119],"./openscad":[487,120],"./openscad.js":[487,120],"./oxygene":[488,121],"./oxygene.js":[488,121],"./parser3":[489,122],"./parser3.js":[489,122],"./perl":[490,123],"./perl.js":[490,123],"./pf":[491,124],"./pf.js":[491,124],"./pgsql":[492,125],"./pgsql.js":[492,125],"./php":[493,126],"./php.js":[493,126],"./plaintext":[494,127],"./plaintext.js":[494,127],"./pony":[495,128],"./pony.js":[495,128],"./powershell":[496,129],"./powershell.js":[496,129],"./processing":[497,130],"./processing.js":[497,130],"./profile":[498,131],"./profile.js":[498,131],"./prolog":[499,132],"./prolog.js":[499,132],"./properties":[500,133],"./properties.js":[500,133],"./protobuf":[501,134],"./protobuf.js":[501,134],"./puppet":[502,135],"./puppet.js":[502,135],"./purebasic":[503,136],"./purebasic.js":[503,136],"./python":[504,137],"./python.js":[504,137],"./q":[505,138],"./q.js":[505,138],"./qml":[506,139],"./qml.js":[506,139],"./r":[507,140],"./r.js":[507,140],"./reasonml":[508,141],"./reasonml.js":[508,141],"./rib":[509,142],"./rib.js":[509,142],"./roboconf":[510,143],"./roboconf.js":[510,143],"./routeros":[511,144],"./routeros.js":[511,144],"./rsl":[512,145],"./rsl.js":[512,145],"./ruby":[513,146],"./ruby.js":[513,146],"./ruleslanguage":[514,147],"./ruleslanguage.js":[514,147],"./rust":[515,148],"./rust.js":[515,148],"./sas":[516,149],"./sas.js":[516,149],"./scala":[517,150],"./scala.js":[517,150],"./scheme":[518,151],"./scheme.js":[518,151],"./scilab":[519,152],"./scilab.js":[519,152],"./scss":[520,153],"./scss.js":[520,153],"./shell":[521,154],"./shell.js":[521,154],"./smali":[522,155],"./smali.js":[522,155],"./smalltalk":[523,156],"./smalltalk.js":[523,156],"./sml":[524,157],"./sml.js":[524,157],"./sqf":[525,158],"./sqf.js":[525,158],"./sql":[526,159],"./sql.js":[526,159],"./stan":[527,160],"./stan.js":[527,160],"./stata":[528,161],"./stata.js":[528,161],"./step21":[529,162],"./step21.js":[529,162],"./stylus":[530,163],"./stylus.js":[530,163],"./subunit":[531,164],"./subunit.js":[531,164],"./swift":[532,165],"./swift.js":[532,165],"./taggerscript":[533,166],"./taggerscript.js":[533,166],"./tap":[534,167],"./tap.js":[534,167],"./tcl":[535,168],"./tcl.js":[535,168],"./tex":[536,169],"./tex.js":[536,169],"./thrift":[537,170],"./thrift.js":[537,170],"./tp":[538,171],"./tp.js":[538,171],"./twig":[539,172],"./twig.js":[539,172],"./typescript":[540,173],"./typescript.js":[540,173],"./vala":[541,174],"./vala.js":[541,174],"./vbnet":[542,175],"./vbnet.js":[542,175],"./vbscript":[544,176],"./vbscript-html":[543,177],"./vbscript-html.js":[543,177],"./vbscript.js":[544,176],"./verilog":[545,178],"./verilog.js":[545,178],"./vhdl":[546,179],"./vhdl.js":[546,179],"./vim":[547,180],"./vim.js":[547,180],"./x86asm":[548,181],"./x86asm.js":[548,181],"./xl":[549,182],"./xl.js":[549,182],"./xml":[550,183],"./xml.js":[550,183],"./xquery":[551,184],"./xquery.js":[551,184],"./yaml":[552,185],"./yaml.js":[552,185],"./zephir":[553,186],"./zephir.js":[553,186]};function i(e){if(!r.o(o,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return r.e(t[1]).then((function(){return r.t(i,7)}))}i.keys=function(){return Object.keys(o)},i.id=624,e.exports=i},627:function(e,t,r){"use strict";var o=r(203);r.n(o).a},628:function(e,t,r){(t=r(49)(!1)).push([e.i,"#editor-container[data-v-6e21a4b1]{display:block;width:100%;max-width:100%;height:100%;left:0;top:50px;margin:0 auto;position:relative;background-color:var(--color-main-background)}#editor-wrapper[data-v-6e21a4b1]{display:flex;width:100%;height:100%;overflow:hidden;position:absolute}#editor-wrapper .ProseMirror[data-v-6e21a4b1]{margin-top:0 !important}#editor-wrapper.icon-loading #editor[data-v-6e21a4b1]{opacity:0.3}#editor[data-v-6e21a4b1],.editor[data-v-6e21a4b1]{background:var(--color-main-background);color:var(--color-main-text);background-clip:padding-box;border-radius:var(--border-radius);padding:0;position:relative;overflow-y:auto;overflow-x:hidden;width:100%}.msg.icon-error[data-v-6e21a4b1]{padding:12px;border-bottom:1px solid var(--color-border);padding-left:30px;background-position:8px center}.save-status[data-v-6e21a4b1]{padding:9px;text-overflow:ellipsis;color:var(--color-text-lighter)}.save-status.error[data-v-6e21a4b1]{background-color:var(--color-error);color:var(--color-main-background);border-radius:3px}#editor-container #editor-wrapper.has-conflicts[data-v-6e21a4b1]{height:calc(100% - 50px)}#editor-container #editor-wrapper.has-conflicts #editor[data-v-6e21a4b1],#editor-container #editor-wrapper.has-conflicts #read-only-editor[data-v-6e21a4b1]{width:50%;height:100%}#editor-session-list[data-v-6e21a4b1]{padding:4px 16px 4px 4px;display:flex}#editor-session-list input[data-v-6e21a4b1],#editor-session-list div[data-v-6e21a4b1]{vertical-align:middle;margin-left:3px}.editor__content[data-v-6e21a4b1]{max-width:670px;margin:auto;position:relative}#body-public[data-v-6e21a4b1]{height:auto}#files-public-content[data-v-6e21a4b1]{height:auto}#files-public-content #editor-wrapper[data-v-6e21a4b1]{position:relative}#files-public-content #editor-container[data-v-6e21a4b1]{top:0;width:100%}#files-public-content #editor-container #editor[data-v-6e21a4b1] .menubar{position:fixed;top:50px;width:100%}#files-public-content #editor-container #editor[data-v-6e21a4b1]{padding-top:50px;overflow:auto}#files-public-content #editor-container .has-conflicts #editor[data-v-6e21a4b1]{padding-top:0px}.ie #editor[data-v-6e21a4b1] .menubar{position:fixed;top:50px;width:100%}.ie .editor__content[data-v-6e21a4b1] .ProseMirror{padding-top:50px}\n",""]),e.exports=t},629:function(e,t,r){"use strict";var o=r(204);r.n(o).a},630:function(e,t,r){(t=r(49)(!1)).push([e.i,'.modal-container #editor-container{position:absolute}.ProseMirror-hideselection *::selection{background:transparent;color:var(--color-main-text)}.ProseMirror-hideselection *::-moz-selection{background:transparent;color:var(--color-main-text)}.ProseMirror-hideselection{caret-color:transparent;color:var(--color-main-text)}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;left:-32px;right:-2px;top:-2px;bottom:-2px;border:2px solid #8cf;pointer-events:none}.has-conflicts .ProseMirror-menubar,#editor-wrapper.icon-loading .ProseMirror-menubar{display:none}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:-2px;width:20px;border-top:1px solid var(--color-main-text);animation:ProseMirror-cursor-blink 1.1s steps(2, start) infinite}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}#editor-wrapper div.ProseMirror{margin-top:44px;height:100%;position:relative;word-wrap:break-word;white-space:pre-wrap;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;padding:4px 8px 200px 14px;line-height:150%;font-size:14px;outline:none}#editor-wrapper div.ProseMirror[contenteditable=true],#editor-wrapper div.ProseMirror[contenteditable=false],#editor-wrapper div.ProseMirror [contenteditable=true],#editor-wrapper div.ProseMirror [contenteditable=false]{border:none !important;width:100%;background-color:transparent;color:var(--color-main-text);opacity:1;-webkit-user-select:text;user-select:text;font-size:14px}#editor-wrapper div.ProseMirror .checkbox-item{display:flex;align-items:start}#editor-wrapper div.ProseMirror .checkbox-item input[type=checkbox]{display:none}#editor-wrapper div.ProseMirror .checkbox-item:before{content:\'\';display:inline-block;height:14px;width:14px;vertical-align:middle;border-radius:50%;margin:0 6px 3px 3px;margin-left:3px;border:1px solid #878787;content:"";position:relative;width:44px;height:44px;display:block;border-radius:1px;height:14px;width:14px;box-shadow:none !important;background-position:center}#editor-wrapper div.ProseMirror .checkbox-item.checked:before{background-image:url("/core/css/../img/actions/checkbox-mark.svg");background-color:var(--color-primary-element)}#editor-wrapper div.ProseMirror .checkbox-item label{display:block;flex-grow:1;max-width:calc(100% - 28px)}#editor-wrapper div.ProseMirror .checkbox-item label>*:first-child{margin-top:0}#editor-wrapper div.ProseMirror li label.checkbox-label{width:100%;display:flex;margin-top:10px;margin-bottom:1em}#editor-wrapper div.ProseMirror li label.checkbox-label:before{position:relative;top:2px}#editor-wrapper div.ProseMirror li label.checkbox-label div.checkbox-wrapper{margin-bottom:-1em;width:100%}#editor-wrapper div.ProseMirror li label.checkbox-label div.checkbox-wrapper>p{margin-top:-1px;margin-bottom:0;padding-bottom:10px}#editor-wrapper div.ProseMirror p:first-child,#editor-wrapper div.ProseMirror h1:first-child,#editor-wrapper div.ProseMirror h2:first-child,#editor-wrapper div.ProseMirror h3:first-child,#editor-wrapper div.ProseMirror h4:first-child,#editor-wrapper div.ProseMirror h5:first-child,#editor-wrapper div.ProseMirror h6:first-child{margin-top:10px}#editor-wrapper div.ProseMirror a{color:var(--color-primary-element);text-decoration:underline;padding:.5em 0}#editor-wrapper div.ProseMirror p{margin-bottom:1em;line-height:150%}#editor-wrapper div.ProseMirror em{font-style:italic}#editor-wrapper div.ProseMirror h1,#editor-wrapper div.ProseMirror h2,#editor-wrapper div.ProseMirror h3,#editor-wrapper div.ProseMirror h4,#editor-wrapper div.ProseMirror h5,#editor-wrapper div.ProseMirror h6{font-weight:600;line-height:120%;margin-top:24px;margin-bottom:12px;color:var(--color-main-text)}#editor-wrapper div.ProseMirror h1{font-size:36px;margin-top:48px}#editor-wrapper div.ProseMirror h2{font-size:28px;margin-top:48px}#editor-wrapper div.ProseMirror h3{font-size:24px}#editor-wrapper div.ProseMirror h4{font-size:21px}#editor-wrapper div.ProseMirror h5{font-size:17px}#editor-wrapper div.ProseMirror h6{font-size:14px}#editor-wrapper div.ProseMirror img{cursor:default;max-width:100%}#editor-wrapper div.ProseMirror hr{padding:2px 0;border:none;margin:1em 0;width:100%}#editor-wrapper div.ProseMirror hr:after{content:"";display:block;height:1px;background-color:var(--color-border-dark);line-height:2px}#editor-wrapper div.ProseMirror pre{white-space:pre;overflow-x:auto;background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:1em 1.3em;margin-bottom:1em}#editor-wrapper div.ProseMirror p code{background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:.1em .3em}#editor-wrapper div.ProseMirror li{position:relative}#editor-wrapper div.ProseMirror ul,#editor-wrapper div.ProseMirror ol{padding-left:10px;margin-left:10px}#editor-wrapper div.ProseMirror ul li{list-style-type:disc}#editor-wrapper div.ProseMirror ul>li>ul>li{list-style-type:circle}#editor-wrapper div.ProseMirror ul>li>ul>li ul li{list-style-type:square}#editor-wrapper div.ProseMirror blockquote{padding-left:1em;border-left:4px solid var(--color-primary-element);color:var(--color-text-maxcontrast);margin-left:0;margin-right:0}#editor-wrapper .ProseMirror-focused .ProseMirror-gapcursor{display:block}#editor-wrapper .editor__content p.is-empty:first-child::before{content:attr(data-empty-text);float:left;color:var(--color-text-maxcontrast);pointer-events:none;height:0}#editor-wrapper:not(.richEditor) .ProseMirror pre{background-color:var(--color-main-background)}#editor-wrapper:not(.richEditor) .ProseMirror pre::before{content:attr(data-language);text-transform:uppercase;display:block;text-align:right;font-weight:bold;font-size:0.6rem}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-comment,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-quote{color:#999999}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-variable,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-template-variable,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-attribute,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-tag,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-name,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-regexp,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-link,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-selector-id,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-selector-class{color:#f2777a}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-number,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-meta,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-built_in,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-builtin-name,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-literal,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-type,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-params{color:#f99157}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-string,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-symbol,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-bullet{color:#99cc99}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-title,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-section{color:#ffcc66}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-keyword,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-selector-tag{color:#6699cc}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-emphasis{font-style:italic}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-strong{font-weight:700}\n',""]),e.exports=t},631:function(e,t,r){"use strict";var o=r(205);r.n(o).a},632:function(e,t,r){(t=r(49)(!1)).push([e.i,"body[data-v-3ea77884]{position:fixed}#direct-editor[data-v-3ea77884]{width:100%;height:100%;position:fixed;overflow:hidden}#direct-editor[data-v-3ea77884] #editor-container{height:100%;top:0}#direct-editor[data-v-3ea77884] #editor-wrapper div.ProseMirror{margin-top:0}pre[data-v-3ea77884]{width:100%;max-width:700px;margin:auto;background-color:var(--color-background-dark)}button[data-v-3ea77884]{width:44px;height:44px;margin:0;background-size:16px;border:0;background-color:transparent;opacity:.5;color:var(--color-main-text);background-position:center center;vertical-align:top}button[data-v-3ea77884]:hover,button[data-v-3ea77884]:focus,button[data-v-3ea77884]:active{background-color:var(--color-background-dark)}button.is-active[data-v-3ea77884],button[data-v-3ea77884]:hover,button[data-v-3ea77884]:focus{opacity:1}button.icon-undo[data-v-3ea77884],button.icon-redo[data-v-3ea77884]{opacity:.4}\n",""]),e.exports=t},646:function(e,t,r){"use strict";var o=r(217);r.n(o).a},647:function(e,t,r){(t=r(49)(!1)).push([e.i,'#read-only-editor{overflow:scroll}#read-only-editor div.ProseMirror{margin-top:44px;height:100%;position:relative;word-wrap:break-word;white-space:pre-wrap;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;padding:4px 8px 200px 14px;line-height:150%;font-size:14px;outline:none}#read-only-editor div.ProseMirror[contenteditable=true],#read-only-editor div.ProseMirror[contenteditable=false],#read-only-editor div.ProseMirror [contenteditable=true],#read-only-editor div.ProseMirror [contenteditable=false]{border:none !important;width:100%;background-color:transparent;color:var(--color-main-text);opacity:1;-webkit-user-select:text;user-select:text;font-size:14px}#read-only-editor div.ProseMirror .checkbox-item{display:flex;align-items:start}#read-only-editor div.ProseMirror .checkbox-item input[type=checkbox]{display:none}#read-only-editor div.ProseMirror .checkbox-item:before{content:\'\';display:inline-block;height:14px;width:14px;vertical-align:middle;border-radius:50%;margin:0 6px 3px 3px;margin-left:3px;border:1px solid #878787;content:"";position:relative;width:44px;height:44px;display:block;border-radius:1px;height:14px;width:14px;box-shadow:none !important;background-position:center}#read-only-editor div.ProseMirror .checkbox-item.checked:before{background-image:url("/core/css/../img/actions/checkbox-mark.svg");background-color:var(--color-primary-element)}#read-only-editor div.ProseMirror .checkbox-item label{display:block;flex-grow:1;max-width:calc(100% - 28px)}#read-only-editor div.ProseMirror .checkbox-item label>*:first-child{margin-top:0}#read-only-editor div.ProseMirror li label.checkbox-label{width:100%;display:flex;margin-top:10px;margin-bottom:1em}#read-only-editor div.ProseMirror li label.checkbox-label:before{position:relative;top:2px}#read-only-editor div.ProseMirror li label.checkbox-label div.checkbox-wrapper{margin-bottom:-1em;width:100%}#read-only-editor div.ProseMirror li label.checkbox-label div.checkbox-wrapper>p{margin-top:-1px;margin-bottom:0;padding-bottom:10px}#read-only-editor div.ProseMirror p:first-child,#read-only-editor div.ProseMirror h1:first-child,#read-only-editor div.ProseMirror h2:first-child,#read-only-editor div.ProseMirror h3:first-child,#read-only-editor div.ProseMirror h4:first-child,#read-only-editor div.ProseMirror h5:first-child,#read-only-editor div.ProseMirror h6:first-child{margin-top:10px}#read-only-editor div.ProseMirror a{color:var(--color-primary-element);text-decoration:underline;padding:.5em 0}#read-only-editor div.ProseMirror p{margin-bottom:1em;line-height:150%}#read-only-editor div.ProseMirror em{font-style:italic}#read-only-editor div.ProseMirror h1,#read-only-editor div.ProseMirror h2,#read-only-editor div.ProseMirror h3,#read-only-editor div.ProseMirror h4,#read-only-editor div.ProseMirror h5,#read-only-editor div.ProseMirror h6{font-weight:600;line-height:120%;margin-top:24px;margin-bottom:12px;color:var(--color-main-text)}#read-only-editor div.ProseMirror h1{font-size:36px;margin-top:48px}#read-only-editor div.ProseMirror h2{font-size:28px;margin-top:48px}#read-only-editor div.ProseMirror h3{font-size:24px}#read-only-editor div.ProseMirror h4{font-size:21px}#read-only-editor div.ProseMirror h5{font-size:17px}#read-only-editor div.ProseMirror h6{font-size:14px}#read-only-editor div.ProseMirror img{cursor:default;max-width:100%}#read-only-editor div.ProseMirror hr{padding:2px 0;border:none;margin:1em 0;width:100%}#read-only-editor div.ProseMirror hr:after{content:"";display:block;height:1px;background-color:var(--color-border-dark);line-height:2px}#read-only-editor div.ProseMirror pre{white-space:pre;overflow-x:auto;background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:1em 1.3em;margin-bottom:1em}#read-only-editor div.ProseMirror p code{background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:.1em .3em}#read-only-editor div.ProseMirror li{position:relative}#read-only-editor div.ProseMirror ul,#read-only-editor div.ProseMirror ol{padding-left:10px;margin-left:10px}#read-only-editor div.ProseMirror ul li{list-style-type:disc}#read-only-editor div.ProseMirror ul>li>ul>li{list-style-type:circle}#read-only-editor div.ProseMirror ul>li>ul>li ul li{list-style-type:square}#read-only-editor div.ProseMirror blockquote{padding-left:1em;border-left:4px solid var(--color-primary-element);color:var(--color-text-maxcontrast);margin-left:0;margin-right:0}#read-only-editor .ProseMirror-focused .ProseMirror-gapcursor{display:block}#read-only-editor .editor__content p.is-empty:first-child::before{content:attr(data-empty-text);float:left;color:var(--color-text-maxcontrast);pointer-events:none;height:0}.thumbnailContainer #read-only-editor{width:100%}.thumbnailContainer #read-only-editor .ProseMirror{height:auto;margin:0 0 0 0;padding:0}\n',""]),e.exports=t},648:function(e,t,r){"use strict";var o=r(218);r.n(o).a},649:function(e,t,r){(t=r(49)(!1)).push([e.i,'div.ProseMirror{margin-top:44px;height:100%;position:relative;word-wrap:break-word;white-space:pre-wrap;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;padding:4px 8px 200px 14px;line-height:150%;font-size:14px;outline:none}div.ProseMirror[contenteditable=true],div.ProseMirror[contenteditable=false],div.ProseMirror [contenteditable=true],div.ProseMirror [contenteditable=false]{border:none !important;width:100%;background-color:transparent;color:var(--color-main-text);opacity:1;-webkit-user-select:text;user-select:text;font-size:14px}div.ProseMirror .checkbox-item{display:flex;align-items:start}div.ProseMirror .checkbox-item input[type=checkbox]{display:none}div.ProseMirror .checkbox-item:before{content:\'\';display:inline-block;height:14px;width:14px;vertical-align:middle;border-radius:50%;margin:0 6px 3px 3px;margin-left:3px;border:1px solid #878787;content:"";position:relative;width:44px;height:44px;display:block;border-radius:1px;height:14px;width:14px;box-shadow:none !important;background-position:center}div.ProseMirror .checkbox-item.checked:before{background-image:url("/core/css/../img/actions/checkbox-mark.svg");background-color:var(--color-primary-element)}div.ProseMirror .checkbox-item label{display:block;flex-grow:1;max-width:calc(100% - 28px)}div.ProseMirror .checkbox-item label>*:first-child{margin-top:0}div.ProseMirror li label.checkbox-label{width:100%;display:flex;margin-top:10px;margin-bottom:1em}div.ProseMirror li label.checkbox-label:before{position:relative;top:2px}div.ProseMirror li label.checkbox-label div.checkbox-wrapper{margin-bottom:-1em;width:100%}div.ProseMirror li label.checkbox-label div.checkbox-wrapper>p{margin-top:-1px;margin-bottom:0;padding-bottom:10px}div.ProseMirror p:first-child,div.ProseMirror h1:first-child,div.ProseMirror h2:first-child,div.ProseMirror h3:first-child,div.ProseMirror h4:first-child,div.ProseMirror h5:first-child,div.ProseMirror h6:first-child{margin-top:10px}div.ProseMirror a{color:var(--color-primary-element);text-decoration:underline;padding:.5em 0}div.ProseMirror p{margin-bottom:1em;line-height:150%}div.ProseMirror em{font-style:italic}div.ProseMirror h1,div.ProseMirror h2,div.ProseMirror h3,div.ProseMirror h4,div.ProseMirror h5,div.ProseMirror h6{font-weight:600;line-height:120%;margin-top:24px;margin-bottom:12px;color:var(--color-main-text)}div.ProseMirror h1{font-size:36px;margin-top:48px}div.ProseMirror h2{font-size:28px;margin-top:48px}div.ProseMirror h3{font-size:24px}div.ProseMirror h4{font-size:21px}div.ProseMirror h5{font-size:17px}div.ProseMirror h6{font-size:14px}div.ProseMirror img{cursor:default;max-width:100%}div.ProseMirror hr{padding:2px 0;border:none;margin:1em 0;width:100%}div.ProseMirror hr:after{content:"";display:block;height:1px;background-color:var(--color-border-dark);line-height:2px}div.ProseMirror pre{white-space:pre;overflow-x:auto;background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:1em 1.3em;margin-bottom:1em}div.ProseMirror p code{background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:.1em .3em}div.ProseMirror li{position:relative}div.ProseMirror ul,div.ProseMirror ol{padding-left:10px;margin-left:10px}div.ProseMirror ul li{list-style-type:disc}div.ProseMirror ul>li>ul>li{list-style-type:circle}div.ProseMirror ul>li>ul>li ul li{list-style-type:square}div.ProseMirror blockquote{padding-left:1em;border-left:4px solid var(--color-primary-element);color:var(--color-text-maxcontrast);margin-left:0;margin-right:0}.ProseMirror-focused .ProseMirror-gapcursor{display:block}.editor__content p.is-empty:first-child::before{content:attr(data-empty-text);float:left;color:var(--color-text-maxcontrast);pointer-events:none;height:0}\n',""]),e.exports=t},650:function(e,t,r){"use strict";var o=r(219);r.n(o).a},651:function(e,t,r){(t=r(49)(!1)).push([e.i,"#resolve-conflicts[data-v-7fd0186f]{display:flex;position:fixed;z-index:10000;bottom:0;max-width:900px;width:100vw;margin:auto;padding:20px 0}#resolve-conflicts button[data-v-7fd0186f]{margin:auto;box-shadow:0 0 10px var(--color-box-shadow)}\n",""]),e.exports=t},671:function(e,t,r){"use strict";r.r(t);var o=r(183),i=r(223),n=r.n(i),s=r(554),a={name:"ReadOnlyEditor",components:{EditorContent:o.b},props:{content:{type:String,required:!0},isRichEditor:{type:Boolean,default:!0}},data:function(){return{editor:null}},mounted:function(){this.editor=Object(s.a)({content:this.isRichEditor?s.d.render(this.content):"<pre>"+n()(this.content)+"</pre>",enableRichEditing:this.isRichEditor}),this.editor.setOptions({editable:!1})},beforeDestroy:function(){this.editor.destroy()}},c=(r(646),r(648),r(18)),l=Object(c.a)(a,(function(){var e=this.$createElement,t=this._self._c||e;return this.editor?t("EditorContent",{attrs:{id:"read-only-editor",editor:this.editor}}):this._e()}),[],!1,null,null,null);t.default=l.exports},672:function(e,t,r){"use strict";r.r(t);var o={name:"CollisionResolveDialog"},i=(r(650),r(18)),n=Object(i.a)(o,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"collision-resolve-dialog",attrs:{id:"resolve-conflicts"}},[r("button",{on:{click:function(t){return e.$emit("resolveUseThisVersion")}}},[e._v("\n\t\t"+e._s(e.t("text","Use current version"))+"\n\t")]),e._v(" "),r("button",{on:{click:function(t){return e.$emit("resolveUseServerVersion")}}},[e._v("\n\t\t"+e._s(e.t("text","Use the saved version"))+"\n\t")])])}),[],!1,null,"7fd0186f",null);t.default=n.exports}}]);
-//# sourceMappingURL=editor.js.map?v=6ee3c36190dc54802157 \ No newline at end of file
+var Me=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var o,i,n,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=[t],i={},n=0;case 3:if(!(n<o.length)){e.next=17;break}return e.prev=4,e.next=7,r(624)("./"+o[n]);case 7:s=e.sent,i[o[n]]=s.default,e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",void 0);case 14:n++,e.next=3;break;case 17:if(0!==Object.keys(i).length||i.constructor!==Object){e.next=19;break}return e.abrupt("return",void 0);case 19:return e.abrupt("return",{languages:i});case 20:case"end":return e.stop()}}),e,null,[[4,11]])})),function(){var t=this,r=arguments;return new Promise((function(o,i){var n=e.apply(t,r);function s(e){_e(n,o,i,s,a,"next",e)}function a(e){_e(n,o,i,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}(),Ee=function(e){var t=e.content,r=e.onInit,n=e.onUpdate,s=e.extensions,a=e.enableRichEditing,c=e.languages,l=[];return l=a?[new i.i,new i.d,new P,new S,new O,new i.h,new i.k,new i.c,new i.p,new i.a,new i.e,new he,new _({openOnClick:!0}),new W,new i.q({emptyNodeClass:"is-empty",emptyNodeText:Object(ye.translate)("text","Add notes, lists or links …"),showOnlyWhenEditable:!0})]:[new te,new o.j,new i.f(Se({},c))],s=s||[],new o.a({content:t,onInit:r,onUpdate:n,extensions:[].concat(we(l),[new i.j]).concat(s),useBuiltInExtensions:a})},Ce=me()("commonmark",{html:!1,breaks:!1}).enable("strikethrough").use(be.a,{enable:!0,labelAfter:!0}),Ie=function(e){this.message=e},Re=function(e,t){var r=Object.entries(e).filter((function(e){return je(e,2)[1].toMarkdown})).reduce((function(e,t){var r=je(t,2),o=r[0],i=r[1].toMarkdown;return Se(Se({},e),{},Oe({},o,i))}),{}),o=Object.entries(t).filter((function(e){return je(e,2)[1].toMarkdown})).reduce((function(e,t){var r=je(t,2),o=r[0],i=r[1].toMarkdown;return Se(Se({},e),{},Oe({},o,i))}),{});return{serializer:new ge.a(Se(Se({},ge.b.nodes),r),Se(Se({},ge.b.marks),o)),serialize:function(e,t){return this.serializer.serialize(e,Se(Se({},t),{},{tightLists:!0})).split("\\[").join("[").split("\\]").join("]")}}},Te=function(e){var t=e.getJSON();if(1!==t.content.length||void 0===t.content[0].content||1!==t.content[0].content.length){if("code_block"===t.content[0].type&&void 0===t.content[0].content)return"";throw new Ie("Failed to serialize document to plain text")}var r=t.content[0].content[0];if("text"!==r.type)throw new Ie("Failed to serialize document to plain text");return r.text}},556:function(e,t,r){var o={"./af":225,"./af.js":225,"./ar":226,"./ar-dz":227,"./ar-dz.js":227,"./ar-kw":228,"./ar-kw.js":228,"./ar-ly":229,"./ar-ly.js":229,"./ar-ma":230,"./ar-ma.js":230,"./ar-sa":231,"./ar-sa.js":231,"./ar-tn":232,"./ar-tn.js":232,"./ar.js":226,"./az":233,"./az.js":233,"./be":234,"./be.js":234,"./bg":235,"./bg.js":235,"./bm":236,"./bm.js":236,"./bn":237,"./bn.js":237,"./bo":238,"./bo.js":238,"./br":239,"./br.js":239,"./bs":240,"./bs.js":240,"./ca":241,"./ca.js":241,"./cs":242,"./cs.js":242,"./cv":243,"./cv.js":243,"./cy":244,"./cy.js":244,"./da":245,"./da.js":245,"./de":246,"./de-at":247,"./de-at.js":247,"./de-ch":248,"./de-ch.js":248,"./de.js":246,"./dv":249,"./dv.js":249,"./el":250,"./el.js":250,"./en-SG":251,"./en-SG.js":251,"./en-au":252,"./en-au.js":252,"./en-ca":253,"./en-ca.js":253,"./en-gb":254,"./en-gb.js":254,"./en-ie":255,"./en-ie.js":255,"./en-il":256,"./en-il.js":256,"./en-nz":257,"./en-nz.js":257,"./eo":258,"./eo.js":258,"./es":259,"./es-do":260,"./es-do.js":260,"./es-us":261,"./es-us.js":261,"./es.js":259,"./et":262,"./et.js":262,"./eu":263,"./eu.js":263,"./fa":264,"./fa.js":264,"./fi":265,"./fi.js":265,"./fo":266,"./fo.js":266,"./fr":267,"./fr-ca":268,"./fr-ca.js":268,"./fr-ch":269,"./fr-ch.js":269,"./fr.js":267,"./fy":270,"./fy.js":270,"./ga":271,"./ga.js":271,"./gd":272,"./gd.js":272,"./gl":273,"./gl.js":273,"./gom-latn":274,"./gom-latn.js":274,"./gu":275,"./gu.js":275,"./he":276,"./he.js":276,"./hi":277,"./hi.js":277,"./hr":278,"./hr.js":278,"./hu":279,"./hu.js":279,"./hy-am":280,"./hy-am.js":280,"./id":281,"./id.js":281,"./is":282,"./is.js":282,"./it":283,"./it-ch":284,"./it-ch.js":284,"./it.js":283,"./ja":285,"./ja.js":285,"./jv":286,"./jv.js":286,"./ka":287,"./ka.js":287,"./kk":288,"./kk.js":288,"./km":289,"./km.js":289,"./kn":290,"./kn.js":290,"./ko":291,"./ko.js":291,"./ku":292,"./ku.js":292,"./ky":293,"./ky.js":293,"./lb":294,"./lb.js":294,"./lo":295,"./lo.js":295,"./lt":296,"./lt.js":296,"./lv":297,"./lv.js":297,"./me":298,"./me.js":298,"./mi":299,"./mi.js":299,"./mk":300,"./mk.js":300,"./ml":301,"./ml.js":301,"./mn":302,"./mn.js":302,"./mr":303,"./mr.js":303,"./ms":304,"./ms-my":305,"./ms-my.js":305,"./ms.js":304,"./mt":306,"./mt.js":306,"./my":307,"./my.js":307,"./nb":308,"./nb.js":308,"./ne":309,"./ne.js":309,"./nl":310,"./nl-be":311,"./nl-be.js":311,"./nl.js":310,"./nn":312,"./nn.js":312,"./pa-in":313,"./pa-in.js":313,"./pl":314,"./pl.js":314,"./pt":315,"./pt-br":316,"./pt-br.js":316,"./pt.js":315,"./ro":317,"./ro.js":317,"./ru":318,"./ru.js":318,"./sd":319,"./sd.js":319,"./se":320,"./se.js":320,"./si":321,"./si.js":321,"./sk":322,"./sk.js":322,"./sl":323,"./sl.js":323,"./sq":324,"./sq.js":324,"./sr":325,"./sr-cyrl":326,"./sr-cyrl.js":326,"./sr.js":325,"./ss":327,"./ss.js":327,"./sv":328,"./sv.js":328,"./sw":329,"./sw.js":329,"./ta":330,"./ta.js":330,"./te":331,"./te.js":331,"./tet":332,"./tet.js":332,"./tg":333,"./tg.js":333,"./th":334,"./th.js":334,"./tl-ph":335,"./tl-ph.js":335,"./tlh":336,"./tlh.js":336,"./tr":337,"./tr.js":337,"./tzl":338,"./tzl.js":338,"./tzm":339,"./tzm-latn":340,"./tzm-latn.js":340,"./tzm.js":339,"./ug-cn":341,"./ug-cn.js":341,"./uk":342,"./uk.js":342,"./ur":343,"./ur.js":343,"./uz":344,"./uz-latn":345,"./uz-latn.js":345,"./uz.js":344,"./vi":346,"./vi.js":346,"./x-pseudo":347,"./x-pseudo.js":347,"./yo":348,"./yo.js":348,"./zh-cn":349,"./zh-cn.js":349,"./zh-hk":350,"./zh-hk.js":350,"./zh-tw":351,"./zh-tw.js":351};function i(e){var t=n(e);return r(t)}function n(e){if(!r.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}i.keys=function(){return Object.keys(o)},i.resolve=n,e.exports=i,i.id=556},564:function(e,t,r){"use strict";var o=r(199);r.n(o).a},565:function(e,t,r){(t=r(49)(!1)).push([e.i,".image[data-v-5a0c4be0]{margin:0;padding:0}.image__caption[data-v-5a0c4be0]{text-align:center;color:var(--color-text-lighter)}.image__caption input[type='text'][data-v-5a0c4be0]{width:100%;border:none;text-align:center}.icon-image[data-v-5a0c4be0]{margin-top:10px;height:32px;padding:20px;background-size:contain}.image__loading[data-v-5a0c4be0]{height:100px}.image__view[data-v-5a0c4be0]{text-align:center}.image__view .image__main[data-v-5a0c4be0]{max-height:40vh}.image__placeholder a[data-v-5a0c4be0]{display:flex}.image__placeholder .image__main[data-v-5a0c4be0]{background-color:var(--color-background-dark);text-align:center;padding:5px;border-radius:var(--border-radius)}.image__placeholder .image__main .icon-image[data-v-5a0c4be0]{margin:0}.image__placeholder .image__main p[data-v-5a0c4be0]{padding:10px}.fade-enter-active[data-v-5a0c4be0]{transition:opacity .3s ease-in-out}.fade-enter-to[data-v-5a0c4be0]{opacity:1}.fade-enter[data-v-5a0c4be0]{opacity:0}\n",""]),e.exports=t},624:function(e,t,r){var o={"./1c":[369,2],"./1c.js":[369,2],"./abnf":[370,3],"./abnf.js":[370,3],"./accesslog":[371,4],"./accesslog.js":[371,4],"./actionscript":[372,5],"./actionscript.js":[372,5],"./ada":[373,6],"./ada.js":[373,6],"./angelscript":[374,7],"./angelscript.js":[374,7],"./apache":[375,8],"./apache.js":[375,8],"./applescript":[376,9],"./applescript.js":[376,9],"./arcade":[377,10],"./arcade.js":[377,10],"./arduino":[378,11],"./arduino.js":[378,11],"./armasm":[379,12],"./armasm.js":[379,12],"./asciidoc":[380,13],"./asciidoc.js":[380,13],"./aspectj":[381,14],"./aspectj.js":[381,14],"./autohotkey":[382,15],"./autohotkey.js":[382,15],"./autoit":[383,16],"./autoit.js":[383,16],"./avrasm":[384,17],"./avrasm.js":[384,17],"./awk":[385,18],"./awk.js":[385,18],"./axapta":[386,19],"./axapta.js":[386,19],"./bash":[387,20],"./bash.js":[387,20],"./basic":[388,21],"./basic.js":[388,21],"./bnf":[389,22],"./bnf.js":[389,22],"./brainfuck":[390,23],"./brainfuck.js":[390,23],"./cal":[391,24],"./cal.js":[391,24],"./capnproto":[392,25],"./capnproto.js":[392,25],"./ceylon":[393,26],"./ceylon.js":[393,26],"./clean":[394,27],"./clean.js":[394,27],"./clojure":[396,28],"./clojure-repl":[395,29],"./clojure-repl.js":[395,29],"./clojure.js":[396,28],"./cmake":[397,30],"./cmake.js":[397,30],"./coffeescript":[398,31],"./coffeescript.js":[398,31],"./coq":[399,32],"./coq.js":[399,32],"./cos":[400,33],"./cos.js":[400,33],"./cpp":[401,34],"./cpp.js":[401,34],"./crmsh":[402,35],"./crmsh.js":[402,35],"./crystal":[403,36],"./crystal.js":[403,36],"./cs":[404,37],"./cs.js":[404,37],"./csp":[405,38],"./csp.js":[405,38],"./css":[406,39],"./css.js":[406,39],"./d":[407,40],"./d.js":[407,40],"./dart":[408,41],"./dart.js":[408,41],"./delphi":[409,42],"./delphi.js":[409,42],"./diff":[410,43],"./diff.js":[410,43],"./django":[411,44],"./django.js":[411,44],"./dns":[412,45],"./dns.js":[412,45],"./dockerfile":[413,46],"./dockerfile.js":[413,46],"./dos":[414,47],"./dos.js":[414,47],"./dsconfig":[415,48],"./dsconfig.js":[415,48],"./dts":[416,49],"./dts.js":[416,49],"./dust":[417,50],"./dust.js":[417,50],"./ebnf":[418,51],"./ebnf.js":[418,51],"./elixir":[419,52],"./elixir.js":[419,52],"./elm":[420,53],"./elm.js":[420,53],"./erb":[421,54],"./erb.js":[421,54],"./erlang":[423,55],"./erlang-repl":[422,56],"./erlang-repl.js":[422,56],"./erlang.js":[423,55],"./excel":[424,57],"./excel.js":[424,57],"./fix":[425,58],"./fix.js":[425,58],"./flix":[426,59],"./flix.js":[426,59],"./fortran":[427,60],"./fortran.js":[427,60],"./fsharp":[428,61],"./fsharp.js":[428,61],"./gams":[429,62],"./gams.js":[429,62],"./gauss":[430,63],"./gauss.js":[430,63],"./gcode":[431,64],"./gcode.js":[431,64],"./gherkin":[432,65],"./gherkin.js":[432,65],"./glsl":[433,66],"./glsl.js":[433,66],"./gml":[434,67],"./gml.js":[434,67],"./go":[435,68],"./go.js":[435,68],"./golo":[436,69],"./golo.js":[436,69],"./gradle":[437,70],"./gradle.js":[437,70],"./groovy":[438,71],"./groovy.js":[438,71],"./haml":[439,72],"./haml.js":[439,72],"./handlebars":[440,73],"./handlebars.js":[440,73],"./haskell":[441,74],"./haskell.js":[441,74],"./haxe":[442,75],"./haxe.js":[442,75],"./hsp":[443,76],"./hsp.js":[443,76],"./htmlbars":[444,77],"./htmlbars.js":[444,77],"./http":[445,78],"./http.js":[445,78],"./hy":[446,79],"./hy.js":[446,79],"./inform7":[447,80],"./inform7.js":[447,80],"./ini":[448,81],"./ini.js":[448,81],"./irpf90":[449,82],"./irpf90.js":[449,82],"./isbl":[450,83],"./isbl.js":[450,83],"./java":[451,84],"./java.js":[451,84],"./javascript":[452,85],"./javascript.js":[452,85],"./jboss-cli":[453,86],"./jboss-cli.js":[453,86],"./json":[454,87],"./json.js":[454,87],"./julia":[456,88],"./julia-repl":[455,89],"./julia-repl.js":[455,89],"./julia.js":[456,88],"./kotlin":[457,90],"./kotlin.js":[457,90],"./lasso":[458,91],"./lasso.js":[458,91],"./ldif":[459,92],"./ldif.js":[459,92],"./leaf":[460,93],"./leaf.js":[460,93],"./less":[461,94],"./less.js":[461,94],"./lisp":[462,95],"./lisp.js":[462,95],"./livecodeserver":[463,96],"./livecodeserver.js":[463,96],"./livescript":[464,97],"./livescript.js":[464,97],"./llvm":[465,98],"./llvm.js":[465,98],"./lsl":[466,99],"./lsl.js":[466,99],"./lua":[467,100],"./lua.js":[467,100],"./makefile":[468,101],"./makefile.js":[468,101],"./markdown":[469,102],"./markdown.js":[469,102],"./mathematica":[470,103],"./mathematica.js":[470,103],"./matlab":[471,104],"./matlab.js":[471,104],"./maxima":[472,105],"./maxima.js":[472,105],"./mel":[473,106],"./mel.js":[473,106],"./mercury":[474,107],"./mercury.js":[474,107],"./mipsasm":[475,108],"./mipsasm.js":[475,108],"./mizar":[476,109],"./mizar.js":[476,109],"./mojolicious":[477,110],"./mojolicious.js":[477,110],"./monkey":[478,111],"./monkey.js":[478,111],"./moonscript":[479,112],"./moonscript.js":[479,112],"./n1ql":[480,113],"./n1ql.js":[480,113],"./nginx":[481,114],"./nginx.js":[481,114],"./nimrod":[482,115],"./nimrod.js":[482,115],"./nix":[483,116],"./nix.js":[483,116],"./nsis":[484,117],"./nsis.js":[484,117],"./objectivec":[485,118],"./objectivec.js":[485,118],"./ocaml":[486,119],"./ocaml.js":[486,119],"./openscad":[487,120],"./openscad.js":[487,120],"./oxygene":[488,121],"./oxygene.js":[488,121],"./parser3":[489,122],"./parser3.js":[489,122],"./perl":[490,123],"./perl.js":[490,123],"./pf":[491,124],"./pf.js":[491,124],"./pgsql":[492,125],"./pgsql.js":[492,125],"./php":[493,126],"./php.js":[493,126],"./plaintext":[494,127],"./plaintext.js":[494,127],"./pony":[495,128],"./pony.js":[495,128],"./powershell":[496,129],"./powershell.js":[496,129],"./processing":[497,130],"./processing.js":[497,130],"./profile":[498,131],"./profile.js":[498,131],"./prolog":[499,132],"./prolog.js":[499,132],"./properties":[500,133],"./properties.js":[500,133],"./protobuf":[501,134],"./protobuf.js":[501,134],"./puppet":[502,135],"./puppet.js":[502,135],"./purebasic":[503,136],"./purebasic.js":[503,136],"./python":[504,137],"./python.js":[504,137],"./q":[505,138],"./q.js":[505,138],"./qml":[506,139],"./qml.js":[506,139],"./r":[507,140],"./r.js":[507,140],"./reasonml":[508,141],"./reasonml.js":[508,141],"./rib":[509,142],"./rib.js":[509,142],"./roboconf":[510,143],"./roboconf.js":[510,143],"./routeros":[511,144],"./routeros.js":[511,144],"./rsl":[512,145],"./rsl.js":[512,145],"./ruby":[513,146],"./ruby.js":[513,146],"./ruleslanguage":[514,147],"./ruleslanguage.js":[514,147],"./rust":[515,148],"./rust.js":[515,148],"./sas":[516,149],"./sas.js":[516,149],"./scala":[517,150],"./scala.js":[517,150],"./scheme":[518,151],"./scheme.js":[518,151],"./scilab":[519,152],"./scilab.js":[519,152],"./scss":[520,153],"./scss.js":[520,153],"./shell":[521,154],"./shell.js":[521,154],"./smali":[522,155],"./smali.js":[522,155],"./smalltalk":[523,156],"./smalltalk.js":[523,156],"./sml":[524,157],"./sml.js":[524,157],"./sqf":[525,158],"./sqf.js":[525,158],"./sql":[526,159],"./sql.js":[526,159],"./stan":[527,160],"./stan.js":[527,160],"./stata":[528,161],"./stata.js":[528,161],"./step21":[529,162],"./step21.js":[529,162],"./stylus":[530,163],"./stylus.js":[530,163],"./subunit":[531,164],"./subunit.js":[531,164],"./swift":[532,165],"./swift.js":[532,165],"./taggerscript":[533,166],"./taggerscript.js":[533,166],"./tap":[534,167],"./tap.js":[534,167],"./tcl":[535,168],"./tcl.js":[535,168],"./tex":[536,169],"./tex.js":[536,169],"./thrift":[537,170],"./thrift.js":[537,170],"./tp":[538,171],"./tp.js":[538,171],"./twig":[539,172],"./twig.js":[539,172],"./typescript":[540,173],"./typescript.js":[540,173],"./vala":[541,174],"./vala.js":[541,174],"./vbnet":[542,175],"./vbnet.js":[542,175],"./vbscript":[544,176],"./vbscript-html":[543,177],"./vbscript-html.js":[543,177],"./vbscript.js":[544,176],"./verilog":[545,178],"./verilog.js":[545,178],"./vhdl":[546,179],"./vhdl.js":[546,179],"./vim":[547,180],"./vim.js":[547,180],"./x86asm":[548,181],"./x86asm.js":[548,181],"./xl":[549,182],"./xl.js":[549,182],"./xml":[550,183],"./xml.js":[550,183],"./xquery":[551,184],"./xquery.js":[551,184],"./yaml":[552,185],"./yaml.js":[552,185],"./zephir":[553,186],"./zephir.js":[553,186]};function i(e){if(!r.o(o,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return r.e(t[1]).then((function(){return r.t(i,7)}))}i.keys=function(){return Object.keys(o)},i.id=624,e.exports=i},627:function(e,t,r){"use strict";var o=r(203);r.n(o).a},628:function(e,t,r){(t=r(49)(!1)).push([e.i,"#editor-container[data-v-efb56066]{display:block;width:100%;max-width:100%;height:100%;left:0;top:50px;margin:0 auto;position:relative;background-color:var(--color-main-background)}#editor-wrapper[data-v-efb56066]{display:flex;width:100%;height:100%;overflow:hidden;position:absolute}#editor-wrapper .ProseMirror[data-v-efb56066]{margin-top:0 !important}#editor-wrapper.icon-loading #editor[data-v-efb56066]{opacity:0.3}#editor[data-v-efb56066],.editor[data-v-efb56066]{background:var(--color-main-background);color:var(--color-main-text);background-clip:padding-box;border-radius:var(--border-radius);padding:0;position:relative;overflow-y:auto;overflow-x:hidden;width:100%}.msg.icon-error[data-v-efb56066]{padding:12px;border-bottom:1px solid var(--color-border);padding-left:30px;background-position:8px center}.save-status[data-v-efb56066]{padding:9px;text-overflow:ellipsis;color:var(--color-text-lighter)}.save-status.error[data-v-efb56066]{background-color:var(--color-error);color:var(--color-main-background);border-radius:3px}#editor-container #editor-wrapper.has-conflicts[data-v-efb56066]{height:calc(100% - 50px)}#editor-container #editor-wrapper.has-conflicts #editor[data-v-efb56066],#editor-container #editor-wrapper.has-conflicts #read-only-editor[data-v-efb56066]{width:50%;height:100%}#editor-session-list[data-v-efb56066]{padding:4px 16px 4px 4px;display:flex}#editor-session-list input[data-v-efb56066],#editor-session-list div[data-v-efb56066]{vertical-align:middle;margin-left:3px}.editor__content[data-v-efb56066]{max-width:670px;margin:auto;position:relative}#body-public[data-v-efb56066]{height:auto}#files-public-content[data-v-efb56066]{height:auto}#files-public-content #editor-wrapper[data-v-efb56066]{position:relative}#files-public-content #editor-container[data-v-efb56066]{top:0;width:100%}#files-public-content #editor-container #editor[data-v-efb56066] .menubar{position:fixed;top:50px;width:100%}#files-public-content #editor-container #editor[data-v-efb56066]{padding-top:50px;overflow:auto}#files-public-content #editor-container .has-conflicts #editor[data-v-efb56066]{padding-top:0px}.ie #editor[data-v-efb56066] .menubar{position:fixed;top:50px;width:100%}.ie .editor__content[data-v-efb56066] .ProseMirror{padding-top:50px}\n",""]),e.exports=t},629:function(e,t,r){"use strict";var o=r(204);r.n(o).a},630:function(e,t,r){(t=r(49)(!1)).push([e.i,'.modal-container #editor-container{position:absolute}.ProseMirror-hideselection *::selection{background:transparent;color:var(--color-main-text)}.ProseMirror-hideselection *::-moz-selection{background:transparent;color:var(--color-main-text)}.ProseMirror-hideselection{caret-color:transparent;color:var(--color-main-text)}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;left:-32px;right:-2px;top:-2px;bottom:-2px;border:2px solid #8cf;pointer-events:none}.has-conflicts .ProseMirror-menubar,#editor-wrapper.icon-loading .ProseMirror-menubar{display:none}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:-2px;width:20px;border-top:1px solid var(--color-main-text);animation:ProseMirror-cursor-blink 1.1s steps(2, start) infinite}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}#editor-wrapper div.ProseMirror{margin-top:44px;height:100%;position:relative;word-wrap:break-word;white-space:pre-wrap;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;padding:4px 8px 200px 14px;line-height:150%;font-size:14px;outline:none}#editor-wrapper div.ProseMirror[contenteditable=true],#editor-wrapper div.ProseMirror[contenteditable=false],#editor-wrapper div.ProseMirror [contenteditable=true],#editor-wrapper div.ProseMirror [contenteditable=false]{border:none !important;width:100%;background-color:transparent;color:var(--color-main-text);opacity:1;-webkit-user-select:text;user-select:text;font-size:14px}#editor-wrapper div.ProseMirror .checkbox-item{display:flex;align-items:start}#editor-wrapper div.ProseMirror .checkbox-item input[type=checkbox]{display:none}#editor-wrapper div.ProseMirror .checkbox-item:before{content:\'\';display:inline-block;height:14px;width:14px;vertical-align:middle;border-radius:50%;margin:0 6px 3px 3px;margin-left:3px;border:1px solid #878787;content:"";position:relative;width:44px;height:44px;display:block;border-radius:1px;height:14px;width:14px;box-shadow:none !important;background-position:center}#editor-wrapper div.ProseMirror .checkbox-item.checked:before{background-image:url("/core/css/../img/actions/checkbox-mark.svg");background-color:var(--color-primary-element)}#editor-wrapper div.ProseMirror .checkbox-item label{display:block;flex-grow:1;max-width:calc(100% - 28px)}#editor-wrapper div.ProseMirror .checkbox-item label>*:first-child{margin-top:0}#editor-wrapper div.ProseMirror li label.checkbox-label{width:100%;display:flex;margin-top:10px;margin-bottom:1em}#editor-wrapper div.ProseMirror li label.checkbox-label:before{position:relative;top:2px}#editor-wrapper div.ProseMirror li label.checkbox-label div.checkbox-wrapper{margin-bottom:-1em;width:100%}#editor-wrapper div.ProseMirror li label.checkbox-label div.checkbox-wrapper>p{margin-top:-1px;margin-bottom:0;padding-bottom:10px}#editor-wrapper div.ProseMirror p:first-child,#editor-wrapper div.ProseMirror h1:first-child,#editor-wrapper div.ProseMirror h2:first-child,#editor-wrapper div.ProseMirror h3:first-child,#editor-wrapper div.ProseMirror h4:first-child,#editor-wrapper div.ProseMirror h5:first-child,#editor-wrapper div.ProseMirror h6:first-child{margin-top:10px}#editor-wrapper div.ProseMirror a{color:var(--color-primary-element);text-decoration:underline;padding:.5em 0}#editor-wrapper div.ProseMirror p{margin-bottom:1em;line-height:150%}#editor-wrapper div.ProseMirror em{font-style:italic}#editor-wrapper div.ProseMirror h1,#editor-wrapper div.ProseMirror h2,#editor-wrapper div.ProseMirror h3,#editor-wrapper div.ProseMirror h4,#editor-wrapper div.ProseMirror h5,#editor-wrapper div.ProseMirror h6{font-weight:600;line-height:120%;margin-top:24px;margin-bottom:12px;color:var(--color-main-text)}#editor-wrapper div.ProseMirror h1{font-size:36px;margin-top:48px}#editor-wrapper div.ProseMirror h2{font-size:28px;margin-top:48px}#editor-wrapper div.ProseMirror h3{font-size:24px}#editor-wrapper div.ProseMirror h4{font-size:21px}#editor-wrapper div.ProseMirror h5{font-size:17px}#editor-wrapper div.ProseMirror h6{font-size:14px}#editor-wrapper div.ProseMirror img{cursor:default;max-width:100%}#editor-wrapper div.ProseMirror hr{padding:2px 0;border:none;margin:1em 0;width:100%}#editor-wrapper div.ProseMirror hr:after{content:"";display:block;height:1px;background-color:var(--color-border-dark);line-height:2px}#editor-wrapper div.ProseMirror pre{white-space:pre;overflow-x:auto;background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:1em 1.3em;margin-bottom:1em}#editor-wrapper div.ProseMirror p code{background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:.1em .3em}#editor-wrapper div.ProseMirror li{position:relative}#editor-wrapper div.ProseMirror ul,#editor-wrapper div.ProseMirror ol{padding-left:10px;margin-left:10px}#editor-wrapper div.ProseMirror ul li{list-style-type:disc}#editor-wrapper div.ProseMirror ul>li>ul>li{list-style-type:circle}#editor-wrapper div.ProseMirror ul>li>ul>li ul li{list-style-type:square}#editor-wrapper div.ProseMirror blockquote{padding-left:1em;border-left:4px solid var(--color-primary-element);color:var(--color-text-maxcontrast);margin-left:0;margin-right:0}#editor-wrapper .ProseMirror-focused .ProseMirror-gapcursor{display:block}#editor-wrapper .editor__content p.is-empty:first-child::before{content:attr(data-empty-text);float:left;color:var(--color-text-maxcontrast);pointer-events:none;height:0}#editor-wrapper:not(.richEditor) .ProseMirror pre{background-color:var(--color-main-background)}#editor-wrapper:not(.richEditor) .ProseMirror pre::before{content:attr(data-language);text-transform:uppercase;display:block;text-align:right;font-weight:bold;font-size:0.6rem}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-comment,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-quote{color:#999999}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-variable,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-template-variable,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-attribute,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-tag,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-name,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-regexp,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-link,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-selector-id,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-selector-class{color:#f2777a}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-number,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-meta,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-built_in,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-builtin-name,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-literal,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-type,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-params{color:#f99157}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-string,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-symbol,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-bullet{color:#99cc99}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-title,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-section{color:#ffcc66}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-keyword,#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-selector-tag{color:#6699cc}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-emphasis{font-style:italic}#editor-wrapper:not(.richEditor) .ProseMirror pre code .hljs-strong{font-weight:700}\n',""]),e.exports=t},631:function(e,t,r){"use strict";var o=r(205);r.n(o).a},632:function(e,t,r){(t=r(49)(!1)).push([e.i,"body[data-v-3ea77884]{position:fixed}#direct-editor[data-v-3ea77884]{width:100%;height:100%;position:fixed;overflow:hidden}#direct-editor[data-v-3ea77884] #editor-container{height:100%;top:0}#direct-editor[data-v-3ea77884] #editor-wrapper div.ProseMirror{margin-top:0}pre[data-v-3ea77884]{width:100%;max-width:700px;margin:auto;background-color:var(--color-background-dark)}button[data-v-3ea77884]{width:44px;height:44px;margin:0;background-size:16px;border:0;background-color:transparent;opacity:.5;color:var(--color-main-text);background-position:center center;vertical-align:top}button[data-v-3ea77884]:hover,button[data-v-3ea77884]:focus,button[data-v-3ea77884]:active{background-color:var(--color-background-dark)}button.is-active[data-v-3ea77884],button[data-v-3ea77884]:hover,button[data-v-3ea77884]:focus{opacity:1}button.icon-undo[data-v-3ea77884],button.icon-redo[data-v-3ea77884]{opacity:.4}\n",""]),e.exports=t},646:function(e,t,r){"use strict";var o=r(217);r.n(o).a},647:function(e,t,r){(t=r(49)(!1)).push([e.i,'#read-only-editor{overflow:scroll}#read-only-editor div.ProseMirror{margin-top:44px;height:100%;position:relative;word-wrap:break-word;white-space:pre-wrap;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;padding:4px 8px 200px 14px;line-height:150%;font-size:14px;outline:none}#read-only-editor div.ProseMirror[contenteditable=true],#read-only-editor div.ProseMirror[contenteditable=false],#read-only-editor div.ProseMirror [contenteditable=true],#read-only-editor div.ProseMirror [contenteditable=false]{border:none !important;width:100%;background-color:transparent;color:var(--color-main-text);opacity:1;-webkit-user-select:text;user-select:text;font-size:14px}#read-only-editor div.ProseMirror .checkbox-item{display:flex;align-items:start}#read-only-editor div.ProseMirror .checkbox-item input[type=checkbox]{display:none}#read-only-editor div.ProseMirror .checkbox-item:before{content:\'\';display:inline-block;height:14px;width:14px;vertical-align:middle;border-radius:50%;margin:0 6px 3px 3px;margin-left:3px;border:1px solid #878787;content:"";position:relative;width:44px;height:44px;display:block;border-radius:1px;height:14px;width:14px;box-shadow:none !important;background-position:center}#read-only-editor div.ProseMirror .checkbox-item.checked:before{background-image:url("/core/css/../img/actions/checkbox-mark.svg");background-color:var(--color-primary-element)}#read-only-editor div.ProseMirror .checkbox-item label{display:block;flex-grow:1;max-width:calc(100% - 28px)}#read-only-editor div.ProseMirror .checkbox-item label>*:first-child{margin-top:0}#read-only-editor div.ProseMirror li label.checkbox-label{width:100%;display:flex;margin-top:10px;margin-bottom:1em}#read-only-editor div.ProseMirror li label.checkbox-label:before{position:relative;top:2px}#read-only-editor div.ProseMirror li label.checkbox-label div.checkbox-wrapper{margin-bottom:-1em;width:100%}#read-only-editor div.ProseMirror li label.checkbox-label div.checkbox-wrapper>p{margin-top:-1px;margin-bottom:0;padding-bottom:10px}#read-only-editor div.ProseMirror p:first-child,#read-only-editor div.ProseMirror h1:first-child,#read-only-editor div.ProseMirror h2:first-child,#read-only-editor div.ProseMirror h3:first-child,#read-only-editor div.ProseMirror h4:first-child,#read-only-editor div.ProseMirror h5:first-child,#read-only-editor div.ProseMirror h6:first-child{margin-top:10px}#read-only-editor div.ProseMirror a{color:var(--color-primary-element);text-decoration:underline;padding:.5em 0}#read-only-editor div.ProseMirror p{margin-bottom:1em;line-height:150%}#read-only-editor div.ProseMirror em{font-style:italic}#read-only-editor div.ProseMirror h1,#read-only-editor div.ProseMirror h2,#read-only-editor div.ProseMirror h3,#read-only-editor div.ProseMirror h4,#read-only-editor div.ProseMirror h5,#read-only-editor div.ProseMirror h6{font-weight:600;line-height:120%;margin-top:24px;margin-bottom:12px;color:var(--color-main-text)}#read-only-editor div.ProseMirror h1{font-size:36px;margin-top:48px}#read-only-editor div.ProseMirror h2{font-size:28px;margin-top:48px}#read-only-editor div.ProseMirror h3{font-size:24px}#read-only-editor div.ProseMirror h4{font-size:21px}#read-only-editor div.ProseMirror h5{font-size:17px}#read-only-editor div.ProseMirror h6{font-size:14px}#read-only-editor div.ProseMirror img{cursor:default;max-width:100%}#read-only-editor div.ProseMirror hr{padding:2px 0;border:none;margin:1em 0;width:100%}#read-only-editor div.ProseMirror hr:after{content:"";display:block;height:1px;background-color:var(--color-border-dark);line-height:2px}#read-only-editor div.ProseMirror pre{white-space:pre;overflow-x:auto;background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:1em 1.3em;margin-bottom:1em}#read-only-editor div.ProseMirror p code{background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:.1em .3em}#read-only-editor div.ProseMirror li{position:relative}#read-only-editor div.ProseMirror ul,#read-only-editor div.ProseMirror ol{padding-left:10px;margin-left:10px}#read-only-editor div.ProseMirror ul li{list-style-type:disc}#read-only-editor div.ProseMirror ul>li>ul>li{list-style-type:circle}#read-only-editor div.ProseMirror ul>li>ul>li ul li{list-style-type:square}#read-only-editor div.ProseMirror blockquote{padding-left:1em;border-left:4px solid var(--color-primary-element);color:var(--color-text-maxcontrast);margin-left:0;margin-right:0}#read-only-editor .ProseMirror-focused .ProseMirror-gapcursor{display:block}#read-only-editor .editor__content p.is-empty:first-child::before{content:attr(data-empty-text);float:left;color:var(--color-text-maxcontrast);pointer-events:none;height:0}.thumbnailContainer #read-only-editor{width:100%}.thumbnailContainer #read-only-editor .ProseMirror{height:auto;margin:0 0 0 0;padding:0}\n',""]),e.exports=t},648:function(e,t,r){"use strict";var o=r(218);r.n(o).a},649:function(e,t,r){(t=r(49)(!1)).push([e.i,'div.ProseMirror{margin-top:44px;height:100%;position:relative;word-wrap:break-word;white-space:pre-wrap;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;padding:4px 8px 200px 14px;line-height:150%;font-size:14px;outline:none}div.ProseMirror[contenteditable=true],div.ProseMirror[contenteditable=false],div.ProseMirror [contenteditable=true],div.ProseMirror [contenteditable=false]{border:none !important;width:100%;background-color:transparent;color:var(--color-main-text);opacity:1;-webkit-user-select:text;user-select:text;font-size:14px}div.ProseMirror .checkbox-item{display:flex;align-items:start}div.ProseMirror .checkbox-item input[type=checkbox]{display:none}div.ProseMirror .checkbox-item:before{content:\'\';display:inline-block;height:14px;width:14px;vertical-align:middle;border-radius:50%;margin:0 6px 3px 3px;margin-left:3px;border:1px solid #878787;content:"";position:relative;width:44px;height:44px;display:block;border-radius:1px;height:14px;width:14px;box-shadow:none !important;background-position:center}div.ProseMirror .checkbox-item.checked:before{background-image:url("/core/css/../img/actions/checkbox-mark.svg");background-color:var(--color-primary-element)}div.ProseMirror .checkbox-item label{display:block;flex-grow:1;max-width:calc(100% - 28px)}div.ProseMirror .checkbox-item label>*:first-child{margin-top:0}div.ProseMirror li label.checkbox-label{width:100%;display:flex;margin-top:10px;margin-bottom:1em}div.ProseMirror li label.checkbox-label:before{position:relative;top:2px}div.ProseMirror li label.checkbox-label div.checkbox-wrapper{margin-bottom:-1em;width:100%}div.ProseMirror li label.checkbox-label div.checkbox-wrapper>p{margin-top:-1px;margin-bottom:0;padding-bottom:10px}div.ProseMirror p:first-child,div.ProseMirror h1:first-child,div.ProseMirror h2:first-child,div.ProseMirror h3:first-child,div.ProseMirror h4:first-child,div.ProseMirror h5:first-child,div.ProseMirror h6:first-child{margin-top:10px}div.ProseMirror a{color:var(--color-primary-element);text-decoration:underline;padding:.5em 0}div.ProseMirror p{margin-bottom:1em;line-height:150%}div.ProseMirror em{font-style:italic}div.ProseMirror h1,div.ProseMirror h2,div.ProseMirror h3,div.ProseMirror h4,div.ProseMirror h5,div.ProseMirror h6{font-weight:600;line-height:120%;margin-top:24px;margin-bottom:12px;color:var(--color-main-text)}div.ProseMirror h1{font-size:36px;margin-top:48px}div.ProseMirror h2{font-size:28px;margin-top:48px}div.ProseMirror h3{font-size:24px}div.ProseMirror h4{font-size:21px}div.ProseMirror h5{font-size:17px}div.ProseMirror h6{font-size:14px}div.ProseMirror img{cursor:default;max-width:100%}div.ProseMirror hr{padding:2px 0;border:none;margin:1em 0;width:100%}div.ProseMirror hr:after{content:"";display:block;height:1px;background-color:var(--color-border-dark);line-height:2px}div.ProseMirror pre{white-space:pre;overflow-x:auto;background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:1em 1.3em;margin-bottom:1em}div.ProseMirror p code{background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:.1em .3em}div.ProseMirror li{position:relative}div.ProseMirror ul,div.ProseMirror ol{padding-left:10px;margin-left:10px}div.ProseMirror ul li{list-style-type:disc}div.ProseMirror ul>li>ul>li{list-style-type:circle}div.ProseMirror ul>li>ul>li ul li{list-style-type:square}div.ProseMirror blockquote{padding-left:1em;border-left:4px solid var(--color-primary-element);color:var(--color-text-maxcontrast);margin-left:0;margin-right:0}.ProseMirror-focused .ProseMirror-gapcursor{display:block}.editor__content p.is-empty:first-child::before{content:attr(data-empty-text);float:left;color:var(--color-text-maxcontrast);pointer-events:none;height:0}\n',""]),e.exports=t},650:function(e,t,r){"use strict";var o=r(219);r.n(o).a},651:function(e,t,r){(t=r(49)(!1)).push([e.i,"#resolve-conflicts[data-v-7fd0186f]{display:flex;position:fixed;z-index:10000;bottom:0;max-width:900px;width:100vw;margin:auto;padding:20px 0}#resolve-conflicts button[data-v-7fd0186f]{margin:auto;box-shadow:0 0 10px var(--color-box-shadow)}\n",""]),e.exports=t},671:function(e,t,r){"use strict";r.r(t);var o=r(183),i=r(223),n=r.n(i),s=r(554),a={name:"ReadOnlyEditor",components:{EditorContent:o.b},props:{content:{type:String,required:!0},isRichEditor:{type:Boolean,default:!0}},data:function(){return{editor:null}},mounted:function(){this.editor=Object(s.a)({content:this.isRichEditor?s.d.render(this.content):"<pre>"+n()(this.content)+"</pre>",enableRichEditing:this.isRichEditor}),this.editor.setOptions({editable:!1})},beforeDestroy:function(){this.editor.destroy()}},c=(r(646),r(648),r(18)),l=Object(c.a)(a,(function(){var e=this.$createElement,t=this._self._c||e;return this.editor?t("EditorContent",{attrs:{id:"read-only-editor",editor:this.editor}}):this._e()}),[],!1,null,null,null);t.default=l.exports},672:function(e,t,r){"use strict";r.r(t);var o={name:"CollisionResolveDialog"},i=(r(650),r(18)),n=Object(i.a)(o,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"collision-resolve-dialog",attrs:{id:"resolve-conflicts"}},[r("button",{on:{click:function(t){return e.$emit("resolveUseThisVersion")}}},[e._v("\n\t\t"+e._s(e.t("text","Use current version"))+"\n\t")]),e._v(" "),r("button",{on:{click:function(t){return e.$emit("resolveUseServerVersion")}}},[e._v("\n\t\t"+e._s(e.t("text","Use the saved version"))+"\n\t")])])}),[],!1,null,"7fd0186f",null);t.default=n.exports}}]);
+//# sourceMappingURL=editor.js.map?v=cd5214ca3ea08b6ad080 \ No newline at end of file