Files
therinaldos.com/wedding-pics/apps/files_pdfviewer/js/files_pdfviewer-public.js
T
david ef1ff240d4
Build & Deploy to DigitalOcean Space / build (push) Failing after 2m38s
migrate therinaldos.com data
2024-05-05 15:50:45 -04:00

3 lines
56 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*! For license information please see files_pdfviewer-public.js.LICENSE.txt */
(()=>{var e={2200:(e,t,r)=>{"use strict";var n=r(7888),o=void 0,i=[];n.subscribe("csrf-token-update",(function(e){o=e.token,i.forEach((function(t){try{t(e.token)}catch(e){console.error("error updating CSRF token observer",e)}}))}));var a=function(e,t){return e?e.getAttribute(t):null},s=void 0;t.getCurrentUser=function(){if(void 0!==s)return s;var e=null===document||void 0===document?void 0:document.getElementsByTagName("head")[0];if(!e)return null;var t=a(e,"data-user");return s=null===t?null:{uid:t,displayName:a(e,"data-user-displayname"),isAdmin:!!window._oc_isadmin}},t.getRequestToken=function(){if(void 0===o){var e=null===document||void 0===document?void 0:document.getElementsByTagName("head")[0];o=e?e.getAttribute("data-requesttoken"):null}return o},t.onRequestTokenUpdate=function(e){i.push(e)}},7737:(e,t,r)=>{const n=r(5503),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(5519),{safeRe:a,t:s}=r(8238),u=r(4433),{compareIdentifiers:c}=r(3242);class l{constructor(e,t){if(t=u(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. Must be a string. Got type "${typeof 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?a[s.LOOSE]:a[s.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,r){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);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":{const e=Number(r)?1:0;if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),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 n=r(7737);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},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={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},5503:(e,t,r)=>{var n=r(4155);const o="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=o},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=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},8238:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=r(5519),a=r(5503),s=(t=e.exports={}).re=[],u=t.safeRe=[],c=t.src=[],l=t.t={};let f=0;const p="[a-zA-Z0-9-]",v=[["\\s",1],["\\d",i],[p,o]],h=(e,t,r)=>{const n=(e=>{for(const[t,r]of v)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),o=f++;a(e,o,t),l[e]=o,c[o]=t,s[o]=new RegExp(t,r?"g":void 0),u[o]=new RegExp(n,r?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),h("MAINVERSION",`(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${c[l.NUMERICIDENTIFIER]}|${c[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${c[l.NUMERICIDENTIFIERLOOSE]}|${c[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${c[l.PRERELEASEIDENTIFIER]}(?:\\.${c[l.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${c[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[l.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${p}+`),h("BUILD",`(?:\\+(${c[l.BUILDIDENTIFIER]}(?:\\.${c[l.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${c[l.MAINVERSION]}${c[l.PRERELEASE]}?${c[l.BUILD]}?`),h("FULL",`^${c[l.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${c[l.MAINVERSIONLOOSE]}${c[l.PRERELEASELOOSE]}?${c[l.BUILD]}?`),h("LOOSE",`^${c[l.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${c[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${c[l.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:${c[l.PRERELEASE]})?${c[l.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:${c[l.PRERELEASELOOSE]})?${c[l.BUILD]}?)?)?`),h("XRANGE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),h("COERCERTL",c[l.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${c[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${c[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${c[l.LONECARET]}${c[l.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${c[l.LONECARET]}${c[l.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${c[l.GTLT]}\\s*(${c[l.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]}|${c[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${c[l.XRANGEPLAIN]})\\s+-\\s+(${c[l.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${c[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[l.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},1356:(e,t,r)=>{"use strict";r(9070),r(2165),r(6992),r(8783),r(3948),Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleLogger=void 0,t.buildConsoleLogger=function(e){return new s(e)},r(9601),r(6649),r(6078),r(2526),r(1817),r(1539),r(9653);var n=r(6);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}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,a(n.key),n)}}function a(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}var s=function(){function e(t){var r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,o=void 0,(n=a(n="context"))in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,this.context=t||{}}var t,r,s;return t=e,(r=[{key:"formatMessage",value:function(e,t,r){var o="["+n.LogLevel[t].toUpperCase()+"] ";return r&&r.app&&(o+=r.app+": "),"string"==typeof e?o+e:(o+="Unexpected ".concat(e.name),e.message&&(o+=' "'.concat(e.message,'"')),t===n.LogLevel.Debug&&e.stack&&(o+="\n\nStack trace:\n".concat(e.stack)),o)}},{key:"log",value:function(e,t,r){var i,a;if(!("number"==typeof(null===(i=this.context)||void 0===i?void 0:i.level)&&e<(null===(a=this.context)||void 0===a?void 0:a.level)))switch("object"===o(t)&&void 0===(null==r?void 0:r.error)&&(r.error=t),e){case n.LogLevel.Debug:console.debug(this.formatMessage(t,n.LogLevel.Debug,r),r);break;case n.LogLevel.Info:console.info(this.formatMessage(t,n.LogLevel.Info,r),r);break;case n.LogLevel.Warn:console.warn(this.formatMessage(t,n.LogLevel.Warn,r),r);break;case n.LogLevel.Error:console.error(this.formatMessage(t,n.LogLevel.Error,r),r);break;case n.LogLevel.Fatal:default:console.error(this.formatMessage(t,n.LogLevel.Fatal,r),r)}}},{key:"debug",value:function(e,t){this.log(n.LogLevel.Debug,e,Object.assign({},this.context,t))}},{key:"info",value:function(e,t){this.log(n.LogLevel.Info,e,Object.assign({},this.context,t))}},{key:"warn",value:function(e,t){this.log(n.LogLevel.Warn,e,Object.assign({},this.context,t))}},{key:"error",value:function(e,t){this.log(n.LogLevel.Error,e,Object.assign({},this.context,t))}},{key:"fatal",value:function(e,t){this.log(n.LogLevel.Fatal,e,Object.assign({},this.context,t))}}])&&i(t.prototype,r),s&&i(t,s),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.ConsoleLogger=s},5058:(e,t,r)=>{"use strict";r(9070),r(2165),r(6992),r(8783),r(3948),Object.defineProperty(t,"__esModule",{value:!0}),t.LoggerBuilder=void 0,r(6649),r(6078),r(2526),r(1817),r(1539),r(9653);var n=r(2200),o=r(6);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(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,u(n.key),n)}}function s(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}var c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"context",void 0),s(this,"factory",void 0),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:"setLogLevel",value:function(e){return this.context.level=e,this}},{key:"setUid",value:function(e){return this.context.uid=e,this}},{key:"detectUser",value:function(){var e=(0,n.getCurrentUser)();return null!==e&&(this.context.uid=e.uid),this}},{key:"detectLogLevel",value:function(){var e=this;return function t(){var r,n;"complete"===document.readyState||"interactive"===document.readyState?(e.context.level=null!==(r=null===(n=window._oc_config)||void 0===n?void 0:n.loglevel)&&void 0!==r?r:o.LogLevel.Warn,window._oc_debug&&(e.context.level=o.LogLevel.Debug),document.removeEventListener("readystatechange",t)):document.addEventListener("readystatechange",t)}(),this}},{key:"build",value:function(){return void 0===this.context.level&&this.detectLogLevel(),this.factory(this.context)}}])&&a(t.prototype,r),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.LoggerBuilder=c},6:(e,t,r)=>{"use strict";r(9070),Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=void 0;var n=function(e){return e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warn=2]="Warn",e[e.Error=3]="Error",e[e.Fatal=4]="Fatal",e}({});t.LogLevel=n},7499:(e,t,r)=>{"use strict";r(9070),t.IY=a;var n=r(1356),o=r(5058),i=r(6);function a(){return new o.LoggerBuilder(n.buildConsoleLogger)}},9753:(e,t,r)=>{"use strict";t.generateUrl=void 0,r(5306);const n=(e,t,r)=>{const n=Object.assign({escape:!0},r||{});return"/"!==e.charAt(0)&&(e="/"+e),o=(o=t||{})||{},e.replace(/{([^{}]*)}/g,(function(e,t){var r=o[t];return n.escape?"string"==typeof r||"number"==typeof r?encodeURIComponent(r.toString()):encodeURIComponent(e):"string"==typeof r||"number"==typeof r?r.toString():e}));var o};t.generateUrl=(e,t,r)=>{var o;const a=Object.assign({noRewrite:!1},r||{});return!0!==(null===(o=window)||void 0===o||null===(o=o.OC)||void 0===o||null===(o=o.config)||void 0===o?void 0:o.modRewriteWorking)||a.noRewrite?i()+"/index.php"+n(e,t,r):i()+n(e,t,r)};const o=(e,t,r)=>{var n;const o=-1!==(null===(n=window)||void 0===n||null===(n=n.OC)||void 0===n||null===(n=n.coreApps)||void 0===n?void 0:n.indexOf(e));let s=i();return"php"!==r.substring(r.length-3)||o?"php"===r.substring(r.length-3)||o?(s+="settings"!==e&&"core"!==e&&"search"!==e||"ajax"!==t?"/":"/index.php/",o||(s+="apps/"),""!==e&&(s+=e+="/"),t&&(s+=t+"/"),s+=r):(s=a(e),t&&(s+="/"+t+"/"),"/"!==s.substring(s.length-1)&&(s+="/"),s+=r):(s+="/index.php/apps/"+e,"index.php"!==r&&(s+="/",t&&(s+=encodeURI(t+"/")),s+=r)),s};function i(){let e=window._oc_webroot;if(void 0===e){e=location.pathname;const t=e.indexOf("/index.php/");e=-1!==t?e.substr(0,t):e.substr(0,e.lastIndexOf("/"))}return e}function a(e){var t,r;return null!==(r=(null!==(t=window._oc_appswebroots)&&void 0!==t?t:{})[e])&&void 0!==r?r:""}},9662:(e,t,r)=>{var n=r(614),o=r(6330),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not a function")}},6077:(e,t,r)=>{var n=r(614),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},1223:(e,t,r)=>{var n=r(5112),o=r(30),i=r(3070).f,a=n("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][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)}},9670:(e,t,r)=>{var n=r(111),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not an object")}},1318:(e,t,r)=>{var n=r(5656),o=r(1400),i=r(6244),a=function(e){return function(t,r,a){var s,u=n(t),c=i(u),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:(e,t,r)=>{var n=r(9974),o=r(1702),i=r(8361),a=r(7908),s=r(6244),u=r(5417),c=o([].push),l=function(e){var t=1==e,r=2==e,o=3==e,l=4==e,f=6==e,p=7==e,v=5==e||f;return function(h,d,g,y){for(var E,b,m=a(h),I=i(m),O=n(d,g),x=s(I),L=0,w=y||u,S=t?w(h,x):r||p?w(h,0):void 0;x>L;L++)if((v||L in I)&&(b=O(E=I[L],L,m),e))if(t)S[L]=b;else if(b)switch(e){case 3:return!0;case 5:return E;case 6:return L;case 2:c(S,E)}else switch(e){case 4:return!1;case 7:c(S,E)}return f?-1:o||l?l:S}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},1589:(e,t,r)=>{var n=r(1400),o=r(6244),i=r(6135),a=Array,s=Math.max;e.exports=function(e,t,r){for(var u=o(e),c=n(t,u),l=n(void 0===r?u:r,u),f=a(s(l-c,0)),p=0;c<l;c++,p++)i(f,p,e[c]);return f.length=p,f}},206:(e,t,r)=>{var n=r(1702);e.exports=n([].slice)},7475:(e,t,r)=>{var n=r(3157),o=r(4411),i=r(111),a=r(5112)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(o(t)&&(t===s||n(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},5417:(e,t,r)=>{var n=r(7475);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},4326:(e,t,r)=>{var n=r(84),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:(e,t,r)=>{var n=r(1694),o=r(614),i=r(4326),a=r(5112)("toStringTag"),s=Object,u="Arguments"==i(function(){return arguments}());e.exports=n?i: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=s(e),a))?r:u?i(t):"Object"==(n=i(t))&&o(t.callee)?"Arguments":n}},9920:(e,t,r)=>{var n=r(2597),o=r(3887),i=r(1236),a=r(3070);e.exports=function(e,t,r){for(var s=o(t),u=a.f,c=i.f,l=0;l<s.length;l++){var f=s[l];n(e,f)||r&&n(r,f)||u(e,f,c(t,f))}}},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}))},6178:e=>{e.exports=function(e,t){return{value:e,done:t}}},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(4948),o=r(3070),i=r(9114);e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},8709:(e,t,r)=>{"use strict";var n=r(9670),o=r(2140),i=TypeError;e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw i("Incorrect hint");return o(this,e)}},8052:(e,t,r)=>{var n=r(614),o=r(3070),i=r(6339),a=r(3072);e.exports=function(e,t,r,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:t;if(n(r)&&i(r,c,s),s.global)u?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},3072:(e,t,r)=>{var n=r(7854),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},9781:(e,t,r)=>{var n=r(7293);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:e=>{var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},317:(e,t,r)=>{var n=r(7854),o=r(111),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?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}},8509:(e,t,r)=>{var n=r(317)("span").classList,o=n&&n.constructor&&n.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8113:(e,t,r)=>{var n=r(5005);e.exports=n("navigator","userAgent")||""},7392:(e,t,r)=>{var n,o,i=r(7854),a=r(8113),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=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),a=r(8052),s=r(3072),u=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]||s(h,{}):(n[h]||{}).prototype)for(l in t){if(p=t[l],f=e.dontCallGetSet?(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;u(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(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(1702),o=r(8052),i=r(2261),a=r(7293),s=r(5112),u=r(8880),c=s("species"),l=RegExp.prototype;e.exports=function(e,t,r,f){var p=s(e),v=!a((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),h=v&&!a((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return t=!0,null},r[p](""),!t}));if(!v||!h||r){var d=n(/./[p]),g=t(p,""[e],(function(e,t,r,o,a){var s=n(e),u=t.exec;return u===i||u===l.exec?v&&!a?{done:!0,value:d(t,r,o)}:{done:!0,value:s(r,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(l,p,g[1])}f&&u(l[p],"sham",!0)}},2104:(e,t,r)=>{var n=r(4374),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},9974:(e,t,r)=>{var n=r(1702),o=r(9662),i=r(4374),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},4374:(e,t,r)=>{var n=r(7293);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:(e,t,r)=>{var n=r(4374),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},6530:(e,t,r)=>{var n=r(9781),o=r(2597),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},84:(e,t,r)=>{var n=r(4374),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=function(e){return n?a(e):function(){return i.apply(e,arguments)}}},1702:(e,t,r)=>{var n=r(4326),o=r(84);e.exports=function(e){if("Function"===n(e))return o(e)}},5005:(e,t,r)=>{var n=r(7854),o=r(614);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},8173:(e,t,r)=>{var n=r(9662),o=r(8554);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},647:(e,t,r)=>{var n=r(1702),o=r(7908),i=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,p){var v=r+e.length,h=n.length,d=l;return void 0!==f&&(f=o(f),d=c),s(p,d,(function(o,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,r);case"'":return u(t,v);case"<":c=f[u(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>h){var p=i(l/10);return 0===p?o:p<=h?void 0===n[p-1]?a(s,1):n[p-1]+a(s,1):o}c=n[l-1]}return void 0===c?"":c}))}},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}()||Function("return this")()},2597:(e,t,r)=>{var n=r(1702),o=r(7908),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},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(1702),o=r(7293),i=r(4326),a=Object,s=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},9587:(e,t,r)=>{var n=r(614),o=r(111),i=r(7674);e.exports=function(e,t,r){var a,s;return i&&n(a=t.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(e,s),e}},2788:(e,t,r)=>{var n=r(1702),o=r(614),i=r(5465),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},9909:(e,t,r)=>{var n,o,i,a=r(4811),s=r(7854),u=r(111),c=r(8880),l=r(2597),f=r(5465),p=r(6200),v=r(3501),h="Object already initialized",d=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw d(h);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var E=p("state");v[E]=!0,n=function(e,t){if(l(e,E))throw d(h);return t.facade=e,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(!u(t)||(r=o(t)).type!==e)throw d("Incompatible receiver, "+e+" required");return r}}}},3157:(e,t,r)=>{var n=r(4326);e.exports=Array.isArray||function(e){return"Array"==n(e)}},614:(e,t,r)=>{var n=r(4154),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4411:(e,t,r)=>{var n=r(1702),o=r(7293),i=r(614),a=r(648),s=r(5005),u=r(2788),c=function(){},l=[],f=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=n(p.exec),h=!p.exec(c),d=function(e){if(!i(e))return!1;try{return f(c,l,e),!0}catch(e){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!v(p,u(e))}catch(e){return!0}};g.sham=!0,e.exports=!f||o((function(){var e;return d(d.call)||!d(Object)||!d((function(){e=!0}))||e}))?g:d},4705:(e,t,r)=>{var n=r(7293),o=r(614),i=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r==l||r!=c&&(o(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},8554:e=>{e.exports=function(e){return null==e}},111:(e,t,r)=>{var n=r(614),o=r(4154),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},1913:e=>{e.exports=!1},2190:(e,t,r)=>{var n=r(5005),o=r(614),i=r(7976),a=r(3307),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,s(e))}},3061:(e,t,r)=>{"use strict";var n=r(3383).IteratorPrototype,o=r(30),i=r(9114),a=r(8003),s=r(7497),u=function(){return this};e.exports=function(e,t,r,c){var l=t+" Iterator";return e.prototype=o(n,{next:i(+!c,r)}),a(e,l,!1,!0),s[l]=u,e}},1656:(e,t,r)=>{"use strict";var n=r(2109),o=r(6916),i=r(1913),a=r(6530),s=r(614),u=r(3061),c=r(9518),l=r(7674),f=r(8003),p=r(8880),v=r(8052),h=r(5112),d=r(7497),g=r(3383),y=a.PROPER,E=a.CONFIGURABLE,b=g.IteratorPrototype,m=g.BUGGY_SAFARI_ITERATORS,I=h("iterator"),O="keys",x="values",L="entries",w=function(){return this};e.exports=function(e,t,r,a,h,g,S){u(r,t,a);var R,N,T,A=function(e){if(e===h&&D)return D;if(!m&&e in $)return $[e];switch(e){case O:case x:case L:return function(){return new r(this,e)}}return function(){return new r(this)}},P=t+" Iterator",j=!1,$=e.prototype,_=$[I]||$["@@iterator"]||h&&$[h],D=!m&&_||A(h),F="Array"==t&&$.entries||_;if(F&&(R=c(F.call(new e)))!==Object.prototype&&R.next&&(i||c(R)===b||(l?l(R,b):s(R[I])||v(R,I,w)),f(R,P,!0,!0),i&&(d[P]=w)),y&&h==x&&_&&_.name!==x&&(!i&&E?p($,"name",x):(j=!0,D=function(){return o(_,this)})),h)if(N={values:A(x),keys:g?D:A(O),entries:A(L)},S)for(T in N)(m||j||!(T in $))&&v($,T,N[T]);else n({target:t,proto:!0,forced:m||j},N);return i&&!S||$[I]===D||v($,I,D,{name:h}),d[t]=D,N}},3383:(e,t,r)=>{"use strict";var n,o,i,a=r(7293),s=r(614),u=r(111),c=r(30),l=r(9518),f=r(8052),p=r(5112),v=r(1913),h=p("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):d=!0),!u(n)||a((function(){var e={};return n[h].call(e)!==e}))?n={}:v&&(n=c(n)),s(n[h])||f(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},7497:e=>{e.exports={}},6244:(e,t,r)=>{var n=r(7466);e.exports=function(e){return n(e.length)}},6339:(e,t,r)=>{var n=r(7293),o=r(614),i=r(2597),a=r(9781),s=r(6530).CONFIGURABLE,u=r(2788),c=r(9909),l=c.enforce,f=c.get,p=Object.defineProperty,v=a&&!n((function(){return 8!==p((function(){}),"length",{value:8}).length})),h=String(String).split("String"),d=e.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&i(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=l(e);return i(n,"source")||(n.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=d((function(){return o(this)&&f(this).source||u(this)}),"toString")},4758:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},1574:(e,t,r)=>{"use strict";var n=r(9781),o=r(1702),i=r(6916),a=r(7293),s=r(1956),u=r(5181),c=r(5296),l=r(7908),f=r(8361),p=Object.assign,v=Object.defineProperty,h=o([].concat);e.exports=!p||a((function(){if(n&&1!==p({b:1},p(v({},"a",{enumerable:!0,get:function(){v(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!=p({},e)[r]||s(p({},t)).join("")!=o}))?function(e,t){for(var r=l(e),o=arguments.length,a=1,p=u.f,v=c.f;o>a;)for(var d,g=f(arguments[a++]),y=p?h(s(g),p(g)):s(g),E=y.length,b=0;E>b;)d=y[b++],n&&!i(v,g,d)||(r[d]=g[d]);return r}:p},30:(e,t,r)=>{var n,o=r(9670),i=r(6048),a=r(748),s=r(3501),u=r(490),c=r(317),l=r(6200),f="prototype",p="script",v=l("IE_PROTO"),h=function(){},d=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;y="undefined"!=typeof document?document.domain&&n?g(n):(t=c("iframe"),r="java"+p+":",t.style.display="none",u.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):g(n);for(var o=a.length;o--;)delete y[f][a[o]];return y()};s[v]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h[f]=o(e),r=new h,h[f]=null,r[v]=e):r=y(),void 0===t?r:i.f(r,t)}},6048:(e,t,r)=>{var n=r(9781),o=r(3353),i=r(3070),a=r(9670),s=r(5656),u=r(1956);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);for(var r,n=s(t),o=u(t),c=o.length,l=0;c>l;)i.f(e,r=o[l++],n[r]);return e}},3070:(e,t,r)=>{var n=r(9781),o=r(4664),i=r(3353),a=r(9670),s=r(4948),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",v="writable";t.f=n?i?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&v in r&&!r[v]){var n=l(e,t);n&&n[v]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(a(e),t=s(t),a(r),o)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1236:(e,t,r)=>{var n=r(9781),o=r(6916),i=r(5296),a=r(9114),s=r(5656),u=r(4948),c=r(2597),l=r(4664),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=u(t),l)try{return f(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},1156:(e,t,r)=>{var n=r(4326),o=r(5656),i=r(8006).f,a=r(1589),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==n(e)?function(e){try{return i(e)}catch(e){return a(s)}}(e):i(o(e))}},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(2597),o=r(614),i=r(7908),a=r(6200),s=r(8544),u=a("IE_PROTO"),c=Object,l=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(n(t,u))return t[u];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof c?l:null}},7976:(e,t,r)=>{var n=r(1702);e.exports=n({}.isPrototypeOf)},6324:(e,t,r)=>{var n=r(1702),o=r(2597),i=r(5656),a=r(1318).indexOf,s=r(3501),u=n([].push);e.exports=function(e,t){var r,n=i(e),c=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&u(l,r);for(;t.length>c;)o(n,r=t[c++])&&(~a(l,r)||u(l,r));return l}},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(1702),o=r(9670),i=r(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),i(n),t?e(r,n):r.__proto__=n,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)+"]"}},2140:(e,t,r)=>{var n=r(6916),o=r(614),i=r(111),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!i(s=n(r,e)))return s;if(o(r=e.valueOf)&&!i(s=n(r,e)))return s;if("string"!==t&&o(r=e.toString)&&!i(s=n(r,e)))return s;throw a("Can't convert object to primitive value")}},3887:(e,t,r)=>{var n=r(5005),o=r(1702),i=r(8006),a=r(5181),s=r(9670),u=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=a.f;return r?u(t,r(e)):t}},857:(e,t,r)=>{var n=r(7854);e.exports=n},7651:(e,t,r)=>{var n=r(6916),o=r(9670),i=r(614),a=r(4326),s=r(2261),u=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var c=n(r,e,t);return null!==c&&o(c),c}if("RegExp"===a(e))return n(s,e,t);throw u("RegExp#exec called on incompatible receiver")}},2261:(e,t,r)=>{"use strict";var n,o,i=r(6916),a=r(1702),s=r(1340),u=r(7066),c=r(2999),l=r(2309),f=r(30),p=r(9909).get,v=r(9441),h=r(7168),d=l("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,E=a("".charAt),b=a("".indexOf),m=a("".replace),I=a("".slice),O=(o=/b*/g,i(g,n=/a/,"a"),i(g,o,"a"),0!==n.lastIndex||0!==o.lastIndex),x=c.BROKEN_CARET,L=void 0!==/()??/.exec("")[1];(O||L||x||v||h)&&(y=function(e){var t,r,n,o,a,c,l,v=this,h=p(v),w=s(e),S=h.raw;if(S)return S.lastIndex=v.lastIndex,t=i(y,S,w),v.lastIndex=S.lastIndex,t;var R=h.groups,N=x&&v.sticky,T=i(u,v),A=v.source,P=0,j=w;if(N&&(T=m(T,"y",""),-1===b(T,"g")&&(T+="g"),j=I(w,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==E(w,v.lastIndex-1))&&(A="(?: "+A+")",j=" "+j,P++),r=new RegExp("^(?:"+A+")",T)),L&&(r=new RegExp("^"+A+"$(?!\\s)",T)),O&&(n=v.lastIndex),o=i(g,N?r:v,j),N?o?(o.input=I(o.input,P),o[0]=I(o[0],P),o.index=v.lastIndex,v.lastIndex+=o[0].length):v.lastIndex=0:O&&o&&(v.lastIndex=v.global?o.index+o[0].length:n),L&&o&&o.length>1&&i(d,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&R)for(o.groups=c=f(null),a=0;a<R.length;a++)c[(l=R[a])[0]]=o[l[1]];return o}),e.exports=y},7066:(e,t,r)=>{"use strict";var n=r(9670);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},2999:(e,t,r)=>{var n=r(7293),o=r(7854).RegExp,i=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),s=i||n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},9441:(e,t,r)=>{var n=r(7293),o=r(7854).RegExp;e.exports=n((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:(e,t,r)=>{var n=r(7293),o=r(7854).RegExp;e.exports=n((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:(e,t,r)=>{var n=r(8554),o=TypeError;e.exports=function(e){if(n(e))throw o("Can't call method on "+e);return e}},8003:(e,t,r)=>{var n=r(3070).f,o=r(2597),i=r(5112)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,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(3072),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},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.25.5",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},8710:(e,t,r)=>{var n=r(1702),o=r(9303),i=r(1340),a=r(4488),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(e){return function(t,r){var n,l,f=i(a(t)),p=o(r),v=f.length;return p<0||p>=v?e?"":void 0:(n=u(f,p))<55296||n>56319||p+1===v||(l=u(f,p+1))<56320||l>57343?e?s(f,p):n:e?c(f,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},3111:(e,t,r)=>{var n=r(1702),o=r(4488),i=r(1340),a=r(1361),s=n("".replace),u="["+a+"]",c=RegExp("^"+u+u+"*"),l=RegExp(u+u+"*$"),f=function(e){return function(t){var r=i(o(t));return 1&e&&(r=s(r,c,"")),2&e&&(r=s(r,l,"")),r}};e.exports={start:f(1),end:f(2),trim:f(3)}},6293:(e,t,r)=>{var n=r(7392),o=r(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},6532:(e,t,r)=>{var n=r(6916),o=r(5005),i=r(5112),a=r(8052);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return n(r,this)}),{arity:1})}},2015:(e,t,r)=>{var n=r(6293);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},863:(e,t,r)=>{var n=r(1702);e.exports=n(1..valueOf)},1400:(e,t,r)=>{var n=r(9303),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))}},9303:(e,t,r)=>{var n=r(4758);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},7466:(e,t,r)=>{var n=r(9303),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},7908:(e,t,r)=>{var n=r(4488),o=Object;e.exports=function(e){return o(n(e))}},7593:(e,t,r)=>{var n=r(6916),o=r(111),i=r(2190),a=r(8173),s=r(2140),u=r(5112),c=TypeError,l=u("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,u=a(e,l);if(u){if(void 0===t&&(t="default"),r=n(u,e,t),!o(r)||i(r))return r;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},4948:(e,t,r)=>{var n=r(7593),o=r(2190);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},1694:(e,t,r)=>{var n={};n[r(5112)("toStringTag")]="z",e.exports="[object z]"===String(n)},1340:(e,t,r)=>{var n=r(648),o=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},6330:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9711:(e,t,r)=>{var n=r(1702),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},3307:(e,t,r)=>{var n=r(6293);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(e,t,r)=>{var n=r(9781),o=r(7293);e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:(e,t,r)=>{var n=r(7854),o=r(614),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},6800:(e,t,r)=>{var n=r(857),o=r(2597),i=r(6061),a=r(3070).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},6061:(e,t,r)=>{var n=r(5112);t.f=n},5112:(e,t,r)=>{var n=r(7854),o=r(2309),i=r(2597),a=r(9711),s=r(6293),u=r(3307),c=o("wks"),l=n.Symbol,f=l&&l.for,p=u?l:l&&l.withoutSetter||a;e.exports=function(e){if(!i(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&i(l,e)?c[e]=l[e]:c[e]=u&&f?f(t):p(t)}return c[e]}},1361:e=>{e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},6992:(e,t,r)=>{"use strict";var n=r(5656),o=r(1223),i=r(7497),a=r(9909),s=r(3070).f,u=r(1656),c=r(6178),l=r(1913),f=r(9781),p="Array Iterator",v=a.set,h=a.getterFor(p);e.exports=u(Array,"Array",(function(e,t){v(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,c(void 0,!0)):c("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var d=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==d.name)try{s(d,"name",{value:"values"})}catch(e){}},6078:(e,t,r)=>{var n=r(2597),o=r(8052),i=r(8709),a=r(5112)("toPrimitive"),s=Date.prototype;n(s,a)||o(s,a,i)},8862:(e,t,r)=>{var n=r(2109),o=r(5005),i=r(2104),a=r(6916),s=r(1702),u=r(7293),c=r(3157),l=r(614),f=r(111),p=r(2190),v=r(206),h=r(6293),d=o("JSON","stringify"),g=s(/./.exec),y=s("".charAt),E=s("".charCodeAt),b=s("".replace),m=s(1..toString),I=/[\uD800-\uDFFF]/g,O=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,L=!h||u((function(){var e=o("Symbol")();return"[null]"!=d([e])||"{}"!=d({a:e})||"{}"!=d(Object(e))})),w=u((function(){return'"\\udf06\\ud834"'!==d("\udf06\ud834")||'"\\udead"'!==d("\udead")})),S=function(e,t){var r=v(arguments),n=t;if((f(t)||void 0!==e)&&!p(e))return c(t)||(t=function(e,t){if(l(n)&&(t=a(n,this,e,t)),!p(t))return t}),r[1]=t,i(d,null,r)},R=function(e,t,r){var n=y(r,t-1),o=y(r,t+1);return g(O,e)&&!g(x,o)||g(x,e)&&!g(O,n)?"\\u"+m(E(e,0),16):e};d&&n({target:"JSON",stat:!0,arity:3,forced:L||w},{stringify:function(e,t,r){var n=v(arguments),o=i(L?S:d,null,n);return w&&"string"==typeof o?b(o,I,R):o}})},9653:(e,t,r)=>{"use strict";var n=r(9781),o=r(7854),i=r(1702),a=r(4705),s=r(8052),u=r(2597),c=r(9587),l=r(7976),f=r(2190),p=r(7593),v=r(7293),h=r(8006).f,d=r(1236).f,g=r(3070).f,y=r(863),E=r(3111).trim,b="Number",m=o[b],I=m.prototype,O=o.TypeError,x=i("".slice),L=i("".charCodeAt),w=function(e){var t,r,n,o,i,a,s,u,c=p(e,"number");if(f(c))throw O("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=E(c),43===(t=L(c,0))||45===t){if(88===(r=L(c,2))||120===r)return NaN}else if(48===t){switch(L(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=x(c,2)).length,s=0;s<a;s++)if((u=L(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c};if(a(b,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var S,R=function(e){var t=arguments.length<1?0:m(function(e){var t=p(e,"number");return"bigint"==typeof t?t:w(t)}(e)),r=this;return l(I,r)&&v((function(){y(r)}))?c(Object(t),r,R):t},N=n?h(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),T=0;N.length>T;T++)u(m,S=N[T])&&!u(R,S)&&g(R,S,d(m,S));R.prototype=I,I.constructor=R,s(o,b,R,{constructor:!0})}},9601:(e,t,r)=>{var n=r(2109),o=r(1574);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9070:(e,t,r)=>{var n=r(2109),o=r(9781),i=r(3070).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},9660:(e,t,r)=>{var n=r(2109),o=r(6293),i=r(7293),a=r(5181),s=r(7908);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},1539:(e,t,r)=>{var n=r(1694),o=r(8052),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})},8783:(e,t,r)=>{"use strict";var n=r(8710).charAt,o=r(1340),i=r(9909),a=r(1656),s=r(6178),u="String Iterator",c=i.set,l=i.getterFor(u);a(String,"String",(function(e){c(this,{type:u,string:o(e),index:0})}),(function(){var e,t=l(this),r=t.string,o=t.index;return o>=r.length?s(void 0,!0):(e=n(r,o),t.index+=e.length,s(e,!1))}))},5306:(e,t,r)=>{"use strict";var n=r(2104),o=r(6916),i=r(1702),a=r(7007),s=r(7293),u=r(9670),c=r(614),l=r(8554),f=r(9303),p=r(7466),v=r(1340),h=r(4488),d=r(1530),g=r(8173),y=r(647),E=r(7651),b=r(5112)("replace"),m=Math.max,I=Math.min,O=i([].concat),x=i([].push),L=i("".indexOf),w=i("".slice),S="$0"==="a".replace(/./,"$0"),R=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,r){var i=R?"$":"$0";return[function(e,r){var n=h(this),i=l(e)?void 0:g(e,b);return i?o(i,e,n,r):o(t,v(n),e,r)},function(e,o){var a=u(this),s=v(e);if("string"==typeof o&&-1===L(o,i)&&-1===L(o,"$<")){var l=r(t,a,s,o);if(l.done)return l.value}var h=c(o);h||(o=v(o));var g=a.global;if(g){var b=a.unicode;a.lastIndex=0}for(var S=[];;){var R=E(a,s);if(null===R)break;if(x(S,R),!g)break;""===v(R[0])&&(a.lastIndex=d(s,p(a.lastIndex),b))}for(var N,T="",A=0,P=0;P<S.length;P++){for(var j=v((R=S[P])[0]),$=m(I(f(R.index),s.length),0),_=[],D=1;D<R.length;D++)x(_,void 0===(N=R[D])?N:String(N));var F=R.groups;if(h){var C=O([j],_,$,s);void 0!==F&&x(C,F);var M=v(n(o,void 0,C))}else M=y(j,s,$,_,F,o);$>=A&&(T+=w(s,A,$)+M,A=$+j.length)}return T+w(s,A)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!S||R)},4032:(e,t,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(6916),a=r(1702),s=r(1913),u=r(9781),c=r(6293),l=r(7293),f=r(2597),p=r(7976),v=r(9670),h=r(5656),d=r(4948),g=r(1340),y=r(9114),E=r(30),b=r(1956),m=r(8006),I=r(1156),O=r(5181),x=r(1236),L=r(3070),w=r(6048),S=r(5296),R=r(8052),N=r(2309),T=r(6200),A=r(3501),P=r(9711),j=r(5112),$=r(6061),_=r(6800),D=r(6532),F=r(8003),C=r(9909),M=r(2092).forEach,k=T("hidden"),G="Symbol",U="prototype",B=C.set,X=C.getterFor(G),V=Object[U],H=o.Symbol,W=H&&H[U],z=o.TypeError,Y=o.QObject,q=x.f,K=L.f,J=I.f,Z=S.f,Q=a([].push),ee=N("symbols"),te=N("op-symbols"),re=N("wks"),ne=!Y||!Y[U]||!Y[U].findChild,oe=u&&l((function(){return 7!=E(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=q(V,t);n&&delete V[t],K(e,t,r),n&&e!==V&&K(V,t,n)}:K,ie=function(e,t){var r=ee[e]=E(W);return B(r,{type:G,tag:e,description:t}),u||(r.description=t),r},ae=function(e,t,r){e===V&&ae(te,t,r),v(e);var n=d(t);return v(r),f(ee,n)?(r.enumerable?(f(e,k)&&e[k][n]&&(e[k][n]=!1),r=E(r,{enumerable:y(0,!1)})):(f(e,k)||K(e,k,y(1,{})),e[k][n]=!0),oe(e,n,r)):K(e,n,r)},se=function(e,t){v(e);var r=h(t),n=b(r).concat(fe(r));return M(n,(function(t){u&&!i(ue,r,t)||ae(e,t,r[t])})),e},ue=function(e){var t=d(e),r=i(Z,this,t);return!(this===V&&f(ee,t)&&!f(te,t))&&(!(r||!f(this,t)||!f(ee,t)||f(this,k)&&this[k][t])||r)},ce=function(e,t){var r=h(e),n=d(t);if(r!==V||!f(ee,n)||f(te,n)){var o=q(r,n);return!o||!f(ee,n)||f(r,k)&&r[k][n]||(o.enumerable=!0),o}},le=function(e){var t=J(h(e)),r=[];return M(t,(function(e){f(ee,e)||f(A,e)||Q(r,e)})),r},fe=function(e){var t=e===V,r=J(t?te:h(e)),n=[];return M(r,(function(e){!f(ee,e)||t&&!f(V,e)||Q(n,ee[e])})),n};c||(R(W=(H=function(){if(p(W,this))throw z("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=P(e),r=function(e){this===V&&i(r,te,e),f(this,k)&&f(this[k],t)&&(this[k][t]=!1),oe(this,t,y(1,e))};return u&&ne&&oe(V,t,{configurable:!0,set:r}),ie(t,e)})[U],"toString",(function(){return X(this).tag})),R(H,"withoutSetter",(function(e){return ie(P(e),e)})),S.f=ue,L.f=ae,w.f=se,x.f=ce,m.f=I.f=le,O.f=fe,$.f=function(e){return ie(j(e),e)},u&&(K(W,"description",{configurable:!0,get:function(){return X(this).description}}),s||R(V,"propertyIsEnumerable",ue,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),M(b(re),(function(e){_(e)})),n({target:G,stat:!0,forced:!c},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(e,t){return void 0===t?E(e):se(E(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:le}),D(),F(H,G),A[k]=!0},1817:(e,t,r)=>{"use strict";var n=r(2109),o=r(9781),i=r(7854),a=r(1702),s=r(2597),u=r(614),c=r(7976),l=r(1340),f=r(3070).f,p=r(9920),v=i.Symbol,h=v&&v.prototype;if(o&&u(v)&&(!("description"in h)||void 0!==v().description)){var d={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=c(h,this)?new v(e):void 0===e?v():v(e);return""===e&&(d[t]=!0),t};p(g,v),g.prototype=h,h.constructor=g;var y="Symbol(test)"==String(v("test")),E=a(h.valueOf),b=a(h.toString),m=/^Symbol\((.*)\)[^)]+$/,I=a("".replace),O=a("".slice);f(h,"description",{configurable:!0,get:function(){var e=E(this);if(s(d,e))return"";var t=b(e),r=y?O(t,7,-1):I(t,m,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:g})}},763:(e,t,r)=>{var n=r(2109),o=r(5005),i=r(2597),a=r(1340),s=r(2309),u=r(2015),c=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(i(c,t))return c[t];var r=o("Symbol")(t);return c[t]=r,l[r]=t,r}})},2165:(e,t,r)=>{r(6800)("iterator")},2526:(e,t,r)=>{r(4032),r(763),r(6620),r(8862),r(9660)},6620:(e,t,r)=>{var n=r(2109),o=r(2597),i=r(2190),a=r(6330),s=r(2309),u=r(2015),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},6649:(e,t,r)=>{var n=r(6800),o=r(6532);n("toPrimitive"),o()},3948:(e,t,r)=>{var n=r(7854),o=r(8324),i=r(8509),a=r(6992),s=r(8880),u=r(5112),c=u("iterator"),l=u("toStringTag"),f=a.values,p=function(e,t){if(e){if(e[c]!==f)try{s(e,c,f)}catch(t){e[c]=f}if(e[l]||s(e,l,t),o[t])for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(t){e[r]=a[r]}}};for(var v in o)p(n[v]&&n[v].prototype,v);p(i,"DOMTokenList")},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 a(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 s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&p())}function p(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return 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];u.push(new v(e,t)),1!==u.length||c||a(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}},7888:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7907),o=r(2426);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=i(n),s=i(o),u=function(){function e(e){"function"==typeof e.getVersion&&a.default(e.getVersion())?s.default(e.getVersion())!==s.default(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}return e.prototype.getVersion=function(){return"3.1.0"},e.prototype.subscribe=function(e,t){this.bus.subscribe(e,t)},e.prototype.unsubscribe=function(e,t){this.bus.unsubscribe(e,t)},e.prototype.emit=function(e,t){this.bus.emit(e,t)},e}(),c=function(){function e(){this.handlers=new Map}return e.prototype.getVersion=function(){return"3.1.0"},e.prototype.subscribe=function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).concat(t))},e.prototype.unsubscribe=function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).filter((function(e){return e!=t})))},e.prototype.emit=function(e,t){(this.handlers.get(e)||[]).forEach((function(e){try{e(t)}catch(e){console.error("could not invoke event listener",e)}}))},e}(),l=null;function f(){return null!==l?l:"undefined"==typeof window?new Proxy({},{get:function(){return function(){return console.error("Window not available, EventBus can not be established!")}}}):(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),l=void 0!==(null===window||void 0===window?void 0:window._nc_event_bus)?new u(window._nc_event_bus):window._nc_event_bus=new c)}t.ProxyBus=u,t.SimpleBus=c,t.emit=function(e,t){f().emit(e,t)},t.subscribe=function(e,t){f().subscribe(e,t)},t.unsubscribe=function(e,t){f().unsubscribe(e,t)}}},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);const t=(0,r(7499).IY)().setApp("Files_PDFViewer").detectUser().build();var n=document.getElementById("hideDownload");const o=function(){return!n||n&&"true"!==n.value};var i=document.getElementById("isPublic");const a=function(){return!(!i||"1"!==i.value)};var s=document.getElementById("mimetype");const u=function(){return s&&"application/pdf"===s.value},c=function(){return!o()&&void 0!==OCA.RichDocuments};window.addEventListener("DOMContentLoaded",(function(){if(t.debug("Initializing for public page",{isPublicPage:a(),canDownload:o(),isSecureViewerAvailable:c()}),!a()||u())if(a()&&u()&&!c()){var r=location.hash.split("page=")[1]||0,n=document.getElementById("files-public-content"),i=document.getElementById("sharingToken"),s=document.querySelector("body > footer")||document.querySelector("#app-content > footer"),l=document.querySelector("#content"),f=i.value,p=(0,e.generateUrl)("/s/{token}/download",{token:f}),v=(0,e.generateUrl)("/apps/files_pdfviewer/?file={downloadUrl}&canDownload={canDownload}#page={page}",{canDownload:o()?1:0,downloadUrl:p,page:r});if(n){if(n.innerHTML="",OCA.Viewer)OCA.Viewer.setRootElement("#files-public-content"),OCA.Viewer.open({path:"/"});else{t.error("Viewer not available, PDF viewer directly injected");var h=document.createElement("iframe");h.style.height="100%",h.style.width="100%",h.style.position="absolute",n.appendChild(h),h.src=v}s.style.display="none",l.style.minHeight="calc(100% - var(--header-height))",l.style.marginLeft="0",l.style.marginRight="0",l.style.width="100%",l.style.borderRadius="unset"}else t.error("Unable to inject the PDF Viewer")}else t.error("But this does not appear to be a public page");else t.debug("But this is not a single pdf share")}))})()})();
//# sourceMappingURL=files_pdfviewer-public.js.map?v=c813845e5640f2e28c9d