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

github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-04-26 21:02:47 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-04-26 21:03:57 +0300
commita95891b58ab5803b5e524c48d8b134ed08dca0ee (patch)
tree6c9b0a515804f1c0638462a94e8ee5e585f5300f /js/files_pdfviewer-public.js
parent29635ecbdd1c0ded337259f61e5671688e9efa6a (diff)
Migrate babel config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'js/files_pdfviewer-public.js')
-rw-r--r--js/files_pdfviewer-public.js112
1 files changed, 3 insertions, 109 deletions
diff --git a/js/files_pdfviewer-public.js b/js/files_pdfviewer-public.js
index c3fe466..daa69bc 100644
--- a/js/files_pdfviewer-public.js
+++ b/js/files_pdfviewer-public.js
@@ -1,109 +1,3 @@
-!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/js/",n(n.s=140)}([function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(55))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(1),o=n(36),i=n(2),u=n(27),c=n(42),s=n(63),a=o("wks"),f=r.Symbol,l=s?f:f&&f.withoutSetter||u;e.exports=function(e){return i(a,e)||(c&&i(f,e)?a[e]=f[e]:a[e]=l("Symbol."+e)),a[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(6);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(4),o=n(9),i=n(17);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(1),o=n(30).f,i=n(7),u=n(10),c=n(18),s=n(57),a=n(47);e.exports=function(e,t){var n,f,l,p,v,h=e.target,d=e.global,g=e.stat;if(n=d?r:g?r[h]||c(h,{}):(r[h]||{}).prototype)for(f in t){if(p=t[f],l=e.noTargetGet?(v=o(n,f))&&v.value:n[f],!a(d?f:h+(g?".":"#")+f,e.forced)&&void 0!==l){if(typeof p==typeof l)continue;s(p,l)}(e.sham||l&&l.sham)&&i(p,"sham",!0),u(n,f,p,e)}}},function(e,t,n){var r=n(4),o=n(32),i=n(5),u=n(25),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(i(e),t=u(t,!0),i(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(1),o=n(7),i=n(2),u=n(18),c=n(33),s=n(26),a=s.get,f=s.enforce,l=String(String).split("String");(e.exports=function(e,t,n,c){var s=!!c&&!!c.unsafe,a=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),f(n).source=l.join("string"==typeof t?t:"")),e!==r?(s?!p&&e[t]&&(a=!0):delete e[t],a?e[t]=n:o(e,t,n)):a?e[t]=n:u(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||c(this)}))},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,n){var r=n(24),o=n(11);e.exports=function(e){return r(o(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(12),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(11);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(1),o=n(7);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t){e.exports={}},function(e,t,n){var r={};r[n(3)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){"use strict";var r,o,i=n(44),u=n(65),c=RegExp.prototype.exec,s=String.prototype.replace,a=c,f=(r=/a/,o=/b*/g,c.call(r,"a"),c.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=u.UNSUPPORTED_Y||u.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(f||p||l)&&(a=function(e){var t,n,r,o,u=this,a=l&&u.sticky,v=i.call(u),h=u.source,d=0,g=e;return a&&(-1===(v=v.replace("y","")).indexOf("g")&&(v+="g"),g=String(e).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==e[u.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,d++),n=new RegExp("^(?:"+h+")",v)),p&&(n=new RegExp("^"+h+"$(?!\\s)",v)),f&&(t=u.lastIndex),r=c.call(a?n:u,g),a?r?(r.input=r.input.slice(d),r[0]=r[0].slice(d),r.index=u.lastIndex,u.lastIndex+=r[0].length):u.lastIndex=0:f&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),p&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=a},function(e,t,n){"use strict";
-/**
- * @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @author John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */const r=document.getElementById("hideDownload");t.a=()=>!r||r&&"true"!==r.value},function(e,t,n){"use strict";n(54),n(49),n(51),n(43),n(66),n(67),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 o()+"/remote.php/"+e}(e)};t.generateOcsUrl=function(e,t){return t=2!==t?1:2,window.location.protocol+"//"+window.location.host+o()+"/ocs/v"+t+".php/"+e+"/"};t.generateUrl=function(e,t,n){var r=Object.assign({escape:!0,noRewrite:!1},n||{}),i=function(e,t){return t=t||{},e.replace(/{([^{}]*)}/g,(function(e,n){var o=t[n];return r.escape?"string"==typeof o||"number"==typeof o?encodeURIComponent(o.toString()):encodeURIComponent(e):"string"==typeof o||"number"==typeof o?o.toString():e}))};return"/"!==e.charAt(0)&&(e="/"+e),!0!==OC.config.modRewriteWorking||r.noRewrite?o()+"/index.php"+i(e,t||{}):o()+i(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),i=o();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(i+="settings"!==e&&"core"!==e&&"search"!==e||"ajax"!==t?"/":"/index.php/",r||(i+="apps/"),""!==e&&(i+=e+="/"),t&&(i+=t+"/"),i+=n):(i=OC.appswebroots[e],t&&(i+="/"+t+"/"),"/"!==i.substring(i.length-1)&&(i+="/"),i+=n):(i+="/index.php/apps/"+e,"index.php"!==n&&(i+="/",t&&(i+=encodeURI(t+"/")),i+=n)),i};t.generateFilePath=r;var o=function(){return OC.webroot};t.getRootUrl=o},function(e,t,n){var r=n(0),o=n(14),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(6);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r,o,i,u=n(56),c=n(1),s=n(6),a=n(7),f=n(2),l=n(35),p=n(19),v=c.WeakMap;if(u){var h=new v,d=h.get,g=h.has,E=h.set;r=function(e,t){return E.call(h,e,t),t},o=function(e){return d.call(h,e)||{}},i=function(e){return g.call(h,e)}}else{var y=l("state");p[y]=!0,r=function(e,t){return a(e,y,t),t},o=function(e){return f(e,y)?e[y]:{}},i=function(e){return f(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},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(59),o=n(1),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var r=n(4),o=n(31),i=n(17),u=n(13),c=n(25),s=n(2),a=n(32),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=u(e),t=c(t,!0),a)try{return f(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(4),o=n(0),i=n(46);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(34),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(1),o=n(18),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(36),o=n(27),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(37),o=n(34);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,n){var r=n(2),o=n(13),i=n(39).indexOf,u=n(19);e.exports=function(e,t){var n,c=o(e),s=0,a=[];for(n in c)!r(u,n)&&r(c,n)&&a.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~i(a,n)||a.push(n));return a}},function(e,t,n){var r=n(13),o=n(15),i=n(61),u=function(e){return function(t,n,u){var c,s=r(t),a=o(s.length),f=i(u,a);if(e&&n!=n){for(;a>f;)if((c=s[f++])!=c)return!0}else for(;a>f;f++)if((e||f in s)&&s[f]===n)return e||f||0;return!e&&-1}};e.exports={includes:u(!0),indexOf:u(!1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(4),o=n(0),i=n(2),u=Object.defineProperty,c={},s=function(e){throw e};e.exports=function(e,t){if(i(c,e))return c[e];t||(t={});var n=[][e],a=!!i(t,"ACCESSORS")&&t.ACCESSORS,f=i(t,0)?t[0]:s,l=i(t,1)?t[1]:void 0;return c[e]=!!n&&!o((function(){if(a&&!r)return!0;var e={length:-1};a?u(e,1,{enumerable:!0,get:s}):e[1]=1,n.call(e,f,l)}))}},function(e,t,n){var r=n(0);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){"use strict";var r=n(8),o=n(21);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){"use strict";var r=n(5);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t){e.exports={}},function(e,t,n){var r=n(1),o=n(6),i=r.document,u=o(i)&&o(i.createElement);e.exports=function(e){return u?i.createElement(e):{}}},function(e,t,n){var r=n(0),o=/#|\.prototype\./,i=function(e,t){var n=c[u(e)];return n==a||n!=s&&("function"==typeof t?r(t):!!t)},u=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},s=i.NATIVE="N",a=i.POLYFILL="P";e.exports=i},function(e,t,n){"use strict";var r=n(0);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){var r=n(8),o=n(62);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){var r=n(38),o=n(29);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(20),o=n(10),i=n(64);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){var r=n(20),o=n(14),i=n(3)("toStringTag"),u="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:u?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(12),o=n(11),i=function(e){return function(t,n){var i,u,c=String(o(t)),s=r(n),a=c.length;return s<0||s>=a?e?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===a||(u=c.charCodeAt(s+1))<56320||u>57343?e?c.charAt(s):i:e?c.slice(s,s+2):u-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var r=n(8),o=n(39).indexOf,i=n(48),u=n(41),c=[].indexOf,s=!!c&&1/[1].indexOf(1,-0)<0,a=i("indexOf"),f=u("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:s||!a||!f},{indexOf:function(e){return s?c.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(1),o=n(33),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(2),o=n(58),i=n(30),u=n(9);e.exports=function(e,t){for(var n=o(t),c=u.f,s=i.f,a=0;a<n.length;a++){var f=n[a];r(e,f)||c(e,f,s(t,f))}}},function(e,t,n){var r=n(28),o=n(60),i=n(40),u=n(5);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(u(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(1);e.exports=r},function(e,t,n){var r=n(38),o=n(29).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(12),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){"use strict";var r=n(4),o=n(0),i=n(50),u=n(40),c=n(31),s=n(16),a=n(24),f=Object.assign,l=Object.defineProperty;e.exports=!f||o((function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||"abcdefghijklmnopqrst"!=i(f({},t)).join("")}))?function(e,t){for(var n=s(e),o=arguments.length,f=1,l=u.f,p=c.f;o>f;)for(var v,h=a(arguments[f++]),d=l?i(h).concat(l(h)):i(h),g=d.length,E=0;g>E;)v=d[E++],r&&!p.call(h,v)||(n[v]=h[v]);return n}:f},function(e,t,n){var r=n(42);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){"use strict";var r=n(20),o=n(52);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){"use strict";var r=n(0);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){"use strict";var r=n(10),o=n(5),i=n(0),u=n(44),c=RegExp.prototype,s=c.toString,a=i((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),f="toString"!=s.name;(a||f)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?u.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";var r=n(68),o=n(5),i=n(16),u=n(15),c=n(12),s=n(11),a=n(69),f=n(70),l=Math.max,p=Math.min,v=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=r.REPLACE_KEEPS_$0,y=g?"$":"$0";return[function(n,r){var o=s(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!g&&E||"string"==typeof r&&-1===r.indexOf(y)){var i=n(t,e,this,r);if(i.done)return i.value}var s=o(e),v=String(this),h="function"==typeof r;h||(r=String(r));var d=s.global;if(d){var O=s.unicode;s.lastIndex=0}for(var m=[];;){var x=f(s,v);if(null===x)break;if(m.push(x),!d)break;""===String(x[0])&&(s.lastIndex=a(v,u(s.lastIndex),O))}for(var I,R="",L=0,S=0;S<m.length;S++){x=m[S];for(var w=String(x[0]),T=l(p(c(x.index),v.length),0),A=[],N=1;N<x.length;N++)A.push(void 0===(I=x[N])?I:String(I));var P=x.groups;if(h){var j=[w].concat(A,T,v);void 0!==P&&j.push(P);var _=String(r.apply(void 0,j))}else _=b(w,v,T,A,P,r);T>=L&&(R+=v.slice(L,T)+_,L=T+w.length)}return R+v.slice(L)}];function b(e,n,r,o,u,c){var s=r+e.length,a=o.length,f=d;return void 0!==u&&(u=i(u),f=h),t.call(c,f,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=u[i.slice(1,-1)];break;default:var f=+i;if(0===f)return t;if(f>a){var l=v(f/10);return 0===l?t:l<=a?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):t}c=o[f-1]}return void 0===c?"":c}))}}))},function(e,t,n){"use strict";n(43);var r=n(10),o=n(0),i=n(3),u=n(21),c=n(7),s=i("species"),a=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),v=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,l){var h=i(e),d=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),g=d&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!d||!g||"replace"===e&&(!a||!f||p)||"split"===e&&!v){var E=/./[h],y=n(h,""[e],(function(e,t,n,r,o){return t.exec===u?d&&!o?{done:!0,value:E.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=y[0],O=y[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return O.call(e,this,t)}:function(e){return O.call(e,this)})}l&&c(RegExp.prototype[h],"sham",!0)}},function(e,t,n){"use strict";var r=n(53).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(14),o=n(21);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){var r=n(105);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,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){const 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){var r,o=n(5),i=n(119),u=n(29),c=n(19),s=n(120),a=n(46),f=n(35),l=f("IE_PROTO"),p=function(){},v=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(v("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=a("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(v("document.F=Object")),e.close(),e.F);for(var n=u.length;n--;)delete h.prototype[u[n]];return h()};c[l]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[l]=e):n=h(),void 0===t?n:i(n,t)}},function(e,t,n){"use strict";var r=n(8),o=n(121),i=n(90),u=n(91),c=n(75),s=n(7),a=n(10),f=n(3),l=n(37),p=n(45),v=n(89),h=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,g=f("iterator"),E=function(){return this};e.exports=function(e,t,n,f,v,y,b){o(n,t,f);var O,m,x,I=function(e){if(e===v&&T)return T;if(!d&&e in S)return S[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},R=t+" Iterator",L=!1,S=e.prototype,w=S[g]||S["@@iterator"]||v&&S[v],T=!d&&w||I(v),A="Array"==t&&S.entries||w;if(A&&(O=i(A.call(new e)),h!==Object.prototype&&O.next&&(l||i(O)===h||(u?u(O,h):"function"!=typeof O[g]&&s(O,g,E)),c(O,R,!0,!0),l&&(p[R]=E))),"values"==v&&w&&"values"!==w.name&&(L=!0,T=function(){return w.call(this)}),l&&!b||S[g]===T||s(S,g,T),p[t]=T,v)if(m={values:I("values"),keys:y?T:I("keys"),entries:I("entries")},b)for(x in m)(d||L||!(x in S))&&a(S,x,m[x]);else r({target:t,proto:!0,forced:d||L},m);return m}},function(e,t,n){var r=n(9).f,o=n(2),i=n(3)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},,function(e,t,n){"use strict";var r=n(8),o=n(78);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){"use strict";var r=n(79).forEach,o=n(48),i=n(41),u=o("forEach"),c=i("forEach");e.exports=u&&c?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(71),o=n(24),i=n(16),u=n(15),c=n(80),s=[].push,a=function(e){var t=1==e,n=2==e,a=3==e,f=4==e,l=6==e,p=5==e||l;return function(v,h,d,g){for(var E,y,b=i(v),O=o(b),m=r(h,d,3),x=u(O.length),I=0,R=g||c,L=t?R(v,x):n?R(v,0):void 0;x>I;I++)if((p||I in O)&&(y=m(E=O[I],I,b),e))if(t)L[I]=y;else if(y)switch(e){case 3:return!0;case 5:return E;case 6:return I;case 2:s.call(L,E)}else if(f)return!1;return l?-1:a||f?f:L}};e.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6)}},function(e,t,n){var r=n(6),o=n(81),i=n(3)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(14);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(72),o=n(83),i=(t=e.exports={}).re=[],u=t.src=[],c=t.t={};let s=0;const a=(e,t,n)=>{const r=s++;o(r,t),c[e]=r,u[r]=t,i[r]=new RegExp(t,n?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),a("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),a("PRERELEASEIDENTIFIER",`(?:${u[c.NUMERICIDENTIFIER]}|${u[c.NONNUMERICIDENTIFIER]})`),a("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NUMERICIDENTIFIERLOOSE]}|${u[c.NONNUMERICIDENTIFIER]})`),a("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),a("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),a("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),a("FULL",`^${u[c.FULLPLAIN]}$`),a("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),a("LOOSE",`^${u[c.LOOSEPLAIN]}$`),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE",u[c.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),a("XRANGEIDENTIFIER",u[c.NUMERICIDENTIFIER]+"|x|X|\\*"),a("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),a("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),a("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),a("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),a("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),a("COERCERTL",u[c.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",a("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),a("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),a("LONECARET","(?:\\^)"),a("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",a("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),a("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),a("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),a("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),a("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),a("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},function(e,t,n){(function(t){const n="object"==typeof t&&t.env&&t.env.NODE_DEBUG&&/\bsemver\b/i.test(t.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=n}).call(this,n(110))},function(e,t,n){const r=n(83),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(72),{re:u,t:c}=n(82),s=n(85),{compareIdentifiers:a}=n(111);class f{constructor(e,t){if(t=s(t),e instanceof f){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>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?u[c.LOOSE]:u[c.FULL]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=n[5]?n[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(r("SemVer.compare",this.version,this.options,e),!(e instanceof f)){if("string"==typeof e&&e===this.version)return 0;e=new f(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof f||(e=new f(e,this.options)),a(this.major,e.major)||a(this.minor,e.minor)||a(this.patch,e.patch)}comparePre(e){if(e instanceof f||(e=new f(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 n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return a(n,o)}while(++t)}compareBuild(e){e instanceof f||(e=new f(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return a(n,o)}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&&(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=f},function(e,t){const n=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:n.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}},function(e,t,n){var r=n(0),o=n(3),i=n(87),u=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[u]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r,o,i=n(1),u=n(116),c=i.process,s=c&&c.versions,a=s&&s.v8;a?o=(r=a.split("."))[0]+r[1]:u&&(!(r=u.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){"use strict";var r=n(13),o=n(118),i=n(45),u=n(26),c=n(74),s=u.set,a=u.getterFor("Array Iterator");e.exports=c(Array,"Array",(function(e,t){s(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=a(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){"use strict";var r,o,i,u=n(90),c=n(7),s=n(2),a=n(3),f=n(37),l=a("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||s(r,l)||c(r,l,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){var r=n(2),o=n(16),i=n(35),u=n(122),c=i("IE_PROTO"),s=Object.prototype;e.exports=u?Object.getPrototypeOf:function(e){return e=o(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var r=n(5),o=n(123);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(19),o=n(6),i=n(2),u=n(9).f,c=n(27),s=n(126),a=c("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(e){u(e,a,{value:{objectID:"O"+ ++f,weakData:{}}})},v=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,a)){if(!l(e))return"F";if(!t)return"E";p(e)}return e[a].objectID},getWeakData:function(e,t){if(!i(e,a)){if(!l(e))return!0;if(!t)return!1;p(e)}return e[a].weakData},onFreeze:function(e){return s&&v.REQUIRED&&l(e)&&!i(e,a)&&p(e),e}};r[a]=!0},function(e,t,n){var r=n(5),o=n(127),i=n(15),u=n(71),c=n(128),s=n(129),a=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,f,l){var p,v,h,d,g,E,y,b=u(t,n,f?2:1);if(l)p=e;else{if("function"!=typeof(v=c(e)))throw TypeError("Target is not iterable");if(o(v)){for(h=0,d=i(e.length);d>h;h++)if((g=f?b(r(y=e[h])[0],y[1]):b(e[h]))&&g instanceof a)return g;return new a(!1)}p=v.call(e)}for(E=p.next;!(y=E.call(p)).done;)if("object"==typeof(g=s(p,b,y.value,f))&&g&&g instanceof a)return g;return new a(!1)}).stop=function(e){return new a(!0,e)}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLoggerBuilder=i,t.getLogger=function(){return i().build()};var r=n(100),o=n(102);function i(){return new o.LoggerBuilder(r.buildConsoleLogger)}},,,,function(e,t,n){"use strict";n(49),Object.defineProperty(t,"__esModule",{value:!0}),t.buildConsoleLogger=function(e){return new i(e)},t.ConsoleLogger=void 0;var r=n(101);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.context=t}var t,n,i;return t=e,(n=[{key:"formatMessage",value:function(e,t,n){var r="["+t+"]";return n&&n.app&&(r+=" "+n.app+": "),r+e}},{key:"log",value:function(e,t,n){switch(e){case 0:console.debug(this.formatMessage(t,r.LogLevel.Debug,n),n);break;case 1:console.info(this.formatMessage(t,r.LogLevel.Info,n),n);break;case 2:console.warn(this.formatMessage(t,r.LogLevel.Warn,n),n);break;case 3:console.error(this.formatMessage(t,r.LogLevel.Error,n),n);break;default:console.error(this.formatMessage(t,r.LogLevel.Fatal,n),n)}}},{key:"debug",value:function(e,t){this.log(0,e,Object.assign({},this.context,t))}},{key:"info",value:function(e,t){this.log(1,e,Object.assign({},this.context,t))}},{key:"warn",value:function(e,t){this.log(2,e,Object.assign({},this.context,t))}},{key:"error",value:function(e,t){this.log(3,e,Object.assign({},this.context,t))}},{key:"fatal",value:function(e,t){this.log(4,e,Object.assign({},this.context,t))}}])&&o(t.prototype,n),i&&o(t,i),e}();t.ConsoleLogger=i},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=void 0,t.LogLevel=r,function(e){e.Debug="DEBUG",e.Info="INFO",e.Warn="WARN",e.Error="ERROR",e.Fatal="FATAL"}(r||(t.LogLevel=r={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggerBuilder=void 0;var r=n(103);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.context={},this.factory=t}var t,n,i;return t=e,(n=[{key:"setApp",value:function(e){return this.context.app=e,this}},{key:"setUid",value:function(e){return this.context.uid=e,this}},{key:"detectUser",value:function(){var e=(0,r.getCurrentUser)();return null!==e&&(this.context.uid=e.uid),this}},{key:"build",value:function(){return this.factory(this.context)}}])&&o(t.prototype,n),i&&o(t,i),e}();t.LoggerBuilder=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRequestToken",{enumerable:!0,get:function(){return r.getRequestToken}}),Object.defineProperty(t,"onRequestTokenUpdate",{enumerable:!0,get:function(){return r.onRequestTokenUpdate}}),Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return o.getCurrentUser}});var r=n(104),o=n(138)},function(e,t,n){"use strict";n(77),Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestToken=function(){return i},t.onRequestTokenUpdate=function(e){u.push(e)};var r=n(106),o=document.getElementsByTagName("head")[0],i=o?o.getAttribute("data-requesttoken"):null,u=[];(0,r.subscribe)("csrf-token-update",(function(e){i=e.token,u.forEach((function(t){try{t(e.token)}catch(e){console.error("error updating CSRF token observer",e)}}))}))},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribe=function(e,t){i.subscribe(e,t)},t.unsubscribe=function(e,t){i.unsubscribe(e,t)},t.emit=function(e,t){i.emit(e,t)};var r=n(107),o=n(113);var i=(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 o.SimpleBus)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyBus=void 0;var r=i(n(108)),o=i(n(112));function i(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c="1.2.0",s=function(){function e(t){var n,i,u;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u=void 0,(i="bus")in(n=this)?Object.defineProperty(n,i,{value:u,enumerable:!0,configurable:!0,writable:!0}):n[i]=u,"function"==typeof t.getVersion&&(0,r.default)(t.getVersion())?(0,o.default)(t.getVersion())!==(0,o.default)(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}var t,n,i;return t=e,(n=[{key:"getVersion",value:function(){return c}},{key:"subscribe",value:function(e,t){this.bus.subscribe(e,t)}},{key:"unsubscribe",value:function(e,t){this.bus.unsubscribe(e,t)}},{key:"emit",value:function(e,t){this.bus.emit(e,t)}}])&&u(t.prototype,n),i&&u(t,i),e}();t.ProxyBus=s},function(e,t,n){const r=n(109);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},function(e,t,n){const{MAX_LENGTH:r}=n(72),{re:o,t:i}=n(82),u=n(84),c=n(85);e.exports=(e,t)=>{if(t=c(t),e instanceof u)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new u(e,t)}catch(e){return null}}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var s,a=[],f=!1,l=-1;function p(){f&&s&&(f=!1,s.length?a=s.concat(a):l=-1,a.length&&v())}function v(){if(!f){var e=c(p);f=!0;for(var t=a.length;t;){for(s=a,a=[];++l<t;)s&&s[l].run();l=-1,t=a.length}s=null,f=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!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 h(e,t){this.fun=e,this.array=t}function d(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];a.push(new h(e,t)),1!==a.length||f||c(v)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=d,o.addListener=d,o.once=d,o.off=d,o.removeListener=d,o.removeAllListeners=d,o.emit=d,o.prependListener=d,o.prependOnceListener=d,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){const n=/^[0-9]+$/,r=(e,t)=>{const r=n.test(e),o=n.test(t);return r&&o&&(e=+e,t=+t),e===t?0:r&&!o?-1:o&&!r?1:e<t?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},function(e,t,n){const r=n(84);e.exports=(e,t)=>new r(e,t).major},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(114),n(117),n(77),n(88),n(124),n(51),n(135),n(136),n(137),Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleBus=void 0;var o="1.2.0",i=function(){function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n="handlers",r=new Map,n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}var t,n,i;return t=e,(n=[{key:"getVersion",value:function(){return o}},{key:"subscribe",value:function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).concat(t))}},{key:"unsubscribe",value:function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).filter((function(e){return e!=t})))}},{key:"emit",value:function(e,t){(this.handlers.get(e)||[]).forEach((function(e){try{e(t)}catch(e){console.error("could not invoke event listener",e)}}))}}])&&r(t.prototype,n),i&&r(t,i),e}();t.SimpleBus=i},function(e,t,n){"use strict";var r=n(8),o=n(0),i=n(81),u=n(6),c=n(16),s=n(15),a=n(115),f=n(80),l=n(86),p=n(3),v=n(87),h=p("isConcatSpreadable"),d=v>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=l("concat"),E=function(e){if(!u(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(e){var t,n,r,o,i,u=c(this),l=f(u,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(E(i=-1===t?u:arguments[t])){if(p+(o=s(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&a(l,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");a(l,p++,i)}return l.length=p,l}})},function(e,t,n){"use strict";var r=n(25),o=n(9),i=n(17);e.exports=function(e,t,n){var u=r(t);u in e?o.f(e,u,i(0,n)):e[u]=n}},function(e,t,n){var r=n(28);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(8),o=n(79).filter,i=n(86),u=n(41),c=i("filter"),s=u("filter");r({target:"Array",proto:!0,forced:!c||!s},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(3),o=n(73),i=n(9),u=r("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),e.exports=function(e){c[u][e]=!0}},function(e,t,n){var r=n(4),o=n(9),i=n(5),u=n(50);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=u(t),c=r.length,s=0;c>s;)o.f(e,n=r[s++],t[n]);return e}},function(e,t,n){var r=n(28);e.exports=r("document","documentElement")},function(e,t,n){"use strict";var r=n(89).IteratorPrototype,o=n(73),i=n(17),u=n(75),c=n(45),s=function(){return this};e.exports=function(e,t,n){var a=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),u(e,a,!1,!0),c[a]=s,e}},function(e,t,n){var r=n(0);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(125),o=n(132);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},function(e,t,n){"use strict";var r=n(8),o=n(1),i=n(47),u=n(10),c=n(92),s=n(93),a=n(94),f=n(6),l=n(0),p=n(130),v=n(75),h=n(131);e.exports=function(e,t,n){var d=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),E=d?"set":"add",y=o[e],b=y&&y.prototype,O=y,m={},x=function(e){var t=b[e];u(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!f(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!f(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!f(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof y||!(g||b.forEach&&!l((function(){(new y).entries().next()})))))O=n.getConstructor(t,e,d,E),c.REQUIRED=!0;else if(i(e,!0)){var I=new O,R=I[E](g?{}:-0,1)!=I,L=l((function(){I.has(1)})),S=p((function(e){new y(e)})),w=!g&&l((function(){for(var e=new y,t=5;t--;)e[E](t,t);return!e.has(-0)}));S||((O=t((function(t,n){a(t,O,e);var r=h(new y,t,O);return null!=n&&s(n,r[E],r,d),r}))).prototype=b,b.constructor=O),(L||w)&&(x("delete"),x("has"),d&&x("get")),(w||R)&&x(E),g&&b.clear&&delete b.clear}return m[e]=O,r({global:!0,forced:O!=y},m),v(O,e),g||n.setStrong(O,e,d),O}},function(e,t,n){var r=n(0);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var r=n(3),o=n(45),i=r("iterator"),u=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||u[i]===e)}},function(e,t,n){var r=n(52),o=n(45),i=n(3)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(5);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(3)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[r]=function(){return this},Array.from(u,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var r=n(6),o=n(91);e.exports=function(e,t,n){var i,u;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(u=i.prototype)&&u!==n.prototype&&o(e,u),e}},function(e,t,n){"use strict";var r=n(9).f,o=n(73),i=n(133),u=n(71),c=n(94),s=n(93),a=n(74),f=n(134),l=n(4),p=n(92).fastKey,v=n(26),h=v.set,d=v.getterFor;e.exports={getConstructor:function(e,t,n,a){var f=e((function(e,r){c(e,f,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),l||(e.size=0),null!=r&&s(r,e[a],e,n)})),v=d(t),g=function(e,t,n){var r,o,i=v(e),u=E(e,t);return u?u.value=n:(i.last=u={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=u),r&&(r.next=u),l?i.size++:e.size++,"F"!==o&&(i.index[o]=u)),e},E=function(e,t){var n,r=v(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(f.prototype,{clear:function(){for(var e=v(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,l?e.size=0:this.size=0},delete:function(e){var t=v(this),n=E(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),l?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=v(this),r=u(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!E(this,e)}}),i(f.prototype,n?{get:function(e){var t=E(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),l&&r(f.prototype,"size",{get:function(){return v(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",o=d(t),i=d(r);a(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){var r=n(10);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(28),o=n(9),i=n(3),u=n(4),c=i("species");e.exports=function(e){var t=r(e),n=o.f;u&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(53).charAt,o=n(26),i=n(74),u=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(e){u(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(1),o=n(95),i=n(78),u=n(7);for(var c in o){var s=r[c],a=s&&s.prototype;if(a&&a.forEach!==i)try{u(a,"forEach",i)}catch(e){a.forEach=i}}},function(e,t,n){var r=n(1),o=n(95),i=n(88),u=n(7),c=n(3),s=c("iterator"),a=c("toStringTag"),f=i.values;for(var l in o){var p=r[l],v=p&&p.prototype;if(v){if(v[s]!==f)try{u(v,s,f)}catch(e){v[s]=f}if(v[a]||u(v,a,l),o[l])for(var h in i)if(v[h]!==i[h])try{u(v,h,i[h])}catch(e){v[h]=i[h]}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=function(){if(null===o)return null;return{uid:o,displayName:u,isAdmin:c}};var r=document.getElementsByTagName("head")[0],o=r?r.getAttribute("data-user"):null,i=document.getElementsByTagName("head")[0],u=i?i.getAttribute("data-user-displayname"):null,c="undefined"!=typeof OC&&OC.isUserAdmin()},,function(e,t,n){"use strict";n.r(t);var r=n(23),o=n(96);var i=Object(o.getLoggerBuilder)().setApp("Files_PDFViewer").detectUser().build(),u=n(22);
-/**
- * @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @author John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-const c=document.getElementById("isPublic");var s=()=>!(!c||"1"!==c.value);
-/**
- * @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @author John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */const a=document.getElementById("mimetype");var f=()=>!Object(u.a)()&&void 0!==OCA.RichDocuments;
-/**
- * @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @author John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-/**
- * @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @author John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-window.addEventListener("DOMContentLoaded",(function(){if(i.debug("Initializing for public page",{isPublicPage:s(),canDownload:Object(u.a)(),isSecureViewerAvailable:f()}),s()&&a&&"application/pdf"===a.value&&!f()){const e=location.hash.split("page=")[1]||0,t=document.getElementById("files-public-content"),n=document.getElementById("sharingToken"),o=document.querySelector("#app-content > footer"),u=n.value,c=Object(r.generateUrl)("/s/{token}/download",{token:u}),s=Object(r.generateUrl)("/apps/files_pdfviewer/?file={downloadUrl}#page={page}",{downloadUrl:c,page:e}),a=document.createElement("iframe");a.src=s,a.style.height="100%",a.style.width="100%",a.style.position="absolute",t?(t.innerHTML="",t.appendChild(a),o.style.display="none"):i.error("Unable to inject the PDF Viewer")}else i.error("But this does not appear to be a public page")}))}]);
-//# sourceMappingURL=files_pdfviewer-public.js.map?v=68a190b1893de6f7b703 \ No newline at end of file
+/*! For license information please see files_pdfviewer-public.js.LICENSE.txt */
+(()=>{var e={2200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRequestToken",{enumerable:!0,get:function(){return n.getRequestToken}}),Object.defineProperty(t,"onRequestTokenUpdate",{enumerable:!0,get:function(){return n.onRequestTokenUpdate}}),Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return o.getCurrentUser}});var n=r(1894),o=r(1618)},1894:(e,t,r)=>{"use strict";var n=r(5108);r(9554),Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestToken=function(){return u},t.onRequestTokenUpdate=function(e){a.push(e)};var o=r(7594),i=document.getElementsByTagName("head")[0],u=i?i.getAttribute("data-requesttoken"):null,a=[];(0,o.subscribe)("csrf-token-update",(function(e){u=e.token,a.forEach((function(t){try{t(e.token)}catch(e){n.error("error updating CSRF token observer",e)}}))}))},1618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=function(){if(null===n)return null;return{uid:n,displayName:i,isAdmin:u}};var r=document.getElementsByTagName("head")[0],n=r?r.getAttribute("data-user"):null,o=document.getElementsByTagName("head")[0],i=o?o.getAttribute("data-user-displayname"):null,u="undefined"!=typeof OC&&OC.isUserAdmin()},4201:(e,t,r)=>{"use strict";var n=r(5108);Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyBus=void 0;var o=u(r(7907)),i=u(r(2426));function u(e){return e&&e.__esModule?e:{default:e}}function a(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 s="1.2.0",c=function(){function e(t){var r,u,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a=void 0,(u="bus")in(r=this)?Object.defineProperty(r,u,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[u]=a,"function"==typeof t.getVersion&&(0,o.default)(t.getVersion())?(0,i.default)(t.getVersion())!==(0,i.default)(this.getVersion())&&n.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):n.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}var t,r,u;return t=e,(r=[{key:"getVersion",value:function(){return s}},{key:"subscribe",value:function(e,t){this.bus.subscribe(e,t)}},{key:"unsubscribe",value:function(e,t){this.bus.unsubscribe(e,t)}},{key:"emit",value:function(e,t){this.bus.emit(e,t)}}])&&a(t.prototype,r),u&&a(t,u),e}();t.ProxyBus=c},6936:(e,t,r)=>{"use strict";var n=r(5108);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)}}r(2222),r(7327),r(9554),r(6992),r(1532),r(1539),r(8783),r(4747),r(3948),Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleBus=void 0;var i="1.2.0",u=function(){function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r="handlers",n=new Map,r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}var t,r,u;return t=e,(r=[{key:"getVersion",value:function(){return i}},{key:"subscribe",value:function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).concat(t))}},{key:"unsubscribe",value:function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).filter((function(e){return e!=t})))}},{key:"emit",value:function(e,t){(this.handlers.get(e)||[]).forEach((function(e){try{e(t)}catch(e){n.error("could not invoke event listener",e)}}))}}])&&o(t.prototype,r),u&&o(t,u),e}();t.SimpleBus=u},7594:(e,t,r)=>{"use strict";var n=r(5108);Object.defineProperty(t,"__esModule",{value:!0}),t.subscribe=function(e,t){u.subscribe(e,t)},t.unsubscribe=function(e,t){u.unsubscribe(e,t)},t.emit=function(e,t){u.emit(e,t)};var o=r(4201),i=r(6936);var u=(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 o.ProxyBus(window._nc_event_bus):window._nc_event_bus=new i.SimpleBus)},7737:(e,t,r)=>{const n=r(5503),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(5519),{re:u,t:a}=r(8238),s=r(4433),{compareIdentifiers:c}=r(3242);class l{constructor(e,t){if(t=s(t),e instanceof l){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>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?u[a.LOOSE]:u[a.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>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||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<i)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 l)){if("string"==typeof e&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof l||(e=new l(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],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{const r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}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&&(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=l},2426:(e,t,r)=>{const n=r(7737);e.exports=(e,t)=>new n(e,t).major},7488:(e,t,r)=>{const{MAX_LENGTH:n}=r(5519),{re:o,t:i}=r(8238),u=r(7737),a=r(4433);e.exports=(e,t)=>{if(t=a(t),e instanceof u)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new u(e,t)}catch(e){return null}}},7907:(e,t,r)=>{const n=r(7488);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},5519: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}},5503:(e,t,r)=>{var n=r(4155),o=r(5108);const i="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...e)=>o.error("SEMVER",...e):()=>{};e.exports=i},3242:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},4433: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)),{}):{}},8238:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(5519),o=r(5503),i=(t=e.exports={}).re=[],u=t.src=[],a=t.t={};let s=0;const c=(e,t,r)=>{const n=s++;o(n,t),a[e]=n,u[n]=t,i[n]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${u[a.NUMERICIDENTIFIER]})\\.(${u[a.NUMERICIDENTIFIER]})\\.(${u[a.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${u[a.NUMERICIDENTIFIERLOOSE]})\\.(${u[a.NUMERICIDENTIFIERLOOSE]})\\.(${u[a.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${u[a.NUMERICIDENTIFIER]}|${u[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${u[a.NUMERICIDENTIFIERLOOSE]}|${u[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${u[a.PRERELEASEIDENTIFIER]}(?:\\.${u[a.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${u[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[a.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${u[a.BUILDIDENTIFIER]}(?:\\.${u[a.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${u[a.MAINVERSION]}${u[a.PRERELEASE]}?${u[a.BUILD]}?`),c("FULL",`^${u[a.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${u[a.MAINVERSIONLOOSE]}${u[a.PRERELEASELOOSE]}?${u[a.BUILD]}?`),c("LOOSE",`^${u[a.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${u[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${u[a.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${u[a.XRANGEIDENTIFIER]})(?:\\.(${u[a.XRANGEIDENTIFIER]})(?:\\.(${u[a.XRANGEIDENTIFIER]})(?:${u[a.PRERELEASE]})?${u[a.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${u[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[a.XRANGEIDENTIFIERLOOSE]})(?:${u[a.PRERELEASELOOSE]})?${u[a.BUILD]}?)?)?`),c("XRANGE",`^${u[a.GTLT]}\\s*${u[a.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${u[a.GTLT]}\\s*${u[a.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c("COERCERTL",u[a.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${u[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${u[a.LONETILDE]}${u[a.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${u[a.LONETILDE]}${u[a.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${u[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${u[a.LONECARET]}${u[a.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${u[a.LONECARET]}${u[a.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${u[a.GTLT]}\\s*(${u[a.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${u[a.GTLT]}\\s*(${u[a.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${u[a.GTLT]}\\s*(${u[a.LOOSEPLAIN]}|${u[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${u[a.XRANGEPLAIN]})\\s+-\\s+(${u[a.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${u[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[a.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},1356:(e,t,r)=>{"use strict";var n=r(5108);r(9601),Object.defineProperty(t,"__esModule",{value:!0}),t.buildConsoleLogger=function(e){return new u(e)},t.ConsoleLogger=void 0;var o=r(6);function i(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 u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.context=t}var t,r,u;return t=e,(r=[{key:"formatMessage",value:function(e,t,r){var n="["+t+"]";return r&&r.app&&(n+=" "+r.app+": "),n+e}},{key:"log",value:function(e,t,r){switch(e){case 0:n.debug(this.formatMessage(t,o.LogLevel.Debug,r),r);break;case 1:n.info(this.formatMessage(t,o.LogLevel.Info,r),r);break;case 2:n.warn(this.formatMessage(t,o.LogLevel.Warn,r),r);break;case 3:n.error(this.formatMessage(t,o.LogLevel.Error,r),r);break;default:n.error(this.formatMessage(t,o.LogLevel.Fatal,r),r)}}},{key:"debug",value:function(e,t){this.log(0,e,Object.assign({},this.context,t))}},{key:"info",value:function(e,t){this.log(1,e,Object.assign({},this.context,t))}},{key:"warn",value:function(e,t){this.log(2,e,Object.assign({},this.context,t))}},{key:"error",value:function(e,t){this.log(3,e,Object.assign({},this.context,t))}},{key:"fatal",value:function(e,t){this.log(4,e,Object.assign({},this.context,t))}}])&&i(t.prototype,r),u&&i(t,u),e}();t.ConsoleLogger=u},5058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggerBuilder=void 0;var n=r(2200);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 i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.context={},this.factory=t}var t,r,i;return t=e,(r=[{key:"setApp",value:function(e){return this.context.app=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),i&&o(t,i),e}();t.LoggerBuilder=i},6:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=void 0,t.LogLevel=r,function(e){e.Debug="DEBUG",e.Info="INFO",e.Warn="WARN",e.Error="ERROR",e.Fatal="FATAL"}(r||(t.LogLevel=r={}))},7499:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLoggerBuilder=i,t.getLogger=function(){return i().build()};var n=r(1356),o=r(5058);function i(){return new o.LoggerBuilder(n.buildConsoleLogger)}},9753:(e,t,r)=>{"use strict";r(2772),r(9601),r(1539),r(4916),r(9714),r(5306),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 n(e,"",t)};t.generateRemoteUrl=function(e){return window.location.protocol+"//"+window.location.host+function(e){return o()+"/remote.php/"+e}(e)};t.generateOcsUrl=function(e,t){return t=2!==t?1:2,window.location.protocol+"//"+window.location.host+o()+"/ocs/v"+t+".php/"+e+"/"};t.generateUrl=function(e,t,r){var n=Object.assign({escape:!0,noRewrite:!1},r||{}),i=function(e,t){return t=t||{},e.replace(/{([^{}]*)}/g,(function(e,r){var o=t[r];return n.escape?"string"==typeof o||"number"==typeof o?encodeURIComponent(o.toString()):encodeURIComponent(e):"string"==typeof o||"number"==typeof o?o.toString():e}))};return"/"!==e.charAt(0)&&(e="/"+e),!0!==OC.config.modRewriteWorking||n.noRewrite?o()+"/index.php"+i(e,t||{}):o()+i(e,t||{})};t.imagePath=function(e,t){return-1===t.indexOf(".")?n(e,"img",t+".svg"):n(e,"img",t)};var n=function(e,t,r){var n=-1!==OC.coreApps.indexOf(e),i=o();return"php"!==r.substring(r.length-3)||n?"php"===r.substring(r.length-3)||n?(i+="settings"!==e&&"core"!==e&&"search"!==e||"ajax"!==t?"/":"/index.php/",n||(i+="apps/"),""!==e&&(i+=e+="/"),t&&(i+=t+"/"),i+=r):(i=OC.appswebroots[e],t&&(i+="/"+t+"/"),"/"!==i.substring(i.length-1)&&(i+="/"),i+=r):(i+="/index.php/apps/"+e,"index.php"!==r&&(i+="/",t&&(i+=encodeURI(t+"/")),i+=r)),i};t.generateFilePath=n;var o=function(){return OC.webroot};t.getRootUrl=o},8583:(e,t,r)=>{"use strict";var n=r(7418);function o(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0}function i(e){return r.g.Buffer&&"function"==typeof r.g.Buffer.isBuffer?r.g.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var u=r(69),a=Object.prototype.hasOwnProperty,s=Array.prototype.slice,c="foo"===function(){}.name;function l(e){return Object.prototype.toString.call(e)}function f(e){return!i(e)&&("function"==typeof r.g.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var p=e.exports=E,v=/\s*function\s+([^\(\s]*)\s*/;function h(e){if(u.isFunction(e)){if(c)return e.name;var t=e.toString().match(v);return t&&t[1]}}function d(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function g(e){if(c||!u.isFunction(e))return u.inspect(e);var t=h(e);return"[Function"+(t?": "+t:"")+"]"}function y(e,t,r,n,o){throw new p.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:o})}function E(e,t){e||y(e,!0,t,"==",p.ok)}function b(e,t,r,n){if(e===t)return!0;if(i(e)&&i(t))return 0===o(e,t);if(u.isDate(e)&&u.isDate(t))return e.getTime()===t.getTime();if(u.isRegExp(e)&&u.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)&&l(e)===l(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===o(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(i(e)!==i(t))return!1;var a=(n=n||{actual:[],expected:[]}).actual.indexOf(e);return-1!==a&&a===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(u.isPrimitive(e)||u.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var o=m(e),i=m(t);if(o&&!i||!o&&i)return!1;if(o)return b(e=s.call(e),t=s.call(t),r);var a,c,l=w(e),f=w(t);if(l.length!==f.length)return!1;for(l.sort(),f.sort(),c=l.length-1;c>=0;c--)if(l[c]!==f[c])return!1;for(c=l.length-1;c>=0;c--)if(!b(e[a=l[c]],t[a],r,n))return!1;return!0}(e,t,r,n))}return r?e===t:e==t}function m(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 x(e,t,r,n){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!o&&y(o,r,"Missing expected exception"+n);var i="string"==typeof n,a=!e&&o&&!r;if((!e&&u.isError(o)&&i&&O(o,r)||a)&&y(o,r,"Got unwanted exception"+n),e&&o&&r&&!O(o,r)||!e&&o)throw o}p.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(g(e.actual),128)+" "+e.operator+" "+d(g(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||y;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,o=h(t),i=n.indexOf("\n"+o);if(i>=0){var u=n.indexOf("\n",i+1);n=n.substring(u+1)}this.stack=n}}},u.inherits(p.AssertionError,Error),p.fail=y,p.ok=E,p.equal=function(e,t,r){e!=t&&y(e,t,r,"==",p.equal)},p.notEqual=function(e,t,r){e==t&&y(e,t,r,"!=",p.notEqual)},p.deepEqual=function(e,t,r){b(e,t,!1)||y(e,t,r,"deepEqual",p.deepEqual)},p.deepStrictEqual=function(e,t,r){b(e,t,!0)||y(e,t,r,"deepStrictEqual",p.deepStrictEqual)},p.notDeepEqual=function(e,t,r){b(e,t,!1)&&y(e,t,r,"notDeepEqual",p.notDeepEqual)},p.notDeepStrictEqual=function e(t,r,n){b(t,r,!0)&&y(t,r,n,"notDeepStrictEqual",e)},p.strictEqual=function(e,t,r){e!==t&&y(e,t,r,"===",p.strictEqual)},p.notStrictEqual=function(e,t,r){e===t&&y(e,t,r,"!==",p.notStrictEqual)},p.throws=function(e,t,r){x(!0,e,t,r)},p.doesNotThrow=function(e,t,r){x(!1,e,t,r)},p.ifError=function(e){if(e)throw e},p.strict=n((function e(t,r){t||y(t,!0,r,"==",e)}),p,{equal:p.strictEqual,deepEqual:p.deepStrictEqual,notEqual:p.notStrictEqual,notDeepEqual:p.notDeepStrictEqual}),p.strict.strict=p.strict;var w=Object.keys||function(e){var t=[];for(var r in e)a.call(e,r)&&t.push(r);return t}},6076:e=>{"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},2014:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},69:(e,t,r)=>{var n=r(4155),o=r(5108),i=/%[sdj%]/g;t.format=function(e){if(!E(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,u=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=o)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}})),a=n[r];r<o;a=n[++r])g(a)||!O(a)?u+=" "+a:u+=" "+s(a);return u},t.deprecate=function(e,i){if(b(r.g.process))return function(){return t.deprecate(e,i).apply(this,arguments)};if(!0===n.noDeprecation)return e;var u=!1;return function(){if(!u){if(n.throwDeprecation)throw new Error(i);n.traceDeprecation?o.trace(i):o.error(i),u=!0}return e.apply(this,arguments)}};var u,a={};function s(e,r){var n={seen:[],stylize:l};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),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),f(n,e,n.depth)}function c(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function l(e,t){return e}function f(e,r,n){if(e.customInspect&&r&&S(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return E(o)||(o=f(e,o,n)),o}var i=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(E(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(y(t))return e.stylize(""+t,"number");if(d(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,r);if(i)return i;var u=Object.keys(r),a=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(r)),w(r)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return p(r);if(0===u.length){if(S(r)){var s=r.name?": "+r.name:"";return e.stylize("[Function"+s+"]","special")}if(m(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return e.stylize(Date.prototype.toString.call(r),"date");if(w(r))return p(r)}var c,l="",O=!1,I=["{","}"];(h(r)&&(O=!0,I=["[","]"]),S(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return m(r)&&(l=" "+RegExp.prototype.toString.call(r)),x(r)&&(l=" "+Date.prototype.toUTCString.call(r)),w(r)&&(l=" "+p(r)),0!==u.length||O&&0!=r.length?n<0?m(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=O?function(e,t,r,n,o){for(var i=[],u=0,a=t.length;u<a;++u)A(t,String(u))?i.push(v(e,t,r,n,String(u),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(v(e,t,r,n,o,!0))})),i}(e,r,n,a,u):u.map((function(t){return v(e,r,n,a,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]}(c,l,I)):I[0]+l+I[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function v(e,t,r,n,o,i){var u,a,s;if((s=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?a=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(a=e.stylize("[Setter]","special")),A(n,o)||(u="["+o+"]"),a||(e.seen.indexOf(s.value)<0?(a=g(r)?f(e,s.value,null):f(e,s.value,r-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),b(u)){if(i&&o.match(/^\d+$/))return a;(u=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+a}function h(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function g(e){return null===e}function y(e){return"number"==typeof e}function E(e){return"string"==typeof e}function b(e){return void 0===e}function m(e){return O(e)&&"[object RegExp]"===I(e)}function O(e){return"object"==typeof e&&null!==e}function x(e){return O(e)&&"[object Date]"===I(e)}function w(e){return O(e)&&("[object Error]"===I(e)||e instanceof Error)}function S(e){return"function"==typeof e}function I(e){return Object.prototype.toString.call(e)}function R(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(b(u)&&(u=n.env.NODE_DEBUG||""),e=e.toUpperCase(),!a[e])if(new RegExp("\\b"+e+"\\b","i").test(u)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);o.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[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=h,t.isBoolean=d,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=E,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=b,t.isRegExp=m,t.isObject=O,t.isDate=x,t.isError=w,t.isFunction=S,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(2014);var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var e=new Date,t=[R(e.getHours()),R(e.getMinutes()),R(e.getSeconds())].join(":");return[e.getDate(),T[e.getMonth()],t].join(" ")}function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){o.log("%s - %s",j(),t.format.apply(t,arguments))},t.inherits=r(6076),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}},9537:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(7499).getLoggerBuilder)().setApp("Files_PDFViewer").detectUser().build();t.default=n},6485:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r=document.getElementById("hideDownload");t.default=()=>!r||r&&"true"!==r.value},4789:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r=document.getElementById("mimetype");t.default=()=>r&&"application/pdf"===r.value},5167:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r=document.getElementById("isPublic");t.default=()=>!(!r||"1"!==r.value)},494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(6485))&&n.__esModule?n:{default:n};t.default=()=>!(0,o.default)()&&void 0!==OCA.RichDocuments},5108:(e,t,r)=>{var n=r(9539),o=r(8583);function i(){return(new Date).getTime()}var u,a=Array.prototype.slice,s={};u=void 0!==r.g&&r.g.console?r.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var c=[[function(){},"log"],[function(){u.log.apply(u,arguments)},"info"],[function(){u.log.apply(u,arguments)},"warn"],[function(){u.warn.apply(u,arguments)},"error"],[function(e){s[e]=i()},"time"],[function(e){var t=s[e];if(!t)throw new Error("No such label: "+e);delete s[e];var r=i()-t;u.log(e+": "+r+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=n.format.apply(null,arguments),u.error(e.stack)},"trace"],[function(e){u.log(n.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=a.call(arguments,1);o.ok(!1,n.format.apply(null,t))}},"assert"]],l=0;l<c.length;l++){var f=c[l],p=f[0],v=f[1];u[v]||(u[v]=p)}e.exports=u},3099:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},6077:(e,t,r)=>{var n=r(111);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},1223:(e,t,r)=>{var n=r(5112),o=r(30),i=r(3070),u=n("unscopables"),a=Array.prototype;null==a[u]&&i.f(a,u,{configurable:!0,value:o(null)}),e.exports=function(e){a[u][e]=!0}},1530:(e,t,r)=>{"use strict";var n=r(8710).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},5787:e=>{e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},9670:(e,t,r)=>{var n=r(111);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},8533:(e,t,r)=>{"use strict";var n=r(2092).forEach,o=r(9341),i=r(9207),u=o("forEach"),a=i("forEach");e.exports=u&&a?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},1318:(e,t,r)=>{var n=r(5656),o=r(7466),i=r(1400),u=function(e){return function(t,r,u){var a,s=n(t),c=o(s.length),l=i(u,c);if(e&&r!=r){for(;c>l;)if((a=s[l++])!=a)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:u(!0),indexOf:u(!1)}},2092:(e,t,r)=>{var n=r(9974),o=r(8361),i=r(7908),u=r(7466),a=r(5417),s=[].push,c=function(e){var t=1==e,r=2==e,c=3==e,l=4==e,f=6==e,p=5==e||f;return function(v,h,d,g){for(var y,E,b=i(v),m=o(b),O=n(h,d,3),x=u(m.length),w=0,S=g||a,I=t?S(v,x):r?S(v,0):void 0;x>w;w++)if((p||w in m)&&(E=O(y=m[w],w,b),e))if(t)I[w]=E;else if(E)switch(e){case 3:return!0;case 5:return y;case 6:return w;case 2:s.call(I,y)}else if(l)return!1;return f?-1:c||l?l:I}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},1194:(e,t,r)=>{var n=r(7293),o=r(5112),i=r(7392),u=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[u]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:(e,t,r)=>{"use strict";var n=r(7293);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},9207:(e,t,r)=>{var n=r(9781),o=r(7293),i=r(6656),u=Object.defineProperty,a={},s=function(e){throw e};e.exports=function(e,t){if(i(a,e))return a[e];t||(t={});var r=[][e],c=!!i(t,"ACCESSORS")&&t.ACCESSORS,l=i(t,0)?t[0]:s,f=i(t,1)?t[1]:void 0;return a[e]=!!r&&!o((function(){if(c&&!n)return!0;var e={length:-1};c?u(e,1,{enumerable:!0,get:s}):e[1]=1,r.call(e,l,f)}))}},5417:(e,t,r)=>{var n=r(111),o=r(3157),i=r(5112)("species");e.exports=function(e,t){var r;return o(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},3411:(e,t,r)=>{var n=r(9670);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var i=e.return;throw void 0!==i&&n(i.call(e)),t}}},7072:(e,t,r)=>{var n=r(5112)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[n]=function(){return this},Array.from(u,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},4326:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},648:(e,t,r)=>{var n=r(1694),o=r(4326),i=r(5112)("toStringTag"),u="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:u?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},5631:(e,t,r)=>{"use strict";var n=r(3070).f,o=r(30),i=r(2248),u=r(9974),a=r(5787),s=r(408),c=r(654),l=r(6340),f=r(9781),p=r(2423).fastKey,v=r(9909),h=v.set,d=v.getterFor;e.exports={getConstructor:function(e,t,r,c){var l=e((function(e,n){a(e,l,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=n&&s(n,e[c],e,r)})),v=d(t),g=function(e,t,r){var n,o,i=v(e),u=y(e,t);return u?u.value=r:(i.last=u={index:o=p(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=u),n&&(n.next=u),f?i.size++:e.size++,"F"!==o&&(i.index[o]=u)),e},y=function(e,t){var r,n=v(e),o=p(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==t)return r};return i(l.prototype,{clear:function(){for(var e=v(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=this,r=v(t),n=y(t,e);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),f?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=v(this),n=u(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(l.prototype,r?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),f&&n(l.prototype,"size",{get:function(){return v(this).size}}),l},setStrong:function(e,t,r){var n=t+" Iterator",o=d(t),i=d(n);c(e,t,(function(e,t){h(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),l(t)}}},7710:(e,t,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(4705),u=r(1320),a=r(2423),s=r(408),c=r(5787),l=r(111),f=r(7293),p=r(7072),v=r(8003),h=r(9587);e.exports=function(e,t,r){var d=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),y=d?"set":"add",E=o[e],b=E&&E.prototype,m=E,O={},x=function(e){var t=b[e];u(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:function(e,r){return t.call(this,0===e?0:e,r),this})};if(i(e,"function"!=typeof E||!(g||b.forEach&&!f((function(){(new E).entries().next()})))))m=r.getConstructor(t,e,d,y),a.REQUIRED=!0;else if(i(e,!0)){var w=new m,S=w[y](g?{}:-0,1)!=w,I=f((function(){w.has(1)})),R=p((function(e){new E(e)})),T=!g&&f((function(){for(var e=new E,t=5;t--;)e[y](t,t);return!e.has(-0)}));R||((m=t((function(t,r){c(t,m,e);var n=h(new E,t,m);return null!=r&&s(r,n[y],n,d),n}))).prototype=b,b.constructor=m),(I||T)&&(x("delete"),x("has"),d&&x("get")),(T||S)&&x(y),g&&b.clear&&delete b.clear}return O[e]=m,n({global:!0,forced:m!=E},O),v(m,e),g||r.setStrong(m,e,d),m}},9920:(e,t,r)=>{var n=r(6656),o=r(3887),i=r(1236),u=r(3070);e.exports=function(e,t){for(var r=o(t),a=u.f,s=i.f,c=0;c<r.length;c++){var l=r[c];n(e,l)||a(e,l,s(t,l))}}},8544:(e,t,r)=>{var n=r(7293);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:(e,t,r)=>{"use strict";var n=r(3383).IteratorPrototype,o=r(30),i=r(9114),u=r(8003),a=r(7497),s=function(){return this};e.exports=function(e,t,r){var c=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),u(e,c,!1,!0),a[c]=s,e}},8880:(e,t,r)=>{var n=r(9781),o=r(3070),i=r(9114);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},9114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:(e,t,r)=>{"use strict";var n=r(7593),o=r(3070),i=r(9114);e.exports=function(e,t,r){var u=n(t);u in e?o.f(e,u,i(0,r)):e[u]=r}},654:(e,t,r)=>{"use strict";var n=r(2109),o=r(4994),i=r(9518),u=r(7674),a=r(8003),s=r(8880),c=r(1320),l=r(5112),f=r(1913),p=r(7497),v=r(3383),h=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y="keys",E="values",b="entries",m=function(){return this};e.exports=function(e,t,r,l,v,O,x){o(r,t,l);var w,S,I,R=function(e){if(e===v&&N)return N;if(!d&&e in A)return A[e];switch(e){case y:case E:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},T=t+" Iterator",j=!1,A=e.prototype,L=A[g]||A["@@iterator"]||v&&A[v],N=!d&&L||R(v),P="Array"==t&&A.entries||L;if(P&&(w=i(P.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(u?u(w,h):"function"!=typeof w[g]&&s(w,g,m)),a(w,T,!0,!0),f&&(p[T]=m))),v==E&&L&&L.name!==E&&(j=!0,N=function(){return L.call(this)}),f&&!x||A[g]===N||s(A,g,N),p[t]=N,v)if(S={values:R(E),keys:O?N:R(y),entries:R(b)},x)for(I in S)(d||j||!(I in A))&&c(A,I,S[I]);else n({target:t,proto:!0,forced:d||j},S);return S}},9781:(e,t,r)=>{var n=r(7293);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,t,r)=>{var n=r(7854),o=r(111),i=n.document,u=o(i)&&o(i.createElement);e.exports=function(e){return u?i.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:(e,t,r)=>{var n=r(5005);e.exports=n("navigator","userAgent")||""},7392:(e,t,r)=>{var n,o,i=r(7854),u=r(8113),a=i.process,s=a&&a.versions,c=s&&s.v8;c?o=(n=c.split("."))[0]+n[1]:u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,t,r)=>{var n=r(7854),o=r(1236).f,i=r(8880),u=r(1320),a=r(3505),s=r(9920),c=r(4705);e.exports=function(e,t){var r,l,f,p,v,h=e.target,d=e.global,g=e.stat;if(r=d?n:g?n[h]||a(h,{}):(n[h]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(v=o(r,l))&&v.value:r[l],!c(d?l:h+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;s(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),u(r,l,p,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,t,r)=>{"use strict";r(4916);var n=r(1320),o=r(7293),i=r(5112),u=r(2261),a=r(8880),s=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),v=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,f){var h=i(e),d=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),g=d&&!o((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[s]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!d||!g||"replace"===e&&(!c||!l||p)||"split"===e&&!v){var y=/./[h],E=r(h,""[e],(function(e,t,r,n,o){return t.exec===u?d&&!o?{done:!0,value:y.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=E[0],m=E[1];n(String.prototype,e,b),n(RegExp.prototype,h,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)})}f&&a(RegExp.prototype[h],"sham",!0)}},6677:(e,t,r)=>{var n=r(7293);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},9974:(e,t,r)=>{var n=r(3099);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},5005:(e,t,r)=>{var n=r(857),o=r(7854),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},1246:(e,t,r)=>{var n=r(648),o=r(7497),i=r(5112)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[n(e)]}},7854:(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")()},6656:e=>{var t={}.hasOwnProperty;e.exports=function(e,r){return t.call(e,r)}},3501:e=>{e.exports={}},490:(e,t,r)=>{var n=r(5005);e.exports=n("document","documentElement")},4664:(e,t,r)=>{var n=r(9781),o=r(7293),i=r(317);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,r)=>{var n=r(7293),o=r(4326),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},9587:(e,t,r)=>{var n=r(111),o=r(7674);e.exports=function(e,t,r){var i,u;return o&&"function"==typeof(i=t.constructor)&&i!==r&&n(u=i.prototype)&&u!==r.prototype&&o(e,u),e}},2788:(e,t,r)=>{var n=r(5465),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},2423:(e,t,r)=>{var n=r(3501),o=r(111),i=r(6656),u=r(3070).f,a=r(9711),s=r(6677),c=a("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(e){u(e,c,{value:{objectID:"O"+ ++l,weakData:{}}})},v=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,c)){if(!f(e))return"F";if(!t)return"E";p(e)}return e[c].objectID},getWeakData:function(e,t){if(!i(e,c)){if(!f(e))return!0;if(!t)return!1;p(e)}return e[c].weakData},onFreeze:function(e){return s&&v.REQUIRED&&f(e)&&!i(e,c)&&p(e),e}};n[c]=!0},9909:(e,t,r)=>{var n,o,i,u=r(8536),a=r(7854),s=r(111),c=r(8880),l=r(6656),f=r(6200),p=r(3501),v=a.WeakMap;if(u){var h=new v,d=h.get,g=h.has,y=h.set;n=function(e,t){return y.call(h,e,t),t},o=function(e){return d.call(h,e)||{}},i=function(e){return g.call(h,e)}}else{var E=f("state");p[E]=!0,n=function(e,t){return c(e,E,t),t},o=function(e){return l(e,E)?e[E]:{}},i=function(e){return l(e,E)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!s(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},7659:(e,t,r)=>{var n=r(5112),o=r(7497),i=n("iterator"),u=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||u[i]===e)}},3157:(e,t,r)=>{var n=r(4326);e.exports=Array.isArray||function(e){return"Array"==n(e)}},4705:(e,t,r)=>{var n=r(7293),o=/#|\.prototype\./,i=function(e,t){var r=a[u(e)];return r==c||r!=s&&("function"==typeof t?n(t):!!t)},u=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},a=i.data={},s=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},111:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},1913:e=>{e.exports=!1},408:(e,t,r)=>{var n=r(9670),o=r(7659),i=r(7466),u=r(9974),a=r(1246),s=r(3411),c=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,r,l,f){var p,v,h,d,g,y,E,b=u(t,r,l?2:1);if(f)p=e;else{if("function"!=typeof(v=a(e)))throw TypeError("Target is not iterable");if(o(v)){for(h=0,d=i(e.length);d>h;h++)if((g=l?b(n(E=e[h])[0],E[1]):b(e[h]))&&g instanceof c)return g;return new c(!1)}p=v.call(e)}for(y=p.next;!(E=y.call(p)).done;)if("object"==typeof(g=s(p,b,E.value,l))&&g&&g instanceof c)return g;return new c(!1)}).stop=function(e){return new c(!0,e)}},3383:(e,t,r)=>{"use strict";var n,o,i,u=r(9518),a=r(8880),s=r(6656),c=r(5112),l=r(1913),f=c("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):p=!0),null==n&&(n={}),l||s(n,f)||a(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},7497:e=>{e.exports={}},133:(e,t,r)=>{var n=r(7293);e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},8536:(e,t,r)=>{var n=r(7854),o=r(2788),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},1574:(e,t,r)=>{"use strict";var n=r(9781),o=r(7293),i=r(1956),u=r(5181),a=r(5296),s=r(7908),c=r(8361),l=Object.assign,f=Object.defineProperty;e.exports=!l||o((function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||i(l({},t)).join("")!=o}))?function(e,t){for(var r=s(e),o=arguments.length,l=1,f=u.f,p=a.f;o>l;)for(var v,h=c(arguments[l++]),d=f?i(h).concat(f(h)):i(h),g=d.length,y=0;g>y;)v=d[y++],n&&!p.call(h,v)||(r[v]=h[v]);return r}:l},30:(e,t,r)=>{var n,o=r(9670),i=r(6048),u=r(748),a=r(3501),s=r(490),c=r(317),l=r(6200),f=l("IE_PROTO"),p=function(){},v=function(e){return"<script>"+e+"</"+"script>"},h=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=n?function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=c("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(v("document.F=Object")),e.close(),e.F);for(var r=u.length;r--;)delete h.prototype[u[r]];return h()};a[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p.prototype=o(e),r=new p,p.prototype=null,r[f]=e):r=h(),void 0===t?r:i(r,t)}},6048:(e,t,r)=>{var n=r(9781),o=r(3070),i=r(9670),u=r(1956);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=u(t),a=n.length,s=0;a>s;)o.f(e,r=n[s++],t[r]);return e}},3070:(e,t,r)=>{var n=r(9781),o=r(4664),i=r(9670),u=r(7593),a=Object.defineProperty;t.f=n?a:function(e,t,r){if(i(e),t=u(t,!0),i(r),o)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1236:(e,t,r)=>{var n=r(9781),o=r(5296),i=r(9114),u=r(5656),a=r(7593),s=r(6656),c=r(4664),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=u(e),t=a(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},8006:(e,t,r)=>{var n=r(6324),o=r(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},5181:(e,t)=>{t.f=Object.getOwnPropertySymbols},9518:(e,t,r)=>{var n=r(6656),o=r(7908),i=r(6200),u=r(8544),a=i("IE_PROTO"),s=Object.prototype;e.exports=u?Object.getPrototypeOf:function(e){return e=o(e),n(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},6324:(e,t,r)=>{var n=r(6656),o=r(5656),i=r(1318).indexOf,u=r(3501);e.exports=function(e,t){var r,a=o(e),s=0,c=[];for(r in a)!n(u,r)&&n(a,r)&&c.push(r);for(;t.length>s;)n(a,r=t[s++])&&(~i(c,r)||c.push(r));return c}},1956:(e,t,r)=>{var n=r(6324),o=r(748);e.exports=Object.keys||function(e){return n(e,o)}},5296:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},7674:(e,t,r)=>{var n=r(9670),o=r(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),o(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},288:(e,t,r)=>{"use strict";var n=r(1694),o=r(648);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},3887:(e,t,r)=>{var n=r(5005),o=r(8006),i=r(5181),u=r(9670);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(u(e)),r=i.f;return r?t.concat(r(e)):t}},857:(e,t,r)=>{var n=r(7854);e.exports=n},2248:(e,t,r)=>{var n=r(1320);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},1320:(e,t,r)=>{var n=r(7854),o=r(8880),i=r(6656),u=r(3505),a=r(2788),s=r(9909),c=s.get,l=s.enforce,f=String(String).split("String");(e.exports=function(e,t,r,a){var s=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||o(r,"name",t),l(r).source=f.join("string"==typeof t?t:"")),e!==n?(s?!p&&e[t]&&(c=!0):delete e[t],c?e[t]=r:o(e,t,r)):c?e[t]=r:u(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||a(this)}))},7651:(e,t,r)=>{var n=r(4326),o=r(2261);e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var i=r.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},2261:(e,t,r)=>{"use strict";var n,o,i=r(7066),u=r(2999),a=RegExp.prototype.exec,s=String.prototype.replace,c=a,l=(n=/a/,o=/b*/g,a.call(n,"a"),a.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),f=u.UNSUPPORTED_Y||u.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(l||p||f)&&(c=function(e){var t,r,n,o,u=this,c=f&&u.sticky,v=i.call(u),h=u.source,d=0,g=e;return c&&(-1===(v=v.replace("y","")).indexOf("g")&&(v+="g"),g=String(e).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==e[u.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,d++),r=new RegExp("^(?:"+h+")",v)),p&&(r=new RegExp("^"+h+"$(?!\\s)",v)),l&&(t=u.lastIndex),n=a.call(c?r:u,g),c?n?(n.input=n.input.slice(d),n[0]=n[0].slice(d),n.index=u.lastIndex,u.lastIndex+=n[0].length):u.lastIndex=0:l&&n&&(u.lastIndex=u.global?n.index+n[0].length:t),p&&n&&n.length>1&&s.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),e.exports=c},7066:(e,t,r)=>{"use strict";var n=r(9670);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2999:(e,t,r)=>{"use strict";var n=r(7293);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},4488:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},3505:(e,t,r)=>{var n=r(7854),o=r(8880);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},6340:(e,t,r)=>{"use strict";var n=r(5005),o=r(3070),i=r(5112),u=r(9781),a=i("species");e.exports=function(e){var t=n(e),r=o.f;u&&t&&!t[a]&&r(t,a,{configurable:!0,get:function(){return this}})}},8003:(e,t,r)=>{var n=r(3070).f,o=r(6656),i=r(5112)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},6200:(e,t,r)=>{var n=r(2309),o=r(9711),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:(e,t,r)=>{var n=r(7854),o=r(3505),i="__core-js_shared__",u=n[i]||o(i,{});e.exports=u},2309:(e,t,r)=>{var n=r(1913),o=r(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},8710:(e,t,r)=>{var n=r(9958),o=r(4488),i=function(e){return function(t,r){var i,u,a=String(o(t)),s=n(r),c=a.length;return s<0||s>=c?e?"":void 0:(i=a.charCodeAt(s))<55296||i>56319||s+1===c||(u=a.charCodeAt(s+1))<56320||u>57343?e?a.charAt(s):i:e?a.slice(s,s+2):u-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},1400:(e,t,r)=>{var n=r(9958),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},5656:(e,t,r)=>{var n=r(8361),o=r(4488);e.exports=function(e){return n(o(e))}},9958:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},7466:(e,t,r)=>{var n=r(9958),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},7908:(e,t,r)=>{var n=r(4488);e.exports=function(e){return Object(n(e))}},7593:(e,t,r)=>{var n=r(111);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},1694:(e,t,r)=>{var n={};n[r(5112)("toStringTag")]="z",e.exports="[object z]"===String(n)},9711:e=>{var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},3307:(e,t,r)=>{var n=r(133);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:(e,t,r)=>{var n=r(7854),o=r(2309),i=r(6656),u=r(9711),a=r(133),s=r(3307),c=o("wks"),l=n.Symbol,f=s?l:l&&l.withoutSetter||u;e.exports=function(e){return i(c,e)||(a&&i(l,e)?c[e]=l[e]:c[e]=f("Symbol."+e)),c[e]}},2222:(e,t,r)=>{"use strict";var n=r(2109),o=r(7293),i=r(3157),u=r(111),a=r(7908),s=r(7466),c=r(6135),l=r(5417),f=r(1194),p=r(5112),v=r(7392),h=p("isConcatSpreadable"),d=9007199254740991,g="Maximum allowed index exceeded",y=v>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),E=f("concat"),b=function(e){if(!u(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,forced:!y||!E},{concat:function(e){var t,r,n,o,i,u=a(this),f=l(u,0),p=0;for(t=-1,n=arguments.length;t<n;t++)if(b(i=-1===t?u:arguments[t])){if(p+(o=s(i.length))>d)throw TypeError(g);for(r=0;r<o;r++,p++)r in i&&c(f,p,i[r])}else{if(p>=d)throw TypeError(g);c(f,p++,i)}return f.length=p,f}})},7327:(e,t,r)=>{"use strict";var n=r(2109),o=r(2092).filter,i=r(1194),u=r(9207),a=i("filter"),s=u("filter");n({target:"Array",proto:!0,forced:!a||!s},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},9554:(e,t,r)=>{"use strict";var n=r(2109),o=r(8533);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},2772:(e,t,r)=>{"use strict";var n=r(2109),o=r(1318).indexOf,i=r(9341),u=r(9207),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,c=i("indexOf"),l=u("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:s||!c||!l},{indexOf:function(e){return s?a.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},6992:(e,t,r)=>{"use strict";var n=r(5656),o=r(1223),i=r(7497),u=r(9909),a=r(654),s="Array Iterator",c=u.set,l=u.getterFor(s);e.exports=a(Array,"Array",(function(e,t){c(this,{type:s,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},1532:(e,t,r)=>{"use strict";var n=r(7710),o=r(5631);e.exports=n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},9601:(e,t,r)=>{var n=r(2109),o=r(1574);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},1539:(e,t,r)=>{var n=r(1694),o=r(1320),i=r(288);n||o(Object.prototype,"toString",i,{unsafe:!0})},4916:(e,t,r)=>{"use strict";var n=r(2109),o=r(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9714:(e,t,r)=>{"use strict";var n=r(1320),o=r(9670),i=r(7293),u=r(7066),a="toString",s=RegExp.prototype,c=s.toString,l=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=c.name!=a;(l||f)&&n(RegExp.prototype,a,(function(){var e=o(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in s)?u.call(e):r)}),{unsafe:!0})},8783:(e,t,r)=>{"use strict";var n=r(8710).charAt,o=r(9909),i=r(654),u="String Iterator",a=o.set,s=o.getterFor(u);i(String,"String",(function(e){a(this,{type:u,string:String(e),index:0})}),(function(){var e,t=s(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},5306:(e,t,r)=>{"use strict";var n=r(7007),o=r(9670),i=r(7908),u=r(7466),a=r(9958),s=r(4488),c=r(1530),l=r(7651),f=Math.max,p=Math.min,v=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(e,t,r,n){var g=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=n.REPLACE_KEEPS_$0,E=g?"$":"$0";return[function(r,n){var o=s(this),i=null==r?void 0:r[e];return void 0!==i?i.call(r,o,n):t.call(String(o),r,n)},function(e,n){if(!g&&y||"string"==typeof n&&-1===n.indexOf(E)){var i=r(t,e,this,n);if(i.done)return i.value}var s=o(e),v=String(this),h="function"==typeof n;h||(n=String(n));var d=s.global;if(d){var m=s.unicode;s.lastIndex=0}for(var O=[];;){var x=l(s,v);if(null===x)break;if(O.push(x),!d)break;""===String(x[0])&&(s.lastIndex=c(v,u(s.lastIndex),m))}for(var w,S="",I=0,R=0;R<O.length;R++){x=O[R];for(var T=String(x[0]),j=f(p(a(x.index),v.length),0),A=[],L=1;L<x.length;L++)A.push(void 0===(w=x[L])?w:String(w));var N=x.groups;if(h){var P=[T].concat(A,j,v);void 0!==N&&P.push(N);var _=String(n.apply(void 0,P))}else _=b(T,v,j,A,N,n);j>=I&&(S+=v.slice(I,j)+_,I=j+T.length)}return S+v.slice(I)}];function b(e,r,n,o,u,a){var s=n+e.length,c=o.length,l=d;return void 0!==u&&(u=i(u),l=h),t.call(a,l,(function(t,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return r.slice(0,n);case"'":return r.slice(s);case"<":a=u[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>c){var f=v(l/10);return 0===f?t:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}a=o[l-1]}return void 0===a?"":a}))}}))},4747:(e,t,r)=>{var n=r(7854),o=r(8324),i=r(8533),u=r(8880);for(var a in o){var s=n[a],c=s&&s.prototype;if(c&&c.forEach!==i)try{u(c,"forEach",i)}catch(e){c.forEach=i}}},3948:(e,t,r)=>{var n=r(7854),o=r(8324),i=r(6992),u=r(8880),a=r(5112),s=a("iterator"),c=a("toStringTag"),l=i.values;for(var f in o){var p=n[f],v=p&&p.prototype;if(v){if(v[s]!==l)try{u(v,s,l)}catch(e){v[s]=l}if(v[c]||u(v,c,f),o[f])for(var h in i)if(v[h]!==i[h])try{u(v,h,i[h])}catch(e){v[h]=i[h]}}}},7418:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(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,i){for(var u,a,s=o(e),c=1;c<arguments.length;c++){for(var l in u=Object(arguments[c]))r.call(u,l)&&(s[l]=u[l]);if(t){a=t(u);for(var f=0;f<a.length;f++)n.call(u,a[f])&&(s[a[f]]=u[a[f]])}}return s}},4155:e=>{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function u(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!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:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var a,s=[],c=!1,l=-1;function f(){c&&a&&(c=!1,a.length?s=a.concat(s):l=-1,s.length&&p())}function p(){if(!c){var e=u(f);c=!0;for(var t=s.length;t;){for(a=s,s=[];++l<t;)a&&a[l].run();l=-1,t=s.length}a=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!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 v(e,t){this.fun=e,this.array=t}function h(){}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 v(e,t)),1!==s.length||c||u(p)},v.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=h,n.addListener=h,n.once=h,n.off=h,n.removeListener=h,n.removeAllListeners=h,n.emit=h,n.prependListener=h,n.prependOnceListener=h,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}},1496:e=>{"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},384:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},9539:(e,t,r)=>{var n=r(4155),o=r(5108),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},u=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,i=String(e).replace(u,(function(e){if("%%"===e)return"%";if(r>=o)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}})),a=n[r];r<o;a=n[++r])y(a)||!x(a)?i+=" "+a:i+=" "+c(a);return i},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?o.trace(r):o.error(r),i=!0}return e.apply(this,arguments)}};var a,s={};function c(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),m(n.showHidden)&&(n.showHidden=!1),m(n.depth)&&(n.depth=2),m(n.colors)&&(n.colors=!1),m(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),p(n,e,n.depth)}function l(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function f(e,t){return e}function p(e,r,n){if(e.customInspect&&r&&I(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return b(o)||(o=p(e,o,n)),o}var i=function(e,t){if(m(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(E(t))return e.stylize(""+t,"number");if(g(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(e,r);if(i)return i;var u=Object.keys(r),a=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(r)),S(r)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return v(r);if(0===u.length){if(I(r)){var s=r.name?": "+r.name:"";return e.stylize("[Function"+s+"]","special")}if(O(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return e.stylize(Date.prototype.toString.call(r),"date");if(S(r))return v(r)}var c,l="",f=!1,x=["{","}"];(d(r)&&(f=!0,x=["[","]"]),I(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return O(r)&&(l=" "+RegExp.prototype.toString.call(r)),w(r)&&(l=" "+Date.prototype.toUTCString.call(r)),S(r)&&(l=" "+v(r)),0!==u.length||f&&0!=r.length?n<0?O(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=f?function(e,t,r,n,o){for(var i=[],u=0,a=t.length;u<a;++u)L(t,String(u))?i.push(h(e,t,r,n,String(u),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(h(e,t,r,n,o,!0))})),i}(e,r,n,a,u):u.map((function(t){return h(e,r,n,a,t,f)})),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]}(c,l,x)):x[0]+l+x[1]}function v(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,o,i){var u,a,s;if((s=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?a=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(a=e.stylize("[Setter]","special")),L(n,o)||(u="["+o+"]"),a||(e.seen.indexOf(s.value)<0?(a=y(r)?p(e,s.value,null):p(e,s.value,r-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),m(u)){if(i&&o.match(/^\d+$/))return a;(u=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+a}function d(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function y(e){return null===e}function E(e){return"number"==typeof e}function b(e){return"string"==typeof e}function m(e){return void 0===e}function O(e){return x(e)&&"[object RegExp]"===R(e)}function x(e){return"object"==typeof e&&null!==e}function w(e){return x(e)&&"[object Date]"===R(e)}function S(e){return x(e)&&("[object Error]"===R(e)||e instanceof Error)}function I(e){return"function"==typeof e}function R(e){return Object.prototype.toString.call(e)}function T(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(m(a)&&(a=n.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(a)){var r=n.pid;s[e]=function(){var n=t.format.apply(t,arguments);o.error("%s %d: %s",e,r,n)}}else s[e]=function(){};return s[e]},t.inspect=c,c.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]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=g,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=E,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=m,t.isRegExp=O,t.isObject=x,t.isDate=w,t.isError=S,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(384);var j=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(){var e=new Date,t=[T(e.getHours()),T(e.getMinutes()),T(e.getSeconds())].join(":");return[e.getDate(),j[e.getMonth()],t].join(" ")}function L(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){o.log("%s - %s",A(),t.format.apply(t,arguments))},t.inherits=r(1496),t._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var N="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function P(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(N&&e[N]){var t;if("function"!=typeof(t=e[N]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,o)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),N&&Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=N,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var o=t.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,u=function(){return o.apply(i,arguments)};e.apply(this,t).then((function(e){n.nextTick(u,null,e)}),(function(e){n.nextTick(P,e,u)}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),(()=>{"use strict";var e=r(9753),t=a(r(9537)),n=a(r(6485)),o=a(r(5167)),i=a(r(4789)),u=a(r(494));function a(e){return e&&e.__esModule?e:{default:e}}window.addEventListener("DOMContentLoaded",(function(){if(t.default.debug("Initializing for public page",{isPublicPage:(0,o.default)(),canDownload:(0,n.default)(),isSecureViewerAvailable:(0,u.default)()}),(0,o.default)()&&(0,i.default)()&&!(0,u.default)()){const r=location.hash.split("page=")[1]||0,n=document.getElementById("files-public-content"),o=document.getElementById("sharingToken"),i=document.querySelector("#app-content > footer"),u=o.value,a=(0,e.generateUrl)("/s/{token}/download",{token:u}),s=(0,e.generateUrl)("/apps/files_pdfviewer/?file={downloadUrl}#page={page}",{downloadUrl:a,page:r}),c=document.createElement("iframe");c.src=s,c.style.height="100%",c.style.width="100%",c.style.position="absolute",n?(n.innerHTML="",n.appendChild(c),i.style.display="none"):t.default.error("Unable to inject the PDF Viewer")}else t.default.error("But this does not appear to be a public page")}))})()})();
+//# sourceMappingURL=files_pdfviewer-public.js.map?v=06912b873859ebc55ee7 \ No newline at end of file