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:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-11-18 23:42:51 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2020-11-18 23:52:55 +0300
commitddca81d99cc1b32d114c4fc6ae68ac9b52ab5c9b (patch)
tree504c74528d8fc3f109b76234ffff0bd708779585 /js/files.js
parent9fd07c820e2b22efc26887540027f85150d5cbea (diff)
Move away from GET
We send some (not always sensitive but still) infor in the GET requests. Better to do this with PUT (create session) and POST (fetch and close). So that we don't leak anything we do not want to leak. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'js/files.js')
-rw-r--r--js/files.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/files.js b/js/files.js
index 241d57816..09d710179 100644
--- a/js/files.js
+++ b/js/files.js
@@ -1,4 +1,4 @@
-!function(e){function t(t){for(var n,i,o=t[0],a=t[1],s=0,u=[];s<o.length;s++)i=o[s],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)&&(e[n]=a[n]);for(c&&c(t);u.length;)u.shift()()}var n={},r={193:0,0: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,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.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:"editor",190:"editor-collab",191:"editor-guest",192:"editor-rich",194:"files-modal",197:"vendors~editor",198:"vendors~editor-rich",199:"vendors~files-modal"}[e]||e)+".js?v="+{0:"409dd270f17b5a5d6315",1:"0558e514fa7e2e970254",2:"8e99362598e9a0310947",3:"2644eda8f8e61feac393",4:"cf27532095f6174146bc",5:"114a66613e4e6a2006a5",6:"0ccb24b4b698b0b8ea58",7:"e14844e20fb86c507b08",8:"3ee3907dd84ad0a5c2bb",9:"9017e8d857c264e12ff1",10:"39e4c96b5491f26893f9",11:"299c44a7f89e5b8fa4fc",12:"51cdd4652eff83bdb81a",13:"c7de4924f4d9dd225a3b",14:"d4486d90d6af055b4fd3",15:"6bd01aebba399633294d",16:"9f09bdd18f294c5c8794",17:"3edb869adcec66e64a75",18:"20131aefdc3d7aab5a09",19:"bbf229abacddd78ecc03",20:"db48b42d86f5f830aed9",21:"0f4768e8e2e5f7afcfc5",22:"7f0c0971abbbcdc6b952",23:"a9b88cf645f9822ecd6c",24:"d0348341e91f7c218e53",25:"44ccd580567ad8c479a5",26:"15e2488164f2ef22fb8d",27:"c9482bd78c222ac10f7e",28:"e914d055b239fddebb86",29:"879d66d3ff3aebf43797",30:"745787bfa040b732e117",31:"caf8fbc8fd7fe21149a3",32:"8962a2882992e9acf4bc",33:"e6af0000c94cc72a8f76",34:"24de6c844b2d586a73bc",35:"cd2c6912c8f6756ace9d",36:"dc764cd9e8a806a5c338",37:"a3d0ff540a0e645faf29",38:"a9516f4826d5863551ca",39:"ad0534a955794ac4d48e",40:"1cf76ab775b9e7def4a1",41:"678bef867e6107d7e3cb",42:"05af1802e8290459089e",43:"572db6b0cac658de30ca",44:"a181286b73aa0e513555",45:"9a39288b8b7cdb312672",46:"5267134f2a24312ef77b",47:"2e114cdc618056611a62",48:"eb9b20a9cf1a98a69abb",49:"61a7505d57b1b95ace2d",50:"b4a5a59ff3c0386782fe",51:"373038e21e8e879f4e42",52:"1566e34b33227fa3aa71",53:"fc822e23144ea4b8db6a",54:"7669816791336333681a",55:"455301331e5f4fd69c5a",56:"702a9f2e93272a2dec44",57:"46a1824c6aafb1e525e7",58:"4ad81cbcdcc495cdfea5",59:"c8fadbeb5a41bdce56ed",60:"2238e7cdafdf582e6fc2",61:"7ae2efb591fdd3e22f35",62:"398bfec89f54fd744888",63:"8685b63a98790b798f2f",64:"586963ba5faa7d129a61",65:"776f83c7257e769bcc69",66:"b756435dd7c2227d1e11",67:"5d750989f75071b5efc9",68:"505ee939aff3014202a1",69:"42119106431dbf904446",70:"10e1bdfa0178655c49db",71:"222ad8490a7915eb0e8c",72:"29ed43a1764ccd869753",73:"fee3db24e246dbd97e03",74:"ca0a0e47cbb4ceee2513",75:"ce2c1d68b813505656c5",76:"ade9da2dc0534efd0833",77:"eea7f9b182be96ffe7e3",78:"6d8c2cc43a4224151055",79:"9f721797a1953d2fe034",80:"8f91125ea95a4fa166ad",81:"3b100bfd611991461335",82:"4317495bca861662d368",83:"49e6036a847c36b7129c",84:"9078793a04abc6692111",85:"192d040856a01c6c9f6e",86:"a28c9c39ce997764f439",87:"ce3e8a40a80e7f3e682e",88:"7aac3ad65265af55b98a",89:"11123deb2309e152158f",90:"1b69f42be43dd59494ab",91:"123c5b986f594eb1658e",92:"4a9baae5118682170d9a",93:"55499659f1b582df66ce",94:"46b06d9e4bff641f47a7",95:"5da3b05803dc24b8bf0f",96:"fbafc7053d4ad9516c3b",97:"6e453bfa00edefead17b",98:"03e65046699849683403",99:"d983a6b1b3ea6bc7b76f",100:"e82087c3406ec38f7ace",101:"c5e599566a26bbeee260",102:"fbac545d4842fd88ac8f",103:"efef5fd7d8a22d9cb635",104:"af141c613d29e2bcb1df",105:"66e21d66fee3ebb9f824",106:"85a4f6958c29c8416176",107:"099c26bea8ff628d5b89",108:"df1321e89a76424eb413",109:"5cbec1c4dfe280beb3de",110:"5be14260f8b02fa4822f",111:"0462d055c305bc4137e8",112:"810b2c29194bcb23daab",113:"e96dcc9eada2a37406c6",114:"a64ae4908d43acbd1e3b",115:"9f58874253ffb0bf9868",116:"fb7d553b193ebeb8d2df",117:"aa6a806673967f3e4e89",118:"7037e133b281eb89fde6",119:"2b275a3b0b859aae9b98",120:"e9348ee43cd19e382607",121:"0168b5c907c3f7cec16e",122:"4c54eac635c944672148",123:"2beb4ec031a5ce77f5a5",124:"f554922ad68163734212",125:"1d095591c106168063d5",126:"4462a8bfe72a6872d856",127:"185ffc471ec25ffde4d6",128:"6d7b5655e3bfb1d06da1",129:"1f35df2746e9c0afc989",130:"e1db7752e80b1ef2223b",131:"d26abf28a5e47a57b61f",132:"8ca0eb652235d2306280",133:"f92a9c0b5bf5e340e0a4",134:"ed68f7b0f8a14af5fc46",135:"c9ecb5b2683e500273be",136:"19aab713dbf55107ba7f",137:"74c525f369cdf12eee01",138:"ffb719dfc6c9f951d8f4",139:"06e8ad7264d12fa8e117",140:"9c94ab88fe8e7f2c75aa",141:"2a5e84d12a121514c4e0",142:"7e17df8afe048634a2a9",143:"ab2d3a7e1d0717ff4c19",144:"72cc5a0ea82f7ae89026",145:"f9feaeaf054cc2592cf3",146:"07b881ec96c358d9549f",147:"90dab699a448d11987eb",148:"23ddbec0f97b2f59e6ed",149:"e84900a8757ccb2d289b",150:"13f8ca813e2da2b26a25",151:"8f265d3b1093af4cb32f",152:"b3a0f225b6f68551f254",153:"8a5c8d45ddf9210c2685",154:"cbe93505c46760e69f70",155:"c97919b4334611a4b272",156:"9339f91ebb1d661feda1",157:"39c9bb75911e5100c265",158:"b744c9f7d39223556a30",159:"807e2053135ecae68774",160:"9e7ad6b44c2a6df2c3e2",161:"e036507d6950e2e03bd3",162:"002cebae189230480d75",163:"0faf331c3f052c3b838c",164:"463688825a502dce67c8",165:"277937e8e7fbe73c9038",166:"a9872875e24bc53629d6",167:"c48b85f9ac0f747e25dc",168:"36528905ce19cbacbd00",169:"0cdd1a5ce117799ffb78",170:"9ff1ffad93b33b6d9e7d",171:"abf07919aaff4882bda1",172:"3d0b8a00a1f9b6f9d7ac",173:"a84c2c4299813476085e",174:"6e66630da517db8e3a8a",175:"666e6e3ef925289ed98d",176:"400b9fdf19531d3c2c4c",177:"3299a841acaf6e296f88",178:"76268871cb1397741044",179:"1f9b95c74611aad3bcee",180:"1d4ec106c6ba5011f644",181:"f69b0da7457caccc541d",182:"b6a19e70f389521ed8ff",183:"8fafc3ca34b4cfd69ddc",184:"bde83001ad1794f749fc",185:"4cf81bced9de660537ee",186:"30628c62881b7d43b74a",187:"67a698c1058fbe928a80",188:"75a58d24174087f9bd78",189:"acfa4b57dc81dfd24169",190:"aabe5235cb6b595c6da2",191:"cde4abc1b63bf9439f04",192:"f3d76a3ceaaa17d4e494",194:"e03c3c10bf7aa0348f7d",197:"4fd10ca4596df832c75d",198:"36e90689f4e0071952b6",199:"8246f9f5b1a62d2054c8"}[e]}(e);var c=new Error;a=function(t){s.onerror=s.onload=null,clearTimeout(u);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;c.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",c.name="ChunkLoadError",c.type=i,c.request=o,n[1](c)}r[e]=void 0}};var u=setTimeout((function(){a({type:"timeout",target:s})}),12e4);s.onerror=s.onload=a,document.head.appendChild(s)}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 s=0;s<o.length;s++)t(o[s]);var c=a;i(i.s=172)}([function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(2),i=n(66),o=n(4),a=n(40),s=n(70),c=n(117),u=i("wks"),l=r.Symbol,f=c?l:l&&l.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},function(e,t,n){(function(t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=function(e){return e&&e.Math==Math&&e};e.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===t?"undefined":n(t))&&t)||Function("return this")()}).call(this,n(49))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(80),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===r(e)}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===o.call(e)}function f(e,t){if(null!=e)if("object"!==r(e)&&(e=[e]),a(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},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,isPlainObject:u,isUndefined:s,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:l,isStream:function(e){return c(e)&&l(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:f,merge:function e(){var t={};function n(n,r){u(t[r])&&u(n)?t[r]=e(t[r],n):u(n)?t[r]=e({},n):a(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)f(arguments[r],n);return t},extend:function(e,t,n){return f(t,(function(t,r){e[r]=n&&"function"==typeof t?i(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e){return"object"===n(e)?null!==e:"function"==typeof e}},function(e,t,n){var r=n(5);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(0);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(7),i=n(77),o=n(6),a=n(35),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(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){var r=n(7),i=n(8),o=n(23);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){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(2),o=n(55).f,a=n(9),s=n(12),c=n(41),u=n(114),l=n(57);e.exports=function(e,t){var n,f,d,p,h,v=e.target,g=e.global,m=e.stat;if(n=g?i:m?i[v]||c(v,{}):(i[v]||{}).prototype)for(f in t){if(p=t[f],d=e.noTargetGet?(h=o(n,f))&&h.value:n[f],!l(g?f:v+(m?".":"#")+f,e.forced)&&void 0!==d){if(r(p)===r(d))continue;u(p,d)}(e.sham||d&&d.sham)&&a(p,"sham",!0),s(n,f,p,e)}}},function(e,t,n){"use strict";n(103),n(76),n(52),n(54),n(100),n(102),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){var r=n(2),i=n(9),o=n(4),a=n(41),s=n(65),c=n(21),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l(n).source=f.join("string"==typeof t?t:"")),e!==r?(c?!d&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},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],s=0,u=[];s<o.length;s++)i=o[s],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)&&(e[n]=a[n]);for(c&&c(t);u.length;)u.shift()()}var n={},r={193:0,0: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,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.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:"editor",190:"editor-collab",191:"editor-guest",192:"editor-rich",194:"files-modal",197:"vendors~editor",198:"vendors~editor-rich",199:"vendors~files-modal"}[e]||e)+".js?v="+{0:"409dd270f17b5a5d6315",1:"0558e514fa7e2e970254",2:"8e99362598e9a0310947",3:"2644eda8f8e61feac393",4:"cf27532095f6174146bc",5:"114a66613e4e6a2006a5",6:"0ccb24b4b698b0b8ea58",7:"e14844e20fb86c507b08",8:"3ee3907dd84ad0a5c2bb",9:"9017e8d857c264e12ff1",10:"39e4c96b5491f26893f9",11:"299c44a7f89e5b8fa4fc",12:"51cdd4652eff83bdb81a",13:"c7de4924f4d9dd225a3b",14:"d4486d90d6af055b4fd3",15:"6bd01aebba399633294d",16:"9f09bdd18f294c5c8794",17:"3edb869adcec66e64a75",18:"20131aefdc3d7aab5a09",19:"bbf229abacddd78ecc03",20:"db48b42d86f5f830aed9",21:"0f4768e8e2e5f7afcfc5",22:"7f0c0971abbbcdc6b952",23:"a9b88cf645f9822ecd6c",24:"d0348341e91f7c218e53",25:"44ccd580567ad8c479a5",26:"15e2488164f2ef22fb8d",27:"c9482bd78c222ac10f7e",28:"e914d055b239fddebb86",29:"879d66d3ff3aebf43797",30:"745787bfa040b732e117",31:"caf8fbc8fd7fe21149a3",32:"8962a2882992e9acf4bc",33:"e6af0000c94cc72a8f76",34:"24de6c844b2d586a73bc",35:"cd2c6912c8f6756ace9d",36:"dc764cd9e8a806a5c338",37:"a3d0ff540a0e645faf29",38:"a9516f4826d5863551ca",39:"ad0534a955794ac4d48e",40:"1cf76ab775b9e7def4a1",41:"678bef867e6107d7e3cb",42:"05af1802e8290459089e",43:"572db6b0cac658de30ca",44:"a181286b73aa0e513555",45:"9a39288b8b7cdb312672",46:"5267134f2a24312ef77b",47:"2e114cdc618056611a62",48:"eb9b20a9cf1a98a69abb",49:"61a7505d57b1b95ace2d",50:"b4a5a59ff3c0386782fe",51:"373038e21e8e879f4e42",52:"1566e34b33227fa3aa71",53:"fc822e23144ea4b8db6a",54:"7669816791336333681a",55:"455301331e5f4fd69c5a",56:"702a9f2e93272a2dec44",57:"46a1824c6aafb1e525e7",58:"4ad81cbcdcc495cdfea5",59:"c8fadbeb5a41bdce56ed",60:"2238e7cdafdf582e6fc2",61:"7ae2efb591fdd3e22f35",62:"398bfec89f54fd744888",63:"8685b63a98790b798f2f",64:"586963ba5faa7d129a61",65:"776f83c7257e769bcc69",66:"b756435dd7c2227d1e11",67:"5d750989f75071b5efc9",68:"505ee939aff3014202a1",69:"42119106431dbf904446",70:"10e1bdfa0178655c49db",71:"222ad8490a7915eb0e8c",72:"29ed43a1764ccd869753",73:"fee3db24e246dbd97e03",74:"ca0a0e47cbb4ceee2513",75:"ce2c1d68b813505656c5",76:"ade9da2dc0534efd0833",77:"eea7f9b182be96ffe7e3",78:"6d8c2cc43a4224151055",79:"9f721797a1953d2fe034",80:"8f91125ea95a4fa166ad",81:"3b100bfd611991461335",82:"4317495bca861662d368",83:"49e6036a847c36b7129c",84:"9078793a04abc6692111",85:"192d040856a01c6c9f6e",86:"a28c9c39ce997764f439",87:"ce3e8a40a80e7f3e682e",88:"7aac3ad65265af55b98a",89:"11123deb2309e152158f",90:"1b69f42be43dd59494ab",91:"123c5b986f594eb1658e",92:"4a9baae5118682170d9a",93:"55499659f1b582df66ce",94:"46b06d9e4bff641f47a7",95:"5da3b05803dc24b8bf0f",96:"fbafc7053d4ad9516c3b",97:"6e453bfa00edefead17b",98:"03e65046699849683403",99:"d983a6b1b3ea6bc7b76f",100:"e82087c3406ec38f7ace",101:"c5e599566a26bbeee260",102:"fbac545d4842fd88ac8f",103:"efef5fd7d8a22d9cb635",104:"af141c613d29e2bcb1df",105:"66e21d66fee3ebb9f824",106:"85a4f6958c29c8416176",107:"099c26bea8ff628d5b89",108:"df1321e89a76424eb413",109:"5cbec1c4dfe280beb3de",110:"5be14260f8b02fa4822f",111:"0462d055c305bc4137e8",112:"810b2c29194bcb23daab",113:"e96dcc9eada2a37406c6",114:"a64ae4908d43acbd1e3b",115:"9f58874253ffb0bf9868",116:"fb7d553b193ebeb8d2df",117:"aa6a806673967f3e4e89",118:"7037e133b281eb89fde6",119:"2b275a3b0b859aae9b98",120:"e9348ee43cd19e382607",121:"0168b5c907c3f7cec16e",122:"4c54eac635c944672148",123:"2beb4ec031a5ce77f5a5",124:"f554922ad68163734212",125:"1d095591c106168063d5",126:"4462a8bfe72a6872d856",127:"185ffc471ec25ffde4d6",128:"6d7b5655e3bfb1d06da1",129:"1f35df2746e9c0afc989",130:"e1db7752e80b1ef2223b",131:"d26abf28a5e47a57b61f",132:"8ca0eb652235d2306280",133:"f92a9c0b5bf5e340e0a4",134:"ed68f7b0f8a14af5fc46",135:"c9ecb5b2683e500273be",136:"19aab713dbf55107ba7f",137:"74c525f369cdf12eee01",138:"ffb719dfc6c9f951d8f4",139:"06e8ad7264d12fa8e117",140:"9c94ab88fe8e7f2c75aa",141:"2a5e84d12a121514c4e0",142:"7e17df8afe048634a2a9",143:"ab2d3a7e1d0717ff4c19",144:"72cc5a0ea82f7ae89026",145:"f9feaeaf054cc2592cf3",146:"07b881ec96c358d9549f",147:"90dab699a448d11987eb",148:"23ddbec0f97b2f59e6ed",149:"e84900a8757ccb2d289b",150:"13f8ca813e2da2b26a25",151:"8f265d3b1093af4cb32f",152:"b3a0f225b6f68551f254",153:"8a5c8d45ddf9210c2685",154:"cbe93505c46760e69f70",155:"c97919b4334611a4b272",156:"9339f91ebb1d661feda1",157:"39c9bb75911e5100c265",158:"b744c9f7d39223556a30",159:"807e2053135ecae68774",160:"9e7ad6b44c2a6df2c3e2",161:"e036507d6950e2e03bd3",162:"002cebae189230480d75",163:"0faf331c3f052c3b838c",164:"463688825a502dce67c8",165:"277937e8e7fbe73c9038",166:"a9872875e24bc53629d6",167:"c48b85f9ac0f747e25dc",168:"36528905ce19cbacbd00",169:"0cdd1a5ce117799ffb78",170:"9ff1ffad93b33b6d9e7d",171:"abf07919aaff4882bda1",172:"3d0b8a00a1f9b6f9d7ac",173:"a84c2c4299813476085e",174:"6e66630da517db8e3a8a",175:"666e6e3ef925289ed98d",176:"400b9fdf19531d3c2c4c",177:"3299a841acaf6e296f88",178:"76268871cb1397741044",179:"1f9b95c74611aad3bcee",180:"1d4ec106c6ba5011f644",181:"f69b0da7457caccc541d",182:"b6a19e70f389521ed8ff",183:"8fafc3ca34b4cfd69ddc",184:"bde83001ad1794f749fc",185:"4cf81bced9de660537ee",186:"30628c62881b7d43b74a",187:"67a698c1058fbe928a80",188:"75a58d24174087f9bd78",189:"a9a96f16c041dc75eac8",190:"aabe5235cb6b595c6da2",191:"cde4abc1b63bf9439f04",192:"36d22cc4b8dae1a57a67",194:"e03c3c10bf7aa0348f7d",197:"4fd10ca4596df832c75d",198:"36e90689f4e0071952b6",199:"8246f9f5b1a62d2054c8"}[e]}(e);var c=new Error;a=function(t){s.onerror=s.onload=null,clearTimeout(u);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;c.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",c.name="ChunkLoadError",c.type=i,c.request=o,n[1](c)}r[e]=void 0}};var u=setTimeout((function(){a({type:"timeout",target:s})}),12e4);s.onerror=s.onload=a,document.head.appendChild(s)}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 s=0;s<o.length;s++)t(o[s]);var c=a;i(i.s=172)}([function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(2),i=n(66),o=n(4),a=n(40),s=n(70),c=n(117),u=i("wks"),l=r.Symbol,f=c?l:l&&l.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},function(e,t,n){(function(t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=function(e){return e&&e.Math==Math&&e};e.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===t?"undefined":n(t))&&t)||Function("return this")()}).call(this,n(49))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(80),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===r(e)}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===o.call(e)}function f(e,t){if(null!=e)if("object"!==r(e)&&(e=[e]),a(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},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,isPlainObject:u,isUndefined:s,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:l,isStream:function(e){return c(e)&&l(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:f,merge:function e(){var t={};function n(n,r){u(t[r])&&u(n)?t[r]=e(t[r],n):u(n)?t[r]=e({},n):a(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)f(arguments[r],n);return t},extend:function(e,t,n){return f(t,(function(t,r){e[r]=n&&"function"==typeof t?i(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e){return"object"===n(e)?null!==e:"function"==typeof e}},function(e,t,n){var r=n(5);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(0);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(7),i=n(77),o=n(6),a=n(35),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(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){var r=n(7),i=n(8),o=n(23);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){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(2),o=n(55).f,a=n(9),s=n(12),c=n(41),u=n(114),l=n(57);e.exports=function(e,t){var n,f,d,p,h,v=e.target,g=e.global,m=e.stat;if(n=g?i:m?i[v]||c(v,{}):(i[v]||{}).prototype)for(f in t){if(p=t[f],d=e.noTargetGet?(h=o(n,f))&&h.value:n[f],!l(g?f:v+(m?".":"#")+f,e.forced)&&void 0!==d){if(r(p)===r(d))continue;u(p,d)}(e.sham||d&&d.sham)&&a(p,"sham",!0),s(n,f,p,e)}}},function(e,t,n){"use strict";n(103),n(76),n(52),n(54),n(100),n(102),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){var r=n(2),i=n(9),o=n(4),a=n(41),s=n(65),c=n(21),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l(n).source=f.join("string"==typeof t?t:"")),e!==r?(c?!d&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},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/x-empty","application/x-msdos-program","application/epub+zip","application/javascript","application/json","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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribe=function(e,t){o.subscribe(e,t)},t.unsubscribe=function(e,t){o.unsubscribe(e,t)},t.emit=function(e,t){o.emit(e,t)};var r=n(149),i=n(154);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(e,t,n){var r=n(25),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(24);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,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=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)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}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=n(38),i=n(24);e.exports=function(e){return r(i(e))}},function(e,t,n){var r,i,o,a=n(129),s=n(2),c=n(5),u=n(9),l=n(4),f=n(39),d=n(26),p=s.WeakMap;if(a){var h=new p,v=h.get,g=h.has,m=h.set;r=function(e,t){return m.call(h,e,t),t},i=function(e){return v.call(h,e)||{}},o=function(e){return g.call(h,e)}}else{var y=f("state");d[y]=!0,r=function(e,t){return u(e,y,t),t},i=function(e){return l(e,y)?e[y]:{}},o=function(e){return l(e,y)}}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(!c(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(115),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){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},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,n,r){"use strict";r.d(n,"b",(function(){return b})),r.d(n,"c",(function(){return w})),r.d(n,"d",(function(){return A})),r.d(n,"a",(function(){return x}));var i=r(13),o=r(31),a=r.n(o),s=r(11),c=r(14);function u(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}var l=!!document.getElementById("isPublic"),f=Object(s.generateOcsUrl)("apps/text"+(l?"/public":""),2)+"workspace",d={name:"RichWorkspace",components:{EditorWrapper:function(){return Promise.all([r.e(0),r.e(188),r.e(197),r.e(189)]).then(r.bind(null,173))}},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(e){e||document.querySelector("#editor").scrollTo(0,0)}},mounted:function(){var e,t=this;return(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.enabled&&t.getFileInfo(),Object(c.subscribe)("Text::showRichWorkspace",(function(){t.enabled=!0,t.getFileInfo()})),Object(c.subscribe)("Text::hideRichWorkspace",(function(){t.enabled=!1}));case 3:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)}))})()},methods:{unfocus:function(){},reset:function(){var e=this;this.file=null,this.focus=!1,this.$nextTick((function(){e.creating=!1,e.getFileInfo()}))},getFileInfo:function(){var e=this;this.loaded=!1,this.autofocus=!1,this.ready=!1;var t={path:this.path};return l&&(t.shareToken=this.shareToken),a.a.get(f,{params:t}).then((function(t){var n=t.data.ocs.data;return e.folder=n.folder||null,e.file=n.file,e.editing=!0,e.loaded=!0,!0})).catch((function(t){return t.response.data.ocs&&t.response.data.ocs.data.folder?e.folder=t.response.data.ocs.data.folder:e.folder=null,e.file=null,e.loaded=!0,e.ready=!0,e.creating=!1,!1}))},createNew:function(){var e=this;this.creating||(this.creating=!0,this.getFileInfo().then((function(t){e.autofocus=!0,t||window.FileList.createFile("Readme.md",{scrollTo:!1,animate:!1}).then((function(t,n){e.getFileInfo()}))})))}}},p=r(28),h=r.n(p),v=r(48),g={insert:"head",singleton:!1},m=(h()(v.a,g),v.a.locals,r(18)),y=Object(m.a)(d,(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,dark:e.darkTheme,creatable:e.canCreate},attrs:{id:"rich-workspace"}},[e.showEmptyWorkspace?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:e.unfocus,error:e.reset}}):e._e()],1):e._e()}),[],!1,null,"374052d2",null).exports,b=function(e,t){var n=e.split("/"),r=t.split("/");for(n.pop();n[0]===r[0];)n.shift(),r.shift();var i=n.fill("..").concat(r),o=t.split("/");return i.length<o.length?i.join("/"):t},A=function(){var e={attach:function(e){var n=e.fileList;"files"!==n.id&&"files.public"!==n.id||e.addMenuEntry({id:"file",displayName:t("text","New text document"),templateName:t("text","New text document")+".md",iconClass:"icon-filetype-text",fileType:"file",actionHandler:function(e){n.createFile(e).then((function(e,t){var r=new OCA.Files.FileInfoModel(t);void 0!==OCA.Viewer?OCA.Files.fileActions.triggerAction("view",r,n):void 0===OCA.Viewer&&OCA.Files.fileActions.triggerAction("Edit with text app",r,n)}))}})}};OC.Plugins.register("OCA.Files.NewFileMenu",e)},w=function(){var e,n=document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null,o=document.getElementById("dir").value;if(!n||""!==o){var a=document.createElement("div");a.id="text-viewer-fallback",document.body.appendChild(a);for(var c=0;c<i.a.length;c++)e=i.a[c],OCA.Files.fileActions.register(e,"Edit with text app",OC.PERMISSION_UPDATE|OC.PERMISSION_READ,Object(s.imagePath)("core","actions/rename"),(function(e){var t=window.FileList.findFile(e);Promise.all([r.e(0).then(r.bind(null,47)),Promise.all([r.e(1),r.e(0),r.e(188),r.e(199),r.e(194)]).then(r.bind(null,662))]).then((function(r){var i=window.FileList.getCurrentDirectory()+"/"+e,o=r[0].default;o.prototype.t=window.t,o.prototype.n=window.n,o.prototype.OCA=window.OCA;var s=r[1].default;new o({render:function(e){return e(s,{props:{fileId:t?t.id:null,active:!0,shareToken:n,relativePath:i,mimeType:t.mimetype}})}}).$mount(a)}))}),t("text","Edit")),OCA.Files.fileActions.setDefault(i.a[c],"Edit with text app")}},x={el:null,attach:function(e){"files"!==e.id&&"files.public"!==e.id||(this.el=document.createElement("div"),e.registerHeader({id:"workspace",el:this.el,render:this.render.bind(this),priority:10}))},render:function(e){var t=this;"files"!==e.id&&"files.public"!==e.id||r.e(0).then(r.bind(null,47)).then((function(n){var r=n.default;t.el.id="files-workspace-wrapper",r.prototype.t=window.t,r.prototype.n=window.n,r.prototype.OCA=window.OCA;var i=new(r.extend(y))({propsData:{path:e.getCurrentDirectory()}}).$mount(t.el);e.$el.on("changeDirectory",(function(e){i.path=e.dir.toString()}))}))}}},function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],c=t.base?o[0]+t.base:o[0],u=n[c]||0,l="".concat(c," ").concat(u);n[c]=u+1;var f=s(l),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==f?(a[f].references++,a[f].updater(d)):a.push({identifier:l,updater:g(d,t),references:1}),r.push(l)}return r}function u(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.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(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,v=0;function g(e,t){var n,r,i;if(t.singleton){var o=v++;n=h||(h=u(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=u(t),r=p.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=s(n[r]);a[i].references--}for(var o=c(e,t),u=0;u<n.length;u++){var l=s(n[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=o}}}},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=function(e){var t=r(e,4),n=t[1],i=t[3];if("function"==typeof btoa){var o=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),s="/*# ".concat(a," */"),c=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(c).concat([s]).join("\n")}return[n].join("\n")}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},function(e,t,n){"use strict";n(76),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(131))&&r.__esModule?r:{default:r},o=n(109);var a=i.default.create({headers:{requesttoken:(0,o.getRequestToken)()}}),s=Object.assign(a,{CancelToken:i.default.CancelToken,isCancel:i.default.isCancel});(0,o.onRequestTokenUpdate)((function(e){return a.defaults.headers.requesttoken=e}));var c=s;t.default=c},function(e,t,n){var r=n(7),i=n(0),o=n(4),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,l=o(t,0)?t[0]:c,f=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,l,f)}))}},function(e,t,n){var r,i=n(6),o=n(120),a=n(42),s=n(26),c=n(121),u=n(64),l=n(39),f=l("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=i(e),n=new d,d.prototype=null,n[f]=e):n=h(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(8).f,i=n(4),o=n(1)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(5);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=!1},function(e,t,n){var r=n(107);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(0),i=n(19),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(66),i=n(40),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(2),i=n(9);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){var n=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:16}},function(e,t,n){"use strict";var r=n(10),i=n(122),o=n(94),a=n(95),s=n(34),c=n(9),u=n(12),l=n(1),f=n(36),d=n(17),p=n(93),h=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,g=l("iterator"),m=function(){return this};e.exports=function(e,t,n,l,p,y,b){i(n,t,l);var A,w,x,_=function(e){if(e===p&&k)return k;if(!v&&e in O)return O[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",C=!1,O=e.prototype,S=O[g]||O["@@iterator"]||p&&O[p],k=!v&&S||_(p),T="Array"==t&&O.entries||S;if(T&&(A=o(T.call(new e)),h!==Object.prototype&&A.next&&(f||o(A)===h||(a?a(A,h):"function"!=typeof A[g]&&c(A,g,m)),s(A,E,!0,!0),f&&(d[E]=m))),"values"==p&&S&&"values"!==S.name&&(C=!0,k=function(){return S.call(this)}),f&&!b||O[g]===k||c(O,g,k),d[t]=k,p)if(w={values:_("values"),keys:y?k:_("keys"),entries:_("entries")},b)for(x in w)(v||C||!(x in O))&&u(O,x,w[x]);else r({target:t,proto:!0,forced:v||C},w);return w}},function(e,t,n){var r={};r[n(1)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){"use strict";var r,i,o=n(98),a=n(164),s=RegExp.prototype.exec,c=String.prototype.replace,u=s,l=(r=/a/,i=/b*/g,s.call(r,"a"),s.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,d=void 0!==/()??/.exec("")[1];(l||d||f)&&(u=function(e){var t,n,r,i,a=this,u=f&&a.sticky,p=o.call(a),h=a.source,v=0,g=e;return u&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),g=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,v++),n=new RegExp("^(?:"+h+")",p)),d&&(n=new RegExp("^"+h+"$(?!\\s)",p)),l&&(t=a.lastIndex),r=s.call(u?n:a,g),u?r?(r.input=r.input.slice(v),r[0]=r[0].slice(v),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),d&&r&&r.length>1&&c.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),e.exports=u},function(e,t,n){"use strict";n.r(t),function(e,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
+var r=["text/markdown"],i=["text/plain","application/cmd","application/x-empty","application/x-msdos-program","application/epub+zip","application/javascript","application/json","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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribe=function(e,t){o.subscribe(e,t)},t.unsubscribe=function(e,t){o.unsubscribe(e,t)},t.emit=function(e,t){o.emit(e,t)};var r=n(149),i=n(154);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(e,t,n){var r=n(25),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(24);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,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=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)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}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=n(38),i=n(24);e.exports=function(e){return r(i(e))}},function(e,t,n){var r,i,o,a=n(129),s=n(2),c=n(5),u=n(9),l=n(4),f=n(39),d=n(26),p=s.WeakMap;if(a){var h=new p,v=h.get,g=h.has,m=h.set;r=function(e,t){return m.call(h,e,t),t},i=function(e){return v.call(h,e)||{}},o=function(e){return g.call(h,e)}}else{var y=f("state");d[y]=!0,r=function(e,t){return u(e,y,t),t},i=function(e){return l(e,y)?e[y]:{}},o=function(e){return l(e,y)}}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(!c(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(115),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){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},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,n,r){"use strict";r.d(n,"b",(function(){return b})),r.d(n,"c",(function(){return w})),r.d(n,"d",(function(){return A})),r.d(n,"a",(function(){return x}));var i=r(13),o=r(31),a=r.n(o),s=r(11),c=r(14);function u(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}var l=!!document.getElementById("isPublic"),f=Object(s.generateOcsUrl)("apps/text"+(l?"/public":""),2)+"workspace",d={name:"RichWorkspace",components:{EditorWrapper:function(){return Promise.all([r.e(0),r.e(188),r.e(197),r.e(189)]).then(r.bind(null,173))}},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(e){e||document.querySelector("#editor").scrollTo(0,0)}},mounted:function(){var e,t=this;return(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.enabled&&t.getFileInfo(),Object(c.subscribe)("Text::showRichWorkspace",(function(){t.enabled=!0,t.getFileInfo()})),Object(c.subscribe)("Text::hideRichWorkspace",(function(){t.enabled=!1}));case 3:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)}))})()},methods:{unfocus:function(){},reset:function(){var e=this;this.file=null,this.focus=!1,this.$nextTick((function(){e.creating=!1,e.getFileInfo()}))},getFileInfo:function(){var e=this;this.loaded=!1,this.autofocus=!1,this.ready=!1;var t={path:this.path};return l&&(t.shareToken=this.shareToken),a.a.get(f,{params:t}).then((function(t){var n=t.data.ocs.data;return e.folder=n.folder||null,e.file=n.file,e.editing=!0,e.loaded=!0,!0})).catch((function(t){return t.response.data.ocs&&t.response.data.ocs.data.folder?e.folder=t.response.data.ocs.data.folder:e.folder=null,e.file=null,e.loaded=!0,e.ready=!0,e.creating=!1,!1}))},createNew:function(){var e=this;this.creating||(this.creating=!0,this.getFileInfo().then((function(t){e.autofocus=!0,t||window.FileList.createFile("Readme.md",{scrollTo:!1,animate:!1}).then((function(t,n){e.getFileInfo()}))})))}}},p=r(28),h=r.n(p),v=r(48),g={insert:"head",singleton:!1},m=(h()(v.a,g),v.a.locals,r(18)),y=Object(m.a)(d,(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,dark:e.darkTheme,creatable:e.canCreate},attrs:{id:"rich-workspace"}},[e.showEmptyWorkspace?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:e.unfocus,error:e.reset}}):e._e()],1):e._e()}),[],!1,null,"374052d2",null).exports,b=function(e,t){var n=e.split("/"),r=t.split("/");for(n.pop();n[0]===r[0];)n.shift(),r.shift();var i=n.fill("..").concat(r),o=t.split("/");return i.length<o.length?i.join("/"):t},A=function(){var e={attach:function(e){var n=e.fileList;"files"!==n.id&&"files.public"!==n.id||e.addMenuEntry({id:"file",displayName:t("text","New text document"),templateName:t("text","New text document")+".md",iconClass:"icon-filetype-text",fileType:"file",actionHandler:function(e){n.createFile(e).then((function(e,t){var r=new OCA.Files.FileInfoModel(t);void 0!==OCA.Viewer?OCA.Files.fileActions.triggerAction("view",r,n):void 0===OCA.Viewer&&OCA.Files.fileActions.triggerAction("Edit with text app",r,n)}))}})}};OC.Plugins.register("OCA.Files.NewFileMenu",e)},w=function(){var e,n=document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null,o=document.getElementById("dir").value;if(!n||""!==o){var a=document.createElement("div");a.id="text-viewer-fallback",document.body.appendChild(a);for(var c=0;c<i.a.length;c++)e=i.a[c],OCA.Files.fileActions.register(e,"Edit with text app",OC.PERMISSION_UPDATE|OC.PERMISSION_READ,Object(s.imagePath)("core","actions/rename"),(function(e){var t=window.FileList.findFile(e);Promise.all([r.e(0).then(r.bind(null,47)),Promise.all([r.e(1),r.e(0),r.e(188),r.e(199),r.e(194)]).then(r.bind(null,662))]).then((function(r){var i=window.FileList.getCurrentDirectory()+"/"+e,o=r[0].default;o.prototype.t=window.t,o.prototype.n=window.n,o.prototype.OCA=window.OCA;var s=r[1].default;new o({render:function(e){return e(s,{props:{fileId:t?t.id:null,active:!0,shareToken:n,relativePath:i,mimeType:t.mimetype}})}}).$mount(a)}))}),t("text","Edit")),OCA.Files.fileActions.setDefault(i.a[c],"Edit with text app")}},x={el:null,attach:function(e){"files"!==e.id&&"files.public"!==e.id||(this.el=document.createElement("div"),e.registerHeader({id:"workspace",el:this.el,render:this.render.bind(this),priority:10}))},render:function(e){var t=this;"files"!==e.id&&"files.public"!==e.id||r.e(0).then(r.bind(null,47)).then((function(n){var r=n.default;t.el.id="files-workspace-wrapper",r.prototype.t=window.t,r.prototype.n=window.n,r.prototype.OCA=window.OCA;var i=new(r.extend(y))({propsData:{path:e.getCurrentDirectory()}}).$mount(t.el);e.$el.on("urlChanged",(function(e){i.path=e.dir.toString()})),e.$el.on("changeDirectory",(function(e){i.path=e.dir.toString()}))}))}}},function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],c=t.base?o[0]+t.base:o[0],u=n[c]||0,l="".concat(c," ").concat(u);n[c]=u+1;var f=s(l),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==f?(a[f].references++,a[f].updater(d)):a.push({identifier:l,updater:g(d,t),references:1}),r.push(l)}return r}function u(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.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(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,v=0;function g(e,t){var n,r,i;if(t.singleton){var o=v++;n=h||(h=u(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=u(t),r=p.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=s(n[r]);a[i].references--}for(var o=c(e,t),u=0;u<n.length;u++){var l=s(n[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=o}}}},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=function(e){var t=r(e,4),n=t[1],i=t[3];if("function"==typeof btoa){var o=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),s="/*# ".concat(a," */"),c=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(c).concat([s]).join("\n")}return[n].join("\n")}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},function(e,t,n){"use strict";n(76),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(131))&&r.__esModule?r:{default:r},o=n(109);var a=i.default.create({headers:{requesttoken:(0,o.getRequestToken)()}}),s=Object.assign(a,{CancelToken:i.default.CancelToken,isCancel:i.default.isCancel});(0,o.onRequestTokenUpdate)((function(e){return a.defaults.headers.requesttoken=e}));var c=s;t.default=c},function(e,t,n){var r=n(7),i=n(0),o=n(4),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,l=o(t,0)?t[0]:c,f=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,l,f)}))}},function(e,t,n){var r,i=n(6),o=n(120),a=n(42),s=n(26),c=n(121),u=n(64),l=n(39),f=l("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=i(e),n=new d,d.prototype=null,n[f]=e):n=h(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(8).f,i=n(4),o=n(1)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(5);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=!1},function(e,t,n){var r=n(107);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(0),i=n(19),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(66),i=n(40),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(2),i=n(9);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){var n=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:16}},function(e,t,n){"use strict";var r=n(10),i=n(122),o=n(94),a=n(95),s=n(34),c=n(9),u=n(12),l=n(1),f=n(36),d=n(17),p=n(93),h=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,g=l("iterator"),m=function(){return this};e.exports=function(e,t,n,l,p,y,b){i(n,t,l);var A,w,x,_=function(e){if(e===p&&k)return k;if(!v&&e in O)return O[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",C=!1,O=e.prototype,S=O[g]||O["@@iterator"]||p&&O[p],k=!v&&S||_(p),T="Array"==t&&O.entries||S;if(T&&(A=o(T.call(new e)),h!==Object.prototype&&A.next&&(f||o(A)===h||(a?a(A,h):"function"!=typeof A[g]&&c(A,g,m)),s(A,E,!0,!0),f&&(d[E]=m))),"values"==p&&S&&"values"!==S.name&&(C=!0,k=function(){return S.call(this)}),f&&!b||O[g]===k||c(O,g,k),d[t]=k,p)if(w={values:_("values"),keys:y?k:_("keys"),entries:_("entries")},b)for(x in w)(v||C||!(x in O))&&u(O,x,w[x]);else r({target:t,proto:!0,forced:v||C},w);return w}},function(e,t,n){var r={};r[n(1)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){"use strict";var r,i,o=n(98),a=n(164),s=RegExp.prototype.exec,c=String.prototype.replace,u=s,l=(r=/a/,i=/b*/g,s.call(r,"a"),s.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,d=void 0!==/()??/.exec("")[1];(l||d||f)&&(u=function(e){var t,n,r,i,a=this,u=f&&a.sticky,p=o.call(a),h=a.source,v=0,g=e;return u&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),g=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,v++),n=new RegExp("^(?:"+h+")",p)),d&&(n=new RegExp("^"+h+"$(?!\\s)",p)),l&&(t=a.lastIndex),r=s.call(u?n:a,g),u?r?(r.input=r.input.slice(v),r[0]=r[0].slice(v),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),d&&r&&r.length>1&&c.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),e.exports=u},function(e,t,n){"use strict";n.r(t),function(e,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
/*!
* Vue.js v2.6.12
* (c) 2014-2020 Evan You