@hashgraphonline/standards-sdk 0.0.171 → 0.0.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/cjs/{index-C6JuEaqa.cjs → index-BbO9PbXS.cjs} +8 -8
  2. package/dist/cjs/{index-C6JuEaqa.cjs.map → index-BbO9PbXS.cjs.map} +1 -1
  3. package/dist/cjs/{index-DNOBUKZd-Dp3YIBD3.cjs → index-DNOBUKZd-CrpHimck.cjs} +2 -2
  4. package/dist/cjs/{index-DNOBUKZd-Dp3YIBD3.cjs.map → index-DNOBUKZd-CrpHimck.cjs.map} +1 -1
  5. package/dist/cjs/standards-sdk.cjs +1 -1
  6. package/dist/cjs/{standards-sdk.es47-LpJXpYet-DXAbL7jc.cjs → standards-sdk.es47-LpJXpYet-P7i59MNI.cjs} +2 -2
  7. package/dist/cjs/{standards-sdk.es47-LpJXpYet-DXAbL7jc.cjs.map → standards-sdk.es47-LpJXpYet-P7i59MNI.cjs.map} +1 -1
  8. package/dist/cjs/{standards-sdk.es48-PT6ZHlCU-yByY8MDI.cjs → standards-sdk.es48-PT6ZHlCU-CZ2H1KZJ.cjs} +2 -2
  9. package/dist/cjs/{standards-sdk.es48-PT6ZHlCU-yByY8MDI.cjs.map → standards-sdk.es48-PT6ZHlCU-CZ2H1KZJ.cjs.map} +1 -1
  10. package/dist/cjs/{standards-sdk.es49-BoFc-ELK-Dui1BE61.cjs → standards-sdk.es49-BoFc-ELK-C-p3rJ1y.cjs} +2 -2
  11. package/dist/cjs/{standards-sdk.es49-BoFc-ELK-Dui1BE61.cjs.map → standards-sdk.es49-BoFc-ELK-C-p3rJ1y.cjs.map} +1 -1
  12. package/dist/cjs/{standards-sdk.es50-miBtNmtl-CnkMw8lO.cjs → standards-sdk.es50-miBtNmtl--P7v7jgv.cjs} +2 -2
  13. package/dist/cjs/{standards-sdk.es50-miBtNmtl-CnkMw8lO.cjs.map → standards-sdk.es50-miBtNmtl--P7v7jgv.cjs.map} +1 -1
  14. package/dist/cjs/{standards-sdk.es51-rS2UvvV5-tEniytpy.cjs → standards-sdk.es51-rS2UvvV5-D58VZ14i.cjs} +2 -2
  15. package/dist/cjs/{standards-sdk.es51-rS2UvvV5-tEniytpy.cjs.map → standards-sdk.es51-rS2UvvV5-D58VZ14i.cjs.map} +1 -1
  16. package/dist/cjs/{standards-sdk.es52-D-lvSMBY-BfaYfbif.cjs → standards-sdk.es52-D-lvSMBY-1GLlqmth.cjs} +2 -2
  17. package/dist/cjs/{standards-sdk.es52-D-lvSMBY-BfaYfbif.cjs.map → standards-sdk.es52-D-lvSMBY-1GLlqmth.cjs.map} +1 -1
  18. package/dist/cjs/utils/transaction-parser.d.ts +0 -16
  19. package/dist/cjs/utils/transaction-parser.d.ts.map +1 -1
  20. package/dist/es/standards-sdk.es.js +1 -2
  21. package/dist/es/standards-sdk.es13.js +1 -1
  22. package/dist/es/standards-sdk.es28.js +1 -1
  23. package/dist/es/standards-sdk.es35.js +167 -110
  24. package/dist/es/standards-sdk.es35.js.map +1 -1
  25. package/dist/es/standards-sdk.es39.js +1 -1
  26. package/dist/es/standards-sdk.es49.js +2 -109
  27. package/dist/es/standards-sdk.es49.js.map +1 -1
  28. package/dist/es/standards-sdk.es50.js +80 -37
  29. package/dist/es/standards-sdk.es50.js.map +1 -1
  30. package/dist/es/standards-sdk.es51.js +33 -223
  31. package/dist/es/standards-sdk.es51.js.map +1 -1
  32. package/dist/es/standards-sdk.es52.js +184 -101
  33. package/dist/es/standards-sdk.es52.js.map +1 -1
  34. package/dist/es/standards-sdk.es53.js +167 -5
  35. package/dist/es/standards-sdk.es53.js.map +1 -1
  36. package/dist/es/standards-sdk.es54.js +9 -40
  37. package/dist/es/standards-sdk.es54.js.map +1 -1
  38. package/dist/es/standards-sdk.es55.js +42 -2
  39. package/dist/es/standards-sdk.es55.js.map +1 -1
  40. package/dist/es/utils/transaction-parser.d.ts +0 -16
  41. package/dist/es/utils/transaction-parser.d.ts.map +1 -1
  42. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-C6JuEaqa.cjs");exports.AIAgentCapability=e.AIAgentCapability,exports.AIAgentDetailsSchema=e.AIAgentDetailsSchema,exports.AIAgentProfileSchema=e.AIAgentProfileSchema,exports.AIAgentType=e.AIAgentType,exports.AccountCreationError=e.AccountCreationError,exports.AgentBuilder=e.AgentBuilder,exports.BaseProfileSchema=e.BaseProfileSchema,exports.BrowserHCS20Client=e.BrowserHCS20Client,exports.BrowserHCS2Client=e.BrowserHCS2Client,exports.BrowserHCSClient=e.BrowserHCSClient,exports.ConnectionConfirmationError=e.ConnectionConfirmationError,exports.ConnectionsManager=e.ConnectionsManager,exports.ContentResolverRegistry=e.ContentResolverRegistry,exports.ContentResolverRegistryImpl=e.ContentResolverRegistryImpl,exports.ContentStoreService=e.ContentStoreService,exports.CustomFeeType=e.CustomFeeType,exports.EVMBridge=e.EVMBridge,exports.EndpointType=e.EndpointType,exports.FeeConfigBuilder=e.FeeConfigBuilder,exports.HCS=e.HCS,exports.HCS10BaseClient=e.HCS10BaseClient,exports.HCS10Cache=e.HCS10Cache,exports.HCS10Client=e.HCS10Client,exports.HCS11Client=e.HCS11Client,exports.HCS11ProfileSchema=e.HCS11ProfileSchema,exports.HCS20BaseClient=e.HCS20BaseClient,exports.HCS20BurnMessageSchema=e.HCS20BurnMessageSchema,exports.HCS20Client=e.HCS20Client,exports.HCS20DeployMessageSchema=e.HCS20DeployMessageSchema,exports.HCS20Error=e.HCS20Error,exports.HCS20MessageSchema=e.HCS20MessageSchema,exports.HCS20MintMessageSchema=e.HCS20MintMessageSchema,exports.HCS20PointsIndexer=e.HCS20PointsIndexer,exports.HCS20RegisterMessageSchema=e.HCS20RegisterMessageSchema,exports.HCS20TransferMessageSchema=e.HCS20TransferMessageSchema,exports.HCS20_CONSTANTS=e.HCS20_CONSTANTS,exports.HCS2BaseClient=e.HCS2BaseClient,exports.HCS2Client=e.HCS2Client,exports.HCS2Operation=e.HCS2Operation,exports.HCS2RegistryType=e.HCS2RegistryType,exports.HCS6BaseClient=e.HCS6BaseClient,exports.HCS6BrowserClient=e.HCS6BrowserClient,exports.HCS6Client=e.HCS6Client,exports.HCS6Operation=e.HCS6Operation,exports.HCS6RegistryType=e.HCS6RegistryType,exports.HRLResolver=e.HRLResolver,exports.HTSParser=e.HTSParser,exports.Hcs10MemoType=e.Hcs10MemoType,exports.HederaMirrorNode=e.HederaMirrorNode,exports.InboundTopicType=e.InboundTopicType,exports.InsufficientBalanceError=e.InsufficientBalanceError,exports.InvalidAccountFormatError=e.InvalidAccountFormatError,exports.InvalidMessageFormatError=e.InvalidMessageFormatError,exports.InvalidNumberFormatError=e.InvalidNumberFormatError,exports.InvalidTickFormatError=e.InvalidTickFormatError,exports.KeyType=e.KeyType,exports.KeyTypeDetector=e.KeyTypeDetector,exports.Logger=e.Logger,exports.MCPServerBuilder=e.MCPServerBuilder,exports.MCPServerCapability=e.MCPServerCapability,exports.MCPServerConnectionInfoSchema=e.MCPServerConnectionInfoSchema,exports.MCPServerDetailsSchema=e.MCPServerDetailsSchema,exports.MCPServerHostSchema=e.MCPServerHostSchema,exports.MCPServerProfileSchema=e.MCPServerProfileSchema,exports.MCPServerResourceSchema=e.MCPServerResourceSchema,exports.MCPServerToolSchema=e.MCPServerToolSchema,exports.MCPServerVerificationSchema=e.MCPServerVerificationSchema,exports.MintLimitExceededError=e.MintLimitExceededError,exports.PayloadSizeError=e.PayloadSizeError,exports.PersonBuilder=e.PersonBuilder,exports.PersonalProfileSchema=e.PersonalProfileSchema,exports.PointsBurnError=e.PointsBurnError,exports.PointsDeploymentError=e.PointsDeploymentError,exports.PointsMintError=e.PointsMintError,exports.PointsNotFoundError=e.PointsNotFoundError,exports.PointsTransferError=e.PointsTransferError,exports.PointsValidationError=e.PointsValidationError,exports.ProfileType=e.ProfileType,exports.ProgressReporter=e.ProgressReporter,exports.REFERENCE_THRESHOLD=e.REFERENCE_THRESHOLD,exports.Registration=e.Registration,exports.SUPPORTED_SOCIAL_PLATFORMS=e.SUPPORTED_SOCIAL_PLATFORMS,exports.ScheduleParser=e.ScheduleParser,exports.SocialLinkSchema=e.SocialLinkSchema,exports.SupplyLimitExceededError=e.SupplyLimitExceededError,exports.TopicCreationError=e.TopicCreationError,exports.TopicRegistrationError=e.TopicRegistrationError,exports.TransactionParser=e.TransactionParser,exports.TransactionParsingError=e.TransactionParsingError,exports.UnifiedTransactionParser=e.UnifiedTransactionParser,exports.VerificationType=e.VerificationType,exports.WasmBridge=e.WasmBridge,exports.accountIdsToExemptKeys=e.accountIdsToExemptKeys,exports.baseMessageSchema=e.baseMessageSchema,exports.capabilityNameToCapabilityMap=e.capabilityNameToCapabilityMap,exports.createLoggerAdapter=e.createLoggerAdapter,exports.deleteMessageSchema=e.deleteMessageSchema,exports.detectKeyTypeFromString=e.detectKeyTypeFromString,exports.ensureLoggerType=e.ensureLoggerType,exports.extractReferenceId=e.extractReferenceId,exports.generateHCS6RegistryMemo=e.generateHCS6RegistryMemo,exports.getTopicId=e.getTopicId,exports.hcs2MessageSchema=e.hcs2MessageSchema,exports.hcs6BaseMessageSchema=e.hcs6BaseMessageSchema,exports.hcs6MessageSchema=e.hcs6MessageSchema,exports.hcs6RegisterMessageSchema=e.hcs6RegisterMessageSchema,exports.hcs6TopicIdSchema=e.hcs6TopicIdSchema,exports.inscribe=e.inscribe,exports.inscribeWithSigner=e.inscribeWithSigner,exports.isConcreteLogger=e.isConcreteLogger,exports.mcpServiceNameToCapabilityMap=e.mcpServiceNameToCapabilityMap,exports.migrateMessageSchema=e.migrateMessageSchema,exports.registerMessageSchema=e.registerMessageSchema,exports.retrieveInscription=e.retrieveInscription,exports.setLoggerFactory=e.setLoggerFactory,exports.shouldUseReference=e.shouldUseReference,exports.sleep=e.sleep,exports.topicIdSchema=e.topicIdSchema,exports.updateMessageSchema=e.updateMessageSchema,exports.validateHCS6RegistryMemo=e.validateHCS6RegistryMemo,exports.validateHCS6TTL=e.validateHCS6TTL,exports.waitForInscriptionConfirmation=e.waitForInscriptionConfirmation;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BbO9PbXS.cjs");exports.AIAgentCapability=e.AIAgentCapability,exports.AIAgentDetailsSchema=e.AIAgentDetailsSchema,exports.AIAgentProfileSchema=e.AIAgentProfileSchema,exports.AIAgentType=e.AIAgentType,exports.AccountCreationError=e.AccountCreationError,exports.AgentBuilder=e.AgentBuilder,exports.BaseProfileSchema=e.BaseProfileSchema,exports.BrowserHCS20Client=e.BrowserHCS20Client,exports.BrowserHCS2Client=e.BrowserHCS2Client,exports.BrowserHCSClient=e.BrowserHCSClient,exports.ConnectionConfirmationError=e.ConnectionConfirmationError,exports.ConnectionsManager=e.ConnectionsManager,exports.ContentResolverRegistry=e.ContentResolverRegistry,exports.ContentResolverRegistryImpl=e.ContentResolverRegistryImpl,exports.ContentStoreService=e.ContentStoreService,exports.CustomFeeType=e.CustomFeeType,exports.EVMBridge=e.EVMBridge,exports.EndpointType=e.EndpointType,exports.FeeConfigBuilder=e.FeeConfigBuilder,exports.HCS=e.HCS,exports.HCS10BaseClient=e.HCS10BaseClient,exports.HCS10Cache=e.HCS10Cache,exports.HCS10Client=e.HCS10Client,exports.HCS11Client=e.HCS11Client,exports.HCS11ProfileSchema=e.HCS11ProfileSchema,exports.HCS20BaseClient=e.HCS20BaseClient,exports.HCS20BurnMessageSchema=e.HCS20BurnMessageSchema,exports.HCS20Client=e.HCS20Client,exports.HCS20DeployMessageSchema=e.HCS20DeployMessageSchema,exports.HCS20Error=e.HCS20Error,exports.HCS20MessageSchema=e.HCS20MessageSchema,exports.HCS20MintMessageSchema=e.HCS20MintMessageSchema,exports.HCS20PointsIndexer=e.HCS20PointsIndexer,exports.HCS20RegisterMessageSchema=e.HCS20RegisterMessageSchema,exports.HCS20TransferMessageSchema=e.HCS20TransferMessageSchema,exports.HCS20_CONSTANTS=e.HCS20_CONSTANTS,exports.HCS2BaseClient=e.HCS2BaseClient,exports.HCS2Client=e.HCS2Client,exports.HCS2Operation=e.HCS2Operation,exports.HCS2RegistryType=e.HCS2RegistryType,exports.HCS6BaseClient=e.HCS6BaseClient,exports.HCS6BrowserClient=e.HCS6BrowserClient,exports.HCS6Client=e.HCS6Client,exports.HCS6Operation=e.HCS6Operation,exports.HCS6RegistryType=e.HCS6RegistryType,exports.HRLResolver=e.HRLResolver,exports.HTSParser=e.HTSParser,exports.Hcs10MemoType=e.Hcs10MemoType,exports.HederaMirrorNode=e.HederaMirrorNode,exports.InboundTopicType=e.InboundTopicType,exports.InsufficientBalanceError=e.InsufficientBalanceError,exports.InvalidAccountFormatError=e.InvalidAccountFormatError,exports.InvalidMessageFormatError=e.InvalidMessageFormatError,exports.InvalidNumberFormatError=e.InvalidNumberFormatError,exports.InvalidTickFormatError=e.InvalidTickFormatError,exports.KeyType=e.KeyType,exports.KeyTypeDetector=e.KeyTypeDetector,exports.Logger=e.Logger,exports.MCPServerBuilder=e.MCPServerBuilder,exports.MCPServerCapability=e.MCPServerCapability,exports.MCPServerConnectionInfoSchema=e.MCPServerConnectionInfoSchema,exports.MCPServerDetailsSchema=e.MCPServerDetailsSchema,exports.MCPServerHostSchema=e.MCPServerHostSchema,exports.MCPServerProfileSchema=e.MCPServerProfileSchema,exports.MCPServerResourceSchema=e.MCPServerResourceSchema,exports.MCPServerToolSchema=e.MCPServerToolSchema,exports.MCPServerVerificationSchema=e.MCPServerVerificationSchema,exports.MintLimitExceededError=e.MintLimitExceededError,exports.PayloadSizeError=e.PayloadSizeError,exports.PersonBuilder=e.PersonBuilder,exports.PersonalProfileSchema=e.PersonalProfileSchema,exports.PointsBurnError=e.PointsBurnError,exports.PointsDeploymentError=e.PointsDeploymentError,exports.PointsMintError=e.PointsMintError,exports.PointsNotFoundError=e.PointsNotFoundError,exports.PointsTransferError=e.PointsTransferError,exports.PointsValidationError=e.PointsValidationError,exports.ProfileType=e.ProfileType,exports.ProgressReporter=e.ProgressReporter,exports.REFERENCE_THRESHOLD=e.REFERENCE_THRESHOLD,exports.Registration=e.Registration,exports.SUPPORTED_SOCIAL_PLATFORMS=e.SUPPORTED_SOCIAL_PLATFORMS,exports.ScheduleParser=e.ScheduleParser,exports.SocialLinkSchema=e.SocialLinkSchema,exports.SupplyLimitExceededError=e.SupplyLimitExceededError,exports.TopicCreationError=e.TopicCreationError,exports.TopicRegistrationError=e.TopicRegistrationError,exports.TransactionParser=e.TransactionParser,exports.TransactionParsingError=e.TransactionParsingError,exports.VerificationType=e.VerificationType,exports.WasmBridge=e.WasmBridge,exports.accountIdsToExemptKeys=e.accountIdsToExemptKeys,exports.baseMessageSchema=e.baseMessageSchema,exports.capabilityNameToCapabilityMap=e.capabilityNameToCapabilityMap,exports.createLoggerAdapter=e.createLoggerAdapter,exports.deleteMessageSchema=e.deleteMessageSchema,exports.detectKeyTypeFromString=e.detectKeyTypeFromString,exports.ensureLoggerType=e.ensureLoggerType,exports.extractReferenceId=e.extractReferenceId,exports.generateHCS6RegistryMemo=e.generateHCS6RegistryMemo,exports.getTopicId=e.getTopicId,exports.hcs2MessageSchema=e.hcs2MessageSchema,exports.hcs6BaseMessageSchema=e.hcs6BaseMessageSchema,exports.hcs6MessageSchema=e.hcs6MessageSchema,exports.hcs6RegisterMessageSchema=e.hcs6RegisterMessageSchema,exports.hcs6TopicIdSchema=e.hcs6TopicIdSchema,exports.inscribe=e.inscribe,exports.inscribeWithSigner=e.inscribeWithSigner,exports.isConcreteLogger=e.isConcreteLogger,exports.mcpServiceNameToCapabilityMap=e.mcpServiceNameToCapabilityMap,exports.migrateMessageSchema=e.migrateMessageSchema,exports.registerMessageSchema=e.registerMessageSchema,exports.retrieveInscription=e.retrieveInscription,exports.setLoggerFactory=e.setLoggerFactory,exports.shouldUseReference=e.shouldUseReference,exports.sleep=e.sleep,exports.topicIdSchema=e.topicIdSchema,exports.updateMessageSchema=e.updateMessageSchema,exports.validateHCS6RegistryMemo=e.validateHCS6RegistryMemo,exports.validateHCS6TTL=e.validateHCS6TTL,exports.waitForInscriptionConfirmation=e.waitForInscriptionConfirmation;
