@treasuredata/tdx 2026.3.41 → 2026.3.42
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/cas-command.js +1 -1
- package/dist/commands/cas-segment-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/policy-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/work-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/cas/cas-api-client.js +1 -1
- package/dist/sdk/cas/cas-audience-yaml.js +1 -1
- package/dist/sdk/cas/cas-segment-yaml.js +1 -1
- package/dist/sdk/cas/index.js +1 -1
- package/dist/sdk/cas/pull-workflow.js +1 -1
- package/dist/sdk/cas/push-workflow.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/policy.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/types/workspace.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/sdk/workspace/frontmatter.js +1 -1
- package/dist/sdk/workspace/git.js +1 -1
- package/dist/sdk/workspace/index.js +1 -1
- package/dist/sdk/workspace/templates.js +1 -1
- package/dist/sdk/workspace/weekly.js +1 -1
- package/dist/sdk/workspace/wikilinks.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/colors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a209_0x474153=a209_0x28cb;(function(_0x6e26da,_0x411e87){const _0x22a082=a209_0x28cb,_0x1c77a3=_0x6e26da();while(!![]){try{const _0x49d19d=-parseInt(_0x22a082(0xfe))/0x1+parseInt(_0x22a082(0xf6))/0x2+parseInt(_0x22a082(0x107))/0x3+parseInt(_0x22a082(0xfc))/0x4*(-parseInt(_0x22a082(0xfb))/0x5)+-parseInt(_0x22a082(0xf3))/0x6*(parseInt(_0x22a082(0x101))/0x7)+parseInt(_0x22a082(0x106))/0x8*(parseInt(_0x22a082(0xf7))/0x9)+-parseInt(_0x22a082(0xfd))/0xa;if(_0x49d19d===_0x411e87)break;else _0x1c77a3['push'](_0x1c77a3['shift']());}catch(_0x5704a4){_0x1c77a3['push'](_0x1c77a3['shift']());}}}(a209_0x349a,0x594da));import*as a209_0x4a069c from'chalk';const Chalk=a209_0x4a069c[a209_0x474153(0x10c)];export function shouldUseColor(_0x275c09={}){const _0x9af824=a209_0x474153;if(_0x275c09[_0x9af824(0x10b)]===!![])return![];if(_0x275c09['color']===!![])return!![];if(process.env.NO_COLOR!==undefined)return![];return process[_0x9af824(0xf4)][_0x9af824(0x109)]??![];}export function getChalk(_0x1cf074={}){if(shouldUseColor(_0x1cf074))return new Chalk({'level':0x3});return new Chalk({'level':0x0});}export function colorBorder(_0x1eac68,_0xfa5073={}){const _0x422a37=a209_0x474153;return getChalk(_0xfa5073)[_0x422a37(0x103)](_0x1eac68);}export function colorHeader(_0x3abe34,_0x4591ad={}){const _0x4ffcfc=a209_0x474153;return getChalk(_0x4591ad)[_0x4ffcfc(0x108)](_0x3abe34);}export function colorType(_0x2a9e67,_0x428a06={}){const _0x57953b=a209_0x474153;return getChalk(_0x428a06)[_0x57953b(0x103)](_0x2a9e67);}export function colorJSONKey(_0x6cf885,_0x5c44e1={}){const _0x3f4fcc=a209_0x474153;return getChalk(_0x5c44e1)[_0x3f4fcc(0xf2)](_0x6cf885);}export function colorJSONString(_0xeea75d,_0x7d0157={}){const _0x2457bd=a209_0x474153;return getChalk(_0x7d0157)[_0x2457bd(0x10d)](_0xeea75d);}export function colorJSONNumber(_0x5540c3,_0x26ecc6={}){return getChalk(_0x26ecc6)['cyan'](_0x5540c3);}function a209_0x28cb(_0x484b1c,_0x304f57){_0x484b1c=_0x484b1c-0xef;const _0x349a79=a209_0x349a();let _0x28cba9=_0x349a79[_0x484b1c];return _0x28cba9;}export function colorJSONBoolean(_0x2f58f2,_0x540033={}){const _0x57fa23=a209_0x474153;return getChalk(_0x540033)[_0x57fa23(0xf0)](_0x2f58f2);}export function colorJSONNull(_0x571093,_0x2124a2={}){const _0x1bc5d7=a209_0x474153;return getChalk(_0x2124a2)[_0x1bc5d7(0x103)](_0x571093);}export function colorizeJSONCompact(_0x40c421,_0x2a2899={}){const _0x5ce24a=a209_0x474153;if(!shouldUseColor(_0x2a2899))return JSON[_0x5ce24a(0xff)](_0x40c421);if(_0x40c421===null)return colorJSONNull(_0x5ce24a(0x100),_0x2a2899);if(typeof _0x40c421==='boolean')return colorJSONBoolean(String(_0x40c421),_0x2a2899);if(typeof _0x40c421===_0x5ce24a(0x102))return colorJSONNumber(String(_0x40c421),_0x2a2899);if(typeof _0x40c421===_0x5ce24a(0xf1))return colorJSONString(JSON[_0x5ce24a(0xff)](_0x40c421),_0x2a2899);if(Array[_0x5ce24a(0xfa)](_0x40c421)){if(_0x40c421[_0x5ce24a(0x105)]===0x0)return'[]';const _0x1be9a1=_0x40c421[_0x5ce24a(0x104)](_0xe34ec9=>colorizeJSONCompact(_0xe34ec9,_0x2a2899));return'['+_0x1be9a1[_0x5ce24a(0xf8)](',')+']';}if(typeof _0x40c421==='object'){const _0x1013f3=Object['entries'](_0x40c421);if(_0x1013f3['length']===0x0)return'{}';const _0x39c660=_0x1013f3[_0x5ce24a(0x104)](([_0x5a5d17,_0x33aa44])=>{const _0x4bb3f4=colorJSONKey(JSON['stringify'](_0x5a5d17),_0x2a2899),_0x479842=colorizeJSONCompact(_0x33aa44,_0x2a2899);return _0x4bb3f4+':'+_0x479842;});return'{'+_0x39c660[_0x5ce24a(0xf8)](',')+'}';}return String(_0x40c421);}export function colorizeJSON(_0x5c0a09,_0x38c919={},_0x1346af=0x0){const _0x1798d0=a209_0x474153;if(!shouldUseColor(_0x38c919))return JSON[_0x1798d0(0xff)](_0x5c0a09,null,0x2);const _0x331e4a='\x20'[_0x1798d0(0xf9)](_0x1346af),_0x32d70b=_0x1346af+0x2;if(_0x5c0a09===null)return colorJSONNull(_0x1798d0(0x100),_0x38c919);if(typeof _0x5c0a09===_0x1798d0(0xf5))return colorJSONBoolean(String(_0x5c0a09),_0x38c919);if(typeof _0x5c0a09==='number')return colorJSONNumber(String(_0x5c0a09),_0x38c919);if(typeof _0x5c0a09==='string')return colorJSONString(JSON[_0x1798d0(0xff)](_0x5c0a09),_0x38c919);if(Array[_0x1798d0(0xfa)](_0x5c0a09)){if(_0x5c0a09[_0x1798d0(0x105)]===0x0)return'[]';const _0x3f4adf=_0x5c0a09['map'](_0x3cfe5e=>{const _0x42d5a4=_0x1798d0,_0x197e1e=colorizeJSON(_0x3cfe5e,_0x38c919,_0x32d70b);return''+'\x20'[_0x42d5a4(0xf9)](_0x32d70b)+_0x197e1e;});return'[\x0a'+_0x3f4adf['join'](',\x0a')+('\x0a'+_0x331e4a+']');}if(typeof _0x5c0a09===_0x1798d0(0x10a)){const _0x1ecade=Object[_0x1798d0(0xef)](_0x5c0a09);if(_0x1ecade['length']===0x0)return'{}';const _0xa7943=_0x1ecade['map'](([_0x748bab,_0x1e8485])=>{const _0x3dda0b=_0x1798d0,_0xab1295=colorJSONKey(JSON[_0x3dda0b(0xff)](_0x748bab),_0x38c919),_0x41bd8a=colorizeJSON(_0x1e8485,_0x38c919,_0x32d70b);return''+'\x20'['repeat'](_0x32d70b)+_0xab1295+':\x20'+_0x41bd8a;});return'{\x0a'+_0xa7943[_0x1798d0(0xf8)](',\x0a')+('\x0a'+_0x331e4a+'}');}return String(_0x5c0a09);}function a209_0x349a(){const _0x3abbfb=['yellow','string','blue','8454KCZmMS','stdout','boolean','810394zWvryC','23346XKKqEn','join','repeat','isArray','10UDxYnQ','142112mQqyhO','4536640GTFmNN','224445Ormyti','stringify','null','931mGeTTR','number','dim','map','length','1448UXLdTv','1282911wgpXMW','cyan','isTTY','object','noColor','Chalk','green','entries'];a209_0x349a=function(){return _0x3abbfb;};return a209_0x349a();}
|
package/dist/utils/diff.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5d5d67,_0x908474){const _0x1e3be8=a210_0x4aba,_0x3350ee=_0x5d5d67();while(!![]){try{const _0x830543=parseInt(_0x1e3be8(0x1b7))/0x1*(-parseInt(_0x1e3be8(0x1bb))/0x2)+-parseInt(_0x1e3be8(0x1b5))/0x3+-parseInt(_0x1e3be8(0x1b6))/0x4+parseInt(_0x1e3be8(0x1c7))/0x5*(-parseInt(_0x1e3be8(0x1b4))/0x6)+-parseInt(_0x1e3be8(0x1c6))/0x7*(-parseInt(_0x1e3be8(0x1b0))/0x8)+-parseInt(_0x1e3be8(0x1cf))/0x9*(-parseInt(_0x1e3be8(0x1cb))/0xa)+parseInt(_0x1e3be8(0x1bc))/0xb*(parseInt(_0x1e3be8(0x1d0))/0xc);if(_0x830543===_0x908474)break;else _0x3350ee['push'](_0x3350ee['shift']());}catch(_0x1db729){_0x3350ee['push'](_0x3350ee['shift']());}}}(a210_0x44f2,0x19efd));import a210_0x1a4f57 from'chalk';export function generateDiff(_0x1393c9,_0x3cdb17){const _0x2ac28c=a210_0x4aba,_0x619d54=_0x1393c9[_0x2ac28c(0x1af)]('\x0a'),_0x20d57f=_0x3cdb17['split']('\x0a'),_0x20b728=[],_0x7b4174=computeLCS(_0x619d54,_0x20d57f);let _0x37df81=0x0,_0x136eab=0x0,_0xc8f112=0x0;while(_0x37df81<_0x619d54[_0x2ac28c(0x1c1)]||_0x136eab<_0x20d57f[_0x2ac28c(0x1c1)]){if(_0xc8f112<_0x7b4174[_0x2ac28c(0x1c1)]&&_0x37df81<_0x619d54[_0x2ac28c(0x1c1)]&&_0x619d54[_0x37df81]===_0x7b4174[_0xc8f112])_0x136eab<_0x20d57f[_0x2ac28c(0x1c1)]&&_0x20d57f[_0x136eab]===_0x7b4174[_0xc8f112]?(_0x20b728[_0x2ac28c(0x1ac)]({'type':_0x2ac28c(0x1cd),'content':_0x619d54[_0x37df81]}),_0x37df81++,_0x136eab++,_0xc8f112++):(_0x20b728[_0x2ac28c(0x1ac)]({'type':_0x2ac28c(0x1c9),'content':_0x20d57f[_0x136eab]}),_0x136eab++);else{if(_0xc8f112<_0x7b4174['length']&&_0x136eab<_0x20d57f[_0x2ac28c(0x1c1)]&&_0x20d57f[_0x136eab]===_0x7b4174[_0xc8f112])_0x20b728['push']({'type':_0x2ac28c(0x1c0),'content':_0x619d54[_0x37df81]}),_0x37df81++;else{if(_0x37df81<_0x619d54[_0x2ac28c(0x1c1)]&&(_0xc8f112>=_0x7b4174[_0x2ac28c(0x1c1)]||_0x619d54[_0x37df81]!==_0x7b4174[_0xc8f112]))_0x20b728['push']({'type':'removed','content':_0x619d54[_0x37df81]}),_0x37df81++;else _0x136eab<_0x20d57f[_0x2ac28c(0x1c1)]&&(_0x20b728[_0x2ac28c(0x1ac)]({'type':_0x2ac28c(0x1c9),'content':_0x20d57f[_0x136eab]}),_0x136eab++);}}}return _0x20b728;}function computeLCS(_0x5e8cb8,_0x34dc5b){const _0x392ac1=a210_0x4aba,_0x2d09d5=_0x5e8cb8[_0x392ac1(0x1c1)],_0x4a739b=_0x34dc5b[_0x392ac1(0x1c1)],_0x2ea478=Array(_0x2d09d5+0x1)[_0x392ac1(0x1bd)](null)[_0x392ac1(0x1c3)](()=>Array(_0x4a739b+0x1)[_0x392ac1(0x1bd)](0x0));for(let _0x400be4=0x1;_0x400be4<=_0x2d09d5;_0x400be4++){for(let _0x2fb274=0x1;_0x2fb274<=_0x4a739b;_0x2fb274++){_0x5e8cb8[_0x400be4-0x1]===_0x34dc5b[_0x2fb274-0x1]?_0x2ea478[_0x400be4][_0x2fb274]=_0x2ea478[_0x400be4-0x1][_0x2fb274-0x1]+0x1:_0x2ea478[_0x400be4][_0x2fb274]=Math[_0x392ac1(0x1c4)](_0x2ea478[_0x400be4-0x1][_0x2fb274],_0x2ea478[_0x400be4][_0x2fb274-0x1]);}}const _0xeeb227=[];let _0x48571d=_0x2d09d5,_0x5f2575=_0x4a739b;while(_0x48571d>0x0&&_0x5f2575>0x0){if(_0x5e8cb8[_0x48571d-0x1]===_0x34dc5b[_0x5f2575-0x1])_0xeeb227[_0x392ac1(0x1a9)](_0x5e8cb8[_0x48571d-0x1]),_0x48571d--,_0x5f2575--;else _0x2ea478[_0x48571d-0x1][_0x5f2575]>_0x2ea478[_0x48571d][_0x5f2575-0x1]?_0x48571d--:_0x5f2575--;}return _0xeeb227;}export function formatDiffWithColors(_0x4e98a6,_0x3ec5c5=0x3){const _0x369b0c=a210_0x4aba,_0x3fb3a1=new Set();_0x4e98a6[_0x369b0c(0x1ba)]((_0x16a7c2,_0xf12c48)=>{const _0x2e1a10=_0x369b0c;_0x16a7c2[_0x2e1a10(0x1aa)]!==_0x2e1a10(0x1cd)&&_0x3fb3a1[_0x2e1a10(0x1ce)](_0xf12c48);});if(_0x3fb3a1[_0x369b0c(0x1ab)]===0x0)return'';const _0x3495fb=new Set();for(const _0x3f3515 of _0x3fb3a1){for(let _0x2c94a7=Math['max'](0x0,_0x3f3515-_0x3ec5c5);_0x2c94a7<=Math[_0x369b0c(0x1c8)](_0x4e98a6[_0x369b0c(0x1c1)]-0x1,_0x3f3515+_0x3ec5c5);_0x2c94a7++){_0x3495fb[_0x369b0c(0x1ce)](_0x2c94a7);}}const _0x431c32=[];let _0x318acb=-0x1;const _0x219e7c=_0x4e98a6['length'],_0x6d139c=Math[_0x369b0c(0x1c4)](0x3,String(_0x219e7c)[_0x369b0c(0x1c1)]),_0x12a36a=[];let _0x6d1c8b=0x0,_0x3cf95d=0x0;for(const _0x4061c3 of _0x4e98a6){if(_0x4061c3[_0x369b0c(0x1aa)]==='removed')_0x6d1c8b++,_0x12a36a['push']({'old':_0x6d1c8b,'new':0x0});else _0x4061c3[_0x369b0c(0x1aa)]===_0x369b0c(0x1c9)?(_0x3cf95d++,_0x12a36a[_0x369b0c(0x1ac)]({'old':0x0,'new':_0x3cf95d})):(_0x6d1c8b++,_0x3cf95d++,_0x12a36a[_0x369b0c(0x1ac)]({'old':_0x6d1c8b,'new':_0x3cf95d}));}for(let _0x47db03=0x0;_0x47db03<_0x4e98a6['length'];_0x47db03++){if(!_0x3495fb[_0x369b0c(0x1a7)](_0x47db03))continue;_0x318acb!==-0x1&&_0x47db03>_0x318acb+0x1&&_0x431c32['push'](a210_0x1a4f57[_0x369b0c(0x1b1)](_0x369b0c(0x1c2)));_0x318acb=_0x47db03;const _0x3371a=_0x4e98a6[_0x47db03],_0x57d107=_0x12a36a[_0x47db03],_0x519a84=_0x57d107['old']>0x0?String(_0x57d107['old'])[_0x369b0c(0x1cc)](_0x6d139c):'\x20'[_0x369b0c(0x1b9)](_0x6d139c),_0x40d793=_0x57d107['new']>0x0?String(_0x57d107[_0x369b0c(0x1a8)])[_0x369b0c(0x1cc)](_0x6d139c):'\x20'[_0x369b0c(0x1b9)](_0x6d139c);switch(_0x3371a[_0x369b0c(0x1aa)]){case _0x369b0c(0x1c0):_0x431c32[_0x369b0c(0x1ac)](a210_0x1a4f57[_0x369b0c(0x1be)](_0x519a84+'\x20'+_0x40d793+_0x369b0c(0x1bf)+_0x3371a['content']));break;case _0x369b0c(0x1c9):_0x431c32[_0x369b0c(0x1ac)](a210_0x1a4f57[_0x369b0c(0x1ae)](_0x519a84+'\x20'+_0x40d793+_0x369b0c(0x1c5)+_0x3371a['content']));break;default:_0x431c32[_0x369b0c(0x1ac)](a210_0x1a4f57[_0x369b0c(0x1b3)](_0x519a84+'\x20'+_0x40d793+_0x369b0c(0x1b8)+_0x3371a[_0x369b0c(0x1ad)]));break;}}return _0x431c32[_0x369b0c(0x1ca)]('\x0a');}function a210_0x44f2(){const _0x127320=['5118lwRBOd','360366uvtxRY','470420SWOxQv','1WJZDUM','\x20\x20\x20','repeat','forEach','202OoexLK','22dSzJng','fill','red','\x20-\x20','removed','length','\x20\x20...','map','max','\x20+\x20','49lknxma','430LrUzKM','min','added','join','260BWiHMK','padStart','unchanged','add','12870oJmkBF','1323816gjnTAF','has','new','unshift','type','size','push','content','green','split','182408LHtKTN','cyan','some','dim'];a210_0x44f2=function(){return _0x127320;};return a210_0x44f2();}function a210_0x4aba(_0x536abd,_0x4d48e4){_0x536abd=_0x536abd-0x1a7;const _0x44f2af=a210_0x44f2();let _0x4aba5a=_0x44f2af[_0x536abd];return _0x4aba5a;}export function hasChanges(_0x15ee77){const _0x4e95c8=a210_0x4aba;return _0x15ee77[_0x4e95c8(0x1b2)](_0x46b4ee=>_0x46b4ee[_0x4e95c8(0x1aa)]!==_0x4e95c8(0x1cd));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5388e1,_0x1a7a35){const _0x463e1b=a211_0x1bae,_0x5d628c=_0x5388e1();while(!![]){try{const _0x1db2c1=parseInt(_0x463e1b(0x84))/0x1+parseInt(_0x463e1b(0x93))/0x2+parseInt(_0x463e1b(0x8e))/0x3*(parseInt(_0x463e1b(0x90))/0x4)+parseInt(_0x463e1b(0x82))/0x5*(parseInt(_0x463e1b(0x85))/0x6)+-parseInt(_0x463e1b(0x8c))/0x7+parseInt(_0x463e1b(0x87))/0x8*(-parseInt(_0x463e1b(0x80))/0x9)+parseInt(_0x463e1b(0x91))/0xa*(-parseInt(_0x463e1b(0x7d))/0xb);if(_0x1db2c1===_0x1a7a35)break;else _0x5d628c['push'](_0x5d628c['shift']());}catch(_0xf039a9){_0x5d628c['push'](_0x5d628c['shift']());}}}(a211_0xa9f5,0x4179f));function a211_0x1bae(_0xb3f02b,_0x5605e0){_0xb3f02b=_0xb3f02b-0x7d;const _0xa9f5a5=a211_0xa9f5();let _0x1bae19=_0xa9f5a5[_0xb3f02b];return _0x1bae19;}import*as a211_0x286263 from'node:fs';import*as a211_0x15ed86 from'node:path';export function setSecureFilePermissions(_0x3ca173){const _0x42e812=a211_0x1bae;try{a211_0x286263[_0x42e812(0x8b)](_0x3ca173,0x180);}catch{console[_0x42e812(0x86)](_0x42e812(0x83)+_0x3ca173);}}export function setSecureDirectoryPermissions(_0x3603e9){const _0x372ece=a211_0x1bae;try{a211_0x286263[_0x372ece(0x8b)](_0x3603e9,0x1c0);}catch{console[_0x372ece(0x86)](_0x372ece(0x83)+_0x3603e9);}}export function createSecureDirectory(_0x2eed56){const _0x326c53=a211_0x1bae;!a211_0x286263[_0x326c53(0x89)](_0x2eed56)&&(a211_0x286263[_0x326c53(0x7e)](_0x2eed56,{'recursive':!![],'mode':0x1c0}),setSecureDirectoryPermissions(_0x2eed56));}function a211_0xa9f5(){const _0x63df83=['4YcagEa','161870xaueMi',').\x20','967484EUwPMm','253PUhHum','mkdirSync','statSync','28413OvQghX','dirname','109625LGOJEl','Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20','2317jVRjpm','90zscboS','warn','712JHRzZW','Warning:\x20','existsSync','Should\x20be\x200600\x20or\x20more\x20restrictive.','chmodSync','520156KvQBDc','writeFileSync','542517ksbsRZ','toString'];a211_0xa9f5=function(){return _0x63df83;};return a211_0xa9f5();}export function validateSecureFilePermissions(_0x15c54c){const _0x39c330=a211_0x1bae;try{const _0x4ce575=a211_0x286263[_0x39c330(0x7f)](_0x15c54c),_0x38994e=_0x4ce575['mode']&0x1ff,_0x43a518=(_0x38994e&0x3f)!==0x0;if(_0x43a518)return console[_0x39c330(0x86)](_0x39c330(0x88)+_0x15c54c+'\x20has\x20insecure\x20permissions\x20('+_0x38994e[_0x39c330(0x8f)](0x8)+_0x39c330(0x92)+_0x39c330(0x8a)),![];return!![];}catch{return!![];}}export function writeSecureFile(_0x26dcac,_0x2d8e1e){const _0x673a91=a211_0x1bae,_0x1f711d=a211_0x15ed86[_0x673a91(0x81)](_0x26dcac);createSecureDirectory(_0x1f711d),a211_0x286263[_0x673a91(0x8d)](_0x26dcac,_0x2d8e1e,{'mode':0x180}),setSecureFilePermissions(_0x26dcac);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a212_0x3a0a(){const _0x5a7f42=['676HmBQTi','2703088gwJvRH','7uElTKV','56492670LRuVQl','6367806HLxGDe','3610qkMMAN','code','EACCES','message','31075fgoSxU','PERMISSION_DENIED','436UlsGDx','5aRzHsD','NOT_FOUND','2076eFXiBN','3771CHKVTN','\x27:\x20','230okyDMy','\x27\x20not\x20found','Permission\x20denied\x20reading\x20file\x20\x27','160101nSkRbo'];a212_0x3a0a=function(){return _0x5a7f42;};return a212_0x3a0a();}(function(_0x1fbc56,_0x5096a6){const _0x1eb32b=a212_0x2cb1,_0x5c50b9=_0x1fbc56();while(!![]){try{const _0x105248=parseInt(_0x1eb32b(0x1aa))/0x1*(-parseInt(_0x1eb32b(0x1a5))/0x2)+-parseInt(_0x1eb32b(0x19f))/0x3*(parseInt(_0x1eb32b(0x1b0))/0x4)+-parseInt(_0x1eb32b(0x1b1))/0x5*(parseInt(_0x1eb32b(0x1a9))/0x6)+-parseInt(_0x1eb32b(0x1a7))/0x7*(parseInt(_0x1eb32b(0x1a6))/0x8)+-parseInt(_0x1eb32b(0x1a4))/0x9*(parseInt(_0x1eb32b(0x1a1))/0xa)+-parseInt(_0x1eb32b(0x1ae))/0xb*(parseInt(_0x1eb32b(0x19e))/0xc)+parseInt(_0x1eb32b(0x1a8))/0xd;if(_0x105248===_0x5096a6)break;else _0x5c50b9['push'](_0x5c50b9['shift']());}catch(_0x19a159){_0x5c50b9['push'](_0x5c50b9['shift']());}}}(a212_0x3a0a,0xa8c8a));import{readFileSync}from'fs';function a212_0x2cb1(_0x3f3e44,_0x2007aa){_0x3f3e44=_0x3f3e44-0x19e;const _0x3a0a4f=a212_0x3a0a();let _0x2cb182=_0x3a0a4f[_0x3f3e44];return _0x2cb182;}import{SDKError,ErrorCode}from'../sdk/errors.js';export function readFileContent(_0x5e6e3b){const _0x1cbf0b=a212_0x2cb1;try{return readFileSync(_0x5e6e3b,'utf-8');}catch(_0x2943ac){const _0x2d17ee=_0x2943ac[_0x1cbf0b(0x1ab)];if(_0x2d17ee==='ENOENT')throw new SDKError(ErrorCode[_0x1cbf0b(0x1b2)],'File\x20\x27'+_0x5e6e3b+_0x1cbf0b(0x1a2),_0x2943ac);else{if(_0x2d17ee===_0x1cbf0b(0x1ac))throw new SDKError(ErrorCode[_0x1cbf0b(0x1af)],_0x1cbf0b(0x1a3)+_0x5e6e3b+'\x27',_0x2943ac);else throw new SDKError(ErrorCode['INTERNAL'],'Error\x20reading\x20file\x20\x27'+_0x5e6e3b+_0x1cbf0b(0x1a0)+_0x2943ac[_0x1cbf0b(0x1ad)],_0x2943ac);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a213_0x4ec3(){const _0x542e7b=['2130303MLNYQp','now','destroy','data','tag_name','application/vnd.github+json','releases','parse','fetchedAt','find','get','slice','225468zcYnoP','142732UgMXhG','prerelease','set','api.github.com','end','GitHub\x20API\x20request\x20timed\x20out\x20after\x20','862017AvXFtV','1228235EkWhLe','/releases?per_page=20','315132TPGxiY','/repos/','timeout','22300OoHoFx','statusCode'];a213_0x4ec3=function(){return _0x542e7b;};return a213_0x4ec3();}(function(_0x3ec621,_0x4c493c){const _0x531794=a213_0x4e1b,_0x375d05=_0x3ec621();while(!![]){try{const _0x36c873=-parseInt(_0x531794(0x7d))/0x1+-parseInt(_0x531794(0x89))/0x2+parseInt(_0x531794(0x83))/0x3+-parseInt(_0x531794(0x86))/0x4+-parseInt(_0x531794(0x84))/0x5+parseInt(_0x531794(0x7c))/0x6+parseInt(_0x531794(0x8b))/0x7;if(_0x36c873===_0x4c493c)break;else _0x375d05['push'](_0x375d05['shift']());}catch(_0x19a609){_0x375d05['push'](_0x375d05['shift']());}}}(a213_0x4ec3,0x24d96));import*as a213_0x486d78 from'node:https';function a213_0x4e1b(_0x2d5aff,_0x1022dc){_0x2d5aff=_0x2d5aff-0x78;const _0x4ec30a=a213_0x4ec3();let _0x4e1b7e=_0x4ec30a[_0x2d5aff];return _0x4e1b7e;}const REQUEST_TIMEOUT_MS=0x2710,CACHE_TTL_MS=0x5*0x3c*0x3e8,cache=new Map();export function fetchGitHubReleases(_0x5a5d94,_0x4c65cf,_0x379466){const _0x469260=a213_0x4e1b,_0x277d14=_0x5a5d94+'/'+_0x4c65cf,_0x2192b8=cache[_0x469260(0x7a)](_0x277d14);if(_0x2192b8&&Date[_0x469260(0x8c)]()-_0x2192b8[_0x469260(0x78)]<CACHE_TTL_MS)return Promise['resolve'](_0x2192b8[_0x469260(0x91)]);return new Promise((_0x5b9c9f,_0x382692)=>{const _0x2419b1=_0x469260,_0x16e3e1={'hostname':_0x2419b1(0x80),'path':_0x2419b1(0x87)+_0x5a5d94+'/'+_0x4c65cf+_0x2419b1(0x85),'headers':{'User-Agent':_0x379466,'Accept':_0x2419b1(0x90)},'timeout':REQUEST_TIMEOUT_MS},_0x42ca80=a213_0x486d78['get'](_0x16e3e1,_0x171794=>{const _0x45fc72=_0x2419b1;let _0x33a899='';_0x171794['on'](_0x45fc72(0x8e),_0x30d109=>{_0x33a899+=_0x30d109['toString']();}),_0x171794['on'](_0x45fc72(0x81),()=>{const _0x4ed7d9=_0x45fc72;if(_0x171794[_0x4ed7d9(0x8a)]!==0xc8){_0x382692(new Error('GitHub\x20API\x20returned\x20'+_0x171794[_0x4ed7d9(0x8a)]+':\x20'+_0x33a899[_0x4ed7d9(0x7b)](0x0,0xc8)));return;}try{const _0x1ad7d6=JSON[_0x4ed7d9(0x92)](_0x33a899);cache[_0x4ed7d9(0x7f)](_0x277d14,{'releases':_0x1ad7d6,'fetchedAt':Date[_0x4ed7d9(0x8c)]()}),_0x5b9c9f(_0x1ad7d6);}catch(_0x29c755){_0x382692(_0x29c755);}});});_0x42ca80['on'](_0x2419b1(0x88),()=>{const _0x2a7ebd=_0x2419b1;_0x42ca80[_0x2a7ebd(0x8d)](),_0x382692(new Error(_0x2a7ebd(0x82)+REQUEST_TIMEOUT_MS+'ms'));}),_0x42ca80['on']('error',_0x382692);});}export async function resolveReleaseTag(_0x4103a7,_0x552e7e,_0x183679,_0x1eb9ab){const _0x4f996a=a213_0x4e1b;if(_0x4103a7==='next')return null;const _0x1cb377=await fetchGitHubReleases(_0x552e7e,_0x183679,_0x1eb9ab);if(_0x1cb377['length']===0x0)return null;const _0x262f68=_0x1cb377[_0x4f996a(0x79)](_0x2b3138=>!_0x2b3138[_0x4f996a(0x7e)]);return _0x262f68?_0x262f68[_0x4f996a(0x8f)]:null;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x57f260,_0xb82a7a){const _0x5b7f53=a214_0x1207,_0x350d69=_0x57f260();while(!![]){try{const _0x49ea63=parseInt(_0x5b7f53(0x18d))/0x1*(parseInt(_0x5b7f53(0x18c))/0x2)+parseInt(_0x5b7f53(0x186))/0x3+-parseInt(_0x5b7f53(0x18f))/0x4+parseInt(_0x5b7f53(0x188))/0x5+-parseInt(_0x5b7f53(0x18e))/0x6+-parseInt(_0x5b7f53(0x193))/0x7*(-parseInt(_0x5b7f53(0x18b))/0x8)+-parseInt(_0x5b7f53(0x187))/0x9;if(_0x49ea63===_0xb82a7a)break;else _0x350d69['push'](_0x350d69['shift']());}catch(_0x2228e3){_0x350d69['push'](_0x350d69['shift']());}}}(a214_0x1afb,0x483de));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join}from'path';import{homedir}from'os';export function getGlobalCacheDir(){return process.env.TDX_CACHE_DIR||join(homedir(),'.cache','tdx');}const registry=new Map();export function registerGlobalCacheKey(_0xb9e652,_0x161e63){const _0x15251c=a214_0x1207,_0x25f349=registry['get'](_0xb9e652);if(_0x25f349&&_0x25f349!==_0x161e63)throw new Error(_0x15251c(0x183)+_0xb9e652+_0x15251c(0x185)+_0x25f349+'\x22,\x20cannot\x20register\x20for\x20\x22'+_0x161e63+'\x22');registry[_0x15251c(0x195)](_0xb9e652,_0x161e63);}function a214_0x1afb(){const _0x30baab=['parse','utf-8','15448eCtOwT','10514icwnMu','3pNIwrv','691428KutUdg','920332VLfrIj','clear','replace','trim','749aPTDLC','{profile}','set','Global\x20cache\x20key\x20\x22','stringify','\x22\x20already\x20registered\x20by\x20\x22','1458669MytoJT','3050001oZyZwi','1357505mZRfLC'];a214_0x1afb=function(){return _0x30baab;};return a214_0x1afb();}export function getGlobalCachePath(_0x400f36){return join(getGlobalCacheDir(),_0x400f36);}function ensureGlobalCacheDir(){const _0x4b233d=getGlobalCacheDir();!existsSync(_0x4b233d)&&mkdirSync(_0x4b233d,{'recursive':!![]});}function readCacheJson(_0x52d3fe){const _0x23fec7=a214_0x1207,_0x57ba1=getGlobalCachePath(_0x52d3fe);if(!existsSync(_0x57ba1))return undefined;try{const _0x149b7f=readFileSync(_0x57ba1,_0x23fec7(0x18a));return JSON[_0x23fec7(0x189)](_0x149b7f);}catch{return undefined;}}function writeCacheJson(_0x273ba2,_0x15c6eb){const _0x264674=a214_0x1207;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x273ba2),JSON[_0x264674(0x184)](_0x15c6eb,null,0x2),_0x264674(0x18a));}function readCacheText(_0x5e2abe){const _0x1ff6c3=a214_0x1207,_0x3365bc=getGlobalCachePath(_0x5e2abe);if(!existsSync(_0x3365bc))return undefined;try{return readFileSync(_0x3365bc,_0x1ff6c3(0x18a));}catch{return undefined;}}function writeCacheText(_0x3aca3b,_0x2742a5){const _0x2a11f=a214_0x1207;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x3aca3b),_0x2742a5,_0x2a11f(0x18a));}function clearCache(_0x560e9d){const _0xed6ed6=getGlobalCachePath(_0x560e9d);if(existsSync(_0xed6ed6))try{unlinkSync(_0xed6ed6);}catch{}}function cacheExists(_0x5ca78){return existsSync(getGlobalCachePath(_0x5ca78));}export function createGlobalCache(_0x290abe,_0x223933){return registerGlobalCacheKey(_0x290abe,_0x223933),{'read':()=>readCacheJson(_0x290abe),'write':_0x14588a=>writeCacheJson(_0x290abe,_0x14588a),'clear':()=>clearCache(_0x290abe),'exists':()=>cacheExists(_0x290abe),'path':()=>getGlobalCachePath(_0x290abe)};}export function createGlobalTextCache(_0x10febe,_0x1ac8ba){const _0x5b2ab5=a214_0x1207;return registerGlobalCacheKey(_0x10febe,_0x1ac8ba),{'read':()=>readCacheText(_0x10febe)?.[_0x5b2ab5(0x192)]()||undefined,'write':_0x181f13=>writeCacheText(_0x10febe,_0x181f13),'clear':()=>clearCache(_0x10febe),'exists':()=>cacheExists(_0x10febe),'path':()=>getGlobalCachePath(_0x10febe)};}export function createProfileCache(_0x3337c9,_0x331692){const _0x29a6f5=_0x1a3697=>{const _0x1faa5c=a214_0x1207,_0x286847=_0x1a3697||'default';return _0x3337c9[_0x1faa5c(0x191)](_0x1faa5c(0x194),_0x286847);};return{'read':_0xd91889=>{const _0x1bc82d=_0x29a6f5(_0xd91889);return registerGlobalCacheKey(_0x1bc82d,_0x331692),readCacheJson(_0x1bc82d);},'write':(_0x4d3af7,_0x31bb93)=>{const _0xd9cf52=_0x29a6f5(_0x4d3af7);registerGlobalCacheKey(_0xd9cf52,_0x331692),writeCacheJson(_0xd9cf52,_0x31bb93);},'clear':_0x3f3868=>{const _0x3bc2b3=_0x29a6f5(_0x3f3868);clearCache(_0x3bc2b3);},'exists':_0x57d3ba=>{const _0x2204f2=_0x29a6f5(_0x57d3ba);return cacheExists(_0x2204f2);},'path':_0x3a0609=>{const _0x499544=_0x29a6f5(_0x3a0609);return getGlobalCachePath(_0x499544);}};}function a214_0x1207(_0x41d50b,_0x352f22){_0x41d50b=_0x41d50b-0x183;const _0x1afb5f=a214_0x1afb();let _0x1207a2=_0x1afb5f[_0x41d50b];return _0x1207a2;}export function createOptionalProfileCache(_0x1395ce,_0x3d8c1f,_0x304949={}){const {profileSeparator:profileSeparator='.',suffix:suffix=''}=_0x304949,_0x91894c=_0x206fa9=>{return _0x206fa9?''+_0x1395ce+profileSeparator+_0x206fa9+suffix:''+_0x1395ce+suffix;};return{'read':_0x457bee=>{const _0x3aedf3=_0x91894c(_0x457bee);return registerGlobalCacheKey(_0x3aedf3,_0x3d8c1f),readCacheJson(_0x3aedf3);},'write':(_0x4349d5,_0x8db12c)=>{const _0x49f04e=_0x91894c(_0x8db12c);registerGlobalCacheKey(_0x49f04e,_0x3d8c1f),writeCacheJson(_0x49f04e,_0x4349d5);},'clear':_0x529dc9=>{const _0x25ec0d=_0x91894c(_0x529dc9);clearCache(_0x25ec0d);},'exists':_0x485cb3=>{const _0x1723fc=_0x91894c(_0x485cb3);return cacheExists(_0x1723fc);},'path':_0x6b2c00=>{const _0x1389a3=_0x91894c(_0x6b2c00);return getGlobalCachePath(_0x1389a3);}};}export function clearGlobalRegistry(){const _0xc85344=a214_0x1207;registry[_0xc85344(0x190)]();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3b1afb,_0x1983fb){const _0x3dcbae=a215_0x5319,_0x386494=_0x3b1afb();while(!![]){try{const _0x4c5b42=-parseInt(_0x3dcbae(0x1a7))/0x1*(-parseInt(_0x3dcbae(0x19e))/0x2)+parseInt(_0x3dcbae(0x1a5))/0x3+parseInt(_0x3dcbae(0x195))/0x4+-parseInt(_0x3dcbae(0x199))/0x5+parseInt(_0x3dcbae(0x1a0))/0x6+parseInt(_0x3dcbae(0x1a3))/0x7+-parseInt(_0x3dcbae(0x19a))/0x8*(parseInt(_0x3dcbae(0x196))/0x9);if(_0x4c5b42===_0x1983fb)break;else _0x386494['push'](_0x386494['shift']());}catch(_0x5c7574){_0x386494['push'](_0x386494['shift']());}}}(a215_0x4263,0xf1c5e));import{readFile}from'fs/promises';function a215_0x5319(_0x2b778e,_0x56654){_0x2b778e=_0x2b778e-0x195;const _0x426370=a215_0x4263();let _0x531996=_0x426370[_0x2b778e];return _0x531996;}function a215_0x4263(){const _0x4fe66a=['INVALID_ARGUMENT','PERMISSION_DENIED','1233895pmrcYD','16dIAIfA','INTERNAL','EACCES','File\x20not\x20found:\x20','36014AIjJoj','code','2149458YVtoUA','message','\x27:\x20','9737707cQMlFJ','ENOENT','2620422mSTGMo','NOT_FOUND','92GHAeaW','Permission\x20denied\x20reading\x20file:\x20','parse','962780KrBxXZ','14773842cnSvRC'];a215_0x4263=function(){return _0x4fe66a;};return a215_0x4263();}import{SDKError,ErrorCode}from'../sdk/errors.js';export async function loadJSON(_0x17bb64,_0x1b4824){const _0x249723=a215_0x5319;try{if(_0x1b4824){const _0xc322df=await readFile(_0x17bb64,'utf-8');try{return JSON[_0x249723(0x1a9)](_0xc322df);}catch(_0x5bcedc){throw new SDKError(ErrorCode[_0x249723(0x197)],'Invalid\x20JSON\x20in\x20file\x20\x27'+_0x17bb64+_0x249723(0x1a2)+(_0x5bcedc instanceof Error?_0x5bcedc[_0x249723(0x1a1)]:String(_0x5bcedc)));}}else try{return JSON[_0x249723(0x1a9)](_0x17bb64);}catch(_0x3dc59e){throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Invalid\x20JSON\x20string:\x20'+(_0x3dc59e instanceof Error?_0x3dc59e['message']:String(_0x3dc59e)));}}catch(_0x4bd68e){if(_0x4bd68e instanceof SDKError)throw _0x4bd68e;if(_0x4bd68e instanceof Error&&_0x249723(0x19f)in _0x4bd68e){const _0x1e2780=_0x4bd68e;if(_0x1e2780[_0x249723(0x19f)]===_0x249723(0x1a4))throw new SDKError(ErrorCode[_0x249723(0x1a6)],_0x249723(0x19d)+_0x17bb64);else{if(_0x1e2780[_0x249723(0x19f)]===_0x249723(0x19c))throw new SDKError(ErrorCode[_0x249723(0x198)],_0x249723(0x1a8)+_0x17bb64);}}throw new SDKError(ErrorCode[_0x249723(0x19b)],'Failed\x20to\x20load\x20JSON:\x20'+(_0x4bd68e instanceof Error?_0x4bd68e[_0x249723(0x1a1)]:String(_0x4bd68e)));}}export async function loadJSONFromOptions(_0x23cee7,_0x4be04d){const _0xb85eb4=a215_0x5319;if(_0x23cee7&&_0x4be04d)throw new SDKError(ErrorCode[_0xb85eb4(0x197)],'Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.');if(_0x23cee7)return await loadJSON(_0x23cee7,![]);if(_0x4be04d)return await loadJSON(_0x4be04d,!![]);return undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x179cd5,_0x41cd7f){const _0x4865c4=a216_0x515d,_0x4cf8bd=_0x179cd5();while(!![]){try{const _0x587133=parseInt(_0x4865c4(0x18d))/0x1+-parseInt(_0x4865c4(0x191))/0x2*(parseInt(_0x4865c4(0x19a))/0x3)+-parseInt(_0x4865c4(0x198))/0x4*(-parseInt(_0x4865c4(0x18b))/0x5)+-parseInt(_0x4865c4(0x18a))/0x6+parseInt(_0x4865c4(0x196))/0x7+parseInt(_0x4865c4(0x18e))/0x8*(parseInt(_0x4865c4(0x193))/0x9)+parseInt(_0x4865c4(0x187))/0xa*(-parseInt(_0x4865c4(0x18f))/0xb);if(_0x587133===_0x41cd7f)break;else _0x4cf8bd['push'](_0x4cf8bd['shift']());}catch(_0x40a14d){_0x4cf8bd['push'](_0x4cf8bd['shift']());}}}(a216_0xadd8,0xea873));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join,parse}from'path';import{homedir}from'os';const LOCAL_CACHE_DIR='.cache/tdx',registry=new Map();export function registerCacheKey(_0x5aa1dd,_0x59dbb2){const _0x46be2d=a216_0x515d,_0x334fc2=registry[_0x46be2d(0x197)](_0x5aa1dd);if(_0x334fc2&&_0x334fc2!==_0x59dbb2)throw new Error('Cache\x20key\x20\x22'+_0x5aa1dd+_0x46be2d(0x18c)+_0x334fc2+_0x46be2d(0x190)+_0x59dbb2+'\x22');registry[_0x46be2d(0x199)](_0x5aa1dd,_0x59dbb2);}export function getCacheDir(){const _0x4f9269=a216_0x515d,_0x289c7e=process[_0x4f9269(0x189)](),_0x3232ae=_0x289c7e===parse(_0x289c7e)['root']?homedir():_0x289c7e;return join(_0x3232ae,LOCAL_CACHE_DIR);}export function getCachePath(_0x28bf34){return join(getCacheDir(),_0x28bf34);}function ensureCacheDir(){const _0x5815d7=getCacheDir();!existsSync(_0x5815d7)&&mkdirSync(_0x5815d7,{'recursive':!![]});}function readCacheJson(_0x2be111){const _0x330008=a216_0x515d,_0x5e78a5=getCachePath(_0x2be111);if(!existsSync(_0x5e78a5))return undefined;try{const _0x5a46f5=readFileSync(_0x5e78a5,_0x330008(0x194));return JSON[_0x330008(0x195)](_0x5a46f5);}catch{return undefined;}}function writeCacheJson(_0x5c032a,_0x5afd8f){const _0x16b43a=a216_0x515d;ensureCacheDir(),writeFileSync(getCachePath(_0x5c032a),JSON['stringify'](_0x5afd8f,null,0x2),_0x16b43a(0x194));}function readCacheText(_0x79052a){const _0x274faa=a216_0x515d,_0x191a5d=getCachePath(_0x79052a);if(!existsSync(_0x191a5d))return undefined;try{return readFileSync(_0x191a5d,_0x274faa(0x194));}catch{return undefined;}}function writeCacheText(_0x2eec8d,_0x597bea){ensureCacheDir(),writeFileSync(getCachePath(_0x2eec8d),_0x597bea,'utf-8');}function a216_0x515d(_0x41ae00,_0x56143e){_0x41ae00=_0x41ae00-0x187;const _0xadd8d0=a216_0xadd8();let _0x515d0a=_0xadd8d0[_0x41ae00];return _0x515d0a;}function clearCache(_0x2a502f){const _0x54646c=getCachePath(_0x2a502f);if(existsSync(_0x54646c))try{unlinkSync(_0x54646c);}catch{}}function cacheExists(_0x572798){return existsSync(getCachePath(_0x572798));}export function createCache(_0x13965f,_0x71be62){return registerCacheKey(_0x13965f,_0x71be62),{'read':()=>readCacheJson(_0x13965f),'write':_0x40f575=>writeCacheJson(_0x13965f,_0x40f575),'clear':()=>clearCache(_0x13965f),'exists':()=>cacheExists(_0x13965f),'path':()=>getCachePath(_0x13965f)};}export function createTextCache(_0x37f5b6,_0xf3a2e1){const _0x929500=a216_0x515d;return registerCacheKey(_0x37f5b6,_0xf3a2e1),{'read':()=>readCacheText(_0x37f5b6)?.[_0x929500(0x192)]()||undefined,'write':_0x4811b3=>writeCacheText(_0x37f5b6,_0x4811b3),'clear':()=>clearCache(_0x37f5b6),'exists':()=>cacheExists(_0x37f5b6),'path':()=>getCachePath(_0x37f5b6)};}export function clearRegistry(){const _0x553991=a216_0x515d;registry[_0x553991(0x188)]();}function a216_0xadd8(){const _0x426937=['\x22,\x20cannot\x20register\x20for\x20\x22','278XstZMo','trim','603774WmwWrb','utf-8','parse','3734367oYeJxj','get','775628PzgXfk','set','17538BDRgBG','10UOZYjn','clear','cwd','10170624HabaXo','5TVVZKj','\x22\x20already\x20registered\x20by\x20\x22','1414195iiEkDi','224NOwlxo','6068326qRiVCq'];a216_0xadd8=function(){return _0x426937;};return a216_0xadd8();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a217_0x3252d2=a217_0x5c36;(function(_0x48119b,_0x45c596){const _0x94240=a217_0x5c36,_0x38d5ad=_0x48119b();while(!![]){try{const _0x523717=-parseInt(_0x94240(0x14c))/0x1*(-parseInt(_0x94240(0x14a))/0x2)+parseInt(_0x94240(0x13e))/0x3+-parseInt(_0x94240(0x14e))/0x4+parseInt(_0x94240(0x144))/0x5+-parseInt(_0x94240(0x148))/0x6+parseInt(_0x94240(0x151))/0x7+parseInt(_0x94240(0x149))/0x8*(-parseInt(_0x94240(0x14f))/0x9);if(_0x523717===_0x45c596)break;else _0x38d5ad['push'](_0x38d5ad['shift']());}catch(_0x79a0b2){_0x38d5ad['push'](_0x38d5ad['shift']());}}}(a217_0x61b3,0xd6d46));import a217_0x2f4f4b from'chalk';function a217_0x5c36(_0x8fcb97,_0x3a25fd){_0x8fcb97=_0x8fcb97-0x13c;const _0x61b3ce=a217_0x61b3();let _0x5c3684=_0x61b3ce[_0x8fcb97];return _0x5c3684;}import{LogLevel,logLevelToString,formatTimestamp}from'../types.js';const chalkModule=a217_0x2f4f4b,ChalkClass=chalkModule[a217_0x3252d2(0x145)]||chalkModule[a217_0x3252d2(0x142)]?.[a217_0x3252d2(0x145)];export class DefaultLogFormatter{[a217_0x3252d2(0x13d)];['chalk'];constructor(_0x2e0040={}){const _0x2b2865=a217_0x3252d2;this[_0x2b2865(0x13d)]=_0x2e0040[_0x2b2865(0x13d)]??![],this[_0x2b2865(0x13c)]=_0x2e0040[_0x2b2865(0x13d)]&&ChalkClass?new ChalkClass({'level':0x3}):a217_0x2f4f4b;}[a217_0x3252d2(0x154)](_0x47dba6){const _0x92b35b=a217_0x3252d2,_0x1a915e=formatTimestamp(_0x47dba6[_0x92b35b(0x141)]),_0x1eb768=logLevelToString(_0x47dba6[_0x92b35b(0x13f)]);if(!this['colors'])return _0x1a915e+'\x20['+_0x1eb768+']\x20['+_0x47dba6[_0x92b35b(0x150)]+']\x20'+_0x47dba6['message'];const _0x5195d1=this['chalk'][_0x92b35b(0x143)](_0x1a915e),_0x315f6b=this['colorLevel'](_0x1eb768,_0x47dba6[_0x92b35b(0x13f)]),_0x45dff7=this[_0x92b35b(0x13c)][_0x92b35b(0x153)]('['+_0x47dba6['component']+']');return _0x5195d1+'\x20'+_0x315f6b+'\x20'+_0x45dff7+'\x20'+_0x47dba6[_0x92b35b(0x147)];}[a217_0x3252d2(0x14b)](_0xea932b,_0x32771e){const _0x1d44ce=a217_0x3252d2;switch(_0x32771e){case LogLevel[_0x1d44ce(0x140)]:return this[_0x1d44ce(0x13c)][_0x1d44ce(0x155)]('['+_0xea932b+']');case LogLevel[_0x1d44ce(0x157)]:return this[_0x1d44ce(0x13c)][_0x1d44ce(0x14d)]('['+_0xea932b+']');case LogLevel['INFO']:return this[_0x1d44ce(0x13c)]['cyan']('['+_0xea932b+']');case LogLevel['WARN']:return this[_0x1d44ce(0x13c)][_0x1d44ce(0x156)]('['+_0xea932b+']');case LogLevel[_0x1d44ce(0x146)]:return this[_0x1d44ce(0x13c)][_0x1d44ce(0x152)]('['+_0xea932b+']');default:return'['+_0xea932b+']';}}}function a217_0x61b3(){const _0xc3cf64=['colors','2324109YJkaAk','level','TRACE','timestamp','default','dim','6799865lTxwLR','Chalk','ERROR','message','3463716YTFfKe','280mqoIEG','130406DmffeD','colorLevel','26IOEqyS','green','4813972oIJaZd','528678DBKzYE','component','6207159kiGzeM','red','blue','format','gray','yellow','DEBUG','chalk'];a217_0x61b3=function(){return _0xc3cf64;};return a217_0x61b3();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a218_0x4ce4(_0x478d7a,_0x11e5ff){_0x478d7a=_0x478d7a-0xd6;var _0x5f0b99=a218_0x5f0b();var _0x4ce471=_0x5f0b99[_0x478d7a];return _0x4ce471;}function a218_0x5f0b(){var _0x334464=['153HIiLYk','2233gpOqCb','8484024lsmPCx','9iRhoDq','16221821ryHHXF','20296CTqRPY','84946iECiBR','11UHufkS','45135831fDojYj','5JdPlmF','120410ViXvkC','12gdukyO','1652964SKgVRr'];a218_0x5f0b=function(){return _0x334464;};return a218_0x5f0b();}(function(_0x24fb5b,_0x3fab71){var _0x18be5f=a218_0x4ce4,_0x31337b=_0x24fb5b();while(!![]){try{var _0x407269=parseInt(_0x18be5f(0xd7))/0x1*(-parseInt(_0x18be5f(0xd6))/0x2)+-parseInt(_0x18be5f(0xe0))/0x3*(-parseInt(_0x18be5f(0xdc))/0x4)+parseInt(_0x18be5f(0xd9))/0x5*(-parseInt(_0x18be5f(0xdf))/0x6)+-parseInt(_0x18be5f(0xde))/0x7*(parseInt(_0x18be5f(0xe2))/0x8)+parseInt(_0x18be5f(0xdd))/0x9*(parseInt(_0x18be5f(0xda))/0xa)+-parseInt(_0x18be5f(0xe1))/0xb+-parseInt(_0x18be5f(0xdb))/0xc*(-parseInt(_0x18be5f(0xd8))/0xd);if(_0x407269===_0x3fab71)break;else _0x31337b['push'](_0x31337b['shift']());}catch(_0x68daf8){_0x31337b['push'](_0x31337b['shift']());}}}(a218_0x5f0b,0xb7652));export{DefaultLogFormatter}from'./default-formatter.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a219_0x43b9(){const _0x531a43=['10306856oruHgF','2796JiPasI','formatter','10269EAeTrP','error','55RnzekW','log','colors','796564FeptGB','level','format','3228DaajHO','WARN','4276479UMIxDZ','4195068RREGie','9kSXRjt','handle','1xYCaOo','useStderr','8955gdcgJY','3371740SyYUJJ'];a219_0x43b9=function(){return _0x531a43;};return a219_0x43b9();}const a219_0x4402bb=a219_0x5c96;function a219_0x5c96(_0x2b3290,_0x20ca93){_0x2b3290=_0x2b3290-0x193;const _0x43b9b7=a219_0x43b9();let _0x5c966b=_0x43b9b7[_0x2b3290];return _0x5c966b;}(function(_0x359c0c,_0x4f7a04){const _0x279515=a219_0x5c96,_0x163398=_0x359c0c();while(!![]){try{const _0x930d1a=parseInt(_0x279515(0x197))/0x1*(parseInt(_0x279515(0x1a3))/0x2)+-parseInt(_0x279515(0x193))/0x3+-parseInt(_0x279515(0x19c))/0x4*(-parseInt(_0x279515(0x199))/0x5)+-parseInt(_0x279515(0x1a6))/0x6*(-parseInt(_0x279515(0x19e))/0x7)+-parseInt(_0x279515(0x19b))/0x8*(-parseInt(_0x279515(0x195))/0x9)+parseInt(_0x279515(0x19a))/0xa+parseInt(_0x279515(0x1a0))/0xb*(-parseInt(_0x279515(0x194))/0xc);if(_0x930d1a===_0x4f7a04)break;else _0x163398['push'](_0x163398['shift']());}catch(_0x59d8b9){_0x163398['push'](_0x163398['shift']());}}}(a219_0x43b9,0xd9a8a));import{LogLevel as a219_0x3f0587}from'../types.js';import{DefaultLogFormatter}from'../formatters/index.js';export class ConsoleHandler{['minLevel'];[a219_0x4402bb(0x198)];[a219_0x4402bb(0x19d)];constructor(_0x1c5af6={}){const _0x474aeb=a219_0x4402bb;this['minLevel']=_0x1c5af6['minLevel']??a219_0x3f0587['WARN'],this['useStderr']=_0x1c5af6['useStderr']??!![],this[_0x474aeb(0x19d)]=new DefaultLogFormatter({'colors':_0x1c5af6[_0x474aeb(0x1a2)]??!![]});}[a219_0x4402bb(0x196)](_0x3535c4){const _0xc5944b=a219_0x4402bb;if(_0x3535c4[_0xc5944b(0x1a4)]<this['minLevel'])return;const _0x23ce99=this[_0xc5944b(0x19d)][_0xc5944b(0x1a5)](_0x3535c4);this[_0xc5944b(0x198)]&&_0x3535c4['level']>=a219_0x3f0587[_0xc5944b(0x1a7)]?console[_0xc5944b(0x19f)](_0x23ce99):console[_0xc5944b(0x1a1)](_0x23ce99);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a220_0x2c6c6a=a220_0x5886;(function(_0x5c4c56,_0x13a6b4){const _0x4b17aa=a220_0x5886,_0xa1e341=_0x5c4c56();while(!![]){try{const _0x2691c1=-parseInt(_0x4b17aa(0x159))/0x1+parseInt(_0x4b17aa(0x15c))/0x2+-parseInt(_0x4b17aa(0x145))/0x3*(parseInt(_0x4b17aa(0x163))/0x4)+parseInt(_0x4b17aa(0x161))/0x5+parseInt(_0x4b17aa(0x150))/0x6*(parseInt(_0x4b17aa(0x14e))/0x7)+-parseInt(_0x4b17aa(0x15e))/0x8+-parseInt(_0x4b17aa(0x149))/0x9*(-parseInt(_0x4b17aa(0x14b))/0xa);if(_0x2691c1===_0x13a6b4)break;else _0xa1e341['push'](_0xa1e341['shift']());}catch(_0x2086d3){_0xa1e341['push'](_0xa1e341['shift']());}}}(a220_0x4246,0xea384));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 a220_0x5886(_0x3f6f50,_0x422eb6){_0x3f6f50=_0x3f6f50-0x141;const _0x4246d2=a220_0x4246();let _0x58864a=_0x4246d2[_0x3f6f50];return _0x58864a;}function a220_0x4246(){const _0x303ff9=['179730XpBuAi','rotate','error','end','toISOString','replace','Warning:\x20Failed\x20to\x20initialize\x20log\x20file:','logFileName','.log','1748958sqkQkn','logPath','Warning:\x20Failed\x20to\x20compress\x20','330784KILTpQ','split','3127296ykCcJG','Warning:\x20Error\x20writing\x20to\x20','.gz','7380710LqqeTO','-(\x5cd{4}-\x5cd{2}-\x5cd{2})\x5c.log$','5427676buuBAQ','close','message','logBaseName','init','rotateOldLogs','test','\x5c$&','write','3NssVvF','logs','format','tdx.log','310077egzkXx','includes','730peRkFn','logStream','mtime','70FMWGwK','logDir'];a220_0x4246=function(){return _0x303ff9;};return a220_0x4246();}export class FileHandler{[a220_0x2c6c6a(0x15a)];['logDir'];['logFileName'];[a220_0x2c6c6a(0x166)];[a220_0x2c6c6a(0x14c)]=null;[a220_0x2c6c6a(0x151)];constructor(_0x4565d7={}){const _0x50e2f9=a220_0x2c6c6a;this[_0x50e2f9(0x15a)]=_0x4565d7['filePath']??join(getGlobalCacheDir(),_0x50e2f9(0x146),_0x50e2f9(0x148)),this[_0x50e2f9(0x14f)]=dirname(this[_0x50e2f9(0x15a)]),this['logFileName']=basename(this[_0x50e2f9(0x15a)]),this[_0x50e2f9(0x166)]=this[_0x50e2f9(0x157)]['replace'](/\.log$/,''),this[_0x50e2f9(0x151)]=_0x4565d7[_0x50e2f9(0x151)]??!![];}async[a220_0x2c6c6a(0x167)](){const _0x5c18ed=a220_0x2c6c6a;try{await mkdir(this[_0x5c18ed(0x14f)],{'recursive':!![]}),this['rotate']&&await this[_0x5c18ed(0x141)](),this[_0x5c18ed(0x14c)]=createWriteStream(this[_0x5c18ed(0x15a)],{'flags':'a'}),this[_0x5c18ed(0x14c)]['on']('error',_0x50a779=>{const _0xdf67f1=_0x5c18ed;console[_0xdf67f1(0x152)](_0xdf67f1(0x15f)+this[_0xdf67f1(0x157)]+':',_0x50a779[_0xdf67f1(0x165)]);});}catch(_0x572f0f){console[_0x5c18ed(0x152)](_0x5c18ed(0x156),_0x572f0f);}}['handle'](_0x5ed5ab){const _0x3faf70=a220_0x2c6c6a;if(!this[_0x3faf70(0x14c)])return;const _0x174d5d=Logger[_0x3faf70(0x147)](_0x5ed5ab);this[_0x3faf70(0x14c)][_0x3faf70(0x144)](_0x174d5d+'\x0a');}async[a220_0x2c6c6a(0x164)](){return new Promise(_0x271040=>{const _0x1f1fb0=a220_0x5886;this['logStream']?this[_0x1f1fb0(0x14c)][_0x1f1fb0(0x153)](()=>{const _0x3f13af=_0x1f1fb0;this[_0x3f13af(0x14c)]=null,_0x271040();}):_0x271040();});}['getLogPath'](){const _0x57b16a=a220_0x2c6c6a;return this[_0x57b16a(0x15a)];}async[a220_0x2c6c6a(0x141)](){const _0x3bfcf6=a220_0x2c6c6a;try{const _0x560e4b=await readdir(this['logDir']),_0x55ae37=new Date()[_0x3bfcf6(0x154)]()['split']('T')[0x0];if(_0x560e4b[_0x3bfcf6(0x14a)](this[_0x3bfcf6(0x157)])){const _0xb6cd63=join(this[_0x3bfcf6(0x14f)],this[_0x3bfcf6(0x157)]),_0x20f6ca=await stat(_0xb6cd63),_0x24755c=new Date(_0x20f6ca[_0x3bfcf6(0x14d)])[_0x3bfcf6(0x154)]()[_0x3bfcf6(0x15d)]('T')[0x0];if(_0x24755c<_0x55ae37){const _0x294e22=join(this[_0x3bfcf6(0x14f)],this[_0x3bfcf6(0x166)]+'-'+_0x24755c+_0x3bfcf6(0x158));await rename(_0xb6cd63,_0x294e22);}}const _0x11cfa1=await readdir(this[_0x3bfcf6(0x14f)]),_0x3a8159=this[_0x3bfcf6(0x166)][_0x3bfcf6(0x155)](/[.*+?^${}()|[\]\\]/g,_0x3bfcf6(0x143)),_0x240308=new RegExp('^'+_0x3a8159+_0x3bfcf6(0x162)),_0x4fe811=_0x11cfa1['filter'](_0x23744d=>_0x240308[_0x3bfcf6(0x142)](_0x23744d));for(const _0xc45714 of _0x4fe811){const _0x46f7fc=join(this[_0x3bfcf6(0x14f)],_0xc45714),_0x1179da=join(this[_0x3bfcf6(0x14f)],_0xc45714+_0x3bfcf6(0x160));try{await pipeline(createReadStream(_0x46f7fc),createGzip(),createWriteStream(_0x1179da)),await unlink(_0x46f7fc);}catch(_0x47f35c){console[_0x3bfcf6(0x152)](_0x3bfcf6(0x15b)+_0xc45714+':',_0x47f35c);}}}catch{}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x533d31,_0x2f5d29){var _0x43d50f=a221_0x358d,_0x5a3a85=_0x533d31();while(!![]){try{var _0x102841=-parseInt(_0x43d50f(0xc8))/0x1+parseInt(_0x43d50f(0xc9))/0x2+-parseInt(_0x43d50f(0xcb))/0x3*(-parseInt(_0x43d50f(0xc2))/0x4)+-parseInt(_0x43d50f(0xc4))/0x5*(-parseInt(_0x43d50f(0xc5))/0x6)+-parseInt(_0x43d50f(0xc3))/0x7+-parseInt(_0x43d50f(0xc6))/0x8*(-parseInt(_0x43d50f(0xca))/0x9)+-parseInt(_0x43d50f(0xc7))/0xa;if(_0x102841===_0x2f5d29)break;else _0x5a3a85['push'](_0x5a3a85['shift']());}catch(_0x1acad5){_0x5a3a85['push'](_0x5a3a85['shift']());}}}(a221_0x5e85,0x56a65));export{FileHandler}from'./file-handler.js';export{ConsoleHandler}from'./console-handler.js';function a221_0x5e85(){var _0x5ab93e=['490750RbeCrO','98134cPXDBg','15894LtOfTu','1517136DQbPmQ','4VdzNck','937027JfDNSf','5KDzVVr','3426438BTKNuv','1952vIpfrg','5772280oYsJpQ'];a221_0x5e85=function(){return _0x5ab93e;};return a221_0x5e85();}function a221_0x358d(_0x4fc203,_0x156f33){_0x4fc203=_0x4fc203-0xc2;var _0x5e85b3=a221_0x5e85();var _0x358df4=_0x5e85b3[_0x4fc203];return _0x358df4;}export{NullHandler}from'./null-handler.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a222_0x3581(_0x76b20c,_0x298623){_0x76b20c=_0x76b20c-0x95;var _0x4eb1c8=a222_0x4eb1();var _0x3581d2=_0x4eb1c8[_0x76b20c];return _0x3581d2;}var a222_0x4a0108=a222_0x3581;(function(_0x50f2e6,_0x2e3554){var _0x594868=a222_0x3581,_0x26e75a=_0x50f2e6();while(!![]){try{var _0x66f10d=-parseInt(_0x594868(0x9c))/0x1+parseInt(_0x594868(0x95))/0x2+parseInt(_0x594868(0x96))/0x3+-parseInt(_0x594868(0x9b))/0x4*(-parseInt(_0x594868(0x9d))/0x5)+parseInt(_0x594868(0x99))/0x6+parseInt(_0x594868(0x9e))/0x7*(parseInt(_0x594868(0x98))/0x8)+-parseInt(_0x594868(0x97))/0x9;if(_0x66f10d===_0x2e3554)break;else _0x26e75a['push'](_0x26e75a['shift']());}catch(_0x36d567){_0x26e75a['push'](_0x26e75a['shift']());}}}(a222_0x4eb1,0x2ad2a));export class NullHandler{[a222_0x4a0108(0x9a)](_0x49414c){}}function a222_0x4eb1(){var _0x180cd1=['63FwLCbA','588874TVNMZz','108387jhNOXf','4265397pvyaYU','42880QWLWDP','1800414RsjePx','handle','12HKCIyA','327305DFlKCj','496275tlHUcW'];a222_0x4eb1=function(){return _0x180cd1;};return a222_0x4eb1();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a223_0x55fe(){var _0x430f63=['24gTaqwu','4758004jnPHyk','2434768EmQtWb','855338eWgLsM','746720QbnsWe','1197501zPxtPT','15582176csfDKw','587450neVxoV'];a223_0x55fe=function(){return _0x430f63;};return a223_0x55fe();}(function(_0x2bdfc4,_0x5c3a96){var _0x4d5987=a223_0x1f27,_0xd218a8=_0x2bdfc4();while(!![]){try{var _0x1cd208=parseInt(_0x4d5987(0xaa))/0x1+parseInt(_0x4d5987(0xab))/0x2+parseInt(_0x4d5987(0xac))/0x3+-parseInt(_0x4d5987(0xb0))/0x4+-parseInt(_0x4d5987(0xae))/0x5+parseInt(_0x4d5987(0xaf))/0x6*(-parseInt(_0x4d5987(0xa9))/0x7)+parseInt(_0x4d5987(0xad))/0x8;if(_0x1cd208===_0x5c3a96)break;else _0xd218a8['push'](_0xd218a8['shift']());}catch(_0x1a7828){_0xd218a8['push'](_0xd218a8['shift']());}}}(a223_0x55fe,0xd6326));function a223_0x1f27(_0x5a6bd8,_0x23b89d){_0x5a6bd8=_0x5a6bd8-0xa9;var _0x55fede=a223_0x55fe();var _0x1f2728=_0x55fede[_0x5a6bd8];return _0x1f2728;}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';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a224_0x11b7c8=a224_0x8618;function a224_0x2ebb(){const _0x3f2c6b=['warn','62QoyCQJ','error','shutdown','map','function','2752002FGQYbe','shouldLog','loggers','dispatch','get','has','push','trace','format','init','reset','message','initialized','3dWOBYm','558708MQuyPy','level','INFO','close','formatter','getFormatter','cause','log','levelOverrides','isInitialized','setLogLevel','debug','split','TRACE','setDefaultLevel','join','stringify','handlers','pendingRecords','set','525WBCofn','3796415SBItNp','name','7003430fAckIK','component','25033eTkcix','entries','string','length','WARN','74488UNXUoE',']\x20[','clear','169110FeHYsC','defaultLevel','info'];a224_0x2ebb=function(){return _0x3f2c6b;};return a224_0x2ebb();}(function(_0x51bd43,_0x2cccdd){const _0x4efa70=a224_0x8618,_0x349b77=_0x51bd43();while(!![]){try{const _0x52f471=parseInt(_0x4efa70(0x1e0))/0x1*(-parseInt(_0x4efa70(0x1ec))/0x2)+parseInt(_0x4efa70(0x1fe))/0x3*(parseInt(_0x4efa70(0x1ff))/0x4)+-parseInt(_0x4efa70(0x1dc))/0x5+parseInt(_0x4efa70(0x1f1))/0x6+parseInt(_0x4efa70(0x1db))/0x7*(parseInt(_0x4efa70(0x1e5))/0x8)+-parseInt(_0x4efa70(0x1e8))/0x9+parseInt(_0x4efa70(0x1de))/0xa;if(_0x52f471===_0x2cccdd)break;else _0x349b77['push'](_0x349b77['shift']());}catch(_0x30481c){_0x349b77['push'](_0x349b77['shift']());}}}(a224_0x2ebb,0x6c224));import{LogLevel as a224_0x368a2f,logLevelToString}from'./types.js';const MAX_PENDING_RECORDS=0x3e8,state={'initialized':![],'defaultLevel':a224_0x368a2f[a224_0x11b7c8(0x201)],'levelOverrides':new Map(),'handlers':[],'formatter':null,'loggers':new Map(),'pendingRecords':[]};function safeStringify(_0x5852a0){const _0x321a68=a224_0x11b7c8;if(typeof _0x5852a0===_0x321a68(0x1e2))return _0x5852a0;if(_0x5852a0 instanceof Error)return _0x5852a0['stack']||_0x5852a0['name']+':\x20'+_0x5852a0[_0x321a68(0x1fc)];try{return JSON[_0x321a68(0x1d7)](_0x5852a0,(_0x5012f2,_0x1d348c)=>{const _0x23cd10=_0x321a68;if(_0x1d348c instanceof Error)return{'name':_0x1d348c[_0x23cd10(0x1dd)],'message':_0x1d348c['message'],'stack':_0x1d348c['stack'],'cause':_0x1d348c[_0x23cd10(0x205)]};return _0x1d348c;});}catch{return String(_0x5852a0);}}function a224_0x8618(_0x3e81bf,_0x8ca6e7){_0x3e81bf=_0x3e81bf-0x1d3;const _0x2ebbbc=a224_0x2ebb();let _0x861878=_0x2ebbbc[_0x3e81bf];return _0x861878;}export class Logger{[a224_0x11b7c8(0x1df)];constructor(_0x2557c1){const _0x57ff03=a224_0x11b7c8;this[_0x57ff03(0x1df)]=_0x2557c1;}static['of'](_0x5bdff6){const _0x392121=a224_0x11b7c8,_0x1c1000=typeof _0x5bdff6==='string'?_0x5bdff6:_0x5bdff6[_0x392121(0x1dd)];let _0x386319=state[_0x392121(0x1f3)][_0x392121(0x1f5)](_0x1c1000);return!_0x386319&&(_0x386319=new Logger(_0x1c1000),state[_0x392121(0x1f3)][_0x392121(0x1da)](_0x1c1000,_0x386319)),_0x386319;}static async[a224_0x11b7c8(0x1fa)](_0x2943b0={}){const _0x49c95b=a224_0x11b7c8;state['defaultLevel']=_0x2943b0[_0x49c95b(0x1e9)]??a224_0x368a2f[_0x49c95b(0x201)],state[_0x49c95b(0x1d8)]=_0x2943b0[_0x49c95b(0x1d8)]??[],state[_0x49c95b(0x203)]=_0x2943b0['formatter']??null,state[_0x49c95b(0x207)][_0x49c95b(0x1e7)]();if(_0x2943b0[_0x49c95b(0x207)])for(const [_0x511339,_0x1a72c2]of Object[_0x49c95b(0x1e1)](_0x2943b0['levelOverrides'])){state[_0x49c95b(0x207)]['set'](_0x511339,_0x1a72c2);}for(const _0x4bb059 of state[_0x49c95b(0x1d8)]){_0x4bb059['init']&&await _0x4bb059[_0x49c95b(0x1fa)]();}state[_0x49c95b(0x1fd)]=!![];for(const _0x41115b of state[_0x49c95b(0x1d9)]){Logger[_0x49c95b(0x1f4)](_0x41115b);}state['pendingRecords']=[];}static[a224_0x11b7c8(0x209)](_0x1a87af,_0x1dda7d){const _0x378477=a224_0x11b7c8;state[_0x378477(0x207)][_0x378477(0x1da)](_0x1a87af,_0x1dda7d);}static[a224_0x11b7c8(0x1d5)](_0x2b33e1){state['defaultLevel']=_0x2b33e1;}static['addHandler'](_0x43953c){const _0x4c9aae=a224_0x11b7c8;state[_0x4c9aae(0x1d8)]['push'](_0x43953c),state[_0x4c9aae(0x1fd)]&&_0x43953c['init']&&_0x43953c[_0x4c9aae(0x1fa)]();}static['clearHandlers'](){const _0x5aab28=a224_0x11b7c8;state[_0x5aab28(0x1d8)]=[];}static async[a224_0x11b7c8(0x1ee)](){const _0x2d34bf=a224_0x11b7c8;for(const _0x56a8f1 of state['handlers']){_0x56a8f1[_0x2d34bf(0x202)]&&await _0x56a8f1[_0x2d34bf(0x202)]();}state[_0x2d34bf(0x1d8)]=[],state['initialized']=![],state[_0x2d34bf(0x1f3)][_0x2d34bf(0x1e7)](),state[_0x2d34bf(0x1d9)]=[];}static[a224_0x11b7c8(0x1fb)](){const _0x288b50=a224_0x11b7c8;state[_0x288b50(0x1fd)]=![],state[_0x288b50(0x1e9)]=a224_0x368a2f['INFO'],state[_0x288b50(0x207)][_0x288b50(0x1e7)](),state['handlers']=[],state['formatter']=null,state['loggers'][_0x288b50(0x1e7)](),state[_0x288b50(0x1d9)]=[];}static[a224_0x11b7c8(0x208)](){const _0x17ff86=a224_0x11b7c8;return state[_0x17ff86(0x1fd)];}static['getEffectiveLevel'](_0x2495ca){const _0x8be12b=a224_0x11b7c8;if(state[_0x8be12b(0x207)][_0x8be12b(0x1f6)](_0x2495ca))return state[_0x8be12b(0x207)][_0x8be12b(0x1f5)](_0x2495ca);const _0x567662=_0x2495ca[_0x8be12b(0x1d3)]('.');for(let _0x59b968=_0x567662[_0x8be12b(0x1e3)]-0x1;_0x59b968>0x0;_0x59b968--){const _0x39f675=_0x567662['slice'](0x0,_0x59b968)[_0x8be12b(0x1d6)]('.');if(state[_0x8be12b(0x207)]['has'](_0x39f675))return state[_0x8be12b(0x207)][_0x8be12b(0x1f5)](_0x39f675);}return state[_0x8be12b(0x1e9)];}[a224_0x11b7c8(0x1f2)](_0x394446){const _0x15ef94=a224_0x11b7c8,_0x433c9a=Logger['getEffectiveLevel'](this[_0x15ef94(0x1df)]);return _0x394446>=_0x433c9a;}static['dispatch'](_0x788a51){const _0x2f3f61=a224_0x11b7c8;for(const _0x114600 of state[_0x2f3f61(0x1d8)]){_0x114600['handle'](_0x788a51);}}[a224_0x11b7c8(0x206)](_0x5f37ce,_0x36ed6f){const _0x1fb6df=a224_0x11b7c8;if(!this['shouldLog'](_0x5f37ce))return;const _0x379685=_0x36ed6f[_0x1fb6df(0x1ef)](_0x88c39f=>typeof _0x88c39f===_0x1fb6df(0x1f0)?_0x88c39f():_0x88c39f),_0x3066fd=_0x379685[_0x1fb6df(0x1ef)](safeStringify)[_0x1fb6df(0x1d6)]('\x20'),_0x5e2fc1={'timestamp':new Date(),'level':_0x5f37ce,'component':this[_0x1fb6df(0x1df)],'message':_0x3066fd};if(!state[_0x1fb6df(0x1fd)]){state[_0x1fb6df(0x1d9)][_0x1fb6df(0x1e3)]<MAX_PENDING_RECORDS&&state[_0x1fb6df(0x1d9)][_0x1fb6df(0x1f7)](_0x5e2fc1);return;}Logger[_0x1fb6df(0x1f4)](_0x5e2fc1);}[a224_0x11b7c8(0x1f8)](..._0x245011){const _0x448509=a224_0x11b7c8;this[_0x448509(0x206)](a224_0x368a2f[_0x448509(0x1d4)],_0x245011);}[a224_0x11b7c8(0x20a)](..._0x5ed4ce){this['log'](a224_0x368a2f['DEBUG'],_0x5ed4ce);}[a224_0x11b7c8(0x1ea)](..._0x21fce8){const _0x5c14b5=a224_0x11b7c8;this[_0x5c14b5(0x206)](a224_0x368a2f[_0x5c14b5(0x201)],_0x21fce8);}[a224_0x11b7c8(0x1eb)](..._0x2afad4){const _0x39e22e=a224_0x11b7c8;this[_0x39e22e(0x206)](a224_0x368a2f[_0x39e22e(0x1e4)],_0x2afad4);}[a224_0x11b7c8(0x1ed)](..._0x3a6919){const _0x5fa884=a224_0x11b7c8;this[_0x5fa884(0x206)](a224_0x368a2f['ERROR'],_0x3a6919);}static[a224_0x11b7c8(0x204)](){const _0x2e7c2a=a224_0x11b7c8;return state[_0x2e7c2a(0x203)];}static[a224_0x11b7c8(0x1f9)](_0x5bbe2e){const _0x4a2683=a224_0x11b7c8;if(state[_0x4a2683(0x203)])return state[_0x4a2683(0x203)][_0x4a2683(0x1f9)](_0x5bbe2e);return _0x5bbe2e['timestamp']['toISOString']()+'\x20['+logLevelToString(_0x5bbe2e[_0x4a2683(0x200)])+_0x4a2683(0x1e6)+_0x5bbe2e['component']+']\x20'+_0x5bbe2e[_0x4a2683(0x1fc)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2b395a,_0x1465c9){const _0x2149cf=a225_0x5f5d,_0x400349=_0x2b395a();while(!![]){try{const _0xca0a94=parseInt(_0x2149cf(0xb1))/0x1+-parseInt(_0x2149cf(0xac))/0x2+-parseInt(_0x2149cf(0xb6))/0x3+-parseInt(_0x2149cf(0xbd))/0x4*(parseInt(_0x2149cf(0xaa))/0x5)+-parseInt(_0x2149cf(0xa5))/0x6+parseInt(_0x2149cf(0xb3))/0x7+parseInt(_0x2149cf(0xae))/0x8;if(_0xca0a94===_0x1465c9)break;else _0x400349['push'](_0x400349['shift']());}catch(_0xe021b8){_0x400349['push'](_0x400349['shift']());}}}(a225_0x644f,0xf391d));export var LogLevel;(function(_0x2a8c3b){const _0x497522=a225_0x5f5d;_0x2a8c3b[_0x2a8c3b[_0x497522(0xb0)]=-0x2]=_0x497522(0xb0),_0x2a8c3b[_0x2a8c3b[_0x497522(0xab)]=-0x1]='DEBUG',_0x2a8c3b[_0x2a8c3b[_0x497522(0xba)]=0x0]=_0x497522(0xba),_0x2a8c3b[_0x2a8c3b[_0x497522(0xbb)]=0x1]=_0x497522(0xbb),_0x2a8c3b[_0x2a8c3b[_0x497522(0xb2)]=0x2]='ERROR';}(LogLevel||(LogLevel={})));export function parseLogLevel(_0x352cde){const _0x27b8f6=a225_0x5f5d;switch(_0x352cde[_0x27b8f6(0xb7)]()){case _0x27b8f6(0xb0):return LogLevel[_0x27b8f6(0xb0)];case _0x27b8f6(0xab):return LogLevel['DEBUG'];case _0x27b8f6(0xba):return LogLevel['INFO'];case'WARN':case _0x27b8f6(0xb5):return LogLevel[_0x27b8f6(0xbb)];case'ERROR':return LogLevel['ERROR'];default:return LogLevel['INFO'];}}export function logLevelToString(_0x4b5eb0){const _0x1c6dbe=a225_0x5f5d;switch(_0x4b5eb0){case LogLevel[_0x1c6dbe(0xb0)]:return _0x1c6dbe(0xbf);case LogLevel['DEBUG']:return'debug';case LogLevel['INFO']:return'info';case LogLevel['WARN']:return _0x1c6dbe(0xc0);case LogLevel[_0x1c6dbe(0xb2)]:return'error';default:return _0x1c6dbe(0xbe);}}function a225_0x5f5d(_0x342bec,_0x14ab26){_0x342bec=_0x342bec-0xa5;const _0x644f60=a225_0x644f();let _0x5f5d07=_0x644f60[_0x342bec];return _0x5f5d07;}function a225_0x644f(){const _0x22c976=['TRACE','235145ueiSxh','ERROR','7037051XdXTHS','getMonth','WARNING','5793918dGjqEI','toUpperCase','getFullYear','getSeconds','INFO','WARN','getHours','20ZSlEIW','info','trace','warn','6845214CdEAxs','getTimezoneOffset','getMilliseconds','getDate','toString','1455270xrjoYo','DEBUG','3947478vatCHJ','abs','50067256VZEbYU','padStart'];a225_0x644f=function(){return _0x22c976;};return a225_0x644f();}export function formatTimestamp(_0x5d726f){const _0x1aec7a=a225_0x5f5d,_0x17382c=_0x5d726f[_0x1aec7a(0xb8)](),_0x2e00b0=(_0x5d726f[_0x1aec7a(0xb4)]()+0x1)[_0x1aec7a(0xa9)]()[_0x1aec7a(0xaf)](0x2,'0'),_0x248566=_0x5d726f[_0x1aec7a(0xa8)]()[_0x1aec7a(0xa9)]()[_0x1aec7a(0xaf)](0x2,'0'),_0x46b379=_0x5d726f[_0x1aec7a(0xbc)]()['toString']()[_0x1aec7a(0xaf)](0x2,'0'),_0x349952=_0x5d726f['getMinutes']()[_0x1aec7a(0xa9)]()[_0x1aec7a(0xaf)](0x2,'0'),_0x3a48a0=_0x5d726f[_0x1aec7a(0xb9)]()[_0x1aec7a(0xa9)]()[_0x1aec7a(0xaf)](0x2,'0'),_0x3e1751=_0x5d726f[_0x1aec7a(0xa7)]()[_0x1aec7a(0xa9)]()['padStart'](0x3,'0'),_0x268b8b=-_0x5d726f[_0x1aec7a(0xa6)](),_0x32a47d=Math['floor'](Math[_0x1aec7a(0xad)](_0x268b8b)/0x3c),_0x57678d=Math['abs'](_0x268b8b)%0x3c,_0x3c7102=_0x268b8b>=0x0?'+':'-',_0x588923=''+_0x3c7102+_0x32a47d[_0x1aec7a(0xa9)]()[_0x1aec7a(0xaf)](0x2,'0')+_0x57678d[_0x1aec7a(0xa9)]()[_0x1aec7a(0xaf)](0x2,'0');return _0x17382c+'-'+_0x2e00b0+'-'+_0x248566+'\x20'+_0x46b379+':'+_0x349952+':'+_0x3a48a0+'.'+_0x3e1751+_0x588923;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x149088,_0x5f0f63){const _0x401684=a226_0x173a,_0x129341=_0x149088();while(!![]){try{const _0x205d01=-parseInt(_0x401684(0x10f))/0x1+parseInt(_0x401684(0x118))/0x2*(-parseInt(_0x401684(0x117))/0x3)+-parseInt(_0x401684(0x116))/0x4+parseInt(_0x401684(0x113))/0x5+parseInt(_0x401684(0x110))/0x6*(parseInt(_0x401684(0x10c))/0x7)+parseInt(_0x401684(0x111))/0x8+parseInt(_0x401684(0x114))/0x9;if(_0x205d01===_0x5f0f63)break;else _0x129341['push'](_0x129341['shift']());}catch(_0x54403c){_0x129341['push'](_0x129341['shift']());}}}(a226_0x5856,0xe5ff6));export function validateLimitOption(_0x44d421){const _0xa7ddf8=a226_0x173a;if(!Number[_0xa7ddf8(0x119)](_0x44d421))return{'isValid':![],'error':_0xa7ddf8(0x115)+_0x44d421+'.\x20Must\x20be\x20an\x20integer.'};if(_0x44d421<=0x0)return{'isValid':![],'error':_0xa7ddf8(0x115)+_0x44d421+_0xa7ddf8(0x10e)};return{'isValid':!![],'value':_0x44d421};}export function validateTimeoutOption(_0x2842c7,_0x5f3f20=0x1e){const _0xa0a943=a226_0x173a;if(_0x2842c7===undefined)return{'isValid':!![],'value':_0x5f3f20};const _0x1cffd5=typeof _0x2842c7==='number'?_0x2842c7:parseFloat(_0x2842c7);if(isNaN(_0x1cffd5))return{'isValid':![],'error':_0xa0a943(0x112)+_0x2842c7+_0xa0a943(0x10b)};if(_0x1cffd5<=0x0)return{'isValid':![],'error':_0xa0a943(0x112)+_0x1cffd5+_0xa0a943(0x10d)};return{'isValid':!![],'value':_0x1cffd5};}function a226_0x173a(_0x4769b5,_0x2ae4d0){_0x4769b5=_0x4769b5-0x10b;const _0x585614=a226_0x5856();let _0x173a4c=_0x585614[_0x4769b5];return _0x173a4c;}function a226_0x5856(){const _0xa26113=['Invalid\x20timeout\x20value:\x20','2677660hphMvS','17211717xxfMdt','Invalid\x20limit\x20value:\x20','4718200xLzTqY','2851638xCCTlr','2nAfWow','isInteger','.\x20Must\x20be\x20a\x20number.','113757gTSbaJ','.\x20Must\x20be\x20a\x20positive\x20number.','.\x20Must\x20be\x20a\x20positive\x20integer.','1280423CMDDWX','156LTLLaL','11856944oDtaui'];a226_0x5856=function(){return _0xa26113;};return a226_0x5856();}
|