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

twofactor_totp-main-login-setup.js « js - github.com/nextcloud/twofactor_totp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 404777be262d9aaec9f17e0a156983714069504a (plain)
1
2
3
/*! For license information please see twofactor_totp-main-login-setup.js.LICENSE.txt */
(()=>{var e={147:function(t,e,r){var n=r(5108);t.exports=function(){"use strict";function t(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=e((function(e,r){var o;o=function(){return function(){function e(r,n,o){function i(s,u){if(!n[s]){if(!r[s]){var c="function"==typeof t&&t;if(!u&&c)return c(s,!0);if(a)return a(s,!0);var f=new Error("Cannot find module '"+s+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[s]={exports:{}};r[s][0].call(l.exports,(function(t){return i(r[s][1][t]||t)}),l,l.exports,e,r,n,o)}return n[s].exports}for(var a="function"==typeof t&&t,s=0;s<o.length;s++)i(o[s]);return i}return e}()({1:[function(t,e,r){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},{}],2:[function(t,e,r){var n=t("./utils").getSymbolSize;r.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,r=n(t),o=145===r?26:2*Math.ceil((r-13)/(2*e-2)),i=[r-7],a=1;a<e-1;a++)i[a]=i[a-1]-o;return i.push(6),i.reverse()},r.getPositions=function(t){for(var e=[],n=r.getRowColCoords(t),o=n.length,i=0;i<o;i++)for(var a=0;a<o;a++)0===i&&0===a||0===i&&a===o-1||i===o-1&&0===a||e.push([n[i],n[a]]);return e}},{"./utils":21}],3:[function(t,e,r){var n=t("./mode"),o=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function i(t){this.mode=n.ALPHANUMERIC,this.data=t}i.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var r=45*o.indexOf(this.data[e]);r+=o.indexOf(this.data[e+1]),t.put(r,11)}this.data.length%2&&t.put(o.indexOf(this.data[e]),6)},e.exports=i},{"./mode":14}],4:[function(t,e,r){function n(){this.buffer=[],this.length=0}n.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var r=0;r<e;r++)this.putBit(1==(t>>>e-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},e.exports=n},{}],5:[function(t,e,r){var n=t("../utils/buffer");function o(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=n.alloc(t*t),this.reservedBit=n.alloc(t*t)}o.prototype.set=function(t,e,r,n){var o=t*this.size+e;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(t,e){return this.data[t*this.size+e]},o.prototype.xor=function(t,e,r){this.data[t*this.size+e]^=r},o.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},e.exports=o},{"../utils/buffer":28}],6:[function(t,e,r){var n=t("../utils/buffer"),o=t("./mode");function i(t){this.mode=o.BYTE,this.data=n.from(t)}i.getBitsLength=function(t){return 8*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){for(var e=0,r=this.data.length;e<r;e++)t.put(this.data[e],8)},e.exports=i},{"../utils/buffer":28,"./mode":14}],7:[function(t,e,r){var n=t("./error-correction-level"),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];r.getBlocksCount=function(t,e){switch(e){case n.L:return o[4*(t-1)+0];case n.M:return o[4*(t-1)+1];case n.Q:return o[4*(t-1)+2];case n.H:return o[4*(t-1)+3];default:return}},r.getTotalCodewordsCount=function(t,e){switch(e){case n.L:return i[4*(t-1)+0];case n.M:return i[4*(t-1)+1];case n.Q:return i[4*(t-1)+2];case n.H:return i[4*(t-1)+3];default:return}}},{"./error-correction-level":8}],8:[function(t,e,r){function n(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+t)}}r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2},r.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},r.from=function(t,e){if(r.isValid(t))return t;try{return n(t)}catch(t){return e}}},{}],9:[function(t,e,r){var n=t("./utils").getSymbolSize,o=7;r.getPositions=function(t){var e=n(t);return[[0,0],[e-o,0],[0,e-o]]}},{"./utils":21}],10:[function(t,e,r){var n=t("./utils"),o=1335,i=21522,a=n.getBCHDigit(o);r.getEncodedBits=function(t,e){for(var r=t.bit<<3|e,s=r<<10;n.getBCHDigit(s)-a>=0;)s^=o<<n.getBCHDigit(s)-a;return(r<<10|s)^i}},{"./utils":21}],11:[function(t,e,r){var n=t("../utils/buffer"),o=n.alloc(512),i=n.alloc(256);!function(){for(var t=1,e=0;e<255;e++)o[e]=t,i[t]=e,256&(t<<=1)&&(t^=285);for(e=255;e<512;e++)o[e]=o[e-255]}(),r.log=function(t){if(t<1)throw new Error("log("+t+")");return i[t]},r.exp=function(t){return o[t]},r.mul=function(t,e){return 0===t||0===e?0:o[i[t]+i[e]]}},{"../utils/buffer":28}],12:[function(t,e,r){var n=t("./mode"),o=t("./utils");function i(t){this.mode=n.KANJI,this.data=t}i.getBitsLength=function(t){return 13*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e;for(e=0;e<this.data.length;e++){var r=o.toSJIS(this.data[e]);if(r>=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),t.put(r,13)}},e.exports=i},{"./mode":14,"./utils":21}],13:[function(t,e,r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var n={N1:3,N2:3,N3:40,N4:10};function o(t,e,n){switch(t){case r.Patterns.PATTERN000:return(e+n)%2==0;case r.Patterns.PATTERN001:return e%2==0;case r.Patterns.PATTERN010:return n%3==0;case r.Patterns.PATTERN011:return(e+n)%3==0;case r.Patterns.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case r.Patterns.PATTERN101:return e*n%2+e*n%3==0;case r.Patterns.PATTERN110:return(e*n%2+e*n%3)%2==0;case r.Patterns.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}r.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},r.from=function(t){return r.isValid(t)?parseInt(t,10):void 0},r.getPenaltyN1=function(t){for(var e=t.size,r=0,o=0,i=0,a=null,s=null,u=0;u<e;u++){o=i=0,a=s=null;for(var c=0;c<e;c++){var f=t.get(u,c);f===a?o++:(o>=5&&(r+=n.N1+(o-5)),a=f,o=1),(f=t.get(c,u))===s?i++:(i>=5&&(r+=n.N1+(i-5)),s=f,i=1)}o>=5&&(r+=n.N1+(o-5)),i>=5&&(r+=n.N1+(i-5))}return r},r.getPenaltyN2=function(t){for(var e=t.size,r=0,o=0;o<e-1;o++)for(var i=0;i<e-1;i++){var a=t.get(o,i)+t.get(o,i+1)+t.get(o+1,i)+t.get(o+1,i+1);4!==a&&0!==a||r++}return r*n.N2},r.getPenaltyN3=function(t){for(var e=t.size,r=0,o=0,i=0,a=0;a<e;a++){o=i=0;for(var s=0;s<e;s++)o=o<<1&2047|t.get(a,s),s>=10&&(1488===o||93===o)&&r++,i=i<<1&2047|t.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*n.N3},r.getPenaltyN4=function(t){for(var e=0,r=t.data.length,o=0;o<r;o++)e+=t.data[o];return Math.abs(Math.ceil(100*e/r/5)-10)*n.N4},r.applyMask=function(t,e){for(var r=e.size,n=0;n<r;n++)for(var i=0;i<r;i++)e.isReserved(i,n)||e.xor(i,n,o(t,i,n))},r.getBestMask=function(t,e){for(var n=Object.keys(r.Patterns).length,o=0,i=1/0,a=0;a<n;a++){e(a),r.applyMask(a,t);var s=r.getPenaltyN1(t)+r.getPenaltyN2(t)+r.getPenaltyN3(t)+r.getPenaltyN4(t);r.applyMask(a,t),s<i&&(i=s,o=a)}return o}},{}],14:[function(t,e,r){var n=t("./version-check"),o=t("./regex");function i(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+t)}}r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!n.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},r.getBestModeForData=function(t){return o.testNumeric(t)?r.NUMERIC:o.testAlphanumeric(t)?r.ALPHANUMERIC:o.testKanji(t)?r.KANJI:r.BYTE},r.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},r.isValid=function(t){return t&&t.bit&&t.ccBits},r.from=function(t,e){if(r.isValid(t))return t;try{return i(t)}catch(t){return e}}},{"./regex":19,"./version-check":22}],15:[function(t,e,r){var n=t("./mode");function o(t){this.mode=n.NUMERIC,this.data=t.toString()}o.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){var e,r,n;for(e=0;e+3<=this.data.length;e+=3)r=this.data.substr(e,3),n=parseInt(r,10),t.put(n,10);var o=this.data.length-e;o>0&&(r=this.data.substr(e),n=parseInt(r,10),t.put(n,3*o+1))},e.exports=o},{"./mode":14}],16:[function(t,e,r){var n=t("../utils/buffer"),o=t("./galois-field");r.mul=function(t,e){for(var r=n.alloc(t.length+e.length-1),i=0;i<t.length;i++)for(var a=0;a<e.length;a++)r[i+a]^=o.mul(t[i],e[a]);return r},r.mod=function(t,e){for(var r=n.from(t);r.length-e.length>=0;){for(var i=r[0],a=0;a<e.length;a++)r[a]^=o.mul(e[a],i);for(var s=0;s<r.length&&0===r[s];)s++;r=r.slice(s)}return r},r.generateECPolynomial=function(t){for(var e=n.from([1]),i=0;i<t;i++)e=r.mul(e,[1,o.exp(i)]);return e}},{"../utils/buffer":28,"./galois-field":11}],17:[function(t,e,r){var n=t("../utils/buffer"),o=t("./utils"),i=t("./error-correction-level"),a=t("./bit-buffer"),s=t("./bit-matrix"),u=t("./alignment-pattern"),c=t("./finder-pattern"),f=t("./mask-pattern"),l=t("./error-correction-code"),p=t("./reed-solomon-encoder"),h=t("./version"),d=t("./format-info"),y=t("./mode"),v=t("./segments"),g=t("isarray");function m(t,e){for(var r=t.size,n=c.getPositions(e),o=0;o<n.length;o++)for(var i=n[o][0],a=n[o][1],s=-1;s<=7;s++)if(!(i+s<=-1||r<=i+s))for(var u=-1;u<=7;u++)a+u<=-1||r<=a+u||(s>=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?t.set(i+s,a+u,!0,!0):t.set(i+s,a+u,!1,!0))}function b(t){for(var e=t.size,r=8;r<e-8;r++){var n=r%2==0;t.set(r,6,n,!0),t.set(6,r,n,!0)}}function E(t,e){for(var r=u.getPositions(e),n=0;n<r.length;n++)for(var o=r[n][0],i=r[n][1],a=-2;a<=2;a++)for(var s=-2;s<=2;s++)-2===a||2===a||-2===s||2===s||0===a&&0===s?t.set(o+a,i+s,!0,!0):t.set(o+a,i+s,!1,!0)}function w(t,e){for(var r,n,o,i=t.size,a=h.getEncodedBits(e),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),t.set(r,n,o,!0),t.set(n,r,o,!0)}function A(t,e,r){var n,o,i=t.size,a=d.getEncodedBits(e,r);for(n=0;n<15;n++)o=1==(a>>n&1),n<6?t.set(n,8,o,!0):n<8?t.set(n+1,8,o,!0):t.set(i-15+n,8,o,!0),n<8?t.set(8,i-n-1,o,!0):n<9?t.set(8,15-n-1+1,o,!0):t.set(8,15-n-1,o,!0);t.set(i-8,8,1,!0)}function O(t,e){for(var r=t.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!t.isReserved(o,s-u)){var c=!1;a<e.length&&(c=1==(e[a]>>>i&1)),t.set(o,s-u,c),-1==--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}function S(t,e,r){var n=new a;r.forEach((function(e){n.put(e.mode.bit,4),n.put(e.getLength(),y.getCharCountIndicator(e.mode,t)),e.write(n)}));var i=8*(o.getSymbolTotalCodewords(t)-l.getTotalCodewordsCount(t,e));for(n.getLengthInBits()+4<=i&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(0);for(var s=(i-n.getLengthInBits())/8,u=0;u<s;u++)n.put(u%2?17:236,8);return x(n,t,e)}function x(t,e,r){for(var i=o.getSymbolTotalCodewords(e),a=i-l.getTotalCodewordsCount(e,r),s=l.getBlocksCount(e,r),u=s-i%s,c=Math.floor(i/s),f=Math.floor(a/s),h=f+1,d=c-f,y=new p(d),v=0,g=new Array(s),m=new Array(s),b=0,E=n.from(t.buffer),w=0;w<s;w++){var A=w<u?f:h;g[w]=E.slice(v,v+A),m[w]=y.encode(g[w]),v+=A,b=Math.max(b,A)}var O,S,x=n.alloc(i),_=0;for(O=0;O<b;O++)for(S=0;S<s;S++)O<g[S].length&&(x[_++]=g[S][O]);for(O=0;O<d;O++)for(S=0;S<s;S++)x[_++]=m[S][O];return x}function _(t,e,r,n){var i;if(g(t))i=v.fromArray(t);else{if("string"!=typeof t)throw new Error("Invalid data");var a=e;if(!a){var u=v.rawSplit(t);a=h.getBestVersionForData(u,r)}i=v.fromString(t,a||40)}var c=h.getBestVersionForData(i,r);if(!c)throw new Error("The amount of data is too big to be stored in a QR Code");if(e){if(e<c)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+c+".\n")}else e=c;var l=S(e,r,i),p=o.getSymbolSize(e),d=new s(p);return m(d,e),b(d),E(d,e),A(d,r,0),e>=7&&w(d,e),O(d,l),isNaN(n)&&(n=f.getBestMask(d,A.bind(null,d,r))),f.applyMask(n,d),A(d,r,n),{modules:d,version:e,errorCorrectionLevel:r,maskPattern:n,segments:i}}r.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");var r,n,a=i.M;return void 0!==e&&(a=i.from(e.errorCorrectionLevel,i.M),r=h.from(e.version),n=f.from(e.maskPattern),e.toSJISFunc&&o.setToSJISFunction(e.toSJISFunc)),_(t,r,a,n)}},{"../utils/buffer":28,"./alignment-pattern":2,"./bit-buffer":4,"./bit-matrix":5,"./error-correction-code":7,"./error-correction-level":8,"./finder-pattern":9,"./format-info":10,"./mask-pattern":13,"./mode":14,"./reed-solomon-encoder":18,"./segments":20,"./utils":21,"./version":23,isarray:33}],18:[function(t,e,r){var n=t("../utils/buffer"),o=t("./polynomial"),i=t("buffer").Buffer;function a(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}a.prototype.initialize=function(t){this.degree=t,this.genPoly=o.generateECPolynomial(this.degree)},a.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");var e=n.alloc(this.degree),r=i.concat([t,e],t.length+this.degree),a=o.mod(r,this.genPoly),s=this.degree-a.length;if(s>0){var u=n.alloc(this.degree);return a.copy(u,s),u}return a},e.exports=a},{"../utils/buffer":28,"./polynomial":16,buffer:30}],19:[function(t,e,r){var n="[0-9]+",o="[A-Z $%*+\\-./:]+",i="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",a="(?:(?![A-Z0-9 $%*+\\-./:]|"+(i=i.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";r.KANJI=new RegExp(i,"g"),r.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),r.BYTE=new RegExp(a,"g"),r.NUMERIC=new RegExp(n,"g"),r.ALPHANUMERIC=new RegExp(o,"g");var s=new RegExp("^"+i+"$"),u=new RegExp("^"+n+"$"),c=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");r.testKanji=function(t){return s.test(t)},r.testNumeric=function(t){return u.test(t)},r.testAlphanumeric=function(t){return c.test(t)}},{}],20:[function(t,e,r){var n=t("./mode"),o=t("./numeric-data"),i=t("./alphanumeric-data"),a=t("./byte-data"),s=t("./kanji-data"),u=t("./regex"),c=t("./utils"),f=t("dijkstrajs");function l(t){return unescape(encodeURIComponent(t)).length}function p(t,e,r){for(var n,o=[];null!==(n=t.exec(r));)o.push({data:n[0],index:n.index,mode:e,length:n[0].length});return o}function h(t){var e,r,o=p(u.NUMERIC,n.NUMERIC,t),i=p(u.ALPHANUMERIC,n.ALPHANUMERIC,t);return c.isKanjiModeEnabled()?(e=p(u.BYTE,n.BYTE,t),r=p(u.KANJI,n.KANJI,t)):(e=p(u.BYTE_KANJI,n.BYTE,t),r=[]),o.concat(i,e,r).sort((function(t,e){return t.index-e.index})).map((function(t){return{data:t.data,mode:t.mode,length:t.length}}))}function d(t,e){switch(e){case n.NUMERIC:return o.getBitsLength(t);case n.ALPHANUMERIC:return i.getBitsLength(t);case n.KANJI:return s.getBitsLength(t);case n.BYTE:return a.getBitsLength(t)}}function y(t){return t.reduce((function(t,e){var r=t.length-1>=0?t[t.length-1]:null;return r&&r.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}function v(t){for(var e=[],r=0;r<t.length;r++){var o=t[r];switch(o.mode){case n.NUMERIC:e.push([o,{data:o.data,mode:n.ALPHANUMERIC,length:o.length},{data:o.data,mode:n.BYTE,length:o.length}]);break;case n.ALPHANUMERIC:e.push([o,{data:o.data,mode:n.BYTE,length:o.length}]);break;case n.KANJI:e.push([o,{data:o.data,mode:n.BYTE,length:l(o.data)}]);break;case n.BYTE:e.push([{data:o.data,mode:n.BYTE,length:l(o.data)}])}}return e}function g(t,e){for(var r={},o={start:{}},i=["start"],a=0;a<t.length;a++){for(var s=t[a],u=[],c=0;c<s.length;c++){var f=s[c],l=""+a+c;u.push(l),r[l]={node:f,lastCount:0},o[l]={};for(var p=0;p<i.length;p++){var h=i[p];r[h]&&r[h].node.mode===f.mode?(o[h][l]=d(r[h].lastCount+f.length,f.mode)-d(r[h].lastCount,f.mode),r[h].lastCount+=f.length):(r[h]&&(r[h].lastCount=f.length),o[h][l]=d(f.length,f.mode)+4+n.getCharCountIndicator(f.mode,e))}}i=u}for(p=0;p<i.length;p++)o[i[p]].end=0;return{map:o,table:r}}function m(t,e){var r,u=n.getBestModeForData(t);if((r=n.from(e,u))!==n.BYTE&&r.bit<u.bit)throw new Error('"'+t+'" cannot be encoded with mode '+n.toString(r)+".\n Suggested mode is: "+n.toString(u));switch(r!==n.KANJI||c.isKanjiModeEnabled()||(r=n.BYTE),r){case n.NUMERIC:return new o(t);case n.ALPHANUMERIC:return new i(t);case n.KANJI:return new s(t);case n.BYTE:return new a(t)}}r.fromArray=function(t){return t.reduce((function(t,e){return"string"==typeof e?t.push(m(e,null)):e.data&&t.push(m(e.data,e.mode)),t}),[])},r.fromString=function(t,e){for(var n=g(v(h(t,c.isKanjiModeEnabled())),e),o=f.find_path(n.map,"start","end"),i=[],a=1;a<o.length-1;a++)i.push(n.table[o[a]].node);return r.fromArray(y(i))},r.rawSplit=function(t){return r.fromArray(h(t,c.isKanjiModeEnabled()))}},{"./alphanumeric-data":3,"./byte-data":6,"./kanji-data":12,"./mode":14,"./numeric-data":15,"./regex":19,"./utils":21,dijkstrajs:31}],21:[function(t,e,r){var n,o=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];r.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},r.getSymbolTotalCodewords=function(t){return o[t]},r.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},r.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');n=t},r.isKanjiModeEnabled=function(){return void 0!==n},r.toSJIS=function(t){return n(t)}},{}],22:[function(t,e,r){r.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},{}],23:[function(t,e,r){var n=t("./utils"),o=t("./error-correction-code"),i=t("./error-correction-level"),a=t("./mode"),s=t("./version-check"),u=t("isarray"),c=7973,f=n.getBCHDigit(c);function l(t,e,n){for(var o=1;o<=40;o++)if(e<=r.getCapacity(o,n,t))return o}function p(t,e){return a.getCharCountIndicator(t,e)+4}function h(t,e){var r=0;return t.forEach((function(t){var n=p(t.mode,e);r+=n+t.getBitsLength()})),r}function d(t,e){for(var n=1;n<=40;n++)if(h(t,n)<=r.getCapacity(n,e,a.MIXED))return n}r.from=function(t,e){return s.isValid(t)?parseInt(t,10):e},r.getCapacity=function(t,e,r){if(!s.isValid(t))throw new Error("Invalid QR Code version");void 0===r&&(r=a.BYTE);var i=8*(n.getSymbolTotalCodewords(t)-o.getTotalCodewordsCount(t,e));if(r===a.MIXED)return i;var u=i-p(r,t);switch(r){case a.NUMERIC:return Math.floor(u/10*3);case a.ALPHANUMERIC:return Math.floor(u/11*2);case a.KANJI:return Math.floor(u/13);case a.BYTE:default:return Math.floor(u/8)}},r.getBestVersionForData=function(t,e){var r,n=i.from(e,i.M);if(u(t)){if(t.length>1)return d(t,n);if(0===t.length)return 1;r=t[0]}else r=t;return l(r.mode,r.getLength(),n)},r.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;n.getBCHDigit(e)-f>=0;)e^=c<<n.getBCHDigit(e)-f;return t<<12|e}},{"./error-correction-code":7,"./error-correction-level":8,"./mode":14,"./utils":21,"./version-check":22,isarray:33}],24:[function(t,e,r){var n=t("./can-promise"),o=t("./core/qrcode"),i=t("./renderer/canvas"),a=t("./renderer/svg-tag.js");function s(t,e,r,i,a){var s=[].slice.call(arguments,1),u=s.length,c="function"==typeof s[u-1];if(!c&&!n())throw new Error("Callback required as last argument");if(!c){if(u<1)throw new Error("Too few arguments provided");return 1===u?(r=e,e=i=void 0):2!==u||e.getContext||(i=r,r=e,e=void 0),new Promise((function(n,a){try{var s=o.create(r,i);n(t(s,e,i))}catch(t){a(t)}}))}if(u<2)throw new Error("Too few arguments provided");2===u?(a=r,r=e,e=i=void 0):3===u&&(e.getContext&&void 0===a?(a=i,i=void 0):(a=i,i=r,r=e,e=void 0));try{var f=o.create(r,i);a(null,t(f,e,i))}catch(t){a(t)}}r.create=o.create,r.toCanvas=s.bind(null,i.render),r.toDataURL=s.bind(null,i.renderToDataURL),r.toString=s.bind(null,(function(t,e,r){return a.render(t,r)}))},{"./can-promise":1,"./core/qrcode":17,"./renderer/canvas":25,"./renderer/svg-tag.js":26}],25:[function(t,e,r){var n=t("./utils");function o(t,e,r){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=r,e.width=r,e.style.height=r+"px",e.style.width=r+"px"}function i(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}r.render=function(t,e,r){var a=r,s=e;void 0!==a||e&&e.getContext||(a=e,e=void 0),e||(s=i()),a=n.getOptions(a);var u=n.getImageWidth(t.modules.size,a),c=s.getContext("2d"),f=c.createImageData(u,u);return n.qrToImageData(f.data,t,a),o(c,s,u),c.putImageData(f,0,0),s},r.renderToDataURL=function(t,e,n){var o=n;void 0!==o||e&&e.getContext||(o=e,e=void 0),o||(o={});var i=r.render(t,e,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},{"./utils":27}],26:[function(t,e,r){var n=t("./utils");function o(t,e){var r=t.a/255,n=e+'="'+t.hex+'"';return r<1?n+" "+e+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(t,e,r){var n=t+e;return void 0!==r&&(n+=" "+r),n}function a(t,e,r){for(var n="",o=0,a=!1,s=0,u=0;u<t.length;u++){var c=Math.floor(u%e),f=Math.floor(u/e);c||a||(a=!0),t[u]?(s++,u>0&&c>0&&t[u-1]||(n+=a?i("M",c+r,.5+f+r):i("m",o,0),o=0,a=!1),c+1<e&&t[u+1]||(n+=i("h",s),s=0)):o++}return n}r.render=function(t,e,r){var i=n.getOptions(e),s=t.modules.size,u=t.modules.data,c=s+2*i.margin,f=i.color.light.a?"<path "+o(i.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",l="<path "+o(i.color.dark,"stroke")+' d="'+a(u,s,i.margin)+'"/>',p='viewBox="0 0 '+c+" "+c+'"',h='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+p+' shape-rendering="crispEdges">'+f+l+"</svg>\n";return"function"==typeof r&&r(null,h),h}},{"./utils":27}],27:[function(t,e,r){function n(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");var e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map((function(t){return[t,t]})))),6===e.length&&e.push("F","F");var r=parseInt(e.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+e.slice(0,6).join("")}}r.getOptions=function(t){t||(t={}),t.color||(t.color={});var e=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,r=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:r,scale:r?4:o,margin:e,color:{dark:n(t.color.dark||"#000000ff"),light:n(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},r.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},r.getImageWidth=function(t,e){var n=r.getScale(t,e);return Math.floor((t+2*e.margin)*n)},r.qrToImageData=function(t,e,n){for(var o=e.modules.size,i=e.modules.data,a=r.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,c=[n.color.light,n.color.dark],f=0;f<s;f++)for(var l=0;l<s;l++){var p=4*(f*s+l),h=n.color.light;f>=u&&l>=u&&f<s-u&&l<s-u&&(h=c[i[Math.floor((f-u)/a)*o+Math.floor((l-u)/a)]?1:0]),t[p++]=h.r,t[p++]=h.g,t[p++]=h.b,t[p]=h.a}}},{}],28:[function(t,e,r){var n=t("isarray");function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}a.TYPED_ARRAY_SUPPORT=o();var i=a.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function a(t,e,r){return a.TYPED_ARRAY_SUPPORT||this instanceof a?"number"==typeof t?f(this,t):b(this,t,e,r):new a(t,e,r)}function s(t){if(t>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|t}function u(t){return t!=t}function c(t,e){var r;return a.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e)).__proto__=a.prototype:(null===(r=t)&&(r=new a(e)),r.length=e),r}function f(t,e){var r=c(t,e<0?0:0|s(e));if(!a.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)r[n]=0;return r}function l(t,e){var r=0|v(e),n=c(t,r),o=n.write(e);return o!==r&&(n=n.slice(0,o)),n}function p(t,e){for(var r=e.length<0?0:0|s(e.length),n=c(t,r),o=0;o<r;o+=1)n[o]=255&e[o];return n}function h(t,e,r,n){if(r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");var o;return o=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),a.TYPED_ARRAY_SUPPORT?o.__proto__=a.prototype:o=p(t,o),o}function d(t,e){if(a.isBuffer(e)){var r=0|s(e.length),n=c(t,r);return 0===n.length||e.copy(n,0,0,r),n}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||u(e.length)?c(t,0):p(t,e);if("Buffer"===e.type&&Array.isArray(e.data))return p(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function v(t){return a.isBuffer(t)?t.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer)?t.byteLength:("string"!=typeof t&&(t=""+t),0===t.length?0:y(t).length)}function g(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function m(t,e,r,n){return g(y(e,t.length-r),t,r,n)}function b(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?h(t,e,r,n):"string"==typeof e?l(t,e):d(t,e)}a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),a.prototype.write=function(t,e,r){void 0===e||void 0===r&&"string"==typeof e?(r=this.length,e=0):isFinite(e)&&(e|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-e;if((void 0===r||r>n)&&(r=n),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return m(this,t,e,r)},a.prototype.slice=function(t,e){var r,n=this.length;if((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),a.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=a.prototype;else{var o=e-t;r=new a(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},a.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!a.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},a.prototype.fill=function(t,e,r){if("string"==typeof t){if("string"==typeof e?(e=0,r=this.length):"string"==typeof r&&(r=this.length),1===t.length){var n=t.charCodeAt(0);n<256&&(t=n)}}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var i=a.isBuffer(t)?t:new a(t),s=i.length;for(o=0;o<r-e;++o)this[o+e]=i[o%s]}return this},a.concat=function(t,e){if(!n(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c(null,0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var o=f(null,e),i=0;for(r=0;r<t.length;++r){var s=t[r];if(!a.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(o,i),i+=s.length}return o},a.byteLength=v,a.prototype._isBuffer=!0,a.isBuffer=function(t){return!(null==t||!t._isBuffer)},e.exports.alloc=function(t){var e=new a(t);return e.fill(0),e},e.exports.from=function(t){return new a(t)}},{isarray:33}],29:[function(t,e,r){r.byteLength=f,r.toByteArray=p,r.fromByteArray=y;for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)n[s]=a[s],o[a.charCodeAt(s)]=s;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function f(t){var e=c(t),r=e[0],n=e[1];return 3*(r+n)/4-n}function l(t,e,r){return 3*(e+r)/4-r}function p(t){var e,r,n=c(t),a=n[0],s=n[1],u=new i(l(t,a,s)),f=0,p=s>0?a-4:a;for(r=0;r<p;r+=4)e=o[t.charCodeAt(r)]<<18|o[t.charCodeAt(r+1)]<<12|o[t.charCodeAt(r+2)]<<6|o[t.charCodeAt(r+3)],u[f++]=e>>16&255,u[f++]=e>>8&255,u[f++]=255&e;return 2===s&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,u[f++]=255&e),1===s&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,u[f++]=e>>8&255,u[f++]=255&e),u}function h(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function d(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(h(n));return o.join("")}function y(t){for(var e,r=t.length,o=r%3,i=[],a=16383,s=0,u=r-o;s<u;s+=a)i.push(d(t,s,s+a>u?u:s+a));return 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]+"=")),i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},{}],30:[function(t,e,r){var o=t("base64-js"),i=t("ieee754"),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=f,r.SlowBuffer=E,r.INSPECT_MAX_BYTES=50;var s=2147483647;function u(){try{var 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}}function c(t){if(t>s)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,f.prototype),e}function f(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return d(t)}return l(t,e,r)}function l(t,e,r){if("string"==typeof t)return y(t,e);if(ArrayBuffer.isView(t))return v(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(Z(t,ArrayBuffer)||t&&Z(t.buffer,ArrayBuffer))return g(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return f.from(n,e,r);var o=m(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return f.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function p(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 h(t,e,r){return p(t),t<=0?c(t):void 0!==e?"string"==typeof r?c(t).fill(e,r):c(t).fill(e):c(t)}function d(t){return p(t),c(t<0?0:0|b(t))}function y(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!f.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=0|w(t,e),n=c(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}function v(t){for(var e=t.length<0?0:0|b(t.length),r=c(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function g(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,f.prototype),n}function m(t){if(f.isBuffer(t)){var e=0|b(t.length),r=c(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||Q(t.length)?c(0):v(t):"Buffer"===t.type&&Array.isArray(t.data)?v(t.data):void 0}function b(t){if(t>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function E(t){return+t!=t&&(t=0),f.alloc(+t)}function w(t,e){if(f.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||Z(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);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return X(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(t).length;default:if(o)return n?-1:X(t).length;e=(""+e).toLowerCase(),o=!0}}function A(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return U(this,e,r);case"utf8":case"utf-8":return j(this,e,r);case"ascii":return $(this,e,r);case"latin1":case"binary":return k(this,e,r);case"base64":return C(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function O(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function S(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Q(r=+r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=f.from(e,n)),f.isBuffer(e))return 0===e.length?-1:x(t,e,r,n,o);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):x(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function x(t,e,r,n,o){var i,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var f=-1;for(i=r;i<s;i++)if(c(t,i)===c(e,-1===f?0:i-f)){if(-1===f&&(f=i),i-f+1===u)return f*a}else-1!==f&&(i-=i-f),f=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var l=!0,p=0;p<u;p++)if(c(t,i+p)!==c(e,p)){l=!1;break}if(l)return i}return-1}function _(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(Q(s))return a;t[r+a]=s}return a}function I(t,e,r,n){return K(X(e,t.length-r),t,r,n)}function R(t,e,r,n){return K(Y(e),t,r,n)}function T(t,e,r,n){return R(t,e,r,n)}function N(t,e,r,n){return K(J(e),t,r,n)}function P(t,e,r,n){return K(W(e,t.length-r),t,r,n)}function C(t,e,r){return 0===e&&r===t.length?o.fromByteArray(t):o.fromByteArray(t.slice(e,r))}function j(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,s,u,c=t[o],f=null,l=c>239?4:c>223?3:c>191?2:1;if(o+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128==(192&(i=t[o+1]))&&(u=(31&c)<<6|63&i)>127&&(f=u);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),o+=l}return B(n)}r.kMaxLength=s,f.TYPED_ARRAY_SUPPORT=u(),f.TYPED_ARRAY_SUPPORT||void 0===n||"function"!=typeof n.error||n.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(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),f.poolSize=8192,f.from=function(t,e,r){return l(t,e,r)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(t,e,r){return h(t,e,r)},f.allocUnsafe=function(t){return d(t)},f.allocUnsafeSlow=function(t){return d(t)},f.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==f.prototype},f.compare=function(t,e){if(Z(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),Z(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.isBuffer(t)||!f.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},f.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}},f.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=f.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(Z(i,Uint8Array)&&(i=f.from(i)),!f.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},f.byteLength=w,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)O(this,e,e+1);return this},f.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)O(this,e,e+3),O(this,e+1,e+2);return this},f.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)O(this,e,e+7),O(this,e+1,e+6),O(this,e+2,e+5),O(this,e+3,e+4);return this},f.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?j(this,0,t):A.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(t){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===f.compare(this,t)},f.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},a&&(f.prototype[a]=f.prototype.inspect),f.prototype.compare=function(t,e,r,n,o){if(Z(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.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===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=t.slice(e,r),l=0;l<s;++l)if(u[l]!==c[l]){i=u[l],a=c[l];break}return i<a?-1:a<i?1:0},f.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},f.prototype.indexOf=function(t,e,r){return S(this,t,e,r,!0)},f.prototype.lastIndexOf=function(t,e,r){return S(this,t,e,r,!1)},f.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return _(this,t,e,r);case"utf8":case"utf-8":return I(this,t,e,r);case"ascii":return R(this,t,e,r);case"latin1":case"binary":return T(this,t,e,r);case"base64":return N(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function B(t){var e=t.length;if(e<=L)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=L));return r}function $(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function k(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function U(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=tt[t[i]];return o}function M(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function D(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function F(t,e,r,n,o,i){if(!f.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(r+n>t.length)throw new RangeError("Index out of range")}function G(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function q(t,e,r,n,o){return e=+e,r>>>=0,o||G(t,e,r,4),i.write(t,e,r,n,23,4),r+4}function z(t,e,r,n,o){return e=+e,r>>>=0,o||G(t,e,r,8),i.write(t,e,r,n,52,8),r+8}f.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,f.prototype),n},f.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||D(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},f.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||D(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},f.prototype.readUInt8=function(t,e){return t>>>=0,e||D(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return t>>>=0,e||D(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return t>>>=0,e||D(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return t>>>=0,e||D(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,e){return t>>>=0,e||D(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||D(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},f.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||D(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},f.prototype.readInt8=function(t,e){return t>>>=0,e||D(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){t>>>=0,e||D(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt16BE=function(t,e){t>>>=0,e||D(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt32LE=function(t,e){return t>>>=0,e||D(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return t>>>=0,e||D(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return t>>>=0,e||D(t,4,this.length),i.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return t>>>=0,e||D(t,4,this.length),i.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return t>>>=0,e||D(t,8,this.length),i.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return t>>>=0,e||D(t,8,this.length),i.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||F(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},f.prototype.writeUIntBE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||F(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},f.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||F(this,t,e,1,255,0),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||F(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||F(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||F(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},f.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||F(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},f.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);F(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},f.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);F(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||F(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||F(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||F(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||F(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},f.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||F(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},f.prototype.writeFloatLE=function(t,e,r){return q(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return q(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return z(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return z(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,n){if(!f.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var i=o-1;i>=0;--i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return o},f.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!f.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){var o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=f.isBuffer(t)?t:f.from(t,n),s=a.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var V=/[^+/0-9A-Za-z-_]/g;function H(t){if((t=(t=t.split("=")[0]).trim().replace(V,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}function X(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Y(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function W(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}function J(t){return o.toByteArray(H(t))}function K(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function Z(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function Q(t){return t!=t}var tt=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()},{"base64-js":29,ieee754:32}],31:[function(t,e,r){var n={single_source_shortest_paths:function(t,e,r){var o={},i={};i[e]=0;var a,s,u,c,f,l,p,h=n.PriorityQueue.make();for(h.push(e,0);!h.empty();)for(u in s=(a=h.pop()).value,c=a.cost,f=t[s]||{})f.hasOwnProperty(u)&&(l=c+f[u],p=i[u],(void 0===i[u]||p>l)&&(i[u]=l,h.push(u,l),o[u]=s));if(void 0!==r&&void 0===i[r]){var d=["Could not find a path from ",e," to ",r,"."].join("");throw new Error(d)}return o},extract_shortest_path_from_predecessor_list:function(t,e){for(var r=[],n=e;n;)r.push(n),t[n],n=t[n];return r.reverse(),r},find_path:function(t,e,r){var o=n.single_source_shortest_paths(t,e,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(t){var e,r=n.PriorityQueue,o={};for(e in t=t||{},r)r.hasOwnProperty(e)&&(o[e]=r[e]);return o.queue=[],o.sorter=t.sorter||r.default_sorter,o},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var r={value:t,cost:e};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};void 0!==e&&(e.exports=n)},{}],32:[function(t,e,r){r.read=function(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,f=-7,l=r?o-1:0,p=r?-1:1,h=t[e+l];for(l+=p,i=h&(1<<-f)-1,h>>=-f,f+=s;f>0;i=256*i+t[e+l],l+=p,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;f>0;a=256*a+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)},r.write=function(t,e,r,n,o,i){var a,s,u,c=8*i-o-1,f=(1<<c)-1,l=f>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+l>=1?p/u:p*Math.pow(2,1-l))*u>=2&&(a++,u/=2),a+l>=f?(s=0,a=f):a+l>=1?(s=(e*u-1)*Math.pow(2,o),a+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*y}},{}],33:[function(t,e,r){var n={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},{}]},{},[24])(24)},e.exports=o()}));return{name:"qrcode",props:{value:null,options:Object,tag:{type:String,default:"canvas"}},render:function(t){return t(this.tag,this.$slots.default)},watch:{$props:{deep:!0,immediate:!0,handler:function(){this.$el&&this.generate()}}},methods:{generate:function(){var t=this,e=this.options,n=this.tag,o=String(this.value);"canvas"===n?r.toCanvas(this.$el,o,e,(function(t){if(t)throw t})):"img"===n?r.toDataURL(o,e,(function(e,r){if(e)throw e;t.$el.src=r})):r.toString(o,e,(function(e,r){if(e)throw e;t.$el.innerHTML=r}))}},mounted:function(){this.generate()}}}()},2200:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRequestToken",{enumerable:!0,get:function(){return n.getRequestToken}}),Object.defineProperty(e,"onRequestTokenUpdate",{enumerable:!0,get:function(){return n.onRequestTokenUpdate}}),Object.defineProperty(e,"getCurrentUser",{enumerable:!0,get:function(){return o.getCurrentUser}});var n=r(1894),o=r(1618)},1894:(t,e,r)=>{"use strict";var n=r(5108);r(5257),Object.defineProperty(e,"__esModule",{value:!0}),e.getRequestToken=function(){return a},e.onRequestTokenUpdate=function(t){s.push(t)};var o=r(7594),i=document.getElementsByTagName("head")[0],a=i?i.getAttribute("data-requesttoken"):null,s=[];(0,o.subscribe)("csrf-token-update",(function(t){a=t.token,s.forEach((function(e){try{e(t.token)}catch(t){n.error("error updating CSRF token observer",t)}}))}))},1618:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentUser=function(){if(null===n)return null;return{uid:n,displayName:i,isAdmin:a}};var r=document.getElementsByTagName("head")[0],n=r?r.getAttribute("data-user"):null,o=document.getElementsByTagName("head")[0],i=o?o.getAttribute("data-user-displayname"):null,a="undefined"!=typeof OC&&OC.isUserAdmin()},6213:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},2146:(t,e,r)=>{var n=r(474);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},4860:(t,e,r)=>{"use strict";var n=r(7527).forEach,o=r(3904),i=r(2100),a=o("forEach"),s=i("forEach");t.exports=a&&s?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},8241:(t,e,r)=>{var n=r(9528),o=r(6326),i=r(4995),a=function(t){return function(e,r,a){var s,u=n(e),c=o(u.length),f=i(a,c);if(t&&r!=r){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},7527:(t,e,r)=>{var n=r(4958),o=r(3524),i=r(5673),a=r(6326),s=r(7114),u=[].push,c=function(t){var e=1==t,r=2==t,c=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,d,y,v){for(var g,m,b=i(h),E=o(b),w=n(d,y,3),A=a(E.length),O=0,S=v||s,x=e?S(h,A):r?S(h,0):void 0;A>O;O++)if((p||O in E)&&(m=w(g=E[O],O,b),t))if(e)x[O]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u.call(x,g)}else if(f)return!1;return l?-1:c||f?f:x}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},3904:(t,e,r)=>{"use strict";var n=r(1337);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},2100:(t,e,r)=>{var n=r(5655),o=r(1337),i=r(4851),a=Object.defineProperty,s={},u=function(t){throw t};t.exports=function(t,e){if(i(s,t))return s[t];e||(e={});var r=[][t],c=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return s[t]=!!r&&!o((function(){if(c&&!n)return!0;var t={length:-1};c?a(t,1,{enumerable:!0,get:u}):t[1]=1,r.call(t,f,l)}))}},7114:(t,e,r)=>{var n=r(474),o=r(5895),i=r(7784)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},8687:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},594:(t,e,r)=>{var n=r(4851),o=r(1169),i=r(2466),a=r(5608);t.exports=function(t,e){for(var r=o(e),s=a.f,u=i.f,c=0;c<r.length;c++){var f=r[c];n(t,f)||s(t,f,u(e,f))}}},4562:(t,e,r)=>{var n=r(5655),o=r(5608),i=r(6693);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},6693:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5655:(t,e,r)=>{var n=r(1337);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4907:(t,e,r)=>{var n=r(5329),o=r(474),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},4407:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7099:(t,e,r)=>{var n=r(5329),o=r(2466).f,i=r(4562),a=r(5649),s=r(4563),u=r(594),c=r(1034);t.exports=function(t,e){var r,f,l,p,h,d=t.target,y=t.global,v=t.stat;if(r=y?n:v?n[d]||s(d,{}):(n[d]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(r,f))&&h.value:r[f],!c(y?f:d+(v?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},1337:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},4958:(t,e,r)=>{var n=r(6213);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},3381:(t,e,r)=>{var n=r(1077),o=r(5329),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},5329:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||Function("return this")()},4851:t=>{var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},7779:t=>{t.exports={}},5452:(t,e,r)=>{var n=r(5655),o=r(1337),i=r(4907);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},3524:(t,e,r)=>{var n=r(1337),o=r(8687),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},7051:(t,e,r)=>{var n=r(7530),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},6924:(t,e,r)=>{var n,o,i,a=r(9532),s=r(5329),u=r(474),c=r(4562),f=r(4851),l=r(2419),p=r(7779),h=s.WeakMap;if(a){var d=new h,y=d.get,v=d.has,g=d.set;n=function(t,e){return g.call(d,t,e),e},o=function(t){return y.call(d,t)||{}},i=function(t){return v.call(d,t)}}else{var m=l("state");p[m]=!0,n=function(t,e){return c(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},5895:(t,e,r)=>{var n=r(8687);t.exports=Array.isArray||function(t){return"Array"==n(t)}},1034:(t,e,r)=>{var n=r(1337),o=/#|\.prototype\./,i=function(t,e){var r=s[a(t)];return r==c||r!=u&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";t.exports=i},474:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},2893:t=>{t.exports=!1},9311:(t,e,r)=>{var n=r(1337);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},9532:(t,e,r)=>{var n=r(5329),o=r(7051),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},5608:(t,e,r)=>{var n=r(5655),o=r(5452),i=r(2146),a=r(1980),s=Object.defineProperty;e.f=n?s:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},2466:(t,e,r)=>{var n=r(5655),o=r(2280),i=r(6693),a=r(9528),s=r(1980),u=r(4851),c=r(5452),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=s(e,!0),c)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},7012:(t,e,r)=>{var n=r(1537),o=r(4407).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},4035:(t,e)=>{e.f=Object.getOwnPropertySymbols},1537:(t,e,r)=>{var n=r(4851),o=r(9528),i=r(8241).indexOf,a=r(7779);t.exports=function(t,e){var r,s=o(t),u=0,c=[];for(r in s)!n(a,r)&&n(s,r)&&c.push(r);for(;e.length>u;)n(s,r=e[u++])&&(~i(c,r)||c.push(r));return c}},2280:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},1169:(t,e,r)=>{var n=r(3381),o=r(7012),i=r(4035),a=r(2146);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=i.f;return r?e.concat(r(t)):e}},1077:(t,e,r)=>{var n=r(5329);t.exports=n},5649:(t,e,r)=>{var n=r(5329),o=r(4562),i=r(4851),a=r(4563),s=r(7051),u=r(6924),c=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,r,s){var u=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),f(r).source=l.join("string"==typeof e?e:"")),t!==n?(u?!p&&t[e]&&(c=!0):delete t[e],c?t[e]=r:o(t,e,r)):c?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},4623:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},4563:(t,e,r)=>{var n=r(5329),o=r(4562);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},2419:(t,e,r)=>{var n=r(2708),o=r(9356),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7530:(t,e,r)=>{var n=r(5329),o=r(4563),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},2708:(t,e,r)=>{var n=r(2893),o=r(7530);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},4995:(t,e,r)=>{var n=r(930),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},9528:(t,e,r)=>{var n=r(3524),o=r(4623);t.exports=function(t){return n(o(t))}},930:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},6326:(t,e,r)=>{var n=r(930),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},5673:(t,e,r)=>{var n=r(4623);t.exports=function(t){return Object(n(t))}},1980:(t,e,r)=>{var n=r(474);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},9356:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},2597:(t,e,r)=>{var n=r(9311);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7784:(t,e,r)=>{var n=r(5329),o=r(2708),i=r(4851),a=r(9356),s=r(9311),u=r(2597),c=o("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(c,t)||(s&&i(f,t)?c[t]=f[t]:c[t]=l("Symbol."+t)),c[t]}},5257:(t,e,r)=>{"use strict";var n=r(7099),o=r(4860);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},9743:(t,e,r)=>{const n=r(9064),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(4061),{re:a,t:s}=r(3890),u=r(4900),{compareIdentifiers:c}=r(6734);class f{constructor(t,e){if(e=u(e),t instanceof f){if(t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError(`Invalid Version: ${t}`);if(t.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",t,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const r=t.trim().match(e.loose?a[s.LOOSE]:a[s.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<i)return e}return t})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(n("SemVer.compare",this.version,this.options,t),!(t instanceof f)){if("string"==typeof t&&t===this.version)return 0;t=new f(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof f||(t=new f(t,this.options)),c(this.major,t.major)||c(this.minor,t.minor)||c(this.patch,t.patch)}comparePre(t){if(t instanceof f||(t=new f(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 r=this.prerelease[e],o=t.prerelease[e];if(n("prerelease compare",e,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}while(++e)}compareBuild(t){t instanceof f||(t=new f(t,this.options));let e=0;do{const r=this.build[e],o=t.build[e];if(n("prerelease compare",e,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}while(++e)}inc(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e),this.inc("pre",e);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let t=this.prerelease.length;for(;--t>=0;)"number"==typeof this.prerelease[t]&&(this.prerelease[t]++,t=-2);-1===t&&this.prerelease.push(0)}e&&(0===c(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error(`invalid increment argument: ${t}`)}return this.format(),this.raw=this.version,this}}t.exports=f},6511:(t,e,r)=>{const n=r(9743);t.exports=(t,e)=>new n(t,e).major},2599:(t,e,r)=>{const{MAX_LENGTH:n}=r(4061),{re:o,t:i}=r(3890),a=r(9743),s=r(4900);t.exports=(t,e)=>{if(e=s(e),t instanceof a)return t;if("string"!=typeof t)return null;if(t.length>n)return null;if(!(e.loose?o[i.LOOSE]:o[i.FULL]).test(t))return null;try{return new a(t,e)}catch(t){return null}}},7284:(t,e,r)=>{const n=r(2599);t.exports=(t,e)=>{const r=n(t,e);return r?r.version:null}},4061:t=>{const e=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:e,MAX_SAFE_COMPONENT_LENGTH:16}},9064:(t,e,r)=>{var n=r(4155),o=r(5108);const i="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...t)=>o.error("SEMVER",...t):()=>{};t.exports=i},6734:t=>{const e=/^[0-9]+$/,r=(t,r)=>{const n=e.test(t),o=e.test(r);return n&&o&&(t=+t,r=+r),t===r?0:n&&!o?-1:o&&!n?1:t<r?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(t,e)=>r(e,t)}},4900:t=>{const e=["includePrerelease","loose","rtl"];t.exports=t=>t?"object"!=typeof t?{loose:!0}:e.filter((e=>t[e])).reduce(((t,e)=>(t[e]=!0,t)),{}):{}},3890:(t,e,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(4061),o=r(9064),i=(e=t.exports={}).re=[],a=e.src=[],s=e.t={};let u=0;const c=(t,e,r)=>{const n=u++;o(t,n,e),s[t]=n,a[n]=e,i[n]=new RegExp(e,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${a[s.NUMERICIDENTIFIER]}|${a[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${a[s.NUMERICIDENTIFIERLOOSE]}|${a[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${a[s.PRERELEASEIDENTIFIER]}(?:\\.${a[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${a[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${a[s.BUILDIDENTIFIER]}(?:\\.${a[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${a[s.MAINVERSION]}${a[s.PRERELEASE]}?${a[s.BUILD]}?`),c("FULL",`^${a[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${a[s.MAINVERSIONLOOSE]}${a[s.PRERELEASELOOSE]}?${a[s.BUILD]}?`),c("LOOSE",`^${a[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${a[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${a[s.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:${a[s.PRERELEASE]})?${a[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:${a[s.PRERELEASELOOSE]})?${a[s.BUILD]}?)?)?`),c("XRANGE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c("COERCERTL",a[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${a[s.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",c("TILDE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${a[s.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",c("CARET",`^${a[s.LONECARET]}${a[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${a[s.LONECARET]}${a[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${a[s.GTLT]}\\s*(${a[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]}|${a[s.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${a[s.XRANGEPLAIN]})\\s+-\\s+(${a[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${a[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},4201:(t,e,r)=>{"use strict";var n=r(5108);Object.defineProperty(e,"__esModule",{value:!0}),e.ProxyBus=void 0;var o=a(r(7907)),i=a(r(2426));function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var u="1.2.0",c=function(){function t(e){var r,a,s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),s=void 0,(a="bus")in(r=this)?Object.defineProperty(r,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):r[a]=s,"function"==typeof e.getVersion&&(0,o.default)(e.getVersion())?(0,i.default)(e.getVersion())!==(0,i.default)(this.getVersion())&&n.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):n.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}var e,r,a;return e=t,(r=[{key:"getVersion",value:function(){return u}},{key:"subscribe",value:function(t,e){this.bus.subscribe(t,e)}},{key:"unsubscribe",value:function(t,e){this.bus.unsubscribe(t,e)}},{key:"emit",value:function(t,e){this.bus.emit(t,e)}}])&&s(e.prototype,r),a&&s(e,a),t}();e.ProxyBus=c},6936:(t,e,r)=>{"use strict";var n=r(5108);function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}r(2296),r(6172),r(3129),r(241),r(2392),r(8800),r(7947),r(168),r(8794),Object.defineProperty(e,"__esModule",{value:!0}),e.SimpleBus=void 0;var i="1.2.0",a=function(){function t(){var e,r,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,r="handlers",n=new Map,r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n}var e,r,a;return e=t,(r=[{key:"getVersion",value:function(){return i}},{key:"subscribe",value:function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))}},{key:"unsubscribe",value:function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((function(t){return t!=e})))}},{key:"emit",value:function(t,e){(this.handlers.get(t)||[]).forEach((function(t){try{t(e)}catch(t){n.error("could not invoke event listener",t)}}))}}])&&o(e.prototype,r),a&&o(e,a),t}();e.SimpleBus=a},7594:(t,e,r)=>{"use strict";var n=r(5108);Object.defineProperty(e,"__esModule",{value:!0}),e.subscribe=function(t,e){a.subscribe(t,e)},e.unsubscribe=function(t,e){a.unsubscribe(t,e)},e.emit=function(t,e){a.emit(t,e)};var o=r(4201),i=r(6936);var a=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(n.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),void 0!==window._nc_event_bus?new o.ProxyBus(window._nc_event_bus):window._nc_event_bus=new i.SimpleBus)},4103:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},7325:(t,e,r)=>{var n=r(8403);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},6133:(t,e,r)=>{var n=r(5520),o=r(2462),i=r(3846),a=n("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},1692:t=>{t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},982:(t,e,r)=>{var n=r(8403);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},8063:(t,e,r)=>{"use strict";var n=r(8971).forEach,o=r(4227),i=r(5155),a=o("forEach"),s=i("forEach");t.exports=a&&s?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},9157:(t,e,r)=>{var n=r(2992),o=r(4483),i=r(6445),a=function(t){return function(e,r,a){var s,u=n(e),c=o(u.length),f=i(a,c);if(t&&r!=r){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},8971:(t,e,r)=>{var n=r(7107),o=r(7977),i=r(5951),a=r(4483),s=r(1670),u=[].push,c=function(t){var e=1==t,r=2==t,c=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,d,y,v){for(var g,m,b=i(h),E=o(b),w=n(d,y,3),A=a(E.length),O=0,S=v||s,x=e?S(h,A):r?S(h,0):void 0;A>O;O++)if((p||O in E)&&(m=w(g=E[O],O,b),t))if(e)x[O]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u.call(x,g)}else if(f)return!1;return l?-1:c||f?f:x}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},7026:(t,e,r)=>{var n=r(8789),o=r(5520),i=r(3526),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},4227:(t,e,r)=>{"use strict";var n=r(8789);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},5155:(t,e,r)=>{var n=r(1993),o=r(8789),i=r(1970),a=Object.defineProperty,s={},u=function(t){throw t};t.exports=function(t,e){if(i(s,t))return s[t];e||(e={});var r=[][t],c=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return s[t]=!!r&&!o((function(){if(c&&!n)return!0;var t={length:-1};c?a(t,1,{enumerable:!0,get:u}):t[1]=1,r.call(t,f,l)}))}},1670:(t,e,r)=>{var n=r(8403),o=r(2706),i=r(5520)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},7466:(t,e,r)=>{var n=r(982);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},9620:(t,e,r)=>{var n=r(5520)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},6168:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},3309:(t,e,r)=>{var n=r(2254),o=r(6168),i=r(5520)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:a?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},2222:(t,e,r)=>{"use strict";var n=r(3846).f,o=r(2462),i=r(6828),a=r(7107),s=r(1692),u=r(9403),c=r(2504),f=r(4141),l=r(1993),p=r(918).fastKey,h=r(6095),d=h.set,y=h.getterFor;t.exports={getConstructor:function(t,e,r,c){var f=t((function(t,n){s(t,f,e),d(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=n&&u(n,t[c],t,r)})),h=y(e),v=function(t,e,r){var n,o,i=h(t),a=g(t,e);return a?a.value=r:(i.last=a={index:o=p(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},g=function(t,e){var r,n=h(t),o=p(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=this,r=h(e),n=g(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),l?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=h(this),n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(f.prototype,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return v(this,0===t?0:t,e)}}:{add:function(t){return v(this,t=0===t?0:t,t)}}),l&&n(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",o=y(e),i=y(n);c(t,e,(function(t,e){d(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),f(e)}}},9402:(t,e,r)=>{"use strict";var n=r(7898),o=r(4535),i=r(2770),a=r(7253),s=r(918),u=r(9403),c=r(1692),f=r(8403),l=r(8789),p=r(9620),h=r(4304),d=r(475);t.exports=function(t,e,r){var y=-1!==t.indexOf("Map"),v=-1!==t.indexOf("Weak"),g=y?"set":"add",m=o[t],b=m&&m.prototype,E=m,w={},A=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(v&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(v&&!f(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(i(t,"function"!=typeof m||!(v||b.forEach&&!l((function(){(new m).entries().next()})))))E=r.getConstructor(e,t,y,g),s.REQUIRED=!0;else if(i(t,!0)){var O=new E,S=O[g](v?{}:-0,1)!=O,x=l((function(){O.has(1)})),_=p((function(t){new m(t)})),I=!v&&l((function(){for(var t=new m,e=5;e--;)t[g](e,e);return!t.has(-0)}));_||((E=e((function(e,r){c(e,E,t);var n=d(new m,e,E);return null!=r&&u(r,n[g],n,y),n}))).prototype=b,b.constructor=E),(x||I)&&(A("delete"),A("has"),y&&A("get")),(I||S)&&A(g),v&&b.clear&&delete b.clear}return w[t]=E,n({global:!0,forced:E!=m},w),h(E,t),v||r.setStrong(E,t,y),E}},350:(t,e,r)=>{var n=r(1970),o=r(1363),i=r(1888),a=r(3846);t.exports=function(t,e){for(var r=o(e),s=a.f,u=i.f,c=0;c<r.length;c++){var f=r[c];n(t,f)||s(t,f,u(e,f))}}},5142:(t,e,r)=>{var n=r(8789);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},1771:(t,e,r)=>{"use strict";var n=r(9881).IteratorPrototype,o=r(2462),i=r(5975),a=r(4304),s=r(7118),u=function(){return this};t.exports=function(t,e,r){var c=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),a(t,c,!1,!0),s[c]=u,t}},4988:(t,e,r)=>{var n=r(1993),o=r(3846),i=r(5975);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},5975:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9777:(t,e,r)=>{"use strict";var n=r(7769),o=r(3846),i=r(5975);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},2504:(t,e,r)=>{"use strict";var n=r(7898),o=r(1771),i=r(8719),a=r(1008),s=r(4304),u=r(4988),c=r(7253),f=r(5520),l=r(9577),p=r(7118),h=r(9881),d=h.IteratorPrototype,y=h.BUGGY_SAFARI_ITERATORS,v=f("iterator"),g="keys",m="values",b="entries",E=function(){return this};t.exports=function(t,e,r,f,h,w,A){o(r,e,f);var O,S,x,_=function(t){if(t===h&&P)return P;if(!y&&t in T)return T[t];switch(t){case g:case m:case b:return function(){return new r(this,t)}}return function(){return new r(this)}},I=e+" Iterator",R=!1,T=t.prototype,N=T[v]||T["@@iterator"]||h&&T[h],P=!y&&N||_(h),C="Array"==e&&T.entries||N;if(C&&(O=i(C.call(new t)),d!==Object.prototype&&O.next&&(l||i(O)===d||(a?a(O,d):"function"!=typeof O[v]&&u(O,v,E)),s(O,I,!0,!0),l&&(p[I]=E))),h==m&&N&&N.name!==m&&(R=!0,P=function(){return N.call(this)}),l&&!A||T[v]===P||u(T,v,P),p[e]=P,h)if(S={values:_(m),keys:w?P:_(g),entries:_(b)},A)for(x in S)(y||R||!(x in T))&&c(T,x,S[x]);else n({target:e,proto:!0,forced:y||R},S);return S}},1993:(t,e,r)=>{var n=r(8789);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9988:(t,e,r)=>{var n=r(4535),o=r(8403),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},1030:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},1292:(t,e,r)=>{var n=r(9842);t.exports=n("navigator","userAgent")||""},3526:(t,e,r)=>{var n,o,i=r(4535),a=r(1292),s=i.process,u=s&&s.versions,c=u&&u.v8;c?o=(n=c.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},9483:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7898:(t,e,r)=>{var n=r(4535),o=r(1888).f,i=r(4988),a=r(7253),s=r(2355),u=r(350),c=r(2770);t.exports=function(t,e){var r,f,l,p,h,d=t.target,y=t.global,v=t.stat;if(r=y?n:v?n[d]||s(d,{}):(n[d]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(r,f))&&h.value:r[f],!c(y?f:d+(v?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},8789:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},4990:(t,e,r)=>{var n=r(8789);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},7107:(t,e,r)=>{var n=r(4103);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},9842:(t,e,r)=>{var n=r(7989),o=r(4535),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},2639:(t,e,r)=>{var n=r(3309),o=r(7118),i=r(5520)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},4535:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||Function("return this")()},1970:t=>{var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},1311:t=>{t.exports={}},3871:(t,e,r)=>{var n=r(9842);t.exports=n("document","documentElement")},7406:(t,e,r)=>{var n=r(1993),o=r(8789),i=r(9988);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7977:(t,e,r)=>{var n=r(8789),o=r(6168),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},475:(t,e,r)=>{var n=r(8403),o=r(1008);t.exports=function(t,e,r){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(a=i.prototype)&&a!==r.prototype&&o(t,a),t}},5391:(t,e,r)=>{var n=r(8670),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},918:(t,e,r)=>{var n=r(1311),o=r(8403),i=r(1970),a=r(3846).f,s=r(8395),u=r(4990),c=s("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){a(t,c,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,c)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[c].objectID},getWeakData:function(t,e){if(!i(t,c)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[c].weakData},onFreeze:function(t){return u&&h.REQUIRED&&l(t)&&!i(t,c)&&p(t),t}};n[c]=!0},6095:(t,e,r)=>{var n,o,i,a=r(7910),s=r(4535),u=r(8403),c=r(4988),f=r(1970),l=r(9871),p=r(1311),h=s.WeakMap;if(a){var d=new h,y=d.get,v=d.has,g=d.set;n=function(t,e){return g.call(d,t,e),e},o=function(t){return y.call(d,t)||{}},i=function(t){return v.call(d,t)}}else{var m=l("state");p[m]=!0,n=function(t,e){return c(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},706:(t,e,r)=>{var n=r(5520),o=r(7118),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},2706:(t,e,r)=>{var n=r(6168);t.exports=Array.isArray||function(t){return"Array"==n(t)}},2770:(t,e,r)=>{var n=r(8789),o=/#|\.prototype\./,i=function(t,e){var r=s[a(t)];return r==c||r!=u&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";t.exports=i},8403:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},9577:t=>{t.exports=!1},9403:(t,e,r)=>{var n=r(982),o=r(706),i=r(4483),a=r(7107),s=r(2639),u=r(7466),c=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,r,f,l){var p,h,d,y,v,g,m,b=a(e,r,f?2:1);if(l)p=t;else{if("function"!=typeof(h=s(t)))throw TypeError("Target is not iterable");if(o(h)){for(d=0,y=i(t.length);y>d;d++)if((v=f?b(n(m=t[d])[0],m[1]):b(t[d]))&&v instanceof c)return v;return new c(!1)}p=h.call(t)}for(g=p.next;!(m=g.call(p)).done;)if("object"==typeof(v=u(p,b,m.value,f))&&v&&v instanceof c)return v;return new c(!1)}).stop=function(t){return new c(!0,t)}},9881:(t,e,r)=>{"use strict";var n,o,i,a=r(8719),s=r(4988),u=r(1970),c=r(5520),f=r(9577),l=c("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):p=!0),null==n&&(n={}),f||u(n,l)||s(n,l,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},7118:t=>{t.exports={}},8235:(t,e,r)=>{var n=r(8789);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},7910:(t,e,r)=>{var n=r(4535),o=r(5391),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},2462:(t,e,r)=>{var n,o=r(982),i=r(5755),a=r(9483),s=r(1311),u=r(3871),c=r(9988),f=r(9871),l=f("IE_PROTO"),p=function(){},h=function(t){return"<script>"+t+"</"+"script>"},d=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;d=n?function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=c("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var r=a.length;r--;)delete d.prototype[a[r]];return d()};s[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=d(),void 0===e?r:i(r,e)}},5755:(t,e,r)=>{var n=r(1993),o=r(3846),i=r(982),a=r(1654);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=a(e),s=n.length,u=0;s>u;)o.f(t,r=n[u++],e[r]);return t}},3846:(t,e,r)=>{var n=r(1993),o=r(7406),i=r(982),a=r(7769),s=Object.defineProperty;e.f=n?s:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1888:(t,e,r)=>{var n=r(1993),o=r(9071),i=r(5975),a=r(2992),s=r(7769),u=r(1970),c=r(7406),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=s(e,!0),c)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},8112:(t,e,r)=>{var n=r(7563),o=r(9483).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},9862:(t,e)=>{e.f=Object.getOwnPropertySymbols},8719:(t,e,r)=>{var n=r(1970),o=r(5951),i=r(9871),a=r(5142),s=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),n(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},7563:(t,e,r)=>{var n=r(1970),o=r(2992),i=r(9157).indexOf,a=r(1311);t.exports=function(t,e){var r,s=o(t),u=0,c=[];for(r in s)!n(a,r)&&n(s,r)&&c.push(r);for(;e.length>u;)n(s,r=e[u++])&&(~i(c,r)||c.push(r));return c}},1654:(t,e,r)=>{var n=r(7563),o=r(9483);t.exports=Object.keys||function(t){return n(t,o)}},9071:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},1008:(t,e,r)=>{var n=r(982),o=r(7325);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},2814:(t,e,r)=>{"use strict";var n=r(2254),o=r(3309);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},1363:(t,e,r)=>{var n=r(9842),o=r(8112),i=r(9862),a=r(982);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=i.f;return r?e.concat(r(t)):e}},7989:(t,e,r)=>{var n=r(4535);t.exports=n},6828:(t,e,r)=>{var n=r(7253);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},7253:(t,e,r)=>{var n=r(4535),o=r(4988),i=r(1970),a=r(2355),s=r(5391),u=r(6095),c=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,r,s){var u=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),f(r).source=l.join("string"==typeof e?e:"")),t!==n?(u?!p&&t[e]&&(c=!0):delete t[e],c?t[e]=r:o(t,e,r)):c?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},6438:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},2355:(t,e,r)=>{var n=r(4535),o=r(4988);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},4141:(t,e,r)=>{"use strict";var n=r(9842),o=r(3846),i=r(5520),a=r(1993),s=i("species");t.exports=function(t){var e=n(t),r=o.f;a&&e&&!e[s]&&r(e,s,{configurable:!0,get:function(){return this}})}},4304:(t,e,r)=>{var n=r(3846).f,o=r(1970),i=r(5520)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},9871:(t,e,r)=>{var n=r(1464),o=r(8395),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},8670:(t,e,r)=>{var n=r(4535),o=r(2355),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},1464:(t,e,r)=>{var n=r(9577),o=r(8670);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},4410:(t,e,r)=>{var n=r(8669),o=r(6438),i=function(t){return function(e,r){var i,a,s=String(o(e)),u=n(r),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},6445:(t,e,r)=>{var n=r(8669),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},2992:(t,e,r)=>{var n=r(7977),o=r(6438);t.exports=function(t){return n(o(t))}},8669:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},4483:(t,e,r)=>{var n=r(8669),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},5951:(t,e,r)=>{var n=r(6438);t.exports=function(t){return Object(n(t))}},7769:(t,e,r)=>{var n=r(8403);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},2254:(t,e,r)=>{var n={};n[r(5520)("toStringTag")]="z",t.exports="[object z]"===String(n)},8395:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},3399:(t,e,r)=>{var n=r(8235);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5520:(t,e,r)=>{var n=r(4535),o=r(1464),i=r(1970),a=r(8395),s=r(8235),u=r(3399),c=o("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(c,t)||(s&&i(f,t)?c[t]=f[t]:c[t]=l("Symbol."+t)),c[t]}},2296:(t,e,r)=>{"use strict";var n=r(7898),o=r(8789),i=r(2706),a=r(8403),s=r(5951),u=r(4483),c=r(9777),f=r(1670),l=r(7026),p=r(5520),h=r(3526),d=p("isConcatSpreadable"),y=9007199254740991,v="Maximum allowed index exceeded",g=h>=51||!o((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),m=l("concat"),b=function(t){if(!a(t))return!1;var e=t[d];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!g||!m},{concat:function(t){var e,r,n,o,i,a=s(this),l=f(a,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(b(i=-1===e?a:arguments[e])){if(p+(o=u(i.length))>y)throw TypeError(v);for(r=0;r<o;r++,p++)r in i&&c(l,p,i[r])}else{if(p>=y)throw TypeError(v);c(l,p++,i)}return l.length=p,l}})},6172:(t,e,r)=>{"use strict";var n=r(7898),o=r(8971).filter,i=r(7026),a=r(5155),s=i("filter"),u=a("filter");n({target:"Array",proto:!0,forced:!s||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},3129:(t,e,r)=>{"use strict";var n=r(7898),o=r(8063);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},241:(t,e,r)=>{"use strict";var n=r(2992),o=r(6133),i=r(7118),a=r(6095),s=r(2504),u="Array Iterator",c=a.set,f=a.getterFor(u);t.exports=s(Array,"Array",(function(t,e){c(this,{type:u,target:n(t),index:0,kind:e})}),(function(){var t=f(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},2392:(t,e,r)=>{"use strict";var n=r(9402),o=r(2222);t.exports=n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},8800:(t,e,r)=>{var n=r(2254),o=r(7253),i=r(2814);n||o(Object.prototype,"toString",i,{unsafe:!0})},7947:(t,e,r)=>{"use strict";var n=r(4410).charAt,o=r(6095),i=r(2504),a="String Iterator",s=o.set,u=o.getterFor(a);i(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=u(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},168:(t,e,r)=>{var n=r(4535),o=r(1030),i=r(8063),a=r(4988);for(var s in o){var u=n[s],c=u&&u.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(t){c.forEach=i}}},8794:(t,e,r)=>{var n=r(4535),o=r(1030),i=r(241),a=r(4988),s=r(5520),u=s("iterator"),c=s("toStringTag"),f=i.values;for(var l in o){var p=n[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{a(h,u,f)}catch(t){h[u]=f}if(h[c]||a(h,c,l),o[l])for(var d in i)if(h[d]!==i[d])try{a(h,d,i[d])}catch(t){h[d]=i[d]}}}},7737:(t,e,r)=>{const n=r(5503),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(5519),{re:a,t:s}=r(8238),{compareIdentifiers:u}=r(3242);class c{constructor(t,e){if(e&&"object"==typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof c){if(t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError(`Invalid Version: ${t}`);if(t.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",t,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const r=t.trim().match(e.loose?a[s.LOOSE]:a[s.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<i)return e}return t})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(n("SemVer.compare",this.version,this.options,t),!(t instanceof c)){if("string"==typeof t&&t===this.version)return 0;t=new c(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof c||(t=new c(t,this.options)),u(this.major,t.major)||u(this.minor,t.minor)||u(this.patch,t.patch)}comparePre(t){if(t instanceof c||(t=new c(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 r=this.prerelease[e],o=t.prerelease[e];if(n("prerelease compare",e,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return u(r,o)}while(++e)}compareBuild(t){t instanceof c||(t=new c(t,this.options));let e=0;do{const r=this.build[e],o=t.build[e];if(n("prerelease compare",e,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return u(r,o)}while(++e)}inc(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e),this.inc("pre",e);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let t=this.prerelease.length;for(;--t>=0;)"number"==typeof this.prerelease[t]&&(this.prerelease[t]++,t=-2);-1===t&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error(`invalid increment argument: ${t}`)}return this.format(),this.raw=this.version,this}}t.exports=c},2426:(t,e,r)=>{const n=r(7737);t.exports=(t,e)=>new n(t,e).major},7488:(t,e,r)=>{const{MAX_LENGTH:n}=r(5519),{re:o,t:i}=r(8238),a=r(7737);t.exports=(t,e)=>{if(e&&"object"==typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof a)return t;if("string"!=typeof t)return null;if(t.length>n)return null;if(!(e.loose?o[i.LOOSE]:o[i.FULL]).test(t))return null;try{return new a(t,e)}catch(t){return null}}},7907:(t,e,r)=>{const n=r(7488);t.exports=(t,e)=>{const r=n(t,e);return r?r.version:null}},5519:t=>{const e=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:e,MAX_SAFE_COMPONENT_LENGTH:16}},5503:(t,e,r)=>{var n=r(4155),o=r(5108);const i="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...t)=>o.error("SEMVER",...t):()=>{};t.exports=i},3242:t=>{const e=/^[0-9]+$/,r=(t,r)=>{const n=e.test(t),o=e.test(r);return n&&o&&(t=+t,r=+r),t===r?0:n&&!o?-1:o&&!n?1:t<r?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(t,e)=>r(e,t)}},8238:(t,e,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(5519),o=r(5503),i=(e=t.exports={}).re=[],a=e.src=[],s=e.t={};let u=0;const c=(t,e,r)=>{const n=u++;o(n,e),s[t]=n,a[n]=e,i[n]=new RegExp(e,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${a[s.NUMERICIDENTIFIER]}|${a[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${a[s.NUMERICIDENTIFIERLOOSE]}|${a[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${a[s.PRERELEASEIDENTIFIER]}(?:\\.${a[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${a[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${a[s.BUILDIDENTIFIER]}(?:\\.${a[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${a[s.MAINVERSION]}${a[s.PRERELEASE]}?${a[s.BUILD]}?`),c("FULL",`^${a[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${a[s.MAINVERSIONLOOSE]}${a[s.PRERELEASELOOSE]}?${a[s.BUILD]}?`),c("LOOSE",`^${a[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${a[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${a[s.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:${a[s.PRERELEASE]})?${a[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:${a[s.PRERELEASELOOSE]})?${a[s.BUILD]}?)?)?`),c("XRANGE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c("COERCERTL",a[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${a[s.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",c("TILDE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${a[s.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",c("CARET",`^${a[s.LONECARET]}${a[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${a[s.LONECARET]}${a[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${a[s.GTLT]}\\s*(${a[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]}|${a[s.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${a[s.XRANGEPLAIN]})\\s+-\\s+(${a[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${a[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},1356:(t,e,r)=>{"use strict";var n=r(5108);Object.defineProperty(e,"__esModule",{value:!0}),e.buildConsoleLogger=function(t){return new i(t)},e.ConsoleLogger=void 0;var o=r(6);class i{constructor(t){this.context=t}formatMessage(t,e,r){let n="["+e+"]";return r&&r.app&&(n+=" "+r.app+": "),n+t}log(t,e,r){switch(t){case 0:n.debug(this.formatMessage(e,o.LogLevel.Debug,r),r);break;case 1:n.info(this.formatMessage(e,o.LogLevel.Info,r),r);break;case 2:n.warn(this.formatMessage(e,o.LogLevel.Warn,r),r);break;case 3:n.error(this.formatMessage(e,o.LogLevel.Error,r),r);break;default:n.error(this.formatMessage(e,o.LogLevel.Fatal,r),r)}}debug(t,e){this.log(0,t,Object.assign({},this.context,e))}info(t,e){this.log(1,t,Object.assign({},this.context,e))}warn(t,e){this.log(2,t,Object.assign({},this.context,e))}error(t,e){this.log(3,t,Object.assign({},this.context,e))}fatal(t,e){this.log(4,t,Object.assign({},this.context,e))}}e.ConsoleLogger=i},5058:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LoggerBuilder=void 0;var n=r(2200);e.LoggerBuilder=class{constructor(t){this.context={},this.factory=t}setApp(t){return this.context.app=t,this}setUid(t){return this.context.uid=t,this}detectUser(){const t=(0,n.getCurrentUser)();return null!==t&&(this.context.uid=t.uid),this}build(){return this.factory(this.context)}}},6:(t,e)=>{"use strict";let r;Object.defineProperty(e,"__esModule",{value:!0}),e.LogLevel=void 0,e.LogLevel=r,function(t){t.Debug="DEBUG",t.Info="INFO",t.Warn="WARN",t.Error="ERROR",t.Fatal="FATAL"}(r||(e.LogLevel=r={}))},7499:(t,e,r)=>{"use strict";e.IY=i;var n=r(1356),o=r(5058);function i(){return new o.LoggerBuilder(n.buildConsoleLogger)}},9753:(t,e,r)=>{"use strict";e.nu=void 0,r(2359);const n=(t,e,r)=>{const n=Object.assign({escape:!0},r||{});return"/"!==t.charAt(0)&&(t="/"+t),o=(o=e||{})||{},t.replace(/{([^{}]*)}/g,(function(t,e){var r=o[e];return n.escape?"string"==typeof r||"number"==typeof r?encodeURIComponent(r.toString()):encodeURIComponent(t):"string"==typeof r||"number"==typeof r?r.toString():t}));var o};e.nu=(t,e,r)=>{const o=Object.assign({noRewrite:!1},r||{});return!0!==OC.config.modRewriteWorking||o.noRewrite?i()+"/index.php"+n(t,e,r):i()+n(t,e,r)};const o=(t,e,r)=>{const n=-1!==OC.coreApps.indexOf(t);let o=i();return"php"!==r.substring(r.length-3)||n?"php"===r.substring(r.length-3)||n?(o+="settings"!==t&&"core"!==t&&"search"!==t||"ajax"!==e?"/":"/index.php/",n||(o+="apps/"),""!==t&&(o+=t+="/"),e&&(o+=e+"/"),o+=r):(o=OC.appswebroots[t],e&&(o+="/"+e+"/"),"/"!==o.substring(o.length-1)&&(o+="/"),o+=r):(o+="/index.php/apps/"+t,"index.php"!==r&&(o+="/",e&&(o+=encodeURI(e+"/")),o+=r)),o};const i=()=>OC.webroot},2310:(t,e,r)=>{"use strict";var n=r(5642).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},6943:(t,e,r)=>{var n=r(7199);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},3893:(t,e,r)=>{var n=r(8947),o=r(9917),i=r(4049),a=function(t){return function(e,r,a){var s,u=n(e),c=o(u.length),f=i(a,c);if(t&&r!=r){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},1672:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},2530:(t,e,r)=>{var n=r(8801),o=r(9652),i=r(3369),a=r(4769);t.exports=function(t,e){for(var r=o(e),s=a.f,u=i.f,c=0;c<r.length;c++){var f=r[c];n(t,f)||s(t,f,u(e,f))}}},8816:(t,e,r)=>{var n=r(9300),o=r(4769),i=r(3535);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},3535:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9300:(t,e,r)=>{var n=r(3349);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5085:(t,e,r)=>{var n=r(3005),o=r(7199),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},2320:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},935:(t,e,r)=>{var n=r(3005),o=r(3369).f,i=r(8816),a=r(5140),s=r(9398),u=r(2530),c=r(3675);t.exports=function(t,e){var r,f,l,p,h,d=t.target,y=t.global,v=t.stat;if(r=y?n:v?n[d]||s(d,{}):(n[d]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(r,f))&&h.value:r[f],!c(y?f:d+(v?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},3349:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},3748:(t,e,r)=>{"use strict";r(500);var n=r(5140),o=r(3349),i=r(8064),a=r(5960),s=r(8816),u=i("species"),c=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,l){var d=i(t),y=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),v=y&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!y||!v||"replace"===t&&(!c||!f||p)||"split"===t&&!h){var g=/./[d],m=r(d,""[t],(function(t,e,r,n,o){return e.exec===a?y&&!o?{done:!0,value:g.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[0],E=m[1];n(String.prototype,t,b),n(RegExp.prototype,d,2==e?function(t,e){return E.call(t,this,e)}:function(t){return E.call(t,this)})}l&&s(RegExp.prototype[d],"sham",!0)}},2679:(t,e,r)=>{var n=r(1146),o=r(3005),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},3005:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||Function("return this")()},8801:t=>{var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},1418:t=>{t.exports={}},3723:(t,e,r)=>{var n=r(9300),o=r(3349),i=r(5085);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},3833:(t,e,r)=>{var n=r(3349),o=r(1672),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},739:(t,e,r)=>{var n=r(7454),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},1864:(t,e,r)=>{var n,o,i,a=r(8442),s=r(3005),u=r(7199),c=r(8816),f=r(8801),l=r(2051),p=r(1418),h=s.WeakMap;if(a){var d=new h,y=d.get,v=d.has,g=d.set;n=function(t,e){return g.call(d,t,e),e},o=function(t){return y.call(d,t)||{}},i=function(t){return v.call(d,t)}}else{var m=l("state");p[m]=!0,n=function(t,e){return c(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},3675:(t,e,r)=>{var n=r(3349),o=/#|\.prototype\./,i=function(t,e){var r=s[a(t)];return r==c||r!=u&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";t.exports=i},7199:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},8057:t=>{t.exports=!1},9950:(t,e,r)=>{var n=r(3349);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},8442:(t,e,r)=>{var n=r(3005),o=r(739),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},4769:(t,e,r)=>{var n=r(9300),o=r(3723),i=r(6943),a=r(7509),s=Object.defineProperty;e.f=n?s:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},3369:(t,e,r)=>{var n=r(9300),o=r(1183),i=r(3535),a=r(8947),s=r(7509),u=r(8801),c=r(3723),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=s(e,!0),c)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},2787:(t,e,r)=>{var n=r(2307),o=r(2320).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},2659:(t,e)=>{e.f=Object.getOwnPropertySymbols},2307:(t,e,r)=>{var n=r(8801),o=r(8947),i=r(3893).indexOf,a=r(1418);t.exports=function(t,e){var r,s=o(t),u=0,c=[];for(r in s)!n(a,r)&&n(s,r)&&c.push(r);for(;e.length>u;)n(s,r=e[u++])&&(~i(c,r)||c.push(r));return c}},1183:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},9652:(t,e,r)=>{var n=r(2679),o=r(2787),i=r(2659),a=r(6943);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=i.f;return r?e.concat(r(t)):e}},1146:(t,e,r)=>{var n=r(3005);t.exports=n},5140:(t,e,r)=>{var n=r(3005),o=r(8816),i=r(8801),a=r(9398),s=r(739),u=r(1864),c=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,r,s){var u=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),f(r).source=l.join("string"==typeof e?e:"")),t!==n?(u?!p&&t[e]&&(c=!0):delete t[e],c?t[e]=r:o(t,e,r)):c?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},681:(t,e,r)=>{var n=r(1672),o=r(5960);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},5960:(t,e,r)=>{"use strict";var n,o,i=r(3807),a=r(5618),s=RegExp.prototype.exec,u=String.prototype.replace,c=s,f=(n=/a/,o=/b*/g,s.call(n,"a"),s.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(f||p||l)&&(c=function(t){var e,r,n,o,a=this,c=l&&a.sticky,h=i.call(a),d=a.source,y=0,v=t;return c&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),v=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(d="(?: "+d+")",v=" "+v,y++),r=new RegExp("^(?:"+d+")",h)),p&&(r=new RegExp("^"+d+"$(?!\\s)",h)),f&&(e=a.lastIndex),n=s.call(c?r:a,v),c?n?(n.input=n.input.slice(y),n[0]=n[0].slice(y),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:f&&n&&(a.lastIndex=a.global?n.index+n[0].length:e),p&&n&&n.length>1&&u.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=c},3807:(t,e,r)=>{"use strict";var n=r(6943);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},5618:(t,e,r)=>{"use strict";var n=r(3349);function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},1992:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},9398:(t,e,r)=>{var n=r(3005),o=r(8816);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},2051:(t,e,r)=>{var n=r(7857),o=r(8814),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7454:(t,e,r)=>{var n=r(3005),o=r(9398),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},7857:(t,e,r)=>{var n=r(8057),o=r(7454);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},5642:(t,e,r)=>{var n=r(4064),o=r(1992),i=function(t){return function(e,r){var i,a,s=String(o(e)),u=n(r),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},4049:(t,e,r)=>{var n=r(4064),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},8947:(t,e,r)=>{var n=r(3833),o=r(1992);t.exports=function(t){return n(o(t))}},4064:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},9917:(t,e,r)=>{var n=r(4064),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},4561:(t,e,r)=>{var n=r(1992);t.exports=function(t){return Object(n(t))}},7509:(t,e,r)=>{var n=r(7199);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},8814:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},3558:(t,e,r)=>{var n=r(9950);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8064:(t,e,r)=>{var n=r(3005),o=r(7857),i=r(8801),a=r(8814),s=r(9950),u=r(3558),c=o("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(c,t)||(s&&i(f,t)?c[t]=f[t]:c[t]=l("Symbol."+t)),c[t]}},500:(t,e,r)=>{"use strict";var n=r(935),o=r(5960);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},2359:(t,e,r)=>{"use strict";var n=r(3748),o=r(6943),i=r(4561),a=r(9917),s=r(4064),u=r(1992),c=r(2310),f=r(681),l=Math.max,p=Math.min,h=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,y=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,r,n){var v=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,m=v?"$":"$0";return[function(r,n){var o=u(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!v&&g||"string"==typeof n&&-1===n.indexOf(m)){var i=r(e,t,this,n);if(i.done)return i.value}var u=o(t),h=String(this),d="function"==typeof n;d||(n=String(n));var y=u.global;if(y){var E=u.unicode;u.lastIndex=0}for(var w=[];;){var A=f(u,h);if(null===A)break;if(w.push(A),!y)break;""===String(A[0])&&(u.lastIndex=c(h,a(u.lastIndex),E))}for(var O,S="",x=0,_=0;_<w.length;_++){A=w[_];for(var I=String(A[0]),R=l(p(s(A.index),h.length),0),T=[],N=1;N<A.length;N++)T.push(void 0===(O=A[N])?O:String(O));var P=A.groups;if(d){var C=[I].concat(T,R,h);void 0!==P&&C.push(P);var j=String(n.apply(void 0,C))}else j=b(I,h,R,T,P,n);R>=x&&(S+=h.slice(x,R)+j,x=R+I.length)}return S+h.slice(x)}];function b(t,r,n,o,a,s){var u=n+t.length,c=o.length,f=y;return void 0!==a&&(a=i(a),f=d),e.call(s,f,(function(e,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>c){var l=h(f/10);return 0===l?e:l<=c?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}s=o[f-1]}return void 0===s?"":s}))}}))},9282:(t,e,r)=>{"use strict";var n=r(4155),o=r(5108);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}var a,s,u=r(2136).codes,c=u.ERR_AMBIGUOUS_ARGUMENT,f=u.ERR_INVALID_ARG_TYPE,l=u.ERR_INVALID_ARG_VALUE,p=u.ERR_INVALID_RETURN_VALUE,h=u.ERR_MISSING_ARGS,d=r(5961),y=r(9539).inspect,v=r(9539).types,g=v.isPromise,m=v.isRegExp,b=Object.assign?Object.assign:r(8091).assign,E=Object.is?Object.is:r(609);new Map;function w(){var t=r(9158);a=t.isDeepEqual,s=t.isDeepStrictEqual}var A=!1,O=t.exports=I,S={};function x(t){if(t.message instanceof Error)throw t.message;throw new d(t)}function _(t,e,r,n){if(!r){var o=!1;if(0===e)o=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var i=new d({actual:r,expected:!0,message:n,operator:"==",stackStartFn:t});throw i.generatedMessage=o,i}}function I(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];_.apply(void 0,[I,e.length].concat(e))}O.fail=function t(e,r,i,a,s){var u,c=arguments.length;if(0===c)u="Failed";else if(1===c)i=e,e=void 0;else{if(!1===A){A=!0;var f=n.emitWarning?n.emitWarning:o.warn.bind(o);f("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===c&&(a="!=")}if(i instanceof Error)throw i;var l={actual:e,expected:r,operator:void 0===a?"fail":a,stackStartFn:s||t};void 0!==i&&(l.message=i);var p=new d(l);throw u&&(p.message=u,p.generatedMessage=!0),p},O.AssertionError=d,O.ok=I,O.equal=function t(e,r,n){if(arguments.length<2)throw new h("actual","expected");e!=r&&x({actual:e,expected:r,message:n,operator:"==",stackStartFn:t})},O.notEqual=function t(e,r,n){if(arguments.length<2)throw new h("actual","expected");e==r&&x({actual:e,expected:r,message:n,operator:"!=",stackStartFn:t})},O.deepEqual=function t(e,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===a&&w(),a(e,r)||x({actual:e,expected:r,message:n,operator:"deepEqual",stackStartFn:t})},O.notDeepEqual=function t(e,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===a&&w(),a(e,r)&&x({actual:e,expected:r,message:n,operator:"notDeepEqual",stackStartFn:t})},O.deepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===a&&w(),s(e,r)||x({actual:e,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:t})},O.notDeepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new h("actual","expected");void 0===a&&w();s(e,r)&&x({actual:e,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:t})},O.strictEqual=function t(e,r,n){if(arguments.length<2)throw new h("actual","expected");E(e,r)||x({actual:e,expected:r,message:n,operator:"strictEqual",stackStartFn:t})},O.notStrictEqual=function t(e,r,n){if(arguments.length<2)throw new h("actual","expected");E(e,r)&&x({actual:e,expected:r,message:n,operator:"notStrictEqual",stackStartFn:t})};var R=function t(e,r,n){var o=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r.forEach((function(t){t in e&&(void 0!==n&&"string"==typeof n[t]&&m(e[t])&&e[t].test(n[t])?o[t]=n[t]:o[t]=e[t])}))};function T(t,e,r,n,o,i){if(!(r in t)||!s(t[r],e[r])){if(!n){var a=new R(t,o),u=new R(e,o,t),c=new d({actual:a,expected:u,operator:"deepStrictEqual",stackStartFn:i});throw c.actual=t,c.expected=e,c.operator=i.name,c}x({actual:t,expected:e,message:n,operator:i.name,stackStartFn:i})}}function N(t,e,r,n){if("function"!=typeof e){if(m(e))return e.test(t);if(2===arguments.length)throw new f("expected",["Function","RegExp"],e);if("object"!==i(t)||null===t){var o=new d({actual:t,expected:e,message:r,operator:"deepStrictEqual",stackStartFn:n});throw o.operator=n.name,o}var s=Object.keys(e);if(e instanceof Error)s.push("name","message");else if(0===s.length)throw new l("error",e,"may not be an empty object");return void 0===a&&w(),s.forEach((function(o){"string"==typeof t[o]&&m(e[o])&&e[o].test(t[o])||T(t,e,o,r,s,n)})),!0}return void 0!==e.prototype&&t instanceof e||!Error.isPrototypeOf(e)&&!0===e.call({},t)}function P(t){if("function"!=typeof t)throw new f("fn","Function",t);try{t()}catch(t){return t}return S}function C(t){return g(t)||null!==t&&"object"===i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function j(t){return Promise.resolve().then((function(){var e;if("function"==typeof t){if(!C(e=t()))throw new p("instance of Promise","promiseFn",e)}else{if(!C(t))throw new f("promiseFn",["Function","Promise"],t);e=t}return Promise.resolve().then((function(){return e})).then((function(){return S})).catch((function(t){return t}))}))}function L(t,e,r,n){if("string"==typeof r){if(4===arguments.length)throw new f("error",["Object","Error","Function","RegExp"],r);if("object"===i(e)&&null!==e){if(e.message===r)throw new c("error/message",'The error message "'.concat(e.message,'" is identical to the message.'))}else if(e===r)throw new c("error/message",'The error "'.concat(e,'" is identical to the message.'));n=r,r=void 0}else if(null!=r&&"object"!==i(r)&&"function"!=typeof r)throw new f("error",["Object","Error","Function","RegExp"],r);if(e===S){var o="";r&&r.name&&(o+=" (".concat(r.name,")")),o+=n?": ".concat(n):".";var a="rejects"===t.name?"rejection":"exception";x({actual:void 0,expected:r,operator:t.name,message:"Missing expected ".concat(a).concat(o),stackStartFn:t})}if(r&&!N(e,r,n,t))throw e}function B(t,e,r,n){if(e!==S){if("string"==typeof r&&(n=r,r=void 0),!r||N(e,r)){var o=n?": ".concat(n):".",i="doesNotReject"===t.name?"rejection":"exception";x({actual:e,expected:r,operator:t.name,message:"Got unwanted ".concat(i).concat(o,"\n")+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:t})}throw e}}function $(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];_.apply(void 0,[$,e.length].concat(e))}O.throws=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];L.apply(void 0,[t,P(e)].concat(n))},O.rejects=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return j(e).then((function(e){return L.apply(void 0,[t,e].concat(n))}))},O.doesNotThrow=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];B.apply(void 0,[t,P(e)].concat(n))},O.doesNotReject=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return j(e).then((function(e){return B.apply(void 0,[t,e].concat(n))}))},O.ifError=function t(e){if(null!=e){var r="ifError got unwanted exception: ";"object"===i(e)&&"string"==typeof e.message?0===e.message.length&&e.constructor?r+=e.constructor.name:r+=e.message:r+=y(e);var n=new d({actual:e,expected:null,operator:"ifError",message:r,stackStartFn:t}),o=e.stack;if("string"==typeof o){var a=o.split("\n");a.shift();for(var s=n.stack.split("\n"),u=0;u<a.length;u++){var c=s.indexOf(a[u]);if(-1!==c){s=s.slice(0,c);break}}n.stack="".concat(s.join("\n"),"\n").concat(a.join("\n"))}throw n}},O.strict=b($,O,{equal:O.strictEqual,deepEqual:O.deepStrictEqual,notEqual:O.notStrictEqual,notDeepEqual:O.notDeepStrictEqual}),O.strict.strict=O.strict},5961:(t,e,r)=>{"use strict";var n=r(4155);function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?s(t):e}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t){var e="function"==typeof Map?new Map:void 0;return u=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return f(t,arguments,p(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l(n,t)},u(t)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function f(t,e,r){return f=c()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&l(o,r.prototype),o},f.apply(null,arguments)}function l(t,e){return l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},l(t,e)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}var d=r(9539).inspect,y=r(2136).codes.ERR_INVALID_ARG_TYPE;function v(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}var g="",m="",b="",E="",w={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function A(t){var e=Object.keys(t),r=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){r[e]=t[e]})),Object.defineProperty(r,"message",{value:t.message}),r}function O(t){return d(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function S(t,e,r){var o="",i="",a=0,s="",u=!1,c=O(t),f=c.split("\n"),l=O(e).split("\n"),p=0,d="";if("strictEqual"===r&&"object"===h(t)&&"object"===h(e)&&null!==t&&null!==e&&(r="strictEqualObject"),1===f.length&&1===l.length&&f[0]!==l[0]){var y=f[0].length+l[0].length;if(y<=10){if(!("object"===h(t)&&null!==t||"object"===h(e)&&null!==e||0===t&&0===e))return"".concat(w[r],"\n\n")+"".concat(f[0]," !== ").concat(l[0],"\n")}else if("strictEqualObject"!==r){if(y<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;f[0][p]===l[0][p];)p++;p>2&&(d="\n  ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var r=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,r-t.length)}(" ",p),"^"),p=0)}}}for(var A=f[f.length-1],S=l[l.length-1];A===S&&(p++<2?s="\n  ".concat(A).concat(s):o=A,f.pop(),l.pop(),0!==f.length&&0!==l.length);)A=f[f.length-1],S=l[l.length-1];var x=Math.max(f.length,l.length);if(0===x){var _=c.split("\n");if(_.length>30)for(_[26]="".concat(g,"...").concat(E);_.length>27;)_.pop();return"".concat(w.notIdentical,"\n\n").concat(_.join("\n"),"\n")}p>3&&(s="\n".concat(g,"...").concat(E).concat(s),u=!0),""!==o&&(s="\n  ".concat(o).concat(s),o="");var I=0,R=w[r]+"\n".concat(m,"+ actual").concat(E," ").concat(b,"- expected").concat(E),T=" ".concat(g,"...").concat(E," Lines skipped");for(p=0;p<x;p++){var N=p-a;if(f.length<p+1)N>1&&p>2&&(N>4?(i+="\n".concat(g,"...").concat(E),u=!0):N>3&&(i+="\n  ".concat(l[p-2]),I++),i+="\n  ".concat(l[p-1]),I++),a=p,o+="\n".concat(b,"-").concat(E," ").concat(l[p]),I++;else if(l.length<p+1)N>1&&p>2&&(N>4?(i+="\n".concat(g,"...").concat(E),u=!0):N>3&&(i+="\n  ".concat(f[p-2]),I++),i+="\n  ".concat(f[p-1]),I++),a=p,i+="\n".concat(m,"+").concat(E," ").concat(f[p]),I++;else{var P=l[p],C=f[p],j=C!==P&&(!v(C,",")||C.slice(0,-1)!==P);j&&v(P,",")&&P.slice(0,-1)===C&&(j=!1,C+=","),j?(N>1&&p>2&&(N>4?(i+="\n".concat(g,"...").concat(E),u=!0):N>3&&(i+="\n  ".concat(f[p-2]),I++),i+="\n  ".concat(f[p-1]),I++),a=p,i+="\n".concat(m,"+").concat(E," ").concat(C),o+="\n".concat(b,"-").concat(E," ").concat(P),I+=2):(i+=o,o="",1!==N&&0!==p||(i+="\n  ".concat(C),I++))}if(I>20&&p<x-2)return"".concat(R).concat(T,"\n").concat(i,"\n").concat(g,"...").concat(E).concat(o,"\n")+"".concat(g,"...").concat(E)}return"".concat(R).concat(u?T:"","\n").concat(i).concat(o).concat(s).concat(d)}var x=function(t){function e(t){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),"object"!==h(t)||null===t)throw new y("options","Object",t);var o=t.message,i=t.operator,u=t.stackStartFn,c=t.actual,f=t.expected,l=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=o)r=a(this,p(e).call(this,String(o)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(g="",m="",E="",b=""):(g="",m="",E="",b="")),"object"===h(c)&&null!==c&&"object"===h(f)&&null!==f&&"stack"in c&&c instanceof Error&&"stack"in f&&f instanceof Error&&(c=A(c),f=A(f)),"deepStrictEqual"===i||"strictEqual"===i)r=a(this,p(e).call(this,S(c,f,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var d=w[i],v=O(c).split("\n");if("notStrictEqual"===i&&"object"===h(c)&&null!==c&&(d=w.notStrictEqualObject),v.length>30)for(v[26]="".concat(g,"...").concat(E);v.length>27;)v.pop();r=1===v.length?a(this,p(e).call(this,"".concat(d," ").concat(v[0]))):a(this,p(e).call(this,"".concat(d,"\n\n").concat(v.join("\n"),"\n")))}else{var x=O(c),_="",I=w[i];"notDeepEqual"===i||"notEqual"===i?(x="".concat(w[i],"\n\n").concat(x)).length>1024&&(x="".concat(x.slice(0,1021),"...")):(_="".concat(O(f)),x.length>512&&(x="".concat(x.slice(0,509),"...")),_.length>512&&(_="".concat(_.slice(0,509),"...")),"deepEqual"===i||"equal"===i?x="".concat(I,"\n\n").concat(x,"\n\nshould equal\n\n"):_=" ".concat(i," ").concat(_)),r=a(this,p(e).call(this,"".concat(x).concat(_)))}return Error.stackTraceLimit=l,r.generatedMessage=!o,Object.defineProperty(s(r),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),r.code="ERR_ASSERTION",r.actual=c,r.expected=f,r.operator=i,Error.captureStackTrace&&Error.captureStackTrace(s(r),u),r.stack,r.name="AssertionError",a(r)}var r,u,c;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(e,t),r=e,u=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:d.custom,value:function(t,e){return d(this,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){o(t,e,r[e])}))}return t}({},e,{customInspect:!1,depth:0}))}}],u&&i(r.prototype,u),c&&i(r,c),e}(u(Error));t.exports=x},2136:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function a(t,e){return a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},a(t,e)}var s,u,c={};function f(t,e,r){r||(r=Error);var n=function(r){function n(r,a,s){var u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),u=o(this,i(n).call(this,function(t,r,n){return"string"==typeof e?e:e(t,r,n)}(r,a,s))),u.code=t,u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,r),n}(r);c[t]=n}function l(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}f("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),f("ERR_INVALID_ARG_TYPE",(function(t,e,o){var i,a,u,c;if(void 0===s&&(s=r(9282)),s("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(a="not ",e.substr(!u||u<0?0:+u,a.length)===a)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))c="The ".concat(t," ").concat(i," ").concat(l(e,"type"));else{var f=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";c='The "'.concat(t,'" ').concat(f," ").concat(i," ").concat(l(e,"type"))}return c+=". Received type ".concat(n(o))}),TypeError),f("ERR_INVALID_ARG_VALUE",(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===u&&(u=r(9539));var o=u.inspect(e);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(o)}),TypeError,RangeError),f("ERR_INVALID_RETURN_VALUE",(function(t,e,r){var o;return o=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(o,".")}),TypeError),f("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];void 0===s&&(s=r(9282)),s(e.length>0,"At least one arg needs to be specified");var o="The ",i=e.length;switch(e=e.map((function(t){return'"'.concat(t,'"')})),i){case 1:o+="".concat(e[0]," argument");break;case 2:o+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:o+=e.slice(0,i-1).join(", "),o+=", and ".concat(e[i-1]," arguments")}return"".concat(o," must be specified")}),TypeError),t.exports.codes=c},9158:(t,e,r)=>{"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var i=void 0!==/a/g.flags,a=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},s=function(t){var e=[];return t.forEach((function(t,r){return e.push([r,t])})),e},u=Object.is?Object.is:r(609),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},f=Number.isNaN?Number.isNaN:r(360);function l(t){return t.call.bind(t)}var p=l(Object.prototype.hasOwnProperty),h=l(Object.prototype.propertyIsEnumerable),d=l(Object.prototype.toString),y=r(9539).types,v=y.isAnyArrayBuffer,g=y.isArrayBufferView,m=y.isDate,b=y.isMap,E=y.isRegExp,w=y.isSet,A=y.isNativeError,O=y.isBoxedPrimitive,S=y.isNumberObject,x=y.isStringObject,_=y.isBooleanObject,I=y.isBigIntObject,R=y.isSymbolObject,T=y.isFloat32Array,N=y.isFloat64Array;function P(t){if(0===t.length||t.length>10)return!0;for(var e=0;e<t.length;e++){var r=t.charCodeAt(e);if(r<48||r>57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function C(t){return Object.keys(t).filter(P).concat(c(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function j(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0}function L(t,e,r,n){if(t===e)return 0!==t||(!r||u(t,e));if(r){if("object"!==o(t))return"number"==typeof t&&f(t)&&f(e);if("object"!==o(e)||null===t||null===e)return!1;if(Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1}else{if(null===t||"object"!==o(t))return(null===e||"object"!==o(e))&&t==e;if(null===e||"object"!==o(e))return!1}var a,s,c,l,p=d(t);if(p!==d(e))return!1;if(Array.isArray(t)){if(t.length!==e.length)return!1;var h=C(t),y=C(e);return h.length===y.length&&$(t,e,r,n,1,h)}if("[object Object]"===p&&(!b(t)&&b(e)||!w(t)&&w(e)))return!1;if(m(t)){if(!m(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return!1}else if(E(t)){if(!E(e)||(c=t,l=e,!(i?c.source===l.source&&c.flags===l.flags:RegExp.prototype.toString.call(c)===RegExp.prototype.toString.call(l))))return!1}else if(A(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return!1}else{if(g(t)){if(r||!T(t)&&!N(t)){if(!function(t,e){return t.byteLength===e.byteLength&&0===j(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}(t,e))return!1}else if(!function(t,e){if(t.byteLength!==e.byteLength)return!1;for(var r=0;r<t.byteLength;r++)if(t[r]!==e[r])return!1;return!0}(t,e))return!1;var P=C(t),L=C(e);return P.length===L.length&&$(t,e,r,n,0,P)}if(w(t))return!(!w(e)||t.size!==e.size)&&$(t,e,r,n,2);if(b(t))return!(!b(e)||t.size!==e.size)&&$(t,e,r,n,3);if(v(t)){if(s=e,(a=t).byteLength!==s.byteLength||0!==j(new Uint8Array(a),new Uint8Array(s)))return!1}else if(O(t)&&!function(t,e){return S(t)?S(e)&&u(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e)):x(t)?x(e)&&String.prototype.valueOf.call(t)===String.prototype.valueOf.call(e):_(t)?_(e)&&Boolean.prototype.valueOf.call(t)===Boolean.prototype.valueOf.call(e):I(t)?I(e)&&BigInt.prototype.valueOf.call(t)===BigInt.prototype.valueOf.call(e):R(e)&&Symbol.prototype.valueOf.call(t)===Symbol.prototype.valueOf.call(e)}(t,e))return!1}return $(t,e,r,n,0)}function B(t,e){return e.filter((function(e){return h(t,e)}))}function $(t,e,r,n,o,i){if(5===arguments.length){i=Object.keys(t);var a=Object.keys(e);if(i.length!==a.length)return!1}for(var s=0;s<i.length;s++)if(!p(e,i[s]))return!1;if(r&&5===arguments.length){var u=c(t);if(0!==u.length){var f=0;for(s=0;s<u.length;s++){var l=u[s];if(h(t,l)){if(!h(e,l))return!1;i.push(l),f++}else if(h(e,l))return!1}var d=c(e);if(u.length!==d.length&&B(e,d).length!==f)return!1}else{var y=c(e);if(0!==y.length&&0!==B(e,y).length)return!1}}if(0===i.length&&(0===o||1===o&&0===t.length||0===t.size))return!0;if(void 0===n)n={val1:new Map,val2:new Map,position:0};else{var v=n.val1.get(t);if(void 0!==v){var g=n.val2.get(e);if(void 0!==g)return v===g}n.position++}n.val1.set(t,n.position),n.val2.set(e,n.position);var m=G(t,e,r,i,n,o);return n.val1.delete(t),n.val2.delete(e),m}function k(t,e,r,n){for(var o=a(t),i=0;i<o.length;i++){var s=o[i];if(L(e,s,r,n))return t.delete(s),!0}return!1}function U(t){switch(o(t)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":t=+t;case"number":if(f(t))return!1}return!0}function M(t,e,r){var n=U(r);return null!=n?n:e.has(n)&&!t.has(n)}function D(t,e,r,n,o){var i=U(r);if(null!=i)return i;var a=e.get(i);return!(void 0===a&&!e.has(i)||!L(n,a,!1,o))&&(!t.has(i)&&L(n,a,!1,o))}function F(t,e,r,n,o,i){for(var s=a(t),u=0;u<s.length;u++){var c=s[u];if(L(r,c,o,i)&&L(n,e.get(c),o,i))return t.delete(c),!0}return!1}function G(t,e,r,i,u,c){var f=0;if(2===c){if(!function(t,e,r,n){for(var i=null,s=a(t),u=0;u<s.length;u++){var c=s[u];if("object"===o(c)&&null!==c)null===i&&(i=new Set),i.add(c);else if(!e.has(c)){if(r)return!1;if(!M(t,e,c))return!1;null===i&&(i=new Set),i.add(c)}}if(null!==i){for(var f=a(e),l=0;l<f.length;l++){var p=f[l];if("object"===o(p)&&null!==p){if(!k(i,p,r,n))return!1}else if(!r&&!t.has(p)&&!k(i,p,r,n))return!1}return 0===i.size}return!0}(t,e,r,u))return!1}else if(3===c){if(!function(t,e,r,i){for(var a=null,u=s(t),c=0;c<u.length;c++){var f=n(u[c],2),l=f[0],p=f[1];if("object"===o(l)&&null!==l)null===a&&(a=new Set),a.add(l);else{var h=e.get(l);if(void 0===h&&!e.has(l)||!L(p,h,r,i)){if(r)return!1;if(!D(t,e,l,p,i))return!1;null===a&&(a=new Set),a.add(l)}}}if(null!==a){for(var d=s(e),y=0;y<d.length;y++){var v=n(d[y],2),g=(l=v[0],v[1]);if("object"===o(l)&&null!==l){if(!F(a,t,l,g,r,i))return!1}else if(!(r||t.has(l)&&L(t.get(l),g,!1,i)||F(a,t,l,g,!1,i)))return!1}return 0===a.size}return!0}(t,e,r,u))return!1}else if(1===c)for(;f<t.length;f++){if(!p(t,f)){if(p(e,f))return!1;for(var l=Object.keys(t);f<l.length;f++){var h=l[f];if(!p(e,h)||!L(t[h],e[h],r,u))return!1}return l.length===Object.keys(e).length}if(!p(e,f)||!L(t[f],e[f],r,u))return!1}for(f=0;f<i.length;f++){var d=i[f];if(!L(t[d],e[d],r,u))return!1}return!0}t.exports={isDeepEqual:function(t,e){return L(t,e,false)},isDeepStrictEqual:function(t,e){return L(t,e,true)}}},9669:(t,e,r)=>{t.exports=r(1609)},5448:(t,e,r)=>{"use strict";var n=r(4867),o=r(6026),i=r(4372),a=r(5327),s=r(4097),u=r(4109),c=r(7985),f=r(7874),l=r(2648),p=r(644),h=r(205);t.exports=function(t){return new Promise((function(e,r){var d,y=t.data,v=t.headers,g=t.responseType;function m(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}n.isFormData(y)&&n.isStandardBrowserEnv()&&delete v["Content-Type"];var b=new XMLHttpRequest;if(t.auth){var E=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(E+":"+w)}var A=s(t.baseURL,t.url);function O(){if(b){var n="getAllResponseHeaders"in b?u(b.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:n,config:t,request:b};o((function(t){e(t),m()}),(function(t){r(t),m()}),i),b=null}}if(b.open(t.method.toUpperCase(),a(A,t.params,t.paramsSerializer),!0),b.timeout=t.timeout,"onloadend"in b?b.onloadend=O:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(O)},b.onabort=function(){b&&(r(new l("Request aborted",l.ECONNABORTED,t,b)),b=null)},b.onerror=function(){r(new l("Network Error",l.ERR_NETWORK,t,b,b)),b=null},b.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||f;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new l(e,n.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,t,b)),b=null},n.isStandardBrowserEnv()){var S=(t.withCredentials||c(A))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;S&&(v[t.xsrfHeaderName]=S)}"setRequestHeader"in b&&n.forEach(v,(function(t,e){void 0===y&&"content-type"===e.toLowerCase()?delete v[e]:b.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(b.withCredentials=!!t.withCredentials),g&&"json"!==g&&(b.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&b.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){b&&(r(!t||t&&t.type?new p:t),b.abort(),b=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),y||(y=null);var x=h(A);x&&-1===["http","https","file"].indexOf(x)?r(new l("Unsupported protocol "+x+":",l.ERR_BAD_REQUEST,t)):b.send(y)}))}},1609:(t,e,r)=>{"use strict";var n=r(4867),o=r(1849),i=r(321),a=r(7185);var s=function t(e){var r=new i(e),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return t(a(e,r))},s}(r(5546));s.Axios=i,s.CanceledError=r(644),s.CancelToken=r(4972),s.isCancel=r(6502),s.VERSION=r(7288).version,s.toFormData=r(7675),s.AxiosError=r(2648),s.Cancel=s.CanceledError,s.all=function(t){return Promise.all(t)},s.spread=r(8713),s.isAxiosError=r(6268),t.exports=s,t.exports.default=s},4972:(t,e,r)=>{"use strict";var n=r(644);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},644:(t,e,r)=>{"use strict";var n=r(2648);function o(t){n.call(this,null==t?"canceled":t,n.ERR_CANCELED),this.name="CanceledError"}r(4867).inherits(o,n,{__CANCEL__:!0}),t.exports=o},6502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:(t,e,r)=>{"use strict";var n=r(4867),o=r(5327),i=r(782),a=r(3572),s=r(7185),u=r(4097),c=r(790),f=c.validators;function l(t){this.defaults=t,this.interceptors={request:new i,response:new i}}l.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:f.transitional(f.boolean),forcedJSONParsing:f.transitional(f.boolean),clarifyTimeoutError:f.transitional(f.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)})),!o){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(u),i=Promise.resolve(e);l.length;)i=i.then(l.shift(),l.shift());return i}for(var p=e;n.length;){var h=n.shift(),d=n.shift();try{p=h(p)}catch(t){d(t);break}}try{i=a(p)}catch(t){return Promise.reject(t)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},l.prototype.getUri=function(t){t=s(this.defaults,t);var e=u(t.baseURL,t.url);return o(e,t.params,t.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(s(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}l.prototype[t]=e(),l.prototype[t+"Form"]=e(!0)})),t.exports=l},2648:(t,e,r)=>{"use strict";var n=r(4867);function o(t,e,r,n,o){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}n.inherits(o,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=o.prototype,a={};["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"].forEach((function(t){a[t]={value:t}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(t,e,r,a,s,u){var c=Object.create(i);return n.toFlatObject(t,c,(function(t){return t!==Error.prototype})),o.call(c,t.message,e,r,a,s),c.name=t.name,u&&Object.assign(c,u),c},t.exports=o},782:(t,e,r)=>{"use strict";var n=r(4867);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},4097:(t,e,r)=>{"use strict";var n=r(1793),o=r(7303);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},3572:(t,e,r)=>{"use strict";var n=r(4867),o=r(8527),i=r(6502),a=r(5546),s=r(644);function u(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s}t.exports=function(t){return u(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return u(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},7185:(t,e,r)=>{"use strict";var n=r(4867);t.exports=function(t,e){e=e||{};var r={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(t[r],e[r])}function a(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function s(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(void 0,e[r])}function u(r){return r in e?o(t[r],e[r]):r in t?o(void 0,t[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials: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:u};return n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=c[t]||i,o=e(t);n.isUndefined(o)&&e!==u||(r[t]=o)})),r}},6026:(t,e,r)=>{"use strict";var n=r(2648);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}},8527:(t,e,r)=>{"use strict";var n=r(4867),o=r(5546);t.exports=function(t,e,r){var i=this||o;return n.forEach(r,(function(r){t=r.call(i,t,e)})),t}},5546:(t,e,r)=>{"use strict";var n=r(4155),o=r(4867),i=r(6016),a=r(2648),s=r(7874),u=r(7675),c={"Content-Type":"application/x-www-form-urlencoded"};function f(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var l,p={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(l=r(5448)),l),transformRequest:[function(t,e){if(i(e,"Accept"),i(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t))return t;if(o.isArrayBufferView(t))return t.buffer;if(o.isURLSearchParams(t))return f(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r,n=o.isObject(t),a=e&&e["Content-Type"];if((r=o.isFileList(t))||n&&"multipart/form-data"===a){var s=this.env&&this.env.FormData;return u(r?{"files[]":t}:t,s&&new s)}return n||"application/json"===a?(f(e,"application/json"),function(t,e,r){if(o.isString(t))try{return(e||JSON.parse)(t),o.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||p.transitional,r=e&&e.silentJSONParsing,n=e&&e.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||n&&o.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw a.from(t,a.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:r(1623)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(t){p.headers[t]={}})),o.forEach(["post","put","patch"],(function(t){p.headers[t]=o.merge(c)})),t.exports=p},7874:t=>{"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:t=>{t.exports={version:"0.27.2"}},1849:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},5327:(t,e,r)=>{"use strict";var n=r(4867);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(n.isURLSearchParams(e))i=e.toString();else{var a=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},7303:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:(t,e,r)=>{"use strict";var n=r(4867);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},6268:(t,e,r)=>{"use strict";var n=r(4867);t.exports=function(t){return n.isObject(t)&&!0===t.isAxiosError}},7985:(t,e,r)=>{"use strict";var n=r(4867);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},6016:(t,e,r)=>{"use strict";var n=r(4867);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},1623:t=>{t.exports=null},4109:(t,e,r)=>{"use strict";var n=r(4867),o=["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"];t.exports=function(t){var e,r,i,a={};return t?(n.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([r]):a[e]?a[e]+", "+r:r}})),a):a}},205:t=>{"use strict";t.exports=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}},8713:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},7675:(t,e,r)=>{"use strict";var n=r(8764).Buffer,o=r(4867);t.exports=function(t,e){e=e||new FormData;var r=[];function i(t){return null===t?"":o.isDate(t)?t.toISOString():o.isArrayBuffer(t)||o.isTypedArray(t)?"function"==typeof Blob?new Blob([t]):n.from(t):t}return function t(n,a){if(o.isPlainObject(n)||o.isArray(n)){if(-1!==r.indexOf(n))throw Error("Circular reference detected in "+a);r.push(n),o.forEach(n,(function(r,n){if(!o.isUndefined(r)){var s,u=a?a+"."+n:n;if(r&&!a&&"object"==typeof r)if(o.endsWith(n,"{}"))r=JSON.stringify(r);else if(o.endsWith(n,"[]")&&(s=o.toArray(r)))return void s.forEach((function(t){!o.isUndefined(t)&&e.append(u,i(t))}));t(r,u)}})),r.pop()}else e.append(a,i(n))}(t),e}},790:(t,e,r)=>{"use strict";var n=r(5108),o=r(7288).version,i=r(2648),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var s={};a.transitional=function(t,e,r){function a(t,e){return"[Axios v"+o+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,o,u){if(!1===t)throw new i(a(o," has been removed"+(e?" in "+e:"")),i.ERR_DEPRECATED);return e&&!s[o]&&(s[o]=!0,n.warn(a(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,u)}},t.exports={assertOptions:function(t,e,r){if("object"!=typeof t)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),o=n.length;o-- >0;){var a=n[o],s=e[a];if(s){var u=t[a],c=void 0===u||s(u,a,t);if(!0!==c)throw new i("option "+a+" must be "+c,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:a}},4867:(t,e,r)=>{"use strict";var n,o=r(1849),i=Object.prototype.toString,a=(n=Object.create(null),function(t){var e=i.call(t);return n[e]||(n[e]=e.slice(8,-1).toLowerCase())});function s(t){return t=t.toLowerCase(),function(e){return a(e)===t}}function u(t){return Array.isArray(t)}function c(t){return void 0===t}var f=s("ArrayBuffer");function l(t){return null!==t&&"object"==typeof t}function p(t){if("object"!==a(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var h=s("Date"),d=s("File"),y=s("Blob"),v=s("FileList");function g(t){return"[object Function]"===i.call(t)}var m=s("URLSearchParams");function b(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),u(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}var E,w=(E="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(t){return E&&t instanceof E});t.exports={isArray:u,isArrayBuffer:f,isBuffer:function(t){return null!==t&&!c(t)&&null!==t.constructor&&!c(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){var e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||i.call(t)===e||g(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&f(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:l,isPlainObject:p,isUndefined:c,isDate:h,isFile:d,isBlob:y,isFunction:g,isStream:function(t){return l(t)&&g(t.pipe)},isURLSearchParams:m,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:b,merge:function t(){var e={};function r(r,n){p(e[n])&&p(r)?e[n]=t(e[n],r):p(r)?e[n]=t({},r):u(r)?e[n]=r.slice():e[n]=r}for(var n=0,o=arguments.length;n<o;n++)b(arguments[n],r);return e},extend:function(t,e,r){return b(e,(function(e,n){t[n]=r&&"function"==typeof e?o(e,r):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,r,n){t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,r&&Object.assign(t.prototype,r)},toFlatObject:function(t,e,r){var n,o,i,a={};e=e||{};do{for(o=(n=Object.getOwnPropertyNames(t)).length;o-- >0;)a[i=n[o]]||(e[i]=t[i],a[i]=!0);t=Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:a,kindOfTest:s,endsWith:function(t,e,r){t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;var n=t.indexOf(e,r);return-1!==n&&n===r},toArray:function(t){if(!t)return null;var e=t.length;if(c(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r},isTypedArray:w,isFileList:v}},9742:(t,e)=>{"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,i=u(t),a=i[0],s=i[1],c=new o(function(t,e,r){return 3*(e+r)/4-r}(0,a,s)),f=0,l=s>0?a-4:a;for(r=0;r<l;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[f++]=e>>16&255,c[f++]=e>>8&255,c[f++]=255&e;2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[f++]=255&e);1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[f++]=e>>8&255,c[f++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],a=16383,s=0,u=n-o;s<u;s+=a)i.push(c(t,s,s+a>u?u:s+a));1===o?(e=t[n-1],i.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function c(t,e,n){for(var o,i,a=[],s=e;s<n;s+=3)o=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8764:(t,e,r)=>{"use strict";var n=r(5108);const o=r(9742),i=r(645),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},e.INSPECT_MAX_BYTES=50;const s=2147483647;function u(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,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return p(t)}return f(t,e,r)}function f(t,e,r){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 r=0|v(t,e);let n=u(r);const o=n.write(t,e);o!==r&&(n=n.slice(0,o));return n}(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 h(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,r);if("undefined"!=typeof SharedArrayBuffer&&(J(t,SharedArrayBuffer)||t&&J(t.buffer,SharedArrayBuffer)))return d(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return c.from(n,e,r);const o=function(t){if(c.isBuffer(t)){const e=0|y(t.length),r=u(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||K(t.length)?u(0):h(t);if("Buffer"===t.type&&Array.isArray(t.data))return h(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,r);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 p(t){return l(t),u(t<0?0:0|y(t))}function h(t){const e=t.length<0?0:0|y(t.length),r=u(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function d(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function y(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 r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return X(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Y(t).length;default:if(o)return n?-1:X(t).length;e=(""+e).toLowerCase(),o=!0}}function g(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return P(this,e,r);case"utf8":case"utf-8":return I(this,e,r);case"ascii":return T(this,e,r);case"latin1":case"binary":return N(this,e,r);case"base64":return _(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function m(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function b(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),K(r=+r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:E(t,e,r,n,o);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):E(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function E(t,e,r,n,o){let i,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){let n=-1;for(i=r;i<s;i++)if(c(t,i)===c(e,-1===n?0:i-n)){if(-1===n&&(n=i),i-n+1===u)return n*a}else-1!==n&&(i-=i-n),n=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){let r=!0;for(let n=0;n<u;n++)if(c(t,i+n)!==c(e,n)){r=!1;break}if(r)return i}return-1}function w(t,e,r,n){r=Number(r)||0;const o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;const i=e.length;let a;for(n>i/2&&(n=i/2),a=0;a<n;++a){const n=parseInt(e.substr(2*a,2),16);if(K(n))return a;t[r+a]=n}return a}function A(t,e,r,n){return W(X(e,t.length-r),t,r,n)}function O(t,e,r,n){return W(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function S(t,e,r,n){return W(Y(e),t,r,n)}function x(t,e,r,n){return W(function(t,e){let r,n,o;const i=[];for(let a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function _(t,e,r){return 0===e&&r===t.length?o.fromByteArray(t):o.fromByteArray(t.slice(e,r))}function I(t,e,r){r=Math.min(t.length,r);const n=[];let o=e;for(;o<r;){const e=t[o];let i=null,a=e>239?4:e>223?3:e>191?2:1;if(o+a<=r){let r,n,s,u;switch(a){case 1:e<128&&(i=e);break;case 2:r=t[o+1],128==(192&r)&&(u=(31&e)<<6|63&r,u>127&&(i=u));break;case 3:r=t[o+1],n=t[o+2],128==(192&r)&&128==(192&n)&&(u=(15&e)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(i=u));break;case 4:r=t[o+1],n=t[o+2],s=t[o+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&(u=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&s,u>65535&&u<1114112&&(i=u))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),o+=a}return function(t){const e=t.length;if(e<=R)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=R));return r}(n)}e.kMaxLength=s,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||void 0===n||"function"!=typeof n.error||n.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,r){return f(t,e,r)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(t,e,r){return function(t,e,r){return l(t),t<=0?u(t):void 0!==e?"string"==typeof r?u(t).fill(e,r):u(t).fill(e):u(t)}(t,e,r)},c.allocUnsafe=function(t){return p(t)},c.allocUnsafeSlow=function(t){return p(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 r=t.length,n=e.length;for(let o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?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 r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=c.allocUnsafe(e);let o=0;for(r=0;r<t.length;++r){let e=t[r];if(J(e,Uint8Array))o+e.length>n.length?(c.isBuffer(e)||(e=c.from(e)),e.copy(n,o)):Uint8Array.prototype.set.call(n,e,o);else{if(!c.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,o)}o+=e.length}return n},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)m(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)m(this,e,e+3),m(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)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},c.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?I(this,0,t):g.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 r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},a&&(c.prototype[a]=c.prototype.inspect),c.prototype.compare=function(t,e,r,n,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===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;let i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0);const s=Math.min(i,a),u=this.slice(n,o),f=t.slice(e,r);for(let t=0;t<s;++t)if(u[t]!==f[t]){i=u[t],a=f[t];break}return i<a?-1:a<i?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return b(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return b(this,t,e,r,!1)},c.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let i=!1;for(;;)switch(n){case"hex":return w(this,t,e,r);case"utf8":case"utf-8":return A(this,t,e,r);case"ascii":case"latin1":case"binary":return O(this,t,e,r);case"base64":return S(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const R=4096;function T(t,e,r){let n="";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function N(t,e,r){let n="";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function P(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let o="";for(let n=e;n<r;++n)o+=Z[t[n]];return o}function C(t,e,r){const n=t.slice(e,r);let o="";for(let t=0;t<n.length-1;t+=2)o+=String.fromCharCode(n[t]+256*n[t+1]);return o}function j(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function L(t,e,r,n,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(r+n>t.length)throw new RangeError("Index out of range")}function B(t,e,r,n,o){q(e,n,o,t,r,7);let i=Number(e&BigInt(4294967295));t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,r}function $(t,e,r,n,o){q(e,n,o,t,r,7);let i=Number(e&BigInt(4294967295));t[r+7]=i,i>>=8,t[r+6]=i,i>>=8,t[r+5]=i,i>>=8,t[r+4]=i;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=a,a>>=8,t[r+2]=a,a>>=8,t[r+1]=a,a>>=8,t[r]=a,r+8}function k(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function U(t,e,r,n,o){return e=+e,r>>>=0,o||k(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function M(t,e,r,n,o){return e=+e,r>>>=0,o||k(t,0,r,8),i.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);const n=this.subarray(t,e);return Object.setPrototypeOf(n,c.prototype),n},c.prototype.readUintLE=c.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t],o=1,i=0;for(;++i<e&&(o*=256);)n+=this[t+i]*o;return n},c.prototype.readUintBE=c.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t+--e],o=1;for(;e>0&&(o*=256);)n+=this[t+--e]*o;return n},c.prototype.readUint8=c.prototype.readUInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),this[t]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(t,e){return t>>>=0,e||j(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||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readBigUInt64LE=Q((function(t){z(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||V(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,o=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(o)<<BigInt(32))})),c.prototype.readBigUInt64BE=Q((function(t){z(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||V(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],o=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(o)})),c.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);let n=this[t],o=1,i=0;for(;++i<e&&(o*=256);)n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);let n=e,o=1,i=this[t+--n];for(;n>0&&(o*=256);)i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},c.prototype.readInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){t>>>=0,e||j(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){t>>>=0,e||j(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return t>>>=0,e||j(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||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readBigInt64LE=Q((function(t){z(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||V(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),c.prototype.readBigInt64BE=Q((function(t){z(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||V(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),c.prototype.readFloatLE=function(t,e){return t>>>=0,e||j(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return t>>>=0,e||j(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return t>>>=0,e||j(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return t>>>=0,e||j(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){L(this,t,e,r,Math.pow(2,8*r)-1,0)}let o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){L(this,t,e,r,Math.pow(2,8*r)-1,0)}let o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},c.prototype.writeUint8=c.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,255,0),this[e]=255&t,e+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(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,r){return t=+t,e>>>=0,r||L(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,r){return t=+t,e>>>=0,r||L(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,r){return t=+t,e>>>=0,r||L(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=Q((function(t,e=0){return B(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Q((function(t,e=0){return $(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);L(this,t,e,r,n-1,-n)}let o=0,i=1,a=0;for(this[e]=255&t;++o<r&&(i*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/i>>0)-a&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);L(this,t,e,r,n-1,-n)}let o=r-1,i=1,a=0;for(this[e+o]=255&t;--o>=0&&(i*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/i>>0)-a&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||L(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,r){return t=+t,e>>>=0,r||L(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=Q((function(t,e=0){return B(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Q((function(t,e=0){return $(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(t,e,r){return U(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return U(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return M(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return M(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(!c.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);const o=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),o},c.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){const e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{const i=c.isBuffer(t)?t:c.from(t,n),a=i.length;if(0===a)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=i[o%a]}return this};const D={};function F(t,e,r){D[t]=class extends r{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 G(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function q(t,e,r,n,o,i){if(t>r||t<e){const n="bigint"==typeof e?"n":"";let o;throw o=i>3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(i+1)}${n}`:`>= -(2${n} ** ${8*(i+1)-1}${n}) and < 2 ** ${8*(i+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new D.ERR_OUT_OF_RANGE("value",o,t)}!function(t,e,r){z(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||V(e,t.length-(r+1))}(n,o,i)}function z(t,e){if("number"!=typeof t)throw new D.ERR_INVALID_ARG_TYPE(e,"number",t)}function V(t,e,r){if(Math.floor(t)!==t)throw z(t,r),new D.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new D.ERR_BUFFER_OUT_OF_BOUNDS;throw new D.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?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,r){let n=`The value of "${t}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>2**32?o=G(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=G(o)),o+="n"),n+=` It must be ${e}. Received ${o}`,n}),RangeError);const H=/[^+/0-9A-Za-z-_]/g;function X(t,e){let r;e=e||1/0;const n=t.length;let o=null;const i=[];for(let a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Y(t){return o.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,r,n){let o;for(o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=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 Z=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let o=0;o<16;++o)e[n+o]=t[r]+t[o]}return e}();function Q(t){return"undefined"==typeof BigInt?tt:t}function tt(){throw new Error("BigInt not supported")}},1924:(t,e,r)=>{"use strict";var n=r(210),o=r(5559),i=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?o(r):r}},5559:(t,e,r)=>{"use strict";var n=r(8612),o=r(210),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(a,i),u=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),f=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){var e=s(n,a,arguments);if(u&&c){var r=u(e,"length");r.configurable&&c(e,"length",{value:1+f(0,t.length-(arguments.length-1))})}return e};var l=function(){return s(n,i,arguments)};c?c(t.exports,"apply",{value:l}):t.exports.apply=l},5108:(t,e,r)=>{var n=r(9539),o=r(9282);function i(){return(new Date).getTime()}var a,s=Array.prototype.slice,u={};a=void 0!==r.g&&r.g.console?r.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var c=[[function(){},"log"],[function(){a.log.apply(a,arguments)},"info"],[function(){a.log.apply(a,arguments)},"warn"],[function(){a.warn.apply(a,arguments)},"error"],[function(t){u[t]=i()},"time"],[function(t){var e=u[t];if(!e)throw new Error("No such label: "+t);delete u[t];var r=i()-e;a.log(t+": "+r+"ms")},"timeEnd"],[function(){var t=new Error;t.name="Trace",t.message=n.format.apply(null,arguments),a.error(t.stack)},"trace"],[function(t){a.log(n.inspect(t)+"\n")},"dir"],[function(t){if(!t){var e=s.call(arguments,1);o.ok(!1,n.format.apply(null,e))}},"assert"]],f=0;f<c.length;f++){var l=c[f],p=l[0],h=l[1];a[h]||(a[h]=p)}t.exports=a},7306:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([t.id,"\n.loading[data-v-257036a0] {\n\tmin-height: 50px;\n}\n","",{version:3,sources:["webpack://./src/components/LoginSetup.vue"],names:[],mappings:";AAiGA;CACA,gBAAA;AACA",sourcesContent:["\x3c!--\n  - @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n  -\n  - @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n  -\n  - @license GNU AGPL version 3 or any later version\n  -\n  - This program is free software: you can redistribute it and/or modify\n  - it under the terms of the GNU Affero General Public License as\n  - published by the Free Software Foundation, either version 3 of the\n  - License, or (at your option) any later version.\n  -\n  - This program is distributed in the hope that it will be useful,\n  - but WITHOUT ANY WARRANTY; without even the implied warranty of\n  - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n  - GNU Affero General Public License for more details.\n  -\n  - You should have received a copy of the GNU Affero General Public License\n  - along with this program.  If not, see <http://www.gnu.org/licenses/>.\n  --\x3e\n\n<template>\n\t<div>\n\t\t<div v-if=\"loading\" class=\"loading\" />\n\t\t<SetupConfirmation v-else\n\t\t\t:loading=\"confirmationLoading\"\n\t\t\t:secret=\"secret\"\n\t\t\t:qr-url=\"qrUrl\"\n\t\t\t:confirmation.sync=\"confirmation\"\n\t\t\t@confirm=\"confirm\" />\n\t\t<form ref=\"confirmForm\" method=\"POST\" />\n\t</div>\n</template>\n\n<script>\nimport Logger from '../logger'\nimport { saveState } from '../services/StateService'\nimport SetupConfirmation from './SetupConfirmation'\nimport STATE from '../state'\n\nexport default {\n\tname: 'LoginSetup',\n\tcomponents: {\n\t\tSetupConfirmation,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tloading: true,\n\t\t\tconfirmationLoading: false,\n\t\t\tsecret: '',\n\t\t\tqrUrl: '',\n\t\t\tconfirmation: '',\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.load()\n\t},\n\tmethods: {\n\t\tload() {\n\t\t\tthis.loading = true\n\t\t\tLogger.info('starting TOTP setup')\n\n\t\t\tsaveState({ state: STATE.STATE_CREATED }).then(\n\t\t\t\t({ secret, qrUrl }) => {\n\t\t\t\t\tLogger.info('TOTP secret received')\n\n\t\t\t\t\tthis.secret = secret\n\t\t\t\t\tthis.qrUrl = qrUrl\n\n\t\t\t\t\tthis.loading = false\n\t\t\t\t}\n\t\t\t)\n\t\t},\n\t\tconfirm() {\n\t\t\tthis.loading = true\n\n\t\t\tsaveState({\n\t\t\t\tstate: STATE.STATE_ENABLED,\n\t\t\t\tcode: this.confirmation,\n\t\t\t}).then(({ state }) => {\n\t\t\t\tif (state === STATE.STATE_ENABLED) {\n\t\t\t\t\tLogger.info('TOTP secret confirmed')\n\n\t\t\t\t\tLogger.info('todo: submit')\n\t\t\t\t\tthis.$refs.confirmForm.submit()\n\t\t\t\t} else {\n\t\t\t\t\tLogger.warn('TOTP confirmation failed')\n\n\t\t\t\t\tthis.loading = false\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t},\n}\n<\/script>\n\n<style scoped>\n.loading {\n\tmin-height: 50px;\n}\n</style>\n"],sourceRoot:""}]);const s=a},3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(a[u]=!0)}for(var c=0;c<t.length;c++){var f=[].concat(t[c]);n&&a[f[0]]||(void 0!==i&&(void 0===f[5]||(f[1]="@layer".concat(f[5].length>0?" ".concat(f[5]):""," {").concat(f[1],"}")),f[5]=i),r&&(f[2]?(f[1]="@media ".concat(f[2]," {").concat(f[1],"}"),f[2]=r):f[2]=r),o&&(f[4]?(f[1]="@supports (".concat(f[4],") {").concat(f[1],"}"),f[4]=o):f[4]="".concat(o)),e.push(f))}},e}},7537:t=>{"use strict";t.exports=function(t){var e=t[1],r=t[3];if(!r)return e;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),i="/*# ".concat(o," */"),a=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[e].concat(a).concat([i]).join("\n")}return[e].join("\n")}},4289:(t,e,r)=>{"use strict";var n=r(2215),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,u=s&&function(){var t={};try{for(var e in s(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch(t){return!1}}(),c=function(t,e,r,n){var o;(!(e in t)||"function"==typeof(o=n)&&"[object Function]"===i.call(o)&&n())&&(u?s(t,e,{configurable:!0,enumerable:!1,value:r,writable:!0}):t[e]=r)},f=function(t,e){var r=arguments.length>2?arguments[2]:{},i=n(e);o&&(i=a.call(i,Object.getOwnPropertySymbols(e)));for(var s=0;s<i.length;s+=1)c(t,i[s],e[i[s]],r[i[s]])};f.supportsDescriptors=!!u,t.exports=f},8091:t=>{"use strict";function e(t,e){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var r=Object(t),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var i=Object.keys(Object(o)),a=0,s=i.length;a<s;a++){var u=i[a],c=Object.getOwnPropertyDescriptor(o,u);void 0!==c&&c.enumerable&&(r[u]=o[u])}}return r}t.exports={assign:e,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:e})}}},9804:t=>{var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString;t.exports=function(t,n,o){if("[object Function]"!==r.call(n))throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var a=0;a<i;a++)n.call(o,t[a],a,t);else for(var s in t)e.call(t,s)&&n.call(o,t[s],s,t)}},7648:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var i=this;if("function"!=typeof i||n.call(i)!==o)throw new TypeError(e+i);for(var a,s=r.call(arguments,1),u=function(){if(this instanceof a){var e=i.apply(this,s.concat(r.call(arguments)));return Object(e)===e?e:this}return i.apply(t,s.concat(r.call(arguments)))},c=Math.max(0,i.length-s.length),f=[],l=0;l<c;l++)f.push("$"+l);if(a=Function("binder","return function ("+f.join(",")+"){ return binder.apply(this,arguments); }")(u),i.prototype){var p=function(){};p.prototype=i.prototype,a.prototype=new p,p.prototype=null}return a}},8612:(t,e,r)=>{"use strict";var n=r(7648);t.exports=Function.prototype.bind||n},210:(t,e,r)=>{"use strict";var n,o=SyntaxError,i=Function,a=TypeError,s=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var c=function(){throw new a},f=u?function(){try{return c}catch(t){try{return u(arguments,"callee").get}catch(t){return c}}}():c,l=r(1405)(),p=Object.getPrototypeOf||function(t){return t.__proto__},h={},d="undefined"==typeof Uint8Array?n:p(Uint8Array),y={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":l?p([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?p(p([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?p((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&l?p((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?p(""[Symbol.iterator]()):n,"%Symbol%":l?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":f,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},v=function t(e){var r;if("%AsyncFunction%"===e)r=s("async function () {}");else if("%GeneratorFunction%"===e)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=s("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=p(o.prototype))}return y[e]=r,r},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},m=r(8612),b=r(7642),E=m.call(Function.call,Array.prototype.concat),w=m.call(Function.apply,Array.prototype.splice),A=m.call(Function.call,String.prototype.replace),O=m.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,_=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return A(t,S,(function(t,e,r,o){n[n.length]=r?A(o,x,"$1"):e||t})),n},I=function(t,e){var r,n=t;if(b(g,n)&&(n="%"+(r=g[n])[0]+"%"),b(y,n)){var i=y[n];if(i===h&&(i=v(n)),void 0===i&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');var r=_(t),n=r.length>0?r[0]:"",i=I("%"+n+"%",e),s=i.name,c=i.value,f=!1,l=i.alias;l&&(n=l[0],w(r,E([0,1],l)));for(var p=1,h=!0;p<r.length;p+=1){var d=r[p],v=O(d,0,1),g=O(d,-1);if(('"'===v||"'"===v||"`"===v||'"'===g||"'"===g||"`"===g)&&v!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&h||(f=!0),b(y,s="%"+(n+="."+d)+"%"))c=y[s];else if(null!=c){if(!(d in c)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(u&&p+1>=r.length){var m=u(c,d);c=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[d]}else h=b(c,d),c=c[d];h&&!f&&(y[s]=c)}}return c}},1405:(t,e,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(5419);t.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},5419:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},6410:(t,e,r)=>{"use strict";var n=r(5419);t.exports=function(){return n()&&!!Symbol.toStringTag}},7642:(t,e,r)=>{"use strict";var n=r(8612);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},645:(t,e)=>{e.read=function(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,f=-7,l=r?o-1:0,p=r?-1:1,h=t[e+l];for(l+=p,i=h&(1<<-f)-1,h>>=-f,f+=s;f>0;i=256*i+t[e+l],l+=p,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;f>0;a=256*a+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var a,s,u,c=8*i-o-1,f=(1<<c)-1,l=f>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+l>=1?p/u:p*Math.pow(2,1-l))*u>=2&&(a++,u/=2),a+l>=f?(s=0,a=f):a+l>=1?(s=(e*u-1)*Math.pow(2,o),a+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*y}},5717:t=>{"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},2584:(t,e,r)=>{"use strict";var n=r(6410)(),o=r(1924)("Object.prototype.toString"),i=function(t){return!(n&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===o(t)},a=function(t){return!!i(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"[object Function]"===o(t.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,t.exports=s?i:a},8662:(t,e,r)=>{"use strict";var n,o=Object.prototype.toString,i=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=r(6410)(),u=Object.getPrototypeOf;t.exports=function(t){if("function"!=typeof t)return!1;if(a.test(i.call(t)))return!0;if(!s)return"[object GeneratorFunction]"===o.call(t);if(!u)return!1;if(void 0===n){var e=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(t){}}();n=!!e&&u(e)}return u(t)===n}},8611:t=>{"use strict";t.exports=function(t){return t!=t}},360:(t,e,r)=>{"use strict";var n=r(5559),o=r(4289),i=r(8611),a=r(9415),s=r(3194),u=n(a(),Number);o(u,{getPolyfill:a,implementation:i,shim:s}),t.exports=u},9415:(t,e,r)=>{"use strict";var n=r(8611);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},3194:(t,e,r)=>{"use strict";var n=r(4289),o=r(9415);t.exports=function(){var t=o();return n(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},5692:(t,e,r)=>{"use strict";var n=r(9804),o=r(3083),i=r(1924),a=i("Object.prototype.toString"),s=r(6410)(),u="undefined"==typeof globalThis?r.g:globalThis,c=o(),f=i("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},l=i("String.prototype.slice"),p={},h=r(882),d=Object.getPrototypeOf;s&&h&&d&&n(c,(function(t){var e=new u[t];if(Symbol.toStringTag in e){var r=d(e),n=h(r,Symbol.toStringTag);if(!n){var o=d(r);n=h(o,Symbol.toStringTag)}p[t]=n.get}}));t.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!s||!(Symbol.toStringTag in t)){var e=l(a(t),8,-1);return f(c,e)>-1}return!!h&&function(t){var e=!1;return n(p,(function(r,n){if(!e)try{e=r.call(t)===n}catch(t){}})),e}(t)}},4244:t=>{"use strict";var e=function(t){return t!=t};t.exports=function(t,r){return 0===t&&0===r?1/t==1/r:t===r||!(!e(t)||!e(r))}},609:(t,e,r)=>{"use strict";var n=r(4289),o=r(5559),i=r(4244),a=r(5624),s=r(2281),u=o(a(),Object);n(u,{getPolyfill:a,implementation:i,shim:s}),t.exports=u},5624:(t,e,r)=>{"use strict";var n=r(4244);t.exports=function(){return"function"==typeof Object.is?Object.is:n}},2281:(t,e,r)=>{"use strict";var n=r(5624),o=r(4289);t.exports=function(){var t=n();return o(Object,{is:t},{is:function(){return Object.is!==t}}),t}},8987:(t,e,r)=>{"use strict";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=r(1414),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),f=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(t){var e=t.constructor;return e&&e.prototype===t},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&o.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{l(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();n=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===i.call(t),n=a(t),s=e&&"[object String]"===i.call(t),p=[];if(!e&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var d=c&&r;if(s&&t.length>0&&!o.call(t,0))for(var y=0;y<t.length;++y)p.push(String(y));if(n&&t.length>0)for(var v=0;v<t.length;++v)p.push(String(v));else for(var g in t)d&&"prototype"===g||!o.call(t,g)||p.push(String(g));if(u)for(var m=function(t){if("undefined"==typeof window||!h)return l(t);try{return l(t)}catch(t){return!1}}(t),b=0;b<f.length;++b)m&&"constructor"===f[b]||!o.call(t,f[b])||p.push(f[b]);return p}}t.exports=n},2215:(t,e,r)=>{"use strict";var n=Array.prototype.slice,o=r(1414),i=Object.keys,a=i?function(t){return i(t)}:r(8987),s=Object.keys;a.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return o(t)?s(n.call(t)):s(t)})}else Object.keys=a;return Object.keys||a},t.exports=a},1414:t=>{"use strict";var e=Object.prototype.toString;t.exports=function(t){var r=e.call(t),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),n}},4155:t=>{var e,r,n=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(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(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var s,u=[],c=!1,f=-1;function l(){c&&s&&(c=!1,s.length?u=s.concat(u):f=-1,u.length&&p())}function p(){if(!c){var t=a(l);c=!0;for(var e=u.length;e;){for(s=u,u=[];++f<e;)s&&s[f].run();f=-1,e=u.length}s=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function d(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new h(t,e)),1!==u.length||c||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},3379:t=>{"use strict";var e=[];function r(t){for(var r=-1,n=0;n<e.length;n++)if(e[n].identifier===t){r=n;break}return r}function n(t,n){for(var i={},a=[],s=0;s<t.length;s++){var u=t[s],c=n.base?u[0]+n.base:u[0],f=i[c]||0,l="".concat(c," ").concat(f);i[c]=f+1;var p=r(l),h={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==p)e[p].references++,e[p].updater(h);else{var d=o(h,n);n.byIndex=s,e.splice(s,0,{identifier:l,updater:d,references:1})}a.push(l)}return a}function o(t,e){var r=e.domAPI(e);r.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;r.update(t=e)}else r.remove()}}t.exports=function(t,o){var i=n(t=t||[],o=o||{});return function(t){t=t||[];for(var a=0;a<i.length;a++){var s=r(i[a]);e[s].references--}for(var u=n(t,o),c=0;c<i.length;c++){var f=r(i[c]);0===e[f].references&&(e[f].updater(),e.splice(f,1))}i=u}}},569:t=>{"use strict";var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},9216:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},3565:(t,e,r)=>{"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},7795:t=>{"use strict";t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},4589: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))}}},384:t=>{t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},5955:(t,e,r)=>{"use strict";var n=r(2584),o=r(8662),i=r(6430),a=r(5692);function s(t){return t.call.bind(t)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,f=s(Object.prototype.toString),l=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(u)var d=s(BigInt.prototype.valueOf);if(c)var y=s(Symbol.prototype.valueOf);function v(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function g(t){return"[object Map]"===f(t)}function m(t){return"[object Set]"===f(t)}function b(t){return"[object WeakMap]"===f(t)}function E(t){return"[object WeakSet]"===f(t)}function w(t){return"[object ArrayBuffer]"===f(t)}function A(t){return"undefined"!=typeof ArrayBuffer&&(w.working?w(t):t instanceof ArrayBuffer)}function O(t){return"[object DataView]"===f(t)}function S(t){return"undefined"!=typeof DataView&&(O.working?O(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=o,e.isTypedArray=a,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):a(t)||S(t)},e.isUint8Array=function(t){return"Uint8Array"===i(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===i(t)},e.isUint16Array=function(t){return"Uint16Array"===i(t)},e.isUint32Array=function(t){return"Uint32Array"===i(t)},e.isInt8Array=function(t){return"Int8Array"===i(t)},e.isInt16Array=function(t){return"Int16Array"===i(t)},e.isInt32Array=function(t){return"Int32Array"===i(t)},e.isFloat32Array=function(t){return"Float32Array"===i(t)},e.isFloat64Array=function(t){return"Float64Array"===i(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===i(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===i(t)},g.working="undefined"!=typeof Map&&g(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(g.working?g(t):t instanceof Map)},m.working="undefined"!=typeof Set&&m(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(m.working?m(t):t instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(b.working?b(t):t instanceof WeakMap)},E.working="undefined"!=typeof WeakSet&&E(new WeakSet),e.isWeakSet=function(t){return E(t)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),e.isArrayBuffer=A,O.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&O(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=S;var x="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function _(t){return"[object SharedArrayBuffer]"===f(t)}function I(t){return void 0!==x&&(void 0===_.working&&(_.working=_(new x)),_.working?_(t):t instanceof x)}function R(t){return v(t,l)}function T(t){return v(t,p)}function N(t){return v(t,h)}function P(t){return u&&v(t,d)}function C(t){return c&&v(t,y)}e.isSharedArrayBuffer=I,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===f(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===f(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===f(t)},e.isGeneratorObject=function(t){return"[object Generator]"===f(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===f(t)},e.isNumberObject=R,e.isStringObject=T,e.isBooleanObject=N,e.isBigIntObject=P,e.isSymbolObject=C,e.isBoxedPrimitive=function(t){return R(t)||T(t)||N(t)||P(t)||C(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(A(t)||I(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},9539:(t,e,r)=>{var n=r(4155),o=r(5108),i=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},a=/%[sdj%]/g;e.format=function(t){if(!E(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(f(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,o=n.length,i=String(t).replace(a,(function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),s=n[r];r<o;s=n[++r])m(s)||!O(s)?i+=" "+s:i+=" "+f(s);return i},e.deprecate=function(t,r){if(void 0!==n&&!0===n.noDeprecation)return t;if(void 0===n)return function(){return e.deprecate(t,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?o.trace(r):o.error(r),i=!0}return t.apply(this,arguments)}};var s={},u=/^$/;if(n.env.NODE_DEBUG){var c=n.env.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),u=new RegExp("^"+c+"$","i")}function f(t,r){var n={seen:[],stylize:p};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&e._extend(n,r),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),h(n,t,n.depth)}function l(t,e){var r=f.styles[e];return r?"["+f.colors[r][0]+"m"+t+"["+f.colors[r][1]+"m":t}function p(t,e){return t}function h(t,r,n){if(t.customInspect&&r&&_(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,t);return E(o)||(o=h(t,o,n)),o}var i=function(t,e){if(w(e))return t.stylize("undefined","undefined");if(E(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(b(e))return t.stylize(""+e,"number");if(g(e))return t.stylize(""+e,"boolean");if(m(e))return t.stylize("null","null")}(t,r);if(i)return i;var a=Object.keys(r),s=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),x(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(r);if(0===a.length){if(_(r)){var u=r.name?": "+r.name:"";return t.stylize("[Function"+u+"]","special")}if(A(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return t.stylize(Date.prototype.toString.call(r),"date");if(x(r))return d(r)}var c,f="",l=!1,p=["{","}"];(v(r)&&(l=!0,p=["[","]"]),_(r))&&(f=" [Function"+(r.name?": "+r.name:"")+"]");return A(r)&&(f=" "+RegExp.prototype.toString.call(r)),S(r)&&(f=" "+Date.prototype.toUTCString.call(r)),x(r)&&(f=" "+d(r)),0!==a.length||l&&0!=r.length?n<0?A(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),c=l?function(t,e,r,n,o){for(var i=[],a=0,s=e.length;a<s;++a)P(e,String(a))?i.push(y(t,e,r,n,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(y(t,e,r,n,o,!0))})),i}(t,r,n,s,a):a.map((function(e){return y(t,r,n,s,e,l)})),t.seen.pop(),function(t,e,r){if(t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(c,f,p)):p[0]+f+p[1]}function d(t){return"["+Error.prototype.toString.call(t)+"]"}function y(t,e,r,n,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),P(n,o)||(a="["+o+"]"),s||(t.seen.indexOf(u.value)<0?(s=m(r)?h(t,u.value,null):h(t,u.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(t){return"  "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return"   "+t})).join("\n")):s=t.stylize("[Circular]","special")),w(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function v(t){return Array.isArray(t)}function g(t){return"boolean"==typeof t}function m(t){return null===t}function b(t){return"number"==typeof t}function E(t){return"string"==typeof t}function w(t){return void 0===t}function A(t){return O(t)&&"[object RegExp]"===I(t)}function O(t){return"object"==typeof t&&null!==t}function S(t){return O(t)&&"[object Date]"===I(t)}function x(t){return O(t)&&("[object Error]"===I(t)||t instanceof Error)}function _(t){return"function"==typeof t}function I(t){return Object.prototype.toString.call(t)}function R(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!s[t])if(u.test(t)){var r=n.pid;s[t]=function(){var n=e.format.apply(e,arguments);o.error("%s %d: %s",t,r,n)}}else s[t]=function(){};return s[t]},e.inspect=f,f.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},f.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(5955),e.isArray=v,e.isBoolean=g,e.isNull=m,e.isNullOrUndefined=function(t){return null==t},e.isNumber=b,e.isString=E,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=w,e.isRegExp=A,e.types.isRegExp=A,e.isObject=O,e.isDate=S,e.types.isDate=S,e.isError=x,e.types.isNativeError=x,e.isFunction=_,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(384);var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function N(){var t=new Date,e=[R(t.getHours()),R(t.getMinutes()),R(t.getSeconds())].join(":");return[t.getDate(),T[t.getMonth()],e].join(" ")}function P(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){o.log("%s - %s",N(),e.format.apply(e,arguments))},e.inherits=r(5717),e._extend=function(t,e){if(!e||!O(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var C="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(C&&t[C]){var e;if("function"!=typeof(e=t[C]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,C,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(t,n){t?r(t):e(n)}));try{t.apply(this,o)}catch(t){r(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),C&&Object.defineProperty(e,C,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,i(t))},e.promisify.custom=C,e.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var o=e.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};t.apply(this,e).then((function(t){n.nextTick(a.bind(null,null,t))}),(function(t){n.nextTick(j.bind(null,t,a))}))}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,i(t)),e}},6430:(t,e,r)=>{"use strict";var n=r(9804),o=r(3083),i=r(1924),a=i("Object.prototype.toString"),s=r(6410)(),u="undefined"==typeof globalThis?r.g:globalThis,c=o(),f=i("String.prototype.slice"),l={},p=r(882),h=Object.getPrototypeOf;s&&p&&h&&n(c,(function(t){if("function"==typeof u[t]){var e=new u[t];if(Symbol.toStringTag in e){var r=h(e),n=p(r,Symbol.toStringTag);if(!n){var o=h(r);n=p(o,Symbol.toStringTag)}l[t]=n.get}}}));var d=r(5692);t.exports=function(t){return!!d(t)&&(s&&Symbol.toStringTag in t?function(t){var e=!1;return n(l,(function(r,n){if(!e)try{var o=r.call(t);o===n&&(e=o)}catch(t){}})),e}(t):f(a(t),8,-1))}},3083:(t,e,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],o="undefined"==typeof globalThis?r.g:globalThis;t.exports=function(){for(var t=[],e=0;e<n.length;e++)"function"==typeof o[n[e]]&&(t[t.length]=n[e]);return t}},882:(t,e,r)=>{"use strict";var n=r(210)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(t){n=null}t.exports=n}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={id:t,exports:{}};return e[t].call(i.exports,i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var e=n(5108),r=Object.freeze({});function o(t){return null==t}function i(t){return null!=t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function u(t){return null!==t&&"object"==typeof t}var c=Object.prototype.toString;function f(t){return"[object Object]"===c.call(t)}function l(t){return"[object RegExp]"===c.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function h(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function y(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var r=Object.create(null),n=t.split(","),o=0;o<n.length;o++)r[n[o]]=!0;return e?function(t){return r[t.toLowerCase()]}:function(t){return r[t]}}v("slot,component",!0);var g=v("key,ref,slot,slot-scope,is");function m(t,e){if(t.length){var r=t.indexOf(e);if(r>-1)return t.splice(r,1)}}var b=Object.prototype.hasOwnProperty;function E(t,e){return b.call(t,e)}function w(t){var e=Object.create(null);return function(r){return e[r]||(e[r]=t(r))}}var A=/-(\w)/g,O=w((function(t){return t.replace(A,(function(t,e){return e?e.toUpperCase():""}))})),S=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),x=/\B([A-Z])/g,_=w((function(t){return t.replace(x,"-$1").toLowerCase()}));var I=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function r(r){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,r):t.call(e)}return r._length=t.length,r};function R(t,e){e=e||0;for(var r=t.length-e,n=new Array(r);r--;)n[r]=t[r+e];return n}function T(t,e){for(var r in e)t[r]=e[r];return t}function N(t){for(var e={},r=0;r<t.length;r++)t[r]&&T(e,t[r]);return e}function P(t,e,r){}var C=function(t,e,r){return!1},j=function(t){return t};function L(t,e){if(t===e)return!0;var r=u(t),n=u(e);if(!r||!n)return!r&&!n&&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,r){return L(t,e[r])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(r){return L(t[r],e[r])}))}catch(t){return!1}}function B(t,e){for(var r=0;r<t.length;r++)if(L(t[r],e))return r;return-1}function $(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var k="data-server-rendered",U=["component","directive","filter"],M=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],D={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:C,isReservedAttr:C,isUnknownElement:C,getTagNamespace:P,parsePlatformTagName:j,mustUseProp:C,async:!0,_lifecycleHooks:M},F=/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 G(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function q(t,e,r,n){Object.defineProperty(t,e,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var z=new RegExp("[^"+F.source+".$_\\d]");var V,H="__proto__"in{},X="undefined"!=typeof window,Y="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,W=Y&&WXEnvironment.platform.toLowerCase(),J=X&&window.navigator.userAgent.toLowerCase(),K=J&&/msie|trident/.test(J),Z=J&&J.indexOf("msie 9.0")>0,Q=J&&J.indexOf("edge/")>0,tt=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===W),et=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),rt={}.watch,nt=!1;if(X)try{var ot={};Object.defineProperty(ot,"passive",{get:function(){nt=!0}}),window.addEventListener("test-passive",null,ot)}catch(t){}var it=function(){return void 0===V&&(V=!X&&!Y&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),V},at=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function st(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,ct="undefined"!=typeof Symbol&&st(Symbol)&&"undefined"!=typeof Reflect&&st(Reflect.ownKeys);ut="undefined"!=typeof Set&&st(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 ft=P,lt=0,pt=function(){this.id=lt++,this.subs=[]};pt.prototype.addSub=function(t){this.subs.push(t)},pt.prototype.removeSub=function(t){m(this.subs,t)},pt.prototype.depend=function(){pt.target&&pt.target.addDep(this)},pt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,r=t.length;e<r;e++)t[e].update()},pt.target=null;var ht=[];function dt(t){ht.push(t),pt.target=t}function yt(){ht.pop(),pt.target=ht[ht.length-1]}var vt=function(t,e,r,n,o,i,a,s){this.tag=t,this.data=e,this.children=r,this.text=n,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=a,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=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},gt={child:{configurable:!0}};gt.child.get=function(){return this.componentInstance},Object.defineProperties(vt.prototype,gt);var mt=function(t){void 0===t&&(t="");var e=new vt;return e.text=t,e.isComment=!0,e};function bt(t){return new vt(void 0,void 0,void 0,String(t))}function Et(t){var e=new vt(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}var wt=Array.prototype,At=Object.create(wt);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=wt[t];q(At,t,(function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];var o,i=e.apply(this,r),a=this.__ob__;switch(t){case"push":case"unshift":o=r;break;case"splice":o=r.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i}))}));var Ot=Object.getOwnPropertyNames(At),St=!0;function xt(t){St=t}var _t=function(t){this.value=t,this.dep=new pt,this.vmCount=0,q(t,"__ob__",this),Array.isArray(t)?(H?function(t,e){t.__proto__=e}(t,At):function(t,e,r){for(var n=0,o=r.length;n<o;n++){var i=r[n];q(t,i,e[i])}}(t,At,Ot),this.observeArray(t)):this.walk(t)};function It(t,e){var r;if(u(t)&&!(t instanceof vt))return E(t,"__ob__")&&t.__ob__ instanceof _t?r=t.__ob__:St&&!it()&&(Array.isArray(t)||f(t))&&Object.isExtensible(t)&&!t._isVue&&(r=new _t(t)),e&&r&&r.vmCount++,r}function Rt(t,e,r,n,o){var i=new pt,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set;s&&!u||2!==arguments.length||(r=t[e]);var c=!o&&It(r);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):r;return pt.target&&(i.depend(),c&&(c.dep.depend(),Array.isArray(e)&&Pt(e))),e},set:function(e){var n=s?s.call(t):r;e===n||e!=e&&n!=n||s&&!u||(u?u.call(t,e):r=e,c=!o&&It(e),i.notify())}})}}function Tt(t,e,r){if(Array.isArray(t)&&p(e))return t.length=Math.max(t.length,e),t.splice(e,1,r),r;if(e in t&&!(e in Object.prototype))return t[e]=r,r;var n=t.__ob__;return t._isVue||n&&n.vmCount?r:n?(Rt(n.value,e,r),n.dep.notify(),r):(t[e]=r,r)}function Nt(t,e){if(Array.isArray(t)&&p(e))t.splice(e,1);else{var r=t.__ob__;t._isVue||r&&r.vmCount||E(t,e)&&(delete t[e],r&&r.dep.notify())}}function Pt(t){for(var e=void 0,r=0,n=t.length;r<n;r++)(e=t[r])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Pt(e)}_t.prototype.walk=function(t){for(var e=Object.keys(t),r=0;r<e.length;r++)Rt(t,e[r])},_t.prototype.observeArray=function(t){for(var e=0,r=t.length;e<r;e++)It(t[e])};var Ct=D.optionMergeStrategies;function jt(t,e){if(!e)return t;for(var r,n,o,i=ct?Reflect.ownKeys(e):Object.keys(e),a=0;a<i.length;a++)"__ob__"!==(r=i[a])&&(n=t[r],o=e[r],E(t,r)?n!==o&&f(n)&&f(o)&&jt(n,o):Tt(t,r,o));return t}function Lt(t,e,r){return r?function(){var n="function"==typeof e?e.call(r,r):e,o="function"==typeof t?t.call(r,r):t;return n?jt(n,o):o}:e?t?function(){return jt("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Bt(t,e){var r=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return r?function(t){for(var e=[],r=0;r<t.length;r++)-1===e.indexOf(t[r])&&e.push(t[r]);return e}(r):r}function $t(t,e,r,n){var o=Object.create(t||null);return e?T(o,e):o}Ct.data=function(t,e,r){return r?Lt(t,e,r):e&&"function"!=typeof e?t:Lt(t,e)},M.forEach((function(t){Ct[t]=Bt})),U.forEach((function(t){Ct[t+"s"]=$t})),Ct.watch=function(t,e,r,n){if(t===rt&&(t=void 0),e===rt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var i in T(o,t),e){var a=o[i],s=e[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Ct.props=Ct.methods=Ct.inject=Ct.computed=function(t,e,r,n){if(!t)return e;var o=Object.create(null);return T(o,t),e&&T(o,e),o},Ct.provide=Lt;var kt=function(t,e){return void 0===e?t:e};function Ut(t,e,r){if("function"==typeof e&&(e=e.options),function(t,e){var r=t.props;if(r){var n,o,i={};if(Array.isArray(r))for(n=r.length;n--;)"string"==typeof(o=r[n])&&(i[O(o)]={type:null});else if(f(r))for(var a in r)o=r[a],i[O(a)]=f(o)?o:{type:o};t.props=i}}(e),function(t,e){var r=t.inject;if(r){var n=t.inject={};if(Array.isArray(r))for(var o=0;o<r.length;o++)n[r[o]]={from:r[o]};else if(f(r))for(var i in r){var a=r[i];n[i]=f(a)?T({from:i},a):{from:a}}}}(e),function(t){var e=t.directives;if(e)for(var r in e){var n=e[r];"function"==typeof n&&(e[r]={bind:n,update:n})}}(e),!e._base&&(e.extends&&(t=Ut(t,e.extends,r)),e.mixins))for(var n=0,o=e.mixins.length;n<o;n++)t=Ut(t,e.mixins[n],r);var i,a={};for(i in t)s(i);for(i in e)E(t,i)||s(i);function s(n){var o=Ct[n]||kt;a[n]=o(t[n],e[n],r,n)}return a}function Mt(t,e,r,n){if("string"==typeof r){var o=t[e];if(E(o,r))return o[r];var i=O(r);if(E(o,i))return o[i];var a=S(i);return E(o,a)?o[a]:o[r]||o[i]||o[a]}}function Dt(t,e,r,n){var o=e[t],i=!E(r,t),a=r[t],s=zt(Boolean,o.type);if(s>-1)if(i&&!E(o,"default"))a=!1;else if(""===a||a===_(t)){var u=zt(String,o.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=function(t,e,r){if(!E(e,"default"))return;var n=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[r]&&void 0!==t._props[r])return t._props[r];return"function"==typeof n&&"Function"!==Gt(e.type)?n.call(t):n}(n,o,t);var c=St;xt(!0),It(a),xt(c)}return a}var Ft=/^\s*function (\w+)/;function Gt(t){var e=t&&t.toString().match(Ft);return e?e[1]:""}function qt(t,e){return Gt(t)===Gt(e)}function zt(t,e){if(!Array.isArray(e))return qt(e,t)?0:-1;for(var r=0,n=e.length;r<n;r++)if(qt(e[r],t))return r;return-1}function Vt(t,e,r){dt();try{if(e)for(var n=e;n=n.$parent;){var o=n.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(n,t,e,r))return}catch(t){Xt(t,n,"errorCaptured hook")}}Xt(t,e,r)}finally{yt()}}function Ht(t,e,r,n,o){var i;try{(i=r?t.apply(e,r):t.call(e))&&!i._isVue&&h(i)&&!i._handled&&(i.catch((function(t){return Vt(t,n,o+" (Promise/async)")})),i._handled=!0)}catch(t){Vt(t,n,o)}return i}function Xt(t,e,r){if(D.errorHandler)try{return D.errorHandler.call(null,t,e,r)}catch(e){e!==t&&Yt(e,null,"config.errorHandler")}Yt(t,e,r)}function Yt(t,r,n){if(!X&&!Y||void 0===e)throw t;e.error(t)}var Wt,Jt=!1,Kt=[],Zt=!1;function Qt(){Zt=!1;var t=Kt.slice(0);Kt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&st(Promise)){var te=Promise.resolve();Wt=function(){te.then(Qt),tt&&setTimeout(P)},Jt=!0}else if(K||"undefined"==typeof MutationObserver||!st(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Wt="undefined"!=typeof setImmediate&&st(setImmediate)?function(){setImmediate(Qt)}:function(){setTimeout(Qt,0)};else{var ee=1,re=new MutationObserver(Qt),ne=document.createTextNode(String(ee));re.observe(ne,{characterData:!0}),Wt=function(){ee=(ee+1)%2,ne.data=String(ee)},Jt=!0}function oe(t,e){var r;if(Kt.push((function(){if(t)try{t.call(e)}catch(t){Vt(t,e,"nextTick")}else r&&r(e)})),Zt||(Zt=!0,Wt()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){r=t}))}var ie=new ut;function ae(t){se(t,ie),ie.clear()}function se(t,e){var r,n,o=Array.isArray(t);if(!(!o&&!u(t)||Object.isFrozen(t)||t instanceof vt)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o)for(r=t.length;r--;)se(t[r],e);else for(r=(n=Object.keys(t)).length;r--;)se(t[n[r]],e)}}var ue=w((function(t){var e="&"===t.charAt(0),r="~"===(t=e?t.slice(1):t).charAt(0),n="!"===(t=r?t.slice(1):t).charAt(0);return{name:t=n?t.slice(1):t,once:r,capture:n,passive:e}}));function ce(t,e){function r(){var t=arguments,n=r.fns;if(!Array.isArray(n))return Ht(n,null,arguments,e,"v-on handler");for(var o=n.slice(),i=0;i<o.length;i++)Ht(o[i],null,t,e,"v-on handler")}return r.fns=t,r}function fe(t,e,r,n,i,s){var u,c,f,l;for(u in t)c=t[u],f=e[u],l=ue(u),o(c)||(o(f)?(o(c.fns)&&(c=t[u]=ce(c,s)),a(l.once)&&(c=t[u]=i(l.name,c,l.capture)),r(l.name,c,l.capture,l.passive,l.params)):c!==f&&(f.fns=c,t[u]=f));for(u in e)o(t[u])&&n((l=ue(u)).name,e[u],l.capture)}function le(t,e,r){var n;t instanceof vt&&(t=t.data.hook||(t.data.hook={}));var s=t[e];function u(){r.apply(this,arguments),m(n.fns,u)}o(s)?n=ce([u]):i(s.fns)&&a(s.merged)?(n=s).fns.push(u):n=ce([s,u]),n.merged=!0,t[e]=n}function pe(t,e,r,n,o){if(i(e)){if(E(e,r))return t[r]=e[r],o||delete e[r],!0;if(E(e,n))return t[r]=e[n],o||delete e[n],!0}return!1}function he(t){return s(t)?[bt(t)]:Array.isArray(t)?ye(t):void 0}function de(t){return i(t)&&i(t.text)&&!1===t.isComment}function ye(t,e){var r,n,u,c,f=[];for(r=0;r<t.length;r++)o(n=t[r])||"boolean"==typeof n||(c=f[u=f.length-1],Array.isArray(n)?n.length>0&&(de((n=ye(n,(e||"")+"_"+r))[0])&&de(c)&&(f[u]=bt(c.text+n[0].text),n.shift()),f.push.apply(f,n)):s(n)?de(c)?f[u]=bt(c.text+n):""!==n&&f.push(bt(n)):de(n)&&de(c)?f[u]=bt(c.text+n.text):(a(t._isVList)&&i(n.tag)&&o(n.key)&&i(e)&&(n.key="__vlist"+e+"_"+r+"__"),f.push(n)));return f}function ve(t,e){if(t){for(var r=Object.create(null),n=ct?Reflect.ownKeys(t):Object.keys(t),o=0;o<n.length;o++){var i=n[o];if("__ob__"!==i){for(var a=t[i].from,s=e;s;){if(s._provided&&E(s._provided,a)){r[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[i]){var u=t[i].default;r[i]="function"==typeof u?u.call(e):u}else 0}}return r}}function ge(t,e){if(!t||!t.length)return{};for(var r={},n=0,o=t.length;n<o;n++){var i=t[n],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(r.default||(r.default=[])).push(i);else{var s=a.slot,u=r[s]||(r[s]=[]);"template"===i.tag?u.push.apply(u,i.children||[]):u.push(i)}}for(var c in r)r[c].every(me)&&delete r[c];return r}function me(t){return t.isComment&&!t.asyncFactory||" "===t.text}function be(t){return t.isComment&&t.asyncFactory}function Ee(t,e,n){var o,i=Object.keys(e).length>0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var u in o={},t)t[u]&&"$"!==u[0]&&(o[u]=we(e,u,t[u]))}else o={};for(var c in e)c in o||(o[c]=Ae(e,c));return t&&Object.isExtensible(t)&&(t._normalized=o),q(o,"$stable",a),q(o,"$key",s),q(o,"$hasNormal",i),o}function we(t,e,r){var n=function(){var t=arguments.length?r.apply(null,arguments):r({}),e=(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:he(t))&&t[0];return t&&(!e||1===t.length&&e.isComment&&!be(e))?void 0:t};return r.proxy&&Object.defineProperty(t,e,{get:n,enumerable:!0,configurable:!0}),n}function Ae(t,e){return function(){return t[e]}}function Oe(t,e){var r,n,o,a,s;if(Array.isArray(t)||"string"==typeof t)for(r=new Array(t.length),n=0,o=t.length;n<o;n++)r[n]=e(t[n],n);else if("number"==typeof t)for(r=new Array(t),n=0;n<t;n++)r[n]=e(n+1,n);else if(u(t))if(ct&&t[Symbol.iterator]){r=[];for(var c=t[Symbol.iterator](),f=c.next();!f.done;)r.push(e(f.value,r.length)),f=c.next()}else for(a=Object.keys(t),r=new Array(a.length),n=0,o=a.length;n<o;n++)s=a[n],r[n]=e(t[s],s,n);return i(r)||(r=[]),r._isVList=!0,r}function Se(t,e,r,n){var o,i=this.$scopedSlots[t];i?(r=r||{},n&&(r=T(T({},n),r)),o=i(r)||("function"==typeof e?e():e)):o=this.$slots[t]||("function"==typeof e?e():e);var a=r&&r.slot;return a?this.$createElement("template",{slot:a},o):o}function xe(t){return Mt(this.$options,"filters",t)||j}function _e(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Ie(t,e,r,n,o){var i=D.keyCodes[e]||r;return o&&n&&!D.keyCodes[e]?_e(o,n):i?_e(i,t):n?_(n)!==e:void 0===t}function Re(t,e,r,n,o){if(r)if(u(r)){var i;Array.isArray(r)&&(r=N(r));var a=function(a){if("class"===a||"style"===a||g(a))i=t;else{var s=t.attrs&&t.attrs.type;i=n||D.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var u=O(a),c=_(a);u in i||c in i||(i[a]=r[a],o&&((t.on||(t.on={}))["update:"+a]=function(t){r[a]=t}))};for(var s in r)a(s)}else;return t}function Te(t,e){var r=this._staticTrees||(this._staticTrees=[]),n=r[t];return n&&!e||Pe(n=r[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),n}function Ne(t,e,r){return Pe(t,"__once__"+e+(r?"_"+r:""),!0),t}function Pe(t,e,r){if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]&&"string"!=typeof t[n]&&Ce(t[n],e+"_"+n,r);else Ce(t,e,r)}function Ce(t,e,r){t.isStatic=!0,t.key=e,t.isOnce=r}function je(t,e){if(e)if(f(e)){var r=t.on=t.on?T({},t.on):{};for(var n in e){var o=r[n],i=e[n];r[n]=o?[].concat(o,i):i}}else;return t}function Le(t,e,r,n){e=e||{$stable:!r};for(var o=0;o<t.length;o++){var i=t[o];Array.isArray(i)?Le(i,e,r):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return n&&(e.$key=n),e}function Be(t,e){for(var r=0;r<e.length;r+=2){var n=e[r];"string"==typeof n&&n&&(t[e[r]]=e[r+1])}return t}function $e(t,e){return"string"==typeof t?e+t:t}function ke(t){t._o=Ne,t._n=y,t._s=d,t._l=Oe,t._t=Se,t._q=L,t._i=B,t._m=Te,t._f=xe,t._k=Ie,t._b=Re,t._v=bt,t._e=mt,t._u=Le,t._g=je,t._d=Be,t._p=$e}function Ue(t,e,n,o,i){var s,u=this,c=i.options;E(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var f=a(c._compiled),l=!f;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||r,this.injections=ve(c.inject,o),this.slots=function(){return u.$slots||Ee(t.scopedSlots,u.$slots=ge(n,o)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ee(t.scopedSlots,this.slots())}}),f&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Ee(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,r,n){var i=Ve(s,t,e,r,n,l);return i&&!Array.isArray(i)&&(i.fnScopeId=c._scopeId,i.fnContext=o),i}:this._c=function(t,e,r,n){return Ve(s,t,e,r,n,l)}}function Me(t,e,r,n,o){var i=Et(t);return i.fnContext=r,i.fnOptions=n,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function De(t,e){for(var r in e)t[O(r)]=e[r]}ke(Ue.prototype);var Fe={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;Fe.prepatch(r,r)}else{var n=t.componentInstance=function(t,e){var r={_isComponent:!0,_parentVnode:t,parent:e},n=t.data.inlineTemplate;i(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns);return new t.componentOptions.Ctor(r)}(t,er);n.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,o,i){0;var a=o.data.scopedSlots,s=t.$scopedSlots,u=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),c=!!(i||t.$options._renderChildren||u);t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o);if(t.$options._renderChildren=i,t.$attrs=o.data.attrs||r,t.$listeners=n||r,e&&t.$options.props){xt(!1);for(var f=t._props,l=t.$options._propKeys||[],p=0;p<l.length;p++){var h=l[p],d=t.$options.props;f[h]=Dt(h,d,e,t)}xt(!0),t.$options.propsData=e}n=n||r;var y=t.$options._parentListeners;t.$options._parentListeners=n,tr(t,n,y),c&&(t.$slots=ge(i,o.context),t.$forceUpdate());0}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,r=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,ar(n,"mounted")),t.data.keepAlive&&(r._isMounted?((e=n)._inactive=!1,ur.push(e)):or(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?ir(e,!0):e.$destroy())}},Ge=Object.keys(Fe);function qe(t,e,n,s,c){if(!o(t)){var f=n.$options._base;if(u(t)&&(t=f.extend(t)),"function"==typeof t){var l;if(o(t.cid)&&(t=function(t,e){if(a(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;var r=Ye;r&&i(t.owners)&&-1===t.owners.indexOf(r)&&t.owners.push(r);if(a(t.loading)&&i(t.loadingComp))return t.loadingComp;if(r&&!i(t.owners)){var n=t.owners=[r],s=!0,c=null,f=null;r.$on("hook:destroyed",(function(){return m(n,r)}));var l=function(t){for(var e=0,r=n.length;e<r;e++)n[e].$forceUpdate();t&&(n.length=0,null!==c&&(clearTimeout(c),c=null),null!==f&&(clearTimeout(f),f=null))},p=$((function(r){t.resolved=We(r,e),s?n.length=0:l(!0)})),d=$((function(e){i(t.errorComp)&&(t.error=!0,l(!0))})),y=t(p,d);return u(y)&&(h(y)?o(t.resolved)&&y.then(p,d):h(y.component)&&(y.component.then(p,d),i(y.error)&&(t.errorComp=We(y.error,e)),i(y.loading)&&(t.loadingComp=We(y.loading,e),0===y.delay?t.loading=!0:c=setTimeout((function(){c=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,l(!1))}),y.delay||200)),i(y.timeout)&&(f=setTimeout((function(){f=null,o(t.resolved)&&d(null)}),y.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}(l=t,f),void 0===t))return function(t,e,r,n,o){var i=mt();return i.asyncFactory=t,i.asyncMeta={data:e,context:r,children:n,tag:o},i}(l,e,n,s,c);e=e||{},Rr(t),i(e.model)&&function(t,e){var r=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[r]=e.model.value;var o=e.on||(e.on={}),a=o[n],s=e.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[n]=[s].concat(a)):o[n]=s}(t.options,e);var p=function(t,e,r){var n=e.options.props;if(!o(n)){var a={},s=t.attrs,u=t.props;if(i(s)||i(u))for(var c in n){var f=_(c);pe(a,u,c,f,!0)||pe(a,s,c,f,!1)}return a}}(e,t);if(a(t.options.functional))return function(t,e,n,o,a){var s=t.options,u={},c=s.props;if(i(c))for(var f in c)u[f]=Dt(f,c,e||r);else i(n.attrs)&&De(u,n.attrs),i(n.props)&&De(u,n.props);var l=new Ue(n,u,a,o,t),p=s.render.call(null,l._c,l);if(p instanceof vt)return Me(p,n,l.parent,s);if(Array.isArray(p)){for(var h=he(p)||[],d=new Array(h.length),y=0;y<h.length;y++)d[y]=Me(h[y],n,l.parent,s);return d}}(t,p,e,n,s);var d=e.on;if(e.on=e.nativeOn,a(t.options.abstract)){var y=e.slot;e={},y&&(e.slot=y)}!function(t){for(var e=t.hook||(t.hook={}),r=0;r<Ge.length;r++){var n=Ge[r],o=e[n],i=Fe[n];o===i||o&&o._merged||(e[n]=o?ze(i,o):i)}}(e);var v=t.options.name||c;return new vt("vue-component-"+t.cid+(v?"-"+v:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:p,listeners:d,tag:c,children:s},l)}}}function ze(t,e){var r=function(r,n){t(r,n),e(r,n)};return r._merged=!0,r}function Ve(t,e,r,n,o,c){return(Array.isArray(r)||s(r))&&(o=n,n=r,r=void 0),a(c)&&(o=2),function(t,e,r,n,o){if(i(r)&&i(r.__ob__))return mt();i(r)&&i(r.is)&&(e=r.is);if(!e)return mt();0;Array.isArray(n)&&"function"==typeof n[0]&&((r=r||{}).scopedSlots={default:n[0]},n.length=0);2===o?n=he(n):1===o&&(n=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(n));var a,s;if("string"==typeof e){var c;s=t.$vnode&&t.$vnode.ns||D.getTagNamespace(e),a=D.isReservedTag(e)?new vt(D.parsePlatformTagName(e),r,n,void 0,void 0,t):r&&r.pre||!i(c=Mt(t.$options,"components",e))?new vt(e,r,n,void 0,void 0,t):qe(c,r,t,n,e)}else a=qe(e,r,t,n);return Array.isArray(a)?a:i(a)?(i(s)&&He(a,s),i(r)&&function(t){u(t.style)&&ae(t.style);u(t.class)&&ae(t.class)}(r),a):mt()}(t,e,r,n,o)}function He(t,e,r){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,r=!0),i(t.children))for(var n=0,s=t.children.length;n<s;n++){var u=t.children[n];i(u.tag)&&(o(u.ns)||a(r)&&"svg"!==u.tag)&&He(u,e,r)}}var Xe,Ye=null;function We(t,e){return(t.__esModule||ct&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function Je(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var r=t[e];if(i(r)&&(i(r.componentOptions)||be(r)))return r}}function Ke(t,e){Xe.$on(t,e)}function Ze(t,e){Xe.$off(t,e)}function Qe(t,e){var r=Xe;return function n(){var o=e.apply(null,arguments);null!==o&&r.$off(t,n)}}function tr(t,e,r){Xe=t,fe(e,r||{},Ke,Ze,Qe,t),Xe=void 0}var er=null;function rr(t){var e=er;return er=t,function(){er=e}}function nr(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function or(t,e){if(e){if(t._directInactive=!1,nr(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var r=0;r<t.$children.length;r++)or(t.$children[r]);ar(t,"activated")}}function ir(t,e){if(!(e&&(t._directInactive=!0,nr(t))||t._inactive)){t._inactive=!0;for(var r=0;r<t.$children.length;r++)ir(t.$children[r]);ar(t,"deactivated")}}function ar(t,e){dt();var r=t.$options[e],n=e+" hook";if(r)for(var o=0,i=r.length;o<i;o++)Ht(r[o],t,null,t,n);t._hasHookEvent&&t.$emit("hook:"+e),yt()}var sr=[],ur=[],cr={},fr=!1,lr=!1,pr=0;var hr=0,dr=Date.now;if(X&&!K){var yr=window.performance;yr&&"function"==typeof yr.now&&dr()>document.createEvent("Event").timeStamp&&(dr=function(){return yr.now()})}function vr(){var t,e;for(hr=dr(),lr=!0,sr.sort((function(t,e){return t.id-e.id})),pr=0;pr<sr.length;pr++)(t=sr[pr]).before&&t.before(),e=t.id,cr[e]=null,t.run();var r=ur.slice(),n=sr.slice();pr=sr.length=ur.length=0,cr={},fr=lr=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,or(t[e],!0)}(r),function(t){var e=t.length;for(;e--;){var r=t[e],n=r.vm;n._watcher===r&&n._isMounted&&!n._isDestroyed&&ar(n,"updated")}}(n),at&&D.devtools&&at.emit("flush")}var gr=0,mr=function(t,e,r,n,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++gr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ut,this.newDepIds=new ut,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!z.test(t)){var e=t.split(".");return function(t){for(var r=0;r<e.length;r++){if(!t)return;t=t[e[r]]}return t}}}(e),this.getter||(this.getter=P)),this.value=this.lazy?void 0:this.get()};mr.prototype.get=function(){var t;dt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Vt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ae(t),yt(),this.cleanupDeps()}return t},mr.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))},mr.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},mr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==cr[e]){if(cr[e]=!0,lr){for(var r=sr.length-1;r>pr&&sr[r].id>t.id;)r--;sr.splice(r+1,0,t)}else sr.push(t);fr||(fr=!0,oe(vr))}}(this)},mr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user){var r='callback for watcher "'+this.expression+'"';Ht(this.cb,this.vm,[t,e],this.vm,r)}else this.cb.call(this.vm,t,e)}}},mr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},mr.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},mr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var br={enumerable:!0,configurable:!0,get:P,set:P};function Er(t,e,r){br.get=function(){return this[e][r]},br.set=function(t){this[e][r]=t},Object.defineProperty(t,r,br)}function wr(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var r=t.$options.propsData||{},n=t._props={},o=t.$options._propKeys=[];t.$parent&&xt(!1);var i=function(i){o.push(i);var a=Dt(i,e,r,t);Rt(n,i,a),i in t||Er(t,"_props",i)};for(var a in e)i(a);xt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var r in e)t[r]="function"!=typeof e[r]?P:I(e[r],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;f(e=t._data="function"==typeof e?function(t,e){dt();try{return t.call(e,e)}catch(t){return Vt(t,e,"data()"),{}}finally{yt()}}(e,t):e||{})||(e={});var r=Object.keys(e),n=t.$options.props,o=(t.$options.methods,r.length);for(;o--;){var i=r[o];0,n&&E(n,i)||G(i)||Er(t,"_data",i)}It(e,!0)}(t):It(t._data={},!0),e.computed&&function(t,e){var r=t._computedWatchers=Object.create(null),n=it();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;0,n||(r[o]=new mr(t,a||P,P,Ar)),o in t||Or(t,o,i)}}(t,e.computed),e.watch&&e.watch!==rt&&function(t,e){for(var r in e){var n=e[r];if(Array.isArray(n))for(var o=0;o<n.length;o++)_r(t,r,n[o]);else _r(t,r,n)}}(t,e.watch)}var Ar={lazy:!0};function Or(t,e,r){var n=!it();"function"==typeof r?(br.get=n?Sr(e):xr(r),br.set=P):(br.get=r.get?n&&!1!==r.cache?Sr(e):xr(r.get):P,br.set=r.set||P),Object.defineProperty(t,e,br)}function Sr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),pt.target&&e.depend(),e.value}}function xr(t){return function(){return t.call(this,this)}}function _r(t,e,r,n){return f(r)&&(n=r,r=r.handler),"string"==typeof r&&(r=t[r]),t.$watch(e,r,n)}var Ir=0;function Rr(t){var e=t.options;if(t.super){var r=Rr(t.super);if(r!==t.superOptions){t.superOptions=r;var n=function(t){var e,r=t.options,n=t.sealedOptions;for(var o in r)r[o]!==n[o]&&(e||(e={}),e[o]=r[o]);return e}(t);n&&T(t.extendOptions,n),(e=t.options=Ut(r,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Tr(t){this._init(t)}function Nr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var r=this,n=r.cid,o=t._Ctor||(t._Ctor={});if(o[n])return o[n];var i=t.name||r.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(r.prototype)).constructor=a,a.cid=e++,a.options=Ut(r.options,t),a.super=r,a.options.props&&function(t){var e=t.options.props;for(var r in e)Er(t.prototype,"_props",r)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var r in e)Or(t.prototype,r,e[r])}(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,U.forEach((function(t){a[t]=r[t]})),i&&(a.options.components[i]=a),a.superOptions=r.options,a.extendOptions=t,a.sealedOptions=T({},a.options),o[n]=a,a}}function Pr(t){return t&&(t.Ctor.options.name||t.tag)}function Cr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function jr(t,e){var r=t.cache,n=t.keys,o=t._vnode;for(var i in r){var a=r[i];if(a){var s=a.name;s&&!e(s)&&Lr(r,i,n,o)}}}function Lr(t,e,r,n){var o=t[e];!o||n&&o.tag===n.tag||o.componentInstance.$destroy(),t[e]=null,m(r,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Ir++,e._isVue=!0,t&&t._isComponent?function(t,e){var r=t.$options=Object.create(t.constructor.options),n=e._parentVnode;r.parent=e.parent,r._parentVnode=n;var o=n.componentOptions;r.propsData=o.propsData,r._parentListeners=o.listeners,r._renderChildren=o.children,r._componentTag=o.tag,e.render&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Ut(Rr(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,r=e.parent;if(r&&!e.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(t)}t.$parent=r,t.$root=r?r.$root:t,t.$children=[],t.$refs={},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&&tr(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=ge(e._renderChildren,o),t.$scopedSlots=r,t._c=function(e,r,n,o){return Ve(t,e,r,n,o,!1)},t.$createElement=function(e,r,n,o){return Ve(t,e,r,n,o,!0)};var i=n&&n.data;Rt(t,"$attrs",i&&i.attrs||r,null,!0),Rt(t,"$listeners",e._parentListeners||r,null,!0)}(e),ar(e,"beforeCreate"),function(t){var e=ve(t.$options.inject,t);e&&(xt(!1),Object.keys(e).forEach((function(r){Rt(t,r,e[r])})),xt(!0))}(e),wr(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),ar(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Tr),function(t){var e={get:function(){return this._data}},r={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",r),t.prototype.$set=Tt,t.prototype.$delete=Nt,t.prototype.$watch=function(t,e,r){var n=this;if(f(e))return _r(n,t,e,r);(r=r||{}).user=!0;var o=new mr(n,t,e,r);if(r.immediate){var i='callback for immediate watcher "'+o.expression+'"';dt(),Ht(e,n,[o.value],n,i),yt()}return function(){o.teardown()}}}(Tr),function(t){var e=/^hook:/;t.prototype.$on=function(t,r){var n=this;if(Array.isArray(t))for(var o=0,i=t.length;o<i;o++)n.$on(t[o],r);else(n._events[t]||(n._events[t]=[])).push(r),e.test(t)&&(n._hasHookEvent=!0);return n},t.prototype.$once=function(t,e){var r=this;function n(){r.$off(t,n),e.apply(r,arguments)}return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(t)){for(var n=0,o=t.length;n<o;n++)r.$off(t[n],e);return r}var i,a=r._events[t];if(!a)return r;if(!e)return r._events[t]=null,r;for(var s=a.length;s--;)if((i=a[s])===e||i.fn===e){a.splice(s,1);break}return r},t.prototype.$emit=function(t){var e=this,r=e._events[t];if(r){r=r.length>1?R(r):r;for(var n=R(arguments,1),o='event handler for "'+t+'"',i=0,a=r.length;i<a;i++)Ht(r[i],e,n,e,o)}return e}}(Tr),function(t){t.prototype._update=function(t,e){var r=this,n=r.$el,o=r._vnode,i=rr(r);r._vnode=t,r.$el=o?r.__patch__(o,t):r.__patch__(r.$el,t,e,!1),i(),n&&(n.__vue__=null),r.$el&&(r.$el.__vue__=r),r.$vnode&&r.$parent&&r.$vnode===r.$parent._vnode&&(r.$parent.$el=r.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){ar(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||m(e.$children,t),t._watcher&&t._watcher.teardown();for(var r=t._watchers.length;r--;)t._watchers[r].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),ar(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Tr),function(t){ke(t.prototype),t.prototype.$nextTick=function(t){return oe(t,this)},t.prototype._render=function(){var t,e=this,r=e.$options,n=r.render,o=r._parentVnode;o&&(e.$scopedSlots=Ee(o.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=o;try{Ye=e,t=n.call(e._renderProxy,e.$createElement)}catch(r){Vt(r,e,"render"),t=e._vnode}finally{Ye=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof vt||(t=mt()),t.parent=o,t}}(Tr);var Br=[String,RegExp,Array],$r={name:"keep-alive",abstract:!0,props:{include:Br,exclude:Br,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,r=t.keys,n=t.vnodeToCache,o=t.keyToCache;if(n){var i=n.tag,a=n.componentInstance,s=n.componentOptions;e[o]={name:Pr(s),tag:i,componentInstance:a},r.push(o),this.max&&r.length>parseInt(this.max)&&Lr(e,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Lr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){jr(t,(function(t){return Cr(e,t)}))})),this.$watch("exclude",(function(e){jr(t,(function(t){return!Cr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Je(t),r=e&&e.componentOptions;if(r){var n=Pr(r),o=this.include,i=this.exclude;if(o&&(!n||!Cr(o,n))||i&&n&&Cr(i,n))return e;var a=this.cache,s=this.keys,u=null==e.key?r.Ctor.cid+(r.tag?"::"+r.tag:""):e.key;a[u]?(e.componentInstance=a[u].componentInstance,m(s,u),s.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},kr={KeepAlive:$r};!function(t){var e={get:function(){return D}};Object.defineProperty(t,"config",e),t.util={warn:ft,extend:T,mergeOptions:Ut,defineReactive:Rt},t.set=Tt,t.delete=Nt,t.nextTick=oe,t.observable=function(t){return It(t),t},t.options=Object.create(null),U.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,T(t.options.components,kr),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var r=R(arguments,1);return r.unshift(this),"function"==typeof t.install?t.install.apply(t,r):"function"==typeof t&&t.apply(null,r),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Ut(this.options,t),this}}(t),Nr(t),function(t){U.forEach((function(e){t[e]=function(t,r){return r?("component"===e&&f(r)&&(r.name=r.name||t,r=this.options._base.extend(r)),"directive"===e&&"function"==typeof r&&(r={bind:r,update:r}),this.options[e+"s"][t]=r,r):this.options[e+"s"][t]}}))}(t)}(Tr),Object.defineProperty(Tr.prototype,"$isServer",{get:it}),Object.defineProperty(Tr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Tr,"FunctionalRenderContext",{value:Ue}),Tr.version="2.6.14";var Ur=v("style,class"),Mr=v("input,textarea,option,select,progress"),Dr=v("contenteditable,draggable,spellcheck"),Fr=v("events,caret,typing,plaintext-only"),Gr=v("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"),qr="http://www.w3.org/1999/xlink",zr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Vr=function(t){return zr(t)?t.slice(6,t.length):""},Hr=function(t){return null==t||!1===t};function Xr(t){for(var e=t.data,r=t,n=t;i(n.componentInstance);)(n=n.componentInstance._vnode)&&n.data&&(e=Yr(n.data,e));for(;i(r=r.parent);)r&&r.data&&(e=Yr(e,r.data));return function(t,e){if(i(t)||i(e))return Wr(t,Jr(e));return""}(e.staticClass,e.class)}function Yr(t,e){return{staticClass:Wr(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Wr(t,e){return t?e?t+" "+e:t:e||""}function Jr(t){return Array.isArray(t)?function(t){for(var e,r="",n=0,o=t.length;n<o;n++)i(e=Jr(t[n]))&&""!==e&&(r&&(r+=" "),r+=e);return r}(t):u(t)?function(t){var e="";for(var r in t)t[r]&&(e&&(e+=" "),e+=r);return e}(t):"string"==typeof t?t:""}var Kr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Zr=v("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"),Qr=v("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),tn=function(t){return Zr(t)||Qr(t)};var en=Object.create(null);var rn=v("text,number,password,search,email,tel,url");var nn=Object.freeze({createElement:function(t,e){var r=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&r.setAttribute("multiple","multiple"),r},createElementNS:function(t,e){return document.createElementNS(Kr[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,r){t.insertBefore(e,r)},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,"")}}),on={create:function(t,e){an(e)},update:function(t,e){t.data.ref!==e.data.ref&&(an(t,!0),an(e))},destroy:function(t){an(t,!0)}};function an(t,e){var r=t.data.ref;if(i(r)){var n=t.context,o=t.componentInstance||t.elm,a=n.$refs;e?Array.isArray(a[r])?m(a[r],o):a[r]===o&&(a[r]=void 0):t.data.refInFor?Array.isArray(a[r])?a[r].indexOf(o)<0&&a[r].push(o):a[r]=[o]:a[r]=o}}var sn=new vt("",{},[]),un=["create","activate","update","remove","destroy"];function cn(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&function(t,e){if("input"!==t.tag)return!0;var r,n=i(r=t.data)&&i(r=r.attrs)&&r.type,o=i(r=e.data)&&i(r=r.attrs)&&r.type;return n===o||rn(n)&&rn(o)}(t,e)||a(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function fn(t,e,r){var n,o,a={};for(n=e;n<=r;++n)i(o=t[n].key)&&(a[o]=n);return a}var ln={create:pn,update:pn,destroy:function(t){pn(t,sn)}};function pn(t,e){(t.data.directives||e.data.directives)&&function(t,e){var r,n,o,i=t===sn,a=e===sn,s=dn(t.data.directives,t.context),u=dn(e.data.directives,e.context),c=[],f=[];for(r in u)n=s[r],o=u[r],n?(o.oldValue=n.value,o.oldArg=n.arg,vn(o,"update",e,t),o.def&&o.def.componentUpdated&&f.push(o)):(vn(o,"bind",e,t),o.def&&o.def.inserted&&c.push(o));if(c.length){var l=function(){for(var r=0;r<c.length;r++)vn(c[r],"inserted",e,t)};i?le(e,"insert",l):l()}f.length&&le(e,"postpatch",(function(){for(var r=0;r<f.length;r++)vn(f[r],"componentUpdated",e,t)}));if(!i)for(r in s)u[r]||vn(s[r],"unbind",t,t,a)}(t,e)}var hn=Object.create(null);function dn(t,e){var r,n,o=Object.create(null);if(!t)return o;for(r=0;r<t.length;r++)(n=t[r]).modifiers||(n.modifiers=hn),o[yn(n)]=n,n.def=Mt(e.$options,"directives",n.name);return o}function yn(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function vn(t,e,r,n,o){var i=t.def&&t.def[e];if(i)try{i(r.elm,t,r,n,o)}catch(n){Vt(n,r.context,"directive "+t.name+" "+e+" hook")}}var gn=[on,ln];function mn(t,e){var r=e.componentOptions;if(!(i(r)&&!1===r.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var n,a,s=e.elm,u=t.data.attrs||{},c=e.data.attrs||{};for(n in i(c.__ob__)&&(c=e.data.attrs=T({},c)),c)a=c[n],u[n]!==a&&bn(s,n,a,e.data.pre);for(n in(K||Q)&&c.value!==u.value&&bn(s,"value",c.value),u)o(c[n])&&(zr(n)?s.removeAttributeNS(qr,Vr(n)):Dr(n)||s.removeAttribute(n))}}function bn(t,e,r,n){n||t.tagName.indexOf("-")>-1?En(t,e,r):Gr(e)?Hr(r)?t.removeAttribute(e):(r="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,r)):Dr(e)?t.setAttribute(e,function(t,e){return Hr(e)||"false"===e?"false":"contenteditable"===t&&Fr(e)?e:"true"}(e,r)):zr(e)?Hr(r)?t.removeAttributeNS(qr,Vr(e)):t.setAttributeNS(qr,e,r):En(t,e,r)}function En(t,e,r){if(Hr(r))t.removeAttribute(e);else{if(K&&!Z&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==r&&!t.__ieph){var n=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,r)}}var wn={create:mn,update:mn};function An(t,e){var r=e.elm,n=e.data,a=t.data;if(!(o(n.staticClass)&&o(n.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=Xr(e),u=r._transitionClasses;i(u)&&(s=Wr(s,Jr(u))),s!==r._prevClass&&(r.setAttribute("class",s),r._prevClass=s)}}var On,Sn={create:An,update:An};function xn(t,e,r){var n=On;return function o(){var i=e.apply(null,arguments);null!==i&&Rn(t,o,r,n)}}var _n=Jt&&!(et&&Number(et[1])<=53);function In(t,e,r,n){if(_n){var o=hr,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)}}On.addEventListener(t,e,nt?{capture:r,passive:n}:r)}function Rn(t,e,r,n){(n||On).removeEventListener(t,e._wrapper||e,r)}function Tn(t,e){if(!o(t.data.on)||!o(e.data.on)){var r=e.data.on||{},n=t.data.on||{};On=e.elm,function(t){if(i(t.__r)){var e=K?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}i(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(r),fe(r,n,In,Rn,xn,e.context),On=void 0}}var Nn,Pn={create:Tn,update:Tn};function Cn(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var r,n,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};for(r in i(u.__ob__)&&(u=e.data.domProps=T({},u)),s)r in u||(a[r]="");for(r in u){if(n=u[r],"textContent"===r||"innerHTML"===r){if(e.children&&(e.children.length=0),n===s[r])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===r&&"PROGRESS"!==a.tagName){a._value=n;var c=o(n)?"":String(n);jn(a,c)&&(a.value=c)}else if("innerHTML"===r&&Qr(a.tagName)&&o(a.innerHTML)){(Nn=Nn||document.createElement("div")).innerHTML="<svg>"+n+"</svg>";for(var f=Nn.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;f.firstChild;)a.appendChild(f.firstChild)}else if(n!==s[r])try{a[r]=n}catch(t){}}}}function jn(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var r=!0;try{r=document.activeElement!==t}catch(t){}return r&&t.value!==e}(t,e)||function(t,e){var r=t.value,n=t._vModifiers;if(i(n)){if(n.number)return y(r)!==y(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}(t,e))}var Ln={create:Cn,update:Cn},Bn=w((function(t){var e={},r=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function $n(t){var e=kn(t.style);return t.staticStyle?T(t.staticStyle,e):e}function kn(t){return Array.isArray(t)?N(t):"string"==typeof t?Bn(t):t}var Un,Mn=/^--/,Dn=/\s*!important$/,Fn=function(t,e,r){if(Mn.test(e))t.style.setProperty(e,r);else if(Dn.test(r))t.style.setProperty(_(e),r.replace(Dn,""),"important");else{var n=qn(e);if(Array.isArray(r))for(var o=0,i=r.length;o<i;o++)t.style[n]=r[o];else t.style[n]=r}},Gn=["Webkit","Moz","ms"],qn=w((function(t){if(Un=Un||document.createElement("div").style,"filter"!==(t=O(t))&&t in Un)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<Gn.length;r++){var n=Gn[r]+e;if(n in Un)return n}}));function zn(t,e){var r=e.data,n=t.data;if(!(o(r.staticStyle)&&o(r.style)&&o(n.staticStyle)&&o(n.style))){var a,s,u=e.elm,c=n.staticStyle,f=n.normalizedStyle||n.style||{},l=c||f,p=kn(e.data.style)||{};e.data.normalizedStyle=i(p.__ob__)?T({},p):p;var h=function(t,e){var r,n={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(r=$n(o.data))&&T(n,r);(r=$n(t.data))&&T(n,r);for(var i=t;i=i.parent;)i.data&&(r=$n(i.data))&&T(n,r);return n}(e,!0);for(s in l)o(h[s])&&Fn(u,s,"");for(s in h)(a=h[s])!==l[s]&&Fn(u,s,null==a?"":a)}}var Vn={create:zn,update:zn},Hn=/\s+/;function Xn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Hn).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var r=" "+(t.getAttribute("class")||"")+" ";r.indexOf(" "+e+" ")<0&&t.setAttribute("class",(r+e).trim())}}function Yn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Hn).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var r=" "+(t.getAttribute("class")||"")+" ",n=" "+e+" ";r.indexOf(n)>=0;)r=r.replace(n," ");(r=r.trim())?t.setAttribute("class",r):t.removeAttribute("class")}}function Wn(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,Jn(t.name||"v")),T(e,t),e}return"string"==typeof t?Jn(t):void 0}}var Jn=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Kn=X&&!Z,Zn="transition",Qn="animation",to="transition",eo="transitionend",ro="animation",no="animationend";Kn&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(to="WebkitTransition",eo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ro="WebkitAnimation",no="webkitAnimationEnd"));var oo=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function io(t){oo((function(){oo(t)}))}function ao(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),Xn(t,e))}function so(t,e){t._transitionClasses&&m(t._transitionClasses,e),Yn(t,e)}function uo(t,e,r){var n=fo(t,e),o=n.type,i=n.timeout,a=n.propCount;if(!o)return r();var s=o===Zn?eo:no,u=0,c=function(){t.removeEventListener(s,f),r()},f=function(e){e.target===t&&++u>=a&&c()};setTimeout((function(){u<a&&c()}),i+1),t.addEventListener(s,f)}var co=/\b(transform|all)(,|$)/;function fo(t,e){var r,n=window.getComputedStyle(t),o=(n[to+"Delay"]||"").split(", "),i=(n[to+"Duration"]||"").split(", "),a=lo(o,i),s=(n[ro+"Delay"]||"").split(", "),u=(n[ro+"Duration"]||"").split(", "),c=lo(s,u),f=0,l=0;return e===Zn?a>0&&(r=Zn,f=a,l=i.length):e===Qn?c>0&&(r=Qn,f=c,l=u.length):l=(r=(f=Math.max(a,c))>0?a>c?Zn:Qn:null)?r===Zn?i.length:u.length:0,{type:r,timeout:f,propCount:l,hasTransform:r===Zn&&co.test(n[to+"Property"])}}function lo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,r){return po(e)+po(t[r])})))}function po(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function ho(t,e){var r=t.elm;i(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=Wn(t.data.transition);if(!o(n)&&!i(r._enterCb)&&1===r.nodeType){for(var a=n.css,s=n.type,c=n.enterClass,f=n.enterToClass,l=n.enterActiveClass,p=n.appearClass,h=n.appearToClass,d=n.appearActiveClass,v=n.beforeEnter,g=n.enter,m=n.afterEnter,b=n.enterCancelled,E=n.beforeAppear,w=n.appear,A=n.afterAppear,O=n.appearCancelled,S=n.duration,x=er,_=er.$vnode;_&&_.parent;)x=_.context,_=_.parent;var I=!x._isMounted||!t.isRootInsert;if(!I||w||""===w){var R=I&&p?p:c,T=I&&d?d:l,N=I&&h?h:f,P=I&&E||v,C=I&&"function"==typeof w?w:g,j=I&&A||m,L=I&&O||b,B=y(u(S)?S.enter:S);0;var k=!1!==a&&!Z,U=go(C),M=r._enterCb=$((function(){k&&(so(r,N),so(r,T)),M.cancelled?(k&&so(r,R),L&&L(r)):j&&j(r),r._enterCb=null}));t.data.show||le(t,"insert",(function(){var e=r.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),C&&C(r,M)})),P&&P(r),k&&(ao(r,R),ao(r,T),io((function(){so(r,R),M.cancelled||(ao(r,N),U||(vo(B)?setTimeout(M,B):uo(r,s,M)))}))),t.data.show&&(e&&e(),C&&C(r,M)),k||U||M()}}}function yo(t,e){var r=t.elm;i(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=Wn(t.data.transition);if(o(n)||1!==r.nodeType)return e();if(!i(r._leaveCb)){var a=n.css,s=n.type,c=n.leaveClass,f=n.leaveToClass,l=n.leaveActiveClass,p=n.beforeLeave,h=n.leave,d=n.afterLeave,v=n.leaveCancelled,g=n.delayLeave,m=n.duration,b=!1!==a&&!Z,E=go(h),w=y(u(m)?m.leave:m);0;var A=r._leaveCb=$((function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),b&&(so(r,f),so(r,l)),A.cancelled?(b&&so(r,c),v&&v(r)):(e(),d&&d(r)),r._leaveCb=null}));g?g(O):O()}function O(){A.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),p&&p(r),b&&(ao(r,c),ao(r,l),io((function(){so(r,c),A.cancelled||(ao(r,f),E||(vo(w)?setTimeout(A,w):uo(r,s,A)))}))),h&&h(r,A),b||E||A())}}function vo(t){return"number"==typeof t&&!isNaN(t)}function go(t){if(o(t))return!1;var e=t.fns;return i(e)?go(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function mo(t,e){!0!==e.data.show&&ho(e)}var bo=function(t){var e,r,n={},u=t.modules,c=t.nodeOps;for(e=0;e<un.length;++e)for(n[un[e]]=[],r=0;r<u.length;++r)i(u[r][un[e]])&&n[un[e]].push(u[r][un[e]]);function f(t){var e=c.parentNode(t);i(e)&&c.removeChild(e,t)}function l(t,e,r,o,s,u,f){if(i(t.elm)&&i(u)&&(t=u[f]=Et(t)),t.isRootInsert=!s,!function(t,e,r,o){var s=t.data;if(i(s)){var u=i(t.componentInstance)&&s.keepAlive;if(i(s=s.hook)&&i(s=s.init)&&s(t,!1),i(t.componentInstance))return p(t,e),h(r,t.elm,o),a(u)&&function(t,e,r,o){var a,s=t;for(;s.componentInstance;)if(i(a=(s=s.componentInstance._vnode).data)&&i(a=a.transition)){for(a=0;a<n.activate.length;++a)n.activate[a](sn,s);e.push(s);break}h(r,t.elm,o)}(t,e,r,o),!0}}(t,e,r,o)){var l=t.data,y=t.children,v=t.tag;i(v)?(t.elm=t.ns?c.createElementNS(t.ns,v):c.createElement(v,t),m(t),d(t,y,e),i(l)&&g(t,e),h(r,t.elm,o)):a(t.isComment)?(t.elm=c.createComment(t.text),h(r,t.elm,o)):(t.elm=c.createTextNode(t.text),h(r,t.elm,o))}}function p(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,y(t)?(g(t,e),m(t)):(an(t),e.push(t))}function h(t,e,r){i(t)&&(i(r)?c.parentNode(r)===t&&c.insertBefore(t,e,r):c.appendChild(t,e))}function d(t,e,r){if(Array.isArray(e)){0;for(var n=0;n<e.length;++n)l(e[n],r,t.elm,null,!0,e,n)}else s(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function y(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return i(t.tag)}function g(t,r){for(var o=0;o<n.create.length;++o)n.create[o](sn,t);i(e=t.data.hook)&&(i(e.create)&&e.create(sn,t),i(e.insert)&&r.push(t))}function m(t){var e;if(i(e=t.fnScopeId))c.setStyleScope(t.elm,e);else for(var r=t;r;)i(e=r.context)&&i(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),r=r.parent;i(e=er)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function b(t,e,r,n,o,i){for(;n<=o;++n)l(r[n],i,t,e,!1,r,n)}function E(t){var e,r,o=t.data;if(i(o))for(i(e=o.hook)&&i(e=e.destroy)&&e(t),e=0;e<n.destroy.length;++e)n.destroy[e](t);if(i(e=t.children))for(r=0;r<t.children.length;++r)E(t.children[r])}function w(t,e,r){for(;e<=r;++e){var n=t[e];i(n)&&(i(n.tag)?(A(n),E(n)):f(n.elm))}}function A(t,e){if(i(e)||i(t.data)){var r,o=n.remove.length+1;for(i(e)?e.listeners+=o:e=function(t,e){function r(){0==--r.listeners&&f(t)}return r.listeners=e,r}(t.elm,o),i(r=t.componentInstance)&&i(r=r._vnode)&&i(r.data)&&A(r,e),r=0;r<n.remove.length;++r)n.remove[r](t,e);i(r=t.data.hook)&&i(r=r.remove)?r(t,e):e()}else f(t.elm)}function O(t,e,r,n){for(var o=r;o<n;o++){var a=e[o];if(i(a)&&cn(t,a))return o}}function S(t,e,r,s,u,f){if(t!==e){i(e.elm)&&i(s)&&(e=s[u]=Et(e));var p=e.elm=t.elm;if(a(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?I(t.elm,e,r):e.isAsyncPlaceholder=!0;else if(a(e.isStatic)&&a(t.isStatic)&&e.key===t.key&&(a(e.isCloned)||a(e.isOnce)))e.componentInstance=t.componentInstance;else{var h,d=e.data;i(d)&&i(h=d.hook)&&i(h=h.prepatch)&&h(t,e);var v=t.children,g=e.children;if(i(d)&&y(e)){for(h=0;h<n.update.length;++h)n.update[h](t,e);i(h=d.hook)&&i(h=h.update)&&h(t,e)}o(e.text)?i(v)&&i(g)?v!==g&&function(t,e,r,n,a){var s,u,f,p=0,h=0,d=e.length-1,y=e[0],v=e[d],g=r.length-1,m=r[0],E=r[g],A=!a;for(;p<=d&&h<=g;)o(y)?y=e[++p]:o(v)?v=e[--d]:cn(y,m)?(S(y,m,n,r,h),y=e[++p],m=r[++h]):cn(v,E)?(S(v,E,n,r,g),v=e[--d],E=r[--g]):cn(y,E)?(S(y,E,n,r,g),A&&c.insertBefore(t,y.elm,c.nextSibling(v.elm)),y=e[++p],E=r[--g]):cn(v,m)?(S(v,m,n,r,h),A&&c.insertBefore(t,v.elm,y.elm),v=e[--d],m=r[++h]):(o(s)&&(s=fn(e,p,d)),o(u=i(m.key)?s[m.key]:O(m,e,p,d))?l(m,n,t,y.elm,!1,r,h):cn(f=e[u],m)?(S(f,m,n,r,h),e[u]=void 0,A&&c.insertBefore(t,f.elm,y.elm)):l(m,n,t,y.elm,!1,r,h),m=r[++h]);p>d?b(t,o(r[g+1])?null:r[g+1].elm,r,h,g,n):h>g&&w(e,p,d)}(p,v,g,r,f):i(g)?(i(t.text)&&c.setTextContent(p,""),b(p,null,g,0,g.length-1,r)):i(v)?w(v,0,v.length-1):i(t.text)&&c.setTextContent(p,""):t.text!==e.text&&c.setTextContent(p,e.text),i(d)&&i(h=d.hook)&&i(h=h.postpatch)&&h(t,e)}}}function x(t,e,r){if(a(r)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var n=0;n<e.length;++n)e[n].data.hook.insert(e[n])}var _=v("attrs,class,staticClass,staticStyle,key");function I(t,e,r,n){var o,s=e.tag,u=e.data,c=e.children;if(n=n||u&&u.pre,e.elm=t,a(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(u)&&(i(o=u.hook)&&i(o=o.init)&&o(e,!0),i(o=e.componentInstance)))return p(e,r),!0;if(i(s)){if(i(c))if(t.hasChildNodes())if(i(o=u)&&i(o=o.domProps)&&i(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var f=!0,l=t.firstChild,h=0;h<c.length;h++){if(!l||!I(l,c[h],r,n)){f=!1;break}l=l.nextSibling}if(!f||l)return!1}else d(e,c,r);if(i(u)){var y=!1;for(var v in u)if(!_(v)){y=!0,g(e,r);break}!y&&u.class&&ae(u.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,r,s){if(!o(e)){var u,f=!1,p=[];if(o(t))f=!0,l(e,p);else{var h=i(t.nodeType);if(!h&&cn(t,e))S(t,e,p,null,null,s);else{if(h){if(1===t.nodeType&&t.hasAttribute(k)&&(t.removeAttribute(k),r=!0),a(r)&&I(t,e,p))return x(e,p,!0),t;u=t,t=new vt(c.tagName(u).toLowerCase(),{},[],void 0,u)}var d=t.elm,v=c.parentNode(d);if(l(e,p,d._leaveCb?null:v,c.nextSibling(d)),i(e.parent))for(var g=e.parent,m=y(e);g;){for(var b=0;b<n.destroy.length;++b)n.destroy[b](g);if(g.elm=e.elm,m){for(var A=0;A<n.create.length;++A)n.create[A](sn,g);var O=g.data.hook.insert;if(O.merged)for(var _=1;_<O.fns.length;_++)O.fns[_]()}else an(g);g=g.parent}i(v)?w([t],0,0):i(t.tag)&&E(t)}}return x(e,p,f),e.elm}i(t)&&E(t)}}({nodeOps:nn,modules:[wn,Sn,Pn,Ln,Vn,X?{create:mo,activate:mo,remove:function(t,e){!0!==t.data.show?yo(t,e):e()}}:{}].concat(gn)});Z&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Io(t,"input")}));var Eo={inserted:function(t,e,r,n){"select"===r.tag?(n.elm&&!n.elm._vOptions?le(r,"postpatch",(function(){Eo.componentUpdated(t,e,r)})):wo(t,e,r.context),t._vOptions=[].map.call(t.options,So)):("textarea"===r.tag||rn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",xo),t.addEventListener("compositionend",_o),t.addEventListener("change",_o),Z&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if("select"===r.tag){wo(t,e,r.context);var n=t._vOptions,o=t._vOptions=[].map.call(t.options,So);if(o.some((function(t,e){return!L(t,n[e])})))(t.multiple?e.value.some((function(t){return Oo(t,o)})):e.value!==e.oldValue&&Oo(e.value,o))&&Io(t,"change")}}};function wo(t,e,r){Ao(t,e,r),(K||Q)&&setTimeout((function(){Ao(t,e,r)}),0)}function Ao(t,e,r){var n=e.value,o=t.multiple;if(!o||Array.isArray(n)){for(var i,a,s=0,u=t.options.length;s<u;s++)if(a=t.options[s],o)i=B(n,So(a))>-1,a.selected!==i&&(a.selected=i);else if(L(So(a),n))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Oo(t,e){return e.every((function(e){return!L(e,t)}))}function So(t){return"_value"in t?t._value:t.value}function xo(t){t.target.composing=!0}function _o(t){t.target.composing&&(t.target.composing=!1,Io(t.target,"input"))}function Io(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function Ro(t){return!t.componentInstance||t.data&&t.data.transition?t:Ro(t.componentInstance._vnode)}var To={bind:function(t,e,r){var n=e.value,o=(r=Ro(r)).data&&r.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;n&&o?(r.data.show=!0,ho(r,(function(){t.style.display=i}))):t.style.display=n?i:"none"},update:function(t,e,r){var n=e.value;!n!=!e.oldValue&&((r=Ro(r)).data&&r.data.transition?(r.data.show=!0,n?ho(r,(function(){t.style.display=t.__vOriginalDisplay})):yo(r,(function(){t.style.display="none"}))):t.style.display=n?t.__vOriginalDisplay:"none")},unbind:function(t,e,r,n,o){o||(t.style.display=t.__vOriginalDisplay)}},No={model:Eo,show:To},Po={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 Co(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Co(Je(e.children)):t}function jo(t){var e={},r=t.$options;for(var n in r.propsData)e[n]=t[n];var o=r._parentListeners;for(var i in o)e[O(i)]=o[i];return e}function Lo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Bo=function(t){return t.tag||be(t)},$o=function(t){return"show"===t.name},ko={name:"transition",props:Po,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(r&&(r=r.filter(Bo)).length){0;var n=this.mode;0;var o=r[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=Co(o);if(!i)return o;if(this._leaving)return Lo(t,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var u=(i.data||(i.data={})).transition=jo(this),c=this._vnode,f=Co(c);if(i.data.directives&&i.data.directives.some($o)&&(i.data.show=!0),f&&f.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,f)&&!be(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var l=f.data.transition=T({},u);if("out-in"===n)return this._leaving=!0,le(l,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Lo(t,o);if("in-out"===n){if(be(i))return c;var p,h=function(){p()};le(u,"afterEnter",h),le(u,"enterCancelled",h),le(l,"delayLeave",(function(t){p=t}))}}return o}}},Uo=T({tag:String,moveClass:String},Po);delete Uo.mode;var Mo={props:Uo,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var o=rr(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,r,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=jo(this),s=0;s<o.length;s++){var u=o[s];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))i.push(u),r[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(n){for(var c=[],f=[],l=0;l<n.length;l++){var p=n[l];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),r[p.key]?c.push(p):f.push(p)}this.kept=t(e,null,c),this.removed=f}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(Do),t.forEach(Fo),t.forEach(Go),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var r=t.elm,n=r.style;ao(r,e),n.transform=n.WebkitTransform=n.transitionDuration="",r.addEventListener(eo,r._moveCb=function t(n){n&&n.target!==r||n&&!/transform$/.test(n.propertyName)||(r.removeEventListener(eo,t),r._moveCb=null,so(r,e))})}})))},methods:{hasMove:function(t,e){if(!Kn)return!1;if(this._hasMove)return this._hasMove;var r=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Yn(r,t)})),Xn(r,e),r.style.display="none",this.$el.appendChild(r);var n=fo(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function Do(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Fo(t){t.data.newPos=t.elm.getBoundingClientRect()}function Go(t){var e=t.data.pos,r=t.data.newPos,n=e.left-r.left,o=e.top-r.top;if(n||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+n+"px,"+o+"px)",i.transitionDuration="0s"}}var qo={Transition:ko,TransitionGroup:Mo};Tr.config.mustUseProp=function(t,e,r){return"value"===r&&Mr(t)&&"button"!==e||"selected"===r&&"option"===t||"checked"===r&&"input"===t||"muted"===r&&"video"===t},Tr.config.isReservedTag=tn,Tr.config.isReservedAttr=Ur,Tr.config.getTagNamespace=function(t){return Qr(t)?"svg":"math"===t?"math":void 0},Tr.config.isUnknownElement=function(t){if(!X)return!0;if(tn(t))return!1;if(t=t.toLowerCase(),null!=en[t])return en[t];var e=document.createElement(t);return t.indexOf("-")>-1?en[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:en[t]=/HTMLUnknownElement/.test(e.toString())},T(Tr.options.directives,No),T(Tr.options.components,qo),Tr.prototype.__patch__=X?bo:P,Tr.prototype.$mount=function(t,e){return function(t,e,r){var n;return t.$el=e,t.$options.render||(t.$options.render=mt),ar(t,"beforeMount"),n=function(){t._update(t._render(),r)},new mr(t,n,P,{before:function(){t._isMounted&&!t._isDestroyed&&ar(t,"beforeUpdate")}},!0),r=!1,null==t.$vnode&&(t._isMounted=!0,ar(t,"mounted")),t}(this,t=t&&X?function(t){if("string"==typeof t){return document.querySelector(t)||document.createElement("div")}return t}(t):void 0,e)},X&&setTimeout((function(){D.devtools&&at&&at.emit("init",Tr)}),0);const zo=Tr;var Vo=n(2200),Ho=(0,n(7499).IY)().setApp("twofactor_totp"),Xo=(0,Vo.getCurrentUser)();null!==Xo&&Ho.setUid(Xo.uid);const Yo=Ho.build();var Wo=n(9669),Jo=n.n(Wo),Ko=n(7284),Zo=n.n(Ko),Qo=n(6511),ti=n.n(Qo),ei=n(5108);class ri{bus;constructor(t){"function"==typeof t.getVersion&&Zo()(t.getVersion())?ti()(t.getVersion())!==ti()(this.getVersion())&&ei.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):ei.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}getVersion(){return"3.0.2"}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 ni{handlers=new Map;getVersion(){return"3.0.2"}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)}catch(t){ei.error("could not invoke event listener",t)}}))}}const oi=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(ei.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),void 0!==window._nc_event_bus?new ri(window._nc_event_bus):window._nc_event_bus=new ni);var ii=n(5108);const ai=document.getElementsByTagName("head")[0];let si=ai?ai.getAttribute("data-requesttoken"):null;const ui=[];var ci,fi;ci="csrf-token-update",fi=t=>{si=t.token,ui.forEach((e=>{try{e(t.token)}catch(t){ii.error("error updating CSRF token observer",t)}}))},oi.subscribe(ci,fi);const li=(t,e)=>t?t.getAttribute(e):null,pi=document.getElementsByTagName("head")[0];li(pi,"data-user"),li(pi,"data-user-displayname"),"undefined"!=typeof OC&&OC.isUserAdmin();var hi=n(9753),di=n(5108);const yi=Symbol("csrf-retry"),vi=Symbol("retryDelay"),gi=Jo().create({headers:{requesttoken:si??""}}),mi=Object.assign(gi,{CancelToken:Jo().CancelToken,isCancel:Jo().isCancel});function bi(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}mi.interceptors.response.use((t=>t),(t=>async e=>{const{config:r,response:n,request:{responseURL:o}}=e,{status:i}=n;if(412===i&&"CSRF check failed"===n?.data?.message&&void 0===r[yi]){di.warn(`Request to ${o} failed because of a CSRF mismatch. Fetching a new token`);const{data:{token:e}}=await t.get((0,hi.nu)("/csrftoken"));return di.debug(`New request token ${e} fetched`),t.defaults.headers.requesttoken=e,t({...r,headers:{...r.headers,requesttoken:e},[yi]:!0})}return Promise.reject(e)})(mi)),mi.interceptors.response.use((t=>t),(t=>async e=>{const{config:r,response:n,request:{responseURL:o}}=e,{status:i,headers:a}=n;if(503===i&&"1"===a["x-nextcloud-maintenance-mode"]&&r.retryIfMaintenanceMode&&(!r[vi]||r[vi]<=32)){const e=2*(r[vi]??1);return di.warn(`Request to ${o} failed because of maintenance mode. Retrying in ${e}s`),await new Promise(((t,r)=>{setTimeout(t,1e3*e)})),t({...r,[vi]:e})}return Promise.reject(e)})(mi)),function(t){ui.push(t)}((t=>gi.defaults.headers.requesttoken=t));var Ei=function(){var t,e=(t=regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(0,hi.nu)("/apps/twofactor_totp/settings/enable"),t.next=3,mi.post(r,e);case 3:return n=t.sent,t.abrupt("return",n.data);case 5:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){bi(i,n,o,a,s,"next",t)}function s(t){bi(i,n,o,a,s,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),wi=n(147);function Ai(t,e,r,n,o,i,a,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=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(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(t,e){return u.call(e),f(t,e)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:c}}const Oi=Ai({name:"SetupConfirmation",components:{QR:n.n(wi)()},props:{loading:{type:Boolean,default:!1},secret:{type:String,required:!0},qrUrl:{type:String,required:!0},confirmation:{type:String,default:""}},data:function(){return{confirmationCode:this.confirmation}},watch:{confirmation:function(t){this.confirmationCode=t}},methods:{confirm:function(){this.$emit("update:confirmation",this.confirmationCode),this.$emit("confirm")},onConfirmKeyDown:function(t){13===t.which&&this.confirm()}}},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("p",[t._v("\n\t\t"+t._s(t.t("twofactor_totp","Your new TOTP secret is:"))+" "+t._s(t.secret)+"\n\t")]),t._v(" "),r("p",[t._v("\n\t\t"+t._s(t.t("twofactor_totp","For quick setup, scan this QR code with your TOTP app:"))+"\n\t")]),t._v(" "),r("QR",{attrs:{value:t.qrUrl,options:{width:150}}}),t._v(" "),r("p",[t._v("\n\t\t"+t._s(t.t("twofactor_totp","After you configured your app, enter a test code below to ensure everything works correctly:"))+"\n\t")]),t._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:t.confirmationCode,expression:"confirmationCode"}],attrs:{id:"totp-confirmation",type:"tel",minlength:"6",maxlength:"10",autocomplete:"off",autocapitalize:"off",disabled:t.loading,placeholder:t.t("twofactor_totp","Authentication code")},domProps:{value:t.confirmationCode},on:{keydown:t.onConfirmKeyDown,input:function(e){e.target.composing||(t.confirmationCode=e.target.value)}}}),t._v(" "),r("input",{attrs:{id:"totp-confirmation-submit",type:"button",disabled:t.loading,value:t.t("twofactor_totp","Verify")},on:{click:t.confirm}})],1)}),[],!1,null,null,null).exports,Si=Object.freeze({STATE_DISABLED:0,STATE_CREATED:1,STATE_ENABLED:2}),xi={name:"LoginSetup",components:{SetupConfirmation:Oi},data:function(){return{loading:!0,confirmationLoading:!1,secret:"",qrUrl:"",confirmation:""}},mounted:function(){this.load()},methods:{load:function(){var t=this;this.loading=!0,Yo.info("starting TOTP setup"),Ei({state:Si.STATE_CREATED}).then((function(e){var r=e.secret,n=e.qrUrl;Yo.info("TOTP secret received"),t.secret=r,t.qrUrl=n,t.loading=!1}))},confirm:function(){var t=this;this.loading=!0,Ei({state:Si.STATE_ENABLED,code:this.confirmation}).then((function(e){e.state===Si.STATE_ENABLED?(Yo.info("TOTP secret confirmed"),Yo.info("todo: submit"),t.$refs.confirmForm.submit()):(Yo.warn("TOTP confirmation failed"),t.loading=!1)}))}}};var _i=n(3379),Ii=n.n(_i),Ri=n(7795),Ti=n.n(Ri),Ni=n(569),Pi=n.n(Ni),Ci=n(3565),ji=n.n(Ci),Li=n(9216),Bi=n.n(Li),$i=n(4589),ki=n.n($i),Ui=n(7306),Mi={};Mi.styleTagTransform=ki(),Mi.setAttributes=ji(),Mi.insert=Pi().bind(null,"head"),Mi.domAPI=Ti(),Mi.insertStyleElement=Bi();Ii()(Ui.Z,Mi);Ui.Z&&Ui.Z.locals&&Ui.Z.locals;const Di=Ai(xi,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.loading?r("div",{staticClass:"loading"}):r("SetupConfirmation",{attrs:{loading:t.confirmationLoading,secret:t.secret,"qr-url":t.qrUrl,confirmation:t.confirmation},on:{"update:confirmation":function(e){t.confirmation=e},confirm:t.confirm}}),t._v(" "),r("form",{ref:"confirmForm",attrs:{method:"POST"}})],1)}),[],!1,null,"257036a0",null).exports;zo.mixin({methods:{t}}),Yo.debug("rendering login setup view"),(new(zo.extend(Di))).$mount("#twofactor-totp-login-setup"),Yo.debug("login setup view rendered")})()})();
//# sourceMappingURL=twofactor_totp-main-login-setup.js.map?v=2226e3f8b378c0b4edc4