2
2
  //# sourceMappingURL=standards-sdk.cjs.map
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-C6JuEaqa.cjs");var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t.global$1?t.global$1:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var n,o={};function i(){return n||(n=1,function(t){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});for(var e={},r={byteLength:function(t){var e=f(t),r=e[0],n=e[1];return 3*(r+n)/4-n},toByteArray:function(t){var e,r,n=f(t),a=n[0],u=n[1],s=new i(function(t,e,r){return 3*(e+r)/4-r}(0,a,u)),l=0,c=u>0?a-4:a;for(r=0;r<c;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)],s[l++]=e>>16&255,s[l++]=e>>8&255,s[l++]=255&e;2===u&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,s[l++]=255&e);1===u&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,s[l++]=e>>8&255,s[l++]=255&e);return s},fromByteArray:function(t){for(var e,r=t.length,o=r%3,i=[],a=16383,u=0,f=r-o;u<f;u+=a)i.push(l(t,u,u+a>f?f:u+a));1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return i.join("")}},n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0;u<64;++u)n[u]=a[u],o[a.charCodeAt(u)]=u;function f(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 s(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function l(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(s(n));return o.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63;var c={
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-BbO9PbXS.cjs");var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t.global$1?t.global$1:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var n,o={};function i(){return n||(n=1,function(t){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});for(var e={},r={byteLength:function(t){var e=f(t),r=e[0],n=e[1];return 3*(r+n)/4-n},toByteArray:function(t){var e,r,n=f(t),a=n[0],u=n[1],s=new i(function(t,e,r){return 3*(e+r)/4-r}(0,a,u)),l=0,c=u>0?a-4:a;for(r=0;r<c;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)],s[l++]=e>>16&255,s[l++]=e>>8&255,s[l++]=255&e;2===u&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,s[l++]=255&e);1===u&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,s[l++]=e>>8&255,s[l++]=255&e);return s},fromByteArray:function(t){for(var e,r=t.length,o=r%3,i=[],a=16383,u=0,f=r-o;u<f;u+=a)i.push(l(t,u,u+a>f?f:u+a));1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return i.join("")}},n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0;u<64;++u)n[u]=a[u],o[a.charCodeAt(u)]=u;function f(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 s(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function l(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(s(n));return o.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63;var c={
2
2
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
3
3
  read:function(t,e,r,n,o){var i,a,u=8*o-n-1,f=(1<<u)-1,s=f>>1,l=-7,c=r?o-1:0,p=r?-1:1,h=t[e+c];for(c+=p,i=h&(1<<-l)-1,h>>=-l,l+=u;l>0;i=256*i+t[e+c],c+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+t[e+c],c+=p,l-=8);if(0===i)i=1-s;else{if(i===f)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=s}return(h?-1:1)*a*Math.pow(2,i-n)},write:function(t,e,r,n,o,i){var a,u,f,s=8*i-o-1,l=(1<<s)-1,c=l>>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?(u=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-a))<1&&(a--,f*=2),(e+=a+c>=1?p/f:p*Math.pow(2,1-c))*f>=2&&(a++,f/=2),a+c>=l?(u=0,a=l):a+c>=1?(u=(e*f-1)*Math.pow(2,o),a+=c):(u=e*Math.pow(2,c-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&u,h+=d,u/=256,o-=8);for(a=a<<o|u,s+=o;s>0;t[r+h]=255&a,h+=d,a/=256,s-=8);t[r+h-d]|=128*y}};
