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:
Diffstat (limited to 'js/editor.js')
-rw-r--r--js/editor.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/js/editor.js b/js/editor.js
index c4a433d17..3ad848d3f 100644
--- a/js/editor.js
+++ b/js/editor.js
@@ -1,4 +1,4 @@
-(window.textWebpackJsonp=window.textWebpackJsonp||[]).push([[187],{232:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return c}));var n=r(55),o=function(e){(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?setTimeout(e,0):document.addEventListener("DOMContentLoaded",e)},i=Object(n.generateUrl)("/apps/text"),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?"".concat(i,"/public/").concat(e):"".concat(i,"/").concat(e)},a=["Artichoke","Arugula","Asparagus","Avocado","Bamboo Shoot","Bean Sprout","Bean","Beet","Belgian Endive","Bell Pepper","Bitter Melon","Bitter Gourd","Bok Choy","Broccoli","Brussels Sprout","Burdock Root","Cabbage","Calabash","Caper","Carrot","Cassava","Cauliflower","Celery","Celery Root","Celtuce","Chayote","Chinese Broccoli","Corn","Baby Corn","Cucumber","English Cucumber","Gherkin","Pickling Cucumber","Daikon Radish","Edamame","Eggplant","Elephant Garlic","Endive","Curly","Escarole","Fennel","Fiddlehead","Galangal","Garlic","Ginger","Grape Leave","Green Bean","Wax Bean","Green","Amaranth Leave","Beet Green","Collard Green","Dandelion Green","Kale","Kohlrabi Green","Mustard Green","Rapini","Spinach","Swiss Chard","Turnip Green","Hearts of Palm","Horseradish","Jerusalem Artichoke","Jícama","Kale","Curly","Lacinato","Ornamental","Kohlrabi","Leeks","Lemongrass","Lettuce","Butterhead","Iceberg","Leaf","Romaine","Lotus Root","Lotus Seed","Mushroom","Napa Cabbage","Nopales","Okra","Olive","Onion","Green Onion","Parsley","Parsley Root","Parsnip","Pepper","Plantain","Potato","Pumpkin","Purslane","Radicchio","Radish","Rutabaga","Shallots","Spinach","Squash","Sweet Potato","Swiss Chard","Taro","Tomatillo","Tomato","Turnip","Water Chestnut","Water Spinach","Watercress","Winter Melon","Yams","Zucchini"],c=function(){return a[Math.floor(Math.random()*a.length)]}},234:function(e,r,n){"use strict";n.r(r);var o=n(112),i=n(273),s=n.n(i),a=n(274),c=n.n(a),l=n(232),u=n(254);function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
+(window.textWebpackJsonp=window.textWebpackJsonp||[]).push([[187],{232:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return c}));var n=r(55),o=function(e){(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?setTimeout(e,0):document.addEventListener("DOMContentLoaded",e)},i=Object(n.generateUrl)("/apps/text"),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?"".concat(i,"/public/").concat(e):"".concat(i,"/").concat(e)},a=["Artichoke","Arugula","Asparagus","Avocado","Bamboo Shoot","Bean Sprout","Bean","Beet","Belgian Endive","Bell Pepper","Bitter Melon","Bitter Gourd","Bok Choy","Broccoli","Brussels Sprout","Burdock Root","Cabbage","Calabash","Caper","Carrot","Cassava","Cauliflower","Celery","Celery Root","Celtuce","Chayote","Chinese Broccoli","Corn","Baby Corn","Cucumber","English Cucumber","Gherkin","Pickling Cucumber","Daikon Radish","Edamame","Eggplant","Elephant Garlic","Endive","Curly","Escarole","Fennel","Fiddlehead","Galangal","Garlic","Ginger","Grape Leave","Green Bean","Wax Bean","Green","Amaranth Leave","Beet Green","Collard Green","Dandelion Green","Kale","Kohlrabi Green","Mustard Green","Rapini","Spinach","Swiss Chard","Turnip Green","Hearts of Palm","Horseradish","Jerusalem Artichoke","Jícama","Kale","Curly","Lacinato","Ornamental","Kohlrabi","Leeks","Lemongrass","Lettuce","Butterhead","Iceberg","Leaf","Romaine","Lotus Root","Lotus Seed","Mushroom","Napa Cabbage","Nopales","Okra","Olive","Onion","Green Onion","Parsley","Parsley Root","Parsnip","Pepper","Plantain","Potato","Pumpkin","Purslane","Radicchio","Radish","Rutabaga","Shallots","Spinach","Squash","Sweet Potato","Swiss Chard","Taro","Tomatillo","Tomato","Turnip","Water Chestnut","Water Spinach","Watercress","Winter Melon","Yams","Zucchini"],c=function(){return a[Math.floor(Math.random()*a.length)]}},234:function(e,r,n){"use strict";n.r(r);var o=n(112),i=n(269),s=n.n(i),a=n(270),c=n.n(a),l=n(232),u=n(251);function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -42,7 +42,7 @@ var p=300,h=500,f=function(){function e(t){!function(e,t){if(!(e instanceof t))t
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-var v={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},b={SAVE_COLLISSION:0,PUSH_FAILURE:1,LOAD_ERROR:2,CONNECTION_FAILED:3,SOURCE_NOT_FOUND:4},y=function(){function e(t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.eventHandlers={opened:[],loaded:[],fetched:[],sync:[],stateChange:[],error:[],change:[],save:[]},this.backend=new f(this),this.options=Object.assign({},v,t),this.document=null,this.session=null,this.sessions=[],this.steps=[],this.stepClientIDs=[],this}var t,r,n;return t=e,(r=[{key:"open",value:function(e){var t=this,r=e.fileId,n=e.filePath;return this._openDocument({fileId:r,filePath:n}).then((function(){return t.emit("opened",{document:t.document,session:t.session}),t._fetchDocument().then((function(e){var r=e.data;t.emit("loaded",{document:t.document,session:t.session,documentSource:""+r})}))})).catch((function(e){return e.response&&"ECONNABORTED"!==e.code?t.emit("error",b.LOAD_ERROR,e.response.status):t.emit("error",b.CONNECTION_FAILED,{}),Promise.reject(e)}))}},{key:"startSync",value:function(){this.backend.connect()}},{key:"_openDocument",value:function(e){var t=this,r=e.fileId,n=e.filePath;return c.a.get(Object(l.b)("session/create",!!this.options.shareToken),{params:{fileId:r,filePath:n,token:this.options.shareToken,guestName:this.options.guestName,forceRecreate:this.options.forceRecreate}}).then((function(e){return t.document=e.data.document,t.document.readOnly=e.data.readOnly,t.session=e.data.session,e.data}))}},{key:"_fetchDocument",value:function(){return c.a.get(Object(l.b)("session/fetch",!!this.options.shareToken),{transformResponse:[function(e){return e}],params:{documentId:this.document.id,sessionId:this.session.id,sessionToken:this.session.token,token:this.options.shareToken}})}},{key:"updateSession",value:function(e){var t=this;if(this.isPublic())return c.a.post(Object(l.b)("session",!!this.options.shareToken),{documentId:this.document.id,sessionId:this.session.id,sessionToken:this.session.token,token:this.options.shareToken,guestName:e}).then((function(e){var r=e.data;return t.session=r,r})).catch((function(e){return console.error("Failed to update the session",e),Promise.reject(e)}))}},{key:"sendSteps",value:function(e){var t=e||Object(u.sendableSteps)(this.state);if(t)return this.backend.sendSteps(t)}},{key:"stepsSince",value:function(e){return{steps:this.steps.slice(e),clientIDs:this.stepClientIDs.slice(e)}}},{key:"_receiveSteps",value:function(e){for(var t=this,r=e.steps,n=e.document,o=[],i=function(e){var n=r[e].data;if(!Array.isArray(n))return console.error("Invalid step data, skipping step",r[e]),"continue";n.forEach((function(n){t.steps.push(n),o.push({step:n,clientID:r[e].sessionId})}))},s=0;s<r.length;s++)i(s);this.emit("sync",{steps:o,document:n}),console.debug("receivedSteps","newVersion",this._getVersion())}},{key:"_getVersion",value:function(){return this.state?Object(u.getVersion)(this.state):0}},{key:"_getDocument",value:function(){if(this.state)return this.state.doc}},{key:"_getContent",value:function(){return this.options.serialize(this._getDocument())}},{key:"save",value:function(){this.backend.save&&this.backend.save()}},{key:"forceSave",value:function(){this.backend.forceSave&&this.backend.forceSave()}},{key:"close",value:function(){var e=this,t=!1;return new Promise((function(r,n){e.on("save",(function(){e._close().then((function(){t=!0,r()})).catch((function(){return r()}))})),setTimeout((function(){t||e._close().then((function(){r()})).catch((function(){return r()}))}),2e3),e.save()}))}},{key:"_close",value:function(){return null===this.document||null===this.session?Promise.resolve():(this.backend.disconnect(),c.a.get(Object(l.b)("session/close",!!this.options.shareToken),{params:{documentId:this.document.id,sessionId:this.session.id,sessionToken:this.session.token,token:this.options.shareToken}}))}},{key:"on",value:function(e,t,r){return this.eventHandlers[e].push(t.bind(r)),this}},{key:"emit",value:function(e,t,r){void 0!==this.eventHandlers[e]?this.eventHandlers[e].forEach((function(e){e(t,r)})):console.error("Event not found",e)}},{key:"isPublic",value:function(){return!!this.options.shareToken}}])&&m(t.prototype,r),n&&m(t,n),e}(),g={py:"python",gyp:"python",wsgi:"python",htm:"html",xhtml:"html",erl:"erlang",jsp:"java",pl:"perl",rss:"xml",atom:"xml",xsl:"xml",plist:"xml",rb:"ruby",builder:"ruby",gemspec:"ruby",podspec:"ruby",thor:"ruby",diff:"patch",hs:"haskell",icl:"haskell",php3:"php",php4:"php",php5:"php",php6:"php",sh:"bash",zsh:"bash",st:"smalltalk",as:"actionscript",apacheconf:"apache",osacript:"applescript",b:"brainfuck",bf:"brainfuck",clj:"clojure","cmake.in":"cmake",coffee:"coffeescript",cson:"coffescript",iced:"coffescript",c:"cpp","c++":"cpp","h++":"cpp",hh:"cpp",jinja:"django",bat:"dos",cmd:"dos",fs:"fsharp",hbs:"handlebars","html.hbs":"handlebars","html.handlebars":"handlebars",sublime_metrics:"json",sublime_session:"json","sublime-keymap":"json","sublime-mousemap":"json","sublime-project":"json","sublime-settings":"json","sublime-workspace":"json",mk:"makefile",mak:"makefile",md:"markdown",mkdown:"markdown",mkd:"markdown",nginxconf:"nginx",m:"objectivec",mm:"objectivec",ml:"ocaml",rs:"rust",sci:"scilab",vb:"vbnet",vbs:"vbscript"},j=n(477),w=n(246),k=n(251);function S(e){return(S="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 _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t){return!t||"object"!==S(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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}
+var v={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},b={SAVE_COLLISSION:0,PUSH_FAILURE:1,LOAD_ERROR:2,CONNECTION_FAILED:3,SOURCE_NOT_FOUND:4},y=function(){function e(t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.eventHandlers={opened:[],loaded:[],fetched:[],sync:[],stateChange:[],error:[],change:[],save:[]},this.backend=new f(this),this.options=Object.assign({},v,t),this.document=null,this.session=null,this.sessions=[],this.steps=[],this.stepClientIDs=[],this}var t,r,n;return t=e,(r=[{key:"open",value:function(e){var t=this,r=e.fileId,n=e.filePath;return this._openDocument({fileId:r,filePath:n}).then((function(){return t.emit("opened",{document:t.document,session:t.session}),t._fetchDocument().then((function(e){var r=e.data;t.emit("loaded",{document:t.document,session:t.session,documentSource:""+r})}))})).catch((function(e){return e.response&&"ECONNABORTED"!==e.code?t.emit("error",b.LOAD_ERROR,e.response.status):t.emit("error",b.CONNECTION_FAILED,{}),Promise.reject(e)}))}},{key:"startSync",value:function(){this.backend.connect()}},{key:"_openDocument",value:function(e){var t=this,r=e.fileId,n=e.filePath;return c.a.get(Object(l.b)("session/create",!!this.options.shareToken),{params:{fileId:r,filePath:n,token:this.options.shareToken,guestName:this.options.guestName,forceRecreate:this.options.forceRecreate}}).then((function(e){return t.document=e.data.document,t.document.readOnly=e.data.readOnly,t.session=e.data.session,e.data}))}},{key:"_fetchDocument",value:function(){return c.a.get(Object(l.b)("session/fetch",!!this.options.shareToken),{transformResponse:[function(e){return e}],params:{documentId:this.document.id,sessionId:this.session.id,sessionToken:this.session.token,token:this.options.shareToken}})}},{key:"updateSession",value:function(e){var t=this;if(this.isPublic())return c.a.post(Object(l.b)("session",!!this.options.shareToken),{documentId:this.document.id,sessionId:this.session.id,sessionToken:this.session.token,token:this.options.shareToken,guestName:e}).then((function(e){var r=e.data;return t.session=r,r})).catch((function(e){return console.error("Failed to update the session",e),Promise.reject(e)}))}},{key:"sendSteps",value:function(e){var t=e||Object(u.sendableSteps)(this.state);if(t)return this.backend.sendSteps(t)}},{key:"stepsSince",value:function(e){return{steps:this.steps.slice(e),clientIDs:this.stepClientIDs.slice(e)}}},{key:"_receiveSteps",value:function(e){for(var t=this,r=e.steps,n=e.document,o=[],i=function(e){var n=r[e].data;if(!Array.isArray(n))return console.error("Invalid step data, skipping step",r[e]),"continue";n.forEach((function(n){t.steps.push(n),o.push({step:n,clientID:r[e].sessionId})}))},s=0;s<r.length;s++)i(s);this.emit("sync",{steps:o,document:n}),console.debug("receivedSteps","newVersion",this._getVersion())}},{key:"_getVersion",value:function(){return this.state?Object(u.getVersion)(this.state):0}},{key:"_getDocument",value:function(){if(this.state)return this.state.doc}},{key:"_getContent",value:function(){return this.options.serialize(this._getDocument())}},{key:"save",value:function(){this.backend.save&&this.backend.save()}},{key:"forceSave",value:function(){this.backend.forceSave&&this.backend.forceSave()}},{key:"close",value:function(){var e=this,t=!1;return new Promise((function(r,n){e.on("save",(function(){e._close().then((function(){t=!0,r()})).catch((function(){return r()}))})),setTimeout((function(){t||e._close().then((function(){r()})).catch((function(){return r()}))}),2e3),e.save()}))}},{key:"_close",value:function(){return null===this.document||null===this.session?Promise.resolve():(this.backend.disconnect(),c.a.get(Object(l.b)("session/close",!!this.options.shareToken),{params:{documentId:this.document.id,sessionId:this.session.id,sessionToken:this.session.token,token:this.options.shareToken}}))}},{key:"on",value:function(e,t,r){return this.eventHandlers[e].push(t.bind(r)),this}},{key:"emit",value:function(e,t,r){void 0!==this.eventHandlers[e]?this.eventHandlers[e].forEach((function(e){e(t,r)})):console.error("Event not found",e)}},{key:"isPublic",value:function(){return!!this.options.shareToken}}])&&m(t.prototype,r),n&&m(t,n),e}(),g={py:"python",gyp:"python",wsgi:"python",htm:"html",xhtml:"html",erl:"erlang",jsp:"java",pl:"perl",rss:"xml",atom:"xml",xsl:"xml",plist:"xml",rb:"ruby",builder:"ruby",gemspec:"ruby",podspec:"ruby",thor:"ruby",diff:"patch",hs:"haskell",icl:"haskell",php3:"php",php4:"php",php5:"php",php6:"php",sh:"bash",zsh:"bash",st:"smalltalk",as:"actionscript",apacheconf:"apache",osacript:"applescript",b:"brainfuck",bf:"brainfuck",clj:"clojure","cmake.in":"cmake",coffee:"coffeescript",cson:"coffescript",iced:"coffescript",c:"cpp","c++":"cpp","h++":"cpp",hh:"cpp",jinja:"django",bat:"dos",cmd:"dos",fs:"fsharp",hbs:"handlebars","html.hbs":"handlebars","html.handlebars":"handlebars",sublime_metrics:"json",sublime_session:"json","sublime-keymap":"json","sublime-mousemap":"json","sublime-project":"json","sublime-settings":"json","sublime-workspace":"json",mk:"makefile",mak:"makefile",md:"markdown",mkdown:"markdown",mkd:"markdown",nginxconf:"nginx",m:"objectivec",mm:"objectivec",ml:"ocaml",rs:"rust",sci:"scilab",vb:"vbnet",vbs:"vbscript"},j=n(467),w=n(245),k=n(250);function S(e){return(S="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 _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t){return!t||"object"!==S(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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -63,7 +63,7 @@ var v={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},b={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 E=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),x(this,O(t).apply(this,arguments))}var r,n,o;return 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&&P(e,t)}(t,e),r=t,(n=[{key:"keys",value:function(e){return e.schema,this.options}},{key:"name",get:function(){return"save"}}])&&_(r.prototype,n),o&&_(r,o),t}(w.e),C={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}}},I=n(249),M=n.n(I),T={name:"EditorWrapper",components:{EditorContent:w.b,MenuBar:function(){return Promise.all([n.e(196),n.e(190)]).then(n.bind(null,611))},MenuBubble:function(){return Promise.all([n.e(196),n.e(190)]).then(n.bind(null,612))},ReadOnlyEditor:function(){return Promise.all([n.e(0),n.e(195),n.e(187)]).then(n.bind(null,613))},CollisionResolveDialog:function(){return Promise.all([n.e(0),n.e(195),n.e(187)]).then(n.bind(null,614))},GuestNameDialog:function(){return Promise.all([n.e(186),n.e(189)]).then(n.bind(null,615))},SessionList:function(){return Promise.all([n.e(186),n.e(188)]).then(n.bind(null,616))}},directives:{Tooltip:M.a},mixins:[C],props:{relativePath:{type:String,default:null},fileId:{type:Number,default:null},active:{type:Boolean,default:!1},shareToken:{type:String,default:null},mime:{type:String,default:null}},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 save {lastSave}",{lastSave: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===b.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(l.b)(t,!!e.shareToken)}},hasDocumentParameters:function(){return this.fileId||this.shareToken},isPublic:function(){return 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(){var e=this;document.removeEventListener("keydown",this._keyUpHandler,!0),clearInterval(this.saveStatusPolling),this.currentSession&&this.syncService&&this.syncService.close().then((function(){e.currentSession=null,e.syncService=null})).catch((function(e){}))},methods:{updateLastSavedStatus:function(){this.document&&(this.lastSavedString=window.moment(1e3*this.document.lastSavedVersionTime).fromNow())},initSession:function(){var e=this;if(this.hasDocumentParameters){var t=localStorage.getItem("nick")?localStorage.getItem("nick"):Object(l.c)();this.syncService=new y({shareToken:this.shareToken,filePath:this.relativePath,guestName:t,forceRecreate:this.forceRecreate,serialize:function(t){if(e.isRichEditor){var r=Object(j.b)(e.tiptap.nodes,e.tiptap.marks).serialize(t);return console.debug("serialized document",{markdown:r}),r}var n=Object(j.e)(e.tiptap);return console.debug("serialized document",{file:n}),n}}).on("opened",(function(t){var r=t.document,n=t.session;e.currentSession=n,e.document=r,e.readOnly=r.readOnly,localStorage.setItem("nick",e.currentSession.guestName)})).on("change",(function(t){var r=t.document,n=t.sessions;""===e.document.baseVersionEtag||r.baseVersionEtag===e.document.baseVersionEtag?(e.updateSessions.bind(e)(n),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(j.c)(g[e.fileExtension]?g[e.fileExtension]:e.fileExtension).then((function(t){e.tiptap=Object(j.a)({content:e.isRichEditor?j.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 E({"Ctrl-s":function(){return e.syncService.save(),!0}})],enableRichEditing:e.isRichEditor,languages:t}),e.syncService.state=e.tiptap.state}))})).on("sync",(function(t){var r=t.steps,n=t.document;e.hasConnectionIssue=!1;try{e.tiptap.extensions.options.collaboration.update({version:n.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=n})).on("error",(function(t,r){e.tiptap.setOptions({editable:!1}),t!==b.SAVE_COLLISSION||e.syncError&&e.syncError.type===b.SAVE_COLLISSION||(e.initialLoading=!0,e.syncError={type:t,data:r}),t!==b.CONNECTION_FAILED||e.hasConnectionIssue||(e.hasConnectionIssue=!0,OC.Notification.showTemporary("Connection failed, reconnecting"),setTimeout(e.reconnect.bind(e),1e3)),t===b.SOURCE_NOT_FOUND&&(e.initialLoading=!1,OC.Notification.showTemporary("Source not found"),e.$emit("close"))})).on("stateChange",(function(t){t.initialLoading&&!e.initialLoading&&(e.initialLoading=!0,e.tiptap.focus("start")),t.hasOwnProperty("dirty")&&(e.dirty=t.dirty)})),this.syncService.open({fileId:this.fileId,filePath:this.relativePath}).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})),n=Object.keys(this.filteredSessions).filter((function(e){return!t.includes(e)&&!r.includes(e)}));for(var i in n)o.default.delete(this.filteredSessions,n[i]);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&&o.default.set(this.filteredSessions[c],"lastContact",a.lastContact):o.default.set(this.filteredSessions,c,a),a.id===this.currentSession.id&&o.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}}},R=(n(591),n(593),n(58)),N=Object(R.a)(T,(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-error"},[e._v("\n\t\t\t"+e._s(e.t("text","Network connection error: Could not connect to the document"))+" "),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,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,"is-rich-editor":e.isRichEditor}},[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.readOnly&&e.isRichEditor?r("MenuBubble",{attrs:{editor:e.tiptap}}):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),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,"a7acc05c",null);
+ */var E=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),x(this,O(t).apply(this,arguments))}var r,n,o;return 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&&P(e,t)}(t,e),r=t,(n=[{key:"keys",value:function(e){return e.schema,this.options}},{key:"name",get:function(){return"save"}}])&&_(r.prototype,n),o&&_(r,o),t}(w.e),C={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}}},I=n(248),M=n.n(I),T={name:"EditorWrapper",components:{EditorContent:w.b,MenuBar:function(){return Promise.all([n.e(196),n.e(190)]).then(n.bind(null,559))},MenuBubble:function(){return Promise.all([n.e(196),n.e(190)]).then(n.bind(null,560))},ReadOnlyEditor:function(){return Promise.all([n.e(0),n.e(195),n.e(187)]).then(n.bind(null,561))},CollisionResolveDialog:function(){return Promise.all([n.e(0),n.e(195),n.e(187)]).then(n.bind(null,562))},GuestNameDialog:function(){return Promise.all([n.e(186),n.e(189)]).then(n.bind(null,563))},SessionList:function(){return Promise.all([n.e(186),n.e(188)]).then(n.bind(null,564))}},directives:{Tooltip:M.a},mixins:[C],props:{relativePath:{type:String,default:null},fileId:{type:Number,default:null},active:{type:Boolean,default:!1},shareToken:{type:String,default:null},mime:{type:String,default:null}},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 save {lastSave}",{lastSave: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===b.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(l.b)(t,!!e.shareToken)}},hasDocumentParameters:function(){return this.fileId||this.shareToken},isPublic:function(){return 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(){var e=this;document.removeEventListener("keydown",this._keyUpHandler,!0),clearInterval(this.saveStatusPolling),this.currentSession&&this.syncService&&this.syncService.close().then((function(){e.currentSession=null,e.syncService=null})).catch((function(e){}))},methods:{updateLastSavedStatus:function(){this.document&&(this.lastSavedString=window.moment(1e3*this.document.lastSavedVersionTime).fromNow())},initSession:function(){var e=this;if(this.hasDocumentParameters){var t=localStorage.getItem("nick")?localStorage.getItem("nick"):Object(l.c)();this.syncService=new y({shareToken:this.shareToken,filePath:this.relativePath,guestName:t,forceRecreate:this.forceRecreate,serialize:function(t){if(e.isRichEditor){var r=Object(j.b)(e.tiptap.nodes,e.tiptap.marks).serialize(t);return console.debug("serialized document",{markdown:r}),r}var n=Object(j.e)(e.tiptap);return console.debug("serialized document",{file:n}),n}}).on("opened",(function(t){var r=t.document,n=t.session;e.currentSession=n,e.document=r,e.readOnly=r.readOnly,localStorage.setItem("nick",e.currentSession.guestName)})).on("change",(function(t){var r=t.document,n=t.sessions;""===e.document.baseVersionEtag||r.baseVersionEtag===e.document.baseVersionEtag?(e.updateSessions.bind(e)(n),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(j.c)(g[e.fileExtension]?g[e.fileExtension]:e.fileExtension).then((function(t){e.tiptap=Object(j.a)({content:e.isRichEditor?j.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 E({"Ctrl-s":function(){return e.syncService.save(),!0}})],enableRichEditing:e.isRichEditor,languages:t}),e.syncService.state=e.tiptap.state}))})).on("sync",(function(t){var r=t.steps,n=t.document;e.hasConnectionIssue=!1;try{e.tiptap.extensions.options.collaboration.update({version:n.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=n})).on("error",(function(t,r){e.tiptap.setOptions({editable:!1}),t!==b.SAVE_COLLISSION||e.syncError&&e.syncError.type===b.SAVE_COLLISSION||(e.initialLoading=!0,e.syncError={type:t,data:r}),t!==b.CONNECTION_FAILED||e.hasConnectionIssue||(e.hasConnectionIssue=!0,OC.Notification.showTemporary("Connection failed, reconnecting"),setTimeout(e.reconnect.bind(e),1e3)),t===b.SOURCE_NOT_FOUND&&(e.initialLoading=!1,OC.Notification.showTemporary("Source not found"),e.$emit("close"))})).on("stateChange",(function(t){t.initialLoading&&!e.initialLoading&&(e.initialLoading=!0,e.tiptap.focus("start")),t.hasOwnProperty("dirty")&&(e.dirty=t.dirty)})),this.syncService.open({fileId:this.fileId,filePath:this.relativePath}).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})),n=Object.keys(this.filteredSessions).filter((function(e){return!t.includes(e)&&!r.includes(e)}));for(var i in n)o.default.delete(this.filteredSessions,n[i]);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&&o.default.set(this.filteredSessions[c],"lastContact",a.lastContact):o.default.set(this.filteredSessions,c,a),a.id===this.currentSession.id&&o.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}}},R=(n(539),n(541),n(58)),N=Object(R.a)(T,(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-error"},[e._v("\n\t\t\t"+e._s(e.t("text","Network connection error: Could not connect to the document"))+" "),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,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,"is-rich-editor":e.isRichEditor}},[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.readOnly&&e.isRichEditor?r("MenuBubble",{attrs:{editor:e.tiptap}}):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),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,"a7acc05c",null);
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -105,7 +105,7 @@ var v={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},b={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/>.
*
- */r.default=N.exports},259:function(e,t,r){var n=r(491);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(245).default)("2a7d740c",n,!0,{})},264:function(e,t,r){var n=r(592);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(245).default)("6c88b482",n,!0,{})},265:function(e,t,r){var n=r(594);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(245).default)("5039213c",n,!0,{})},269:function(e,t,r){var n=r(604);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(245).default)("52eb0c89",n,!0,{})},270:function(e,t,r){var n=r(606);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(245).default)("62f53740",n,!0,{})},477:function(e,t,r){"use strict";var n=r(246),o=r(251);function i(e){return(i="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 s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}function l(e,t){return!t||"object"!==i(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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(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&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}
+ */r.default=N.exports},256:function(e,t,r){var n=r(481);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(244).default)("2a7d740c",n,!0,{})},260:function(e,t,r){var n=r(540);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(244).default)("6c88b482",n,!0,{})},261:function(e,t,r){var n=r(542);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(244).default)("5039213c",n,!0,{})},265:function(e,t,r){var n=r(552);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(244).default)("52eb0c89",n,!0,{})},266:function(e,t,r){var n=r(554);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(244).default)("62f53740",n,!0,{})},467:function(e,t,r){"use strict";var n=r(245),o=r(250);function i(e){return(i="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 s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}function l(e,t){return!t||"object"!==i(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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(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&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -126,7 +126,7 @@ var v={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},b={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 t(){return s(this,t),l(this,u(t).apply(this,arguments))}return d(t,e),c(t,[{key:"name",get:function(){return"strong"}}]),t}(o.b),f=function(e){function t(){return s(this,t),l(this,u(t).apply(this,arguments))}return d(t,e),c(t,[{key:"name",get:function(){return"em"}}]),t}(o.m),m=function(e){function t(){return s(this,t),l(this,u(t).apply(this,arguments))}return d(t,e),c(t,[{key:"schema",get:function(){return{parseDOM:[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",getAttrs:function(e){return"line-through"===e}}],toDOM:function(){return["s",0]},toMarkdown:{open:"~~",close:"~~",mixable:!0,expelEnclosingWhitespace:!0}}}}]),t}(o.q),v=["image/png","image/jpeg","image/gif","image/x-xbitmap","image/bmp","image/svg+xml"],b=function(e,t){var r=e.split("#")[1];if(void 0!==r){var n=r.split("&");if(void 0!==n)for(var o=0;o<n.length;o++){var i=n[o].split("=");if(decodeURIComponent(i[0])===t)return decodeURIComponent(i[1])}}},y={name:"ImageView",props:["node","updateAttrs","view"],data:function(){return{imageLoaded:!1,loaded:!1,failed:!1}},computed:{mimeIcon:function(){var e=b(this.src,"mimetype");return e?{backgroundImage:"url("+window.OC.MimeType.getIconUrl(e)+")"}:{}},isSupportedImage:function(){var e=b(this.src,"mimetype");return void 0===e||-1!==v.indexOf(e)},internalLinkOrImage:function(){var e=b(this.src,"fileId");return e?OC.generateUrl("/f/"+e):this.src},src:{get:function(){return this.node.attrs.src},set:function(e){this.updateAttrs({src:e})}},alt:{get:function(){return this.node.attrs.alt?this.node.attrs.alt:""},set:function(e){this.updateAttrs({alt:e})}},t:function(){return function(e,t){return window.t(e,t)}}},beforeMount:function(){var e=this;if(!this.isSupportedImage)return this.failed=!0,this.imageLoaded=!1,void(this.loaded=!0);var t=new Image;t.src=this.node.attrs.src,t.onload=function(){e.imageLoaded=!0},t.onerror=function(){e.failed=!0,e.imageLoaded=!1,e.loaded=!0}},methods:{updateAlt:function(){this.alt=this.$refs.altInput.value},onLoaded:function(){this.loaded=!0}}},g=(r(490),r(58)),j=Object(g.a)(y,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"image",class:{"icon-loading":!e.loaded},attrs:{"data-src":e.src}},[e.imageLoaded&&e.isSupportedImage?r("div",[r("transition",{attrs:{name:"fade"}},[r("img",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"image__main",attrs:{src:e.src},on:{load:e.onLoaded}})]),e._v(" "),r("transition",{attrs:{name:"fade"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"image__caption"},[r("input",{ref:"altInput",attrs:{type:"text"},domProps:{value:e.alt},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.updateAlt()}}})])])],1):r("div",{staticClass:"image__placeholder"},[r("transition",{attrs:{name:"fade"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"image__main"},[r("div",{staticClass:"icon-image",style:e.mimeIcon}),e._v(" "),r("p",[r("a",{attrs:{href:e.internalLinkOrImage,target:"_blank"}},[e._v(e._s(e.isSupportedImage?e.t("text","Show image"):e.t("text","Show file")))])])])]),r("transition",{attrs:{name:"fade"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"image__caption"},[r("input",{ref:"altInput",attrs:{type:"text"},domProps:{value:e.alt},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.updateAlt()}}})])])],1)])}),[],!1,null,"610cb7ec",null).exports;function w(e){return(w="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){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(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,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t){return!t||"object"!==w(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 O(e,t,r){return(O="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=P(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(r):o.value}})(e,t,r||e)}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}
+ */var h=function(e){function t(){return s(this,t),l(this,u(t).apply(this,arguments))}return d(t,e),c(t,[{key:"name",get:function(){return"strong"}}]),t}(o.b),f=function(e){function t(){return s(this,t),l(this,u(t).apply(this,arguments))}return d(t,e),c(t,[{key:"name",get:function(){return"em"}}]),t}(o.m),m=function(e){function t(){return s(this,t),l(this,u(t).apply(this,arguments))}return d(t,e),c(t,[{key:"schema",get:function(){return{parseDOM:[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",getAttrs:function(e){return"line-through"===e}}],toDOM:function(){return["s",0]},toMarkdown:{open:"~~",close:"~~",mixable:!0,expelEnclosingWhitespace:!0}}}}]),t}(o.q),v=["image/png","image/jpeg","image/gif","image/x-xbitmap","image/bmp","image/svg+xml"],b=function(e,t){var r=e.split("#")[1];if(void 0!==r){var n=r.split("&");if(void 0!==n)for(var o=0;o<n.length;o++){var i=n[o].split("=");if(decodeURIComponent(i[0])===t)return decodeURIComponent(i[1])}}},y={name:"ImageView",props:["node","updateAttrs","view"],data:function(){return{imageLoaded:!1,loaded:!1,failed:!1}},computed:{mimeIcon:function(){var e=b(this.src,"mimetype");return e?{backgroundImage:"url("+window.OC.MimeType.getIconUrl(e)+")"}:{}},isSupportedImage:function(){var e=b(this.src,"mimetype");return void 0===e||-1!==v.indexOf(e)},internalLinkOrImage:function(){var e=b(this.src,"fileId");return e?OC.generateUrl("/f/"+e):this.src},src:{get:function(){return this.node.attrs.src},set:function(e){this.updateAttrs({src:e})}},alt:{get:function(){return this.node.attrs.alt?this.node.attrs.alt:""},set:function(e){this.updateAttrs({alt:e})}},t:function(){return function(e,t){return window.t(e,t)}}},beforeMount:function(){var e=this;if(!this.isSupportedImage)return this.failed=!0,this.imageLoaded=!1,void(this.loaded=!0);var t=new Image;t.src=this.node.attrs.src,t.onload=function(){e.imageLoaded=!0},t.onerror=function(){e.failed=!0,e.imageLoaded=!1,e.loaded=!0}},methods:{updateAlt:function(){this.alt=this.$refs.altInput.value},onLoaded:function(){this.loaded=!0}}},g=(r(480),r(58)),j=Object(g.a)(y,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"image",class:{"icon-loading":!e.loaded},attrs:{"data-src":e.src}},[e.imageLoaded&&e.isSupportedImage?r("div",[r("transition",{attrs:{name:"fade"}},[r("img",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"image__main",attrs:{src:e.src},on:{load:e.onLoaded}})]),e._v(" "),r("transition",{attrs:{name:"fade"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"image__caption"},[r("input",{ref:"altInput",attrs:{type:"text"},domProps:{value:e.alt},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.updateAlt()}}})])])],1):r("div",{staticClass:"image__placeholder"},[r("transition",{attrs:{name:"fade"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"image__main"},[r("div",{staticClass:"icon-image",style:e.mimeIcon}),e._v(" "),r("p",[r("a",{attrs:{href:e.internalLinkOrImage,target:"_blank"}},[e._v(e._s(e.isSupportedImage?e.t("text","Show image"):e.t("text","Show file")))])])])]),r("transition",{attrs:{name:"fade"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"image__caption"},[r("input",{ref:"altInput",attrs:{type:"text"},domProps:{value:e.alt},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.updateAlt()}}})])])],1)])}),[],!1,null,"610cb7ec",null).exports;function w(e){return(w="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){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(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,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t){return!t||"object"!==w(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 O(e,t,r){return(O="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=P(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(r):o.value}})(e,t,r||e)}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -147,7 +147,7 @@ var v={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},b={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 C=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),x(this,P(t).apply(this,arguments))}var r,n,o;return 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(e,t)}(t,e),r=t,(n=[{key:"view",get:function(){return j}},{key:"schema",get:function(){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(r,!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},O(P(t.prototype),"schema",this),{selectable:!1})}}])&&_(r.prototype,n),o&&_(r,o),t}(o.l),I=r(258);function M(e){return(M="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 T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R(e,t){return!t||"object"!==M(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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}
+ */var C=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),x(this,P(t).apply(this,arguments))}var r,n,o;return 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(e,t)}(t,e),r=t,(n=[{key:"view",get:function(){return j}},{key:"schema",get:function(){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(r,!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},O(P(t.prototype),"schema",this),{selectable:!1})}}])&&_(r.prototype,n),o&&_(r,o),t}(o.l),I=r(255);function M(e){return(M="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 T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R(e,t){return!t||"object"!==M(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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -168,7 +168,7 @@ var v={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},b={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 D=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),R(this,N(t).apply(this,arguments))}var r,n,o;return 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&&L(e,t)}(t,e),r=t,(n=[{key:"keys",value:function(){var e=this;return{Tab:function(t){return Object(I.c)("\t")(t,e.editor.view.dispatch,e.editor.view),!0}}}},{key:"name",get:function(){return"doc"}},{key:"schema",get:function(){return{content:"block"}}}])&&T(r.prototype,n),o&&T(r,o),t}(n.g),A=r(492),U=r.n(A),z=r(544);
+ */var D=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),R(this,N(t).apply(this,arguments))}var r,n,o;return 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&&L(e,t)}(t,e),r=t,(n=[{key:"keys",value:function(){var e=this;return{Tab:function(t){return Object(I.c)("\t")(t,e.editor.view.dispatch,e.editor.view),!0}}}},{key:"name",get:function(){return"doc"}},{key:"schema",get:function(){return{content:"block"}}}])&&T(r.prototype,n),o&&T(r,o),t}(n.g),A=r(272),U=r.n(A),z=r(537);
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -211,5 +211,5 @@ var v={shareToken:null,forceRecreate:!1,serialize:function(e){return e}},b={SAVE
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-var H=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,o,i,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=[t],o={},i=0;case 3:if(!(i<n.length)){e.next=17;break}return e.prev=4,e.next=7,r(590)("./"+n[i]);case 7:s=e.sent,o[n[i]]=s.default,e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",void 0);case 14:i++,e.next=3;break;case 17:if(0!==Object.keys(o).length||o.constructor!==Object){e.next=19;break}return e.abrupt("return",void 0);case 19:return e.abrupt("return",{languages:o});case 20:case"end":return e.stop()}}),e,null,[[4,11]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function s(e){$(i,n,o,s,a,"next",e)}function a(e){$(i,n,o,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}(),W=function(e){var t=e.content,r=e.onInit,i=e.onUpdate,s=e.extensions,a=e.enableRichEditing,c=e.languages,l=[];return l=a?[new o.i,new o.d,new h,new f,new m,new o.h,new o.k,new o.c,new o.p,new o.a,new o.e,new o.o,new o.n,new C]:[new D,new n.j,new o.f(F({},c))],s=s||[],new n.a({content:t,onInit:r,onUpdate:i,extensions:[].concat(B(l),[new o.j]).concat(s),useBuiltInExtensions:a})},J=U()("commonmark",{html:!1,breaks:!1}).enable("strikethrough"),K=function(e){this.message=e},Y=function(e,t){var r=Object.entries(e).filter((function(e){return V(e,2)[1].toMarkdown})).reduce((function(e,t){var r=V(t,2);return F({},e,G({},r[0],r[1].toMarkdown))}),{}),n=Object.entries(t).filter((function(e){return V(e,2)[1].toMarkdown})).reduce((function(e,t){var r=V(t,2);return F({},e,G({},r[0],r[1].toMarkdown))}),{});return{serializer:new z.MarkdownSerializer(F({},z.defaultMarkdownSerializer.nodes,{},r),F({},z.defaultMarkdownSerializer.marks,{},n)),serialize:function(e,t){return this.serializer.serialize(e,F({},t,{tightLists:!0})).split("\\[ \\]").join("[ ]").split("\\[x\\]").join("[x]")}}},Z=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 K("Failed to serialize document to plain text")}var r=t.content[0].content[0];if("text"!==r.type)throw new K("Failed to serialize document to plain text");return r.text}},490:function(e,t,r){"use strict";var n=r(259);r.n(n).a},491:function(e,t,r){(e.exports=r(244)(!1)).push([e.i,".image[data-v-610cb7ec]{margin:0;padding:0}.image__caption[data-v-610cb7ec]{text-align:center;color:var(--color-text-lighter)}.image__caption input[type='text'][data-v-610cb7ec]{width:100%;border:none;text-align:center}.icon-image[data-v-610cb7ec]{margin-top:10px;height:32px;padding:20px;background-size:contain}.image__loading[data-v-610cb7ec]{height:100px}.image__placeholder .image__main[data-v-610cb7ec]{background-color:var(--color-background-dark);text-align:center;padding:20px;border-radius:var(--border-radius)}.image__placeholder .image__main .icon-image[data-v-610cb7ec]{opacity:0.7}.fade-enter-active[data-v-610cb7ec]{transition:opacity .3s ease-in-out}.fade-enter-to[data-v-610cb7ec]{opacity:1}.fade-enter[data-v-610cb7ec]{opacity:0}\n",""])},590:function(e,t,r){var n={"./1c":[292,1],"./1c.js":[292,1],"./abnf":[293,2],"./abnf.js":[293,2],"./accesslog":[294,3],"./accesslog.js":[294,3],"./actionscript":[295,4],"./actionscript.js":[295,4],"./ada":[296,5],"./ada.js":[296,5],"./angelscript":[297,6],"./angelscript.js":[297,6],"./apache":[298,7],"./apache.js":[298,7],"./applescript":[299,8],"./applescript.js":[299,8],"./arcade":[300,9],"./arcade.js":[300,9],"./arduino":[301,10],"./arduino.js":[301,10],"./armasm":[302,11],"./armasm.js":[302,11],"./asciidoc":[303,12],"./asciidoc.js":[303,12],"./aspectj":[304,13],"./aspectj.js":[304,13],"./autohotkey":[305,14],"./autohotkey.js":[305,14],"./autoit":[306,15],"./autoit.js":[306,15],"./avrasm":[307,16],"./avrasm.js":[307,16],"./awk":[308,17],"./awk.js":[308,17],"./axapta":[309,18],"./axapta.js":[309,18],"./bash":[310,19],"./bash.js":[310,19],"./basic":[311,20],"./basic.js":[311,20],"./bnf":[312,21],"./bnf.js":[312,21],"./brainfuck":[313,22],"./brainfuck.js":[313,22],"./cal":[314,23],"./cal.js":[314,23],"./capnproto":[315,24],"./capnproto.js":[315,24],"./ceylon":[316,25],"./ceylon.js":[316,25],"./clean":[317,26],"./clean.js":[317,26],"./clojure":[319,27],"./clojure-repl":[318,28],"./clojure-repl.js":[318,28],"./clojure.js":[319,27],"./cmake":[320,29],"./cmake.js":[320,29],"./coffeescript":[321,30],"./coffeescript.js":[321,30],"./coq":[322,31],"./coq.js":[322,31],"./cos":[323,32],"./cos.js":[323,32],"./cpp":[324,33],"./cpp.js":[324,33],"./crmsh":[325,34],"./crmsh.js":[325,34],"./crystal":[326,35],"./crystal.js":[326,35],"./cs":[327,36],"./cs.js":[327,36],"./csp":[328,37],"./csp.js":[328,37],"./css":[329,38],"./css.js":[329,38],"./d":[330,39],"./d.js":[330,39],"./dart":[331,40],"./dart.js":[331,40],"./delphi":[332,41],"./delphi.js":[332,41],"./diff":[333,42],"./diff.js":[333,42],"./django":[334,43],"./django.js":[334,43],"./dns":[335,44],"./dns.js":[335,44],"./dockerfile":[336,45],"./dockerfile.js":[336,45],"./dos":[337,46],"./dos.js":[337,46],"./dsconfig":[338,47],"./dsconfig.js":[338,47],"./dts":[339,48],"./dts.js":[339,48],"./dust":[340,49],"./dust.js":[340,49],"./ebnf":[341,50],"./ebnf.js":[341,50],"./elixir":[342,51],"./elixir.js":[342,51],"./elm":[343,52],"./elm.js":[343,52],"./erb":[344,53],"./erb.js":[344,53],"./erlang":[346,54],"./erlang-repl":[345,55],"./erlang-repl.js":[345,55],"./erlang.js":[346,54],"./excel":[347,56],"./excel.js":[347,56],"./fix":[348,57],"./fix.js":[348,57],"./flix":[349,58],"./flix.js":[349,58],"./fortran":[350,59],"./fortran.js":[350,59],"./fsharp":[351,60],"./fsharp.js":[351,60],"./gams":[352,61],"./gams.js":[352,61],"./gauss":[353,62],"./gauss.js":[353,62],"./gcode":[354,63],"./gcode.js":[354,63],"./gherkin":[355,64],"./gherkin.js":[355,64],"./glsl":[356,65],"./glsl.js":[356,65],"./gml":[357,66],"./gml.js":[357,66],"./go":[358,67],"./go.js":[358,67],"./golo":[359,68],"./golo.js":[359,68],"./gradle":[360,69],"./gradle.js":[360,69],"./groovy":[361,70],"./groovy.js":[361,70],"./haml":[362,71],"./haml.js":[362,71],"./handlebars":[363,72],"./handlebars.js":[363,72],"./haskell":[364,73],"./haskell.js":[364,73],"./haxe":[365,74],"./haxe.js":[365,74],"./hsp":[366,75],"./hsp.js":[366,75],"./htmlbars":[367,76],"./htmlbars.js":[367,76],"./http":[368,77],"./http.js":[368,77],"./hy":[369,78],"./hy.js":[369,78],"./inform7":[370,79],"./inform7.js":[370,79],"./ini":[371,80],"./ini.js":[371,80],"./irpf90":[372,81],"./irpf90.js":[372,81],"./isbl":[373,82],"./isbl.js":[373,82],"./java":[374,83],"./java.js":[374,83],"./javascript":[375,84],"./javascript.js":[375,84],"./jboss-cli":[376,85],"./jboss-cli.js":[376,85],"./json":[377,86],"./json.js":[377,86],"./julia":[379,87],"./julia-repl":[378,88],"./julia-repl.js":[378,88],"./julia.js":[379,87],"./kotlin":[380,89],"./kotlin.js":[380,89],"./lasso":[381,90],"./lasso.js":[381,90],"./ldif":[382,91],"./ldif.js":[382,91],"./leaf":[383,92],"./leaf.js":[383,92],"./less":[384,93],"./less.js":[384,93],"./lisp":[385,94],"./lisp.js":[385,94],"./livecodeserver":[386,95],"./livecodeserver.js":[386,95],"./livescript":[387,96],"./livescript.js":[387,96],"./llvm":[388,97],"./llvm.js":[388,97],"./lsl":[389,98],"./lsl.js":[389,98],"./lua":[390,99],"./lua.js":[390,99],"./makefile":[391,100],"./makefile.js":[391,100],"./markdown":[392,101],"./markdown.js":[392,101],"./mathematica":[393,102],"./mathematica.js":[393,102],"./matlab":[394,103],"./matlab.js":[394,103],"./maxima":[395,104],"./maxima.js":[395,104],"./mel":[396,105],"./mel.js":[396,105],"./mercury":[397,106],"./mercury.js":[397,106],"./mipsasm":[398,107],"./mipsasm.js":[398,107],"./mizar":[399,108],"./mizar.js":[399,108],"./mojolicious":[400,109],"./mojolicious.js":[400,109],"./monkey":[401,110],"./monkey.js":[401,110],"./moonscript":[402,111],"./moonscript.js":[402,111],"./n1ql":[403,112],"./n1ql.js":[403,112],"./nginx":[404,113],"./nginx.js":[404,113],"./nimrod":[405,114],"./nimrod.js":[405,114],"./nix":[406,115],"./nix.js":[406,115],"./nsis":[407,116],"./nsis.js":[407,116],"./objectivec":[408,117],"./objectivec.js":[408,117],"./ocaml":[409,118],"./ocaml.js":[409,118],"./openscad":[410,119],"./openscad.js":[410,119],"./oxygene":[411,120],"./oxygene.js":[411,120],"./parser3":[412,121],"./parser3.js":[412,121],"./perl":[413,122],"./perl.js":[413,122],"./pf":[414,123],"./pf.js":[414,123],"./pgsql":[415,124],"./pgsql.js":[415,124],"./php":[416,125],"./php.js":[416,125],"./plaintext":[417,126],"./plaintext.js":[417,126],"./pony":[418,127],"./pony.js":[418,127],"./powershell":[419,128],"./powershell.js":[419,128],"./processing":[420,129],"./processing.js":[420,129],"./profile":[421,130],"./profile.js":[421,130],"./prolog":[422,131],"./prolog.js":[422,131],"./properties":[423,132],"./properties.js":[423,132],"./protobuf":[424,133],"./protobuf.js":[424,133],"./puppet":[425,134],"./puppet.js":[425,134],"./purebasic":[426,135],"./purebasic.js":[426,135],"./python":[427,136],"./python.js":[427,136],"./q":[428,137],"./q.js":[428,137],"./qml":[429,138],"./qml.js":[429,138],"./r":[430,139],"./r.js":[430,139],"./reasonml":[431,140],"./reasonml.js":[431,140],"./rib":[432,141],"./rib.js":[432,141],"./roboconf":[433,142],"./roboconf.js":[433,142],"./routeros":[434,143],"./routeros.js":[434,143],"./rsl":[435,144],"./rsl.js":[435,144],"./ruby":[436,145],"./ruby.js":[436,145],"./ruleslanguage":[437,146],"./ruleslanguage.js":[437,146],"./rust":[438,147],"./rust.js":[438,147],"./sas":[439,148],"./sas.js":[439,148],"./scala":[440,149],"./scala.js":[440,149],"./scheme":[441,150],"./scheme.js":[441,150],"./scilab":[442,151],"./scilab.js":[442,151],"./scss":[443,152],"./scss.js":[443,152],"./shell":[444,153],"./shell.js":[444,153],"./smali":[445,154],"./smali.js":[445,154],"./smalltalk":[446,155],"./smalltalk.js":[446,155],"./sml":[447,156],"./sml.js":[447,156],"./sqf":[448,157],"./sqf.js":[448,157],"./sql":[449,158],"./sql.js":[449,158],"./stan":[450,159],"./stan.js":[450,159],"./stata":[451,160],"./stata.js":[451,160],"./step21":[452,161],"./step21.js":[452,161],"./stylus":[453,162],"./stylus.js":[453,162],"./subunit":[454,163],"./subunit.js":[454,163],"./swift":[455,164],"./swift.js":[455,164],"./taggerscript":[456,165],"./taggerscript.js":[456,165],"./tap":[457,166],"./tap.js":[457,166],"./tcl":[458,167],"./tcl.js":[458,167],"./tex":[459,168],"./tex.js":[459,168],"./thrift":[460,169],"./thrift.js":[460,169],"./tp":[461,170],"./tp.js":[461,170],"./twig":[462,171],"./twig.js":[462,171],"./typescript":[463,172],"./typescript.js":[463,172],"./vala":[464,173],"./vala.js":[464,173],"./vbnet":[465,174],"./vbnet.js":[465,174],"./vbscript":[467,175],"./vbscript-html":[466,176],"./vbscript-html.js":[466,176],"./vbscript.js":[467,175],"./verilog":[468,177],"./verilog.js":[468,177],"./vhdl":[469,178],"./vhdl.js":[469,178],"./vim":[470,179],"./vim.js":[470,179],"./x86asm":[471,180],"./x86asm.js":[471,180],"./xl":[472,181],"./xl.js":[472,181],"./xml":[473,182],"./xml.js":[473,182],"./xquery":[474,183],"./xquery.js":[474,183],"./yaml":[475,184],"./yaml.js":[475,184],"./zephir":[476,185],"./zephir.js":[476,185]};function o(e){if(!r.o(n,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],o=t[0];return r.e(t[1]).then((function(){return r.t(o,7)}))}o.keys=function(){return Object.keys(n)},o.id=590,e.exports=o},591:function(e,t,r){"use strict";var n=r(264);r.n(n).a},592:function(e,t,r){(e.exports=r(244)(!1)).push([e.i,"#editor-container[data-v-a7acc05c]{display:block;width:100vw;max-width:100%;height:calc(100% - 50px);top:50px;left:0;margin:0 auto;position:relative;background-color:var(--color-main-background)}#editor-wrapper[data-v-a7acc05c]{display:flex;width:100%;height:100%;overflow:hidden;position:absolute}#editor-wrapper .ProseMirror[data-v-a7acc05c]{margin-top:0 !important}#editor-wrapper.icon-loading #editor[data-v-a7acc05c]{opacity:0.3}#editor[data-v-a7acc05c],.editor[data-v-a7acc05c]{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-a7acc05c]{padding:12px;border-bottom:1px solid var(--color-error);padding-left:30px;background-position:8px center}.save-status[data-v-a7acc05c]{padding:9px;text-overflow:ellipsis;color:var(--color-text-lighter)}.save-status.error[data-v-a7acc05c]{background-color:var(--color-error);color:var(--color-main-background);border-radius:3px}#editor-container #editor-wrapper.has-conflicts[data-v-a7acc05c]{height:calc(100% - 50px)}#editor-container #editor-wrapper.has-conflicts #editor[data-v-a7acc05c],#editor-container #editor-wrapper.has-conflicts #read-only-editor[data-v-a7acc05c]{width:50%;height:100%}#editor-session-list[data-v-a7acc05c]{padding:9px;padding-right:16px;display:flex}#editor-session-list input[data-v-a7acc05c],#editor-session-list div[data-v-a7acc05c]{vertical-align:middle;margin-left:3px}.editor__content[data-v-a7acc05c]{max-width:670px;margin:auto}#body-public[data-v-a7acc05c]{height:auto}#files-public-content[data-v-a7acc05c]{height:auto}#files-public-content #editor-wrapper[data-v-a7acc05c]{position:relative}#files-public-content #editor-container[data-v-a7acc05c]{top:0;width:100%}#files-public-content #editor-container #editor[data-v-a7acc05c] .menubar{position:fixed;top:50px;width:100%}#files-public-content #editor-container #editor[data-v-a7acc05c]{padding-top:50px;overflow:auto}#files-public-content #editor-container .has-conflicts #editor[data-v-a7acc05c]{padding-top:0px}.ie #editor[data-v-a7acc05c] .menubar{position:fixed;top:50px;width:100%}.ie .editor__content[data-v-a7acc05c] .ProseMirror{padding-top:50px}\n",""])},593:function(e,t,r){"use strict";var n=r(265);r.n(n).a},594:function(e,t,r){(e.exports=r(244)(!1)).push([e.i,'.modal-container #editor-container{position:absolute}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.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}}div[contenteditable=true],div[contenteditable=false]{border:none !important;width:100%;background-color:transparent;color:var(--color-main-text);opacity:1;-webkit-user-select:text;user-select:text}#editor-wrapper .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 .ProseMirror p:first-child,#editor-wrapper .ProseMirror h1:first-child,#editor-wrapper .ProseMirror h2:first-child,#editor-wrapper .ProseMirror h3:first-child,#editor-wrapper .ProseMirror h4:first-child,#editor-wrapper .ProseMirror h5:first-child,#editor-wrapper .ProseMirror h6:first-child{margin-top:10px}#editor-wrapper .ProseMirror a{color:var(--color-primary-element);text-decoration:underline;padding:.5em 0}#editor-wrapper .ProseMirror p{margin-bottom:1em;line-height:150%}#editor-wrapper .ProseMirror em{font-style:italic}#editor-wrapper .ProseMirror h1{font-size:36px}#editor-wrapper .ProseMirror h2{font-size:28px}#editor-wrapper .ProseMirror h3{font-size:24px}#editor-wrapper .ProseMirror h4{font-size:21px}#editor-wrapper .ProseMirror h5{font-size:17px}#editor-wrapper .ProseMirror h6{font-size:14px}#editor-wrapper .ProseMirror h1,#editor-wrapper .ProseMirror h2,#editor-wrapper .ProseMirror h3,#editor-wrapper .ProseMirror h4,#editor-wrapper .ProseMirror h5,#editor-wrapper .ProseMirror h6{font-weight:600;line-height:120%;margin-top:24px;margin-bottom:12px;color:var(--color-main-text)}#editor-wrapper .ProseMirror img{cursor:default;max-width:100%}#editor-wrapper .ProseMirror hr{padding:2px 0;border:none;margin:1em 0;width:100%}#editor-wrapper .ProseMirror hr:after{content:"";display:block;height:1px;background-color:var(--color-border-dark);line-height:2px}#editor-wrapper .ProseMirror pre{white-space:pre-wrap;background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:1em 1.3em;margin-bottom:1em}#editor-wrapper .ProseMirror p code{background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:.1em .3em}#editor-wrapper .ProseMirror li{position:relative}#editor-wrapper .ProseMirror ul,#editor-wrapper .ProseMirror ol{padding-left:14px}#editor-wrapper .ProseMirror ul li{list-style-type:disc}#editor-wrapper .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-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-name,#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',""])},603:function(e,t,r){"use strict";var n=r(269);r.n(n).a},604:function(e,t,r){(e.exports=r(244)(!1)).push([e.i,"#read-only-editor[data-v-6d7c0aec]{overflow:scroll}\n",""])},605:function(e,t,r){"use strict";var n=r(270);r.n(n).a},606:function(e,t,r){(e.exports=r(244)(!1)).push([e.i,"#resolve-conflicts[data-v-1c2d184a]{display:flex;position:fixed;z-index:10000;bottom:0;max-width:900px;width:100vw;margin:auto;padding:20px 0}#resolve-conflicts button[data-v-1c2d184a]{margin:auto;box-shadow:0 0 10px var(--color-box-shadow)}\n",""])},613:function(e,t,r){"use strict";r.r(t);var n=r(246),o=r(273),i=r.n(o),s=r(477),a={name:"ReadOnlyEditor",components:{EditorContent:n.b},props:{content:{type:String,required:!0},isRichEditor:{type:Boolean,default:!1}},data:function(){return{editor:null}},mounted:function(){this.editor=Object(s.a)({content:this.isRichEditor?s.d.render(this.content):"<pre>"+i()(this.content)+"</pre>",enableRichEditing:this.isRichEditor}),this.editor.setOptions({editable:!1})},beforeDestroy:function(){this.editor.destroy()}},c=(r(603),r(58)),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,"6d7c0aec",null);t.default=l.exports},614:function(e,t,r){"use strict";r.r(t);var n={name:"CollisionResolveDialog"},o=(r(605),r(58)),i=Object(o.a)(n,(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,"1c2d184a",null);t.default=i.exports}}]);
-//# sourceMappingURL=editor.js.map?v=6ee2774f6851c22e63e2 \ No newline at end of file
+var H=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,o,i,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=[t],o={},i=0;case 3:if(!(i<n.length)){e.next=17;break}return e.prev=4,e.next=7,r(538)("./"+n[i]);case 7:s=e.sent,o[n[i]]=s.default,e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",void 0);case 14:i++,e.next=3;break;case 17:if(0!==Object.keys(o).length||o.constructor!==Object){e.next=19;break}return e.abrupt("return",void 0);case 19:return e.abrupt("return",{languages:o});case 20:case"end":return e.stop()}}),e,null,[[4,11]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function s(e){$(i,n,o,s,a,"next",e)}function a(e){$(i,n,o,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}(),W=function(e){var t=e.content,r=e.onInit,i=e.onUpdate,s=e.extensions,a=e.enableRichEditing,c=e.languages,l=[];return l=a?[new o.i,new o.d,new h,new f,new m,new o.h,new o.k,new o.c,new o.p,new o.a,new o.e,new o.o,new o.n,new C]:[new D,new n.j,new o.f(F({},c))],s=s||[],new n.a({content:t,onInit:r,onUpdate:i,extensions:[].concat(B(l),[new o.j]).concat(s),useBuiltInExtensions:a})},J=U()("commonmark",{html:!1,breaks:!1}).enable("strikethrough"),K=function(e){this.message=e},Y=function(e,t){var r=Object.entries(e).filter((function(e){return V(e,2)[1].toMarkdown})).reduce((function(e,t){var r=V(t,2);return F({},e,G({},r[0],r[1].toMarkdown))}),{}),n=Object.entries(t).filter((function(e){return V(e,2)[1].toMarkdown})).reduce((function(e,t){var r=V(t,2);return F({},e,G({},r[0],r[1].toMarkdown))}),{});return{serializer:new z.MarkdownSerializer(F({},z.defaultMarkdownSerializer.nodes,{},r),F({},z.defaultMarkdownSerializer.marks,{},n)),serialize:function(e,t){return this.serializer.serialize(e,F({},t,{tightLists:!0})).split("\\[ \\]").join("[ ]").split("\\[x\\]").join("[x]")}}},Z=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 K("Failed to serialize document to plain text")}var r=t.content[0].content[0];if("text"!==r.type)throw new K("Failed to serialize document to plain text");return r.text}},480:function(e,t,r){"use strict";var n=r(256);r.n(n).a},481:function(e,t,r){(e.exports=r(243)(!1)).push([e.i,".image[data-v-610cb7ec]{margin:0;padding:0}.image__caption[data-v-610cb7ec]{text-align:center;color:var(--color-text-lighter)}.image__caption input[type='text'][data-v-610cb7ec]{width:100%;border:none;text-align:center}.icon-image[data-v-610cb7ec]{margin-top:10px;height:32px;padding:20px;background-size:contain}.image__loading[data-v-610cb7ec]{height:100px}.image__placeholder .image__main[data-v-610cb7ec]{background-color:var(--color-background-dark);text-align:center;padding:20px;border-radius:var(--border-radius)}.image__placeholder .image__main .icon-image[data-v-610cb7ec]{opacity:0.7}.fade-enter-active[data-v-610cb7ec]{transition:opacity .3s ease-in-out}.fade-enter-to[data-v-610cb7ec]{opacity:1}.fade-enter[data-v-610cb7ec]{opacity:0}\n",""])},538:function(e,t,r){var n={"./1c":[282,1],"./1c.js":[282,1],"./abnf":[283,2],"./abnf.js":[283,2],"./accesslog":[284,3],"./accesslog.js":[284,3],"./actionscript":[285,4],"./actionscript.js":[285,4],"./ada":[286,5],"./ada.js":[286,5],"./angelscript":[287,6],"./angelscript.js":[287,6],"./apache":[288,7],"./apache.js":[288,7],"./applescript":[289,8],"./applescript.js":[289,8],"./arcade":[290,9],"./arcade.js":[290,9],"./arduino":[291,10],"./arduino.js":[291,10],"./armasm":[292,11],"./armasm.js":[292,11],"./asciidoc":[293,12],"./asciidoc.js":[293,12],"./aspectj":[294,13],"./aspectj.js":[294,13],"./autohotkey":[295,14],"./autohotkey.js":[295,14],"./autoit":[296,15],"./autoit.js":[296,15],"./avrasm":[297,16],"./avrasm.js":[297,16],"./awk":[298,17],"./awk.js":[298,17],"./axapta":[299,18],"./axapta.js":[299,18],"./bash":[300,19],"./bash.js":[300,19],"./basic":[301,20],"./basic.js":[301,20],"./bnf":[302,21],"./bnf.js":[302,21],"./brainfuck":[303,22],"./brainfuck.js":[303,22],"./cal":[304,23],"./cal.js":[304,23],"./capnproto":[305,24],"./capnproto.js":[305,24],"./ceylon":[306,25],"./ceylon.js":[306,25],"./clean":[307,26],"./clean.js":[307,26],"./clojure":[309,27],"./clojure-repl":[308,28],"./clojure-repl.js":[308,28],"./clojure.js":[309,27],"./cmake":[310,29],"./cmake.js":[310,29],"./coffeescript":[311,30],"./coffeescript.js":[311,30],"./coq":[312,31],"./coq.js":[312,31],"./cos":[313,32],"./cos.js":[313,32],"./cpp":[314,33],"./cpp.js":[314,33],"./crmsh":[315,34],"./crmsh.js":[315,34],"./crystal":[316,35],"./crystal.js":[316,35],"./cs":[317,36],"./cs.js":[317,36],"./csp":[318,37],"./csp.js":[318,37],"./css":[319,38],"./css.js":[319,38],"./d":[320,39],"./d.js":[320,39],"./dart":[321,40],"./dart.js":[321,40],"./delphi":[322,41],"./delphi.js":[322,41],"./diff":[323,42],"./diff.js":[323,42],"./django":[324,43],"./django.js":[324,43],"./dns":[325,44],"./dns.js":[325,44],"./dockerfile":[326,45],"./dockerfile.js":[326,45],"./dos":[327,46],"./dos.js":[327,46],"./dsconfig":[328,47],"./dsconfig.js":[328,47],"./dts":[329,48],"./dts.js":[329,48],"./dust":[330,49],"./dust.js":[330,49],"./ebnf":[331,50],"./ebnf.js":[331,50],"./elixir":[332,51],"./elixir.js":[332,51],"./elm":[333,52],"./elm.js":[333,52],"./erb":[334,53],"./erb.js":[334,53],"./erlang":[336,54],"./erlang-repl":[335,55],"./erlang-repl.js":[335,55],"./erlang.js":[336,54],"./excel":[337,56],"./excel.js":[337,56],"./fix":[338,57],"./fix.js":[338,57],"./flix":[339,58],"./flix.js":[339,58],"./fortran":[340,59],"./fortran.js":[340,59],"./fsharp":[341,60],"./fsharp.js":[341,60],"./gams":[342,61],"./gams.js":[342,61],"./gauss":[343,62],"./gauss.js":[343,62],"./gcode":[344,63],"./gcode.js":[344,63],"./gherkin":[345,64],"./gherkin.js":[345,64],"./glsl":[346,65],"./glsl.js":[346,65],"./gml":[347,66],"./gml.js":[347,66],"./go":[348,67],"./go.js":[348,67],"./golo":[349,68],"./golo.js":[349,68],"./gradle":[350,69],"./gradle.js":[350,69],"./groovy":[351,70],"./groovy.js":[351,70],"./haml":[352,71],"./haml.js":[352,71],"./handlebars":[353,72],"./handlebars.js":[353,72],"./haskell":[354,73],"./haskell.js":[354,73],"./haxe":[355,74],"./haxe.js":[355,74],"./hsp":[356,75],"./hsp.js":[356,75],"./htmlbars":[357,76],"./htmlbars.js":[357,76],"./http":[358,77],"./http.js":[358,77],"./hy":[359,78],"./hy.js":[359,78],"./inform7":[360,79],"./inform7.js":[360,79],"./ini":[361,80],"./ini.js":[361,80],"./irpf90":[362,81],"./irpf90.js":[362,81],"./isbl":[363,82],"./isbl.js":[363,82],"./java":[364,83],"./java.js":[364,83],"./javascript":[365,84],"./javascript.js":[365,84],"./jboss-cli":[366,85],"./jboss-cli.js":[366,85],"./json":[367,86],"./json.js":[367,86],"./julia":[369,87],"./julia-repl":[368,88],"./julia-repl.js":[368,88],"./julia.js":[369,87],"./kotlin":[370,89],"./kotlin.js":[370,89],"./lasso":[371,90],"./lasso.js":[371,90],"./ldif":[372,91],"./ldif.js":[372,91],"./leaf":[373,92],"./leaf.js":[373,92],"./less":[374,93],"./less.js":[374,93],"./lisp":[375,94],"./lisp.js":[375,94],"./livecodeserver":[376,95],"./livecodeserver.js":[376,95],"./livescript":[377,96],"./livescript.js":[377,96],"./llvm":[378,97],"./llvm.js":[378,97],"./lsl":[379,98],"./lsl.js":[379,98],"./lua":[380,99],"./lua.js":[380,99],"./makefile":[381,100],"./makefile.js":[381,100],"./markdown":[382,101],"./markdown.js":[382,101],"./mathematica":[383,102],"./mathematica.js":[383,102],"./matlab":[384,103],"./matlab.js":[384,103],"./maxima":[385,104],"./maxima.js":[385,104],"./mel":[386,105],"./mel.js":[386,105],"./mercury":[387,106],"./mercury.js":[387,106],"./mipsasm":[388,107],"./mipsasm.js":[388,107],"./mizar":[389,108],"./mizar.js":[389,108],"./mojolicious":[390,109],"./mojolicious.js":[390,109],"./monkey":[391,110],"./monkey.js":[391,110],"./moonscript":[392,111],"./moonscript.js":[392,111],"./n1ql":[393,112],"./n1ql.js":[393,112],"./nginx":[394,113],"./nginx.js":[394,113],"./nimrod":[395,114],"./nimrod.js":[395,114],"./nix":[396,115],"./nix.js":[396,115],"./nsis":[397,116],"./nsis.js":[397,116],"./objectivec":[398,117],"./objectivec.js":[398,117],"./ocaml":[399,118],"./ocaml.js":[399,118],"./openscad":[400,119],"./openscad.js":[400,119],"./oxygene":[401,120],"./oxygene.js":[401,120],"./parser3":[402,121],"./parser3.js":[402,121],"./perl":[403,122],"./perl.js":[403,122],"./pf":[404,123],"./pf.js":[404,123],"./pgsql":[405,124],"./pgsql.js":[405,124],"./php":[406,125],"./php.js":[406,125],"./plaintext":[407,126],"./plaintext.js":[407,126],"./pony":[408,127],"./pony.js":[408,127],"./powershell":[409,128],"./powershell.js":[409,128],"./processing":[410,129],"./processing.js":[410,129],"./profile":[411,130],"./profile.js":[411,130],"./prolog":[412,131],"./prolog.js":[412,131],"./properties":[413,132],"./properties.js":[413,132],"./protobuf":[414,133],"./protobuf.js":[414,133],"./puppet":[415,134],"./puppet.js":[415,134],"./purebasic":[416,135],"./purebasic.js":[416,135],"./python":[417,136],"./python.js":[417,136],"./q":[418,137],"./q.js":[418,137],"./qml":[419,138],"./qml.js":[419,138],"./r":[420,139],"./r.js":[420,139],"./reasonml":[421,140],"./reasonml.js":[421,140],"./rib":[422,141],"./rib.js":[422,141],"./roboconf":[423,142],"./roboconf.js":[423,142],"./routeros":[424,143],"./routeros.js":[424,143],"./rsl":[425,144],"./rsl.js":[425,144],"./ruby":[426,145],"./ruby.js":[426,145],"./ruleslanguage":[427,146],"./ruleslanguage.js":[427,146],"./rust":[428,147],"./rust.js":[428,147],"./sas":[429,148],"./sas.js":[429,148],"./scala":[430,149],"./scala.js":[430,149],"./scheme":[431,150],"./scheme.js":[431,150],"./scilab":[432,151],"./scilab.js":[432,151],"./scss":[433,152],"./scss.js":[433,152],"./shell":[434,153],"./shell.js":[434,153],"./smali":[435,154],"./smali.js":[435,154],"./smalltalk":[436,155],"./smalltalk.js":[436,155],"./sml":[437,156],"./sml.js":[437,156],"./sqf":[438,157],"./sqf.js":[438,157],"./sql":[439,158],"./sql.js":[439,158],"./stan":[440,159],"./stan.js":[440,159],"./stata":[441,160],"./stata.js":[441,160],"./step21":[442,161],"./step21.js":[442,161],"./stylus":[443,162],"./stylus.js":[443,162],"./subunit":[444,163],"./subunit.js":[444,163],"./swift":[445,164],"./swift.js":[445,164],"./taggerscript":[446,165],"./taggerscript.js":[446,165],"./tap":[447,166],"./tap.js":[447,166],"./tcl":[448,167],"./tcl.js":[448,167],"./tex":[449,168],"./tex.js":[449,168],"./thrift":[450,169],"./thrift.js":[450,169],"./tp":[451,170],"./tp.js":[451,170],"./twig":[452,171],"./twig.js":[452,171],"./typescript":[453,172],"./typescript.js":[453,172],"./vala":[454,173],"./vala.js":[454,173],"./vbnet":[455,174],"./vbnet.js":[455,174],"./vbscript":[457,175],"./vbscript-html":[456,176],"./vbscript-html.js":[456,176],"./vbscript.js":[457,175],"./verilog":[458,177],"./verilog.js":[458,177],"./vhdl":[459,178],"./vhdl.js":[459,178],"./vim":[460,179],"./vim.js":[460,179],"./x86asm":[461,180],"./x86asm.js":[461,180],"./xl":[462,181],"./xl.js":[462,181],"./xml":[463,182],"./xml.js":[463,182],"./xquery":[464,183],"./xquery.js":[464,183],"./yaml":[465,184],"./yaml.js":[465,184],"./zephir":[466,185],"./zephir.js":[466,185]};function o(e){if(!r.o(n,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],o=t[0];return r.e(t[1]).then((function(){return r.t(o,7)}))}o.keys=function(){return Object.keys(n)},o.id=538,e.exports=o},539:function(e,t,r){"use strict";var n=r(260);r.n(n).a},540:function(e,t,r){(e.exports=r(243)(!1)).push([e.i,"#editor-container[data-v-a7acc05c]{display:block;width:100vw;max-width:100%;height:calc(100% - 50px);top:50px;left:0;margin:0 auto;position:relative;background-color:var(--color-main-background)}#editor-wrapper[data-v-a7acc05c]{display:flex;width:100%;height:100%;overflow:hidden;position:absolute}#editor-wrapper .ProseMirror[data-v-a7acc05c]{margin-top:0 !important}#editor-wrapper.icon-loading #editor[data-v-a7acc05c]{opacity:0.3}#editor[data-v-a7acc05c],.editor[data-v-a7acc05c]{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-a7acc05c]{padding:12px;border-bottom:1px solid var(--color-error);padding-left:30px;background-position:8px center}.save-status[data-v-a7acc05c]{padding:9px;text-overflow:ellipsis;color:var(--color-text-lighter)}.save-status.error[data-v-a7acc05c]{background-color:var(--color-error);color:var(--color-main-background);border-radius:3px}#editor-container #editor-wrapper.has-conflicts[data-v-a7acc05c]{height:calc(100% - 50px)}#editor-container #editor-wrapper.has-conflicts #editor[data-v-a7acc05c],#editor-container #editor-wrapper.has-conflicts #read-only-editor[data-v-a7acc05c]{width:50%;height:100%}#editor-session-list[data-v-a7acc05c]{padding:9px;padding-right:16px;display:flex}#editor-session-list input[data-v-a7acc05c],#editor-session-list div[data-v-a7acc05c]{vertical-align:middle;margin-left:3px}.editor__content[data-v-a7acc05c]{max-width:670px;margin:auto}#body-public[data-v-a7acc05c]{height:auto}#files-public-content[data-v-a7acc05c]{height:auto}#files-public-content #editor-wrapper[data-v-a7acc05c]{position:relative}#files-public-content #editor-container[data-v-a7acc05c]{top:0;width:100%}#files-public-content #editor-container #editor[data-v-a7acc05c] .menubar{position:fixed;top:50px;width:100%}#files-public-content #editor-container #editor[data-v-a7acc05c]{padding-top:50px;overflow:auto}#files-public-content #editor-container .has-conflicts #editor[data-v-a7acc05c]{padding-top:0px}.ie #editor[data-v-a7acc05c] .menubar{position:fixed;top:50px;width:100%}.ie .editor__content[data-v-a7acc05c] .ProseMirror{padding-top:50px}\n",""])},541:function(e,t,r){"use strict";var n=r(261);r.n(n).a},542:function(e,t,r){(e.exports=r(243)(!1)).push([e.i,'.modal-container #editor-container{position:absolute}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.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}}div[contenteditable=true],div[contenteditable=false]{border:none !important;width:100%;background-color:transparent;color:var(--color-main-text);opacity:1;-webkit-user-select:text;user-select:text}#editor-wrapper .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 .ProseMirror p:first-child,#editor-wrapper .ProseMirror h1:first-child,#editor-wrapper .ProseMirror h2:first-child,#editor-wrapper .ProseMirror h3:first-child,#editor-wrapper .ProseMirror h4:first-child,#editor-wrapper .ProseMirror h5:first-child,#editor-wrapper .ProseMirror h6:first-child{margin-top:10px}#editor-wrapper .ProseMirror a{color:var(--color-primary-element);text-decoration:underline;padding:.5em 0}#editor-wrapper .ProseMirror p{margin-bottom:1em;line-height:150%}#editor-wrapper .ProseMirror em{font-style:italic}#editor-wrapper .ProseMirror h1{font-size:36px}#editor-wrapper .ProseMirror h2{font-size:28px}#editor-wrapper .ProseMirror h3{font-size:24px}#editor-wrapper .ProseMirror h4{font-size:21px}#editor-wrapper .ProseMirror h5{font-size:17px}#editor-wrapper .ProseMirror h6{font-size:14px}#editor-wrapper .ProseMirror h1,#editor-wrapper .ProseMirror h2,#editor-wrapper .ProseMirror h3,#editor-wrapper .ProseMirror h4,#editor-wrapper .ProseMirror h5,#editor-wrapper .ProseMirror h6{font-weight:600;line-height:120%;margin-top:24px;margin-bottom:12px;color:var(--color-main-text)}#editor-wrapper .ProseMirror img{cursor:default;max-width:100%}#editor-wrapper .ProseMirror hr{padding:2px 0;border:none;margin:1em 0;width:100%}#editor-wrapper .ProseMirror hr:after{content:"";display:block;height:1px;background-color:var(--color-border-dark);line-height:2px}#editor-wrapper .ProseMirror pre{white-space:pre-wrap;background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:1em 1.3em;margin-bottom:1em}#editor-wrapper .ProseMirror p code{background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:.1em .3em}#editor-wrapper .ProseMirror li{position:relative}#editor-wrapper .ProseMirror ul,#editor-wrapper .ProseMirror ol{padding-left:14px}#editor-wrapper .ProseMirror ul li{list-style-type:disc}#editor-wrapper .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-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-name,#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',""])},551:function(e,t,r){"use strict";var n=r(265);r.n(n).a},552:function(e,t,r){(e.exports=r(243)(!1)).push([e.i,"#read-only-editor[data-v-6d7c0aec]{overflow:scroll}\n",""])},553:function(e,t,r){"use strict";var n=r(266);r.n(n).a},554:function(e,t,r){(e.exports=r(243)(!1)).push([e.i,"#resolve-conflicts[data-v-1c2d184a]{display:flex;position:fixed;z-index:10000;bottom:0;max-width:900px;width:100vw;margin:auto;padding:20px 0}#resolve-conflicts button[data-v-1c2d184a]{margin:auto;box-shadow:0 0 10px var(--color-box-shadow)}\n",""])},561:function(e,t,r){"use strict";r.r(t);var n=r(245),o=r(269),i=r.n(o),s=r(467),a={name:"ReadOnlyEditor",components:{EditorContent:n.b},props:{content:{type:String,required:!0},isRichEditor:{type:Boolean,default:!1}},data:function(){return{editor:null}},mounted:function(){this.editor=Object(s.a)({content:this.isRichEditor?s.d.render(this.content):"<pre>"+i()(this.content)+"</pre>",enableRichEditing:this.isRichEditor}),this.editor.setOptions({editable:!1})},beforeDestroy:function(){this.editor.destroy()}},c=(r(551),r(58)),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,"6d7c0aec",null);t.default=l.exports},562:function(e,t,r){"use strict";r.r(t);var n={name:"CollisionResolveDialog"},o=(r(553),r(58)),i=Object(o.a)(n,(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,"1c2d184a",null);t.default=i.exports}}]);
+//# sourceMappingURL=editor.js.map?v=22c3795f40ad08143bee \ No newline at end of file