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

text-viewer.js « js - github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 858fdce17bb801013e03cd121f6c4293b6d7aaab (plain)
1
2
3
/*! For license information please see text-viewer.js.LICENSE.txt */
(()=>{var e,t,r,n,i={22200:(e,t,r)=>{"use strict";var n=r(25108);Object.defineProperty(t,"__esModule",{value:!0});var i=r(27594),o=document.getElementsByTagName("head")[0],a=o?o.getAttribute("data-requesttoken"):null,c=[];i.subscribe("csrf-token-update",(function(e){a=e.token,c.forEach((function(t){try{t(e.token)}catch(e){n.error("error updating CSRF token observer",e)}}))}));var s=function(e,t){return e?e.getAttribute(t):null},l=document.getElementsByTagName("head")[0],u=s(l,"data-user"),f=s(l,"data-user-displayname"),h="undefined"!=typeof OC&&OC.isUserAdmin();t.getCurrentUser=function(){return null===u?null:{uid:u,displayName:f,isAdmin:h}},t.getRequestToken=function(){return a},t.onRequestTokenUpdate=function(e){c.push(e)}},27594:(e,t,r)=>{"use strict";var n=r(25108);Object.defineProperty(t,"__esModule",{value:!0});var i=r(77907),o=r(92426);function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=a(i),s=a(o),l=function(){function e(e){"function"==typeof e.getVersion&&c.default(e.getVersion())?s.default(e.getVersion())!==s.default(this.getVersion())&&n.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):n.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}return e.prototype.getVersion=function(){return"3.0.2"},e.prototype.subscribe=function(e,t){this.bus.subscribe(e,t)},e.prototype.unsubscribe=function(e,t){this.bus.unsubscribe(e,t)},e.prototype.emit=function(e,t){this.bus.emit(e,t)},e}(),u=function(){function e(){this.handlers=new Map}return e.prototype.getVersion=function(){return"3.0.2"},e.prototype.subscribe=function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).concat(t))},e.prototype.unsubscribe=function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).filter((function(e){return e!=t})))},e.prototype.emit=function(e,t){(this.handlers.get(e)||[]).forEach((function(e){try{e(t)}catch(e){n.error("could not invoke event listener",e)}}))},e}();var f=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(n.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 l(window._nc_event_bus):window._nc_event_bus=new u);t.ProxyBus=l,t.SimpleBus=u,t.emit=function(e,t){f.emit(e,t)},t.subscribe=function(e,t){f.subscribe(e,t)},t.unsubscribe=function(e,t){f.unsubscribe(e,t)}},67737:(e,t,r)=>{const n=r(85503),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=r(35519),{re:a,t:c}=r(88238),s=r(74433),{compareIdentifiers:l}=r(63242);class u{constructor(e,t){if(t=s(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?a[c.LOOSE]:a[c.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),l(this.major,e.major)||l(this.minor,e.minor)||l(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return l(r,i)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const r=this.build[t],i=e.build[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return l(r,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},92426:(e,t,r)=>{const n=r(67737);e.exports=(e,t)=>new n(e,t).major},67488:(e,t,r)=>{const{MAX_LENGTH:n}=r(35519),{re:i,t:o}=r(88238),a=r(67737),c=r(74433);e.exports=(e,t)=>{if(t=c(t),e instanceof a)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?i[o.LOOSE]:i[o.FULL]).test(e))return null;try{return new a(e,t)}catch(e){return null}}},77907:(e,t,r)=>{const n=r(67488);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},35519:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},85503:(e,t,r)=>{var n=r(34155),i=r(25108);const o="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...e)=>i.error("SEMVER",...e):()=>{};e.exports=o},63242:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),i=t.test(r);return n&&i&&(e=+e,r=+r),e===r?0:n&&!i?-1:i&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},74433:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},88238:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(35519),i=r(85503),o=(t=e.exports={}).re=[],a=t.src=[],c=t.t={};let s=0;const l=(e,t,r)=>{const n=s++;i(e,n,t),c[e]=n,a[n]=t,o[n]=new RegExp(t,r?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${a[c.NUMERICIDENTIFIER]})\\.(${a[c.NUMERICIDENTIFIER]})\\.(${a[c.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${a[c.NUMERICIDENTIFIERLOOSE]})\\.(${a[c.NUMERICIDENTIFIERLOOSE]})\\.(${a[c.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${a[c.NUMERICIDENTIFIER]}|${a[c.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${a[c.NUMERICIDENTIFIERLOOSE]}|${a[c.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${a[c.PRERELEASEIDENTIFIER]}(?:\\.${a[c.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${a[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[c.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${a[c.BUILDIDENTIFIER]}(?:\\.${a[c.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${a[c.MAINVERSION]}${a[c.PRERELEASE]}?${a[c.BUILD]}?`),l("FULL",`^${a[c.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${a[c.MAINVERSIONLOOSE]}${a[c.PRERELEASELOOSE]}?${a[c.BUILD]}?`),l("LOOSE",`^${a[c.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${a[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${a[c.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${a[c.XRANGEIDENTIFIER]})(?:\\.(${a[c.XRANGEIDENTIFIER]})(?:\\.(${a[c.XRANGEIDENTIFIER]})(?:${a[c.PRERELEASE]})?${a[c.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${a[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[c.XRANGEIDENTIFIERLOOSE]})(?:${a[c.PRERELEASELOOSE]})?${a[c.BUILD]}?)?)?`),l("XRANGE",`^${a[c.GTLT]}\\s*${a[c.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${a[c.GTLT]}\\s*${a[c.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),l("COERCERTL",a[c.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${a[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${a[c.LONETILDE]}${a[c.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${a[c.LONETILDE]}${a[c.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${a[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${a[c.LONECARET]}${a[c.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${a[c.LONECARET]}${a[c.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${a[c.GTLT]}\\s*(${a[c.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${a[c.GTLT]}\\s*(${a[c.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${a[c.GTLT]}\\s*(${a[c.LOOSEPLAIN]}|${a[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${a[c.XRANGEPLAIN]})\\s+-\\s+(${a[c.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${a[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[c.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},71356:(e,t,r)=>{"use strict";var n=r(25108);Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleLogger=void 0,t.buildConsoleLogger=function(e){return new a(e)},r(19601),r(69070);var i=r(20006);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=function(){function e(t){var r,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i=void 0,(n="context")in(r=this)?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,this.context=t}var t,r,a;return t=e,(r=[{key:"formatMessage",value:function(e,t,r){var n="["+i.LogLevel[t].toUpperCase()+"]";return r&&r.app&&(n+=" "+r.app+": "),n+e}},{key:"log",value:function(e,t,r){var o;if(!(e<(null===(o=this.context)||void 0===o?void 0:o.level)))switch(e){case i.LogLevel.Debug:n.debug(this.formatMessage(t,i.LogLevel.Debug,r),r);break;case i.LogLevel.Info:n.info(this.formatMessage(t,i.LogLevel.Info,r),r);break;case i.LogLevel.Warn:n.warn(this.formatMessage(t,i.LogLevel.Warn,r),r);break;case i.LogLevel.Error:n.error(this.formatMessage(t,i.LogLevel.Error,r),r);break;case i.LogLevel.Fatal:default:n.error(this.formatMessage(t,i.LogLevel.Fatal,r),r)}}},{key:"debug",value:function(e,t){this.log(i.LogLevel.Debug,e,Object.assign({},this.context,t))}},{key:"info",value:function(e,t){this.log(i.LogLevel.Info,e,Object.assign({},this.context,t))}},{key:"warn",value:function(e,t){this.log(i.LogLevel.Warn,e,Object.assign({},this.context,t))}},{key:"error",value:function(e,t){this.log(i.LogLevel.Error,e,Object.assign({},this.context,t))}},{key:"fatal",value:function(e,t){this.log(i.LogLevel.Fatal,e,Object.assign({},this.context,t))}}])&&o(t.prototype,r),a&&o(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.ConsoleLogger=a},55058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggerBuilder=void 0,r(69070);var n=r(22200),i=r(20006);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(){function e(t){var r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"context",void 0),a(this,"factory",void 0),this.context={},this.factory=t,this.context.level=window.hasOwnProperty("OC")&&void 0!==(null===(r=OC)||void 0===r||null===(n=r.config)||void 0===n?void 0:n.loglevel)?OC.config.loglevel:i.LogLevel.Warn,window.hasOwnProperty("OC")&&null!==(o=OC)&&void 0!==o&&o.debug&&(this.context.level=i.LogLevel.Debug)}var t,r,c;return t=e,(r=[{key:"setApp",value:function(e){return this.context.app=e,this}},{key:"setLogLevel",value:function(e){return this.context.level=e,this}},{key:"setUid",value:function(e){return this.context.uid=e,this}},{key:"detectUser",value:function(){var e=(0,n.getCurrentUser)();return null!==e&&(this.context.uid=e.uid),this}},{key:"build",value:function(){return this.factory(this.context)}}])&&o(t.prototype,r),c&&o(t,c),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.LoggerBuilder=c},20006:(e,t,r)=>{"use strict";var n;r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=void 0,t.LogLevel=n,function(e){e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warn=2]="Warn",e[e.Error=3]="Error",e[e.Fatal=4]="Fatal"}(n||(t.LogLevel=n={}))},17499:(e,t,r)=>{"use strict";r(69070),t.IY=o;var n=r(71356),i=r(55058);function o(){return new i.LoggerBuilder(n.buildConsoleLogger)}},48583:(e,t,r)=>{"use strict";var n=r(27418);function i(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}function o(e){return r.g.Buffer&&"function"==typeof r.g.Buffer.isBuffer?r.g.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=r(89539),c=Object.prototype.hasOwnProperty,s=Array.prototype.slice,l="foo"===function(){}.name;function u(e){return Object.prototype.toString.call(e)}function f(e){return!o(e)&&("function"==typeof r.g.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var h=e.exports=m,p=/\s*function\s+([^\(\s]*)\s*/;function g(e){if(a.isFunction(e)){if(l)return e.name;var t=e.toString().match(p);return t&&t[1]}}function d(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function b(e){if(l||!a.isFunction(e))return a.inspect(e);var t=g(e);return"[Function"+(t?": "+t:"")+"]"}function v(e,t,r,n,i){throw new h.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function m(e,t){e||v(e,!0,t,"==",h.ok)}function y(e,t,r,n){if(e===t)return!0;if(o(e)&&o(t))return 0===i(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(f(e)&&f(t)&&u(e)===u(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;var c=(n=n||{actual:[],expected:[]}).actual.indexOf(e);return-1!==c&&c===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),function(e,t,r,n){if(null==e||null==t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=E(e),o=E(t);if(i&&!o||!i&&o)return!1;if(i)return y(e=s.call(e),t=s.call(t),r);var c,l,u=x(e),f=x(t);if(u.length!==f.length)return!1;for(u.sort(),f.sort(),l=u.length-1;l>=0;l--)if(u[l]!==f[l])return!1;for(l=u.length-1;l>=0;l--)if(!y(e[c=u[l]],t[c],r,n))return!1;return!0}(e,t,r,n))}return r?e===t:e==t}function E(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function O(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function w(e,t,r,n){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&v(i,r,"Missing expected exception"+n);var o="string"==typeof n,c=!e&&i&&!r;if((!e&&a.isError(i)&&o&&O(i,r)||c)&&v(i,r,"Got unwanted exception"+n),e&&i&&r&&!O(i,r)||!e&&i)throw i}h.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return d(b(e.actual),128)+" "+e.operator+" "+d(b(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||v;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,i=g(t),o=n.indexOf("\n"+i);if(o>=0){var a=n.indexOf("\n",o+1);n=n.substring(a+1)}this.stack=n}}},a.inherits(h.AssertionError,Error),h.fail=v,h.ok=m,h.equal=function(e,t,r){e!=t&&v(e,t,r,"==",h.equal)},h.notEqual=function(e,t,r){e==t&&v(e,t,r,"!=",h.notEqual)},h.deepEqual=function(e,t,r){y(e,t,!1)||v(e,t,r,"deepEqual",h.deepEqual)},h.deepStrictEqual=function(e,t,r){y(e,t,!0)||v(e,t,r,"deepStrictEqual",h.deepStrictEqual)},h.notDeepEqual=function(e,t,r){y(e,t,!1)&&v(e,t,r,"notDeepEqual",h.notDeepEqual)},h.notDeepStrictEqual=function e(t,r,n){y(t,r,!0)&&v(t,r,n,"notDeepStrictEqual",e)},h.strictEqual=function(e,t,r){e!==t&&v(e,t,r,"===",h.strictEqual)},h.notStrictEqual=function(e,t,r){e===t&&v(e,t,r,"!==",h.notStrictEqual)},h.throws=function(e,t,r){w(!0,e,t,r)},h.doesNotThrow=function(e,t,r){w(!1,e,t,r)},h.ifError=function(e){if(e)throw e},h.strict=n((function e(t,r){t||v(t,!0,r,"==",e)}),h,{equal:h.strictEqual,deepEqual:h.deepStrictEqual,notEqual:h.notStrictEqual,notDeepEqual:h.notDeepStrictEqual}),h.strict.strict=h.strict;var x=Object.keys||function(e){var t=[];for(var r in e)c.call(e,r)&&t.push(r);return t}},52029:(e,t,r)=>{"use strict";r.d(t,{k:()=>n});var n=(0,r(17499).IY)().setApp("text").detectUser().build()},74411:(e,t,r)=>{"use strict";var n,i;r.d(t,{$Z:()=>o,lF:()=>a,w_:()=>c});var o=["image/png","image/jpeg","image/jpg","image/gif","image/x-xbitmap","image/x-ms-bmp","image/bmp","image/svg+xml","image/webp"],a=["text/markdown"],c=["text/plain","application/cmd","application/x-empty","application/x-msdos-program","application/javascript","application/json","application/x-perl","application/x-php","application/x-tex","application/xml","application/yaml","text/css","text/html","text/org","text/x-c","text/x-c++src","text/x-h","text/x-java-source","text/x-ldif","text/x-python","text/x-shellscript"];null!==(n=window.oc_appswebroots)&&void 0!==n&&n.richdocuments||null!==(i=window.oc_appswebroots)&&void 0!==i&&i.onlyoffice||c.push("text/csv");[].concat(a,c)},25108:(e,t,r)=>{var n=r(89539),i=r(48583);function o(){return(new Date).getTime()}var a,c=Array.prototype.slice,s={};a=void 0!==r.g&&r.g.console?r.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var l=[[function(){},"log"],[function(){a.log.apply(a,arguments)},"info"],[function(){a.log.apply(a,arguments)},"warn"],[function(){a.warn.apply(a,arguments)},"error"],[function(e){s[e]=o()},"time"],[function(e){var t=s[e];if(!t)throw new Error("No such label: "+e);delete s[e];var r=o()-t;a.log(e+": "+r+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=n.format.apply(null,arguments),a.error(e.stack)},"trace"],[function(e){a.log(n.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=c.call(arguments,1);i.ok(!1,n.format.apply(null,t))}},"assert"]],u=0;u<l.length;u++){var f=l[u],h=f[0],p=f[1];a[p]||(a[p]=h)}e.exports=a},19662:(e,t,r)=>{var n=r(60614),i=r(66330),o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not a function")}},19670:(e,t,r)=>{var n=r(70111),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not an object")}},41318:(e,t,r)=>{var n=r(45656),i=r(51400),o=r(26244),a=function(e){return function(t,r,a){var c,s=n(t),l=o(s),u=i(a,l);if(e&&r!=r){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},84326:(e,t,r)=>{var n=r(40084),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},99920:(e,t,r)=>{var n=r(92597),i=r(53887),o=r(31236),a=r(3070);e.exports=function(e,t,r){for(var c=i(t),s=a.f,l=o.f,u=0;u<c.length;u++){var f=c[u];n(e,f)||r&&n(r,f)||s(e,f,l(t,f))}}},68880:(e,t,r)=>{var n=r(19781),i=r(3070),o=r(79114);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},79114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},98052:(e,t,r)=>{var n=r(60614),i=r(3070),o=r(56339),a=r(13072);e.exports=function(e,t,r,c){c||(c={});var s=c.enumerable,l=void 0!==c.name?c.name:t;if(n(r)&&o(r,l,c),c.global)s?e[t]=r:a(t,r);else{try{c.unsafe?e[t]&&(s=!0):delete e[t]}catch(e){}s?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return e}},13072:(e,t,r)=>{var n=r(17854),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},19781:(e,t,r)=>{var n=r(47293);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:e=>{var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},80317:(e,t,r)=>{var n=r(17854),i=r(70111),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},88113:(e,t,r)=>{var n=r(35005);e.exports=n("navigator","userAgent")||""},7392:(e,t,r)=>{var n,i,o=r(17854),a=r(88113),c=o.process,s=o.Deno,l=c&&c.versions||s&&s.version,u=l&&l.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},80748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(e,t,r)=>{var n=r(17854),i=r(31236).f,o=r(68880),a=r(98052),c=r(13072),s=r(99920),l=r(54705);e.exports=function(e,t){var r,u,f,h,p,g=e.target,d=e.global,b=e.stat;if(r=d?n:b?n[g]||c(g,{}):(n[g]||{}).prototype)for(u in t){if(h=t[u],f=e.dontCallGetSet?(p=i(r,u))&&p.value:r[u],!l(d?u:g+(b?".":"#")+u,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;s(h,f)}(e.sham||f&&f.sham)&&o(h,"sham",!0),a(r,u,h,e)}}},47293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},34374:(e,t,r)=>{var n=r(47293);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},46916:(e,t,r)=>{var n=r(34374),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},76530:(e,t,r)=>{var n=r(19781),i=r(92597),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=i(o,"name"),s=c&&"something"===function(){}.name,l=c&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:c,PROPER:s,CONFIGURABLE:l}},40084:(e,t,r)=>{var n=r(34374),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);e.exports=function(e){return n?a(e):function(){return o.apply(e,arguments)}}},1702:(e,t,r)=>{var n=r(84326),i=r(40084);e.exports=function(e){if("Function"===n(e))return i(e)}},35005:(e,t,r)=>{var n=r(17854),i=r(60614),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},58173:(e,t,r)=>{var n=r(19662),i=r(68554);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},17854:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},92597:(e,t,r)=>{var n=r(1702),i=r(47908),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},3501:e=>{e.exports={}},64664:(e,t,r)=>{var n=r(19781),i=r(47293),o=r(80317);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},68361:(e,t,r)=>{var n=r(1702),i=r(47293),o=r(84326),a=Object,c=n("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?c(e,""):a(e)}:a},42788:(e,t,r)=>{var n=r(1702),i=r(60614),o=r(5465),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},29909:(e,t,r)=>{var n,i,o,a=r(94811),c=r(17854),s=r(70111),l=r(68880),u=r(92597),f=r(5465),h=r(6200),p=r(3501),g="Object already initialized",d=c.TypeError,b=c.WeakMap;if(a||f.state){var v=f.state||(f.state=new b);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw d(g);return t.facade=e,v.set(e,t),t},i=function(e){return v.get(e)||{}},o=function(e){return v.has(e)}}else{var m=h("state");p[m]=!0,n=function(e,t){if(u(e,m))throw d(g);return t.facade=e,l(e,m,t),t},i=function(e){return u(e,m)?e[m]:{}},o=function(e){return u(e,m)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!s(t)||(r=i(t)).type!==e)throw d("Incompatible receiver, "+e+" required");return r}}}},60614:(e,t,r)=>{var n=r(4154),i=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},54705:(e,t,r)=>{var n=r(47293),i=r(60614),o=/#|\.prototype\./,a=function(e,t){var r=s[c(e)];return r==u||r!=l&&(i(t)?n(t):!!t)},c=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=a.data={},l=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},68554:e=>{e.exports=function(e){return null==e}},70111:(e,t,r)=>{var n=r(60614),i=r(4154),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===o}:function(e){return"object"==typeof e?null!==e:n(e)}},31913:e=>{e.exports=!1},52190:(e,t,r)=>{var n=r(35005),i=r(60614),o=r(47976),a=r(43307),c=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,c(e))}},26244:(e,t,r)=>{var n=r(17466);e.exports=function(e){return n(e.length)}},56339:(e,t,r)=>{var n=r(47293),i=r(60614),o=r(92597),a=r(19781),c=r(76530).CONFIGURABLE,s=r(42788),l=r(29909),u=l.enforce,f=l.get,h=Object.defineProperty,p=a&&!n((function(){return 8!==h((function(){}),"length",{value:8}).length})),g=String(String).split("String"),d=e.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&(a?h(e,"name",{value:t,configurable:!0}):e.name=t),p&&r&&o(r,"arity")&&e.length!==r.arity&&h(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=u(e);return o(n,"source")||(n.source=g.join("string"==typeof t?t:"")),e};Function.prototype.toString=d((function(){return i(this)&&f(this).source||s(this)}),"toString")},74758:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},21574:(e,t,r)=>{"use strict";var n=r(19781),i=r(1702),o=r(46916),a=r(47293),c=r(81956),s=r(25181),l=r(55296),u=r(47908),f=r(68361),h=Object.assign,p=Object.defineProperty,g=i([].concat);e.exports=!h||a((function(){if(n&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=h({},e)[r]||c(h({},t)).join("")!=i}))?function(e,t){for(var r=u(e),i=arguments.length,a=1,h=s.f,p=l.f;i>a;)for(var d,b=f(arguments[a++]),v=h?g(c(b),h(b)):c(b),m=v.length,y=0;m>y;)d=v[y++],n&&!o(p,b,d)||(r[d]=b[d]);return r}:h},3070:(e,t,r)=>{var n=r(19781),i=r(64664),o=r(3353),a=r(19670),c=r(34948),s=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";t.f=n?o?function(e,t,r){if(a(e),t=c(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&p in r&&!r.writable){var n=u(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:h in r?r.configurable:n.configurable,enumerable:f in r?r.enumerable:n.enumerable,writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(a(e),t=c(t),a(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},31236:(e,t,r)=>{var n=r(19781),i=r(46916),o=r(55296),a=r(79114),c=r(45656),s=r(34948),l=r(92597),u=r(64664),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=c(e),t=s(t),u)try{return f(e,t)}catch(e){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},8006:(e,t,r)=>{var n=r(16324),i=r(80748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},25181:(e,t)=>{t.f=Object.getOwnPropertySymbols},47976:(e,t,r)=>{var n=r(1702);e.exports=n({}.isPrototypeOf)},16324:(e,t,r)=>{var n=r(1702),i=r(92597),o=r(45656),a=r(41318).indexOf,c=r(3501),s=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,u=[];for(r in n)!i(c,r)&&i(n,r)&&s(u,r);for(;t.length>l;)i(n,r=t[l++])&&(~a(u,r)||s(u,r));return u}},81956:(e,t,r)=>{var n=r(16324),i=r(80748);e.exports=Object.keys||function(e){return n(e,i)}},55296:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},92140:(e,t,r)=>{var n=r(46916),i=r(60614),o=r(70111),a=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&i(r=e.toString)&&!o(c=n(r,e)))return c;if(i(r=e.valueOf)&&!o(c=n(r,e)))return c;if("string"!==t&&i(r=e.toString)&&!o(c=n(r,e)))return c;throw a("Can't convert object to primitive value")}},53887:(e,t,r)=>{var n=r(35005),i=r(1702),o=r(8006),a=r(25181),c=r(19670),s=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(c(e)),r=a.f;return r?s(t,r(e)):t}},84488:(e,t,r)=>{var n=r(68554),i=TypeError;e.exports=function(e){if(n(e))throw i("Can't call method on "+e);return e}},6200:(e,t,r)=>{var n=r(72309),i=r(69711),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},5465:(e,t,r)=>{var n=r(17854),i=r(13072),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},72309:(e,t,r)=>{var n=r(31913),i=r(5465);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.5",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},36293:(e,t,r)=>{var n=r(7392),i=r(47293);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},51400:(e,t,r)=>{var n=r(19303),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},45656:(e,t,r)=>{var n=r(68361),i=r(84488);e.exports=function(e){return n(i(e))}},19303:(e,t,r)=>{var n=r(74758);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},17466:(e,t,r)=>{var n=r(19303),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},47908:(e,t,r)=>{var n=r(84488),i=Object;e.exports=function(e){return i(n(e))}},57593:(e,t,r)=>{var n=r(46916),i=r(70111),o=r(52190),a=r(58173),c=r(92140),s=r(5112),l=TypeError,u=s("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,s=a(e,u);if(s){if(void 0===t&&(t="default"),r=n(s,e,t),!i(r)||o(r))return r;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},34948:(e,t,r)=>{var n=r(57593),i=r(52190);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},66330:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},69711:(e,t,r)=>{var n=r(1702),i=0,o=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},43307:(e,t,r)=>{var n=r(36293);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(e,t,r)=>{var n=r(19781),i=r(47293);e.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},94811:(e,t,r)=>{var n=r(17854),i=r(60614),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},5112:(e,t,r)=>{var n=r(17854),i=r(72309),o=r(92597),a=r(69711),c=r(36293),s=r(43307),l=i("wks"),u=n.Symbol,f=u&&u.for,h=s?u:u&&u.withoutSetter||a;e.exports=function(e){if(!o(l,e)||!c&&"string"!=typeof l[e]){var t="Symbol."+e;c&&o(u,e)?l[e]=u[e]:l[e]=s&&f?f(t):h(t)}return l[e]}},19601:(e,t,r)=>{var n=r(82109),i=r(21574);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},69070:(e,t,r)=>{var n=r(82109),i=r(19781),o=r(3070).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},37670:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(87537),i=r.n(n),o=r(23645),a=r.n(o)()(i());a.push([e.id,"@media only screen and (max-width: 512px){.text-editor{top:auto}}","",{version:3,sources:["webpack://./src/components/ViewerComponent.vue"],names:[],mappings:"AACA,0CAEC,aACC,QAAA,CAAA",sourcesContent:["\n@media only screen and (max-width: 512px) {\n\t// on mobile, modal-container has top: 50px\n\t.text-editor {\n\t\ttop: auto;\n\t}\n}\n"],sourceRoot:""}]);const c=a},23645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(a[s]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);n&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},87537:e=>{"use strict";e.exports=function(e){var t=e[1],r=e[3];if(!r)return t;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),o="/*# ".concat(i," */"),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([o]).join("\n")}return[t].join("\n")}},35717:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},27418:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,c,s=i(e),l=1;l<arguments.length;l++){for(var u in a=Object(arguments[l]))r.call(a,u)&&(s[u]=a[u]);if(t){c=t(a);for(var f=0;f<c.length;f++)n.call(a,c[f])&&(s[c[f]]=a[c[f]])}}return s}},34155:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var c,s=[],l=!1,u=-1;function f(){l&&c&&(l=!1,c.length?s=c.concat(s):u=-1,s.length&&h())}function h(){if(!l){var e=a(f);l=!0;for(var t=s.length;t;){for(c=s,s=[];++u<t;)c&&c[u].run();u=-1,t=s.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function g(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];s.push(new p(e,t)),1!==s.length||l||a(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},93379:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var o={},a=[],c=0;c<e.length;c++){var s=e[c],l=n.base?s[0]+n.base:s[0],u=o[l]||0,f="".concat(l," ").concat(u);o[l]=u+1;var h=r(f),p={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var g=i(p,n);n.byIndex=c,t.splice(c,0,{identifier:f,updater:g,references:1})}a.push(f)}return a}function i(e,t){var r=t.domAPI(t);r.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,i){var o=n(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var c=r(o[a]);t[c].references--}for(var s=n(e,i),l=0;l<o.length;l++){var u=r(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=s}}},90569:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},19216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},44589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},20384:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},89539:(e,t,r)=>{var n=r(34155),i=r(25108),o=/%[sdj%]/g;t.format=function(e){if(!m(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(e).replace(o,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),c=n[r];r<i;c=n[++r])b(c)||!O(c)?a+=" "+c:a+=" "+s(c);return a},t.deprecate=function(e,o){if(y(r.g.process))return function(){return t.deprecate(e,o).apply(this,arguments)};if(!0===n.noDeprecation)return e;var a=!1;return function(){if(!a){if(n.throwDeprecation)throw new Error(o);n.traceDeprecation?i.trace(o):i.error(o),a=!0}return e.apply(this,arguments)}};var a,c={};function s(e,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(r)?n.showHidden=r:r&&t._extend(n,r),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),f(n,e,n.depth)}function l(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function u(e,t){return e}function f(e,r,n){if(e.customInspect&&r&&I(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return m(i)||(i=f(e,i,n)),i}var o=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(m(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(v(t))return e.stylize(""+t,"number");if(d(t))return e.stylize(""+t,"boolean");if(b(t))return e.stylize("null","null")}(e,r);if(o)return o;var a=Object.keys(r),c=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),x(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(r);if(0===a.length){if(I(r)){var s=r.name?": "+r.name:"";return e.stylize("[Function"+s+"]","special")}if(E(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return e.stylize(Date.prototype.toString.call(r),"date");if(x(r))return h(r)}var l,u="",O=!1,L=["{","}"];(g(r)&&(O=!0,L=["[","]"]),I(r))&&(u=" [Function"+(r.name?": "+r.name:"")+"]");return E(r)&&(u=" "+RegExp.prototype.toString.call(r)),w(r)&&(u=" "+Date.prototype.toUTCString.call(r)),x(r)&&(u=" "+h(r)),0!==a.length||O&&0!=r.length?n<0?E(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),l=O?function(e,t,r,n,i){for(var o=[],a=0,c=t.length;a<c;++a)R(t,String(a))?o.push(p(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(p(e,t,r,n,i,!0))})),o}(e,r,n,c,a):a.map((function(t){return p(e,r,n,c,t,O)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(l,u,L)):L[0]+u+L[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,r,n,i,o){var a,c,s;if((s=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?c=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(c=e.stylize("[Setter]","special")),R(n,i)||(a="["+i+"]"),c||(e.seen.indexOf(s.value)<0?(c=b(r)?f(e,s.value,null):f(e,s.value,r-1)).indexOf("\n")>-1&&(c=o?c.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+c.split("\n").map((function(e){return"   "+e})).join("\n")):c=e.stylize("[Circular]","special")),y(a)){if(o&&i.match(/^\d+$/))return c;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+c}function g(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function b(e){return null===e}function v(e){return"number"==typeof e}function m(e){return"string"==typeof e}function y(e){return void 0===e}function E(e){return O(e)&&"[object RegExp]"===L(e)}function O(e){return"object"==typeof e&&null!==e}function w(e){return O(e)&&"[object Date]"===L(e)}function x(e){return O(e)&&("[object Error]"===L(e)||e instanceof Error)}function I(e){return"function"==typeof e}function L(e){return Object.prototype.toString.call(e)}function S(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(y(a)&&(a=n.env.NODE_DEBUG||""),e=e.toUpperCase(),!c[e])if(new RegExp("\\b"+e+"\\b","i").test(a)){var r=n.pid;c[e]=function(){var n=t.format.apply(t,arguments);i.error("%s %d: %s",e,r,n)}}else c[e]=function(){};return c[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=g,t.isBoolean=d,t.isNull=b,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=m,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=y,t.isRegExp=E,t.isObject=O,t.isDate=w,t.isError=x,t.isFunction=I,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(20384);var j=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function N(){var e=new Date,t=[S(e.getHours()),S(e.getMinutes()),S(e.getSeconds())].join(":");return[e.getDate(),j[e.getMonth()],t].join(" ")}function R(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){i.log("%s - %s",N(),t.format.apply(t,arguments))},t.inherits=r(35717),t._extend=function(e,t){if(!t||!O(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}},51900:(e,t,r)=>{"use strict";function n(e,t,r,n,i,o,a,c){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(s=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)},l._ssrRegister=s):i&&(s=c?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(l.functional){l._injectStyles=s;var u=l.render;l.render=function(e,t){return s.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,s):[s]}return{exports:e,options:l}}r.d(t,{Z:()=>n})}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=i,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);a.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>o[e]=()=>r[e]));return o.default=()=>r,a.d(i,o),i},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>e+".js?v="+{vendors:"b31d483b13b99bf6a940",editor:"9441fec0089cb9dca8bc","files-modal":"f2caf83e49d1c9873345","highlight/1c":"0f34b871f8c27e510e17","highlight/abnf":"8418b3ca5aa2e0eeb3c4","highlight/accesslog":"193cab61f30a53474dbe","highlight/actionscript":"0160963adaeb03ddd2c6","highlight/ada":"cc4b4ffbf5a0e1a5ec8b","highlight/angelscript":"8ddf3d212233d9b5d349","highlight/apache":"72f935a30bf76305118e","highlight/applescript":"1e9ee111f9b130c52b53","highlight/arcade":"59adfc67d4bcc08c2810","highlight/arduino":"a35c152603b219918de2","highlight/armasm":"aa7928811dfd7acca71e","highlight/asciidoc":"5e49bf358dff3a434bb5","highlight/aspectj":"a2a8d760536a4f13c37b","highlight/autohotkey":"e48e8ee7320dc1d41f1d","highlight/autoit":"b087d9f3df127b6f31ef","highlight/avrasm":"7351adc4c5a2b520e145","highlight/awk":"9280cedb1849fc2503f6","highlight/axapta":"5c94f8e339425d53c56c","highlight/bash":"3e08b678c76e7afcb673","highlight/basic":"0b8a47af85eb555ad6a2","highlight/bnf":"4327271aec0f057c456a","highlight/brainfuck":"5950bb598b9d18901ee6","highlight/c":"062fd29b76965186e158","highlight/c-like":"50e84f62f963bfafa8cf","highlight/cal":"53c4da115fdbffc2f2de","highlight/capnproto":"9e7efe184f2fc3a5af4d","highlight/ceylon":"43da80a84f2eb93f720b","highlight/clean":"71225d5d4380dd7048b4","highlight/clojure":"0ff7a321eaadebf5e5fb","highlight/clojure-repl":"3d6923be929c0dfc5d9b","highlight/cmake":"bb6eea18e36693d3ee13","highlight/coffeescript":"6e6181f1de7fa33148ed","highlight/coq":"c39819510b96d6cfb79b","highlight/cos":"74a18b2f35747e898a1f","highlight/cpp":"ad08ed7df166597ca2e2","highlight/crmsh":"ec26a272d9782da0b519","highlight/crystal":"22a8072ddd7e969dad2b","highlight/csharp":"0efe866f49e12f8de1a1","highlight/csp":"043cec96608f2cfcf047","highlight/css":"115e6d0d4e5d8ec71143","highlight/d":"e20dc6578c553c76df9e","highlight/dart":"9218710803b503539db5","highlight/delphi":"0b54cb13f30a122dbea7","highlight/diff":"819d809d356c1ee4eb20","highlight/django":"89830db6a41e301cce77","highlight/dns":"af2765f9ae46628c9565","highlight/dockerfile":"62cdcf0cb24fd6b61150","highlight/dos":"2ed3283e268aac974fa4","highlight/dsconfig":"124e85dc67da77f9845e","highlight/dts":"af197a3bcd13bc490400","highlight/dust":"5f35802987033434cb45","highlight/ebnf":"f8826c4c127555845dfe","highlight/elixir":"9b970f6e5c5da7e8be77","highlight/elm":"d265f834285ab083405d","highlight/erb":"f97f07bef5de5cd5ccb7","highlight/erlang":"e85c22e0a73b8f946cbf","highlight/erlang-repl":"13af5babcc1d96d49b1f","highlight/excel":"87a77806dead994ab831","highlight/fix":"f2c13e8eee7875209d09","highlight/flix":"3db0a27e87fc2b296bc9","highlight/fortran":"e1ca86e222884da48c5b","highlight/fsharp":"d7f7b88414c75b644a4f","highlight/gams":"56e2b35ae27faf9ec8ca","highlight/gauss":"2f6fc7cca2b60afc2169","highlight/gcode":"7482c63b28c6e37ce175","highlight/gherkin":"f6041bfda6dfef745d56","highlight/glsl":"7597744f3846e8583bb8","highlight/gml":"cd405c1d8b442c1cd526","highlight/go":"2da572dcbd780c83a0bb","highlight/golo":"a89c8fdf271c5666244c","highlight/gradle":"51f15768233fb16ecfcf","highlight/groovy":"611d4fffe534495c31dd","highlight/haml":"376ec34cc81c891a76c7","highlight/handlebars":"d3447656b23949b619bb","highlight/haskell":"0468f3b1820450c5be84","highlight/haxe":"d6abe758f138d6bda2df","highlight/hsp":"6f33c58fd045e30f55c7","highlight/htmlbars":"dc4b38300f44fd29ef3b","highlight/http":"9b6fc091276cb385fee8","highlight/hy":"9493f77ee2949df78ad8","highlight/inform7":"a8bc9be6d212baf40a5b","highlight/ini":"399de0961c87502704e9","highlight/irpf90":"0498a9096261dc00c41c","highlight/isbl":"c9992936bebb8d7c0e8e","highlight/java":"3f2e32ee6b208bacefb2","highlight/javascript":"f41fdd2311fe601d335c","highlight/jboss-cli":"ca5d2a7fadea70abe0ff","highlight/json":"6f01d5e9b7f5427511d6","highlight/julia":"9a709fa2d834074d82d0","highlight/julia-repl":"f0aa3861f2820d6f7253","highlight/kotlin":"1a66da6784688d9385d7","highlight/lasso":"8cd5478ecc8768f5bfac","highlight/latex":"754ba25a9464ac0955c1","highlight/ldif":"d7f533e68999813ed035","highlight/leaf":"25b890170307c55819e4","highlight/less":"022a9c5c6d9ed842ac60","highlight/lisp":"cdd7d85922bde4958488","highlight/livecodeserver":"58ffe911972a028d00a3","highlight/livescript":"3d3ec0e18c0a6660927a","highlight/llvm":"43eef0a5bd764187e261","highlight/lsl":"d92e7a1c24b0d40decb6","highlight/lua":"7c6170f808f255b99294","highlight/makefile":"d2ad48950cf526c190ba","highlight/markdown":"e5155bdcc53e608f4c8c","highlight/mathematica":"37310e26599d2fa0d787","highlight/matlab":"7bf2d1fc58185d5227fe","highlight/maxima":"5ebd5f6c6666944140fe","highlight/mel":"6087c6e693748fb62cec","highlight/mercury":"47eb7dff494e73181321","highlight/mipsasm":"b4f37537ff29fda0feda","highlight/mizar":"442ef5dd9351647cfb81","highlight/mojolicious":"590c0909ac9eaf4dee63","highlight/monkey":"9745324172105d02ff67","highlight/moonscript":"147e03bd5401d0ef8497","highlight/n1ql":"0a461253e33a5955677b","highlight/nginx":"180d2b9be577d0a8cbdb","highlight/nim":"b377cd1fea559ce62544","highlight/nix":"05352ca9653c7282aa17","highlight/node-repl":"275f7ff741f507fb80cd","highlight/nsis":"13e9b33585e18196bbd4","highlight/objectivec":"f81c6c2fc5b9e6688fcf","highlight/ocaml":"9d81673eb0fc551c22da","highlight/openscad":"2c85a68daec3413e3272","highlight/oxygene":"9217cd47de23253bcd1b","highlight/parser3":"8c1c867375b9d6ea241b","highlight/perl":"7ac2f549f93a35960e69","highlight/pf":"f1f964ec3112bb56bd61","highlight/pgsql":"09d649186af68a00cf2c","highlight/php":"56a4de60f4b5ae1676b9","highlight/php-template":"39cbc717a221e0d5709e","highlight/plaintext":"44612fa299b99eed5a02","highlight/pony":"6e9139e244ee11496eb7","highlight/powershell":"3f54a1218b72bfd8b882","highlight/processing":"6ca0dc8250b886abd5b4","highlight/profile":"50329c2981699e2ff007","highlight/prolog":"327c9c2c315ce7f44c0b","highlight/properties":"0b7c5b3b911a74024862","highlight/protobuf":"8958e54c816bf43847cf","highlight/puppet":"1258761ae45e56983094","highlight/purebasic":"3428b33743aa198fbc71","highlight/python":"a9fbdf5051a47e429f77","highlight/python-repl":"8660c7e4ce2a9e63fd1e","highlight/q":"d68456df812d162520ab","highlight/qml":"91f409e0521389b99f13","highlight/r":"cadc06e542742d6723f3","highlight/reasonml":"e64dce93807f3b6affbe","highlight/rib":"3cfb22df561ade15d2d4","highlight/roboconf":"663408ebf7b80c1fd3f0","highlight/routeros":"e84fd048f06cfbd08d03","highlight/rsl":"b274c9ef636b31c93baf","highlight/ruby":"b74985c4e859bf2ec971","highlight/ruleslanguage":"954ba414a83283b9ebf8","highlight/rust":"00c3e472c5aace5bc1e4","highlight/sas":"7e0604e24a38f09b8926","highlight/scala":"36a231ab91010d272638","highlight/scheme":"862ccf7690ba73c5ddd7","highlight/scilab":"3972a2c91d5ecc778527","highlight/scss":"5c0c0e4989e20d7c6cfd","highlight/shell":"8ca180eb913c9d91b2df","highlight/smali":"2f3751eec5877ed1904e","highlight/smalltalk":"3be6545d5c63418d1a33","highlight/sml":"c5e37b1d25ce8a3d1872","highlight/sqf":"8c8c1d9654b3d66ed64d","highlight/sql":"81e132b850e931228dc2","highlight/sql_more":"5cec38aef73a369a9c2f","highlight/stan":"becf5baa6c3a20abae7c","highlight/stata":"1e672390f18b628f0984","highlight/step21":"5045d7d55a9c0858fd26","highlight/stylus":"327d8d8622adbdf6c049","highlight/subunit":"a086d4603c5773688c9a","highlight/swift":"33f811c40feba3b770b6","highlight/taggerscript":"56713876575881defc74","highlight/tap":"139f8239eddd5edc527f","highlight/tcl":"ed67f303b4116a78ea24","highlight/thrift":"4086b619f4366174c5c2","highlight/tp":"c570905e1377b233e7a4","highlight/twig":"aae6cb3f6c7e56d6e91f","highlight/typescript":"670010fe7e7e5bee4e96","highlight/vala":"e0d361119856cce3a577","highlight/vbnet":"e1038a5979596e54cd56","highlight/vbscript":"cf0204920d10671ea08c","highlight/vbscript-html":"2391befe8dec9447f542","highlight/verilog":"15ac71690f335ff8fd15","highlight/vhdl":"2aacb5ea49adab19ef42","highlight/vim":"95b56e8a65b48da113b8","highlight/x86asm":"4c39a528f099a64418c3","highlight/xl":"58aceb6b3d280cdfca43","highlight/xml":"72b45292d5519d0bbd99","highlight/xquery":"ae4cdbcba5d2ef7cc102","highlight/yaml":"aea56642f33dab609351","highlight/zephir":"514f70b5e05f5c056707","editor-collab":"55367dd1871a2ad8edeb","editor-guest":"3507a7cd9abd897a8d16"}[e],a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@nextcloud/text:",a.l=(e,t,i,o)=>{if(r[e])r[e].push(t);else{var c,s;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var f=l[u];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+i){c=f;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.setAttribute("data-webpack",n+i),c.src=e),r[e]=[t];var h=(t,n)=>{c.onerror=c.onload=null,clearTimeout(p);var i=r[e];if(delete r[e],c.parentNode&&c.parentNode.removeChild(c),i&&i.forEach((e=>e(n))),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=h.bind(null,c.onerror),c.onload=h.bind(null,c.onload),s&&document.head.appendChild(c)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.j="viewer",a.p="/apps/text/js/",(()=>{a.b=document.baseURI||self.location.href;var e={viewer:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=i);var o=a.p+a.u(t),c=new Error;a.l(o,(r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",c.name="ChunkLoadError",c.type=i,c.request=o,n[1](c)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,i,[o,c,s]=r,l=0;if(o.some((t=>0!==e[t]))){for(n in c)a.o(c,n)&&(a.m[n]=c[n]);if(s)s(a)}for(t&&t(r);l<o.length;l++)i=o[l],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunk_nextcloud_text=self.webpackChunk_nextcloud_text||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),a.nc=void 0,(()=>{"use strict";const e={name:"ViewerComponent",components:{Editor:function(){return Promise.all([a.e("vendors"),a.e("editor")]).then(a.bind(a,21993))}},props:{filename:{type:String,default:null},fileid:{type:Number,default:null},active:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!0},shareToken:{type:String,default:function(){return document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null}},mime:{type:String,default:null}},beforeMount:function(){void 0!==this.$parent.$parent&&this.$parent.$parent.onResize&&window.removeEventListener("resize",this.$parent.$parent.onResize)}};var t=a(93379),r=a.n(t),n=a(7795),i=a.n(n),o=a(90569),c=a.n(o),s=a(3565),l=a.n(s),u=a(19216),f=a.n(u),h=a(44589),p=a.n(h),g=a(37670),d={};d.styleTagTransform=p(),d.setAttributes=l(),d.insert=c().bind(null,"head"),d.domAPI=i(),d.insertStyleElement=f();r()(g.Z,d);g.Z&&g.Z.locals&&g.Z.locals;const b=(0,a(51900).Z)(e,(function(){var e=this;return(0,e._self._c)("Editor",{attrs:{"file-id":e.fileid,"relative-path":e.filename,active:e.active,autofocus:e.autofocus,"share-token":e.shareToken,mime:e.mime}})}),[],!1,null,null,null).exports;var v=a(52029),m=a(74411);function y(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return E(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}a.nc=btoa(OC.requestToken),a.p=OC.linkTo("text","js/"),void 0===OCA.Viewer?v.k.error("Viewer app is not installed"):OCA.Viewer.registerHandler({id:"text",mimes:[].concat(y(m.lF),y(m.w_)),component:b,group:null,theme:"default"})})()})();
//# sourceMappingURL=text-viewer.js.map?v=89e530fd48835f7e0b3d