4
4
  /*!
@@ -8,4 +8,4 @@ read:function(t,e,r,n,o){var i,a,u=8*o-n-1,f=(1<<u)-1,s=f>>1,l=-7,c=r?o-1:0,p=r?
8
8
  * @license MIT
9
9
  */
10
10
  !function(t){const e=r,n=c,o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(t){+t!=t&&(t=0);return l.alloc(+t)},t.INSPECT_MAX_BYTES=50;const i=2147483647;t.kMaxLength=i;const{Uint8Array:a,ArrayBuffer:u,SharedArrayBuffer:f}=globalThis;function s(t){if(t>i)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new a(t);return Object.setPrototypeOf(e,l.prototype),e}function l(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 p(t,e,r)}function p(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|w(t,e);let n=s(r);const o=n.write(t,e);o!==r&&(n=n.slice(0,o));return n}(t,e);if(u.isView(t))return function(t){if(Z(t,a)){const e=new a(t);return g(e.buffer,e.byteOffset,e.byteLength)}return y(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(Z(t,u)||t&&Z(t.buffer,u))return g(t,e,r);if(void 0!==f&&(Z(t,f)||t&&Z(t.buffer,f)))return g(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 l.from(n,e,r);const o=function(t){if(l.isBuffer(t)){const e=0|b(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||Q(t.length)?s(0):y(t);if("Buffer"===t.type&&Array.isArray(t.data))return y(t.data)}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return l.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 h(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 d(t){return h(t),s(t<0?0:0|b(t))}function y(t){const e=t.length<0?0:0|b(t.length),r=s(e);for(let 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');let n;return n=void 0===e&&void 0===r?new a(t):void 0===r?new a(t,e):new a(t,e,r),Object.setPrototypeOf(n,l.prototype),n}function b(t){if(t>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|t}function w(t,e){if(l.isBuffer(t))return t.length;if(u.isView(t)||Z(t,u))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 J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return K(t).length;default:if(o)return n?-1:J(t).length;e=(""+e).toLowerCase(),o=!0}}function v(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 k(this,e,r);case"utf8":case"utf-8":return P(this,e,r);case"ascii":return M(this,e,r);case"latin1":case"binary":return I(this,e,r);case"base64":return T(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(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 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=l.from(e,n)),l.isBuffer(e))return 0===e.length?-1:_(t,e,r,n,o);if("number"==typeof e)return e&=255,"function"==typeof a.prototype.indexOf?o?a.prototype.indexOf.call(t,e,r):a.prototype.lastIndexOf.call(t,e,r):_(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function _(t,e,r,n,o){let i,a=1,u=t.length,f=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,u/=2,f/=2,r/=2}function s(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){let n=-1;for(i=r;i<u;i++)if(s(t,i)===s(e,-1===n?0:i-n)){if(-1===n&&(n=i),i-n+1===f)return n*a}else-1!==n&&(i-=i-n),n=-1}else for(r+f>u&&(r=u-f),i=r;i>=0;i--){let r=!0;for(let n=0;n<f;n++)if(s(t,i+n)!==s(e,n)){r=!1;break}if(r)return i}return-1}function E(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(Q(n))return a;t[r+a]=n}return a}function A(t,e,r,n){return X(J(e,t.length-r),t,r,n)}function R(t,e,r,n){return X(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 O(t,e,r,n){return X(K(e),t,r,n)}function j(t,e,r,n){return X(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(t,r,n){return 0===r&&n===t.length?e.fromByteArray(t):e.fromByteArray(t.slice(r,n))}function P(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,u,f;switch(a){case 1:e<128&&(i=e);break;case 2:r=t[o+1],128==(192&r)&&(f=(31&e)<<6|63&r,f>127&&(i=f));break;case 3:r=t[o+1],n=t[o+2],128==(192&r)&&128==(192&n)&&(f=(15&e)<<12|(63&r)<<6|63&n,f>2047&&(f<55296||f>57343)&&(i=f));break;case 4:r=t[o+1],n=t[o+2],u=t[o+3],128==(192&r)&&128==(192&n)&&128==(192&u)&&(f=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&u,f>65535&&f<1114112&&(i=f))}}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<=B)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=B));return r}(n)}l.TYPED_ARRAY_SUPPORT=function(){try{const t=new a(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,a.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(t,e,r){return p(t,e,r)},Object.setPrototypeOf(l.prototype,a.prototype),Object.setPrototypeOf(l,a),l.alloc=function(t,e,r){return function(t,e,r){return h(t),t<=0?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)}(t,e,r)},l.allocUnsafe=function(t){return d(t)},l.allocUnsafeSlow=function(t){return d(t)},l.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==l.prototype},l.compare=function(t,e){if(Z(t,a)&&(t=l.from(t,t.offset,t.byteLength)),Z(e,a)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(t)||!l.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},l.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}},l.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=l.allocUnsafe(e);let o=0;for(r=0;r<t.length;++r){let e=t[r];if(Z(e,a))o+e.length>n.length?(l.isBuffer(e)||(e=l.from(e)),e.copy(n,o)):a.prototype.set.call(n,e,o);else{if(!l.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,o)}o+=e.length}return n},l.byteLength=w,l.prototype._isBuffer=!0,l.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},l.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},l.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},l.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?P(this,0,t):v.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){let e="";const r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(t,e,r,n,o){if(Z(t,a)&&(t=l.from(t,t.offset,t.byteLength)),!l.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),u=(r>>>=0)-(e>>>=0);const f=Math.min(i,u),s=this.slice(n,o),c=t.slice(e,r);for(let a=0;a<f;++a)if(s[a]!==c[a]){i=s[a],u=c[a];break}return i<u?-1:u<i?1:0},l.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},l.prototype.indexOf=function(t,e,r){return S(this,t,e,r,!0)},l.prototype.lastIndexOf=function(t,e,r){return S(this,t,e,r,!1)},l.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 E(this,t,e,r);case"utf8":case"utf-8":return A(this,t,e,r);case"ascii":case"latin1":case"binary":return R(this,t,e,r);case"base64":return O(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const B=4096;function M(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 I(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 k(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let o="";for(let i=e;i<r;++i)o+=tt[t[i]];return o}function L(t,e,r){const n=t.slice(e,r);let o="";for(let i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function x(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 U(t,e,r,n,o,i){if(!l.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 N(t,e,r,n,o){z(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 C(t,e,r,n,o){z(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 D(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 F(t,e,r,o,i){return e=+e,r>>>=0,i||D(t,0,r,4),n.write(t,e,r,o,23,4),r+4}function $(t,e,r,o,i){return e=+e,r>>>=0,i||D(t,0,r,8),n.write(t,e,r,o,52,8),r+8}l.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,l.prototype),n},l.prototype.readUintLE=l.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);let n=this[t],o=1,i=0;for(;++i<e&&(o*=256);)n+=this[t+i]*o;return n},l.prototype.readUintBE=l.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);let n=this[t+--e],o=1;for(;e>0&&(o*=256);)n+=this[t+--e]*o;return n},l.prototype.readUint8=l.prototype.readUInt8=function(t,e){return t>>>=0,e||x(t,1,this.length),this[t]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(t,e){return t>>>=0,e||x(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(t,e){return t>>>=0,e||x(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(t,e){return t>>>=0,e||x(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(t,e){return t>>>=0,e||x(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readBigUInt64LE=et(function(t){H(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))}),l.prototype.readBigUInt64BE=et(function(t){H(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)}),l.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||x(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},l.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||x(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},l.prototype.readInt8=function(t,e){return t>>>=0,e||x(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){t>>>=0,e||x(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(t,e){t>>>=0,e||x(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(t,e){return t>>>=0,e||x(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return t>>>=0,e||x(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readBigInt64LE=et(function(t){H(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)}),l.prototype.readBigInt64BE=et(function(t){H(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)}),l.prototype.readFloatLE=function(t,e){return t>>>=0,e||x(t,4,this.length),n.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return t>>>=0,e||x(t,4,this.length),n.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return t>>>=0,e||x(t,8,this.length),n.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return t>>>=0,e||x(t,8,this.length),n.read(this,t,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){U(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},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){U(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},l.prototype.writeUint8=l.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||U(this,t,e,1,255,0),this[e]=255&t,e+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||U(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||U(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||U(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},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||U(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},l.prototype.writeBigUInt64LE=et(function(t,e=0){return N(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=et(function(t,e=0){return C(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);U(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},l.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);U(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},l.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||U(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||U(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},l.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||U(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},l.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||U(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},l.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||U(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},l.prototype.writeBigInt64LE=et(function(t,e=0){return N(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=et(function(t,e=0){return C(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeFloatLE=function(t,e,r){return F(this,t,e,!0,r)},l.prototype.writeFloatBE=function(t,e,r){return F(this,t,e,!1,r)},l.prototype.writeDoubleLE=function(t,e,r){return $(this,t,e,!0,r)},l.prototype.writeDoubleBE=function(t,e,r){return $(this,t,e,!1,r)},l.prototype.copy=function(t,e,r,n){if(!l.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 a.prototype.copyWithin?this.copyWithin(e,r,n):a.prototype.set.call(t,this.subarray(r,n),e),o},l.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&&!l.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=l.isBuffer(t)?t:l.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 W={};function G(t,e,r){W[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 q(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 z(t,e,r,n,o,i){if(t>r||t<e){const r="bigint"==typeof e?"n":"";let n;throw n=0===e||e===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(i+1)}${r}`:`>= -(2${r} ** ${8*(i+1)-1}${r}) and < 2 ** ${8*(i+1)-1}${r}`,new W.ERR_OUT_OF_RANGE("value",n,t)}!function(t,e,r){H(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||V(e,t.length-(r+1))}(n,o,i)}function H(t,e){if("number"!=typeof t)throw new W.ERR_INVALID_ARG_TYPE(e,"number",t)}function V(t,e,r){if(Math.floor(t)!==t)throw H(t,r),new W.ERR_OUT_OF_RANGE("offset","an integer",t);if(e<0)throw new W.ERR_BUFFER_OUT_OF_BOUNDS;throw new W.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${e}`,t)}G("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),G("ERR_INVALID_ARG_TYPE",function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`},TypeError),G("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=q(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=q(o)),o+="n"),n+=` It must be ${e}. Received ${o}`,n},RangeError);const Y=/[^+/0-9A-Za-z-_]/g;function J(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 K(t){return e.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function X(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 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}const tt=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 et(t){return"undefined"==typeof BigInt?rt:t}function rt(){throw new Error("BigInt not supported")}}(e);const p=e.Buffer;t.Blob=e.Blob,t.BlobOptions=e.BlobOptions,t.Buffer=e.Buffer,t.File=e.File,t.FileOptions=e.FileOptions,t.INSPECT_MAX_BYTES=e.INSPECT_MAX_BYTES,t.SlowBuffer=e.SlowBuffer,t.TranscodeEncoding=e.TranscodeEncoding,t.atob=e.atob,t.btoa=e.btoa,t.constants=e.constants,t.default=p,t.isAscii=e.isAscii,t.isUtf8=e.isUtf8,t.kMaxLength=e.kMaxLength,t.kStringMaxLength=e.kStringMaxLength,t.resolveObjectURL=e.resolveObjectURL,t.transcode=e.transcode}(o)),o}var a,u={exports:{}};function f(){if(a)return u.exports;a=1;var t,e="object"==typeof Reflect?Reflect:null,r=e&&"function"==typeof e.apply?e.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};t=e&&"function"==typeof e.ownKeys?e.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var n=Number.isNaN||function(t){return t!=t};function o(){o.init.call(this)}u.exports=o,u.exports.once=function(t,e){return new Promise(function(r,n){function o(r){t.removeListener(e,i),n(r)}function i(){"function"==typeof t.removeListener&&t.removeListener("error",o),r([].slice.call(arguments))}g(t,e,i,{once:!0}),"error"!==e&&function(t,e,r){"function"==typeof t.on&&g(t,"error",e,r)}(t,o,{once:!0})})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function f(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function s(t){return void 0===t._maxListeners?o.defaultMaxListeners:t._maxListeners}function l(t,e,r,n){var o,i,a,u;if(f(r),void 0===(i=t._events)?(i=t._events=Object.create(null),t._eventsCount=0):(void 0!==i.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),i=t._events),a=i[e]),void 0===a)a=i[e]=r,++t._eventsCount;else if("function"==typeof a?a=i[e]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=s(t))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=a.length,u=l,console&&console.warn&&console.warn(u)}return t}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},o=c.bind(n);return o.listener=r,n.wrapFn=o,o}function h(t,e,r){var n=t._events;if(void 0===n)return[];var o=n[e];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(o):y(o,o.length)}function d(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function y(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function g(t,e,r,n){if("function"==typeof t.on)n.once?t.once(e,r):t.on(e,r);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,function o(i){n.once&&t.removeEventListener(e,o),r(i)})}}return Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(t){if("number"!=typeof t||t<0||n(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");i=t}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||n(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},o.prototype.getMaxListeners=function(){return s(this)},o.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var o="error"===t,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var f=i[t];if(void 0===f)return!1;if("function"==typeof f)r(f,this,e);else{var s=f.length,l=y(f,s);for(n=0;n<s;++n)r(l[n],this,e)}return!0},o.prototype.addListener=function(t,e){return l(this,t,e,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(t,e){return l(this,t,e,!0)},o.prototype.once=function(t,e){return f(e),this.on(t,p(this,t,e)),this},o.prototype.prependOnceListener=function(t,e){return f(e),this.prependListener(t,p(this,t,e)),this},o.prototype.removeListener=function(t,e){var r,n,o,i,a;if(f(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0===--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===e||r[i].listener===e){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,o),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,a||e)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},o.prototype.listeners=function(t){return h(this,t,!0)},o.prototype.rawListeners=function(t){return h(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):d.call(t,e)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]},u.exports}var s,l,c={},p={exports:{}};function h(){if(l)return c;l=1;var t=(s||(s=1,function(t,e){var r=i(),n=r.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return n(t,e,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),a.prototype=Object.create(n.prototype),o(n,a),a.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return n(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var o=n(t);return void 0!==e?"string"==typeof r?o.fill(e,r):o.fill(e):o.fill(0),o},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}}(p,p.exports)),p.exports).Buffer,e=t.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(r){var n;switch(this.encoding=function(r){var n=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(r);if("string"!=typeof n&&(t.isEncoding===e||!e(r)))throw new Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=a,this.end=u,n=4;break;case"utf8":this.fillLast=o,n=4;break;case"base64":this.text=f,this.end=h,n=3;break;default:return this.write=d,void(this.end=y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(n)}function n(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function o(t){var e=this.lastTotal-this.lastNeed,r=function(t,e){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function a(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function f(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(t){return t.toString(this.encoding)}function y(t){return t&&t.length?this.write(t):""}return c.StringDecoder=r,r.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},r.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},r.prototype.text=function(t,e){var r=function(t,e,r){var o=e.length-1;if(o<r)return 0;var i=n(e[o]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--o<r||-2===i)return 0;if(i=n(e[o]),i>=0)return i>0&&(t.lastNeed=i-2),i;if(--o<r||-2===i)return 0;if(i=n(e[o]),i>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var o=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,o),t.toString("utf8",e,o)},r.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length},c}var d,y,g,b={exports:{}};function w(){return d||(d=1,"function"==typeof Object.create?b.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:b.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}),b.exports}function v(){return g?y:(g=1,y=f().EventEmitter)}var m,S,_,E,A,R,O,j,T,P,B,M,I,k,L,x,U,N,C,D,F,$,W,G,q,z,H,V,Y,J,K,X,Z,Q,tt,et,rt,nt,ot,it,at,ut,ft,st,lt,ct,pt,ht,dt,yt,gt,bt,wt,vt,mt,St,_t,Et,At,Rt,Ot,jt,Tt,Pt,Bt,Mt,It,kt,Lt,xt,Ut,Nt,Ct,Dt,Ft,$t,Wt,Gt,qt,zt,Ht,Vt,Yt,Jt,Kt,Xt,Zt,Qt,te={},ee={};function re(){return S?m:(S=1,m=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(var n 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 o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0})}function ne(){if(E)return _;E=1;var t=re();return _=function(){return t()&&!!Symbol.toStringTag}}function oe(){return R?A:(R=1,A=Object)}function ie(){return j?O:(j=1,O=Error)}function ae(){return P?T:(P=1,T=EvalError)}function ue(){return M?B:(M=1,B=RangeError)}function fe(){return k?I:(k=1,I=ReferenceError)}function se(){return x?L:(x=1,L=SyntaxError)}function le(){return N?U:(N=1,U=TypeError)}function ce(){return D?C:(D=1,C=URIError)}function pe(){return $?F:($=1,F=Math.abs)}function he(){return G?W:(G=1,W=Math.floor)}function de(){return z?q:(z=1,q=Math.max)}function ye(){return V?H:(V=1,H=Math.min)}function ge(){return J?Y:(J=1,Y=Math.pow)}function be(){return X?K:(X=1,K=Math.round)}function we(){return Q?Z:(Q=1,Z=Number.isNaN||function(t){return t!=t})}function ve(){if(et)return tt;et=1;var t=we();return tt=function(e){return t(e)||0===e?e:e<0?-1:1}}function me(){return nt?rt:(nt=1,rt=Object.getOwnPropertyDescriptor)}function Se(){if(it)return ot;it=1;var t=me();if(t)try{t([],"length")}catch(e){t=null}return ot=t}function _e(){if(ut)return at;ut=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}return at=t}function Ee(){return ct?lt:(ct=1,lt="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function Ae(){return ht?pt:(ht=1,pt=oe().getPrototypeOf||null)}function Re(){if(bt)return gt;bt=1;var t=function(){if(yt)return dt;yt=1;var t=Object.prototype.toString,e=Math.max,r=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r};return dt=function(n){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(t){for(var e=[],r=1,n=0;r<t.length;r+=1,n+=1)e[n]=t[r];return e}(arguments),u=e(0,o.length-a.length),f=[],s=0;s<u;s++)f[s]="$"+s;if(i=Function("binder","return function ("+function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r}(f,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var t=o.apply(this,r(a,arguments));return Object(t)===t?t:this}return o.apply(n,r(a,arguments))}),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i},dt}();return gt=Function.prototype.bind||t}function Oe(){return vt?wt:(vt=1,wt=Function.prototype.call)}function je(){return St?mt:(St=1,mt=Function.prototype.apply)}function Te(){if(Rt)return At;Rt=1;var t=Re(),e=je(),r=Oe(),n=Et?_t:(Et=1,_t="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return At=n||t.call(r,e)}function Pe(){if(jt)return Ot;jt=1;var t=Re(),e=le(),r=Oe(),n=Te();return Ot=function(o){if(o.length<1||"function"!=typeof o[0])throw new e("a function is required");return n(t,r,o)}}function Be(){if(Pt)return Tt;Pt=1;var t,e=Pe(),r=Se();try{t=[].__proto__===Array.prototype}catch(a){if(!a||"object"!=typeof a||!("code"in a)||"ERR_PROTO_ACCESS"!==a.code)throw a}var n=!!t&&r&&r(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return Tt=n&&"function"==typeof n.get?e([n.get]):"function"==typeof i&&function(t){return i(null==t?t:o(t))}}function Me(){if(Mt)return Bt;Mt=1;var t=Ee(),e=Ae(),r=Be();return Bt=t?function(e){return t(e)}:e?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("getProto: not an object");return e(t)}:r?function(t){return r(t)}:null}function Ie(){if(kt)return It;kt=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,r=Re();return It=r.call(t,e)}function ke(){if(xt)return Lt;var t;xt=1;var e=oe(),r=ie(),n=ae(),o=ue(),i=fe(),a=se(),u=le(),f=ce(),s=pe(),l=he(),c=de(),p=ye(),h=ge(),d=be(),y=ve(),g=Function,b=function(t){try{return g('"use strict"; return ('+t+").constructor;")()}catch(e){}},w=Se(),v=_e(),m=function(){throw new u},S=w?function(){try{return m}catch(t){try{return w(arguments,"callee").get}catch(e){return m}}}():m,_=function(){if(st)return ft;st=1;var t="undefined"!=typeof Symbol&&Symbol,e=re();return ft=function(){return"function"==typeof t&&"function"==typeof Symbol&&"symbol"==typeof t("foo")&&"symbol"==typeof Symbol("bar")&&e()}}()(),E=Me(),A=Ae(),R=Ee(),O=je(),j=Oe(),T={},P="undefined"!=typeof Uint8Array&&E?E(Uint8Array):t,B={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":_&&E?E([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":T,"%AsyncGenerator%":T,"%AsyncGeneratorFunction%":T,"%AsyncIteratorPrototype%":T,"%Atomics%":"undefined"==typeof Atomics?t:Atomics,"%BigInt%":"undefined"==typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float32Array%":"undefined"==typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":T,"%Int8Array%":"undefined"==typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_&&E?E(E([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"undefined"==typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&_&&E?E((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?t:Promise,"%Proxy%":"undefined"==typeof Proxy?t:Proxy,"%RangeError%":o,"%ReferenceError%":i,"%Reflect%":"undefined"==typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&_&&E?E((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_&&E?E(""[Symbol.iterator]()):t,"%Symbol%":_?Symbol:t,"%SyntaxError%":a,"%ThrowTypeError%":S,"%TypedArray%":P,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?t:Uint32Array,"%URIError%":f,"%WeakMap%":"undefined"==typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?t:WeakSet,"%Function.prototype.call%":j,"%Function.prototype.apply%":O,"%Object.defineProperty%":v,"%Object.getPrototypeOf%":A,"%Math.abs%":s,"%Math.floor%":l,"%Math.max%":c,"%Math.min%":p,"%Math.pow%":h,"%Math.round%":d,"%Math.sign%":y,"%Reflect.getPrototypeOf%":R};if(E)try{null.error}catch(q){var M=E(E(q));B["%Error.prototype%"]=M}var I=function t(e){var r;if("%AsyncFunction%"===e)r=b("async function () {}");else if("%GeneratorFunction%"===e)r=b("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=b("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&E&&(r=E(o.prototype))}return B[e]=r,r},k={__proto__:null,"%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"]},L=Re(),x=Ie(),U=L.call(j,Array.prototype.concat),N=L.call(O,Array.prototype.splice),C=L.call(j,String.prototype.replace),D=L.call(j,String.prototype.slice),F=L.call(j,RegExp.prototype.exec),$=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,G=function(t,e){var r,n=t;if(x(k,n)&&(n="%"+(r=k[n])[0]+"%"),x(B,n)){var o=B[n];if(o===T&&(o=I(n)),void 0===o&&!e)throw new u("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new a("intrinsic "+t+" does not exist!")};return Lt=function(t,e){if("string"!=typeof t||0===t.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new u('"allowMissing" argument must be a boolean');if(null===F(/^%?[^%]*%?$/,t))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=D(t,0,1),r=D(t,-1);if("%"===e&&"%"!==r)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var n=[];return C(t,$,function(t,e,r,o){n[n.length]=r?C(o,W,"$1"):e||t}),n}(t),n=r.length>0?r[0]:"",o=G("%"+n+"%",e),i=o.name,f=o.value,s=!1,l=o.alias;l&&(n=l[0],N(r,U([0,1],l)));for(var c=1,p=!0;c<r.length;c+=1){var h=r[c],d=D(h,0,1),y=D(h,-1);if(('"'===d||"'"===d||"`"===d||'"'===y||"'"===y||"`"===y)&&d!==y)throw new a("property names with quotes must have matching quotes");if("constructor"!==h&&p||(s=!0),x(B,i="%"+(n+="."+h)+"%"))f=B[i];else if(null!=f){if(!(h in f)){if(!e)throw new u("base intrinsic for "+t+" exists, but the property is not available.");return}if(w&&c+1>=r.length){var g=w(f,h);f=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:f[h]}else p=x(f,h),f=f[h];p&&!s&&(B[i]=f)}}return f},Lt}function Le(){if(Nt)return Ut;Nt=1;var t=ke(),e=Pe(),r=e([t("%String.prototype.indexOf%")]);return Ut=function(n,o){var i=t(n,!!o);return"function"==typeof i&&r(n,".prototype.")>-1?e([i]):i}}function xe(){if(Dt)return Ct;Dt=1;var t=ne()(),e=Le()("Object.prototype.toString"),r=function(r){return!(t&&r&&"object"==typeof r&&Symbol.toStringTag in r)&&"[object Arguments]"===e(r)},n=function(t){return!!r(t)||null!==t&&"object"==typeof t&&"length"in t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==e(t)&&"callee"in t&&"[object Function]"===e(t.callee)},o=function(){return r(arguments)}();return r.isLegacyArguments=n,Ct=o?r:n}function Ue(){if(Gt)return Wt;Gt=1;var t=Le(),e=function(){if($t)return Ft;$t=1;var t,e=Le(),r=ne()(),n=Ie(),o=Se();if(r){var i=e("RegExp.prototype.exec"),a={},u=function(){throw a},f={toString:u,valueOf:u};"symbol"==typeof Symbol.toPrimitive&&(f[Symbol.toPrimitive]=u),t=function(t){if(!t||"object"!=typeof t)return!1;var e=o(t,"lastIndex");if(!e||!n(e,"value"))return!1;try{i(t,f)}catch(r){return r===a}}}else{var s=e("Object.prototype.toString");t=function(t){return!(!t||"object"!=typeof t&&"function"!=typeof t)&&"[object RegExp]"===s(t)}}return Ft=t}(),r=t("RegExp.prototype.exec"),n=le();return Wt=function(t){if(!e(t))throw new n("`regex` must be a RegExp");return function(e){return null!==r(t,e)}}}function Ne(){if(zt)return qt;zt=1;var t,e=Le(),r=Ue()(/^\s*(?:function)?\*/),n=ne()(),o=Me(),i=e("Object.prototype.toString"),a=e("Function.prototype.toString");return qt=function(e){if("function"!=typeof e)return!1;if(r(a(e)))return!0;if(!n)return"[object GeneratorFunction]"===i(e);if(!o)return!1;if(void 0===t){var u=function(){if(!n)return!1;try{return Function("return function*() {}")()}catch(t){}}();t=!!u&&o(u)}return o(e)===t}}function Ce(){if(Jt)return Yt;Jt=1;var t=function(){if(Vt)return Ht;Vt=1;var t,e,r=Function.prototype.toString,n="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof n&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw e}}),e={},n(function(){throw 42},null,t)}catch(p){p!==e&&(n=null)}else n=null;var o=/^\s*class\b/,i=function(t){try{var e=r.call(t);return o.test(e)}catch(n){return!1}},a=function(t){try{return!i(t)&&(r.call(t),!0)}catch(e){return!1}},u=Object.prototype.toString,f="function"==typeof Symbol&&!!Symbol.toStringTag,s=!(0 in[,]),l=function(){return!1};if("object"==typeof document){var c=document.all;u.call(c)===u.call(document.all)&&(l=function(t){if((s||!t)&&(void 0===t||"object"==typeof t))try{var e=u.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(r){}return!1})}return Ht=n?function(r){if(l(r))return!0;if(!r)return!1;if("function"!=typeof r&&"object"!=typeof r)return!1;try{n(r,null,t)}catch(o){if(o!==e)return!1}return!i(r)&&a(r)}:function(t){if(l(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(f)return a(t);if(i(t))return!1;var e=u.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&a(t)}}(),e=Object.prototype.toString,r=Object.prototype.hasOwnProperty;return Yt=function(n,o,i){if(!t(o))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=i),"[object Array]"===e.call(n)?function(t,e,n){for(var o=0,i=t.length;o<i;o++)r.call(t,o)&&(null==n?e(t[o],o,t):e.call(n,t[o],o,t))}(n,o,a):"string"==typeof n?function(t,e,r){for(var n=0,o=t.length;n<o;n++)null==r?e(t.charAt(n),n,t):e.call(r,t.charAt(n),n,t)}(n,o,a):function(t,e,n){for(var o in t)r.call(t,o)&&(null==n?e(t[o],o,t):e.call(n,t[o],o,t))}(n,o,a)},Yt}function De(){return Xt?Kt:(Xt=1,Kt=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"])}function Fe(){if(Qt)return Zt;Qt=1;var t=De(),r="undefined"==typeof globalThis?e:globalThis;return Zt=function(){for(var e=[],n=0;n<t.length;n++)"function"==typeof r[t[n]]&&(e[e.length]=t[n]);return e}}var $e,We,Ge,qe,ze,He,Ve,Ye,Je,Ke,Xe,Ze,Qe,tr,er,rr,nr,or,ir,ar,ur,fr={exports:{}};function sr(){if(We)return $e;We=1;var t=_e(),e=se(),r=le(),n=Se();return $e=function(o,i,a){if(!o||"object"!=typeof o&&"function"!=typeof o)throw new r("`obj` must be an object or a function`");if("string"!=typeof i&&"symbol"!=typeof i)throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new r("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,f=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],c=!!n&&n(o,i);if(t)t(o,i,{configurable:null===s&&c?c.configurable:!s,enumerable:null===u&&c?c.enumerable:!u,value:a,writable:null===f&&c?c.writable:!f});else{if(!l&&(u||f||s))throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");o[i]=a}},$e}function lr(){if(qe)return Ge;qe=1;var t=_e(),e=function(){return!!t};return e.hasArrayLengthDefineBug=function(){if(!t)return null;try{return 1!==t([],"length",{value:1}).length}catch(e){return!0}},Ge=e}function cr(){if(He)return ze;He=1;var t=ke(),e=sr(),r=lr()(),n=Se(),o=le(),i=t("%Math.floor%");return ze=function(t,a){if("function"!=typeof t)throw new o("`fn` is not a function");if("number"!=typeof a||a<0||a>4294967295||i(a)!==a)throw new o("`length` must be a positive 32-bit integer");var u=arguments.length>2&&!!arguments[2],f=!0,s=!0;if("length"in t&&n){var l=n(t,"length");l&&!l.configurable&&(f=!1),l&&!l.writable&&(s=!1)}return(f||s||!u)&&(r?e(t,"length",a,!0,!0):e(t,"length",a)),t},ze}function pr(){return Je||(Je=1,t=fr,e=cr(),r=_e(),n=Pe(),o=function(){if(Ye)return Ve;Ye=1;var t=Re(),e=je(),r=Te();return Ve=function(){return r(t,e,arguments)},Ve}(),t.exports=function(t){var r=n(arguments),o=t.length-(arguments.length-1);return e(r,1+(o>0?o:0),!0)},r?r(t.exports,"apply",{value:o}):t.exports.apply=o),fr.exports;var t,e,r,n,o}function hr(){if(Xe)return Ke;Xe=1;var t=Ce(),r=Fe(),n=pr(),o=Le(),i=Se(),a=o("Object.prototype.toString"),u=ne()(),f="undefined"==typeof globalThis?e:globalThis,s=r(),l=o("String.prototype.slice"),c=Object.getPrototypeOf,p=o("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},h={__proto__:null};t(s,u&&i&&c?function(t){var e=new f[t];if(Symbol.toStringTag in e){var r=c(e),o=i(r,Symbol.toStringTag);if(!o){var a=c(r);o=i(a,Symbol.toStringTag)}h["$"+t]=n(o.get)}}:function(t){var e=new f[t],r=e.slice||e.set;r&&(h["$"+t]=n(r))});return Ke=function(e){if(!e||"object"!=typeof e)return!1;if(!u){var r=l(a(e),8,-1);return p(s,r)>-1?r:"Object"===r&&function(e){var r=!1;return t(h,function(t,n){if(!r)try{t(e),r=l(n,1)}catch(o){}}),r}(e)}return i?function(e){var r=!1;return t(h,function(t,n){if(!r)try{"$"+t(e)===n&&(r=l(n,1))}catch(o){}}),r}(e):null}}function dr(){if(Qe)return Ze;Qe=1;var t=hr();return Ze=function(e){return!!t(e)}}function yr(){return nr||(nr=1,function(e){var r=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},n=/%[sdj%]/g;e.format=function(t){if(!b(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(u(arguments[r]));return e.join(" ")}r=1;for(var o=arguments,i=o.length,a=String(t).replace(n,function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(o[r++]);case"%d":return Number(o[r++]);case"%j":try{return JSON.stringify(o[r++])}catch(e){return"[Circular]"}default:return t}}),f=o[r];r<i;f=o[++r])y(f)||!S(f)?a+=" "+f:a+=" "+u(f);return a},e.deprecate=function(r,n){if(void 0!==t.process$1&&!0===t.process$1.noDeprecation)return r;if(void 0===t.process$1)return function(){return e.deprecate(r,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(t.process$1.throwDeprecation)throw new Error(n);t.process$1.traceDeprecation?console.trace(n):console.error(n),o=!0}return r.apply(this,arguments)}};var o={},i=/^$/;if(t.process$1.env.NODE_DEBUG){var a=t.process$1.env.NODE_DEBUG;a=a.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+a+"$","i")}function u(t,r){var n={seen:[],stylize:s};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(r)?n.showHidden=r:r&&e._extend(n,r),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=f),l(n,t,n.depth)}function f(t,e){var r=u.styles[e];return r?"["+u.colors[r][0]+"m"+t+"["+u.colors[r][1]+"m":t}function s(t,e){return t}function l(t,r,n){if(t.customInspect&&r&&A(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,t);return b(o)||(o=l(t,o,n)),o}var i=function(t,e){if(v(e))return t.stylize("undefined","undefined");if(b(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(g(e))return t.stylize(""+e,"number");if(d(e))return t.stylize(""+e,"boolean");if(y(e))return t.stylize("null","null")}(t,r);if(i)return i;var a=Object.keys(r),u=function(t){var e={};return t.forEach(function(t,r){e[t]=!0}),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),E(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return c(r);if(0===a.length){if(A(r)){var f=r.name?": "+r.name:"";return t.stylize("[Function"+f+"]","special")}if(m(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(_(r))return t.stylize(Date.prototype.toString.call(r),"date");if(E(r))return c(r)}var s,w="",S=!1,R=["{","}"];(h(r)&&(S=!0,R=["[","]"]),A(r))&&(w=" [Function"+(r.name?": "+r.name:"")+"]");return m(r)&&(w=" "+RegExp.prototype.toString.call(r)),_(r)&&(w=" "+Date.prototype.toUTCString.call(r)),E(r)&&(w=" "+c(r)),0!==a.length||S&&0!=r.length?n<0?m(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),s=S?function(t,e,r,n,o){for(var i=[],a=0,u=e.length;a<u;++a)T(e,String(a))?i.push(p(t,e,r,n,String(a),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(p(t,e,r,n,o,!0))}),i}(t,r,n,u,a):a.map(function(e){return p(t,r,n,u,e,S)}),t.seen.pop(),function(t,e,r){var n=t.reduce(function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(n>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(s,w,R)):R[0]+w+R[1]}function c(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,r,n,o,i){var a,u,f;if((f=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?u=f.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):f.set&&(u=t.stylize("[Setter]","special")),T(n,o)||(a="["+o+"]"),u||(t.seen.indexOf(f.value)<0?(u=y(r)?l(t,f.value,null):l(t,f.value,r-1)).indexOf("\n")>-1&&(u=i?u.split("\n").map(function(t){return" "+t}).join("\n").slice(2):"\n"+u.split("\n").map(function(t){return" "+t}).join("\n")):u=t.stylize("[Circular]","special")),v(a)){if(i&&o.match(/^\d+$/))return u;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+u}function h(t){return Array.isArray(t)}function d(t){return"boolean"==typeof t}function y(t){return null===t}function g(t){return"number"==typeof t}function b(t){return"string"==typeof t}function v(t){return void 0===t}function m(t){return S(t)&&"[object RegExp]"===R(t)}function S(t){return"object"==typeof t&&null!==t}function _(t){return S(t)&&"[object Date]"===R(t)}function E(t){return S(t)&&("[object Error]"===R(t)||t instanceof Error)}function A(t){return"function"==typeof t}function R(t){return Object.prototype.toString.call(t)}function O(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(r){if(r=r.toUpperCase(),!o[r])if(i.test(r)){var n=t.process$1.pid;o[r]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",r,n,t)}}else o[r]=function(){};return o[r]},e.inspect=u,u.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]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=(tr||(tr=1,function(t){var e=xe(),r=Ne(),n=hr(),o=dr();function i(t){return t.call.bind(t)}var a="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,f=i(Object.prototype.toString),s=i(Number.prototype.valueOf),l=i(String.prototype.valueOf),c=i(Boolean.prototype.valueOf);if(a)var p=i(BigInt.prototype.valueOf);if(u)var h=i(Symbol.prototype.valueOf);function d(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(r){return!1}}function y(t){return"[object Map]"===f(t)}function g(t){return"[object Set]"===f(t)}function b(t){return"[object WeakMap]"===f(t)}function w(t){return"[object WeakSet]"===f(t)}function v(t){return"[object ArrayBuffer]"===f(t)}function m(t){return"undefined"!=typeof ArrayBuffer&&(v.working?v(t):t instanceof ArrayBuffer)}function S(t){return"[object DataView]"===f(t)}function _(t){return"undefined"!=typeof DataView&&(S.working?S(t):t instanceof DataView)}t.isArgumentsObject=e,t.isGeneratorFunction=r,t.isTypedArray=o,t.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},t.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):o(t)||_(t)},t.isUint8Array=function(t){return"Uint8Array"===n(t)},t.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===n(t)},t.isUint16Array=function(t){return"Uint16Array"===n(t)},t.isUint32Array=function(t){return"Uint32Array"===n(t)},t.isInt8Array=function(t){return"Int8Array"===n(t)},t.isInt16Array=function(t){return"Int16Array"===n(t)},t.isInt32Array=function(t){return"Int32Array"===n(t)},t.isFloat32Array=function(t){return"Float32Array"===n(t)},t.isFloat64Array=function(t){return"Float64Array"===n(t)},t.isBigInt64Array=function(t){return"BigInt64Array"===n(t)},t.isBigUint64Array=function(t){return"BigUint64Array"===n(t)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(t){return"undefined"!=typeof Map&&(y.working?y(t):t instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),t.isSet=function(t){return"undefined"!=typeof Set&&(g.working?g(t):t instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(b.working?b(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(t){return w(t)},v.working="undefined"!=typeof ArrayBuffer&&v(new ArrayBuffer),t.isArrayBuffer=m,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=_;var E="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(t){return"[object SharedArrayBuffer]"===f(t)}function R(t){return void 0!==E&&(void 0===A.working&&(A.working=A(new E)),A.working?A(t):t instanceof E)}function O(t){return d(t,s)}function j(t){return d(t,l)}function T(t){return d(t,c)}function P(t){return a&&d(t,p)}function B(t){return u&&d(t,h)}t.isSharedArrayBuffer=R,t.isAsyncFunction=function(t){return"[object AsyncFunction]"===f(t)},t.isMapIterator=function(t){return"[object Map Iterator]"===f(t)},t.isSetIterator=function(t){return"[object Set Iterator]"===f(t)},t.isGeneratorObject=function(t){return"[object Generator]"===f(t)},t.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===f(t)},t.isNumberObject=O,t.isStringObject=j,t.isBooleanObject=T,t.isBigIntObject=P,t.isSymbolObject=B,t.isBoxedPrimitive=function(t){return O(t)||j(t)||T(t)||P(t)||B(t)},t.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(m(t)||R(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})}(ee)),ee),e.isArray=h,e.isBoolean=d,e.isNull=y,e.isNullOrUndefined=function(t){return null==t},e.isNumber=g,e.isString=b,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=v,e.isRegExp=m,e.types.isRegExp=m,e.isObject=S,e.isDate=_,e.types.isDate=_,e.isError=E,e.types.isNativeError=E,e.isFunction=A,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=rr?er:(rr=1,er=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8});var j=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;console.log("%s - %s",(r=[O((t=new Date).getHours()),O(t.getMinutes()),O(t.getSeconds())].join(":"),[t.getDate(),j[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=w(),e._extend=function(t,e){if(!e||!S(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function B(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(P&&t[P]){var e;if("function"!=typeof(e=t[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,P,{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(a){r(a)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),P&&Object.defineProperty(e,P,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,r(t))},e.promisify.custom=P,e.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var o=r.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)};e.apply(this,r).then(function(e){t.process$1.nextTick(a.bind(null,null,e))},function(e){t.process$1.nextTick(B.bind(null,e,a))})}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,r(e)),n}}(te)),te}function gr(){if(ir)return or;function t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function e(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach(function(t){r(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function r(t,e,r){return(e=o(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function n(t,e,r){return function(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,o(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:String(e)}ir=1;var a=i().Buffer,u=yr().inspect,f=u&&u.custom||"inspect";function s(t,e,r){a.prototype.copy.call(t,e,r)}return or=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return n(t,[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e=a.allocUnsafe(t>>>0),r=this.head,n=0;r;)s(r.data,e,n),n+=r.data.length,r=r.next;return e}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var o=e.data,i=t>o.length?o.length:t;if(i===o.length?n+=o:n+=o.slice(0,t),0===(t-=i)){i===o.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var o=r.data,i=t>o.length?o.length:t;if(o.copy(e,e.length-t,0,i),0===(t-=i)){i===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(i));break}++n}return this.length-=n,e}},{key:f,value:function(t,r){return u(this,e(e({},r),{},{depth:0,customInspect:!1}))}}]),t}()}function br(){if(ur)return ar;function e(t,e){n(t,e),r(t)}function r(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function n(t,e){t.emit("error",e)}return ur=1,ar={destroy:function(o,i){var a=this,u=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return u||f?(i?i(o):o&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.process$1.nextTick(n,this,o)):t.process$1.nextTick(n,this,o)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(o||null,function(n){!i&&n?a._writableState?a._writableState.errorEmitted?t.process$1.nextTick(r,a):(a._writableState.errorEmitted=!0,t.process$1.nextTick(e,a,n)):t.process$1.nextTick(e,a,n):i?(t.process$1.nextTick(r,a),i(n)):t.process$1.nextTick(r,a)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}var wr,vr,mr,Sr,_r,Er,Ar,Rr,Or,jr,Tr,Pr,Br,Mr,Ir,kr,Lr,xr,Ur,Nr,Cr,Dr,Fr,$r,Wr,Gr={};function qr(){if(wr)return Gr;wr=1;var t={};function e(e,r,n){n||(n=Error);var o=function(t){var e,n;function o(e,n,o){return t.call(this,function(t,e,n){return"string"==typeof r?r:r(t,e,n)}(e,n,o))||this}return n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,o}(n);o.prototype.name=n.name,o.prototype.code=e,t[e]=o}function r(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))}return e("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(t,e,n){var o,i,a;if("string"==typeof e&&(i="not ",e.substr(0,i.length)===i)?(o="must not be",e=e.replace(/^not /,"")):o="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"))a="The ".concat(t," ").concat(o," ").concat(r(e,"type"));else{var u=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";a='The "'.concat(t,'" ').concat(u," ").concat(o," ").concat(r(e,"type"))}return a+=". Received type ".concat(typeof n)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Gr.codes=t,Gr}function zr(){if(mr)return vr;mr=1;var t=qr().codes.ERR_INVALID_OPT_VALUE;return vr={getHighWaterMark:function(e,r,n,o){var i=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(r,o,n);if(null!=i){if(!isFinite(i)||Math.floor(i)!==i||i<0)throw new t(o?n:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}}}function Hr(){if(_r)return Sr;function t(t){try{if(!e.localStorage)return!1}catch(n){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}return _r=1,Sr=function(e,r){if(t("noDeprecation"))return e;var n=!1;return function(){if(!n){if(t("throwDeprecation"))throw new Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return e.apply(this,arguments)}},Sr}function Vr(){if(Ar)return Er;function r(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var o=n.callback;e.pendingcb--,o(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var n;Ar=1,Er=O,O.WritableState=R;var o={deprecate:Hr()},a=v(),u=i().Buffer,f=(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var s,l=br(),c=zr().getHighWaterMark,p=qr().codes,h=p.ERR_INVALID_ARG_TYPE,d=p.ERR_METHOD_NOT_IMPLEMENTED,y=p.ERR_MULTIPLE_CALLBACK,g=p.ERR_STREAM_CANNOT_PIPE,b=p.ERR_STREAM_DESTROYED,m=p.ERR_STREAM_NULL_VALUES,S=p.ERR_STREAM_WRITE_AFTER_END,_=p.ERR_UNKNOWN_ENCODING,E=l.errorOrDestroy;function A(){}function R(e,o,i){n=n||Yr(),e=e||{},"boolean"!=typeof i&&(i=o instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=c(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,r){var n=e._writableState,o=n.sync,i=n.writecb;if("function"!=typeof i)throw new y;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),r)!function(e,r,n,o,i){--r.pendingcb,n?(t.process$1.nextTick(i,o),t.process$1.nextTick(I,e,r),e._writableState.errorEmitted=!0,E(e,o)):(i(o),e._writableState.errorEmitted=!0,E(e,o),I(e,r))}(e,n,o,r,i);else{var a=B(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||P(e,n),o?t.process$1.nextTick(T,e,n,a,i):T(e,n,a,i)}}(o,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function O(t){var e=this instanceof(n=n||Yr());if(!e&&!s.call(O,this))return new O(t);this._writableState=new R(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),a.call(this)}function j(t,e,r,n,o,i,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new b("write")):r?t._writev(o,e.onwrite):t._write(o,i,e.onwrite),e.sync=!1}function T(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),I(t,e)}function P(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var o=e.bufferedRequestCount,i=new Array(o),a=e.corkedRequestsFree;a.entry=n;for(var u=0,f=!0;n;)i[u]=n,n.isBuf||(f=!1),n=n.next,u+=1;i.allBuffers=f,j(t,e,!0,e.length,i,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new r(e),e.bufferedRequestCount=0}else{for(;n;){var s=n.chunk,l=n.encoding,c=n.callback;if(j(t,e,!1,e.objectMode?1:s.length,s,l,c),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function B(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function M(t,e){t._final(function(r){e.pendingcb--,r&&E(t,r),e.prefinished=!0,t.emit("prefinish"),I(t,e)})}function I(e,r){var n=B(r);if(n&&(function(e,r){r.prefinished||r.finalCalled||("function"!=typeof e._final||r.destroyed?(r.prefinished=!0,e.emit("prefinish")):(r.pendingcb++,r.finalCalled=!0,t.process$1.nextTick(M,e,r)))}(e,r),0===r.pendingcb&&(r.finished=!0,e.emit("finish"),r.autoDestroy))){var o=e._readableState;(!o||o.autoDestroy&&o.endEmitted)&&e.destroy()}return n}return w()(O,a),R.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(R.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(t){return!!s.call(this,t)||this===O&&(t&&t._writableState instanceof R)}})):s=function(t){return t instanceof this},O.prototype.pipe=function(){E(this,new g)},O.prototype.write=function(e,r,n){var o,i=this._writableState,a=!1,s=!i.objectMode&&(o=e,u.isBuffer(o)||o instanceof f);return s&&!u.isBuffer(e)&&(e=function(t){return u.from(t)}(e)),"function"==typeof r&&(n=r,r=null),s?r="buffer":r||(r=i.defaultEncoding),"function"!=typeof n&&(n=A),i.ending?function(e,r){var n=new S;E(e,n),t.process$1.nextTick(r,n)}(this,n):(s||function(e,r,n,o){var i;return null===n?i=new m:"string"==typeof n||r.objectMode||(i=new h("chunk",["string","Buffer"],n)),!i||(E(e,i),t.process$1.nextTick(o,i),!1)}(this,i,e,n))&&(i.pendingcb++,a=function(t,e,r,n,o,i){if(!r){var a=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=u.from(e,r));return e}(e,n,o);n!==a&&(r=!0,o="buffer",n=a)}var f=e.objectMode?1:n.length;e.length+=f;var s=e.length<e.highWaterMark;s||(e.needDrain=!0);if(e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:i,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else j(t,e,!1,f,n,o,i);return s}(this,i,s,e,r,n)),a},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||P(this,t))},O.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new _(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(t,e,r){r(new d("_write()"))},O.prototype._writev=null,O.prototype.end=function(e,r,n){var o=this._writableState;return"function"==typeof e?(n=e,e=null,r=null):"function"==typeof r&&(n=r,r=null),null!=e&&this.write(e,r),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,r,n){r.ending=!0,I(e,r),n&&(r.finished?t.process$1.nextTick(n):e.once("finish",n));r.ended=!0,e.writable=!1}(this,o,n),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),O.prototype.destroy=l.destroy,O.prototype._undestroy=l.undestroy,O.prototype._destroy=function(t,e){e(t)},Er}function Yr(){if(Or)return Rr;Or=1;var e=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};Rr=u;var r=Xr(),n=Vr();w()(u,r);for(var o=e(n.prototype),i=0;i<o.length;i++){var a=o[i];u.prototype[a]||(u.prototype[a]=n.prototype[a])}function u(t){if(!(this instanceof u))return new u(t);r.call(this,t),n.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",f)))}function f(){this._writableState.ended||t.process$1.nextTick(s,this)}function s(t){t.end()}return Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),Rr}function Jr(){if(Tr)return jr;Tr=1;var t=qr().codes.ERR_STREAM_PREMATURE_CLOSE;function e(){}return jr=function r(n,o,i){if("function"==typeof o)return r(n,null,o);o||(o={}),i=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];t.apply(this,n)}}}(i||e);var a=o.readable||!1!==o.readable&&n.readable,u=o.writable||!1!==o.writable&&n.writable,f=function(){n.writable||l()},s=n._writableState&&n._writableState.finished,l=function(){u=!1,s=!0,a||i.call(n)},c=n._readableState&&n._readableState.endEmitted,p=function(){a=!1,c=!0,u||i.call(n)},h=function(t){i.call(n,t)},d=function(){var e;return a&&!c?(n._readableState&&n._readableState.ended||(e=new t),i.call(n,e)):u&&!s?(n._writableState&&n._writableState.ended||(e=new t),i.call(n,e)):void 0},y=function(){n.req.on("finish",l)};return!function(t){return t.setHeader&&"function"==typeof t.abort}(n)?u&&!n._writableState&&(n.on("end",f),n.on("close",f)):(n.on("complete",l),n.on("abort",d),n.req?y():n.on("request",y)),n.on("end",p),n.on("finish",l),!1!==o.error&&n.on("error",h),n.on("close",d),function(){n.removeListener("complete",l),n.removeListener("abort",d),n.removeListener("request",y),n.req&&n.req.removeListener("finish",l),n.removeListener("end",f),n.removeListener("close",f),n.removeListener("finish",l),n.removeListener("end",p),n.removeListener("error",h),n.removeListener("close",d)}},jr}function Kr(){if(Br)return Pr;var e;function r(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Br=1;var n=Jr(),o=Symbol("lastResolve"),i=Symbol("lastReject"),a=Symbol("error"),u=Symbol("ended"),f=Symbol("lastPromise"),s=Symbol("handlePromise"),l=Symbol("stream");function c(t,e){return{value:t,done:e}}function p(t){var e=t[o];if(null!==e){var r=t[l].read();null!==r&&(t[f]=null,t[o]=null,t[i]=null,e(c(r,!1)))}}function h(e){t.process$1.nextTick(p,e)}var d=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((r(e={get stream(){return this[l]},next:function(){var e=this,r=this[a];if(null!==r)return Promise.reject(r);if(this[u])return Promise.resolve(c(void 0,!0));if(this[l].destroyed)return new Promise(function(r,n){t.process$1.nextTick(function(){e[a]?n(e[a]):r(c(void 0,!0))})});var n,o=this[f];if(o)n=new Promise(function(t,e){return function(r,n){t.then(function(){e[u]?r(c(void 0,!0)):e[s](r,n)},n)}}(o,this));else{var i=this[l].read();if(null!==i)return Promise.resolve(c(i,!1));n=new Promise(this[s])}return this[f]=n,n}},Symbol.asyncIterator,function(){return this}),r(e,"return",function(){var t=this;return new Promise(function(e,r){t[l].destroy(null,function(t){t?r(t):e(c(void 0,!0))})})}),e),d);return Pr=function(t){var e,p=Object.create(y,(r(e={},l,{value:t,writable:!0}),r(e,o,{value:null,writable:!0}),r(e,i,{value:null,writable:!0}),r(e,a,{value:null,writable:!0}),r(e,u,{value:t._readableState.endEmitted,writable:!0}),r(e,s,{value:function(t,e){var r=p[l].read();r?(p[f]=null,p[o]=null,p[i]=null,t(c(r,!1))):(p[o]=t,p[i]=e)},writable:!0}),e));return p[f]=null,n(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=p[i];return null!==e&&(p[f]=null,p[o]=null,p[i]=null,e(t)),void(p[a]=t)}var r=p[o];null!==r&&(p[f]=null,p[o]=null,p[i]=null,r(c(void 0,!0))),p[u]=!0}),t.on("readable",h.bind(null,p)),p}}function Xr(){if(Lr)return kr;var r;Lr=1,kr=T,T.ReadableState=j,f().EventEmitter;var n=function(t,e){return t.listeners(e).length},o=v(),a=i().Buffer,u=(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var s,l=yr();s=l&&l.debuglog?l.debuglog("stream"):function(){};var c,p,d,y=gr(),g=br(),b=zr().getHighWaterMark,m=qr().codes,S=m.ERR_INVALID_ARG_TYPE,_=m.ERR_STREAM_PUSH_AFTER_EOF,E=m.ERR_METHOD_NOT_IMPLEMENTED,A=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;w()(T,o);var R=g.errorOrDestroy,O=["error","close","destroy","pause","resume"];function j(t,e,n){r=r||Yr(),t=t||{},"boolean"!=typeof n&&(n=e instanceof r),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",n),this.buffer=new y,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(c||(c=h().StringDecoder),this.decoder=new c(t.encoding),this.encoding=t.encoding)}function T(t){if(r=r||Yr(),!(this instanceof T))return new T(t);var e=this instanceof r;this._readableState=new j(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),o.call(this)}function P(t,e,r,n,o){s("readableAddChunk",e);var i,f=t._readableState;if(null===e)f.reading=!1,function(t,e){if(s("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?k(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,L(t)))}(t,f);else if(o||(i=function(t,e){var r;n=e,a.isBuffer(n)||n instanceof u||"string"==typeof e||void 0===e||t.objectMode||(r=new S("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(f,e)),i)R(t,i);else if(f.objectMode||e&&e.length>0)if("string"==typeof e||f.objectMode||Object.getPrototypeOf(e)===a.prototype||(e=function(t){return a.from(t)}(e)),n)f.endEmitted?R(t,new A):B(t,f,e,!0);else if(f.ended)R(t,new _);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!r?(e=f.decoder.write(e),f.objectMode||0!==e.length?B(t,f,e,!1):x(t,f)):B(t,f,e,!1)}else n||(f.reading=!1,x(t,f));return!f.ended&&(f.length<f.highWaterMark||0===f.length)}function B(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&k(t)),x(t,e)}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),T.prototype.destroy=g.destroy,T.prototype._undestroy=g.undestroy,T.prototype._destroy=function(t,e){e(t)},T.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=a.from(t,e),e=""),r=!0),P(this,t,e,!1,r)},T.prototype.unshift=function(t){return P(this,t,null,!0,!1)},T.prototype.isPaused=function(){return!1===this._readableState.flowing},T.prototype.setEncoding=function(t){c||(c=h().StringDecoder);var e=new c(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var M=1073741824;function I(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=M?t=M:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function k(e){var r=e._readableState;s("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,r.emittedReadable||(s("emitReadable",r.flowing),r.emittedReadable=!0,t.process$1.nextTick(L,e))}function L(t){var e=t._readableState;s("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,F(t)}function x(e,r){r.readingMore||(r.readingMore=!0,t.process$1.nextTick(U,e,r))}function U(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(s("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function N(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function C(t){s("readable nexttick read 0"),t.read(0)}function D(t,e){s("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),F(t),e.flowing&&!e.reading&&t.read(0)}function F(t){var e=t._readableState;for(s("flow",e.flowing);e.flowing&&null!==t.read(););}function $(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function W(e){var r=e._readableState;s("endReadable",r.endEmitted),r.endEmitted||(r.ended=!0,t.process$1.nextTick(G,r,e))}function G(t,e){if(s("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function q(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}return T.prototype.read=function(t){s("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return s("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?W(this):k(this),null;if(0===(t=I(t,e))&&e.ended)return 0===e.length&&W(this),null;var n,o=e.needReadable;return s("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&s("length less than watermark",o=!0),e.ended||e.reading?s("reading or ended",o=!1):o&&(s("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=I(r,e))),null===(n=t>0?$(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&W(this)),null!==n&&this.emit("data",n),n},T.prototype._read=function(t){R(this,new E("_read()"))},T.prototype.pipe=function(e,r){var o=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,s("pipe count=%d opts=%j",i.pipesCount,r);var a=(!r||!1!==r.end)&&e!==t.process$1.stdout&&e!==t.process$1.stderr?f:g;function u(t,r){s("onunpipe"),t===o&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,s("cleanup"),e.removeListener("close",d),e.removeListener("finish",y),e.removeListener("drain",l),e.removeListener("error",h),e.removeListener("unpipe",u),o.removeListener("end",f),o.removeListener("end",g),o.removeListener("data",p),c=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function f(){s("onend"),e.end()}i.endEmitted?t.process$1.nextTick(a):o.once("end",a),e.on("unpipe",u);var l=function(t){return function(){var e=t._readableState;s("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&n(t,"data")&&(e.flowing=!0,F(t))}}(o);e.on("drain",l);var c=!1;function p(t){s("ondata");var r=e.write(t);s("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==q(i.pipes,e))&&!c&&(s("false write response, pause",i.awaitDrain),i.awaitDrain++),o.pause())}function h(t){s("onerror",t),g(),e.removeListener("error",h),0===n(e,"error")&&R(e,t)}function d(){e.removeListener("finish",y),g()}function y(){s("onfinish"),e.removeListener("close",d),g()}function g(){s("unpipe"),o.unpipe(e)}return o.on("data",p),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(e,"error",h),e.once("close",d),e.once("finish",y),e.emit("pipe",o),i.flowing||(s("pipe resume"),o.resume()),e},T.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,{hasUnpiped:!1});return this}var a=q(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},T.prototype.on=function(e,r){var n=o.prototype.on.call(this,e,r),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,s("on readable",i.length,i.reading),i.length?k(this):i.reading||t.process$1.nextTick(C,this))),n},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(e,r){var n=o.prototype.removeListener.call(this,e,r);return"readable"===e&&t.process$1.nextTick(N,this),n},T.prototype.removeAllListeners=function(e){var r=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||t.process$1.nextTick(N,this),r},T.prototype.resume=function(){var e=this._readableState;return e.flowing||(s("resume"),e.flowing=!e.readableListening,function(e,r){r.resumeScheduled||(r.resumeScheduled=!0,t.process$1.nextTick(D,e,r))}(this,e)),e.paused=!1,this},T.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var o in t.on("end",function(){if(s("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(o){(s("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(e.push(o)||(n=!0,t.pause()))}),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var i=0;i<O.length;i++)t.on(O[i],this.emit.bind(this,O[i]));return this._read=function(e){s("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(T.prototype[Symbol.asyncIterator]=function(){return void 0===p&&(p=Kr()),p(this)}),Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(T.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(T.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),T._fromList=$,Object.defineProperty(T.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(T.from=function(t,e){return void 0===d&&(d=Ir?Mr:(Ir=1,Mr=function(){throw new Error("Readable.from is not available in the browser")})),d(T,t,e)}),kr}function Zr(){if(Ur)return xr;Ur=1,xr=u;var t=qr().codes,e=t.ERR_METHOD_NOT_IMPLEMENTED,r=t.ERR_MULTIPLE_CALLBACK,n=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=t.ERR_TRANSFORM_WITH_LENGTH_0,i=Yr();function a(t,e){var n=this._transformState;n.transforming=!1;var o=n.writecb;if(null===o)return this.emit("error",new r);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),o(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(t){if(!(this instanceof u))return new u(t);i.call(this,t),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function f(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?s(this,null,null):this._flush(function(e,r){s(t,e,r)})}function s(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new o;if(t._transformState.transforming)throw new n;return t.push(null)}return w()(u,i),u.prototype.push=function(t,e){return this._transformState.needTransform=!1,i.prototype.push.call(this,t,e)},u.prototype._transform=function(t,r,n){n(new e("_transform()"))},u.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},u.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},u.prototype._destroy=function(t,e){i.prototype._destroy.call(this,t,function(t){e(t)})},xr}function Qr(){if(Fr)return Dr;var t;Fr=1;var e=qr().codes,r=e.ERR_MISSING_ARGS,n=e.ERR_STREAM_DESTROYED;function o(t){if(t)throw t}function i(t){t()}function a(t,e){return t.pipe(e)}return Dr=function(){for(var e=arguments.length,u=new Array(e),f=0;f<e;f++)u[f]=arguments[f];var s,l=function(t){return t.length?"function"!=typeof t[t.length-1]?o:t.pop():o}(u);if(Array.isArray(u[0])&&(u=u[0]),u.length<2)throw new r("streams");var c=u.map(function(e,r){var o=r<u.length-1;return function(e,r,o,i){i=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(i);var a=!1;e.on("close",function(){a=!0}),void 0===t&&(t=Jr()),t(e,{readable:r,writable:o},function(t){if(t)return i(t);a=!0,i()});var u=!1;return function(t){if(!a&&!u)return u=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void i(t||new n("pipe"))}}(e,o,r>0,function(t){s||(s=t),t&&c.forEach(i),o||(c.forEach(i),l(s))})});return u.reduce(a)},Dr}const tn=r(function(){if(Wr)return $r;Wr=1,$r=e;var t=f().EventEmitter;function e(){t.call(this)}return w()(e,t),e.Readable=Xr(),e.Writable=Vr(),e.Duplex=Yr(),e.Transform=Zr(),e.PassThrough=function(){if(Cr)return Nr;Cr=1,Nr=e;var t=Zr();function e(r){if(!(this instanceof e))return new e(r);t.call(this,r)}return w()(e,t),e.prototype._transform=function(t,e,r){r(null,t)},Nr}(),e.finished=Jr(),e.pipeline=Qr(),e.Stream=e,e.prototype.pipe=function(e,r){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",i),e._isStdio||r&&!1===r.end||(n.on("end",u),n.on("close",f));var a=!1;function u(){a||(a=!0,e.end())}function f(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(l(),0===t.listenerCount(this,"error"))throw e}function l(){n.removeListener("data",o),e.removeListener("drain",i),n.removeListener("end",u),n.removeListener("close",f),n.removeListener("error",s),e.removeListener("error",s),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",s),e.on("error",s),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e},$r}()),en=Object.freeze(Object.defineProperty({__proto__:null,default:tn},Symbol.toStringTag,{value:"Module"}));exports.i=en;
11
- //# sourceMappingURL=standards-sdk.es47-LpJXpYet-DXAbL7jc.cjs.map
11
+ //# sourceMappingURL=standards-sdk.es47-LpJXpYet-P7i59MNI.cjs.map