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/preview.js.map')
-rw-r--r--js/preview.js.map2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/preview.js.map b/js/preview.js.map
index d3671f2af..1fda77a2b 100644
--- a/js/preview.js.map
+++ b/js/preview.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack:///./src/nodes/ImageView.vue?21ae","webpack:///./src/components/ReadOnlyEditor.vue?fbe1","webpack:///./src/components/ReadOnlyEditor.vue?b76d","webpack:///./src/marks/index.js","webpack:///src/nodes/ImageView.vue","webpack:///./src/nodes/ImageView.vue?549b","webpack:///./src/nodes/ImageView.vue","webpack:///./src/nodes/ImageView.vue?5b4e","webpack:///./src/nodes/Image.js","webpack:///./src/nodes/PlainTextDocument.js","webpack:///./src/EditorFactory.js","webpack:///./src/nodes/ImageView.vue?a048","webpack:///./src/nodes/ImageView.vue?7164","webpack:///./node_modules/highlight.js/lib/languages lazy ^\\.\\/.*$ namespace object","webpack:///./src/components/ReadOnlyEditor.vue?9358","webpack:///./src/components/ReadOnlyEditor.vue?31a0","webpack:///./src/components/ReadOnlyEditor.vue?d128","webpack:///./src/components/ReadOnlyEditor.vue?d976","webpack:///./src/components/ReadOnlyEditor.vue?05d3","webpack:///./src/components/ReadOnlyEditor.vue?fe8f","webpack:///src/components/ReadOnlyEditor.vue","webpack:///./src/components/ReadOnlyEditor.vue"],"names":["content","module","i","locals","exports","add","default","Strong","Bold","Italic","TipTapItalic","Strike","parseDOM","tag","style","getAttrs","value","toDOM","toMarkdown","open","close","mixable","expelEnclosingWhitespace","TipTapStrike","_vm","this","_h","$createElement","_c","_self","staticClass","class","loaded","attrs","src","imageLoaded","isSupportedImage","directives","name","rawName","expression","on","onLoaded","_v","ref","domProps","alt","$event","type","indexOf","_k","keyCode","key","updateAlt","internalLinkOrImage","_s","t","Image","ImageView","selectable","TiptapImage","PlainTextDocument","Tab","state","insertText","editor","view","dispatch","Node","loadSyntaxHighlight","language","languages","modules","length","lang","undefined","Object","keys","constructor","createEditor","onInit","onUpdate","extensions","enableRichEditing","richEditingExtensions","Heading","Code","HardBreak","HorizontalRule","BulletList","OrderedList","Blockquote","CodeBlock","ListItem","Link","Placeholder","emptyNodeClass","emptyNodeText","showOnlyWhenEditable","Text","CodeBlockHighlight","Editor","History","concat","useBuiltInExtensions","markdownit","MarkdownIt","html","breaks","enable","SerializeException","message","createMarkdownSerializer","_nodes","_marks","nodes","entries","filter","reduce","items","marks","serializer","MarkdownSerializer","defaultMarkdownSerializer","serialize","options","tightLists","split","join","serializePlainText","tiptap","doc","getJSON","codeBlock","text","push","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","component","_e"],"mappings":"uFAGA,IAAIA,EAAU,EAAQ,KACA,iBAAZA,IAAsBA,EAAU,CAAC,CAACC,EAAOC,EAAIF,EAAS,MAC7DA,EAAQG,SAAQF,EAAOG,QAAUJ,EAAQG,SAG/BE,EADH,EAAQ,KAA+DC,SAChE,WAAYN,GAAS,EAAM,K,oBCL5C,IAAIA,EAAU,EAAQ,KACA,iBAAZA,IAAsBA,EAAU,CAAC,CAACC,EAAOC,EAAIF,EAAS,MAC7DA,EAAQG,SAAQF,EAAOG,QAAUJ,EAAQG,SAG/BE,EADH,EAAQ,KAA+DC,SAChE,WAAYN,GAAS,EAAM,K,oBCL5C,IAAIA,EAAU,EAAQ,KACA,iBAAZA,IAAsBA,EAAU,CAAC,CAACC,EAAOC,EAAIF,EAAS,MAC7DA,EAAQG,SAAQF,EAAOG,QAAUJ,EAAQG,SAG/BE,EADH,EAAQ,KAA+DC,SAChE,WAAYN,GAAS,EAAM,K;;;;;;;;;;;;;;;;;;;;;OCqBtCO,E,2HAGJ,MAAO,a,GAHYC,KAQfC,E,2HAGJ,MAAO,S,GAHYC,KAQfC,E,6HAGJ,MAAO,CACNC,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H,GAA4B,eAAxB0D,EAAInI,QAAQ,GAAGgD,WAA2D,IAA3BmF,EAAInI,QAAQ,GAAGA,QACjE,MAAO,GAER,MAAM,IAAI8G,EAAmB,8CAE9B,IAAMuB,EAAYF,EAAInI,QAAQ,GAAGA,QAAQ,GACzC,GAAuB,SAAnBqI,EAAUrF,KACb,MAAM,IAAI8D,EAAmB,8CAE9B,OAAOuB,EAAUC,O,iCC1JlB,oBAA+W,G,qBCArWrI,EAAOG,QAAU,EAAQ,IAAR,EAA6D,IAEhFmI,KAAK,CAACtI,EAAOC,EAAI,gvBAAivB,M,oBCF1wB,IAAIsI,EAAM,CACT,OAAQ,CACP,IACA,GAED,UAAW,CACV,IACA,GAED,SAAU,CACT,IACA,GAED,YAAa,CACZ,IACA,GAED,cAAe,CACd,IACA,GAED,iBAAkB,CACjB,IACA,GAED,iBAAkB,CACjB,IACA,GAED,oBAAqB,CACpB,IACA,GAED,QAAS,CACR,IACA,GAED,WAAY,CACX,IACA,GAED,gBAAiB,CAChB,IACA,GAED,mBAAoB,CACnB,IACA,GAED,WAAY,CACX,IACA,GAED,cAAe,CACd,IACA,GAED,gBAAiB,CAChB,IACA,GAED,mBAAoB,CACnB,IACA,GAED,WAAY,CACX,IACA,GAED,cAAe,CACd,IACA,GAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,aAAc,CACb,IACA,IAED,gBAAiB,CAChB,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,iBAAkB,CACjB,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,iBAAkB,CACjB,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,YAAa,CACZ,IACA,IAED,iBAAkB,CACjB,IACA,IAED,oBAAqB,CACpB,IACA,IAED,eAAgB,CACf,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,iBAAkB,CACjB,IACA,IAED,oBAAqB,CACpB,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,OAAQ,CACP,IACA,IAED,UAAW,CACV,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,MAAO,CACN,IACA,IAED,SAAU,CACT,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,aAAc,CACb,IACA,IAED,gBAAiB,CAChB,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,WAAY,CACX,IACA,IAED,gBAAiB,CAChB,IACA,IAED,mBAAoB,CACnB,IACA,IAED,cAAe,CACd,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,OAAQ,CACP,IACA,IAED,UAAW,CACV,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,aAAc,CACb,IACA,IAED,gBAAiB,CAChB,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,OAAQ,CACP,IACA,IAED,UAAW,CACV,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,cAAe,CACd,IACA,IAED,iBAAkB,CACjB,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,UAAW,CACV,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,aAAc,CACb,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,mBAAoB,CACnB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,gBAAiB,CAChB,IACA,KAED,mBAAoB,CACnB,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,mBAAoB,CACnB,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,OAAQ,CACP,IACA,KAED,UAAW,CACV,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,iBAAkB,CACjB,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,cAAe,CACd,IACA,KAED,iBAAkB,CACjB,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,MAAO,CACN,IACA,KAED,SAAU,CACT,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,MAAO,CACN,IACA,KAED,SAAU,CACT,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,kBAAmB,CAClB,IACA,KAED,qBAAsB,CACrB,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,cAAe,CACd,IACA,KAED,iBAAkB,CACjB,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,iBAAkB,CACjB,IACA,KAED,oBAAqB,CACpB,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,OAAQ,CACP,IACA,KAED,UAAW,CACV,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,aAAc,CACb,IACA,KAED,kBAAmB,CAClB,IACA,KAED,qBAAsB,CACrB,IACA,KAED,gBAAiB,CAChB,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,OAAQ,CACP,IACA,KAED,UAAW,CACV,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,MAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,WAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,KAIR,IAAIG,EAAMX,EAAIE,GAAMU,EAAKD,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,WACzC,OAAOJ,EAAoBnF,EAAE4F,EAAI,MAGnCX,EAAoB5D,KAAO,WAC1B,OAAOD,OAAOC,KAAK2D,IAEpBC,EAAoBW,GAAK,IACzBnJ,EAAOG,QAAUqI,G,iCC59CjB,oBAA4V,G,qBCAlVxI,EAAOG,QAAU,EAAQ,IAAR,EAA6D,IAEhFmI,KAAK,CAACtI,EAAOC,EAAI,umGAA0mG,M,iCCFnoG,oBAA4V,G,qBCAlVD,EAAOG,QAAU,EAAQ,IAAR,EAA6D,IAEhFmI,KAAK,CAACtI,EAAOC,EAAI,kyEAAqyE,M,wCCF9zE,I,oCCA8L,EC+B9L,CACA,sBACA,+BACA,OACA,SACA,YACA,aAEA,cACA,aACA,aAGA,gBACA,OACA,cAGA,QAlBA,WAmBA,yBACA,sFACA,sCAEA,uCAEA,cAzBA,WA0BA,wB,wBChDImJ,EAAY,YACd,GHVW,WAAa,IAAiB3H,EAATD,KAAgBE,eAAmBC,EAAnCH,KAA0CI,MAAMD,IAAIF,EAAG,OAAvDD,KAAyE,OAAEG,EAAG,gBAAgB,CAACK,MAAM,CAAC,GAAK,mBAAmB,OAA9HR,KAA2IwC,UAA3IxC,KAAyJ6H,OACrK,IGYpB,EACA,KACA,KACA,MAIa,UAAAD,E","file":"preview.js?v=1c0efe6e78b6c6c39ccb","sourcesContent":["// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageView.vue?vue&type=style&index=0&id=a10dc050&scoped=true&lang=scss&\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"32fa0fe1\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=0&lang=scss&\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"5ba6a5c3\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=1&lang=scss&\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"ed017fbc\", content, true, {});","/*\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { Bold, Italic as TipTapItalic, Strike as TipTapStrike } from 'tiptap-extensions'\n\n/**\n * This file maps prosemirror mark names to tiptap classes,\n * so we can reuse the prosemirror-markdown default parser for now\n */\n\nclass Strong extends Bold {\n\n\tget name() {\n\t\treturn 'strong'\n\t}\n\n}\n\nclass Italic extends TipTapItalic {\n\n\tget name() {\n\t\treturn 'em'\n\t}\n\n}\n\nclass Strike extends TipTapStrike {\n\n\tget schema() {\n\t\treturn {\n\t\t\tparseDOM: [\n\t\t\t\t{\n\t\t\t\t\ttag: 's'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttag: 'del'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttag: 'strike'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tstyle: 'text-decoration',\n\t\t\t\t\tgetAttrs: value => value === 'line-through'\n\t\t\t\t}\n\t\t\t],\n\t\t\ttoDOM: () => ['s', 0],\n\t\t\ttoMarkdown: {\n\t\t\t\topen: '~~',\n\t\t\t\tclose: '~~',\n\t\t\t\tmixable: true,\n\t\t\t\texpelEnclosingWhitespace: true\n\t\t\t}\n\t\t}\n\t}\n\n}\n\n/** Strike is currently unsupported by prosemirror-markdown */\n\nexport {\n\tStrong,\n\tItalic,\n\tStrike\n}\n","<!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<template>\n\t<div class=\"image\" :class=\"{'icon-loading': !loaded}\" :data-src=\"src\">\n\t\t<div v-if=\"imageLoaded && isSupportedImage\">\n\t\t\t<transition name=\"fade\">\n\t\t\t\t<img v-show=\"loaded\"\n\t\t\t\t\t:src=\"src\"\n\t\t\t\t\tclass=\"image__main\"\n\t\t\t\t\t@load=\"onLoaded\">\n\t\t\t</transition>\n\t\t\t<transition name=\"fade\">\n\t\t\t\t<div v-show=\"loaded\" class=\"image__caption\">\n\t\t\t\t\t<input ref=\"altInput\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t:value=\"alt\"\n\t\t\t\t\t\t@keyup.enter=\"updateAlt()\">\n\t\t\t\t</div>\n\t\t\t</transition>\n\t\t</div>\n\t\t<div v-else class=\"image__placeholder\">\n\t\t\t<transition name=\"fade\">\n\t\t\t\t<div v-show=\"loaded\" class=\"image__main\">\n\t\t\t\t\t<div class=\"icon-image\" :style=\"mimeIcon\" />\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<a :href=\"internalLinkOrImage\" target=\"_blank\">{{ isSupportedImage ? t('text', 'Show image') : t('text', 'Show file') }}</a>\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t</transition><transition name=\"fade\">\n\t\t\t\t<div v-show=\"loaded\" class=\"image__caption\">\n\t\t\t\t\t<input ref=\"altInput\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t:value=\"alt\"\n\t\t\t\t\t\t@keyup.enter=\"updateAlt()\">\n\t\t\t\t</div>\n\t\t\t</transition>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\n\nconst imageMimes = [\n\t'image/png',\n\t'image/jpeg',\n\t'image/gif',\n\t'image/x-xbitmap',\n\t'image/bmp',\n\t'image/svg+xml'\n]\n\nconst getQueryVariable = (src, variable) => {\n\tconst query = src.split('#')[1]\n\tif (typeof query === 'undefined') {\n\t\treturn\n\t}\n\tconst vars = query.split('&')\n\tif (typeof vars === 'undefined') {\n\t\treturn\n\t}\n\tfor (let i = 0; i < vars.length; i++) {\n\t\tconst pair = vars[i].split('=')\n\t\tif (decodeURIComponent(pair[0]) === variable) {\n\t\t\treturn decodeURIComponent(pair[1])\n\t\t}\n\t}\n}\n\nexport default {\n\tname: 'ImageView',\n\tprops: ['node', 'updateAttrs', 'view'], // eslint-disable-line\n\tdata() {\n\t\treturn {\n\t\t\timageLoaded: false,\n\t\t\tloaded: false,\n\t\t\tfailed: false\n\t\t}\n\t},\n\tcomputed: {\n\t\tmimeIcon() {\n\t\t\tconst mime = getQueryVariable(this.src, 'mimetype')\n\t\t\tif (mime) {\n\t\t\t\treturn {\n\t\t\t\t\tbackgroundImage: 'url(' + window.OC.MimeType.getIconUrl(mime) + ')'\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn {}\n\t\t},\n\t\tisSupportedImage() {\n\t\t\tconst mime = getQueryVariable(this.src, 'mimetype')\n\t\t\treturn typeof mime === 'undefined' || imageMimes.indexOf(mime) !== -1\n\t\t},\n\t\tinternalLinkOrImage() {\n\t\t\tconst fileId = getQueryVariable(this.src, 'fileId')\n\t\t\tif (fileId) {\n\t\t\t\treturn OC.generateUrl('/f/' + fileId)\n\t\t\t}\n\t\t\treturn this.src\n\t\t},\n\t\tsrc: {\n\t\t\tget() {\n\t\t\t\treturn this.node.attrs.src\n\t\t\t},\n\t\t\tset(src) {\n\t\t\t\tthis.updateAttrs({\n\t\t\t\t\tsrc\n\t\t\t\t})\n\t\t\t}\n\t\t},\n\t\talt: {\n\t\t\tget() {\n\t\t\t\treturn this.node.attrs.alt ? this.node.attrs.alt : ''\n\t\t\t},\n\t\t\tset(alt) {\n\t\t\t\tthis.updateAttrs({\n\t\t\t\t\talt\n\t\t\t\t})\n\t\t\t}\n\t\t},\n\t\tt() {\n\t\t\treturn (a, s) => window.t(a, s)\n\t\t}\n\t},\n\tbeforeMount() {\n\t\tif (!this.isSupportedImage) {\n\t\t\t// TODO check if hasPreview and render a file preview if available\n\t\t\tthis.failed = true\n\t\t\tthis.imageLoaded = false\n\t\t\tthis.loaded = true\n\t\t\treturn\n\t\t}\n\t\tconst img = new Image()\n\t\timg.src = this.node.attrs.src\n\t\timg.onload = () => {\n\t\t\tthis.imageLoaded = true\n\t\t}\n\t\timg.onerror = () => {\n\t\t\tthis.failed = true\n\t\t\tthis.imageLoaded = false\n\t\t\tthis.loaded = true\n\t\t}\n\t},\n\tmethods: {\n\t\tupdateAlt() {\n\t\t\tthis.alt = this.$refs.altInput.value\n\t\t},\n\t\tonLoaded() {\n\t\t\tthis.loaded = true\n\t\t}\n\t}\n}\n</script>\n\n<style scoped lang=\"scss\">\n\t.image {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\n\t.image__caption {\n\t\ttext-align: center;\n\t\tcolor: var(--color-text-lighter);\n\t\tinput[type='text'] {\n\t\t\twidth: 100%;\n\t\t\tborder: none;\n\t\t\ttext-align: center;\n\t\t}\n\t}\n\n\t.icon-image {\n\t\tmargin-top: 10px;\n\t\theight: 32px;\n\t\tpadding: 20px;\n\t\tbackground-size: contain;\n\t}\n\n\t.image__loading {\n\t\theight: 100px;\n\t}\n\n\t.image__placeholder .image__main {\n\t\tbackground-color: var(--color-background-dark);\n\t\ttext-align: center;\n\t\tpadding: 20px;\n\t\tborder-radius: var(--border-radius);\n\t\t.icon-image {\n\t\t\topacity: 0.7;\n\t\t}\n\t}\n\n\t.fade-enter-active {\n\t\ttransition: opacity .3s ease-in-out;\n\t}\n\n\t.fade-enter-to {\n\t\topacity: 1;\n\t}\n\n\t.fade-enter {\n\t\topacity: 0;\n\t}\n</style>\n","import mod from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageView.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageView.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ImageView.vue?vue&type=template&id=a10dc050&scoped=true&\"\nimport script from \"./ImageView.vue?vue&type=script&lang=js&\"\nexport * from \"./ImageView.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ImageView.vue?vue&type=style&index=0&id=a10dc050&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a10dc050\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"image\",class:{'icon-loading': !_vm.loaded},attrs:{\"data-src\":_vm.src}},[(_vm.imageLoaded && _vm.isSupportedImage)?_c('div',[_c('transition',{attrs:{\"name\":\"fade\"}},[_c('img',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loaded),expression:\"loaded\"}],staticClass:\"image__main\",attrs:{\"src\":_vm.src},on:{\"load\":_vm.onLoaded}})]),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loaded),expression:\"loaded\"}],staticClass:\"image__caption\"},[_c('input',{ref:\"altInput\",attrs:{\"type\":\"text\"},domProps:{\"value\":_vm.alt},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.updateAlt()}}})])])],1):_c('div',{staticClass:\"image__placeholder\"},[_c('transition',{attrs:{\"name\":\"fade\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loaded),expression:\"loaded\"}],staticClass:\"image__main\"},[_c('div',{staticClass:\"icon-image\",style:(_vm.mimeIcon)}),_vm._v(\" \"),_c('p',[_c('a',{attrs:{\"href\":_vm.internalLinkOrImage,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.isSupportedImage ? _vm.t('text', 'Show image') : _vm.t('text', 'Show file')))])])])]),_c('transition',{attrs:{\"name\":\"fade\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loaded),expression:\"loaded\"}],staticClass:\"image__caption\"},[_c('input',{ref:\"altInput\",attrs:{\"type\":\"text\"},domProps:{\"value\":_vm.alt},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.updateAlt()}}})])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { Image as TiptapImage } from 'tiptap-extensions'\nimport ImageView from './ImageView'\n\nexport default class Image extends TiptapImage {\n\n\tget view() {\n\t\treturn ImageView\n\t}\n\n\tget schema() {\n\t\treturn {\n\t\t\t...super.schema,\n\t\t\tselectable: false\n\t\t}\n\t}\n\n}\n","/*\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { Node } from 'tiptap'\nimport { insertText } from 'tiptap-commands'\n\nexport default class PlainTextDocument extends Node {\n\n\tget name() {\n\t\treturn 'doc'\n\t}\n\n\tget schema() {\n\t\treturn {\n\t\t\tcontent: 'block'\n\t\t}\n\t}\n\n\tkeys() {\n\t\treturn {\n\t\t\tTab: (state) => {\n\t\t\t\tinsertText('\\t')(state, this.editor.view.dispatch, this.editor.view)\n\t\t\t\treturn true\n\t\t\t}\n\t\t}\n\t}\n\n}\n","/*\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { Editor, Text } from 'tiptap'\nimport {\n\tHardBreak,\n\tHeading,\n\tCode,\n\tLink,\n\tBulletList,\n\tOrderedList,\n\tListItem,\n\tBlockquote,\n\tCodeBlock,\n\tCodeBlockHighlight,\n\tHorizontalRule,\n\tHistory,\n\tPlaceholder\n} from 'tiptap-extensions'\nimport { Strong, Italic, Strike } from './marks'\nimport { Image, PlainTextDocument } from './nodes'\nimport MarkdownIt from 'markdown-it'\n\nimport { MarkdownSerializer, defaultMarkdownSerializer } from 'prosemirror-markdown'\n\nconst loadSyntaxHighlight = async(language) => {\n\tconst languages = [language]\n\tconst modules = {}\n\tfor (let i = 0; i < languages.length; i++) {\n\t\ttry {\n\t\t\tconst lang = await import(/* webpackChunkName: \"highlight/[request]\" */'highlight.js/lib/languages/' + languages[i])\n\t\t\tmodules[languages[i]] = lang.default\n\t\t} catch (e) {\n\t\t\t// No matching highlighing found, fallback to none\n\t\t\treturn undefined\n\t\t}\n\t}\n\tif (Object.keys(modules).length === 0 && modules.constructor === Object) {\n\t\treturn undefined\n\t}\n\treturn { languages: modules }\n}\n\nconst createEditor = ({ content, onInit, onUpdate, extensions, enableRichEditing, languages }) => {\n\tlet richEditingExtensions = []\n\tif (enableRichEditing) {\n\t\trichEditingExtensions = [\n\t\t\tnew Heading(),\n\t\t\tnew Code(),\n\t\t\tnew Strong(),\n\t\t\tnew Italic(),\n\t\t\tnew Strike(),\n\t\t\tnew HardBreak(),\n\t\t\tnew HorizontalRule(),\n\t\t\tnew BulletList(),\n\t\t\tnew OrderedList(),\n\t\t\tnew Blockquote(),\n\t\t\tnew CodeBlock(),\n\t\t\tnew ListItem(),\n\t\t\tnew Link(),\n\t\t\tnew Image(),\n\t\t\tnew Placeholder({\n\t\t\t\temptyNodeClass: 'is-empty',\n\t\t\t\temptyNodeText: 'Add notes, lists or links …',\n\t\t\t\tshowOnlyWhenEditable: true\n\t\t\t})\n\t\t]\n\t} else {\n\t\trichEditingExtensions = [\n\t\t\tnew PlainTextDocument(),\n\t\t\tnew Text(),\n\t\t\tnew CodeBlockHighlight({\n\t\t\t\t...languages\n\t\t\t})\n\t\t]\n\t}\n\textensions = extensions || []\n\treturn new Editor({\n\t\tcontent: content,\n\t\tonInit: onInit,\n\t\tonUpdate: onUpdate,\n\t\textensions: [\n\t\t\t...richEditingExtensions,\n\t\t\tnew History()\n\t\t].concat(extensions),\n\t\tuseBuiltInExtensions: enableRichEditing\n\t})\n}\n\nconst markdownit = MarkdownIt('commonmark', { html: false, breaks: false })\n\t.enable('strikethrough')\n\nconst SerializeException = function(message) {\n\tthis.message = message\n}\nconst createMarkdownSerializer = (_nodes, _marks) => {\n\tconst nodes = Object\n\t\t.entries(_nodes)\n\t\t.filter(([, node]) => node.toMarkdown)\n\t\t.reduce((items, [name, { toMarkdown }]) => ({\n\t\t\t...items,\n\t\t\t[name]: toMarkdown\n\t\t}), {})\n\n\tconst marks = Object\n\t\t.entries(_marks)\n\t\t.filter(([, node]) => node.toMarkdown)\n\t\t.reduce((items, [name, { toMarkdown }]) => ({\n\t\t\t...items,\n\t\t\t[name]: toMarkdown\n\t\t}), {})\n\treturn {\n\t\tserializer: new MarkdownSerializer(\n\t\t\t{ ...defaultMarkdownSerializer.nodes, ...nodes },\n\t\t\t{ ...defaultMarkdownSerializer.marks, ...marks }\n\t\t),\n\t\tserialize: function(content, options) {\n\t\t\treturn this.serializer.serialize(content, { ...options, tightLists: true }).split('\\\\[ \\\\]').join('[ ]')\n\t\t\t\t.split('\\\\[x\\\\]').join('[x]')\n\t\t}\n\t}\n}\n\nconst serializePlainText = (tiptap) => {\n\tconst doc = tiptap.getJSON()\n\n\tif (doc.content.length !== 1 || typeof doc.content[0].content === 'undefined' || doc.content[0].content.length !== 1) {\n\t\tif (doc.content[0].type === 'code_block' && typeof doc.content[0].content === 'undefined') {\n\t\t\treturn ''\n\t\t}\n\t\tthrow new SerializeException('Failed to serialize document to plain text')\n\t}\n\tconst codeBlock = doc.content[0].content[0]\n\tif (codeBlock.type !== 'text') {\n\t\tthrow new SerializeException('Failed to serialize document to plain text')\n\t}\n\treturn codeBlock.text\n}\n\nexport default createEditor\nexport { markdownit, createEditor, createMarkdownSerializer, serializePlainText, loadSyntaxHighlight }\n","import mod from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageView.vue?vue&type=style&index=0&id=a10dc050&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageView.vue?vue&type=style&index=0&id=a10dc050&scoped=true&lang=scss&\"","exports = module.exports = require(\"../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".image[data-v-a10dc050]{margin:0;padding:0}.image__caption[data-v-a10dc050]{text-align:center;color:var(--color-text-lighter)}.image__caption input[type='text'][data-v-a10dc050]{width:100%;border:none;text-align:center}.icon-image[data-v-a10dc050]{margin-top:10px;height:32px;padding:20px;background-size:contain}.image__loading[data-v-a10dc050]{height:100px}.image__placeholder .image__main[data-v-a10dc050]{background-color:var(--color-background-dark);text-align:center;padding:20px;border-radius:var(--border-radius)}.image__placeholder .image__main .icon-image[data-v-a10dc050]{opacity:0.7}.fade-enter-active[data-v-a10dc050]{transition:opacity .3s ease-in-out}.fade-enter-to[data-v-a10dc050]{opacity:1}.fade-enter[data-v-a10dc050]{opacity:0}\\n\", \"\"]);\n","var map = {\n\t\"./1c\": [\n\t\t350,\n\t\t1\n\t],\n\t\"./1c.js\": [\n\t\t350,\n\t\t1\n\t],\n\t\"./abnf\": [\n\t\t351,\n\t\t2\n\t],\n\t\"./abnf.js\": [\n\t\t351,\n\t\t2\n\t],\n\t\"./accesslog\": [\n\t\t352,\n\t\t3\n\t],\n\t\"./accesslog.js\": [\n\t\t352,\n\t\t3\n\t],\n\t\"./actionscript\": [\n\t\t353,\n\t\t4\n\t],\n\t\"./actionscript.js\": [\n\t\t353,\n\t\t4\n\t],\n\t\"./ada\": [\n\t\t354,\n\t\t5\n\t],\n\t\"./ada.js\": [\n\t\t354,\n\t\t5\n\t],\n\t\"./angelscript\": [\n\t\t355,\n\t\t6\n\t],\n\t\"./angelscript.js\": [\n\t\t355,\n\t\t6\n\t],\n\t\"./apache\": [\n\t\t356,\n\t\t7\n\t],\n\t\"./apache.js\": [\n\t\t356,\n\t\t7\n\t],\n\t\"./applescript\": [\n\t\t357,\n\t\t8\n\t],\n\t\"./applescript.js\": [\n\t\t357,\n\t\t8\n\t],\n\t\"./arcade\": [\n\t\t358,\n\t\t9\n\t],\n\t\"./arcade.js\": [\n\t\t358,\n\t\t9\n\t],\n\t\"./arduino\": [\n\t\t359,\n\t\t10\n\t],\n\t\"./arduino.js\": [\n\t\t359,\n\t\t10\n\t],\n\t\"./armasm\": [\n\t\t360,\n\t\t11\n\t],\n\t\"./armasm.js\": [\n\t\t360,\n\t\t11\n\t],\n\t\"./asciidoc\": [\n\t\t361,\n\t\t12\n\t],\n\t\"./asciidoc.js\": [\n\t\t361,\n\t\t12\n\t],\n\t\"./aspectj\": [\n\t\t362,\n\t\t13\n\t],\n\t\"./aspectj.js\": [\n\t\t362,\n\t\t13\n\t],\n\t\"./autohotkey\": [\n\t\t363,\n\t\t14\n\t],\n\t\"./autohotkey.js\": [\n\t\t363,\n\t\t14\n\t],\n\t\"./autoit\": [\n\t\t364,\n\t\t15\n\t],\n\t\"./autoit.js\": [\n\t\t364,\n\t\t15\n\t],\n\t\"./avrasm\": [\n\t\t365,\n\t\t16\n\t],\n\t\"./avrasm.js\": [\n\t\t365,\n\t\t16\n\t],\n\t\"./awk\": [\n\t\t366,\n\t\t17\n\t],\n\t\"./awk.js\": [\n\t\t366,\n\t\t17\n\t],\n\t\"./axapta\": [\n\t\t367,\n\t\t18\n\t],\n\t\"./axapta.js\": [\n\t\t367,\n\t\t18\n\t],\n\t\"./bash\": [\n\t\t368,\n\t\t19\n\t],\n\t\"./bash.js\": [\n\t\t368,\n\t\t19\n\t],\n\t\"./basic\": [\n\t\t369,\n\t\t20\n\t],\n\t\"./basic.js\": [\n\t\t369,\n\t\t20\n\t],\n\t\"./bnf\": [\n\t\t370,\n\t\t21\n\t],\n\t\"./bnf.js\": [\n\t\t370,\n\t\t21\n\t],\n\t\"./brainfuck\": [\n\t\t371,\n\t\t22\n\t],\n\t\"./brainfuck.js\": [\n\t\t371,\n\t\t22\n\t],\n\t\"./cal\": [\n\t\t372,\n\t\t23\n\t],\n\t\"./cal.js\": [\n\t\t372,\n\t\t23\n\t],\n\t\"./capnproto\": [\n\t\t373,\n\t\t24\n\t],\n\t\"./capnproto.js\": [\n\t\t373,\n\t\t24\n\t],\n\t\"./ceylon\": [\n\t\t374,\n\t\t25\n\t],\n\t\"./ceylon.js\": [\n\t\t374,\n\t\t25\n\t],\n\t\"./clean\": [\n\t\t375,\n\t\t26\n\t],\n\t\"./clean.js\": [\n\t\t375,\n\t\t26\n\t],\n\t\"./clojure\": [\n\t\t377,\n\t\t27\n\t],\n\t\"./clojure-repl\": [\n\t\t376,\n\t\t28\n\t],\n\t\"./clojure-repl.js\": [\n\t\t376,\n\t\t28\n\t],\n\t\"./clojure.js\": [\n\t\t377,\n\t\t27\n\t],\n\t\"./cmake\": [\n\t\t378,\n\t\t29\n\t],\n\t\"./cmake.js\": [\n\t\t378,\n\t\t29\n\t],\n\t\"./coffeescript\": [\n\t\t379,\n\t\t30\n\t],\n\t\"./coffeescript.js\": [\n\t\t379,\n\t\t30\n\t],\n\t\"./coq\": [\n\t\t380,\n\t\t31\n\t],\n\t\"./coq.js\": [\n\t\t380,\n\t\t31\n\t],\n\t\"./cos\": [\n\t\t381,\n\t\t32\n\t],\n\t\"./cos.js\": [\n\t\t381,\n\t\t32\n\t],\n\t\"./cpp\": [\n\t\t382,\n\t\t33\n\t],\n\t\"./cpp.js\": [\n\t\t382,\n\t\t33\n\t],\n\t\"./crmsh\": [\n\t\t383,\n\t\t34\n\t],\n\t\"./crmsh.js\": [\n\t\t383,\n\t\t34\n\t],\n\t\"./crystal\": [\n\t\t384,\n\t\t35\n\t],\n\t\"./crystal.js\": [\n\t\t384,\n\t\t35\n\t],\n\t\"./cs\": [\n\t\t385,\n\t\t36\n\t],\n\t\"./cs.js\": [\n\t\t385,\n\t\t36\n\t],\n\t\"./csp\": [\n\t\t386,\n\t\t37\n\t],\n\t\"./csp.js\": [\n\t\t386,\n\t\t37\n\t],\n\t\"./css\": [\n\t\t387,\n\t\t38\n\t],\n\t\"./css.js\": [\n\t\t387,\n\t\t38\n\t],\n\t\"./d\": [\n\t\t388,\n\t\t39\n\t],\n\t\"./d.js\": [\n\t\t388,\n\t\t39\n\t],\n\t\"./dart\": [\n\t\t389,\n\t\t40\n\t],\n\t\"./dart.js\": [\n\t\t389,\n\t\t40\n\t],\n\t\"./delphi\": [\n\t\t390,\n\t\t41\n\t],\n\t\"./delphi.js\": [\n\t\t390,\n\t\t41\n\t],\n\t\"./diff\": [\n\t\t391,\n\t\t42\n\t],\n\t\"./diff.js\": [\n\t\t391,\n\t\t42\n\t],\n\t\"./django\": [\n\t\t392,\n\t\t43\n\t],\n\t\"./django.js\": [\n\t\t392,\n\t\t43\n\t],\n\t\"./dns\": [\n\t\t393,\n\t\t44\n\t],\n\t\"./dns.js\": [\n\t\t393,\n\t\t44\n\t],\n\t\"./dockerfile\": [\n\t\t394,\n\t\t45\n\t],\n\t\"./dockerfile.js\": [\n\t\t394,\n\t\t45\n\t],\n\t\"./dos\": [\n\t\t395,\n\t\t46\n\t],\n\t\"./dos.js\": [\n\t\t395,\n\t\t46\n\t],\n\t\"./dsconfig\": [\n\t\t396,\n\t\t47\n\t],\n\t\"./dsconfig.js\": [\n\t\t396,\n\t\t47\n\t],\n\t\"./dts\": [\n\t\t397,\n\t\t48\n\t],\n\t\"./dts.js\": [\n\t\t397,\n\t\t48\n\t],\n\t\"./dust\": [\n\t\t398,\n\t\t49\n\t],\n\t\"./dust.js\": [\n\t\t398,\n\t\t49\n\t],\n\t\"./ebnf\": [\n\t\t399,\n\t\t50\n\t],\n\t\"./ebnf.js\": [\n\t\t399,\n\t\t50\n\t],\n\t\"./elixir\": [\n\t\t400,\n\t\t51\n\t],\n\t\"./elixir.js\": [\n\t\t400,\n\t\t51\n\t],\n\t\"./elm\": [\n\t\t401,\n\t\t52\n\t],\n\t\"./elm.js\": [\n\t\t401,\n\t\t52\n\t],\n\t\"./erb\": [\n\t\t402,\n\t\t53\n\t],\n\t\"./erb.js\": [\n\t\t402,\n\t\t53\n\t],\n\t\"./erlang\": [\n\t\t404,\n\t\t54\n\t],\n\t\"./erlang-repl\": [\n\t\t403,\n\t\t55\n\t],\n\t\"./erlang-repl.js\": [\n\t\t403,\n\t\t55\n\t],\n\t\"./erlang.js\": [\n\t\t404,\n\t\t54\n\t],\n\t\"./excel\": [\n\t\t405,\n\t\t56\n\t],\n\t\"./excel.js\": [\n\t\t405,\n\t\t56\n\t],\n\t\"./fix\": [\n\t\t406,\n\t\t57\n\t],\n\t\"./fix.js\": [\n\t\t406,\n\t\t57\n\t],\n\t\"./flix\": [\n\t\t407,\n\t\t58\n\t],\n\t\"./flix.js\": [\n\t\t407,\n\t\t58\n\t],\n\t\"./fortran\": [\n\t\t408,\n\t\t59\n\t],\n\t\"./fortran.js\": [\n\t\t408,\n\t\t59\n\t],\n\t\"./fsharp\": [\n\t\t409,\n\t\t60\n\t],\n\t\"./fsharp.js\": [\n\t\t409,\n\t\t60\n\t],\n\t\"./gams\": [\n\t\t410,\n\t\t61\n\t],\n\t\"./gams.js\": [\n\t\t410,\n\t\t61\n\t],\n\t\"./gauss\": [\n\t\t411,\n\t\t62\n\t],\n\t\"./gauss.js\": [\n\t\t411,\n\t\t62\n\t],\n\t\"./gcode\": [\n\t\t412,\n\t\t63\n\t],\n\t\"./gcode.js\": [\n\t\t412,\n\t\t63\n\t],\n\t\"./gherkin\": [\n\t\t413,\n\t\t64\n\t],\n\t\"./gherkin.js\": [\n\t\t413,\n\t\t64\n\t],\n\t\"./glsl\": [\n\t\t414,\n\t\t65\n\t],\n\t\"./glsl.js\": [\n\t\t414,\n\t\t65\n\t],\n\t\"./gml\": [\n\t\t415,\n\t\t66\n\t],\n\t\"./gml.js\": [\n\t\t415,\n\t\t66\n\t],\n\t\"./go\": [\n\t\t416,\n\t\t67\n\t],\n\t\"./go.js\": [\n\t\t416,\n\t\t67\n\t],\n\t\"./golo\": [\n\t\t417,\n\t\t68\n\t],\n\t\"./golo.js\": [\n\t\t417,\n\t\t68\n\t],\n\t\"./gradle\": [\n\t\t418,\n\t\t69\n\t],\n\t\"./gradle.js\": [\n\t\t418,\n\t\t69\n\t],\n\t\"./groovy\": [\n\t\t419,\n\t\t70\n\t],\n\t\"./groovy.js\": [\n\t\t419,\n\t\t70\n\t],\n\t\"./haml\": [\n\t\t420,\n\t\t71\n\t],\n\t\"./haml.js\": [\n\t\t420,\n\t\t71\n\t],\n\t\"./handlebars\": [\n\t\t421,\n\t\t72\n\t],\n\t\"./handlebars.js\": [\n\t\t421,\n\t\t72\n\t],\n\t\"./haskell\": [\n\t\t422,\n\t\t73\n\t],\n\t\"./haskell.js\": [\n\t\t422,\n\t\t73\n\t],\n\t\"./haxe\": [\n\t\t423,\n\t\t74\n\t],\n\t\"./haxe.js\": [\n\t\t423,\n\t\t74\n\t],\n\t\"./hsp\": [\n\t\t424,\n\t\t75\n\t],\n\t\"./hsp.js\": [\n\t\t424,\n\t\t75\n\t],\n\t\"./htmlbars\": [\n\t\t425,\n\t\t76\n\t],\n\t\"./htmlbars.js\": [\n\t\t425,\n\t\t76\n\t],\n\t\"./http\": [\n\t\t426,\n\t\t77\n\t],\n\t\"./http.js\": [\n\t\t426,\n\t\t77\n\t],\n\t\"./hy\": [\n\t\t427,\n\t\t78\n\t],\n\t\"./hy.js\": [\n\t\t427,\n\t\t78\n\t],\n\t\"./inform7\": [\n\t\t428,\n\t\t79\n\t],\n\t\"./inform7.js\": [\n\t\t428,\n\t\t79\n\t],\n\t\"./ini\": [\n\t\t429,\n\t\t80\n\t],\n\t\"./ini.js\": [\n\t\t429,\n\t\t80\n\t],\n\t\"./irpf90\": [\n\t\t430,\n\t\t81\n\t],\n\t\"./irpf90.js\": [\n\t\t430,\n\t\t81\n\t],\n\t\"./isbl\": [\n\t\t431,\n\t\t82\n\t],\n\t\"./isbl.js\": [\n\t\t431,\n\t\t82\n\t],\n\t\"./java\": [\n\t\t432,\n\t\t83\n\t],\n\t\"./java.js\": [\n\t\t432,\n\t\t83\n\t],\n\t\"./javascript\": [\n\t\t433,\n\t\t84\n\t],\n\t\"./javascript.js\": [\n\t\t433,\n\t\t84\n\t],\n\t\"./jboss-cli\": [\n\t\t434,\n\t\t85\n\t],\n\t\"./jboss-cli.js\": [\n\t\t434,\n\t\t85\n\t],\n\t\"./json\": [\n\t\t435,\n\t\t86\n\t],\n\t\"./json.js\": [\n\t\t435,\n\t\t86\n\t],\n\t\"./julia\": [\n\t\t437,\n\t\t87\n\t],\n\t\"./julia-repl\": [\n\t\t436,\n\t\t88\n\t],\n\t\"./julia-repl.js\": [\n\t\t436,\n\t\t88\n\t],\n\t\"./julia.js\": [\n\t\t437,\n\t\t87\n\t],\n\t\"./kotlin\": [\n\t\t438,\n\t\t89\n\t],\n\t\"./kotlin.js\": [\n\t\t438,\n\t\t89\n\t],\n\t\"./lasso\": [\n\t\t439,\n\t\t90\n\t],\n\t\"./lasso.js\": [\n\t\t439,\n\t\t90\n\t],\n\t\"./ldif\": [\n\t\t440,\n\t\t91\n\t],\n\t\"./ldif.js\": [\n\t\t440,\n\t\t91\n\t],\n\t\"./leaf\": [\n\t\t441,\n\t\t92\n\t],\n\t\"./leaf.js\": [\n\t\t441,\n\t\t92\n\t],\n\t\"./less\": [\n\t\t442,\n\t\t93\n\t],\n\t\"./less.js\": [\n\t\t442,\n\t\t93\n\t],\n\t\"./lisp\": [\n\t\t443,\n\t\t94\n\t],\n\t\"./lisp.js\": [\n\t\t443,\n\t\t94\n\t],\n\t\"./livecodeserver\": [\n\t\t444,\n\t\t95\n\t],\n\t\"./livecodeserver.js\": [\n\t\t444,\n\t\t95\n\t],\n\t\"./livescript\": [\n\t\t445,\n\t\t96\n\t],\n\t\"./livescript.js\": [\n\t\t445,\n\t\t96\n\t],\n\t\"./llvm\": [\n\t\t446,\n\t\t97\n\t],\n\t\"./llvm.js\": [\n\t\t446,\n\t\t97\n\t],\n\t\"./lsl\": [\n\t\t447,\n\t\t98\n\t],\n\t\"./lsl.js\": [\n\t\t447,\n\t\t98\n\t],\n\t\"./lua\": [\n\t\t448,\n\t\t99\n\t],\n\t\"./lua.js\": [\n\t\t448,\n\t\t99\n\t],\n\t\"./makefile\": [\n\t\t449,\n\t\t100\n\t],\n\t\"./makefile.js\": [\n\t\t449,\n\t\t100\n\t],\n\t\"./markdown\": [\n\t\t450,\n\t\t101\n\t],\n\t\"./markdown.js\": [\n\t\t450,\n\t\t101\n\t],\n\t\"./mathematica\": [\n\t\t451,\n\t\t102\n\t],\n\t\"./mathematica.js\": [\n\t\t451,\n\t\t102\n\t],\n\t\"./matlab\": [\n\t\t452,\n\t\t103\n\t],\n\t\"./matlab.js\": [\n\t\t452,\n\t\t103\n\t],\n\t\"./maxima\": [\n\t\t453,\n\t\t104\n\t],\n\t\"./maxima.js\": [\n\t\t453,\n\t\t104\n\t],\n\t\"./mel\": [\n\t\t454,\n\t\t105\n\t],\n\t\"./mel.js\": [\n\t\t454,\n\t\t105\n\t],\n\t\"./mercury\": [\n\t\t455,\n\t\t106\n\t],\n\t\"./mercury.js\": [\n\t\t455,\n\t\t106\n\t],\n\t\"./mipsasm\": [\n\t\t456,\n\t\t107\n\t],\n\t\"./mipsasm.js\": [\n\t\t456,\n\t\t107\n\t],\n\t\"./mizar\": [\n\t\t457,\n\t\t108\n\t],\n\t\"./mizar.js\": [\n\t\t457,\n\t\t108\n\t],\n\t\"./mojolicious\": [\n\t\t458,\n\t\t109\n\t],\n\t\"./mojolicious.js\": [\n\t\t458,\n\t\t109\n\t],\n\t\"./monkey\": [\n\t\t459,\n\t\t110\n\t],\n\t\"./monkey.js\": [\n\t\t459,\n\t\t110\n\t],\n\t\"./moonscript\": [\n\t\t460,\n\t\t111\n\t],\n\t\"./moonscript.js\": [\n\t\t460,\n\t\t111\n\t],\n\t\"./n1ql\": [\n\t\t461,\n\t\t112\n\t],\n\t\"./n1ql.js\": [\n\t\t461,\n\t\t112\n\t],\n\t\"./nginx\": [\n\t\t462,\n\t\t113\n\t],\n\t\"./nginx.js\": [\n\t\t462,\n\t\t113\n\t],\n\t\"./nimrod\": [\n\t\t463,\n\t\t114\n\t],\n\t\"./nimrod.js\": [\n\t\t463,\n\t\t114\n\t],\n\t\"./nix\": [\n\t\t464,\n\t\t115\n\t],\n\t\"./nix.js\": [\n\t\t464,\n\t\t115\n\t],\n\t\"./nsis\": [\n\t\t465,\n\t\t116\n\t],\n\t\"./nsis.js\": [\n\t\t465,\n\t\t116\n\t],\n\t\"./objectivec\": [\n\t\t466,\n\t\t117\n\t],\n\t\"./objectivec.js\": [\n\t\t466,\n\t\t117\n\t],\n\t\"./ocaml\": [\n\t\t467,\n\t\t118\n\t],\n\t\"./ocaml.js\": [\n\t\t467,\n\t\t118\n\t],\n\t\"./openscad\": [\n\t\t468,\n\t\t119\n\t],\n\t\"./openscad.js\": [\n\t\t468,\n\t\t119\n\t],\n\t\"./oxygene\": [\n\t\t469,\n\t\t120\n\t],\n\t\"./oxygene.js\": [\n\t\t469,\n\t\t120\n\t],\n\t\"./parser3\": [\n\t\t470,\n\t\t121\n\t],\n\t\"./parser3.js\": [\n\t\t470,\n\t\t121\n\t],\n\t\"./perl\": [\n\t\t471,\n\t\t122\n\t],\n\t\"./perl.js\": [\n\t\t471,\n\t\t122\n\t],\n\t\"./pf\": [\n\t\t472,\n\t\t123\n\t],\n\t\"./pf.js\": [\n\t\t472,\n\t\t123\n\t],\n\t\"./pgsql\": [\n\t\t473,\n\t\t124\n\t],\n\t\"./pgsql.js\": [\n\t\t473,\n\t\t124\n\t],\n\t\"./php\": [\n\t\t474,\n\t\t125\n\t],\n\t\"./php.js\": [\n\t\t474,\n\t\t125\n\t],\n\t\"./plaintext\": [\n\t\t475,\n\t\t126\n\t],\n\t\"./plaintext.js\": [\n\t\t475,\n\t\t126\n\t],\n\t\"./pony\": [\n\t\t476,\n\t\t127\n\t],\n\t\"./pony.js\": [\n\t\t476,\n\t\t127\n\t],\n\t\"./powershell\": [\n\t\t477,\n\t\t128\n\t],\n\t\"./powershell.js\": [\n\t\t477,\n\t\t128\n\t],\n\t\"./processing\": [\n\t\t478,\n\t\t129\n\t],\n\t\"./processing.js\": [\n\t\t478,\n\t\t129\n\t],\n\t\"./profile\": [\n\t\t479,\n\t\t130\n\t],\n\t\"./profile.js\": [\n\t\t479,\n\t\t130\n\t],\n\t\"./prolog\": [\n\t\t480,\n\t\t131\n\t],\n\t\"./prolog.js\": [\n\t\t480,\n\t\t131\n\t],\n\t\"./properties\": [\n\t\t481,\n\t\t132\n\t],\n\t\"./properties.js\": [\n\t\t481,\n\t\t132\n\t],\n\t\"./protobuf\": [\n\t\t482,\n\t\t133\n\t],\n\t\"./protobuf.js\": [\n\t\t482,\n\t\t133\n\t],\n\t\"./puppet\": [\n\t\t483,\n\t\t134\n\t],\n\t\"./puppet.js\": [\n\t\t483,\n\t\t134\n\t],\n\t\"./purebasic\": [\n\t\t484,\n\t\t135\n\t],\n\t\"./purebasic.js\": [\n\t\t484,\n\t\t135\n\t],\n\t\"./python\": [\n\t\t485,\n\t\t136\n\t],\n\t\"./python.js\": [\n\t\t485,\n\t\t136\n\t],\n\t\"./q\": [\n\t\t486,\n\t\t137\n\t],\n\t\"./q.js\": [\n\t\t486,\n\t\t137\n\t],\n\t\"./qml\": [\n\t\t487,\n\t\t138\n\t],\n\t\"./qml.js\": [\n\t\t487,\n\t\t138\n\t],\n\t\"./r\": [\n\t\t488,\n\t\t139\n\t],\n\t\"./r.js\": [\n\t\t488,\n\t\t139\n\t],\n\t\"./reasonml\": [\n\t\t489,\n\t\t140\n\t],\n\t\"./reasonml.js\": [\n\t\t489,\n\t\t140\n\t],\n\t\"./rib\": [\n\t\t490,\n\t\t141\n\t],\n\t\"./rib.js\": [\n\t\t490,\n\t\t141\n\t],\n\t\"./roboconf\": [\n\t\t491,\n\t\t142\n\t],\n\t\"./roboconf.js\": [\n\t\t491,\n\t\t142\n\t],\n\t\"./routeros\": [\n\t\t492,\n\t\t143\n\t],\n\t\"./routeros.js\": [\n\t\t492,\n\t\t143\n\t],\n\t\"./rsl\": [\n\t\t493,\n\t\t144\n\t],\n\t\"./rsl.js\": [\n\t\t493,\n\t\t144\n\t],\n\t\"./ruby\": [\n\t\t494,\n\t\t145\n\t],\n\t\"./ruby.js\": [\n\t\t494,\n\t\t145\n\t],\n\t\"./ruleslanguage\": [\n\t\t495,\n\t\t146\n\t],\n\t\"./ruleslanguage.js\": [\n\t\t495,\n\t\t146\n\t],\n\t\"./rust\": [\n\t\t496,\n\t\t147\n\t],\n\t\"./rust.js\": [\n\t\t496,\n\t\t147\n\t],\n\t\"./sas\": [\n\t\t497,\n\t\t148\n\t],\n\t\"./sas.js\": [\n\t\t497,\n\t\t148\n\t],\n\t\"./scala\": [\n\t\t498,\n\t\t149\n\t],\n\t\"./scala.js\": [\n\t\t498,\n\t\t149\n\t],\n\t\"./scheme\": [\n\t\t499,\n\t\t150\n\t],\n\t\"./scheme.js\": [\n\t\t499,\n\t\t150\n\t],\n\t\"./scilab\": [\n\t\t500,\n\t\t151\n\t],\n\t\"./scilab.js\": [\n\t\t500,\n\t\t151\n\t],\n\t\"./scss\": [\n\t\t501,\n\t\t152\n\t],\n\t\"./scss.js\": [\n\t\t501,\n\t\t152\n\t],\n\t\"./shell\": [\n\t\t502,\n\t\t153\n\t],\n\t\"./shell.js\": [\n\t\t502,\n\t\t153\n\t],\n\t\"./smali\": [\n\t\t503,\n\t\t154\n\t],\n\t\"./smali.js\": [\n\t\t503,\n\t\t154\n\t],\n\t\"./smalltalk\": [\n\t\t504,\n\t\t155\n\t],\n\t\"./smalltalk.js\": [\n\t\t504,\n\t\t155\n\t],\n\t\"./sml\": [\n\t\t505,\n\t\t156\n\t],\n\t\"./sml.js\": [\n\t\t505,\n\t\t156\n\t],\n\t\"./sqf\": [\n\t\t506,\n\t\t157\n\t],\n\t\"./sqf.js\": [\n\t\t506,\n\t\t157\n\t],\n\t\"./sql\": [\n\t\t507,\n\t\t158\n\t],\n\t\"./sql.js\": [\n\t\t507,\n\t\t158\n\t],\n\t\"./stan\": [\n\t\t508,\n\t\t159\n\t],\n\t\"./stan.js\": [\n\t\t508,\n\t\t159\n\t],\n\t\"./stata\": [\n\t\t509,\n\t\t160\n\t],\n\t\"./stata.js\": [\n\t\t509,\n\t\t160\n\t],\n\t\"./step21\": [\n\t\t510,\n\t\t161\n\t],\n\t\"./step21.js\": [\n\t\t510,\n\t\t161\n\t],\n\t\"./stylus\": [\n\t\t511,\n\t\t162\n\t],\n\t\"./stylus.js\": [\n\t\t511,\n\t\t162\n\t],\n\t\"./subunit\": [\n\t\t512,\n\t\t163\n\t],\n\t\"./subunit.js\": [\n\t\t512,\n\t\t163\n\t],\n\t\"./swift\": [\n\t\t513,\n\t\t164\n\t],\n\t\"./swift.js\": [\n\t\t513,\n\t\t164\n\t],\n\t\"./taggerscript\": [\n\t\t514,\n\t\t165\n\t],\n\t\"./taggerscript.js\": [\n\t\t514,\n\t\t165\n\t],\n\t\"./tap\": [\n\t\t515,\n\t\t166\n\t],\n\t\"./tap.js\": [\n\t\t515,\n\t\t166\n\t],\n\t\"./tcl\": [\n\t\t516,\n\t\t167\n\t],\n\t\"./tcl.js\": [\n\t\t516,\n\t\t167\n\t],\n\t\"./tex\": [\n\t\t517,\n\t\t168\n\t],\n\t\"./tex.js\": [\n\t\t517,\n\t\t168\n\t],\n\t\"./thrift\": [\n\t\t518,\n\t\t169\n\t],\n\t\"./thrift.js\": [\n\t\t518,\n\t\t169\n\t],\n\t\"./tp\": [\n\t\t519,\n\t\t170\n\t],\n\t\"./tp.js\": [\n\t\t519,\n\t\t170\n\t],\n\t\"./twig\": [\n\t\t520,\n\t\t171\n\t],\n\t\"./twig.js\": [\n\t\t520,\n\t\t171\n\t],\n\t\"./typescript\": [\n\t\t521,\n\t\t172\n\t],\n\t\"./typescript.js\": [\n\t\t521,\n\t\t172\n\t],\n\t\"./vala\": [\n\t\t522,\n\t\t173\n\t],\n\t\"./vala.js\": [\n\t\t522,\n\t\t173\n\t],\n\t\"./vbnet\": [\n\t\t523,\n\t\t174\n\t],\n\t\"./vbnet.js\": [\n\t\t523,\n\t\t174\n\t],\n\t\"./vbscript\": [\n\t\t525,\n\t\t175\n\t],\n\t\"./vbscript-html\": [\n\t\t524,\n\t\t176\n\t],\n\t\"./vbscript-html.js\": [\n\t\t524,\n\t\t176\n\t],\n\t\"./vbscript.js\": [\n\t\t525,\n\t\t175\n\t],\n\t\"./verilog\": [\n\t\t526,\n\t\t177\n\t],\n\t\"./verilog.js\": [\n\t\t526,\n\t\t177\n\t],\n\t\"./vhdl\": [\n\t\t527,\n\t\t178\n\t],\n\t\"./vhdl.js\": [\n\t\t527,\n\t\t178\n\t],\n\t\"./vim\": [\n\t\t528,\n\t\t179\n\t],\n\t\"./vim.js\": [\n\t\t528,\n\t\t179\n\t],\n\t\"./x86asm\": [\n\t\t529,\n\t\t180\n\t],\n\t\"./x86asm.js\": [\n\t\t529,\n\t\t180\n\t],\n\t\"./xl\": [\n\t\t530,\n\t\t181\n\t],\n\t\"./xl.js\": [\n\t\t530,\n\t\t181\n\t],\n\t\"./xml\": [\n\t\t531,\n\t\t182\n\t],\n\t\"./xml.js\": [\n\t\t531,\n\t\t182\n\t],\n\t\"./xquery\": [\n\t\t532,\n\t\t183\n\t],\n\t\"./xquery.js\": [\n\t\t532,\n\t\t183\n\t],\n\t\"./yaml\": [\n\t\t533,\n\t\t184\n\t],\n\t\"./yaml.js\": [\n\t\t533,\n\t\t184\n\t],\n\t\"./zephir\": [\n\t\t534,\n\t\t185\n\t],\n\t\"./zephir.js\": [\n\t\t534,\n\t\t185\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__.t(id, 7);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 606;\nmodule.exports = webpackAsyncContext;","import mod from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=0&lang=scss&\"","exports = module.exports = require(\"../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"#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 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{font-size:36px}#read-only-editor div.ProseMirror h2{font-size:28px}#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 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 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:14px}#read-only-editor div.ProseMirror ul li{list-style-type:disc}#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\", \"\"]);\n","import mod from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=1&lang=scss&\"; export default mod; export * from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=1&lang=scss&\"","exports = module.exports = require(\"../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"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 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{font-size:36px}div.ProseMirror h2{font-size:28px}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 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 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:14px}div.ProseMirror ul li{list-style-type:disc}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\", \"\"]);\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.editor)?_c('EditorContent',{attrs:{\"id\":\"read-only-editor\",\"editor\":_vm.editor}}):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=script&lang=js&\"","<!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<template>\n\t<EditorContent v-if=\"editor\" id=\"read-only-editor\" :editor=\"editor\" />\n</template>\n\n<script>\nimport { EditorContent } from 'tiptap'\nimport escapeHtml from 'escape-html'\nimport { createEditor, markdownit } from '../EditorFactory'\n\nexport default {\n\tname: 'ReadOnlyEditor',\n\tcomponents: { EditorContent },\n\tprops: {\n\t\tcontent: {\n\t\t\ttype: String,\n\t\t\trequired: true\n\t\t},\n\t\tisRichEditor: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t}\n\t},\n\tdata: () => {\n\t\treturn {\n\t\t\teditor: null\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.editor = createEditor({\n\t\t\tcontent: this.isRichEditor ? markdownit.render(this.content) : '<pre>' + escapeHtml(this.content) + '</pre>',\n\t\t\tenableRichEditing: this.isRichEditor\n\t\t})\n\t\tthis.editor.setOptions({ editable: false })\n\t},\n\tbeforeDestroy() {\n\t\tthis.editor.destroy()\n\t}\n}\n</script>\n\n<style lang=\"scss\">\n\n\t#read-only-editor {\n\t\t@import './../../css/prosemirror';\n\t\toverflow: scroll;\n\t}\n\n\t.thumbnailContainer #read-only-editor {\n\t\twidth: 100%;\n\n\t\t.ProseMirror {\n\t\t\theight: auto;\n\t\t\tmargin: 0 0 0 0;\n\t\t\tpadding: 0;\n\t\t}\n\t}\n\n</style>\n<style lang=\"scss\">\n\t@import './../../css/prosemirror';\n</style>\n","import { render, staticRenderFns } from \"./ReadOnlyEditor.vue?vue&type=template&id=4ac1bac5&\"\nimport script from \"./ReadOnlyEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./ReadOnlyEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ReadOnlyEditor.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./ReadOnlyEditor.vue?vue&type=style&index=1&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file
+{"version":3,"sources":["webpack:///./src/nodes/ImageView.vue?d7d1","webpack:///./src/components/ReadOnlyEditor.vue?fbe1","webpack:///./src/components/ReadOnlyEditor.vue?b76d","webpack:///./src/marks/index.js","webpack:///src/nodes/ImageView.vue","webpack:///./src/nodes/ImageView.vue?549b","webpack:///./src/nodes/ImageView.vue","webpack:///./src/nodes/ImageView.vue?1b58","webpack:///./src/nodes/Image.js","webpack:///./src/nodes/PlainTextDocument.js","webpack:///./src/EditorFactory.js","webpack:///./src/nodes/ImageView.vue?6f62","webpack:///./src/nodes/ImageView.vue?b82f","webpack:///./node_modules/highlight.js/lib/languages lazy ^\\.\\/.*$ namespace object","webpack:///./src/components/ReadOnlyEditor.vue?9358","webpack:///./src/components/ReadOnlyEditor.vue?31a0","webpack:///./src/components/ReadOnlyEditor.vue?d128","webpack:///./src/components/ReadOnlyEditor.vue?d976","webpack:///./src/components/ReadOnlyEditor.vue?936d","webpack:///./src/components/ReadOnlyEditor.vue?fe8f","webpack:///src/components/ReadOnlyEditor.vue","webpack:///./src/components/ReadOnlyEditor.vue"],"names":["content","module","i","locals","exports","add","default","Strong","Bold","Italic","TipTapItalic","Strike","parseDOM","tag","style","getAttrs","value","toDOM","toMarkdown","open","close","mixable","expelEnclosingWhitespace","TipTapStrike","_vm","this","_h","$createElement","_c","_self","staticClass","class","loaded","attrs","src","imageLoaded","isSupportedImage","directives","name","rawName","expression","on","onLoaded","_v","ref","domProps","alt","$event","type","indexOf","_k","keyCode","key","updateAlt","internalLinkOrImage","_s","t","Image","ImageView","selectable","TiptapImage","PlainTextDocument","Tab","state","insertText","editor","view","dispatch","Node","loadSyntaxHighlight","language","languages","modules","length","lang","undefined","Object","keys","constructor","createEditor","onInit","onUpdate","extensions","enableRichEditing","richEditingExtensions","Heading","Code","HardBreak","HorizontalRule","BulletList","OrderedList","Blockquote","CodeBlock","ListItem","Link","Placeholder","emptyNodeClass","emptyNodeText","showOnlyWhenEditable","Text","CodeBlockHighlight","Editor","History","concat","useBuiltInExtensions","markdownit","MarkdownIt","html","breaks","enable","SerializeException","message","createMarkdownSerializer","_nodes","_marks","nodes","entries","filter","reduce","items","marks","serializer","MarkdownSerializer","defaultMarkdownSerializer","serialize","options","tightLists","split","join","serializePlainText","tiptap","doc","getJSON","codeBlock","text","push","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","component","_e"],"mappings":"uFAGA,IAAIA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,oBAAqB,CACpB,IACA,GAED,QAAS,CACR,IACA,GAED,WAAY,CACX,IACA,GAED,gBAAiB,CAChB,IACA,GAED,mBAAoB,CACnB,IACA,GAED,WAAY,CACX,IACA,GAED,cAAe,CACd,IACA,GAED,gBAAiB,CAChB,IACA,GAED,mBAAoB,CACnB,IACA,GAED,WAAY,CACX,IACA,GAED,cAAe,CACd,IACA,GAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,aAAc,CACb,IACA,IAED,gBAAiB,CAChB,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,iBAAkB,CACjB,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,iBAAkB,CACjB,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,YAAa,CACZ,IACA,IAED,iBAAkB,CACjB,IACA,IAED,oBAAqB,CACpB,IACA,IAED,eAAgB,CACf,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,iBAAkB,CACjB,IACA,IAED,oBAAqB,CACpB,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,OAAQ,CACP,IACA,IAED,UAAW,CACV,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,MAAO,CACN,IACA,IAED,SAAU,CACT,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,aAAc,CACb,IACA,IAED,gBAAiB,CAChB,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,WAAY,CACX,IACA,IAED,gBAAiB,CAChB,IACA,IAED,mBAAoB,CACnB,IACA,IAED,cAAe,CACd,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,OAAQ,CACP,IACA,IAED,UAAW,CACV,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,aAAc,CACb,IACA,IAED,gBAAiB,CAChB,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,OAAQ,CACP,IACA,IAED,UAAW,CACV,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,cAAe,CACd,IACA,IAED,iBAAkB,CACjB,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,UAAW,CACV,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,aAAc,CACb,IACA,IAED,WAAY,CACX,IACA,IAED,cAAe,CACd,IACA,IAED,UAAW,CACV,IACA,IAED,aAAc,CACb,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,mBAAoB,CACnB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,eAAgB,CACf,IACA,IAED,kBAAmB,CAClB,IACA,IAED,SAAU,CACT,IACA,IAED,YAAa,CACZ,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,QAAS,CACR,IACA,IAED,WAAY,CACX,IACA,IAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,gBAAiB,CAChB,IACA,KAED,mBAAoB,CACnB,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,mBAAoB,CACnB,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,OAAQ,CACP,IACA,KAED,UAAW,CACV,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,iBAAkB,CACjB,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,cAAe,CACd,IACA,KAED,iBAAkB,CACjB,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,MAAO,CACN,IACA,KAED,SAAU,CACT,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,MAAO,CACN,IACA,KAED,SAAU,CACT,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,aAAc,CACb,IACA,KAED,gBAAiB,CAChB,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,kBAAmB,CAClB,IACA,KAED,qBAAsB,CACrB,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,cAAe,CACd,IACA,KAED,iBAAkB,CACjB,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,iBAAkB,CACjB,IACA,KAED,oBAAqB,CACpB,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,QAAS,CACR,IACA,KAED,WAAY,CACX,IACA,KAED,WAAY,CACX,IACA,KAED,cAAe,CACd,IACA,KAED,OAAQ,CACP,IACA,KAED,UAAW,CACV,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,kBAAmB,CAClB,IACA,KAED,SAAU,CACT,IACA,KAED,YAAa,CACZ,IACA,KAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,aAAc,CACb,IACA,KAED,kBAAmB,CAClB,IACA,KAED,qBAAsB,CACrB,IACA,KAED,gBAAiB,CAChB,IACA,KAED,YAAa,CACZ,IACA,KAED,eAAgB,CACf,IACA,KAED,SAAU,CACT,IAC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,OAAEG,EAAG,gBAAgB,CAACK,MAAM,CAAC,GAAK,mBAAmB,OAA9HR,KAA2IwC,UAA3IxC,KAAyJ6H,OACrK,IGYpB,EACA,KACA,KACA,MAIa,UAAAD,E","file":"preview.js?v=c79d90140ed82c79b410","sourcesContent":["// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageView.vue?vue&type=style&index=0&id=2ac49a8a&scoped=true&lang=scss&\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"e7906548\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=0&lang=scss&\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"5ba6a5c3\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=1&lang=scss&\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"ed017fbc\", content, true, {});","/*\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { Bold, Italic as TipTapItalic, Strike as TipTapStrike } from 'tiptap-extensions'\n\n/**\n * This file maps prosemirror mark names to tiptap classes,\n * so we can reuse the prosemirror-markdown default parser for now\n */\n\nclass Strong extends Bold {\n\n\tget name() {\n\t\treturn 'strong'\n\t}\n\n}\n\nclass Italic extends TipTapItalic {\n\n\tget name() {\n\t\treturn 'em'\n\t}\n\n}\n\nclass Strike extends TipTapStrike {\n\n\tget schema() {\n\t\treturn {\n\t\t\tparseDOM: [\n\t\t\t\t{\n\t\t\t\t\ttag: 's',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttag: 'del',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttag: 'strike',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tstyle: 'text-decoration',\n\t\t\t\t\tgetAttrs: value => value === 'line-through',\n\t\t\t\t},\n\t\t\t],\n\t\t\ttoDOM: () => ['s', 0],\n\t\t\ttoMarkdown: {\n\t\t\t\topen: '~~',\n\t\t\t\tclose: '~~',\n\t\t\t\tmixable: true,\n\t\t\t\texpelEnclosingWhitespace: true,\n\t\t\t},\n\t\t}\n\t}\n\n}\n\n/** Strike is currently unsupported by prosemirror-markdown */\n\nexport {\n\tStrong,\n\tItalic,\n\tStrike,\n}\n","<!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<template>\n\t<div class=\"image\" :class=\"{'icon-loading': !loaded}\" :data-src=\"src\">\n\t\t<div v-if=\"imageLoaded && isSupportedImage\">\n\t\t\t<transition name=\"fade\">\n\t\t\t\t<img v-show=\"loaded\"\n\t\t\t\t\t:src=\"src\"\n\t\t\t\t\tclass=\"image__main\"\n\t\t\t\t\t@load=\"onLoaded\">\n\t\t\t</transition>\n\t\t\t<transition name=\"fade\">\n\t\t\t\t<div v-show=\"loaded\" class=\"image__caption\">\n\t\t\t\t\t<input ref=\"altInput\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t:value=\"alt\"\n\t\t\t\t\t\t@keyup.enter=\"updateAlt()\">\n\t\t\t\t</div>\n\t\t\t</transition>\n\t\t</div>\n\t\t<div v-else class=\"image__placeholder\">\n\t\t\t<transition name=\"fade\">\n\t\t\t\t<div v-show=\"loaded\" class=\"image__main\">\n\t\t\t\t\t<div class=\"icon-image\" :style=\"mimeIcon\" />\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<a :href=\"internalLinkOrImage\" target=\"_blank\">{{ isSupportedImage ? t('text', 'Show image') : t('text', 'Show file') }}</a>\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t</transition><transition name=\"fade\">\n\t\t\t\t<div v-show=\"loaded\" class=\"image__caption\">\n\t\t\t\t\t<input ref=\"altInput\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t:value=\"alt\"\n\t\t\t\t\t\t@keyup.enter=\"updateAlt()\">\n\t\t\t\t</div>\n\t\t\t</transition>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\n\nconst imageMimes = [\n\t'image/png',\n\t'image/jpeg',\n\t'image/gif',\n\t'image/x-xbitmap',\n\t'image/bmp',\n\t'image/svg+xml',\n]\n\nconst getQueryVariable = (src, variable) => {\n\tconst query = src.split('#')[1]\n\tif (typeof query === 'undefined') {\n\t\treturn\n\t}\n\tconst vars = query.split('&')\n\tif (typeof vars === 'undefined') {\n\t\treturn\n\t}\n\tfor (let i = 0; i < vars.length; i++) {\n\t\tconst pair = vars[i].split('=')\n\t\tif (decodeURIComponent(pair[0]) === variable) {\n\t\t\treturn decodeURIComponent(pair[1])\n\t\t}\n\t}\n}\n\nexport default {\n\tname: 'ImageView',\n\tprops: ['node', 'updateAttrs', 'view'], // eslint-disable-line\n\tdata() {\n\t\treturn {\n\t\t\timageLoaded: false,\n\t\t\tloaded: false,\n\t\t\tfailed: false,\n\t\t}\n\t},\n\tcomputed: {\n\t\tmimeIcon() {\n\t\t\tconst mime = getQueryVariable(this.src, 'mimetype')\n\t\t\tif (mime) {\n\t\t\t\treturn {\n\t\t\t\t\tbackgroundImage: 'url(' + window.OC.MimeType.getIconUrl(mime) + ')',\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn {}\n\t\t},\n\t\tisSupportedImage() {\n\t\t\tconst mime = getQueryVariable(this.src, 'mimetype')\n\t\t\treturn typeof mime === 'undefined' || imageMimes.indexOf(mime) !== -1\n\t\t},\n\t\tinternalLinkOrImage() {\n\t\t\tconst fileId = getQueryVariable(this.src, 'fileId')\n\t\t\tif (fileId) {\n\t\t\t\treturn OC.generateUrl('/f/' + fileId)\n\t\t\t}\n\t\t\treturn this.src\n\t\t},\n\t\tsrc: {\n\t\t\tget() {\n\t\t\t\treturn this.node.attrs.src\n\t\t\t},\n\t\t\tset(src) {\n\t\t\t\tthis.updateAttrs({\n\t\t\t\t\tsrc,\n\t\t\t\t})\n\t\t\t},\n\t\t},\n\t\talt: {\n\t\t\tget() {\n\t\t\t\treturn this.node.attrs.alt ? this.node.attrs.alt : ''\n\t\t\t},\n\t\t\tset(alt) {\n\t\t\t\tthis.updateAttrs({\n\t\t\t\t\talt,\n\t\t\t\t})\n\t\t\t},\n\t\t},\n\t\tt() {\n\t\t\treturn (a, s) => window.t(a, s)\n\t\t},\n\t},\n\tbeforeMount() {\n\t\tif (!this.isSupportedImage) {\n\t\t\t// TODO check if hasPreview and render a file preview if available\n\t\t\tthis.failed = true\n\t\t\tthis.imageLoaded = false\n\t\t\tthis.loaded = true\n\t\t\treturn\n\t\t}\n\t\tconst img = new Image()\n\t\timg.src = this.node.attrs.src\n\t\timg.onload = () => {\n\t\t\tthis.imageLoaded = true\n\t\t}\n\t\timg.onerror = () => {\n\t\t\tthis.failed = true\n\t\t\tthis.imageLoaded = false\n\t\t\tthis.loaded = true\n\t\t}\n\t},\n\tmethods: {\n\t\tupdateAlt() {\n\t\t\tthis.alt = this.$refs.altInput.value\n\t\t},\n\t\tonLoaded() {\n\t\t\tthis.loaded = true\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\n\t.image {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\n\t.image__caption {\n\t\ttext-align: center;\n\t\tcolor: var(--color-text-lighter);\n\t\tinput[type='text'] {\n\t\t\twidth: 100%;\n\t\t\tborder: none;\n\t\t\ttext-align: center;\n\t\t}\n\t}\n\n\t.icon-image {\n\t\tmargin-top: 10px;\n\t\theight: 32px;\n\t\tpadding: 20px;\n\t\tbackground-size: contain;\n\t}\n\n\t.image__loading {\n\t\theight: 100px;\n\t}\n\n\t.image__placeholder .image__main {\n\t\tbackground-color: var(--color-background-dark);\n\t\ttext-align: center;\n\t\tpadding: 20px;\n\t\tborder-radius: var(--border-radius);\n\t\t.icon-image {\n\t\t\topacity: 0.7;\n\t\t}\n\t}\n\n\t.fade-enter-active {\n\t\ttransition: opacity .3s ease-in-out;\n\t}\n\n\t.fade-enter-to {\n\t\topacity: 1;\n\t}\n\n\t.fade-enter {\n\t\topacity: 0;\n\t}\n</style>\n","import mod from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageView.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageView.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ImageView.vue?vue&type=template&id=2ac49a8a&scoped=true&\"\nimport script from \"./ImageView.vue?vue&type=script&lang=js&\"\nexport * from \"./ImageView.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ImageView.vue?vue&type=style&index=0&id=2ac49a8a&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ac49a8a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"image\",class:{'icon-loading': !_vm.loaded},attrs:{\"data-src\":_vm.src}},[(_vm.imageLoaded && _vm.isSupportedImage)?_c('div',[_c('transition',{attrs:{\"name\":\"fade\"}},[_c('img',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loaded),expression:\"loaded\"}],staticClass:\"image__main\",attrs:{\"src\":_vm.src},on:{\"load\":_vm.onLoaded}})]),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loaded),expression:\"loaded\"}],staticClass:\"image__caption\"},[_c('input',{ref:\"altInput\",attrs:{\"type\":\"text\"},domProps:{\"value\":_vm.alt},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.updateAlt()}}})])])],1):_c('div',{staticClass:\"image__placeholder\"},[_c('transition',{attrs:{\"name\":\"fade\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loaded),expression:\"loaded\"}],staticClass:\"image__main\"},[_c('div',{staticClass:\"icon-image\",style:(_vm.mimeIcon)}),_vm._v(\" \"),_c('p',[_c('a',{attrs:{\"href\":_vm.internalLinkOrImage,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.isSupportedImage ? _vm.t('text', 'Show image') : _vm.t('text', 'Show file')))])])])]),_c('transition',{attrs:{\"name\":\"fade\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loaded),expression:\"loaded\"}],staticClass:\"image__caption\"},[_c('input',{ref:\"altInput\",attrs:{\"type\":\"text\"},domProps:{\"value\":_vm.alt},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.updateAlt()}}})])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { Image as TiptapImage } from 'tiptap-extensions'\nimport ImageView from './ImageView'\n\nexport default class Image extends TiptapImage {\n\n\tget view() {\n\t\treturn ImageView\n\t}\n\n\tget schema() {\n\t\treturn {\n\t\t\t...super.schema,\n\t\t\tselectable: false,\n\t\t}\n\t}\n\n}\n","/*\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { Node } from 'tiptap'\nimport { insertText } from 'tiptap-commands'\n\nexport default class PlainTextDocument extends Node {\n\n\tget name() {\n\t\treturn 'doc'\n\t}\n\n\tget schema() {\n\t\treturn {\n\t\t\tcontent: 'block',\n\t\t}\n\t}\n\n\tkeys() {\n\t\treturn {\n\t\t\tTab: (state) => {\n\t\t\t\tinsertText('\\t')(state, this.editor.view.dispatch, this.editor.view)\n\t\t\t\treturn true\n\t\t\t},\n\t\t}\n\t}\n\n}\n","/*\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { Editor, Text } from 'tiptap'\nimport {\n\tHardBreak,\n\tHeading,\n\tCode,\n\tLink,\n\tBulletList,\n\tOrderedList,\n\tListItem,\n\tBlockquote,\n\tCodeBlock,\n\tCodeBlockHighlight,\n\tHorizontalRule,\n\tHistory,\n\tPlaceholder,\n} from 'tiptap-extensions'\nimport { Strong, Italic, Strike } from './marks'\nimport { Image, PlainTextDocument } from './nodes'\nimport MarkdownIt from 'markdown-it'\n\nimport { MarkdownSerializer, defaultMarkdownSerializer } from 'prosemirror-markdown'\n\nconst loadSyntaxHighlight = async(language) => {\n\tconst languages = [language]\n\tconst modules = {}\n\tfor (let i = 0; i < languages.length; i++) {\n\t\ttry {\n\t\t\tconst lang = await import(/* webpackChunkName: \"highlight/[request]\" */'highlight.js/lib/languages/' + languages[i])\n\t\t\tmodules[languages[i]] = lang.default\n\t\t} catch (e) {\n\t\t\t// No matching highlighing found, fallback to none\n\t\t\treturn undefined\n\t\t}\n\t}\n\tif (Object.keys(modules).length === 0 && modules.constructor === Object) {\n\t\treturn undefined\n\t}\n\treturn { languages: modules }\n}\n\nconst createEditor = ({ content, onInit, onUpdate, extensions, enableRichEditing, languages }) => {\n\tlet richEditingExtensions = []\n\tif (enableRichEditing) {\n\t\trichEditingExtensions = [\n\t\t\tnew Heading(),\n\t\t\tnew Code(),\n\t\t\tnew Strong(),\n\t\t\tnew Italic(),\n\t\t\tnew Strike(),\n\t\t\tnew HardBreak(),\n\t\t\tnew HorizontalRule(),\n\t\t\tnew BulletList(),\n\t\t\tnew OrderedList(),\n\t\t\tnew Blockquote(),\n\t\t\tnew CodeBlock(),\n\t\t\tnew ListItem(),\n\t\t\tnew Link(),\n\t\t\tnew Image(),\n\t\t\tnew Placeholder({\n\t\t\t\temptyNodeClass: 'is-empty',\n\t\t\t\temptyNodeText: 'Add notes, lists or links …',\n\t\t\t\tshowOnlyWhenEditable: true,\n\t\t\t}),\n\t\t]\n\t} else {\n\t\trichEditingExtensions = [\n\t\t\tnew PlainTextDocument(),\n\t\t\tnew Text(),\n\t\t\tnew CodeBlockHighlight({\n\t\t\t\t...languages,\n\t\t\t}),\n\t\t]\n\t}\n\textensions = extensions || []\n\treturn new Editor({\n\t\tcontent: content,\n\t\tonInit: onInit,\n\t\tonUpdate: onUpdate,\n\t\textensions: [\n\t\t\t...richEditingExtensions,\n\t\t\tnew History(),\n\t\t].concat(extensions),\n\t\tuseBuiltInExtensions: enableRichEditing,\n\t})\n}\n\nconst markdownit = MarkdownIt('commonmark', { html: false, breaks: false })\n\t.enable('strikethrough')\n\nconst SerializeException = function(message) {\n\tthis.message = message\n}\nconst createMarkdownSerializer = (_nodes, _marks) => {\n\tconst nodes = Object\n\t\t.entries(_nodes)\n\t\t.filter(([, node]) => node.toMarkdown)\n\t\t.reduce((items, [name, { toMarkdown }]) => ({\n\t\t\t...items,\n\t\t\t[name]: toMarkdown,\n\t\t}), {})\n\n\tconst marks = Object\n\t\t.entries(_marks)\n\t\t.filter(([, node]) => node.toMarkdown)\n\t\t.reduce((items, [name, { toMarkdown }]) => ({\n\t\t\t...items,\n\t\t\t[name]: toMarkdown,\n\t\t}), {})\n\treturn {\n\t\tserializer: new MarkdownSerializer(\n\t\t\t{ ...defaultMarkdownSerializer.nodes, ...nodes },\n\t\t\t{ ...defaultMarkdownSerializer.marks, ...marks }\n\t\t),\n\t\tserialize: function(content, options) {\n\t\t\treturn this.serializer.serialize(content, { ...options, tightLists: true }).split('\\\\[ \\\\]').join('[ ]')\n\t\t\t\t.split('\\\\[x\\\\]').join('[x]')\n\t\t},\n\t}\n}\n\nconst serializePlainText = (tiptap) => {\n\tconst doc = tiptap.getJSON()\n\n\tif (doc.content.length !== 1 || typeof doc.content[0].content === 'undefined' || doc.content[0].content.length !== 1) {\n\t\tif (doc.content[0].type === 'code_block' && typeof doc.content[0].content === 'undefined') {\n\t\t\treturn ''\n\t\t}\n\t\tthrow new SerializeException('Failed to serialize document to plain text')\n\t}\n\tconst codeBlock = doc.content[0].content[0]\n\tif (codeBlock.type !== 'text') {\n\t\tthrow new SerializeException('Failed to serialize document to plain text')\n\t}\n\treturn codeBlock.text\n}\n\nexport default createEditor\nexport { markdownit, createEditor, createMarkdownSerializer, serializePlainText, loadSyntaxHighlight }\n","import mod from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageView.vue?vue&type=style&index=0&id=2ac49a8a&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageView.vue?vue&type=style&index=0&id=2ac49a8a&scoped=true&lang=scss&\"","exports = module.exports = require(\"../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".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\", \"\"]);\n","var map = {\n\t\"./1c\": [\n\t\t353,\n\t\t1\n\t],\n\t\"./1c.js\": [\n\t\t353,\n\t\t1\n\t],\n\t\"./abnf\": [\n\t\t354,\n\t\t2\n\t],\n\t\"./abnf.js\": [\n\t\t354,\n\t\t2\n\t],\n\t\"./accesslog\": [\n\t\t355,\n\t\t3\n\t],\n\t\"./accesslog.js\": [\n\t\t355,\n\t\t3\n\t],\n\t\"./actionscript\": [\n\t\t356,\n\t\t4\n\t],\n\t\"./actionscript.js\": [\n\t\t356,\n\t\t4\n\t],\n\t\"./ada\": [\n\t\t357,\n\t\t5\n\t],\n\t\"./ada.js\": [\n\t\t357,\n\t\t5\n\t],\n\t\"./angelscript\": [\n\t\t358,\n\t\t6\n\t],\n\t\"./angelscript.js\": [\n\t\t358,\n\t\t6\n\t],\n\t\"./apache\": [\n\t\t359,\n\t\t7\n\t],\n\t\"./apache.js\": [\n\t\t359,\n\t\t7\n\t],\n\t\"./applescript\": [\n\t\t360,\n\t\t8\n\t],\n\t\"./applescript.js\": [\n\t\t360,\n\t\t8\n\t],\n\t\"./arcade\": [\n\t\t361,\n\t\t9\n\t],\n\t\"./arcade.js\": [\n\t\t361,\n\t\t9\n\t],\n\t\"./arduino\": [\n\t\t362,\n\t\t10\n\t],\n\t\"./arduino.js\": [\n\t\t362,\n\t\t10\n\t],\n\t\"./armasm\": [\n\t\t363,\n\t\t11\n\t],\n\t\"./armasm.js\": [\n\t\t363,\n\t\t11\n\t],\n\t\"./asciidoc\": [\n\t\t364,\n\t\t12\n\t],\n\t\"./asciidoc.js\": [\n\t\t364,\n\t\t12\n\t],\n\t\"./aspectj\": [\n\t\t365,\n\t\t13\n\t],\n\t\"./aspectj.js\": [\n\t\t365,\n\t\t13\n\t],\n\t\"./autohotkey\": [\n\t\t366,\n\t\t14\n\t],\n\t\"./autohotkey.js\": [\n\t\t366,\n\t\t14\n\t],\n\t\"./autoit\": [\n\t\t367,\n\t\t15\n\t],\n\t\"./autoit.js\": [\n\t\t367,\n\t\t15\n\t],\n\t\"./avrasm\": [\n\t\t368,\n\t\t16\n\t],\n\t\"./avrasm.js\": [\n\t\t368,\n\t\t16\n\t],\n\t\"./awk\": [\n\t\t369,\n\t\t17\n\t],\n\t\"./awk.js\": [\n\t\t369,\n\t\t17\n\t],\n\t\"./axapta\": [\n\t\t370,\n\t\t18\n\t],\n\t\"./axapta.js\": [\n\t\t370,\n\t\t18\n\t],\n\t\"./bash\": [\n\t\t371,\n\t\t19\n\t],\n\t\"./bash.js\": [\n\t\t371,\n\t\t19\n\t],\n\t\"./basic\": [\n\t\t372,\n\t\t20\n\t],\n\t\"./basic.js\": [\n\t\t372,\n\t\t20\n\t],\n\t\"./bnf\": [\n\t\t373,\n\t\t21\n\t],\n\t\"./bnf.js\": [\n\t\t373,\n\t\t21\n\t],\n\t\"./brainfuck\": [\n\t\t374,\n\t\t22\n\t],\n\t\"./brainfuck.js\": [\n\t\t374,\n\t\t22\n\t],\n\t\"./cal\": [\n\t\t375,\n\t\t23\n\t],\n\t\"./cal.js\": [\n\t\t375,\n\t\t23\n\t],\n\t\"./capnproto\": [\n\t\t376,\n\t\t24\n\t],\n\t\"./capnproto.js\": [\n\t\t376,\n\t\t24\n\t],\n\t\"./ceylon\": [\n\t\t377,\n\t\t25\n\t],\n\t\"./ceylon.js\": [\n\t\t377,\n\t\t25\n\t],\n\t\"./clean\": [\n\t\t378,\n\t\t26\n\t],\n\t\"./clean.js\": [\n\t\t378,\n\t\t26\n\t],\n\t\"./clojure\": [\n\t\t380,\n\t\t27\n\t],\n\t\"./clojure-repl\": [\n\t\t379,\n\t\t28\n\t],\n\t\"./clojure-repl.js\": [\n\t\t379,\n\t\t28\n\t],\n\t\"./clojure.js\": [\n\t\t380,\n\t\t27\n\t],\n\t\"./cmake\": [\n\t\t381,\n\t\t29\n\t],\n\t\"./cmake.js\": [\n\t\t381,\n\t\t29\n\t],\n\t\"./coffeescript\": [\n\t\t382,\n\t\t30\n\t],\n\t\"./coffeescript.js\": [\n\t\t382,\n\t\t30\n\t],\n\t\"./coq\": [\n\t\t383,\n\t\t31\n\t],\n\t\"./coq.js\": [\n\t\t383,\n\t\t31\n\t],\n\t\"./cos\": [\n\t\t384,\n\t\t32\n\t],\n\t\"./cos.js\": [\n\t\t384,\n\t\t32\n\t],\n\t\"./cpp\": [\n\t\t385,\n\t\t33\n\t],\n\t\"./cpp.js\": [\n\t\t385,\n\t\t33\n\t],\n\t\"./crmsh\": [\n\t\t386,\n\t\t34\n\t],\n\t\"./crmsh.js\": [\n\t\t386,\n\t\t34\n\t],\n\t\"./crystal\": [\n\t\t387,\n\t\t35\n\t],\n\t\"./crystal.js\": [\n\t\t387,\n\t\t35\n\t],\n\t\"./cs\": [\n\t\t388,\n\t\t36\n\t],\n\t\"./cs.js\": [\n\t\t388,\n\t\t36\n\t],\n\t\"./csp\": [\n\t\t389,\n\t\t37\n\t],\n\t\"./csp.js\": [\n\t\t389,\n\t\t37\n\t],\n\t\"./css\": [\n\t\t390,\n\t\t38\n\t],\n\t\"./css.js\": [\n\t\t390,\n\t\t38\n\t],\n\t\"./d\": [\n\t\t391,\n\t\t39\n\t],\n\t\"./d.js\": [\n\t\t391,\n\t\t39\n\t],\n\t\"./dart\": [\n\t\t392,\n\t\t40\n\t],\n\t\"./dart.js\": [\n\t\t392,\n\t\t40\n\t],\n\t\"./delphi\": [\n\t\t393,\n\t\t41\n\t],\n\t\"./delphi.js\": [\n\t\t393,\n\t\t41\n\t],\n\t\"./diff\": [\n\t\t394,\n\t\t42\n\t],\n\t\"./diff.js\": [\n\t\t394,\n\t\t42\n\t],\n\t\"./django\": [\n\t\t395,\n\t\t43\n\t],\n\t\"./django.js\": [\n\t\t395,\n\t\t43\n\t],\n\t\"./dns\": [\n\t\t396,\n\t\t44\n\t],\n\t\"./dns.js\": [\n\t\t396,\n\t\t44\n\t],\n\t\"./dockerfile\": [\n\t\t397,\n\t\t45\n\t],\n\t\"./dockerfile.js\": [\n\t\t397,\n\t\t45\n\t],\n\t\"./dos\": [\n\t\t398,\n\t\t46\n\t],\n\t\"./dos.js\": [\n\t\t398,\n\t\t46\n\t],\n\t\"./dsconfig\": [\n\t\t399,\n\t\t47\n\t],\n\t\"./dsconfig.js\": [\n\t\t399,\n\t\t47\n\t],\n\t\"./dts\": [\n\t\t400,\n\t\t48\n\t],\n\t\"./dts.js\": [\n\t\t400,\n\t\t48\n\t],\n\t\"./dust\": [\n\t\t401,\n\t\t49\n\t],\n\t\"./dust.js\": [\n\t\t401,\n\t\t49\n\t],\n\t\"./ebnf\": [\n\t\t402,\n\t\t50\n\t],\n\t\"./ebnf.js\": [\n\t\t402,\n\t\t50\n\t],\n\t\"./elixir\": [\n\t\t403,\n\t\t51\n\t],\n\t\"./elixir.js\": [\n\t\t403,\n\t\t51\n\t],\n\t\"./elm\": [\n\t\t404,\n\t\t52\n\t],\n\t\"./elm.js\": [\n\t\t404,\n\t\t52\n\t],\n\t\"./erb\": [\n\t\t405,\n\t\t53\n\t],\n\t\"./erb.js\": [\n\t\t405,\n\t\t53\n\t],\n\t\"./erlang\": [\n\t\t407,\n\t\t54\n\t],\n\t\"./erlang-repl\": [\n\t\t406,\n\t\t55\n\t],\n\t\"./erlang-repl.js\": [\n\t\t406,\n\t\t55\n\t],\n\t\"./erlang.js\": [\n\t\t407,\n\t\t54\n\t],\n\t\"./excel\": [\n\t\t408,\n\t\t56\n\t],\n\t\"./excel.js\": [\n\t\t408,\n\t\t56\n\t],\n\t\"./fix\": [\n\t\t409,\n\t\t57\n\t],\n\t\"./fix.js\": [\n\t\t409,\n\t\t57\n\t],\n\t\"./flix\": [\n\t\t410,\n\t\t58\n\t],\n\t\"./flix.js\": [\n\t\t410,\n\t\t58\n\t],\n\t\"./fortran\": [\n\t\t411,\n\t\t59\n\t],\n\t\"./fortran.js\": [\n\t\t411,\n\t\t59\n\t],\n\t\"./fsharp\": [\n\t\t412,\n\t\t60\n\t],\n\t\"./fsharp.js\": [\n\t\t412,\n\t\t60\n\t],\n\t\"./gams\": [\n\t\t413,\n\t\t61\n\t],\n\t\"./gams.js\": [\n\t\t413,\n\t\t61\n\t],\n\t\"./gauss\": [\n\t\t414,\n\t\t62\n\t],\n\t\"./gauss.js\": [\n\t\t414,\n\t\t62\n\t],\n\t\"./gcode\": [\n\t\t415,\n\t\t63\n\t],\n\t\"./gcode.js\": [\n\t\t415,\n\t\t63\n\t],\n\t\"./gherkin\": [\n\t\t416,\n\t\t64\n\t],\n\t\"./gherkin.js\": [\n\t\t416,\n\t\t64\n\t],\n\t\"./glsl\": [\n\t\t417,\n\t\t65\n\t],\n\t\"./glsl.js\": [\n\t\t417,\n\t\t65\n\t],\n\t\"./gml\": [\n\t\t418,\n\t\t66\n\t],\n\t\"./gml.js\": [\n\t\t418,\n\t\t66\n\t],\n\t\"./go\": [\n\t\t419,\n\t\t67\n\t],\n\t\"./go.js\": [\n\t\t419,\n\t\t67\n\t],\n\t\"./golo\": [\n\t\t420,\n\t\t68\n\t],\n\t\"./golo.js\": [\n\t\t420,\n\t\t68\n\t],\n\t\"./gradle\": [\n\t\t421,\n\t\t69\n\t],\n\t\"./gradle.js\": [\n\t\t421,\n\t\t69\n\t],\n\t\"./groovy\": [\n\t\t422,\n\t\t70\n\t],\n\t\"./groovy.js\": [\n\t\t422,\n\t\t70\n\t],\n\t\"./haml\": [\n\t\t423,\n\t\t71\n\t],\n\t\"./haml.js\": [\n\t\t423,\n\t\t71\n\t],\n\t\"./handlebars\": [\n\t\t424,\n\t\t72\n\t],\n\t\"./handlebars.js\": [\n\t\t424,\n\t\t72\n\t],\n\t\"./haskell\": [\n\t\t425,\n\t\t73\n\t],\n\t\"./haskell.js\": [\n\t\t425,\n\t\t73\n\t],\n\t\"./haxe\": [\n\t\t426,\n\t\t74\n\t],\n\t\"./haxe.js\": [\n\t\t426,\n\t\t74\n\t],\n\t\"./hsp\": [\n\t\t427,\n\t\t75\n\t],\n\t\"./hsp.js\": [\n\t\t427,\n\t\t75\n\t],\n\t\"./htmlbars\": [\n\t\t428,\n\t\t76\n\t],\n\t\"./htmlbars.js\": [\n\t\t428,\n\t\t76\n\t],\n\t\"./http\": [\n\t\t429,\n\t\t77\n\t],\n\t\"./http.js\": [\n\t\t429,\n\t\t77\n\t],\n\t\"./hy\": [\n\t\t430,\n\t\t78\n\t],\n\t\"./hy.js\": [\n\t\t430,\n\t\t78\n\t],\n\t\"./inform7\": [\n\t\t431,\n\t\t79\n\t],\n\t\"./inform7.js\": [\n\t\t431,\n\t\t79\n\t],\n\t\"./ini\": [\n\t\t432,\n\t\t80\n\t],\n\t\"./ini.js\": [\n\t\t432,\n\t\t80\n\t],\n\t\"./irpf90\": [\n\t\t433,\n\t\t81\n\t],\n\t\"./irpf90.js\": [\n\t\t433,\n\t\t81\n\t],\n\t\"./isbl\": [\n\t\t434,\n\t\t82\n\t],\n\t\"./isbl.js\": [\n\t\t434,\n\t\t82\n\t],\n\t\"./java\": [\n\t\t435,\n\t\t83\n\t],\n\t\"./java.js\": [\n\t\t435,\n\t\t83\n\t],\n\t\"./javascript\": [\n\t\t436,\n\t\t84\n\t],\n\t\"./javascript.js\": [\n\t\t436,\n\t\t84\n\t],\n\t\"./jboss-cli\": [\n\t\t437,\n\t\t85\n\t],\n\t\"./jboss-cli.js\": [\n\t\t437,\n\t\t85\n\t],\n\t\"./json\": [\n\t\t438,\n\t\t86\n\t],\n\t\"./json.js\": [\n\t\t438,\n\t\t86\n\t],\n\t\"./julia\": [\n\t\t440,\n\t\t87\n\t],\n\t\"./julia-repl\": [\n\t\t439,\n\t\t88\n\t],\n\t\"./julia-repl.js\": [\n\t\t439,\n\t\t88\n\t],\n\t\"./julia.js\": [\n\t\t440,\n\t\t87\n\t],\n\t\"./kotlin\": [\n\t\t441,\n\t\t89\n\t],\n\t\"./kotlin.js\": [\n\t\t441,\n\t\t89\n\t],\n\t\"./lasso\": [\n\t\t442,\n\t\t90\n\t],\n\t\"./lasso.js\": [\n\t\t442,\n\t\t90\n\t],\n\t\"./ldif\": [\n\t\t443,\n\t\t91\n\t],\n\t\"./ldif.js\": [\n\t\t443,\n\t\t91\n\t],\n\t\"./leaf\": [\n\t\t444,\n\t\t92\n\t],\n\t\"./leaf.js\": [\n\t\t444,\n\t\t92\n\t],\n\t\"./less\": [\n\t\t445,\n\t\t93\n\t],\n\t\"./less.js\": [\n\t\t445,\n\t\t93\n\t],\n\t\"./lisp\": [\n\t\t446,\n\t\t94\n\t],\n\t\"./lisp.js\": [\n\t\t446,\n\t\t94\n\t],\n\t\"./livecodeserver\": [\n\t\t447,\n\t\t95\n\t],\n\t\"./livecodeserver.js\": [\n\t\t447,\n\t\t95\n\t],\n\t\"./livescript\": [\n\t\t448,\n\t\t96\n\t],\n\t\"./livescript.js\": [\n\t\t448,\n\t\t96\n\t],\n\t\"./llvm\": [\n\t\t449,\n\t\t97\n\t],\n\t\"./llvm.js\": [\n\t\t449,\n\t\t97\n\t],\n\t\"./lsl\": [\n\t\t450,\n\t\t98\n\t],\n\t\"./lsl.js\": [\n\t\t450,\n\t\t98\n\t],\n\t\"./lua\": [\n\t\t451,\n\t\t99\n\t],\n\t\"./lua.js\": [\n\t\t451,\n\t\t99\n\t],\n\t\"./makefile\": [\n\t\t452,\n\t\t100\n\t],\n\t\"./makefile.js\": [\n\t\t452,\n\t\t100\n\t],\n\t\"./markdown\": [\n\t\t453,\n\t\t101\n\t],\n\t\"./markdown.js\": [\n\t\t453,\n\t\t101\n\t],\n\t\"./mathematica\": [\n\t\t454,\n\t\t102\n\t],\n\t\"./mathematica.js\": [\n\t\t454,\n\t\t102\n\t],\n\t\"./matlab\": [\n\t\t455,\n\t\t103\n\t],\n\t\"./matlab.js\": [\n\t\t455,\n\t\t103\n\t],\n\t\"./maxima\": [\n\t\t456,\n\t\t104\n\t],\n\t\"./maxima.js\": [\n\t\t456,\n\t\t104\n\t],\n\t\"./mel\": [\n\t\t457,\n\t\t105\n\t],\n\t\"./mel.js\": [\n\t\t457,\n\t\t105\n\t],\n\t\"./mercury\": [\n\t\t458,\n\t\t106\n\t],\n\t\"./mercury.js\": [\n\t\t458,\n\t\t106\n\t],\n\t\"./mipsasm\": [\n\t\t459,\n\t\t107\n\t],\n\t\"./mipsasm.js\": [\n\t\t459,\n\t\t107\n\t],\n\t\"./mizar\": [\n\t\t460,\n\t\t108\n\t],\n\t\"./mizar.js\": [\n\t\t460,\n\t\t108\n\t],\n\t\"./mojolicious\": [\n\t\t461,\n\t\t109\n\t],\n\t\"./mojolicious.js\": [\n\t\t461,\n\t\t109\n\t],\n\t\"./monkey\": [\n\t\t462,\n\t\t110\n\t],\n\t\"./monkey.js\": [\n\t\t462,\n\t\t110\n\t],\n\t\"./moonscript\": [\n\t\t463,\n\t\t111\n\t],\n\t\"./moonscript.js\": [\n\t\t463,\n\t\t111\n\t],\n\t\"./n1ql\": [\n\t\t464,\n\t\t112\n\t],\n\t\"./n1ql.js\": [\n\t\t464,\n\t\t112\n\t],\n\t\"./nginx\": [\n\t\t465,\n\t\t113\n\t],\n\t\"./nginx.js\": [\n\t\t465,\n\t\t113\n\t],\n\t\"./nimrod\": [\n\t\t466,\n\t\t114\n\t],\n\t\"./nimrod.js\": [\n\t\t466,\n\t\t114\n\t],\n\t\"./nix\": [\n\t\t467,\n\t\t115\n\t],\n\t\"./nix.js\": [\n\t\t467,\n\t\t115\n\t],\n\t\"./nsis\": [\n\t\t468,\n\t\t116\n\t],\n\t\"./nsis.js\": [\n\t\t468,\n\t\t116\n\t],\n\t\"./objectivec\": [\n\t\t469,\n\t\t117\n\t],\n\t\"./objectivec.js\": [\n\t\t469,\n\t\t117\n\t],\n\t\"./ocaml\": [\n\t\t470,\n\t\t118\n\t],\n\t\"./ocaml.js\": [\n\t\t470,\n\t\t118\n\t],\n\t\"./openscad\": [\n\t\t471,\n\t\t119\n\t],\n\t\"./openscad.js\": [\n\t\t471,\n\t\t119\n\t],\n\t\"./oxygene\": [\n\t\t472,\n\t\t120\n\t],\n\t\"./oxygene.js\": [\n\t\t472,\n\t\t120\n\t],\n\t\"./parser3\": [\n\t\t473,\n\t\t121\n\t],\n\t\"./parser3.js\": [\n\t\t473,\n\t\t121\n\t],\n\t\"./perl\": [\n\t\t474,\n\t\t122\n\t],\n\t\"./perl.js\": [\n\t\t474,\n\t\t122\n\t],\n\t\"./pf\": [\n\t\t475,\n\t\t123\n\t],\n\t\"./pf.js\": [\n\t\t475,\n\t\t123\n\t],\n\t\"./pgsql\": [\n\t\t476,\n\t\t124\n\t],\n\t\"./pgsql.js\": [\n\t\t476,\n\t\t124\n\t],\n\t\"./php\": [\n\t\t477,\n\t\t125\n\t],\n\t\"./php.js\": [\n\t\t477,\n\t\t125\n\t],\n\t\"./plaintext\": [\n\t\t478,\n\t\t126\n\t],\n\t\"./plaintext.js\": [\n\t\t478,\n\t\t126\n\t],\n\t\"./pony\": [\n\t\t479,\n\t\t127\n\t],\n\t\"./pony.js\": [\n\t\t479,\n\t\t127\n\t],\n\t\"./powershell\": [\n\t\t480,\n\t\t128\n\t],\n\t\"./powershell.js\": [\n\t\t480,\n\t\t128\n\t],\n\t\"./processing\": [\n\t\t481,\n\t\t129\n\t],\n\t\"./processing.js\": [\n\t\t481,\n\t\t129\n\t],\n\t\"./profile\": [\n\t\t482,\n\t\t130\n\t],\n\t\"./profile.js\": [\n\t\t482,\n\t\t130\n\t],\n\t\"./prolog\": [\n\t\t483,\n\t\t131\n\t],\n\t\"./prolog.js\": [\n\t\t483,\n\t\t131\n\t],\n\t\"./properties\": [\n\t\t484,\n\t\t132\n\t],\n\t\"./properties.js\": [\n\t\t484,\n\t\t132\n\t],\n\t\"./protobuf\": [\n\t\t485,\n\t\t133\n\t],\n\t\"./protobuf.js\": [\n\t\t485,\n\t\t133\n\t],\n\t\"./puppet\": [\n\t\t486,\n\t\t134\n\t],\n\t\"./puppet.js\": [\n\t\t486,\n\t\t134\n\t],\n\t\"./purebasic\": [\n\t\t487,\n\t\t135\n\t],\n\t\"./purebasic.js\": [\n\t\t487,\n\t\t135\n\t],\n\t\"./python\": [\n\t\t488,\n\t\t136\n\t],\n\t\"./python.js\": [\n\t\t488,\n\t\t136\n\t],\n\t\"./q\": [\n\t\t489,\n\t\t137\n\t],\n\t\"./q.js\": [\n\t\t489,\n\t\t137\n\t],\n\t\"./qml\": [\n\t\t490,\n\t\t138\n\t],\n\t\"./qml.js\": [\n\t\t490,\n\t\t138\n\t],\n\t\"./r\": [\n\t\t491,\n\t\t139\n\t],\n\t\"./r.js\": [\n\t\t491,\n\t\t139\n\t],\n\t\"./reasonml\": [\n\t\t492,\n\t\t140\n\t],\n\t\"./reasonml.js\": [\n\t\t492,\n\t\t140\n\t],\n\t\"./rib\": [\n\t\t493,\n\t\t141\n\t],\n\t\"./rib.js\": [\n\t\t493,\n\t\t141\n\t],\n\t\"./roboconf\": [\n\t\t494,\n\t\t142\n\t],\n\t\"./roboconf.js\": [\n\t\t494,\n\t\t142\n\t],\n\t\"./routeros\": [\n\t\t495,\n\t\t143\n\t],\n\t\"./routeros.js\": [\n\t\t495,\n\t\t143\n\t],\n\t\"./rsl\": [\n\t\t496,\n\t\t144\n\t],\n\t\"./rsl.js\": [\n\t\t496,\n\t\t144\n\t],\n\t\"./ruby\": [\n\t\t497,\n\t\t145\n\t],\n\t\"./ruby.js\": [\n\t\t497,\n\t\t145\n\t],\n\t\"./ruleslanguage\": [\n\t\t498,\n\t\t146\n\t],\n\t\"./ruleslanguage.js\": [\n\t\t498,\n\t\t146\n\t],\n\t\"./rust\": [\n\t\t499,\n\t\t147\n\t],\n\t\"./rust.js\": [\n\t\t499,\n\t\t147\n\t],\n\t\"./sas\": [\n\t\t500,\n\t\t148\n\t],\n\t\"./sas.js\": [\n\t\t500,\n\t\t148\n\t],\n\t\"./scala\": [\n\t\t501,\n\t\t149\n\t],\n\t\"./scala.js\": [\n\t\t501,\n\t\t149\n\t],\n\t\"./scheme\": [\n\t\t502,\n\t\t150\n\t],\n\t\"./scheme.js\": [\n\t\t502,\n\t\t150\n\t],\n\t\"./scilab\": [\n\t\t503,\n\t\t151\n\t],\n\t\"./scilab.js\": [\n\t\t503,\n\t\t151\n\t],\n\t\"./scss\": [\n\t\t504,\n\t\t152\n\t],\n\t\"./scss.js\": [\n\t\t504,\n\t\t152\n\t],\n\t\"./shell\": [\n\t\t505,\n\t\t153\n\t],\n\t\"./shell.js\": [\n\t\t505,\n\t\t153\n\t],\n\t\"./smali\": [\n\t\t506,\n\t\t154\n\t],\n\t\"./smali.js\": [\n\t\t506,\n\t\t154\n\t],\n\t\"./smalltalk\": [\n\t\t507,\n\t\t155\n\t],\n\t\"./smalltalk.js\": [\n\t\t507,\n\t\t155\n\t],\n\t\"./sml\": [\n\t\t508,\n\t\t156\n\t],\n\t\"./sml.js\": [\n\t\t508,\n\t\t156\n\t],\n\t\"./sqf\": [\n\t\t509,\n\t\t157\n\t],\n\t\"./sqf.js\": [\n\t\t509,\n\t\t157\n\t],\n\t\"./sql\": [\n\t\t510,\n\t\t158\n\t],\n\t\"./sql.js\": [\n\t\t510,\n\t\t158\n\t],\n\t\"./stan\": [\n\t\t511,\n\t\t159\n\t],\n\t\"./stan.js\": [\n\t\t511,\n\t\t159\n\t],\n\t\"./stata\": [\n\t\t512,\n\t\t160\n\t],\n\t\"./stata.js\": [\n\t\t512,\n\t\t160\n\t],\n\t\"./step21\": [\n\t\t513,\n\t\t161\n\t],\n\t\"./step21.js\": [\n\t\t513,\n\t\t161\n\t],\n\t\"./stylus\": [\n\t\t514,\n\t\t162\n\t],\n\t\"./stylus.js\": [\n\t\t514,\n\t\t162\n\t],\n\t\"./subunit\": [\n\t\t515,\n\t\t163\n\t],\n\t\"./subunit.js\": [\n\t\t515,\n\t\t163\n\t],\n\t\"./swift\": [\n\t\t516,\n\t\t164\n\t],\n\t\"./swift.js\": [\n\t\t516,\n\t\t164\n\t],\n\t\"./taggerscript\": [\n\t\t517,\n\t\t165\n\t],\n\t\"./taggerscript.js\": [\n\t\t517,\n\t\t165\n\t],\n\t\"./tap\": [\n\t\t518,\n\t\t166\n\t],\n\t\"./tap.js\": [\n\t\t518,\n\t\t166\n\t],\n\t\"./tcl\": [\n\t\t519,\n\t\t167\n\t],\n\t\"./tcl.js\": [\n\t\t519,\n\t\t167\n\t],\n\t\"./tex\": [\n\t\t520,\n\t\t168\n\t],\n\t\"./tex.js\": [\n\t\t520,\n\t\t168\n\t],\n\t\"./thrift\": [\n\t\t521,\n\t\t169\n\t],\n\t\"./thrift.js\": [\n\t\t521,\n\t\t169\n\t],\n\t\"./tp\": [\n\t\t522,\n\t\t170\n\t],\n\t\"./tp.js\": [\n\t\t522,\n\t\t170\n\t],\n\t\"./twig\": [\n\t\t523,\n\t\t171\n\t],\n\t\"./twig.js\": [\n\t\t523,\n\t\t171\n\t],\n\t\"./typescript\": [\n\t\t524,\n\t\t172\n\t],\n\t\"./typescript.js\": [\n\t\t524,\n\t\t172\n\t],\n\t\"./vala\": [\n\t\t525,\n\t\t173\n\t],\n\t\"./vala.js\": [\n\t\t525,\n\t\t173\n\t],\n\t\"./vbnet\": [\n\t\t526,\n\t\t174\n\t],\n\t\"./vbnet.js\": [\n\t\t526,\n\t\t174\n\t],\n\t\"./vbscript\": [\n\t\t528,\n\t\t175\n\t],\n\t\"./vbscript-html\": [\n\t\t527,\n\t\t176\n\t],\n\t\"./vbscript-html.js\": [\n\t\t527,\n\t\t176\n\t],\n\t\"./vbscript.js\": [\n\t\t528,\n\t\t175\n\t],\n\t\"./verilog\": [\n\t\t529,\n\t\t177\n\t],\n\t\"./verilog.js\": [\n\t\t529,\n\t\t177\n\t],\n\t\"./vhdl\": [\n\t\t530,\n\t\t178\n\t],\n\t\"./vhdl.js\": [\n\t\t530,\n\t\t178\n\t],\n\t\"./vim\": [\n\t\t531,\n\t\t179\n\t],\n\t\"./vim.js\": [\n\t\t531,\n\t\t179\n\t],\n\t\"./x86asm\": [\n\t\t532,\n\t\t180\n\t],\n\t\"./x86asm.js\": [\n\t\t532,\n\t\t180\n\t],\n\t\"./xl\": [\n\t\t533,\n\t\t181\n\t],\n\t\"./xl.js\": [\n\t\t533,\n\t\t181\n\t],\n\t\"./xml\": [\n\t\t534,\n\t\t182\n\t],\n\t\"./xml.js\": [\n\t\t534,\n\t\t182\n\t],\n\t\"./xquery\": [\n\t\t535,\n\t\t183\n\t],\n\t\"./xquery.js\": [\n\t\t535,\n\t\t183\n\t],\n\t\"./yaml\": [\n\t\t536,\n\t\t184\n\t],\n\t\"./yaml.js\": [\n\t\t536,\n\t\t184\n\t],\n\t\"./zephir\": [\n\t\t537,\n\t\t185\n\t],\n\t\"./zephir.js\": [\n\t\t537,\n\t\t185\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__.t(id, 7);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 609;\nmodule.exports = webpackAsyncContext;","import mod from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=0&lang=scss&\"","exports = module.exports = require(\"../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"#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 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{font-size:36px}#read-only-editor div.ProseMirror h2{font-size:28px}#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 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 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:14px}#read-only-editor div.ProseMirror ul li{list-style-type:disc}#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\", \"\"]);\n","import mod from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=1&lang=scss&\"; export default mod; export * from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=style&index=1&lang=scss&\"","exports = module.exports = require(\"../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"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 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{font-size:36px}div.ProseMirror h2{font-size:28px}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 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 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:14px}div.ProseMirror ul li{list-style-type:disc}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\", \"\"]);\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.editor)?_c('EditorContent',{attrs:{\"id\":\"read-only-editor\",\"editor\":_vm.editor}}):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReadOnlyEditor.vue?vue&type=script&lang=js&\"","<!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<template>\n\t<EditorContent v-if=\"editor\" id=\"read-only-editor\" :editor=\"editor\" />\n</template>\n\n<script>\nimport { EditorContent } from 'tiptap'\nimport escapeHtml from 'escape-html'\nimport { createEditor, markdownit } from '../EditorFactory'\n\nexport default {\n\tname: 'ReadOnlyEditor',\n\tcomponents: { EditorContent },\n\tprops: {\n\t\tcontent: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tisRichEditor: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\t},\n\tdata: () => {\n\t\treturn {\n\t\t\teditor: null,\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.editor = createEditor({\n\t\t\tcontent: this.isRichEditor ? markdownit.render(this.content) : '<pre>' + escapeHtml(this.content) + '</pre>',\n\t\t\tenableRichEditing: this.isRichEditor,\n\t\t})\n\t\tthis.editor.setOptions({ editable: false })\n\t},\n\tbeforeDestroy() {\n\t\tthis.editor.destroy()\n\t},\n}\n</script>\n\n<style lang=\"scss\">\n\n\t#read-only-editor {\n\t\t@import './../../css/prosemirror';\n\t\toverflow: scroll;\n\t}\n\n\t.thumbnailContainer #read-only-editor {\n\t\twidth: 100%;\n\n\t\t.ProseMirror {\n\t\t\theight: auto;\n\t\t\tmargin: 0 0 0 0;\n\t\t\tpadding: 0;\n\t\t}\n\t}\n\n</style>\n<style lang=\"scss\">\n\t@import './../../css/prosemirror';\n</style>\n","import { render, staticRenderFns } from \"./ReadOnlyEditor.vue?vue&type=template&id=67962a1a&\"\nimport script from \"./ReadOnlyEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./ReadOnlyEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ReadOnlyEditor.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./ReadOnlyEditor.vue?vue&type=style&index=1&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file