Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
talha_silentcontent
/
.next
/
server
/
chunks
/
Filename :
1482.js
back
Copy
exports.id=1482,exports.ids=[1482],exports.modules={89121:(e,t,r)=>{"use strict";var n=r(78893).Buffer,i=r(78893).SlowBuffer;function o(e,t){if(!n.isBuffer(e)||!n.isBuffer(t)||e.length!==t.length)return!1;for(var r=0,i=0;i<e.length;i++)r|=e[i]^t[i];return 0===r}e.exports=o,o.install=function(){n.prototype.equal=i.prototype.equal=function(e){return o(this,e)}};var a=n.prototype.equal,s=i.prototype.equal;o.restore=function(){n.prototype.equal=a,i.prototype.equal=s}},97145:(e,t,r)=>{"use strict";var n=r(18243).Buffer,i=r(41457);function o(e){if(n.isBuffer(e))return e;if("string"==typeof e)return n.from(e,"base64");throw TypeError("ECDSA signature must be a Base64 string or a Buffer")}function a(e,t,r){for(var n=0;t+n<r&&0===e[t+n];)++n;return e[t+n]>=128&&--n,n}e.exports={derToJose:function(e,t){e=o(e);var r=i(t),a=r+1,s=e.length,u=0;if(48!==e[u++])throw Error('Could not find expected "seq"');var f=e[u++];if(129===f&&(f=e[u++]),s-u<f)throw Error('"seq" specified length of "'+f+'", only "'+(s-u)+'" remaining');if(2!==e[u++])throw Error('Could not find expected "int" for "r"');var c=e[u++];if(s-u-2<c)throw Error('"r" specified length of "'+c+'", only "'+(s-u-2)+'" available');if(a<c)throw Error('"r" specified length of "'+c+'", max of "'+a+'" is acceptable');var l=u;if(u+=c,2!==e[u++])throw Error('Could not find expected "int" for "s"');var p=e[u++];if(s-u!==p)throw Error('"s" specified length of "'+p+'", expected "'+(s-u)+'"');if(a<p)throw Error('"s" specified length of "'+p+'", max of "'+a+'" is acceptable');var y=u;if((u+=p)!==s)throw Error('Expected to consume entire buffer, but "'+(s-u)+'" bytes remain');var d=r-c,h=r-p,m=n.allocUnsafe(d+c+h+p);for(u=0;u<d;++u)m[u]=0;e.copy(m,u,l+Math.max(-d,0),l+c),u=r;for(var g=u;u<g+h;++u)m[u]=0;return e.copy(m,u,y+Math.max(-h,0),y+p),m=(m=m.toString("base64")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},joseToDer:function(e,t){e=o(e);var r=i(t),s=e.length;if(s!==2*r)throw TypeError('"'+t+'" signatures must be "'+2*r+'" bytes, saw "'+s+'"');var u=a(e,0,r),f=a(e,r,e.length),c=r-u,l=r-f,p=2+c+1+1+l,y=p<128,d=n.allocUnsafe((y?2:3)+p),h=0;return d[h++]=48,y?d[h++]=p:(d[h++]=129,d[h++]=255&p),d[h++]=2,d[h++]=c,u<0?(d[h++]=0,h+=e.copy(d,h,0,r)):h+=e.copy(d,h,u,r),d[h++]=2,d[h++]=l,f<0?(d[h++]=0,e.copy(d,h,r)):e.copy(d,h,r+f),d}}},41457:e=>{"use strict";function t(e){return(e/8|0)+(e%8==0?0:1)}var r={ES256:t(256),ES384:t(384),ES512:t(521)};e.exports=function(e){var t=r[e];if(t)return t;throw Error('Unknown algorithm "'+e+'"')}},42857:(e,t,r)=>{var n=r(80843);e.exports=function(e,t){t=t||{};var r=n.decode(e,t);if(!r)return null;var i=r.payload;if("string"==typeof i)try{var o=JSON.parse(i);null!==o&&"object"==typeof o&&(i=o)}catch(e){}return!0===t.complete?{header:r.header,payload:i,signature:r.signature}:i}},41482:(e,t,r)=>{e.exports={decode:r(42857),verify:r(88061),sign:r(73601),JsonWebTokenError:r(453),NotBeforeError:r(37565),TokenExpiredError:r(32658)}},453:e=>{var t=function(e,t){Error.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=e,t&&(this.inner=t)};t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,e.exports=t},37565:(e,t,r)=>{var n=r(453),i=function(e,t){n.call(this,e),this.name="NotBeforeError",this.date=t};i.prototype=Object.create(n.prototype),i.prototype.constructor=i,e.exports=i},32658:(e,t,r)=>{var n=r(453),i=function(e,t){n.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};i.prototype=Object.create(n.prototype),i.prototype.constructor=i,e.exports=i},91440:(e,t,r)=>{let n=r(90799);e.exports=n.satisfies(process.version,">=15.7.0")},33051:(e,t,r)=>{var n=r(90799);e.exports=n.satisfies(process.version,"^6.12.0 || >=8.0.0")},41790:(e,t,r)=>{let n=r(90799);e.exports=n.satisfies(process.version,">=16.9.0")},73258:(e,t,r)=>{var n=r(13974);e.exports=function(e,t){var r=t||Math.floor(Date.now()/1e3);if("string"==typeof e){var i=n(e);if(void 0===i)return;return Math.floor(r+i/1e3)}if("number"==typeof e)return r+e}},59279:(e,t,r)=>{let n=r(91440),i=r(41790),o={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},a={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};e.exports=function(e,t){if(!e||!t)return;let r=t.asymmetricKeyType;if(!r)return;let s=o[r];if(!s)throw Error(`Unknown key type "${r}".`);if(!s.includes(e))throw Error(`"alg" parameter for "${r}" key type must be one of: ${s.join(", ")}.`);if(n)switch(r){case"ec":let u=t.asymmetricKeyDetails.namedCurve,f=a[e];if(u!==f)throw Error(`"alg" parameter "${e}" requires curve "${f}".`);break;case"rsa-pss":if(i){let r=parseInt(e.slice(-3),10),{hashAlgorithm:n,mgf1HashAlgorithm:i,saltLength:o}=t.asymmetricKeyDetails;if(n!==`sha${r}`||i!==n)throw Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(void 0!==o&&o>r>>3)throw Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${e}.`)}}}},73601:(e,t,r)=>{let n=r(73258),i=r(33051),o=r(59279),a=r(80843),s=r(22086),u=r(21724),f=r(54591),c=r(59366),l=r(29080),p=r(71380),y=r(32144),{KeyObject:d,createSecretKey:h,createPrivateKey:m}=r(84770),g=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];i&&g.splice(3,0,"PS256","PS384","PS512");let b={expiresIn:{isValid:function(e){return f(e)||p(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return f(e)||p(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return p(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:s.bind(null,g),message:'"algorithm" must be a valid string enum value'},header:{isValid:l,message:'"header" must be an object'},encoding:{isValid:p,message:'"encoding" must be a string'},issuer:{isValid:p,message:'"issuer" must be a string'},subject:{isValid:p,message:'"subject" must be a string'},jwtid:{isValid:p,message:'"jwtid" must be a string'},noTimestamp:{isValid:u,message:'"noTimestamp" must be a boolean'},keyid:{isValid:p,message:'"keyid" must be a string'},mutatePayload:{isValid:u,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:u,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:u,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},v={iat:{isValid:c,message:'"iat" should be a number of seconds'},exp:{isValid:c,message:'"exp" should be a number of seconds'},nbf:{isValid:c,message:'"nbf" should be a number of seconds'}};function S(e,t,r,n){if(!l(r))throw Error('Expected "'+n+'" to be a plain object.');Object.keys(r).forEach(function(i){let o=e[i];if(!o){if(!t)throw Error('"'+i+'" is not allowed in "'+n+'"');return}if(!o.isValid(r[i]))throw Error(o.message)})}let w={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},j=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];e.exports=function(e,t,r,i){var s,u;"function"==typeof r?(i=r,r={}):r=r||{};let f="object"==typeof e&&!Buffer.isBuffer(e),c=Object.assign({alg:r.algorithm||"HS256",typ:f?"JWT":void 0,kid:r.keyid},r.header);function l(e){if(i)return i(e);throw e}if(!t&&"none"!==r.algorithm)return l(Error("secretOrPrivateKey must have a value"));if(null!=t&&!(t instanceof d))try{t=m(t)}catch(e){try{t=h("string"==typeof t?Buffer.from(t):t)}catch(e){return l(Error("secretOrPrivateKey is not valid key material"))}}if(c.alg.startsWith("HS")&&"secret"!==t.type)return l(Error(`secretOrPrivateKey must be a symmetric key when using ${c.alg}`));if(/^(?:RS|PS|ES)/.test(c.alg)){if("private"!==t.type)return l(Error(`secretOrPrivateKey must be an asymmetric key when using ${c.alg}`));if(!r.allowInsecureKeySizes&&!c.alg.startsWith("ES")&&void 0!==t.asymmetricKeyDetails&&t.asymmetricKeyDetails.modulusLength<2048)return l(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`))}if(void 0===e)return l(Error("payload is required"));if(f){try{s=e,S(v,!0,s,"payload")}catch(e){return l(e)}r.mutatePayload||(e=Object.assign({},e))}else{let t=j.filter(function(e){return void 0!==r[e]});if(t.length>0)return l(Error("invalid "+t.join(",")+" option for "+typeof e+" payload"))}if(void 0!==e.exp&&void 0!==r.expiresIn)return l(Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(void 0!==e.nbf&&void 0!==r.notBefore)return l(Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{u=r,S(b,!1,u,"options")}catch(e){return l(e)}if(!r.allowInvalidAsymmetricKeyTypes)try{o(c.alg,t)}catch(e){return l(e)}let p=e.iat||Math.floor(Date.now()/1e3);if(r.noTimestamp?delete e.iat:f&&(e.iat=p),void 0!==r.notBefore){try{e.nbf=n(r.notBefore,p)}catch(e){return l(e)}if(void 0===e.nbf)return l(Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(void 0!==r.expiresIn&&"object"==typeof e){try{e.exp=n(r.expiresIn,p)}catch(e){return l(e)}if(void 0===e.exp)return l(Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(w).forEach(function(t){let n=w[t];if(void 0!==r[t]){if(void 0!==e[n])return l(Error('Bad "options.'+t+'" option. The payload already has an "'+n+'" property.'));e[n]=r[t]}});let g=r.encoding||"utf8";if("function"==typeof i)i=i&&y(i),a.createSign({header:c,privateKey:t,payload:e,encoding:g}).once("error",i).once("done",function(e){if(!r.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&e.length<256)return i(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`));i(null,e)});else{let n=a.sign({header:c,payload:e,secret:t,encoding:g});if(!r.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&n.length<256)throw Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`);return n}}},88061:(e,t,r)=>{let n=r(453),i=r(37565),o=r(32658),a=r(42857),s=r(73258),u=r(59279),f=r(33051),c=r(80843),{KeyObject:l,createSecretKey:p,createPublicKey:y}=r(84770),d=["RS256","RS384","RS512"],h=["ES256","ES384","ES512"],m=["RS256","RS384","RS512"],g=["HS256","HS384","HS512"];f&&(d.splice(d.length,0,"PS256","PS384","PS512"),m.splice(m.length,0,"PS256","PS384","PS512")),e.exports=function(e,t,r,f){let b,v,S;if("function"!=typeof r||f||(f=r,r={}),r||(r={}),r=Object.assign({},r),b=f||function(e,t){if(e)throw e;return t},r.clockTimestamp&&"number"!=typeof r.clockTimestamp)return b(new n("clockTimestamp must be a number"));if(void 0!==r.nonce&&("string"!=typeof r.nonce||""===r.nonce.trim()))return b(new n("nonce must be a non-empty string"));if(void 0!==r.allowInvalidAsymmetricKeyTypes&&"boolean"!=typeof r.allowInvalidAsymmetricKeyTypes)return b(new n("allowInvalidAsymmetricKeyTypes must be a boolean"));let w=r.clockTimestamp||Math.floor(Date.now()/1e3);if(!e)return b(new n("jwt must be provided"));if("string"!=typeof e)return b(new n("jwt must be a string"));let j=e.split(".");if(3!==j.length)return b(new n("jwt malformed"));try{v=a(e,{complete:!0})}catch(e){return b(e)}if(!v)return b(new n("invalid token"));let E=v.header;if("function"==typeof t){if(!f)return b(new n("verify must be called asynchronous if secret or public key is provided as a callback"));S=t}else S=function(e,r){return r(null,t)};return S(E,function(t,a){let f;if(t)return b(new n("error in secret or public key callback: "+t.message));let S=""!==j[2].trim();if(!S&&a)return b(new n("jwt signature is required"));if(S&&!a)return b(new n("secret or public key must be provided"));if(!S&&!r.algorithms)return b(new n('please specify "none" in "algorithms" to verify unsigned tokens'));if(null!=a&&!(a instanceof l))try{a=y(a)}catch(e){try{a=p("string"==typeof a?Buffer.from(a):a)}catch(e){return b(new n("secretOrPublicKey is not valid key material"))}}if(r.algorithms||("secret"===a.type?r.algorithms=g:["rsa","rsa-pss"].includes(a.asymmetricKeyType)?r.algorithms=m:"ec"===a.asymmetricKeyType?r.algorithms=h:r.algorithms=d),-1===r.algorithms.indexOf(v.header.alg))return b(new n("invalid algorithm"));if(E.alg.startsWith("HS")&&"secret"!==a.type)return b(new n(`secretOrPublicKey must be a symmetric key when using ${E.alg}`));if(/^(?:RS|PS|ES)/.test(E.alg)&&"public"!==a.type)return b(new n(`secretOrPublicKey must be an asymmetric key when using ${E.alg}`));if(!r.allowInvalidAsymmetricKeyTypes)try{u(E.alg,a)}catch(e){return b(e)}try{f=c.verify(e,v.header.alg,a)}catch(e){return b(e)}if(!f)return b(new n("invalid signature"));let x=v.payload;if(void 0!==x.nbf&&!r.ignoreNotBefore){if("number"!=typeof x.nbf)return b(new n("invalid nbf value"));if(x.nbf>w+(r.clockTolerance||0))return b(new i("jwt not active",new Date(1e3*x.nbf)))}if(void 0!==x.exp&&!r.ignoreExpiration){if("number"!=typeof x.exp)return b(new n("invalid exp value"));if(w>=x.exp+(r.clockTolerance||0))return b(new o("jwt expired",new Date(1e3*x.exp)))}if(r.audience){let e=Array.isArray(r.audience)?r.audience:[r.audience];if(!(Array.isArray(x.aud)?x.aud:[x.aud]).some(function(t){return e.some(function(e){return e instanceof RegExp?e.test(t):e===t})}))return b(new n("jwt audience invalid. expected: "+e.join(" or ")))}if(r.issuer&&("string"==typeof r.issuer&&x.iss!==r.issuer||Array.isArray(r.issuer)&&-1===r.issuer.indexOf(x.iss)))return b(new n("jwt issuer invalid. expected: "+r.issuer));if(r.subject&&x.sub!==r.subject)return b(new n("jwt subject invalid. expected: "+r.subject));if(r.jwtid&&x.jti!==r.jwtid)return b(new n("jwt jwtid invalid. expected: "+r.jwtid));if(r.nonce&&x.nonce!==r.nonce)return b(new n("jwt nonce invalid. expected: "+r.nonce));if(r.maxAge){if("number"!=typeof x.iat)return b(new n("iat required when maxAge is specified"));let e=s(r.maxAge,x.iat);if(void 0===e)return b(new n('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(w>=e+(r.clockTolerance||0))return b(new o("maxAge exceeded",new Date(1e3*e)))}return!0===r.complete?b(null,{header:E,payload:x,signature:v.signature}):b(null,x)})}},47917:(e,t,r)=>{var n=r(89121),i=r(18243).Buffer,o=r(84770),a=r(97145),s=r(21764),u="secret must be a string or buffer",f="key must be a string or a buffer",c="function"==typeof o.createPublicKey;function l(e){if(!i.isBuffer(e)&&"string"!=typeof e&&(!c||"object"!=typeof e||"string"!=typeof e.type||"string"!=typeof e.asymmetricKeyType||"function"!=typeof e.export))throw h(f)}function p(e){if(!i.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw h("key must be a string, a buffer or an object")}function y(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function d(e){var t=4-(e=e.toString()).length%4;if(4!==t)for(var r=0;r<t;++r)e+="=";return e.replace(/\-/g,"+").replace(/_/g,"/")}function h(e){var t=[].slice.call(arguments,1);return TypeError(s.format.bind(s,e).apply(null,t))}function m(e){var t;return t=e,i.isBuffer(t)||"string"==typeof t||(e=JSON.stringify(e)),e}function g(e){return function(t,r){(function(e){if(!i.isBuffer(e)&&"string"!=typeof e&&(!c||"object"!=typeof e||"secret"!==e.type||"function"!=typeof e.export))throw h(u)})(r),t=m(t);var n=o.createHmac("sha"+e,r);return y((n.update(t),n.digest("base64")))}}function b(e){return function(t,r,o){var a=g(e)(t,o);return n(i.from(r),i.from(a))}}function v(e){return function(t,r){p(r),t=m(t);var n=o.createSign("RSA-SHA"+e);return y((n.update(t),n.sign(r,"base64")))}}function S(e){return function(t,r,n){l(n),t=m(t),r=d(r);var i=o.createVerify("RSA-SHA"+e);return i.update(t),i.verify(n,r,"base64")}}function w(e){return function(t,r){p(r),t=m(t);var n=o.createSign("RSA-SHA"+e);return y((n.update(t),n.sign({key:r,padding:o.constants.RSA_PKCS1_PSS_PADDING,saltLength:o.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function j(e){return function(t,r,n){l(n),t=m(t),r=d(r);var i=o.createVerify("RSA-SHA"+e);return i.update(t),i.verify({key:n,padding:o.constants.RSA_PKCS1_PSS_PADDING,saltLength:o.constants.RSA_PSS_SALTLEN_DIGEST},r,"base64")}}function E(e){var t=v(e);return function(){var r=t.apply(null,arguments);return a.derToJose(r,"ES"+e)}}function x(e){var t=S(e);return function(r,n,i){return t(r,n=a.joseToDer(n,"ES"+e).toString("base64"),i)}}function A(){return function(){return""}}function O(){return function(e,t){return""===t}}c&&(f+=" or a KeyObject",u+="or a KeyObject"),e.exports=function(e){var t=e.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i);if(!t)throw h('"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".',e);var r=(t[1]||t[3]).toLowerCase(),n=t[2];return{sign:({hs:g,rs:v,ps:w,es:E,none:A})[r](n),verify:({hs:b,rs:S,ps:j,es:x,none:O})[r](n)}}},80843:(e,t,r)=>{var n=r(61287),i=r(75640);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=n.sign,t.verify=i.verify,t.decode=i.decode,t.isValid=i.isValid,t.createSign=function(e){return new n(e)},t.createVerify=function(e){return new i(e)}},23348:(e,t,r)=>{var n=r(18243).Buffer,i=r(76162);function o(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=n.alloc(0),this;if("function"==typeof e.pipe)return this.buffer=n.alloc(0),e.pipe(this),this;if(e.length||"object"==typeof e)return this.buffer=e,this.writable=!1,process.nextTick((function(){this.emit("end",e),this.readable=!1,this.emit("close")}).bind(this)),this;throw TypeError("Unexpected data type ("+typeof e+")")}r(21764).inherits(o,i),o.prototype.write=function(e){this.buffer=n.concat([this.buffer,n.from(e)]),this.emit("data",e)},o.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=o},61287:(e,t,r)=>{var n=r(18243).Buffer,i=r(23348),o=r(47917),a=r(76162),s=r(96107),u=r(21764);function f(e,t){return n.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function c(e){var t,r,n,i=e.header,a=e.payload,c=e.secret||e.privateKey,l=e.encoding,p=o(i.alg),y=(t=(t=l)||"utf8",r=f(s(i),"binary"),n=f(s(a),t),u.format("%s.%s",r,n)),d=p.sign(y,c);return u.format("%s.%s",y,d)}function l(e){var t=new i(e.secret||e.privateKey||e.key);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=t,this.payload=new i(e.payload),this.secret.once("close",(function(){!this.payload.writable&&this.readable&&this.sign()}).bind(this)),this.payload.once("close",(function(){!this.secret.writable&&this.readable&&this.sign()}).bind(this))}u.inherits(l,a),l.prototype.sign=function(){try{var e=c({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",e),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},l.sign=c,e.exports=l},96107:(e,t,r)=>{var n=r(78893).Buffer;e.exports=function(e){return"string"==typeof e?e:"number"==typeof e||n.isBuffer(e)?e.toString():JSON.stringify(e)}},75640:(e,t,r)=>{var n=r(18243).Buffer,i=r(23348),o=r(47917),a=r(76162),s=r(96107),u=r(21764),f=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function c(e){var t=e.split(".",1)[0];return function(e){if("[object Object]"===Object.prototype.toString.call(e))return e;try{return JSON.parse(e)}catch(e){return}}(n.from(t,"base64").toString("binary"))}function l(e){return e.split(".")[2]}function p(e){return f.test(e)&&!!c(e)}function y(e,t,r){if(!t){var n=Error("Missing algorithm parameter for jws.verify");throw n.code="MISSING_ALGORITHM",n}var i=l(e=s(e)),a=e.split(".",2).join(".");return o(t).verify(a,i,r)}function d(e,t){if(t=t||{},!p(e=s(e)))return null;var r,i,o=c(e);if(!o)return null;var a=(r=r||"utf8",i=e.split(".")[1],n.from(i,"base64").toString(r));return("JWT"===o.typ||t.json)&&(a=JSON.parse(a,t.encoding)),{header:o,payload:a,signature:l(e)}}function h(e){var t=new i((e=e||{}).secret||e.publicKey||e.key);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=t,this.signature=new i(e.signature),this.secret.once("close",(function(){!this.signature.writable&&this.readable&&this.verify()}).bind(this)),this.signature.once("close",(function(){!this.secret.writable&&this.readable&&this.verify()}).bind(this))}u.inherits(h,a),h.prototype.verify=function(){try{var e=y(this.signature.buffer,this.algorithm,this.key.buffer),t=d(this.signature.buffer,this.encoding);return this.emit("done",e,t),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},h.decode=d,h.isValid=p,h.verify=y,e.exports=h},22086:e=>{var t,r,n=1/0,i=0/0,o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,f=/^(?:0|[1-9]\d*)$/,c=parseInt;function l(e){return e!=e}var p=Object.prototype,y=p.hasOwnProperty,d=p.toString,h=p.propertyIsEnumerable,m=(t=Object.keys,r=Object,function(e){return t(r(e))}),g=Math.max,b=Array.isArray;function v(e){var t,r;return null!=e&&"number"==typeof(t=e.length)&&t>-1&&t%1==0&&t<=9007199254740991&&!("[object Function]"==(r=S(e)?d.call(e):"")||"[object GeneratorFunction]"==r)}function S(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){return!!e&&"object"==typeof e}e.exports=function(e,t,r,j){e=v(e)?e:(E=e)?function(e,t){for(var r=-1,n=e?e.length:0,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}(v(E)?function(e,t){var r,n=b(e)||w(e)&&v(e)&&y.call(e,"callee")&&(!h.call(e,"callee")||"[object Arguments]"==d.call(e))?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],i=n.length,o=!!i;for(var a in e)y.call(e,a)&&!(o&&("length"==a||(r=null==(r=i)?9007199254740991:r)&&("number"==typeof a||f.test(a))&&a>-1&&a%1==0&&a<r))&&n.push(a);return n}(E):function(e){if(t=e&&e.constructor,e!==("function"==typeof t&&t.prototype||p))return m(e);var t,r=[];for(var n in Object(e))y.call(e,n)&&"constructor"!=n&&r.push(n);return r}(E),function(e){return E[e]}):[],r=r&&!j?(O=(A=(x=r)?(x=function(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||w(t)&&"[object Symbol]"==d.call(t))return i;if(S(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=S(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):a.test(e)?i:+e}(x))===n||x===-n?(x<0?-1:1)*17976931348623157e292:x==x?x:0:0===x?x:0)%1,A==A?O?A-O:A:0):0;var E,x,A,O,k,P=e.length;return r<0&&(r=g(P+r,0)),"string"==typeof(k=e)||!b(k)&&w(k)&&"[object String]"==d.call(k)?r<=P&&e.indexOf(t,r)>-1:!!P&&function(e,t,r){if(t!=t)return function(e,t,r,n){for(var i=e.length,o=r+-1;++o<i;)if(t(e[o],o,e))return o;return -1}(e,l,r);for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return -1}(e,t,r)>-1}},21724:e=>{var t=Object.prototype.toString;e.exports=function(e){return!0===e||!1===e||!!e&&"object"==typeof e&&"[object Boolean]"==t.call(e)}},54591:e=>{var t=1/0,r=0/0,n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,u=Object.prototype.toString;function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){var c,l,p;return"number"==typeof e&&e==(p=(l=(c=e)?(c=function(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==u.call(t))return r;if(f(e)){var t,c="function"==typeof e.valueOf?e.valueOf():e;e=f(c)?c+"":c}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var l=o.test(e);return l||a.test(e)?s(e.slice(2),l?2:8):i.test(e)?r:+e}(c))===t||c===-t?(c<0?-1:1)*17976931348623157e292:c==c?c:0:0===c?c:0)%1,l==l?p?l-p:l:0)}},59366:e=>{var t=Object.prototype.toString;e.exports=function(e){return"number"==typeof e||!!e&&"object"==typeof e&&"[object Number]"==t.call(e)}},29080:e=>{var t,r,n=Object.prototype,i=Function.prototype.toString,o=n.hasOwnProperty,a=i.call(Object),s=n.toString,u=(t=Object.getPrototypeOf,r=Object,function(e){return t(r(e))});e.exports=function(e){if(!(e&&"object"==typeof e)||"[object Object]"!=s.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=u(e);if(null===t)return!0;var r=o.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&i.call(r)==a}},71380:e=>{var t=Object.prototype.toString,r=Array.isArray;e.exports=function(e){var n;return"string"==typeof e||!r(e)&&!!(n=e)&&"object"==typeof n&&"[object String]"==t.call(e)}},32144:e=>{var t=1/0,r=0/0,n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,u=Object.prototype.toString;function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return function(e,c){var l,p,y,d;if("function"!=typeof c)throw TypeError("Expected a function");return d=(y=(p=e)?(p=function(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==u.call(t))return r;if(f(e)){var t,c="function"==typeof e.valueOf?e.valueOf():e;e=f(c)?c+"":c}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var l=o.test(e);return l||a.test(e)?s(e.slice(2),l?2:8):i.test(e)?r:+e}(p))===t||p===-t?(p<0?-1:1)*17976931348623157e292:p==p?p:0:0===p?p:0)%1,e=y==y?d?y-d:y:0,function(){return--e>0&&(l=c.apply(this,arguments)),e<=1&&(c=void 0),l}}(2,e)}},18243:(e,t,r)=>{var n=r(78893),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}}};