@treasuredata/tdx 2026.3.14 → 2026.3.15
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.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/auth-login-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/delivery-command.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-campaign-pull-command.js +1 -1
- package/dist/commands/engage-campaign-push-command.js +1 -1
- package/dist/commands/engage-campaign-validate-command.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-template-pull-command.js +1 -1
- package/dist/commands/engage-template-push-command.js +1 -1
- package/dist/commands/engage-template-validate-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/profile-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/schedule-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segment-validate-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/status-command.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/unset-command.js +1 -1
- package/dist/commands/upgrade-command.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/oauth-keychain.js +1 -1
- package/dist/core/oauth.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/utils.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/agent/tool-target-registry.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/delivery-api-client.js +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/oauth-refresh.js +1 -1
- package/dist/sdk/client/rate-limiter.js +1 -1
- package/dist/sdk/client/td-api-client.js +1 -1
- package/dist/sdk/client/trino-api-client.js +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/delivery.js +1 -1
- package/dist/sdk/engage/campaign-pull.js +1 -1
- package/dist/sdk/engage/campaign-push.js +1 -1
- package/dist/sdk/engage/campaign-validator.js +1 -1
- package/dist/sdk/engage/campaign-yaml.js +1 -1
- package/dist/sdk/engage/template-pull.js +1 -1
- package/dist/sdk/engage/template-push.js +1 -1
- package/dist/sdk/engage/template-validator.js +1 -1
- package/dist/sdk/engage/template-yaml.js +1 -1
- package/dist/sdk/engage/types/campaign-def.js +1 -1
- package/dist/sdk/engage/types/campaign-schema.js +1 -1
- package/dist/sdk/engage/types/template-schema.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/realtime.js +1 -1
- package/dist/sdk/schedule.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/segment-validator.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/types/activation-schema.js +1 -1
- package/dist/sdk/segment/types/journey-def.js +1 -1
- package/dist/sdk/segment/types/journey-schema.js +1 -1
- package/dist/sdk/segment/types/segment-def.js +1 -1
- package/dist/sdk/segment/types/segment-schema.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/paginate.js +1 -1
- package/dist/sdk/util/tree-formatter.js +1 -1
- package/dist/sdk/workflow/archive-validation.js +1 -1
- package/dist/sdk/workflow/clone-workflow.js +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/pull-workflow.js +1 -1
- package/dist/sdk/workflow/push-workflow.js +1 -1
- package/dist/sdk/workflow/tdx-config.js +1 -1
- package/dist/sdk/workflow/workflow-utils.js +1 -1
- package/dist/test-utils/command-runner.js +1 -1
- package/dist/test-utils/factories.js +1 -1
- package/dist/test-utils/fixtures.js +1 -1
- package/dist/test-utils/http-mock.js +1 -1
- package/dist/test-utils/index.js +1 -1
- package/dist/utils/async.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/file-reader.js +1 -1
- package/dist/utils/github-releases.js +1 -1
- package/dist/utils/global-cache.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/local-cache.js +1 -1
- package/dist/utils/logger/formatters/default-formatter.js +1 -1
- package/dist/utils/logger/formatters/index.js +1 -1
- package/dist/utils/logger/handlers/console-handler.js +1 -1
- package/dist/utils/logger/handlers/file-handler.js +1 -1
- package/dist/utils/logger/handlers/index.js +1 -1
- package/dist/utils/logger/handlers/null-handler.js +1 -1
- package/dist/utils/logger/index.js +1 -1
- package/dist/utils/logger/logger.js +1 -1
- package/dist/utils/logger/types.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
package/dist/utils/async.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a187_0x2545(){const _0x3d9e27=['1165750KeWCZi','length','push','563234uJuLTL','185337kHZBEF','map','7381tZVFYa','2360IHRUGt','60xyIIku','719864PizRrs','4qzVPEC','52443sJZLFN','16961QCcrZP','1SpMtIM'];a187_0x2545=function(){return _0x3d9e27;};return a187_0x2545();}function a187_0x4dc1(_0x6144a5,_0x2de54e){_0x6144a5=_0x6144a5-0xb2;const _0x254527=a187_0x2545();let _0x4dc17b=_0x254527[_0x6144a5];return _0x4dc17b;}(function(_0x51d8d0,_0x1713b8){const _0x28295e=a187_0x4dc1,_0x286f30=_0x51d8d0();while(!![]){try{const _0x8757bb=parseInt(_0x28295e(0xba))/0x1*(parseInt(_0x28295e(0xbe))/0x2)+parseInt(_0x28295e(0xb8))/0x3+parseInt(_0x28295e(0xb7))/0x4*(parseInt(_0x28295e(0xbb))/0x5)+parseInt(_0x28295e(0xb5))/0x6*(-parseInt(_0x28295e(0xb9))/0x7)+-parseInt(_0x28295e(0xb6))/0x8+-parseInt(_0x28295e(0xbf))/0x9+parseInt(_0x28295e(0xb4))/0xa*(-parseInt(_0x28295e(0xb3))/0xb);if(_0x8757bb===_0x1713b8)break;else _0x286f30['push'](_0x286f30['shift']());}catch(_0x35744a){_0x286f30['push'](_0x286f30['shift']());}}}(a187_0x2545,0x3a5ee));export async function batchAsync(_0x21697d,_0x46a38e,_0x3ed1c5=0xa){const _0x499b6d=a187_0x4dc1,_0x2af1ce=[];for(let _0x23d9c8=0x0;_0x23d9c8<_0x21697d[_0x499b6d(0xbc)];_0x23d9c8+=_0x3ed1c5){const _0x221175=_0x21697d['slice'](_0x23d9c8,_0x23d9c8+_0x3ed1c5),_0x565bbc=await Promise['all'](_0x221175[_0x499b6d(0xb2)](_0x46a38e));_0x2af1ce[_0x499b6d(0xbd)](..._0x565bbc);}return _0x2af1ce;}
|
package/dist/utils/colors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a188_0x575df2=a188_0x4c44;(function(_0x3c0109,_0x3c4d71){const _0x1e0178=a188_0x4c44,_0x312620=_0x3c0109();while(!![]){try{const _0x309607=parseInt(_0x1e0178(0x135))/0x1*(-parseInt(_0x1e0178(0x11f))/0x2)+parseInt(_0x1e0178(0x132))/0x3+parseInt(_0x1e0178(0x131))/0x4*(parseInt(_0x1e0178(0x129))/0x5)+-parseInt(_0x1e0178(0x133))/0x6+-parseInt(_0x1e0178(0x128))/0x7*(parseInt(_0x1e0178(0x125))/0x8)+-parseInt(_0x1e0178(0x12c))/0x9+parseInt(_0x1e0178(0x122))/0xa;if(_0x309607===_0x3c4d71)break;else _0x312620['push'](_0x312620['shift']());}catch(_0x8cedc4){_0x312620['push'](_0x312620['shift']());}}}(a188_0x1337,0xa24cb));import*as a188_0x313699 from'chalk';const Chalk=a188_0x313699[a188_0x575df2(0x12d)];export function shouldUseColor(_0x1bd594={}){const _0x489bd5=a188_0x575df2;if(_0x1bd594[_0x489bd5(0x12e)]===!![])return![];if(_0x1bd594['color']===!![])return!![];if(process.env.NO_COLOR!==undefined)return![];return process[_0x489bd5(0x121)][_0x489bd5(0x136)]??![];}export function getChalk(_0x31a235={}){if(shouldUseColor(_0x31a235))return new Chalk({'level':0x3});return new Chalk({'level':0x0});}function a188_0x1337(){const _0x517f32=['green','stdout','29201090cuSCQW','boolean','isArray','264912YHfekj','map','yellow','133ljZsdq','239665XyDSSf','blue','stringify','10667637KuMDiG','Chalk','noColor','number','null','4bXRDRN','2054334bhoyzn','1651548tyVdFm','dim','1CNWlUQ','isTTY','entries','join','cyan','object','string','repeat','length','1796648bzBamL'];a188_0x1337=function(){return _0x517f32;};return a188_0x1337();}export function colorBorder(_0x356c97,_0x50cd4c={}){const _0x29ff7a=a188_0x575df2;return getChalk(_0x50cd4c)[_0x29ff7a(0x134)](_0x356c97);}export function colorHeader(_0x12d23d,_0x37628a={}){const _0x2a8c10=a188_0x575df2;return getChalk(_0x37628a)[_0x2a8c10(0x11a)](_0x12d23d);}export function colorType(_0x35c6b6,_0x60724b={}){const _0x5264df=a188_0x575df2;return getChalk(_0x60724b)[_0x5264df(0x134)](_0x35c6b6);}export function colorJSONKey(_0xc2a1b,_0x324a2f={}){const _0x51afc6=a188_0x575df2;return getChalk(_0x324a2f)[_0x51afc6(0x12a)](_0xc2a1b);}export function colorJSONString(_0x2c7258,_0x179231={}){const _0x4ef8a0=a188_0x575df2;return getChalk(_0x179231)[_0x4ef8a0(0x120)](_0x2c7258);}export function colorJSONNumber(_0x4e155c,_0x2067cf={}){return getChalk(_0x2067cf)['cyan'](_0x4e155c);}function a188_0x4c44(_0x34c5fd,_0x48eba0){_0x34c5fd=_0x34c5fd-0x11a;const _0x13371a=a188_0x1337();let _0x4c44ae=_0x13371a[_0x34c5fd];return _0x4c44ae;}export function colorJSONBoolean(_0x5d460c,_0x9c6f27={}){const _0x4e36b6=a188_0x575df2;return getChalk(_0x9c6f27)[_0x4e36b6(0x127)](_0x5d460c);}export function colorJSONNull(_0x1f4a56,_0x29a369={}){const _0x3b0eb1=a188_0x575df2;return getChalk(_0x29a369)[_0x3b0eb1(0x134)](_0x1f4a56);}export function colorizeJSONCompact(_0x1a3fbb,_0xa39f3={}){const _0x1e8e44=a188_0x575df2;if(!shouldUseColor(_0xa39f3))return JSON[_0x1e8e44(0x12b)](_0x1a3fbb);if(_0x1a3fbb===null)return colorJSONNull('null',_0xa39f3);if(typeof _0x1a3fbb==='boolean')return colorJSONBoolean(String(_0x1a3fbb),_0xa39f3);if(typeof _0x1a3fbb===_0x1e8e44(0x12f))return colorJSONNumber(String(_0x1a3fbb),_0xa39f3);if(typeof _0x1a3fbb===_0x1e8e44(0x11c))return colorJSONString(JSON[_0x1e8e44(0x12b)](_0x1a3fbb),_0xa39f3);if(Array[_0x1e8e44(0x124)](_0x1a3fbb)){if(_0x1a3fbb[_0x1e8e44(0x11e)]===0x0)return'[]';const _0x4b53d6=_0x1a3fbb['map'](_0x5e2823=>colorizeJSONCompact(_0x5e2823,_0xa39f3));return'['+_0x4b53d6[_0x1e8e44(0x138)](',')+']';}if(typeof _0x1a3fbb===_0x1e8e44(0x11b)){const _0x36b7ed=Object[_0x1e8e44(0x137)](_0x1a3fbb);if(_0x36b7ed[_0x1e8e44(0x11e)]===0x0)return'{}';const _0x5618d4=_0x36b7ed['map'](([_0x3388e9,_0x5f182d])=>{const _0x559255=_0x1e8e44,_0x1e959a=colorJSONKey(JSON[_0x559255(0x12b)](_0x3388e9),_0xa39f3),_0x4bcd5f=colorizeJSONCompact(_0x5f182d,_0xa39f3);return _0x1e959a+':'+_0x4bcd5f;});return'{'+_0x5618d4[_0x1e8e44(0x138)](',')+'}';}return String(_0x1a3fbb);}export function colorizeJSON(_0x11c17d,_0x2c0157={},_0xd0b4f7=0x0){const _0x4010f2=a188_0x575df2;if(!shouldUseColor(_0x2c0157))return JSON[_0x4010f2(0x12b)](_0x11c17d,null,0x2);const _0x5a9296='\x20'['repeat'](_0xd0b4f7),_0x30d998=_0xd0b4f7+0x2;if(_0x11c17d===null)return colorJSONNull(_0x4010f2(0x130),_0x2c0157);if(typeof _0x11c17d===_0x4010f2(0x123))return colorJSONBoolean(String(_0x11c17d),_0x2c0157);if(typeof _0x11c17d===_0x4010f2(0x12f))return colorJSONNumber(String(_0x11c17d),_0x2c0157);if(typeof _0x11c17d===_0x4010f2(0x11c))return colorJSONString(JSON[_0x4010f2(0x12b)](_0x11c17d),_0x2c0157);if(Array[_0x4010f2(0x124)](_0x11c17d)){if(_0x11c17d[_0x4010f2(0x11e)]===0x0)return'[]';const _0x4d6f77=_0x11c17d[_0x4010f2(0x126)](_0x217adf=>{const _0x718857=_0x4010f2,_0x3ca73a=colorizeJSON(_0x217adf,_0x2c0157,_0x30d998);return''+'\x20'[_0x718857(0x11d)](_0x30d998)+_0x3ca73a;});return'[\x0a'+_0x4d6f77[_0x4010f2(0x138)](',\x0a')+('\x0a'+_0x5a9296+']');}if(typeof _0x11c17d==='object'){const _0x3a312e=Object['entries'](_0x11c17d);if(_0x3a312e[_0x4010f2(0x11e)]===0x0)return'{}';const _0x3024ab=_0x3a312e[_0x4010f2(0x126)](([_0x4591d1,_0x5408f1])=>{const _0x38cc4d=_0x4010f2,_0x2363a0=colorJSONKey(JSON['stringify'](_0x4591d1),_0x2c0157),_0x582c9a=colorizeJSON(_0x5408f1,_0x2c0157,_0x30d998);return''+'\x20'[_0x38cc4d(0x11d)](_0x30d998)+_0x2363a0+':\x20'+_0x582c9a;});return'{\x0a'+_0x3024ab[_0x4010f2(0x138)](',\x0a')+('\x0a'+_0x5a9296+'}');}return String(_0x11c17d);}
|
package/dist/utils/diff.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a189_0x1ddb(){const _0x2bc4fa=['8SgEKIp','map','2359987cvFNds','content','padStart','10mSqWTU','length','removed','1054OTCyrA','167Xdzfqn','max','push','join','372GwVoXU','2579517ixvkOo','new','unchanged','type','red','75196bbzMKv','unshift','fill','added','green','min','743050uSFWUt','797040tdtPiU','old','size','some','740EwwOfI','6279CxPpOM','forEach','repeat','split','cyan','\x20-\x20','\x20\x20...','\x20\x20\x20'];a189_0x1ddb=function(){return _0x2bc4fa;};return a189_0x1ddb();}(function(_0x463b7b,_0x5734d0){const _0x2072d6=a189_0x5b6f,_0x151134=_0x463b7b();while(!![]){try{const _0x41834d=parseInt(_0x2072d6(0x189))/0x1*(parseInt(_0x2072d6(0x188))/0x2)+parseInt(_0x2072d6(0x19f))/0x3*(parseInt(_0x2072d6(0x19e))/0x4)+-parseInt(_0x2072d6(0x199))/0x5+parseInt(_0x2072d6(0x19a))/0x6+parseInt(_0x2072d6(0x1a9))/0x7*(-parseInt(_0x2072d6(0x1a7))/0x8)+-parseInt(_0x2072d6(0x18e))/0x9*(-parseInt(_0x2072d6(0x1ac))/0xa)+parseInt(_0x2072d6(0x193))/0xb*(-parseInt(_0x2072d6(0x18d))/0xc);if(_0x41834d===_0x5734d0)break;else _0x151134['push'](_0x151134['shift']());}catch(_0x13401c){_0x151134['push'](_0x151134['shift']());}}}(a189_0x1ddb,0x30188));import a189_0x26fa16 from'chalk';export function generateDiff(_0x359154,_0xc0164f){const _0x340c54=a189_0x5b6f,_0x1b6fc9=_0x359154[_0x340c54(0x1a2)]('\x0a'),_0x2cae7b=_0xc0164f[_0x340c54(0x1a2)]('\x0a'),_0xb01301=[],_0x3e7559=computeLCS(_0x1b6fc9,_0x2cae7b);let _0x3f2674=0x0,_0x24c7e9=0x0,_0x483b34=0x0;while(_0x3f2674<_0x1b6fc9['length']||_0x24c7e9<_0x2cae7b[_0x340c54(0x1ad)]){if(_0x483b34<_0x3e7559[_0x340c54(0x1ad)]&&_0x3f2674<_0x1b6fc9[_0x340c54(0x1ad)]&&_0x1b6fc9[_0x3f2674]===_0x3e7559[_0x483b34])_0x24c7e9<_0x2cae7b[_0x340c54(0x1ad)]&&_0x2cae7b[_0x24c7e9]===_0x3e7559[_0x483b34]?(_0xb01301[_0x340c54(0x18b)]({'type':_0x340c54(0x190),'content':_0x1b6fc9[_0x3f2674]}),_0x3f2674++,_0x24c7e9++,_0x483b34++):(_0xb01301[_0x340c54(0x18b)]({'type':_0x340c54(0x196),'content':_0x2cae7b[_0x24c7e9]}),_0x24c7e9++);else{if(_0x483b34<_0x3e7559[_0x340c54(0x1ad)]&&_0x24c7e9<_0x2cae7b['length']&&_0x2cae7b[_0x24c7e9]===_0x3e7559[_0x483b34])_0xb01301[_0x340c54(0x18b)]({'type':_0x340c54(0x187),'content':_0x1b6fc9[_0x3f2674]}),_0x3f2674++;else{if(_0x3f2674<_0x1b6fc9[_0x340c54(0x1ad)]&&(_0x483b34>=_0x3e7559[_0x340c54(0x1ad)]||_0x1b6fc9[_0x3f2674]!==_0x3e7559[_0x483b34]))_0xb01301['push']({'type':_0x340c54(0x187),'content':_0x1b6fc9[_0x3f2674]}),_0x3f2674++;else _0x24c7e9<_0x2cae7b['length']&&(_0xb01301[_0x340c54(0x18b)]({'type':_0x340c54(0x196),'content':_0x2cae7b[_0x24c7e9]}),_0x24c7e9++);}}}return _0xb01301;}function computeLCS(_0xef1206,_0x882bc5){const _0xa3a078=a189_0x5b6f,_0x27d28e=_0xef1206[_0xa3a078(0x1ad)],_0x430a16=_0x882bc5[_0xa3a078(0x1ad)],_0x27cc00=Array(_0x27d28e+0x1)[_0xa3a078(0x195)](null)[_0xa3a078(0x1a8)](()=>Array(_0x430a16+0x1)[_0xa3a078(0x195)](0x0));for(let _0x3596e9=0x1;_0x3596e9<=_0x27d28e;_0x3596e9++){for(let _0x341c45=0x1;_0x341c45<=_0x430a16;_0x341c45++){_0xef1206[_0x3596e9-0x1]===_0x882bc5[_0x341c45-0x1]?_0x27cc00[_0x3596e9][_0x341c45]=_0x27cc00[_0x3596e9-0x1][_0x341c45-0x1]+0x1:_0x27cc00[_0x3596e9][_0x341c45]=Math[_0xa3a078(0x18a)](_0x27cc00[_0x3596e9-0x1][_0x341c45],_0x27cc00[_0x3596e9][_0x341c45-0x1]);}}const _0x41f117=[];let _0x529083=_0x27d28e,_0x110572=_0x430a16;while(_0x529083>0x0&&_0x110572>0x0){if(_0xef1206[_0x529083-0x1]===_0x882bc5[_0x110572-0x1])_0x41f117[_0xa3a078(0x194)](_0xef1206[_0x529083-0x1]),_0x529083--,_0x110572--;else _0x27cc00[_0x529083-0x1][_0x110572]>_0x27cc00[_0x529083][_0x110572-0x1]?_0x529083--:_0x110572--;}return _0x41f117;}function a189_0x5b6f(_0x5927e8,_0x1cb07c){_0x5927e8=_0x5927e8-0x187;const _0x1ddbeb=a189_0x1ddb();let _0x5b6f3d=_0x1ddbeb[_0x5927e8];return _0x5b6f3d;}export function formatDiffWithColors(_0x50ec8a,_0x24e380=0x3){const _0x5554e2=a189_0x5b6f,_0x2558e8=new Set();_0x50ec8a[_0x5554e2(0x1a0)]((_0x1b0b46,_0x291e7c)=>{const _0xd09214=_0x5554e2;_0x1b0b46[_0xd09214(0x191)]!==_0xd09214(0x190)&&_0x2558e8['add'](_0x291e7c);});if(_0x2558e8[_0x5554e2(0x19c)]===0x0)return'';const _0x127d92=new Set();for(const _0x19bd99 of _0x2558e8){for(let _0x32a9b4=Math[_0x5554e2(0x18a)](0x0,_0x19bd99-_0x24e380);_0x32a9b4<=Math[_0x5554e2(0x198)](_0x50ec8a[_0x5554e2(0x1ad)]-0x1,_0x19bd99+_0x24e380);_0x32a9b4++){_0x127d92['add'](_0x32a9b4);}}const _0x5dcf16=[];let _0x123b4f=-0x1;const _0x2283ca=_0x50ec8a[_0x5554e2(0x1ad)],_0x12b076=Math[_0x5554e2(0x18a)](0x3,String(_0x2283ca)[_0x5554e2(0x1ad)]),_0x52db7e=[];let _0x1416af=0x0,_0x248606=0x0;for(const _0xc9dfe5 of _0x50ec8a){if(_0xc9dfe5[_0x5554e2(0x191)]==='removed')_0x1416af++,_0x52db7e[_0x5554e2(0x18b)]({'old':_0x1416af,'new':0x0});else _0xc9dfe5[_0x5554e2(0x191)]===_0x5554e2(0x196)?(_0x248606++,_0x52db7e[_0x5554e2(0x18b)]({'old':0x0,'new':_0x248606})):(_0x1416af++,_0x248606++,_0x52db7e[_0x5554e2(0x18b)]({'old':_0x1416af,'new':_0x248606}));}for(let _0x467930=0x0;_0x467930<_0x50ec8a[_0x5554e2(0x1ad)];_0x467930++){if(!_0x127d92['has'](_0x467930))continue;_0x123b4f!==-0x1&&_0x467930>_0x123b4f+0x1&&_0x5dcf16['push'](a189_0x26fa16[_0x5554e2(0x1a3)](_0x5554e2(0x1a5)));_0x123b4f=_0x467930;const _0x3fa9a0=_0x50ec8a[_0x467930],_0x355c0b=_0x52db7e[_0x467930],_0x45fa0f=_0x355c0b[_0x5554e2(0x19b)]>0x0?String(_0x355c0b[_0x5554e2(0x19b)])[_0x5554e2(0x1ab)](_0x12b076):'\x20'[_0x5554e2(0x1a1)](_0x12b076),_0x5f1462=_0x355c0b['new']>0x0?String(_0x355c0b[_0x5554e2(0x18f)])[_0x5554e2(0x1ab)](_0x12b076):'\x20'[_0x5554e2(0x1a1)](_0x12b076);switch(_0x3fa9a0[_0x5554e2(0x191)]){case'removed':_0x5dcf16[_0x5554e2(0x18b)](a189_0x26fa16[_0x5554e2(0x192)](_0x45fa0f+'\x20'+_0x5f1462+_0x5554e2(0x1a4)+_0x3fa9a0[_0x5554e2(0x1aa)]));break;case _0x5554e2(0x196):_0x5dcf16['push'](a189_0x26fa16[_0x5554e2(0x197)](_0x45fa0f+'\x20'+_0x5f1462+'\x20+\x20'+_0x3fa9a0[_0x5554e2(0x1aa)]));break;default:_0x5dcf16[_0x5554e2(0x18b)](a189_0x26fa16['dim'](_0x45fa0f+'\x20'+_0x5f1462+_0x5554e2(0x1a6)+_0x3fa9a0[_0x5554e2(0x1aa)]));break;}}return _0x5dcf16[_0x5554e2(0x18c)]('\x0a');}export function hasChanges(_0x144b31){const _0x195ca7=a189_0x5b6f;return _0x144b31[_0x195ca7(0x19d)](_0x38a798=>_0x38a798[_0x195ca7(0x191)]!=='unchanged');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x466743,_0x416157){const _0x13f109=a190_0x563a,_0x34dbee=_0x466743();while(!![]){try{const _0x5dc1a3=-parseInt(_0x13f109(0x134))/0x1*(parseInt(_0x13f109(0x132))/0x2)+-parseInt(_0x13f109(0x135))/0x3+-parseInt(_0x13f109(0x12a))/0x4*(-parseInt(_0x13f109(0x131))/0x5)+-parseInt(_0x13f109(0x12b))/0x6+-parseInt(_0x13f109(0x130))/0x7*(parseInt(_0x13f109(0x137))/0x8)+parseInt(_0x13f109(0x124))/0x9+parseInt(_0x13f109(0x129))/0xa;if(_0x5dc1a3===_0x416157)break;else _0x34dbee['push'](_0x34dbee['shift']());}catch(_0x30dd67){_0x34dbee['push'](_0x34dbee['shift']());}}}(a190_0x1c1c,0xdf51f));import*as a190_0xe02147 from'node:fs';import*as a190_0x2fb51b from'node:path';export function setSecureFilePermissions(_0x486ebd){const _0x463e83=a190_0x563a;try{a190_0xe02147[_0x463e83(0x12f)](_0x486ebd,0x180);}catch{console[_0x463e83(0x136)]('Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20'+_0x486ebd);}}export function setSecureDirectoryPermissions(_0x249913){const _0x557456=a190_0x563a;try{a190_0xe02147[_0x557456(0x12f)](_0x249913,0x1c0);}catch{console['warn']('Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20'+_0x249913);}}export function createSecureDirectory(_0x2c12b8){const _0x4e2bf8=a190_0x563a;!a190_0xe02147[_0x4e2bf8(0x126)](_0x2c12b8)&&(a190_0xe02147[_0x4e2bf8(0x12e)](_0x2c12b8,{'recursive':!![],'mode':0x1c0}),setSecureDirectoryPermissions(_0x2c12b8));}export function validateSecureFilePermissions(_0x1d96c1){const _0x114f23=a190_0x563a;try{const _0x2371b3=a190_0xe02147['statSync'](_0x1d96c1),_0x42d0d8=_0x2371b3[_0x114f23(0x125)]&0x1ff,_0xfbb941=(_0x42d0d8&0x3f)!==0x0;if(_0xfbb941)return console[_0x114f23(0x136)]('Warning:\x20'+_0x1d96c1+_0x114f23(0x12d)+_0x42d0d8['toString'](0x8)+_0x114f23(0x12c)+_0x114f23(0x133)),![];return!![];}catch{return!![];}}function a190_0x563a(_0x1b4b99,_0x22f872){_0x1b4b99=_0x1b4b99-0x124;const _0x1c1c49=a190_0x1c1c();let _0x563aef=_0x1c1c49[_0x1b4b99];return _0x563aef;}export function writeSecureFile(_0x4609d4,_0x4bbc81){const _0x78f2b6=a190_0x563a,_0x5d32cb=a190_0x2fb51b[_0x78f2b6(0x128)](_0x4609d4);createSecureDirectory(_0x5d32cb),a190_0xe02147[_0x78f2b6(0x127)](_0x4609d4,_0x4bbc81,{'mode':0x180}),setSecureFilePermissions(_0x4609d4);}function a190_0x1c1c(){const _0x220ed6=['mkdirSync','chmodSync','5562599XZIMCI','10wTySUy','1093974HLpQCi','Should\x20be\x200600\x20or\x20more\x20restrictive.','3lvwYlh','4513935nTvhdD','warn','8IVTGRc','7918569xdcDiy','mode','existsSync','writeFileSync','dirname','47023890PlVltp','642364IJanPB','6290580uSFdCs',').\x20','\x20has\x20insecure\x20permissions\x20('];a190_0x1c1c=function(){return _0x220ed6;};return a190_0x1c1c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1aa9c1,_0xd2b898){const _0x30c05a=a191_0x2664,_0x2f4a15=_0x1aa9c1();while(!![]){try{const _0x168b3c=parseInt(_0x30c05a(0xb9))/0x1*(-parseInt(_0x30c05a(0xbf))/0x2)+-parseInt(_0x30c05a(0xbb))/0x3+-parseInt(_0x30c05a(0xbe))/0x4*(-parseInt(_0x30c05a(0xba))/0x5)+parseInt(_0x30c05a(0xb2))/0x6*(parseInt(_0x30c05a(0xbc))/0x7)+-parseInt(_0x30c05a(0xb3))/0x8+parseInt(_0x30c05a(0xae))/0x9+-parseInt(_0x30c05a(0xc1))/0xa;if(_0x168b3c===_0xd2b898)break;else _0x2f4a15['push'](_0x2f4a15['shift']());}catch(_0x254c7f){_0x2f4a15['push'](_0x2f4a15['shift']());}}}(a191_0x59a7,0xd63d3));function a191_0x2664(_0x23213e,_0x43ab61){_0x23213e=_0x23213e-0xae;const _0x59a7bc=a191_0x59a7();let _0x26644d=_0x59a7bc[_0x23213e];return _0x26644d;}import{readFileSync}from'fs';import{SDKError,ErrorCode}from'../sdk/errors.js';function a191_0x59a7(){const _0x45acf6=['85yVVuTl','3834vKtPne','147ahtJpQ','PERMISSION_DENIED','320204sIcDYu','46jsDiWy','code','7566970siTWWQ','9251685CWzEJX','\x27:\x20','\x27\x20not\x20found','File\x20\x27','250386hQLqAE','3410416eZTIkD','message','utf-8','ENOENT','Permission\x20denied\x20reading\x20file\x20\x27','NOT_FOUND','52321VEuhjE'];a191_0x59a7=function(){return _0x45acf6;};return a191_0x59a7();}export function readFileContent(_0x14f57c){const _0x144849=a191_0x2664;try{return readFileSync(_0x14f57c,_0x144849(0xb5));}catch(_0x256222){const _0x374f60=_0x256222[_0x144849(0xc0)];if(_0x374f60===_0x144849(0xb6))throw new SDKError(ErrorCode[_0x144849(0xb8)],_0x144849(0xb1)+_0x14f57c+_0x144849(0xb0),_0x256222);else{if(_0x374f60==='EACCES')throw new SDKError(ErrorCode[_0x144849(0xbd)],_0x144849(0xb7)+_0x14f57c+'\x27',_0x256222);else throw new SDKError(ErrorCode['INTERNAL'],'Error\x20reading\x20file\x20\x27'+_0x14f57c+_0x144849(0xaf)+_0x256222[_0x144849(0xb4)],_0x256222);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a192_0x1f74(_0x26c85b,_0x261ae3){_0x26c85b=_0x26c85b-0x117;const _0x30e801=a192_0x30e8();let _0x1f7468=_0x30e801[_0x26c85b];return _0x1f7468;}(function(_0x1448c6,_0x588fa9){const _0x37c6d6=a192_0x1f74,_0x59b947=_0x1448c6();while(!![]){try{const _0x4418ba=-parseInt(_0x37c6d6(0x117))/0x1*(parseInt(_0x37c6d6(0x12c))/0x2)+parseInt(_0x37c6d6(0x127))/0x3*(-parseInt(_0x37c6d6(0x135))/0x4)+parseInt(_0x37c6d6(0x129))/0x5*(parseInt(_0x37c6d6(0x12a))/0x6)+parseInt(_0x37c6d6(0x134))/0x7*(-parseInt(_0x37c6d6(0x136))/0x8)+-parseInt(_0x37c6d6(0x11a))/0x9+parseInt(_0x37c6d6(0x119))/0xa*(parseInt(_0x37c6d6(0x12f))/0xb)+parseInt(_0x37c6d6(0x11b))/0xc;if(_0x4418ba===_0x588fa9)break;else _0x59b947['push'](_0x59b947['shift']());}catch(_0x38b931){_0x59b947['push'](_0x59b947['shift']());}}}(a192_0x30e8,0x28075));import*as a192_0x2bf763 from'node:https';const REQUEST_TIMEOUT_MS=0x2710,CACHE_TTL_MS=0x5*0x3c*0x3e8,cache=new Map();export function fetchGitHubReleases(_0x7bccfc,_0x422e63,_0x1067bc){const _0x25d41a=a192_0x1f74,_0x54352b=_0x7bccfc+'/'+_0x422e63,_0x35edca=cache[_0x25d41a(0x125)](_0x54352b);if(_0x35edca&&Date['now']()-_0x35edca[_0x25d41a(0x11f)]<CACHE_TTL_MS)return Promise[_0x25d41a(0x11c)](_0x35edca[_0x25d41a(0x130)]);return new Promise((_0x36607f,_0x4f2059)=>{const _0xc27a82=_0x25d41a,_0x2544b2={'hostname':'api.github.com','path':'/repos/'+_0x7bccfc+'/'+_0x422e63+_0xc27a82(0x12d),'headers':{'User-Agent':_0x1067bc,'Accept':'application/vnd.github+json'},'timeout':REQUEST_TIMEOUT_MS},_0x5281ca=a192_0x2bf763[_0xc27a82(0x125)](_0x2544b2,_0x5cf424=>{const _0x4ec9a3=_0xc27a82;let _0x48681c='';_0x5cf424['on'](_0x4ec9a3(0x126),_0x447129=>{const _0x3021b0=_0x4ec9a3;_0x48681c+=_0x447129[_0x3021b0(0x11d)]();}),_0x5cf424['on']('end',()=>{const _0x4521d9=_0x4ec9a3;if(_0x5cf424['statusCode']!==0xc8){_0x4f2059(new Error(_0x4521d9(0x124)+_0x5cf424[_0x4521d9(0x123)]+':\x20'+_0x48681c[_0x4521d9(0x11e)](0x0,0xc8)));return;}try{const _0x4e8f24=JSON[_0x4521d9(0x120)](_0x48681c);cache[_0x4521d9(0x118)](_0x54352b,{'releases':_0x4e8f24,'fetchedAt':Date[_0x4521d9(0x133)]()}),_0x36607f(_0x4e8f24);}catch(_0x171551){_0x4f2059(_0x171551);}});});_0x5281ca['on']('timeout',()=>{const _0x478813=_0xc27a82;_0x5281ca[_0x478813(0x121)](),_0x4f2059(new Error(_0x478813(0x122)+REQUEST_TIMEOUT_MS+'ms'));}),_0x5281ca['on'](_0xc27a82(0x132),_0x4f2059);});}function a192_0x30e8(){const _0xee63d5=['6074364otjEil','resolve','toString','slice','fetchedAt','parse','destroy','GitHub\x20API\x20request\x20timed\x20out\x20after\x20','statusCode','GitHub\x20API\x20returned\x20','get','data','3gsCHZr','next','151085rayNkC','6ajwzNe','length','69082efsUTY','/releases?per_page=20','prerelease','570680nipRuq','releases','tag_name','error','now','1316021iVlbmX','560884slagzr','8PRVlTG','1gpaXVY','set','20WEYMmN','1021068wPzjzP'];a192_0x30e8=function(){return _0xee63d5;};return a192_0x30e8();}export async function resolveReleaseTag(_0x5d036f,_0x27b4d0,_0x392f99,_0x5dab90){const _0x2fbf78=a192_0x1f74,_0xa9f6cb=await fetchGitHubReleases(_0x27b4d0,_0x392f99,_0x5dab90);if(_0xa9f6cb[_0x2fbf78(0x12b)]===0x0)return null;if(_0x5d036f===_0x2fbf78(0x128))return _0xa9f6cb[0x0][_0x2fbf78(0x131)];const _0x13f6a9=_0xa9f6cb['find'](_0x2b1e9a=>!_0x2b1e9a[_0x2fbf78(0x12e)]);return _0x13f6a9?_0x13f6a9['tag_name']:null;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x125186,_0x43e68c){const _0xd1aef7=a193_0x23eb,_0x150420=_0x125186();while(!![]){try{const _0x11c031=parseInt(_0xd1aef7(0x19d))/0x1+-parseInt(_0xd1aef7(0x1a1))/0x2+parseInt(_0xd1aef7(0x1ad))/0x3*(-parseInt(_0xd1aef7(0x1a3))/0x4)+parseInt(_0xd1aef7(0x19e))/0x5*(-parseInt(_0xd1aef7(0x1a0))/0x6)+-parseInt(_0xd1aef7(0x1a7))/0x7+-parseInt(_0xd1aef7(0x19a))/0x8*(parseInt(_0xd1aef7(0x1a2))/0x9)+-parseInt(_0xd1aef7(0x19f))/0xa*(-parseInt(_0xd1aef7(0x1ae))/0xb);if(_0x11c031===_0x43e68c)break;else _0x150420['push'](_0x150420['shift']());}catch(_0x457d8f){_0x150420['push'](_0x150420['shift']());}}}(a193_0xdfc3,0x25193));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join}from'path';import{homedir}from'os';export function getGlobalCacheDir(){const _0x46bd48=a193_0x23eb;return process.env.TDX_CACHE_DIR||join(homedir(),_0x46bd48(0x1ab),_0x46bd48(0x1a8));}const registry=new Map();export function registerGlobalCacheKey(_0x4e2e44,_0x30d4a0){const _0x495db1=a193_0x23eb,_0x2bfe97=registry[_0x495db1(0x1a6)](_0x4e2e44);if(_0x2bfe97&&_0x2bfe97!==_0x30d4a0)throw new Error(_0x495db1(0x1a5)+_0x4e2e44+_0x495db1(0x1aa)+_0x2bfe97+_0x495db1(0x1af)+_0x30d4a0+'\x22');registry[_0x495db1(0x19c)](_0x4e2e44,_0x30d4a0);}export function getGlobalCachePath(_0x522c3a){return join(getGlobalCacheDir(),_0x522c3a);}function ensureGlobalCacheDir(){const _0x5a003e=getGlobalCacheDir();!existsSync(_0x5a003e)&&mkdirSync(_0x5a003e,{'recursive':!![]});}function readCacheJson(_0x204c78){const _0x9d0b6f=a193_0x23eb,_0x1e916f=getGlobalCachePath(_0x204c78);if(!existsSync(_0x1e916f))return undefined;try{const _0x27c1f7=readFileSync(_0x1e916f,'utf-8');return JSON[_0x9d0b6f(0x19b)](_0x27c1f7);}catch{return undefined;}}function a193_0xdfc3(){const _0x4838b2=['\x22,\x20cannot\x20register\x20for\x20\x22','105088QQkNXo','parse','set','3308QVJxgX','298855VXsOWy','55270rdxTjD','6HdoEiE','417766BDBywc','72WGKiSu','1203272HbvcaD','trim','Global\x20cache\x20key\x20\x22','get','1162882ubLEQp','tdx','replace','\x22\x20already\x20registered\x20by\x20\x22','.cache','utf-8','3wfrvrv','1969Cydcoy'];a193_0xdfc3=function(){return _0x4838b2;};return a193_0xdfc3();}function writeCacheJson(_0x5934ef,_0x34aee4){const _0x5d3353=a193_0x23eb;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x5934ef),JSON['stringify'](_0x34aee4,null,0x2),_0x5d3353(0x1ac));}function readCacheText(_0x3f5e59){const _0x164b7e=a193_0x23eb,_0x4242ef=getGlobalCachePath(_0x3f5e59);if(!existsSync(_0x4242ef))return undefined;try{return readFileSync(_0x4242ef,_0x164b7e(0x1ac));}catch{return undefined;}}function writeCacheText(_0x572e4b,_0x5ebe4d){const _0x21f407=a193_0x23eb;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x572e4b),_0x5ebe4d,_0x21f407(0x1ac));}function clearCache(_0x179b8d){const _0x53a711=getGlobalCachePath(_0x179b8d);if(existsSync(_0x53a711))try{unlinkSync(_0x53a711);}catch{}}function cacheExists(_0x275a46){return existsSync(getGlobalCachePath(_0x275a46));}export function createGlobalCache(_0x56b130,_0x14327d){return registerGlobalCacheKey(_0x56b130,_0x14327d),{'read':()=>readCacheJson(_0x56b130),'write':_0x32663a=>writeCacheJson(_0x56b130,_0x32663a),'clear':()=>clearCache(_0x56b130),'exists':()=>cacheExists(_0x56b130),'path':()=>getGlobalCachePath(_0x56b130)};}function a193_0x23eb(_0x3fa291,_0x2ae1d0){_0x3fa291=_0x3fa291-0x19a;const _0xdfc38c=a193_0xdfc3();let _0x23eb4f=_0xdfc38c[_0x3fa291];return _0x23eb4f;}export function createGlobalTextCache(_0x23b285,_0x1f56c5){const _0x5e00ae=a193_0x23eb;return registerGlobalCacheKey(_0x23b285,_0x1f56c5),{'read':()=>readCacheText(_0x23b285)?.[_0x5e00ae(0x1a4)]()||undefined,'write':_0x5d382d=>writeCacheText(_0x23b285,_0x5d382d),'clear':()=>clearCache(_0x23b285),'exists':()=>cacheExists(_0x23b285),'path':()=>getGlobalCachePath(_0x23b285)};}export function createProfileCache(_0x148dfa,_0x16817f){const _0x119897=_0x57bbc6=>{const _0x3f1adf=a193_0x23eb,_0x460d61=_0x57bbc6||'default';return _0x148dfa[_0x3f1adf(0x1a9)]('{profile}',_0x460d61);};return{'read':_0x55c0b5=>{const _0x14cbc7=_0x119897(_0x55c0b5);return registerGlobalCacheKey(_0x14cbc7,_0x16817f),readCacheJson(_0x14cbc7);},'write':(_0x4c201e,_0x580f70)=>{const _0x150937=_0x119897(_0x4c201e);registerGlobalCacheKey(_0x150937,_0x16817f),writeCacheJson(_0x150937,_0x580f70);},'clear':_0xe13cde=>{const _0x2df61d=_0x119897(_0xe13cde);clearCache(_0x2df61d);},'exists':_0x4a44f6=>{const _0x2fa613=_0x119897(_0x4a44f6);return cacheExists(_0x2fa613);},'path':_0x5776ff=>{const _0x585847=_0x119897(_0x5776ff);return getGlobalCachePath(_0x585847);}};}export function createOptionalProfileCache(_0x1a175e,_0xc79a15,_0x3259a8={}){const {profileSeparator:profileSeparator='.',suffix:suffix=''}=_0x3259a8,_0xc816d5=_0x5816a0=>{return _0x5816a0?''+_0x1a175e+profileSeparator+_0x5816a0+suffix:''+_0x1a175e+suffix;};return{'read':_0x49ed3a=>{const _0x2cb51f=_0xc816d5(_0x49ed3a);return registerGlobalCacheKey(_0x2cb51f,_0xc79a15),readCacheJson(_0x2cb51f);},'write':(_0x25ef85,_0x5bb11d)=>{const _0x5933a5=_0xc816d5(_0x5bb11d);registerGlobalCacheKey(_0x5933a5,_0xc79a15),writeCacheJson(_0x5933a5,_0x25ef85);},'clear':_0x1b5792=>{const _0x2ff582=_0xc816d5(_0x1b5792);clearCache(_0x2ff582);},'exists':_0x46bde4=>{const _0x113a60=_0xc816d5(_0x46bde4);return cacheExists(_0x113a60);},'path':_0x2066e5=>{const _0x25b397=_0xc816d5(_0x2066e5);return getGlobalCachePath(_0x25b397);}};}export function clearGlobalRegistry(){registry['clear']();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a194_0x4a81(_0x2136af,_0xbf17fc){_0x2136af=_0x2136af-0x169;const _0x35797d=a194_0x3579();let _0x4a81ff=_0x35797d[_0x2136af];return _0x4a81ff;}(function(_0x4ceba4,_0x325f68){const _0x5e3a89=a194_0x4a81,_0x5975f9=_0x4ceba4();while(!![]){try{const _0x469ab3=parseInt(_0x5e3a89(0x16c))/0x1*(-parseInt(_0x5e3a89(0x17a))/0x2)+parseInt(_0x5e3a89(0x16b))/0x3+-parseInt(_0x5e3a89(0x178))/0x4+-parseInt(_0x5e3a89(0x176))/0x5+parseInt(_0x5e3a89(0x16f))/0x6+-parseInt(_0x5e3a89(0x16d))/0x7*(-parseInt(_0x5e3a89(0x17d))/0x8)+parseInt(_0x5e3a89(0x175))/0x9;if(_0x469ab3===_0x325f68)break;else _0x5975f9['push'](_0x5975f9['shift']());}catch(_0x33710c){_0x5975f9['push'](_0x5975f9['shift']());}}}(a194_0x3579,0x80ac7));import{readFile}from'fs/promises';import{SDKError,ErrorCode}from'../sdk/errors.js';function a194_0x3579(){const _0x5c235f=['Invalid\x20JSON\x20string:\x20','Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.','9261XyGNUA','722731HMgsip','805DbBzxv','utf-8','651960coVVjX','File\x20not\x20found:\x20','code','Permission\x20denied\x20reading\x20file:\x20','INVALID_ARGUMENT','PERMISSION_DENIED','18006570JlKOSC','2785300xkmlFP','message','1262116CCFAAg','NOT_FOUND','2IKkWYs','Failed\x20to\x20load\x20JSON:\x20','parse','688Uuncil'];a194_0x3579=function(){return _0x5c235f;};return a194_0x3579();}export async function loadJSON(_0x53c15c,_0x5c722c){const _0x5bce60=a194_0x4a81;try{if(_0x5c722c){const _0x138e35=await readFile(_0x53c15c,_0x5bce60(0x16e));try{return JSON[_0x5bce60(0x17c)](_0x138e35);}catch(_0x1ab31a){throw new SDKError(ErrorCode[_0x5bce60(0x173)],'Invalid\x20JSON\x20in\x20file\x20\x27'+_0x53c15c+'\x27:\x20'+(_0x1ab31a instanceof Error?_0x1ab31a[_0x5bce60(0x177)]:String(_0x1ab31a)));}}else try{return JSON[_0x5bce60(0x17c)](_0x53c15c);}catch(_0x2b3c75){throw new SDKError(ErrorCode[_0x5bce60(0x173)],_0x5bce60(0x169)+(_0x2b3c75 instanceof Error?_0x2b3c75[_0x5bce60(0x177)]:String(_0x2b3c75)));}}catch(_0x340485){if(_0x340485 instanceof SDKError)throw _0x340485;if(_0x340485 instanceof Error&&'code'in _0x340485){const _0x195ffb=_0x340485;if(_0x195ffb[_0x5bce60(0x171)]==='ENOENT')throw new SDKError(ErrorCode[_0x5bce60(0x179)],_0x5bce60(0x170)+_0x53c15c);else{if(_0x195ffb[_0x5bce60(0x171)]==='EACCES')throw new SDKError(ErrorCode[_0x5bce60(0x174)],_0x5bce60(0x172)+_0x53c15c);}}throw new SDKError(ErrorCode['INTERNAL'],_0x5bce60(0x17b)+(_0x340485 instanceof Error?_0x340485[_0x5bce60(0x177)]:String(_0x340485)));}}export async function loadJSONFromOptions(_0x206977,_0x5d2f46){const _0x5ab24b=a194_0x4a81;if(_0x206977&&_0x5d2f46)throw new SDKError(ErrorCode[_0x5ab24b(0x173)],_0x5ab24b(0x16a));if(_0x206977)return await loadJSON(_0x206977,![]);if(_0x5d2f46)return await loadJSON(_0x5d2f46,!![]);return undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a195_0x25d8d9=a195_0x3bbd;(function(_0xedc182,_0x1423ed){const _0x527df3=a195_0x3bbd,_0x3e365d=_0xedc182();while(!![]){try{const _0xd6c28c=parseInt(_0x527df3(0x1d0))/0x1*(-parseInt(_0x527df3(0x1d9))/0x2)+-parseInt(_0x527df3(0x1d1))/0x3+-parseInt(_0x527df3(0x1d4))/0x4*(parseInt(_0x527df3(0x1db))/0x5)+parseInt(_0x527df3(0x1d8))/0x6*(-parseInt(_0x527df3(0x1e2))/0x7)+-parseInt(_0x527df3(0x1e4))/0x8*(-parseInt(_0x527df3(0x1e5))/0x9)+parseInt(_0x527df3(0x1d3))/0xa*(-parseInt(_0x527df3(0x1d7))/0xb)+-parseInt(_0x527df3(0x1df))/0xc*(-parseInt(_0x527df3(0x1d6))/0xd);if(_0xd6c28c===_0x1423ed)break;else _0x3e365d['push'](_0x3e365d['shift']());}catch(_0x10bb1c){_0x3e365d['push'](_0x3e365d['shift']());}}}(a195_0x3f0a,0x9ca9f));function a195_0x3bbd(_0x2aca8b,_0x237c6c){_0x2aca8b=_0x2aca8b-0x1cf;const _0x3f0a53=a195_0x3f0a();let _0x3bbdad=_0x3f0a53[_0x2aca8b];return _0x3bbdad;}import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join,parse}from'path';import{homedir}from'os';const LOCAL_CACHE_DIR=a195_0x25d8d9(0x1de),registry=new Map();export function registerCacheKey(_0x473d72,_0x4a9a49){const _0x3d3c77=a195_0x25d8d9,_0x1723af=registry[_0x3d3c77(0x1e6)](_0x473d72);if(_0x1723af&&_0x1723af!==_0x4a9a49)throw new Error(_0x3d3c77(0x1cf)+_0x473d72+_0x3d3c77(0x1dc)+_0x1723af+_0x3d3c77(0x1da)+_0x4a9a49+'\x22');registry[_0x3d3c77(0x1d5)](_0x473d72,_0x4a9a49);}export function getCacheDir(){const _0x532096=a195_0x25d8d9,_0x17b222=process[_0x532096(0x1e1)](),_0x5da432=_0x17b222===parse(_0x17b222)['root']?homedir():_0x17b222;return join(_0x5da432,LOCAL_CACHE_DIR);}export function getCachePath(_0x508ac8){return join(getCacheDir(),_0x508ac8);}function ensureCacheDir(){const _0x4b6806=getCacheDir();!existsSync(_0x4b6806)&&mkdirSync(_0x4b6806,{'recursive':!![]});}function readCacheJson(_0x949631){const _0x1d37bc=a195_0x25d8d9,_0x81e094=getCachePath(_0x949631);if(!existsSync(_0x81e094))return undefined;try{const _0x3394f4=readFileSync(_0x81e094,'utf-8');return JSON[_0x1d37bc(0x1e3)](_0x3394f4);}catch{return undefined;}}function a195_0x3f0a(){const _0x2fb593=['30qqtjTj','8YtwamT','\x22,\x20cannot\x20register\x20for\x20\x22','7435wLYnTj','\x22\x20already\x20registered\x20by\x20\x22','utf-8','.cache/tdx','2316BxndQW','clear','cwd','1226869lVVtMR','parse','48328pcNxNw','18EwvVQg','get','Cache\x20key\x20\x22','188022kOkjXp','3410199CLsCMv','stringify','645010PbgGuJ','1884hTHCVp','set','332319pxwOQx','143OsYEys'];a195_0x3f0a=function(){return _0x2fb593;};return a195_0x3f0a();}function writeCacheJson(_0x12eeaf,_0x15faa7){const _0x175b30=a195_0x25d8d9;ensureCacheDir(),writeFileSync(getCachePath(_0x12eeaf),JSON[_0x175b30(0x1d2)](_0x15faa7,null,0x2),_0x175b30(0x1dd));}function readCacheText(_0x2a653d){const _0x5147ad=a195_0x25d8d9,_0x10e623=getCachePath(_0x2a653d);if(!existsSync(_0x10e623))return undefined;try{return readFileSync(_0x10e623,_0x5147ad(0x1dd));}catch{return undefined;}}function writeCacheText(_0x4cb87c,_0x2c139a){ensureCacheDir(),writeFileSync(getCachePath(_0x4cb87c),_0x2c139a,'utf-8');}function clearCache(_0x114efa){const _0x4cfef8=getCachePath(_0x114efa);if(existsSync(_0x4cfef8))try{unlinkSync(_0x4cfef8);}catch{}}function cacheExists(_0x3b020a){return existsSync(getCachePath(_0x3b020a));}export function createCache(_0x379681,_0x4e4a94){return registerCacheKey(_0x379681,_0x4e4a94),{'read':()=>readCacheJson(_0x379681),'write':_0x39d145=>writeCacheJson(_0x379681,_0x39d145),'clear':()=>clearCache(_0x379681),'exists':()=>cacheExists(_0x379681),'path':()=>getCachePath(_0x379681)};}export function createTextCache(_0x969117,_0x1d5398){return registerCacheKey(_0x969117,_0x1d5398),{'read':()=>readCacheText(_0x969117)?.['trim']()||undefined,'write':_0x1b77a4=>writeCacheText(_0x969117,_0x1b77a4),'clear':()=>clearCache(_0x969117),'exists':()=>cacheExists(_0x969117),'path':()=>getCachePath(_0x969117)};}export function clearRegistry(){const _0x184e19=a195_0x25d8d9;registry[_0x184e19(0x1e0)]();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a196_0xe7d2(_0x3c6dc0,_0x39813c){_0x3c6dc0=_0x3c6dc0-0x14d;const _0x3b9c08=a196_0x3b9c();let _0xe7d2cd=_0x3b9c08[_0x3c6dc0];return _0xe7d2cd;}const a196_0x595093=a196_0xe7d2;(function(_0x1018b0,_0x1c887f){const _0x54829a=a196_0xe7d2,_0x254ea9=_0x1018b0();while(!![]){try{const _0x1d8255=-parseInt(_0x54829a(0x167))/0x1*(-parseInt(_0x54829a(0x14e))/0x2)+-parseInt(_0x54829a(0x156))/0x3*(parseInt(_0x54829a(0x151))/0x4)+-parseInt(_0x54829a(0x14f))/0x5+parseInt(_0x54829a(0x166))/0x6+-parseInt(_0x54829a(0x15f))/0x7*(-parseInt(_0x54829a(0x161))/0x8)+parseInt(_0x54829a(0x154))/0x9+-parseInt(_0x54829a(0x165))/0xa*(-parseInt(_0x54829a(0x14d))/0xb);if(_0x1d8255===_0x1c887f)break;else _0x254ea9['push'](_0x254ea9['shift']());}catch(_0x33c08c){_0x254ea9['push'](_0x254ea9['shift']());}}}(a196_0x3b9c,0x46eb7));import a196_0x1e1a12 from'chalk';function a196_0x3b9c(){const _0x37ee23=['DEBUG','Chalk','colors','2670136obYrxc','format','8WkWbJm','timestamp','blue','INFO','310cAVKSV','217506IdmcQa','368268GHBGRo','dim','message',']\x20[','red','45188OMUUAv','2DsfdPD','907280GBABZd','TRACE','2283580GEXjBV','gray','level','1165707PlNTAX','default','3IXhVDG','chalk','yellow','colorLevel','cyan','component'];a196_0x3b9c=function(){return _0x37ee23;};return a196_0x3b9c();}import{LogLevel,logLevelToString,formatTimestamp}from'../types.js';const chalkModule=a196_0x1e1a12,ChalkClass=chalkModule[a196_0x595093(0x15d)]||chalkModule[a196_0x595093(0x155)]?.[a196_0x595093(0x15d)];export class DefaultLogFormatter{[a196_0x595093(0x15e)];['chalk'];constructor(_0x34bd56={}){const _0x218d03=a196_0x595093;this[_0x218d03(0x15e)]=_0x34bd56[_0x218d03(0x15e)]??![],this[_0x218d03(0x157)]=_0x34bd56[_0x218d03(0x15e)]&&ChalkClass?new ChalkClass({'level':0x3}):a196_0x1e1a12;}[a196_0x595093(0x160)](_0x2d751a){const _0x555f55=a196_0x595093,_0x193a92=formatTimestamp(_0x2d751a[_0x555f55(0x162)]),_0x654fe7=logLevelToString(_0x2d751a[_0x555f55(0x153)]);if(!this[_0x555f55(0x15e)])return _0x193a92+'\x20['+_0x654fe7+_0x555f55(0x16a)+_0x2d751a[_0x555f55(0x15b)]+']\x20'+_0x2d751a[_0x555f55(0x169)];const _0x12257d=this[_0x555f55(0x157)][_0x555f55(0x168)](_0x193a92),_0x5aab01=this['colorLevel'](_0x654fe7,_0x2d751a[_0x555f55(0x153)]),_0x5574ef=this[_0x555f55(0x157)][_0x555f55(0x163)]('['+_0x2d751a['component']+']');return _0x12257d+'\x20'+_0x5aab01+'\x20'+_0x5574ef+'\x20'+_0x2d751a[_0x555f55(0x169)];}[a196_0x595093(0x159)](_0x1dacb8,_0x133e69){const _0x1ccd0d=a196_0x595093;switch(_0x133e69){case LogLevel[_0x1ccd0d(0x150)]:return this[_0x1ccd0d(0x157)][_0x1ccd0d(0x152)]('['+_0x1dacb8+']');case LogLevel[_0x1ccd0d(0x15c)]:return this[_0x1ccd0d(0x157)]['green']('['+_0x1dacb8+']');case LogLevel[_0x1ccd0d(0x164)]:return this[_0x1ccd0d(0x157)][_0x1ccd0d(0x15a)]('['+_0x1dacb8+']');case LogLevel['WARN']:return this[_0x1ccd0d(0x157)][_0x1ccd0d(0x158)]('['+_0x1dacb8+']');case LogLevel['ERROR']:return this[_0x1ccd0d(0x157)][_0x1ccd0d(0x16b)]('['+_0x1dacb8+']');default:return'['+_0x1dacb8+']';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x511f76,_0x1d0f72){var _0x35ee2d=a197_0x574c,_0x41a84f=_0x511f76();while(!![]){try{var _0x163a0c=-parseInt(_0x35ee2d(0x136))/0x1+-parseInt(_0x35ee2d(0x13b))/0x2+-parseInt(_0x35ee2d(0x13a))/0x3*(-parseInt(_0x35ee2d(0x138))/0x4)+-parseInt(_0x35ee2d(0x137))/0x5+-parseInt(_0x35ee2d(0x13e))/0x6+-parseInt(_0x35ee2d(0x13d))/0x7*(parseInt(_0x35ee2d(0x139))/0x8)+parseInt(_0x35ee2d(0x13c))/0x9;if(_0x163a0c===_0x1d0f72)break;else _0x41a84f['push'](_0x41a84f['shift']());}catch(_0x3819d4){_0x41a84f['push'](_0x41a84f['shift']());}}}(a197_0x5104,0x6fc02));function a197_0x574c(_0x178f8d,_0x36cdf2){_0x178f8d=_0x178f8d-0x136;var _0x510406=a197_0x5104();var _0x574c7f=_0x510406[_0x178f8d];return _0x574c7f;}export{DefaultLogFormatter}from'./default-formatter.js';function a197_0x5104(){var _0x55c434=['4rjqKCZ','6108104gWwJRX','435894IgAdkG','255678GXFuCT','23070474aHXzbo','7vDgsjx','5276460MlLBkY','478102bEbVuF','10450qIGLKg'];a197_0x5104=function(){return _0x55c434;};return a197_0x5104();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a198_0x3b2a03=a198_0x53a0;function a198_0x53a0(_0x493eba,_0x5f47ae){_0x493eba=_0x493eba-0x1f0;const _0x201c5a=a198_0x201c();let _0x53a0f3=_0x201c5a[_0x493eba];return _0x53a0f3;}(function(_0x508a30,_0x469d74){const _0x2c70fc=a198_0x53a0,_0x1e5ada=_0x508a30();while(!![]){try{const _0x12a1b3=-parseInt(_0x2c70fc(0x1ff))/0x1*(parseInt(_0x2c70fc(0x1f6))/0x2)+-parseInt(_0x2c70fc(0x1f8))/0x3+parseInt(_0x2c70fc(0x202))/0x4+-parseInt(_0x2c70fc(0x200))/0x5*(parseInt(_0x2c70fc(0x1f0))/0x6)+parseInt(_0x2c70fc(0x1fe))/0x7+parseInt(_0x2c70fc(0x1f9))/0x8+parseInt(_0x2c70fc(0x1f5))/0x9*(parseInt(_0x2c70fc(0x1fa))/0xa);if(_0x12a1b3===_0x469d74)break;else _0x1e5ada['push'](_0x1e5ada['shift']());}catch(_0x514af3){_0x1e5ada['push'](_0x1e5ada['shift']());}}}(a198_0x201c,0x1d8f3));import{LogLevel as a198_0x4d2a96}from'../types.js';function a198_0x201c(){const _0x4acf52=['WARN','formatter','1033039iTdZeJ','4628lolmeo','40465xLMDHv','log','441428lcjvVR','66TvnAEg','level','format','minLevel','useStderr','18yZCnfp','94QqEbfl','error','489498sUBhTo','606976nuOFXo','1284870hwRbmk','colors'];a198_0x201c=function(){return _0x4acf52;};return a198_0x201c();}import{DefaultLogFormatter}from'../formatters/index.js';export class ConsoleHandler{['minLevel'];[a198_0x3b2a03(0x1f4)];[a198_0x3b2a03(0x1fd)];constructor(_0x5bbd45={}){const _0x53113c=a198_0x3b2a03;this[_0x53113c(0x1f3)]=_0x5bbd45[_0x53113c(0x1f3)]??a198_0x4d2a96[_0x53113c(0x1fc)],this[_0x53113c(0x1f4)]=_0x5bbd45['useStderr']??!![],this['formatter']=new DefaultLogFormatter({'colors':_0x5bbd45[_0x53113c(0x1fb)]??!![]});}['handle'](_0x58f6a2){const _0x43276f=a198_0x3b2a03;if(_0x58f6a2[_0x43276f(0x1f1)]<this[_0x43276f(0x1f3)])return;const _0x409eca=this[_0x43276f(0x1fd)][_0x43276f(0x1f2)](_0x58f6a2);this['useStderr']&&_0x58f6a2['level']>=a198_0x4d2a96[_0x43276f(0x1fc)]?console[_0x43276f(0x1f7)](_0x409eca):console[_0x43276f(0x201)](_0x409eca);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a199_0x31e147=a199_0xc7e4;(function(_0x2cc5a2,_0x59a784){const _0x652533=a199_0xc7e4,_0x5c783b=_0x2cc5a2();while(!![]){try{const _0x3aea9b=-parseInt(_0x652533(0x1a3))/0x1*(-parseInt(_0x652533(0x1a1))/0x2)+parseInt(_0x652533(0x198))/0x3+-parseInt(_0x652533(0x19c))/0x4*(parseInt(_0x652533(0x19f))/0x5)+-parseInt(_0x652533(0x180))/0x6*(-parseInt(_0x652533(0x192))/0x7)+parseInt(_0x652533(0x188))/0x8+-parseInt(_0x652533(0x19a))/0x9+-parseInt(_0x652533(0x182))/0xa*(parseInt(_0x652533(0x17e))/0xb);if(_0x3aea9b===_0x59a784)break;else _0x5c783b['push'](_0x5c783b['shift']());}catch(_0x1e9d11){_0x5c783b['push'](_0x5c783b['shift']());}}}(a199_0xd028,0x8a9dc));import{createWriteStream,createReadStream}from'fs';import{mkdir,readdir,unlink,stat,rename}from'fs/promises';import{join,dirname,basename}from'path';import{createGzip}from'zlib';import{pipeline}from'stream/promises';import{Logger}from'../logger.js';import{getGlobalCacheDir}from'../../global-cache.js';function a199_0xd028(){const _0x19cd66=['rotateOldLogs','-(\x5cd{4}-\x5cd{2}-\x5cd{2})\x5c.log$','rotate','33131WSvoBE','close','split','tdx.log','Warning:\x20Error\x20writing\x20to\x20','logPath','3231204QlpkvB','filter','2694537PkCaQd','error','3349664zoZnHh','Warning:\x20Failed\x20to\x20initialize\x20log\x20file:','init','5xuyJUE','filePath','4UyWwek','handle','198610vOopyO','logBaseName','logStream','11cUjeTC','includes','1314qeLpjc','logFileName','13207910lTplvd','toISOString','getLogPath','.gz','replace','Warning:\x20Failed\x20to\x20compress\x20','4116456vbQgJe','logDir','message','end','\x5c$&','.log','mtime'];a199_0xd028=function(){return _0x19cd66;};return a199_0xd028();}function a199_0xc7e4(_0x43d7de,_0x57b83b){_0x43d7de=_0x43d7de-0x17d;const _0xd028a2=a199_0xd028();let _0xc7e42d=_0xd028a2[_0x43d7de];return _0xc7e42d;}export class FileHandler{[a199_0x31e147(0x197)];[a199_0x31e147(0x189)];[a199_0x31e147(0x181)];[a199_0x31e147(0x1a4)];['logStream']=null;['rotate'];constructor(_0xa25b06={}){const _0x159025=a199_0x31e147;this[_0x159025(0x197)]=_0xa25b06[_0x159025(0x1a0)]??join(getGlobalCacheDir(),'logs',_0x159025(0x195)),this['logDir']=dirname(this[_0x159025(0x197)]),this[_0x159025(0x181)]=basename(this[_0x159025(0x197)]),this[_0x159025(0x1a4)]=this[_0x159025(0x181)]['replace'](/\.log$/,''),this['rotate']=_0xa25b06[_0x159025(0x191)]??!![];}async[a199_0x31e147(0x19e)](){const _0x13fbe9=a199_0x31e147;try{await mkdir(this[_0x13fbe9(0x189)],{'recursive':!![]}),this[_0x13fbe9(0x191)]&&await this[_0x13fbe9(0x18f)](),this[_0x13fbe9(0x17d)]=createWriteStream(this['logPath'],{'flags':'a'}),this[_0x13fbe9(0x17d)]['on']('error',_0x187409=>{const _0x2e6d64=_0x13fbe9;console['error'](_0x2e6d64(0x196)+this[_0x2e6d64(0x181)]+':',_0x187409[_0x2e6d64(0x18a)]);});}catch(_0xae443a){console[_0x13fbe9(0x19b)](_0x13fbe9(0x19d),_0xae443a);}}[a199_0x31e147(0x1a2)](_0x341d00){const _0x1d2798=a199_0x31e147;if(!this[_0x1d2798(0x17d)])return;const _0x419ccc=Logger['format'](_0x341d00);this[_0x1d2798(0x17d)]['write'](_0x419ccc+'\x0a');}async[a199_0x31e147(0x193)](){return new Promise(_0xa89570=>{const _0xef1eac=a199_0xc7e4;this[_0xef1eac(0x17d)]?this[_0xef1eac(0x17d)][_0xef1eac(0x18b)](()=>{this['logStream']=null,_0xa89570();}):_0xa89570();});}[a199_0x31e147(0x184)](){const _0x4c4ae4=a199_0x31e147;return this[_0x4c4ae4(0x197)];}async[a199_0x31e147(0x18f)](){const _0x5542a0=a199_0x31e147;try{const _0x1ae0b6=await readdir(this[_0x5542a0(0x189)]),_0x1bf538=new Date()[_0x5542a0(0x183)]()[_0x5542a0(0x194)]('T')[0x0];if(_0x1ae0b6[_0x5542a0(0x17f)](this[_0x5542a0(0x181)])){const _0x5614c6=join(this[_0x5542a0(0x189)],this[_0x5542a0(0x181)]),_0x4b91ce=await stat(_0x5614c6),_0x742091=new Date(_0x4b91ce[_0x5542a0(0x18e)])[_0x5542a0(0x183)]()['split']('T')[0x0];if(_0x742091<_0x1bf538){const _0xd1ae75=join(this['logDir'],this[_0x5542a0(0x1a4)]+'-'+_0x742091+_0x5542a0(0x18d));await rename(_0x5614c6,_0xd1ae75);}}const _0xed157c=await readdir(this['logDir']),_0x2f6128=this['logBaseName'][_0x5542a0(0x186)](/[.*+?^${}()|[\]\\]/g,_0x5542a0(0x18c)),_0x4d8277=new RegExp('^'+_0x2f6128+_0x5542a0(0x190)),_0x1dda03=_0xed157c[_0x5542a0(0x199)](_0x2605aa=>_0x4d8277['test'](_0x2605aa));for(const _0x4e8311 of _0x1dda03){const _0x5d467f=join(this[_0x5542a0(0x189)],_0x4e8311),_0x5c9644=join(this[_0x5542a0(0x189)],_0x4e8311+_0x5542a0(0x185));try{await pipeline(createReadStream(_0x5d467f),createGzip(),createWriteStream(_0x5c9644)),await unlink(_0x5d467f);}catch(_0x21d1e5){console['error'](_0x5542a0(0x187)+_0x4e8311+':',_0x21d1e5);}}}catch{}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a200_0x3143(){var _0x54ec89=['306890kzmHYv','1282992yHlEWV','2784762fWVRRo','1596ioWchV','752846ajiehf','81136cEGaKv','1315pTfAhq','392cVHzeY','235810CMARjc','153tMIPml'];a200_0x3143=function(){return _0x54ec89;};return a200_0x3143();}function a200_0x3227(_0x291aee,_0x2eb490){_0x291aee=_0x291aee-0x17b;var _0x314302=a200_0x3143();var _0x3227be=_0x314302[_0x291aee];return _0x3227be;}(function(_0x11e737,_0x16b5c2){var _0x3c141c=a200_0x3227,_0x23c52c=_0x11e737();while(!![]){try{var _0x421b87=-parseInt(_0x3c141c(0x17c))/0x1+-parseInt(_0x3c141c(0x182))/0x2+parseInt(_0x3c141c(0x17f))/0x3+-parseInt(_0x3c141c(0x181))/0x4*(-parseInt(_0x3c141c(0x184))/0x5)+parseInt(_0x3c141c(0x180))/0x6+-parseInt(_0x3c141c(0x17b))/0x7*(parseInt(_0x3c141c(0x183))/0x8)+parseInt(_0x3c141c(0x17d))/0x9*(parseInt(_0x3c141c(0x17e))/0xa);if(_0x421b87===_0x16b5c2)break;else _0x23c52c['push'](_0x23c52c['shift']());}catch(_0x186a9c){_0x23c52c['push'](_0x23c52c['shift']());}}}(a200_0x3143,0x52950));export{FileHandler}from'./file-handler.js';export{ConsoleHandler}from'./console-handler.js';export{NullHandler}from'./null-handler.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
var a201_0x11bcd5=a201_0x2a30;function a201_0x386a(){var _0x3f8be4=['7822256DBUAja','9396204MAKNDv','1iByKJS','9227085Jvbuhz','642339SWbyLC','4653700BeCRTC','4QvIogK','handle','47341665JYLXrF','2211654qrRCBU'];a201_0x386a=function(){return _0x3f8be4;};return a201_0x386a();}(function(_0x436f9c,_0x12a4a1){var _0x22cdc3=a201_0x2a30,_0x3b3d72=_0x436f9c();while(!![]){try{var _0x475820=-parseInt(_0x22cdc3(0xfd))/0x1*(-parseInt(_0x22cdc3(0xfa))/0x2)+parseInt(_0x22cdc3(0xff))/0x3*(parseInt(_0x22cdc3(0xf7))/0x4)+parseInt(_0x22cdc3(0x100))/0x5+parseInt(_0x22cdc3(0xfc))/0x6+parseInt(_0x22cdc3(0xfe))/0x7+parseInt(_0x22cdc3(0xfb))/0x8+-parseInt(_0x22cdc3(0xf9))/0x9;if(_0x475820===_0x12a4a1)break;else _0x3b3d72['push'](_0x3b3d72['shift']());}catch(_0x6944f5){_0x3b3d72['push'](_0x3b3d72['shift']());}}}(a201_0x386a,0xd01f2));function a201_0x2a30(_0x299078,_0x5b1108){_0x299078=_0x299078-0xf7;var _0x386a84=a201_0x386a();var _0x2a3097=_0x386a84[_0x299078];return _0x2a3097;}export class NullHandler{[a201_0x11bcd5(0xf8)](_0x10e33){}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x460229,_0x3e4d32){var _0x3503b0=a202_0x4464,_0x4898cd=_0x460229();while(!![]){try{var _0x305f1c=-parseInt(_0x3503b0(0xfd))/0x1*(parseInt(_0x3503b0(0xfa))/0x2)+parseInt(_0x3503b0(0x102))/0x3+parseInt(_0x3503b0(0xff))/0x4+-parseInt(_0x3503b0(0x103))/0x5*(-parseInt(_0x3503b0(0x101))/0x6)+parseInt(_0x3503b0(0xfc))/0x7+parseInt(_0x3503b0(0x100))/0x8*(-parseInt(_0x3503b0(0xfb))/0x9)+-parseInt(_0x3503b0(0xfe))/0xa;if(_0x305f1c===_0x3e4d32)break;else _0x4898cd['push'](_0x4898cd['shift']());}catch(_0x252cae){_0x4898cd['push'](_0x4898cd['shift']());}}}(a202_0x49a2,0x5b16e));function a202_0x4464(_0x2bd8b0,_0x5dabb5){_0x2bd8b0=_0x2bd8b0-0xfa;var _0x49a226=a202_0x49a2();var _0x4464b9=_0x49a226[_0x2bd8b0];return _0x4464b9;}export{Logger}from'./logger.js';export{LogLevel,parseLogLevel,logLevelToString}from'./types.js';export{FileHandler,ConsoleHandler,NullHandler}from'./handlers/index.js';export{DefaultLogFormatter}from'./formatters/index.js';function a202_0x49a2(){var _0x1315e7=['395844leCRJB','24sxOanG','180CVySxh','822528wqTQqa','113485zmfAQd','213582PzjNxI','249264hAEdeD','1523963ZNQJus','4lXXYVy','3884020xSjKJe'];a202_0x49a2=function(){return _0x1315e7;};return a202_0x49a2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a203_0x275e1a=a203_0x237d;(function(_0x19f383,_0x1f67eb){const _0x7fa73f=a203_0x237d,_0x2ff115=_0x19f383();while(!![]){try{const _0x1be4cd=parseInt(_0x7fa73f(0x16a))/0x1+parseInt(_0x7fa73f(0x155))/0x2+-parseInt(_0x7fa73f(0x18d))/0x3*(-parseInt(_0x7fa73f(0x186))/0x4)+-parseInt(_0x7fa73f(0x187))/0x5*(-parseInt(_0x7fa73f(0x168))/0x6)+parseInt(_0x7fa73f(0x16b))/0x7+-parseInt(_0x7fa73f(0x190))/0x8*(parseInt(_0x7fa73f(0x15e))/0x9)+-parseInt(_0x7fa73f(0x17f))/0xa;if(_0x1be4cd===_0x1f67eb)break;else _0x2ff115['push'](_0x2ff115['shift']());}catch(_0x55c96d){_0x2ff115['push'](_0x2ff115['shift']());}}}(a203_0x450c,0x953b8));import{LogLevel as a203_0x1905d4,logLevelToString}from'./types.js';const MAX_PENDING_RECORDS=0x3e8,state={'initialized':![],'defaultLevel':a203_0x1905d4[a203_0x275e1a(0x15c)],'levelOverrides':new Map(),'handlers':[],'formatter':null,'loggers':new Map(),'pendingRecords':[]};function safeStringify(_0x41d331){const _0x5049d0=a203_0x275e1a;if(typeof _0x41d331==='string')return _0x41d331;if(_0x41d331 instanceof Error)return _0x41d331['stack']||_0x41d331[_0x5049d0(0x167)]+':\x20'+_0x41d331['message'];try{return JSON['stringify'](_0x41d331,(_0xedbf55,_0x4a3bb6)=>{const _0x368d3a=_0x5049d0;if(_0x4a3bb6 instanceof Error)return{'name':_0x4a3bb6[_0x368d3a(0x167)],'message':_0x4a3bb6[_0x368d3a(0x163)],'stack':_0x4a3bb6[_0x368d3a(0x17c)],'cause':_0x4a3bb6['cause']};return _0x4a3bb6;});}catch{return String(_0x41d331);}}function a203_0x237d(_0x1e0aed,_0x7a388){_0x1e0aed=_0x1e0aed-0x155;const _0x450cd9=a203_0x450c();let _0x237dfe=_0x450cd9[_0x1e0aed];return _0x237dfe;}export class Logger{[a203_0x275e1a(0x165)];constructor(_0x248744){const _0xeee801=a203_0x275e1a;this[_0xeee801(0x165)]=_0x248744;}static['of'](_0x7cfa8b){const _0x2a2823=a203_0x275e1a,_0x263ab2=typeof _0x7cfa8b===_0x2a2823(0x182)?_0x7cfa8b:_0x7cfa8b[_0x2a2823(0x167)];let _0x1dce7c=state['loggers'][_0x2a2823(0x160)](_0x263ab2);return!_0x1dce7c&&(_0x1dce7c=new Logger(_0x263ab2),state['loggers']['set'](_0x263ab2,_0x1dce7c)),_0x1dce7c;}static async[a203_0x275e1a(0x16c)](_0x174345={}){const _0x21dde0=a203_0x275e1a;state[_0x21dde0(0x169)]=_0x174345[_0x21dde0(0x169)]??a203_0x1905d4['INFO'],state[_0x21dde0(0x15a)]=_0x174345[_0x21dde0(0x15a)]??[],state[_0x21dde0(0x177)]=_0x174345[_0x21dde0(0x177)]??null,state[_0x21dde0(0x16e)][_0x21dde0(0x162)]();if(_0x174345[_0x21dde0(0x16e)])for(const [_0x201a40,_0x541bf5]of Object['entries'](_0x174345[_0x21dde0(0x16e)])){state[_0x21dde0(0x16e)][_0x21dde0(0x166)](_0x201a40,_0x541bf5);}for(const _0x328c1e of state[_0x21dde0(0x15a)]){_0x328c1e['init']&&await _0x328c1e[_0x21dde0(0x16c)]();}state[_0x21dde0(0x170)]=!![];for(const _0x224855 of state['pendingRecords']){Logger['dispatch'](_0x224855);}state[_0x21dde0(0x173)]=[];}static[a203_0x275e1a(0x16d)](_0x43b229,_0x59e8c0){const _0x679a60=a203_0x275e1a;state[_0x679a60(0x16e)][_0x679a60(0x166)](_0x43b229,_0x59e8c0);}static[a203_0x275e1a(0x175)](_0x4a7803){state['defaultLevel']=_0x4a7803;}static[a203_0x275e1a(0x171)](_0x4f1974){const _0x5b85c3=a203_0x275e1a;state[_0x5b85c3(0x15a)][_0x5b85c3(0x18c)](_0x4f1974),state[_0x5b85c3(0x170)]&&_0x4f1974[_0x5b85c3(0x16c)]&&_0x4f1974['init']();}static[a203_0x275e1a(0x18f)](){state['handlers']=[];}static async[a203_0x275e1a(0x15f)](){const _0x1b4476=a203_0x275e1a;for(const _0x2274ab of state['handlers']){_0x2274ab[_0x1b4476(0x158)]&&await _0x2274ab[_0x1b4476(0x158)]();}state['handlers']=[],state[_0x1b4476(0x170)]=![],state['loggers'][_0x1b4476(0x162)](),state[_0x1b4476(0x173)]=[];}static[a203_0x275e1a(0x156)](){const _0xeb4447=a203_0x275e1a;state[_0xeb4447(0x170)]=![],state[_0xeb4447(0x169)]=a203_0x1905d4[_0xeb4447(0x15c)],state[_0xeb4447(0x16e)][_0xeb4447(0x162)](),state[_0xeb4447(0x15a)]=[],state['formatter']=null,state['loggers'][_0xeb4447(0x162)](),state[_0xeb4447(0x173)]=[];}static[a203_0x275e1a(0x161)](){const _0x206312=a203_0x275e1a;return state[_0x206312(0x170)];}static[a203_0x275e1a(0x164)](_0x3f6888){const _0x597751=a203_0x275e1a;if(state['levelOverrides'][_0x597751(0x18a)](_0x3f6888))return state[_0x597751(0x16e)][_0x597751(0x160)](_0x3f6888);const _0x4beec4=_0x3f6888[_0x597751(0x15b)]('.');for(let _0x5ad7c5=_0x4beec4['length']-0x1;_0x5ad7c5>0x0;_0x5ad7c5--){const _0x2723f4=_0x4beec4[_0x597751(0x17b)](0x0,_0x5ad7c5)[_0x597751(0x189)]('.');if(state[_0x597751(0x16e)]['has'](_0x2723f4))return state[_0x597751(0x16e)][_0x597751(0x160)](_0x2723f4);}return state['defaultLevel'];}[a203_0x275e1a(0x17d)](_0x7221b2){const _0x1a856e=a203_0x275e1a,_0x11301e=Logger[_0x1a856e(0x164)](this[_0x1a856e(0x165)]);return _0x7221b2>=_0x11301e;}static[a203_0x275e1a(0x179)](_0x43da73){const _0x2c840b=a203_0x275e1a;for(const _0x259f22 of state[_0x2c840b(0x15a)]){_0x259f22[_0x2c840b(0x183)](_0x43da73);}}[a203_0x275e1a(0x180)](_0x1ef56c,_0x33d917){const _0x1038d6=a203_0x275e1a;if(!this[_0x1038d6(0x17d)](_0x1ef56c))return;const _0x538139=_0x33d917['map'](_0xb3b06d=>typeof _0xb3b06d===_0x1038d6(0x181)?_0xb3b06d():_0xb3b06d),_0x18889e=_0x538139[_0x1038d6(0x174)](safeStringify)['join']('\x20'),_0xf7e2ac={'timestamp':new Date(),'level':_0x1ef56c,'component':this[_0x1038d6(0x165)],'message':_0x18889e};if(!state[_0x1038d6(0x170)]){state['pendingRecords']['length']<MAX_PENDING_RECORDS&&state[_0x1038d6(0x173)][_0x1038d6(0x18c)](_0xf7e2ac);return;}Logger[_0x1038d6(0x179)](_0xf7e2ac);}[a203_0x275e1a(0x188)](..._0x25a75e){const _0x50d6d5=a203_0x275e1a;this[_0x50d6d5(0x180)](a203_0x1905d4[_0x50d6d5(0x18e)],_0x25a75e);}[a203_0x275e1a(0x176)](..._0x202dca){const _0x47d95a=a203_0x275e1a;this[_0x47d95a(0x180)](a203_0x1905d4['DEBUG'],_0x202dca);}[a203_0x275e1a(0x157)](..._0x4e07bb){const _0x5c71b1=a203_0x275e1a;this[_0x5c71b1(0x180)](a203_0x1905d4[_0x5c71b1(0x15c)],_0x4e07bb);}[a203_0x275e1a(0x185)](..._0xc4e57e){const _0x14664f=a203_0x275e1a;this[_0x14664f(0x180)](a203_0x1905d4[_0x14664f(0x159)],_0xc4e57e);}[a203_0x275e1a(0x17a)](..._0x3b56d1){const _0x5e828d=a203_0x275e1a;this[_0x5e828d(0x180)](a203_0x1905d4[_0x5e828d(0x17e)],_0x3b56d1);}static[a203_0x275e1a(0x184)](){const _0xf645b0=a203_0x275e1a;return state[_0xf645b0(0x177)];}static[a203_0x275e1a(0x16f)](_0x5043b0){const _0x12f459=a203_0x275e1a;if(state[_0x12f459(0x177)])return state[_0x12f459(0x177)]['format'](_0x5043b0);return _0x5043b0[_0x12f459(0x172)][_0x12f459(0x15d)]()+'\x20['+logLevelToString(_0x5043b0[_0x12f459(0x18b)])+_0x12f459(0x178)+_0x5043b0[_0x12f459(0x165)]+']\x20'+_0x5043b0[_0x12f459(0x163)];}}function a203_0x450c(){const _0x32ae45=['shouldLog','ERROR','31591350YdEeNh','log','function','string','handle','getFormatter','warn','62324QahWYT','62295eQHQyf','trace','join','has','level','push','210CHNMIM','TRACE','clearHandlers','2471776AbOPma','396514PglMtc','reset','info','close','WARN','handlers','split','INFO','toISOString','18RwNwST','shutdown','get','isInitialized','clear','message','getEffectiveLevel','component','set','name','558CykdJo','defaultLevel','1137493kiyQiK','5622596wNKwcs','init','setLogLevel','levelOverrides','format','initialized','addHandler','timestamp','pendingRecords','map','setDefaultLevel','debug','formatter',']\x20[','dispatch','error','slice','stack'];a203_0x450c=function(){return _0x32ae45;};return a203_0x450c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1e53b5,_0x21ea48){const _0x596788=a204_0x4eab,_0x1e44a8=_0x1e53b5();while(!![]){try{const _0x201eda=-parseInt(_0x596788(0x1ee))/0x1*(-parseInt(_0x596788(0x1d4))/0x2)+-parseInt(_0x596788(0x1d9))/0x3*(parseInt(_0x596788(0x1e1))/0x4)+parseInt(_0x596788(0x1e7))/0x5+parseInt(_0x596788(0x1f1))/0x6*(-parseInt(_0x596788(0x1f3))/0x7)+-parseInt(_0x596788(0x1db))/0x8*(-parseInt(_0x596788(0x1df))/0x9)+parseInt(_0x596788(0x1de))/0xa*(-parseInt(_0x596788(0x1e9))/0xb)+-parseInt(_0x596788(0x1e4))/0xc*(-parseInt(_0x596788(0x1ec))/0xd);if(_0x201eda===_0x21ea48)break;else _0x1e44a8['push'](_0x1e44a8['shift']());}catch(_0x2b41e0){_0x1e44a8['push'](_0x1e44a8['shift']());}}}(a204_0x25c6,0x5cdd8));export var LogLevel;(function(_0x1d35c1){const _0x4acf73=a204_0x4eab;_0x1d35c1[_0x1d35c1[_0x4acf73(0x1ea)]=-0x2]=_0x4acf73(0x1ea),_0x1d35c1[_0x1d35c1[_0x4acf73(0x1dd)]=-0x1]=_0x4acf73(0x1dd),_0x1d35c1[_0x1d35c1[_0x4acf73(0x1dc)]=0x0]=_0x4acf73(0x1dc),_0x1d35c1[_0x1d35c1[_0x4acf73(0x1f4)]=0x1]='WARN',_0x1d35c1[_0x1d35c1[_0x4acf73(0x1e6)]=0x2]=_0x4acf73(0x1e6);}(LogLevel||(LogLevel={})));function a204_0x4eab(_0x46742f,_0x25dedd){_0x46742f=_0x46742f-0x1d4;const _0x25c62d=a204_0x25c6();let _0x4eab84=_0x25c62d[_0x46742f];return _0x4eab84;}function a204_0x25c6(){const _0x1ed627=['WARNING','getDate','toUpperCase','padStart','1313913evDjWY','getMonth','8WcosAu','INFO','DEBUG','20oecRTm','4367619pVlaRK','abs','4Zvilfw','getMilliseconds','debug','1622124AaDHCF','info','ERROR','2482690MwZMtU','getMinutes','1654895CCOXRY','TRACE','getTimezoneOffset','39qASEcw','getHours','5CteZaA','getFullYear','toString','12Gwylaj','error','2029783aQXNRj','WARN','warn','124726wTedRW'];a204_0x25c6=function(){return _0x1ed627;};return a204_0x25c6();}export function parseLogLevel(_0x5a1092){const _0x37d184=a204_0x4eab;switch(_0x5a1092[_0x37d184(0x1d7)]()){case'TRACE':return LogLevel[_0x37d184(0x1ea)];case _0x37d184(0x1dd):return LogLevel[_0x37d184(0x1dd)];case _0x37d184(0x1dc):return LogLevel[_0x37d184(0x1dc)];case _0x37d184(0x1f4):case _0x37d184(0x1d5):return LogLevel[_0x37d184(0x1f4)];case _0x37d184(0x1e6):return LogLevel['ERROR'];default:return LogLevel[_0x37d184(0x1dc)];}}export function logLevelToString(_0x5de6b3){const _0x324705=a204_0x4eab;switch(_0x5de6b3){case LogLevel[_0x324705(0x1ea)]:return'trace';case LogLevel[_0x324705(0x1dd)]:return _0x324705(0x1e3);case LogLevel['INFO']:return _0x324705(0x1e5);case LogLevel[_0x324705(0x1f4)]:return _0x324705(0x1f5);case LogLevel[_0x324705(0x1e6)]:return _0x324705(0x1f2);default:return _0x324705(0x1e5);}}export function formatTimestamp(_0x22f18c){const _0x397344=a204_0x4eab,_0x4f2950=_0x22f18c[_0x397344(0x1ef)](),_0x225419=(_0x22f18c[_0x397344(0x1da)]()+0x1)[_0x397344(0x1f0)]()[_0x397344(0x1d8)](0x2,'0'),_0x518e26=_0x22f18c[_0x397344(0x1d6)]()[_0x397344(0x1f0)]()[_0x397344(0x1d8)](0x2,'0'),_0x6f7f37=_0x22f18c[_0x397344(0x1ed)]()[_0x397344(0x1f0)]()[_0x397344(0x1d8)](0x2,'0'),_0x5be59c=_0x22f18c[_0x397344(0x1e8)]()[_0x397344(0x1f0)]()[_0x397344(0x1d8)](0x2,'0'),_0x29df90=_0x22f18c['getSeconds']()['toString']()[_0x397344(0x1d8)](0x2,'0'),_0x254481=_0x22f18c[_0x397344(0x1e2)]()[_0x397344(0x1f0)]()[_0x397344(0x1d8)](0x3,'0'),_0x43242e=-_0x22f18c[_0x397344(0x1eb)](),_0xc8dc32=Math['floor'](Math[_0x397344(0x1e0)](_0x43242e)/0x3c),_0x5987b1=Math[_0x397344(0x1e0)](_0x43242e)%0x3c,_0x2cb0ee=_0x43242e>=0x0?'+':'-',_0x4ba62b=''+_0x2cb0ee+_0xc8dc32['toString']()['padStart'](0x2,'0')+_0x5987b1[_0x397344(0x1f0)]()['padStart'](0x2,'0');return _0x4f2950+'-'+_0x225419+'-'+_0x518e26+'\x20'+_0x6f7f37+':'+_0x5be59c+':'+_0x29df90+'.'+_0x254481+_0x4ba62b;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a205_0x5016(_0xb1e006,_0x52ec44){_0xb1e006=_0xb1e006-0x1ae;const _0x4fda8a=a205_0x4fda();let _0x5016d8=_0x4fda8a[_0xb1e006];return _0x5016d8;}(function(_0x1cf4b6,_0x3dd6b4){const _0x35f0d6=a205_0x5016,_0x94d8dd=_0x1cf4b6();while(!![]){try{const _0xae9bd1=parseInt(_0x35f0d6(0x1b9))/0x1+-parseInt(_0x35f0d6(0x1b5))/0x2*(parseInt(_0x35f0d6(0x1b0))/0x3)+parseInt(_0x35f0d6(0x1b7))/0x4*(parseInt(_0x35f0d6(0x1bb))/0x5)+-parseInt(_0x35f0d6(0x1ae))/0x6*(-parseInt(_0x35f0d6(0x1b8))/0x7)+-parseInt(_0x35f0d6(0x1b4))/0x8+parseInt(_0x35f0d6(0x1b3))/0x9+parseInt(_0x35f0d6(0x1b1))/0xa;if(_0xae9bd1===_0x3dd6b4)break;else _0x94d8dd['push'](_0x94d8dd['shift']());}catch(_0x34679c){_0x94d8dd['push'](_0x94d8dd['shift']());}}}(a205_0x4fda,0x8264a));function a205_0x4fda(){const _0xb63012=['isInteger','80ioHOUC','4207YcFIxR','409521DHFUPK','.\x20Must\x20be\x20a\x20positive\x20integer.','25020YdWODE','.\x20Must\x20be\x20a\x20number.','.\x20Must\x20be\x20a\x20positive\x20number.','.\x20Must\x20be\x20an\x20integer.','Invalid\x20limit\x20value:\x20','1800nmltai','number','1186041ZtjyHf','3834910jfUUkf','Invalid\x20timeout\x20value:\x20','449298cldTBC','1551016vpZEKP','2qUcONi'];a205_0x4fda=function(){return _0xb63012;};return a205_0x4fda();}export function validateLimitOption(_0x3feabc){const _0x1fda45=a205_0x5016;if(!Number[_0x1fda45(0x1b6)](_0x3feabc))return{'isValid':![],'error':'Invalid\x20limit\x20value:\x20'+_0x3feabc+_0x1fda45(0x1be)};if(_0x3feabc<=0x0)return{'isValid':![],'error':_0x1fda45(0x1bf)+_0x3feabc+_0x1fda45(0x1ba)};return{'isValid':!![],'value':_0x3feabc};}export function validateTimeoutOption(_0x51ec55,_0x2c9db6=0x1e){const _0x37b13e=a205_0x5016;if(_0x51ec55===undefined)return{'isValid':!![],'value':_0x2c9db6};const _0x31d161=typeof _0x51ec55===_0x37b13e(0x1af)?_0x51ec55:parseFloat(_0x51ec55);if(isNaN(_0x31d161))return{'isValid':![],'error':_0x37b13e(0x1b2)+_0x51ec55+_0x37b13e(0x1bc)};if(_0x31d161<=0x0)return{'isValid':![],'error':'Invalid\x20timeout\x20value:\x20'+_0x31d161+_0x37b13e(0x1bd)};return{'isValid':!![],'value':_0x31d161};}
|