@treasuredata/tdx 2026.3.18 → 2026.3.20
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.d.ts.map +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js.map +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/segment-validator.js.map +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
|
-
|
|
1
|
+
(function(_0x6be855,_0x331fa2){const _0x4702d1=a187_0xe7fe,_0x11e86e=_0x6be855();while(!![]){try{const _0x294441=-parseInt(_0x4702d1(0x19e))/0x1*(parseInt(_0x4702d1(0x1a3))/0x2)+parseInt(_0x4702d1(0x19a))/0x3*(parseInt(_0x4702d1(0x1a4))/0x4)+-parseInt(_0x4702d1(0x19c))/0x5+parseInt(_0x4702d1(0x196))/0x6*(parseInt(_0x4702d1(0x199))/0x7)+parseInt(_0x4702d1(0x19d))/0x8+parseInt(_0x4702d1(0x1a1))/0x9*(parseInt(_0x4702d1(0x197))/0xa)+parseInt(_0x4702d1(0x1a0))/0xb;if(_0x294441===_0x331fa2)break;else _0x11e86e['push'](_0x11e86e['shift']());}catch(_0x2113b1){_0x11e86e['push'](_0x11e86e['shift']());}}}(a187_0x56a5,0xe6029));function a187_0xe7fe(_0x5e24ca,_0x2b8d98){_0x5e24ca=_0x5e24ca-0x196;const _0x56a54e=a187_0x56a5();let _0xe7fe3f=_0x56a54e[_0x5e24ca];return _0xe7fe3f;}export async function batchAsync(_0x3bd884,_0x12374e,_0x5c4c25=0xa){const _0x1fd9e3=a187_0xe7fe,_0x3c1b33=[];for(let _0x27c706=0x0;_0x27c706<_0x3bd884[_0x1fd9e3(0x19b)];_0x27c706+=_0x5c4c25){const _0x4084c7=_0x3bd884[_0x1fd9e3(0x1a5)](_0x27c706,_0x27c706+_0x5c4c25),_0xdedcb=await Promise[_0x1fd9e3(0x19f)](_0x4084c7[_0x1fd9e3(0x1a2)](_0x12374e));_0x3c1b33[_0x1fd9e3(0x198)](..._0xdedcb);}return _0x3c1b33;}function a187_0x56a5(){const _0x1f8db4=['length','8728065hRTXuX','11254992vZcNQr','1736769MYTdez','all','9902794acrmIo','2830158GqkEPK','map','2sYvHUN','16RYQtuH','slice','6wDReko','30sFSRZg','push','6164347LjTGmt','220026otkOhU'];a187_0x56a5=function(){return _0x1f8db4;};return a187_0x56a5();}
|
package/dist/utils/colors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a188_0x2ac5c5=a188_0x1fa6;(function(_0x51185d,_0xab9838){const _0x1de0b9=a188_0x1fa6,_0x3cbc0b=_0x51185d();while(!![]){try{const _0xf0c75c=parseInt(_0x1de0b9(0xe6))/0x1+parseInt(_0x1de0b9(0xe0))/0x2*(parseInt(_0x1de0b9(0xed))/0x3)+parseInt(_0x1de0b9(0xe1))/0x4*(-parseInt(_0x1de0b9(0xef))/0x5)+parseInt(_0x1de0b9(0xd7))/0x6*(parseInt(_0x1de0b9(0xe8))/0x7)+-parseInt(_0x1de0b9(0xdf))/0x8+parseInt(_0x1de0b9(0xea))/0x9*(-parseInt(_0x1de0b9(0xd8))/0xa)+-parseInt(_0x1de0b9(0xd9))/0xb*(-parseInt(_0x1de0b9(0xe2))/0xc);if(_0xf0c75c===_0xab9838)break;else _0x3cbc0b['push'](_0x3cbc0b['shift']());}catch(_0x4368fd){_0x3cbc0b['push'](_0x3cbc0b['shift']());}}}(a188_0x3db9,0x25c2c));import*as a188_0x344064 from'chalk';const Chalk=a188_0x344064[a188_0x2ac5c5(0xd5)];export function shouldUseColor(_0x36fa63={}){const _0x206bc5=a188_0x2ac5c5;if(_0x36fa63[_0x206bc5(0xf0)]===!![])return![];if(_0x36fa63['color']===!![])return!![];if(process.env.NO_COLOR!==undefined)return![];return process['stdout'][_0x206bc5(0xd4)]??![];}export function getChalk(_0x434e64={}){if(shouldUseColor(_0x434e64))return new Chalk({'level':0x3});return new Chalk({'level':0x0});}export function colorBorder(_0x784e19,_0x97e0b9={}){const _0x3106de=a188_0x2ac5c5;return getChalk(_0x97e0b9)[_0x3106de(0xe9)](_0x784e19);}export function colorHeader(_0x14620a,_0x49ebfe={}){return getChalk(_0x49ebfe)['cyan'](_0x14620a);}function a188_0x3db9(){const _0x543311=['764388CiAZni','map','stringify','object','299615YAbcPJ','number','92519VwKWim','dim','54fAIMEY','string','boolean','3tloLZX','isArray','974410fodUoJ','noColor','yellow','isTTY','Chalk','repeat','18RKJhOx','446850AmIOjQ','44GXlFhw','join','length','null','entries','cyan','547288PGsmhj','184018bIxUVY','4DHYhDM'];a188_0x3db9=function(){return _0x543311;};return a188_0x3db9();}export function colorType(_0x35b1b9,_0x4d5eba={}){const _0x3c5b58=a188_0x2ac5c5;return getChalk(_0x4d5eba)[_0x3c5b58(0xe9)](_0x35b1b9);}export function colorJSONKey(_0x581e85,_0x3b9e90={}){return getChalk(_0x3b9e90)['blue'](_0x581e85);}function a188_0x1fa6(_0x1793c4,_0x1d422c){_0x1793c4=_0x1793c4-0xd3;const _0x3db99e=a188_0x3db9();let _0x1fa6f9=_0x3db99e[_0x1793c4];return _0x1fa6f9;}export function colorJSONString(_0x2804e9,_0x1f61e6={}){return getChalk(_0x1f61e6)['green'](_0x2804e9);}export function colorJSONNumber(_0x3a192c,_0x1353d3={}){const _0x2a08f3=a188_0x2ac5c5;return getChalk(_0x1353d3)[_0x2a08f3(0xde)](_0x3a192c);}export function colorJSONBoolean(_0x29133d,_0x4e2d45={}){const _0x15d05c=a188_0x2ac5c5;return getChalk(_0x4e2d45)[_0x15d05c(0xd3)](_0x29133d);}export function colorJSONNull(_0x572a94,_0x3ceeaf={}){const _0x2720cd=a188_0x2ac5c5;return getChalk(_0x3ceeaf)[_0x2720cd(0xe9)](_0x572a94);}export function colorizeJSONCompact(_0x3b4784,_0x54f269={}){const _0x92c416=a188_0x2ac5c5;if(!shouldUseColor(_0x54f269))return JSON[_0x92c416(0xe4)](_0x3b4784);if(_0x3b4784===null)return colorJSONNull(_0x92c416(0xdc),_0x54f269);if(typeof _0x3b4784===_0x92c416(0xec))return colorJSONBoolean(String(_0x3b4784),_0x54f269);if(typeof _0x3b4784===_0x92c416(0xe7))return colorJSONNumber(String(_0x3b4784),_0x54f269);if(typeof _0x3b4784===_0x92c416(0xeb))return colorJSONString(JSON[_0x92c416(0xe4)](_0x3b4784),_0x54f269);if(Array[_0x92c416(0xee)](_0x3b4784)){if(_0x3b4784[_0x92c416(0xdb)]===0x0)return'[]';const _0x375864=_0x3b4784['map'](_0x34349a=>colorizeJSONCompact(_0x34349a,_0x54f269));return'['+_0x375864[_0x92c416(0xda)](',')+']';}if(typeof _0x3b4784==='object'){const _0x30b897=Object[_0x92c416(0xdd)](_0x3b4784);if(_0x30b897[_0x92c416(0xdb)]===0x0)return'{}';const _0x569acb=_0x30b897[_0x92c416(0xe3)](([_0x32a95b,_0x1d2667])=>{const _0x245ff5=_0x92c416,_0x25f237=colorJSONKey(JSON[_0x245ff5(0xe4)](_0x32a95b),_0x54f269),_0x32d286=colorizeJSONCompact(_0x1d2667,_0x54f269);return _0x25f237+':'+_0x32d286;});return'{'+_0x569acb[_0x92c416(0xda)](',')+'}';}return String(_0x3b4784);}export function colorizeJSON(_0xeeec1d,_0x13cd06={},_0x3f76a8=0x0){const _0x44f193=a188_0x2ac5c5;if(!shouldUseColor(_0x13cd06))return JSON[_0x44f193(0xe4)](_0xeeec1d,null,0x2);const _0x4bfcff='\x20'[_0x44f193(0xd6)](_0x3f76a8),_0x439367=_0x3f76a8+0x2;if(_0xeeec1d===null)return colorJSONNull(_0x44f193(0xdc),_0x13cd06);if(typeof _0xeeec1d===_0x44f193(0xec))return colorJSONBoolean(String(_0xeeec1d),_0x13cd06);if(typeof _0xeeec1d==='number')return colorJSONNumber(String(_0xeeec1d),_0x13cd06);if(typeof _0xeeec1d===_0x44f193(0xeb))return colorJSONString(JSON['stringify'](_0xeeec1d),_0x13cd06);if(Array['isArray'](_0xeeec1d)){if(_0xeeec1d['length']===0x0)return'[]';const _0x1f21b7=_0xeeec1d[_0x44f193(0xe3)](_0x10a605=>{const _0x4c8563=_0x44f193,_0x159713=colorizeJSON(_0x10a605,_0x13cd06,_0x439367);return''+'\x20'[_0x4c8563(0xd6)](_0x439367)+_0x159713;});return'[\x0a'+_0x1f21b7[_0x44f193(0xda)](',\x0a')+('\x0a'+_0x4bfcff+']');}if(typeof _0xeeec1d===_0x44f193(0xe5)){const _0x47fd15=Object[_0x44f193(0xdd)](_0xeeec1d);if(_0x47fd15[_0x44f193(0xdb)]===0x0)return'{}';const _0x2369eb=_0x47fd15[_0x44f193(0xe3)](([_0xbd173a,_0x4714c9])=>{const _0x2022a9=colorJSONKey(JSON['stringify'](_0xbd173a),_0x13cd06),_0x4de903=colorizeJSON(_0x4714c9,_0x13cd06,_0x439367);return''+'\x20'['repeat'](_0x439367)+_0x2022a9+':\x20'+_0x4de903;});return'{\x0a'+_0x2369eb[_0x44f193(0xda)](',\x0a')+('\x0a'+_0x4bfcff+'}');}return String(_0xeeec1d);}
|
package/dist/utils/diff.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x54afd1,_0x50080e){const _0x1c8985=a189_0x52b1,_0x52cb72=_0x54afd1();while(!![]){try{const _0x479258=parseInt(_0x1c8985(0xbe))/0x1+-parseInt(_0x1c8985(0xb6))/0x2+parseInt(_0x1c8985(0xbf))/0x3+parseInt(_0x1c8985(0xce))/0x4+-parseInt(_0x1c8985(0xb8))/0x5*(-parseInt(_0x1c8985(0xc7))/0x6)+parseInt(_0x1c8985(0xcd))/0x7+-parseInt(_0x1c8985(0xc3))/0x8;if(_0x479258===_0x50080e)break;else _0x52cb72['push'](_0x52cb72['shift']());}catch(_0x10f6b3){_0x52cb72['push'](_0x52cb72['shift']());}}}(a189_0x12db,0xa2592));function a189_0x12db(){const _0x17514d=['1382740QLnGrF','some','padStart','repeat','size','push','1606546uwvOGN','added','76210vdjcnl','content','dim','new','split','join','484778BpNBHT','20607OmomfV','type','length','unchanged','717912ElNyHj','red','add','fill','216xaDDBf','forEach','\x20-\x20','has','\x20\x20\x20','green','1203622dslUvO'];a189_0x12db=function(){return _0x17514d;};return a189_0x12db();}import a189_0x3f653d from'chalk';export function generateDiff(_0x59803e,_0x793046){const _0x4c6a9f=a189_0x52b1,_0x1f106c=_0x59803e[_0x4c6a9f(0xbc)]('\x0a'),_0x3f4b9d=_0x793046['split']('\x0a'),_0x32c160=[],_0x559d6b=computeLCS(_0x1f106c,_0x3f4b9d);let _0x3cb091=0x0,_0x159a09=0x0,_0x270ec3=0x0;while(_0x3cb091<_0x1f106c[_0x4c6a9f(0xc1)]||_0x159a09<_0x3f4b9d['length']){if(_0x270ec3<_0x559d6b['length']&&_0x3cb091<_0x1f106c[_0x4c6a9f(0xc1)]&&_0x1f106c[_0x3cb091]===_0x559d6b[_0x270ec3])_0x159a09<_0x3f4b9d['length']&&_0x3f4b9d[_0x159a09]===_0x559d6b[_0x270ec3]?(_0x32c160[_0x4c6a9f(0xb5)]({'type':_0x4c6a9f(0xc2),'content':_0x1f106c[_0x3cb091]}),_0x3cb091++,_0x159a09++,_0x270ec3++):(_0x32c160[_0x4c6a9f(0xb5)]({'type':_0x4c6a9f(0xb7),'content':_0x3f4b9d[_0x159a09]}),_0x159a09++);else{if(_0x270ec3<_0x559d6b[_0x4c6a9f(0xc1)]&&_0x159a09<_0x3f4b9d['length']&&_0x3f4b9d[_0x159a09]===_0x559d6b[_0x270ec3])_0x32c160[_0x4c6a9f(0xb5)]({'type':'removed','content':_0x1f106c[_0x3cb091]}),_0x3cb091++;else{if(_0x3cb091<_0x1f106c[_0x4c6a9f(0xc1)]&&(_0x270ec3>=_0x559d6b[_0x4c6a9f(0xc1)]||_0x1f106c[_0x3cb091]!==_0x559d6b[_0x270ec3]))_0x32c160['push']({'type':'removed','content':_0x1f106c[_0x3cb091]}),_0x3cb091++;else _0x159a09<_0x3f4b9d['length']&&(_0x32c160[_0x4c6a9f(0xb5)]({'type':_0x4c6a9f(0xb7),'content':_0x3f4b9d[_0x159a09]}),_0x159a09++);}}}return _0x32c160;}function computeLCS(_0x516d6e,_0x1eb069){const _0x1a6b61=a189_0x52b1,_0x4104ef=_0x516d6e[_0x1a6b61(0xc1)],_0x10fd88=_0x1eb069[_0x1a6b61(0xc1)],_0x1a0486=Array(_0x4104ef+0x1)[_0x1a6b61(0xc6)](null)['map'](()=>Array(_0x10fd88+0x1)['fill'](0x0));for(let _0x41e140=0x1;_0x41e140<=_0x4104ef;_0x41e140++){for(let _0x4d9460=0x1;_0x4d9460<=_0x10fd88;_0x4d9460++){_0x516d6e[_0x41e140-0x1]===_0x1eb069[_0x4d9460-0x1]?_0x1a0486[_0x41e140][_0x4d9460]=_0x1a0486[_0x41e140-0x1][_0x4d9460-0x1]+0x1:_0x1a0486[_0x41e140][_0x4d9460]=Math['max'](_0x1a0486[_0x41e140-0x1][_0x4d9460],_0x1a0486[_0x41e140][_0x4d9460-0x1]);}}const _0xd0b037=[];let _0x2bb430=_0x4104ef,_0x4cd4b8=_0x10fd88;while(_0x2bb430>0x0&&_0x4cd4b8>0x0){if(_0x516d6e[_0x2bb430-0x1]===_0x1eb069[_0x4cd4b8-0x1])_0xd0b037['unshift'](_0x516d6e[_0x2bb430-0x1]),_0x2bb430--,_0x4cd4b8--;else _0x1a0486[_0x2bb430-0x1][_0x4cd4b8]>_0x1a0486[_0x2bb430][_0x4cd4b8-0x1]?_0x2bb430--:_0x4cd4b8--;}return _0xd0b037;}function a189_0x52b1(_0x25ea86,_0x2652c6){_0x25ea86=_0x25ea86-0xb3;const _0x12dbb8=a189_0x12db();let _0x52b102=_0x12dbb8[_0x25ea86];return _0x52b102;}export function formatDiffWithColors(_0x58eacb,_0x2d7db8=0x3){const _0x45550c=a189_0x52b1,_0x331158=new Set();_0x58eacb[_0x45550c(0xc8)]((_0x3e1de7,_0x2aac7f)=>{const _0x4d8642=_0x45550c;_0x3e1de7[_0x4d8642(0xc0)]!==_0x4d8642(0xc2)&&_0x331158['add'](_0x2aac7f);});if(_0x331158[_0x45550c(0xb4)]===0x0)return'';const _0xefa783=new Set();for(const _0x5ab32d of _0x331158){for(let _0x527a09=Math['max'](0x0,_0x5ab32d-_0x2d7db8);_0x527a09<=Math['min'](_0x58eacb['length']-0x1,_0x5ab32d+_0x2d7db8);_0x527a09++){_0xefa783[_0x45550c(0xc5)](_0x527a09);}}const _0x225475=[];let _0xa188fd=-0x1;const _0x20f3c6=_0x58eacb[_0x45550c(0xc1)],_0xdfe45e=Math['max'](0x3,String(_0x20f3c6)[_0x45550c(0xc1)]),_0x2554f3=[];let _0x2eb021=0x0,_0x8a9c13=0x0;for(const _0x13420e of _0x58eacb){if(_0x13420e['type']==='removed')_0x2eb021++,_0x2554f3[_0x45550c(0xb5)]({'old':_0x2eb021,'new':0x0});else _0x13420e[_0x45550c(0xc0)]==='added'?(_0x8a9c13++,_0x2554f3[_0x45550c(0xb5)]({'old':0x0,'new':_0x8a9c13})):(_0x2eb021++,_0x8a9c13++,_0x2554f3['push']({'old':_0x2eb021,'new':_0x8a9c13}));}for(let _0x110477=0x0;_0x110477<_0x58eacb[_0x45550c(0xc1)];_0x110477++){if(!_0xefa783[_0x45550c(0xca)](_0x110477))continue;_0xa188fd!==-0x1&&_0x110477>_0xa188fd+0x1&&_0x225475['push'](a189_0x3f653d['cyan']('\x20\x20...'));_0xa188fd=_0x110477;const _0x2161ff=_0x58eacb[_0x110477],_0x32b178=_0x2554f3[_0x110477],_0x3cc8b5=_0x32b178['old']>0x0?String(_0x32b178['old'])[_0x45550c(0xd0)](_0xdfe45e):'\x20'['repeat'](_0xdfe45e),_0x2dd31c=_0x32b178[_0x45550c(0xbb)]>0x0?String(_0x32b178['new'])[_0x45550c(0xd0)](_0xdfe45e):'\x20'[_0x45550c(0xb3)](_0xdfe45e);switch(_0x2161ff[_0x45550c(0xc0)]){case'removed':_0x225475['push'](a189_0x3f653d[_0x45550c(0xc4)](_0x3cc8b5+'\x20'+_0x2dd31c+_0x45550c(0xc9)+_0x2161ff[_0x45550c(0xb9)]));break;case _0x45550c(0xb7):_0x225475[_0x45550c(0xb5)](a189_0x3f653d[_0x45550c(0xcc)](_0x3cc8b5+'\x20'+_0x2dd31c+'\x20+\x20'+_0x2161ff['content']));break;default:_0x225475['push'](a189_0x3f653d[_0x45550c(0xba)](_0x3cc8b5+'\x20'+_0x2dd31c+_0x45550c(0xcb)+_0x2161ff[_0x45550c(0xb9)]));break;}}return _0x225475[_0x45550c(0xbd)]('\x0a');}export function hasChanges(_0x30859f){const _0x94771b=a189_0x52b1;return _0x30859f[_0x94771b(0xcf)](_0x4956b8=>_0x4956b8[_0x94771b(0xc0)]!=='unchanged');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5b8687,_0x2ef126){const _0x569506=a190_0x4ac5,_0x3b2f08=_0x5b8687();while(!![]){try{const _0x183f91=-parseInt(_0x569506(0x1fc))/0x1+parseInt(_0x569506(0x1fa))/0x2+-parseInt(_0x569506(0x1f6))/0x3*(-parseInt(_0x569506(0x1f0))/0x4)+parseInt(_0x569506(0x1ee))/0x5*(-parseInt(_0x569506(0x1fd))/0x6)+parseInt(_0x569506(0x1f9))/0x7*(-parseInt(_0x569506(0x1ec))/0x8)+-parseInt(_0x569506(0x1f8))/0x9+-parseInt(_0x569506(0x1f7))/0xa*(-parseInt(_0x569506(0x1ff))/0xb);if(_0x183f91===_0x2ef126)break;else _0x3b2f08['push'](_0x3b2f08['shift']());}catch(_0x2b9cbf){_0x3b2f08['push'](_0x3b2f08['shift']());}}}(a190_0x5980,0x6521d));function a190_0x5980(){const _0x3f0577=['\x20has\x20insecure\x20permissions\x20(','88QmKODq','warn','statSync','Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20','Should\x20be\x200600\x20or\x20more\x20restrictive.',').\x20','87411EjWHpA','10zzNABZ','6890661DgpqSF','2800672IaeMLM','608826dcNAnK','mode','592357mBCOlj','84BOXTjT','chmodSync','26882306PQtxBf','Warning:\x20','16KJDSjA','existsSync','291735SXImVx'];a190_0x5980=function(){return _0x3f0577;};return a190_0x5980();}import*as a190_0x230312 from'node:fs';function a190_0x4ac5(_0x39180f,_0x100468){_0x39180f=_0x39180f-0x1eb;const _0x59802b=a190_0x5980();let _0x4ac551=_0x59802b[_0x39180f];return _0x4ac551;}import*as a190_0x388b45 from'node:path';export function setSecureFilePermissions(_0x184ba8){const _0xa5b8b4=a190_0x4ac5;try{a190_0x230312[_0xa5b8b4(0x1fe)](_0x184ba8,0x180);}catch{console[_0xa5b8b4(0x1f1)](_0xa5b8b4(0x1f3)+_0x184ba8);}}export function setSecureDirectoryPermissions(_0x475e55){const _0xd8c7ef=a190_0x4ac5;try{a190_0x230312['chmodSync'](_0x475e55,0x1c0);}catch{console[_0xd8c7ef(0x1f1)](_0xd8c7ef(0x1f3)+_0x475e55);}}export function createSecureDirectory(_0x3bfe5c){const _0x5ecf16=a190_0x4ac5;!a190_0x230312[_0x5ecf16(0x1ed)](_0x3bfe5c)&&(a190_0x230312['mkdirSync'](_0x3bfe5c,{'recursive':!![],'mode':0x1c0}),setSecureDirectoryPermissions(_0x3bfe5c));}export function validateSecureFilePermissions(_0x31f08f){const _0x4f4ffe=a190_0x4ac5;try{const _0x2565db=a190_0x230312[_0x4f4ffe(0x1f2)](_0x31f08f),_0x39f6f2=_0x2565db[_0x4f4ffe(0x1fb)]&0x1ff,_0x51cd5c=(_0x39f6f2&0x3f)!==0x0;if(_0x51cd5c)return console[_0x4f4ffe(0x1f1)](_0x4f4ffe(0x1eb)+_0x31f08f+_0x4f4ffe(0x1ef)+_0x39f6f2['toString'](0x8)+_0x4f4ffe(0x1f5)+_0x4f4ffe(0x1f4)),![];return!![];}catch{return!![];}}export function writeSecureFile(_0x55b3f9,_0x83c8ad){const _0x5671e7=a190_0x388b45['dirname'](_0x55b3f9);createSecureDirectory(_0x5671e7),a190_0x230312['writeFileSync'](_0x55b3f9,_0x83c8ad,{'mode':0x180}),setSecureFilePermissions(_0x55b3f9);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x275797,_0x45be0){const _0x56296a=a191_0x51c2,_0x4eca6e=_0x275797();while(!![]){try{const _0x369dd5=parseInt(_0x56296a(0x13c))/0x1*(parseInt(_0x56296a(0x136))/0x2)+parseInt(_0x56296a(0x135))/0x3*(-parseInt(_0x56296a(0x132))/0x4)+parseInt(_0x56296a(0x133))/0x5+parseInt(_0x56296a(0x13f))/0x6+-parseInt(_0x56296a(0x13e))/0x7*(-parseInt(_0x56296a(0x13a))/0x8)+parseInt(_0x56296a(0x140))/0x9*(-parseInt(_0x56296a(0x13b))/0xa)+-parseInt(_0x56296a(0x138))/0xb;if(_0x369dd5===_0x45be0)break;else _0x4eca6e['push'](_0x4eca6e['shift']());}catch(_0x9fe8f0){_0x4eca6e['push'](_0x4eca6e['shift']());}}}(a191_0x4e9b,0x54ee4));import{readFileSync}from'fs';function a191_0x51c2(_0xd98a4c,_0x5e8fb1){_0xd98a4c=_0xd98a4c-0x131;const _0x4e9bf0=a191_0x4e9b();let _0x51c29f=_0x4e9bf0[_0xd98a4c];return _0x51c29f;}import{SDKError,ErrorCode}from'../sdk/errors.js';function a191_0x4e9b(){const _0x183865=['File\x20\x27','304372sGSNlW','1835750UGLTlo','Permission\x20denied\x20reading\x20file\x20\x27','24scknYc','102wcIohV','utf-8','10289411KbYsxC','INTERNAL','904wLrIOO','1113110SoGFwK','10959qlFhlF','NOT_FOUND','34713MPbNPP','3101436cPglHj','9dTfgKE','\x27:\x20','Error\x20reading\x20file\x20\x27'];a191_0x4e9b=function(){return _0x183865;};return a191_0x4e9b();}export function readFileContent(_0x38e96b){const _0x26491e=a191_0x51c2;try{return readFileSync(_0x38e96b,_0x26491e(0x137));}catch(_0xbc32fc){const _0x8a4e8c=_0xbc32fc['code'];if(_0x8a4e8c==='ENOENT')throw new SDKError(ErrorCode[_0x26491e(0x13d)],_0x26491e(0x131)+_0x38e96b+'\x27\x20not\x20found',_0xbc32fc);else{if(_0x8a4e8c==='EACCES')throw new SDKError(ErrorCode['PERMISSION_DENIED'],_0x26491e(0x134)+_0x38e96b+'\x27',_0xbc32fc);else throw new SDKError(ErrorCode[_0x26491e(0x139)],_0x26491e(0x142)+_0x38e96b+_0x26491e(0x141)+_0xbc32fc['message'],_0xbc32fc);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a192_0x1587(){const _0x223e30=['1305Eycrmy','7443966jlUOtH','GitHub\x20API\x20request\x20timed\x20out\x20after\x20','24898580LSUKVH','tag_name','data','/releases?per_page=20','slice','prerelease','1846110JIIVas','set','releases','error','now','application/vnd.github+json','919986AFrXxp','statusCode','end','8584AoUdqM','find','1CYbzYl','destroy','api.github.com','toString','14825133lPxFAC','length','594640aWGoCp','next','98mmwfIl'];a192_0x1587=function(){return _0x223e30;};return a192_0x1587();}(function(_0x432e37,_0x4912d9){const _0x53a5df=a192_0x27ad,_0x96c0a4=_0x432e37();while(!![]){try{const _0x101bfc=-parseInt(_0x53a5df(0x145))/0x1*(parseInt(_0x53a5df(0x140))/0x2)+-parseInt(_0x53a5df(0x14e))/0x3*(parseInt(_0x53a5df(0x143))/0x4)+parseInt(_0x53a5df(0x13a))/0x5+-parseInt(_0x53a5df(0x14f))/0x6+parseInt(_0x53a5df(0x14d))/0x7*(-parseInt(_0x53a5df(0x14b))/0x8)+parseInt(_0x53a5df(0x149))/0x9+parseInt(_0x53a5df(0x151))/0xa;if(_0x101bfc===_0x4912d9)break;else _0x96c0a4['push'](_0x96c0a4['shift']());}catch(_0x5c6ac1){_0x96c0a4['push'](_0x96c0a4['shift']());}}}(a192_0x1587,0xcb02d));import*as a192_0x3e760d from'node:https';function a192_0x27ad(_0x1ea1a4,_0x11061a){_0x1ea1a4=_0x1ea1a4-0x135;const _0x1587dd=a192_0x1587();let _0x27ad5e=_0x1587dd[_0x1ea1a4];return _0x27ad5e;}const REQUEST_TIMEOUT_MS=0x2710,CACHE_TTL_MS=0x5*0x3c*0x3e8,cache=new Map();export function fetchGitHubReleases(_0xbc1700,_0x56825c,_0x163c17){const _0x4af6c0=a192_0x27ad,_0x57d15c=_0xbc1700+'/'+_0x56825c,_0x392ba1=cache['get'](_0x57d15c);if(_0x392ba1&&Date[_0x4af6c0(0x13e)]()-_0x392ba1['fetchedAt']<CACHE_TTL_MS)return Promise['resolve'](_0x392ba1[_0x4af6c0(0x13c)]);return new Promise((_0x4ad019,_0x32225f)=>{const _0x4e9b6f=_0x4af6c0,_0x221306={'hostname':_0x4e9b6f(0x147),'path':'/repos/'+_0xbc1700+'/'+_0x56825c+_0x4e9b6f(0x137),'headers':{'User-Agent':_0x163c17,'Accept':_0x4e9b6f(0x13f)},'timeout':REQUEST_TIMEOUT_MS},_0x41b83d=a192_0x3e760d['get'](_0x221306,_0x564780=>{const _0x33997b=_0x4e9b6f;let _0x22c90d='';_0x564780['on'](_0x33997b(0x136),_0x1ec0f7=>{const _0x39af8b=_0x33997b;_0x22c90d+=_0x1ec0f7[_0x39af8b(0x148)]();}),_0x564780['on'](_0x33997b(0x142),()=>{const _0x4e2b1b=_0x33997b;if(_0x564780['statusCode']!==0xc8){_0x32225f(new Error('GitHub\x20API\x20returned\x20'+_0x564780[_0x4e2b1b(0x141)]+':\x20'+_0x22c90d[_0x4e2b1b(0x138)](0x0,0xc8)));return;}try{const _0x40a98c=JSON['parse'](_0x22c90d);cache[_0x4e2b1b(0x13b)](_0x57d15c,{'releases':_0x40a98c,'fetchedAt':Date['now']()}),_0x4ad019(_0x40a98c);}catch(_0x41d70a){_0x32225f(_0x41d70a);}});});_0x41b83d['on']('timeout',()=>{const _0x651ced=_0x4e9b6f;_0x41b83d[_0x651ced(0x146)](),_0x32225f(new Error(_0x651ced(0x150)+REQUEST_TIMEOUT_MS+'ms'));}),_0x41b83d['on'](_0x4e9b6f(0x13d),_0x32225f);});}export async function resolveReleaseTag(_0x1a467e,_0x5e73b7,_0x1e4507,_0x382d68){const _0x16dcc0=a192_0x27ad,_0x3a1c46=await fetchGitHubReleases(_0x5e73b7,_0x1e4507,_0x382d68);if(_0x3a1c46[_0x16dcc0(0x14a)]===0x0)return null;if(_0x1a467e===_0x16dcc0(0x14c))return _0x3a1c46[0x0]['tag_name'];const _0x3d0043=_0x3a1c46[_0x16dcc0(0x144)](_0x260062=>!_0x260062[_0x16dcc0(0x139)]);return _0x3d0043?_0x3d0043[_0x16dcc0(0x135)]:null;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x8ab96a,_0x4097ee){const _0x3e9133=a193_0x5e52,_0x462eba=_0x8ab96a();while(!![]){try{const _0x466998=parseInt(_0x3e9133(0x1f7))/0x1+parseInt(_0x3e9133(0x1e7))/0x2*(parseInt(_0x3e9133(0x1f6))/0x3)+-parseInt(_0x3e9133(0x1eb))/0x4+parseInt(_0x3e9133(0x1fa))/0x5+-parseInt(_0x3e9133(0x1f2))/0x6*(parseInt(_0x3e9133(0x1ea))/0x7)+parseInt(_0x3e9133(0x1e4))/0x8+parseInt(_0x3e9133(0x1ec))/0x9*(-parseInt(_0x3e9133(0x1f5))/0xa);if(_0x466998===_0x4097ee)break;else _0x462eba['push'](_0x462eba['shift']());}catch(_0x484c43){_0x462eba['push'](_0x462eba['shift']());}}}(a193_0x30c5,0xef0c9));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join}from'path';import{homedir}from'os';export function getGlobalCacheDir(){const _0x550b94=a193_0x5e52;return process.env.TDX_CACHE_DIR||join(homedir(),_0x550b94(0x1e5),_0x550b94(0x1ef));}const registry=new Map();export function registerGlobalCacheKey(_0x5609f1,_0xd49142){const _0x3e05b9=a193_0x5e52,_0x4f5841=registry[_0x3e05b9(0x1f4)](_0x5609f1);if(_0x4f5841&&_0x4f5841!==_0xd49142)throw new Error(_0x3e05b9(0x1f3)+_0x5609f1+_0x3e05b9(0x1f9)+_0x4f5841+_0x3e05b9(0x1e6)+_0xd49142+'\x22');registry['set'](_0x5609f1,_0xd49142);}export function getGlobalCachePath(_0x3d3b38){return join(getGlobalCacheDir(),_0x3d3b38);}function ensureGlobalCacheDir(){const _0x5ec809=getGlobalCacheDir();!existsSync(_0x5ec809)&&mkdirSync(_0x5ec809,{'recursive':!![]});}function readCacheJson(_0x53daf0){const _0x3fd56a=a193_0x5e52,_0x20ca14=getGlobalCachePath(_0x53daf0);if(!existsSync(_0x20ca14))return undefined;try{const _0x2ba12a=readFileSync(_0x20ca14,'utf-8');return JSON[_0x3fd56a(0x1e8)](_0x2ba12a);}catch{return undefined;}}function writeCacheJson(_0x4d7a54,_0x459cae){const _0xbfb81e=a193_0x5e52;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x4d7a54),JSON[_0xbfb81e(0x1ed)](_0x459cae,null,0x2),_0xbfb81e(0x1f0));}function a193_0x5e52(_0x4d3c3a,_0x19fadc){_0x4d3c3a=_0x4d3c3a-0x1e4;const _0x30c5ac=a193_0x30c5();let _0x5e5214=_0x30c5ac[_0x4d3c3a];return _0x5e5214;}function readCacheText(_0x155b58){const _0x19adb=a193_0x5e52,_0x4b5ce8=getGlobalCachePath(_0x155b58);if(!existsSync(_0x4b5ce8))return undefined;try{return readFileSync(_0x4b5ce8,_0x19adb(0x1f0));}catch{return undefined;}}function writeCacheText(_0x322928,_0x30b524){ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x322928),_0x30b524,'utf-8');}function clearCache(_0x246d31){const _0x7aab35=getGlobalCachePath(_0x246d31);if(existsSync(_0x7aab35))try{unlinkSync(_0x7aab35);}catch{}}function cacheExists(_0x57c92d){return existsSync(getGlobalCachePath(_0x57c92d));}function a193_0x30c5(){const _0x2106db=['clear','tdx','utf-8','{profile}','25302LvaoKS','Global\x20cache\x20key\x20\x22','get','39830mjlCFW','43656lEdqqU','1138695ROmsNy','replace','\x22\x20already\x20registered\x20by\x20\x22','4377780gQhJdL','1810184XaDmWb','.cache','\x22,\x20cannot\x20register\x20for\x20\x22','260DkVGfx','parse','trim','1085xtqOJQ','3481828mcdyix','3681WcLNkG','stringify'];a193_0x30c5=function(){return _0x2106db;};return a193_0x30c5();}export function createGlobalCache(_0x409aaf,_0x10f536){return registerGlobalCacheKey(_0x409aaf,_0x10f536),{'read':()=>readCacheJson(_0x409aaf),'write':_0x1b6869=>writeCacheJson(_0x409aaf,_0x1b6869),'clear':()=>clearCache(_0x409aaf),'exists':()=>cacheExists(_0x409aaf),'path':()=>getGlobalCachePath(_0x409aaf)};}export function createGlobalTextCache(_0x2d6ec6,_0x59fab1){const _0x18cffa=a193_0x5e52;return registerGlobalCacheKey(_0x2d6ec6,_0x59fab1),{'read':()=>readCacheText(_0x2d6ec6)?.[_0x18cffa(0x1e9)]()||undefined,'write':_0x2fa906=>writeCacheText(_0x2d6ec6,_0x2fa906),'clear':()=>clearCache(_0x2d6ec6),'exists':()=>cacheExists(_0x2d6ec6),'path':()=>getGlobalCachePath(_0x2d6ec6)};}export function createProfileCache(_0x10a6e0,_0x39cc6f){const _0x321a78=_0x422c5a=>{const _0x3c66f8=a193_0x5e52,_0x233548=_0x422c5a||'default';return _0x10a6e0[_0x3c66f8(0x1f8)](_0x3c66f8(0x1f1),_0x233548);};return{'read':_0x2c8b49=>{const _0x4f8b0e=_0x321a78(_0x2c8b49);return registerGlobalCacheKey(_0x4f8b0e,_0x39cc6f),readCacheJson(_0x4f8b0e);},'write':(_0x35bebb,_0x5e949c)=>{const _0x36fa97=_0x321a78(_0x35bebb);registerGlobalCacheKey(_0x36fa97,_0x39cc6f),writeCacheJson(_0x36fa97,_0x5e949c);},'clear':_0x428b87=>{const _0x43ffc0=_0x321a78(_0x428b87);clearCache(_0x43ffc0);},'exists':_0x3a8aca=>{const _0x47fc9e=_0x321a78(_0x3a8aca);return cacheExists(_0x47fc9e);},'path':_0x470703=>{const _0x5bcd42=_0x321a78(_0x470703);return getGlobalCachePath(_0x5bcd42);}};}export function createOptionalProfileCache(_0x1e4e5c,_0x3dbe0a,_0x2e3c2a={}){const {profileSeparator:profileSeparator='.',suffix:suffix=''}=_0x2e3c2a,_0x3c8517=_0x2de13c=>{return _0x2de13c?''+_0x1e4e5c+profileSeparator+_0x2de13c+suffix:''+_0x1e4e5c+suffix;};return{'read':_0x2f5772=>{const _0x19d154=_0x3c8517(_0x2f5772);return registerGlobalCacheKey(_0x19d154,_0x3dbe0a),readCacheJson(_0x19d154);},'write':(_0xd17858,_0x4fbcab)=>{const _0x1b2cab=_0x3c8517(_0x4fbcab);registerGlobalCacheKey(_0x1b2cab,_0x3dbe0a),writeCacheJson(_0x1b2cab,_0xd17858);},'clear':_0x127703=>{const _0x36387b=_0x3c8517(_0x127703);clearCache(_0x36387b);},'exists':_0x21e3eb=>{const _0x237e2a=_0x3c8517(_0x21e3eb);return cacheExists(_0x237e2a);},'path':_0x445e6c=>{const _0x28e149=_0x3c8517(_0x445e6c);return getGlobalCachePath(_0x28e149);}};}export function clearGlobalRegistry(){const _0x468655=a193_0x5e52;registry[_0x468655(0x1ee)]();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a194_0x46e4(){const _0x124846=['3219756EnYxVw','22mrZbBD','1541154hUnjrF','INTERNAL','ENOENT','File\x20not\x20found:\x20','44529YwdAyA','PERMISSION_DENIED','code','message','parse','5045930kmQaFR','NOT_FOUND','1112hIWWRm','Invalid\x20JSON\x20in\x20file\x20\x27','9423kFpIGy','Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.','5VgCzwk','Failed\x20to\x20load\x20JSON:\x20','utf-8','2309706hGYDop','\x27:\x20','332100XKDbXi','INVALID_ARGUMENT'];a194_0x46e4=function(){return _0x124846;};return a194_0x46e4();}(function(_0x447961,_0x59b35d){const _0x2fd2fb=a194_0x3464,_0x4ee327=_0x447961();while(!![]){try{const _0x22a024=parseInt(_0x2fd2fb(0x152))/0x1*(parseInt(_0x2fd2fb(0x14d))/0x2)+-parseInt(_0x2fd2fb(0x14e))/0x3+parseInt(_0x2fd2fb(0x14a))/0x4*(parseInt(_0x2fd2fb(0x15d))/0x5)+parseInt(_0x2fd2fb(0x14c))/0x6+parseInt(_0x2fd2fb(0x160))/0x7+-parseInt(_0x2fd2fb(0x159))/0x8*(parseInt(_0x2fd2fb(0x15b))/0x9)+-parseInt(_0x2fd2fb(0x157))/0xa;if(_0x22a024===_0x59b35d)break;else _0x4ee327['push'](_0x4ee327['shift']());}catch(_0x4bca30){_0x4ee327['push'](_0x4ee327['shift']());}}}(a194_0x46e4,0x43480));function a194_0x3464(_0x17eb4d,_0x332707){_0x17eb4d=_0x17eb4d-0x14a;const _0x46e45f=a194_0x46e4();let _0x3464d0=_0x46e45f[_0x17eb4d];return _0x3464d0;}import{readFile}from'fs/promises';import{SDKError,ErrorCode}from'../sdk/errors.js';export async function loadJSON(_0x4cc401,_0x48de46){const _0x182355=a194_0x3464;try{if(_0x48de46){const _0x58e8db=await readFile(_0x4cc401,_0x182355(0x15f));try{return JSON['parse'](_0x58e8db);}catch(_0x3ac630){throw new SDKError(ErrorCode[_0x182355(0x14b)],_0x182355(0x15a)+_0x4cc401+_0x182355(0x161)+(_0x3ac630 instanceof Error?_0x3ac630[_0x182355(0x155)]:String(_0x3ac630)));}}else try{return JSON[_0x182355(0x156)](_0x4cc401);}catch(_0x2cf50c){throw new SDKError(ErrorCode[_0x182355(0x14b)],'Invalid\x20JSON\x20string:\x20'+(_0x2cf50c instanceof Error?_0x2cf50c[_0x182355(0x155)]:String(_0x2cf50c)));}}catch(_0x598900){if(_0x598900 instanceof SDKError)throw _0x598900;if(_0x598900 instanceof Error&&_0x182355(0x154)in _0x598900){const _0x43d036=_0x598900;if(_0x43d036[_0x182355(0x154)]===_0x182355(0x150))throw new SDKError(ErrorCode[_0x182355(0x158)],_0x182355(0x151)+_0x4cc401);else{if(_0x43d036[_0x182355(0x154)]==='EACCES')throw new SDKError(ErrorCode[_0x182355(0x153)],'Permission\x20denied\x20reading\x20file:\x20'+_0x4cc401);}}throw new SDKError(ErrorCode[_0x182355(0x14f)],_0x182355(0x15e)+(_0x598900 instanceof Error?_0x598900[_0x182355(0x155)]:String(_0x598900)));}}export async function loadJSONFromOptions(_0x4dcdb3,_0x5f4305){const _0x462aaf=a194_0x3464;if(_0x4dcdb3&&_0x5f4305)throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x462aaf(0x15c));if(_0x4dcdb3)return await loadJSON(_0x4dcdb3,![]);if(_0x5f4305)return await loadJSON(_0x5f4305,!![]);return undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a195_0x596b13=a195_0x2683;(function(_0x3b989e,_0x1f170a){const _0x4a1b63=a195_0x2683,_0x342e2d=_0x3b989e();while(!![]){try{const _0x14da96=-parseInt(_0x4a1b63(0xfd))/0x1+-parseInt(_0x4a1b63(0x105))/0x2*(parseInt(_0x4a1b63(0x106))/0x3)+parseInt(_0x4a1b63(0x10f))/0x4*(parseInt(_0x4a1b63(0xfc))/0x5)+parseInt(_0x4a1b63(0x101))/0x6+parseInt(_0x4a1b63(0x103))/0x7*(-parseInt(_0x4a1b63(0x10c))/0x8)+-parseInt(_0x4a1b63(0x104))/0x9*(-parseInt(_0x4a1b63(0x10a))/0xa)+-parseInt(_0x4a1b63(0xfe))/0xb;if(_0x14da96===_0x1f170a)break;else _0x342e2d['push'](_0x342e2d['shift']());}catch(_0x52202f){_0x342e2d['push'](_0x342e2d['shift']());}}}(a195_0x1273,0x88b56));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join,parse}from'path';import{homedir}from'os';const LOCAL_CACHE_DIR=a195_0x596b13(0x10d),registry=new Map();export function registerCacheKey(_0x2e2c52,_0x5d36c8){const _0x437477=a195_0x596b13,_0xde534f=registry['get'](_0x2e2c52);if(_0xde534f&&_0xde534f!==_0x5d36c8)throw new Error(_0x437477(0x100)+_0x2e2c52+'\x22\x20already\x20registered\x20by\x20\x22'+_0xde534f+'\x22,\x20cannot\x20register\x20for\x20\x22'+_0x5d36c8+'\x22');registry[_0x437477(0x108)](_0x2e2c52,_0x5d36c8);}export function getCacheDir(){const _0x5acba8=a195_0x596b13,_0x4f4d1a=process['cwd'](),_0xf619a6=_0x4f4d1a===parse(_0x4f4d1a)[_0x5acba8(0x10b)]?homedir():_0x4f4d1a;return join(_0xf619a6,LOCAL_CACHE_DIR);}export function getCachePath(_0x57434d){return join(getCacheDir(),_0x57434d);}function ensureCacheDir(){const _0x202819=getCacheDir();!existsSync(_0x202819)&&mkdirSync(_0x202819,{'recursive':!![]});}function readCacheJson(_0x586987){const _0x45b298=a195_0x596b13,_0x551c79=getCachePath(_0x586987);if(!existsSync(_0x551c79))return undefined;try{const _0x1ddace=readFileSync(_0x551c79,_0x45b298(0x107));return JSON[_0x45b298(0x109)](_0x1ddace);}catch{return undefined;}}function writeCacheJson(_0x47dcb1,_0x43785d){const _0x53364e=a195_0x596b13;ensureCacheDir(),writeFileSync(getCachePath(_0x47dcb1),JSON[_0x53364e(0x102)](_0x43785d,null,0x2),'utf-8');}function readCacheText(_0xde00a4){const _0x580f67=a195_0x596b13,_0x510c59=getCachePath(_0xde00a4);if(!existsSync(_0x510c59))return undefined;try{return readFileSync(_0x510c59,_0x580f67(0x107));}catch{return undefined;}}function writeCacheText(_0x3e5db5,_0x342e59){const _0x199a0e=a195_0x596b13;ensureCacheDir(),writeFileSync(getCachePath(_0x3e5db5),_0x342e59,_0x199a0e(0x107));}function clearCache(_0x19f58e){const _0x4c5873=getCachePath(_0x19f58e);if(existsSync(_0x4c5873))try{unlinkSync(_0x4c5873);}catch{}}function cacheExists(_0x2b6ea2){return existsSync(getCachePath(_0x2b6ea2));}function a195_0x2683(_0x1e5543,_0x21b5e7){_0x1e5543=_0x1e5543-0xfc;const _0x127360=a195_0x1273();let _0x26833b=_0x127360[_0x1e5543];return _0x26833b;}function a195_0x1273(){const _0x200fa4=['2CfpEnQ','1494957THFkrW','utf-8','set','parse','338580rBfprD','root','428920FzEbpD','.cache/tdx','clear','252TBhYGF','57725vNuBHS','556573EQrSwN','1624304lwoGrQ','trim','Cache\x20key\x20\x22','6126468TqzSZc','stringify','7jHrVPJ','18uPlttW'];a195_0x1273=function(){return _0x200fa4;};return a195_0x1273();}export function createCache(_0x3f835e,_0x3595d0){return registerCacheKey(_0x3f835e,_0x3595d0),{'read':()=>readCacheJson(_0x3f835e),'write':_0x2f79a8=>writeCacheJson(_0x3f835e,_0x2f79a8),'clear':()=>clearCache(_0x3f835e),'exists':()=>cacheExists(_0x3f835e),'path':()=>getCachePath(_0x3f835e)};}export function createTextCache(_0x2da0e1,_0x6d87e){const _0x5c4ade=a195_0x596b13;return registerCacheKey(_0x2da0e1,_0x6d87e),{'read':()=>readCacheText(_0x2da0e1)?.[_0x5c4ade(0xff)]()||undefined,'write':_0x1ca183=>writeCacheText(_0x2da0e1,_0x1ca183),'clear':()=>clearCache(_0x2da0e1),'exists':()=>cacheExists(_0x2da0e1),'path':()=>getCachePath(_0x2da0e1)};}export function clearRegistry(){const _0x164326=a195_0x596b13;registry[_0x164326(0x10e)]();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a196_0x35c408=a196_0x4197;(function(_0x5aa62b,_0x227bf0){const _0x58cf88=a196_0x4197,_0x59edd3=_0x5aa62b();while(!![]){try{const _0x3bb42f=parseInt(_0x58cf88(0x8b))/0x1+-parseInt(_0x58cf88(0x82))/0x2+parseInt(_0x58cf88(0x7f))/0x3*(-parseInt(_0x58cf88(0x85))/0x4)+parseInt(_0x58cf88(0x73))/0x5*(-parseInt(_0x58cf88(0x76))/0x6)+parseInt(_0x58cf88(0x7d))/0x7*(-parseInt(_0x58cf88(0x74))/0x8)+parseInt(_0x58cf88(0x81))/0x9*(-parseInt(_0x58cf88(0x84))/0xa)+parseInt(_0x58cf88(0x86))/0xb*(parseInt(_0x58cf88(0x8f))/0xc);if(_0x3bb42f===_0x227bf0)break;else _0x59edd3['push'](_0x59edd3['shift']());}catch(_0x4e46a0){_0x59edd3['push'](_0x59edd3['shift']());}}}(a196_0x4d99,0x7ac56));import a196_0x5dc6ad from'chalk';import{LogLevel,logLevelToString,formatTimestamp}from'../types.js';function a196_0x4d99(){const _0xaa1081=['message','INFO','chalk','red','595373ftHviV','component','format',']\x20[','36wgklSw','cyan','ERROR','73410ElWQYf','3662144HBhxBR','timestamp','300RJpztM','colors','blue','gray','default','TRACE','WARN','14jyZGNI','DEBUG','42jtZzuV','colorLevel','36Wiqrix','147700AHtAjQ','level','1433580uAJEmD','42276oKaCko','8625397VBJkKE'];a196_0x4d99=function(){return _0xaa1081;};return a196_0x4d99();}const chalkModule=a196_0x5dc6ad,ChalkClass=chalkModule['Chalk']||chalkModule[a196_0x35c408(0x7a)]?.['Chalk'];function a196_0x4197(_0x502931,_0x169241){_0x502931=_0x502931-0x73;const _0x4d994=a196_0x4d99();let _0x41974b=_0x4d994[_0x502931];return _0x41974b;}export class DefaultLogFormatter{[a196_0x35c408(0x77)];['chalk'];constructor(_0x24656b={}){const _0x347023=a196_0x35c408;this[_0x347023(0x77)]=_0x24656b[_0x347023(0x77)]??![],this[_0x347023(0x89)]=_0x24656b[_0x347023(0x77)]&&ChalkClass?new ChalkClass({'level':0x3}):a196_0x5dc6ad;}[a196_0x35c408(0x8d)](_0x370daf){const _0x3597fe=a196_0x35c408,_0x3de6a9=formatTimestamp(_0x370daf[_0x3597fe(0x75)]),_0x4e3005=logLevelToString(_0x370daf['level']);if(!this[_0x3597fe(0x77)])return _0x3de6a9+'\x20['+_0x4e3005+_0x3597fe(0x8e)+_0x370daf['component']+']\x20'+_0x370daf[_0x3597fe(0x87)];const _0x3f6bb2=this['chalk']['dim'](_0x3de6a9),_0x2109d4=this[_0x3597fe(0x80)](_0x4e3005,_0x370daf[_0x3597fe(0x83)]),_0x45ce15=this[_0x3597fe(0x89)][_0x3597fe(0x78)]('['+_0x370daf[_0x3597fe(0x8c)]+']');return _0x3f6bb2+'\x20'+_0x2109d4+'\x20'+_0x45ce15+'\x20'+_0x370daf[_0x3597fe(0x87)];}[a196_0x35c408(0x80)](_0x33916c,_0x4d55ba){const _0x17c24b=a196_0x35c408;switch(_0x4d55ba){case LogLevel[_0x17c24b(0x7b)]:return this[_0x17c24b(0x89)][_0x17c24b(0x79)]('['+_0x33916c+']');case LogLevel[_0x17c24b(0x7e)]:return this[_0x17c24b(0x89)]['green']('['+_0x33916c+']');case LogLevel[_0x17c24b(0x88)]:return this['chalk'][_0x17c24b(0x90)]('['+_0x33916c+']');case LogLevel[_0x17c24b(0x7c)]:return this['chalk']['yellow']('['+_0x33916c+']');case LogLevel[_0x17c24b(0x91)]:return this[_0x17c24b(0x89)][_0x17c24b(0x8a)]('['+_0x33916c+']');default:return'['+_0x33916c+']';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a197_0x3307(_0x5dec0b,_0x17d1ee){_0x5dec0b=_0x5dec0b-0x18a;var _0x5afe1e=a197_0x5afe();var _0x330708=_0x5afe1e[_0x5dec0b];return _0x330708;}function a197_0x5afe(){var _0x1ec482=['8734390CKtDKr','8132049yFufXL','1444960bBrXIq','3nGfluu','1734724VNpEzI','6529850AEKGgw','11bpwSyT','384214qmEqkQ','846546ASMzRN','2VcGmyL','30DVsKPJ'];a197_0x5afe=function(){return _0x1ec482;};return a197_0x5afe();}(function(_0x1ca147,_0x5e6ec2){var _0x1d59fd=a197_0x3307,_0x190e42=_0x1ca147();while(!![]){try{var _0x567d4a=parseInt(_0x1d59fd(0x190))/0x1*(parseInt(_0x1d59fd(0x18e))/0x2)+-parseInt(_0x1d59fd(0x18a))/0x3*(-parseInt(_0x1d59fd(0x18b))/0x4)+parseInt(_0x1d59fd(0x191))/0x5*(parseInt(_0x1d59fd(0x18f))/0x6)+-parseInt(_0x1d59fd(0x192))/0x7+parseInt(_0x1d59fd(0x194))/0x8+parseInt(_0x1d59fd(0x193))/0x9+parseInt(_0x1d59fd(0x18c))/0xa*(-parseInt(_0x1d59fd(0x18d))/0xb);if(_0x567d4a===_0x5e6ec2)break;else _0x190e42['push'](_0x190e42['shift']());}catch(_0x576255){_0x190e42['push'](_0x190e42['shift']());}}}(a197_0x5afe,0xceffb));export{DefaultLogFormatter}from'./default-formatter.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a198_0x458ca5=a198_0x2fb4;(function(_0x11f4a3,_0x104d20){const _0x1902e0=a198_0x2fb4,_0x46ba6f=_0x11f4a3();while(!![]){try{const _0xf083af=-parseInt(_0x1902e0(0xc4))/0x1+parseInt(_0x1902e0(0xc7))/0x2+-parseInt(_0x1902e0(0xc6))/0x3+parseInt(_0x1902e0(0xc8))/0x4*(-parseInt(_0x1902e0(0xbb))/0x5)+-parseInt(_0x1902e0(0xb9))/0x6*(-parseInt(_0x1902e0(0xbe))/0x7)+-parseInt(_0x1902e0(0xc2))/0x8+parseInt(_0x1902e0(0xc0))/0x9;if(_0xf083af===_0x104d20)break;else _0x46ba6f['push'](_0x46ba6f['shift']());}catch(_0x26f41b){_0x46ba6f['push'](_0x46ba6f['shift']());}}}(a198_0x5544,0x8d308));import{LogLevel as a198_0x410b2e}from'../types.js';import{DefaultLogFormatter}from'../formatters/index.js';function a198_0x2fb4(_0x401fc6,_0x3d18ce){_0x401fc6=_0x401fc6-0xb7;const _0x5544f5=a198_0x5544();let _0x2fb4e7=_0x5544f5[_0x401fc6];return _0x2fb4e7;}export class ConsoleHandler{['minLevel'];[a198_0x458ca5(0xbd)];[a198_0x458ca5(0xc5)];constructor(_0x4ff2a2={}){const _0x4cc23c=a198_0x458ca5;this[_0x4cc23c(0xbc)]=_0x4ff2a2[_0x4cc23c(0xbc)]??a198_0x410b2e[_0x4cc23c(0xba)],this[_0x4cc23c(0xbd)]=_0x4ff2a2[_0x4cc23c(0xbd)]??!![],this[_0x4cc23c(0xc5)]=new DefaultLogFormatter({'colors':_0x4ff2a2[_0x4cc23c(0xb7)]??!![]});}['handle'](_0x5a0e98){const _0xd9909c=a198_0x458ca5;if(_0x5a0e98[_0xd9909c(0xc1)]<this[_0xd9909c(0xbc)])return;const _0x5f5c0b=this[_0xd9909c(0xc5)][_0xd9909c(0xb8)](_0x5a0e98);this[_0xd9909c(0xbd)]&&_0x5a0e98[_0xd9909c(0xc1)]>=a198_0x410b2e[_0xd9909c(0xba)]?console[_0xd9909c(0xbf)](_0x5f5c0b):console[_0xd9909c(0xc3)](_0x5f5c0b);}}function a198_0x5544(){const _0x223c73=['1238580HYnMGr','1446572vKmAGO','colors','format','78uHscaB','WARN','10oktYZg','minLevel','useStderr','502061dkWsbe','error','2762532MCHMpL','level','781008gTiFWL','log','212597vHltyk','formatter','740448tdoYKN'];a198_0x5544=function(){return _0x223c73;};return a198_0x5544();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a199_0x4eebd4=a199_0x2998;(function(_0x4c1d01,_0x284717){const _0x129832=a199_0x2998,_0x12ccdf=_0x4c1d01();while(!![]){try{const _0xa65e2f=parseInt(_0x129832(0xdb))/0x1*(parseInt(_0x129832(0xe9))/0x2)+parseInt(_0x129832(0xea))/0x3+parseInt(_0x129832(0xdf))/0x4+parseInt(_0x129832(0xf0))/0x5*(parseInt(_0x129832(0xec))/0x6)+parseInt(_0x129832(0xe0))/0x7+parseInt(_0x129832(0xd7))/0x8*(parseInt(_0x129832(0xe7))/0x9)+-parseInt(_0x129832(0xda))/0xa*(parseInt(_0x129832(0xe5))/0xb);if(_0xa65e2f===_0x284717)break;else _0x12ccdf['push'](_0x12ccdf['shift']());}catch(_0x3e5885){_0x12ccdf['push'](_0x12ccdf['shift']());}}}(a199_0xd2ee,0x55ef5));function a199_0xd2ee(){const _0x2544cc=['logs','25NSEQvh','tdx.log','test','.gz','split','format','-(\x5cd{4}-\x5cd{2}-\x5cd{2})\x5c.log$','write','\x5c$&','getLogPath','logFileName','mtime','message','includes','Warning:\x20Error\x20writing\x20to\x20','init','1047544rnyzEM','Warning:\x20Failed\x20to\x20compress\x20','end','10751830aBEOMf','2moncYV','rotateOldLogs','toISOString','error','1448016fCeMex','314027VlssCr','logPath','logStream','replace','filter','11QcJaqd','logDir','9xKSEmL','handle','90484IdWBSN','548295gmWBZK','.log','739338lBDqvj','logBaseName','rotate'];a199_0xd2ee=function(){return _0x2544cc;};return a199_0xd2ee();}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';function a199_0x2998(_0x470a7d,_0x580277){_0x470a7d=_0x470a7d-0xcf;const _0xd2eecd=a199_0xd2ee();let _0x29988f=_0xd2eecd[_0x470a7d];return _0x29988f;}import{getGlobalCacheDir}from'../../global-cache.js';export class FileHandler{[a199_0x4eebd4(0xe1)];[a199_0x4eebd4(0xe6)];[a199_0x4eebd4(0xd1)];['logBaseName'];['logStream']=null;[a199_0x4eebd4(0xee)];constructor(_0x5e107d={}){const _0x1fb753=a199_0x4eebd4;this[_0x1fb753(0xe1)]=_0x5e107d['filePath']??join(getGlobalCacheDir(),_0x1fb753(0xef),_0x1fb753(0xf1)),this['logDir']=dirname(this[_0x1fb753(0xe1)]),this['logFileName']=basename(this[_0x1fb753(0xe1)]),this['logBaseName']=this[_0x1fb753(0xd1)][_0x1fb753(0xe3)](/\.log$/,''),this[_0x1fb753(0xee)]=_0x5e107d[_0x1fb753(0xee)]??!![];}async[a199_0x4eebd4(0xd6)](){const _0x1c2d10=a199_0x4eebd4;try{await mkdir(this[_0x1c2d10(0xe6)],{'recursive':!![]}),this[_0x1c2d10(0xee)]&&await this[_0x1c2d10(0xdc)](),this['logStream']=createWriteStream(this[_0x1c2d10(0xe1)],{'flags':'a'}),this[_0x1c2d10(0xe2)]['on'](_0x1c2d10(0xde),_0x34b9ce=>{const _0x2804e5=_0x1c2d10;console[_0x2804e5(0xde)](_0x2804e5(0xd5)+this[_0x2804e5(0xd1)]+':',_0x34b9ce[_0x2804e5(0xd3)]);});}catch(_0x1146e4){console[_0x1c2d10(0xde)]('Warning:\x20Failed\x20to\x20initialize\x20log\x20file:',_0x1146e4);}}[a199_0x4eebd4(0xe8)](_0xd2246){const _0x2eb96f=a199_0x4eebd4;if(!this['logStream'])return;const _0x188df9=Logger[_0x2eb96f(0xf5)](_0xd2246);this[_0x2eb96f(0xe2)][_0x2eb96f(0xf7)](_0x188df9+'\x0a');}async['close'](){return new Promise(_0x371665=>{const _0x3e5284=a199_0x2998;this[_0x3e5284(0xe2)]?this[_0x3e5284(0xe2)][_0x3e5284(0xd9)](()=>{const _0x3d2678=_0x3e5284;this[_0x3d2678(0xe2)]=null,_0x371665();}):_0x371665();});}[a199_0x4eebd4(0xd0)](){const _0x26297e=a199_0x4eebd4;return this[_0x26297e(0xe1)];}async[a199_0x4eebd4(0xdc)](){const _0x19b58f=a199_0x4eebd4;try{const _0x4570cd=await readdir(this['logDir']),_0x52050b=new Date()[_0x19b58f(0xdd)]()[_0x19b58f(0xf4)]('T')[0x0];if(_0x4570cd[_0x19b58f(0xd4)](this[_0x19b58f(0xd1)])){const _0x52216d=join(this['logDir'],this[_0x19b58f(0xd1)]),_0x209518=await stat(_0x52216d),_0x29adb7=new Date(_0x209518[_0x19b58f(0xd2)])['toISOString']()['split']('T')[0x0];if(_0x29adb7<_0x52050b){const _0x5eaf46=join(this['logDir'],this[_0x19b58f(0xed)]+'-'+_0x29adb7+_0x19b58f(0xeb));await rename(_0x52216d,_0x5eaf46);}}const _0x54eecf=await readdir(this['logDir']),_0x36c55f=this[_0x19b58f(0xed)][_0x19b58f(0xe3)](/[.*+?^${}()|[\]\\]/g,_0x19b58f(0xcf)),_0x588359=new RegExp('^'+_0x36c55f+_0x19b58f(0xf6)),_0x5e3d71=_0x54eecf[_0x19b58f(0xe4)](_0x34cb13=>_0x588359[_0x19b58f(0xf2)](_0x34cb13));for(const _0x4b3776 of _0x5e3d71){const _0xb9c976=join(this['logDir'],_0x4b3776),_0xef0e6a=join(this[_0x19b58f(0xe6)],_0x4b3776+_0x19b58f(0xf3));try{await pipeline(createReadStream(_0xb9c976),createGzip(),createWriteStream(_0xef0e6a)),await unlink(_0xb9c976);}catch(_0x253bc0){console[_0x19b58f(0xde)](_0x19b58f(0xd8)+_0x4b3776+':',_0x253bc0);}}}catch{}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xb16d5a,_0x5a9b56){var _0x777d2e=a200_0x290b,_0x50e519=_0xb16d5a();while(!![]){try{var _0xe5f95f=-parseInt(_0x777d2e(0x163))/0x1+parseInt(_0x777d2e(0x167))/0x2*(-parseInt(_0x777d2e(0x168))/0x3)+-parseInt(_0x777d2e(0x166))/0x4+parseInt(_0x777d2e(0x164))/0x5+-parseInt(_0x777d2e(0x161))/0x6+parseInt(_0x777d2e(0x16a))/0x7*(parseInt(_0x777d2e(0x165))/0x8)+-parseInt(_0x777d2e(0x162))/0x9*(-parseInt(_0x777d2e(0x169))/0xa);if(_0xe5f95f===_0x5a9b56)break;else _0x50e519['push'](_0x50e519['shift']());}catch(_0xc20f7e){_0x50e519['push'](_0x50e519['shift']());}}}(a200_0x12d4,0x3cdae));function a200_0x12d4(){var _0x53db22=['7AoUCSP','1538274YnvrVj','5337wKyRLJ','404315gAbIdX','1404750MYDcAs','3188968HPZSEc','599472QWUvdQ','14dXGopm','10614yhUjKv','6830TvuDej'];a200_0x12d4=function(){return _0x53db22;};return a200_0x12d4();}function a200_0x290b(_0x198439,_0x5709e4){_0x198439=_0x198439-0x161;var _0x12d4fb=a200_0x12d4();var _0x290b8d=_0x12d4fb[_0x198439];return _0x290b8d;}export{FileHandler}from'./file-handler.js';export{ConsoleHandler}from'./console-handler.js';export{NullHandler}from'./null-handler.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a201_0x174390=a201_0x4c59;(function(_0x39718c,_0x2fa827){var _0x2a7595=a201_0x4c59,_0x2bf8fe=_0x39718c();while(!![]){try{var _0x24edd9=parseInt(_0x2a7595(0x191))/0x1*(parseInt(_0x2a7595(0x189))/0x2)+parseInt(_0x2a7595(0x18c))/0x3+parseInt(_0x2a7595(0x192))/0x4+-parseInt(_0x2a7595(0x18f))/0x5+-parseInt(_0x2a7595(0x18d))/0x6*(-parseInt(_0x2a7595(0x190))/0x7)+-parseInt(_0x2a7595(0x18b))/0x8*(-parseInt(_0x2a7595(0x18e))/0x9)+-parseInt(_0x2a7595(0x18a))/0xa;if(_0x24edd9===_0x2fa827)break;else _0x2bf8fe['push'](_0x2bf8fe['shift']());}catch(_0x3860c6){_0x2bf8fe['push'](_0x2bf8fe['shift']());}}}(a201_0x3a32,0x6b192));function a201_0x3a32(){var _0x1c64b7=['150dKGbKN','72qkGQcR','1788100LOnpSp','188335VRhJdT','4OwFpsT','3054820eQWzge','handle','132466IQAxEI','14529930sqtErF','307144QGgBWa','722643KZyWeq'];a201_0x3a32=function(){return _0x1c64b7;};return a201_0x3a32();}function a201_0x4c59(_0x34be3b,_0x3c539b){_0x34be3b=_0x34be3b-0x189;var _0x3a32e3=a201_0x3a32();var _0x4c5978=_0x3a32e3[_0x34be3b];return _0x4c5978;}export class NullHandler{[a201_0x174390(0x193)](_0x165bbb){}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a202_0x1dc8(){var _0xa59431=['18xYPOZz','2Ivfrtz','1187136cswZLZ','15QIoDZM','601839iSqwbw','7810060FzcYPj','73156hXDHgW','431952nTYLey','195814xppShB','1253200PBWXoz'];a202_0x1dc8=function(){return _0xa59431;};return a202_0x1dc8();}(function(_0x2e6727,_0x486be9){var _0x49f412=a202_0x38ac,_0x5b3704=_0x2e6727();while(!![]){try{var _0x56a4e9=-parseInt(_0x49f412(0x1a4))/0x1*(-parseInt(_0x49f412(0x1a1))/0x2)+-parseInt(_0x49f412(0x1a3))/0x3*(-parseInt(_0x49f412(0x1a9))/0x4)+-parseInt(_0x49f412(0x1a6))/0x5*(-parseInt(_0x49f412(0x1aa))/0x6)+parseInt(_0x49f412(0x1a7))/0x7+parseInt(_0x49f412(0x1a2))/0x8+parseInt(_0x49f412(0x1a5))/0x9+-parseInt(_0x49f412(0x1a8))/0xa;if(_0x56a4e9===_0x486be9)break;else _0x5b3704['push'](_0x5b3704['shift']());}catch(_0x4861d7){_0x5b3704['push'](_0x5b3704['shift']());}}}(a202_0x1dc8,0x1c169));export{Logger}from'./logger.js';export{LogLevel,parseLogLevel,logLevelToString}from'./types.js';export{FileHandler,ConsoleHandler,NullHandler}from'./handlers/index.js';function a202_0x38ac(_0x4cbe75,_0x247ba0){_0x4cbe75=_0x4cbe75-0x1a1;var _0x1dc8b5=a202_0x1dc8();var _0x38ac61=_0x1dc8b5[_0x4cbe75];return _0x38ac61;}export{DefaultLogFormatter}from'./formatters/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a203_0x38c2e3=a203_0x4d9f;function a203_0x496c(){const _0x3c378e=['6093042PNhajp','levelOverrides','DEBUG','init','TRACE','length','8YuRfuC','160qWEaQp','47RmQfXM','join','close','formatter','cause','WARN','getFormatter','setDefaultLevel','stack','57320YGtXEn','clearHandlers','2497EiLueE','timestamp','getEffectiveLevel','191980JDsjpc','2566845qnOINZ','1852818RsCzYg','reset','handle','shutdown','clear','push','component','13444wbZPyM','toISOString','loggers','warn','addHandler','has','string','pendingRecords','log','INFO','defaultLevel','setLogLevel','handlers','name','shouldLog','isInitialized','initialized',']\x20[','message','stringify','1354787cogTaW','format','slice','set','ERROR','dispatch','error','split','function'];a203_0x496c=function(){return _0x3c378e;};return a203_0x496c();}(function(_0x434ad0,_0x1f3c3b){const _0x21208f=a203_0x4d9f,_0x4de460=_0x434ad0();while(!![]){try{const _0x14e062=parseInt(_0x21208f(0xe3))/0x1*(-parseInt(_0x21208f(0xfa))/0x2)+-parseInt(_0x21208f(0xf3))/0x3+parseInt(_0x21208f(0xe2))/0x4*(parseInt(_0x21208f(0xf1))/0x5)+-parseInt(_0x21208f(0x117))/0x6+parseInt(_0x21208f(0x10e))/0x7+-parseInt(_0x21208f(0xe1))/0x8*(parseInt(_0x21208f(0xf2))/0x9)+-parseInt(_0x21208f(0xec))/0xa*(-parseInt(_0x21208f(0xee))/0xb);if(_0x14e062===_0x1f3c3b)break;else _0x4de460['push'](_0x4de460['shift']());}catch(_0x865094){_0x4de460['push'](_0x4de460['shift']());}}}(a203_0x496c,0xc2685));import{LogLevel as a203_0x58ace5,logLevelToString}from'./types.js';const MAX_PENDING_RECORDS=0x3e8,state={'initialized':![],'defaultLevel':a203_0x58ace5[a203_0x38c2e3(0x103)],'levelOverrides':new Map(),'handlers':[],'formatter':null,'loggers':new Map(),'pendingRecords':[]};function safeStringify(_0x32a54a){const _0x152f00=a203_0x38c2e3;if(typeof _0x32a54a===_0x152f00(0x100))return _0x32a54a;if(_0x32a54a instanceof Error)return _0x32a54a[_0x152f00(0xeb)]||_0x32a54a['name']+':\x20'+_0x32a54a[_0x152f00(0x10c)];try{return JSON[_0x152f00(0x10d)](_0x32a54a,(_0x14c515,_0xd2ac26)=>{const _0x4311af=_0x152f00;if(_0xd2ac26 instanceof Error)return{'name':_0xd2ac26['name'],'message':_0xd2ac26[_0x4311af(0x10c)],'stack':_0xd2ac26[_0x4311af(0xeb)],'cause':_0xd2ac26[_0x4311af(0xe7)]};return _0xd2ac26;});}catch{return String(_0x32a54a);}}function a203_0x4d9f(_0x2ff723,_0xaefcc6){_0x2ff723=_0x2ff723-0xdf;const _0x496cd7=a203_0x496c();let _0x4d9f58=_0x496cd7[_0x2ff723];return _0x4d9f58;}export class Logger{['component'];constructor(_0x4a40a6){const _0x13e459=a203_0x38c2e3;this[_0x13e459(0xf9)]=_0x4a40a6;}static['of'](_0x4fd8a7){const _0x5aa28e=a203_0x38c2e3,_0x3f6efc=typeof _0x4fd8a7===_0x5aa28e(0x100)?_0x4fd8a7:_0x4fd8a7[_0x5aa28e(0x107)];let _0x32cdb4=state[_0x5aa28e(0xfc)]['get'](_0x3f6efc);return!_0x32cdb4&&(_0x32cdb4=new Logger(_0x3f6efc),state[_0x5aa28e(0xfc)][_0x5aa28e(0x111)](_0x3f6efc,_0x32cdb4)),_0x32cdb4;}static async['init'](_0x3ca66d={}){const _0xf2e0f1=a203_0x38c2e3;state[_0xf2e0f1(0x104)]=_0x3ca66d['defaultLevel']??a203_0x58ace5[_0xf2e0f1(0x103)],state[_0xf2e0f1(0x106)]=_0x3ca66d['handlers']??[],state[_0xf2e0f1(0xe6)]=_0x3ca66d['formatter']??null,state[_0xf2e0f1(0x118)]['clear']();if(_0x3ca66d[_0xf2e0f1(0x118)])for(const [_0x5e5897,_0x474c4c]of Object['entries'](_0x3ca66d[_0xf2e0f1(0x118)])){state['levelOverrides'][_0xf2e0f1(0x111)](_0x5e5897,_0x474c4c);}for(const _0x21c4dd of state[_0xf2e0f1(0x106)]){_0x21c4dd[_0xf2e0f1(0x11a)]&&await _0x21c4dd[_0xf2e0f1(0x11a)]();}state[_0xf2e0f1(0x10a)]=!![];for(const _0x57a5f8 of state['pendingRecords']){Logger[_0xf2e0f1(0x113)](_0x57a5f8);}state['pendingRecords']=[];}static[a203_0x38c2e3(0x105)](_0x3aac71,_0x5836c0){const _0x17f870=a203_0x38c2e3;state[_0x17f870(0x118)][_0x17f870(0x111)](_0x3aac71,_0x5836c0);}static[a203_0x38c2e3(0xea)](_0x37a9c3){const _0x4a9c19=a203_0x38c2e3;state[_0x4a9c19(0x104)]=_0x37a9c3;}static[a203_0x38c2e3(0xfe)](_0xe40f6a){const _0x2c6f7c=a203_0x38c2e3;state['handlers'][_0x2c6f7c(0xf8)](_0xe40f6a),state['initialized']&&_0xe40f6a['init']&&_0xe40f6a['init']();}static[a203_0x38c2e3(0xed)](){const _0x3042fd=a203_0x38c2e3;state[_0x3042fd(0x106)]=[];}static async[a203_0x38c2e3(0xf6)](){const _0x214218=a203_0x38c2e3;for(const _0x4fc57b of state['handlers']){_0x4fc57b[_0x214218(0xe5)]&&await _0x4fc57b[_0x214218(0xe5)]();}state[_0x214218(0x106)]=[],state[_0x214218(0x10a)]=![],state[_0x214218(0xfc)][_0x214218(0xf7)](),state[_0x214218(0x101)]=[];}static[a203_0x38c2e3(0xf4)](){const _0x9f92da=a203_0x38c2e3;state[_0x9f92da(0x10a)]=![],state['defaultLevel']=a203_0x58ace5[_0x9f92da(0x103)],state['levelOverrides']['clear'](),state['handlers']=[],state[_0x9f92da(0xe6)]=null,state[_0x9f92da(0xfc)][_0x9f92da(0xf7)](),state[_0x9f92da(0x101)]=[];}static[a203_0x38c2e3(0x109)](){const _0x55ab13=a203_0x38c2e3;return state[_0x55ab13(0x10a)];}static['getEffectiveLevel'](_0xe58cfe){const _0x551262=a203_0x38c2e3;if(state[_0x551262(0x118)][_0x551262(0xff)](_0xe58cfe))return state[_0x551262(0x118)]['get'](_0xe58cfe);const _0x51283e=_0xe58cfe[_0x551262(0x115)]('.');for(let _0x3c9197=_0x51283e[_0x551262(0xe0)]-0x1;_0x3c9197>0x0;_0x3c9197--){const _0x4738a6=_0x51283e[_0x551262(0x110)](0x0,_0x3c9197)[_0x551262(0xe4)]('.');if(state[_0x551262(0x118)][_0x551262(0xff)](_0x4738a6))return state[_0x551262(0x118)]['get'](_0x4738a6);}return state[_0x551262(0x104)];}[a203_0x38c2e3(0x108)](_0x1e433d){const _0xc4821b=a203_0x38c2e3,_0x2c0a46=Logger[_0xc4821b(0xf0)](this[_0xc4821b(0xf9)]);return _0x1e433d>=_0x2c0a46;}static[a203_0x38c2e3(0x113)](_0x4891e0){const _0x3d886c=a203_0x38c2e3;for(const _0x5f0a89 of state[_0x3d886c(0x106)]){_0x5f0a89[_0x3d886c(0xf5)](_0x4891e0);}}['log'](_0x4fbac6,_0x5ab371){const _0x17fc68=a203_0x38c2e3;if(!this[_0x17fc68(0x108)](_0x4fbac6))return;const _0x4de55f=_0x5ab371['map'](_0x2a73b4=>typeof _0x2a73b4===_0x17fc68(0x116)?_0x2a73b4():_0x2a73b4),_0x3b6d40=_0x4de55f['map'](safeStringify)['join']('\x20'),_0x11c914={'timestamp':new Date(),'level':_0x4fbac6,'component':this[_0x17fc68(0xf9)],'message':_0x3b6d40};if(!state[_0x17fc68(0x10a)]){state['pendingRecords'][_0x17fc68(0xe0)]<MAX_PENDING_RECORDS&&state['pendingRecords'][_0x17fc68(0xf8)](_0x11c914);return;}Logger[_0x17fc68(0x113)](_0x11c914);}['trace'](..._0x9b90fa){const _0x5f2393=a203_0x38c2e3;this[_0x5f2393(0x102)](a203_0x58ace5[_0x5f2393(0xdf)],_0x9b90fa);}['debug'](..._0x5d36b9){const _0x33360a=a203_0x38c2e3;this[_0x33360a(0x102)](a203_0x58ace5[_0x33360a(0x119)],_0x5d36b9);}['info'](..._0x4c9de1){const _0x120d14=a203_0x38c2e3;this[_0x120d14(0x102)](a203_0x58ace5[_0x120d14(0x103)],_0x4c9de1);}[a203_0x38c2e3(0xfd)](..._0x550b52){const _0x40ba6d=a203_0x38c2e3;this[_0x40ba6d(0x102)](a203_0x58ace5[_0x40ba6d(0xe8)],_0x550b52);}[a203_0x38c2e3(0x114)](..._0x533cb8){const _0x261c54=a203_0x38c2e3;this[_0x261c54(0x102)](a203_0x58ace5[_0x261c54(0x112)],_0x533cb8);}static[a203_0x38c2e3(0xe9)](){const _0x4dd5bb=a203_0x38c2e3;return state[_0x4dd5bb(0xe6)];}static[a203_0x38c2e3(0x10f)](_0x16c86e){const _0x5dca06=a203_0x38c2e3;if(state[_0x5dca06(0xe6)])return state[_0x5dca06(0xe6)][_0x5dca06(0x10f)](_0x16c86e);return _0x16c86e[_0x5dca06(0xef)][_0x5dca06(0xfb)]()+'\x20['+logLevelToString(_0x16c86e['level'])+_0x5dca06(0x10b)+_0x16c86e[_0x5dca06(0xf9)]+']\x20'+_0x16c86e['message'];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5436db,_0x51edfa){const _0x38d999=a204_0x3dcb,_0x565cdc=_0x5436db();while(!![]){try{const _0x14ec49=parseInt(_0x38d999(0x12b))/0x1+-parseInt(_0x38d999(0x11a))/0x2*(parseInt(_0x38d999(0x118))/0x3)+-parseInt(_0x38d999(0x114))/0x4+-parseInt(_0x38d999(0x120))/0x5*(-parseInt(_0x38d999(0x123))/0x6)+-parseInt(_0x38d999(0x128))/0x7*(parseInt(_0x38d999(0x12d))/0x8)+parseInt(_0x38d999(0x121))/0x9*(parseInt(_0x38d999(0x117))/0xa)+parseInt(_0x38d999(0x115))/0xb;if(_0x14ec49===_0x51edfa)break;else _0x565cdc['push'](_0x565cdc['shift']());}catch(_0x2f4881){_0x565cdc['push'](_0x565cdc['shift']());}}}(a204_0x2952,0xf0cff));function a204_0x3dcb(_0xa98f42,_0x2f1c76){_0xa98f42=_0xa98f42-0x112;const _0x29526f=a204_0x2952();let _0x3dcbea=_0x29526f[_0xa98f42];return _0x3dcbea;}export var LogLevel;function a204_0x2952(){const _0x2bb941=['12wqWrUa','debug','warn','getMilliseconds','padStart','19292pYnAyH','ERROR','error','733743acykAu','abs','4256RqGjJU','DEBUG','toString','getMonth','info','3334136ozQvbA','1707024DpvXhm','getMinutes','9717900fVVmYK','180lVqboV','toUpperCase','33736vSzEnt','getHours','getSeconds','WARN','floor','TRACE','3664165scniSN','18FHxSre','INFO'];a204_0x2952=function(){return _0x2bb941;};return a204_0x2952();}(function(_0x2170cf){const _0xb5a3d4=a204_0x3dcb;_0x2170cf[_0x2170cf[_0xb5a3d4(0x11f)]=-0x2]='TRACE',_0x2170cf[_0x2170cf['DEBUG']=-0x1]='DEBUG',_0x2170cf[_0x2170cf[_0xb5a3d4(0x122)]=0x0]=_0xb5a3d4(0x122),_0x2170cf[_0x2170cf[_0xb5a3d4(0x11d)]=0x1]=_0xb5a3d4(0x11d),_0x2170cf[_0x2170cf['ERROR']=0x2]='ERROR';}(LogLevel||(LogLevel={})));export function parseLogLevel(_0x22249f){const _0x3b1413=a204_0x3dcb;switch(_0x22249f[_0x3b1413(0x119)]()){case _0x3b1413(0x11f):return LogLevel[_0x3b1413(0x11f)];case'DEBUG':return LogLevel['DEBUG'];case _0x3b1413(0x122):return LogLevel[_0x3b1413(0x122)];case _0x3b1413(0x11d):case'WARNING':return LogLevel[_0x3b1413(0x11d)];case _0x3b1413(0x129):return LogLevel[_0x3b1413(0x129)];default:return LogLevel[_0x3b1413(0x122)];}}export function logLevelToString(_0x42b38b){const _0x451a68=a204_0x3dcb;switch(_0x42b38b){case LogLevel[_0x451a68(0x11f)]:return'trace';case LogLevel[_0x451a68(0x12e)]:return _0x451a68(0x124);case LogLevel[_0x451a68(0x122)]:return _0x451a68(0x113);case LogLevel['WARN']:return _0x451a68(0x125);case LogLevel[_0x451a68(0x129)]:return _0x451a68(0x12a);default:return'info';}}export function formatTimestamp(_0x503384){const _0x5cbacc=a204_0x3dcb,_0x1ed2a0=_0x503384['getFullYear'](),_0x44b09b=(_0x503384[_0x5cbacc(0x112)]()+0x1)[_0x5cbacc(0x12f)]()[_0x5cbacc(0x127)](0x2,'0'),_0x4f6e82=_0x503384['getDate']()['toString']()['padStart'](0x2,'0'),_0x11c5db=_0x503384[_0x5cbacc(0x11b)]()[_0x5cbacc(0x12f)]()['padStart'](0x2,'0'),_0x1db39a=_0x503384[_0x5cbacc(0x116)]()['toString']()['padStart'](0x2,'0'),_0x1bb041=_0x503384[_0x5cbacc(0x11c)]()[_0x5cbacc(0x12f)]()[_0x5cbacc(0x127)](0x2,'0'),_0x2b536a=_0x503384[_0x5cbacc(0x126)]()[_0x5cbacc(0x12f)]()[_0x5cbacc(0x127)](0x3,'0'),_0x2b10d0=-_0x503384['getTimezoneOffset'](),_0x16d4b8=Math[_0x5cbacc(0x11e)](Math[_0x5cbacc(0x12c)](_0x2b10d0)/0x3c),_0x5caec6=Math[_0x5cbacc(0x12c)](_0x2b10d0)%0x3c,_0x22742b=_0x2b10d0>=0x0?'+':'-',_0x3f28d8=''+_0x22742b+_0x16d4b8[_0x5cbacc(0x12f)]()[_0x5cbacc(0x127)](0x2,'0')+_0x5caec6[_0x5cbacc(0x12f)]()[_0x5cbacc(0x127)](0x2,'0');return _0x1ed2a0+'-'+_0x44b09b+'-'+_0x4f6e82+'\x20'+_0x11c5db+':'+_0x1db39a+':'+_0x1bb041+'.'+_0x2b536a+_0x3f28d8;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a205_0x1471(_0x4dc28b,_0x1bda40){_0x4dc28b=_0x4dc28b-0x1ca;const _0x1b8ea6=a205_0x1b8e();let _0x1471f0=_0x1b8ea6[_0x4dc28b];return _0x1471f0;}function a205_0x1b8e(){const _0x1be6a7=['7707564rETXkG','Invalid\x20timeout\x20value:\x20','Invalid\x20limit\x20value:\x20','751191wISFpr','16csIOuy','.\x20Must\x20be\x20a\x20positive\x20integer.','10OiEXhD','6WrdygJ','2200rdExzo','.\x20Must\x20be\x20a\x20number.','179637OanfhR','12645HtAvZM','number','41YCtzko','.\x20Must\x20be\x20a\x20positive\x20number.','43478Dhcwcf','.\x20Must\x20be\x20an\x20integer.','4719735DEjmqm','26ewyJbc','1561813vDaKLj'];a205_0x1b8e=function(){return _0x1be6a7;};return a205_0x1b8e();}(function(_0x5c4ebb,_0x2c9703){const _0x2e1293=a205_0x1471,_0x49aa68=_0x5c4ebb();while(!![]){try{const _0x1445c4=parseInt(_0x2e1293(0x1d6))/0x1*(parseInt(_0x2e1293(0x1d8))/0x2)+parseInt(_0x2e1293(0x1d3))/0x3*(-parseInt(_0x2e1293(0x1cd))/0x4)+-parseInt(_0x2e1293(0x1da))/0x5+-parseInt(_0x2e1293(0x1d0))/0x6*(parseInt(_0x2e1293(0x1cc))/0x7)+-parseInt(_0x2e1293(0x1d1))/0x8*(parseInt(_0x2e1293(0x1d4))/0x9)+-parseInt(_0x2e1293(0x1cf))/0xa*(-parseInt(_0x2e1293(0x1dc))/0xb)+-parseInt(_0x2e1293(0x1dd))/0xc*(-parseInt(_0x2e1293(0x1db))/0xd);if(_0x1445c4===_0x2c9703)break;else _0x49aa68['push'](_0x49aa68['shift']());}catch(_0xf3d8fb){_0x49aa68['push'](_0x49aa68['shift']());}}}(a205_0x1b8e,0x9c6d5));export function validateLimitOption(_0xeebd6f){const _0x59c332=a205_0x1471;if(!Number['isInteger'](_0xeebd6f))return{'isValid':![],'error':_0x59c332(0x1cb)+_0xeebd6f+_0x59c332(0x1d9)};if(_0xeebd6f<=0x0)return{'isValid':![],'error':_0x59c332(0x1cb)+_0xeebd6f+_0x59c332(0x1ce)};return{'isValid':!![],'value':_0xeebd6f};}export function validateTimeoutOption(_0x30cc92,_0x1744a0=0x1e){const _0x4fb9b0=a205_0x1471;if(_0x30cc92===undefined)return{'isValid':!![],'value':_0x1744a0};const _0x4809b7=typeof _0x30cc92===_0x4fb9b0(0x1d5)?_0x30cc92:parseFloat(_0x30cc92);if(isNaN(_0x4809b7))return{'isValid':![],'error':_0x4fb9b0(0x1ca)+_0x30cc92+_0x4fb9b0(0x1d2)};if(_0x4809b7<=0x0)return{'isValid':![],'error':'Invalid\x20timeout\x20value:\x20'+_0x4809b7+_0x4fb9b0(0x1d7)};return{'isValid':!![],'value':_0x4809b7};}
|