(window.textWebpackJsonp=window.textWebpackJsonp||[]).push([[196],{173:function(e,r,t){var o=t(375);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,t(89).default)("e7906548",o,!0,{})},174:function(e,r,t){var o=t(385);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,t(89).default)("5ba6a5c3",o,!0,{})},175:function(e,r,t){var o=t(387);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,t(89).default)("ed017fbc",o,!0,{})},370:function(e,r,t){"use strict";var o=t(169),i=t(172);function n(e){return(n="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 a(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function s(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,r,t){return r&&s(e.prototype,r),t&&s(e,t),e}function c(e,r){return!r||"object"!==n(r)&&"function"!=typeof r?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):r}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&u(e,r)}function u(e,r){return(u=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}
/*
 * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
 *
 * @author Julius Härtl <jus@bitgrid.net>
 *
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * 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 f=function(e){function r(){return a(this,r),c(this,d(r).apply(this,arguments))}return p(r,e),l(r,[{key:"name",get:function(){return"strong"}}]),r}(i.b),m=function(e){function r(){return a(this,r),c(this,d(r).apply(this,arguments))}return p(r,e),l(r,[{key:"name",get:function(){return"em"}}]),r}(i.m),b=function(e){function r(){return a(this,r),c(this,d(r).apply(this,arguments))}return p(r,e),l(r,[{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}}}}]),r}(i.r),h=["image/png","image/jpeg","image/gif","image/x-xbitmap","image/bmp","image/svg+xml"],y=function(e,r){var t=e.split("#")[1];if(void 0!==t){var o=t.split("&");if(void 0!==o)for(var i=0;i<o.length;i++){var n=o[i].split("=");if(decodeURIComponent(n[0])===r)return decodeURIComponent(n[1])}}},g={name:"ImageView",props:["node","updateAttrs","view"],data:function(){return{imageLoaded:!1,loaded:!1,failed:!1}},computed:{mimeIcon:function(){var e=y(this.src,"mimetype");return e?{backgroundImage:"url("+window.OC.MimeType.getIconUrl(e)+")"}:{}},isSupportedImage:function(){var e=y(this.src,"mimetype");return void 0===e||-1!==h.indexOf(e)},internalLinkOrImage:function(){var e=y(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,r){return window.t(e,r)}}},beforeMount:function(){var e=this;if(!this.isSupportedImage)return this.failed=!0,this.imageLoaded=!1,void(this.loaded=!0);var r=new Image;r.src=this.node.attrs.src,r.onload=function(){e.imageLoaded=!0},r.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}}},v=(t(374),t(19)),j=Object(v.a)(g,(function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"image",class:{"icon-loading":!e.loaded},attrs:{"data-src":e.src}},[e.imageLoaded&&e.isSupportedImage?t("div",[t("transition",{attrs:{name:"fade"}},[t("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(" "),t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"image__caption"},[t("input",{ref:"altInput",attrs:{type:"text"},domProps:{value:e.alt},on:{keyup:function(r){return!r.type.indexOf("key")&&e._k(r.keyCode,"enter",13,r.key,"Enter")?null:e.updateAlt()}}})])])],1):t("div",{staticClass:"image__placeholder"},[t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"image__main"},[t("div",{staticClass:"icon-image",style:e.mimeIcon}),e._v(" "),t("p",[t("a",{attrs:{href:e.internalLinkOrImage,target:"_blank"}},[e._v(e._s(e.isSupportedImage?e.t("text","Show image"):e.t("text","Show file")))])])])]),t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"image__caption"},[t("input",{ref:"altInput",attrs:{type:"text"},domProps:{value:e.alt},on:{keyup:function(r){return!r.type.indexOf("key")&&e._k(r.keyCode,"enter",13,r.key,"Enter")?null:e.updateAlt()}}})])])],1)])}),[],!1,null,"2ac49a8a",null).exports;function x(e){return(x="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 w(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function k(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function P(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function O(e,r){return!r||"object"!==x(r)&&"function"!=typeof r?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):r}function M(e,r,t){return(M="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,r,t){var o=function(e,r){for(;!Object.prototype.hasOwnProperty.call(e,r)&&null!==(e=_(e)););return e}(e,r);if(o){var i=Object.getOwnPropertyDescriptor(o,r);return i.get?i.get.call(t):i.value}})(e,r,t||e)}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,r){return(S=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}
/*
 * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
 *
 * @author Julius Härtl <jus@bitgrid.net>
 *
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * 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 r(){return function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,r),O(this,_(r).apply(this,arguments))}var t,o,i;return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&S(e,r)}(r,e),t=r,(o=[{key:"view",get:function(){return j}},{key:"schema",get:function(){return function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?w(Object(t),!0).forEach((function(r){k(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}({},M(_(r.prototype),"schema",this),{selectable:!1})}}])&&P(t.prototype,o),i&&P(t,i),r}(i.l),C=t(176);function z(e){return(z="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 q(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function I(e,r){return!r||"object"!==z(r)&&"function"!=typeof r?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):r}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function R(e,r){return(R=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}
/*
 * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
 *
 * @author Julius Härtl <jus@bitgrid.net>
 *
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * 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 r(){return function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,r),I(this,A(r).apply(this,arguments))}var t,o,i;return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&R(e,r)}(r,e),t=r,(o=[{key:"keys",value:function(){var e=this;return{Tab:function(r){return Object(C.c)("\t")(r,e.editor.view.dispatch,e.editor.view),!0}}}},{key:"name",get:function(){return"doc"}},{key:"schema",get:function(){return{content:"block"}}}])&&q(t.prototype,o),i&&q(t,i),r}(o.g),T=t(178);function N(e){return(N="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 L(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function U(e,r){return!r||"object"!==N(r)&&"function"!=typeof r?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):r}function $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function W(e,r){return(W=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}
/*
 * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
 *
 * @author Julius Härtl <jus@bitgrid.net>
 *
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * 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 F=0,J=1,B=function(e,r){return Object(T.findParentNode)((function(r){return r.type===e.nodes.list_item}))(r)},V=function(e){function r(){return function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,r),U(this,$(r).apply(this,arguments))}var t,i,n;return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&W(e,r)}(r,e),t=r,(i=[{key:"commands",value:function(e){var r=e.type,t=e.schema;return{bullet_list_item:function(){return function(e,o,i){return Object(C.q)(t.nodes.bullet_list,r)(e,o,i)}},todo_item:function(){return function(e,t,o){var i=e.schema,n=e.selection,a=n.$from,s=n.$to,l=a.blockRange(s),c=e.tr,d=B(i,n);if(void 0===d&&(Object(C.q)(i.nodes.bullet_list,r)(e,(function(e){c=e}),o),d=B(i,c.selection)),!l||void 0===d)return!1;c.setNodeMarkup(d.pos,i.nodes.list_item,{type:d.node.attrs.type===J?F:J}),c.scrollIntoView(),t&&t(c)}}}}},{key:"defaultOptions",get:function(){return{nested:!0}}},{key:"schema",get:function(){return{attrs:{done:{default:!1},type:{default:F}},draggable:!1,content:"paragraph block*",toDOM:function(e){if(e.attrs.type===F)return["li",0];var r={class:"checkbox-item"},t={type:"checkbox",class:"",contenteditable:!1};return e.attrs.done&&(t.checked=!0,r.class+=" checked"),["li",r,["input",t],["label",0]]},parseDOM:[{priority:100,tag:"li",getAttrs:function(e){var r=e.querySelector("input[type=checkbox]");return{done:r&&r.checked,type:r?J:F}}}],toMarkdown:function(e,r){r.attrs.type===J&&e.write("[".concat(r.attrs.done?"x":" ","] ")),e.renderContent(r)}}}},{key:"plugins",get:function(){return[new o.h({props:{handleClick:function(e,r,t){var o=e.state,i=o.schema,n=e.posAtCoords({left:t.clientX,top:t.clientY}),a=o.doc.resolve(n.pos),s=Object(T.findParentNodeClosestToPos)(a,(function(e){return e.type===i.nodes.list_item})),l="li"===t.target.tagName.toLowerCase();if(void 0!==s&&s.node.attrs.type===J&&l){var c=o.tr;c.setNodeMarkup(s.pos,i.nodes.list_item,{done:!s.node.attrs.done,type:J}),e.dispatch(c)}}}})]}}])&&L(t.prototype,i),n&&L(t,n),r}(i.o),X=t(376),Y=t.n(X),G=t(412),H=t.n(G),K=t(413);function Q(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var t=[],o=!0,i=!1,n=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(t.push(a.value),!r||t.length!==r);o=!0);}catch(e){i=!0,n=e}finally{try{o||null==s.return||s.return()}finally{if(i)throw n}}return t}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Z(e){return function(e){if(Array.isArray(e)){for(var r=0,t=new Array(e.length);r<e.length;r++)t[r]=e[r];return t}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ee(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function re(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ee(Object(t),!0).forEach((function(r){te(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ee(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function te(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function oe(e,r,t,o,i,n,a){try{var s=e[n](a),l=s.value}catch(e){return void t(e)}s.done?r(l):Promise.resolve(l).then(o,i)}t.d(r,"d",(function(){return ae})),t.d(r,"a",(function(){return ne})),t.d(r,"b",(function(){return le})),t.d(r,"e",(function(){return ce})),t.d(r,"c",(function(){return ie}));
/*
 * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
 *
 * @author Julius Härtl <jus@bitgrid.net>
 *
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * 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 ie=function(){var e,r=(e=regeneratorRuntime.mark((function e(r){var o,i,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=[r],i={},n=0;case 3:if(!(n<o.length)){e.next=17;break}return e.prev=4,e.next=7,t(380)("./"+o[n]);case 7:a=e.sent,i[o[n]]=a.default,e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",void 0);case 14:n++,e.next=3;break;case 17:if(0!==Object.keys(i).length||i.constructor!==Object){e.next=19;break}return e.abrupt("return",void 0);case 19:return e.abrupt("return",{languages:i});case 20:case"end":return e.stop()}}),e,null,[[4,11]])})),function(){var r=this,t=arguments;return new Promise((function(o,i){var n=e.apply(r,t);function a(e){oe(n,o,i,a,s,"next",e)}function s(e){oe(n,o,i,a,s,"throw",e)}a(void 0)}))});return function(e){return r.apply(this,arguments)}}(),ne=function(e){var r=e.content,t=e.onInit,n=e.onUpdate,a=e.extensions,s=e.enableRichEditing,l=e.languages,c=[];return c=s?[new i.i,new i.d,new f,new m,new b,new i.h,new i.k,new i.c,new i.p,new i.a,new i.e,new V,new i.n({openOnClick:!0}),new E,new i.q({emptyNodeClass:"is-empty",emptyNodeText:"Add notes, lists or links …",showOnlyWhenEditable:!0})]:[new D,new o.j,new i.f(re({},l))],a=a||[],new o.a({content:r,onInit:t,onUpdate:n,extensions:[].concat(Z(c),[new i.j]).concat(a),useBuiltInExtensions:s})},ae=Y()("commonmark",{html:!1,breaks:!1}).enable("strikethrough").use(H.a,{enable:!0,labelAfter:!0}),se=function(e){this.message=e},le=function(e,r){var t=Object.entries(e).filter((function(e){return Q(e,2)[1].toMarkdown})).reduce((function(e,r){var t=Q(r,2);return re({},e,te({},t[0],t[1].toMarkdown))}),{}),o=Object.entries(r).filter((function(e){return Q(e,2)[1].toMarkdown})).reduce((function(e,r){var t=Q(r,2);return re({},e,te({},t[0],t[1].toMarkdown))}),{});return{serializer:new K.a(re({},K.b.nodes,{},t),re({},K.b.marks,{},o)),serialize:function(e,r){return this.serializer.serialize(e,re({},r,{tightLists:!0})).split("\\[").join("[").split("\\]").join("]")}}},ce=function(e){var r=e.getJSON();if(1!==r.content.length||void 0===r.content[0].content||1!==r.content[0].content.length){if("code_block"===r.content[0].type&&void 0===r.content[0].content)return"";throw new se("Failed to serialize document to plain text")}var t=r.content[0].content[0];if("text"!==t.type)throw new se("Failed to serialize document to plain text");return t.text}},374:function(e,r,t){"use strict";var o=t(173);t.n(o).a},375:function(e,r,t){(r=t(88)(!1)).push([e.i,".image[data-v-2ac49a8a]{margin:0;padding:0}.image__caption[data-v-2ac49a8a]{text-align:center;color:var(--color-text-lighter)}.image__caption input[type='text'][data-v-2ac49a8a]{width:100%;border:none;text-align:center}.icon-image[data-v-2ac49a8a]{margin-top:10px;height:32px;padding:20px;background-size:contain}.image__loading[data-v-2ac49a8a]{height:100px}.image__placeholder .image__main[data-v-2ac49a8a]{background-color:var(--color-background-dark);text-align:center;padding:20px;border-radius:var(--border-radius)}.image__placeholder .image__main .icon-image[data-v-2ac49a8a]{opacity:0.7}.fade-enter-active[data-v-2ac49a8a]{transition:opacity .3s ease-in-out}.fade-enter-to[data-v-2ac49a8a]{opacity:1}.fade-enter[data-v-2ac49a8a]{opacity:0}\n",""]),e.exports=r},380:function(e,r,t){var o={"./1c":[185,2],"./1c.js":[185,2],"./abnf":[186,3],"./abnf.js":[186,3],"./accesslog":[187,4],"./accesslog.js":[187,4],"./actionscript":[188,5],"./actionscript.js":[188,5],"./ada":[189,6],"./ada.js":[189,6],"./angelscript":[190,7],"./angelscript.js":[190,7],"./apache":[191,8],"./apache.js":[191,8],"./applescript":[192,9],"./applescript.js":[192,9],"./arcade":[193,10],"./arcade.js":[193,10],"./arduino":[194,11],"./arduino.js":[194,11],"./armasm":[195,12],"./armasm.js":[195,12],"./asciidoc":[196,13],"./asciidoc.js":[196,13],"./aspectj":[197,14],"./aspectj.js":[197,14],"./autohotkey":[198,15],"./autohotkey.js":[198,15],"./autoit":[199,16],"./autoit.js":[199,16],"./avrasm":[200,17],"./avrasm.js":[200,17],"./awk":[201,18],"./awk.js":[201,18],"./axapta":[202,19],"./axapta.js":[202,19],"./bash":[203,20],"./bash.js":[203,20],"./basic":[204,21],"./basic.js":[204,21],"./bnf":[205,22],"./bnf.js":[205,22],"./brainfuck":[206,23],"./brainfuck.js":[206,23],"./cal":[207,24],"./cal.js":[207,24],"./capnproto":[208,25],"./capnproto.js":[208,25],"./ceylon":[209,26],"./ceylon.js":[209,26],"./clean":[210,27],"./clean.js":[210,27],"./clojure":[212,28],"./clojure-repl":[211,29],"./clojure-repl.js":[211,29],"./clojure.js":[212,28],"./cmake":[213,30],"./cmake.js":[213,30],"./coffeescript":[214,31],"./coffeescript.js":[214,31],"./coq":[215,32],"./coq.js":[215,32],"./cos":[216,33],"./cos.js":[216,33],"./cpp":[217,34],"./cpp.js":[217,34],"./crmsh":[218,35],"./crmsh.js":[218,35],"./crystal":[219,36],"./crystal.js":[219,36],"./cs":[220,37],"./cs.js":[220,37],"./csp":[221,38],"./csp.js":[221,38],"./css":[222,39],"./css.js":[222,39],"./d":[223,40],"./d.js":[223,40],"./dart":[224,41],"./dart.js":[224,41],"./delphi":[225,42],"./delphi.js":[225,42],"./diff":[226,43],"./diff.js":[226,43],"./django":[227,44],"./django.js":[227,44],"./dns":[228,45],"./dns.js":[228,45],"./dockerfile":[229,46],"./dockerfile.js":[229,46],"./dos":[230,47],"./dos.js":[230,47],"./dsconfig":[231,48],"./dsconfig.js":[231,48],"./dts":[232,49],"./dts.js":[232,49],"./dust":[233,50],"./dust.js":[233,50],"./ebnf":[234,51],"./ebnf.js":[234,51],"./elixir":[235,52],"./elixir.js":[235,52],"./elm":[236,53],"./elm.js":[236,53],"./erb":[237,54],"./erb.js":[237,54],"./erlang":[239,55],"./erlang-repl":[238,56],"./erlang-repl.js":[238,56],"./erlang.js":[239,55],"./excel":[240,57],"./excel.js":[240,57],"./fix":[241,58],"./fix.js":[241,58],"./flix":[242,59],"./flix.js":[242,59],"./fortran":[243,60],"./fortran.js":[243,60],"./fsharp":[244,61],"./fsharp.js":[244,61],"./gams":[245,62],"./gams.js":[245,62],"./gauss":[246,63],"./gauss.js":[246,63],"./gcode":[247,64],"./gcode.js":[247,64],"./gherkin":[248,65],"./gherkin.js":[248,65],"./glsl":[249,66],"./glsl.js":[249,66],"./gml":[250,67],"./gml.js":[250,67],"./go":[251,68],"./go.js":[251,68],"./golo":[252,69],"./golo.js":[252,69],"./gradle":[253,70],"./gradle.js":[253,70],"./groovy":[254,71],"./groovy.js":[254,71],"./haml":[255,72],"./haml.js":[255,72],"./handlebars":[256,73],"./handlebars.js":[256,73],"./haskell":[257,74],"./haskell.js":[257,74],"./haxe":[258,75],"./haxe.js":[258,75],"./hsp":[259,76],"./hsp.js":[259,76],"./htmlbars":[260,77],"./htmlbars.js":[260,77],"./http":[261,78],"./http.js":[261,78],"./hy":[262,79],"./hy.js":[262,79],"./inform7":[263,80],"./inform7.js":[263,80],"./ini":[264,81],"./ini.js":[264,81],"./irpf90":[265,82],"./irpf90.js":[265,82],"./isbl":[266,83],"./isbl.js":[266,83],"./java":[267,84],"./java.js":[267,84],"./javascript":[268,85],"./javascript.js":[268,85],"./jboss-cli":[269,86],"./jboss-cli.js":[269,86],"./json":[270,87],"./json.js":[270,87],"./julia":[272,88],"./julia-repl":[271,89],"./julia-repl.js":[271,89],"./julia.js":[272,88],"./kotlin":[273,90],"./kotlin.js":[273,90],"./lasso":[274,91],"./lasso.js":[274,91],"./ldif":[275,92],"./ldif.js":[275,92],"./leaf":[276,93],"./leaf.js":[276,93],"./less":[277,94],"./less.js":[277,94],"./lisp":[278,95],"./lisp.js":[278,95],"./livecodeserver":[279,96],"./livecodeserver.js":[279,96],"./livescript":[280,97],"./livescript.js":[280,97],"./llvm":[281,98],"./llvm.js":[281,98],"./lsl":[282,99],"./lsl.js":[282,99],"./lua":[283,100],"./lua.js":[283,100],"./makefile":[284,101],"./makefile.js":[284,101],"./markdown":[285,102],"./markdown.js":[285,102],"./mathematica":[286,103],"./mathematica.js":[286,103],"./matlab":[287,104],"./matlab.js":[287,104],"./maxima":[288,105],"./maxima.js":[288,105],"./mel":[289,106],"./mel.js":[289,106],"./mercury":[290,107],"./mercury.js":[290,107],"./mipsasm":[291,108],"./mipsasm.js":[291,108],"./mizar":[292,109],"./mizar.js":[292,109],"./mojolicious":[293,110],"./mojolicious.js":[293,110],"./monkey":[294,111],"./monkey.js":[294,111],"./moonscript":[295,112],"./moonscript.js":[295,112],"./n1ql":[296,113],"./n1ql.js":[296,113],"./nginx":[297,114],"./nginx.js":[297,114],"./nimrod":[298,115],"./nimrod.js":[298,115],"./nix":[299,116],"./nix.js":[299,116],"./nsis":[300,117],"./nsis.js":[300,117],"./objectivec":[301,118],"./objectivec.js":[301,118],"./ocaml":[302,119],"./ocaml.js":[302,119],"./openscad":[303,120],"./openscad.js":[303,120],"./oxygene":[304,121],"./oxygene.js":[304,121],"./parser3":[305,122],"./parser3.js":[305,122],"./perl":[306,123],"./perl.js":[306,123],"./pf":[307,124],"./pf.js":[307,124],"./pgsql":[308,125],"./pgsql.js":[308,125],"./php":[309,126],"./php.js":[309,126],"./plaintext":[310,127],"./plaintext.js":[310,127],"./pony":[311,128],"./pony.js":[311,128],"./powershell":[312,129],"./powershell.js":[312,129],"./processing":[313,130],"./processing.js":[313,130],"./profile":[314,131],"./profile.js":[314,131],"./prolog":[315,132],"./prolog.js":[315,132],"./properties":[316,133],"./properties.js":[316,133],"./protobuf":[317,134],"./protobuf.js":[317,134],"./puppet":[318,135],"./puppet.js":[318,135],"./purebasic":[319,136],"./purebasic.js":[319,136],"./python":[320,137],"./python.js":[320,137],"./q":[321,138],"./q.js":[321,138],"./qml":[322,139],"./qml.js":[322,139],"./r":[323,140],"./r.js":[323,140],"./reasonml":[324,141],"./reasonml.js":[324,141],"./rib":[325,142],"./rib.js":[325,142],"./roboconf":[326,143],"./roboconf.js":[326,143],"./routeros":[327,144],"./routeros.js":[327,144],"./rsl":[328,145],"./rsl.js":[328,145],"./ruby":[329,146],"./ruby.js":[329,146],"./ruleslanguage":[330,147],"./ruleslanguage.js":[330,147],"./rust":[331,148],"./rust.js":[331,148],"./sas":[332,149],"./sas.js":[332,149],"./scala":[333,150],"./scala.js":[333,150],"./scheme":[334,151],"./scheme.js":[334,151],"./scilab":[335,152],"./scilab.js":[335,152],"./scss":[336,153],"./scss.js":[336,153],"./shell":[337,154],"./shell.js":[337,154],"./smali":[338,155],"./smali.js":[338,155],"./smalltalk":[339,156],"./smalltalk.js":[339,156],"./sml":[340,157],"./sml.js":[340,157],"./sqf":[341,158],"./sqf.js":[341,158],"./sql":[342,159],"./sql.js":[342,159],"./stan":[343,160],"./stan.js":[343,160],"./stata":[344,161],"./stata.js":[344,161],"./step21":[345,162],"./step21.js":[345,162],"./stylus":[346,163],"./stylus.js":[346,163],"./subunit":[347,164],"./subunit.js":[347,164],"./swift":[348,165],"./swift.js":[348,165],"./taggerscript":[349,166],"./taggerscript.js":[349,166],"./tap":[350,167],"./tap.js":[350,167],"./tcl":[351,168],"./tcl.js":[351,168],"./tex":[352,169],"./tex.js":[352,169],"./thrift":[353,170],"./thrift.js":[353,170],"./tp":[354,171],"./tp.js":[354,171],"./twig":[355,172],"./twig.js":[355,172],"./typescript":[356,173],"./typescript.js":[356,173],"./vala":[357,174],"./vala.js":[357,174],"./vbnet":[358,175],"./vbnet.js":[358,175],"./vbscript":[360,176],"./vbscript-html":[359,177],"./vbscript-html.js":[359,177],"./vbscript.js":[360,176],"./verilog":[361,178],"./verilog.js":[361,178],"./vhdl":[362,179],"./vhdl.js":[362,179],"./vim":[363,180],"./vim.js":[363,180],"./x86asm":[364,181],"./x86asm.js":[364,181],"./xl":[365,182],"./xl.js":[365,182],"./xml":[366,183],"./xml.js":[366,183],"./xquery":[367,184],"./xquery.js":[367,184],"./yaml":[368,185],"./yaml.js":[368,185],"./zephir":[369,186],"./zephir.js":[369,186]};function i(e){if(!t.o(o,e))return Promise.resolve().then((function(){var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=o[e],i=r[0];return t.e(r[1]).then((function(){return t.t(i,7)}))}i.keys=function(){return Object.keys(o)},i.id=380,e.exports=i},384:function(e,r,t){"use strict";var o=t(174);t.n(o).a},385:function(e,r,t){(r=t(88)(!1)).push([e.i,'#read-only-editor{overflow:scroll}#read-only-editor div.ProseMirror{margin-top:44px;height:100%;position:relative;word-wrap:break-word;white-space:pre-wrap;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;padding:4px 8px 200px 14px;line-height:150%;font-size:14px;outline:none}#read-only-editor div.ProseMirror[contenteditable=true],#read-only-editor div.ProseMirror[contenteditable=false]{border:none !important;width:100%;background-color:transparent;color:var(--color-main-text);opacity:1;-webkit-user-select:text;user-select:text;font-size:14px}#read-only-editor div.ProseMirror .checkbox-item{display:flex;align-items:start}#read-only-editor div.ProseMirror .checkbox-item input[type=checkbox]{display:none}#read-only-editor div.ProseMirror .checkbox-item:before{content:\'\';display:inline-block;height:14px;width:14px;vertical-align:middle;border-radius:50%;margin:0 6px 3px 3px;margin-left:3px;border:1px solid #878787;content:"";position:relative;width:44px;height:44px;display:block;border-radius:1px;height:14px;width:14px;box-shadow:none !important;background-position:center}#read-only-editor div.ProseMirror .checkbox-item.checked:before{background-image:url("/core/css/../img/actions/checkbox-mark.svg");background-color:var(--color-primary-element)}#read-only-editor div.ProseMirror .checkbox-item label{display:block;flex-grow:1}#read-only-editor div.ProseMirror .checkbox-item label>*:first-child{margin-top:0}#read-only-editor div.ProseMirror li label.checkbox-label{width:100%;display:flex;margin-top:10px;margin-bottom:1em}#read-only-editor div.ProseMirror li label.checkbox-label:before{position:relative;top:2px}#read-only-editor div.ProseMirror li label.checkbox-label div.checkbox-wrapper{margin-bottom:-1em;width:100%}#read-only-editor div.ProseMirror li label.checkbox-label div.checkbox-wrapper>p{margin-top:-1px;margin-bottom:0;padding-bottom:10px}#read-only-editor div.ProseMirror p:first-child,#read-only-editor div.ProseMirror h1:first-child,#read-only-editor div.ProseMirror h2:first-child,#read-only-editor div.ProseMirror h3:first-child,#read-only-editor div.ProseMirror h4:first-child,#read-only-editor div.ProseMirror h5:first-child,#read-only-editor div.ProseMirror h6:first-child{margin-top:10px}#read-only-editor div.ProseMirror a{color:var(--color-primary-element);text-decoration:underline;padding:.5em 0}#read-only-editor div.ProseMirror p{margin-bottom:1em;line-height:150%}#read-only-editor div.ProseMirror em{font-style:italic}#read-only-editor div.ProseMirror h1,#read-only-editor div.ProseMirror h2,#read-only-editor div.ProseMirror h3,#read-only-editor div.ProseMirror h4,#read-only-editor div.ProseMirror h5,#read-only-editor div.ProseMirror h6{font-weight:600;line-height:120%;margin-top:24px;margin-bottom:12px;color:var(--color-main-text)}#read-only-editor div.ProseMirror h1{font-size:36px;margin-top:48px}#read-only-editor div.ProseMirror h2{font-size:28px;margin-top:48px}#read-only-editor div.ProseMirror h3{font-size:24px}#read-only-editor div.ProseMirror h4{font-size:21px}#read-only-editor div.ProseMirror h5{font-size:17px}#read-only-editor div.ProseMirror h6{font-size:14px}#read-only-editor div.ProseMirror img{cursor:default;max-width:100%}#read-only-editor div.ProseMirror hr{padding:2px 0;border:none;margin:1em 0;width:100%}#read-only-editor div.ProseMirror hr:after{content:"";display:block;height:1px;background-color:var(--color-border-dark);line-height:2px}#read-only-editor div.ProseMirror pre{white-space:pre-wrap;background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:1em 1.3em;margin-bottom:1em}#read-only-editor div.ProseMirror p code{background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:.1em .3em}#read-only-editor div.ProseMirror li{position:relative}#read-only-editor div.ProseMirror ul,#read-only-editor div.ProseMirror ol{padding-left:10px;margin-left:10px}#read-only-editor div.ProseMirror ul li{list-style-type:disc}#read-only-editor div.ProseMirror ul>li>ul>li{list-style-type:circle}#read-only-editor div.ProseMirror ul>li>ul>li ul li{list-style-type:square}#read-only-editor div.ProseMirror blockquote{padding-left:1em;border-left:4px solid var(--color-primary-element);color:var(--color-text-maxcontrast);margin-left:0;margin-right:0}#read-only-editor .ProseMirror-focused .ProseMirror-gapcursor{display:block}#read-only-editor .editor__content p.is-empty:first-child::before{content:attr(data-empty-text);float:left;color:var(--color-text-maxcontrast);pointer-events:none;height:0}.thumbnailContainer #read-only-editor{width:100%}.thumbnailContainer #read-only-editor .ProseMirror{height:auto;margin:0 0 0 0;padding:0}\n',""]),e.exports=r},386:function(e,r,t){"use strict";var o=t(175);t.n(o).a},387:function(e,r,t){(r=t(88)(!1)).push([e.i,'div.ProseMirror{margin-top:44px;height:100%;position:relative;word-wrap:break-word;white-space:pre-wrap;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;padding:4px 8px 200px 14px;line-height:150%;font-size:14px;outline:none}div.ProseMirror[contenteditable=true],div.ProseMirror[contenteditable=false]{border:none !important;width:100%;background-color:transparent;color:var(--color-main-text);opacity:1;-webkit-user-select:text;user-select:text;font-size:14px}div.ProseMirror .checkbox-item{display:flex;align-items:start}div.ProseMirror .checkbox-item input[type=checkbox]{display:none}div.ProseMirror .checkbox-item:before{content:\'\';display:inline-block;height:14px;width:14px;vertical-align:middle;border-radius:50%;margin:0 6px 3px 3px;margin-left:3px;border:1px solid #878787;content:"";position:relative;width:44px;height:44px;display:block;border-radius:1px;height:14px;width:14px;box-shadow:none !important;background-position:center}div.ProseMirror .checkbox-item.checked:before{background-image:url("/core/css/../img/actions/checkbox-mark.svg");background-color:var(--color-primary-element)}div.ProseMirror .checkbox-item label{display:block;flex-grow:1}div.ProseMirror .checkbox-item label>*:first-child{margin-top:0}div.ProseMirror li label.checkbox-label{width:100%;display:flex;margin-top:10px;margin-bottom:1em}div.ProseMirror li label.checkbox-label:before{position:relative;top:2px}div.ProseMirror li label.checkbox-label div.checkbox-wrapper{margin-bottom:-1em;width:100%}div.ProseMirror li label.checkbox-label div.checkbox-wrapper>p{margin-top:-1px;margin-bottom:0;padding-bottom:10px}div.ProseMirror p:first-child,div.ProseMirror h1:first-child,div.ProseMirror h2:first-child,div.ProseMirror h3:first-child,div.ProseMirror h4:first-child,div.ProseMirror h5:first-child,div.ProseMirror h6:first-child{margin-top:10px}div.ProseMirror a{color:var(--color-primary-element);text-decoration:underline;padding:.5em 0}div.ProseMirror p{margin-bottom:1em;line-height:150%}div.ProseMirror em{font-style:italic}div.ProseMirror h1,div.ProseMirror h2,div.ProseMirror h3,div.ProseMirror h4,div.ProseMirror h5,div.ProseMirror h6{font-weight:600;line-height:120%;margin-top:24px;margin-bottom:12px;color:var(--color-main-text)}div.ProseMirror h1{font-size:36px;margin-top:48px}div.ProseMirror h2{font-size:28px;margin-top:48px}div.ProseMirror h3{font-size:24px}div.ProseMirror h4{font-size:21px}div.ProseMirror h5{font-size:17px}div.ProseMirror h6{font-size:14px}div.ProseMirror img{cursor:default;max-width:100%}div.ProseMirror hr{padding:2px 0;border:none;margin:1em 0;width:100%}div.ProseMirror hr:after{content:"";display:block;height:1px;background-color:var(--color-border-dark);line-height:2px}div.ProseMirror pre{white-space:pre-wrap;background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:1em 1.3em;margin-bottom:1em}div.ProseMirror p code{background-color:var(--color-background-dark);border-radius:var(--border-radius);padding:.1em .3em}div.ProseMirror li{position:relative}div.ProseMirror ul,div.ProseMirror ol{padding-left:10px;margin-left:10px}div.ProseMirror ul li{list-style-type:disc}div.ProseMirror ul>li>ul>li{list-style-type:circle}div.ProseMirror ul>li>ul>li ul li{list-style-type:square}div.ProseMirror blockquote{padding-left:1em;border-left:4px solid var(--color-primary-element);color:var(--color-text-maxcontrast);margin-left:0;margin-right:0}.ProseMirror-focused .ProseMirror-gapcursor{display:block}.editor__content p.is-empty:first-child::before{content:attr(data-empty-text);float:left;color:var(--color-text-maxcontrast);pointer-events:none;height:0}\n',""]),e.exports=r},520:function(e,r,t){"use strict";t.r(r);var o=t(169),i=t(371),n=t.n(i),a=t(370),s={name:"ReadOnlyEditor",components:{EditorContent:o.b},props:{content:{type:String,required:!0},isRichEditor:{type:Boolean,default:!0}},data:function(){return{editor:null}},mounted:function(){this.editor=Object(a.a)({content:this.isRichEditor?a.d.render(this.content):"<pre>"+n()(this.content)+"</pre>",enableRichEditing:this.isRichEditor}),this.editor.setOptions({editable:!1})},beforeDestroy:function(){this.editor.destroy()}},l=(t(384),t(386),t(19)),c=Object(l.a)(s,(function(){var e=this.$createElement,r=this._self._c||e;return this.editor?r("EditorContent",{attrs:{id:"read-only-editor",editor:this.editor}}):this._e()}),[],!1,null,null,null);r.default=c.exports}}]);
//# sourceMappingURL=preview.js.map?v=2d52fa56d47450d92725