-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathtwofactor_nextcloud_notification-challenge.js
More file actions
2 lines (2 loc) · 168 KB
/
twofactor_nextcloud_notification-challenge.js
File metadata and controls
2 lines (2 loc) · 168 KB
1
2
(()=>{var e={950:(t,e,n)=>{"use strict";const r=n(322),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(692),{safeRe:s,t:a}=n(208),c=n(901),{compareIdentifiers:u}=n(229);class l{constructor(t,e){if(e=c(e),t instanceof l){if(t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",t,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const n=t.trim().match(e.loose?s[a.LOOSE]:s[a.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,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((t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<i)return e}return t})):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(t){if(r("SemVer.compare",this.version,this.options,t),!(t instanceof l)){if("string"==typeof t&&t===this.version)return 0;t=new l(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof l||(t=new l(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:this.patch>t.patch?1:0}comparePre(t){if(t instanceof l||(t=new l(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let e=0;do{const n=this.prerelease[e],o=t.prerelease[e];if(r("prerelease compare",e,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 u(n,o)}while(++e)}compareBuild(t){t instanceof l||(t=new l(t,this.options));let e=0;do{const n=this.build[e],o=t.build[e];if(r("build compare",e,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 u(n,o)}while(++e)}inc(t,e,n){if(t.startsWith("pre")){if(!e&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(e){const t=`-${e}`.match(this.options.loose?s[a.PRERELEASELOOSE]:s[a.PRERELEASE]);if(!t||t[1]!==e)throw new Error(`invalid identifier: ${e}`)}}switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,n),this.inc("pre",e,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,n),this.inc("pre",e,n);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;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 t=Number(n)?1:0;if(0===this.prerelease.length)this.prerelease=[t];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(e===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let r=[e,t];!1===n&&(r=[e]),0===u(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}t.exports=l},64:(t,e,n)=>{"use strict";const r=n(950);t.exports=(t,e)=>new r(t,e).major},690:(t,e,n)=>{"use strict";const r=n(950);t.exports=(t,e,n=!1)=>{if(t instanceof r)return t;try{return new r(t,e)}catch(t){if(!n)return null;throw t}}},711:(t,e,n)=>{"use strict";const r=n(690);t.exports=(t,e)=>{const n=r(t,e);return n?n.version:null}},692:t=>{"use strict";const e=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:e,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},322:(t,e,n)=>{"use strict";var r=n(606);const o="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};t.exports=o},229:t=>{"use strict";const e=/^[0-9]+$/,n=(t,n)=>{if("number"==typeof t&&"number"==typeof n)return t===n?0:t<n?-1:1;const r=e.test(t),o=e.test(n);return r&&o&&(t=+t,n=+n),t===n?0:r&&!o?-1:o&&!r?1:t<n?-1:1};t.exports={compareIdentifiers:n,rcompareIdentifiers:(t,e)=>n(e,t)}},901:t=>{"use strict";const e=Object.freeze({loose:!0}),n=Object.freeze({});t.exports=t=>t?"object"!=typeof t?e:t:n},208:(t,e,n)=>{"use strict";const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=n(692),s=n(322),a=(e=t.exports={}).re=[],c=e.safeRe=[],u=e.src=[],l=e.safeSrc=[],f=e.t={};let p=0;const d="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",i],[d,o]],v=(t,e,n)=>{const r=(t=>{for(const[e,n]of h)t=t.split(`${e}*`).join(`${e}{0,${n}}`).split(`${e}+`).join(`${e}{1,${n}}`);return t})(e),o=p++;s(t,o,e),f[t]=o,u[o]=e,l[o]=r,a[o]=new RegExp(e,n?"g":void 0),c[o]=new RegExp(r,n?"g":void 0)};v("NUMERICIDENTIFIER","0|[1-9]\\d*"),v("NUMERICIDENTIFIERLOOSE","\\d+"),v("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),v("MAINVERSION",`(${u[f.NUMERICIDENTIFIER]})\\.(${u[f.NUMERICIDENTIFIER]})\\.(${u[f.NUMERICIDENTIFIER]})`),v("MAINVERSIONLOOSE",`(${u[f.NUMERICIDENTIFIERLOOSE]})\\.(${u[f.NUMERICIDENTIFIERLOOSE]})\\.(${u[f.NUMERICIDENTIFIERLOOSE]})`),v("PRERELEASEIDENTIFIER",`(?:${u[f.NONNUMERICIDENTIFIER]}|${u[f.NUMERICIDENTIFIER]})`),v("PRERELEASEIDENTIFIERLOOSE",`(?:${u[f.NONNUMERICIDENTIFIER]}|${u[f.NUMERICIDENTIFIERLOOSE]})`),v("PRERELEASE",`(?:-(${u[f.PRERELEASEIDENTIFIER]}(?:\\.${u[f.PRERELEASEIDENTIFIER]})*))`),v("PRERELEASELOOSE",`(?:-?(${u[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[f.PRERELEASEIDENTIFIERLOOSE]})*))`),v("BUILDIDENTIFIER",`${d}+`),v("BUILD",`(?:\\+(${u[f.BUILDIDENTIFIER]}(?:\\.${u[f.BUILDIDENTIFIER]})*))`),v("FULLPLAIN",`v?${u[f.MAINVERSION]}${u[f.PRERELEASE]}?${u[f.BUILD]}?`),v("FULL",`^${u[f.FULLPLAIN]}$`),v("LOOSEPLAIN",`[v=\\s]*${u[f.MAINVERSIONLOOSE]}${u[f.PRERELEASELOOSE]}?${u[f.BUILD]}?`),v("LOOSE",`^${u[f.LOOSEPLAIN]}$`),v("GTLT","((?:<|>)?=?)"),v("XRANGEIDENTIFIERLOOSE",`${u[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),v("XRANGEIDENTIFIER",`${u[f.NUMERICIDENTIFIER]}|x|X|\\*`),v("XRANGEPLAIN",`[v=\\s]*(${u[f.XRANGEIDENTIFIER]})(?:\\.(${u[f.XRANGEIDENTIFIER]})(?:\\.(${u[f.XRANGEIDENTIFIER]})(?:${u[f.PRERELEASE]})?${u[f.BUILD]}?)?)?`),v("XRANGEPLAINLOOSE",`[v=\\s]*(${u[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[f.XRANGEIDENTIFIERLOOSE]})(?:${u[f.PRERELEASELOOSE]})?${u[f.BUILD]}?)?)?`),v("XRANGE",`^${u[f.GTLT]}\\s*${u[f.XRANGEPLAIN]}$`),v("XRANGELOOSE",`^${u[f.GTLT]}\\s*${u[f.XRANGEPLAINLOOSE]}$`),v("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),v("COERCE",`${u[f.COERCEPLAIN]}(?:$|[^\\d])`),v("COERCEFULL",u[f.COERCEPLAIN]+`(?:${u[f.PRERELEASE]})?`+`(?:${u[f.BUILD]})?(?:$|[^\\d])`),v("COERCERTL",u[f.COERCE],!0),v("COERCERTLFULL",u[f.COERCEFULL],!0),v("LONETILDE","(?:~>?)"),v("TILDETRIM",`(\\s*)${u[f.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",v("TILDE",`^${u[f.LONETILDE]}${u[f.XRANGEPLAIN]}$`),v("TILDELOOSE",`^${u[f.LONETILDE]}${u[f.XRANGEPLAINLOOSE]}$`),v("LONECARET","(?:\\^)"),v("CARETTRIM",`(\\s*)${u[f.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",v("CARET",`^${u[f.LONECARET]}${u[f.XRANGEPLAIN]}$`),v("CARETLOOSE",`^${u[f.LONECARET]}${u[f.XRANGEPLAINLOOSE]}$`),v("COMPARATORLOOSE",`^${u[f.GTLT]}\\s*(${u[f.LOOSEPLAIN]})$|^$`),v("COMPARATOR",`^${u[f.GTLT]}\\s*(${u[f.FULLPLAIN]})$|^$`),v("COMPARATORTRIM",`(\\s*)${u[f.GTLT]}\\s*(${u[f.LOOSEPLAIN]}|${u[f.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",v("HYPHENRANGE",`^\\s*(${u[f.XRANGEPLAIN]})\\s+-\\s+(${u[f.XRANGEPLAIN]})\\s*$`),v("HYPHENRANGELOOSE",`^\\s*(${u[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[f.XRANGEPLAINLOOSE]})\\s*$`),v("STAR","(<|>)?=?\\s*\\*"),v("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),v("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},526:(t,e)=>{"use strict";e.byteLength=function(t){var e=a(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,i=a(t),s=i[0],c=i[1],u=new o(function(t,e,n){return 3*(e+n)/4-n}(0,s,c)),l=0,f=c>0?s-4:s;for(n=0;n<f;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],u[l++]=e>>16&255,u[l++]=e>>8&255,u[l++]=255&e;2===c&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,u[l++]=255&e);1===c&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,u[l++]=e>>8&255,u[l++]=255&e);return u},e.fromByteArray=function(t){for(var e,r=t.length,o=r%3,i=[],s=16383,a=0,u=r-o;a<u;a+=s)i.push(c(t,a,a+s>u?u:a+s));1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=i[s],r[i.charCodeAt(s)]=s;function a(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,r){for(var o,i,s=[],a=e;a<r;a+=3)o=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),s.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},287:(t,e,n)=>{"use strict";const r=n(526),o=n(251),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.hp=c,e.IS=50;const s=2147483647;function a(t){if(t>s)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return f(t)}return u(t,e,n)}function u(t,e,n){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const n=0|v(t,e);let r=a(n);const o=r.write(t,e);o!==n&&(r=r.slice(0,o));return r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(J(t,Uint8Array)){const e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return p(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(J(t,ArrayBuffer)||t&&J(t.buffer,ArrayBuffer))return d(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(J(t,SharedArrayBuffer)||t&&J(t.buffer,SharedArrayBuffer)))return d(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return c.from(r,e,n);const o=function(t){if(c.isBuffer(t)){const e=0|h(t.length),n=a(e);return 0===n.length||t.copy(n,0,0,e),n}if(void 0!==t.length)return"number"!=typeof t.length||K(t.length)?a(0):p(t);if("Buffer"===t.type&&Array.isArray(t.data))return p(t.data)}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return c.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function f(t){return l(t),a(t<0?0:0|h(t))}function p(t){const e=t.length<0?0:0|h(t.length),n=a(e);for(let r=0;r<e;r+=1)n[r]=255&t[r];return n}function d(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),Object.setPrototypeOf(r,c.prototype),r}function h(t){if(t>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function v(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||J(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(t).length;default:if(o)return r?-1:z(t).length;e=(""+e).toLowerCase(),o=!0}}function m(t,e,n){let r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return $(this,e,n);case"utf8":case"utf-8":return R(this,e,n);case"ascii":return I(this,e,n);case"latin1":case"binary":return T(this,e,n);case"base64":return S(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function y(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),K(n=+n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,o);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,o){let i,s=1,a=t.length,c=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,c/=2,n/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){let r=-1;for(i=n;i<a;i++)if(u(t,i)===u(e,-1===r?0:i-r)){if(-1===r&&(r=i),i-r+1===c)return r*s}else-1!==r&&(i-=i-r),r=-1}else for(n+c>a&&(n=a-c),i=n;i>=0;i--){let n=!0;for(let r=0;r<c;r++)if(u(t,i+r)!==u(e,r)){n=!1;break}if(n)return i}return-1}function _(t,e,n,r){n=Number(n)||0;const o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;const i=e.length;let s;for(r>i/2&&(r=i/2),s=0;s<r;++s){const r=parseInt(e.substr(2*s,2),16);if(K(r))return s;t[n+s]=r}return s}function w(t,e,n,r){return W(z(e,t.length-n),t,n,r)}function E(t,e,n,r){return W(function(t){const e=[];for(let n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function O(t,e,n,r){return W(X(e),t,n,r)}function A(t,e,n,r){return W(function(t,e){let n,r,o;const i=[];for(let s=0;s<t.length&&!((e-=2)<0);++s)n=t.charCodeAt(s),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(e,t.length-n),t,n,r)}function S(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function R(t,e,n){n=Math.min(t.length,n);const r=[];let o=e;for(;o<n;){const e=t[o];let i=null,s=e>239?4:e>223?3:e>191?2:1;if(o+s<=n){let n,r,a,c;switch(s){case 1:e<128&&(i=e);break;case 2:n=t[o+1],128==(192&n)&&(c=(31&e)<<6|63&n,c>127&&(i=c));break;case 3:n=t[o+1],r=t[o+2],128==(192&n)&&128==(192&r)&&(c=(15&e)<<12|(63&n)<<6|63&r,c>2047&&(c<55296||c>57343)&&(i=c));break;case 4:n=t[o+1],r=t[o+2],a=t[o+3],128==(192&n)&&128==(192&r)&&128==(192&a)&&(c=(15&e)<<18|(63&n)<<12|(63&r)<<6|63&a,c>65535&&c<1114112&&(i=c))}}null===i?(i=65533,s=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=s}return function(t){const e=t.length;if(e<=C)return String.fromCharCode.apply(String,t);let n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=C));return n}(r)}c.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),c.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(t,e,n){return u(t,e,n)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(t,e,n){return function(t,e,n){return l(t),t<=0?a(t):void 0!==e?"string"==typeof n?a(t).fill(e,n):a(t).fill(e):a(t)}(t,e,n)},c.allocUnsafe=function(t){return f(t)},c.allocUnsafeSlow=function(t){return f(t)},c.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==c.prototype},c.compare=function(t,e){if(J(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),J(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let n=t.length,r=e.length;for(let o=0,i=Math.min(n,r);o<i;++o)if(t[o]!==e[o]){n=t[o],r=e[o];break}return n<r?-1:r<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);let n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;const r=c.allocUnsafe(e);let o=0;for(n=0;n<t.length;++n){let e=t[n];if(J(e,Uint8Array))o+e.length>r.length?(c.isBuffer(e)||(e=c.from(e)),e.copy(r,o)):Uint8Array.prototype.set.call(r,e,o);else{if(!c.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(r,o)}o+=e.length}return r},c.byteLength=v,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)g(this,e,e+1);return this},c.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},c.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},c.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?R(this,0,t):m.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){let t="";const n=e.IS;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},i&&(c.prototype[i]=c.prototype.inspect),c.prototype.compare=function(t,e,n,r,o){if(J(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;let i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0);const a=Math.min(i,s),u=this.slice(r,o),l=t.slice(e,n);for(let t=0;t<a;++t)if(u[t]!==l[t]){i=u[t],s=l[t];break}return i<s?-1:s<i?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return y(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return y(this,t,e,n,!1)},c.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let i=!1;for(;;)switch(r){case"hex":return _(this,t,e,n);case"utf8":case"utf-8":return w(this,t,e,n);case"ascii":case"latin1":case"binary":return E(this,t,e,n);case"base64":return O(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const C=4096;function I(t,e,n){let r="";n=Math.min(t.length,n);for(let o=e;o<n;++o)r+=String.fromCharCode(127&t[o]);return r}function T(t,e,n){let r="";n=Math.min(t.length,n);for(let o=e;o<n;++o)r+=String.fromCharCode(t[o]);return r}function $(t,e,n){const r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);let o="";for(let r=e;r<n;++r)o+=Y[t[r]];return o}function x(t,e,n){const r=t.slice(e,n);let o="";for(let t=0;t<r.length-1;t+=2)o+=String.fromCharCode(r[t]+256*r[t+1]);return o}function L(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,n,r,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function k(t,e,n,r,o){G(e,r,o,t,n,7);let i=Number(e&BigInt(4294967295));t[n++]=i,i>>=8,t[n++]=i,i>>=8,t[n++]=i,i>>=8,t[n++]=i;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=s,s>>=8,t[n++]=s,s>>=8,t[n++]=s,s>>=8,t[n++]=s,n}function P(t,e,n,r,o){G(e,r,o,t,n,7);let i=Number(e&BigInt(4294967295));t[n+7]=i,i>>=8,t[n+6]=i,i>>=8,t[n+5]=i,i>>=8,t[n+4]=i;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=s,s>>=8,t[n+2]=s,s>>=8,t[n+1]=s,s>>=8,t[n]=s,n+8}function j(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(t,e,n,r,i){return e=+e,n>>>=0,i||j(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function U(t,e,n,r,i){return e=+e,n>>>=0,i||j(t,0,n,8),o.write(t,e,n,r,52,8),n+8}c.prototype.slice=function(t,e){const n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);const r=this.subarray(t,e);return Object.setPrototypeOf(r,c.prototype),r},c.prototype.readUintLE=c.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||L(t,e,this.length);let r=this[t],o=1,i=0;for(;++i<e&&(o*=256);)r+=this[t+i]*o;return r},c.prototype.readUintBE=c.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||L(t,e,this.length);let r=this[t+--e],o=1;for(;e>0&&(o*=256);)r+=this[t+--e]*o;return r},c.prototype.readUint8=c.prototype.readUInt8=function(t,e){return t>>>=0,e||L(t,1,this.length),this[t]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(t,e){return t>>>=0,e||L(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(t,e){return t>>>=0,e||L(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(t,e){return t>>>=0,e||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(t,e){return t>>>=0,e||L(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readBigUInt64LE=Z((function(t){V(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||q(t,this.length-8);const r=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,o=this[++t]+256*this[++t]+65536*this[++t]+n*2**24;return BigInt(r)+(BigInt(o)<<BigInt(32))})),c.prototype.readBigUInt64BE=Z((function(t){V(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||q(t,this.length-8);const r=e*2**24+65536*this[++t]+256*this[++t]+this[++t],o=this[++t]*2**24+65536*this[++t]+256*this[++t]+n;return(BigInt(r)<<BigInt(32))+BigInt(o)})),c.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||L(t,e,this.length);let r=this[t],o=1,i=0;for(;++i<e&&(o*=256);)r+=this[t+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||L(t,e,this.length);let r=e,o=1,i=this[t+--r];for(;r>0&&(o*=256);)i+=this[t+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},c.prototype.readInt8=function(t,e){return t>>>=0,e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){t>>>=0,e||L(t,2,this.length);const n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){t>>>=0,e||L(t,2,this.length);const n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return t>>>=0,e||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return t>>>=0,e||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readBigInt64LE=Z((function(t){V(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||q(t,this.length-8);const r=this[t+4]+256*this[t+5]+65536*this[t+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),c.prototype.readBigInt64BE=Z((function(t){V(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||q(t,this.length-8);const r=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(r)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+n)})),c.prototype.readFloatLE=function(t,e){return t>>>=0,e||L(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return t>>>=0,e||L(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return t>>>=0,e||L(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return t>>>=0,e||L(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){N(this,t,e,n,Math.pow(2,8*n)-1,0)}let o=1,i=0;for(this[e]=255&t;++i<n&&(o*=256);)this[e+i]=t/o&255;return e+n},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){N(this,t,e,n,Math.pow(2,8*n)-1,0)}let o=n-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+n},c.prototype.writeUint8=c.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,1,255,0),this[e]=255&t,e+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigUInt64LE=Z((function(t,e=0){return k(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Z((function(t,e=0){return P(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){const r=Math.pow(2,8*n-1);N(this,t,e,n,r-1,-r)}let o=0,i=1,s=0;for(this[e]=255&t;++o<n&&(i*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/i|0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){const r=Math.pow(2,8*n-1);N(this,t,e,n,r-1,-r)}let o=n-1,i=1,s=0;for(this[e+o]=255&t;--o>=0&&(i*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/i|0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigInt64LE=Z((function(t,e=0){return k(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Z((function(t,e=0){return P(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(t,e,n){return B(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return B(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return U(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return U(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(!c.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);const o=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),o},c.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===t.length){const e=t.charCodeAt(0);("utf8"===r&&e<128||"latin1"===r)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;let o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{const i=c.isBuffer(t)?t:c.from(t,r),s=i.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=i[o%s]}return this};const D={};function F(t,e,n){D[t]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function M(t){let e="",n=t.length;const r="-"===t[0]?1:0;for(;n>=r+4;n-=3)e=`_${t.slice(n-3,n)}${e}`;return`${t.slice(0,n)}${e}`}function G(t,e,n,r,o,i){if(t>n||t<e){const r="bigint"==typeof e?"n":"";let o;throw o=i>3?0===e||e===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(i+1)}${r}`:`>= -(2${r} ** ${8*(i+1)-1}${r}) and < 2 ** ${8*(i+1)-1}${r}`:`>= ${e}${r} and <= ${n}${r}`,new D.ERR_OUT_OF_RANGE("value",o,t)}!function(t,e,n){V(e,"offset"),void 0!==t[e]&&void 0!==t[e+n]||q(e,t.length-(n+1))}(r,o,i)}function V(t,e){if("number"!=typeof t)throw new D.ERR_INVALID_ARG_TYPE(e,"number",t)}function q(t,e,n){if(Math.floor(t)!==t)throw V(t,n),new D.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(e<0)throw new D.ERR_BUFFER_OUT_OF_BOUNDS;throw new D.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}F("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),F("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),F("ERR_OUT_OF_RANGE",(function(t,e,n){let r=`The value of "${t}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=M(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=M(o)),o+="n"),r+=` It must be ${e}. Received ${o}`,r}),RangeError);const H=/[^+/0-9A-Za-z-_]/g;function z(t,e){let n;e=e||1/0;const r=t.length;let o=null;const i=[];for(let s=0;s<r;++s){if(n=t.charCodeAt(s),n>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function X(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function W(t,e,n,r){let o;for(o=0;o<r&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function J(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function K(t){return t!=t}const Y=function(){const t="0123456789abcdef",e=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)e[r+o]=t[n]+t[o]}return e}();function Z(t){return"undefined"==typeof BigInt?Q:t}function Q(){throw new Error("BigInt not supported")}},806:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(354),o=n.n(r),i=n(314),s=n.n(i)()(o());s.push([t.id,"\n.icon-loading-small[data-v-3158e587] {\n\tdisplay: inline-block;\n\tvertical-align: sub;\n\tpadding-right: 12px;\n}\n","",{version:3,sources:["webpack://./src/components/Challenge.vue"],names:[],mappings:";AA8CA;CACA,qBAAA;CACA,mBAAA;CACA,mBAAA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n<template>\n\t<p v-if=\"state === State.POLLING\">\n\t\t{{ t('twofactor_nextcloud_notification', 'Please accept the request on one of your logged in devices.') }}\n\t\t{{ t('twofactor_nextcloud_notification', 'You will be redirected automatically once this login has been accepted.') }}\n\t</p>\n\t<p v-else-if=\"state === State.VERIFYING\">\n\t\t<span class=\"icon-loading-small\" />\n\t\t{{ t('twofactor_nextcloud_notification', 'Please wait …') }}\n\t</p>\n\t<p v-else-if=\"state === State.REJECTED\">\n\t\t<span class=\"icon-loading-small\" />\n\t\t{{ t('twofactor_nextcloud_notification', 'Your login attempt was rejected.') }}\n\t</p>\n</template>\n\n<script>\nconst State = Object.freeze({\n\tPOLLING: 0,\n\tVERIFYING: 1,\n\tREJECTED: 2,\n})\n\nexport default {\n\tname: 'Challenge',\n\tdata() {\n\t\treturn {\n\t\t\tstate: State.POLLING,\n\t\t\tState,\n\t\t}\n\t},\n}\n<\/script>\n\n<style scoped>\n\t.icon-loading-small {\n\t\tdisplay: inline-block;\n\t\tvertical-align: sub;\n\t\tpadding-right: 12px;\n\t}\n</style>\n"],sourceRoot:""}]);const a=s},314:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);r&&s[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},354:t=>{"use strict";t.exports=function(t){var e=t[1],n=t[3];if(!n)return e;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */");return[e].concat([i]).join("\n")}return[e].join("\n")}},251:(t,e)=>{e.read=function(t,e,n,r,o){var i,s,a=8*o-r-1,c=(1<<a)-1,u=c>>1,l=-7,f=n?o-1:0,p=n?-1:1,d=t[e+f];for(f+=p,i=d&(1<<-l)-1,d>>=-l,l+=a;l>0;i=256*i+t[e+f],f+=p,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=r;l>0;s=256*s+t[e+f],f+=p,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),i-=u}return(d?-1:1)*s*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var s,a,c,u=8*i-o-1,l=(1<<u)-1,f=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),(e+=s+f>=1?p/c:p*Math.pow(2,1-f))*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(e*c-1)*Math.pow(2,o),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;t[n+d]=255&a,d+=h,a/=256,o-=8);for(s=s<<o|a,u+=o;u>0;t[n+d]=255&s,d+=h,s/=256,u-=8);t[n+d-h]|=128*v}},606:t=>{var e,n,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(t){n=i}}();var a,c=[],u=!1,l=-1;function f(){u&&a&&(u=!1,a.length?c=a.concat(c):l=-1,c.length&&p())}function p(){if(!u){var t=s(f);u=!0;for(var e=c.length;e;){for(a=c,c=[];++l<e;)a&&a[l].run();l=-1,e=c.length}a=null,u=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{return n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function h(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new d(t,e)),1!==c.length||u||s(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},72:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var i={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],l=i[u]||0,f="".concat(u," ").concat(l);i[u]=l+1;var p=n(f),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)e[p].references++,e[p].updater(d);else{var h=o(d,r);r.byIndex=a,e.splice(a,0,{identifier:f,updater:h,references:1})}s.push(f)}return s}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var i=r(t=t||[],o=o||{});return function(t){t=t||[];for(var s=0;s<i.length;s++){var a=n(i[s]);e[a].references--}for(var c=r(t,o),u=0;u<i.length;u++){var l=n(i[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}i=c}}},659:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},56:(t,e,n)=>{"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},825:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},113:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={id:t,exports:{}};return e[t](i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nc=void 0,(()=>{"use strict";var e={};r.r(e),r.d(e,{hasBrowserEnv:()=>Rt,hasStandardBrowserEnv:()=>It,hasStandardBrowserWebWorkerEnv:()=>Tt,navigator:()=>Ct,origin:()=>$t});var n=r(64),o=r(711);class i{bus;constructor(t){"function"==typeof t.getVersion&&o(t.getVersion())?n(t.getVersion())!==n(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}getVersion(){return"3.3.3"}subscribe(t,e){this.bus.subscribe(t,e)}unsubscribe(t,e){this.bus.unsubscribe(t,e)}emit(t,...e){this.bus.emit(t,...e)}}class s{handlers=new Map;getVersion(){return"3.3.3"}subscribe(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))}unsubscribe(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((t=>t!==e)))}emit(t,...e){(this.handlers.get(t)||[]).forEach((t=>{try{t(e[0])}catch(t){console.error("could not invoke event listener",t)}}))}}let a,c=null;function u(){return null!==c?c:"undefined"==typeof window?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(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),c=void 0!==window?._nc_event_bus?new i(window._nc_event_bus):window._nc_event_bus=new s,c)}class l{static GLOBAL_SCOPE_VOLATILE="nextcloud_vol";static GLOBAL_SCOPE_PERSISTENT="nextcloud_per";scope;wrapped;constructor(t,e,n){this.scope=`${n?l.GLOBAL_SCOPE_PERSISTENT:l.GLOBAL_SCOPE_VOLATILE}_${btoa(t)}_`,this.wrapped=e}scopeKey(t){return`${this.scope}${t}`}setItem(t,e){this.wrapped.setItem(this.scopeKey(t),e)}getItem(t){return this.wrapped.getItem(this.scopeKey(t))}removeItem(t){this.wrapped.removeItem(this.scopeKey(t))}clear(){Object.keys(this.wrapped).filter((t=>t.startsWith(this.scope))).map(this.wrapped.removeItem.bind(this.wrapped))}}class f{appId;persisted=!1;clearedOnLogout=!1;constructor(t){this.appId=t}persist(t=!0){return this.persisted=t,this}clearOnLogout(t=!0){return this.clearedOnLogout=t,this}build(){return new l(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}const p=[];function d(){return void 0===a&&(a=document.head.dataset.requesttoken??null),a}var h,v;h="csrf-token-update",v=t=>{a=t.token,p.forEach((t=>{try{t(a)}catch(t){console.error("Error updating CSRF token observer",t)}}))},u().subscribe(h,v);(m="public",new f(m)).persist().build();var m;function g(t,e){return function(){return t.apply(e,arguments)}}var y=r(606);const{toString:b}=Object.prototype,{getPrototypeOf:_}=Object,{iterator:w,toStringTag:E}=Symbol,O=(A=Object.create(null),t=>{const e=b.call(t);return A[e]||(A[e]=e.slice(8,-1).toLowerCase())});var A;const S=t=>(t=t.toLowerCase(),e=>O(e)===t),R=t=>e=>typeof e===t,{isArray:C}=Array,I=R("undefined");function T(t){return null!==t&&!I(t)&&null!==t.constructor&&!I(t.constructor)&&L(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const $=S("ArrayBuffer");const x=R("string"),L=R("function"),N=R("number"),k=t=>null!==t&&"object"==typeof t,P=t=>{if("object"!==O(t))return!1;const e=_(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||E in t||w in t)},j=S("Date"),B=S("File"),U=S("Blob"),D=S("FileList"),F=S("URLSearchParams"),[M,G,V,q]=["ReadableStream","Request","Response","Headers"].map(S);function H(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,o;if("object"!=typeof t&&(t=[t]),C(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{if(T(t))return;const o=n?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let s;for(r=0;r<i;r++)s=o[r],e.call(null,t[s],s,t)}}function z(t,e){if(T(t))return null;e=e.toLowerCase();const n=Object.keys(t);let r,o=n.length;for(;o-- >0;)if(r=n[o],e===r.toLowerCase())return r;return null}const X="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,W=t=>!I(t)&&t!==X;const J=(K="undefined"!=typeof Uint8Array&&_(Uint8Array),t=>K&&t instanceof K);var K;const Y=S("HTMLFormElement"),Z=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Q=S("RegExp"),tt=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};H(n,((n,o)=>{let i;!1!==(i=e(n,o,t))&&(r[o]=i||n)})),Object.defineProperties(t,r)};const et=S("AsyncFunction"),nt=(rt="function"==typeof setImmediate,ot=L(X.postMessage),rt?setImmediate:ot?((t,e)=>(X.addEventListener("message",(({source:n,data:r})=>{n===X&&r===t&&e.length&&e.shift()()}),!1),n=>{e.push(n),X.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t));var rt,ot;const it="undefined"!=typeof queueMicrotask?queueMicrotask.bind(X):void 0!==y&&y.nextTick||nt,st={isArray:C,isArrayBuffer:$,isBuffer:T,isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||L(t.append)&&("formdata"===(e=O(t))||"object"===e&&L(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&$(t.buffer),e},isString:x,isNumber:N,isBoolean:t=>!0===t||!1===t,isObject:k,isPlainObject:P,isEmptyObject:t=>{if(!k(t)||T(t))return!1;try{return 0===Object.keys(t).length&&Object.getPrototypeOf(t)===Object.prototype}catch(t){return!1}},isReadableStream:M,isRequest:G,isResponse:V,isHeaders:q,isUndefined:I,isDate:j,isFile:B,isBlob:U,isRegExp:Q,isFunction:L,isStream:t=>k(t)&&L(t.pipe),isURLSearchParams:F,isTypedArray:J,isFileList:D,forEach:H,merge:function t(){const{caseless:e,skipUndefined:n}=W(this)&&this||{},r={},o=(o,i)=>{const s=e&&z(r,i)||i;P(r[s])&&P(o)?r[s]=t(r[s],o):P(o)?r[s]=t({},o):C(o)?r[s]=o.slice():n&&I(o)||(r[s]=o)};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&H(arguments[t],o);return r},extend:(t,e,n,{allOwnKeys:r}={})=>(H(e,((e,r)=>{n&&L(e)?t[r]=g(e,n):t[r]=e}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let o,i,s;const a={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],r&&!r(s,t,e)||a[s]||(e[s]=t[s],a[s]=!0);t=!1!==n&&_(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:O,kindOfTest:S,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(C(t))return t;let e=t.length;if(!N(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[w]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:Y,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:tt,freezeMethods:t=>{tt(t,((e,n)=>{if(L(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];L(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return C(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:z,global:X,isContextDefined:W,isSpecCompliantForm:function(t){return!!(t&&L(t.append)&&"FormData"===t[E]&&t[w])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(k(t)){if(e.indexOf(t)>=0)return;if(T(t))return t;if(!("toJSON"in t)){e[r]=t;const o=C(t)?[]:{};return H(t,((t,e)=>{const i=n(t,r+1);!I(i)&&(o[e]=i)})),e[r]=void 0,o}}return t};return n(t,0)},isAsyncFn:et,isThenable:t=>t&&(k(t)||L(t))&&L(t.then)&&L(t.catch),setImmediate:nt,asap:it,isIterable:t=>null!=t&&L(t[w])};function at(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}st.inherits(at,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:st.toJSONObject(this.config),code:this.code,status:this.status}}});const ct=at.prototype,ut={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{ut[t]={value:t}})),Object.defineProperties(at,ut),Object.defineProperty(ct,"isAxiosError",{value:!0}),at.from=(t,e,n,r,o,i)=>{const s=Object.create(ct);st.toFlatObject(t,s,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t));const a=t&&t.message?t.message:"Error",c=null==e&&t?t.code:e;return at.call(s,a,c,n,r,o),t&&null==s.cause&&Object.defineProperty(s,"cause",{value:t,configurable:!0}),s.name=t&&t.name||"Error",i&&Object.assign(s,i),s};const lt=at;var ft=r(287).hp;function pt(t){return st.isPlainObject(t)||st.isArray(t)}function dt(t){return st.endsWith(t,"[]")?t.slice(0,-2):t}function ht(t,e,n){return t?t.concat(e).map((function(t,e){return t=dt(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const vt=st.toFlatObject(st,{},null,(function(t){return/^is[A-Z]/.test(t)}));const mt=function(t,e,n){if(!st.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=st.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!st.isUndefined(e[t])}))).metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&st.isSpecCompliantForm(e);if(!st.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(st.isDate(t))return t.toISOString();if(st.isBoolean(t))return t.toString();if(!a&&st.isBlob(t))throw new lt("Blob is not supported. Use a Buffer instead.");return st.isArrayBuffer(t)||st.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):ft.from(t):t}function u(t,n,o){let a=t;if(t&&!o&&"object"==typeof t)if(st.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(st.isArray(t)&&function(t){return st.isArray(t)&&!t.some(pt)}(t)||(st.isFileList(t)||st.endsWith(n,"[]"))&&(a=st.toArray(t)))return n=dt(n),a.forEach((function(t,r){!st.isUndefined(t)&&null!==t&&e.append(!0===s?ht([n],r,i):null===s?n:n+"[]",c(t))})),!1;return!!pt(t)||(e.append(ht(o,n,i),c(t)),!1)}const l=[],f=Object.assign(vt,{defaultVisitor:u,convertValue:c,isVisitable:pt});if(!st.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!st.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),st.forEach(n,(function(n,i){!0===(!(st.isUndefined(n)||null===n)&&o.call(e,n,st.isString(i)?i.trim():i,r,f))&&t(n,r?r.concat(i):[i])})),l.pop()}}(t),e};function gt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function yt(t,e){this._pairs=[],t&&mt(t,this,e)}const bt=yt.prototype;bt.append=function(t,e){this._pairs.push([t,e])},bt.toString=function(t){const e=t?function(e){return t.call(this,e,gt)}:gt;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const _t=yt;function wt(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Et(t,e,n){if(!e)return t;const r=n&&n.encode||wt;st.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(e,n):st.isURLSearchParams(e)?e.toString():new _t(e,n).toString(r),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}const Ot=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){st.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},At={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},St={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:_t,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Rt="undefined"!=typeof window&&"undefined"!=typeof document,Ct="object"==typeof navigator&&navigator||void 0,It=Rt&&(!Ct||["ReactNative","NativeScript","NS"].indexOf(Ct.product)<0),Tt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,$t=Rt&&window.location.href||"http://localhost",xt={...e,...St};const Lt=function(t){function e(t,n,r,o){let i=t[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=t.length;if(i=!i&&st.isArray(r)?r.length:i,a)return st.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&st.isObject(r[i])||(r[i]=[]);return e(t,n,r[i],o)&&st.isArray(r[i])&&(r[i]=function(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}(r[i])),!s}if(st.isFormData(t)&&st.isFunction(t.entries)){const n={};return st.forEachEntry(t,((t,r)=>{e(function(t){return st.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null};const Nt={transitional:At,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=st.isObject(t);o&&st.isHTMLForm(t)&&(t=new FormData(t));if(st.isFormData(t))return r?JSON.stringify(Lt(t)):t;if(st.isArrayBuffer(t)||st.isBuffer(t)||st.isStream(t)||st.isFile(t)||st.isBlob(t)||st.isReadableStream(t))return t;if(st.isArrayBufferView(t))return t.buffer;if(st.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return mt(t,new xt.classes.URLSearchParams,{visitor:function(t,e,n,r){return xt.isNode&&st.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...e})}(t,this.formSerializer).toString();if((i=st.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return mt(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),function(t,e,n){if(st.isString(t))try{return(e||JSON.parse)(t),st.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Nt.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(st.isResponse(t)||st.isReadableStream(t))return t;if(t&&st.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(t){if(n){if("SyntaxError"===t.name)throw lt.from(t,lt.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:xt.classes.FormData,Blob:xt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};st.forEach(["delete","get","head","post","put","patch"],(t=>{Nt.headers[t]={}}));const kt=Nt,Pt=st.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),jt=Symbol("internals");function Bt(t){return t&&String(t).trim().toLowerCase()}function Ut(t){return!1===t||null==t?t:st.isArray(t)?t.map(Ut):String(t)}function Dt(t,e,n,r,o){return st.isFunction(r)?r.call(this,e,n):(o&&(e=n),st.isString(e)?st.isString(r)?-1!==e.indexOf(r):st.isRegExp(r)?r.test(e):void 0:void 0)}class Ft{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function o(t,e,n){const o=Bt(e);if(!o)throw new Error("header name must be a non-empty string");const i=st.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||e]=Ut(t))}const i=(t,e)=>st.forEach(t,((t,n)=>o(t,n,e)));if(st.isPlainObject(t)||t instanceof this.constructor)i(t,e);else if(st.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))i((t=>{const e={};let n,r,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),r=t.substring(o+1).trim(),!n||e[n]&&Pt[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t),e);else if(st.isObject(t)&&st.isIterable(t)){let n,r,o={};for(const e of t){if(!st.isArray(e))throw TypeError("Object iterator must return a key-value pair");o[r=e[0]]=(n=o[r])?st.isArray(n)?[...n,e[1]]:[n,e[1]]:e[1]}i(o,e)}else null!=t&&o(e,t,n);return this}get(t,e){if(t=Bt(t)){const n=st.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(st.isFunction(e))return e.call(this,t,n);if(st.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Bt(t)){const n=st.findKey(this,t);return!(!n||void 0===this[n]||e&&!Dt(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function o(t){if(t=Bt(t)){const o=st.findKey(n,t);!o||e&&!Dt(0,n[o],o,e)||(delete n[o],r=!0)}}return st.isArray(t)?t.forEach(o):o(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const o=e[n];t&&!Dt(0,this[o],o,t,!0)||(delete this[o],r=!0)}return r}normalize(t){const e=this,n={};return st.forEach(this,((r,o)=>{const i=st.findKey(n,o);if(i)return e[i]=Ut(r),void delete e[o];const s=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(o):String(o).trim();s!==o&&delete e[o],e[s]=Ut(r),n[s]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return st.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&st.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[jt]=this[jt]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=Bt(t);e[r]||(!function(t,e){const n=st.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,o){return this[r].call(this,e,t,n,o)},configurable:!0})}))}(n,t),e[r]=!0)}return st.isArray(t)?t.forEach(r):r(t),this}}Ft.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),st.reduceDescriptors(Ft.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),st.freezeMethods(Ft);const Mt=Ft;function Gt(t,e){const n=this||kt,r=e||n,o=Mt.from(r.headers);let i=r.data;return st.forEach(t,(function(t){i=t.call(n,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function Vt(t){return!(!t||!t.__CANCEL__)}function qt(t,e,n){lt.call(this,null==t?"canceled":t,lt.ERR_CANCELED,e,n),this.name="CanceledError"}st.inherits(qt,lt,{__CANCEL__:!0});const Ht=qt;function zt(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new lt("Request failed with status code "+n.status,[lt.ERR_BAD_REQUEST,lt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}const Xt=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o,i=0,s=0;return e=void 0!==e?e:1e3,function(a){const c=Date.now(),u=r[s];o||(o=c),n[i]=a,r[i]=c;let l=s,f=0;for(;l!==i;)f+=n[l++],l%=t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),c-o<e)return;const p=u&&c-u;return p?Math.round(1e3*f/p):void 0}};const Wt=function(t,e){let n,r,o=0,i=1e3/e;const s=(e,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),t(...e)};return[(...t)=>{const e=Date.now(),a=e-o;a>=i?s(t,e):(n=t,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},()=>n&&s(n)]},Jt=(t,e,n=3)=>{let r=0;const o=Xt(50,250);return Wt((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,c=o(a);r=i;t({loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&i<=s?(s-i)/c:void 0,event:n,lengthComputable:null!=s,[e?"download":"upload"]:!0})}),n)},Kt=(t,e)=>{const n=null!=t;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Yt=t=>(...e)=>st.asap((()=>t(...e))),Zt=xt.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,xt.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(xt.origin),xt.navigator&&/(msie|trident)/i.test(xt.navigator.userAgent)):()=>!0,Qt=xt.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const s=[t+"="+encodeURIComponent(e)];st.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),st.isString(r)&&s.push("path="+r),st.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function te(t,e,n){let r=!function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}(e);return t&&(r||0==n)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const ee=t=>t instanceof Mt?{...t}:t;function ne(t,e){e=e||{};const n={};function r(t,e,n,r){return st.isPlainObject(t)&&st.isPlainObject(e)?st.merge.call({caseless:r},t,e):st.isPlainObject(e)?st.merge({},e):st.isArray(e)?e.slice():e}function o(t,e,n,o){return st.isUndefined(e)?st.isUndefined(t)?void 0:r(void 0,t,0,o):r(t,e,0,o)}function i(t,e){if(!st.isUndefined(e))return r(void 0,e)}function s(t,e){return st.isUndefined(e)?st.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function a(n,o,i){return i in e?r(n,o):i in t?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(t,e,n)=>o(ee(t),ee(e),0,!0)};return st.forEach(Object.keys({...t,...e}),(function(r){const i=c[r]||o,s=i(t[r],e[r],r);st.isUndefined(s)&&i!==a||(n[r]=s)})),n}const re=t=>{const e=ne({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=e;if(e.headers=s=Mt.from(s),e.url=Et(te(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),st.isFormData(n))if(xt.hasStandardBrowserEnv||xt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(st.isFunction(n.getHeaders)){const t=n.getHeaders(),e=["content-type","content-length"];Object.entries(t).forEach((([t,n])=>{e.includes(t.toLowerCase())&&s.set(t,n)}))}if(xt.hasStandardBrowserEnv&&(r&&st.isFunction(r)&&(r=r(e)),r||!1!==r&&Zt(e.url))){const t=o&&i&&Qt.read(i);t&&s.set(o,t)}return e},oe="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const r=re(t);let o=r.data;const i=Mt.from(r.headers).normalize();let s,a,c,u,l,{responseType:f,onUploadProgress:p,onDownloadProgress:d}=r;function h(){u&&u(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let v=new XMLHttpRequest;function m(){if(!v)return;const r=Mt.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders());zt((function(t){e(t),h()}),(function(t){n(t),h()}),{data:f&&"text"!==f&&"json"!==f?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:r,config:t,request:v}),v=null}v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout,"onloadend"in v?v.onloadend=m:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(m)},v.onabort=function(){v&&(n(new lt("Request aborted",lt.ECONNABORTED,t,v)),v=null)},v.onerror=function(e){const r=e&&e.message?e.message:"Network Error",o=new lt(r,lt.ERR_NETWORK,t,v);o.event=e||null,n(o),v=null},v.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||At;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new lt(e,o.clarifyTimeoutError?lt.ETIMEDOUT:lt.ECONNABORTED,t,v)),v=null},void 0===o&&i.setContentType(null),"setRequestHeader"in v&&st.forEach(i.toJSON(),(function(t,e){v.setRequestHeader(e,t)})),st.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),f&&"json"!==f&&(v.responseType=r.responseType),d&&([c,l]=Jt(d,!0),v.addEventListener("progress",c)),p&&v.upload&&([a,u]=Jt(p),v.upload.addEventListener("progress",a),v.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(s=e=>{v&&(n(!e||e.type?new Ht(null,t,v):e),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const g=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(r.url);g&&-1===xt.protocols.indexOf(g)?n(new lt("Unsupported protocol "+g+":",lt.ERR_BAD_REQUEST,t)):v.send(o||null)}))},ie=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,r=new AbortController;const o=function(t){if(!n){n=!0,s();const e=t instanceof Error?t:this.reason;r.abort(e instanceof lt?e:new Ht(e instanceof Error?e.message:e))}};let i=e&&setTimeout((()=>{i=null,o(new lt(`timeout ${e} of ms exceeded`,lt.ETIMEDOUT))}),e);const s=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)})),t=null)};t.forEach((t=>t.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=>st.asap(s),a}},se=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let r,o=0;for(;o<n;)r=o+e,yield t.slice(o,r),o=r},ae=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}},ce=(t,e,n,r)=>{const o=async function*(t,e){for await(const n of ae(t))yield*se(n,e)}(t,e);let i,s=0,a=t=>{i||(i=!0,r&&r(t))};return new ReadableStream({async pull(t){try{const{done:e,value:r}=await o.next();if(e)return a(),void t.close();let i=r.byteLength;if(n){let t=s+=i;n(t)}t.enqueue(new Uint8Array(r))}catch(t){throw a(t),t}},cancel:t=>(a(t),o.return())},{highWaterMark:2})},{isFunction:ue}=st,le=(({Request:t,Response:e})=>({Request:t,Response:e}))(st.global),{ReadableStream:fe,TextEncoder:pe}=st.global,de=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},he=t=>{t=st.merge.call({skipUndefined:!0},le,t);const{fetch:e,Request:n,Response:r}=t,o=e?ue(e):"function"==typeof fetch,i=ue(n),s=ue(r);if(!o)return!1;const a=o&&ue(fe),c=o&&("function"==typeof pe?(u=new pe,t=>u.encode(t)):async t=>new Uint8Array(await new n(t).arrayBuffer()));var u;const l=i&&a&&de((()=>{let t=!1;const e=new n(xt.origin,{body:new fe,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),f=s&&a&&de((()=>st.isReadableStream(new r("").body))),p={stream:f&&(t=>t.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!p[t]&&(p[t]=(e,n)=>{let r=e&&e[t];if(r)return r.call(e);throw new lt(`Response type '${t}' is not supported`,lt.ERR_NOT_SUPPORT,n)})}));const d=async(t,e)=>{const r=st.toFiniteNumber(t.getContentLength());return null==r?(async t=>{if(null==t)return 0;if(st.isBlob(t))return t.size;if(st.isSpecCompliantForm(t)){const e=new n(xt.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return st.isArrayBufferView(t)||st.isArrayBuffer(t)?t.byteLength:(st.isURLSearchParams(t)&&(t+=""),st.isString(t)?(await c(t)).byteLength:void 0)})(e):r};return async t=>{let{url:o,method:s,data:a,signal:c,cancelToken:u,timeout:h,onDownloadProgress:v,onUploadProgress:m,responseType:g,headers:y,withCredentials:b="same-origin",fetchOptions:_}=re(t),w=e||fetch;g=g?(g+"").toLowerCase():"text";let E=ie([c,u&&u.toAbortSignal()],h),O=null;const A=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let S;try{if(m&&l&&"get"!==s&&"head"!==s&&0!==(S=await d(y,a))){let t,e=new n(o,{method:"POST",body:a,duplex:"half"});if(st.isFormData(a)&&(t=e.headers.get("content-type"))&&y.setContentType(t),e.body){const[t,n]=Kt(S,Jt(Yt(m)));a=ce(e.body,65536,t,n)}}st.isString(b)||(b=b?"include":"omit");const e=i&&"credentials"in n.prototype,c={..._,signal:E,method:s.toUpperCase(),headers:y.normalize().toJSON(),body:a,duplex:"half",credentials:e?b:void 0};O=i&&new n(o,c);let u=await(i?w(O,_):w(o,c));const h=f&&("stream"===g||"response"===g);if(f&&(v||h&&A)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=u[e]}));const e=st.toFiniteNumber(u.headers.get("content-length")),[n,o]=v&&Kt(e,Jt(Yt(v),!0))||[];u=new r(ce(u.body,65536,n,(()=>{o&&o(),A&&A()})),t)}g=g||"text";let R=await p[st.findKey(p,g)||"text"](u,t);return!h&&A&&A(),await new Promise(((e,n)=>{zt(e,n,{data:R,headers:Mt.from(u.headers),status:u.status,statusText:u.statusText,config:t,request:O})}))}catch(e){if(A&&A(),e&&"TypeError"===e.name&&/Load failed|fetch/i.test(e.message))throw Object.assign(new lt("Network Error",lt.ERR_NETWORK,t,O),{cause:e.cause||e});throw lt.from(e,e&&e.code,t,O)}}},ve=new Map,me=t=>{let e=t?t.env:{};const{fetch:n,Request:r,Response:o}=e,i=[r,o,n];let s,a,c=i.length,u=ve;for(;c--;)s=i[c],a=u.get(s),void 0===a&&u.set(s,a=c?new Map:he(e)),u=a;return a},ge=(me(),{http:null,xhr:oe,fetch:{get:me}});st.forEach(ge,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const ye=t=>`- ${t}`,be=t=>st.isFunction(t)||null===t||!1===t,_e=(t,e)=>{t=st.isArray(t)?t:[t];const{length:n}=t;let r,o;const i={};for(let s=0;s<n;s++){let n;if(r=t[s],o=r,!be(r)&&(o=ge[(n=String(r)).toLowerCase()],void 0===o))throw new lt(`Unknown adapter '${n}'`);if(o&&(st.isFunction(o)||(o=o.get(e))))break;i[n||"#"+s]=o}if(!o){const t=Object.entries(i).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let e=n?t.length>1?"since :\n"+t.map(ye).join("\n"):" "+ye(t[0]):"as no adapter specified";throw new lt("There is no suitable adapter to dispatch the request "+e,"ERR_NOT_SUPPORT")}return o};function we(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ht(null,t)}function Ee(t){we(t),t.headers=Mt.from(t.headers),t.data=Gt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return _e(t.adapter||kt.adapter,t)(t).then((function(e){return we(t),e.data=Gt.call(t,t.transformResponse,e),e.headers=Mt.from(e.headers),e}),(function(e){return Vt(e)||(we(t),e&&e.response&&(e.response.data=Gt.call(t,t.transformResponse,e.response),e.response.headers=Mt.from(e.response.headers))),Promise.reject(e)}))}const Oe="1.12.2",Ae={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Ae[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const Se={};Ae.transitional=function(t,e,n){function r(t,e){return"[Axios v"+Oe+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,i)=>{if(!1===t)throw new lt(r(o," has been removed"+(e?" in "+e:"")),lt.ERR_DEPRECATED);return e&&!Se[o]&&(Se[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,i)}},Ae.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};const Re={assertOptions:function(t,e,n){if("object"!=typeof t)throw new lt("options must be an object",lt.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],s=e[i];if(s){const e=t[i],n=void 0===e||s(e,i,t);if(!0!==n)throw new lt("option "+i+" must be "+n,lt.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new lt("Unknown option "+i,lt.ERR_BAD_OPTION)}},validators:Ae},Ce=Re.validators;class Ie{constructor(t){this.defaults=t||{},this.interceptors={request:new Ot,response:new Ot}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=ne(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:o}=e;void 0!==n&&Re.assertOptions(n,{silentJSONParsing:Ce.transitional(Ce.boolean),forcedJSONParsing:Ce.transitional(Ce.boolean),clarifyTimeoutError:Ce.transitional(Ce.boolean)},!1),null!=r&&(st.isFunction(r)?e.paramsSerializer={serialize:r}:Re.assertOptions(r,{encode:Ce.function,serialize:Ce.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),Re.assertOptions(e,{baseUrl:Ce.spelling("baseURL"),withXsrfToken:Ce.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&st.merge(o.common,o[e.method]);o&&st.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Mt.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)}));let l,f=0;if(!a){const t=[Ee.bind(this),void 0];for(t.unshift(...s),t.push(...c),l=t.length,u=Promise.resolve(e);f<l;)u=u.then(t[f++],t[f++]);return u}l=s.length;let p=e;for(;f<l;){const t=s[f++],e=s[f++];try{p=t(p)}catch(t){e.call(this,t);break}}try{u=Ee.call(this,p)}catch(t){return Promise.reject(t)}for(f=0,l=c.length;f<l;)u=u.then(c[f++],c[f++]);return u}getUri(t){return Et(te((t=ne(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}}st.forEach(["delete","get","head","options"],(function(t){Ie.prototype[t]=function(e,n){return this.request(ne(n||{},{method:t,url:e,data:(n||{}).data}))}})),st.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,o){return this.request(ne(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Ie.prototype[t]=e(),Ie.prototype[t+"Form"]=e(!0)}));const Te=Ie;class $e{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,o){n.reason||(n.reason=new Ht(t,r,o),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new $e((function(e){t=e})),cancel:t}}}const xe=$e;const Le={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Le).forEach((([t,e])=>{Le[e]=t}));const Ne=Le;const ke=function t(e){const n=new Te(e),r=g(Te.prototype.request,n);return st.extend(r,Te.prototype,n,{allOwnKeys:!0}),st.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(ne(e,n))},r}(kt);ke.Axios=Te,ke.CanceledError=Ht,ke.CancelToken=xe,ke.isCancel=Vt,ke.VERSION=Oe,ke.toFormData=mt,ke.AxiosError=lt,ke.Cancel=ke.CanceledError,ke.all=function(t){return Promise.all(t)},ke.spread=function(t){return function(e){return t.apply(null,e)}},ke.isAxiosError=function(t){return st.isObject(t)&&!0===t.isAxiosError},ke.mergeConfig=ne,ke.AxiosHeaders=Mt,ke.formToJSON=t=>Lt(st.isHTMLForm(t)?new FormData(t):t),ke.getAdapter=_e,ke.HttpStatusCode=Ne,ke.default=ke;const Pe=ke,{Axios:je,AxiosError:Be,CanceledError:Ue,isCancel:De,CancelToken:Fe,VERSION:Me,all:Ge,Cancel:Ve,isAxiosError:qe,spread:He,toFormData:ze,AxiosHeaders:Xe,HttpStatusCode:We,formToJSON:Je,getAdapter:Ke,mergeConfig:Ye}=Pe;const Ze=(t,e,n)=>{const r=Object.assign({escape:!0},n||{});return"/"!==t.charAt(0)&&(t="/"+t),o=(o=e||{})||{},t.replace(/{([^{}]*)}/g,(function(t,e){const n=o[e];return r.escape?"string"==typeof n||"number"==typeof n?encodeURIComponent(n.toString()):encodeURIComponent(t):"string"==typeof n||"number"==typeof n?n.toString():t}));var o},Qe=(t,e,n)=>{const r=Object.assign({noRewrite:!1},n||{}),o=n?.baseURL??en();return!0!==window?.OC?.config?.modRewriteWorking||r.noRewrite?o+"/index.php"+Ze(t,e,n):o+Ze(t,e,n)},tn=()=>window.location.protocol+"//"+window.location.host+en();function en(){let t=window._oc_webroot;if(void 0===t){t=location.pathname;const e=t.indexOf("/index.php/");if(-1!==e)t=t.slice(0,e);else{const e=t.indexOf("/",1);t=t.slice(0,e>0?e:void 0)}}return t}const nn=Pe.create({headers:{requesttoken:d()??"","X-Requested-With":"XMLHttpRequest"}});!function(t){p.push(t)}((t=>{nn.defaults.headers.requesttoken=t}));const rn=Object.assign(nn,{CancelToken:Pe.CancelToken,isCancel:Pe.isCancel}),on=Symbol("csrf-retry");const sn=Symbol("retryDelay");rn.interceptors.response.use((t=>t),function(t){return async e=>{if(!qe(e))throw e;const{config:n,response:r,request:o}=e,i=o?.responseURL;if(n&&!n[on]&&412===r?.status&&"CSRF check failed"===r?.data?.message){console.warn(`Request to ${i} failed because of a CSRF mismatch. Fetching a new token`);const{data:{token:e}}=await t.get(Qe("/csrftoken"));return console.debug(`New request token ${e} fetched`),t.defaults.headers.requesttoken=e,t({...n,headers:{...n.headers,requesttoken:e},[on]:!0})}throw e}}(rn)),rn.interceptors.response.use((t=>t),function(t){return async e=>{if(!qe(e))throw e;const{config:n,response:r,request:o}=e,i=o?.responseURL,s=r?.status,a=r?.headers;let c="number"==typeof n?.[sn]?n?.[sn]:1;if(503===s&&"1"===a?.["x-nextcloud-maintenance-mode"]&&n?.retryIfMaintenanceMode){if(c*=2,c>32)throw console.error("Retry delay exceeded one minute, giving up.",{responseURL:i}),e;return console.warn(`Request to ${i} failed because of maintenance mode. Retrying in ${c}s`),await new Promise((t=>{setTimeout(t,1e3*c)})),t({...n,[sn]:c})}throw e}}(rn)),rn.interceptors.response.use((t=>t),(async function(t){if(qe(t)){const{config:e,response:n,request:r}=t,o=r?.responseURL,i=n?.status;401===i&&"Current user is not logged in"===n?.data?.message&&e?.reloadExpiredSession&&window?.location&&(console.error(`Request to ${o} failed because the user session expired. Reloading the page …`),window.location.reload())}throw t}));var an=Object.freeze({}),cn=Array.isArray;function un(t){return null==t}function ln(t){return null!=t}function fn(t){return!0===t}function pn(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function dn(t){return"function"==typeof t}function hn(t){return null!==t&&"object"==typeof t}var vn=Object.prototype.toString;function mn(t){return"[object Object]"===vn.call(t)}function gn(t){return"[object RegExp]"===vn.call(t)}function yn(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function bn(t){return ln(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function _n(t){return null==t?"":Array.isArray(t)||mn(t)&&t.toString===vn?JSON.stringify(t,wn,2):String(t)}function wn(t,e){return e&&e.__v_isRef?e.value:e}function En(t){var e=parseFloat(t);return isNaN(e)?t:e}function On(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}On("slot,component",!0);var An=On("key,ref,slot,slot-scope,is");function Sn(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var r=t.indexOf(e);if(r>-1)return t.splice(r,1)}}var Rn=Object.prototype.hasOwnProperty;function Cn(t,e){return Rn.call(t,e)}function In(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var Tn=/-(\w)/g,$n=In((function(t){return t.replace(Tn,(function(t,e){return e?e.toUpperCase():""}))})),xn=In((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),Ln=/\B([A-Z])/g,Nn=In((function(t){return t.replace(Ln,"-$1").toLowerCase()}));var kn=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function Pn(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function jn(t,e){for(var n in e)t[n]=e[n];return t}function Bn(t){for(var e={},n=0;n<t.length;n++)t[n]&&jn(e,t[n]);return e}function Un(t,e,n){}var Dn=function(t,e,n){return!1},Fn=function(t){return t};function Mn(t,e){if(t===e)return!0;var n=hn(t),r=hn(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every((function(t,n){return Mn(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every((function(n){return Mn(t[n],e[n])}))}catch(t){return!1}}function Gn(t,e){for(var n=0;n<t.length;n++)if(Mn(t[n],e))return n;return-1}function Vn(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function qn(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var Hn="data-server-rendered",zn=["component","directive","filter"],Xn=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],Wn={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Dn,isReservedAttr:Dn,isUnknownElement:Dn,getTagNamespace:Un,parsePlatformTagName:Fn,mustUseProp:Dn,async:!0,_lifecycleHooks:Xn},Jn=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Kn(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function Yn(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Zn=new RegExp("[^".concat(Jn.source,".$_\\d]"));var Qn="__proto__"in{},tr="undefined"!=typeof window,er=tr&&window.navigator.userAgent.toLowerCase(),nr=er&&/msie|trident/.test(er),rr=er&&er.indexOf("msie 9.0")>0,or=er&&er.indexOf("edge/")>0;er&&er.indexOf("android");var ir=er&&/iphone|ipad|ipod|ios/.test(er);er&&/chrome\/\d+/.test(er),er&&/phantomjs/.test(er);var sr,ar=er&&er.match(/firefox\/(\d+)/),cr={}.watch,ur=!1;if(tr)try{var lr={};Object.defineProperty(lr,"passive",{get:function(){ur=!0}}),window.addEventListener("test-passive",null,lr)}catch(t){}var fr=function(){return void 0===sr&&(sr=!tr&&void 0!==r.g&&(r.g.process&&"server"===r.g.process.env.VUE_ENV)),sr},pr=tr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function dr(t){return"function"==typeof t&&/native code/.test(t.toString())}var hr,vr="undefined"!=typeof Symbol&&dr(Symbol)&&"undefined"!=typeof Reflect&&dr(Reflect.ownKeys);hr="undefined"!=typeof Set&&dr(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var mr=null;function gr(t){void 0===t&&(t=null),t||mr&&mr._scope.off(),mr=t,t&&t._scope.on()}var yr=function(){function t(t,e,n,r,o,i,s,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),br=function(t){void 0===t&&(t="");var e=new yr;return e.text=t,e.isComment=!0,e};function _r(t){return new yr(void 0,void 0,void 0,String(t))}function wr(t){var e=new yr(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"==typeof SuppressedError&&SuppressedError;var Er=0,Or=[],Ar=function(){for(var t=0;t<Or.length;t++){var e=Or[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}Or.length=0},Sr=function(){function t(){this._pending=!1,this.id=Er++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,Or.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,r=e.length;n<r;n++){0,e[n].update()}},t}();Sr.target=null;var Rr=[];function Cr(t){Rr.push(t),Sr.target=t}function Ir(){Rr.pop(),Sr.target=Rr[Rr.length-1]}var Tr=Array.prototype,$r=Object.create(Tr);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=Tr[t];Yn($r,t,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o,i=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&s.observeArray(o),s.dep.notify(),i}))}));var xr=Object.getOwnPropertyNames($r),Lr={},Nr=!0;function kr(t){Nr=t}var Pr={notify:Un,depend:Un,addSub:Un,removeSub:Un},jr=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?Pr:new Sr,this.vmCount=0,Yn(t,"__ob__",this),cn(t)){if(!n)if(Qn)t.__proto__=$r;else for(var r=0,o=xr.length;r<o;r++){Yn(t,s=xr[r],$r[s])}e||this.observeArray(t)}else{var i=Object.keys(t);for(r=0;r<i.length;r++){var s;Ur(t,s=i[r],Lr,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Br(t[e],!1,this.mock)},t}();function Br(t,e,n){return t&&Cn(t,"__ob__")&&t.__ob__ instanceof jr?t.__ob__:!Nr||!n&&fr()||!cn(t)&&!mn(t)||!Object.isExtensible(t)||t.__v_skip||Hr(t)||t instanceof yr?void 0:new jr(t,e,n)}function Ur(t,e,n,r,o,i,s){void 0===s&&(s=!1);var a=new Sr,c=Object.getOwnPropertyDescriptor(t,e);if(!c||!1!==c.configurable){var u=c&&c.get,l=c&&c.set;u&&!l||n!==Lr&&2!==arguments.length||(n=t[e]);var f=o?n&&n.__ob__:Br(n,!1,i);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):n;return Sr.target&&(a.depend(),f&&(f.dep.depend(),cn(e)&&Mr(e))),Hr(e)&&!o?e.value:e},set:function(e){var r=u?u.call(t):n;if(qn(r,e)){if(l)l.call(t,e);else{if(u)return;if(!o&&Hr(r)&&!Hr(e))return void(r.value=e);n=e}f=o?e&&e.__ob__:Br(e,!1,i),a.notify()}}}),a}}function Dr(t,e,n){if(!qr(t)){var r=t.__ob__;return cn(t)&&yn(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),r&&!r.shallow&&r.mock&&Br(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||r&&r.vmCount?n:r?(Ur(r.value,e,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(t[e]=n,n)}}function Fr(t,e){if(cn(t)&&yn(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||qr(t)||Cn(t,e)&&(delete t[e],n&&n.dep.notify())}}function Mr(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),cn(e)&&Mr(e)}function Gr(t){return Vr(t,!0),Yn(t,"__v_isShallow",!0),t}function Vr(t,e){if(!qr(t)){Br(t,e,fr());0}}function qr(t){return!(!t||!t.__v_isReadonly)}function Hr(t){return!(!t||!0!==t.__v_isRef)}function zr(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Hr(t))return t.value;var r=t&&t.__ob__;return r&&r.dep.depend(),t},set:function(t){var r=e[n];Hr(r)&&!Hr(t)?r.value=t:e[n]=t}})}var Xr="watcher";"".concat(Xr," callback"),"".concat(Xr," getter"),"".concat(Xr," cleanup");var Wr;var Jr=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Wr,!t&&Wr&&(this.index=(Wr.scopes||(Wr.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Wr;try{return Wr=this,t()}finally{Wr=e}}else 0},t.prototype.on=function(){Wr=this},t.prototype.off=function(){Wr=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Kr(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}var Yr=In((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function Zr(t,e){function n(){var t=n.fns;if(!cn(t))return Do(t,null,arguments,e,"v-on handler");for(var r=t.slice(),o=0;o<r.length;o++)Do(r[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function Qr(t,e,n,r,o,i){var s,a,c,u;for(s in t)a=t[s],c=e[s],u=Yr(s),un(a)||(un(c)?(un(a.fns)&&(a=t[s]=Zr(a,i)),fn(u.once)&&(a=t[s]=o(u.name,a,u.capture)),n(u.name,a,u.capture,u.passive,u.params)):a!==c&&(c.fns=a,t[s]=c));for(s in e)un(t[s])&&r((u=Yr(s)).name,e[s],u.capture)}function to(t,e,n){var r;t instanceof yr&&(t=t.data.hook||(t.data.hook={}));var o=t[e];function i(){n.apply(this,arguments),Sn(r.fns,i)}un(o)?r=Zr([i]):ln(o.fns)&&fn(o.merged)?(r=o).fns.push(i):r=Zr([o,i]),r.merged=!0,t[e]=r}function eo(t,e,n,r,o){if(ln(e)){if(Cn(e,n))return t[n]=e[n],o||delete e[n],!0;if(Cn(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function no(t){return pn(t)?[_r(t)]:cn(t)?oo(t):void 0}function ro(t){return ln(t)&&ln(t.text)&&!1===t.isComment}function oo(t,e){var n,r,o,i,s=[];for(n=0;n<t.length;n++)un(r=t[n])||"boolean"==typeof r||(i=s[o=s.length-1],cn(r)?r.length>0&&(ro((r=oo(r,"".concat(e||"","_").concat(n)))[0])&&ro(i)&&(s[o]=_r(i.text+r[0].text),r.shift()),s.push.apply(s,r)):pn(r)?ro(i)?s[o]=_r(i.text+r):""!==r&&s.push(_r(r)):ro(r)&&ro(i)?s[o]=_r(i.text+r.text):(fn(t._isVList)&&ln(r.tag)&&un(r.key)&&ln(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),s.push(r)));return s}function io(t,e){var n,r,o,i,s=null;if(cn(t)||"string"==typeof t)for(s=new Array(t.length),n=0,r=t.length;n<r;n++)s[n]=e(t[n],n);else if("number"==typeof t)for(s=new Array(t),n=0;n<t;n++)s[n]=e(n+1,n);else if(hn(t))if(vr&&t[Symbol.iterator]){s=[];for(var a=t[Symbol.iterator](),c=a.next();!c.done;)s.push(e(c.value,s.length)),c=a.next()}else for(o=Object.keys(t),s=new Array(o.length),n=0,r=o.length;n<r;n++)i=o[n],s[n]=e(t[i],i,n);return ln(s)||(s=[]),s._isVList=!0,s}function so(t,e,n,r){var o,i=this.$scopedSlots[t];i?(n=n||{},r&&(n=jn(jn({},r),n)),o=i(n)||(dn(e)?e():e)):o=this.$slots[t]||(dn(e)?e():e);var s=n&&n.slot;return s?this.$createElement("template",{slot:s},o):o}function ao(t){return qi(this.$options,"filters",t,!0)||Fn}function co(t,e){return cn(t)?-1===t.indexOf(e):t!==e}function uo(t,e,n,r,o){var i=Wn.keyCodes[e]||n;return o&&r&&!Wn.keyCodes[e]?co(o,r):i?co(i,t):r?Nn(r)!==e:void 0===t}function lo(t,e,n,r,o){if(n)if(hn(n)){cn(n)&&(n=Bn(n));var i=void 0,s=function(s){if("class"===s||"style"===s||An(s))i=t;else{var a=t.attrs&&t.attrs.type;i=r||Wn.mustUseProp(e,a,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=$n(s),u=Nn(s);c in i||u in i||(i[s]=n[s],o&&((t.on||(t.on={}))["update:".concat(s)]=function(t){n[s]=t}))};for(var a in n)s(a)}else;return t}function fo(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||ho(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),r}function po(t,e,n){return ho(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function ho(t,e,n){if(cn(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&vo(t[r],"".concat(e,"_").concat(r),n);else vo(t,e,n)}function vo(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function mo(t,e){if(e)if(mn(e)){var n=t.on=t.on?jn({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}else;return t}function go(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var i=t[o];cn(i)?go(i,e,n):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return r&&(e.$key=r),e}function yo(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function bo(t,e){return"string"==typeof t?e+t:t}function _o(t){t._o=po,t._n=En,t._s=_n,t._l=io,t._t=so,t._q=Mn,t._i=Gn,t._m=fo,t._f=ao,t._k=uo,t._b=lo,t._v=_r,t._e=br,t._u=go,t._g=mo,t._d=yo,t._p=bo}function wo(t,e){if(!t||!t.length)return{};for(var n={},r=0,o=t.length;r<o;r++){var i=t[r],s=i.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,i.context!==e&&i.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(i);else{var a=s.slot,c=n[a]||(n[a]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every(Eo)&&delete n[u];return n}function Eo(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Oo(t){return t.isComment&&t.asyncFactory}function Ao(t,e,n,r){var o,i=Object.keys(n).length>0,s=e?!!e.$stable:!i,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==an&&a===r.$key&&!i&&!r.$hasNormal)return r;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=So(t,n,c,e[c]))}else o={};for(var u in n)u in o||(o[u]=Ro(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),Yn(o,"$stable",s),Yn(o,"$key",a),Yn(o,"$hasNormal",i),o}function So(t,e,n,r){var o=function(){var e=mr;gr(t);var n=arguments.length?r.apply(null,arguments):r({}),o=(n=n&&"object"==typeof n&&!cn(n)?[n]:no(n))&&n[0];return gr(e),n&&(!o||1===n.length&&o.isComment&&!Oo(o))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function Ro(t,e){return function(){return t[e]}}function Co(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Yn(e,"_v_attr_proxy",!0),Io(e,t.$attrs,an,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||Io(t._listenersProxy={},t.$listeners,an,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||$o(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:kn(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return zr(t,e,n)}))}}}function Io(t,e,n,r,o){var i=!1;for(var s in e)s in t?e[s]!==n[s]&&(i=!0):(i=!0,To(t,s,r,o));for(var s in t)s in e||(i=!0,delete t[s]);return i}function To(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function $o(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}var xo=null;function Lo(t,e){return(t.__esModule||vr&&"Module"===t[Symbol.toStringTag])&&(t=t.default),hn(t)?e.extend(t):t}function No(t){if(cn(t))for(var e=0;e<t.length;e++){var n=t[e];if(ln(n)&&(ln(n.componentOptions)||Oo(n)))return n}}var ko=1,Po=2;function jo(t,e,n,r,o,i){return(cn(n)||pn(n))&&(o=r,r=n,n=void 0),fn(i)&&(o=Po),function(t,e,n,r,o){if(ln(n)&&ln(n.__ob__))return br();ln(n)&&ln(n.is)&&(e=n.is);if(!e)return br();0;cn(r)&&dn(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);o===Po?r=no(r):o===ko&&(r=function(t){for(var e=0;e<t.length;e++)if(cn(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var i,s;if("string"==typeof e){var a=void 0;s=t.$vnode&&t.$vnode.ns||Wn.getTagNamespace(e),i=Wn.isReservedTag(e)?new yr(Wn.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!ln(a=qi(t.$options,"components",e))?new yr(e,n,r,void 0,void 0,t):ki(a,n,t,r,e)}else i=ki(e,n,t,r);return cn(i)?i:ln(i)?(ln(s)&&Bo(i,s),ln(n)&&function(t){hn(t.style)&&ti(t.style);hn(t.class)&&ti(t.class)}(n),i):br()}(t,e,n,r,o)}function Bo(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),ln(t.children))for(var r=0,o=t.children.length;r<o;r++){var i=t.children[r];ln(i.tag)&&(un(i.ns)||fn(n)&&"svg"!==i.tag)&&Bo(i,e,n)}}function Uo(t,e,n){Cr();try{if(e)for(var r=e;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,t,e,n))return}catch(t){Fo(t,r,"errorCaptured hook")}}Fo(t,e,n)}finally{Ir()}}function Do(t,e,n,r,o){var i;try{(i=n?t.apply(e,n):t.call(e))&&!i._isVue&&bn(i)&&!i._handled&&(i.catch((function(t){return Uo(t,r,o+" (Promise/async)")})),i._handled=!0)}catch(t){Uo(t,r,o)}return i}function Fo(t,e,n){if(Wn.errorHandler)try{return Wn.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Mo(e,null,"config.errorHandler")}Mo(t,e,n)}function Mo(t,e,n){if(!tr||"undefined"==typeof console)throw t;console.error(t)}var Go,Vo=!1,qo=[],Ho=!1;function zo(){Ho=!1;var t=qo.slice(0);qo.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&dr(Promise)){var Xo=Promise.resolve();Go=function(){Xo.then(zo),ir&&setTimeout(Un)},Vo=!0}else if(nr||"undefined"==typeof MutationObserver||!dr(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Go="undefined"!=typeof setImmediate&&dr(setImmediate)?function(){setImmediate(zo)}:function(){setTimeout(zo,0)};else{var Wo=1,Jo=new MutationObserver(zo),Ko=document.createTextNode(String(Wo));Jo.observe(Ko,{characterData:!0}),Go=function(){Wo=(Wo+1)%2,Ko.data=String(Wo)},Vo=!0}function Yo(t,e){var n;if(qo.push((function(){if(t)try{t.call(e)}catch(t){Uo(t,e,"nextTick")}else n&&n(e)})),Ho||(Ho=!0,Go()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}function Zo(t){return function(e,n){if(void 0===n&&(n=mr),n)return function(t,e,n){var r=t.$options;r[e]=Fi(r[e],n)}(n,t,e)}}Zo("beforeMount"),Zo("mounted"),Zo("beforeUpdate"),Zo("updated"),Zo("beforeDestroy"),Zo("destroyed"),Zo("activated"),Zo("deactivated"),Zo("serverPrefetch"),Zo("renderTracked"),Zo("renderTriggered"),Zo("errorCaptured");var Qo=new hr;function ti(t){return ei(t,Qo),Qo.clear(),t}function ei(t,e){var n,r,o=cn(t);if(!(!o&&!hn(t)||t.__v_skip||Object.isFrozen(t)||t instanceof yr)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o)for(n=t.length;n--;)ei(t[n],e);else if(Hr(t))ei(t.value,e);else for(n=(r=Object.keys(t)).length;n--;)ei(t[r[n]],e)}}var ni,ri=0,oi=function(){function t(t,e,n,r,o){var i,s;i=this,void 0===(s=Wr&&!Wr._vm?Wr:t?t._scope:void 0)&&(s=Wr),s&&s.active&&s.effects.push(i),(this.vm=t)&&o&&(t._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ri,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new hr,this.newDepIds=new hr,this.expression="",dn(e)?this.getter=e:(this.getter=function(t){if(!Zn.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=Un)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;Cr(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Uo(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&ti(t),Ir(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Ri(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||hn(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Do(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Sn(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function ii(t,e){ni.$on(t,e)}function si(t,e){ni.$off(t,e)}function ai(t,e){var n=ni;return function r(){null!==e.apply(null,arguments)&&n.$off(t,r)}}function ci(t,e,n){ni=t,Qr(e,n||{},ii,si,ai,t),ni=void 0}var ui=null;function li(t){var e=ui;return ui=t,function(){ui=e}}function fi(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function pi(t,e){if(e){if(t._directInactive=!1,fi(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)pi(t.$children[n]);hi(t,"activated")}}function di(t,e){if(!(e&&(t._directInactive=!0,fi(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)di(t.$children[n]);hi(t,"deactivated")}}function hi(t,e,n,r){void 0===r&&(r=!0),Cr();var o=mr,i=Wr;r&&gr(t);var s=t.$options[e],a="".concat(e," hook");if(s)for(var c=0,u=s.length;c<u;c++)Do(s[c],t,n||null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),r&&(gr(o),i&&i.on()),Ir()}var vi=[],mi=[],gi={},yi=!1,bi=!1,_i=0;var wi=0,Ei=Date.now;if(tr&&!nr){var Oi=window.performance;Oi&&"function"==typeof Oi.now&&Ei()>document.createEvent("Event").timeStamp&&(Ei=function(){return Oi.now()})}var Ai=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Si(){var t,e;for(wi=Ei(),bi=!0,vi.sort(Ai),_i=0;_i<vi.length;_i++)(t=vi[_i]).before&&t.before(),e=t.id,gi[e]=null,t.run();var n=mi.slice(),r=vi.slice();_i=vi.length=mi.length=0,gi={},yi=bi=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,pi(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&hi(r,"updated")}}(r),Ar(),pr&&Wn.devtools&&pr.emit("flush")}function Ri(t){var e=t.id;if(null==gi[e]&&(t!==Sr.target||!t.noRecurse)){if(gi[e]=!0,bi){for(var n=vi.length-1;n>_i&&vi[n].id>t.id;)n--;vi.splice(n+1,0,t)}else vi.push(t);yi||(yi=!0,Yo(Si))}}function Ci(t,e){if(t){for(var n=Object.create(null),r=vr?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){var s=t[i].from;if(s in e._provided)n[i]=e._provided[s];else if("default"in t[i]){var a=t[i].default;n[i]=dn(a)?a.call(e):a}else 0}}return n}}function Ii(t,e,n,r,o){var i,s=this,a=o.options;Cn(r,"_uid")?(i=Object.create(r))._original=r:(i=r,r=r._original);var c=fn(a._compiled),u=!c;this.data=t,this.props=e,this.children=n,this.parent=r,this.listeners=t.on||an,this.injections=Ci(a.inject,r),this.slots=function(){return s.$slots||Ao(r,t.scopedSlots,s.$slots=wo(n,r)),s.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ao(r,t.scopedSlots,this.slots())}}),c&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=Ao(r,t.scopedSlots,this.$slots)),a._scopeId?this._c=function(t,e,n,o){var s=jo(i,t,e,n,o,u);return s&&!cn(s)&&(s.fnScopeId=a._scopeId,s.fnContext=r),s}:this._c=function(t,e,n,r){return jo(i,t,e,n,r,u)}}function Ti(t,e,n,r,o){var i=wr(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function $i(t,e){for(var n in e)t[$n(n)]=e[n]}function xi(t){return t.name||t.__name||t._componentTag}_o(Ii.prototype);var Li={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Li.prepatch(n,n)}else{var r=t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;ln(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,ui);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,o){var i=r.data.scopedSlots,s=t.$scopedSlots,a=!!(i&&!i.$stable||s!==an&&!s.$stable||i&&t.$scopedSlots.$key!==i.$key||!i&&t.$scopedSlots.$key),c=!!(o||t.$options._renderChildren||a),u=t.$vnode;t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o;var l=r.data.attrs||an;t._attrsProxy&&Io(t._attrsProxy,l,u.data&&u.data.attrs||an,t,"$attrs")&&(c=!0),t.$attrs=l,n=n||an;var f=t.$options._parentListeners;if(t._listenersProxy&&Io(t._listenersProxy,n,f||an,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,ci(t,n,f),e&&t.$options.props){kr(!1);for(var p=t._props,d=t.$options._propKeys||[],h=0;h<d.length;h++){var v=d[h],m=t.$options.props;p[v]=Hi(v,m,e,t)}kr(!0),t.$options.propsData=e}c&&(t.$slots=wo(o,r.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,hi(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,mi.push(e)):pi(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?di(e,!0):e.$destroy())}},Ni=Object.keys(Li);function ki(t,e,n,r,o){if(!un(t)){var i=n.$options._base;if(hn(t)&&(t=i.extend(t)),"function"==typeof t){var s;if(un(t.cid)&&(t=function(t,e){if(fn(t.error)&&ln(t.errorComp))return t.errorComp;if(ln(t.resolved))return t.resolved;var n=xo;if(n&&ln(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),fn(t.loading)&&ln(t.loadingComp))return t.loadingComp;if(n&&!ln(t.owners)){var r=t.owners=[n],o=!0,i=null,s=null;n.$on("hook:destroyed",(function(){return Sn(r,n)}));var a=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==i&&(clearTimeout(i),i=null),null!==s&&(clearTimeout(s),s=null))},c=Vn((function(n){t.resolved=Lo(n,e),o?r.length=0:a(!0)})),u=Vn((function(e){ln(t.errorComp)&&(t.error=!0,a(!0))})),l=t(c,u);return hn(l)&&(bn(l)?un(t.resolved)&&l.then(c,u):bn(l.component)&&(l.component.then(c,u),ln(l.error)&&(t.errorComp=Lo(l.error,e)),ln(l.loading)&&(t.loadingComp=Lo(l.loading,e),0===l.delay?t.loading=!0:i=setTimeout((function(){i=null,un(t.resolved)&&un(t.error)&&(t.loading=!0,a(!1))}),l.delay||200)),ln(l.timeout)&&(s=setTimeout((function(){s=null,un(t.resolved)&&u(null)}),l.timeout)))),o=!1,t.loading?t.loadingComp:t.resolved}}(s=t,i),void 0===t))return function(t,e,n,r,o){var i=br();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}(s,e,n,r,o);e=e||{},is(t),ln(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),i=o[r],s=e.model.callback;ln(i)?(cn(i)?-1===i.indexOf(s):i!==s)&&(o[r]=[s].concat(i)):o[r]=s}(t.options,e);var a=function(t,e){var n=e.options.props;if(!un(n)){var r={},o=t.attrs,i=t.props;if(ln(o)||ln(i))for(var s in n){var a=Nn(s);eo(r,i,s,a,!0)||eo(r,o,s,a,!1)}return r}}(e,t);if(fn(t.options.functional))return function(t,e,n,r,o){var i=t.options,s={},a=i.props;if(ln(a))for(var c in a)s[c]=Hi(c,a,e||an);else ln(n.attrs)&&$i(s,n.attrs),ln(n.props)&&$i(s,n.props);var u=new Ii(n,s,o,r,t),l=i.render.call(null,u._c,u);if(l instanceof yr)return Ti(l,n,u.parent,i);if(cn(l)){for(var f=no(l)||[],p=new Array(f.length),d=0;d<f.length;d++)p[d]=Ti(f[d],n,u.parent,i);return p}}(t,a,e,n,r);var c=e.on;if(e.on=e.nativeOn,fn(t.options.abstract)){var u=e.slot;e={},u&&(e.slot=u)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Ni.length;n++){var r=Ni[n],o=e[r],i=Li[r];o===i||o&&o._merged||(e[r]=o?Pi(i,o):i)}}(e);var l=xi(t.options)||o;return new yr("vue-component-".concat(t.cid).concat(l?"-".concat(l):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:a,listeners:c,tag:o,children:r},s)}}}function Pi(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}var ji=Un,Bi=Wn.optionMergeStrategies;function Ui(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var r,o,i,s=vr?Reflect.ownKeys(e):Object.keys(e),a=0;a<s.length;a++)"__ob__"!==(r=s[a])&&(o=t[r],i=e[r],n&&Cn(t,r)?o!==i&&mn(o)&&mn(i)&&Ui(o,i):Dr(t,r,i));return t}function Di(t,e,n){return n?function(){var r=dn(e)?e.call(n,n):e,o=dn(t)?t.call(n,n):t;return r?Ui(r,o):o}:e?t?function(){return Ui(dn(e)?e.call(this,this):e,dn(t)?t.call(this,this):t)}:e:t}function Fi(t,e){var n=e?t?t.concat(e):cn(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Mi(t,e,n,r){var o=Object.create(t||null);return e?jn(o,e):o}Bi.data=function(t,e,n){return n?Di(t,e,n):e&&"function"!=typeof e?t:Di(t,e)},Xn.forEach((function(t){Bi[t]=Fi})),zn.forEach((function(t){Bi[t+"s"]=Mi})),Bi.watch=function(t,e,n,r){if(t===cr&&(t=void 0),e===cr&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var i in jn(o,t),e){var s=o[i],a=e[i];s&&!cn(s)&&(s=[s]),o[i]=s?s.concat(a):cn(a)?a:[a]}return o},Bi.props=Bi.methods=Bi.inject=Bi.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return jn(o,t),e&&jn(o,e),o},Bi.provide=function(t,e){return t?function(){var n=Object.create(null);return Ui(n,dn(t)?t.call(this):t),e&&Ui(n,dn(e)?e.call(this):e,!1),n}:e};var Gi=function(t,e){return void 0===e?t:e};function Vi(t,e,n){if(dn(e)&&(e=e.options),function(t){var e=t.props;if(e){var n,r,o={};if(cn(e))for(n=e.length;n--;)"string"==typeof(r=e[n])&&(o[$n(r)]={type:null});else if(mn(e))for(var i in e)r=e[i],o[$n(i)]=mn(r)?r:{type:r};t.props=o}}(e),function(t){var e=t.inject;if(e){var n=t.inject={};if(cn(e))for(var r=0;r<e.length;r++)n[e[r]]={from:e[r]};else if(mn(e))for(var o in e){var i=e[o];n[o]=mn(i)?jn({from:o},i):{from:i}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];dn(r)&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Vi(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=Vi(t,e.mixins[r],n);var i,s={};for(i in t)a(i);for(i in e)Cn(t,i)||a(i);function a(r){var o=Bi[r]||Gi;s[r]=o(t[r],e[r],n,r)}return s}function qi(t,e,n,r){if("string"==typeof n){var o=t[e];if(Cn(o,n))return o[n];var i=$n(n);if(Cn(o,i))return o[i];var s=xn(i);return Cn(o,s)?o[s]:o[n]||o[i]||o[s]}}function Hi(t,e,n,r){var o=e[t],i=!Cn(n,t),s=n[t],a=Ji(Boolean,o.type);if(a>-1)if(i&&!Cn(o,"default"))s=!1;else if(""===s||s===Nn(t)){var c=Ji(String,o.type);(c<0||a<c)&&(s=!0)}if(void 0===s){s=function(t,e,n){if(!Cn(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return dn(r)&&"Function"!==Xi(e.type)?r.call(t):r}(r,o,t);var u=Nr;kr(!0),Br(s),kr(u)}return s}var zi=/^\s*function (\w+)/;function Xi(t){var e=t&&t.toString().match(zi);return e?e[1]:""}function Wi(t,e){return Xi(t)===Xi(e)}function Ji(t,e){if(!cn(e))return Wi(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Wi(e[n],t))return n;return-1}var Ki={enumerable:!0,configurable:!0,get:Un,set:Un};function Yi(t,e,n){Ki.get=function(){return this[e][n]},Ki.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ki)}function Zi(t){var e=t.$options;if(e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props=Gr({}),o=t.$options._propKeys=[],i=!t.$parent;i||kr(!1);var s=function(i){o.push(i);var s=Hi(i,e,n,t);Ur(r,i,s,void 0,!0),i in t||Yi(t,"_props",i)};for(var a in e)s(a);kr(!0)}(t,e.props),function(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=Co(t);gr(t),Cr();var o=Do(n,null,[t._props||Gr({}),r],t,"setup");if(Ir(),gr(),dn(o))e.render=o;else if(hn(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var s in o)"__sfc"!==s&&zr(i,o,s)}else for(var s in o)Kn(s)||zr(t,o,s)}}(t),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?Un:kn(e[n],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;e=t._data=dn(e)?function(t,e){Cr();try{return t.call(e,e)}catch(t){return Uo(t,e,"data()"),{}}finally{Ir()}}(e,t):e||{},mn(e)||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&Cn(r,i)||Kn(i)||Yi(t,"_data",i)}var s=Br(e);s&&s.vmCount++}(t);else{var n=Br(t._data={});n&&n.vmCount++}e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=fr();for(var o in e){var i=e[o],s=dn(i)?i:i.get;0,r||(n[o]=new oi(t,s||Un,Un,Qi)),o in t||ts(t,o,i)}}(t,e.computed),e.watch&&e.watch!==cr&&function(t,e){for(var n in e){var r=e[n];if(cn(r))for(var o=0;o<r.length;o++)rs(t,n,r[o]);else rs(t,n,r)}}(t,e.watch)}var Qi={lazy:!0};function ts(t,e,n){var r=!fr();dn(n)?(Ki.get=r?es(e):ns(n),Ki.set=Un):(Ki.get=n.get?r&&!1!==n.cache?es(e):ns(n.get):Un,Ki.set=n.set||Un),Object.defineProperty(t,e,Ki)}function es(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Sr.target&&e.depend(),e.value}}function ns(t){return function(){return t.call(this,this)}}function rs(t,e,n,r){return mn(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var os=0;function is(t){var e=t.options;if(t.super){var n=is(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}(t);r&&jn(t.extendOptions,r),(e=t.options=Vi(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function ss(t){this._init(t)}function as(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=xi(t)||xi(n.options);var s=function(t){this._init(t)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=e++,s.options=Vi(n.options,t),s.super=n,s.options.props&&function(t){var e=t.options.props;for(var n in e)Yi(t.prototype,"_props",n)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var n in e)ts(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,zn.forEach((function(t){s[t]=n[t]})),i&&(s.options.components[i]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=jn({},s.options),o[r]=s,s}}function cs(t){return t&&(xi(t.Ctor.options)||t.tag)}function us(t,e){return cn(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!gn(t)&&t.test(e)}function ls(t,e){var n=t.cache,r=t.keys,o=t._vnode,i=t.$vnode;for(var s in n){var a=n[s];if(a){var c=a.name;c&&!e(c)&&fs(n,s,r,o)}}i.componentOptions.children=void 0}function fs(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,Sn(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=os++,e._isVue=!0,e.__v_skip=!0,e._scope=new Jr(!0),e._scope.parent=void 0,e._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Vi(is(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&ci(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=wo(e._renderChildren,r),t.$scopedSlots=n?Ao(t.$parent,n.data.scopedSlots,t.$slots):an,t._c=function(e,n,r,o){return jo(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return jo(t,e,n,r,o,!0)};var o=n&&n.data;Ur(t,"$attrs",o&&o.attrs||an,null,!0),Ur(t,"$listeners",e._parentListeners||an,null,!0)}(e),hi(e,"beforeCreate",void 0,!1),function(t){var e=Ci(t.$options.inject,t);e&&(kr(!1),Object.keys(e).forEach((function(n){Ur(t,n,e[n])})),kr(!0))}(e),Zi(e),function(t){var e=t.$options.provide;if(e){var n=dn(e)?e.call(t):e;if(!hn(n))return;for(var r=Kr(t),o=vr?Reflect.ownKeys(n):Object.keys(n),i=0;i<o.length;i++){var s=o[i];Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(n,s))}}}(e),hi(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(ss),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Dr,t.prototype.$delete=Fr,t.prototype.$watch=function(t,e,n){var r=this;if(mn(e))return rs(r,t,e,n);(n=n||{}).user=!0;var o=new oi(r,t,e,n);if(n.immediate){var i='callback for immediate watcher "'.concat(o.expression,'"');Cr(),Do(e,r,[o.value],r,i),Ir()}return function(){o.teardown()}}}(ss),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(cn(t))for(var o=0,i=t.length;o<i;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(cn(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var i,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var a=s.length;a--;)if((i=s[a])===e||i.fn===e){s.splice(a,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?Pn(n):n;for(var r=Pn(arguments,1),o='event handler for "'.concat(t,'"'),i=0,s=n.length;i<s;i++)Do(n[i],e,r,e,o)}return e}}(ss),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,i=li(n);n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var s=n;s&&s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode;)s.$parent.$el=s.$el,s=s.$parent},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){hi(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||Sn(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),hi(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(ss),function(t){_o(t.prototype),t.prototype.$nextTick=function(t){return Yo(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&t._isMounted&&(t.$scopedSlots=Ao(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&$o(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var o,i=mr,s=xo;try{gr(t),xo=t,o=n.call(t._renderProxy,t.$createElement)}catch(e){Uo(e,t,"render"),o=t._vnode}finally{xo=s,gr(i)}return cn(o)&&1===o.length&&(o=o[0]),o instanceof yr||(o=br()),o.parent=r,o}}(ss);var ps=[String,RegExp,Array],ds={name:"keep-alive",abstract:!0,props:{include:ps,exclude:ps,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,s=r.componentInstance,a=r.componentOptions;e[o]={name:cs(a),tag:i,componentInstance:s},n.push(o),this.max&&n.length>parseInt(this.max)&&fs(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)fs(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){ls(t,(function(t){return us(e,t)}))})),this.$watch("exclude",(function(e){ls(t,(function(t){return!us(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=No(t),n=e&&e.componentOptions;if(n){var r=cs(n),o=this.include,i=this.exclude;if(o&&(!r||!us(o,r))||i&&r&&us(i,r))return e;var s=this.cache,a=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;s[c]?(e.componentInstance=s[c].componentInstance,Sn(a,c),a.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}},hs={KeepAlive:ds};!function(t){var e={get:function(){return Wn}};Object.defineProperty(t,"config",e),t.util={warn:ji,extend:jn,mergeOptions:Vi,defineReactive:Ur},t.set=Dr,t.delete=Fr,t.nextTick=Yo,t.observable=function(t){return Br(t),t},t.options=Object.create(null),zn.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,jn(t.options.components,hs),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=Pn(arguments,1);return n.unshift(this),dn(t.install)?t.install.apply(t,n):dn(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Vi(this.options,t),this}}(t),as(t),function(t){zn.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&mn(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&dn(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(ss),Object.defineProperty(ss.prototype,"$isServer",{get:fr}),Object.defineProperty(ss.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ss,"FunctionalRenderContext",{value:Ii}),ss.version="2.7.16";var vs=On("style,class"),ms=On("input,textarea,option,select,progress"),gs=On("contenteditable,draggable,spellcheck"),ys=On("events,caret,typing,plaintext-only"),bs=function(t,e){return As(e)||"false"===e?"false":"contenteditable"===t&&ys(e)?e:"true"},_s=On("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),ws="http://www.w3.org/1999/xlink",Es=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Os=function(t){return Es(t)?t.slice(6,t.length):""},As=function(t){return null==t||!1===t};function Ss(t){for(var e=t.data,n=t,r=t;ln(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Rs(r.data,e));for(;ln(n=n.parent);)n&&n.data&&(e=Rs(e,n.data));return function(t,e){if(ln(t)||ln(e))return Cs(t,Is(e));return""}(e.staticClass,e.class)}function Rs(t,e){return{staticClass:Cs(t.staticClass,e.staticClass),class:ln(t.class)?[t.class,e.class]:e.class}}function Cs(t,e){return t?e?t+" "+e:t:e||""}function Is(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r<o;r++)ln(e=Is(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):hn(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Ts={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},$s=On("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),xs=On("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ls=function(t){return $s(t)||xs(t)};var Ns=Object.create(null);var ks=On("text,number,password,search,email,tel,url");var Ps=Object.freeze({__proto__:null,createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Ts[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),js={create:function(t,e){Bs(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Bs(t,!0),Bs(e))},destroy:function(t){Bs(t,!0)}};function Bs(t,e){var n=t.data.ref;if(ln(n)){var r=t.context,o=t.componentInstance||t.elm,i=e?null:o,s=e?void 0:o;if(dn(n))Do(n,r,[i],r,"template ref function");else{var a=t.data.refInFor,c="string"==typeof n||"number"==typeof n,u=Hr(n),l=r.$refs;if(c||u)if(a){var f=c?l[n]:n.value;e?cn(f)&&Sn(f,o):cn(f)?f.includes(o)||f.push(o):c?(l[n]=[o],Us(r,n,l[n])):n.value=[o]}else if(c){if(e&&l[n]!==o)return;l[n]=s,Us(r,n,i)}else if(u){if(e&&n.value!==o)return;n.value=i}else 0}}}function Us(t,e,n){var r=t._setupState;r&&Cn(r,e)&&(Hr(r[e])?r[e].value=n:r[e]=n)}var Ds=new yr("",{},[]),Fs=["create","activate","update","remove","destroy"];function Ms(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&ln(t.data)===ln(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=ln(n=t.data)&&ln(n=n.attrs)&&n.type,o=ln(n=e.data)&&ln(n=n.attrs)&&n.type;return r===o||ks(r)&&ks(o)}(t,e)||fn(t.isAsyncPlaceholder)&&un(e.asyncFactory.error))}function Gs(t,e,n){var r,o,i={};for(r=e;r<=n;++r)ln(o=t[r].key)&&(i[o]=r);return i}var Vs={create:qs,update:qs,destroy:function(t){qs(t,Ds)}};function qs(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,o,i=t===Ds,s=e===Ds,a=zs(t.data.directives,t.context),c=zs(e.data.directives,e.context),u=[],l=[];for(n in c)r=a[n],o=c[n],r?(o.oldValue=r.value,o.oldArg=r.arg,Ws(o,"update",e,t),o.def&&o.def.componentUpdated&&l.push(o)):(Ws(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var f=function(){for(var n=0;n<u.length;n++)Ws(u[n],"inserted",e,t)};i?to(e,"insert",f):f()}l.length&&to(e,"postpatch",(function(){for(var n=0;n<l.length;n++)Ws(l[n],"componentUpdated",e,t)}));if(!i)for(n in a)c[n]||Ws(a[n],"unbind",t,t,s)}(t,e)}var Hs=Object.create(null);function zs(t,e){var n,r,o=Object.create(null);if(!t)return o;for(n=0;n<t.length;n++){if((r=t[n]).modifiers||(r.modifiers=Hs),o[Xs(r)]=r,e._setupState&&e._setupState.__sfc){var i=r.def||qi(e,"_setupState","v-"+r.name);r.def="function"==typeof i?{bind:i,update:i}:i}r.def=r.def||qi(e.$options,"directives",r.name)}return o}function Xs(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function Ws(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(r){Uo(r,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Js=[js,Vs];function Ks(t,e){var n=e.componentOptions;if(!(ln(n)&&!1===n.Ctor.options.inheritAttrs||un(t.data.attrs)&&un(e.data.attrs))){var r,o,i=e.elm,s=t.data.attrs||{},a=e.data.attrs||{};for(r in(ln(a.__ob__)||fn(a._v_attr_proxy))&&(a=e.data.attrs=jn({},a)),a)o=a[r],s[r]!==o&&Ys(i,r,o,e.data.pre);for(r in(nr||or)&&a.value!==s.value&&Ys(i,"value",a.value),s)un(a[r])&&(Es(r)?i.removeAttributeNS(ws,Os(r)):gs(r)||i.removeAttribute(r))}}function Ys(t,e,n,r){r||t.tagName.indexOf("-")>-1?Zs(t,e,n):_s(e)?As(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):gs(e)?t.setAttribute(e,bs(e,n)):Es(e)?As(n)?t.removeAttributeNS(ws,Os(e)):t.setAttributeNS(ws,e,n):Zs(t,e,n)}function Zs(t,e,n){if(As(n))t.removeAttribute(e);else{if(nr&&!rr&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Qs={create:Ks,update:Ks};function ta(t,e){var n=e.elm,r=e.data,o=t.data;if(!(un(r.staticClass)&&un(r.class)&&(un(o)||un(o.staticClass)&&un(o.class)))){var i=Ss(e),s=n._transitionClasses;ln(s)&&(i=Cs(i,Is(s))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var ea,na={create:ta,update:ta},ra="__r",oa="__c";function ia(t,e,n){var r=ea;return function o(){null!==e.apply(null,arguments)&&ca(t,o,n,r)}}var sa=Vo&&!(ar&&Number(ar[1])<=53);function aa(t,e,n,r){if(sa){var o=wi,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}ea.addEventListener(t,e,ur?{capture:n,passive:r}:n)}function ca(t,e,n,r){(r||ea).removeEventListener(t,e._wrapper||e,n)}function ua(t,e){if(!un(t.data.on)||!un(e.data.on)){var n=e.data.on||{},r=t.data.on||{};ea=e.elm||t.elm,function(t){if(ln(t[ra])){var e=nr?"change":"input";t[e]=[].concat(t[ra],t[e]||[]),delete t[ra]}ln(t[oa])&&(t.change=[].concat(t[oa],t.change||[]),delete t[oa])}(n),Qr(n,r,aa,ca,ia,e.context),ea=void 0}}var la,fa={create:ua,update:ua,destroy:function(t){return ua(t,Ds)}};function pa(t,e){if(!un(t.data.domProps)||!un(e.data.domProps)){var n,r,o=e.elm,i=t.data.domProps||{},s=e.data.domProps||{};for(n in(ln(s.__ob__)||fn(s._v_attr_proxy))&&(s=e.data.domProps=jn({},s)),i)n in s||(o[n]="");for(n in s){if(r=s[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===i[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var a=un(r)?"":String(r);da(o,a)&&(o.value=a)}else if("innerHTML"===n&&xs(o.tagName)&&un(o.innerHTML)){(la=la||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var c=la.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;c.firstChild;)o.appendChild(c.firstChild)}else if(r!==i[n])try{o[n]=r}catch(t){}}}}function da(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(ln(r)){if(r.number)return En(n)!==En(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var ha={create:pa,update:pa},va=In((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function ma(t){var e=ga(t.style);return t.staticStyle?jn(t.staticStyle,e):e}function ga(t){return Array.isArray(t)?Bn(t):"string"==typeof t?va(t):t}var ya,ba=/^--/,_a=/\s*!important$/,wa=function(t,e,n){if(ba.test(e))t.style.setProperty(e,n);else if(_a.test(n))t.style.setProperty(Nn(e),n.replace(_a,""),"important");else{var r=Oa(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},Ea=["Webkit","Moz","ms"],Oa=In((function(t){if(ya=ya||document.createElement("div").style,"filter"!==(t=$n(t))&&t in ya)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Ea.length;n++){var r=Ea[n]+e;if(r in ya)return r}}));function Aa(t,e){var n=e.data,r=t.data;if(!(un(n.staticStyle)&&un(n.style)&&un(r.staticStyle)&&un(r.style))){var o,i,s=e.elm,a=r.staticStyle,c=r.normalizedStyle||r.style||{},u=a||c,l=ga(e.data.style)||{};e.data.normalizedStyle=ln(l.__ob__)?jn({},l):l;var f=function(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=ma(o.data))&&jn(r,n);(n=ma(t.data))&&jn(r,n);for(var i=t;i=i.parent;)i.data&&(n=ma(i.data))&&jn(r,n);return r}(e,!0);for(i in u)un(f[i])&&wa(s,i,"");for(i in f)o=f[i],wa(s,i,null==o?"":o)}}var Sa={create:Aa,update:Aa},Ra=/\s+/;function Ca(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ra).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ia(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ra).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ta(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&jn(e,$a(t.name||"v")),jn(e,t),e}return"string"==typeof t?$a(t):void 0}}var $a=In((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),xa=tr&&!rr,La="transition",Na="animation",ka="transition",Pa="transitionend",ja="animation",Ba="animationend";xa&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ka="WebkitTransition",Pa="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ja="WebkitAnimation",Ba="webkitAnimationEnd"));var Ua=tr?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Da(t){Ua((function(){Ua(t)}))}function Fa(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Ca(t,e))}function Ma(t,e){t._transitionClasses&&Sn(t._transitionClasses,e),Ia(t,e)}function Ga(t,e,n){var r=qa(t,e),o=r.type,i=r.timeout,s=r.propCount;if(!o)return n();var a=o===La?Pa:Ba,c=0,u=function(){t.removeEventListener(a,l),n()},l=function(e){e.target===t&&++c>=s&&u()};setTimeout((function(){c<s&&u()}),i+1),t.addEventListener(a,l)}var Va=/\b(transform|all)(,|$)/;function qa(t,e){var n,r=window.getComputedStyle(t),o=(r[ka+"Delay"]||"").split(", "),i=(r[ka+"Duration"]||"").split(", "),s=Ha(o,i),a=(r[ja+"Delay"]||"").split(", "),c=(r[ja+"Duration"]||"").split(", "),u=Ha(a,c),l=0,f=0;return e===La?s>0&&(n=La,l=s,f=i.length):e===Na?u>0&&(n=Na,l=u,f=c.length):f=(n=(l=Math.max(s,u))>0?s>u?La:Na:null)?n===La?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===La&&Va.test(r[ka+"Property"])}}function Ha(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return za(e)+za(t[n])})))}function za(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Xa(t,e){var n=t.elm;ln(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Ta(t.data.transition);if(!un(r)&&!ln(n._enterCb)&&1===n.nodeType){for(var o=r.css,i=r.type,s=r.enterClass,a=r.enterToClass,c=r.enterActiveClass,u=r.appearClass,l=r.appearToClass,f=r.appearActiveClass,p=r.beforeEnter,d=r.enter,h=r.afterEnter,v=r.enterCancelled,m=r.beforeAppear,g=r.appear,y=r.afterAppear,b=r.appearCancelled,_=r.duration,w=ui,E=ui.$vnode;E&&E.parent;)w=E.context,E=E.parent;var O=!w._isMounted||!t.isRootInsert;if(!O||g||""===g){var A=O&&u?u:s,S=O&&f?f:c,R=O&&l?l:a,C=O&&m||p,I=O&&dn(g)?g:d,T=O&&y||h,$=O&&b||v,x=En(hn(_)?_.enter:_);0;var L=!1!==o&&!rr,N=Ka(I),k=n._enterCb=Vn((function(){L&&(Ma(n,R),Ma(n,S)),k.cancelled?(L&&Ma(n,A),$&&$(n)):T&&T(n),n._enterCb=null}));t.data.show||to(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),I&&I(n,k)})),C&&C(n),L&&(Fa(n,A),Fa(n,S),Da((function(){Ma(n,A),k.cancelled||(Fa(n,R),N||(Ja(x)?setTimeout(k,x):Ga(n,i,k)))}))),t.data.show&&(e&&e(),I&&I(n,k)),L||N||k()}}}function Wa(t,e){var n=t.elm;ln(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Ta(t.data.transition);if(un(r)||1!==n.nodeType)return e();if(!ln(n._leaveCb)){var o=r.css,i=r.type,s=r.leaveClass,a=r.leaveToClass,c=r.leaveActiveClass,u=r.beforeLeave,l=r.leave,f=r.afterLeave,p=r.leaveCancelled,d=r.delayLeave,h=r.duration,v=!1!==o&&!rr,m=Ka(l),g=En(hn(h)?h.leave:h);0;var y=n._leaveCb=Vn((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),v&&(Ma(n,a),Ma(n,c)),y.cancelled?(v&&Ma(n,s),p&&p(n)):(e(),f&&f(n)),n._leaveCb=null}));d?d(b):b()}function b(){y.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),u&&u(n),v&&(Fa(n,s),Fa(n,c),Da((function(){Ma(n,s),y.cancelled||(Fa(n,a),m||(Ja(g)?setTimeout(y,g):Ga(n,i,y)))}))),l&&l(n,y),v||m||y())}}function Ja(t){return"number"==typeof t&&!isNaN(t)}function Ka(t){if(un(t))return!1;var e=t.fns;return ln(e)?Ka(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Ya(t,e){!0!==e.data.show&&Xa(e)}var Za=function(t){var e,n,r={},o=t.modules,i=t.nodeOps;for(e=0;e<Fs.length;++e)for(r[Fs[e]]=[],n=0;n<o.length;++n)ln(o[n][Fs[e]])&&r[Fs[e]].push(o[n][Fs[e]]);function s(t){var e=i.parentNode(t);ln(e)&&i.removeChild(e,t)}function a(t,e,n,o,s,a,f){if(ln(t.elm)&&ln(a)&&(t=a[f]=wr(t)),t.isRootInsert=!s,!function(t,e,n,o){var i=t.data;if(ln(i)){var s=ln(t.componentInstance)&&i.keepAlive;if(ln(i=i.hook)&&ln(i=i.init)&&i(t,!1),ln(t.componentInstance))return c(t,e),u(n,t.elm,o),fn(s)&&function(t,e,n,o){var i,s=t;for(;s.componentInstance;)if(ln(i=(s=s.componentInstance._vnode).data)&&ln(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i](Ds,s);e.push(s);break}u(n,t.elm,o)}(t,e,n,o),!0}}(t,e,n,o)){var h=t.data,v=t.children,m=t.tag;ln(m)?(t.elm=t.ns?i.createElementNS(t.ns,m):i.createElement(m,t),d(t),l(t,v,e),ln(h)&&p(t,e),u(n,t.elm,o)):fn(t.isComment)?(t.elm=i.createComment(t.text),u(n,t.elm,o)):(t.elm=i.createTextNode(t.text),u(n,t.elm,o))}}function c(t,e){ln(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,f(t)?(p(t,e),d(t)):(Bs(t),e.push(t))}function u(t,e,n){ln(t)&&(ln(n)?i.parentNode(n)===t&&i.insertBefore(t,e,n):i.appendChild(t,e))}function l(t,e,n){if(cn(e)){0;for(var r=0;r<e.length;++r)a(e[r],n,t.elm,null,!0,e,r)}else pn(t.text)&&i.appendChild(t.elm,i.createTextNode(String(t.text)))}function f(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return ln(t.tag)}function p(t,n){for(var o=0;o<r.create.length;++o)r.create[o](Ds,t);ln(e=t.data.hook)&&(ln(e.create)&&e.create(Ds,t),ln(e.insert)&&n.push(t))}function d(t){var e;if(ln(e=t.fnScopeId))i.setStyleScope(t.elm,e);else for(var n=t;n;)ln(e=n.context)&&ln(e=e.$options._scopeId)&&i.setStyleScope(t.elm,e),n=n.parent;ln(e=ui)&&e!==t.context&&e!==t.fnContext&&ln(e=e.$options._scopeId)&&i.setStyleScope(t.elm,e)}function h(t,e,n,r,o,i){for(;r<=o;++r)a(n[r],i,t,e,!1,n,r)}function v(t){var e,n,o=t.data;if(ln(o))for(ln(e=o.hook)&&ln(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(ln(e=t.children))for(n=0;n<t.children.length;++n)v(t.children[n])}function m(t,e,n){for(;e<=n;++e){var r=t[e];ln(r)&&(ln(r.tag)?(g(r),v(r)):s(r.elm))}}function g(t,e){if(ln(e)||ln(t.data)){var n,o=r.remove.length+1;for(ln(e)?e.listeners+=o:e=function(t,e){function n(){0==--n.listeners&&s(t)}return n.listeners=e,n}(t.elm,o),ln(n=t.componentInstance)&&ln(n=n._vnode)&&ln(n.data)&&g(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);ln(n=t.data.hook)&&ln(n=n.remove)?n(t,e):e()}else s(t.elm)}function y(t,e,n,r){for(var o=n;o<r;o++){var i=e[o];if(ln(i)&&Ms(t,i))return o}}function b(t,e,n,o,s,c){if(t!==e){ln(e.elm)&&ln(o)&&(e=o[s]=wr(e));var u=e.elm=t.elm;if(fn(t.isAsyncPlaceholder))ln(e.asyncFactory.resolved)?E(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(fn(e.isStatic)&&fn(t.isStatic)&&e.key===t.key&&(fn(e.isCloned)||fn(e.isOnce)))e.componentInstance=t.componentInstance;else{var l,p=e.data;ln(p)&&ln(l=p.hook)&&ln(l=l.prepatch)&&l(t,e);var d=t.children,v=e.children;if(ln(p)&&f(e)){for(l=0;l<r.update.length;++l)r.update[l](t,e);ln(l=p.hook)&&ln(l=l.update)&&l(t,e)}un(e.text)?ln(d)&&ln(v)?d!==v&&function(t,e,n,r,o){var s,c,u,l=0,f=0,p=e.length-1,d=e[0],v=e[p],g=n.length-1,_=n[0],w=n[g],E=!o;for(;l<=p&&f<=g;)un(d)?d=e[++l]:un(v)?v=e[--p]:Ms(d,_)?(b(d,_,r,n,f),d=e[++l],_=n[++f]):Ms(v,w)?(b(v,w,r,n,g),v=e[--p],w=n[--g]):Ms(d,w)?(b(d,w,r,n,g),E&&i.insertBefore(t,d.elm,i.nextSibling(v.elm)),d=e[++l],w=n[--g]):Ms(v,_)?(b(v,_,r,n,f),E&&i.insertBefore(t,v.elm,d.elm),v=e[--p],_=n[++f]):(un(s)&&(s=Gs(e,l,p)),un(c=ln(_.key)?s[_.key]:y(_,e,l,p))?a(_,r,t,d.elm,!1,n,f):Ms(u=e[c],_)?(b(u,_,r,n,f),e[c]=void 0,E&&i.insertBefore(t,u.elm,d.elm)):a(_,r,t,d.elm,!1,n,f),_=n[++f]);l>p?h(t,un(n[g+1])?null:n[g+1].elm,n,f,g,r):f>g&&m(e,l,p)}(u,d,v,n,c):ln(v)?(ln(t.text)&&i.setTextContent(u,""),h(u,null,v,0,v.length-1,n)):ln(d)?m(d,0,d.length-1):ln(t.text)&&i.setTextContent(u,""):t.text!==e.text&&i.setTextContent(u,e.text),ln(p)&&ln(l=p.hook)&&ln(l=l.postpatch)&&l(t,e)}}}function _(t,e,n){if(fn(n)&&ln(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var w=On("attrs,class,staticClass,staticStyle,key");function E(t,e,n,r){var o,i=e.tag,s=e.data,a=e.children;if(r=r||s&&s.pre,e.elm=t,fn(e.isComment)&&ln(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(ln(s)&&(ln(o=s.hook)&&ln(o=o.init)&&o(e,!0),ln(o=e.componentInstance)))return c(e,n),!0;if(ln(i)){if(ln(a))if(t.hasChildNodes())if(ln(o=s)&&ln(o=o.domProps)&&ln(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var u=!0,f=t.firstChild,d=0;d<a.length;d++){if(!f||!E(f,a[d],n,r)){u=!1;break}f=f.nextSibling}if(!u||f)return!1}else l(e,a,n);if(ln(s)){var h=!1;for(var v in s)if(!w(v)){h=!0,p(e,n);break}!h&&s.class&&ti(s.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,o){if(!un(e)){var s,c=!1,u=[];if(un(t))c=!0,a(e,u);else{var l=ln(t.nodeType);if(!l&&Ms(t,e))b(t,e,u,null,null,o);else{if(l){if(1===t.nodeType&&t.hasAttribute(Hn)&&(t.removeAttribute(Hn),n=!0),fn(n)&&E(t,e,u))return _(e,u,!0),t;s=t,t=new yr(i.tagName(s).toLowerCase(),{},[],void 0,s)}var p=t.elm,d=i.parentNode(p);if(a(e,u,p._leaveCb?null:d,i.nextSibling(p)),ln(e.parent))for(var h=e.parent,g=f(e);h;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](h);if(h.elm=e.elm,g){for(var w=0;w<r.create.length;++w)r.create[w](Ds,h);var O=h.data.hook.insert;if(O.merged)for(var A=O.fns.slice(1),S=0;S<A.length;S++)A[S]()}else Bs(h);h=h.parent}ln(d)?m([t],0,0):ln(t.tag)&&v(t)}}return _(e,u,c),e.elm}ln(t)&&v(t)}}({nodeOps:Ps,modules:[Qs,na,fa,ha,Sa,tr?{create:Ya,activate:Ya,remove:function(t,e){!0!==t.data.show?Wa(t,e):e()}}:{}].concat(Js)});rr&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&sc(t,"input")}));var Qa={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?to(n,"postpatch",(function(){Qa.componentUpdated(t,e,n)})):tc(t,e,n.context),t._vOptions=[].map.call(t.options,rc)):("textarea"===n.tag||ks(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",oc),t.addEventListener("compositionend",ic),t.addEventListener("change",ic),rr&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){tc(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,rc);if(o.some((function(t,e){return!Mn(t,r[e])})))(t.multiple?e.value.some((function(t){return nc(t,o)})):e.value!==e.oldValue&&nc(e.value,o))&&sc(t,"change")}}};function tc(t,e,n){ec(t,e,n),(nr||or)&&setTimeout((function(){ec(t,e,n)}),0)}function ec(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,s,a=0,c=t.options.length;a<c;a++)if(s=t.options[a],o)i=Gn(r,rc(s))>-1,s.selected!==i&&(s.selected=i);else if(Mn(rc(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));o||(t.selectedIndex=-1)}}function nc(t,e){return e.every((function(e){return!Mn(e,t)}))}function rc(t){return"_value"in t?t._value:t.value}function oc(t){t.target.composing=!0}function ic(t){t.target.composing&&(t.target.composing=!1,sc(t.target,"input"))}function sc(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ac(t){return!t.componentInstance||t.data&&t.data.transition?t:ac(t.componentInstance._vnode)}var cc={bind:function(t,e,n){var r=e.value,o=(n=ac(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Xa(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=ac(n)).data&&n.data.transition?(n.data.show=!0,r?Xa(n,(function(){t.style.display=t.__vOriginalDisplay})):Wa(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},uc={model:Qa,show:cc},lc={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function fc(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?fc(No(e.children)):t}function pc(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[$n(r)]=o[r];return e}function dc(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var hc=function(t){return t.tag||Oo(t)},vc=function(t){return"show"===t.name},mc={name:"transition",props:lc,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(hc)).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=fc(o);if(!i)return o;if(this._leaving)return dc(t,o);var s="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?s+"comment":s+i.tag:pn(i.key)?0===String(i.key).indexOf(s)?i.key:s+i.key:i.key;var a=(i.data||(i.data={})).transition=pc(this),c=this._vnode,u=fc(c);if(i.data.directives&&i.data.directives.some(vc)&&(i.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,u)&&!Oo(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var l=u.data.transition=jn({},a);if("out-in"===r)return this._leaving=!0,to(l,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),dc(t,o);if("in-out"===r){if(Oo(i))return c;var f,p=function(){f()};to(a,"afterEnter",p),to(a,"enterCancelled",p),to(l,"delayLeave",(function(t){f=t}))}}return o}}},gc=jn({tag:String,moveClass:String},lc);delete gc.mode;var yc={props:gc,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=li(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],s=pc(this),a=0;a<o.length;a++){if((l=o[a]).tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))i.push(l),n[l.key]=l,(l.data||(l.data={})).transition=s;else;}if(r){var c=[],u=[];for(a=0;a<r.length;a++){var l;(l=r[a]).data.transition=s,l.data.pos=l.elm.getBoundingClientRect(),n[l.key]?c.push(l):u.push(l)}this.kept=t(e,null,c),this.removed=u}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(bc),t.forEach(_c),t.forEach(wc),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;Fa(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Pa,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Pa,t),n._moveCb=null,Ma(n,e))})}})))},methods:{hasMove:function(t,e){if(!xa)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Ia(n,t)})),Ca(n,e),n.style.display="none",this.$el.appendChild(n);var r=qa(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function bc(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function _c(t){t.data.newPos=t.elm.getBoundingClientRect()}function wc(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),i.transitionDuration="0s"}}var Ec={Transition:mc,TransitionGroup:yc};ss.config.mustUseProp=function(t,e,n){return"value"===n&&ms(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},ss.config.isReservedTag=Ls,ss.config.isReservedAttr=vs,ss.config.getTagNamespace=function(t){return xs(t)?"svg":"math"===t?"math":void 0},ss.config.isUnknownElement=function(t){if(!tr)return!0;if(Ls(t))return!1;if(t=t.toLowerCase(),null!=Ns[t])return Ns[t];var e=document.createElement(t);return t.indexOf("-")>-1?Ns[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ns[t]=/HTMLUnknownElement/.test(e.toString())},jn(ss.options.directives,uc),jn(ss.options.components,Ec),ss.prototype.__patch__=tr?Za:Un,ss.prototype.$mount=function(t,e){return function(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=br),hi(t,"beforeMount"),r=function(){t._update(t._render(),n)},new oi(t,r,Un,{before:function(){t._isMounted&&!t._isDestroyed&&hi(t,"beforeUpdate")}},!0),n=!1;var o=t._preWatchers;if(o)for(var i=0;i<o.length;i++)o[i].run();return null==t.$vnode&&(t._isMounted=!0,hi(t,"mounted")),t}(this,t=t&&tr?function(t){if("string"==typeof t){return document.querySelector(t)||document.createElement("div")}return t}(t):void 0,e)},tr&&setTimeout((function(){Wn.devtools&&pr&&pr.emit("init",ss)}),0);const Oc=Object.freeze({POLLING:0,VERIFYING:1,REJECTED:2}),Ac={name:"Challenge",data:()=>({state:Oc.POLLING,State:Oc})};var Sc=r(72),Rc=r.n(Sc),Cc=r(825),Ic=r.n(Cc),Tc=r(659),$c=r.n(Tc),xc=r(56),Lc=r.n(xc),Nc=r(540),kc=r.n(Nc),Pc=r(113),jc=r.n(Pc),Bc=r(806),Uc={};Uc.styleTagTransform=jc(),Uc.setAttributes=Lc(),Uc.insert=$c().bind(null,"head"),Uc.domAPI=Ic(),Uc.insertStyleElement=kc();Rc()(Bc.A,Uc);Bc.A&&Bc.A.locals&&Bc.A.locals;var Dc=function(t,e,n,r,o,i,s,a){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):o&&(c=a?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}(Ac,(function(){var t=this,e=t._self._c;return t.state===t.State.POLLING?e("p",[t._v("\n\t"+t._s(t.t("twofactor_nextcloud_notification","Please accept the request on one of your logged in devices."))+"\n\t"+t._s(t.t("twofactor_nextcloud_notification","You will be redirected automatically once this login has been accepted."))+"\n")]):t.state===t.State.VERIFYING?e("p",[e("span",{staticClass:"icon-loading-small"}),t._v("\n\t"+t._s(t.t("twofactor_nextcloud_notification","Please wait …"))+"\n")]):t.state===t.State.REJECTED?e("p",[e("span",{staticClass:"icon-loading-small"}),t._v("\n\t"+t._s(t.t("twofactor_nextcloud_notification","Your login attempt was rejected."))+"\n")]):t._e()}),[],!1,null,"3158e587",null);const Fc=Dc.exports,Mc={methods:{t}},Gc=(t,e,n)=>{t().then(e).catch((r=>{console.error("promise rejected:",r),setTimeout((()=>{console.error("retrying …"),Gc(t,e,n)}),n)}))};var Vc=("undefined"!=typeof window?window:void 0!==r.g?r.g:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function qc(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,r=(n=function(e){return e.original===t},e.filter(n)[0]);if(r)return r.copy;var o=Array.isArray(t)?[]:{};return e.push({original:t,copy:o}),Object.keys(t).forEach((function(n){o[n]=qc(t[n],e)})),o}function Hc(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function zc(t){return null!==t&&"object"==typeof t}var Xc=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},Wc={namespaced:{configurable:!0}};Wc.namespaced.get=function(){return!!this._rawModule.namespaced},Xc.prototype.addChild=function(t,e){this._children[t]=e},Xc.prototype.removeChild=function(t){delete this._children[t]},Xc.prototype.getChild=function(t){return this._children[t]},Xc.prototype.hasChild=function(t){return t in this._children},Xc.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},Xc.prototype.forEachChild=function(t){Hc(this._children,t)},Xc.prototype.forEachGetter=function(t){this._rawModule.getters&&Hc(this._rawModule.getters,t)},Xc.prototype.forEachAction=function(t){this._rawModule.actions&&Hc(this._rawModule.actions,t)},Xc.prototype.forEachMutation=function(t){this._rawModule.mutations&&Hc(this._rawModule.mutations,t)},Object.defineProperties(Xc.prototype,Wc);var Jc=function(t){this.register([],t,!1)};function Kc(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;Kc(t.concat(r),e.getChild(r),n.modules[r])}}Jc.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},Jc.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},Jc.prototype.update=function(t){Kc([],this.root,t)},Jc.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new Xc(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&Hc(e.modules,(function(e,o){r.register(t.concat(o),e,n)}))},Jc.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},Jc.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var Yc;var Zc=function(t){var e=this;void 0===t&&(t={}),!Yc&&"undefined"!=typeof window&&window.Vue&&su(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Jc(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Yc,this._makeLocalGettersCache=Object.create(null);var o=this,i=this.dispatch,s=this.commit;this.dispatch=function(t,e){return i.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=r;var a=this._modules.root.state;ru(this,a,[],this._modules.root),nu(this,a),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:Yc.config.devtools)&&function(t){Vc&&(t._devtoolHook=Vc,Vc.emit("vuex:init",t),Vc.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){Vc.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){Vc.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},Qc={state:{configurable:!0}};function tu(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function eu(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;ru(t,n,[],t._modules.root,!0),nu(t,n,e)}function nu(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,i={};Hc(o,(function(e,n){i[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=Yc.config.silent;Yc.config.silent=!0,t._vm=new Yc({data:{$$state:e},computed:i}),Yc.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),Yc.nextTick((function(){return r.$destroy()})))}function ru(t,e,n,r,o){var i=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!i&&!o){var a=ou(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){Yc.set(a,c,r.state)}))}var u=r.context=function(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=iu(n,r,o),s=i.payload,a=i.options,c=i.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:r?t.commit:function(n,r,o){var i=iu(n,r,o),s=i.payload,a=i.options,c=i.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return ou(t.state,n)}}}),o}(t,s,n);r.forEachMutation((function(e,n){!function(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push((function(e){n.call(t,r.state,e)}))}(t,s+n,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,o=e.handler||e;!function(t,e,n,r){var o=t._actions[e]||(t._actions[e]=[]);o.push((function(e){var o,i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(o=i)&&"function"==typeof o.then||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}(t,r,o,u)})),r.forEachGetter((function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,s+n,e,u)})),r.forEachChild((function(r,i){ru(t,e,n.concat(i),r,o)}))}function ou(t,e){return e.reduce((function(t,e){return t[e]}),t)}function iu(t,e,n){return zc(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function su(t){Yc&&t===Yc||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(Yc=t)}Qc.state.get=function(){return this._vm._data.$$state},Qc.state.set=function(t){0},Zc.prototype.commit=function(t,e,n){var r=this,o=iu(t,e,n),i=o.type,s=o.payload,a=(o.options,{type:i,payload:s}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},Zc.prototype.dispatch=function(t,e){var n=this,r=iu(t,e),o=r.type,i=r.payload,s={type:o,payload:i},a=this._actions[o];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){0}var c=a.length>1?Promise.all(a.map((function(t){return t(i)}))):a[0](i);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){0}e(t)}))}))}},Zc.prototype.subscribe=function(t,e){return tu(t,this._subscribers,e)},Zc.prototype.subscribeAction=function(t,e){return tu("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},Zc.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},Zc.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},Zc.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),ru(this,this.state,t,this._modules.get(t),n.preserveState),nu(this,this.state)},Zc.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=ou(e.state,t.slice(0,-1));Yc.delete(n,t[t.length-1])})),eu(this)},Zc.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},Zc.prototype.hotUpdate=function(t){this._modules.update(t),eu(this,!0)},Zc.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(Zc.prototype,Qc);var au=pu((function(t,e){var n={};return fu(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=du(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0})),n})),cu=pu((function(t,e){var n={};return fu(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=du(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),uu=pu((function(t,e){var n={};return fu(e).forEach((function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||du(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0})),n})),lu=pu((function(t,e){var n={};return fu(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=du(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n}));function fu(t){return function(t){return Array.isArray(t)||zc(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function pu(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function du(t,e,n){return t._modulesNamespaceMap[n]}function hu(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(n){t.log(e)}}function vu(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function mu(){var t=new Date;return" @ "+gu(t.getHours(),2)+":"+gu(t.getMinutes(),2)+":"+gu(t.getSeconds(),2)+"."+gu(t.getMilliseconds(),3)}function gu(t,e){return n="0",r=e-t.toString().length,new Array(r+1).join(n)+t;var n,r}var yu={Store:Zc,install:su,version:"3.6.2",mapState:au,mapMutations:cu,mapGetters:uu,mapActions:lu,createNamespacedHelpers:function(t){return{mapState:au.bind(null,t),mapGetters:uu.bind(null,t),mapMutations:cu.bind(null,t),mapActions:lu.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var i=t.actionFilter;void 0===i&&(i=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var a=t.logMutations;void 0===a&&(a=!0);var c=t.logActions;void 0===c&&(c=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var l=qc(t.state);void 0!==u&&(a&&t.subscribe((function(t,i){var s=qc(i);if(n(t,l,s)){var a=mu(),c=o(t),f="mutation "+t.type+a;hu(u,f,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",r(l)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),vu(u)}l=s})),c&&t.subscribeAction((function(t,n){if(i(t,n)){var r=mu(),o=s(t),a="action "+t.type+r;hu(u,a,e),u.log("%c action","color: #03A9F4; font-weight: bold",o),vu(u)}})))}}};const bu=yu;function _u(t){const e=Qe("/apps/twofactor_nextcloud_notification/settings/state"),n={state:t};return rn.post(e,n).then((t=>t.data))}ss.use(bu);const wu={setEnabled(t,e){t.enabled=e}},Eu={enable(t){let{commit:e}=t;return _u(!0).then((t=>{let{enabled:n}=t;return e("setEnabled",n),n}))},disable(t){let{commit:e}=t;return _u(!1).then((t=>{let{enabled:n}=t;return e("setEnabled",n),n}))}},Ou=new bu.Store({strict:!1,state:{enabled:!1},mutations:wu,actions:Eu});ss.mixin(Mc);const Au=new(ss.extend(Fc))({store:Ou}).$mount("#twofactor-notification-challenge"),Su=document.getElementById("challenge-poll-token").value;console.debug("starting challenge polling",Su);const Ru=((t,e,n)=>{const r=1===Object.assign({ocsVersion:2},n||{}).ocsVersion?1:2;return(n?.baseURL??tn())+"/ocs/v"+r+".php"+Ze(t,e,n)})("apps/twofactor_nextcloud_notification/api/v1/poll/{token}",{token:Su});var Cu,Iu;(Cu=(t=>()=>rn.get(t,{}).then((t=>t.data)).then((t=>{let{ocs:e}=t;return"pending"===e.data.status?Promise.reject(e.data.status):e})))(Ru),Iu=800,new Promise((t=>{Gc(Cu,t,Iu)}))).then((t=>{console.debug("polling finished",t),"accepted"===t.data.status?(Au.state=1,document.getElementById("twofactor-form").submit()):(Au.state=2,location.href=document.getElementsByClassName("two-factor-secondary")[0].href)})).catch((t=>{console.error("polling failed",t)}))})()})();
//# sourceMappingURL=twofactor_nextcloud_notification-challenge.js.map?v=77f399afb111ad71f444