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

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-01-02 15:55:03 +0300
committerJulius Härtl <jus@bitgrid.net>2020-01-02 17:40:19 +0300
commit966911a2eb6dd09731b5735654732f2bdf7b95f7 (patch)
tree4d11f57e8fef101a01bcdb76e5923304c0c5ee0b /js/public.js
parent33da8cf90cb67f9ed44e1a388165dd40712d0a2b (diff)
Add more mimetypes for plain text editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'js/public.js')
-rw-r--r--js/public.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/public.js b/js/public.js
index e2b3116b6..4bb3d9f82 100644
--- a/js/public.js
+++ b/js/public.js
@@ -1,4 +1,4 @@
-!function(e){function t(t){for(var n,i,o=t[0],a=t[1],c=0,s=[];c<o.length;c++)i=o[c],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&s.push(r[i][0]),r[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(u&&u(t);s.length;)s.shift()()}var n={},r={197:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=o);var a,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(e){return i.p+""+({0:"vendor",1:"vendors~editor-collab~editor-guest~editor-rich~files-modal",2:"highlight/1c",3:"highlight/abnf",4:"highlight/accesslog",5:"highlight/actionscript",6:"highlight/ada",7:"highlight/angelscript",8:"highlight/apache",9:"highlight/applescript",10:"highlight/arcade",11:"highlight/arduino",12:"highlight/armasm",13:"highlight/asciidoc",14:"highlight/aspectj",15:"highlight/autohotkey",16:"highlight/autoit",17:"highlight/avrasm",18:"highlight/awk",19:"highlight/axapta",20:"highlight/bash",21:"highlight/basic",22:"highlight/bnf",23:"highlight/brainfuck",24:"highlight/cal",25:"highlight/capnproto",26:"highlight/ceylon",27:"highlight/clean",28:"highlight/clojure",29:"highlight/clojure-repl",30:"highlight/cmake",31:"highlight/coffeescript",32:"highlight/coq",33:"highlight/cos",34:"highlight/cpp",35:"highlight/crmsh",36:"highlight/crystal",37:"highlight/cs",38:"highlight/csp",39:"highlight/css",40:"highlight/d",41:"highlight/dart",42:"highlight/delphi",43:"highlight/diff",44:"highlight/django",45:"highlight/dns",46:"highlight/dockerfile",47:"highlight/dos",48:"highlight/dsconfig",49:"highlight/dts",50:"highlight/dust",51:"highlight/ebnf",52:"highlight/elixir",53:"highlight/elm",54:"highlight/erb",55:"highlight/erlang",56:"highlight/erlang-repl",57:"highlight/excel",58:"highlight/fix",59:"highlight/flix",60:"highlight/fortran",61:"highlight/fsharp",62:"highlight/gams",63:"highlight/gauss",64:"highlight/gcode",65:"highlight/gherkin",66:"highlight/glsl",67:"highlight/gml",68:"highlight/go",69:"highlight/golo",70:"highlight/gradle",71:"highlight/groovy",72:"highlight/haml",73:"highlight/handlebars",74:"highlight/haskell",75:"highlight/haxe",76:"highlight/hsp",77:"highlight/htmlbars",78:"highlight/http",79:"highlight/hy",80:"highlight/inform7",81:"highlight/ini",82:"highlight/irpf90",83:"highlight/isbl",84:"highlight/java",85:"highlight/javascript",86:"highlight/jboss-cli",87:"highlight/json",88:"highlight/julia",89:"highlight/julia-repl",90:"highlight/kotlin",91:"highlight/lasso",92:"highlight/ldif",93:"highlight/leaf",94:"highlight/less",95:"highlight/lisp",96:"highlight/livecodeserver",97:"highlight/livescript",98:"highlight/llvm",99:"highlight/lsl",100:"highlight/lua",101:"highlight/makefile",102:"highlight/markdown",103:"highlight/mathematica",104:"highlight/matlab",105:"highlight/maxima",106:"highlight/mel",107:"highlight/mercury",108:"highlight/mipsasm",109:"highlight/mizar",110:"highlight/mojolicious",111:"highlight/monkey",112:"highlight/moonscript",113:"highlight/n1ql",114:"highlight/nginx",115:"highlight/nimrod",116:"highlight/nix",117:"highlight/nsis",118:"highlight/objectivec",119:"highlight/ocaml",120:"highlight/openscad",121:"highlight/oxygene",122:"highlight/parser3",123:"highlight/perl",124:"highlight/pf",125:"highlight/pgsql",126:"highlight/php",127:"highlight/plaintext",128:"highlight/pony",129:"highlight/powershell",130:"highlight/processing",131:"highlight/profile",132:"highlight/prolog",133:"highlight/properties",134:"highlight/protobuf",135:"highlight/puppet",136:"highlight/purebasic",137:"highlight/python",138:"highlight/q",139:"highlight/qml",140:"highlight/r",141:"highlight/reasonml",142:"highlight/rib",143:"highlight/roboconf",144:"highlight/routeros",145:"highlight/rsl",146:"highlight/ruby",147:"highlight/ruleslanguage",148:"highlight/rust",149:"highlight/sas",150:"highlight/scala",151:"highlight/scheme",152:"highlight/scilab",153:"highlight/scss",154:"highlight/shell",155:"highlight/smali",156:"highlight/smalltalk",157:"highlight/sml",158:"highlight/sqf",159:"highlight/sql",160:"highlight/stan",161:"highlight/stata",162:"highlight/step21",163:"highlight/stylus",164:"highlight/subunit",165:"highlight/swift",166:"highlight/taggerscript",167:"highlight/tap",168:"highlight/tcl",169:"highlight/tex",170:"highlight/thrift",171:"highlight/tp",172:"highlight/twig",173:"highlight/typescript",174:"highlight/vala",175:"highlight/vbnet",176:"highlight/vbscript",177:"highlight/vbscript-html",178:"highlight/verilog",179:"highlight/vhdl",180:"highlight/vim",181:"highlight/x86asm",182:"highlight/xl",183:"highlight/xml",184:"highlight/xquery",185:"highlight/yaml",186:"highlight/zephir",187:"vendors~editor-collab~editor-guest",188:"vendors~editor~files-modal",189:"vendors~editor~preview",190:"editor",191:"editor-collab",192:"editor-guest",193:"editor-rich",195:"files-modal",199:"vendors~editor",200:"vendors~editor-rich",201:"vendors~files-modal"}[e]||e)+".js?v="+{0:"3da559ad174f7f66ab24",1:"164c8540445c2bce77df",2:"5e051bc8d8a2f0813d3e",3:"0643a4d01ac7785f4b24",4:"99ed2a02a814eeb40225",5:"92811cd7cdb1ea0fd469",6:"5244f741875c4de58fd2",7:"76aa6b64c75636dcbca5",8:"dec9fc5991ff724fe839",9:"7c13e66433accbb31363",10:"1a1d62d5d5556ccf5d51",11:"388353fc33a08cae5092",12:"c87fddba48914f6b359c",13:"80a7b26d20e017510ded",14:"c45026e01e582e9b54ab",15:"af7412429f69a084db10",16:"da3c6191efa446e68326",17:"b843185c39e5c882ba0f",18:"bf06ead787a9eba9eaf8",19:"0d0b98ec5907f0952fca",20:"d3ff416d1da3269e2213",21:"03ad7234a225ddd0def0",22:"3c1e1560a3a37888bb4e",23:"15985bf4b9a4080ae013",24:"4b37ade9eb945fcc22c9",25:"b4d1215ac4bdb6b32205",26:"efe6085f1d7554998701",27:"42861b4b9b720db8ddae",28:"cac6de9429e4231dd4c5",29:"6f5c56c52aaae60e5765",30:"8f3dbcb57a3c2c855a59",31:"6b4a31e73a9fb7cc8bc4",32:"9d5307c49e9a5430c6e1",33:"8df0e3d94a26fb331ac3",34:"ccfa30bde6cd5d8ff213",35:"8d69be4e000c87c0f918",36:"bef1d394ed6c5bae9168",37:"c596c928d4256fbd48c8",38:"a9b6aeb43ff34b01064b",39:"cb64500030ac0b4886a8",40:"dac4ae0141724e40ac4b",41:"69b96d9dbebe89712322",42:"e52c7efe2aa58d8e12e6",43:"5b141d02bd312223dbae",44:"541a6918f76fbe4944c0",45:"a0129c2de0a7946f0778",46:"b9538936008184e40a6f",47:"97837e8330969826134e",48:"6705461d39c39f223ede",49:"3afb59f8fccf92efea42",50:"2944fbde124a90da1c36",51:"8894fd561c2d88624c8e",52:"de81446918440511308f",53:"9a09bf45288b08ed4395",54:"b31b711e393791ac870d",55:"3cbfd5cdb2bff28b18ea",56:"a0c7b19ae8d880d6a88a",57:"9b060ead8276e7f1764d",58:"05075dceb89a9df30244",59:"358eef2e9ba67b106356",60:"a7439dd4d6539319f37d",61:"cf53764436deee022bad",62:"1ae5dc99f8b7ae1b90b2",63:"198830eff1ea488f23c2",64:"421a17406f781f402e85",65:"cedfed6165d7491f530f",66:"53a87781bbc6bb9e7483",67:"dcc2234933b93fd22a02",68:"8d10300accc465f571c9",69:"764e066c9dd4032ee8e9",70:"dbc7fdc8bcde2dd22d05",71:"66447f4842301ff7c7b8",72:"b68f3271e0e4952cc997",73:"b9f2e47c730f4addc438",74:"c890acccd0ddba2d0252",75:"d91350f9e8784b1322b8",76:"4bc99f3b2c5e3c422678",77:"697edf40ae57d033ec29",78:"27c1ba81fbbc74cb9ccf",79:"178e9cb5f2254215f05f",80:"0ae771d3e4ceccbf6d24",81:"9d241c2132ba2dd0a5bb",82:"97ab75917f8d39decc9b",83:"fea491021c2946a1e298",84:"d919026323ce849fadfb",85:"f877afbfa56c22bde863",86:"a88bfd4ff0ce9a4f9609",87:"d774054bc48448480431",88:"0817eefa642c5fbf69ed",89:"a7f74726e728c3e7eaed",90:"7cfdc91312876eb2f7e2",91:"f71defd2210ceef0448a",92:"c6edddfbb61a0c1d75b5",93:"dd1634ce4fe3e89a8996",94:"e8d55ef2698926b9eb5c",95:"993a63c8a759665474f4",96:"6f8fea66f92c86349d75",97:"4cd29619799ff425a848",98:"18a0d8f6c7a7fa059e62",99:"c3218f3b2038ed426d02",100:"0ab2cc05567fcf264dca",101:"f1f2f5de1abaa8457f55",102:"0b8a3d3f164feb25218e",103:"7c5dbb42806f74ed9bce",104:"d3d62071e753d5bc9220",105:"5292b44a9b2f1416e008",106:"11cccfd6ef178e56176d",107:"70da65bcff1085b87186",108:"17eaba7c860e98f8959b",109:"856599faa86dbcfbb4bf",110:"2c46c5aee6424684d3c6",111:"973c9dcb95d09d3e4be2",112:"22efd287f00239ad1715",113:"3b06117a461043d83af6",114:"604db44fd15fd86e07ac",115:"71594b9a9931cc0ad009",116:"c875489899eda5bb248b",117:"136d1a2f7c7bc70793e4",118:"a6350f51940c24c84943",119:"227e24e65023560ed202",120:"dd4c28b67a6ee00cdc94",121:"f6f33842e8a515abb241",122:"b4807af59ca3c00a7f28",123:"0b5835a2dafc752993f2",124:"c6abdea5d01f4cb49d7d",125:"8fa593f6d3fab12d59ed",126:"786bc8cafb6de57cd769",127:"118a74d5da56afee29ba",128:"d9cb1882aa1770e76b48",129:"a4b55253706b438b04ce",130:"fae94ebfe3d38bc1ec2a",131:"37d5fac5e0837571e4d9",132:"d1fc79b804afc999747e",133:"c1f97f2405ecad5325b7",134:"105f2d9a7e91ad4b6aa4",135:"0aec6277a96a2f4cb0b4",136:"5f24686af527a9472b71",137:"32e35e4a27bfc3b8be4a",138:"dcc958cc1b073cbb5a9a",139:"e943e9c8c219891c6e30",140:"9a7772b1c35256ec5eee",141:"818a90f77c4851cba7a9",142:"4387c147c09851c3178d",143:"331c38eca6418f38873d",144:"d54b0d6e530cf1215ce6",145:"33eebd583fa32e54bae6",146:"1a5e9c406c37a93bb680",147:"8880ea2adcffeb9e6192",148:"0d3b2ed2c85d7914a106",149:"8ba30e065f89d0fc8de3",150:"577ad76d125e93b0779c",151:"c106c79efd803c380154",152:"79e7dc803eb50c43536f",153:"938f691c20e58bf48097",154:"fbca12bc6e6d3fa1f2f9",155:"72f31a8e1444dc7900b3",156:"a6dcff5761285ebeb7a0",157:"5130093f7fcd70b464be",158:"fb4de05a1b57ec8eb061",159:"f942198af8455824082b",160:"042d7ae81173201954a7",161:"9fb8e65edb10fe4d8574",162:"8bbb29a9a8dc9f3e64b4",163:"1debb8545a7a58d17b25",164:"bfce2505e7443423125f",165:"51019208f301e3030adf",166:"84d440dd43b698be7301",167:"fa5359c17aca8e98d34e",168:"9b8143cc1d4c941bd240",169:"bfd2fed658c253488305",170:"32fa4a52941fae44c8b8",171:"3b2184440faa068c631c",172:"296a49a02884fc21e14d",173:"132c46c22e5b099b0393",174:"9e8e10c85a4c8e7413ee",175:"f6c6d6b825cb15691d35",176:"c3e21e52224caad6eda8",177:"d49f5db8d9cdd4d7277e",178:"284bc94d7bcbb07b8f9a",179:"889e3647f71cdaa11edd",180:"4bd646bc8128cacec65b",181:"9b00067c357557f5b7c5",182:"8d14bb0540ba70c14d95",183:"8c7b5f7d1f4e73087594",184:"66465a660557711bc07f",185:"f0975a808a3deea49c6f",186:"daca73d67928693e29d7",187:"533a1189bf0f414c44e9",188:"3b32ff8952c3d040771f",189:"d048e4fc2d496c60d2d1",190:"eab7e014efbf573d45c5",191:"4255a2258c33d75a63de",192:"66bbf4494c00cf8ac44b",193:"7446530619a5c46726cf",195:"0d098608e14c6a446e4c",199:"8e29fa9309cb27437d30",200:"d9e26f8a97a334e2307a",201:"339991e35b1f1ce0f947"}[e]}(e);var u=new Error;a=function(t){c.onerror=c.onload=null,clearTimeout(s);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",u.name="ChunkLoadError",u.type=i,u.request=o,n[1](u)}r[e]=void 0}};var s=setTimeout((function(){a({type:"timeout",target:c})}),12e4);c.onerror=c.onload=a,document.head.appendChild(c)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/js/",i.oe=function(e){throw console.error(e),e};var o=window.textWebpackJsonp=window.textWebpackJsonp||[],a=o.push.bind(o);o.push=t,o=o.slice();for(var c=0;c<o.length;c++)t(o[c]);var u=a;i(i.s=162)}([function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(2),i=n(63),o=n(5),a=n(38),c=n(78),u=n(141),s=i("wks"),f=r.Symbol,l=u?f:a;e.exports=function(e){return o(s,e)||(c&&o(f,e)?s[e]=f[e]:s[e]=l("Symbol."+e)),s[e]}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(43))},function(e,t,n){"use strict";var r=n(68),i=n(106),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function c(e){return null!==e&&"object"==typeof e}function u(e){return"[object Function]"===o.call(e)}function s(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:i,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return c(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:s,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,i=arguments.length;r<i;r++)s(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]="object"==typeof n?e({},n):n}for(var r=0,i=arguments.length;r<i;r++)s(arguments[r],n);return t},extend:function(e,t,n){return s(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(8),i=n(9),o=n(25);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(0);e.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(8),i=n(61),o=n(4),a=n(33),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i}));
+!function(e){function t(t){for(var n,i,o=t[0],a=t[1],c=0,s=[];c<o.length;c++)i=o[c],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&s.push(r[i][0]),r[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(u&&u(t);s.length;)s.shift()()}var n={},r={197:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=o);var a,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(e){return i.p+""+({0:"vendor",1:"vendors~editor-collab~editor-guest~editor-rich~files-modal",2:"highlight/1c",3:"highlight/abnf",4:"highlight/accesslog",5:"highlight/actionscript",6:"highlight/ada",7:"highlight/angelscript",8:"highlight/apache",9:"highlight/applescript",10:"highlight/arcade",11:"highlight/arduino",12:"highlight/armasm",13:"highlight/asciidoc",14:"highlight/aspectj",15:"highlight/autohotkey",16:"highlight/autoit",17:"highlight/avrasm",18:"highlight/awk",19:"highlight/axapta",20:"highlight/bash",21:"highlight/basic",22:"highlight/bnf",23:"highlight/brainfuck",24:"highlight/cal",25:"highlight/capnproto",26:"highlight/ceylon",27:"highlight/clean",28:"highlight/clojure",29:"highlight/clojure-repl",30:"highlight/cmake",31:"highlight/coffeescript",32:"highlight/coq",33:"highlight/cos",34:"highlight/cpp",35:"highlight/crmsh",36:"highlight/crystal",37:"highlight/cs",38:"highlight/csp",39:"highlight/css",40:"highlight/d",41:"highlight/dart",42:"highlight/delphi",43:"highlight/diff",44:"highlight/django",45:"highlight/dns",46:"highlight/dockerfile",47:"highlight/dos",48:"highlight/dsconfig",49:"highlight/dts",50:"highlight/dust",51:"highlight/ebnf",52:"highlight/elixir",53:"highlight/elm",54:"highlight/erb",55:"highlight/erlang",56:"highlight/erlang-repl",57:"highlight/excel",58:"highlight/fix",59:"highlight/flix",60:"highlight/fortran",61:"highlight/fsharp",62:"highlight/gams",63:"highlight/gauss",64:"highlight/gcode",65:"highlight/gherkin",66:"highlight/glsl",67:"highlight/gml",68:"highlight/go",69:"highlight/golo",70:"highlight/gradle",71:"highlight/groovy",72:"highlight/haml",73:"highlight/handlebars",74:"highlight/haskell",75:"highlight/haxe",76:"highlight/hsp",77:"highlight/htmlbars",78:"highlight/http",79:"highlight/hy",80:"highlight/inform7",81:"highlight/ini",82:"highlight/irpf90",83:"highlight/isbl",84:"highlight/java",85:"highlight/javascript",86:"highlight/jboss-cli",87:"highlight/json",88:"highlight/julia",89:"highlight/julia-repl",90:"highlight/kotlin",91:"highlight/lasso",92:"highlight/ldif",93:"highlight/leaf",94:"highlight/less",95:"highlight/lisp",96:"highlight/livecodeserver",97:"highlight/livescript",98:"highlight/llvm",99:"highlight/lsl",100:"highlight/lua",101:"highlight/makefile",102:"highlight/markdown",103:"highlight/mathematica",104:"highlight/matlab",105:"highlight/maxima",106:"highlight/mel",107:"highlight/mercury",108:"highlight/mipsasm",109:"highlight/mizar",110:"highlight/mojolicious",111:"highlight/monkey",112:"highlight/moonscript",113:"highlight/n1ql",114:"highlight/nginx",115:"highlight/nimrod",116:"highlight/nix",117:"highlight/nsis",118:"highlight/objectivec",119:"highlight/ocaml",120:"highlight/openscad",121:"highlight/oxygene",122:"highlight/parser3",123:"highlight/perl",124:"highlight/pf",125:"highlight/pgsql",126:"highlight/php",127:"highlight/plaintext",128:"highlight/pony",129:"highlight/powershell",130:"highlight/processing",131:"highlight/profile",132:"highlight/prolog",133:"highlight/properties",134:"highlight/protobuf",135:"highlight/puppet",136:"highlight/purebasic",137:"highlight/python",138:"highlight/q",139:"highlight/qml",140:"highlight/r",141:"highlight/reasonml",142:"highlight/rib",143:"highlight/roboconf",144:"highlight/routeros",145:"highlight/rsl",146:"highlight/ruby",147:"highlight/ruleslanguage",148:"highlight/rust",149:"highlight/sas",150:"highlight/scala",151:"highlight/scheme",152:"highlight/scilab",153:"highlight/scss",154:"highlight/shell",155:"highlight/smali",156:"highlight/smalltalk",157:"highlight/sml",158:"highlight/sqf",159:"highlight/sql",160:"highlight/stan",161:"highlight/stata",162:"highlight/step21",163:"highlight/stylus",164:"highlight/subunit",165:"highlight/swift",166:"highlight/taggerscript",167:"highlight/tap",168:"highlight/tcl",169:"highlight/tex",170:"highlight/thrift",171:"highlight/tp",172:"highlight/twig",173:"highlight/typescript",174:"highlight/vala",175:"highlight/vbnet",176:"highlight/vbscript",177:"highlight/vbscript-html",178:"highlight/verilog",179:"highlight/vhdl",180:"highlight/vim",181:"highlight/x86asm",182:"highlight/xl",183:"highlight/xml",184:"highlight/xquery",185:"highlight/yaml",186:"highlight/zephir",187:"vendors~editor-collab~editor-guest",188:"vendors~editor~files-modal",189:"vendors~editor~preview",190:"editor",191:"editor-collab",192:"editor-guest",193:"editor-rich",195:"files-modal",199:"vendors~editor",200:"vendors~editor-rich",201:"vendors~files-modal"}[e]||e)+".js?v="+{0:"3da559ad174f7f66ab24",1:"164c8540445c2bce77df",2:"5e051bc8d8a2f0813d3e",3:"0643a4d01ac7785f4b24",4:"99ed2a02a814eeb40225",5:"92811cd7cdb1ea0fd469",6:"5244f741875c4de58fd2",7:"76aa6b64c75636dcbca5",8:"dec9fc5991ff724fe839",9:"7c13e66433accbb31363",10:"1a1d62d5d5556ccf5d51",11:"388353fc33a08cae5092",12:"c87fddba48914f6b359c",13:"80a7b26d20e017510ded",14:"c45026e01e582e9b54ab",15:"af7412429f69a084db10",16:"da3c6191efa446e68326",17:"b843185c39e5c882ba0f",18:"bf06ead787a9eba9eaf8",19:"0d0b98ec5907f0952fca",20:"d3ff416d1da3269e2213",21:"03ad7234a225ddd0def0",22:"3c1e1560a3a37888bb4e",23:"15985bf4b9a4080ae013",24:"4b37ade9eb945fcc22c9",25:"b4d1215ac4bdb6b32205",26:"efe6085f1d7554998701",27:"42861b4b9b720db8ddae",28:"cac6de9429e4231dd4c5",29:"6f5c56c52aaae60e5765",30:"8f3dbcb57a3c2c855a59",31:"6b4a31e73a9fb7cc8bc4",32:"9d5307c49e9a5430c6e1",33:"8df0e3d94a26fb331ac3",34:"ccfa30bde6cd5d8ff213",35:"8d69be4e000c87c0f918",36:"bef1d394ed6c5bae9168",37:"c596c928d4256fbd48c8",38:"a9b6aeb43ff34b01064b",39:"cb64500030ac0b4886a8",40:"dac4ae0141724e40ac4b",41:"69b96d9dbebe89712322",42:"e52c7efe2aa58d8e12e6",43:"5b141d02bd312223dbae",44:"541a6918f76fbe4944c0",45:"a0129c2de0a7946f0778",46:"b9538936008184e40a6f",47:"97837e8330969826134e",48:"6705461d39c39f223ede",49:"3afb59f8fccf92efea42",50:"2944fbde124a90da1c36",51:"8894fd561c2d88624c8e",52:"de81446918440511308f",53:"9a09bf45288b08ed4395",54:"b31b711e393791ac870d",55:"3cbfd5cdb2bff28b18ea",56:"a0c7b19ae8d880d6a88a",57:"9b060ead8276e7f1764d",58:"05075dceb89a9df30244",59:"358eef2e9ba67b106356",60:"a7439dd4d6539319f37d",61:"cf53764436deee022bad",62:"1ae5dc99f8b7ae1b90b2",63:"198830eff1ea488f23c2",64:"421a17406f781f402e85",65:"cedfed6165d7491f530f",66:"53a87781bbc6bb9e7483",67:"dcc2234933b93fd22a02",68:"8d10300accc465f571c9",69:"764e066c9dd4032ee8e9",70:"dbc7fdc8bcde2dd22d05",71:"66447f4842301ff7c7b8",72:"b68f3271e0e4952cc997",73:"b9f2e47c730f4addc438",74:"c890acccd0ddba2d0252",75:"d91350f9e8784b1322b8",76:"4bc99f3b2c5e3c422678",77:"697edf40ae57d033ec29",78:"27c1ba81fbbc74cb9ccf",79:"178e9cb5f2254215f05f",80:"0ae771d3e4ceccbf6d24",81:"9d241c2132ba2dd0a5bb",82:"97ab75917f8d39decc9b",83:"fea491021c2946a1e298",84:"d919026323ce849fadfb",85:"f877afbfa56c22bde863",86:"a88bfd4ff0ce9a4f9609",87:"d774054bc48448480431",88:"0817eefa642c5fbf69ed",89:"a7f74726e728c3e7eaed",90:"7cfdc91312876eb2f7e2",91:"f71defd2210ceef0448a",92:"c6edddfbb61a0c1d75b5",93:"dd1634ce4fe3e89a8996",94:"e8d55ef2698926b9eb5c",95:"993a63c8a759665474f4",96:"6f8fea66f92c86349d75",97:"4cd29619799ff425a848",98:"18a0d8f6c7a7fa059e62",99:"c3218f3b2038ed426d02",100:"0ab2cc05567fcf264dca",101:"f1f2f5de1abaa8457f55",102:"0b8a3d3f164feb25218e",103:"7c5dbb42806f74ed9bce",104:"d3d62071e753d5bc9220",105:"5292b44a9b2f1416e008",106:"11cccfd6ef178e56176d",107:"70da65bcff1085b87186",108:"17eaba7c860e98f8959b",109:"856599faa86dbcfbb4bf",110:"2c46c5aee6424684d3c6",111:"973c9dcb95d09d3e4be2",112:"22efd287f00239ad1715",113:"3b06117a461043d83af6",114:"604db44fd15fd86e07ac",115:"71594b9a9931cc0ad009",116:"c875489899eda5bb248b",117:"136d1a2f7c7bc70793e4",118:"a6350f51940c24c84943",119:"227e24e65023560ed202",120:"dd4c28b67a6ee00cdc94",121:"f6f33842e8a515abb241",122:"b4807af59ca3c00a7f28",123:"0b5835a2dafc752993f2",124:"c6abdea5d01f4cb49d7d",125:"8fa593f6d3fab12d59ed",126:"786bc8cafb6de57cd769",127:"118a74d5da56afee29ba",128:"d9cb1882aa1770e76b48",129:"a4b55253706b438b04ce",130:"fae94ebfe3d38bc1ec2a",131:"37d5fac5e0837571e4d9",132:"d1fc79b804afc999747e",133:"c1f97f2405ecad5325b7",134:"105f2d9a7e91ad4b6aa4",135:"0aec6277a96a2f4cb0b4",136:"5f24686af527a9472b71",137:"32e35e4a27bfc3b8be4a",138:"dcc958cc1b073cbb5a9a",139:"e943e9c8c219891c6e30",140:"9a7772b1c35256ec5eee",141:"818a90f77c4851cba7a9",142:"4387c147c09851c3178d",143:"331c38eca6418f38873d",144:"d54b0d6e530cf1215ce6",145:"33eebd583fa32e54bae6",146:"1a5e9c406c37a93bb680",147:"8880ea2adcffeb9e6192",148:"0d3b2ed2c85d7914a106",149:"8ba30e065f89d0fc8de3",150:"577ad76d125e93b0779c",151:"c106c79efd803c380154",152:"79e7dc803eb50c43536f",153:"938f691c20e58bf48097",154:"fbca12bc6e6d3fa1f2f9",155:"72f31a8e1444dc7900b3",156:"a6dcff5761285ebeb7a0",157:"5130093f7fcd70b464be",158:"fb4de05a1b57ec8eb061",159:"f942198af8455824082b",160:"042d7ae81173201954a7",161:"9fb8e65edb10fe4d8574",162:"8bbb29a9a8dc9f3e64b4",163:"1debb8545a7a58d17b25",164:"bfce2505e7443423125f",165:"51019208f301e3030adf",166:"84d440dd43b698be7301",167:"fa5359c17aca8e98d34e",168:"9b8143cc1d4c941bd240",169:"bfd2fed658c253488305",170:"32fa4a52941fae44c8b8",171:"3b2184440faa068c631c",172:"296a49a02884fc21e14d",173:"132c46c22e5b099b0393",174:"9e8e10c85a4c8e7413ee",175:"f6c6d6b825cb15691d35",176:"c3e21e52224caad6eda8",177:"d49f5db8d9cdd4d7277e",178:"284bc94d7bcbb07b8f9a",179:"889e3647f71cdaa11edd",180:"4bd646bc8128cacec65b",181:"9b00067c357557f5b7c5",182:"8d14bb0540ba70c14d95",183:"8c7b5f7d1f4e73087594",184:"66465a660557711bc07f",185:"f0975a808a3deea49c6f",186:"daca73d67928693e29d7",187:"533a1189bf0f414c44e9",188:"3b32ff8952c3d040771f",189:"d048e4fc2d496c60d2d1",190:"eab7e014efbf573d45c5",191:"4255a2258c33d75a63de",192:"66bbf4494c00cf8ac44b",193:"8718bc31a7fcfaf06d3d",195:"0d098608e14c6a446e4c",199:"8e29fa9309cb27437d30",200:"d9e26f8a97a334e2307a",201:"339991e35b1f1ce0f947"}[e]}(e);var u=new Error;a=function(t){c.onerror=c.onload=null,clearTimeout(s);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",u.name="ChunkLoadError",u.type=i,u.request=o,n[1](u)}r[e]=void 0}};var s=setTimeout((function(){a({type:"timeout",target:c})}),12e4);c.onerror=c.onload=a,document.head.appendChild(c)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/js/",i.oe=function(e){throw console.error(e),e};var o=window.textWebpackJsonp=window.textWebpackJsonp||[],a=o.push.bind(o);o.push=t,o=o.slice();for(var c=0;c<o.length;c++)t(o[c]);var u=a;i(i.s=162)}([function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(2),i=n(63),o=n(5),a=n(38),c=n(78),u=n(141),s=i("wks"),f=r.Symbol,l=u?f:a;e.exports=function(e){return o(s,e)||(c&&o(f,e)?s[e]=f[e]:s[e]=l("Symbol."+e)),s[e]}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(43))},function(e,t,n){"use strict";var r=n(68),i=n(106),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function c(e){return null!==e&&"object"==typeof e}function u(e){return"[object Function]"===o.call(e)}function s(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:i,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return c(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:s,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,i=arguments.length;r<i;r++)s(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]="object"==typeof n?e({},n):n}for(var r=0,i=arguments.length;r<i;r++)s(arguments[r],n);return t},extend:function(e,t,n){return s(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(8),i=n(9),o=n(25);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(0);e.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(8),i=n(61),o=n(4),a=n(33),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i}));
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -20,7 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-var r=["text/markdown"],i=["text/plain","application/cmd","application/javascript","application/json","application/xml","application/x-empty","application/x-msdos-program","application/x-php","application/x-pearl","application/x-text","application/yaml"],o=[].concat(r,i)},function(e,t,n){var r=n(2),i=n(46).f,o=n(7),a=n(12),c=n(36),u=n(119),s=n(47);e.exports=function(e,t){var n,f,l,h,d,p=e.target,g=e.global,v=e.stat;if(n=g?r:v?r[p]||c(p,{}):(r[p]||{}).prototype)for(f in t){if(h=t[f],l=e.noTargetGet?(d=i(n,f))&&d.value:n[f],!s(g?f:p+(v?".":"#")+f,e.forced)&&void 0!==l){if(typeof h==typeof l)continue;u(h,l)}(e.sham||l&&l.sham)&&o(h,"sham",!0),a(n,f,h,e)}}},function(e,t,n){var r=n(2),i=n(7),o=n(5),a=n(36),c=n(53),u=n(21),s=u.get,f=u.enforce,l=String(String).split("String");(e.exports=function(e,t,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),f(n).source=l.join("string"==typeof t?t:"")),e!==r?(u?!h&&e[t]&&(s=!0):delete e[t],s?e[t]=n:i(e,t,n)):s?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},function(e,t,n){"use strict";n(50),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(122))&&r.__esModule?r:{default:r},o=n(138);var a=i.default.create({headers:{requesttoken:(0,o.getRequestToken)()}}),c=Object.assign(a,{CancelToken:i.default.CancelToken,isCancel:i.default.isCancel});(0,o.onRequestTokenUpdate)((function(e){return a.defaults.headers.requesttoken=e}));var u=c;t.default=u},function(e,t,n){"use strict";n(93),n(50),n(45),n(94),n(98),Object.defineProperty(t,"__esModule",{value:!0}),t.getRootUrl=t.generateFilePath=t.imagePath=t.generateUrl=t.generateOcsUrl=t.generateRemoteUrl=t.linkTo=void 0;t.linkTo=function(e,t){return r(e,"",t)};t.generateRemoteUrl=function(e){return window.location.protocol+"//"+window.location.host+function(e){return i()+"/remote.php/"+e}(e)};t.generateOcsUrl=function(e,t){return t=2!==t?1:2,window.location.protocol+"//"+window.location.host+i()+"/ocs/v"+t+".php/"+e+"/"};t.generateUrl=function(e,t,n){var r=Object.assign({escape:!0,noRewrite:!1},n||{}),o=function(e,t){return t=t||{},e.replace(/{([^{}]*)}/g,(function(e,n){var i=t[n];return r.escape?"string"==typeof i||"number"==typeof i?encodeURIComponent(i.toString()):encodeURIComponent(e):"string"==typeof i||"number"==typeof i?i.toString():e}))};return"/"!==e.charAt(0)&&(e="/"+e),!0!==OC.config.modRewriteWorking||r.noRewrite?i()+"/index.php"+o(e,t||{}):i()+o(e,t||{})};t.imagePath=function(e,t){return-1===t.indexOf(".")?r(e,"img",t+".svg"):r(e,"img",t)};var r=function(e,t,n){var r=-1!==OC.coreApps.indexOf(e),o=i();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(o+="settings"!==e&&"core"!==e&&"search"!==e||"ajax"!==t?"/":"/index.php/",r||(o+="apps/"),""!==e&&(o+=e+="/"),t&&(o+=t+"/"),o+=n):(o=OC.appswebroots[e],t&&(o+="/"+t+"/"),"/"!==o.substring(o.length-1)&&(o+="/"),o+=n):(o+="/index.php/apps/"+e,"index.php"!==n&&(o+="/",t&&(o+=encodeURI(t+"/")),o+=n)),o};t.generateFilePath=r;var i=function(){return OC.webroot};t.getRootUrl=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emit=t.unsubscribe=t.subscribe=void 0;var r=n(142),i=n(143);var o=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),void 0!==window._nc_event_bus?new r.ProxyBus(window._nc_event_bus):window._nc_event_bus=new i.SimpleBus),a=o.subscribe.bind(o);t.subscribe=a;var c=o.unsubscribe.bind(o);t.unsubscribe=c;var u=o.emit.bind(o);t.emit=u},function(e,t,n){var r=n(24),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(22);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,c){var u,s="function"==typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},s._ssrRegister=u):i&&(u=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(e,t){return u.call(t),f(e,t)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:s}}n.d(t,"a",(function(){return r}))},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r,i,o,a=n(118),c=n(2),u=n(6),s=n(7),f=n(5),l=n(37),h=n(27),d=c.WeakMap;if(a){var p=new d,g=p.get,v=p.has,b=p.set;r=function(e,t){return b.call(p,e,t),t},i=function(e){return g.call(p,e)||{}},o=function(e){return v.call(p,e)}}else{var m=l("state");h[m]=!0,r=function(e,t){return s(e,m,t),t},i=function(e){return f(e,m)?e[m]:{}},o=function(e){return f(e,m)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(121),i=n(2),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(35),i=n(22);e.exports=function(e){return r(i(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(154);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(87).default)("64611095",r,!0,{})},function(e,n,r){"use strict";var i=r(13),o=r.n(i),a=r(14),c=r(10),u=r(15);function s(e,t,n,r,i,o,a){try{var c=e[o](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,i)}var f,l,h=!!document.getElementById("isPublic"),d=Object(a.generateOcsUrl)("apps/text"+(h?"/public":""),2)+"workspace",p={name:"RichWorkspace",components:{EditorWrapper:function(){return Promise.all([r.e(0),r.e(189),r.e(188),r.e(199),r.e(190)]).then(r.bind(null,164))}},props:{path:{type:String,required:!0}},data:function(){return{focus:!1,file:null,loaded:!1,ready:!1,autofocus:!1,enabled:OCA.Text.RichWorkspaceEnabled}},computed:{shareToken:function(){return document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null}},watch:{path:function(){this.getFileInfo()}},mounted:(f=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.enabled&&this.getFileInfo(),Object(u.subscribe)("Text::showRichWorkspace",(function(){t.enabled=!0,t.getFileInfo()})),Object(u.subscribe)("Text::hideRichWorkspace",(function(){t.enabled=!1}));case 3:case"end":return e.stop()}}),e,this)})),l=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=f.apply(e,t);function o(e){s(i,n,r,o,a,"next",e)}function a(e){s(i,n,r,o,a,"throw",e)}o(void 0)}))},function(){return l.apply(this,arguments)}),methods:{getFileInfo:function(){var e=this;this.loaded=!1,this.autofocus=!1,this.ready=!1;var t={path:this.path};h&&(t.shareToken=this.shareToken),o.a.get(d,{params:t}).then((function(t){var n=t.data.ocs.data;e.file=n.file,e.editing=!0,e.loaded=!0})).catch((function(){e.file=null,e.loaded=!0,e.ready=!0}))},createNew:function(){var e=this;this.creating||(this.creating=!0,window.FileList.createFile("Readme.md",{scrollTo:!1,animate:!1}).then((function(t,n){e.getFileInfo(),e.autofocus=!0,e.creating=!1})))}}},g=(r(153),r(19)),v=Object(g.a)(p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.enabled?n("div",{class:{"icon-loading":!e.loaded||!e.ready,focus:e.focus},attrs:{id:"rich-workspace"}},[!e.file||e.autofocus&&!e.ready?n("div",{staticClass:"empty-workspace",on:{click:e.createNew}},[n("p",{staticClass:"placeholder"},[e._v("\n\t\t\t"+e._s(e.t("text","Add notes, lists or links …"))+"\n\t\t")])]):e._e(),e._v(" "),e.file?n("EditorWrapper",{directives:[{name:"show",rawName:"v-show",value:e.ready,expression:"ready"}],key:e.file.id,attrs:{"file-id":e.file.id,"relative-path":e.file.path,"share-token":e.shareToken,active:!0,autohide:!0,mime:e.file.mimetype,autofocus:e.autofocus},on:{ready:function(t){e.ready=!0},focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):e._e()],1):e._e()}),[],!1,null,"3df52b0a",null).exports;function b(e,t,n,r,i,o,a){try{var c=e[o](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,i)}r.d(n,"b",(function(){return m})),r.d(n,"c",(function(){return x})),r.d(n,"d",(function(){return y})),r.d(n,"a",(function(){return w}));
+var r=["text/markdown"],i=["text/plain","application/cmd","application/x-empty","application/x-msdos-program","application/epub+zip","application/javascript","application/json","application/vnd.oasis.opendocument.text","application/vnd.oasis.opendocument.text-master","application/vnd.oasis.opendocument.text-template","application/vnd.oasis.opendocument.text-web","application/x-cbr","application/x-fictionbook+xml","application/x-mobipocket-ebook","application/x-perl","application/x-php","application/x-tex","application/xml","application/yaml","text/css","text/csv","text/html","text/x-c","text/x-c++src","text/x-h","text/x-java-source","text/x-ldif","text/x-python","text/x-shellscript"],o=[].concat(r,i)},function(e,t,n){var r=n(2),i=n(46).f,o=n(7),a=n(12),c=n(36),u=n(119),s=n(47);e.exports=function(e,t){var n,f,l,h,d,p=e.target,g=e.global,v=e.stat;if(n=g?r:v?r[p]||c(p,{}):(r[p]||{}).prototype)for(f in t){if(h=t[f],l=e.noTargetGet?(d=i(n,f))&&d.value:n[f],!s(g?f:p+(v?".":"#")+f,e.forced)&&void 0!==l){if(typeof h==typeof l)continue;u(h,l)}(e.sham||l&&l.sham)&&o(h,"sham",!0),a(n,f,h,e)}}},function(e,t,n){var r=n(2),i=n(7),o=n(5),a=n(36),c=n(53),u=n(21),s=u.get,f=u.enforce,l=String(String).split("String");(e.exports=function(e,t,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),f(n).source=l.join("string"==typeof t?t:"")),e!==r?(u?!h&&e[t]&&(s=!0):delete e[t],s?e[t]=n:i(e,t,n)):s?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},function(e,t,n){"use strict";n(50),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(122))&&r.__esModule?r:{default:r},o=n(138);var a=i.default.create({headers:{requesttoken:(0,o.getRequestToken)()}}),c=Object.assign(a,{CancelToken:i.default.CancelToken,isCancel:i.default.isCancel});(0,o.onRequestTokenUpdate)((function(e){return a.defaults.headers.requesttoken=e}));var u=c;t.default=u},function(e,t,n){"use strict";n(93),n(50),n(45),n(94),n(98),Object.defineProperty(t,"__esModule",{value:!0}),t.getRootUrl=t.generateFilePath=t.imagePath=t.generateUrl=t.generateOcsUrl=t.generateRemoteUrl=t.linkTo=void 0;t.linkTo=function(e,t){return r(e,"",t)};t.generateRemoteUrl=function(e){return window.location.protocol+"//"+window.location.host+function(e){return i()+"/remote.php/"+e}(e)};t.generateOcsUrl=function(e,t){return t=2!==t?1:2,window.location.protocol+"//"+window.location.host+i()+"/ocs/v"+t+".php/"+e+"/"};t.generateUrl=function(e,t,n){var r=Object.assign({escape:!0,noRewrite:!1},n||{}),o=function(e,t){return t=t||{},e.replace(/{([^{}]*)}/g,(function(e,n){var i=t[n];return r.escape?"string"==typeof i||"number"==typeof i?encodeURIComponent(i.toString()):encodeURIComponent(e):"string"==typeof i||"number"==typeof i?i.toString():e}))};return"/"!==e.charAt(0)&&(e="/"+e),!0!==OC.config.modRewriteWorking||r.noRewrite?i()+"/index.php"+o(e,t||{}):i()+o(e,t||{})};t.imagePath=function(e,t){return-1===t.indexOf(".")?r(e,"img",t+".svg"):r(e,"img",t)};var r=function(e,t,n){var r=-1!==OC.coreApps.indexOf(e),o=i();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(o+="settings"!==e&&"core"!==e&&"search"!==e||"ajax"!==t?"/":"/index.php/",r||(o+="apps/"),""!==e&&(o+=e+="/"),t&&(o+=t+"/"),o+=n):(o=OC.appswebroots[e],t&&(o+="/"+t+"/"),"/"!==o.substring(o.length-1)&&(o+="/"),o+=n):(o+="/index.php/apps/"+e,"index.php"!==n&&(o+="/",t&&(o+=encodeURI(t+"/")),o+=n)),o};t.generateFilePath=r;var i=function(){return OC.webroot};t.getRootUrl=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emit=t.unsubscribe=t.subscribe=void 0;var r=n(142),i=n(143);var o=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),void 0!==window._nc_event_bus?new r.ProxyBus(window._nc_event_bus):window._nc_event_bus=new i.SimpleBus),a=o.subscribe.bind(o);t.subscribe=a;var c=o.unsubscribe.bind(o);t.unsubscribe=c;var u=o.emit.bind(o);t.emit=u},function(e,t,n){var r=n(24),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(22);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,c){var u,s="function"==typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},s._ssrRegister=u):i&&(u=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(e,t){return u.call(t),f(e,t)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:s}}n.d(t,"a",(function(){return r}))},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r,i,o,a=n(118),c=n(2),u=n(6),s=n(7),f=n(5),l=n(37),h=n(27),d=c.WeakMap;if(a){var p=new d,g=p.get,v=p.has,b=p.set;r=function(e,t){return b.call(p,e,t),t},i=function(e){return g.call(p,e)||{}},o=function(e){return v.call(p,e)}}else{var m=l("state");h[m]=!0,r=function(e,t){return s(e,m,t),t},i=function(e){return f(e,m)?e[m]:{}},o=function(e){return f(e,m)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(121),i=n(2),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(35),i=n(22);e.exports=function(e){return r(i(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(154);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(87).default)("64611095",r,!0,{})},function(e,n,r){"use strict";var i=r(13),o=r.n(i),a=r(14),c=r(10),u=r(15);function s(e,t,n,r,i,o,a){try{var c=e[o](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,i)}var f,l,h=!!document.getElementById("isPublic"),d=Object(a.generateOcsUrl)("apps/text"+(h?"/public":""),2)+"workspace",p={name:"RichWorkspace",components:{EditorWrapper:function(){return Promise.all([r.e(0),r.e(189),r.e(188),r.e(199),r.e(190)]).then(r.bind(null,164))}},props:{path:{type:String,required:!0}},data:function(){return{focus:!1,file:null,loaded:!1,ready:!1,autofocus:!1,enabled:OCA.Text.RichWorkspaceEnabled}},computed:{shareToken:function(){return document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null}},watch:{path:function(){this.getFileInfo()}},mounted:(f=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.enabled&&this.getFileInfo(),Object(u.subscribe)("Text::showRichWorkspace",(function(){t.enabled=!0,t.getFileInfo()})),Object(u.subscribe)("Text::hideRichWorkspace",(function(){t.enabled=!1}));case 3:case"end":return e.stop()}}),e,this)})),l=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=f.apply(e,t);function o(e){s(i,n,r,o,a,"next",e)}function a(e){s(i,n,r,o,a,"throw",e)}o(void 0)}))},function(){return l.apply(this,arguments)}),methods:{getFileInfo:function(){var e=this;this.loaded=!1,this.autofocus=!1,this.ready=!1;var t={path:this.path};h&&(t.shareToken=this.shareToken),o.a.get(d,{params:t}).then((function(t){var n=t.data.ocs.data;e.file=n.file,e.editing=!0,e.loaded=!0})).catch((function(){e.file=null,e.loaded=!0,e.ready=!0}))},createNew:function(){var e=this;this.creating||(this.creating=!0,window.FileList.createFile("Readme.md",{scrollTo:!1,animate:!1}).then((function(t,n){e.getFileInfo(),e.autofocus=!0,e.creating=!1})))}}},g=(r(153),r(19)),v=Object(g.a)(p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.enabled?n("div",{class:{"icon-loading":!e.loaded||!e.ready,focus:e.focus},attrs:{id:"rich-workspace"}},[!e.file||e.autofocus&&!e.ready?n("div",{staticClass:"empty-workspace",on:{click:e.createNew}},[n("p",{staticClass:"placeholder"},[e._v("\n\t\t\t"+e._s(e.t("text","Add notes, lists or links …"))+"\n\t\t")])]):e._e(),e._v(" "),e.file?n("EditorWrapper",{directives:[{name:"show",rawName:"v-show",value:e.ready,expression:"ready"}],key:e.file.id,attrs:{"file-id":e.file.id,"relative-path":e.file.path,"share-token":e.shareToken,active:!0,autohide:!0,mime:e.file.mimetype,autofocus:e.autofocus},on:{ready:function(t){e.ready=!0},focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):e._e()],1):e._e()}),[],!1,null,"3df52b0a",null).exports;function b(e,t,n,r,i,o,a){try{var c=e[o](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,i)}r.d(n,"b",(function(){return m})),r.d(n,"c",(function(){return x})),r.d(n,"d",(function(){return y})),r.d(n,"a",(function(){return w}));
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*