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/public.js')
-rw-r--r--js/public.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/public.js b/js/public.js
index 23efc60cf..3ff572933 100644
--- a/js/public.js
+++ b/js/public.js
@@ -1,4 +1,4 @@
-!function(t){function e(e){for(var n,i,o=e[0],a=e[1],c=0,u=[];c<o.length;c++)i=o[c],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&u.push(r[i][0]),r[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n]);for(s&&s(e);u.length;)u.shift()()}var n={},r={201:0};function i(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(t){var e=[],n=r[t];if(0!==n)if(n)e.push(n[2]);else{var o=new Promise((function(e,i){n=r[t]=[e,i]}));e.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(t){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/c",25:"highlight/c-like",26:"highlight/cal",27:"highlight/capnproto",28:"highlight/ceylon",29:"highlight/clean",30:"highlight/clojure",31:"highlight/clojure-repl",32:"highlight/cmake",33:"highlight/coffeescript",34:"highlight/coq",35:"highlight/cos",36:"highlight/cpp",37:"highlight/crmsh",38:"highlight/crystal",39:"highlight/csharp",40:"highlight/csp",41:"highlight/css",42:"highlight/d",43:"highlight/dart",44:"highlight/delphi",45:"highlight/diff",46:"highlight/django",47:"highlight/dns",48:"highlight/dockerfile",49:"highlight/dos",50:"highlight/dsconfig",51:"highlight/dts",52:"highlight/dust",53:"highlight/ebnf",54:"highlight/elixir",55:"highlight/elm",56:"highlight/erb",57:"highlight/erlang",58:"highlight/erlang-repl",59:"highlight/excel",60:"highlight/fix",61:"highlight/flix",62:"highlight/fortran",63:"highlight/fsharp",64:"highlight/gams",65:"highlight/gauss",66:"highlight/gcode",67:"highlight/gherkin",68:"highlight/glsl",69:"highlight/gml",70:"highlight/go",71:"highlight/golo",72:"highlight/gradle",73:"highlight/groovy",74:"highlight/haml",75:"highlight/handlebars",76:"highlight/haskell",77:"highlight/haxe",78:"highlight/hsp",79:"highlight/htmlbars",80:"highlight/http",81:"highlight/hy",82:"highlight/inform7",83:"highlight/ini",84:"highlight/irpf90",85:"highlight/isbl",86:"highlight/java",87:"highlight/javascript",88:"highlight/jboss-cli",89:"highlight/json",90:"highlight/julia",91:"highlight/julia-repl",92:"highlight/kotlin",93:"highlight/lasso",94:"highlight/latex",95:"highlight/ldif",96:"highlight/leaf",97:"highlight/less",98:"highlight/lisp",99:"highlight/livecodeserver",100:"highlight/livescript",101:"highlight/llvm",102:"highlight/lsl",103:"highlight/lua",104:"highlight/makefile",105:"highlight/markdown",106:"highlight/mathematica",107:"highlight/matlab",108:"highlight/maxima",109:"highlight/mel",110:"highlight/mercury",111:"highlight/mipsasm",112:"highlight/mizar",113:"highlight/mojolicious",114:"highlight/monkey",115:"highlight/moonscript",116:"highlight/n1ql",117:"highlight/nginx",118:"highlight/nim",119:"highlight/nix",120:"highlight/node-repl",121:"highlight/nsis",122:"highlight/objectivec",123:"highlight/ocaml",124:"highlight/openscad",125:"highlight/oxygene",126:"highlight/parser3",127:"highlight/perl",128:"highlight/pf",129:"highlight/pgsql",130:"highlight/php",131:"highlight/php-template",132:"highlight/plaintext",133:"highlight/pony",134:"highlight/powershell",135:"highlight/processing",136:"highlight/profile",137:"highlight/prolog",138:"highlight/properties",139:"highlight/protobuf",140:"highlight/puppet",141:"highlight/purebasic",142:"highlight/python",143:"highlight/python-repl",144:"highlight/q",145:"highlight/qml",146:"highlight/r",147:"highlight/reasonml",148:"highlight/rib",149:"highlight/roboconf",150:"highlight/routeros",151:"highlight/rsl",152:"highlight/ruby",153:"highlight/ruleslanguage",154:"highlight/rust",155:"highlight/sas",156:"highlight/scala",157:"highlight/scheme",158:"highlight/scilab",159:"highlight/scss",160:"highlight/shell",161:"highlight/smali",162:"highlight/smalltalk",163:"highlight/sml",164:"highlight/sqf",165:"highlight/sql",166:"highlight/stan",167:"highlight/stata",168:"highlight/step21",169:"highlight/stylus",170:"highlight/subunit",171:"highlight/swift",172:"highlight/taggerscript",173:"highlight/tap",174:"highlight/tcl",175:"highlight/thrift",176:"highlight/tp",177:"highlight/twig",178:"highlight/typescript",179:"highlight/vala",180:"highlight/vbnet",181:"highlight/vbscript",182:"highlight/vbscript-html",183:"highlight/verilog",184:"highlight/vhdl",185:"highlight/vim",186:"highlight/x86asm",187:"highlight/xl",188:"highlight/xml",189:"highlight/xquery",190:"highlight/yaml",191:"highlight/zephir",192:"vendors~editor-collab~editor-guest",193:"vendors~editor-collab~editor-rich",194:"vendors~editor~files-modal",195:"editor",196:"editor-collab",197:"editor-guest",198:"editor-rich",200:"files-modal",203:"vendors~editor",204:"vendors~editor-rich",205:"vendors~files-modal"}[t]||t)+".js?v="+{0:"0418afbf4b7f9a87c3c5",1:"c0f3c95d5adad39aa4d3",2:"8abbfbe1210414170701",3:"c137bcab9ecaa070fe3f",4:"4186c2d8ee942c9a1c8b",5:"c7f7d475e85b52550fb6",6:"2b7d6d77e0027149994e",7:"0b66801886128d3d731b",8:"81a2a9752d6e42821fc5",9:"a7378f6e707197f7ab4c",10:"1183b43341c87d554b70",11:"0d4d5def7c24877f151a",12:"680fcbe04f464680e603",13:"30003d2812f497f1e560",14:"7076164b8b2a9daf33c3",15:"fc73c7a5c13e753b6f59",16:"dc316c2504faef229545",17:"fc76409ecb686e900c99",18:"7062bf9587ec0eea12a2",19:"bef8d32a5a9d7415224b",20:"14e30e2d317832099229",21:"5c670b9d350273ea11fb",22:"9a9eaa0b8d7d9cd06e57",23:"5b54d2a6bd9cb8d1d1a2",24:"fc306cc10fe0611a1876",25:"01170bb49d8ea171d716",26:"2d406f027fe751f344e6",27:"b28dbded609599b79414",28:"c200e4cf0888323711fa",29:"1b616e25117cdb98d4f1",30:"dbf1fc7f43ac253aeb30",31:"68422447c25633f13129",32:"ccfeada5918c4f9aeddb",33:"c60069d82e528215b14a",34:"71a840b44f4072558b1a",35:"1452de80b0a3ee64f1f7",36:"4414b8da17cedac1572f",37:"0252e5ab31638164dc16",38:"1c75035634bdd7d5982d",39:"f623d3c2d30b867d00e2",40:"0078f9f32873e351591d",41:"db9650188e37c89ec771",42:"41bae99dee14303f3d97",43:"34efff2f0144261c0ee5",44:"6748a1b9d4ee180a78ad",45:"0b7289872e09889f2a31",46:"2b5f92ceda38b4c643a9",47:"20556b82ae894fa2c7e4",48:"88210ddae45842aeb71b",49:"ba1c4f3601c246750846",50:"635cb169cc212b9bf153",51:"f32a9f4f02b06a5b350d",52:"a393b296d236cbaf3166",53:"3d69ec19898f46c96a1e",54:"b349577acd551df129fb",55:"8912ac0b9ad4b7065d50",56:"12a2cd32c1339551d571",57:"3269d77e7e89aeb3b42d",58:"a1236619c00f68b97b07",59:"e01534e0bafc187736aa",60:"eae09964f523526a76e4",61:"7e8b1d6bf9add607e7ba",62:"e2c81c18dfa87070bee6",63:"602d4d79f7e367a195d9",64:"96abebcd1dbb12ec0bf9",65:"20ab8d7b107ea963139c",66:"ef3ed372000e178bc36c",67:"c0c1e4f8cf8729e2aca5",68:"a59739d94409a32fefcf",69:"75f53085b07b6ce2f110",70:"da74ec904630b1696da5",71:"187880929ddbeb7b5dbf",72:"70e625acfff650bffd6e",73:"6dba99e1561658677dc5",74:"5f822039bf0de70cc3e0",75:"f4ff462c6ca939fa350c",76:"1297b796e9195dff8ff6",77:"3807d510b9ba39cfef57",78:"f762b7824c148bd898c0",79:"0f2853c05a5627af0439",80:"a5c07529c62f4c335dbc",81:"69be0be8e6afc13ba810",82:"ef18f75cd59d9aa7c2c7",83:"1b30787eff7994854d87",84:"5e1e7ca94f4c280c9c4f",85:"04bfd4f9787f2c1795c5",86:"f791f094696e739920da",87:"24eb1ea17fdc8e5d6c31",88:"48cfab43934d806237dc",89:"55a415e8472d3aa275fa",90:"088aebaa5a676cc393da",91:"a64126cad0acd9d6107b",92:"511a96b39a6d6483bebe",93:"814f7efd6957478145bf",94:"4034ef73393c2c85399d",95:"fa4872faf671b8018800",96:"403ffc5c8ebd7bfe3b4e",97:"8de93e4e4df33e71e4fd",98:"4c5b015300dc4800cd10",99:"0d520e5412d7923a269f",100:"772eccca51cf689ab169",101:"f8f0e9eabe5bd337a19a",102:"115933238c6c371bf28a",103:"15ef411d1d2e4c63e7a8",104:"ade28f56477a308b2361",105:"1eae1084ecfa6f489ada",106:"15e038d9a0b141d6b7c0",107:"ce15aac9b3e74a7bb0a8",108:"1beded160eac6b8199b1",109:"11390d4fce4ccaf32656",110:"cb09ed5dab85fab89f53",111:"9baa041221206f6724fb",112:"c50238e1265d98a8bfd6",113:"babe1fcccf7861b40fb1",114:"7eefcc1070425bf0c564",115:"84a50dc4c834b91b2f25",116:"c0b3f7890eb4de094e30",117:"942ed045765c70783435",118:"3cbd60fd667e95a922ac",119:"0b022f0b7085e6f16771",120:"e4ff00cfc767fc7d89e8",121:"be3e303f198f8dc08079",122:"dcfdcbbd467f17008ebe",123:"d521ae0970bd91c50577",124:"2dedc9189837bda20ec2",125:"1a61416b7c1ad3d60ddd",126:"f346d8e1860c30c8f217",127:"396b390d55948b03acc6",128:"607874786f59f7e98418",129:"4a2d0104de44b6352871",130:"c2a634d8fdbb72d2ddfa",131:"4d5726a3be2c1fd96752",132:"883209f105956d9f37da",133:"c7144f4a49a05c3e1889",134:"4d26d16a70f000e415f7",135:"62282e7ca6c89bb8912c",136:"72e5cebb46ff3319ca12",137:"e2e6d0530077618015c8",138:"739768fc734abaab55e6",139:"71770f3835569e42e48d",140:"a53d2cf34200bea291a5",141:"86e732aa609f20a0a98b",142:"379ae521c2448a5b2af9",143:"ee85469cdf7f59d0291b",144:"0f82aca186ec2b6ece92",145:"aaa6059c36dbce4a7146",146:"303cb1a178db945b6e3c",147:"920f15c4deea64cfe644",148:"1032678d1e0310c8939d",149:"1cd3a81c1692b16c200f",150:"5b155cd57211436922dd",151:"dad38f9a356d4d84723e",152:"565789542a0d007c80fd",153:"4435093f8e33e3e6688d",154:"05e1111e8117f67b6560",155:"34876ec6f45cc3ad1222",156:"c829584c876eae685951",157:"c3b15a74bd9eae42d7df",158:"37a41dee8f3ddca9f4be",159:"71be53d43620bf4124d9",160:"43c7410713894a5597b1",161:"494b9df1fb3909abb24c",162:"33dcc50105704f86ea1d",163:"9839e97794b9f43077fd",164:"1db88e1b54cb7a5cacde",165:"8751e34537f14e76a365",166:"f5a5083a0dcda08d5ae6",167:"33c02a39c99fd09e3a40",168:"84fca6fc8103a2768eff",169:"d38264a80cb62e50f920",170:"6692c6c7b2f4b0e127b0",171:"80032de9afc10a6d34c2",172:"bf07576d23d4219640b5",173:"90f0d5a14b4c63338cd0",174:"7d0107d72972f6269a91",175:"830152ad6d362c3338e2",176:"4961215448541db18073",177:"27f743be7a0ba9ca1294",178:"f6a7da33d4e967548675",179:"1175a0ee0266d75f8c97",180:"60d0ab9e960c95e1c8c3",181:"d52b87f93718cd2a7549",182:"487c256778b56eb414a0",183:"e950251639f3d1a6a9d3",184:"26a02f672fd5059cbddf",185:"6a8e8a8d1fee50bb1b79",186:"17465185f085379a1efd",187:"49763bb35dd202e7c4f3",188:"5d0de9893df3bc08fe6b",189:"70110e4ce1c31ec93d47",190:"007c3559b3b672cdf2b3",191:"6042209b3f11b92e9592",192:"70f36aa8b49f135be138",193:"d773d54abf4e6f54ab03",194:"6da2c0af69186fae0e3c",195:"88aa0fd532dcc8990269",196:"fbe2f40a217e0200bc2d",197:"592d8b354a1954707efa",198:"3f4f3650c531341abec0",200:"f8f76b0e365edd2ee65d",203:"b8f115885cd765ae5389",204:"ace9993bb1c0582c6581",205:"71a49ca67e21c2074be1"}[t]}(t);var s=new Error;a=function(e){c.onerror=c.onload=null,clearTimeout(u);var n=r[t];if(0!==n){if(n){var i=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}r[t]=void 0}};var u=setTimeout((function(){a({type:"timeout",target:c})}),12e4);c.onerror=c.onload=a,document.head.appendChild(c)}return Promise.all(e)},i.m=t,i.c=n,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/js/",i.oe=function(t){throw console.error(t),t};var o=window.textWebpackJsonp=window.textWebpackJsonp||[],a=o.push.bind(o);o.push=e,o=o.slice();for(var c=0;c<o.length;c++)e(o[c]);var s=a;i(i.s=185)}([function(t,e,n){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";var r=n(2),i=n(77),o=n(4),a=n(42),c=n(90),s=n(157),u=i("wks"),f=r.Symbol,l=s?f:f&&f.withoutSetter||a;t.exports=function(t){return o(u,t)||(c&&o(f,t)?u[t]=f[t]:u[t]=l("Symbol."+t)),u[t]}},function(t,e,n){"use strict";(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":n(globalThis))&&globalThis)||r("object"==("undefined"==typeof window?"undefined":n(window))&&window)||r("object"==("undefined"==typeof self?"undefined":n(self))&&self)||r("object"==(void 0===e?"undefined":n(e))&&e)||function(){return this}()||Function("return this")()}).call(this,n(49))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=n(80),o=Object.prototype.toString;function a(t){return"[object Array]"===o.call(t)}function c(t){return void 0===t}function s(t){return null!==t&&"object"===r(t)}function u(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===o.call(t)}function l(t,e){if(null!=t)if("object"!==r(t)&&(t=[t]),a(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!c(t)&&null!==t.constructor&&!c(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isPlainObject:u,isUndefined:c,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:f,isStream:function(t){return s(t)&&f(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:l,merge:function t(){var e={};function n(n,r){u(e[r])&&u(n)?e[r]=t(e[r],n):u(n)?e[r]=t({},n):a(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)l(arguments[r],n);return e},extend:function(t,e,n){return l(e,(function(e,r){t[r]=n&&"function"==typeof e?i(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e,n){"use strict";var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===r(t)?null!==t:"function"==typeof t}},function(t,e,n){"use strict";var r=n(0);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){"use strict";var r=n(7),i=n(76),o=n(5),a=n(36),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";var r=n(7),i=n(8),o=n(21);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=n(2),o=n(56).f,a=n(9),c=n(11),s=n(39),u=n(136),f=n(57);t.exports=function(t,e){var n,l,h,d,p,g=t.target,v=t.global,b=t.stat;if(n=v?i:b?i[g]||s(g,{}):(i[g]||{}).prototype)for(l in e){if(d=e[l],h=t.noTargetGet?(p=o(n,l))&&p.value:n[l],!f(v?l:g+(b?".":"#")+l,t.forced)&&void 0!==h){if(r(d)===r(h))continue;u(d,h)}(t.sham||h&&h.sham)&&a(d,"sham",!0),c(n,l,d,t)}}},function(t,e,n){"use strict";var r=n(2),i=n(9),o=n(4),a=n(39),c=n(64),s=n(18),u=s.get,f=s.enforce,l=String(String).split("String");(t.exports=function(t,e,n,c){var s,u=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),(s=f(n)).source||(s.source=l.join("string"==typeof e?e:""))),t!==r?(u?!d&&t[e]&&(h=!0):delete t[e],h?t[e]=n:i(t,e,n)):h?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||c(this)}))},function(t,e,n){"use strict";var r=n(19),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(17);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";t.exports={}},function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,c){var s,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=s):i&&(s=c?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(u.functional){u._injectStyles=s;var f=u.render;u.render=function(t,e){return s.call(e),f(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,s):[s]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,n){"use strict";t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var r,i,o,a=n(135),c=n(2),s=n(6),u=n(9),f=n(4),l=n(40),h=n(41),d=n(23),p=c.WeakMap;if(a){var g=l.state||(l.state=new p),v=g.get,b=g.has,m=g.set;r=function(t,e){return e.facade=t,m.call(g,t,e),e},i=function(t){return v.call(g,t)||{}},o=function(t){return b.call(g,t)}}else{var y=h("state");d[y]=!0,r=function(t,e){return e.facade=t,u(t,y,e),e},i=function(t){return f(t,y)?t[y]:{}},o=function(t){return f(t,y)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!s(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){"use strict";var r=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:r)(t)}},function(t,e,n){"use strict";var r=n(138),i=n(2),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},function(t,e,n){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(37),i=n(17);t.exports=function(t){return r(i(t))}},function(t,e,n){"use strict";t.exports={}},function(t,e,n){"use strict";n.r(e);var r=n(25),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e.default=i.a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=(r=n(99))&&r.__esModule?r:{default:r},o=n(29),a=n(51);function c(t,e,n,r,i,o,a){try{var c=t[o](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,i)}var s=!!document.getElementById("isPublic"),u=(0,o.generateOcsUrl)("apps/text"+(s?"/public":""),2)+"workspace",f={name:"RichWorkspace",components:{EditorWrapper:function(){return Promise.all([n.e(0),n.e(194),n.e(203),n.e(195)]).then(n.bind(null,123))}},props:{path:{type:String,required:!0}},data:function(){return{focus:!1,folder:null,file:null,loaded:!1,ready:!1,autofocus:!1,darkTheme:OCA.Accessibility&&"dark"===OCA.Accessibility.theme,enabled:OCA.Text.RichWorkspaceEnabled}},computed:{shareToken:function(){return document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null},canCreate:function(){return!!(this.folder&&this.folder.permissions&OC.PERMISSION_CREATE)},showEmptyWorkspace:function(){return(!this.file||this.autofocus&&!this.ready)&&this.canCreate}},watch:{path:function(){this.getFileInfo()},focus:function(t){t||document.querySelector("#editor").scrollTo(0,0)}},mounted:function(){var t,e=this;return(t=regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.enabled&&e.getFileInfo(),(0,a.subscribe)("Text::showRichWorkspace",(function(){e.enabled=!0,e.getFileInfo()})),(0,a.subscribe)("Text::hideRichWorkspace",(function(){e.enabled=!1}));case 3:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){c(o,r,i,a,s,"next",t)}function s(t){c(o,r,i,a,s,"throw",t)}a(void 0)}))})()},methods:{unfocus:function(){},reset:function(){var t=this;this.file=null,this.focus=!1,this.$nextTick((function(){t.creating=!1,t.getFileInfo()}))},getFileInfo:function(){var t=this;this.loaded=!1,this.autofocus=!1,this.ready=!1;var e={path:this.path};return s&&(e.shareToken=this.shareToken),i.default.get(u,{params:e}).then((function(e){var n=e.data.ocs.data;return t.folder=n.folder||null,t.file=n.file,t.editing=!0,t.loaded=!0,!0})).catch((function(e){return e.response.data.ocs&&e.response.data.ocs.data.folder?t.folder=e.response.data.ocs.data.folder:t.folder=null,t.file=null,t.loaded=!0,t.ready=!0,t.creating=!1,!1}))},createNew:function(){var t=this;this.creating||(this.creating=!0,this.getFileInfo().then((function(e){t.autofocus=!0,e||window.FileList.createFile("Readme.md",{scrollTo:!1,animate:!1}).then((function(e,n){t.getFileInfo()}))})))}}};e.default=f},function(t,e,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function c(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},r=[],i=0;i<t.length;i++){var o=t[i],s=e.base?o[0]+e.base:o[0],u=n[s]||0,f="".concat(s," ").concat(u);n[s]=u+1;var l=c(f),h={css:o[1],media:o[2],sourceMap:o[3]};-1!==l?(a[l].references++,a[l].updater(h)):a.push({identifier:f,updater:v(h,e),references:1}),r.push(f)}return r}function u(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=o(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var f,l=(f=[],function(t,e){return f[t]=e,f.filter(Boolean).join("\n")});function h(t,e,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=l(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function d(t,e,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var p=null,g=0;function v(t,e){var n,r,i;if(e.singleton){var o=g++;n=p||(p=u(e)),r=h.bind(null,n,o,!1),i=h.bind(null,n,o,!0)}else n=u(e),r=d.bind(null,n,e),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=i());var n=s(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var i=c(n[r]);a[i].references--}for(var o=s(t,e),u=0;u<n.length;u++){var f=c(n[u]);0===a[f].references&&(a[f].updater(),a.splice(f,1))}n=o}}}},function(t,e,n){"use strict";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}t.exports=function(t){var e=r(t,4),n=e[1],i=e[3];if("function"==typeof btoa){var o=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),c="/*# ".concat(a," */"),s=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[n].concat(s).concat([c]).join("\n")}return[n].join("\n")}},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var c=0;c<t.length;c++){var s=[].concat(t[c]);r&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),e.push(s))}},e}},function(t,e,n){"use strict";n(109),n(74),n(53),n(54),n(104),n(105),Object.defineProperty(e,"__esModule",{value:!0}),e.getRootUrl=e.generateFilePath=e.imagePath=e.generateUrl=e.generateOcsUrl=e.generateRemoteUrl=e.linkTo=void 0;e.linkTo=function(t,e){return r(t,"",e)};e.generateRemoteUrl=function(t){return window.location.protocol+"//"+window.location.host+function(t){return i()+"/remote.php/"+t}(t)};e.generateOcsUrl=function(t,e){return e=2!==e?1:2,window.location.protocol+"//"+window.location.host+i()+"/ocs/v"+e+".php/"+t+"/"};e.generateUrl=function(t,e,n){var r=Object.assign({escape:!0,noRewrite:!1},n||{}),o=function(t,e){return e=e||{},t.replace(/{([^{}]*)}/g,(function(t,n){var i=e[n];return r.escape?"string"==typeof i||"number"==typeof i?encodeURIComponent(i.toString()):encodeURIComponent(t):"string"==typeof i||"number"==typeof i?i.toString():t}))};return"/"!==t.charAt(0)&&(t="/"+t),!0!==OC.config.modRewriteWorking||r.noRewrite?i()+"/index.php"+o(t,e||{}):i()+o(t,e||{})};e.imagePath=function(t,e){return-1===e.indexOf(".")?r(t,"img",e+".svg"):r(t,"img",e)};var r=function(t,e,n){var r=-1!==OC.coreApps.indexOf(t),o=i();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(o+="settings"!==t&&"core"!==t&&"search"!==t||"ajax"!==e?"/":"/index.php/",r||(o+="apps/"),""!==t&&(o+=t+="/"),e&&(o+=e+"/"),o+=n):(o=OC.appswebroots[t],e&&(o+="/"+e+"/"),"/"!==o.substring(o.length-1)&&(o+="/"),o+=n):(o+="/index.php/apps/"+t,"index.php"!==n&&(o+="/",e&&(o+=encodeURI(e+"/")),o+=n)),o};e.generateFilePath=r;var i=function(){return OC.webroot};e.getRootUrl=i},,function(t,e,n){"use strict";var r=n(112);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(7),i=n(0),o=n(4),a=Object.defineProperty,c={},s=function(t){throw t};t.exports=function(t,e){if(o(c,t))return c[t];e||(e={});var n=[][t],u=!!o(e,"ACCESSORS")&&e.ACCESSORS,f=o(e,0)?e[0]:s,l=o(e,1)?e[1]:void 0;return c[t]=!!n&&!i((function(){if(u&&!r)return!0;var t={length:-1};u?a(t,1,{enumerable:!0,get:s}):t[1]=1,n.call(t,f,l)}))}},function(t,e,n){"use strict";t.exports=!1},function(t,e,n){"use strict";var r,i=n(5),o=n(127),a=n(43),c=n(23),s=n(128),u=n(63),f=n(41),l=f("IE_PROTO"),h=function(){},d=function(t){return"<script>"+t+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;p=r?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=u("iframe")).style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};c[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h.prototype=i(t),n=new h,h.prototype=null,n[l]=t):n=p(),void 0===e?n:o(n,e)}},function(t,e,n){"use strict";var r=n(8).f,i=n(4),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";var r=n(0),i=n(16),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},function(t,e,n){"use strict";var r,i,o=n(73),a=n(133),c=RegExp.prototype.exec,s=String.prototype.replace,u=c,f=(r=/a/,i=/b*/g,c.call(r,"a"),c.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(f||h||l)&&(u=function(t){var e,n,r,i,a=this,u=l&&a.sticky,d=o.call(a),p=a.source,g=0,v=t;return u&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(p="(?: "+p+")",v=" "+v,g++),n=new RegExp("^(?:"+p+")",d)),h&&(n=new RegExp("^"+p+"$(?!\\s)",d)),f&&(e=a.lastIndex),r=c.call(u?n:a,v),u?r?(r.input=r.input.slice(g),r[0]=r[0].slice(g),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:f&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),h&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=u},function(t,e,n){"use strict";var r=n(2),i=n(9);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){"use strict";var r=n(2),i=n(39),o=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},function(t,e,n){"use strict";var r=n(77),i=n(42),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e,n){"use strict";var r=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+i).toString(36)}},function(t,e,n){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){"use strict";var r=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:16}},function(t,e,n){"use strict";var r=n(10),i=n(129),o=n(95),a=n(96),c=n(35),s=n(9),u=n(11),f=n(1),l=n(33),h=n(14),d=n(94),p=d.IteratorPrototype,g=d.BUGGY_SAFARI_ITERATORS,v=f("iterator"),b=function(){return this};t.exports=function(t,e,n,f,d,m,y){i(n,e,f);var E,A,x,w=function(t){if(t===d&&I)return I;if(!g&&t in O)return O[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},C=e+" Iterator",S=!1,O=t.prototype,R=O[v]||O["@@iterator"]||d&&O[d],I=!g&&R||w(d),T="Array"==e&&O.entries||R;if(T&&(E=o(T.call(new t)),p!==Object.prototype&&E.next&&(l||o(E)===p||(a?a(E,p):"function"!=typeof E[v]&&s(E,v,b)),c(E,C,!0,!0),l&&(h[C]=b))),"values"==d&&R&&"values"!==R.name&&(S=!0,I=function(){return R.call(this)}),l&&!y||O[v]===I||s(O,v,I),h[e]=I,d)if(A={values:w("values"),keys:m?I:w("keys"),entries:w("entries")},y)for(x in A)(g||S||!(x in O))&&u(O,x,A[x]);else r({target:e,proto:!0,forced:g||S},A);return A}},function(t,e,n){"use strict";var r={};r[n(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){"use strict";var r=n(27),i=n.n(r),o=n(28),a=n.n(o)()(i.a);a.push([t.i,"#rich-workspace[data-v-374052d2]{padding:0 50px;margin-bottom:-24px;text-align:left;max-height:0;transition:max-height 0.5s cubic-bezier(0, 1, 0, 1)}#rich-workspace.creatable[data-v-374052d2]{min-height:90px}#rich-workspace[data-v-374052d2]:only-child{margin-bottom:0}.empty-workspace[data-v-374052d2]{padding-top:43px;color:var(--color-text-maxcontrast);height:0}#rich-workspace[data-v-374052d2] div[contenteditable=false]{width:100%;padding:0px;background-color:var(--color-main-background);opacity:1;border:none}#rich-workspace[data-v-374052d2] #editor-container{height:100%;position:unset !important;top:auto !important}#rich-workspace[data-v-374052d2] #editor-wrapper{position:unset !important;overflow:visible}#rich-workspace[data-v-374052d2] #editor{overflow:scroll !important;max-height:50vh;padding-left:10px}#rich-workspace[data-v-374052d2] #editor-wrapper .ProseMirror{padding:0px;margin:0}#rich-workspace[data-v-374052d2] .menubar{z-index:50;margin-bottom:-10px}#rich-workspace[data-v-374052d2] .menubar .menubar-icons{margin-left:0}#rich-workspace[data-v-374052d2] .editor__content{margin:0}#rich-workspace.focus[data-v-374052d2]{max-height:50vh}#rich-workspace[data-v-374052d2]:not(.focus){max-height:30vh;position:relative;overflow:hidden}#rich-workspace[data-v-374052d2]:not(.focus):not(.icon-loading):after{content:'';position:absolute;z-index:1;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(to bottom, rgba(255,255,255,0), var(--color-main-background));width:100%;height:4em}#rich-workspace.dark[data-v-374052d2]:not(.focus):not(.icon-loading):after{background-image:linear-gradient(to bottom, rgba(0,0,0,0), var(--color-main-background))}@media only screen and (max-width: 1024px){#rich-workspace[data-v-374052d2]:not(.focus){max-height:30vh}}html.ie #rich-workspace[data-v-374052d2] #editor-container{position:initial}html.ie #rich-workspace[data-v-374052d2] #editor-wrapper{position:relative !important;top:auto !important}html.ie #rich-workspace[data-v-374052d2] #editor{display:flex;flex-direction:column;overflow:hidden !important}html.ie #rich-workspace[data-v-374052d2] .menubar{position:relative;overflow:hidden;flex-shrink:0;height:44px;top:auto}html.ie #rich-workspace[data-v-374052d2] #editor>div:nth-child(2){min-height:44px;overflow-x:hidden;overflow-y:auto;flex-shrink:1}\n","",{version:3,sources:["webpack://./src/views/RichWorkspace.vue"],names:[],mappings:"AA0KA,iCACC,cAAe,CAEf,mBAAoB,CACpB,eAAgB,CAChB,YAAa,CACb,mDAAoD,CANrD,2CAQE,eAAgB,CAChB,4CAKD,eAAgB,CAChB,kCAGA,gBAAiB,CACjB,mCAAoC,CACpC,QAAS,CACT,4DAGA,UAAW,CACX,WAAY,CACZ,6CAA8C,CAC9C,SAAU,CACV,WAAY,CACZ,mDAGA,WAAY,CACZ,yBAA0B,CAC1B,mBAAoB,CACpB,iDAGA,yBAA0B,CAC1B,gBAAiB,CACjB,yCAGA,0BAA2B,CAC3B,eAAgB,CAChB,iBAAkB,CAClB,8DAGA,WAAY,CACZ,QAAS,CACT,0CAGA,UAAW,CAEX,mBAAoB,CACpB,yDAGA,aAAc,CACd,kDAGA,QAAS,CACT,uCAGA,eAAgB,CAChB,6CAGA,eAAgB,CAChB,iBAAkB,CAClB,eAAgB,CAChB,sEAGA,UAAW,CACX,iBAAkB,CAClB,SAAU,CACV,QAAS,CACT,MAAO,CACP,mBAAoB,CACpB,8FAAkG,CAClG,UAAW,CACX,UAAW,CACX,2EAGA,wFAA4F,CAC5F,2CAGA,6CACC,eAAgB,CAChB,CAGF,2DAGG,gBAAiB,CAHpB,yDAOG,4BAA6B,CAC7B,mBAAoB,CARvB,iDAYG,YAAa,CACb,qBAAsB,CACtB,0BAA2B,CAd9B,kDAkBG,iBAAkB,CAClB,eAAgB,CAChB,aAAc,CACd,WAAY,CACZ,QAAS,CAtBZ,kEA0BG,eAAgB,CAChB,iBAAkB,CAClB,eAAgB,CAChB,aAAc",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#rich-workspace {\n\tpadding: 0 50px;\n\t/* Slightly reduce vertical space */\n\tmargin-bottom: -24px;\n\ttext-align: left;\n\tmax-height: 0;\n\ttransition: max-height 0.5s cubic-bezier(0, 1, 0, 1);\n\t&.creatable {\n\t\tmin-height: 90px;\n\t}\n}\n\n/* For subfolders, where there are no Recommendations */\n#rich-workspace:only-child {\n\tmargin-bottom: 0;\n}\n\n.empty-workspace {\n\tpadding-top: 43px;\n\tcolor: var(--color-text-maxcontrast);\n\theight: 0;\n}\n\n#rich-workspace::v-deep div[contenteditable=false] {\n\twidth: 100%;\n\tpadding: 0px;\n\tbackground-color: var(--color-main-background);\n\topacity: 1;\n\tborder: none;\n}\n\n#rich-workspace::v-deep #editor-container {\n\theight: 100%;\n\tposition: unset !important;\n\ttop: auto !important;\n}\n\n#rich-workspace::v-deep #editor-wrapper {\n\tposition: unset !important;\n\toverflow: visible;\n}\n\n#rich-workspace::v-deep #editor {\n\toverflow: scroll !important;\n\tmax-height: 50vh;\n\tpadding-left: 10px;\n}\n\n#rich-workspace::v-deep #editor-wrapper .ProseMirror {\n\tpadding: 0px;\n\tmargin: 0;\n}\n\n#rich-workspace::v-deep .menubar {\n\tz-index: 50;\n\t/* Slightly reduce vertical space */\n\tmargin-bottom: -10px;\n}\n\n#rich-workspace::v-deep .menubar .menubar-icons {\n\tmargin-left: 0;\n}\n\n#rich-workspace::v-deep .editor__content {\n\tmargin: 0;\n}\n\n#rich-workspace.focus {\n\tmax-height: 50vh;\n}\n\n#rich-workspace:not(.focus) {\n\tmax-height: 30vh;\n\tposition: relative;\n\toverflow: hidden;\n}\n\n#rich-workspace:not(.focus):not(.icon-loading):after {\n\tcontent: '';\n\tposition: absolute;\n\tz-index: 1;\n\tbottom: 0;\n\tleft: 0;\n\tpointer-events: none;\n\tbackground-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-main-background));\n\twidth: 100%;\n\theight: 4em;\n}\n\n#rich-workspace.dark:not(.focus):not(.icon-loading):after {\n\tbackground-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--color-main-background));\n}\n\n@media only screen and (max-width: 1024px) {\n\t#rich-workspace:not(.focus) {\n\t\tmax-height: 30vh;\n\t}\n}\n\nhtml.ie {\n\t#rich-workspace::v-deep {\n\t\t#editor-container {\n\t\t\tposition: initial;\n\t\t}\n\n\t\t#editor-wrapper {\n\t\t\tposition: relative !important;\n\t\t\ttop: auto !important;\n\t\t}\n\n\t\t#editor {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\toverflow: hidden !important;\n\t\t}\n\n\t\t.menubar {\n\t\t\tposition: relative;\n\t\t\toverflow: hidden;\n\t\t\tflex-shrink: 0;\n\t\t\theight: 44px;\n\t\t\ttop: auto;\n\t\t}\n\n\t\t#editor > div:nth-child(2) {\n\t\t\tmin-height: 44px;\n\t\t\toverflow-x: hidden;\n\t\t\toverflow-y: auto;\n\t\t\tflex-shrink: 1;\n\t\t}\n\t}\n}\n\n"],sourceRoot:""}]),e.a=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.enabled?n("div",{class:{"icon-loading":!t.loaded||!t.ready,focus:t.focus,dark:t.darkTheme,creatable:t.canCreate},attrs:{id:"rich-workspace"}},[t.showEmptyWorkspace?n("div",{staticClass:"empty-workspace",on:{click:t.createNew}},[n("p",{staticClass:"placeholder"},[t._v("\n\t\t\t"+t._s(t.t("text","Add notes, lists or links …"))+"\n\t\t")])]):t._e(),t._v(" "),t.file?n("EditorWrapper",{directives:[{name:"show",rawName:"v-show",value:t.ready,expression:"ready"}],key:t.file.id,attrs:{"file-id":t.file.id,"relative-path":t.file.path,"share-token":t.shareToken,active:!0,autohide:!0,mime:t.file.mimetype,autofocus:t.autofocus},on:{ready:function(e){t.ready=!0},focus:function(e){t.focus=!0},blur:t.unfocus,error:t.reset}}):t._e()],1):t._e()},i=[]},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(i=window)}t.exports=i},function(t,e,n){"use strict";var r,i,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function s(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{i="function"==typeof clearTimeout?clearTimeout:c}catch(t){i=c}}();var u,f=[],l=!1,h=-1;function d(){l&&u&&(l=!1,u.length?f=u.concat(f):h=-1,f.length&&p())}function p(){if(!l){var t=s(d);l=!0;for(var e=f.length;e;){for(u=f,f=[];++h<e;)u&&u[h].run();h=-1,e=f.length}u=null,l=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===c||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function g(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];f.push(new g(t,e)),1!==f.length||l||s(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.subscribe=function(t,e){o.subscribe(t,e)},e.unsubscribe=function(t,e){o.unsubscribe(t,e)},e.emit=function(t,e){o.emit(t,e)};var r=n(158),i=n(163);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)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.openMimetypesPlainText=e.openMimetypesMarkdown=e.openMimetypes=void 0;
+!function(t){function e(e){for(var n,i,o=e[0],a=e[1],c=0,u=[];c<o.length;c++)i=o[c],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&u.push(r[i][0]),r[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n]);for(s&&s(e);u.length;)u.shift()()}var n={},r={201:0};function i(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(t){var e=[],n=r[t];if(0!==n)if(n)e.push(n[2]);else{var o=new Promise((function(e,i){n=r[t]=[e,i]}));e.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(t){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/c",25:"highlight/c-like",26:"highlight/cal",27:"highlight/capnproto",28:"highlight/ceylon",29:"highlight/clean",30:"highlight/clojure",31:"highlight/clojure-repl",32:"highlight/cmake",33:"highlight/coffeescript",34:"highlight/coq",35:"highlight/cos",36:"highlight/cpp",37:"highlight/crmsh",38:"highlight/crystal",39:"highlight/csharp",40:"highlight/csp",41:"highlight/css",42:"highlight/d",43:"highlight/dart",44:"highlight/delphi",45:"highlight/diff",46:"highlight/django",47:"highlight/dns",48:"highlight/dockerfile",49:"highlight/dos",50:"highlight/dsconfig",51:"highlight/dts",52:"highlight/dust",53:"highlight/ebnf",54:"highlight/elixir",55:"highlight/elm",56:"highlight/erb",57:"highlight/erlang",58:"highlight/erlang-repl",59:"highlight/excel",60:"highlight/fix",61:"highlight/flix",62:"highlight/fortran",63:"highlight/fsharp",64:"highlight/gams",65:"highlight/gauss",66:"highlight/gcode",67:"highlight/gherkin",68:"highlight/glsl",69:"highlight/gml",70:"highlight/go",71:"highlight/golo",72:"highlight/gradle",73:"highlight/groovy",74:"highlight/haml",75:"highlight/handlebars",76:"highlight/haskell",77:"highlight/haxe",78:"highlight/hsp",79:"highlight/htmlbars",80:"highlight/http",81:"highlight/hy",82:"highlight/inform7",83:"highlight/ini",84:"highlight/irpf90",85:"highlight/isbl",86:"highlight/java",87:"highlight/javascript",88:"highlight/jboss-cli",89:"highlight/json",90:"highlight/julia",91:"highlight/julia-repl",92:"highlight/kotlin",93:"highlight/lasso",94:"highlight/latex",95:"highlight/ldif",96:"highlight/leaf",97:"highlight/less",98:"highlight/lisp",99:"highlight/livecodeserver",100:"highlight/livescript",101:"highlight/llvm",102:"highlight/lsl",103:"highlight/lua",104:"highlight/makefile",105:"highlight/markdown",106:"highlight/mathematica",107:"highlight/matlab",108:"highlight/maxima",109:"highlight/mel",110:"highlight/mercury",111:"highlight/mipsasm",112:"highlight/mizar",113:"highlight/mojolicious",114:"highlight/monkey",115:"highlight/moonscript",116:"highlight/n1ql",117:"highlight/nginx",118:"highlight/nim",119:"highlight/nix",120:"highlight/node-repl",121:"highlight/nsis",122:"highlight/objectivec",123:"highlight/ocaml",124:"highlight/openscad",125:"highlight/oxygene",126:"highlight/parser3",127:"highlight/perl",128:"highlight/pf",129:"highlight/pgsql",130:"highlight/php",131:"highlight/php-template",132:"highlight/plaintext",133:"highlight/pony",134:"highlight/powershell",135:"highlight/processing",136:"highlight/profile",137:"highlight/prolog",138:"highlight/properties",139:"highlight/protobuf",140:"highlight/puppet",141:"highlight/purebasic",142:"highlight/python",143:"highlight/python-repl",144:"highlight/q",145:"highlight/qml",146:"highlight/r",147:"highlight/reasonml",148:"highlight/rib",149:"highlight/roboconf",150:"highlight/routeros",151:"highlight/rsl",152:"highlight/ruby",153:"highlight/ruleslanguage",154:"highlight/rust",155:"highlight/sas",156:"highlight/scala",157:"highlight/scheme",158:"highlight/scilab",159:"highlight/scss",160:"highlight/shell",161:"highlight/smali",162:"highlight/smalltalk",163:"highlight/sml",164:"highlight/sqf",165:"highlight/sql",166:"highlight/stan",167:"highlight/stata",168:"highlight/step21",169:"highlight/stylus",170:"highlight/subunit",171:"highlight/swift",172:"highlight/taggerscript",173:"highlight/tap",174:"highlight/tcl",175:"highlight/thrift",176:"highlight/tp",177:"highlight/twig",178:"highlight/typescript",179:"highlight/vala",180:"highlight/vbnet",181:"highlight/vbscript",182:"highlight/vbscript-html",183:"highlight/verilog",184:"highlight/vhdl",185:"highlight/vim",186:"highlight/x86asm",187:"highlight/xl",188:"highlight/xml",189:"highlight/xquery",190:"highlight/yaml",191:"highlight/zephir",192:"vendors~editor-collab~editor-guest",193:"vendors~editor-collab~editor-rich",194:"vendors~editor~files-modal",195:"editor",196:"editor-collab",197:"editor-guest",198:"editor-rich",200:"files-modal",203:"vendors~editor",204:"vendors~editor-rich",205:"vendors~files-modal"}[t]||t)+".js?v="+{0:"0418afbf4b7f9a87c3c5",1:"c0f3c95d5adad39aa4d3",2:"8abbfbe1210414170701",3:"c137bcab9ecaa070fe3f",4:"4186c2d8ee942c9a1c8b",5:"c7f7d475e85b52550fb6",6:"2b7d6d77e0027149994e",7:"0b66801886128d3d731b",8:"81a2a9752d6e42821fc5",9:"a7378f6e707197f7ab4c",10:"1183b43341c87d554b70",11:"0d4d5def7c24877f151a",12:"680fcbe04f464680e603",13:"30003d2812f497f1e560",14:"7076164b8b2a9daf33c3",15:"fc73c7a5c13e753b6f59",16:"dc316c2504faef229545",17:"fc76409ecb686e900c99",18:"7062bf9587ec0eea12a2",19:"bef8d32a5a9d7415224b",20:"14e30e2d317832099229",21:"5c670b9d350273ea11fb",22:"9a9eaa0b8d7d9cd06e57",23:"5b54d2a6bd9cb8d1d1a2",24:"fc306cc10fe0611a1876",25:"01170bb49d8ea171d716",26:"2d406f027fe751f344e6",27:"b28dbded609599b79414",28:"c200e4cf0888323711fa",29:"1b616e25117cdb98d4f1",30:"dbf1fc7f43ac253aeb30",31:"68422447c25633f13129",32:"ccfeada5918c4f9aeddb",33:"c60069d82e528215b14a",34:"71a840b44f4072558b1a",35:"1452de80b0a3ee64f1f7",36:"4414b8da17cedac1572f",37:"0252e5ab31638164dc16",38:"1c75035634bdd7d5982d",39:"f623d3c2d30b867d00e2",40:"0078f9f32873e351591d",41:"db9650188e37c89ec771",42:"41bae99dee14303f3d97",43:"34efff2f0144261c0ee5",44:"6748a1b9d4ee180a78ad",45:"0b7289872e09889f2a31",46:"2b5f92ceda38b4c643a9",47:"20556b82ae894fa2c7e4",48:"88210ddae45842aeb71b",49:"ba1c4f3601c246750846",50:"635cb169cc212b9bf153",51:"f32a9f4f02b06a5b350d",52:"a393b296d236cbaf3166",53:"3d69ec19898f46c96a1e",54:"b349577acd551df129fb",55:"8912ac0b9ad4b7065d50",56:"12a2cd32c1339551d571",57:"3269d77e7e89aeb3b42d",58:"a1236619c00f68b97b07",59:"e01534e0bafc187736aa",60:"eae09964f523526a76e4",61:"7e8b1d6bf9add607e7ba",62:"e2c81c18dfa87070bee6",63:"602d4d79f7e367a195d9",64:"96abebcd1dbb12ec0bf9",65:"20ab8d7b107ea963139c",66:"ef3ed372000e178bc36c",67:"c0c1e4f8cf8729e2aca5",68:"a59739d94409a32fefcf",69:"75f53085b07b6ce2f110",70:"da74ec904630b1696da5",71:"187880929ddbeb7b5dbf",72:"70e625acfff650bffd6e",73:"6dba99e1561658677dc5",74:"5f822039bf0de70cc3e0",75:"f4ff462c6ca939fa350c",76:"1297b796e9195dff8ff6",77:"3807d510b9ba39cfef57",78:"f762b7824c148bd898c0",79:"0f2853c05a5627af0439",80:"a5c07529c62f4c335dbc",81:"69be0be8e6afc13ba810",82:"ef18f75cd59d9aa7c2c7",83:"1b30787eff7994854d87",84:"5e1e7ca94f4c280c9c4f",85:"04bfd4f9787f2c1795c5",86:"f791f094696e739920da",87:"24eb1ea17fdc8e5d6c31",88:"48cfab43934d806237dc",89:"55a415e8472d3aa275fa",90:"088aebaa5a676cc393da",91:"a64126cad0acd9d6107b",92:"511a96b39a6d6483bebe",93:"814f7efd6957478145bf",94:"4034ef73393c2c85399d",95:"fa4872faf671b8018800",96:"403ffc5c8ebd7bfe3b4e",97:"8de93e4e4df33e71e4fd",98:"4c5b015300dc4800cd10",99:"0d520e5412d7923a269f",100:"772eccca51cf689ab169",101:"f8f0e9eabe5bd337a19a",102:"115933238c6c371bf28a",103:"15ef411d1d2e4c63e7a8",104:"ade28f56477a308b2361",105:"1eae1084ecfa6f489ada",106:"15e038d9a0b141d6b7c0",107:"ce15aac9b3e74a7bb0a8",108:"1beded160eac6b8199b1",109:"11390d4fce4ccaf32656",110:"cb09ed5dab85fab89f53",111:"9baa041221206f6724fb",112:"c50238e1265d98a8bfd6",113:"babe1fcccf7861b40fb1",114:"7eefcc1070425bf0c564",115:"84a50dc4c834b91b2f25",116:"c0b3f7890eb4de094e30",117:"942ed045765c70783435",118:"3cbd60fd667e95a922ac",119:"0b022f0b7085e6f16771",120:"e4ff00cfc767fc7d89e8",121:"be3e303f198f8dc08079",122:"dcfdcbbd467f17008ebe",123:"d521ae0970bd91c50577",124:"2dedc9189837bda20ec2",125:"1a61416b7c1ad3d60ddd",126:"f346d8e1860c30c8f217",127:"396b390d55948b03acc6",128:"607874786f59f7e98418",129:"4a2d0104de44b6352871",130:"c2a634d8fdbb72d2ddfa",131:"4d5726a3be2c1fd96752",132:"883209f105956d9f37da",133:"c7144f4a49a05c3e1889",134:"4d26d16a70f000e415f7",135:"62282e7ca6c89bb8912c",136:"72e5cebb46ff3319ca12",137:"e2e6d0530077618015c8",138:"739768fc734abaab55e6",139:"71770f3835569e42e48d",140:"a53d2cf34200bea291a5",141:"86e732aa609f20a0a98b",142:"379ae521c2448a5b2af9",143:"ee85469cdf7f59d0291b",144:"0f82aca186ec2b6ece92",145:"aaa6059c36dbce4a7146",146:"303cb1a178db945b6e3c",147:"920f15c4deea64cfe644",148:"1032678d1e0310c8939d",149:"1cd3a81c1692b16c200f",150:"5b155cd57211436922dd",151:"dad38f9a356d4d84723e",152:"565789542a0d007c80fd",153:"4435093f8e33e3e6688d",154:"05e1111e8117f67b6560",155:"34876ec6f45cc3ad1222",156:"c829584c876eae685951",157:"c3b15a74bd9eae42d7df",158:"37a41dee8f3ddca9f4be",159:"71be53d43620bf4124d9",160:"43c7410713894a5597b1",161:"494b9df1fb3909abb24c",162:"33dcc50105704f86ea1d",163:"9839e97794b9f43077fd",164:"1db88e1b54cb7a5cacde",165:"8751e34537f14e76a365",166:"f5a5083a0dcda08d5ae6",167:"33c02a39c99fd09e3a40",168:"84fca6fc8103a2768eff",169:"d38264a80cb62e50f920",170:"6692c6c7b2f4b0e127b0",171:"80032de9afc10a6d34c2",172:"bf07576d23d4219640b5",173:"90f0d5a14b4c63338cd0",174:"7d0107d72972f6269a91",175:"830152ad6d362c3338e2",176:"4961215448541db18073",177:"27f743be7a0ba9ca1294",178:"f6a7da33d4e967548675",179:"1175a0ee0266d75f8c97",180:"60d0ab9e960c95e1c8c3",181:"d52b87f93718cd2a7549",182:"487c256778b56eb414a0",183:"e950251639f3d1a6a9d3",184:"26a02f672fd5059cbddf",185:"6a8e8a8d1fee50bb1b79",186:"17465185f085379a1efd",187:"49763bb35dd202e7c4f3",188:"5d0de9893df3bc08fe6b",189:"70110e4ce1c31ec93d47",190:"007c3559b3b672cdf2b3",191:"6042209b3f11b92e9592",192:"70f36aa8b49f135be138",193:"d773d54abf4e6f54ab03",194:"6da2c0af69186fae0e3c",195:"88aa0fd532dcc8990269",196:"fbe2f40a217e0200bc2d",197:"592d8b354a1954707efa",198:"3f4f3650c531341abec0",200:"f8f76b0e365edd2ee65d",203:"3d285586e165ca0c90b5",204:"ace9993bb1c0582c6581",205:"71a49ca67e21c2074be1"}[t]}(t);var s=new Error;a=function(e){c.onerror=c.onload=null,clearTimeout(u);var n=r[t];if(0!==n){if(n){var i=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}r[t]=void 0}};var u=setTimeout((function(){a({type:"timeout",target:c})}),12e4);c.onerror=c.onload=a,document.head.appendChild(c)}return Promise.all(e)},i.m=t,i.c=n,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/js/",i.oe=function(t){throw console.error(t),t};var o=window.textWebpackJsonp=window.textWebpackJsonp||[],a=o.push.bind(o);o.push=e,o=o.slice();for(var c=0;c<o.length;c++)e(o[c]);var s=a;i(i.s=185)}([function(t,e,n){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";var r=n(2),i=n(77),o=n(4),a=n(42),c=n(90),s=n(157),u=i("wks"),f=r.Symbol,l=s?f:f&&f.withoutSetter||a;t.exports=function(t){return o(u,t)||(c&&o(f,t)?u[t]=f[t]:u[t]=l("Symbol."+t)),u[t]}},function(t,e,n){"use strict";(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":n(globalThis))&&globalThis)||r("object"==("undefined"==typeof window?"undefined":n(window))&&window)||r("object"==("undefined"==typeof self?"undefined":n(self))&&self)||r("object"==(void 0===e?"undefined":n(e))&&e)||function(){return this}()||Function("return this")()}).call(this,n(49))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=n(80),o=Object.prototype.toString;function a(t){return"[object Array]"===o.call(t)}function c(t){return void 0===t}function s(t){return null!==t&&"object"===r(t)}function u(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===o.call(t)}function l(t,e){if(null!=t)if("object"!==r(t)&&(t=[t]),a(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!c(t)&&null!==t.constructor&&!c(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isPlainObject:u,isUndefined:c,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:f,isStream:function(t){return s(t)&&f(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:l,merge:function t(){var e={};function n(n,r){u(e[r])&&u(n)?e[r]=t(e[r],n):u(n)?e[r]=t({},n):a(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)l(arguments[r],n);return e},extend:function(t,e,n){return l(e,(function(e,r){t[r]=n&&"function"==typeof e?i(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e,n){"use strict";var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===r(t)?null!==t:"function"==typeof t}},function(t,e,n){"use strict";var r=n(0);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){"use strict";var r=n(7),i=n(76),o=n(5),a=n(36),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";var r=n(7),i=n(8),o=n(21);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=n(2),o=n(56).f,a=n(9),c=n(11),s=n(39),u=n(136),f=n(57);t.exports=function(t,e){var n,l,h,d,p,g=t.target,v=t.global,b=t.stat;if(n=v?i:b?i[g]||s(g,{}):(i[g]||{}).prototype)for(l in e){if(d=e[l],h=t.noTargetGet?(p=o(n,l))&&p.value:n[l],!f(v?l:g+(b?".":"#")+l,t.forced)&&void 0!==h){if(r(d)===r(h))continue;u(d,h)}(t.sham||h&&h.sham)&&a(d,"sham",!0),c(n,l,d,t)}}},function(t,e,n){"use strict";var r=n(2),i=n(9),o=n(4),a=n(39),c=n(64),s=n(18),u=s.get,f=s.enforce,l=String(String).split("String");(t.exports=function(t,e,n,c){var s,u=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),(s=f(n)).source||(s.source=l.join("string"==typeof e?e:""))),t!==r?(u?!d&&t[e]&&(h=!0):delete t[e],h?t[e]=n:i(t,e,n)):h?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||c(this)}))},function(t,e,n){"use strict";var r=n(19),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(17);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";t.exports={}},function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,c){var s,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=s):i&&(s=c?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(u.functional){u._injectStyles=s;var f=u.render;u.render=function(t,e){return s.call(e),f(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,s):[s]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,n){"use strict";t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var r,i,o,a=n(135),c=n(2),s=n(6),u=n(9),f=n(4),l=n(40),h=n(41),d=n(23),p=c.WeakMap;if(a){var g=l.state||(l.state=new p),v=g.get,b=g.has,m=g.set;r=function(t,e){return e.facade=t,m.call(g,t,e),e},i=function(t){return v.call(g,t)||{}},o=function(t){return b.call(g,t)}}else{var y=h("state");d[y]=!0,r=function(t,e){return e.facade=t,u(t,y,e),e},i=function(t){return f(t,y)?t[y]:{}},o=function(t){return f(t,y)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!s(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){"use strict";var r=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:r)(t)}},function(t,e,n){"use strict";var r=n(138),i=n(2),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},function(t,e,n){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(37),i=n(17);t.exports=function(t){return r(i(t))}},function(t,e,n){"use strict";t.exports={}},function(t,e,n){"use strict";n.r(e);var r=n(25),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e.default=i.a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=(r=n(99))&&r.__esModule?r:{default:r},o=n(29),a=n(51);function c(t,e,n,r,i,o,a){try{var c=t[o](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,i)}var s=!!document.getElementById("isPublic"),u=(0,o.generateOcsUrl)("apps/text"+(s?"/public":""),2)+"workspace",f={name:"RichWorkspace",components:{EditorWrapper:function(){return Promise.all([n.e(0),n.e(194),n.e(203),n.e(195)]).then(n.bind(null,123))}},props:{path:{type:String,required:!0}},data:function(){return{focus:!1,folder:null,file:null,loaded:!1,ready:!1,autofocus:!1,darkTheme:OCA.Accessibility&&"dark"===OCA.Accessibility.theme,enabled:OCA.Text.RichWorkspaceEnabled}},computed:{shareToken:function(){return document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null},canCreate:function(){return!!(this.folder&&this.folder.permissions&OC.PERMISSION_CREATE)},showEmptyWorkspace:function(){return(!this.file||this.autofocus&&!this.ready)&&this.canCreate}},watch:{path:function(){this.getFileInfo()},focus:function(t){t||document.querySelector("#editor").scrollTo(0,0)}},mounted:function(){var t,e=this;return(t=regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.enabled&&e.getFileInfo(),(0,a.subscribe)("Text::showRichWorkspace",(function(){e.enabled=!0,e.getFileInfo()})),(0,a.subscribe)("Text::hideRichWorkspace",(function(){e.enabled=!1}));case 3:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){c(o,r,i,a,s,"next",t)}function s(t){c(o,r,i,a,s,"throw",t)}a(void 0)}))})()},methods:{unfocus:function(){},reset:function(){var t=this;this.file=null,this.focus=!1,this.$nextTick((function(){t.creating=!1,t.getFileInfo()}))},getFileInfo:function(){var t=this;this.loaded=!1,this.autofocus=!1,this.ready=!1;var e={path:this.path};return s&&(e.shareToken=this.shareToken),i.default.get(u,{params:e}).then((function(e){var n=e.data.ocs.data;return t.folder=n.folder||null,t.file=n.file,t.editing=!0,t.loaded=!0,!0})).catch((function(e){return e.response.data.ocs&&e.response.data.ocs.data.folder?t.folder=e.response.data.ocs.data.folder:t.folder=null,t.file=null,t.loaded=!0,t.ready=!0,t.creating=!1,!1}))},createNew:function(){var t=this;this.creating||(this.creating=!0,this.getFileInfo().then((function(e){t.autofocus=!0,e||window.FileList.createFile("Readme.md",{scrollTo:!1,animate:!1}).then((function(e,n){t.getFileInfo()}))})))}}};e.default=f},function(t,e,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function c(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},r=[],i=0;i<t.length;i++){var o=t[i],s=e.base?o[0]+e.base:o[0],u=n[s]||0,f="".concat(s," ").concat(u);n[s]=u+1;var l=c(f),h={css:o[1],media:o[2],sourceMap:o[3]};-1!==l?(a[l].references++,a[l].updater(h)):a.push({identifier:f,updater:v(h,e),references:1}),r.push(f)}return r}function u(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=o(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var f,l=(f=[],function(t,e){return f[t]=e,f.filter(Boolean).join("\n")});function h(t,e,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=l(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function d(t,e,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var p=null,g=0;function v(t,e){var n,r,i;if(e.singleton){var o=g++;n=p||(p=u(e)),r=h.bind(null,n,o,!1),i=h.bind(null,n,o,!0)}else n=u(e),r=d.bind(null,n,e),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=i());var n=s(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var i=c(n[r]);a[i].references--}for(var o=s(t,e),u=0;u<n.length;u++){var f=c(n[u]);0===a[f].references&&(a[f].updater(),a.splice(f,1))}n=o}}}},function(t,e,n){"use strict";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}t.exports=function(t){var e=r(t,4),n=e[1],i=e[3];if("function"==typeof btoa){var o=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),c="/*# ".concat(a," */"),s=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[n].concat(s).concat([c]).join("\n")}return[n].join("\n")}},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var c=0;c<t.length;c++){var s=[].concat(t[c]);r&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),e.push(s))}},e}},function(t,e,n){"use strict";n(109),n(74),n(53),n(54),n(104),n(105),Object.defineProperty(e,"__esModule",{value:!0}),e.getRootUrl=e.generateFilePath=e.imagePath=e.generateUrl=e.generateOcsUrl=e.generateRemoteUrl=e.linkTo=void 0;e.linkTo=function(t,e){return r(t,"",e)};e.generateRemoteUrl=function(t){return window.location.protocol+"//"+window.location.host+function(t){return i()+"/remote.php/"+t}(t)};e.generateOcsUrl=function(t,e){return e=2!==e?1:2,window.location.protocol+"//"+window.location.host+i()+"/ocs/v"+e+".php/"+t+"/"};e.generateUrl=function(t,e,n){var r=Object.assign({escape:!0,noRewrite:!1},n||{}),o=function(t,e){return e=e||{},t.replace(/{([^{}]*)}/g,(function(t,n){var i=e[n];return r.escape?"string"==typeof i||"number"==typeof i?encodeURIComponent(i.toString()):encodeURIComponent(t):"string"==typeof i||"number"==typeof i?i.toString():t}))};return"/"!==t.charAt(0)&&(t="/"+t),!0!==OC.config.modRewriteWorking||r.noRewrite?i()+"/index.php"+o(t,e||{}):i()+o(t,e||{})};e.imagePath=function(t,e){return-1===e.indexOf(".")?r(t,"img",e+".svg"):r(t,"img",e)};var r=function(t,e,n){var r=-1!==OC.coreApps.indexOf(t),o=i();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(o+="settings"!==t&&"core"!==t&&"search"!==t||"ajax"!==e?"/":"/index.php/",r||(o+="apps/"),""!==t&&(o+=t+="/"),e&&(o+=e+"/"),o+=n):(o=OC.appswebroots[t],e&&(o+="/"+e+"/"),"/"!==o.substring(o.length-1)&&(o+="/"),o+=n):(o+="/index.php/apps/"+t,"index.php"!==n&&(o+="/",e&&(o+=encodeURI(e+"/")),o+=n)),o};e.generateFilePath=r;var i=function(){return OC.webroot};e.getRootUrl=i},,function(t,e,n){"use strict";var r=n(112);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(7),i=n(0),o=n(4),a=Object.defineProperty,c={},s=function(t){throw t};t.exports=function(t,e){if(o(c,t))return c[t];e||(e={});var n=[][t],u=!!o(e,"ACCESSORS")&&e.ACCESSORS,f=o(e,0)?e[0]:s,l=o(e,1)?e[1]:void 0;return c[t]=!!n&&!i((function(){if(u&&!r)return!0;var t={length:-1};u?a(t,1,{enumerable:!0,get:s}):t[1]=1,n.call(t,f,l)}))}},function(t,e,n){"use strict";t.exports=!1},function(t,e,n){"use strict";var r,i=n(5),o=n(127),a=n(43),c=n(23),s=n(128),u=n(63),f=n(41),l=f("IE_PROTO"),h=function(){},d=function(t){return"<script>"+t+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;p=r?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=u("iframe")).style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};c[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h.prototype=i(t),n=new h,h.prototype=null,n[l]=t):n=p(),void 0===e?n:o(n,e)}},function(t,e,n){"use strict";var r=n(8).f,i=n(4),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";var r=n(0),i=n(16),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},function(t,e,n){"use strict";var r,i,o=n(73),a=n(133),c=RegExp.prototype.exec,s=String.prototype.replace,u=c,f=(r=/a/,i=/b*/g,c.call(r,"a"),c.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(f||h||l)&&(u=function(t){var e,n,r,i,a=this,u=l&&a.sticky,d=o.call(a),p=a.source,g=0,v=t;return u&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(p="(?: "+p+")",v=" "+v,g++),n=new RegExp("^(?:"+p+")",d)),h&&(n=new RegExp("^"+p+"$(?!\\s)",d)),f&&(e=a.lastIndex),r=c.call(u?n:a,v),u?r?(r.input=r.input.slice(g),r[0]=r[0].slice(g),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:f&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),h&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=u},function(t,e,n){"use strict";var r=n(2),i=n(9);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){"use strict";var r=n(2),i=n(39),o=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},function(t,e,n){"use strict";var r=n(77),i=n(42),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e,n){"use strict";var r=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+i).toString(36)}},function(t,e,n){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){"use strict";var r=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:16}},function(t,e,n){"use strict";var r=n(10),i=n(129),o=n(95),a=n(96),c=n(35),s=n(9),u=n(11),f=n(1),l=n(33),h=n(14),d=n(94),p=d.IteratorPrototype,g=d.BUGGY_SAFARI_ITERATORS,v=f("iterator"),b=function(){return this};t.exports=function(t,e,n,f,d,m,y){i(n,e,f);var E,A,x,w=function(t){if(t===d&&I)return I;if(!g&&t in O)return O[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},C=e+" Iterator",S=!1,O=t.prototype,R=O[v]||O["@@iterator"]||d&&O[d],I=!g&&R||w(d),T="Array"==e&&O.entries||R;if(T&&(E=o(T.call(new t)),p!==Object.prototype&&E.next&&(l||o(E)===p||(a?a(E,p):"function"!=typeof E[v]&&s(E,v,b)),c(E,C,!0,!0),l&&(h[C]=b))),"values"==d&&R&&"values"!==R.name&&(S=!0,I=function(){return R.call(this)}),l&&!y||O[v]===I||s(O,v,I),h[e]=I,d)if(A={values:w("values"),keys:m?I:w("keys"),entries:w("entries")},y)for(x in A)(g||S||!(x in O))&&u(O,x,A[x]);else r({target:e,proto:!0,forced:g||S},A);return A}},function(t,e,n){"use strict";var r={};r[n(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){"use strict";var r=n(27),i=n.n(r),o=n(28),a=n.n(o)()(i.a);a.push([t.i,"#rich-workspace[data-v-374052d2]{padding:0 50px;margin-bottom:-24px;text-align:left;max-height:0;transition:max-height 0.5s cubic-bezier(0, 1, 0, 1)}#rich-workspace.creatable[data-v-374052d2]{min-height:90px}#rich-workspace[data-v-374052d2]:only-child{margin-bottom:0}.empty-workspace[data-v-374052d2]{padding-top:43px;color:var(--color-text-maxcontrast);height:0}#rich-workspace[data-v-374052d2] div[contenteditable=false]{width:100%;padding:0px;background-color:var(--color-main-background);opacity:1;border:none}#rich-workspace[data-v-374052d2] #editor-container{height:100%;position:unset !important;top:auto !important}#rich-workspace[data-v-374052d2] #editor-wrapper{position:unset !important;overflow:visible}#rich-workspace[data-v-374052d2] #editor{overflow:scroll !important;max-height:50vh;padding-left:10px}#rich-workspace[data-v-374052d2] #editor-wrapper .ProseMirror{padding:0px;margin:0}#rich-workspace[data-v-374052d2] .menubar{z-index:50;margin-bottom:-10px}#rich-workspace[data-v-374052d2] .menubar .menubar-icons{margin-left:0}#rich-workspace[data-v-374052d2] .editor__content{margin:0}#rich-workspace.focus[data-v-374052d2]{max-height:50vh}#rich-workspace[data-v-374052d2]:not(.focus){max-height:30vh;position:relative;overflow:hidden}#rich-workspace[data-v-374052d2]:not(.focus):not(.icon-loading):after{content:'';position:absolute;z-index:1;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(to bottom, rgba(255,255,255,0), var(--color-main-background));width:100%;height:4em}#rich-workspace.dark[data-v-374052d2]:not(.focus):not(.icon-loading):after{background-image:linear-gradient(to bottom, rgba(0,0,0,0), var(--color-main-background))}@media only screen and (max-width: 1024px){#rich-workspace[data-v-374052d2]:not(.focus){max-height:30vh}}html.ie #rich-workspace[data-v-374052d2] #editor-container{position:initial}html.ie #rich-workspace[data-v-374052d2] #editor-wrapper{position:relative !important;top:auto !important}html.ie #rich-workspace[data-v-374052d2] #editor{display:flex;flex-direction:column;overflow:hidden !important}html.ie #rich-workspace[data-v-374052d2] .menubar{position:relative;overflow:hidden;flex-shrink:0;height:44px;top:auto}html.ie #rich-workspace[data-v-374052d2] #editor>div:nth-child(2){min-height:44px;overflow-x:hidden;overflow-y:auto;flex-shrink:1}\n","",{version:3,sources:["webpack://./src/views/RichWorkspace.vue"],names:[],mappings:"AA0KA,iCACC,cAAe,CAEf,mBAAoB,CACpB,eAAgB,CAChB,YAAa,CACb,mDAAoD,CANrD,2CAQE,eAAgB,CAChB,4CAKD,eAAgB,CAChB,kCAGA,gBAAiB,CACjB,mCAAoC,CACpC,QAAS,CACT,4DAGA,UAAW,CACX,WAAY,CACZ,6CAA8C,CAC9C,SAAU,CACV,WAAY,CACZ,mDAGA,WAAY,CACZ,yBAA0B,CAC1B,mBAAoB,CACpB,iDAGA,yBAA0B,CAC1B,gBAAiB,CACjB,yCAGA,0BAA2B,CAC3B,eAAgB,CAChB,iBAAkB,CAClB,8DAGA,WAAY,CACZ,QAAS,CACT,0CAGA,UAAW,CAEX,mBAAoB,CACpB,yDAGA,aAAc,CACd,kDAGA,QAAS,CACT,uCAGA,eAAgB,CAChB,6CAGA,eAAgB,CAChB,iBAAkB,CAClB,eAAgB,CAChB,sEAGA,UAAW,CACX,iBAAkB,CAClB,SAAU,CACV,QAAS,CACT,MAAO,CACP,mBAAoB,CACpB,8FAAkG,CAClG,UAAW,CACX,UAAW,CACX,2EAGA,wFAA4F,CAC5F,2CAGA,6CACC,eAAgB,CAChB,CAGF,2DAGG,gBAAiB,CAHpB,yDAOG,4BAA6B,CAC7B,mBAAoB,CARvB,iDAYG,YAAa,CACb,qBAAsB,CACtB,0BAA2B,CAd9B,kDAkBG,iBAAkB,CAClB,eAAgB,CAChB,aAAc,CACd,WAAY,CACZ,QAAS,CAtBZ,kEA0BG,eAAgB,CAChB,iBAAkB,CAClB,eAAgB,CAChB,aAAc",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#rich-workspace {\n\tpadding: 0 50px;\n\t/* Slightly reduce vertical space */\n\tmargin-bottom: -24px;\n\ttext-align: left;\n\tmax-height: 0;\n\ttransition: max-height 0.5s cubic-bezier(0, 1, 0, 1);\n\t&.creatable {\n\t\tmin-height: 90px;\n\t}\n}\n\n/* For subfolders, where there are no Recommendations */\n#rich-workspace:only-child {\n\tmargin-bottom: 0;\n}\n\n.empty-workspace {\n\tpadding-top: 43px;\n\tcolor: var(--color-text-maxcontrast);\n\theight: 0;\n}\n\n#rich-workspace::v-deep div[contenteditable=false] {\n\twidth: 100%;\n\tpadding: 0px;\n\tbackground-color: var(--color-main-background);\n\topacity: 1;\n\tborder: none;\n}\n\n#rich-workspace::v-deep #editor-container {\n\theight: 100%;\n\tposition: unset !important;\n\ttop: auto !important;\n}\n\n#rich-workspace::v-deep #editor-wrapper {\n\tposition: unset !important;\n\toverflow: visible;\n}\n\n#rich-workspace::v-deep #editor {\n\toverflow: scroll !important;\n\tmax-height: 50vh;\n\tpadding-left: 10px;\n}\n\n#rich-workspace::v-deep #editor-wrapper .ProseMirror {\n\tpadding: 0px;\n\tmargin: 0;\n}\n\n#rich-workspace::v-deep .menubar {\n\tz-index: 50;\n\t/* Slightly reduce vertical space */\n\tmargin-bottom: -10px;\n}\n\n#rich-workspace::v-deep .menubar .menubar-icons {\n\tmargin-left: 0;\n}\n\n#rich-workspace::v-deep .editor__content {\n\tmargin: 0;\n}\n\n#rich-workspace.focus {\n\tmax-height: 50vh;\n}\n\n#rich-workspace:not(.focus) {\n\tmax-height: 30vh;\n\tposition: relative;\n\toverflow: hidden;\n}\n\n#rich-workspace:not(.focus):not(.icon-loading):after {\n\tcontent: '';\n\tposition: absolute;\n\tz-index: 1;\n\tbottom: 0;\n\tleft: 0;\n\tpointer-events: none;\n\tbackground-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-main-background));\n\twidth: 100%;\n\theight: 4em;\n}\n\n#rich-workspace.dark:not(.focus):not(.icon-loading):after {\n\tbackground-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--color-main-background));\n}\n\n@media only screen and (max-width: 1024px) {\n\t#rich-workspace:not(.focus) {\n\t\tmax-height: 30vh;\n\t}\n}\n\nhtml.ie {\n\t#rich-workspace::v-deep {\n\t\t#editor-container {\n\t\t\tposition: initial;\n\t\t}\n\n\t\t#editor-wrapper {\n\t\t\tposition: relative !important;\n\t\t\ttop: auto !important;\n\t\t}\n\n\t\t#editor {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\toverflow: hidden !important;\n\t\t}\n\n\t\t.menubar {\n\t\t\tposition: relative;\n\t\t\toverflow: hidden;\n\t\t\tflex-shrink: 0;\n\t\t\theight: 44px;\n\t\t\ttop: auto;\n\t\t}\n\n\t\t#editor > div:nth-child(2) {\n\t\t\tmin-height: 44px;\n\t\t\toverflow-x: hidden;\n\t\t\toverflow-y: auto;\n\t\t\tflex-shrink: 1;\n\t\t}\n\t}\n}\n\n"],sourceRoot:""}]),e.a=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.enabled?n("div",{class:{"icon-loading":!t.loaded||!t.ready,focus:t.focus,dark:t.darkTheme,creatable:t.canCreate},attrs:{id:"rich-workspace"}},[t.showEmptyWorkspace?n("div",{staticClass:"empty-workspace",on:{click:t.createNew}},[n("p",{staticClass:"placeholder"},[t._v("\n\t\t\t"+t._s(t.t("text","Add notes, lists or links …"))+"\n\t\t")])]):t._e(),t._v(" "),t.file?n("EditorWrapper",{directives:[{name:"show",rawName:"v-show",value:t.ready,expression:"ready"}],key:t.file.id,attrs:{"file-id":t.file.id,"relative-path":t.file.path,"share-token":t.shareToken,active:!0,autohide:!0,mime:t.file.mimetype,autofocus:t.autofocus},on:{ready:function(e){t.ready=!0},focus:function(e){t.focus=!0},blur:t.unfocus,error:t.reset}}):t._e()],1):t._e()},i=[]},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(i=window)}t.exports=i},function(t,e,n){"use strict";var r,i,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function s(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{i="function"==typeof clearTimeout?clearTimeout:c}catch(t){i=c}}();var u,f=[],l=!1,h=-1;function d(){l&&u&&(l=!1,u.length?f=u.concat(f):h=-1,f.length&&p())}function p(){if(!l){var t=s(d);l=!0;for(var e=f.length;e;){for(u=f,f=[];++h<e;)u&&u[h].run();h=-1,e=f.length}u=null,l=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===c||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function g(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];f.push(new g(t,e)),1!==f.length||l||s(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.subscribe=function(t,e){o.subscribe(t,e)},e.unsubscribe=function(t,e){o.unsubscribe(t,e)},e.emit=function(t,e){o.emit(t,e)};var r=n(158),i=n(163);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)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.openMimetypesPlainText=e.openMimetypesMarkdown=e.openMimetypes=void 0;
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*