Edit: /tmp/tsx-0/17887-40520c03d9a73dab18cc9f485f65a21294e81823 (6961B)
{"code":"__filename=\"/opt/canhelp/node_modules/jose/dist/webapi/util/errors.js\";(()=>{\nvar __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __name=(target,value)=>__defProp(target,\"name\",{value,configurable:true});var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from===\"object\"||typeof from===\"function\"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toCommonJS=mod=>__copyProps(__defProp({},\"__esModule\",{value:true}),mod);var errors_exports={};__export(errors_exports,{JOSEAlgNotAllowed:()=>JOSEAlgNotAllowed,JOSEError:()=>JOSEError,JOSENotSupported:()=>JOSENotSupported,JWEDecryptionFailed:()=>JWEDecryptionFailed,JWEInvalid:()=>JWEInvalid,JWKInvalid:()=>JWKInvalid,JWKSInvalid:()=>JWKSInvalid,JWKSMultipleMatchingKeys:()=>JWKSMultipleMatchingKeys,JWKSNoMatchingKey:()=>JWKSNoMatchingKey,JWKSTimeout:()=>JWKSTimeout,JWSInvalid:()=>JWSInvalid,JWSSignatureVerificationFailed:()=>JWSSignatureVerificationFailed,JWTClaimValidationFailed:()=>JWTClaimValidationFailed,JWTExpired:()=>JWTExpired,JWTInvalid:()=>JWTInvalid});module.exports=__toCommonJS(errors_exports);class JOSEError extends Error{static{__name(this,\"JOSEError\")}static code=\"ERR_JOSE_GENERIC\";code=\"ERR_JOSE_GENERIC\";constructor(message,options){super(message,options);this.name=this.constructor.name;Error.captureStackTrace?.(this,this.constructor)}}class JWTClaimValidationFailed extends JOSEError{static{__name(this,\"JWTClaimValidationFailed\")}static code=\"ERR_JWT_CLAIM_VALIDATION_FAILED\";code=\"ERR_JWT_CLAIM_VALIDATION_FAILED\";claim;reason;payload;constructor(message,payload,claim=\"unspecified\",reason=\"unspecified\"){super(message,{cause:{claim,reason,payload}});this.claim=claim;this.reason=reason;this.payload=payload}}class JWTExpired extends JOSEError{static{__name(this,\"JWTExpired\")}static code=\"ERR_JWT_EXPIRED\";code=\"ERR_JWT_EXPIRED\";claim;reason;payload;constructor(message,payload,claim=\"unspecified\",reason=\"unspecified\"){super(message,{cause:{claim,reason,payload}});this.claim=claim;this.reason=reason;this.payload=payload}}class JOSEAlgNotAllowed extends JOSEError{static{__name(this,\"JOSEAlgNotAllowed\")}static code=\"ERR_JOSE_ALG_NOT_ALLOWED\";code=\"ERR_JOSE_ALG_NOT_ALLOWED\"}class JOSENotSupported extends JOSEError{static{__name(this,\"JOSENotSupported\")}static code=\"ERR_JOSE_NOT_SUPPORTED\";code=\"ERR_JOSE_NOT_SUPPORTED\"}class JWEDecryptionFailed extends JOSEError{static{__name(this,\"JWEDecryptionFailed\")}static code=\"ERR_JWE_DECRYPTION_FAILED\";code=\"ERR_JWE_DECRYPTION_FAILED\";constructor(message=\"decryption operation failed\",options){super(message,options)}}class JWEInvalid extends JOSEError{static{__name(this,\"JWEInvalid\")}static code=\"ERR_JWE_INVALID\";code=\"ERR_JWE_INVALID\"}class JWSInvalid extends JOSEError{static{__name(this,\"JWSInvalid\")}static code=\"ERR_JWS_INVALID\";code=\"ERR_JWS_INVALID\"}class JWTInvalid extends JOSEError{static{__name(this,\"JWTInvalid\")}static code=\"ERR_JWT_INVALID\";code=\"ERR_JWT_INVALID\"}class JWKInvalid extends JOSEError{static{__name(this,\"JWKInvalid\")}static code=\"ERR_JWK_INVALID\";code=\"ERR_JWK_INVALID\"}class JWKSInvalid extends JOSEError{static{__name(this,\"JWKSInvalid\")}static code=\"ERR_JWKS_INVALID\";code=\"ERR_JWKS_INVALID\"}class JWKSNoMatchingKey extends JOSEError{static{__name(this,\"JWKSNoMatchingKey\")}static code=\"ERR_JWKS_NO_MATCHING_KEY\";code=\"ERR_JWKS_NO_MATCHING_KEY\";constructor(message=\"no applicable key found in the JSON Web Key Set\",options){super(message,options)}}class JWKSMultipleMatchingKeys extends JOSEError{static{__name(this,\"JWKSMultipleMatchingKeys\")}[Symbol.asyncIterator];static code=\"ERR_JWKS_MULTIPLE_MATCHING_KEYS\";code=\"ERR_JWKS_MULTIPLE_MATCHING_KEYS\";constructor(message=\"multiple matching keys found in the JSON Web Key Set\",options){super(message,options)}}class JWKSTimeout extends JOSEError{static{__name(this,\"JWKSTimeout\")}static code=\"ERR_JWKS_TIMEOUT\";code=\"ERR_JWKS_TIMEOUT\";constructor(message=\"request timed out\",options){super(message,options)}}class JWSSignatureVerificationFailed extends JOSEError{static{__name(this,\"JWSSignatureVerificationFailed\")}static code=\"ERR_JWS_SIGNATURE_VERIFICATION_FAILED\";code=\"ERR_JWS_SIGNATURE_VERIFICATION_FAILED\";constructor(message=\"signature verification failed\",options){super(message,options)}}0&&(module.exports={JOSEAlgNotAllowed,JOSEError,JOSENotSupported,JWEDecryptionFailed,JWEInvalid,JWKInvalid,JWKSInvalid,JWKSMultipleMatchingKeys,JWKSNoMatchingKey,JWKSTimeout,JWSInvalid,JWSSignatureVerificationFailed,JWTClaimValidationFailed,JWTExpired,JWTInvalid});\n})()\n","warnings":[],"map":{"version":3,"mappings":";suBAAA,+nBAAO,MAAM,kBAAkB,KAAM,CAArC,MAAqC,0BACjC,OAAO,KAAO,mBACd,KAAO,mBACP,YAAY,QAAS,QAAS,CAC1B,MAAM,QAAS,OAAO,EACtB,KAAK,KAAO,KAAK,YAAY,KAC7B,MAAM,oBAAoB,KAAM,KAAK,WAAW,CACpD,CACJ,CACO,MAAM,iCAAiC,SAAU,CATxD,MASwD,yCACpD,OAAO,KAAO,kCACd,KAAO,kCACP,MACA,OACA,QACA,YAAY,QAAS,QAAS,MAAQ,cAAe,OAAS,cAAe,CACzE,MAAM,QAAS,CAAE,MAAO,CA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CAAiC,SAAU,CA7ExD,MA6EwD,yCACpD,CAAC,OAAO,aAAa,EACrB,OAAO,KAAO,kCACd,KAAO,kCACP,YAAY,QAAU,uDAAwD,QAAS,CACnF,MAAM,QAAS,OAAO,CAC1B,CACJ,CACO,MAAM,oBAAoB,SAAU,CArF3C,MAqF2C,4BACvC,OAAO,KAAO,mBACd,KAAO,mBACP,YAAY,QAAU,oBAAqB,QAAS,CAChD,MAAM,QAAS,OAAO,CAC1B,CACJ,CACO,MAAM,uCAAuC,SAAU,CA5F9D,MA4F8D,+CAC1D,OAAO,KAAO,wCACd,KAAO,wCACP,YAAY,QAAU,gCAAiC,QAAS,CAC5D,MAAM,QAAS,OAAO,CAC1B,CACJ","names":[],"ignoreList":[],"sources":["/opt/canhelp/node_modules/jose/dist/webapi/util/errors.js"],"sourcesContent":[null]}}