@treasuredata/tdx 2026.6.0 → 2026.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +1 -1
  6. package/dist/cli.js.map +1 -1
  7. package/dist/commands/activations.js +1 -1
  8. package/dist/commands/agent-command.js +1 -1
  9. package/dist/commands/agent-test-command.js +1 -1
  10. package/dist/commands/api-command.js +1 -1
  11. package/dist/commands/auth-command.js +1 -1
  12. package/dist/commands/cas-command.js +1 -1
  13. package/dist/commands/cas-segment-command.js +1 -1
  14. package/dist/commands/chat-command.js +1 -1
  15. package/dist/commands/claude-command.js +1 -1
  16. package/dist/commands/claude-statusline-command.js +1 -1
  17. package/dist/commands/claude-usage-command.js +1 -1
  18. package/dist/commands/command.js +1 -1
  19. package/dist/commands/connection-command.js +1 -1
  20. package/dist/commands/databases.js +1 -1
  21. package/dist/commands/delivery-command.js +1 -1
  22. package/dist/commands/describe.js +1 -1
  23. package/dist/commands/engage-campaign-pull-command.js +1 -1
  24. package/dist/commands/engage-campaign-push-command.js +1 -1
  25. package/dist/commands/engage-campaign-validate-command.js +1 -1
  26. package/dist/commands/engage-command.js +1 -1
  27. package/dist/commands/engage-template-pull-command.js +1 -1
  28. package/dist/commands/engage-template-push-command.js +1 -1
  29. package/dist/commands/engage-template-validate-command.js +1 -1
  30. package/dist/commands/job-command.js +1 -1
  31. package/dist/commands/journey-command.js +1 -1
  32. package/dist/commands/journey-validate-command.js +1 -1
  33. package/dist/commands/llm-command.js +1 -1
  34. package/dist/commands/mcp-command.js +1 -1
  35. package/dist/commands/parent-segment-command.js +1 -1
  36. package/dist/commands/policy-command.js +1 -1
  37. package/dist/commands/profile-command.js +1 -1
  38. package/dist/commands/profiles-command.js +1 -1
  39. package/dist/commands/query-command.js +1 -1
  40. package/dist/commands/schedule-command.js +1 -1
  41. package/dist/commands/segment-command.js +1 -1
  42. package/dist/commands/segment-create-command.js +1 -1
  43. package/dist/commands/segment-fields-command.js +1 -1
  44. package/dist/commands/segment-pull-command.js +1 -1
  45. package/dist/commands/segment-push-command.js +1 -1
  46. package/dist/commands/segment-update-command.js +1 -1
  47. package/dist/commands/segment-use-command.js +1 -1
  48. package/dist/commands/segment-validate-command.js +1 -1
  49. package/dist/commands/segments.js +1 -1
  50. package/dist/commands/show.js +1 -1
  51. package/dist/commands/status-command.js +1 -1
  52. package/dist/commands/table-deleted.js +1 -1
  53. package/dist/commands/tables.js +1 -1
  54. package/dist/commands/unset-command.js +1 -1
  55. package/dist/commands/upgrade-command.js +1 -1
  56. package/dist/commands/use-command.js +1 -1
  57. package/dist/commands/user-command.js +1 -1
  58. package/dist/commands/work-command.js +1 -1
  59. package/dist/commands/workflow-command.d.ts +2 -2
  60. package/dist/commands/workflow-command.d.ts.map +1 -1
  61. package/dist/commands/workflow-command.js +1 -1
  62. package/dist/commands/workflow-command.js.map +1 -1
  63. package/dist/core/auth.js +1 -1
  64. package/dist/core/command-output.js +1 -1
  65. package/dist/core/config.js +1 -1
  66. package/dist/core/connection-cache.js +1 -1
  67. package/dist/core/constants.js +1 -1
  68. package/dist/core/credential-cache.js +1 -1
  69. package/dist/core/global-context.js +1 -1
  70. package/dist/core/keychain.js +1 -1
  71. package/dist/core/oauth-keychain.js +1 -1
  72. package/dist/core/oauth.js +1 -1
  73. package/dist/core/profile.js +1 -1
  74. package/dist/core/project-config.js +1 -1
  75. package/dist/core/session.js +1 -1
  76. package/dist/core/user-cache.js +1 -1
  77. package/dist/core/version.js +1 -1
  78. package/dist/index.js +1 -1
  79. package/dist/mcp/server.js +1 -1
  80. package/dist/mcp/tools/index.js +1 -1
  81. package/dist/mcp/tools/tdx-run.js +1 -1
  82. package/dist/mcp/tools/tdx-search.js +1 -1
  83. package/dist/mcp/tools/work-create-item.js +1 -1
  84. package/dist/mcp/utils.js +1 -1
  85. package/dist/proxy/claude-usage-tracker.js +1 -1
  86. package/dist/proxy/passthrough-server.js +1 -1
  87. package/dist/proxy/sse-usage-parser.js +1 -1
  88. package/dist/sdk/agent/agent-config.js +1 -1
  89. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  90. package/dist/sdk/agent/agent-yaml.js +1 -1
  91. package/dist/sdk/agent/test/evaluator.js +1 -1
  92. package/dist/sdk/agent/test/executor.js +1 -1
  93. package/dist/sdk/agent/test/index.js +1 -1
  94. package/dist/sdk/agent/test/output.js +1 -1
  95. package/dist/sdk/agent/test/parser.js +1 -1
  96. package/dist/sdk/agent/tool-target-registry.js +1 -1
  97. package/dist/sdk/api.js +1 -1
  98. package/dist/sdk/cas/cas-api-client.js +1 -1
  99. package/dist/sdk/cas/cas-audience-yaml.js +1 -1
  100. package/dist/sdk/cas/cas-segment-yaml.js +1 -1
  101. package/dist/sdk/cas/index.js +1 -1
  102. package/dist/sdk/cas/pull-workflow.js +1 -1
  103. package/dist/sdk/cas/push-workflow.js +1 -1
  104. package/dist/sdk/client/cdp-api-client.js +1 -1
  105. package/dist/sdk/client/cdp-api-client.js.map +1 -1
  106. package/dist/sdk/client/delivery-api-client.js +1 -1
  107. package/dist/sdk/client/endpoints.js +1 -1
  108. package/dist/sdk/client/engage-api-client.js +1 -1
  109. package/dist/sdk/client/http-client.js +1 -1
  110. package/dist/sdk/client/llm-api-client.js +1 -1
  111. package/dist/sdk/client/oauth-refresh.js +1 -1
  112. package/dist/sdk/client/rate-limiter.js +1 -1
  113. package/dist/sdk/client/td-api-client.js +1 -1
  114. package/dist/sdk/client/trino-api-client.js +1 -1
  115. package/dist/sdk/client/workflow-client.d.ts +23 -1
  116. package/dist/sdk/client/workflow-client.d.ts.map +1 -1
  117. package/dist/sdk/client/workflow-client.js +1 -1
  118. package/dist/sdk/client/workflow-client.js.map +1 -1
  119. package/dist/sdk/connection-validator.js +1 -1
  120. package/dist/sdk/connection.js +1 -1
  121. package/dist/sdk/delivery.js +1 -1
  122. package/dist/sdk/engage/campaign-pull.js +1 -1
  123. package/dist/sdk/engage/campaign-push.js +1 -1
  124. package/dist/sdk/engage/campaign-validator.js +1 -1
  125. package/dist/sdk/engage/campaign-yaml.js +1 -1
  126. package/dist/sdk/engage/template-pull.js +1 -1
  127. package/dist/sdk/engage/template-push.js +1 -1
  128. package/dist/sdk/engage/template-validator.js +1 -1
  129. package/dist/sdk/engage/template-yaml.js +1 -1
  130. package/dist/sdk/engage/types/campaign-def.js +1 -1
  131. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  132. package/dist/sdk/engage/types/template-schema.js +1 -1
  133. package/dist/sdk/engage.js +1 -1
  134. package/dist/sdk/errors.js +1 -1
  135. package/dist/sdk/index.js +1 -1
  136. package/dist/sdk/io/index.js +1 -1
  137. package/dist/sdk/io/node-filesystem.js +1 -1
  138. package/dist/sdk/job.js +1 -1
  139. package/dist/sdk/journey.js +1 -1
  140. package/dist/sdk/llm/chat-cache.js +1 -1
  141. package/dist/sdk/llm/index.js +1 -1
  142. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  143. package/dist/sdk/llm/model-factors.d.ts +8 -4
  144. package/dist/sdk/llm/model-factors.d.ts.map +1 -1
  145. package/dist/sdk/llm/model-factors.js +1 -1
  146. package/dist/sdk/llm/model-factors.js.map +1 -1
  147. package/dist/sdk/llm/user-settings.js +1 -1
  148. package/dist/sdk/personalization.js +1 -1
  149. package/dist/sdk/policy.js +1 -1
  150. package/dist/sdk/query/deleted-table-validation.js +1 -1
  151. package/dist/sdk/query/index.js +1 -1
  152. package/dist/sdk/query/sql-parser.js +1 -1
  153. package/dist/sdk/realtime.js +1 -1
  154. package/dist/sdk/schedule.js +1 -1
  155. package/dist/sdk/segment/child-segment-yaml.d.ts.map +1 -1
  156. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  157. package/dist/sdk/segment/child-segment-yaml.js.map +1 -1
  158. package/dist/sdk/segment/fields-display.js +1 -1
  159. package/dist/sdk/segment/file-discovery.js +1 -1
  160. package/dist/sdk/segment/journey-utils.js +1 -1
  161. package/dist/sdk/segment/journey-validator.js +1 -1
  162. package/dist/sdk/segment/journey-yaml.js +1 -1
  163. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  164. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  165. package/dist/sdk/segment/pull-workflow.js +1 -1
  166. package/dist/sdk/segment/push-recovery.js +1 -1
  167. package/dist/sdk/segment/push-workflow.js +1 -1
  168. package/dist/sdk/segment/resolution-context.js +1 -1
  169. package/dist/sdk/segment/segment-path-parser.js +1 -1
  170. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  171. package/dist/sdk/segment/segment-validator.js +1 -1
  172. package/dist/sdk/segment/target-resolution.js +1 -1
  173. package/dist/sdk/segment/tdx-config.js +1 -1
  174. package/dist/sdk/segment/types/activation-schema.js +1 -1
  175. package/dist/sdk/segment/types/journey-def.js +1 -1
  176. package/dist/sdk/segment/types/journey-schema.js +1 -1
  177. package/dist/sdk/segment/types/segment-def.js +1 -1
  178. package/dist/sdk/segment/types/segment-schema.js +1 -1
  179. package/dist/sdk/segment/validate-files.js +1 -1
  180. package/dist/sdk/segment/yaml-validator.js +1 -1
  181. package/dist/sdk/segment.js +1 -1
  182. package/dist/sdk/types/cdp.d.ts +4 -3
  183. package/dist/sdk/types/cdp.d.ts.map +1 -1
  184. package/dist/sdk/types/index.js +1 -1
  185. package/dist/sdk/types/progress.js +1 -1
  186. package/dist/sdk/types/workflow.d.ts +1 -1
  187. package/dist/sdk/types/workflow.d.ts.map +1 -1
  188. package/dist/sdk/types/workspace.js +1 -1
  189. package/dist/sdk/user.js +1 -1
  190. package/dist/sdk/util/format-detector.js +1 -1
  191. package/dist/sdk/util/formatters.js +1 -1
  192. package/dist/sdk/util/index.js +1 -1
  193. package/dist/sdk/util/paginate.js +1 -1
  194. package/dist/sdk/util/tree-formatter.js +1 -1
  195. package/dist/sdk/workflow/archive-validation.js +1 -1
  196. package/dist/sdk/workflow/clone-workflow.js +1 -1
  197. package/dist/sdk/workflow/index.d.ts +23 -2
  198. package/dist/sdk/workflow/index.d.ts.map +1 -1
  199. package/dist/sdk/workflow/index.js +1 -1
  200. package/dist/sdk/workflow/index.js.map +1 -1
  201. package/dist/sdk/workflow/pull-workflow.js +1 -1
  202. package/dist/sdk/workflow/push-workflow.d.ts +4 -0
  203. package/dist/sdk/workflow/push-workflow.d.ts.map +1 -1
  204. package/dist/sdk/workflow/push-workflow.js +1 -1
  205. package/dist/sdk/workflow/push-workflow.js.map +1 -1
  206. package/dist/sdk/workflow/task-graph.js +1 -1
  207. package/dist/sdk/workflow/tdx-config.js +1 -1
  208. package/dist/sdk/workflow/workflow-utils.js +1 -1
  209. package/dist/sdk/workspace/access-tracker.js +1 -1
  210. package/dist/sdk/workspace/frontmatter.js +1 -1
  211. package/dist/sdk/workspace/git.js +1 -1
  212. package/dist/sdk/workspace/index.js +1 -1
  213. package/dist/sdk/workspace/templates.js +1 -1
  214. package/dist/sdk/workspace/weekly.js +1 -1
  215. package/dist/sdk/workspace/wikilinks.js +1 -1
  216. package/dist/test-utils/command-runner.js +1 -1
  217. package/dist/test-utils/factories.js +1 -1
  218. package/dist/test-utils/fixtures.js +1 -1
  219. package/dist/test-utils/http-mock.js +1 -1
  220. package/dist/test-utils/index.js +1 -1
  221. package/dist/utils/async.js +1 -1
  222. package/dist/utils/colors.js +1 -1
  223. package/dist/utils/diff.js +1 -1
  224. package/dist/utils/file-permissions.js +1 -1
  225. package/dist/utils/file-reader.js +1 -1
  226. package/dist/utils/github-releases.js +1 -1
  227. package/dist/utils/global-cache.js +1 -1
  228. package/dist/utils/json-loader.js +1 -1
  229. package/dist/utils/local-cache.js +1 -1
  230. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  231. package/dist/utils/logger/formatters/index.js +1 -1
  232. package/dist/utils/logger/handlers/console-handler.js +1 -1
  233. package/dist/utils/logger/handlers/file-handler.js +1 -1
  234. package/dist/utils/logger/handlers/index.js +1 -1
  235. package/dist/utils/logger/handlers/null-handler.js +1 -1
  236. package/dist/utils/logger/index.js +1 -1
  237. package/dist/utils/logger/logger.js +1 -1
  238. package/dist/utils/logger/types.js +1 -1
  239. package/dist/utils/option-validation.js +1 -1
  240. package/dist/utils/process.js +1 -1
  241. package/dist/utils/prompt.js +1 -1
  242. package/dist/utils/spinner.js +1 -1
  243. package/dist/utils/sse-parser.js +1 -1
  244. package/dist/utils/string-utils.js +1 -1
  245. package/dist/utils/table-ref-parser.js +1 -1
  246. package/dist/utils/tdx-logger.js +1 -1
  247. package/dist/utils/version-check.js +1 -1
  248. package/package.json +1 -1
@@ -1 +1 @@
1
- const a211_0x172e79=a211_0x9f39;(function(_0x18723a,_0x223356){const _0x223f9d=a211_0x9f39,_0x47bb5f=_0x18723a();while(!![]){try{const _0x2a80e6=-parseInt(_0x223f9d(0xdf))/0x1*(parseInt(_0x223f9d(0x10b))/0x2)+parseInt(_0x223f9d(0x122))/0x3+-parseInt(_0x223f9d(0x106))/0x4*(-parseInt(_0x223f9d(0x103))/0x5)+-parseInt(_0x223f9d(0xe7))/0x6+parseInt(_0x223f9d(0xd9))/0x7*(parseInt(_0x223f9d(0xd5))/0x8)+parseInt(_0x223f9d(0x118))/0x9*(-parseInt(_0x223f9d(0x100))/0xa)+parseInt(_0x223f9d(0x11b))/0xb;if(_0x2a80e6===_0x223356)break;else _0x47bb5f['push'](_0x47bb5f['shift']());}catch(_0x135523){_0x47bb5f['push'](_0x47bb5f['shift']());}}}(a211_0x248f,0x9b7fe));import{vi}from'vitest';export class HTTPMockRegistry{[a211_0x172e79(0xeb)]=[];[a211_0x172e79(0x121)]=[];[a211_0x172e79(0xdb)]=null;[a211_0x172e79(0xe1)](_0x3023d8,_0x15faa3){return _0x1c735e=>{const _0x587fcf=a211_0x9f39;if(_0x1c735e[_0x587fcf(0x11a)][_0x587fcf(0xd8)]()!==_0x3023d8[_0x587fcf(0xd8)]())return![];const _0x30dd0e=new URL(_0x1c735e[_0x587fcf(0xe5)]);if(typeof _0x15faa3===_0x587fcf(0xd4))return _0x30dd0e['pathname']===_0x15faa3||_0x30dd0e['pathname'][_0x587fcf(0xd6)](_0x15faa3);return _0x15faa3[_0x587fcf(0xe8)](_0x30dd0e[_0x587fcf(0x10f)]);};}[a211_0x172e79(0x124)](_0xece147,_0x34f9b1){return _0x1ef4e6=>{const _0x27242d=a211_0x9f39;if(!_0xece147(_0x1ef4e6))return![];const _0x68800=new URL(_0x1ef4e6['url']);return Object['entries'](_0x34f9b1)[_0x27242d(0x108)](([_0x494aa5,_0x4926e4])=>_0x68800[_0x27242d(0x11f)][_0x27242d(0x126)](_0x494aa5)===_0x4926e4);};}[a211_0x172e79(0xfb)](_0x122d82,_0x328c3f){return _0x64163f=>{const _0x552864=a211_0x9f39;if(!_0x122d82(_0x64163f))return![];if(typeof _0x328c3f===_0x552864(0x110))return _0x328c3f(_0x64163f[_0x552864(0xe3)]);return JSON[_0x552864(0x109)](_0x64163f[_0x552864(0xe3)])===JSON[_0x552864(0x109)](_0x328c3f);};}[a211_0x172e79(0x114)](_0x47641a,_0x68d431){return _0x11d921=>{const _0x3afc6e=a211_0x9f39;if(!_0x47641a(_0x11d921))return![];const _0x439a4f=new URL(_0x11d921[_0x3afc6e(0xe5)]);return _0x439a4f[_0x3afc6e(0xfd)]===_0x68d431;};}[a211_0x172e79(0xf0)](_0x4448ab,_0x2a76d5,_0x5d929e){const _0x57e929=a211_0x172e79;this[_0x57e929(0xeb)]['push']({'matcher':_0x4448ab,'responder':_0x2a76d5,'matched':![],'matchCount':0x0,'stack':new Error()[_0x57e929(0x111)]??'','description':_0x5d929e?.[_0x57e929(0x123)]});}[a211_0x172e79(0xe2)](_0xb5d413,_0x58f3ba,_0xda6e7a){const _0x566c74=a211_0x172e79,_0x1a0757=_0x253b2e=>{const _0x11b4d3=a211_0x9f39;return _0xda6e7a(_0x253b2e[_0x11b4d3(0xe3)],_0x253b2e),_0x58f3ba(_0x253b2e);};this[_0x566c74(0xf0)](_0xb5d413,_0x1a0757);}static[a211_0x172e79(0xdc)](_0x3016a0,_0x16f595=0xc8){const _0x83460d=a211_0x172e79;return()=>new Response(JSON[_0x83460d(0x109)](_0x3016a0),{'status':_0x16f595,'headers':{'Content-Type':'application/json'}});}static[a211_0x172e79(0xf7)](_0x58fb34,_0xe86ec3,_0x3481b7=a211_0x172e79(0xf9)){return()=>{const _0x5eb920=a211_0x9f39;let _0xfa0f13;switch(_0x3481b7){case'td-api':_0xfa0f13={'errors':{'error':_0xe86ec3,'message':_0xe86ec3,'severity':_0x5eb920(0x112),'status_code':_0x58fb34}};break;case _0x5eb920(0x105):_0xfa0f13={'type':_0x5eb920(0xea)+_0x58fb34,'title':HTTPMockRegistry[_0x5eb920(0xe0)](_0x58fb34),'status':_0x58fb34,'detail':_0xe86ec3};break;default:_0xfa0f13={'error':_0xe86ec3};}return new Response(JSON[_0x5eb920(0x109)](_0xfa0f13),{'status':_0x58fb34,'headers':{'Content-Type':'application/json'}});};}static[a211_0x172e79(0x116)](_0x23c236,_0x524215,_0x334bd2=0xc8){const _0x2181b6=a211_0x172e79;return()=>new Response(JSON[_0x2181b6(0x109)](_0x23c236),{'status':_0x334bd2,'headers':{'Content-Type':_0x2181b6(0xfe),..._0x524215}});}static['textResponse'](_0x5b03e6,_0xa41b5a=0xc8){const _0x49ad3e=a211_0x172e79;return()=>new Response(_0x5b03e6,{'status':_0xa41b5a,'headers':{'Content-Type':_0x49ad3e(0xd3)}});}static[a211_0x172e79(0xda)](_0x37aea6){return()=>{throw new Error(_0x37aea6);};}['createFetch'](){const _0x969ff7=a211_0x172e79;return this[_0x969ff7(0xdb)]=vi['fn']()[_0x969ff7(0xed)](async(_0x309b94,_0x2f6b99)=>{const _0x17e6d8=_0x969ff7,_0x3927b1=this['parseRequest'](_0x309b94,_0x2f6b99);this[_0x17e6d8(0x121)][_0x17e6d8(0x102)](_0x3927b1);for(const _0x5013da of this[_0x17e6d8(0xeb)]){if(_0x5013da[_0x17e6d8(0x115)](_0x3927b1))return _0x5013da[_0x17e6d8(0x11e)]=!![],_0x5013da['matchCount']++,_0x5013da['responder'](_0x3927b1);}const _0x3af31c=this[_0x17e6d8(0xeb)][_0x17e6d8(0xf5)]((_0x56117b,_0x227a8a)=>'\x20\x20'+(_0x227a8a+0x1)+'.\x20'+(_0x56117b[_0x17e6d8(0x123)]??_0x17e6d8(0xfc)))[_0x17e6d8(0xe4)]('\x0a');throw new Error(_0x17e6d8(0xe6)+_0x3927b1[_0x17e6d8(0x11a)]+'\x20'+_0x3927b1[_0x17e6d8(0xe5)]+'\x0a'+(_0x17e6d8(0xe9)+JSON[_0x17e6d8(0x109)](_0x3927b1[_0x17e6d8(0xe3)])+'\x0a')+('Registered\x20stubs:\x0a'+(_0x3af31c||_0x17e6d8(0x125))));}),this[_0x969ff7(0xdb)];}[a211_0x172e79(0xdd)](_0x586d7a,_0x172342){const _0x10e6c0=a211_0x172e79,_0x2ff121={};if(_0x172342?.[_0x10e6c0(0xf4)]){if(_0x172342['headers']instanceof Headers)_0x172342[_0x10e6c0(0xf4)][_0x10e6c0(0x119)]((_0x42c5a6,_0xe852fa)=>{const _0xb7628b=_0x10e6c0;_0x2ff121[_0xe852fa[_0xb7628b(0xec)]()]=_0x42c5a6;});else{if(Array[_0x10e6c0(0x10a)](_0x172342[_0x10e6c0(0xf4)]))for(const [_0x21bce4,_0x1155f6]of _0x172342[_0x10e6c0(0xf4)]){_0x2ff121[_0x21bce4[_0x10e6c0(0xec)]()]=_0x1155f6;}else for(const [_0x4b2881,_0x94d998]of Object[_0x10e6c0(0x104)](_0x172342[_0x10e6c0(0xf4)])){_0x94d998!==undefined&&(_0x2ff121[_0x4b2881[_0x10e6c0(0xec)]()]=_0x94d998);}}}let _0x58d240;if(_0x172342?.[_0x10e6c0(0xe3)])try{_0x58d240=JSON['parse'](_0x172342['body']);}catch{_0x58d240=_0x172342[_0x10e6c0(0xe3)];}return{'method':_0x172342?.[_0x10e6c0(0x11a)]??_0x10e6c0(0x113),'url':_0x586d7a,'headers':_0x2ff121,'body':_0x58d240};}[a211_0x172e79(0xff)](_0x478743){const _0x4361d5=a211_0x172e79,_0x461c07=this[_0x4361d5(0xeb)][_0x4361d5(0x120)](_0x2f82bd=>!_0x2f82bd[_0x4361d5(0x11e)]);if(_0x461c07['length']>0x0){const _0x480a71=_0x461c07['map'](_0x1f4c70=>{const _0xe3bc7=_0x4361d5,_0x2b0e37=_0x1f4c70[_0xe3bc7(0x123)]?'\x20('+_0x1f4c70[_0xe3bc7(0x123)]+')':'',_0x4c23cb=_0x1f4c70[_0xe3bc7(0x111)]['split']('\x0a')[_0xe3bc7(0x107)](0x2,0x5)[_0xe3bc7(0xe4)]('\x0a');return _0xe3bc7(0x11d)+_0x2b0e37+_0xe3bc7(0x11c)+_0x4c23cb;});_0x478743[_0x4361d5(0xfa)](_0x461c07[_0x4361d5(0xef)]+'\x20stub(s)\x20were\x20not\x20matched:\x0a\x0a'+_0x480a71[_0x4361d5(0xe4)]('\x0a\x0a'));}}['getRequests'](){const _0x2ade46=a211_0x172e79;return[...this[_0x2ade46(0x121)]];}['getLastRequest'](){const _0x1c0415=a211_0x172e79;return this[_0x1c0415(0x121)][this['requests']['length']-0x1];}['wasCalled'](_0x49b412,_0x1f1797){const _0x4069b8=a211_0x172e79;return this['requests'][_0x4069b8(0xf3)](_0x27a7ab=>{const _0x5f02b8=_0x4069b8;if(_0x27a7ab['method'][_0x5f02b8(0xd8)]()!==_0x49b412['toUpperCase']())return![];if(typeof _0x1f1797===_0x5f02b8(0xd4))return _0x27a7ab['url'][_0x5f02b8(0xd6)](_0x1f1797);return _0x1f1797[_0x5f02b8(0xe8)](_0x27a7ab[_0x5f02b8(0xe5)]);});}['getMatchCount'](_0x1567bc){const _0x2e668e=a211_0x172e79;return this[_0x2e668e(0xeb)][_0x1567bc]?.[_0x2e668e(0xf6)]??0x0;}[a211_0x172e79(0x10d)](){const _0x4a75f8=a211_0x172e79;this[_0x4a75f8(0xeb)]=[],this[_0x4a75f8(0x121)]=[],this[_0x4a75f8(0xdb)]=null;}static[a211_0x172e79(0xe0)](_0x115427){const _0x5b3497=a211_0x172e79,_0x1da000={0xc8:'OK',0xc9:_0x5b3497(0xf1),0xcc:_0x5b3497(0xd7),0x190:'Bad\x20Request',0x191:_0x5b3497(0x10c),0x193:_0x5b3497(0xf2),0x194:_0x5b3497(0x10e),0x199:_0x5b3497(0xde),0x1a6:_0x5b3497(0x117),0x1ad:_0x5b3497(0xf8),0x1f4:_0x5b3497(0xee),0x1f6:'Bad\x20Gateway',0x1f7:'Service\x20Unavailable'};return _0x1da000[_0x115427]??_0x5b3497(0x101);}}function a211_0x9f39(_0x4d02a6,_0x46fffd){_0x4d02a6=_0x4d02a6-0xd3;const _0x248fb1=a211_0x248f();let _0x9f39a2=_0x248fb1[_0x4d02a6];return _0x9f39a2;}function a211_0x248f(){const _0x35d273=['Internal\x20Server\x20Error','length','register','Created','Forbidden','some','headers','map','matchCount','errorResponse','Too\x20Many\x20Requests','simple','fail','withBody','unnamed\x20stub','host','application/json','verify','1450ewHXbg','Unknown','push','5nwDkZc','entries','rfc9457','1340356VJCjRS','slice','every','stringify','isArray','19010INIIkc','Unauthorized','reset','Not\x20Found','pathname','function','stack','error','GET','withHost','matcher','jsonResponseWithHeaders','Unprocessable\x20Entity','38169CxmZRi','forEach','method','8955540dSvaxu','\x20registered\x20at:\x0a','Unmatched\x20stub','matched','searchParams','filter','requests','2113710gZTsEY','description','withQuery','\x20\x20(none)','get','text/plain','string','1206696TvjZCr','includes','No\x20Content','toUpperCase','7IhhpEt','networkError','fetchMock','jsonResponse','parseRequest','Conflict','56ykGzdf','getStatusText','REST','registerWithInspector','body','join','url','No\x20stub\x20matched\x20request:\x20','1322910boDqrI','test','Request\x20body:\x20','https://api.treasuredata.com/errors/','stubs','toLowerCase','mockImplementation'];a211_0x248f=function(){return _0x35d273;};return a211_0x248f();}export function createHTTPMock(){return new HTTPMockRegistry();}
1
+ function a211_0x49b9(){const _0x33dcff=['push','2748348vpdubA','matchCount','stack','includes','filter','Bad\x20Gateway','16945990HLMMnp','Not\x20Found','textResponse','Conflict','https://api.treasuredata.com/errors/','entries','td-api','matched','4uuWJFu','reset','getRequests','host','method','Unknown','test','parseRequest','errorResponse','\x20stub(s)\x20were\x20not\x20matched:\x0a\x0a','requests','isArray','stringify','mockImplementation','fetchMock','1628770XMSdLK','Unprocessable\x20Entity','wasCalled','Forbidden','jsonResponseWithHeaders','2075130wFRUpY','getLastRequest','stubs','split','length','join','register','6147tqSTEN','toLowerCase','description','responder','searchParams','5769AhODVV','Bad\x20Request','getMatchCount','withQuery','pathname','error','9592qqsBbb','headers','toUpperCase','withBody','fail','Service\x20Unavailable','forEach','rfc9457','application/json','verify','get','every','registerWithInspector','some','Request\x20body:\x20','No\x20Content','\x20registered\x20at:\x0a','body','REST','url','Internal\x20Server\x20Error','No\x20stub\x20matched\x20request:\x20','string','11RqCsNS','1941219UcWADA','56BETnZq','GET'];a211_0x49b9=function(){return _0x33dcff;};return a211_0x49b9();}const a211_0x5450ad=a211_0x491f;(function(_0x494bdf,_0x51da84){const _0x5c1cdf=a211_0x491f,_0x1f7b5f=_0x494bdf();while(!![]){try{const _0x261ef3=parseInt(_0x5c1cdf(0x1cd))/0x1*(parseInt(_0x5c1cdf(0x1a1))/0x2)+parseInt(_0x5c1cdf(0x1c6))/0x3+parseInt(_0x5c1cdf(0x1b2))/0x4*(parseInt(_0x5c1cdf(0x1c1))/0x5)+parseInt(_0x5c1cdf(0x1a4))/0x6+-parseInt(_0x5c1cdf(0x1a0))/0x7+parseInt(_0x5c1cdf(0x1d8))/0x8*(parseInt(_0x5c1cdf(0x1d2))/0x9)+parseInt(_0x5c1cdf(0x1aa))/0xa*(-parseInt(_0x5c1cdf(0x19f))/0xb);if(_0x261ef3===_0x51da84)break;else _0x1f7b5f['push'](_0x1f7b5f['shift']());}catch(_0x33b4a9){_0x1f7b5f['push'](_0x1f7b5f['shift']());}}}(a211_0x49b9,0x6c779));function a211_0x491f(_0xab9da,_0x4b0316){_0xab9da=_0xab9da-0x190;const _0x49b978=a211_0x49b9();let _0x491fe6=_0x49b978[_0xab9da];return _0x491fe6;}import{vi}from'vitest';export class HTTPMockRegistry{[a211_0x5450ad(0x1c8)]=[];[a211_0x5450ad(0x1bc)]=[];[a211_0x5450ad(0x1c0)]=null;[a211_0x5450ad(0x19a)](_0x1061dc,_0x34a20c){return _0x3e4aa1=>{const _0x352393=a211_0x491f;if(_0x3e4aa1[_0x352393(0x1b6)][_0x352393(0x1da)]()!==_0x1061dc[_0x352393(0x1da)]())return![];const _0x3cfe73=new URL(_0x3e4aa1['url']);if(typeof _0x34a20c===_0x352393(0x19e))return _0x3cfe73['pathname']===_0x34a20c||_0x3cfe73[_0x352393(0x1d6)][_0x352393(0x1a7)](_0x34a20c);return _0x34a20c[_0x352393(0x1b8)](_0x3cfe73[_0x352393(0x1d6)]);};}[a211_0x5450ad(0x1d5)](_0x190c4d,_0x36d5b7){return _0x5e7780=>{const _0x5a6297=a211_0x491f;if(!_0x190c4d(_0x5e7780))return![];const _0x1b0a08=new URL(_0x5e7780['url']);return Object[_0x5a6297(0x1af)](_0x36d5b7)[_0x5a6297(0x193)](([_0x2d1ae6,_0x2c074e])=>_0x1b0a08[_0x5a6297(0x1d1)][_0x5a6297(0x192)](_0x2d1ae6)===_0x2c074e);};}[a211_0x5450ad(0x1db)](_0xf37cce,_0x115e81){return _0x33249d=>{const _0x2e5d3e=a211_0x491f;if(!_0xf37cce(_0x33249d))return![];if(typeof _0x115e81==='function')return _0x115e81(_0x33249d[_0x2e5d3e(0x199)]);return JSON[_0x2e5d3e(0x1be)](_0x33249d[_0x2e5d3e(0x199)])===JSON[_0x2e5d3e(0x1be)](_0x115e81);};}['withHost'](_0xad89c8,_0xbb236b){return _0xe6673d=>{const _0x10b116=a211_0x491f;if(!_0xad89c8(_0xe6673d))return![];const _0x4a845b=new URL(_0xe6673d['url']);return _0x4a845b[_0x10b116(0x1b5)]===_0xbb236b;};}['register'](_0x40f863,_0x4ba7ff,_0x1bc454){const _0x1e8df6=a211_0x5450ad;this[_0x1e8df6(0x1c8)][_0x1e8df6(0x1a3)]({'matcher':_0x40f863,'responder':_0x4ba7ff,'matched':![],'matchCount':0x0,'stack':new Error()[_0x1e8df6(0x1a6)]??'','description':_0x1bc454?.[_0x1e8df6(0x1cf)]});}[a211_0x5450ad(0x194)](_0x8beab6,_0x13e5c8,_0x2ec102){const _0x6f8ef8=a211_0x5450ad,_0x457f1f=_0x21fd5e=>{const _0x18f913=a211_0x491f;return _0x2ec102(_0x21fd5e[_0x18f913(0x199)],_0x21fd5e),_0x13e5c8(_0x21fd5e);};this[_0x6f8ef8(0x1cc)](_0x8beab6,_0x457f1f);}static['jsonResponse'](_0x2284b1,_0x1b4cf9=0xc8){const _0x4c4ce9=a211_0x5450ad;return()=>new Response(JSON[_0x4c4ce9(0x1be)](_0x2284b1),{'status':_0x1b4cf9,'headers':{'Content-Type':'application/json'}});}static[a211_0x5450ad(0x1ba)](_0xd16d7f,_0x2fd3e6,_0x16af2c='simple'){return()=>{const _0x613e67=a211_0x491f;let _0x1308cf;switch(_0x16af2c){case _0x613e67(0x1b0):_0x1308cf={'errors':{'error':_0x2fd3e6,'message':_0x2fd3e6,'severity':_0x613e67(0x1d7),'status_code':_0xd16d7f}};break;case _0x613e67(0x1df):_0x1308cf={'type':_0x613e67(0x1ae)+_0xd16d7f,'title':HTTPMockRegistry['getStatusText'](_0xd16d7f),'status':_0xd16d7f,'detail':_0x2fd3e6};break;default:_0x1308cf={'error':_0x2fd3e6};}return new Response(JSON[_0x613e67(0x1be)](_0x1308cf),{'status':_0xd16d7f,'headers':{'Content-Type':_0x613e67(0x190)}});};}static[a211_0x5450ad(0x1c5)](_0x56a68e,_0x1e0520,_0x34e449=0xc8){return()=>new Response(JSON['stringify'](_0x56a68e),{'status':_0x34e449,'headers':{'Content-Type':'application/json',..._0x1e0520}});}static[a211_0x5450ad(0x1ac)](_0x56567b,_0x561170=0xc8){return()=>new Response(_0x56567b,{'status':_0x561170,'headers':{'Content-Type':'text/plain'}});}static['networkError'](_0x337a4c){return()=>{throw new Error(_0x337a4c);};}['createFetch'](){const _0x317c72=a211_0x5450ad;return this['fetchMock']=vi['fn']()[_0x317c72(0x1bf)](async(_0x1bbd40,_0x2193ec)=>{const _0x47e4df=_0x317c72,_0x486902=this[_0x47e4df(0x1b9)](_0x1bbd40,_0x2193ec);this[_0x47e4df(0x1bc)][_0x47e4df(0x1a3)](_0x486902);for(const _0x4d0271 of this[_0x47e4df(0x1c8)]){if(_0x4d0271['matcher'](_0x486902))return _0x4d0271[_0x47e4df(0x1b1)]=!![],_0x4d0271[_0x47e4df(0x1a5)]++,_0x4d0271[_0x47e4df(0x1d0)](_0x486902);}const _0x52867c=this[_0x47e4df(0x1c8)]['map']((_0x4b85e8,_0x242458)=>'\x20\x20'+(_0x242458+0x1)+'.\x20'+(_0x4b85e8[_0x47e4df(0x1cf)]??'unnamed\x20stub'))[_0x47e4df(0x1cb)]('\x0a');throw new Error(_0x47e4df(0x19d)+_0x486902[_0x47e4df(0x1b6)]+'\x20'+_0x486902[_0x47e4df(0x19b)]+'\x0a'+(_0x47e4df(0x196)+JSON[_0x47e4df(0x1be)](_0x486902['body'])+'\x0a')+('Registered\x20stubs:\x0a'+(_0x52867c||'\x20\x20(none)')));}),this['fetchMock'];}[a211_0x5450ad(0x1b9)](_0x59d66c,_0x1ef231){const _0x4db22e=a211_0x5450ad,_0x319621={};if(_0x1ef231?.['headers']){if(_0x1ef231[_0x4db22e(0x1d9)]instanceof Headers)_0x1ef231[_0x4db22e(0x1d9)][_0x4db22e(0x1de)]((_0xb68aec,_0x242bc8)=>{const _0x5466da=_0x4db22e;_0x319621[_0x242bc8[_0x5466da(0x1ce)]()]=_0xb68aec;});else{if(Array[_0x4db22e(0x1bd)](_0x1ef231[_0x4db22e(0x1d9)]))for(const [_0x13851e,_0x4c0985]of _0x1ef231[_0x4db22e(0x1d9)]){_0x319621[_0x13851e[_0x4db22e(0x1ce)]()]=_0x4c0985;}else for(const [_0x177b03,_0x1d46b6]of Object[_0x4db22e(0x1af)](_0x1ef231['headers'])){_0x1d46b6!==undefined&&(_0x319621[_0x177b03[_0x4db22e(0x1ce)]()]=_0x1d46b6);}}}let _0x241753;if(_0x1ef231?.['body'])try{_0x241753=JSON['parse'](_0x1ef231[_0x4db22e(0x199)]);}catch{_0x241753=_0x1ef231[_0x4db22e(0x199)];}return{'method':_0x1ef231?.[_0x4db22e(0x1b6)]??_0x4db22e(0x1a2),'url':_0x59d66c,'headers':_0x319621,'body':_0x241753};}[a211_0x5450ad(0x191)](_0x3b459d){const _0x548a7a=a211_0x5450ad,_0x16aab1=this['stubs'][_0x548a7a(0x1a8)](_0x333b09=>!_0x333b09[_0x548a7a(0x1b1)]);if(_0x16aab1[_0x548a7a(0x1ca)]>0x0){const _0x1c373d=_0x16aab1['map'](_0xdd44e6=>{const _0x2986c7=_0x548a7a,_0x52ab54=_0xdd44e6['description']?'\x20('+_0xdd44e6[_0x2986c7(0x1cf)]+')':'',_0x2099d9=_0xdd44e6['stack'][_0x2986c7(0x1c9)]('\x0a')['slice'](0x2,0x5)['join']('\x0a');return'Unmatched\x20stub'+_0x52ab54+_0x2986c7(0x198)+_0x2099d9;});_0x3b459d[_0x548a7a(0x1dc)](_0x16aab1[_0x548a7a(0x1ca)]+_0x548a7a(0x1bb)+_0x1c373d[_0x548a7a(0x1cb)]('\x0a\x0a'));}}[a211_0x5450ad(0x1b4)](){const _0x152b78=a211_0x5450ad;return[...this[_0x152b78(0x1bc)]];}[a211_0x5450ad(0x1c7)](){const _0xbc3658=a211_0x5450ad;return this[_0xbc3658(0x1bc)][this[_0xbc3658(0x1bc)][_0xbc3658(0x1ca)]-0x1];}[a211_0x5450ad(0x1c3)](_0x2059fb,_0xf365d6){const _0x4e86af=a211_0x5450ad;return this[_0x4e86af(0x1bc)][_0x4e86af(0x195)](_0x4f8ac6=>{const _0x12310c=_0x4e86af;if(_0x4f8ac6[_0x12310c(0x1b6)]['toUpperCase']()!==_0x2059fb[_0x12310c(0x1da)]())return![];if(typeof _0xf365d6==='string')return _0x4f8ac6['url'][_0x12310c(0x1a7)](_0xf365d6);return _0xf365d6[_0x12310c(0x1b8)](_0x4f8ac6[_0x12310c(0x19b)]);});}[a211_0x5450ad(0x1d4)](_0x464310){const _0x29ed23=a211_0x5450ad;return this[_0x29ed23(0x1c8)][_0x464310]?.['matchCount']??0x0;}[a211_0x5450ad(0x1b3)](){const _0x5b30b=a211_0x5450ad;this[_0x5b30b(0x1c8)]=[],this[_0x5b30b(0x1bc)]=[],this[_0x5b30b(0x1c0)]=null;}static['getStatusText'](_0x11debc){const _0x2ed4bf=a211_0x5450ad,_0x1193e1={0xc8:'OK',0xc9:'Created',0xcc:_0x2ed4bf(0x197),0x190:_0x2ed4bf(0x1d3),0x191:'Unauthorized',0x193:_0x2ed4bf(0x1c4),0x194:_0x2ed4bf(0x1ab),0x199:_0x2ed4bf(0x1ad),0x1a6:_0x2ed4bf(0x1c2),0x1ad:'Too\x20Many\x20Requests',0x1f4:_0x2ed4bf(0x19c),0x1f6:_0x2ed4bf(0x1a9),0x1f7:_0x2ed4bf(0x1dd)};return _0x1193e1[_0x11debc]??_0x2ed4bf(0x1b7);}}export function createHTTPMock(){return new HTTPMockRegistry();}
@@ -1 +1 @@
1
- (function(_0x2cafc2,_0x8e88df){var _0x2c0efd=a212_0xe570,_0x4e7120=_0x2cafc2();while(!![]){try{var _0x45cd25=-parseInt(_0x2c0efd(0x1a4))/0x1*(-parseInt(_0x2c0efd(0x1a1))/0x2)+-parseInt(_0x2c0efd(0x19e))/0x3*(parseInt(_0x2c0efd(0x1a3))/0x4)+parseInt(_0x2c0efd(0x199))/0x5*(parseInt(_0x2c0efd(0x19b))/0x6)+-parseInt(_0x2c0efd(0x1a0))/0x7*(parseInt(_0x2c0efd(0x19c))/0x8)+-parseInt(_0x2c0efd(0x19d))/0x9+parseInt(_0x2c0efd(0x1a5))/0xa*(-parseInt(_0x2c0efd(0x19a))/0xb)+parseInt(_0x2c0efd(0x19f))/0xc*(parseInt(_0x2c0efd(0x1a2))/0xd);if(_0x45cd25===_0x8e88df)break;else _0x4e7120['push'](_0x4e7120['shift']());}catch(_0x2dcb12){_0x4e7120['push'](_0x4e7120['shift']());}}}(a212_0x3325,0x52b23));export{HTTPMockRegistry,createHTTPMock}from'./http-mock.js';export{createTestSDKContext,createTestGlobalOptions,createTestCommandContext,createMockTDX,captureConsole}from'./factories.js';export{fixtures,createDatabase,createTable,createParentSegment,createSegment,createJourney,createQueryResult,createUser,createJob,createWorkflow}from'./fixtures.js';function a212_0xe570(_0x9aa7f3,_0x5e0ce2){_0x9aa7f3=_0x9aa7f3-0x199;var _0x3325fc=a212_0x3325();var _0xe5705c=_0x3325fc[_0x9aa7f3];return _0xe5705c;}export{CommandRunner,createCommandRunner}from'./command-runner.js';function a212_0x3325(){var _0x2641c9=['210YSaXCq','84dZoTQr','52urfCeu','17252XlExTX','4526CrJUPl','16140ctSZus','5RdydDB','2497VjuFCH','1258218MVXtQl','114416moVFVb','2901951ZuHYod','153gNLOEX','3830304ENKPLg'];a212_0x3325=function(){return _0x2641c9;};return a212_0x3325();}
1
+ (function(_0x256894,_0x1116a2){var _0x1e079f=a212_0x2d49,_0x2cff6e=_0x256894();while(!![]){try{var _0x41f770=-parseInt(_0x1e079f(0x19e))/0x1+-parseInt(_0x1e079f(0x19c))/0x2*(-parseInt(_0x1e079f(0x1a1))/0x3)+parseInt(_0x1e079f(0x1a5))/0x4+parseInt(_0x1e079f(0x1a3))/0x5+-parseInt(_0x1e079f(0x19f))/0x6*(-parseInt(_0x1e079f(0x1a2))/0x7)+-parseInt(_0x1e079f(0x1a4))/0x8*(parseInt(_0x1e079f(0x19d))/0x9)+-parseInt(_0x1e079f(0x1a0))/0xa;if(_0x41f770===_0x1116a2)break;else _0x2cff6e['push'](_0x2cff6e['shift']());}catch(_0x5be0a8){_0x2cff6e['push'](_0x2cff6e['shift']());}}}(a212_0x33f1,0xbe5b4));export{HTTPMockRegistry,createHTTPMock}from'./http-mock.js';function a212_0x33f1(){var _0x542acb=['710806qAturC','4493817BwHzeg','1405869vFEPjD','114qrBump','6937090pKKdGj','9jybeNY','424172iAwpuK','2889755KZWFfu','8ZcCvPg','2332428dGnxyJ'];a212_0x33f1=function(){return _0x542acb;};return a212_0x33f1();}export{createTestSDKContext,createTestGlobalOptions,createTestCommandContext,createMockTDX,captureConsole}from'./factories.js';function a212_0x2d49(_0x3959d6,_0x51aacb){_0x3959d6=_0x3959d6-0x19c;var _0x33f13f=a212_0x33f1();var _0x2d49d2=_0x33f13f[_0x3959d6];return _0x2d49d2;}export{fixtures,createDatabase,createTable,createParentSegment,createSegment,createJourney,createQueryResult,createUser,createJob,createWorkflow}from'./fixtures.js';export{CommandRunner,createCommandRunner}from'./command-runner.js';
@@ -1 +1 @@
1
- (function(_0x1c7c49,_0x5b5c0a){const _0x90959=a213_0x37dc,_0x2d622c=_0x1c7c49();while(!![]){try{const _0x2614c6=-parseInt(_0x90959(0xe6))/0x1+-parseInt(_0x90959(0xec))/0x2+parseInt(_0x90959(0xe4))/0x3+-parseInt(_0x90959(0xe8))/0x4*(-parseInt(_0x90959(0xe9))/0x5)+parseInt(_0x90959(0xed))/0x6*(-parseInt(_0x90959(0xe7))/0x7)+-parseInt(_0x90959(0xee))/0x8+parseInt(_0x90959(0xe1))/0x9;if(_0x2614c6===_0x5b5c0a)break;else _0x2d622c['push'](_0x2d622c['shift']());}catch(_0x3dc29d){_0x2d622c['push'](_0x2d622c['shift']());}}}(a213_0x18ac,0x79f36));function a213_0x18ac(){const _0x1926f3=['45156vnKEOT','360dfkVJm','all','length','747342pqgBIA','156ReGeqf','6528024GDCqNP','14809032iFAzCR','slice','push','686322xfalsv','map','369816zYQqMG','169085JUmSGZ'];a213_0x18ac=function(){return _0x1926f3;};return a213_0x18ac();}function a213_0x37dc(_0x3da90a,_0x4fb2e6){_0x3da90a=_0x3da90a-0xe1;const _0x18aced=a213_0x18ac();let _0x37dc58=_0x18aced[_0x3da90a];return _0x37dc58;}export async function batchAsync(_0x3e36d2,_0x18aa75,_0x4d6c65=0xa){const _0x289e84=a213_0x37dc,_0x17ee6b=[];for(let _0x4a0bed=0x0;_0x4a0bed<_0x3e36d2[_0x289e84(0xeb)];_0x4a0bed+=_0x4d6c65){const _0x2372c0=_0x3e36d2[_0x289e84(0xe2)](_0x4a0bed,_0x4a0bed+_0x4d6c65),_0x10dc4d=await Promise[_0x289e84(0xea)](_0x2372c0[_0x289e84(0xe5)](_0x18aa75));_0x17ee6b[_0x289e84(0xe3)](..._0x10dc4d);}return _0x17ee6b;}
1
+ function a213_0x1211(){const _0x5d79c1=['5334006vXQsYz','5zFLAdP','1444035bxiPEK','658184IVqpPR','35Cyqqzx','slice','45egyDfC','map','5632490caucGI','3698628cFlEcw','296656WQmWDF','345866IqrEMZ','length'];a213_0x1211=function(){return _0x5d79c1;};return a213_0x1211();}function a213_0x143f(_0x59d32b,_0x1d95c8){_0x59d32b=_0x59d32b-0x1b5;const _0x1211b8=a213_0x1211();let _0x143ff0=_0x1211b8[_0x59d32b];return _0x143ff0;}(function(_0x5819d5,_0x15a601){const _0x4c7b1e=a213_0x143f,_0x3a1991=_0x5819d5();while(!![]){try{const _0x579b09=parseInt(_0x4c7b1e(0x1b7))/0x1+parseInt(_0x4c7b1e(0x1b6))/0x2+-parseInt(_0x4c7b1e(0x1bb))/0x3+-parseInt(_0x4c7b1e(0x1b5))/0x4+-parseInt(_0x4c7b1e(0x1ba))/0x5*(parseInt(_0x4c7b1e(0x1b9))/0x6)+parseInt(_0x4c7b1e(0x1bd))/0x7*(-parseInt(_0x4c7b1e(0x1bc))/0x8)+parseInt(_0x4c7b1e(0x1bf))/0x9*(parseInt(_0x4c7b1e(0x1c1))/0xa);if(_0x579b09===_0x15a601)break;else _0x3a1991['push'](_0x3a1991['shift']());}catch(_0x3c9952){_0x3a1991['push'](_0x3a1991['shift']());}}}(a213_0x1211,0x937a7));export async function batchAsync(_0xc2f754,_0x115984,_0x5ebe5a=0xa){const _0x41360f=a213_0x143f,_0x27b7dc=[];for(let _0x1031c4=0x0;_0x1031c4<_0xc2f754[_0x41360f(0x1b8)];_0x1031c4+=_0x5ebe5a){const _0x59dc6a=_0xc2f754[_0x41360f(0x1be)](_0x1031c4,_0x1031c4+_0x5ebe5a),_0x44a53d=await Promise['all'](_0x59dc6a[_0x41360f(0x1c0)](_0x115984));_0x27b7dc['push'](..._0x44a53d);}return _0x27b7dc;}
@@ -1 +1 @@
1
- const a214_0x4eea81=a214_0x39bd;function a214_0x6f08(){const _0x3611ad=['40nAbENR','object','number','dim','stdout','24zWZJMj','5660wuONXd','string','isArray','1606750uUhQhu','Chalk','3083349IUQgNw','green','6fIeprb','1218222HQWRgi','6410jwlNtK','7005713yNgmBV','24xasqoo','color','8393826yBDcjD','stringify','map','yellow','entries','length','null','repeat','4QDVrpq','boolean','join'];a214_0x6f08=function(){return _0x3611ad;};return a214_0x6f08();}(function(_0x44c1fe,_0x5fe0c0){const _0x522c2b=a214_0x39bd,_0x471812=_0x44c1fe();while(!![]){try{const _0x5e84a6=-parseInt(_0x522c2b(0x147))/0x1*(parseInt(_0x522c2b(0x12f))/0x2)+parseInt(_0x522c2b(0x134))/0x3+parseInt(_0x522c2b(0x144))/0x4*(parseInt(_0x522c2b(0x138))/0x5)+parseInt(_0x522c2b(0x136))/0x6*(-parseInt(_0x522c2b(0x13c))/0x7)+parseInt(_0x522c2b(0x13a))/0x8*(-parseInt(_0x522c2b(0x137))/0x9)+parseInt(_0x522c2b(0x132))/0xa+-parseInt(_0x522c2b(0x139))/0xb*(-parseInt(_0x522c2b(0x12e))/0xc);if(_0x5e84a6===_0x5fe0c0)break;else _0x471812['push'](_0x471812['shift']());}catch(_0x5afd8a){_0x471812['push'](_0x471812['shift']());}}}(a214_0x6f08,0xb5e9a));import*as a214_0x5b8090 from'chalk';const Chalk=a214_0x5b8090[a214_0x4eea81(0x133)];export function shouldUseColor(_0x514ce7={}){const _0x475ea0=a214_0x4eea81;if(_0x514ce7['noColor']===!![])return![];if(_0x514ce7[_0x475ea0(0x13b)]===!![])return!![];if(process.env.NO_COLOR!==undefined)return![];return process[_0x475ea0(0x12d)]['isTTY']??![];}export function getChalk(_0x14c418={}){if(shouldUseColor(_0x14c418))return new Chalk({'level':0x3});return new Chalk({'level':0x0});}export function colorBorder(_0x394f71,_0x17fe56={}){const _0x235c05=a214_0x4eea81;return getChalk(_0x17fe56)[_0x235c05(0x12c)](_0x394f71);}export function colorHeader(_0x47960e,_0x362179={}){return getChalk(_0x362179)['cyan'](_0x47960e);}export function colorType(_0x4cd4fb,_0x2c71a9={}){const _0x283b73=a214_0x4eea81;return getChalk(_0x2c71a9)[_0x283b73(0x12c)](_0x4cd4fb);}export function colorJSONKey(_0x5dc6ce,_0x53a432={}){return getChalk(_0x53a432)['blue'](_0x5dc6ce);}export function colorJSONString(_0x39d9b7,_0xdb7701={}){const _0x2c7e54=a214_0x4eea81;return getChalk(_0xdb7701)[_0x2c7e54(0x135)](_0x39d9b7);}export function colorJSONNumber(_0x4572a1,_0x769210={}){return getChalk(_0x769210)['cyan'](_0x4572a1);}export function colorJSONBoolean(_0x174d37,_0x493e6a={}){const _0x3ed5d3=a214_0x4eea81;return getChalk(_0x493e6a)[_0x3ed5d3(0x13f)](_0x174d37);}export function colorJSONNull(_0x29186a,_0xecc8a8={}){const _0x1862bc=a214_0x4eea81;return getChalk(_0xecc8a8)[_0x1862bc(0x12c)](_0x29186a);}function a214_0x39bd(_0x39b77f,_0x1daeb6){_0x39b77f=_0x39b77f-0x12a;const _0x6f086b=a214_0x6f08();let _0x39bdaa=_0x6f086b[_0x39b77f];return _0x39bdaa;}export function colorizeJSONCompact(_0x7545f4,_0x3774a3={}){const _0x5ba85e=a214_0x4eea81;if(!shouldUseColor(_0x3774a3))return JSON[_0x5ba85e(0x13d)](_0x7545f4);if(_0x7545f4===null)return colorJSONNull(_0x5ba85e(0x142),_0x3774a3);if(typeof _0x7545f4===_0x5ba85e(0x145))return colorJSONBoolean(String(_0x7545f4),_0x3774a3);if(typeof _0x7545f4===_0x5ba85e(0x12b))return colorJSONNumber(String(_0x7545f4),_0x3774a3);if(typeof _0x7545f4===_0x5ba85e(0x130))return colorJSONString(JSON[_0x5ba85e(0x13d)](_0x7545f4),_0x3774a3);if(Array[_0x5ba85e(0x131)](_0x7545f4)){if(_0x7545f4[_0x5ba85e(0x141)]===0x0)return'[]';const _0x111dc7=_0x7545f4[_0x5ba85e(0x13e)](_0x534481=>colorizeJSONCompact(_0x534481,_0x3774a3));return'['+_0x111dc7[_0x5ba85e(0x146)](',')+']';}if(typeof _0x7545f4===_0x5ba85e(0x12a)){const _0x200310=Object[_0x5ba85e(0x140)](_0x7545f4);if(_0x200310[_0x5ba85e(0x141)]===0x0)return'{}';const _0x5d2b9f=_0x200310[_0x5ba85e(0x13e)](([_0x3fd78b,_0x583752])=>{const _0x289ba2=_0x5ba85e,_0x1a234a=colorJSONKey(JSON[_0x289ba2(0x13d)](_0x3fd78b),_0x3774a3),_0x15543d=colorizeJSONCompact(_0x583752,_0x3774a3);return _0x1a234a+':'+_0x15543d;});return'{'+_0x5d2b9f['join'](',')+'}';}return String(_0x7545f4);}export function colorizeJSON(_0x2807da,_0x59acc1={},_0x6ca48a=0x0){const _0x510ebe=a214_0x4eea81;if(!shouldUseColor(_0x59acc1))return JSON['stringify'](_0x2807da,null,0x2);const _0x1e8d60='\x20'['repeat'](_0x6ca48a),_0x1fe429=_0x6ca48a+0x2;if(_0x2807da===null)return colorJSONNull('null',_0x59acc1);if(typeof _0x2807da===_0x510ebe(0x145))return colorJSONBoolean(String(_0x2807da),_0x59acc1);if(typeof _0x2807da===_0x510ebe(0x12b))return colorJSONNumber(String(_0x2807da),_0x59acc1);if(typeof _0x2807da===_0x510ebe(0x130))return colorJSONString(JSON['stringify'](_0x2807da),_0x59acc1);if(Array[_0x510ebe(0x131)](_0x2807da)){if(_0x2807da[_0x510ebe(0x141)]===0x0)return'[]';const _0x5519d2=_0x2807da[_0x510ebe(0x13e)](_0x134711=>{const _0x5f4db5=_0x510ebe,_0x58f3a6=colorizeJSON(_0x134711,_0x59acc1,_0x1fe429);return''+'\x20'[_0x5f4db5(0x143)](_0x1fe429)+_0x58f3a6;});return'[\x0a'+_0x5519d2[_0x510ebe(0x146)](',\x0a')+('\x0a'+_0x1e8d60+']');}if(typeof _0x2807da===_0x510ebe(0x12a)){const _0x563429=Object[_0x510ebe(0x140)](_0x2807da);if(_0x563429['length']===0x0)return'{}';const _0x6d25aa=_0x563429['map'](([_0x1fc2b6,_0x2f878f])=>{const _0x553cd9=_0x510ebe,_0x54e179=colorJSONKey(JSON[_0x553cd9(0x13d)](_0x1fc2b6),_0x59acc1),_0x52d928=colorizeJSON(_0x2f878f,_0x59acc1,_0x1fe429);return''+'\x20'['repeat'](_0x1fe429)+_0x54e179+':\x20'+_0x52d928;});return'{\x0a'+_0x6d25aa[_0x510ebe(0x146)](',\x0a')+('\x0a'+_0x1e8d60+'}');}return String(_0x2807da);}
1
+ const a214_0x55e4c0=a214_0x495a;(function(_0x6fad77,_0x43ca91){const _0x3478d3=a214_0x495a,_0x394b19=_0x6fad77();while(!![]){try{const _0x55d4ef=parseInt(_0x3478d3(0x169))/0x1+-parseInt(_0x3478d3(0x15c))/0x2+-parseInt(_0x3478d3(0x166))/0x3*(parseInt(_0x3478d3(0x15b))/0x4)+parseInt(_0x3478d3(0x172))/0x5*(parseInt(_0x3478d3(0x164))/0x6)+-parseInt(_0x3478d3(0x15a))/0x7+-parseInt(_0x3478d3(0x16e))/0x8*(-parseInt(_0x3478d3(0x171))/0x9)+parseInt(_0x3478d3(0x162))/0xa;if(_0x55d4ef===_0x43ca91)break;else _0x394b19['push'](_0x394b19['shift']());}catch(_0x52b3c6){_0x394b19['push'](_0x394b19['shift']());}}}(a214_0x10d9,0xb102c));import*as a214_0x40b816 from'chalk';const Chalk=a214_0x40b816[a214_0x55e4c0(0x175)];export function shouldUseColor(_0xc61212={}){const _0x3111b0=a214_0x55e4c0;if(_0xc61212[_0x3111b0(0x157)]===!![])return![];if(_0xc61212[_0x3111b0(0x167)]===!![])return!![];if(process.env.NO_COLOR!==undefined)return![];return process[_0x3111b0(0x159)][_0x3111b0(0x16c)]??![];}function a214_0x10d9(){const _0x7e7f3a=['isTTY','join','8WVJsNU','map','yellow','4357107ZbaZFt','10hkVUQw','string','dim','Chalk','noColor','isArray','stdout','3472084nERPSd','4yZGUMw','2849758drIzJN','length','repeat','number','null','blue','31947870LgYjMc','cyan','174690JgyLgi','entries','4313067moCFPP','color','green','346476azEMQI','boolean','stringify'];a214_0x10d9=function(){return _0x7e7f3a;};return a214_0x10d9();}export function getChalk(_0x531485={}){if(shouldUseColor(_0x531485))return new Chalk({'level':0x3});return new Chalk({'level':0x0});}export function colorBorder(_0x36cd9c,_0x4748a1={}){const _0x255bb6=a214_0x55e4c0;return getChalk(_0x4748a1)[_0x255bb6(0x174)](_0x36cd9c);}export function colorHeader(_0x182da1,_0x188e86={}){const _0x2cc815=a214_0x55e4c0;return getChalk(_0x188e86)[_0x2cc815(0x163)](_0x182da1);}export function colorType(_0x424e1d,_0x48f5c7={}){const _0x1bfdd9=a214_0x55e4c0;return getChalk(_0x48f5c7)[_0x1bfdd9(0x174)](_0x424e1d);}export function colorJSONKey(_0x552db5,_0x17e93c={}){const _0x85fc5d=a214_0x55e4c0;return getChalk(_0x17e93c)[_0x85fc5d(0x161)](_0x552db5);}export function colorJSONString(_0x7f870e,_0x15ccdf={}){const _0x19f842=a214_0x55e4c0;return getChalk(_0x15ccdf)[_0x19f842(0x168)](_0x7f870e);}export function colorJSONNumber(_0x3d4d58,_0x4c4c00={}){const _0x34fd9e=a214_0x55e4c0;return getChalk(_0x4c4c00)[_0x34fd9e(0x163)](_0x3d4d58);}export function colorJSONBoolean(_0x8d2e51,_0x1741ee={}){const _0x3579ef=a214_0x55e4c0;return getChalk(_0x1741ee)[_0x3579ef(0x170)](_0x8d2e51);}export function colorJSONNull(_0x4ee1ae,_0x5507e1={}){const _0x3b98cf=a214_0x55e4c0;return getChalk(_0x5507e1)[_0x3b98cf(0x174)](_0x4ee1ae);}function a214_0x495a(_0x55bd68,_0x259c10){_0x55bd68=_0x55bd68-0x157;const _0x10d910=a214_0x10d9();let _0x495a53=_0x10d910[_0x55bd68];return _0x495a53;}export function colorizeJSONCompact(_0x3d8db6,_0x12074f={}){const _0x1fd0d5=a214_0x55e4c0;if(!shouldUseColor(_0x12074f))return JSON['stringify'](_0x3d8db6);if(_0x3d8db6===null)return colorJSONNull(_0x1fd0d5(0x160),_0x12074f);if(typeof _0x3d8db6===_0x1fd0d5(0x16a))return colorJSONBoolean(String(_0x3d8db6),_0x12074f);if(typeof _0x3d8db6===_0x1fd0d5(0x15f))return colorJSONNumber(String(_0x3d8db6),_0x12074f);if(typeof _0x3d8db6===_0x1fd0d5(0x173))return colorJSONString(JSON[_0x1fd0d5(0x16b)](_0x3d8db6),_0x12074f);if(Array['isArray'](_0x3d8db6)){if(_0x3d8db6[_0x1fd0d5(0x15d)]===0x0)return'[]';const _0x340ec2=_0x3d8db6[_0x1fd0d5(0x16f)](_0x4fe22f=>colorizeJSONCompact(_0x4fe22f,_0x12074f));return'['+_0x340ec2[_0x1fd0d5(0x16d)](',')+']';}if(typeof _0x3d8db6==='object'){const _0x34eca0=Object['entries'](_0x3d8db6);if(_0x34eca0[_0x1fd0d5(0x15d)]===0x0)return'{}';const _0xfd70f6=_0x34eca0[_0x1fd0d5(0x16f)](([_0x56a68f,_0x28c1e1])=>{const _0x133fdb=_0x1fd0d5,_0x5e6b58=colorJSONKey(JSON[_0x133fdb(0x16b)](_0x56a68f),_0x12074f),_0x20e515=colorizeJSONCompact(_0x28c1e1,_0x12074f);return _0x5e6b58+':'+_0x20e515;});return'{'+_0xfd70f6[_0x1fd0d5(0x16d)](',')+'}';}return String(_0x3d8db6);}export function colorizeJSON(_0x5e4e89,_0xb200a1={},_0x8649c5=0x0){const _0x1a451f=a214_0x55e4c0;if(!shouldUseColor(_0xb200a1))return JSON[_0x1a451f(0x16b)](_0x5e4e89,null,0x2);const _0x14897b='\x20'[_0x1a451f(0x15e)](_0x8649c5),_0xe7b78a=_0x8649c5+0x2;if(_0x5e4e89===null)return colorJSONNull(_0x1a451f(0x160),_0xb200a1);if(typeof _0x5e4e89===_0x1a451f(0x16a))return colorJSONBoolean(String(_0x5e4e89),_0xb200a1);if(typeof _0x5e4e89===_0x1a451f(0x15f))return colorJSONNumber(String(_0x5e4e89),_0xb200a1);if(typeof _0x5e4e89==='string')return colorJSONString(JSON[_0x1a451f(0x16b)](_0x5e4e89),_0xb200a1);if(Array[_0x1a451f(0x158)](_0x5e4e89)){if(_0x5e4e89[_0x1a451f(0x15d)]===0x0)return'[]';const _0x44974b=_0x5e4e89[_0x1a451f(0x16f)](_0x997d16=>{const _0x224982=_0x1a451f,_0xb0f1be=colorizeJSON(_0x997d16,_0xb200a1,_0xe7b78a);return''+'\x20'[_0x224982(0x15e)](_0xe7b78a)+_0xb0f1be;});return'[\x0a'+_0x44974b[_0x1a451f(0x16d)](',\x0a')+('\x0a'+_0x14897b+']');}if(typeof _0x5e4e89==='object'){const _0x5b4443=Object[_0x1a451f(0x165)](_0x5e4e89);if(_0x5b4443[_0x1a451f(0x15d)]===0x0)return'{}';const _0x40a58e=_0x5b4443[_0x1a451f(0x16f)](([_0x45b890,_0xe4563c])=>{const _0x2bae5b=_0x1a451f,_0x233189=colorJSONKey(JSON[_0x2bae5b(0x16b)](_0x45b890),_0xb200a1),_0x552447=colorizeJSON(_0xe4563c,_0xb200a1,_0xe7b78a);return''+'\x20'[_0x2bae5b(0x15e)](_0xe7b78a)+_0x233189+':\x20'+_0x552447;});return'{\x0a'+_0x40a58e[_0x1a451f(0x16d)](',\x0a')+('\x0a'+_0x14897b+'}');}return String(_0x5e4e89);}
@@ -1 +1 @@
1
- (function(_0x37558e,_0x22a0f1){const _0x2b5e1d=a215_0x30a8,_0x286891=_0x37558e();while(!![]){try{const _0x2c5b56=-parseInt(_0x2b5e1d(0x20d))/0x1+-parseInt(_0x2b5e1d(0x209))/0x2*(-parseInt(_0x2b5e1d(0x207))/0x3)+parseInt(_0x2b5e1d(0x1f8))/0x4*(parseInt(_0x2b5e1d(0x1ff))/0x5)+parseInt(_0x2b5e1d(0x1ef))/0x6+-parseInt(_0x2b5e1d(0x1f3))/0x7+-parseInt(_0x2b5e1d(0x1f7))/0x8+parseInt(_0x2b5e1d(0x1fb))/0x9*(parseInt(_0x2b5e1d(0x1fa))/0xa);if(_0x2c5b56===_0x22a0f1)break;else _0x286891['push'](_0x286891['shift']());}catch(_0x4c96f0){_0x286891['push'](_0x286891['shift']());}}}(a215_0x256e,0xbf331));import a215_0x56d617 from'chalk';export function generateDiff(_0x4bee80,_0x1fbac6){const _0x11ba71=a215_0x30a8,_0x47a05c=_0x4bee80[_0x11ba71(0x1fe)]('\x0a'),_0x27535f=_0x1fbac6[_0x11ba71(0x1fe)]('\x0a'),_0x3a4382=[],_0x223bc6=computeLCS(_0x47a05c,_0x27535f);let _0xdec2d1=0x0,_0x132da1=0x0,_0x510fd7=0x0;while(_0xdec2d1<_0x47a05c[_0x11ba71(0x20e)]||_0x132da1<_0x27535f[_0x11ba71(0x20e)]){if(_0x510fd7<_0x223bc6[_0x11ba71(0x20e)]&&_0xdec2d1<_0x47a05c['length']&&_0x47a05c[_0xdec2d1]===_0x223bc6[_0x510fd7])_0x132da1<_0x27535f['length']&&_0x27535f[_0x132da1]===_0x223bc6[_0x510fd7]?(_0x3a4382[_0x11ba71(0x1fd)]({'type':_0x11ba71(0x1f0),'content':_0x47a05c[_0xdec2d1]}),_0xdec2d1++,_0x132da1++,_0x510fd7++):(_0x3a4382[_0x11ba71(0x1fd)]({'type':_0x11ba71(0x208),'content':_0x27535f[_0x132da1]}),_0x132da1++);else{if(_0x510fd7<_0x223bc6[_0x11ba71(0x20e)]&&_0x132da1<_0x27535f[_0x11ba71(0x20e)]&&_0x27535f[_0x132da1]===_0x223bc6[_0x510fd7])_0x3a4382[_0x11ba71(0x1fd)]({'type':_0x11ba71(0x1f9),'content':_0x47a05c[_0xdec2d1]}),_0xdec2d1++;else{if(_0xdec2d1<_0x47a05c[_0x11ba71(0x20e)]&&(_0x510fd7>=_0x223bc6['length']||_0x47a05c[_0xdec2d1]!==_0x223bc6[_0x510fd7]))_0x3a4382['push']({'type':_0x11ba71(0x1f9),'content':_0x47a05c[_0xdec2d1]}),_0xdec2d1++;else _0x132da1<_0x27535f['length']&&(_0x3a4382[_0x11ba71(0x1fd)]({'type':_0x11ba71(0x208),'content':_0x27535f[_0x132da1]}),_0x132da1++);}}}return _0x3a4382;}function a215_0x256e(){const _0x2bce02=['4110EIfpHB','max','repeat','type','cyan','content','has','green','269211NvLBTx','added','20UYFikA','unshift','\x20-\x20','min','271879BEdSnx','length','padStart','dim','forEach','5872476ysfrWi','unchanged','join','new','8689471CCNztf','red','\x20\x20\x20','\x20+\x20','11657960aIBuwk','36mcZBzB','removed','20YLwBKP','8415522RUVocl','old','push','split'];a215_0x256e=function(){return _0x2bce02;};return a215_0x256e();}function a215_0x30a8(_0x4ef141,_0x2574f9){_0x4ef141=_0x4ef141-0x1ec;const _0x256ed0=a215_0x256e();let _0x30a897=_0x256ed0[_0x4ef141];return _0x30a897;}function computeLCS(_0x513c8b,_0xe1a04b){const _0x84a620=a215_0x30a8,_0x2a0ca5=_0x513c8b[_0x84a620(0x20e)],_0x4a36cd=_0xe1a04b['length'],_0x3532fd=Array(_0x2a0ca5+0x1)['fill'](null)['map'](()=>Array(_0x4a36cd+0x1)['fill'](0x0));for(let _0x2be03b=0x1;_0x2be03b<=_0x2a0ca5;_0x2be03b++){for(let _0x3e7bb5=0x1;_0x3e7bb5<=_0x4a36cd;_0x3e7bb5++){_0x513c8b[_0x2be03b-0x1]===_0xe1a04b[_0x3e7bb5-0x1]?_0x3532fd[_0x2be03b][_0x3e7bb5]=_0x3532fd[_0x2be03b-0x1][_0x3e7bb5-0x1]+0x1:_0x3532fd[_0x2be03b][_0x3e7bb5]=Math[_0x84a620(0x200)](_0x3532fd[_0x2be03b-0x1][_0x3e7bb5],_0x3532fd[_0x2be03b][_0x3e7bb5-0x1]);}}const _0x2b485b=[];let _0x2d7b65=_0x2a0ca5,_0x711e2d=_0x4a36cd;while(_0x2d7b65>0x0&&_0x711e2d>0x0){if(_0x513c8b[_0x2d7b65-0x1]===_0xe1a04b[_0x711e2d-0x1])_0x2b485b[_0x84a620(0x20a)](_0x513c8b[_0x2d7b65-0x1]),_0x2d7b65--,_0x711e2d--;else _0x3532fd[_0x2d7b65-0x1][_0x711e2d]>_0x3532fd[_0x2d7b65][_0x711e2d-0x1]?_0x2d7b65--:_0x711e2d--;}return _0x2b485b;}export function formatDiffWithColors(_0xeff9a5,_0x91d18c=0x3){const _0x40a4a0=a215_0x30a8,_0x550e45=new Set();_0xeff9a5[_0x40a4a0(0x1ee)]((_0x142b9d,_0x3a502d)=>{const _0x1e9b30=_0x40a4a0;_0x142b9d[_0x1e9b30(0x202)]!=='unchanged'&&_0x550e45['add'](_0x3a502d);});if(_0x550e45['size']===0x0)return'';const _0x1d5fdb=new Set();for(const _0x497dd9 of _0x550e45){for(let _0x39bfae=Math[_0x40a4a0(0x200)](0x0,_0x497dd9-_0x91d18c);_0x39bfae<=Math[_0x40a4a0(0x20c)](_0xeff9a5['length']-0x1,_0x497dd9+_0x91d18c);_0x39bfae++){_0x1d5fdb['add'](_0x39bfae);}}const _0x4ac84c=[];let _0x5f12f7=-0x1;const _0x5c9d3b=_0xeff9a5[_0x40a4a0(0x20e)],_0x4939fb=Math[_0x40a4a0(0x200)](0x3,String(_0x5c9d3b)[_0x40a4a0(0x20e)]),_0x40da5c=[];let _0x2fe8ce=0x0,_0x7b4bb7=0x0;for(const _0x27b286 of _0xeff9a5){if(_0x27b286[_0x40a4a0(0x202)]===_0x40a4a0(0x1f9))_0x2fe8ce++,_0x40da5c['push']({'old':_0x2fe8ce,'new':0x0});else _0x27b286[_0x40a4a0(0x202)]===_0x40a4a0(0x208)?(_0x7b4bb7++,_0x40da5c[_0x40a4a0(0x1fd)]({'old':0x0,'new':_0x7b4bb7})):(_0x2fe8ce++,_0x7b4bb7++,_0x40da5c['push']({'old':_0x2fe8ce,'new':_0x7b4bb7}));}for(let _0x308dc4=0x0;_0x308dc4<_0xeff9a5['length'];_0x308dc4++){if(!_0x1d5fdb[_0x40a4a0(0x205)](_0x308dc4))continue;_0x5f12f7!==-0x1&&_0x308dc4>_0x5f12f7+0x1&&_0x4ac84c[_0x40a4a0(0x1fd)](a215_0x56d617[_0x40a4a0(0x203)]('\x20\x20...'));_0x5f12f7=_0x308dc4;const _0x20ce51=_0xeff9a5[_0x308dc4],_0x28efcb=_0x40da5c[_0x308dc4],_0x1f1a60=_0x28efcb[_0x40a4a0(0x1fc)]>0x0?String(_0x28efcb['old'])[_0x40a4a0(0x1ec)](_0x4939fb):'\x20'[_0x40a4a0(0x201)](_0x4939fb),_0xd6e89c=_0x28efcb[_0x40a4a0(0x1f2)]>0x0?String(_0x28efcb[_0x40a4a0(0x1f2)])[_0x40a4a0(0x1ec)](_0x4939fb):'\x20'[_0x40a4a0(0x201)](_0x4939fb);switch(_0x20ce51[_0x40a4a0(0x202)]){case _0x40a4a0(0x1f9):_0x4ac84c['push'](a215_0x56d617[_0x40a4a0(0x1f4)](_0x1f1a60+'\x20'+_0xd6e89c+_0x40a4a0(0x20b)+_0x20ce51['content']));break;case'added':_0x4ac84c['push'](a215_0x56d617[_0x40a4a0(0x206)](_0x1f1a60+'\x20'+_0xd6e89c+_0x40a4a0(0x1f6)+_0x20ce51[_0x40a4a0(0x204)]));break;default:_0x4ac84c[_0x40a4a0(0x1fd)](a215_0x56d617[_0x40a4a0(0x1ed)](_0x1f1a60+'\x20'+_0xd6e89c+_0x40a4a0(0x1f5)+_0x20ce51['content']));break;}}return _0x4ac84c[_0x40a4a0(0x1f1)]('\x0a');}export function hasChanges(_0x4afada){const _0x3bb956=a215_0x30a8;return _0x4afada['some'](_0x168637=>_0x168637[_0x3bb956(0x202)]!==_0x3bb956(0x1f0));}
1
+ (function(_0x26fddd,_0x47e1d6){const _0x1546fe=a215_0x3bed,_0x304726=_0x26fddd();while(!![]){try{const _0x479a33=-parseInt(_0x1546fe(0x201))/0x1*(parseInt(_0x1546fe(0x20e))/0x2)+-parseInt(_0x1546fe(0x1f9))/0x3*(parseInt(_0x1546fe(0x1fa))/0x4)+parseInt(_0x1546fe(0x1f3))/0x5+-parseInt(_0x1546fe(0x20a))/0x6*(parseInt(_0x1546fe(0x20c))/0x7)+-parseInt(_0x1546fe(0x214))/0x8+parseInt(_0x1546fe(0x1ff))/0x9*(-parseInt(_0x1546fe(0x1f4))/0xa)+parseInt(_0x1546fe(0x1fb))/0xb;if(_0x479a33===_0x47e1d6)break;else _0x304726['push'](_0x304726['shift']());}catch(_0x3fd6b2){_0x304726['push'](_0x304726['shift']());}}}(a215_0x5ad6,0x26356));import a215_0x169e4e from'chalk';function a215_0x5ad6(){const _0x4db0ae=['length','360PgUHCz','map','41rftSvT','removed','push','add','dim','old','has','split','\x20-\x20','420oRogen','some','16723xVDzmQ','padStart','5094UujutV','repeat','content','min','\x20\x20\x20','max','954496LxTNUH','fill','type','red','forEach','625445doRUAd','66750FzbXgu','join','unchanged','\x20+\x20','added','3yuBQRZ','934792bJrPVi','10153880EzGrks','cyan','size'];a215_0x5ad6=function(){return _0x4db0ae;};return a215_0x5ad6();}function a215_0x3bed(_0x44335f,_0x1a7c71){_0x44335f=_0x44335f-0x1f3;const _0x5ad697=a215_0x5ad6();let _0x3bed05=_0x5ad697[_0x44335f];return _0x3bed05;}export function generateDiff(_0x593bd5,_0x1d58ef){const _0x406d4b=a215_0x3bed,_0x4cf7f7=_0x593bd5[_0x406d4b(0x208)]('\x0a'),_0x40dd06=_0x1d58ef[_0x406d4b(0x208)]('\x0a'),_0x5bb2cc=[],_0xc23cac=computeLCS(_0x4cf7f7,_0x40dd06);let _0x504629=0x0,_0x189eb7=0x0,_0x5c6f87=0x0;while(_0x504629<_0x4cf7f7[_0x406d4b(0x1fe)]||_0x189eb7<_0x40dd06[_0x406d4b(0x1fe)]){if(_0x5c6f87<_0xc23cac[_0x406d4b(0x1fe)]&&_0x504629<_0x4cf7f7[_0x406d4b(0x1fe)]&&_0x4cf7f7[_0x504629]===_0xc23cac[_0x5c6f87])_0x189eb7<_0x40dd06[_0x406d4b(0x1fe)]&&_0x40dd06[_0x189eb7]===_0xc23cac[_0x5c6f87]?(_0x5bb2cc[_0x406d4b(0x203)]({'type':_0x406d4b(0x1f6),'content':_0x4cf7f7[_0x504629]}),_0x504629++,_0x189eb7++,_0x5c6f87++):(_0x5bb2cc[_0x406d4b(0x203)]({'type':_0x406d4b(0x1f8),'content':_0x40dd06[_0x189eb7]}),_0x189eb7++);else{if(_0x5c6f87<_0xc23cac['length']&&_0x189eb7<_0x40dd06[_0x406d4b(0x1fe)]&&_0x40dd06[_0x189eb7]===_0xc23cac[_0x5c6f87])_0x5bb2cc['push']({'type':_0x406d4b(0x202),'content':_0x4cf7f7[_0x504629]}),_0x504629++;else{if(_0x504629<_0x4cf7f7[_0x406d4b(0x1fe)]&&(_0x5c6f87>=_0xc23cac[_0x406d4b(0x1fe)]||_0x4cf7f7[_0x504629]!==_0xc23cac[_0x5c6f87]))_0x5bb2cc[_0x406d4b(0x203)]({'type':_0x406d4b(0x202),'content':_0x4cf7f7[_0x504629]}),_0x504629++;else _0x189eb7<_0x40dd06[_0x406d4b(0x1fe)]&&(_0x5bb2cc[_0x406d4b(0x203)]({'type':'added','content':_0x40dd06[_0x189eb7]}),_0x189eb7++);}}}return _0x5bb2cc;}function computeLCS(_0x496704,_0x125155){const _0x4913b2=a215_0x3bed,_0x3f4403=_0x496704[_0x4913b2(0x1fe)],_0x252b1e=_0x125155[_0x4913b2(0x1fe)],_0x4f9060=Array(_0x3f4403+0x1)[_0x4913b2(0x215)](null)[_0x4913b2(0x200)](()=>Array(_0x252b1e+0x1)[_0x4913b2(0x215)](0x0));for(let _0x3cc260=0x1;_0x3cc260<=_0x3f4403;_0x3cc260++){for(let _0x4edbfc=0x1;_0x4edbfc<=_0x252b1e;_0x4edbfc++){_0x496704[_0x3cc260-0x1]===_0x125155[_0x4edbfc-0x1]?_0x4f9060[_0x3cc260][_0x4edbfc]=_0x4f9060[_0x3cc260-0x1][_0x4edbfc-0x1]+0x1:_0x4f9060[_0x3cc260][_0x4edbfc]=Math['max'](_0x4f9060[_0x3cc260-0x1][_0x4edbfc],_0x4f9060[_0x3cc260][_0x4edbfc-0x1]);}}const _0x53792f=[];let _0x14cc32=_0x3f4403,_0x43d742=_0x252b1e;while(_0x14cc32>0x0&&_0x43d742>0x0){if(_0x496704[_0x14cc32-0x1]===_0x125155[_0x43d742-0x1])_0x53792f['unshift'](_0x496704[_0x14cc32-0x1]),_0x14cc32--,_0x43d742--;else _0x4f9060[_0x14cc32-0x1][_0x43d742]>_0x4f9060[_0x14cc32][_0x43d742-0x1]?_0x14cc32--:_0x43d742--;}return _0x53792f;}export function formatDiffWithColors(_0x4d9536,_0xaa184=0x3){const _0x4c76b6=a215_0x3bed,_0x5637de=new Set();_0x4d9536[_0x4c76b6(0x218)]((_0x1e57d3,_0x2f66e4)=>{const _0x19ba8a=_0x4c76b6;_0x1e57d3[_0x19ba8a(0x216)]!==_0x19ba8a(0x1f6)&&_0x5637de[_0x19ba8a(0x204)](_0x2f66e4);});if(_0x5637de[_0x4c76b6(0x1fd)]===0x0)return'';const _0x406702=new Set();for(const _0x1ef25 of _0x5637de){for(let _0xc4e6fe=Math[_0x4c76b6(0x213)](0x0,_0x1ef25-_0xaa184);_0xc4e6fe<=Math[_0x4c76b6(0x211)](_0x4d9536['length']-0x1,_0x1ef25+_0xaa184);_0xc4e6fe++){_0x406702[_0x4c76b6(0x204)](_0xc4e6fe);}}const _0x115d30=[];let _0x11ab43=-0x1;const _0x5cc918=_0x4d9536[_0x4c76b6(0x1fe)],_0x3fb8ed=Math['max'](0x3,String(_0x5cc918)[_0x4c76b6(0x1fe)]),_0xce4a3d=[];let _0x1c3647=0x0,_0x462cc2=0x0;for(const _0x16eadf of _0x4d9536){if(_0x16eadf[_0x4c76b6(0x216)]===_0x4c76b6(0x202))_0x1c3647++,_0xce4a3d[_0x4c76b6(0x203)]({'old':_0x1c3647,'new':0x0});else _0x16eadf[_0x4c76b6(0x216)]===_0x4c76b6(0x1f8)?(_0x462cc2++,_0xce4a3d[_0x4c76b6(0x203)]({'old':0x0,'new':_0x462cc2})):(_0x1c3647++,_0x462cc2++,_0xce4a3d[_0x4c76b6(0x203)]({'old':_0x1c3647,'new':_0x462cc2}));}for(let _0x3f652f=0x0;_0x3f652f<_0x4d9536[_0x4c76b6(0x1fe)];_0x3f652f++){if(!_0x406702[_0x4c76b6(0x207)](_0x3f652f))continue;_0x11ab43!==-0x1&&_0x3f652f>_0x11ab43+0x1&&_0x115d30[_0x4c76b6(0x203)](a215_0x169e4e[_0x4c76b6(0x1fc)]('\x20\x20...'));_0x11ab43=_0x3f652f;const _0xbf999c=_0x4d9536[_0x3f652f],_0x4ca0b8=_0xce4a3d[_0x3f652f],_0x4caec8=_0x4ca0b8[_0x4c76b6(0x206)]>0x0?String(_0x4ca0b8[_0x4c76b6(0x206)])[_0x4c76b6(0x20d)](_0x3fb8ed):'\x20'[_0x4c76b6(0x20f)](_0x3fb8ed),_0x57fdc2=_0x4ca0b8['new']>0x0?String(_0x4ca0b8['new'])[_0x4c76b6(0x20d)](_0x3fb8ed):'\x20'[_0x4c76b6(0x20f)](_0x3fb8ed);switch(_0xbf999c[_0x4c76b6(0x216)]){case _0x4c76b6(0x202):_0x115d30[_0x4c76b6(0x203)](a215_0x169e4e[_0x4c76b6(0x217)](_0x4caec8+'\x20'+_0x57fdc2+_0x4c76b6(0x209)+_0xbf999c[_0x4c76b6(0x210)]));break;case _0x4c76b6(0x1f8):_0x115d30[_0x4c76b6(0x203)](a215_0x169e4e['green'](_0x4caec8+'\x20'+_0x57fdc2+_0x4c76b6(0x1f7)+_0xbf999c[_0x4c76b6(0x210)]));break;default:_0x115d30[_0x4c76b6(0x203)](a215_0x169e4e[_0x4c76b6(0x205)](_0x4caec8+'\x20'+_0x57fdc2+_0x4c76b6(0x212)+_0xbf999c[_0x4c76b6(0x210)]));break;}}return _0x115d30[_0x4c76b6(0x1f5)]('\x0a');}export function hasChanges(_0x4405a6){const _0x59c8e0=a215_0x3bed;return _0x4405a6[_0x59c8e0(0x20b)](_0x2afa72=>_0x2afa72[_0x59c8e0(0x216)]!==_0x59c8e0(0x1f6));}
@@ -1 +1 @@
1
- (function(_0x573a93,_0xd7735c){const _0x532522=a216_0x51e8,_0x48e13b=_0x573a93();while(!![]){try{const _0x4dcf4f=-parseInt(_0x532522(0x126))/0x1*(-parseInt(_0x532522(0x121))/0x2)+-parseInt(_0x532522(0x135))/0x3*(-parseInt(_0x532522(0x129))/0x4)+parseInt(_0x532522(0x12b))/0x5*(parseInt(_0x532522(0x125))/0x6)+parseInt(_0x532522(0x132))/0x7+parseInt(_0x532522(0x12f))/0x8+-parseInt(_0x532522(0x131))/0x9*(-parseInt(_0x532522(0x130))/0xa)+-parseInt(_0x532522(0x123))/0xb;if(_0x4dcf4f===_0xd7735c)break;else _0x48e13b['push'](_0x48e13b['shift']());}catch(_0x38fa3e){_0x48e13b['push'](_0x48e13b['shift']());}}}(a216_0x5315,0x628ab));import*as a216_0x32d234 from'node:fs';function a216_0x51e8(_0x13646d,_0x30f126){_0x13646d=_0x13646d-0x11f;const _0x531528=a216_0x5315();let _0x51e809=_0x531528[_0x13646d];return _0x51e809;}import*as a216_0x5b9b68 from'node:path';function a216_0x5315(){const _0x109462=['existsSync','writeFileSync','warn','4336392oWLuvx','8070NGYtsd','6723klYRfn','3702699oZhreD','Warning:\x20','Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20','21JpatTr','chmodSync','mode','191686aMFUbm',').\x20','26146835PtvjuR','Should\x20be\x200600\x20or\x20more\x20restrictive.','18hIKydZ','3GARznk','dirname','statSync','135668ddMQdO','toString','969715joLbqE'];a216_0x5315=function(){return _0x109462;};return a216_0x5315();}export function setSecureFilePermissions(_0x1459ce){const _0x3e48d9=a216_0x51e8;try{a216_0x32d234[_0x3e48d9(0x11f)](_0x1459ce,0x180);}catch{console['warn'](_0x3e48d9(0x134)+_0x1459ce);}}export function setSecureDirectoryPermissions(_0x35a470){const _0x20c4a8=a216_0x51e8;try{a216_0x32d234['chmodSync'](_0x35a470,0x1c0);}catch{console[_0x20c4a8(0x12e)](_0x20c4a8(0x134)+_0x35a470);}}export function createSecureDirectory(_0x49e9c0){const _0x3adcdf=a216_0x51e8;!a216_0x32d234[_0x3adcdf(0x12c)](_0x49e9c0)&&(a216_0x32d234['mkdirSync'](_0x49e9c0,{'recursive':!![],'mode':0x1c0}),setSecureDirectoryPermissions(_0x49e9c0));}export function validateSecureFilePermissions(_0x4e15bd){const _0x5d9619=a216_0x51e8;try{const _0x257aab=a216_0x32d234[_0x5d9619(0x128)](_0x4e15bd),_0x1c157f=_0x257aab[_0x5d9619(0x120)]&0x1ff,_0x5b9d63=(_0x1c157f&0x3f)!==0x0;if(_0x5b9d63)return console['warn'](_0x5d9619(0x133)+_0x4e15bd+'\x20has\x20insecure\x20permissions\x20('+_0x1c157f[_0x5d9619(0x12a)](0x8)+_0x5d9619(0x122)+_0x5d9619(0x124)),![];return!![];}catch{return!![];}}export function writeSecureFile(_0x505a66,_0x18d35a){const _0x42083b=a216_0x51e8,_0x5d786c=a216_0x5b9b68[_0x42083b(0x127)](_0x505a66);createSecureDirectory(_0x5d786c),a216_0x32d234[_0x42083b(0x12d)](_0x505a66,_0x18d35a,{'mode':0x180}),setSecureFilePermissions(_0x505a66);}
1
+ (function(_0x5c9a81,_0x28e902){const _0x41a2eb=a216_0x5662,_0x52c3e4=_0x5c9a81();while(!![]){try{const _0x2bb91d=-parseInt(_0x41a2eb(0x16b))/0x1+-parseInt(_0x41a2eb(0x15d))/0x2+-parseInt(_0x41a2eb(0x16d))/0x3*(parseInt(_0x41a2eb(0x16e))/0x4)+-parseInt(_0x41a2eb(0x166))/0x5*(-parseInt(_0x41a2eb(0x164))/0x6)+parseInt(_0x41a2eb(0x15c))/0x7+-parseInt(_0x41a2eb(0x168))/0x8+parseInt(_0x41a2eb(0x161))/0x9;if(_0x2bb91d===_0x28e902)break;else _0x52c3e4['push'](_0x52c3e4['shift']());}catch(_0x291d04){_0x52c3e4['push'](_0x52c3e4['shift']());}}}(a216_0x3e3a,0xa698d));import*as a216_0x536dda from'node:fs';import*as a216_0x5ddd0d from'node:path';function a216_0x5662(_0x15c36b,_0x34fa2f){_0x15c36b=_0x15c36b-0x15c;const _0x3e3ab0=a216_0x3e3a();let _0x566297=_0x3e3ab0[_0x15c36b];return _0x566297;}export function setSecureFilePermissions(_0x12d525){const _0x3d3e3b=a216_0x5662;try{a216_0x536dda[_0x3d3e3b(0x15e)](_0x12d525,0x180);}catch{console[_0x3d3e3b(0x15f)](_0x3d3e3b(0x165)+_0x12d525);}}export function setSecureDirectoryPermissions(_0x244c89){const _0x41df0e=a216_0x5662;try{a216_0x536dda['chmodSync'](_0x244c89,0x1c0);}catch{console[_0x41df0e(0x15f)](_0x41df0e(0x165)+_0x244c89);}}export function createSecureDirectory(_0x48ed0f){const _0x392ef5=a216_0x5662;!a216_0x536dda[_0x392ef5(0x162)](_0x48ed0f)&&(a216_0x536dda[_0x392ef5(0x16f)](_0x48ed0f,{'recursive':!![],'mode':0x1c0}),setSecureDirectoryPermissions(_0x48ed0f));}export function validateSecureFilePermissions(_0x1797aa){const _0x390528=a216_0x5662;try{const _0x35849f=a216_0x536dda['statSync'](_0x1797aa),_0x1009c4=_0x35849f[_0x390528(0x16a)]&0x1ff,_0x17c439=(_0x1009c4&0x3f)!==0x0;if(_0x17c439)return console['warn'](_0x390528(0x169)+_0x1797aa+_0x390528(0x16c)+_0x1009c4['toString'](0x8)+_0x390528(0x160)+_0x390528(0x167)),![];return!![];}catch{return!![];}}export function writeSecureFile(_0x4722c6,_0x2d49dc){const _0x5c1790=a216_0x5662,_0x169a07=a216_0x5ddd0d[_0x5c1790(0x163)](_0x4722c6);createSecureDirectory(_0x169a07),a216_0x536dda['writeFileSync'](_0x4722c6,_0x2d49dc,{'mode':0x180}),setSecureFilePermissions(_0x4722c6);}function a216_0x3e3a(){const _0x2c8af2=['5825280xrqmFC','Warning:\x20','mode','608245bzTxun','\x20has\x20insecure\x20permissions\x20(','21201fMCbXi','48YjJcbo','mkdirSync','5982158hUttWv','2401110JfzOWT','chmodSync','warn',').\x20','12233106ZVmsdG','existsSync','dirname','6LzOftJ','Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20','5451585QDHIDR','Should\x20be\x200600\x20or\x20more\x20restrictive.'];a216_0x3e3a=function(){return _0x2c8af2;};return a216_0x3e3a();}
@@ -1 +1 @@
1
- (function(_0x340d55,_0x337e62){const _0x1cd6c4=a217_0x24eb,_0xebd3bb=_0x340d55();while(!![]){try{const _0x3b64fe=parseInt(_0x1cd6c4(0xe4))/0x1*(-parseInt(_0x1cd6c4(0xe0))/0x2)+parseInt(_0x1cd6c4(0xd5))/0x3+-parseInt(_0x1cd6c4(0xdb))/0x4*(parseInt(_0x1cd6c4(0xda))/0x5)+parseInt(_0x1cd6c4(0xd8))/0x6*(parseInt(_0x1cd6c4(0xe3))/0x7)+-parseInt(_0x1cd6c4(0xd1))/0x8+parseInt(_0x1cd6c4(0xe1))/0x9+parseInt(_0x1cd6c4(0xdc))/0xa;if(_0x3b64fe===_0x337e62)break;else _0xebd3bb['push'](_0xebd3bb['shift']());}catch(_0x7c5234){_0xebd3bb['push'](_0xebd3bb['shift']());}}}(a217_0x1242,0x20350));function a217_0x1242(){const _0x17355c=['INTERNAL','\x27\x20not\x20found','6DEeJvi','Error\x20reading\x20file\x20\x27','413090HCEaiY','8pkMbXO','3202420gQOWyu','PERMISSION_DENIED','EACCES','File\x20\x27','2406wipTyb','2239749kpmTSO','utf-8','940303LizYXd','215SupTBr','1698336beBUdz','ENOENT','NOT_FOUND','\x27:\x20','193983yALmAo'];a217_0x1242=function(){return _0x17355c;};return a217_0x1242();}function a217_0x24eb(_0x124f85,_0xe2a1ec){_0x124f85=_0x124f85-0xd1;const _0x1242d8=a217_0x1242();let _0x24eba9=_0x1242d8[_0x124f85];return _0x24eba9;}import{readFileSync}from'fs';import{SDKError,ErrorCode}from'../sdk/errors.js';export function readFileContent(_0x2d37c6){const _0x2540b3=a217_0x24eb;try{return readFileSync(_0x2d37c6,_0x2540b3(0xe2));}catch(_0x434674){const _0x91f0e=_0x434674['code'];if(_0x91f0e===_0x2540b3(0xd2))throw new SDKError(ErrorCode[_0x2540b3(0xd3)],_0x2540b3(0xdf)+_0x2d37c6+_0x2540b3(0xd7),_0x434674);else{if(_0x91f0e===_0x2540b3(0xde))throw new SDKError(ErrorCode[_0x2540b3(0xdd)],'Permission\x20denied\x20reading\x20file\x20\x27'+_0x2d37c6+'\x27',_0x434674);else throw new SDKError(ErrorCode[_0x2540b3(0xd6)],_0x2540b3(0xd9)+_0x2d37c6+_0x2540b3(0xd4)+_0x434674['message'],_0x434674);}}}
1
+ function a217_0x1f61(_0x4dbebb,_0x58b3a5){_0x4dbebb=_0x4dbebb-0x116;const _0x2308fe=a217_0x2308();let _0x1f612b=_0x2308fe[_0x4dbebb];return _0x1f612b;}(function(_0x2bf613,_0x1620b6){const _0x232fcf=a217_0x1f61,_0x117eaf=_0x2bf613();while(!![]){try{const _0x56318a=parseInt(_0x232fcf(0x118))/0x1*(parseInt(_0x232fcf(0x11c))/0x2)+-parseInt(_0x232fcf(0x117))/0x3+-parseInt(_0x232fcf(0x123))/0x4*(parseInt(_0x232fcf(0x128))/0x5)+parseInt(_0x232fcf(0x126))/0x6*(parseInt(_0x232fcf(0x124))/0x7)+parseInt(_0x232fcf(0x11a))/0x8*(-parseInt(_0x232fcf(0x122))/0x9)+-parseInt(_0x232fcf(0x125))/0xa*(parseInt(_0x232fcf(0x127))/0xb)+parseInt(_0x232fcf(0x12a))/0xc;if(_0x56318a===_0x1620b6)break;else _0x117eaf['push'](_0x117eaf['shift']());}catch(_0x591659){_0x117eaf['push'](_0x117eaf['shift']());}}}(a217_0x2308,0xac94b));import{readFileSync}from'fs';import{SDKError,ErrorCode}from'../sdk/errors.js';function a217_0x2308(){const _0x5789c3=['utf-8','12187035kbtDeA','4GbcwZw','1102633saFlwK','190bIEMdO','6kYaMZA','251350etXbRl','5491015wGeDRk','\x27:\x20','44777424OcaryA','PERMISSION_DENIED','File\x20\x27','2541573BeyCQU','1JXtVlx','ENOENT','8uiwxph','code','1103158mSuLDe','message','\x27\x20not\x20found','INTERNAL','EACCES'];a217_0x2308=function(){return _0x5789c3;};return a217_0x2308();}export function readFileContent(_0x49760f){const _0x43405c=a217_0x1f61;try{return readFileSync(_0x49760f,_0x43405c(0x121));}catch(_0x392463){const _0x332a09=_0x392463[_0x43405c(0x11b)];if(_0x332a09===_0x43405c(0x119))throw new SDKError(ErrorCode['NOT_FOUND'],_0x43405c(0x116)+_0x49760f+_0x43405c(0x11e),_0x392463);else{if(_0x332a09===_0x43405c(0x120))throw new SDKError(ErrorCode[_0x43405c(0x12b)],'Permission\x20denied\x20reading\x20file\x20\x27'+_0x49760f+'\x27',_0x392463);else throw new SDKError(ErrorCode[_0x43405c(0x11f)],'Error\x20reading\x20file\x20\x27'+_0x49760f+_0x43405c(0x129)+_0x392463[_0x43405c(0x11d)],_0x392463);}}}
@@ -1 +1 @@
1
- (function(_0x1e8fd6,_0x2bf571){const _0x2b4445=a218_0x3cfe,_0x51fd3d=_0x1e8fd6();while(!![]){try{const _0x30f67b=parseInt(_0x2b4445(0x1e8))/0x1+-parseInt(_0x2b4445(0x1ed))/0x2+-parseInt(_0x2b4445(0x1ec))/0x3+-parseInt(_0x2b4445(0x1ea))/0x4+-parseInt(_0x2b4445(0x1e5))/0x5*(-parseInt(_0x2b4445(0x1e2))/0x6)+parseInt(_0x2b4445(0x1f0))/0x7+-parseInt(_0x2b4445(0x1db))/0x8*(parseInt(_0x2b4445(0x1eb))/0x9);if(_0x30f67b===_0x2bf571)break;else _0x51fd3d['push'](_0x51fd3d['shift']());}catch(_0x5aa83a){_0x51fd3d['push'](_0x51fd3d['shift']());}}}(a218_0x54f3,0x67188));function a218_0x54f3(){const _0x2fe264=['/releases?per_page=20','713498lmOHwU','toString','25488nATUoM','262161yAkdHh','1019994WytIjf','1586422AlvymE','statusCode','/repos/','5317522wFRphI','prerelease','length','find','next','GitHub\x20API\x20request\x20timed\x20out\x20after\x20','get','timeout','fetchedAt','152CAmCUw','resolve','parse','GitHub\x20API\x20returned\x20','now','slice','error','48KRuCVa','destroy','set','401355XzekBB','tag_name'];a218_0x54f3=function(){return _0x2fe264;};return a218_0x54f3();}function a218_0x3cfe(_0x5a41d4,_0x3fb020){_0x5a41d4=_0x5a41d4-0x1d3;const _0x54f30c=a218_0x54f3();let _0x3cfef9=_0x54f30c[_0x5a41d4];return _0x3cfef9;}import*as a218_0x5595ff from'node:https';const REQUEST_TIMEOUT_MS=0x2710,CACHE_TTL_MS=0x5*0x3c*0x3e8,cache=new Map();export function fetchGitHubReleases(_0x394464,_0x831f99,_0x1f75e3){const _0x9d6ee1=a218_0x3cfe,_0x4bedd9=_0x394464+'/'+_0x831f99,_0x213d70=cache[_0x9d6ee1(0x1d8)](_0x4bedd9);if(_0x213d70&&Date['now']()-_0x213d70[_0x9d6ee1(0x1da)]<CACHE_TTL_MS)return Promise[_0x9d6ee1(0x1dc)](_0x213d70['releases']);return new Promise((_0x3638f3,_0x33dbfc)=>{const _0x38dd21=_0x9d6ee1,_0x1af045={'hostname':'api.github.com','path':_0x38dd21(0x1ef)+_0x394464+'/'+_0x831f99+_0x38dd21(0x1e7),'headers':{'User-Agent':_0x1f75e3,'Accept':'application/vnd.github+json'},'timeout':REQUEST_TIMEOUT_MS},_0x1a1d97=a218_0x5595ff['get'](_0x1af045,_0x5a9185=>{let _0x4071f4='';_0x5a9185['on']('data',_0x130bf0=>{const _0x201833=a218_0x3cfe;_0x4071f4+=_0x130bf0[_0x201833(0x1e9)]();}),_0x5a9185['on']('end',()=>{const _0x58036c=a218_0x3cfe;if(_0x5a9185[_0x58036c(0x1ee)]!==0xc8){_0x33dbfc(new Error(_0x58036c(0x1de)+_0x5a9185[_0x58036c(0x1ee)]+':\x20'+_0x4071f4[_0x58036c(0x1e0)](0x0,0xc8)));return;}try{const _0x41585c=JSON[_0x58036c(0x1dd)](_0x4071f4);cache[_0x58036c(0x1e4)](_0x4bedd9,{'releases':_0x41585c,'fetchedAt':Date[_0x58036c(0x1df)]()}),_0x3638f3(_0x41585c);}catch(_0x41fccf){_0x33dbfc(_0x41fccf);}});});_0x1a1d97['on'](_0x38dd21(0x1d9),()=>{const _0x14e0a7=_0x38dd21;_0x1a1d97[_0x14e0a7(0x1e3)](),_0x33dbfc(new Error(_0x14e0a7(0x1d7)+REQUEST_TIMEOUT_MS+'ms'));}),_0x1a1d97['on'](_0x38dd21(0x1e1),_0x33dbfc);});}export async function resolveReleaseTag(_0x412664,_0x36485b,_0x2c6d62,_0x104424){const _0x26614f=a218_0x3cfe;if(_0x412664===_0x26614f(0x1d6))return null;const _0x493a77=await fetchGitHubReleases(_0x36485b,_0x2c6d62,_0x104424);if(_0x493a77[_0x26614f(0x1d4)]===0x0)return null;const _0x339834=_0x493a77[_0x26614f(0x1d5)](_0xb19f11=>!_0xb19f11[_0x26614f(0x1d3)]);return _0x339834?_0x339834[_0x26614f(0x1e6)]:null;}
1
+ (function(_0x4483a8,_0x497037){const _0x2eaa32=a218_0x12a5,_0x3d7b4a=_0x4483a8();while(!![]){try{const _0x5405c6=-parseInt(_0x2eaa32(0x1bd))/0x1*(parseInt(_0x2eaa32(0x1c9))/0x2)+-parseInt(_0x2eaa32(0x1c4))/0x3*(-parseInt(_0x2eaa32(0x1cc))/0x4)+-parseInt(_0x2eaa32(0x1c5))/0x5*(-parseInt(_0x2eaa32(0x1d0))/0x6)+-parseInt(_0x2eaa32(0x1c7))/0x7+parseInt(_0x2eaa32(0x1bf))/0x8*(-parseInt(_0x2eaa32(0x1b4))/0x9)+parseInt(_0x2eaa32(0x1bb))/0xa*(-parseInt(_0x2eaa32(0x1b3))/0xb)+parseInt(_0x2eaa32(0x1bc))/0xc;if(_0x5405c6===_0x497037)break;else _0x3d7b4a['push'](_0x3d7b4a['shift']());}catch(_0x4fa254){_0x3d7b4a['push'](_0x3d7b4a['shift']());}}}(a218_0x2d0a,0x5f2b7));function a218_0x12a5(_0x3db78d,_0x5cd8b8){_0x3db78d=_0x3db78d-0x1b3;const _0x2d0a67=a218_0x2d0a();let _0x12a510=_0x2d0a67[_0x3db78d];return _0x12a510;}import*as a218_0x34cf81 from'node:https';const REQUEST_TIMEOUT_MS=0x2710,CACHE_TTL_MS=0x5*0x3c*0x3e8,cache=new Map();export function fetchGitHubReleases(_0xa2bb21,_0x3b024d,_0x1dae92){const _0x595575=a218_0x12a5,_0x593f6d=_0xa2bb21+'/'+_0x3b024d,_0xcb8329=cache[_0x595575(0x1c6)](_0x593f6d);if(_0xcb8329&&Date[_0x595575(0x1ba)]()-_0xcb8329[_0x595575(0x1cd)]<CACHE_TTL_MS)return Promise[_0x595575(0x1b9)](_0xcb8329[_0x595575(0x1c2)]);return new Promise((_0x5d4749,_0x2026ac)=>{const _0x13a6ff=_0x595575,_0x1dd180={'hostname':'api.github.com','path':_0x13a6ff(0x1c8)+_0xa2bb21+'/'+_0x3b024d+_0x13a6ff(0x1b7),'headers':{'User-Agent':_0x1dae92,'Accept':'application/vnd.github+json'},'timeout':REQUEST_TIMEOUT_MS},_0x7a0f78=a218_0x34cf81[_0x13a6ff(0x1c6)](_0x1dd180,_0x152aed=>{const _0x308117=_0x13a6ff;let _0x731688='';_0x152aed['on']('data',_0x670ded=>{const _0x50439f=a218_0x12a5;_0x731688+=_0x670ded[_0x50439f(0x1cb)]();}),_0x152aed['on'](_0x308117(0x1c0),()=>{const _0x43bd5c=_0x308117;if(_0x152aed[_0x43bd5c(0x1ce)]!==0xc8){_0x2026ac(new Error(_0x43bd5c(0x1b5)+_0x152aed[_0x43bd5c(0x1ce)]+':\x20'+_0x731688[_0x43bd5c(0x1c3)](0x0,0xc8)));return;}try{const _0x4a6457=JSON['parse'](_0x731688);cache[_0x43bd5c(0x1c1)](_0x593f6d,{'releases':_0x4a6457,'fetchedAt':Date[_0x43bd5c(0x1ba)]()}),_0x5d4749(_0x4a6457);}catch(_0x55e361){_0x2026ac(_0x55e361);}});});_0x7a0f78['on']('timeout',()=>{const _0x22f18a=_0x13a6ff;_0x7a0f78[_0x22f18a(0x1ca)](),_0x2026ac(new Error('GitHub\x20API\x20request\x20timed\x20out\x20after\x20'+REQUEST_TIMEOUT_MS+'ms'));}),_0x7a0f78['on'](_0x13a6ff(0x1cf),_0x2026ac);});}export async function resolveReleaseTag(_0x49fe6f,_0x4caefc,_0x2f8299,_0x30e503){const _0x5a9929=a218_0x12a5;if(_0x49fe6f==='next')return null;const _0x51b506=await fetchGitHubReleases(_0x4caefc,_0x2f8299,_0x30e503);if(_0x51b506['length']===0x0)return null;const _0x8fcc59=_0x51b506[_0x5a9929(0x1b8)](_0x15e334=>!_0x15e334[_0x5a9929(0x1b6)]);return _0x8fcc59?_0x8fcc59[_0x5a9929(0x1be)]:null;}function a218_0x2d0a(){const _0x2ce204=['set','releases','slice','6UyRtyb','222745tPGZCt','get','1974574LFNAAs','/repos/','4510DLIqNJ','destroy','toString','981012REARgo','fetchedAt','statusCode','error','66rxxcph','2211SbcBxf','9adtQbl','GitHub\x20API\x20returned\x20','prerelease','/releases?per_page=20','find','resolve','now','33540GoRwRQ','13792860ilDTMJ','43EwFfRe','tag_name','5495472cOulYB','end'];a218_0x2d0a=function(){return _0x2ce204;};return a218_0x2d0a();}
@@ -1 +1 @@
1
- function a219_0x5534(_0x4d2e0e,_0x3d384b){_0x4d2e0e=_0x4d2e0e-0x6d;const _0x1fafa1=a219_0x1faf();let _0x553449=_0x1fafa1[_0x4d2e0e];return _0x553449;}(function(_0x407b17,_0x516d83){const _0x1de01e=a219_0x5534,_0x5eec5f=_0x407b17();while(!![]){try{const _0x263470=parseInt(_0x1de01e(0x83))/0x1+-parseInt(_0x1de01e(0x75))/0x2*(-parseInt(_0x1de01e(0x79))/0x3)+parseInt(_0x1de01e(0x7a))/0x4*(parseInt(_0x1de01e(0x71))/0x5)+-parseInt(_0x1de01e(0x80))/0x6*(parseInt(_0x1de01e(0x72))/0x7)+-parseInt(_0x1de01e(0x82))/0x8+parseInt(_0x1de01e(0x7e))/0x9+parseInt(_0x1de01e(0x7f))/0xa*(parseInt(_0x1de01e(0x6d))/0xb);if(_0x263470===_0x516d83)break;else _0x5eec5f['push'](_0x5eec5f['shift']());}catch(_0x245e68){_0x5eec5f['push'](_0x5eec5f['shift']());}}}(a219_0x1faf,0x8e200));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join}from'path';import{homedir}from'os';export function getGlobalCacheDir(){const _0x4955a5=a219_0x5534;return process.env.TDX_CACHE_DIR||join(homedir(),_0x4955a5(0x7b),_0x4955a5(0x73));}const registry=new Map();export function registerGlobalCacheKey(_0x2fbb30,_0x946976){const _0x1f136c=a219_0x5534,_0x420d76=registry['get'](_0x2fbb30);if(_0x420d76&&_0x420d76!==_0x946976)throw new Error(_0x1f136c(0x74)+_0x2fbb30+_0x1f136c(0x6f)+_0x420d76+_0x1f136c(0x78)+_0x946976+'\x22');registry[_0x1f136c(0x7c)](_0x2fbb30,_0x946976);}export function getGlobalCachePath(_0xba6e6a){return join(getGlobalCacheDir(),_0xba6e6a);}function ensureGlobalCacheDir(){const _0x2df7a6=getGlobalCacheDir();!existsSync(_0x2df7a6)&&mkdirSync(_0x2df7a6,{'recursive':!![]});}function readCacheJson(_0x3def80){const _0x381f1d=getGlobalCachePath(_0x3def80);if(!existsSync(_0x381f1d))return undefined;try{const _0x24adab=readFileSync(_0x381f1d,'utf-8');return JSON['parse'](_0x24adab);}catch{return undefined;}}function writeCacheJson(_0x2393e8,_0x1dc7d3){const _0x7de6cd=a219_0x5534;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x2393e8),JSON[_0x7de6cd(0x70)](_0x1dc7d3,null,0x2),'utf-8');}function readCacheText(_0x74bbc3){const _0x213d78=a219_0x5534,_0x469938=getGlobalCachePath(_0x74bbc3);if(!existsSync(_0x469938))return undefined;try{return readFileSync(_0x469938,_0x213d78(0x77));}catch{return undefined;}}function writeCacheText(_0x3aaff1,_0x54c0fe){const _0x24fcf7=a219_0x5534;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x3aaff1),_0x54c0fe,_0x24fcf7(0x77));}function clearCache(_0x26908e){const _0x51213b=getGlobalCachePath(_0x26908e);if(existsSync(_0x51213b))try{unlinkSync(_0x51213b);}catch{}}function cacheExists(_0x19612a){return existsSync(getGlobalCachePath(_0x19612a));}export function createGlobalCache(_0xcb72bf,_0x279fec){return registerGlobalCacheKey(_0xcb72bf,_0x279fec),{'read':()=>readCacheJson(_0xcb72bf),'write':_0x3ccd9d=>writeCacheJson(_0xcb72bf,_0x3ccd9d),'clear':()=>clearCache(_0xcb72bf),'exists':()=>cacheExists(_0xcb72bf),'path':()=>getGlobalCachePath(_0xcb72bf)};}function a219_0x1faf(){const _0x521452=['stringify','485ypyzZN','35kGYKWe','tdx','Global\x20cache\x20key\x20\x22','11254yvZUpr','clear','utf-8','\x22,\x20cannot\x20register\x20for\x20\x22','6ntBsaW','11716QcWHkJ','.cache','set','replace','375633ItpHNU','188120fhXmoS','1033716zrziwb','trim','1852144WuoDIb','1131056gMDDta','121qXVsTp','{profile}','\x22\x20already\x20registered\x20by\x20\x22'];a219_0x1faf=function(){return _0x521452;};return a219_0x1faf();}export function createGlobalTextCache(_0x5d68e8,_0x20091b){const _0x27fad9=a219_0x5534;return registerGlobalCacheKey(_0x5d68e8,_0x20091b),{'read':()=>readCacheText(_0x5d68e8)?.[_0x27fad9(0x81)]()||undefined,'write':_0x3e4d14=>writeCacheText(_0x5d68e8,_0x3e4d14),'clear':()=>clearCache(_0x5d68e8),'exists':()=>cacheExists(_0x5d68e8),'path':()=>getGlobalCachePath(_0x5d68e8)};}export function createProfileCache(_0x16b82,_0x529a65){const _0x25b010=_0x2c7840=>{const _0x1406fc=a219_0x5534,_0x46a7dd=_0x2c7840||'default';return _0x16b82[_0x1406fc(0x7d)](_0x1406fc(0x6e),_0x46a7dd);};return{'read':_0x4ec185=>{const _0x26c31d=_0x25b010(_0x4ec185);return registerGlobalCacheKey(_0x26c31d,_0x529a65),readCacheJson(_0x26c31d);},'write':(_0x17384b,_0x1e6d22)=>{const _0x45d3a4=_0x25b010(_0x17384b);registerGlobalCacheKey(_0x45d3a4,_0x529a65),writeCacheJson(_0x45d3a4,_0x1e6d22);},'clear':_0x3e6378=>{const _0x40a071=_0x25b010(_0x3e6378);clearCache(_0x40a071);},'exists':_0x41ebf0=>{const _0x157a57=_0x25b010(_0x41ebf0);return cacheExists(_0x157a57);},'path':_0x22102b=>{const _0x239b53=_0x25b010(_0x22102b);return getGlobalCachePath(_0x239b53);}};}export function createOptionalProfileCache(_0x42438f,_0x3f18ff,_0x4f3371={}){const {profileSeparator:profileSeparator='.',suffix:suffix=''}=_0x4f3371,_0x49470d=_0x5b515d=>{return _0x5b515d?''+_0x42438f+profileSeparator+_0x5b515d+suffix:''+_0x42438f+suffix;};return{'read':_0x3c8e3e=>{const _0x3e20d9=_0x49470d(_0x3c8e3e);return registerGlobalCacheKey(_0x3e20d9,_0x3f18ff),readCacheJson(_0x3e20d9);},'write':(_0x122490,_0xd49ef6)=>{const _0x1ad3f5=_0x49470d(_0xd49ef6);registerGlobalCacheKey(_0x1ad3f5,_0x3f18ff),writeCacheJson(_0x1ad3f5,_0x122490);},'clear':_0x5683e4=>{const _0x2bdc84=_0x49470d(_0x5683e4);clearCache(_0x2bdc84);},'exists':_0x11eae2=>{const _0x1acc09=_0x49470d(_0x11eae2);return cacheExists(_0x1acc09);},'path':_0x519cc3=>{const _0x25bed4=_0x49470d(_0x519cc3);return getGlobalCachePath(_0x25bed4);}};}export function clearGlobalRegistry(){const _0x3d1703=a219_0x5534;registry[_0x3d1703(0x76)]();}
1
+ (function(_0x409c56,_0x1eeef3){const _0x1444a5=a219_0x40e0,_0x5f360d=_0x409c56();while(!![]){try{const _0x142f0a=-parseInt(_0x1444a5(0x13d))/0x1+parseInt(_0x1444a5(0x139))/0x2*(-parseInt(_0x1444a5(0x14b))/0x3)+parseInt(_0x1444a5(0x147))/0x4+-parseInt(_0x1444a5(0x138))/0x5*(-parseInt(_0x1444a5(0x137))/0x6)+parseInt(_0x1444a5(0x142))/0x7*(parseInt(_0x1444a5(0x13f))/0x8)+-parseInt(_0x1444a5(0x143))/0x9+parseInt(_0x1444a5(0x13e))/0xa;if(_0x142f0a===_0x1eeef3)break;else _0x5f360d['push'](_0x5f360d['shift']());}catch(_0x169e14){_0x5f360d['push'](_0x5f360d['shift']());}}}(a219_0x46a3,0xf03f7));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join}from'path';import{homedir}from'os';export function getGlobalCacheDir(){const _0x1ad2e0=a219_0x40e0;return process.env.TDX_CACHE_DIR||join(homedir(),_0x1ad2e0(0x13b),_0x1ad2e0(0x145));}const registry=new Map();export function registerGlobalCacheKey(_0x343ade,_0x1394c0){const _0x5aaba6=a219_0x40e0,_0x3a4746=registry['get'](_0x343ade);if(_0x3a4746&&_0x3a4746!==_0x1394c0)throw new Error(_0x5aaba6(0x141)+_0x343ade+'\x22\x20already\x20registered\x20by\x20\x22'+_0x3a4746+_0x5aaba6(0x140)+_0x1394c0+'\x22');registry[_0x5aaba6(0x148)](_0x343ade,_0x1394c0);}export function getGlobalCachePath(_0x25c129){return join(getGlobalCacheDir(),_0x25c129);}function ensureGlobalCacheDir(){const _0x47e8ab=getGlobalCacheDir();!existsSync(_0x47e8ab)&&mkdirSync(_0x47e8ab,{'recursive':!![]});}function readCacheJson(_0x47e7d6){const _0x1a5457=a219_0x40e0,_0xebecb3=getGlobalCachePath(_0x47e7d6);if(!existsSync(_0xebecb3))return undefined;try{const _0x519919=readFileSync(_0xebecb3,_0x1a5457(0x149));return JSON[_0x1a5457(0x14a)](_0x519919);}catch{return undefined;}}function writeCacheJson(_0x23501f,_0xf98159){const _0x59d1a8=a219_0x40e0;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x23501f),JSON[_0x59d1a8(0x144)](_0xf98159,null,0x2),_0x59d1a8(0x149));}function readCacheText(_0x5847f9){const _0x34c6e0=getGlobalCachePath(_0x5847f9);if(!existsSync(_0x34c6e0))return undefined;try{return readFileSync(_0x34c6e0,'utf-8');}catch{return undefined;}}function writeCacheText(_0x54d68d,_0x415821){const _0x4b897d=a219_0x40e0;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x54d68d),_0x415821,_0x4b897d(0x149));}function clearCache(_0x55e914){const _0x5916c5=getGlobalCachePath(_0x55e914);if(existsSync(_0x5916c5))try{unlinkSync(_0x5916c5);}catch{}}function cacheExists(_0x48eac1){return existsSync(getGlobalCachePath(_0x48eac1));}export function createGlobalCache(_0x2a27f4,_0x4cf4bc){return registerGlobalCacheKey(_0x2a27f4,_0x4cf4bc),{'read':()=>readCacheJson(_0x2a27f4),'write':_0x31ec34=>writeCacheJson(_0x2a27f4,_0x31ec34),'clear':()=>clearCache(_0x2a27f4),'exists':()=>cacheExists(_0x2a27f4),'path':()=>getGlobalCachePath(_0x2a27f4)};}export function createGlobalTextCache(_0x19454d,_0x3b77bd){return registerGlobalCacheKey(_0x19454d,_0x3b77bd),{'read':()=>readCacheText(_0x19454d)?.['trim']()||undefined,'write':_0x200fe1=>writeCacheText(_0x19454d,_0x200fe1),'clear':()=>clearCache(_0x19454d),'exists':()=>cacheExists(_0x19454d),'path':()=>getGlobalCachePath(_0x19454d)};}function a219_0x46a3(){const _0x1a3fb9=['7GBOuRB','286335gjkWwQ','stringify','tdx','{profile}','914988InulJE','set','utf-8','parse','392940yfZdFC','3416412ULXokV','5MlZizR','10TBewuJ','replace','.cache','clear','419678AYiBWk','6518280OdeJYx','5123768buwrUo','\x22,\x20cannot\x20register\x20for\x20\x22','Global\x20cache\x20key\x20\x22'];a219_0x46a3=function(){return _0x1a3fb9;};return a219_0x46a3();}export function createProfileCache(_0x233f3f,_0x151d75){const _0x2f910a=_0x19f839=>{const _0x31b9e2=a219_0x40e0,_0x5f585a=_0x19f839||'default';return _0x233f3f[_0x31b9e2(0x13a)](_0x31b9e2(0x146),_0x5f585a);};return{'read':_0x250f88=>{const _0x1453fb=_0x2f910a(_0x250f88);return registerGlobalCacheKey(_0x1453fb,_0x151d75),readCacheJson(_0x1453fb);},'write':(_0x3e7f62,_0x435552)=>{const _0x27a159=_0x2f910a(_0x3e7f62);registerGlobalCacheKey(_0x27a159,_0x151d75),writeCacheJson(_0x27a159,_0x435552);},'clear':_0x572bf3=>{const _0x60c9da=_0x2f910a(_0x572bf3);clearCache(_0x60c9da);},'exists':_0x11745b=>{const _0x22763d=_0x2f910a(_0x11745b);return cacheExists(_0x22763d);},'path':_0x401f5d=>{const _0x3e3f92=_0x2f910a(_0x401f5d);return getGlobalCachePath(_0x3e3f92);}};}export function createOptionalProfileCache(_0x3cd8c7,_0xdae18f,_0x1bed62={}){const {profileSeparator:profileSeparator='.',suffix:suffix=''}=_0x1bed62,_0x33d5b8=_0x54c124=>{return _0x54c124?''+_0x3cd8c7+profileSeparator+_0x54c124+suffix:''+_0x3cd8c7+suffix;};return{'read':_0x35f6c1=>{const _0x6b6d1c=_0x33d5b8(_0x35f6c1);return registerGlobalCacheKey(_0x6b6d1c,_0xdae18f),readCacheJson(_0x6b6d1c);},'write':(_0x35929d,_0x1cae32)=>{const _0x551c72=_0x33d5b8(_0x1cae32);registerGlobalCacheKey(_0x551c72,_0xdae18f),writeCacheJson(_0x551c72,_0x35929d);},'clear':_0x22d5d2=>{const _0x11e97d=_0x33d5b8(_0x22d5d2);clearCache(_0x11e97d);},'exists':_0x2c71f8=>{const _0x55fbd5=_0x33d5b8(_0x2c71f8);return cacheExists(_0x55fbd5);},'path':_0x2095fa=>{const _0x3be2a8=_0x33d5b8(_0x2095fa);return getGlobalCachePath(_0x3be2a8);}};}function a219_0x40e0(_0xafa25c,_0x216fd1){_0xafa25c=_0xafa25c-0x137;const _0x46a33e=a219_0x46a3();let _0x40e093=_0x46a33e[_0xafa25c];return _0x40e093;}export function clearGlobalRegistry(){const _0x3c55aa=a219_0x40e0;registry[_0x3c55aa(0x13c)]();}
@@ -1 +1 @@
1
- (function(_0x2bbb8c,_0x5183ea){const _0x29fff0=a220_0x2ccd,_0x37bdbe=_0x2bbb8c();while(!![]){try{const _0xa274ee=-parseInt(_0x29fff0(0x114))/0x1*(parseInt(_0x29fff0(0x113))/0x2)+-parseInt(_0x29fff0(0x11c))/0x3+parseInt(_0x29fff0(0x10f))/0x4*(parseInt(_0x29fff0(0x11b))/0x5)+parseInt(_0x29fff0(0x11d))/0x6*(-parseInt(_0x29fff0(0x110))/0x7)+-parseInt(_0x29fff0(0x11e))/0x8+parseInt(_0x29fff0(0x11f))/0x9*(-parseInt(_0x29fff0(0x115))/0xa)+parseInt(_0x29fff0(0x116))/0xb;if(_0xa274ee===_0x5183ea)break;else _0x37bdbe['push'](_0x37bdbe['shift']());}catch(_0x1a8641){_0x37bdbe['push'](_0x37bdbe['shift']());}}}(a220_0x33ad,0x18a4d));function a220_0x2ccd(_0x126109,_0x507eb5){_0x126109=_0x126109-0x10a;const _0x33adb4=a220_0x33ad();let _0x2ccd25=_0x33adb4[_0x126109];return _0x2ccd25;}import{readFile}from'fs/promises';import{SDKError,ErrorCode}from'../sdk/errors.js';export async function loadJSON(_0x3fa191,_0x47dbf4){const _0x4b641=a220_0x2ccd;try{if(_0x47dbf4){const _0x2d59e4=await readFile(_0x3fa191,'utf-8');try{return JSON[_0x4b641(0x121)](_0x2d59e4);}catch(_0x3cfdc2){throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x4b641(0x11a)+_0x3fa191+_0x4b641(0x10d)+(_0x3cfdc2 instanceof Error?_0x3cfdc2[_0x4b641(0x112)]:String(_0x3cfdc2)));}}else try{return JSON[_0x4b641(0x121)](_0x3fa191);}catch(_0x5f10ab){throw new SDKError(ErrorCode[_0x4b641(0x118)],_0x4b641(0x10c)+(_0x5f10ab instanceof Error?_0x5f10ab[_0x4b641(0x112)]:String(_0x5f10ab)));}}catch(_0x5b38a9){if(_0x5b38a9 instanceof SDKError)throw _0x5b38a9;if(_0x5b38a9 instanceof Error&&_0x4b641(0x10a)in _0x5b38a9){const _0x4b5080=_0x5b38a9;if(_0x4b5080[_0x4b641(0x10a)]==='ENOENT')throw new SDKError(ErrorCode[_0x4b641(0x120)],_0x4b641(0x10b)+_0x3fa191);else{if(_0x4b5080[_0x4b641(0x10a)]===_0x4b641(0x117))throw new SDKError(ErrorCode['PERMISSION_DENIED'],_0x4b641(0x10e)+_0x3fa191);}}throw new SDKError(ErrorCode['INTERNAL'],_0x4b641(0x111)+(_0x5b38a9 instanceof Error?_0x5b38a9['message']:String(_0x5b38a9)));}}export async function loadJSONFromOptions(_0x1c9c5a,_0x1e5bb7){const _0x54ffcc=a220_0x2ccd;if(_0x1c9c5a&&_0x1e5bb7)throw new SDKError(ErrorCode[_0x54ffcc(0x118)],_0x54ffcc(0x119));if(_0x1c9c5a)return await loadJSON(_0x1c9c5a,![]);if(_0x1e5bb7)return await loadJSON(_0x1e5bb7,!![]);return undefined;}function a220_0x33ad(){const _0x38b9f2=['305874XQeuaK','677940QmeBje','1033264NlHpJg','126pnZUaA','NOT_FOUND','parse','code','File\x20not\x20found:\x20','Invalid\x20JSON\x20string:\x20','\x27:\x20','Permission\x20denied\x20reading\x20file:\x20','4FzrpxG','7DaERqX','Failed\x20to\x20load\x20JSON:\x20','message','232922NfpKop','1anNCZz','48280unQfXC','6485853bxuWNZ','EACCES','INVALID_ARGUMENT','Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.','Invalid\x20JSON\x20in\x20file\x20\x27','197385bgVXnF'];a220_0x33ad=function(){return _0x38b9f2;};return a220_0x33ad();}
1
+ (function(_0xfcfd85,_0x22de0a){const _0x2b66ff=a220_0x331e,_0x29048c=_0xfcfd85();while(!![]){try{const _0x339f3a=parseInt(_0x2b66ff(0x1f7))/0x1*(parseInt(_0x2b66ff(0x1f8))/0x2)+-parseInt(_0x2b66ff(0x1f4))/0x3+parseInt(_0x2b66ff(0x1fc))/0x4+-parseInt(_0x2b66ff(0x1f5))/0x5*(parseInt(_0x2b66ff(0x1fe))/0x6)+-parseInt(_0x2b66ff(0x202))/0x7*(-parseInt(_0x2b66ff(0x205))/0x8)+-parseInt(_0x2b66ff(0x204))/0x9+parseInt(_0x2b66ff(0x1f9))/0xa;if(_0x339f3a===_0x22de0a)break;else _0x29048c['push'](_0x29048c['shift']());}catch(_0xb4ae98){_0x29048c['push'](_0x29048c['shift']());}}}(a220_0xa7b5,0xaf140));import{readFile}from'fs/promises';import{SDKError,ErrorCode}from'../sdk/errors.js';function a220_0x331e(_0x3821d7,_0x39cf68){_0x3821d7=_0x3821d7-0x1f0;const _0xa7b574=a220_0xa7b5();let _0x331ef2=_0xa7b574[_0x3821d7];return _0x331ef2;}function a220_0xa7b5(){const _0x5b9602=['2824344NUMaFA','code','90QSRVjC','ENOENT','Invalid\x20JSON\x20in\x20file\x20\x27','parse','35RIPVmf','utf-8','3095685dAefas','1047096lAXBtf','Failed\x20to\x20load\x20JSON:\x20','EACCES','message','PERMISSION_DENIED','INVALID_ARGUMENT','1940625ilbwUe','48720bIhtdi','Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.','2tTMtJb','95518RUinez','3980810YfVEER','INTERNAL','NOT_FOUND'];a220_0xa7b5=function(){return _0x5b9602;};return a220_0xa7b5();}export async function loadJSON(_0xf3e5cc,_0x2ffaee){const _0x368cbb=a220_0x331e;try{if(_0x2ffaee){const _0x2ba36c=await readFile(_0xf3e5cc,_0x368cbb(0x203));try{return JSON['parse'](_0x2ba36c);}catch(_0x4f0b2a){throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x368cbb(0x200)+_0xf3e5cc+'\x27:\x20'+(_0x4f0b2a instanceof Error?_0x4f0b2a['message']:String(_0x4f0b2a)));}}else try{return JSON[_0x368cbb(0x201)](_0xf3e5cc);}catch(_0xc5e19d){throw new SDKError(ErrorCode[_0x368cbb(0x1f3)],'Invalid\x20JSON\x20string:\x20'+(_0xc5e19d instanceof Error?_0xc5e19d[_0x368cbb(0x1f1)]:String(_0xc5e19d)));}}catch(_0x515f70){if(_0x515f70 instanceof SDKError)throw _0x515f70;if(_0x515f70 instanceof Error&&'code'in _0x515f70){const _0xce458=_0x515f70;if(_0xce458[_0x368cbb(0x1fd)]===_0x368cbb(0x1ff))throw new SDKError(ErrorCode[_0x368cbb(0x1fb)],'File\x20not\x20found:\x20'+_0xf3e5cc);else{if(_0xce458[_0x368cbb(0x1fd)]===_0x368cbb(0x1f0))throw new SDKError(ErrorCode[_0x368cbb(0x1f2)],'Permission\x20denied\x20reading\x20file:\x20'+_0xf3e5cc);}}throw new SDKError(ErrorCode[_0x368cbb(0x1fa)],_0x368cbb(0x206)+(_0x515f70 instanceof Error?_0x515f70[_0x368cbb(0x1f1)]:String(_0x515f70)));}}export async function loadJSONFromOptions(_0x310baf,_0x2265a2){const _0x3ea542=a220_0x331e;if(_0x310baf&&_0x2265a2)throw new SDKError(ErrorCode[_0x3ea542(0x1f3)],_0x3ea542(0x1f6));if(_0x310baf)return await loadJSON(_0x310baf,![]);if(_0x2265a2)return await loadJSON(_0x2265a2,!![]);return undefined;}
@@ -1 +1 @@
1
- const a221_0x5e7cfd=a221_0x1095;(function(_0x16a9cd,_0x154dd2){const _0x5ea649=a221_0x1095,_0x580db7=_0x16a9cd();while(!![]){try{const _0x3880ee=parseInt(_0x5ea649(0x1d3))/0x1*(parseInt(_0x5ea649(0x1d4))/0x2)+parseInt(_0x5ea649(0x1cf))/0x3+-parseInt(_0x5ea649(0x1d2))/0x4+parseInt(_0x5ea649(0x1de))/0x5*(parseInt(_0x5ea649(0x1d0))/0x6)+parseInt(_0x5ea649(0x1db))/0x7+parseInt(_0x5ea649(0x1e4))/0x8*(-parseInt(_0x5ea649(0x1da))/0x9)+-parseInt(_0x5ea649(0x1d6))/0xa*(parseInt(_0x5ea649(0x1dd))/0xb);if(_0x3880ee===_0x154dd2)break;else _0x580db7['push'](_0x580db7['shift']());}catch(_0x325724){_0x580db7['push'](_0x580db7['shift']());}}}(a221_0x3271,0x1c2ee));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join,parse}from'path';import{homedir}from'os';const LOCAL_CACHE_DIR=a221_0x5e7cfd(0x1d7),registry=new Map();export function registerCacheKey(_0x20cb55,_0x4b05f6){const _0x35aeb0=a221_0x5e7cfd,_0x520ed0=registry[_0x35aeb0(0x1e0)](_0x20cb55);if(_0x520ed0&&_0x520ed0!==_0x4b05f6)throw new Error(_0x35aeb0(0x1d8)+_0x20cb55+'\x22\x20already\x20registered\x20by\x20\x22'+_0x520ed0+_0x35aeb0(0x1e1)+_0x4b05f6+'\x22');registry[_0x35aeb0(0x1ce)](_0x20cb55,_0x4b05f6);}function a221_0x1095(_0x4f537c,_0x2515e9){_0x4f537c=_0x4f537c-0x1ce;const _0x327140=a221_0x3271();let _0x10958e=_0x327140[_0x4f537c];return _0x10958e;}export function getCacheDir(){const _0x5e97ec=a221_0x5e7cfd,_0x46bd94=process[_0x5e97ec(0x1d9)](),_0x23edd1=_0x46bd94===parse(_0x46bd94)[_0x5e97ec(0x1e2)]?homedir():_0x46bd94;return join(_0x23edd1,LOCAL_CACHE_DIR);}export function getCachePath(_0x56043a){return join(getCacheDir(),_0x56043a);}function ensureCacheDir(){const _0x1b9b8e=getCacheDir();!existsSync(_0x1b9b8e)&&mkdirSync(_0x1b9b8e,{'recursive':!![]});}function readCacheJson(_0x384ce9){const _0x59a209=a221_0x5e7cfd,_0x29f6d8=getCachePath(_0x384ce9);if(!existsSync(_0x29f6d8))return undefined;try{const _0x50248f=readFileSync(_0x29f6d8,'utf-8');return JSON[_0x59a209(0x1dc)](_0x50248f);}catch{return undefined;}}function writeCacheJson(_0xee228b,_0x19e0f7){const _0x49166d=a221_0x5e7cfd;ensureCacheDir(),writeFileSync(getCachePath(_0xee228b),JSON[_0x49166d(0x1df)](_0x19e0f7,null,0x2),_0x49166d(0x1e3));}function readCacheText(_0x1e70af){const _0x556aff=a221_0x5e7cfd,_0x23b10e=getCachePath(_0x1e70af);if(!existsSync(_0x23b10e))return undefined;try{return readFileSync(_0x23b10e,_0x556aff(0x1e3));}catch{return undefined;}}function writeCacheText(_0x478944,_0x1762e3){ensureCacheDir(),writeFileSync(getCachePath(_0x478944),_0x1762e3,'utf-8');}function clearCache(_0x591973){const _0x7bba0e=getCachePath(_0x591973);if(existsSync(_0x7bba0e))try{unlinkSync(_0x7bba0e);}catch{}}function cacheExists(_0x329cf5){return existsSync(getCachePath(_0x329cf5));}function a221_0x3271(){const _0x78a2=['\x22,\x20cannot\x20register\x20for\x20\x22','root','utf-8','80NZqRso','set','689682jMydSR','1169490HIAdnM','trim','256536jGfCXS','3uYqFTj','68510spztMU','clear','1920220xGFrgH','.cache/tdx','Cache\x20key\x20\x22','cwd','183987zKuwLh','339150FrovkD','parse','11YrrhRu','5GjXUJd','stringify','get'];a221_0x3271=function(){return _0x78a2;};return a221_0x3271();}export function createCache(_0x290ab8,_0x516a31){return registerCacheKey(_0x290ab8,_0x516a31),{'read':()=>readCacheJson(_0x290ab8),'write':_0x2d6a9f=>writeCacheJson(_0x290ab8,_0x2d6a9f),'clear':()=>clearCache(_0x290ab8),'exists':()=>cacheExists(_0x290ab8),'path':()=>getCachePath(_0x290ab8)};}export function createTextCache(_0x338dab,_0x47fb7d){const _0x3bacaa=a221_0x5e7cfd;return registerCacheKey(_0x338dab,_0x47fb7d),{'read':()=>readCacheText(_0x338dab)?.[_0x3bacaa(0x1d1)]()||undefined,'write':_0x304d6d=>writeCacheText(_0x338dab,_0x304d6d),'clear':()=>clearCache(_0x338dab),'exists':()=>cacheExists(_0x338dab),'path':()=>getCachePath(_0x338dab)};}export function clearRegistry(){const _0x3b9aff=a221_0x5e7cfd;registry[_0x3b9aff(0x1d5)]();}
1
+ const a221_0x12ff55=a221_0xced8;(function(_0x18757c,_0x4fa8cd){const _0x4a0b68=a221_0xced8,_0x5a7c23=_0x18757c();while(!![]){try{const _0x2e74c6=-parseInt(_0x4a0b68(0x119))/0x1*(parseInt(_0x4a0b68(0x122))/0x2)+parseInt(_0x4a0b68(0x11e))/0x3+-parseInt(_0x4a0b68(0x112))/0x4+parseInt(_0x4a0b68(0x11a))/0x5*(parseInt(_0x4a0b68(0x123))/0x6)+parseInt(_0x4a0b68(0x114))/0x7*(-parseInt(_0x4a0b68(0x111))/0x8)+-parseInt(_0x4a0b68(0x113))/0x9+parseInt(_0x4a0b68(0x115))/0xa*(parseInt(_0x4a0b68(0x11f))/0xb);if(_0x2e74c6===_0x4fa8cd)break;else _0x5a7c23['push'](_0x5a7c23['shift']());}catch(_0x18c90a){_0x5a7c23['push'](_0x5a7c23['shift']());}}}(a221_0x3132,0x7c6ae));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join,parse}from'path';import{homedir}from'os';const LOCAL_CACHE_DIR=a221_0x12ff55(0x121),registry=new Map();export function registerCacheKey(_0x157f86,_0xceab38){const _0x20b0e9=a221_0x12ff55,_0x212c59=registry[_0x20b0e9(0x11c)](_0x157f86);if(_0x212c59&&_0x212c59!==_0xceab38)throw new Error(_0x20b0e9(0x124)+_0x157f86+_0x20b0e9(0x125)+_0x212c59+_0x20b0e9(0x11b)+_0xceab38+'\x22');registry[_0x20b0e9(0x118)](_0x157f86,_0xceab38);}export function getCacheDir(){const _0x3cb537=a221_0x12ff55,_0x5205e3=process['cwd'](),_0x5db694=_0x5205e3===parse(_0x5205e3)[_0x3cb537(0x116)]?homedir():_0x5205e3;return join(_0x5db694,LOCAL_CACHE_DIR);}export function getCachePath(_0x1f59c8){return join(getCacheDir(),_0x1f59c8);}function ensureCacheDir(){const _0x877c09=getCacheDir();!existsSync(_0x877c09)&&mkdirSync(_0x877c09,{'recursive':!![]});}function readCacheJson(_0x3eb102){const _0x18d716=a221_0x12ff55,_0x51ee8e=getCachePath(_0x3eb102);if(!existsSync(_0x51ee8e))return undefined;try{const _0x15d3ca=readFileSync(_0x51ee8e,_0x18d716(0x117));return JSON[_0x18d716(0x11d)](_0x15d3ca);}catch{return undefined;}}function writeCacheJson(_0x26833a,_0x5cfeaa){const _0xa19af=a221_0x12ff55;ensureCacheDir(),writeFileSync(getCachePath(_0x26833a),JSON[_0xa19af(0x120)](_0x5cfeaa,null,0x2),_0xa19af(0x117));}function readCacheText(_0x46dbef){const _0x49e187=a221_0x12ff55,_0x255bbc=getCachePath(_0x46dbef);if(!existsSync(_0x255bbc))return undefined;try{return readFileSync(_0x255bbc,_0x49e187(0x117));}catch{return undefined;}}function writeCacheText(_0x2bda83,_0x1d5b62){const _0xd5bb6f=a221_0x12ff55;ensureCacheDir(),writeFileSync(getCachePath(_0x2bda83),_0x1d5b62,_0xd5bb6f(0x117));}function clearCache(_0x1a251c){const _0x1c8db4=getCachePath(_0x1a251c);if(existsSync(_0x1c8db4))try{unlinkSync(_0x1c8db4);}catch{}}function cacheExists(_0x1f9a76){return existsSync(getCachePath(_0x1f9a76));}export function createCache(_0x15e728,_0x2bcdcf){return registerCacheKey(_0x15e728,_0x2bcdcf),{'read':()=>readCacheJson(_0x15e728),'write':_0x34db00=>writeCacheJson(_0x15e728,_0x34db00),'clear':()=>clearCache(_0x15e728),'exists':()=>cacheExists(_0x15e728),'path':()=>getCachePath(_0x15e728)};}export function createTextCache(_0x54901c,_0x106934){const _0x47900e=a221_0x12ff55;return registerCacheKey(_0x54901c,_0x106934),{'read':()=>readCacheText(_0x54901c)?.[_0x47900e(0x10f)]()||undefined,'write':_0x261ae1=>writeCacheText(_0x54901c,_0x261ae1),'clear':()=>clearCache(_0x54901c),'exists':()=>cacheExists(_0x54901c),'path':()=>getCachePath(_0x54901c)};}function a221_0xced8(_0xa3d5a6,_0x296e85){_0xa3d5a6=_0xa3d5a6-0x10f;const _0x31325f=a221_0x3132();let _0xced882=_0x31325f[_0xa3d5a6];return _0xced882;}export function clearRegistry(){const _0xc69253=a221_0x12ff55;registry[_0xc69253(0x110)]();}function a221_0x3132(){const _0x4a960b=['\x22\x20already\x20registered\x20by\x20\x22','trim','clear','8TFgcax','3161888OsNuTb','9048861cpaeQC','6199921dQjMqI','10KUFeDw','root','utf-8','set','13319fLMJbJ','9025zKroyD','\x22,\x20cannot\x20register\x20for\x20\x22','get','parse','2292936gcPJCg','35074358tXitUZ','stringify','.cache/tdx','116AyXCQk','36QzryWM','Cache\x20key\x20\x22'];a221_0x3132=function(){return _0x4a960b;};return a221_0x3132();}
@@ -1 +1 @@
1
- function a222_0x353a(){const _0x1ad033=['blue','177423UESLJV','dim','Chalk','green','WARN','TRACE',']\x20[','INFO','4235139edQCKh','ERROR','gray','colors','2065XtcREW','2496pxozuz','17401681FDKeEJ','component','10KzdQJx','32PCuvnO','message','cyan','red','380WZuDuo','800978mQxYYo','yellow','format','level','1878gTXdaj','302308FdQXdy','chalk','colorLevel'];a222_0x353a=function(){return _0x1ad033;};return a222_0x353a();}function a222_0x1d56(_0x275d93,_0x1f7cb3){_0x275d93=_0x275d93-0x139;const _0x353ac8=a222_0x353a();let _0x1d567f=_0x353ac8[_0x275d93];return _0x1d567f;}const a222_0x2cac88=a222_0x1d56;(function(_0x37d3a0,_0x167be6){const _0x244e8d=a222_0x1d56,_0x432bfd=_0x37d3a0();while(!![]){try{const _0xbd1a16=-parseInt(_0x244e8d(0x13b))/0x1+-parseInt(_0x244e8d(0x140))/0x2+parseInt(_0x244e8d(0x144))/0x3*(-parseInt(_0x244e8d(0x155))/0x4)+-parseInt(_0x244e8d(0x13a))/0x5*(-parseInt(_0x244e8d(0x13f))/0x6)+-parseInt(_0x244e8d(0x150))/0x7*(-parseInt(_0x244e8d(0x151))/0x8)+parseInt(_0x244e8d(0x14c))/0x9*(parseInt(_0x244e8d(0x154))/0xa)+parseInt(_0x244e8d(0x152))/0xb;if(_0xbd1a16===_0x167be6)break;else _0x432bfd['push'](_0x432bfd['shift']());}catch(_0x369d9e){_0x432bfd['push'](_0x432bfd['shift']());}}}(a222_0x353a,0xb56c6));import a222_0x2806ec from'chalk';import{LogLevel,logLevelToString,formatTimestamp}from'../types.js';const chalkModule=a222_0x2806ec,ChalkClass=chalkModule[a222_0x2cac88(0x146)]||chalkModule['default']?.[a222_0x2cac88(0x146)];export class DefaultLogFormatter{[a222_0x2cac88(0x14f)];[a222_0x2cac88(0x141)];constructor(_0x175c1c={}){const _0xaca5d8=a222_0x2cac88;this[_0xaca5d8(0x14f)]=_0x175c1c[_0xaca5d8(0x14f)]??![],this[_0xaca5d8(0x141)]=_0x175c1c[_0xaca5d8(0x14f)]&&ChalkClass?new ChalkClass({'level':0x3}):a222_0x2806ec;}[a222_0x2cac88(0x13d)](_0x5bae5d){const _0x38e30c=a222_0x2cac88,_0x387b7e=formatTimestamp(_0x5bae5d['timestamp']),_0x16d318=logLevelToString(_0x5bae5d[_0x38e30c(0x13e)]);if(!this[_0x38e30c(0x14f)])return _0x387b7e+'\x20['+_0x16d318+_0x38e30c(0x14a)+_0x5bae5d[_0x38e30c(0x153)]+']\x20'+_0x5bae5d[_0x38e30c(0x156)];const _0x37e0b5=this[_0x38e30c(0x141)][_0x38e30c(0x145)](_0x387b7e),_0x1f0b5e=this[_0x38e30c(0x142)](_0x16d318,_0x5bae5d[_0x38e30c(0x13e)]),_0x929854=this[_0x38e30c(0x141)][_0x38e30c(0x143)]('['+_0x5bae5d['component']+']');return _0x37e0b5+'\x20'+_0x1f0b5e+'\x20'+_0x929854+'\x20'+_0x5bae5d[_0x38e30c(0x156)];}['colorLevel'](_0x40174b,_0x32244d){const _0x46ae41=a222_0x2cac88;switch(_0x32244d){case LogLevel[_0x46ae41(0x149)]:return this[_0x46ae41(0x141)][_0x46ae41(0x14e)]('['+_0x40174b+']');case LogLevel['DEBUG']:return this[_0x46ae41(0x141)][_0x46ae41(0x147)]('['+_0x40174b+']');case LogLevel[_0x46ae41(0x14b)]:return this['chalk'][_0x46ae41(0x157)]('['+_0x40174b+']');case LogLevel[_0x46ae41(0x148)]:return this['chalk'][_0x46ae41(0x13c)]('['+_0x40174b+']');case LogLevel[_0x46ae41(0x14d)]:return this[_0x46ae41(0x141)][_0x46ae41(0x139)]('['+_0x40174b+']');default:return'['+_0x40174b+']';}}}
1
+ function a222_0x4b24(){const _0x5b72f1=['INFO',']\x20[','3wPXbgJ','4455252dwXvtV','yellow','timestamp','776810LyJsBe','message','component','chalk','31190iNcktq','TRACE','colors','1252160bScNpn','743172JoTcto','dim','level','gray','DEBUG','44pdJkxv','WARN','colorLevel','8619611JJnLNy','cyan','774585nYBaak','default'];a222_0x4b24=function(){return _0x5b72f1;};return a222_0x4b24();}const a222_0x21b641=a222_0x4a0a;(function(_0x2183b5,_0x2809a9){const _0x406616=a222_0x4a0a,_0x26ec91=_0x2183b5();while(!![]){try{const _0x586410=parseInt(_0x406616(0x135))/0x1+parseInt(_0x406616(0x13d))/0x2*(parseInt(_0x406616(0x131))/0x3)+-parseInt(_0x406616(0x128))/0x4*(-parseInt(_0x406616(0x139))/0x5)+parseInt(_0x406616(0x132))/0x6+-parseInt(_0x406616(0x12b))/0x7+parseInt(_0x406616(0x13c))/0x8+-parseInt(_0x406616(0x12d))/0x9;if(_0x586410===_0x2809a9)break;else _0x26ec91['push'](_0x26ec91['shift']());}catch(_0x59a950){_0x26ec91['push'](_0x26ec91['shift']());}}}(a222_0x4b24,0xc2fae));function a222_0x4a0a(_0x1da31b,_0x2950c9){_0x1da31b=_0x1da31b-0x128;const _0x4b2408=a222_0x4b24();let _0x4a0a05=_0x4b2408[_0x1da31b];return _0x4a0a05;}import a222_0x4e421e from'chalk';import{LogLevel,logLevelToString,formatTimestamp}from'../types.js';const chalkModule=a222_0x4e421e,ChalkClass=chalkModule['Chalk']||chalkModule[a222_0x21b641(0x12e)]?.['Chalk'];export class DefaultLogFormatter{[a222_0x21b641(0x13b)];[a222_0x21b641(0x138)];constructor(_0x58ae73={}){const _0x45d547=a222_0x21b641;this[_0x45d547(0x13b)]=_0x58ae73[_0x45d547(0x13b)]??![],this[_0x45d547(0x138)]=_0x58ae73[_0x45d547(0x13b)]&&ChalkClass?new ChalkClass({'level':0x3}):a222_0x4e421e;}['format'](_0x207c20){const _0x201bce=a222_0x21b641,_0x4ec843=formatTimestamp(_0x207c20[_0x201bce(0x134)]),_0x1e882e=logLevelToString(_0x207c20[_0x201bce(0x13f)]);if(!this[_0x201bce(0x13b)])return _0x4ec843+'\x20['+_0x1e882e+_0x201bce(0x130)+_0x207c20[_0x201bce(0x137)]+']\x20'+_0x207c20[_0x201bce(0x136)];const _0x318614=this[_0x201bce(0x138)][_0x201bce(0x13e)](_0x4ec843),_0xdecef6=this[_0x201bce(0x12a)](_0x1e882e,_0x207c20[_0x201bce(0x13f)]),_0x564c2b=this['chalk']['blue']('['+_0x207c20[_0x201bce(0x137)]+']');return _0x318614+'\x20'+_0xdecef6+'\x20'+_0x564c2b+'\x20'+_0x207c20[_0x201bce(0x136)];}['colorLevel'](_0x57c44f,_0x3b5a50){const _0x1cefa5=a222_0x21b641;switch(_0x3b5a50){case LogLevel[_0x1cefa5(0x13a)]:return this[_0x1cefa5(0x138)][_0x1cefa5(0x140)]('['+_0x57c44f+']');case LogLevel[_0x1cefa5(0x141)]:return this[_0x1cefa5(0x138)]['green']('['+_0x57c44f+']');case LogLevel[_0x1cefa5(0x12f)]:return this[_0x1cefa5(0x138)][_0x1cefa5(0x12c)]('['+_0x57c44f+']');case LogLevel[_0x1cefa5(0x129)]:return this[_0x1cefa5(0x138)][_0x1cefa5(0x133)]('['+_0x57c44f+']');case LogLevel['ERROR']:return this[_0x1cefa5(0x138)]['red']('['+_0x57c44f+']');default:return'['+_0x57c44f+']';}}}
@@ -1 +1 @@
1
- (function(_0xc98944,_0x4510e3){var _0x3d113c=a223_0x3c28,_0x15c282=_0xc98944();while(!![]){try{var _0x364aa0=parseInt(_0x3d113c(0x7f))/0x1+-parseInt(_0x3d113c(0x85))/0x2+parseInt(_0x3d113c(0x7e))/0x3+parseInt(_0x3d113c(0x80))/0x4*(parseInt(_0x3d113c(0x82))/0x5)+parseInt(_0x3d113c(0x83))/0x6+parseInt(_0x3d113c(0x81))/0x7+-parseInt(_0x3d113c(0x84))/0x8;if(_0x364aa0===_0x4510e3)break;else _0x15c282['push'](_0x15c282['shift']());}catch(_0x18935f){_0x15c282['push'](_0x15c282['shift']());}}}(a223_0x4012,0x27e37));function a223_0x3c28(_0x580c91,_0x3be9e4){_0x580c91=_0x580c91-0x7e;var _0x401253=a223_0x4012();var _0x3c288a=_0x401253[_0x580c91];return _0x3c288a;}function a223_0x4012(){var _0x28196e=['466249raukVW','205115jHxcPg','113748lpmUmF','2690944PiLNKT','434916AgsKTc','138972ydhnKL','298159RgthOo','28SfDdHf'];a223_0x4012=function(){return _0x28196e;};return a223_0x4012();}export{DefaultLogFormatter}from'./default-formatter.js';
1
+ (function(_0x314ba4,_0xdff2c9){var _0x41c378=a223_0x53df,_0x40cb53=_0x314ba4();while(!![]){try{var _0xdecefe=parseInt(_0x41c378(0x117))/0x1*(parseInt(_0x41c378(0x118))/0x2)+-parseInt(_0x41c378(0x116))/0x3*(-parseInt(_0x41c378(0x113))/0x4)+-parseInt(_0x41c378(0x111))/0x5*(parseInt(_0x41c378(0x110))/0x6)+-parseInt(_0x41c378(0x10f))/0x7+parseInt(_0x41c378(0x114))/0x8+parseInt(_0x41c378(0x119))/0x9+parseInt(_0x41c378(0x115))/0xa*(parseInt(_0x41c378(0x112))/0xb);if(_0xdecefe===_0xdff2c9)break;else _0x40cb53['push'](_0x40cb53['shift']());}catch(_0x2b270a){_0x40cb53['push'](_0x40cb53['shift']());}}}(a223_0x5047,0x83858));export{DefaultLogFormatter}from'./default-formatter.js';function a223_0x53df(_0x5b17a8,_0x2c24a7){_0x5b17a8=_0x5b17a8-0x10f;var _0x50473c=a223_0x5047();var _0x53df3a=_0x50473c[_0x5b17a8];return _0x53df3a;}function a223_0x5047(){var _0x109076=['310wewXhP','11wRnWTC','16QOYOIz','1400016aXavty','435430FEckaS','275073AChdXM','1PoisoG','2054524NCnHnI','282645yAVZzf','3211530sjpvIk','62562LMeemz'];a223_0x5047=function(){return _0x109076;};return a223_0x5047();}
@@ -1 +1 @@
1
- const a224_0x4349a3=a224_0x5cb4;(function(_0x15373d,_0x6f610a){const _0x204d92=a224_0x5cb4,_0xa17f47=_0x15373d();while(!![]){try{const _0x4eb65a=-parseInt(_0x204d92(0x1a1))/0x1+parseInt(_0x204d92(0x193))/0x2*(parseInt(_0x204d92(0x19a))/0x3)+-parseInt(_0x204d92(0x194))/0x4+-parseInt(_0x204d92(0x190))/0x5+-parseInt(_0x204d92(0x196))/0x6*(-parseInt(_0x204d92(0x191))/0x7)+parseInt(_0x204d92(0x198))/0x8*(-parseInt(_0x204d92(0x19c))/0x9)+parseInt(_0x204d92(0x18f))/0xa*(parseInt(_0x204d92(0x19f))/0xb);if(_0x4eb65a===_0x6f610a)break;else _0xa17f47['push'](_0xa17f47['shift']());}catch(_0x1042da){_0xa17f47['push'](_0xa17f47['shift']());}}}(a224_0x38c4,0xace83));function a224_0x5cb4(_0x267384,_0x4a12b4){_0x267384=_0x267384-0x18f;const _0x38c480=a224_0x38c4();let _0x5cb44e=_0x38c480[_0x267384];return _0x5cb44e;}import{LogLevel as a224_0x48c5b1}from'../types.js';import{DefaultLogFormatter}from'../formatters/index.js';function a224_0x38c4(){const _0x38a1ba=['useStderr','8gmgwAD','4952724XHDrcv','format','60RMgZSy','log','413544KjHyCH','handle','279213vUfBcA','minLevel','72ienTTZ','colors','formatter','11MBOVcz','WARN','833055ZhLVmN','level','29726180LvPypv','2854025OuBxYL','293237xEAWhI'];a224_0x38c4=function(){return _0x38a1ba;};return a224_0x38c4();}export class ConsoleHandler{[a224_0x4349a3(0x19b)];[a224_0x4349a3(0x192)];[a224_0x4349a3(0x19e)];constructor(_0x2ffe41={}){const _0x3acabe=a224_0x4349a3;this[_0x3acabe(0x19b)]=_0x2ffe41[_0x3acabe(0x19b)]??a224_0x48c5b1[_0x3acabe(0x1a0)],this['useStderr']=_0x2ffe41[_0x3acabe(0x192)]??!![],this[_0x3acabe(0x19e)]=new DefaultLogFormatter({'colors':_0x2ffe41[_0x3acabe(0x19d)]??!![]});}[a224_0x4349a3(0x199)](_0x1e94b0){const _0x1df795=a224_0x4349a3;if(_0x1e94b0[_0x1df795(0x1a2)]<this[_0x1df795(0x19b)])return;const _0x2a2cfd=this[_0x1df795(0x19e)][_0x1df795(0x195)](_0x1e94b0);this[_0x1df795(0x192)]&&_0x1e94b0[_0x1df795(0x1a2)]>=a224_0x48c5b1[_0x1df795(0x1a0)]?console['error'](_0x2a2cfd):console[_0x1df795(0x197)](_0x2a2cfd);}}
1
+ const a224_0x2c357a=a224_0x26bf;(function(_0x39fb36,_0x4ef87c){const _0x22448f=a224_0x26bf,_0x1c500b=_0x39fb36();while(!![]){try{const _0x41a839=-parseInt(_0x22448f(0x6e))/0x1*(-parseInt(_0x22448f(0x66))/0x2)+-parseInt(_0x22448f(0x71))/0x3+-parseInt(_0x22448f(0x69))/0x4+-parseInt(_0x22448f(0x70))/0x5*(parseInt(_0x22448f(0x73))/0x6)+parseInt(_0x22448f(0x6f))/0x7+parseInt(_0x22448f(0x6c))/0x8*(parseInt(_0x22448f(0x6a))/0x9)+parseInt(_0x22448f(0x74))/0xa;if(_0x41a839===_0x4ef87c)break;else _0x1c500b['push'](_0x1c500b['shift']());}catch(_0x20c19d){_0x1c500b['push'](_0x1c500b['shift']());}}}(a224_0x53a7,0xc825e));function a224_0x53a7(){const _0xd630fc=['useStderr','colors','143368MnWDvB','3011895CjJPqj','format','8LgtaTO','formatter','2kSYMzc','4401026rTKGcO','779615ZBheHi','248991ANcDyj','minLevel','54sRRdkw','5793530nernGt','log','handle','WARN','799226lnHBiH'];a224_0x53a7=function(){return _0xd630fc;};return a224_0x53a7();}import{LogLevel as a224_0x22756b}from'../types.js';import{DefaultLogFormatter}from'../formatters/index.js';function a224_0x26bf(_0x31b00e,_0x5328de){_0x31b00e=_0x31b00e-0x65;const _0x53a7b7=a224_0x53a7();let _0x26bf95=_0x53a7b7[_0x31b00e];return _0x26bf95;}export class ConsoleHandler{['minLevel'];[a224_0x2c357a(0x67)];[a224_0x2c357a(0x6d)];constructor(_0x27978f={}){const _0x37dffa=a224_0x2c357a;this['minLevel']=_0x27978f[_0x37dffa(0x72)]??a224_0x22756b[_0x37dffa(0x65)],this['useStderr']=_0x27978f[_0x37dffa(0x67)]??!![],this[_0x37dffa(0x6d)]=new DefaultLogFormatter({'colors':_0x27978f[_0x37dffa(0x68)]??!![]});}[a224_0x2c357a(0x76)](_0x1fd3a1){const _0x2845ba=a224_0x2c357a;if(_0x1fd3a1['level']<this[_0x2845ba(0x72)])return;const _0x5b9cb1=this['formatter'][_0x2845ba(0x6b)](_0x1fd3a1);this['useStderr']&&_0x1fd3a1['level']>=a224_0x22756b['WARN']?console['error'](_0x5b9cb1):console[_0x2845ba(0x75)](_0x5b9cb1);}}
@@ -1 +1 @@
1
- const a225_0x5a92af=a225_0x22de;function a225_0x22de(_0x49cccb,_0x5b7ffe){_0x49cccb=_0x49cccb-0x84;const _0x522a87=a225_0x522a();let _0x22de40=_0x522a87[_0x49cccb];return _0x22de40;}(function(_0x397e55,_0xfef519){const _0x5bf8cd=a225_0x22de,_0x36224e=_0x397e55();while(!![]){try{const _0x132cca=parseInt(_0x5bf8cd(0x8e))/0x1*(parseInt(_0x5bf8cd(0x86))/0x2)+parseInt(_0x5bf8cd(0x8b))/0x3*(-parseInt(_0x5bf8cd(0xa0))/0x4)+parseInt(_0x5bf8cd(0xa8))/0x5*(parseInt(_0x5bf8cd(0x88))/0x6)+-parseInt(_0x5bf8cd(0x91))/0x7*(-parseInt(_0x5bf8cd(0x90))/0x8)+-parseInt(_0x5bf8cd(0x87))/0x9+-parseInt(_0x5bf8cd(0x93))/0xa+parseInt(_0x5bf8cd(0xa5))/0xb;if(_0x132cca===_0xfef519)break;else _0x36224e['push'](_0x36224e['shift']());}catch(_0x371e0b){_0x36224e['push'](_0x36224e['shift']());}}}(a225_0x522a,0xbfa20));import{createWriteStream,createReadStream}from'fs';import{mkdir,readdir,unlink,stat,rename}from'fs/promises';function a225_0x522a(){const _0xf3c62f=['toISOString','16lCvinY','logDir','error','handle','message','2861485gqqjqx','logs','tdx.log','5418545lvEYyp','logStream','includes','2HDbuto','11547738WwszaT','6ISUkmP','filePath','filter','67038JZRxTu','Warning:\x20Failed\x20to\x20compress\x20','rotate','78464rXCLTx','end','8IvfNNR','7288568jZBRGs','logPath','3061380ZsutYa','logBaseName','rotateOldLogs','Warning:\x20Error\x20writing\x20to\x20','init','logFileName','mtime','.log','.gz','write','\x5c$&','split'];a225_0x522a=function(){return _0xf3c62f;};return a225_0x522a();}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';export class FileHandler{[a225_0x5a92af(0x92)];[a225_0x5a92af(0xa1)];[a225_0x5a92af(0x98)];[a225_0x5a92af(0x94)];[a225_0x5a92af(0x84)]=null;[a225_0x5a92af(0x8d)];constructor(_0x43235f={}){const _0x23da9e=a225_0x5a92af;this[_0x23da9e(0x92)]=_0x43235f[_0x23da9e(0x89)]??join(getGlobalCacheDir(),_0x23da9e(0xa6),_0x23da9e(0xa7)),this['logDir']=dirname(this[_0x23da9e(0x92)]),this[_0x23da9e(0x98)]=basename(this[_0x23da9e(0x92)]),this[_0x23da9e(0x94)]=this[_0x23da9e(0x98)]['replace'](/\.log$/,''),this[_0x23da9e(0x8d)]=_0x43235f[_0x23da9e(0x8d)]??!![];}async[a225_0x5a92af(0x97)](){const _0x3b2640=a225_0x5a92af;try{await mkdir(this[_0x3b2640(0xa1)],{'recursive':!![]}),this[_0x3b2640(0x8d)]&&await this['rotateOldLogs'](),this['logStream']=createWriteStream(this[_0x3b2640(0x92)],{'flags':'a'}),this['logStream']['on'](_0x3b2640(0xa2),_0x4876da=>{const _0x2d38ab=_0x3b2640;console[_0x2d38ab(0xa2)](_0x2d38ab(0x96)+this[_0x2d38ab(0x98)]+':',_0x4876da[_0x2d38ab(0xa4)]);});}catch(_0xa30ac2){console['error']('Warning:\x20Failed\x20to\x20initialize\x20log\x20file:',_0xa30ac2);}}[a225_0x5a92af(0xa3)](_0x1c64be){const _0x19ee80=a225_0x5a92af;if(!this[_0x19ee80(0x84)])return;const _0x1d6a5f=Logger['format'](_0x1c64be);this['logStream'][_0x19ee80(0x9c)](_0x1d6a5f+'\x0a');}async['close'](){return new Promise(_0x57dff9=>{const _0x3f2e1d=a225_0x22de;this[_0x3f2e1d(0x84)]?this['logStream'][_0x3f2e1d(0x8f)](()=>{const _0x1421b3=_0x3f2e1d;this[_0x1421b3(0x84)]=null,_0x57dff9();}):_0x57dff9();});}['getLogPath'](){const _0x1e6652=a225_0x5a92af;return this[_0x1e6652(0x92)];}async[a225_0x5a92af(0x95)](){const _0x11a081=a225_0x5a92af;try{const _0x25b48f=await readdir(this['logDir']),_0x4377cb=new Date()[_0x11a081(0x9f)]()[_0x11a081(0x9e)]('T')[0x0];if(_0x25b48f[_0x11a081(0x85)](this['logFileName'])){const _0x5f46e3=join(this[_0x11a081(0xa1)],this[_0x11a081(0x98)]),_0xbcb9fb=await stat(_0x5f46e3),_0x480ab2=new Date(_0xbcb9fb[_0x11a081(0x99)])[_0x11a081(0x9f)]()[_0x11a081(0x9e)]('T')[0x0];if(_0x480ab2<_0x4377cb){const _0x1a31a2=join(this[_0x11a081(0xa1)],this[_0x11a081(0x94)]+'-'+_0x480ab2+_0x11a081(0x9a));await rename(_0x5f46e3,_0x1a31a2);}}const _0x34fe3b=await readdir(this['logDir']),_0x33cc51=this[_0x11a081(0x94)]['replace'](/[.*+?^${}()|[\]\\]/g,_0x11a081(0x9d)),_0x2444c0=new RegExp('^'+_0x33cc51+'-(\x5cd{4}-\x5cd{2}-\x5cd{2})\x5c.log$'),_0x202853=_0x34fe3b[_0x11a081(0x8a)](_0x5ddb7c=>_0x2444c0['test'](_0x5ddb7c));for(const _0x27860d of _0x202853){const _0x3fe99c=join(this[_0x11a081(0xa1)],_0x27860d),_0x3ef85a=join(this[_0x11a081(0xa1)],_0x27860d+_0x11a081(0x9b));try{await pipeline(createReadStream(_0x3fe99c),createGzip(),createWriteStream(_0x3ef85a)),await unlink(_0x3fe99c);}catch(_0x1900f6){console[_0x11a081(0xa2)](_0x11a081(0x8c)+_0x27860d+':',_0x1900f6);}}}catch{}}}
1
+ const a225_0x22e7b7=a225_0x22fc;(function(_0x543dae,_0x5c1d55){const _0x2aca8d=a225_0x22fc,_0x27e1eb=_0x543dae();while(!![]){try{const _0x3531aa=parseInt(_0x2aca8d(0xe6))/0x1*(-parseInt(_0x2aca8d(0xf2))/0x2)+-parseInt(_0x2aca8d(0xfe))/0x3*(parseInt(_0x2aca8d(0x104))/0x4)+parseInt(_0x2aca8d(0xe4))/0x5*(-parseInt(_0x2aca8d(0xe3))/0x6)+parseInt(_0x2aca8d(0xf3))/0x7*(-parseInt(_0x2aca8d(0x100))/0x8)+parseInt(_0x2aca8d(0xf4))/0x9+-parseInt(_0x2aca8d(0xea))/0xa+parseInt(_0x2aca8d(0x103))/0xb;if(_0x3531aa===_0x5c1d55)break;else _0x27e1eb['push'](_0x27e1eb['shift']());}catch(_0xb19928){_0x27e1eb['push'](_0x27e1eb['shift']());}}}(a225_0x24c8,0xea99a));import{createWriteStream,createReadStream}from'fs';import{mkdir,readdir,unlink,stat,rename}from'fs/promises';function a225_0x24c8(){const _0x168627=['init','split','447940tCCHZn','77JlwrdS','6273918iyPwTG','-(\x5cd{4}-\x5cd{2}-\x5cd{2})\x5c.log$','replace','logFileName','filter','Warning:\x20Error\x20writing\x20to\x20','.log','logDir','includes','format','126924eYarxp','getLogPath','1267368RXVqeG','Warning:\x20Failed\x20to\x20initialize\x20log\x20file:','message','41841580zvAgWh','28lxbVov','logStream','error','logBaseName','Warning:\x20Failed\x20to\x20compress\x20','write','1008426imaQSP','5gCDMGR','handle','2sIRLBR','mtime','logPath','close','8851620pTMmbH','toISOString','rotate','filePath','\x5c$&','logs'];a225_0x24c8=function(){return _0x168627;};return a225_0x24c8();}function a225_0x22fc(_0x33e10a,_0x4861ce){_0x33e10a=_0x33e10a-0xdf;const _0x24c88d=a225_0x24c8();let _0x22fc5c=_0x24c88d[_0x33e10a];return _0x22fc5c;}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';export class FileHandler{['logPath'];[a225_0x22e7b7(0xfb)];[a225_0x22e7b7(0xf7)];['logBaseName'];[a225_0x22e7b7(0x105)]=null;[a225_0x22e7b7(0xec)];constructor(_0x453244={}){const _0x1aeab3=a225_0x22e7b7;this[_0x1aeab3(0xe8)]=_0x453244[_0x1aeab3(0xed)]??join(getGlobalCacheDir(),_0x1aeab3(0xef),'tdx.log'),this[_0x1aeab3(0xfb)]=dirname(this[_0x1aeab3(0xe8)]),this[_0x1aeab3(0xf7)]=basename(this[_0x1aeab3(0xe8)]),this[_0x1aeab3(0xe0)]=this['logFileName']['replace'](/\.log$/,''),this[_0x1aeab3(0xec)]=_0x453244[_0x1aeab3(0xec)]??!![];}async[a225_0x22e7b7(0xf0)](){const _0xe3e102=a225_0x22e7b7;try{await mkdir(this[_0xe3e102(0xfb)],{'recursive':!![]}),this['rotate']&&await this['rotateOldLogs'](),this[_0xe3e102(0x105)]=createWriteStream(this[_0xe3e102(0xe8)],{'flags':'a'}),this[_0xe3e102(0x105)]['on']('error',_0x585d20=>{const _0xde2b27=_0xe3e102;console[_0xde2b27(0xdf)](_0xde2b27(0xf9)+this[_0xde2b27(0xf7)]+':',_0x585d20[_0xde2b27(0x102)]);});}catch(_0x4b1e7f){console[_0xe3e102(0xdf)](_0xe3e102(0x101),_0x4b1e7f);}}[a225_0x22e7b7(0xe5)](_0x37671d){const _0x1e556d=a225_0x22e7b7;if(!this[_0x1e556d(0x105)])return;const _0x5b4ce0=Logger[_0x1e556d(0xfd)](_0x37671d);this[_0x1e556d(0x105)][_0x1e556d(0xe2)](_0x5b4ce0+'\x0a');}async[a225_0x22e7b7(0xe9)](){return new Promise(_0x235e35=>{const _0x155fed=a225_0x22fc;this[_0x155fed(0x105)]?this['logStream']['end'](()=>{const _0x1c6352=_0x155fed;this[_0x1c6352(0x105)]=null,_0x235e35();}):_0x235e35();});}[a225_0x22e7b7(0xff)](){const _0x30ddff=a225_0x22e7b7;return this[_0x30ddff(0xe8)];}async['rotateOldLogs'](){const _0x5ee63a=a225_0x22e7b7;try{const _0x1e4796=await readdir(this['logDir']),_0x5263e7=new Date()[_0x5ee63a(0xeb)]()[_0x5ee63a(0xf1)]('T')[0x0];if(_0x1e4796[_0x5ee63a(0xfc)](this[_0x5ee63a(0xf7)])){const _0xee5bb=join(this[_0x5ee63a(0xfb)],this[_0x5ee63a(0xf7)]),_0x3daa16=await stat(_0xee5bb),_0x4c2e63=new Date(_0x3daa16[_0x5ee63a(0xe7)])[_0x5ee63a(0xeb)]()['split']('T')[0x0];if(_0x4c2e63<_0x5263e7){const _0x306f4e=join(this[_0x5ee63a(0xfb)],this[_0x5ee63a(0xe0)]+'-'+_0x4c2e63+_0x5ee63a(0xfa));await rename(_0xee5bb,_0x306f4e);}}const _0x12fa96=await readdir(this[_0x5ee63a(0xfb)]),_0x2801ea=this[_0x5ee63a(0xe0)][_0x5ee63a(0xf6)](/[.*+?^${}()|[\]\\]/g,_0x5ee63a(0xee)),_0x337ecf=new RegExp('^'+_0x2801ea+_0x5ee63a(0xf5)),_0x1d1268=_0x12fa96[_0x5ee63a(0xf8)](_0x222e43=>_0x337ecf['test'](_0x222e43));for(const _0x4d5299 of _0x1d1268){const _0x3eaf47=join(this['logDir'],_0x4d5299),_0x404833=join(this[_0x5ee63a(0xfb)],_0x4d5299+'.gz');try{await pipeline(createReadStream(_0x3eaf47),createGzip(),createWriteStream(_0x404833)),await unlink(_0x3eaf47);}catch(_0x1cdf91){console[_0x5ee63a(0xdf)](_0x5ee63a(0xe1)+_0x4d5299+':',_0x1cdf91);}}}catch{}}}
@@ -1 +1 @@
1
- (function(_0x3ff95c,_0x5c9259){var _0x4aafb5=a226_0x1f50,_0x499302=_0x3ff95c();while(!![]){try{var _0x1acfde=-parseInt(_0x4aafb5(0x1c1))/0x1*(-parseInt(_0x4aafb5(0x1bc))/0x2)+-parseInt(_0x4aafb5(0x1c3))/0x3*(parseInt(_0x4aafb5(0x1bd))/0x4)+-parseInt(_0x4aafb5(0x1ba))/0x5*(-parseInt(_0x4aafb5(0x1c2))/0x6)+-parseInt(_0x4aafb5(0x1bf))/0x7+parseInt(_0x4aafb5(0x1be))/0x8+parseInt(_0x4aafb5(0x1b9))/0x9+parseInt(_0x4aafb5(0x1bb))/0xa*(-parseInt(_0x4aafb5(0x1c0))/0xb);if(_0x1acfde===_0x5c9259)break;else _0x499302['push'](_0x499302['shift']());}catch(_0x1313d4){_0x499302['push'](_0x499302['shift']());}}}(a226_0x4893,0xb1320));function a226_0x1f50(_0x2689ab,_0x18b3dd){_0x2689ab=_0x2689ab-0x1b9;var _0x4893ab=a226_0x4893();var _0x1f508c=_0x4893ab[_0x2689ab];return _0x1f508c;}function a226_0x4893(){var _0x402a98=['6710Koeyje','2413982LRErfl','12196obaVuy','8225160Casvvb','3373398bpwBAa','41822hvYiej','1KrBzbl','1632AebmZN','60uBgZaJ','12864420XQzTdU','2855fVxBkU'];a226_0x4893=function(){return _0x402a98;};return a226_0x4893();}export{FileHandler}from'./file-handler.js';export{ConsoleHandler}from'./console-handler.js';export{NullHandler}from'./null-handler.js';
1
+ (function(_0x2dc251,_0x24bd44){var _0xaf02d9=a226_0x4938,_0x10d0e3=_0x2dc251();while(!![]){try{var _0x2a6a52=parseInt(_0xaf02d9(0x18c))/0x1+parseInt(_0xaf02d9(0x186))/0x2+-parseInt(_0xaf02d9(0x18a))/0x3*(-parseInt(_0xaf02d9(0x187))/0x4)+-parseInt(_0xaf02d9(0x185))/0x5+-parseInt(_0xaf02d9(0x189))/0x6+-parseInt(_0xaf02d9(0x188))/0x7+-parseInt(_0xaf02d9(0x18b))/0x8*(-parseInt(_0xaf02d9(0x184))/0x9);if(_0x2a6a52===_0x24bd44)break;else _0x10d0e3['push'](_0x10d0e3['shift']());}catch(_0x37dcde){_0x10d0e3['push'](_0x10d0e3['shift']());}}}(a226_0x37e5,0x7bc1f));export{FileHandler}from'./file-handler.js';function a226_0x37e5(){var _0x437da=['145008aujqmI','627292fGCFpv','711aPsGur','2413100hrvunI','247296ssUMkK','3596NIzxdn','3444287yQWUwJ','5184246iCaZAJ','543SFRokL'];a226_0x37e5=function(){return _0x437da;};return a226_0x37e5();}export{ConsoleHandler}from'./console-handler.js';function a226_0x4938(_0x2dcffe,_0x405e60){_0x2dcffe=_0x2dcffe-0x184;var _0x37e5be=a226_0x37e5();var _0x4938bb=_0x37e5be[_0x2dcffe];return _0x4938bb;}export{NullHandler}from'./null-handler.js';
@@ -1 +1 @@
1
- function a227_0x59d2(){var _0x3deb2b=['5122568XgbIfq','939EONWDh','handle','153950prgdQm','15851170FCVNQS','1001412LzdtLu','2010249DiDXAd','4128hSyalJ','148NGMmWr','14tGYVOE','2825514wQVomu'];a227_0x59d2=function(){return _0x3deb2b;};return a227_0x59d2();}var a227_0x3be76f=a227_0x1b84;(function(_0x4c9970,_0x368d2c){var _0x4c3a10=a227_0x1b84,_0x322482=_0x4c9970();while(!![]){try{var _0xe90eca=parseInt(_0x4c3a10(0x9e))/0x1+-parseInt(_0x4c3a10(0xa0))/0x2*(-parseInt(_0x4c3a10(0x9a))/0x3)+parseInt(_0x4c3a10(0x96))/0x4*(-parseInt(_0x4c3a10(0x9c))/0x5)+-parseInt(_0x4c3a10(0x98))/0x6*(-parseInt(_0x4c3a10(0x97))/0x7)+parseInt(_0x4c3a10(0x99))/0x8+parseInt(_0x4c3a10(0x9f))/0x9+-parseInt(_0x4c3a10(0x9d))/0xa;if(_0xe90eca===_0x368d2c)break;else _0x322482['push'](_0x322482['shift']());}catch(_0x16a4f2){_0x322482['push'](_0x322482['shift']());}}}(a227_0x59d2,0xb1e29));function a227_0x1b84(_0x481c61,_0x5d1db8){_0x481c61=_0x481c61-0x96;var _0x59d2c0=a227_0x59d2();var _0x1b842=_0x59d2c0[_0x481c61];return _0x1b842;}export class NullHandler{[a227_0x3be76f(0x9b)](_0x35c97b){}}
1
+ function a227_0x3641(){var _0x39f688=['8lCNOqP','11sOkHCL','36109596oFbRcB','2419149qXUPtS','handle','3207290LUgVLr','789088hdOTVp','1371512staOJk','10AGcSOY','36CNyfSl','1588155yGGDYQ','14FRtMrA','16651638pqqsvD'];a227_0x3641=function(){return _0x39f688;};return a227_0x3641();}function a227_0x1720(_0x157d96,_0x384874){_0x157d96=_0x157d96-0xdd;var _0x3641a7=a227_0x3641();var _0x172029=_0x3641a7[_0x157d96];return _0x172029;}var a227_0x494056=a227_0x1720;(function(_0x377ff4,_0x276e8e){var _0x53e9b5=a227_0x1720,_0x115b0e=_0x377ff4();while(!![]){try{var _0x5b26ea=parseInt(_0x53e9b5(0xdf))/0x1+-parseInt(_0x53e9b5(0xde))/0x2+parseInt(_0x53e9b5(0xe9))/0x3*(-parseInt(_0x53e9b5(0xe6))/0x4)+-parseInt(_0x53e9b5(0xe3))/0x5*(-parseInt(_0x53e9b5(0xe2))/0x6)+-parseInt(_0x53e9b5(0xe4))/0x7*(-parseInt(_0x53e9b5(0xe0))/0x8)+parseInt(_0x53e9b5(0xe5))/0x9*(-parseInt(_0x53e9b5(0xe1))/0xa)+-parseInt(_0x53e9b5(0xe7))/0xb*(-parseInt(_0x53e9b5(0xe8))/0xc);if(_0x5b26ea===_0x276e8e)break;else _0x115b0e['push'](_0x115b0e['shift']());}catch(_0x481aba){_0x115b0e['push'](_0x115b0e['shift']());}}}(a227_0x3641,0xef544));export class NullHandler{[a227_0x494056(0xdd)](_0x568fa6){}}
@@ -1 +1 @@
1
- (function(_0x2274d1,_0x56678d){var _0x50e56c=a228_0x1462,_0x1ccd74=_0x2274d1();while(!![]){try{var _0x3b9e98=-parseInt(_0x50e56c(0xaa))/0x1+-parseInt(_0x50e56c(0xaf))/0x2*(parseInt(_0x50e56c(0xae))/0x3)+-parseInt(_0x50e56c(0xb1))/0x4*(parseInt(_0x50e56c(0xb2))/0x5)+parseInt(_0x50e56c(0xab))/0x6+-parseInt(_0x50e56c(0xad))/0x7+-parseInt(_0x50e56c(0xb0))/0x8+parseInt(_0x50e56c(0xac))/0x9;if(_0x3b9e98===_0x56678d)break;else _0x1ccd74['push'](_0x1ccd74['shift']());}catch(_0x24cbc2){_0x1ccd74['push'](_0x1ccd74['shift']());}}}(a228_0x1c12,0xc207b));export{Logger}from'./logger.js';function a228_0x1c12(){var _0x1e48ce=['417372mCGFzh','31902624otDksh','533988fVatzn','3eBepzH','1713272fDBsqn','6080192SFdKWI','1868FvdpHm','1850BHPmws','953817wRepRw'];a228_0x1c12=function(){return _0x1e48ce;};return a228_0x1c12();}export{LogLevel,parseLogLevel,logLevelToString}from'./types.js';function a228_0x1462(_0x4a8748,_0x2fb7d1){_0x4a8748=_0x4a8748-0xaa;var _0x1c1274=a228_0x1c12();var _0x1462ef=_0x1c1274[_0x4a8748];return _0x1462ef;}export{FileHandler,ConsoleHandler,NullHandler}from'./handlers/index.js';export{DefaultLogFormatter}from'./formatters/index.js';
1
+ (function(_0x255697,_0x393517){var _0xa0e9cc=a228_0x40c1,_0x4efd1e=_0x255697();while(!![]){try{var _0x3a80ee=-parseInt(_0xa0e9cc(0x151))/0x1*(parseInt(_0xa0e9cc(0x14d))/0x2)+parseInt(_0xa0e9cc(0x149))/0x3*(parseInt(_0xa0e9cc(0x148))/0x4)+-parseInt(_0xa0e9cc(0x14f))/0x5+-parseInt(_0xa0e9cc(0x14e))/0x6*(-parseInt(_0xa0e9cc(0x14c))/0x7)+parseInt(_0xa0e9cc(0x14a))/0x8+parseInt(_0xa0e9cc(0x152))/0x9*(-parseInt(_0xa0e9cc(0x150))/0xa)+parseInt(_0xa0e9cc(0x14b))/0xb;if(_0x3a80ee===_0x393517)break;else _0x4efd1e['push'](_0x4efd1e['shift']());}catch(_0xcd916f){_0x4efd1e['push'](_0x4efd1e['shift']());}}}(a228_0x14d3,0x5a4f2));export{Logger}from'./logger.js';function a228_0x40c1(_0x110a87,_0x5412bf){_0x110a87=_0x110a87-0x148;var _0x14d35b=a228_0x14d3();var _0x40c1b1=_0x14d35b[_0x110a87];return _0x40c1b1;}export{LogLevel,parseLogLevel,logLevelToString}from'./types.js';function a228_0x14d3(){var _0x11f78e=['287gYAXRd','612248WSkNxS','99774vQUKjc','3320640sYXEyf','211210RvfUvi','1cYGBMH','171YYyQSR','613660wGFKaD','9GZwBis','4674384PopxSu','166375QBYxsq'];a228_0x14d3=function(){return _0x11f78e;};return a228_0x14d3();}export{FileHandler,ConsoleHandler,NullHandler}from'./handlers/index.js';export{DefaultLogFormatter}from'./formatters/index.js';