@treasuredata/tdx 0.1.16 → 0.1.18

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 (85) hide show
  1. package/README.md +10 -0
  2. package/dist/cli.js +1 -1
  3. package/dist/cli.js.map +1 -1
  4. package/dist/client/cdp-client.js +1 -1
  5. package/dist/client/http-client.js +1 -1
  6. package/dist/client/llm-client.js +1 -1
  7. package/dist/client/rate-limiter.js +1 -1
  8. package/dist/client/td-client.js +1 -1
  9. package/dist/client/trino-client.js +1 -1
  10. package/dist/client/workflow-client.js +1 -1
  11. package/dist/commands/activations.js +1 -1
  12. package/dist/commands/api-command.js +1 -1
  13. package/dist/commands/chat-command.js +1 -1
  14. package/dist/commands/claude-command.js +1 -1
  15. package/dist/commands/claude-command.js.map +1 -1
  16. package/dist/commands/command.js +1 -1
  17. package/dist/commands/context-command.js +1 -1
  18. package/dist/commands/databases.js +1 -1
  19. package/dist/commands/describe.js +1 -1
  20. package/dist/commands/job-command.js +1 -1
  21. package/dist/commands/llm-command.js +1 -1
  22. package/dist/commands/llm-proxy.js +1 -1
  23. package/dist/commands/parent-segment-command.js +1 -1
  24. package/dist/commands/profiles-command.js +1 -1
  25. package/dist/commands/query-command.js +1 -1
  26. package/dist/commands/segment-command.js +1 -1
  27. package/dist/commands/segment-create-command.js +1 -1
  28. package/dist/commands/segment-fields-command.js +1 -1
  29. package/dist/commands/segment-pwd-command.js +1 -1
  30. package/dist/commands/segment-update-command.js +1 -1
  31. package/dist/commands/segment-use-command.js +1 -1
  32. package/dist/commands/segments.js +1 -1
  33. package/dist/commands/show.js +1 -1
  34. package/dist/commands/tables.js +1 -1
  35. package/dist/commands/use-command.js +1 -1
  36. package/dist/commands/workflow-command.js +1 -1
  37. package/dist/core/auth.js +1 -1
  38. package/dist/core/config.js +1 -1
  39. package/dist/core/global-context.js +1 -1
  40. package/dist/core/profile.js +1 -1
  41. package/dist/core/project-config.js +1 -1
  42. package/dist/core/session.js +1 -1
  43. package/dist/index.js +1 -1
  44. package/dist/proxy/anthropic-adapter.d.ts +20 -2
  45. package/dist/proxy/anthropic-adapter.d.ts.map +1 -1
  46. package/dist/proxy/anthropic-adapter.js +1 -1
  47. package/dist/proxy/anthropic-adapter.js.map +1 -1
  48. package/dist/proxy/server.d.ts.map +1 -1
  49. package/dist/proxy/server.js +1 -1
  50. package/dist/proxy/server.js.map +1 -1
  51. package/dist/sdk/api.js +1 -1
  52. package/dist/sdk/database.js +1 -1
  53. package/dist/sdk/errors.js +1 -1
  54. package/dist/sdk/index.js +1 -1
  55. package/dist/sdk/job.js +1 -1
  56. package/dist/sdk/llm.js +1 -1
  57. package/dist/sdk/query.js +1 -1
  58. package/dist/sdk/segment.js +1 -1
  59. package/dist/sdk/table.js +1 -1
  60. package/dist/sdk/workflow.js +1 -1
  61. package/dist/types/endpoints.js +1 -1
  62. package/dist/types/index.js +1 -1
  63. package/dist/utils/agent-ref-parser.js +1 -1
  64. package/dist/utils/chat-cache.js +1 -1
  65. package/dist/utils/colors.js +1 -1
  66. package/dist/utils/command-output.js +1 -1
  67. package/dist/utils/file-permissions.js +1 -1
  68. package/dist/utils/format-detector.js +1 -1
  69. package/dist/utils/formatters.js +1 -1
  70. package/dist/utils/json-loader.js +1 -1
  71. package/dist/utils/model-aliases.js +1 -1
  72. package/dist/utils/option-validation.js +1 -1
  73. package/dist/utils/port.js +1 -1
  74. package/dist/utils/process.js +1 -1
  75. package/dist/utils/prompt.js +1 -1
  76. package/dist/utils/segment-path-parser.js +1 -1
  77. package/dist/utils/segment-ref-parser.js +1 -1
  78. package/dist/utils/spinner.js +1 -1
  79. package/dist/utils/sql-parser.js +1 -1
  80. package/dist/utils/sse-parser.js +1 -1
  81. package/dist/utils/string-utils.js +1 -1
  82. package/dist/utils/table-ref-parser.js +1 -1
  83. package/dist/utils/tree-formatter.js +1 -1
  84. package/dist/utils/workflow-utils.js +1 -1
  85. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x306428,_0x56e168){const _0x118fcb=a67_0x4260,_0x382033=_0x306428();while(!![]){try{const _0x556cc6=-parseInt(_0x118fcb(0x1ed))/0x1+-parseInt(_0x118fcb(0x1e9))/0x2+parseInt(_0x118fcb(0x1f4))/0x3*(parseInt(_0x118fcb(0x1ef))/0x4)+-parseInt(_0x118fcb(0x1e5))/0x5*(parseInt(_0x118fcb(0x1e4))/0x6)+parseInt(_0x118fcb(0x1ea))/0x7+-parseInt(_0x118fcb(0x1f0))/0x8*(parseInt(_0x118fcb(0x1f5))/0x9)+parseInt(_0x118fcb(0x1e8))/0xa*(parseInt(_0x118fcb(0x1ee))/0xb);if(_0x556cc6===_0x56e168)break;else _0x382033['push'](_0x382033['shift']());}catch(_0x20d3a1){_0x382033['push'](_0x382033['shift']());}}}(a67_0x4503,0x676c1));export function validateLimitOption(_0x29c393){const _0x348fea=a67_0x4260;if(!Number[_0x348fea(0x1f2)](_0x29c393))return{'isValid':![],'error':_0x348fea(0x1ec)+_0x29c393+_0x348fea(0x1f1)};if(_0x29c393<=0x0)return{'isValid':![],'error':'Invalid\x20limit\x20value:\x20'+_0x29c393+_0x348fea(0x1f3)};return{'isValid':!![],'value':_0x29c393};}function a67_0x4260(_0x1ec999,_0x15dd7a){const _0x4503da=a67_0x4503();return a67_0x4260=function(_0x426075,_0x5ed969){_0x426075=_0x426075-0x1e4;let _0x3474fb=_0x4503da[_0x426075];return _0x3474fb;},a67_0x4260(_0x1ec999,_0x15dd7a);}function a67_0x4503(){const _0x5634e8=['number','.\x20Must\x20be\x20a\x20number.','548380qtXtJl','1162908lsgRDr','3751426avWBLz','Invalid\x20timeout\x20value:\x20','Invalid\x20limit\x20value:\x20','726247tZdrWO','374dgMDpk','4EzwKnd','8HceMgX','.\x20Must\x20be\x20an\x20integer.','isInteger','.\x20Must\x20be\x20a\x20positive\x20integer.','678936fKazKL','2766159PUOECI','354dwjetV','49835fNdnqj'];a67_0x4503=function(){return _0x5634e8;};return a67_0x4503();}export function validateTimeoutOption(_0x5d7eec,_0x11e0f3=0x1e){const _0x3f96f7=a67_0x4260;if(_0x5d7eec===undefined)return{'isValid':!![],'value':_0x11e0f3};const _0x4cfce0=typeof _0x5d7eec===_0x3f96f7(0x1e6)?_0x5d7eec:parseFloat(_0x5d7eec);if(isNaN(_0x4cfce0))return{'isValid':![],'error':'Invalid\x20timeout\x20value:\x20'+_0x5d7eec+_0x3f96f7(0x1e7)};if(_0x4cfce0<=0x0)return{'isValid':![],'error':_0x3f96f7(0x1eb)+_0x4cfce0+'.\x20Must\x20be\x20a\x20positive\x20number.'};return{'isValid':!![],'value':_0x4cfce0};}
1
+ function a67_0x1962(){const _0x46f129=['6BVMlNo','Invalid\x20timeout\x20value:\x20','isInteger','2550438RclDJG','2025020FLynnp','4240415EjpLpl','134788iOsiiP','.\x20Must\x20be\x20an\x20integer.','number','.\x20Must\x20be\x20a\x20number.','.\x20Must\x20be\x20a\x20positive\x20integer.','627870kNJevN','24oTqhNo','8129310RefOjE','541596xJdsKH'];a67_0x1962=function(){return _0x46f129;};return a67_0x1962();}(function(_0x460ec4,_0x1745fa){const _0x59063f=a67_0x269b,_0x1dc915=_0x460ec4();while(!![]){try{const _0x326c98=-parseInt(_0x59063f(0x90))/0x1+-parseInt(_0x59063f(0x95))/0x2*(-parseInt(_0x59063f(0x99))/0x3)+-parseInt(_0x59063f(0x8e))/0x4+parseInt(_0x59063f(0x8f))/0x5+parseInt(_0x59063f(0x98))/0x6+-parseInt(_0x59063f(0x97))/0x7+-parseInt(_0x59063f(0x96))/0x8*(-parseInt(_0x59063f(0x9c))/0x9);if(_0x326c98===_0x1745fa)break;else _0x1dc915['push'](_0x1dc915['shift']());}catch(_0x3c0e4f){_0x1dc915['push'](_0x1dc915['shift']());}}}(a67_0x1962,0x95e68));function a67_0x269b(_0x375bed,_0x1a2a97){const _0x196215=a67_0x1962();return a67_0x269b=function(_0x269b4d,_0x20a6e6){_0x269b4d=_0x269b4d-0x8e;let _0x42348d=_0x196215[_0x269b4d];return _0x42348d;},a67_0x269b(_0x375bed,_0x1a2a97);}export function validateLimitOption(_0x47572e){const _0x3b20bd=a67_0x269b;if(!Number[_0x3b20bd(0x9b)](_0x47572e))return{'isValid':![],'error':'Invalid\x20limit\x20value:\x20'+_0x47572e+_0x3b20bd(0x91)};if(_0x47572e<=0x0)return{'isValid':![],'error':'Invalid\x20limit\x20value:\x20'+_0x47572e+_0x3b20bd(0x94)};return{'isValid':!![],'value':_0x47572e};}export function validateTimeoutOption(_0x5aaca2,_0x166500=0x1e){const _0x1f2373=a67_0x269b;if(_0x5aaca2===undefined)return{'isValid':!![],'value':_0x166500};const _0x1dcfab=typeof _0x5aaca2===_0x1f2373(0x92)?_0x5aaca2:parseFloat(_0x5aaca2);if(isNaN(_0x1dcfab))return{'isValid':![],'error':_0x1f2373(0x9a)+_0x5aaca2+_0x1f2373(0x93)};if(_0x1dcfab<=0x0)return{'isValid':![],'error':_0x1f2373(0x9a)+_0x1dcfab+'.\x20Must\x20be\x20a\x20positive\x20number.'};return{'isValid':!![],'value':_0x1dcfab};}
@@ -1 +1 @@
1
- function a68_0xab0a(_0x2f5109,_0x5e5e3a){const _0x14a592=a68_0x14a5();return a68_0xab0a=function(_0xab0a02,_0x183592){_0xab0a02=_0xab0a02-0x1ce;let _0x5c452a=_0x14a592[_0xab0a02];return _0x5c452a;},a68_0xab0a(_0x2f5109,_0x5e5e3a);}(function(_0x2242c2,_0x213e1d){const _0xee72b=a68_0xab0a,_0x47e5da=_0x2242c2();while(!![]){try{const _0x41103b=parseInt(_0xee72b(0x1de))/0x1*(-parseInt(_0xee72b(0x1e3))/0x2)+-parseInt(_0xee72b(0x1d8))/0x3+-parseInt(_0xee72b(0x1cf))/0x4*(parseInt(_0xee72b(0x1e0))/0x5)+parseInt(_0xee72b(0x1d3))/0x6*(parseInt(_0xee72b(0x1dc))/0x7)+-parseInt(_0xee72b(0x1db))/0x8*(-parseInt(_0xee72b(0x1da))/0x9)+-parseInt(_0xee72b(0x1ce))/0xa*(-parseInt(_0xee72b(0x1d6))/0xb)+parseInt(_0xee72b(0x1e2))/0xc;if(_0x41103b===_0x213e1d)break;else _0x47e5da['push'](_0x47e5da['shift']());}catch(_0x37aa29){_0x47e5da['push'](_0x47e5da['shift']());}}}(a68_0x14a5,0xea9e0));import{createServer}from'node:net';export async function isPortAvailable(_0x49fc98){return new Promise(_0x11c320=>{const _0x26f76d=a68_0xab0a,_0x5147c3=createServer();_0x5147c3[_0x26f76d(0x1d1)](_0x26f76d(0x1d4),_0x4ed6a2=>{const _0xe54f39=_0x26f76d;_0x4ed6a2[_0xe54f39(0x1d7)]===_0xe54f39(0x1d0)?_0x11c320(![]):_0x11c320(![]);}),_0x5147c3[_0x26f76d(0x1d1)](_0x26f76d(0x1d5),()=>{const _0x129d7e=_0x26f76d;_0x5147c3[_0x129d7e(0x1d9)](),_0x11c320(!![]);}),_0x5147c3[_0x26f76d(0x1d2)](_0x49fc98,_0x26f76d(0x1dd));});}function a68_0x14a5(){const _0x5f2c9b=['33099264sbpDEJ','618vXRklp','36010ORtPfW','304roQcKG','EADDRINUSE','once','listen','8832CLKuQB','error','listening','4741TRXDpX','code','4965297LgJrnn','close','3916935sRmaLz','24CtovPX','2814RDdcuD','0.0.0.0','6109JBkbRD','\x20and\x20','112100KxuTpI','No\x20available\x20port\x20found\x20between\x20'];a68_0x14a5=function(){return _0x5f2c9b;};return a68_0x14a5();}export async function findAvailablePort(_0x5ae6f1=0xfa0,_0x22f05c=0x64){const _0x2ceea7=a68_0xab0a;for(let _0x453712=0x0;_0x453712<_0x22f05c;_0x453712++){const _0xa567ad=_0x5ae6f1+_0x453712;if(await isPortAvailable(_0xa567ad))return _0xa567ad;}throw new Error(_0x2ceea7(0x1e1)+_0x5ae6f1+_0x2ceea7(0x1df)+(_0x5ae6f1+_0x22f05c-0x1));}
1
+ function a68_0xb82e(_0x1005ae,_0x201919){const _0x3702dc=a68_0x3702();return a68_0xb82e=function(_0xb82e76,_0x4d8bb6){_0xb82e76=_0xb82e76-0x1b6;let _0x26718a=_0x3702dc[_0xb82e76];return _0x26718a;},a68_0xb82e(_0x1005ae,_0x201919);}function a68_0x3702(){const _0x9db4c6=['286HXRfyO','6jWSuKz','1983046oOGftP','error','once','listen','77394difbwi','10stqdDg','\x20and\x20','10792jKXAcQ','370oLoniC','2653232ayHfSu','1777EBqLGI','No\x20available\x20port\x20found\x20between\x20','1662507IIhEKW','listening','8721anTbTj','code','156PDGfnN','0.0.0.0','9193562vTWyZl'];a68_0x3702=function(){return _0x9db4c6;};return a68_0x3702();}(function(_0x54b530,_0x1081f8){const _0x5cb74b=a68_0xb82e,_0x4daafc=_0x54b530();while(!![]){try{const _0x2edd7e=parseInt(_0x5cb74b(0x1c6))/0x1*(parseInt(_0x5cb74b(0x1ba))/0x2)+parseInt(_0x5cb74b(0x1bb))/0x3*(-parseInt(_0x5cb74b(0x1c5))/0x4)+parseInt(_0x5cb74b(0x1c4))/0x5*(parseInt(_0x5cb74b(0x1c0))/0x6)+parseInt(_0x5cb74b(0x1b9))/0x7+-parseInt(_0x5cb74b(0x1c3))/0x8*(-parseInt(_0x5cb74b(0x1ca))/0x9)+-parseInt(_0x5cb74b(0x1c1))/0xa*(-parseInt(_0x5cb74b(0x1c8))/0xb)+-parseInt(_0x5cb74b(0x1b7))/0xc*(parseInt(_0x5cb74b(0x1bc))/0xd);if(_0x2edd7e===_0x1081f8)break;else _0x4daafc['push'](_0x4daafc['shift']());}catch(_0x2967fe){_0x4daafc['push'](_0x4daafc['shift']());}}}(a68_0x3702,0xa3bc3));import{createServer}from'node:net';export async function isPortAvailable(_0x554152){return new Promise(_0x466a5c=>{const _0x18b04c=a68_0xb82e,_0x586382=createServer();_0x586382[_0x18b04c(0x1be)](_0x18b04c(0x1bd),_0x1909cc=>{const _0x4b106c=_0x18b04c;_0x1909cc[_0x4b106c(0x1b6)]==='EADDRINUSE'?_0x466a5c(![]):_0x466a5c(![]);}),_0x586382[_0x18b04c(0x1be)](_0x18b04c(0x1c9),()=>{_0x586382['close'](),_0x466a5c(!![]);}),_0x586382[_0x18b04c(0x1bf)](_0x554152,_0x18b04c(0x1b8));});}export async function findAvailablePort(_0x56a7ba=0xfa0,_0x2286a9=0x64){const _0x4bd47f=a68_0xb82e;for(let _0x2d6f92=0x0;_0x2d6f92<_0x2286a9;_0x2d6f92++){const _0x5c4da1=_0x56a7ba+_0x2d6f92;if(await isPortAvailable(_0x5c4da1))return _0x5c4da1;}throw new Error(_0x4bd47f(0x1c7)+_0x56a7ba+_0x4bd47f(0x1c2)+(_0x56a7ba+_0x2286a9-0x1));}
@@ -1 +1 @@
1
- const a69_0x4ca1c6=a69_0x1dc1;(function(_0x294da3,_0x2e549d){const _0x1926de=a69_0x1dc1,_0x1259f3=_0x294da3();while(!![]){try{const _0x113425=-parseInt(_0x1926de(0xfb))/0x1*(-parseInt(_0x1926de(0xfa))/0x2)+-parseInt(_0x1926de(0xf1))/0x3+-parseInt(_0x1926de(0xee))/0x4*(parseInt(_0x1926de(0xe9))/0x5)+parseInt(_0x1926de(0xdf))/0x6+-parseInt(_0x1926de(0xf6))/0x7*(parseInt(_0x1926de(0xf7))/0x8)+-parseInt(_0x1926de(0xec))/0x9+parseInt(_0x1926de(0xda))/0xa;if(_0x113425===_0x2e549d)break;else _0x1259f3['push'](_0x1259f3['shift']());}catch(_0x54dee9){_0x1259f3['push'](_0x1259f3['shift']());}}}(a69_0x55e0,0x54fbf));import{execSync}from'node:child_process';const SHELL_NAMES=new Set([a69_0x4ca1c6(0xd8),a69_0x4ca1c6(0xef),'sh','fish',a69_0x4ca1c6(0x103),a69_0x4ca1c6(0xea),a69_0x4ca1c6(0xe7),a69_0x4ca1c6(0xe5),a69_0x4ca1c6(0xf2),a69_0x4ca1c6(0xe6),'nu',a69_0x4ca1c6(0xdd),'elvish','xonsh']);function getProcessInfoWindows(_0x4ada8d){const _0x2d800c=a69_0x4ca1c6;try{const _0x77018f=execSync(_0x2d800c(0x102)+_0x4ada8d+_0x2d800c(0xe0),{'encoding':_0x2d800c(0xd9),'windowsHide':!![]})[_0x2d800c(0xe8)](),_0x2abd64=_0x77018f[_0x2d800c(0xdb)]('\x0a')[_0x2d800c(0xfc)](_0x2bc56c=>_0x2bc56c[_0x2d800c(0xe8)]());if(_0x2abd64[_0x2d800c(0xe2)]<0x2)return null;const _0x32ba80=_0x2abd64[_0x2abd64[_0x2d800c(0xe2)]-0x1][_0x2d800c(0xdb)](',');if(_0x32ba80[_0x2d800c(0xe2)]<0x3)return null;const _0x1b76d=_0x32ba80[0x1]?.['trim']()||'',_0x2d4036=parseInt(_0x32ba80[0x2]?.['trim']()||'0',0xa);if(isNaN(_0x2d4036)||!_0x1b76d)return null;return{'pid':_0x4ada8d,'ppid':_0x2d4036,'comm':_0x1b76d[_0x2d800c(0xf0)](/\.exe$/i,'')};}catch(_0x446445){return process[_0x2d800c(0xe3)]['DEBUG']&&console[_0x2d800c(0xeb)](_0x2d800c(0xf8)+_0x4ada8d+'\x20on\x20Windows:',_0x446445),null;}}function getProcessInfoPosix(_0x2192df){const _0x3eb6fe=a69_0x4ca1c6;try{const _0x55fa98=execSync('ps\x20-p\x20'+_0x2192df+_0x3eb6fe(0xfe),{'encoding':_0x3eb6fe(0xd9)})['trim'](),[_0x15ef02,..._0x49c0f3]=_0x55fa98[_0x3eb6fe(0xdb)](/\s+/),_0x2ad8b4=parseInt(_0x15ef02,0xa),_0xc48447=_0x49c0f3['join']('\x20');if(isNaN(_0x2ad8b4))return null;return{'pid':_0x2192df,'ppid':_0x2ad8b4,'comm':_0xc48447};}catch(_0xe68cc7){return process['env']['DEBUG']&&console[_0x3eb6fe(0xeb)](_0x3eb6fe(0xf8)+_0x2192df+_0x3eb6fe(0xe4),_0xe68cc7),null;}}function getProcessInfo(_0x1ee9bf){const _0x4b7bd8=a69_0x4ca1c6;if(process['platform']===_0x4b7bd8(0xf5))return getProcessInfoWindows(_0x1ee9bf);return getProcessInfoPosix(_0x1ee9bf);}function isShell(_0x5a4c15){const _0x488d3f=a69_0x4ca1c6,_0x3cc093=_0x5a4c15[_0x488d3f(0xf0)](/^-/,'')[_0x488d3f(0xdb)]('/')[_0x488d3f(0xf3)]()||'';return SHELL_NAMES[_0x488d3f(0xde)](_0x3cc093[_0x488d3f(0xe1)]());}let cachedShellPID;function findShellPID(){const _0x427ca0=a69_0x4ca1c6;let _0x381a9b=process[_0x427ca0(0xed)];const _0x1acb25=0xa;let _0xc81555=0x0;while(_0xc81555<_0x1acb25){const _0x425cd0=getProcessInfo(_0x381a9b);if(!_0x425cd0){process[_0x427ca0(0xe3)][_0x427ca0(0xf4)]&&console[_0x427ca0(0xeb)](_0x427ca0(0xdc)+_0x381a9b+_0x427ca0(0xfd));break;}if(isShell(_0x425cd0[_0x427ca0(0x100)]))return _0x425cd0['pid'];if(_0x425cd0[_0x427ca0(0xed)]===0x0||_0x425cd0[_0x427ca0(0xed)]===0x1){if(isShell(_0x425cd0[_0x427ca0(0x100)]))return _0x425cd0[_0x427ca0(0xff)];break;}_0x381a9b=_0x425cd0['ppid'],_0xc81555++;}return process[_0x427ca0(0xe3)]['DEBUG']&&console[_0x427ca0(0xeb)](_0x427ca0(0x101)),process[_0x427ca0(0xed)];}function a69_0x55e0(){const _0x4f3ca2=['8vqxqcz','Failed\x20to\x20get\x20process\x20info\x20for\x20PID\x20','kill','134JErzSv','2742NjCUMV','filter',',\x20using\x20fallback','\x20-o\x20ppid=,comm=','pid','comm','No\x20shell\x20found\x20in\x20process\x20tree,\x20falling\x20back\x20to\x20process.ppid','wmic\x20process\x20where\x20ProcessId=','ksh','bash','utf-8','14900120vXVDVF','split','Could\x20not\x20get\x20process\x20info\x20for\x20PID\x20','ion','has','1664388JXtvmr','\x20get\x20ParentProcessId,Name\x20/format:csv','toLowerCase','length','env','\x20on\x20POSIX:','dash','powershell','csh','trim','2425gCtVSE','tcsh','error','4668174MRcSur','ppid','372OfwrPA','zsh','replace','1214811QxcHSD','pwsh','pop','DEBUG','win32','4440107qcDuiO'];a69_0x55e0=function(){return _0x4f3ca2;};return a69_0x55e0();}function a69_0x1dc1(_0x4c9012,_0x5b189d){const _0x55e098=a69_0x55e0();return a69_0x1dc1=function(_0x1dc127,_0xacf461){_0x1dc127=_0x1dc127-0xd8;let _0x470463=_0x55e098[_0x1dc127];return _0x470463;},a69_0x1dc1(_0x4c9012,_0x5b189d);}export function getPPID(){return cachedShellPID===undefined&&(cachedShellPID=findShellPID()),cachedShellPID;}export function clearPPIDCache(){cachedShellPID=undefined;}export function isProcessRunning(_0x4d5e96){const _0x1b8d4f=a69_0x4ca1c6;try{return process[_0x1b8d4f(0xf9)](_0x4d5e96,0x0),!![];}catch{return![];}}
1
+ const a69_0xf3868a=a69_0x2995;(function(_0x40b48b,_0x2a69bd){const _0x151b0a=a69_0x2995,_0x3a6e92=_0x40b48b();while(!![]){try{const _0x17aaf8=parseInt(_0x151b0a(0xac))/0x1*(parseInt(_0x151b0a(0xc8))/0x2)+parseInt(_0x151b0a(0xb1))/0x3*(parseInt(_0x151b0a(0xd2))/0x4)+parseInt(_0x151b0a(0xb3))/0x5+parseInt(_0x151b0a(0xb7))/0x6+-parseInt(_0x151b0a(0xc7))/0x7*(parseInt(_0x151b0a(0xce))/0x8)+parseInt(_0x151b0a(0xd1))/0x9*(-parseInt(_0x151b0a(0xb2))/0xa)+-parseInt(_0x151b0a(0xbd))/0xb;if(_0x17aaf8===_0x2a69bd)break;else _0x3a6e92['push'](_0x3a6e92['shift']());}catch(_0x13e5bc){_0x3a6e92['push'](_0x3a6e92['shift']());}}}(a69_0x5878,0x1a212));import{execSync}from'node:child_process';const SHELL_NAMES=new Set([a69_0xf3868a(0xb9),a69_0xf3868a(0xb8),'sh',a69_0xf3868a(0xad),a69_0xf3868a(0xab),a69_0xf3868a(0xc5),a69_0xf3868a(0xb5),a69_0xf3868a(0xa9),a69_0xf3868a(0xaf),'powershell','nu',a69_0xf3868a(0xa8),a69_0xf3868a(0xc6),'xonsh']);function getProcessInfoWindows(_0x589ed2){const _0x107959=a69_0xf3868a;try{const _0x38a98f=execSync(_0x107959(0xcd)+_0x589ed2+_0x107959(0xc1),{'encoding':'utf-8','windowsHide':!![]})[_0x107959(0xbb)](),_0x3c957c=_0x38a98f[_0x107959(0xcc)]('\x0a')[_0x107959(0xaa)](_0x8ae3e2=>_0x8ae3e2[_0x107959(0xbb)]());if(_0x3c957c[_0x107959(0xb4)]<0x2)return null;const _0x1be342=_0x3c957c[_0x3c957c[_0x107959(0xb4)]-0x1][_0x107959(0xcc)](',');if(_0x1be342[_0x107959(0xb4)]<0x3)return null;const _0x90fb68=_0x1be342[0x1]?.['trim']()||'',_0x4b5743=parseInt(_0x1be342[0x2]?.[_0x107959(0xbb)]()||'0',0xa);if(isNaN(_0x4b5743)||!_0x90fb68)return null;return{'pid':_0x589ed2,'ppid':_0x4b5743,'comm':_0x90fb68[_0x107959(0xc0)](/\.exe$/i,'')};}catch(_0x2015de){return process['env'][_0x107959(0xc9)]&&console[_0x107959(0xcb)]('Failed\x20to\x20get\x20process\x20info\x20for\x20PID\x20'+_0x589ed2+'\x20on\x20Windows:',_0x2015de),null;}}function getProcessInfoPosix(_0x3f6da6){const _0x1049c3=a69_0xf3868a;try{const _0x33d23e=execSync(_0x1049c3(0xbe)+_0x3f6da6+'\x20-o\x20ppid=,comm=',{'encoding':_0x1049c3(0xa7)})[_0x1049c3(0xbb)](),[_0x3d46b3,..._0x3f8d9b]=_0x33d23e[_0x1049c3(0xcc)](/\s+/),_0xfaf782=parseInt(_0x3d46b3,0xa),_0x319f93=_0x3f8d9b[_0x1049c3(0xca)]('\x20');if(isNaN(_0xfaf782))return null;return{'pid':_0x3f6da6,'ppid':_0xfaf782,'comm':_0x319f93};}catch(_0x1ff37b){return process[_0x1049c3(0xbc)][_0x1049c3(0xc9)]&&console[_0x1049c3(0xcb)]('Failed\x20to\x20get\x20process\x20info\x20for\x20PID\x20'+_0x3f6da6+'\x20on\x20POSIX:',_0x1ff37b),null;}}function getProcessInfo(_0xc6faa3){const _0x4d84b6=a69_0xf3868a;if(process[_0x4d84b6(0xae)]==='win32')return getProcessInfoWindows(_0xc6faa3);return getProcessInfoPosix(_0xc6faa3);}function isShell(_0x1d1d9e){const _0x379a99=a69_0xf3868a,_0x4a5f10=_0x1d1d9e[_0x379a99(0xc0)](/^-/,'')['split']('/')['pop']()||'';return SHELL_NAMES[_0x379a99(0xc4)](_0x4a5f10[_0x379a99(0xba)]());}function a69_0x2995(_0x4e0d1b,_0x364259){const _0x58781c=a69_0x5878();return a69_0x2995=function(_0x2995ff,_0x57f1ad){_0x2995ff=_0x2995ff-0xa7;let _0x1a984c=_0x58781c[_0x2995ff];return _0x1a984c;},a69_0x2995(_0x4e0d1b,_0x364259);}let cachedShellPID;function findShellPID(){const _0x29483c=a69_0xf3868a;let _0x59ac70=process[_0x29483c(0xd0)];const _0xd19dd6=0xa;let _0xf0309b=0x0;while(_0xf0309b<_0xd19dd6){const _0x95d915=getProcessInfo(_0x59ac70);if(!_0x95d915){process[_0x29483c(0xbc)][_0x29483c(0xc9)]&&console['error'](_0x29483c(0xb0)+_0x59ac70+_0x29483c(0xbf));break;}if(isShell(_0x95d915[_0x29483c(0xcf)]))return _0x95d915[_0x29483c(0xc2)];if(_0x95d915[_0x29483c(0xd0)]===0x0||_0x95d915['ppid']===0x1){if(isShell(_0x95d915[_0x29483c(0xcf)]))return _0x95d915[_0x29483c(0xc2)];break;}_0x59ac70=_0x95d915[_0x29483c(0xd0)],_0xf0309b++;}return process[_0x29483c(0xbc)][_0x29483c(0xc9)]&&console[_0x29483c(0xcb)](_0x29483c(0xb6)),process[_0x29483c(0xd0)];}export function getPPID(){return cachedShellPID===undefined&&(cachedShellPID=findShellPID()),cachedShellPID;}export function clearPPIDCache(){cachedShellPID=undefined;}export function isProcessRunning(_0x592437){const _0x21d311=a69_0xf3868a;try{return process[_0x21d311(0xc3)](_0x592437,0x0),!![];}catch{return![];}}function a69_0x5878(){const _0x4aefa1=['elvish','23296tPvoSr','8vjjsLP','DEBUG','join','error','split','wmic\x20process\x20where\x20ProcessId=','136IETuFj','comm','ppid','9ctkLsN','8184TjCyXB','utf-8','ion','dash','filter','ksh','15814uacwLq','fish','platform','pwsh','Could\x20not\x20get\x20process\x20info\x20for\x20PID\x20','9uUoROM','456180MwVLVj','913945ZGOwAh','length','csh','No\x20shell\x20found\x20in\x20process\x20tree,\x20falling\x20back\x20to\x20process.ppid','502206MNICLj','zsh','bash','toLowerCase','trim','env','1393304WpkqqP','ps\x20-p\x20',',\x20using\x20fallback','replace','\x20get\x20ParentProcessId,Name\x20/format:csv','pid','kill','has','tcsh'];a69_0x5878=function(){return _0x4aefa1;};return a69_0x5878();}
@@ -1 +1 @@
1
- (function(_0x154fc1,_0x2e84e3){const _0x2ccbae=a70_0x229c,_0x13e1d0=_0x154fc1();while(!![]){try{const _0x3d46bf=parseInt(_0x2ccbae(0xa0))/0x1*(parseInt(_0x2ccbae(0x9a))/0x2)+parseInt(_0x2ccbae(0x9c))/0x3+parseInt(_0x2ccbae(0x9e))/0x4+parseInt(_0x2ccbae(0x99))/0x5+parseInt(_0x2ccbae(0x98))/0x6*(-parseInt(_0x2ccbae(0x9b))/0x7)+parseInt(_0x2ccbae(0xa7))/0x8+-parseInt(_0x2ccbae(0xa2))/0x9;if(_0x3d46bf===_0x2e84e3)break;else _0x13e1d0['push'](_0x13e1d0['shift']());}catch(_0x252c38){_0x13e1d0['push'](_0x13e1d0['shift']());}}}(a70_0x5b59,0x85aa3));import*as a70_0x3ed06b from'readline';function a70_0x5b59(){const _0x224c3e=['2699FavlFQ','close','7193097pzDbhj','createInterface','yes','stdin','\x20(y/N):\x20','4224256UiqdkI','4210788rWlWeR','3909440XcpFyk','188asWQuX','7becENv','974229FltdRT','question','640612xoIKCb','toLowerCase'];a70_0x5b59=function(){return _0x224c3e;};return a70_0x5b59();}function a70_0x229c(_0x139d7e,_0x3459bd){const _0x5b59ae=a70_0x5b59();return a70_0x229c=function(_0x229ca5,_0x4528fd){_0x229ca5=_0x229ca5-0x98;let _0x1eb21b=_0x5b59ae[_0x229ca5];return _0x1eb21b;},a70_0x229c(_0x139d7e,_0x3459bd);}export async function confirm(_0x3ee6f4){const _0x4a91a9=a70_0x229c,_0x1ccd93=a70_0x3ed06b[_0x4a91a9(0xa3)]({'input':process[_0x4a91a9(0xa5)],'output':process['stdout']});return new Promise(_0x2d6eb1=>{const _0x5f0e9c=_0x4a91a9;_0x1ccd93[_0x5f0e9c(0x9d)](_0x3ee6f4+_0x5f0e9c(0xa6),_0x1a96ab=>{const _0x5b2b58=_0x5f0e9c;_0x1ccd93[_0x5b2b58(0xa1)](),_0x2d6eb1(_0x1a96ab['toLowerCase']()==='y'||_0x1a96ab[_0x5b2b58(0x9f)]()===_0x5b2b58(0xa4));});});}
1
+ (function(_0x3f1db4,_0x26afaf){const _0x58b56e=a70_0x3184,_0x17c2fc=_0x3f1db4();while(!![]){try{const _0x526573=parseInt(_0x58b56e(0x142))/0x1+-parseInt(_0x58b56e(0x139))/0x2+-parseInt(_0x58b56e(0x146))/0x3*(parseInt(_0x58b56e(0x147))/0x4)+parseInt(_0x58b56e(0x140))/0x5+-parseInt(_0x58b56e(0x13a))/0x6+-parseInt(_0x58b56e(0x137))/0x7+parseInt(_0x58b56e(0x13c))/0x8*(parseInt(_0x58b56e(0x13f))/0x9);if(_0x526573===_0x26afaf)break;else _0x17c2fc['push'](_0x17c2fc['shift']());}catch(_0x548e75){_0x17c2fc['push'](_0x17c2fc['shift']());}}}(a70_0x3476,0x43557));import*as a70_0x1697df from'readline';export async function confirm(_0xbc6cba){const _0x53609f=a70_0x3184,_0x13a475=a70_0x1697df[_0x53609f(0x138)]({'input':process[_0x53609f(0x144)],'output':process[_0x53609f(0x13d)]});return new Promise(_0x34cb48=>{const _0xc57712=_0x53609f;_0x13a475[_0xc57712(0x141)](_0xbc6cba+_0xc57712(0x143),_0x26fbac=>{const _0x3e6817=_0xc57712;_0x13a475[_0x3e6817(0x13e)](),_0x34cb48(_0x26fbac[_0x3e6817(0x145)]()==='y'||_0x26fbac['toLowerCase']()===_0x3e6817(0x13b));});});}function a70_0x3184(_0x1a88a,_0x2b5eef){const _0x347656=a70_0x3476();return a70_0x3184=function(_0x3184e2,_0x2fecb7){_0x3184e2=_0x3184e2-0x137;let _0xcf6653=_0x347656[_0x3184e2];return _0xcf6653;},a70_0x3184(_0x1a88a,_0x2b5eef);}function a70_0x3476(){const _0x17e06c=['\x20(y/N):\x20','stdin','toLowerCase','15AVPtAO','133316KVTnTq','3070242tkxWrH','createInterface','698154wHQuPE','2404554EHYShI','yes','7974752WIIPsp','stdout','close','9FNzvGb','1592145FvlRdq','question','315613yZxdxm'];a70_0x3476=function(){return _0x17e06c;};return a70_0x3476();}
@@ -1 +1 @@
1
- (function(_0x5594ae,_0x474afc){const _0x546164=a71_0x1f8e,_0x8840e7=_0x5594ae();while(!![]){try{const _0x49a2b1=parseInt(_0x546164(0x103))/0x1+-parseInt(_0x546164(0xec))/0x2*(parseInt(_0x546164(0x102))/0x3)+-parseInt(_0x546164(0xf2))/0x4+-parseInt(_0x546164(0x10a))/0x5+parseInt(_0x546164(0x10b))/0x6+-parseInt(_0x546164(0x101))/0x7*(parseInt(_0x546164(0xf5))/0x8)+-parseInt(_0x546164(0xf0))/0x9*(-parseInt(_0x546164(0xee))/0xa);if(_0x49a2b1===_0x474afc)break;else _0x8840e7['push'](_0x8840e7['shift']());}catch(_0x2be8e1){_0x8840e7['push'](_0x8840e7['shift']());}}}(a71_0x4a61,0xf0ca1));export function parsePath(_0xc2f580){const _0x352e34=a71_0x1f8e;if(!_0xc2f580||_0xc2f580[_0x352e34(0xfb)]()==='')throw new Error(_0x352e34(0xfc));const _0x205409=_0xc2f580[_0x352e34(0xfb)]();if(_0x205409==='/')return{'segments':[],'isAbsolute':!![],'raw':_0xc2f580};const _0x427dac=_0x205409['startsWith']('/')?_0x205409[_0x352e34(0xfa)](0x1):_0x205409,_0x5cac5a=_0x427dac[_0x352e34(0xf1)]('/')[_0x352e34(0xfd)](_0x427f1d=>_0x427f1d!=='');if(_0x5cac5a['length']===0x0)throw new Error(_0x352e34(0x104));const _0x2bb2e5=_0x205409[_0x352e34(0x108)]('/')||!isRelativePathSegment(_0x5cac5a[0x0]);for(const _0x16250f of _0x5cac5a){validatePathSegment(_0x16250f);}return{'segments':_0x5cac5a,'isAbsolute':_0x2bb2e5,'raw':_0xc2f580};}function isRelativePathSegment(_0xd562e2){return _0xd562e2==='.'||_0xd562e2==='..';}function validatePathSegment(_0x5bbf8a){const _0x5387ff=a71_0x1f8e;if(_0x5bbf8a==='')throw new Error(_0x5387ff(0x100));if(_0x5bbf8a==='.'||_0x5bbf8a==='..')return;if(/[\x00-\x1F\x7F]/[_0x5387ff(0xff)](_0x5bbf8a))throw new Error(_0x5387ff(0xef)+_0x5bbf8a);if(_0x5bbf8a!==_0x5bbf8a['trim']()){}}export function validatePath(_0x35d61f){const _0x17edf6=a71_0x1f8e;if(_0x35d61f[_0x17edf6(0xf6)][_0x17edf6(0x109)]===0x0&&!_0x35d61f['isAbsolute'])throw new Error(_0x17edf6(0xfe));if(_0x35d61f[_0x17edf6(0xf7)]){if(_0x35d61f[_0x17edf6(0xf6)][0x0]==='..')throw new Error('Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22');let _0x1dc271=0x0;for(const _0x4a1a44 of _0x35d61f['segments']){if(_0x4a1a44==='..'){if(_0x1dc271===0x0)throw new Error(_0x17edf6(0xf9));_0x1dc271--;}else _0x4a1a44!=='.'&&_0x1dc271++;}}}export function joinPaths(_0x227b5c,_0x3bfa7a){const _0xac8d1c=a71_0x1f8e;if(!_0x227b5c||_0x227b5c==='/')return _0x3bfa7a;if(!_0x3bfa7a||_0x3bfa7a==='.')return _0x227b5c;if(_0x3bfa7a[_0xac8d1c(0x108)]('/'))return _0x3bfa7a;const _0x489737=parsePath(_0x227b5c),_0x4b874d=parsePath(_0x3bfa7a),_0x21f0a6=[..._0x489737[_0xac8d1c(0xf6)]];for(const _0x4f47eb of _0x4b874d[_0xac8d1c(0xf6)]){if(_0x4f47eb==='.')continue;else{if(_0x4f47eb==='..'){if(_0x21f0a6[_0xac8d1c(0x109)]===0x0)throw new Error(_0xac8d1c(0x106));_0x21f0a6[_0xac8d1c(0x105)]();}else _0x21f0a6['push'](_0x4f47eb);}}const _0x1b84e3=_0x21f0a6[_0xac8d1c(0xf3)]('/');return _0x489737['raw'][_0xac8d1c(0x108)]('/')?'/'+_0x1b84e3:_0x1b84e3;}function a71_0x4a61(){const _0x240df2=['Path\x20must\x20contain\x20at\x20least\x20one\x20segment','pop','Cannot\x20navigate\x20above\x20root','raw','startsWith','length','8136180QrspWK','8050272qZsYSa','2378sqKAQN','Cannot\x20split\x20empty\x20path','11890740jUdlkw','Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20','27ftNCof','split','1151620nDxdhr','join','slice','2088rNzNSg','segments','isAbsolute','push','Path\x20attempts\x20to\x20navigate\x20above\x20root','substring','trim','Path\x20cannot\x20be\x20empty','filter','Relative\x20path\x20cannot\x20be\x20empty','test','Path\x20segment\x20cannot\x20be\x20empty','30002NvxxsO','3579LcVuCN','529603aMRxFc'];a71_0x4a61=function(){return _0x240df2;};return a71_0x4a61();}export function normalizePath(_0x49f822){const _0x269b6c=a71_0x1f8e,_0x4c2e06=parsePath(_0x49f822),_0x36ab19=[];for(const _0x22444e of _0x4c2e06[_0x269b6c(0xf6)]){if(_0x22444e==='.')continue;else{if(_0x22444e==='..'){if(_0x36ab19[_0x269b6c(0x109)]===0x0){if(_0x4c2e06[_0x269b6c(0xf7)])throw new Error(_0x269b6c(0x106));_0x36ab19[_0x269b6c(0xf8)]('..');}else _0x36ab19[_0x36ab19['length']-0x1]==='..'?_0x36ab19[_0x269b6c(0xf8)]('..'):_0x36ab19[_0x269b6c(0x105)]();}else _0x36ab19[_0x269b6c(0xf8)](_0x22444e);}}if(_0x36ab19[_0x269b6c(0x109)]===0x0)return _0x4c2e06[_0x269b6c(0xf7)]?'/':'.';const _0x1afe1c=_0x36ab19[_0x269b6c(0xf3)]('/');return _0x4c2e06[_0x269b6c(0x107)][_0x269b6c(0x108)]('/')?'/'+_0x1afe1c:_0x1afe1c;}export function getParentPath(_0xeaa049){const _0x3c0600=a71_0x1f8e,_0x3de48b=parsePath(_0xeaa049);if(_0x3de48b[_0x3c0600(0xf6)][_0x3c0600(0x109)]<=0x1)return'/';const _0x54177f=_0x3de48b[_0x3c0600(0xf6)][_0x3c0600(0xf4)](0x0,-0x1)[_0x3c0600(0xf3)]('/');return _0x3de48b['raw'][_0x3c0600(0x108)]('/')?'/'+_0x54177f:_0x54177f;}export function getBaseName(_0x42897d){const _0x478e4e=a71_0x1f8e,_0x223081=parsePath(_0x42897d);return _0x223081[_0x478e4e(0xf6)][_0x223081[_0x478e4e(0xf6)][_0x478e4e(0x109)]-0x1]||'';}export function isChildPath(_0xb626ae,_0x286ed7){const _0x396bfc=a71_0x1f8e,_0x480ace=parsePath(_0xb626ae),_0x57e915=parsePath(_0x286ed7);if(_0x480ace[_0x396bfc(0xf6)][_0x396bfc(0x109)]<=_0x57e915[_0x396bfc(0xf6)][_0x396bfc(0x109)])return![];for(let _0x44df5e=0x0;_0x44df5e<_0x57e915[_0x396bfc(0xf6)][_0x396bfc(0x109)];_0x44df5e++){if(_0x480ace[_0x396bfc(0xf6)][_0x44df5e]!==_0x57e915[_0x396bfc(0xf6)][_0x44df5e])return![];}return!![];}function a71_0x1f8e(_0x39ab71,_0x54f1b9){const _0x4a61ab=a71_0x4a61();return a71_0x1f8e=function(_0x1f8eff,_0x22f067){_0x1f8eff=_0x1f8eff-0xec;let _0x170463=_0x4a61ab[_0x1f8eff];return _0x170463;},a71_0x1f8e(_0x39ab71,_0x54f1b9);}export function splitPath(_0x575729){const _0x33896b=a71_0x1f8e,_0x520d3e=parsePath(_0x575729);if(_0x520d3e['segments'][_0x33896b(0x109)]===0x0)throw new Error(_0x33896b(0xed));if(_0x520d3e[_0x33896b(0xf6)][_0x33896b(0x109)]===0x1)return{'parent':_0x520d3e[_0x33896b(0xf6)][0x0]};return{'parent':_0x520d3e[_0x33896b(0xf6)][0x0],'child':_0x520d3e['segments'][_0x33896b(0xf4)](0x1)['join']('/')};}
1
+ (function(_0x63eb1,_0xa81c72){const _0x114908=a71_0x5188,_0x3a950d=_0x63eb1();while(!![]){try{const _0x81a986=-parseInt(_0x114908(0xdf))/0x1+parseInt(_0x114908(0xe9))/0x2+-parseInt(_0x114908(0xe3))/0x3*(parseInt(_0x114908(0xdc))/0x4)+-parseInt(_0x114908(0xf2))/0x5*(parseInt(_0x114908(0xee))/0x6)+-parseInt(_0x114908(0xd9))/0x7+parseInt(_0x114908(0xf1))/0x8+parseInt(_0x114908(0xec))/0x9*(parseInt(_0x114908(0xe6))/0xa);if(_0x81a986===_0xa81c72)break;else _0x3a950d['push'](_0x3a950d['shift']());}catch(_0x4b6c1c){_0x3a950d['push'](_0x3a950d['shift']());}}}(a71_0x4c33,0x5eb7c));function a71_0x4c33(){const _0x262775=['421136RunKFN','5FYonaq','segments','815899orodCI','startsWith','pop','4wvhChV','trim','slice','740015uLacrE','test','raw','isAbsolute','985287MJquDd','Path\x20must\x20contain\x20at\x20least\x20one\x20segment','Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20','6220140bUFZDD','substring','join','623740wQYTKc','Cannot\x20navigate\x20above\x20root','split','27uKczua','push','3945534GSjOva','Relative\x20path\x20cannot\x20be\x20empty','length'];a71_0x4c33=function(){return _0x262775;};return a71_0x4c33();}function a71_0x5188(_0x4b3066,_0x3d4a67){const _0x4c3340=a71_0x4c33();return a71_0x5188=function(_0x5188e5,_0x12e04e){_0x5188e5=_0x5188e5-0xd9;let _0x4b1659=_0x4c3340[_0x5188e5];return _0x4b1659;},a71_0x5188(_0x4b3066,_0x3d4a67);}export function parsePath(_0x23a05a){const _0x15074d=a71_0x5188;if(!_0x23a05a||_0x23a05a[_0x15074d(0xdd)]()==='')throw new Error('Path\x20cannot\x20be\x20empty');const _0x9e9577=_0x23a05a[_0x15074d(0xdd)]();if(_0x9e9577==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x23a05a};const _0x4c49fb=_0x9e9577[_0x15074d(0xda)]('/')?_0x9e9577[_0x15074d(0xe7)](0x1):_0x9e9577,_0x457da4=_0x4c49fb[_0x15074d(0xeb)]('/')['filter'](_0x3ec5ba=>_0x3ec5ba!=='');if(_0x457da4[_0x15074d(0xf0)]===0x0)throw new Error(_0x15074d(0xe4));const _0x3a2f4d=_0x9e9577[_0x15074d(0xda)]('/')||!isRelativePathSegment(_0x457da4[0x0]);for(const _0x9e4a5d of _0x457da4){validatePathSegment(_0x9e4a5d);}return{'segments':_0x457da4,'isAbsolute':_0x3a2f4d,'raw':_0x23a05a};}function isRelativePathSegment(_0x2f39a7){return _0x2f39a7==='.'||_0x2f39a7==='..';}function validatePathSegment(_0x359208){const _0x1eaa3d=a71_0x5188;if(_0x359208==='')throw new Error('Path\x20segment\x20cannot\x20be\x20empty');if(_0x359208==='.'||_0x359208==='..')return;if(/[\x00-\x1F\x7F]/[_0x1eaa3d(0xe0)](_0x359208))throw new Error(_0x1eaa3d(0xe5)+_0x359208);if(_0x359208!==_0x359208[_0x1eaa3d(0xdd)]()){}}export function validatePath(_0x318781){const _0x5d8afe=a71_0x5188;if(_0x318781[_0x5d8afe(0xf3)][_0x5d8afe(0xf0)]===0x0&&!_0x318781[_0x5d8afe(0xe2)])throw new Error(_0x5d8afe(0xef));if(_0x318781[_0x5d8afe(0xe2)]){if(_0x318781[_0x5d8afe(0xf3)][0x0]==='..')throw new Error('Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22');let _0x1473ac=0x0;for(const _0x266afa of _0x318781[_0x5d8afe(0xf3)]){if(_0x266afa==='..'){if(_0x1473ac===0x0)throw new Error('Path\x20attempts\x20to\x20navigate\x20above\x20root');_0x1473ac--;}else _0x266afa!=='.'&&_0x1473ac++;}}}export function joinPaths(_0x5659c1,_0x12eeb7){const _0x3ac4a3=a71_0x5188;if(!_0x5659c1||_0x5659c1==='/')return _0x12eeb7;if(!_0x12eeb7||_0x12eeb7==='.')return _0x5659c1;if(_0x12eeb7[_0x3ac4a3(0xda)]('/'))return _0x12eeb7;const _0x5c280d=parsePath(_0x5659c1),_0x41c362=parsePath(_0x12eeb7),_0x536c13=[..._0x5c280d['segments']];for(const _0x450f89 of _0x41c362['segments']){if(_0x450f89==='.')continue;else{if(_0x450f89==='..'){if(_0x536c13['length']===0x0)throw new Error(_0x3ac4a3(0xea));_0x536c13[_0x3ac4a3(0xdb)]();}else _0x536c13[_0x3ac4a3(0xed)](_0x450f89);}}const _0x4d04e7=_0x536c13[_0x3ac4a3(0xe8)]('/');return _0x5c280d['raw'][_0x3ac4a3(0xda)]('/')?'/'+_0x4d04e7:_0x4d04e7;}export function normalizePath(_0x1a895f){const _0x4a8bfe=a71_0x5188,_0x5bc233=parsePath(_0x1a895f),_0x4a172c=[];for(const _0x5118fa of _0x5bc233[_0x4a8bfe(0xf3)]){if(_0x5118fa==='.')continue;else{if(_0x5118fa==='..'){if(_0x4a172c[_0x4a8bfe(0xf0)]===0x0){if(_0x5bc233[_0x4a8bfe(0xe2)])throw new Error(_0x4a8bfe(0xea));_0x4a172c[_0x4a8bfe(0xed)]('..');}else _0x4a172c[_0x4a172c[_0x4a8bfe(0xf0)]-0x1]==='..'?_0x4a172c[_0x4a8bfe(0xed)]('..'):_0x4a172c[_0x4a8bfe(0xdb)]();}else _0x4a172c[_0x4a8bfe(0xed)](_0x5118fa);}}if(_0x4a172c[_0x4a8bfe(0xf0)]===0x0)return _0x5bc233['isAbsolute']?'/':'.';const _0xe8bda=_0x4a172c[_0x4a8bfe(0xe8)]('/');return _0x5bc233[_0x4a8bfe(0xe1)]['startsWith']('/')?'/'+_0xe8bda:_0xe8bda;}export function getParentPath(_0xf6b56b){const _0x2edc91=a71_0x5188,_0x3a13c8=parsePath(_0xf6b56b);if(_0x3a13c8[_0x2edc91(0xf3)][_0x2edc91(0xf0)]<=0x1)return'/';const _0x4b44e7=_0x3a13c8[_0x2edc91(0xf3)][_0x2edc91(0xde)](0x0,-0x1)[_0x2edc91(0xe8)]('/');return _0x3a13c8[_0x2edc91(0xe1)][_0x2edc91(0xda)]('/')?'/'+_0x4b44e7:_0x4b44e7;}export function getBaseName(_0x45131e){const _0x1c93d8=a71_0x5188,_0x16388e=parsePath(_0x45131e);return _0x16388e['segments'][_0x16388e[_0x1c93d8(0xf3)][_0x1c93d8(0xf0)]-0x1]||'';}export function isChildPath(_0x31132f,_0x254ccf){const _0x3571db=a71_0x5188,_0x30278b=parsePath(_0x31132f),_0x33ef5d=parsePath(_0x254ccf);if(_0x30278b['segments'][_0x3571db(0xf0)]<=_0x33ef5d[_0x3571db(0xf3)][_0x3571db(0xf0)])return![];for(let _0x11e6ef=0x0;_0x11e6ef<_0x33ef5d['segments']['length'];_0x11e6ef++){if(_0x30278b[_0x3571db(0xf3)][_0x11e6ef]!==_0x33ef5d[_0x3571db(0xf3)][_0x11e6ef])return![];}return!![];}export function splitPath(_0x3d81a0){const _0x454cfc=a71_0x5188,_0x5f1d21=parsePath(_0x3d81a0);if(_0x5f1d21[_0x454cfc(0xf3)][_0x454cfc(0xf0)]===0x0)throw new Error('Cannot\x20split\x20empty\x20path');if(_0x5f1d21[_0x454cfc(0xf3)]['length']===0x1)return{'parent':_0x5f1d21[_0x454cfc(0xf3)][0x0]};return{'parent':_0x5f1d21[_0x454cfc(0xf3)][0x0],'child':_0x5f1d21['segments'][_0x454cfc(0xde)](0x1)[_0x454cfc(0xe8)]('/')};}
@@ -1 +1 @@
1
- function a72_0x134e(){const _0xfc50e6=['4387348NSdQYJ','625RBfMgj','2138658lzXQmw','21324941uXyHtC','indexOf','substring','102258KLRCYx','20HjQPqU','Invalid\x20segment\x20reference\x20format:\x20','1395240xDxWNC','96fyrAQs','25092fFiNku','27443CdjHQe','.\x20Parent\x20name\x20cannot\x20be\x20empty','8KuFtjz'];a72_0x134e=function(){return _0xfc50e6;};return a72_0x134e();}function a72_0x32d7(_0x5d2500,_0x438758){const _0x134e18=a72_0x134e();return a72_0x32d7=function(_0x32d7f9,_0x232481){_0x32d7f9=_0x32d7f9-0xe0;let _0x22eb5b=_0x134e18[_0x32d7f9];return _0x22eb5b;},a72_0x32d7(_0x5d2500,_0x438758);}(function(_0x2a6889,_0x30565c){const _0x473fbc=a72_0x32d7,_0x2d648d=_0x2a6889();while(!![]){try{const _0x3b6a8a=parseInt(_0x473fbc(0xe0))/0x1*(-parseInt(_0x473fbc(0xed))/0x2)+-parseInt(_0x473fbc(0xe5))/0x3+-parseInt(_0x473fbc(0xec))/0x4+-parseInt(_0x473fbc(0xe4))/0x5*(-parseInt(_0x473fbc(0xee))/0x6)+-parseInt(_0x473fbc(0xe3))/0x7*(-parseInt(_0x473fbc(0xe2))/0x8)+-parseInt(_0x473fbc(0xe9))/0x9*(parseInt(_0x473fbc(0xea))/0xa)+parseInt(_0x473fbc(0xe6))/0xb;if(_0x3b6a8a===_0x30565c)break;else _0x2d648d['push'](_0x2d648d['shift']());}catch(_0x5a1515){_0x2d648d['push'](_0x2d648d['shift']());}}}(a72_0x134e,0xa797d));export function parseSegmentRef(_0x446b26){const _0x98fc28=a72_0x32d7,_0xf9e2a6=_0x446b26[_0x98fc28(0xe7)]('/');if(_0xf9e2a6===-0x1)return{'parentId':_0x446b26};if(_0xf9e2a6===0x0)throw new Error(_0x98fc28(0xeb)+_0x446b26+_0x98fc28(0xe1));const _0x1fa39d=_0x446b26[_0x98fc28(0xe8)](0x0,_0xf9e2a6),_0xe65568=_0x446b26[_0x98fc28(0xe8)](_0xf9e2a6+0x1);if(_0xe65568==='')throw new Error(_0x98fc28(0xeb)+_0x446b26+'.\x20Child\x20name\x20cannot\x20be\x20empty');return{'parentId':_0x1fa39d,'childId':_0xe65568};}
1
+ (function(_0xddcb01,_0x54d2b4){const _0x1b5314=a72_0x3df3,_0x2ff3c5=_0xddcb01();while(!![]){try{const _0x341412=parseInt(_0x1b5314(0x15f))/0x1*(parseInt(_0x1b5314(0x157))/0x2)+-parseInt(_0x1b5314(0x150))/0x3*(parseInt(_0x1b5314(0x15e))/0x4)+-parseInt(_0x1b5314(0x151))/0x5*(-parseInt(_0x1b5314(0x159))/0x6)+-parseInt(_0x1b5314(0x15c))/0x7+-parseInt(_0x1b5314(0x154))/0x8+parseInt(_0x1b5314(0x158))/0x9*(-parseInt(_0x1b5314(0x155))/0xa)+parseInt(_0x1b5314(0x15a))/0xb;if(_0x341412===_0x54d2b4)break;else _0x2ff3c5['push'](_0x2ff3c5['shift']());}catch(_0x4d453f){_0x2ff3c5['push'](_0x2ff3c5['shift']());}}}(a72_0x4351,0x607a0));function a72_0x3df3(_0x2ac2e2,_0x5eb9bc){const _0x43513b=a72_0x4351();return a72_0x3df3=function(_0x3df382,_0xc51020){_0x3df382=_0x3df382-0x150;let _0x4caf5c=_0x43513b[_0x3df382];return _0x4caf5c;},a72_0x3df3(_0x2ac2e2,_0x5eb9bc);}function a72_0x4351(){const _0x431e1e=['substring','4574792RNjQtH','1539530Oiejfk','.\x20Child\x20name\x20cannot\x20be\x20empty','2qBiupR','18hPwkUj','6tnuySW','13764542tgOumk','indexOf','4279135pOPoYq','.\x20Parent\x20name\x20cannot\x20be\x20empty','93336vhFHQV','19707lnZIAv','12iPNVDK','3542675RWAYEg','Invalid\x20segment\x20reference\x20format:\x20'];a72_0x4351=function(){return _0x431e1e;};return a72_0x4351();}export function parseSegmentRef(_0x2c90d9){const _0x58ac70=a72_0x3df3,_0x4eb48e=_0x2c90d9[_0x58ac70(0x15b)]('/');if(_0x4eb48e===-0x1)return{'parentId':_0x2c90d9};if(_0x4eb48e===0x0)throw new Error(_0x58ac70(0x152)+_0x2c90d9+_0x58ac70(0x15d));const _0x126014=_0x2c90d9[_0x58ac70(0x153)](0x0,_0x4eb48e),_0x2275a6=_0x2c90d9[_0x58ac70(0x153)](_0x4eb48e+0x1);if(_0x2275a6==='')throw new Error(_0x58ac70(0x152)+_0x2c90d9+_0x58ac70(0x156));return{'parentId':_0x126014,'childId':_0x2275a6};}
@@ -1 +1 @@
1
- (function(_0x5bc184,_0x671d57){const _0x227134=a73_0x4174,_0x41f2e9=_0x5bc184();while(!![]){try{const _0x16e393=parseInt(_0x227134(0x139))/0x1+parseInt(_0x227134(0x138))/0x2*(parseInt(_0x227134(0x12b))/0x3)+parseInt(_0x227134(0x133))/0x4+-parseInt(_0x227134(0x12d))/0x5+parseInt(_0x227134(0x12c))/0x6*(parseInt(_0x227134(0x142))/0x7)+parseInt(_0x227134(0x135))/0x8+-parseInt(_0x227134(0x12f))/0x9*(parseInt(_0x227134(0x134))/0xa);if(_0x16e393===_0x671d57)break;else _0x41f2e9['push'](_0x41f2e9['shift']());}catch(_0x34f575){_0x41f2e9['push'](_0x41f2e9['shift']());}}}(a73_0x4134,0xce9a3));import a73_0x13260e from'ora';export function createCommandSpinner(_0x3db584,_0x35c40c={}){const _0x4fce02=a73_0x4174,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x35c40c;return a73_0x13260e({'text':_0x3db584,'color':_0x4fce02(0x136),'isEnabled':forceEnabled||process[_0x4fce02(0x13c)]['isTTY']&&!verbose});}function a73_0x4134(){const _0x1ec80f=['2834272aKtCsc','18710MhMqgU','11147384NxABzW','cyan','intervalFactory','49506nKjOHW','596935AnRXOe','now','stop','stdout','replace','text','extra','jobId','floor','168UCPirR','start','30EHWAIs','127470oPPhTm','7231655cuyYCo','\x20[Job\x20ID:\x20','5598OptVlf','isSpinning','toFixed','phase'];a73_0x4134=function(){return _0x1ec80f;};return a73_0x4134();}export async function withSpinner(_0x369aef,_0x271135,_0x42ceed={}){const _0x5f02b5=a73_0x4174,_0x231ac9=_0x42ceed['clock']??(()=>Date['now']()),_0x27d5c9=createCommandSpinner(_0x369aef,_0x42ceed);_0x27d5c9[_0x5f02b5(0x12a)]();const _0xcdf418=_0x231ac9();try{const _0x2e4cee=await _0x271135(),_0x22400f=_0x231ac9()-_0xcdf418;return _0x27d5c9[_0x5f02b5(0x13b)](),{'data':_0x2e4cee,'elapsedMs':_0x22400f};}catch(_0x4745c6){_0x27d5c9[_0x5f02b5(0x13b)]();throw _0x4745c6;}}export async function withQuerySpinner(_0x1ee641,_0xa4e36b,_0x481d37={}){const _0x2af27b=a73_0x4174,_0x340b81=_0x481d37['clock']??(()=>Date[_0x2af27b(0x13a)]()),_0x815fc6=_0x481d37[_0x2af27b(0x137)]??setInterval,_0xbce422=createCommandSpinner(_0x1ee641,_0x481d37);_0xbce422[_0x2af27b(0x12a)]();const _0x529f1e=_0x340b81(),_0x20a812=_0x1ee641[_0x2af27b(0x13d)]('...',''),_0x545146={},_0x1e269a=()=>{const _0x13eb22=_0x2af27b;if(!_0xbce422[_0x13eb22(0x130)])return;const _0x252ed2=_0x340b81()-_0x529f1e,_0xeaa036=formatElapsed(_0x252ed2),_0x2af166=_0x545146[_0x13eb22(0x132)]??_0x20a812,_0x495dae=_0x545146[_0x13eb22(0x140)]?_0x13eb22(0x12e)+_0x545146[_0x13eb22(0x140)]+']':'',_0x525216=_0x545146[_0x13eb22(0x13f)]?'\x20'+_0x545146[_0x13eb22(0x13f)]:'';_0xbce422[_0x13eb22(0x13e)]=_0x2af166+'\x20'+_0xeaa036+_0x525216+_0x495dae;},_0x267e72=_0x815fc6(()=>{_0x1e269a();},0x3e8),_0x5a74bb={'setPhase':_0xb8cfad=>{const _0x3a604b=_0x2af27b;_0x545146[_0x3a604b(0x132)]=_0xb8cfad,_0x1e269a();},'setJobId':_0x53c390=>{const _0x3413ec=_0x2af27b;_0x545146[_0x3413ec(0x140)]=_0x53c390,_0x1e269a();},'setExtra':_0x5bf849=>{_0x545146['extra']=_0x5bf849,_0x1e269a();}};_0x1e269a();try{const _0x590064=await _0xa4e36b(_0x5a74bb),_0x42aff8=_0x340b81()-_0x529f1e;return{'data':_0x590064,'elapsedMs':_0x42aff8};}finally{clearInterval(_0x267e72),_0xbce422['stop']();}}function a73_0x4174(_0x10138e,_0x466ba7){const _0x4134d5=a73_0x4134();return a73_0x4174=function(_0x41741a,_0x1a246f){_0x41741a=_0x41741a-0x12a;let _0x3a4877=_0x4134d5[_0x41741a];return _0x3a4877;},a73_0x4174(_0x10138e,_0x466ba7);}export function formatElapsed(_0x2135e8){const _0x462780=a73_0x4174,_0x52a76d=Math[_0x462780(0x141)](_0x2135e8/0x3e8);if(_0x52a76d<0x3c)return(_0x2135e8/0x3e8)[_0x462780(0x131)](0x1)+'s';const _0x9f2eb1=Math[_0x462780(0x141)](_0x52a76d/0x3c),_0x516fdf=_0x52a76d%0x3c;if(_0x9f2eb1<0x3c)return _0x9f2eb1+'m\x20'+_0x516fdf+'s';const _0x19c214=Math['floor'](_0x9f2eb1/0x3c),_0x217196=_0x9f2eb1%0x3c;return _0x19c214+'h\x20'+_0x217196+'m';}
1
+ function a73_0x5338(_0x31228c,_0x2853b0){const _0x31247c=a73_0x3124();return a73_0x5338=function(_0x53388e,_0x9de2a4){_0x53388e=_0x53388e-0xd4;let _0x15acda=_0x31247c[_0x53388e];return _0x15acda;},a73_0x5338(_0x31228c,_0x2853b0);}(function(_0x354992,_0x21b2c5){const _0xf5b652=a73_0x5338,_0x5930b7=_0x354992();while(!![]){try{const _0x1adca3=-parseInt(_0xf5b652(0xda))/0x1*(-parseInt(_0xf5b652(0xe5))/0x2)+parseInt(_0xf5b652(0xe0))/0x3+parseInt(_0xf5b652(0xe3))/0x4+-parseInt(_0xf5b652(0xe2))/0x5*(-parseInt(_0xf5b652(0xd4))/0x6)+parseInt(_0xf5b652(0xd8))/0x7*(parseInt(_0xf5b652(0xd6))/0x8)+-parseInt(_0xf5b652(0xeb))/0x9*(-parseInt(_0xf5b652(0xe6))/0xa)+-parseInt(_0xf5b652(0xe7))/0xb;if(_0x1adca3===_0x21b2c5)break;else _0x5930b7['push'](_0x5930b7['shift']());}catch(_0x14853e){_0x5930b7['push'](_0x5930b7['shift']());}}}(a73_0x3124,0xa406d));function a73_0x3124(){const _0x5efcdc=['clock','14583HQTGkM','isSpinning','text','phase','toFixed','stop','2859894SSzUvX','cyan','5585725wKaTNx','4199328guWqLt','\x20[Job\x20ID:\x20','160kgXUzA','3530XKDqZJ','57632938xxKMIR','extra','jobId','intervalFactory','9351MMkKJZ','6OSniWU','stdout','8vbpJbR','now','8802703NCaDCx'];a73_0x3124=function(){return _0x5efcdc;};return a73_0x3124();}import a73_0xb509c from'ora';export function createCommandSpinner(_0x4b3b43,_0x522def={}){const _0x323a92=a73_0x5338,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x522def;return a73_0xb509c({'text':_0x4b3b43,'color':_0x323a92(0xe1),'isEnabled':forceEnabled||process[_0x323a92(0xd5)]['isTTY']&&!verbose});}export async function withSpinner(_0x225c35,_0x655832,_0x3b7c23={}){const _0x3394c2=a73_0x5338,_0x5198cb=_0x3b7c23[_0x3394c2(0xd9)]??(()=>Date['now']()),_0x55919b=createCommandSpinner(_0x225c35,_0x3b7c23);_0x55919b['start']();const _0x56f9cc=_0x5198cb();try{const _0xff1a9f=await _0x655832(),_0x478774=_0x5198cb()-_0x56f9cc;return _0x55919b[_0x3394c2(0xdf)](),{'data':_0xff1a9f,'elapsedMs':_0x478774};}catch(_0x583257){_0x55919b[_0x3394c2(0xdf)]();throw _0x583257;}}export async function withQuerySpinner(_0x493fd1,_0x1ef56d,_0x543f6d={}){const _0x152de2=a73_0x5338,_0x481bea=_0x543f6d[_0x152de2(0xd9)]??(()=>Date[_0x152de2(0xd7)]()),_0x4f0354=_0x543f6d[_0x152de2(0xea)]??setInterval,_0x4c6019=createCommandSpinner(_0x493fd1,_0x543f6d);_0x4c6019['start']();const _0x233a27=_0x481bea(),_0x39b7cd=_0x493fd1['replace']('...',''),_0x75c72={},_0x3dfa85=()=>{const _0x1264be=_0x152de2;if(!_0x4c6019[_0x1264be(0xdb)])return;const _0x5d1b81=_0x481bea()-_0x233a27,_0x185739=formatElapsed(_0x5d1b81),_0x9bc3a6=_0x75c72[_0x1264be(0xdd)]??_0x39b7cd,_0x1f95ee=_0x75c72[_0x1264be(0xe9)]?_0x1264be(0xe4)+_0x75c72[_0x1264be(0xe9)]+']':'',_0x5051d0=_0x75c72[_0x1264be(0xe8)]?'\x20'+_0x75c72[_0x1264be(0xe8)]:'';_0x4c6019[_0x1264be(0xdc)]=_0x9bc3a6+'\x20'+_0x185739+_0x5051d0+_0x1f95ee;},_0x5909af=_0x4f0354(()=>{_0x3dfa85();},0x3e8),_0x3a4679={'setPhase':_0x35dc83=>{const _0x39f39a=_0x152de2;_0x75c72[_0x39f39a(0xdd)]=_0x35dc83,_0x3dfa85();},'setJobId':_0x2cd82a=>{const _0xc3f571=_0x152de2;_0x75c72[_0xc3f571(0xe9)]=_0x2cd82a,_0x3dfa85();},'setExtra':_0x4d0824=>{const _0x1e5a25=_0x152de2;_0x75c72[_0x1e5a25(0xe8)]=_0x4d0824,_0x3dfa85();}};_0x3dfa85();try{const _0x52afea=await _0x1ef56d(_0x3a4679),_0x66f2da=_0x481bea()-_0x233a27;return{'data':_0x52afea,'elapsedMs':_0x66f2da};}finally{clearInterval(_0x5909af),_0x4c6019[_0x152de2(0xdf)]();}}export function formatElapsed(_0x4fc7c6){const _0x2e6d6d=a73_0x5338,_0x516f28=Math['floor'](_0x4fc7c6/0x3e8);if(_0x516f28<0x3c)return(_0x4fc7c6/0x3e8)[_0x2e6d6d(0xde)](0x1)+'s';const _0x1521bd=Math['floor'](_0x516f28/0x3c),_0xfc0767=_0x516f28%0x3c;if(_0x1521bd<0x3c)return _0x1521bd+'m\x20'+_0xfc0767+'s';const _0x5273bc=Math['floor'](_0x1521bd/0x3c),_0x232448=_0x1521bd%0x3c;return _0x5273bc+'h\x20'+_0x232448+'m';}
@@ -1 +1 @@
1
- (function(_0x36652e,_0x4e0aff){const _0x55e58e=a74_0x506a,_0x51854b=_0x36652e();while(!![]){try{const _0x344a7f=parseInt(_0x55e58e(0x1bc))/0x1+parseInt(_0x55e58e(0x1af))/0x2*(parseInt(_0x55e58e(0x1b0))/0x3)+-parseInt(_0x55e58e(0x1c3))/0x4*(parseInt(_0x55e58e(0x1b8))/0x5)+parseInt(_0x55e58e(0x1b1))/0x6+parseInt(_0x55e58e(0x1ab))/0x7*(-parseInt(_0x55e58e(0x1bd))/0x8)+-parseInt(_0x55e58e(0x1b2))/0x9*(-parseInt(_0x55e58e(0x1bb))/0xa)+-parseInt(_0x55e58e(0x1b6))/0xb;if(_0x344a7f===_0x4e0aff)break;else _0x51854b['push'](_0x51854b['shift']());}catch(_0x509cc8){_0x51854b['push'](_0x51854b['shift']());}}}(a74_0x5f1d,0xeccfe));import{readFileSync}from'fs';export function stripSqlComments(_0x5da99a){const _0x4aaf60=a74_0x506a;let _0x315cbb=_0x5da99a[_0x4aaf60(0x1c0)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x315cbb=_0x315cbb[_0x4aaf60(0x1c0)](/--.*$/gm,''),_0x315cbb[_0x4aaf60(0x1b9)]();}function a74_0x5f1d(){const _0x23b58e=['\x27:\x20','Content\x20contains\x20no\x20SQL\x20statements','utf-8','13166076WsGLSK','Error\x20reading\x20file\x20\x27','24305EmSIQo','trim','\x27\x20not\x20found','310DZyTUf','1524972NsvzqQ','2408jJnkDX','Permission\x20denied\x20reading\x20file\x20\x27','filter','replace','code','length','160zYaOcB','21987Jyrvcd','push','File\x20\x27','EACCES','222NPyqMf','24081mexxzi','2626470ucuAcs','131535LusMUl'];a74_0x5f1d=function(){return _0x23b58e;};return a74_0x5f1d();}function a74_0x506a(_0x4ddad1,_0x4050ff){const _0x5f1d25=a74_0x5f1d();return a74_0x506a=function(_0x506ae7,_0x355288){_0x506ae7=_0x506ae7-0x1ab;let _0x203ef6=_0x5f1d25[_0x506ae7];return _0x203ef6;},a74_0x506a(_0x4ddad1,_0x4050ff);}function isEscaped(_0x186f4a,_0x16bda9){let _0xe403c=0x0;for(let _0x1e1d49=_0x16bda9-0x1;_0x1e1d49>=0x0&&_0x186f4a[_0x1e1d49]==='\x5c';_0x1e1d49--){_0xe403c++;}return _0xe403c%0x2===0x1;}export function splitSqlStatements(_0x429856){const _0x419241=a74_0x506a,_0x38f82b=stripSqlComments(_0x429856);if(!_0x38f82b)throw new Error('Content\x20contains\x20no\x20SQL\x20statements');const _0x29d8b4=[];let _0x5d251a='',_0x36837d=![],_0x28b1de=![],_0x170c4c=![];for(let _0x54012d=0x0;_0x54012d<_0x429856['length'];_0x54012d++){const _0x1503bc=_0x429856[_0x54012d];if(_0x1503bc==='\x27'&&!isEscaped(_0x429856,_0x54012d)&&!_0x28b1de&&!_0x170c4c)_0x36837d=!_0x36837d;else{if(_0x1503bc==='\x22'&&!isEscaped(_0x429856,_0x54012d)&&!_0x36837d&&!_0x170c4c)_0x28b1de=!_0x28b1de;else _0x1503bc==='`'&&!isEscaped(_0x429856,_0x54012d)&&!_0x36837d&&!_0x28b1de&&(_0x170c4c=!_0x170c4c);}if(_0x1503bc===';'&&!_0x36837d&&!_0x28b1de&&!_0x170c4c){const _0x28cb74=_0x5d251a[_0x419241(0x1b9)]();_0x28cb74&&_0x29d8b4[_0x419241(0x1ac)](_0x28cb74),_0x5d251a='';}else _0x5d251a+=_0x1503bc;}const _0x868a82=_0x5d251a['trim']();_0x868a82&&_0x29d8b4['push'](_0x868a82);const _0x4e9579=_0x29d8b4['map'](_0x4087f7=>_0x4087f7[_0x419241(0x1b9)]())[_0x419241(0x1bf)](_0x5eb54d=>{const _0x18c452=_0x419241,_0x5aa93c=stripSqlComments(_0x5eb54d);return _0x5aa93c[_0x18c452(0x1c2)]>0x0;});if(_0x4e9579['length']===0x0)throw new Error(_0x419241(0x1b4));return _0x4e9579;}export function readFileContent(_0x17d31c){const _0x21afdb=a74_0x506a;try{return readFileSync(_0x17d31c,_0x21afdb(0x1b5));}catch(_0x4a700c){const _0x47f1ab=_0x4a700c[_0x21afdb(0x1c1)];if(_0x47f1ab==='ENOENT')throw new Error('File\x20\x27'+_0x17d31c+_0x21afdb(0x1ba));else{if(_0x47f1ab===_0x21afdb(0x1ae))throw new Error(_0x21afdb(0x1be)+_0x17d31c+'\x27');else throw new Error(_0x21afdb(0x1b7)+_0x17d31c+_0x21afdb(0x1b3)+_0x4a700c['message']);}}}export function readSqlStatementsFromFile(_0x3d7898){const _0x3708ae=a74_0x506a,_0x1fed34=readFileContent(_0x3d7898);try{return splitSqlStatements(_0x1fed34);}catch(_0x569cbe){throw new Error(_0x3708ae(0x1ad)+_0x3d7898+'\x27\x20'+_0x569cbe['message']['toLowerCase']());}}
1
+ (function(_0x480a55,_0x358a0d){const _0x2280bc=a74_0x5181,_0x31d1e2=_0x480a55();while(!![]){try{const _0x4461cb=-parseInt(_0x2280bc(0x1a7))/0x1*(parseInt(_0x2280bc(0x1ab))/0x2)+parseInt(_0x2280bc(0x1b8))/0x3+-parseInt(_0x2280bc(0x1ad))/0x4+parseInt(_0x2280bc(0x1b9))/0x5+parseInt(_0x2280bc(0x1a8))/0x6*(parseInt(_0x2280bc(0x1b0))/0x7)+parseInt(_0x2280bc(0x1b7))/0x8+-parseInt(_0x2280bc(0x1aa))/0x9;if(_0x4461cb===_0x358a0d)break;else _0x31d1e2['push'](_0x31d1e2['shift']());}catch(_0x51e856){_0x31d1e2['push'](_0x31d1e2['shift']());}}}(a74_0x1c89,0xc9888));function a74_0x1c89(){const _0x212319=['toLowerCase','map','Permission\x20denied\x20reading\x20file\x20\x27','191081zCCEzV','14340pVzSHS','push','12795948XSOJHZ','2kIQUGG','replace','3184004RzUIUn','File\x20\x27','Error\x20reading\x20file\x20\x27','2555oAckIb','utf-8','message','EACCES','Content\x20contains\x20no\x20SQL\x20statements','code','trim','11043152aXDOeF','416796dLTutc','4213290AXOPDz','filter','\x27:\x20','length'];a74_0x1c89=function(){return _0x212319;};return a74_0x1c89();}function a74_0x5181(_0x47c61b,_0x368c60){const _0x1c897b=a74_0x1c89();return a74_0x5181=function(_0x5181d5,_0x58d421){_0x5181d5=_0x5181d5-0x1a5;let _0x495efc=_0x1c897b[_0x5181d5];return _0x495efc;},a74_0x5181(_0x47c61b,_0x368c60);}import{readFileSync}from'fs';export function stripSqlComments(_0x171006){const _0x460938=a74_0x5181;let _0x39567b=_0x171006[_0x460938(0x1ac)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x39567b=_0x39567b[_0x460938(0x1ac)](/--.*$/gm,''),_0x39567b[_0x460938(0x1b6)]();}function isEscaped(_0x21b9e5,_0x4d3904){let _0x203674=0x0;for(let _0xd00336=_0x4d3904-0x1;_0xd00336>=0x0&&_0x21b9e5[_0xd00336]==='\x5c';_0xd00336--){_0x203674++;}return _0x203674%0x2===0x1;}export function splitSqlStatements(_0x3b5001){const _0x461c7b=a74_0x5181,_0x454c56=stripSqlComments(_0x3b5001);if(!_0x454c56)throw new Error(_0x461c7b(0x1b4));const _0x111f05=[];let _0x2b8f32='',_0x5869de=![],_0x42a39b=![],_0x487d5b=![];for(let _0x191858=0x0;_0x191858<_0x3b5001['length'];_0x191858++){const _0x246014=_0x3b5001[_0x191858];if(_0x246014==='\x27'&&!isEscaped(_0x3b5001,_0x191858)&&!_0x42a39b&&!_0x487d5b)_0x5869de=!_0x5869de;else{if(_0x246014==='\x22'&&!isEscaped(_0x3b5001,_0x191858)&&!_0x5869de&&!_0x487d5b)_0x42a39b=!_0x42a39b;else _0x246014==='`'&&!isEscaped(_0x3b5001,_0x191858)&&!_0x5869de&&!_0x42a39b&&(_0x487d5b=!_0x487d5b);}if(_0x246014===';'&&!_0x5869de&&!_0x42a39b&&!_0x487d5b){const _0x47f729=_0x2b8f32['trim']();_0x47f729&&_0x111f05[_0x461c7b(0x1a9)](_0x47f729),_0x2b8f32='';}else _0x2b8f32+=_0x246014;}const _0x3d7887=_0x2b8f32['trim']();_0x3d7887&&_0x111f05[_0x461c7b(0x1a9)](_0x3d7887);const _0x250fe3=_0x111f05[_0x461c7b(0x1a5)](_0xd3c957=>_0xd3c957['trim']())[_0x461c7b(0x1ba)](_0x5bf4bd=>{const _0x32cf34=_0x461c7b,_0x39fe74=stripSqlComments(_0x5bf4bd);return _0x39fe74[_0x32cf34(0x1bc)]>0x0;});if(_0x250fe3[_0x461c7b(0x1bc)]===0x0)throw new Error(_0x461c7b(0x1b4));return _0x250fe3;}export function readFileContent(_0x49362e){const _0x2df2f4=a74_0x5181;try{return readFileSync(_0x49362e,_0x2df2f4(0x1b1));}catch(_0x530b48){const _0x2eaeef=_0x530b48[_0x2df2f4(0x1b5)];if(_0x2eaeef==='ENOENT')throw new Error(_0x2df2f4(0x1ae)+_0x49362e+'\x27\x20not\x20found');else{if(_0x2eaeef===_0x2df2f4(0x1b3))throw new Error(_0x2df2f4(0x1a6)+_0x49362e+'\x27');else throw new Error(_0x2df2f4(0x1af)+_0x49362e+_0x2df2f4(0x1bb)+_0x530b48[_0x2df2f4(0x1b2)]);}}}export function readSqlStatementsFromFile(_0xcaccd1){const _0x3094aa=a74_0x5181,_0x1b0ad4=readFileContent(_0xcaccd1);try{return splitSqlStatements(_0x1b0ad4);}catch(_0xe334a8){throw new Error(_0x3094aa(0x1ae)+_0xcaccd1+'\x27\x20'+_0xe334a8['message'][_0x3094aa(0x1bd)]());}}
@@ -1 +1 @@
1
- (function(_0x59ba36,_0x2ba471){const _0xad004a=a75_0x9460,_0x27f058=_0x59ba36();while(!![]){try{const _0x1ae34e=parseInt(_0xad004a(0x9e))/0x1*(parseInt(_0xad004a(0xac))/0x2)+-parseInt(_0xad004a(0xa2))/0x3*(parseInt(_0xad004a(0xaa))/0x4)+parseInt(_0xad004a(0x9a))/0x5*(-parseInt(_0xad004a(0x9c))/0x6)+parseInt(_0xad004a(0xb0))/0x7*(-parseInt(_0xad004a(0xab))/0x8)+parseInt(_0xad004a(0xa6))/0x9+-parseInt(_0xad004a(0x9b))/0xa*(-parseInt(_0xad004a(0xa0))/0xb)+parseInt(_0xad004a(0xa4))/0xc;if(_0x1ae34e===_0x2ba471)break;else _0x27f058['push'](_0x27f058['shift']());}catch(_0x3bbedc){_0x27f058['push'](_0x27f058['shift']());}}}(a75_0x352b,0xd63ea));function a75_0x9460(_0x6cc738,_0x477e06){const _0x352b84=a75_0x352b();return a75_0x9460=function(_0x9460be,_0x1cce22){_0x9460be=_0x9460be-0x9a;let _0x30dcc2=_0x352b84[_0x9460be];return _0x30dcc2;},a75_0x9460(_0x6cc738,_0x477e06);}export async function*parseSSEStream(_0x5e887f){const _0x598774=a75_0x9460;if(!_0x5e887f[_0x598774(0xae)])throw new Error(_0x598774(0xa9));const _0x5aa17b=_0x5e887f['body'][_0x598774(0xaf)](),_0x5a48aa=new TextDecoder();let _0x150838='',_0x432d49={};try{while(!![]){const {done:_0xfe9536,value:_0x1b1053}=await _0x5aa17b['read']();if(_0xfe9536){_0x432d49['data']&&(yield parseSSEData(_0x432d49[_0x598774(0xa1)]));break;}_0x150838+=_0x5a48aa['decode'](_0x1b1053,{'stream':!![]});const _0x2444b2=_0x150838['split']('\x0a');_0x150838=_0x2444b2[_0x598774(0x9f)]()||'';for(const _0x1f00c4 of _0x2444b2){if(_0x1f00c4['trim']()===''){_0x432d49[_0x598774(0xa1)]&&(yield parseSSEData(_0x432d49[_0x598774(0xa1)]),_0x432d49={});continue;}if(_0x1f00c4['startsWith'](':'))continue;const _0x5cdbc8=_0x1f00c4[_0x598774(0xa3)](':');if(_0x5cdbc8===-0x1)continue;const _0x23d858=_0x1f00c4[_0x598774(0xa7)](0x0,_0x5cdbc8);let _0x4b6487=_0x1f00c4[_0x598774(0xa7)](_0x5cdbc8+0x1);_0x4b6487[_0x598774(0x9d)]('\x20')&&(_0x4b6487=_0x4b6487[_0x598774(0xa7)](0x1));switch(_0x23d858){case _0x598774(0xad):_0x432d49['event']=_0x4b6487;break;case _0x598774(0xa1):_0x432d49['data']=_0x432d49[_0x598774(0xa1)]?_0x432d49[_0x598774(0xa1)]+'\x0a'+_0x4b6487:_0x4b6487;break;case'id':_0x432d49['id']=_0x4b6487;break;}}}}finally{_0x5aa17b['releaseLock']();}}function parseSSEData(_0x4f7b2b){const _0x25cece=a75_0x9460;try{return JSON[_0x25cece(0xa5)](_0x4f7b2b);}catch(_0x1c350a){throw new Error(_0x25cece(0xa8)+_0x4f7b2b,{'cause':_0x1c350a});}}function a75_0x352b(){const _0xaf46c1=['9093015oBXlCs','slice','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20','Response\x20body\x20is\x20null','18024uOnkOE','119656NastmR','54Tvryvw','event','body','getReader','574wZwKqA','4235045GAajKW','730zsKoHQ','6vhXxsq','startsWith','63743BgCRdr','pop','123827eopCgL','data','990Xwdhgu','indexOf','10618224qQdkWt','parse'];a75_0x352b=function(){return _0xaf46c1;};return a75_0x352b();}
1
+ (function(_0x53c0ff,_0x414e8d){const _0x535237=a75_0x9fb1,_0x4d9ca3=_0x53c0ff();while(!![]){try{const _0x5f2ab5=parseInt(_0x535237(0x1b9))/0x1*(-parseInt(_0x535237(0x1af))/0x2)+parseInt(_0x535237(0x1b8))/0x3*(-parseInt(_0x535237(0x1b1))/0x4)+parseInt(_0x535237(0x1a7))/0x5*(parseInt(_0x535237(0x1b4))/0x6)+-parseInt(_0x535237(0x1a5))/0x7*(-parseInt(_0x535237(0x1a6))/0x8)+-parseInt(_0x535237(0x1ab))/0x9+parseInt(_0x535237(0x1ae))/0xa*(parseInt(_0x535237(0x1b6))/0xb)+-parseInt(_0x535237(0x1b3))/0xc;if(_0x5f2ab5===_0x414e8d)break;else _0x4d9ca3['push'](_0x4d9ca3['shift']());}catch(_0x4486b9){_0x4d9ca3['push'](_0x4d9ca3['shift']());}}}(a75_0x521d,0x9c1de));function a75_0x521d(){const _0x3aed2b=['260827ePdtHT','136DqJCqY','330580HMSPpN','body','slice','getReader','2748906OjRZXf','Response\x20body\x20is\x20null','data','10wKtlpH','4hMhYVh','pop','25332xAxsTY','read','6134544abtcqt','42utAIwY','trim','11449878HBjCKT','decode','93OfJISN','242362HzkafD','startsWith','event','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20'];a75_0x521d=function(){return _0x3aed2b;};return a75_0x521d();}export async function*parseSSEStream(_0xc028b4){const _0x189e80=a75_0x9fb1;if(!_0xc028b4[_0x189e80(0x1a8)])throw new Error(_0x189e80(0x1ac));const _0x2e7c8d=_0xc028b4[_0x189e80(0x1a8)][_0x189e80(0x1aa)](),_0x89d49f=new TextDecoder();let _0x46f22d='',_0xe46fbd={};try{while(!![]){const {done:_0x1b221d,value:_0x3df5ba}=await _0x2e7c8d[_0x189e80(0x1b2)]();if(_0x1b221d){_0xe46fbd[_0x189e80(0x1ad)]&&(yield parseSSEData(_0xe46fbd[_0x189e80(0x1ad)]));break;}_0x46f22d+=_0x89d49f[_0x189e80(0x1b7)](_0x3df5ba,{'stream':!![]});const _0x4a87b0=_0x46f22d['split']('\x0a');_0x46f22d=_0x4a87b0[_0x189e80(0x1b0)]()||'';for(const _0xe87a93 of _0x4a87b0){if(_0xe87a93[_0x189e80(0x1b5)]()===''){_0xe46fbd[_0x189e80(0x1ad)]&&(yield parseSSEData(_0xe46fbd['data']),_0xe46fbd={});continue;}if(_0xe87a93[_0x189e80(0x1ba)](':'))continue;const _0x386e35=_0xe87a93['indexOf'](':');if(_0x386e35===-0x1)continue;const _0x2ed685=_0xe87a93[_0x189e80(0x1a9)](0x0,_0x386e35);let _0x2a3132=_0xe87a93['slice'](_0x386e35+0x1);_0x2a3132[_0x189e80(0x1ba)]('\x20')&&(_0x2a3132=_0x2a3132[_0x189e80(0x1a9)](0x1));switch(_0x2ed685){case _0x189e80(0x1a3):_0xe46fbd[_0x189e80(0x1a3)]=_0x2a3132;break;case'data':_0xe46fbd[_0x189e80(0x1ad)]=_0xe46fbd[_0x189e80(0x1ad)]?_0xe46fbd[_0x189e80(0x1ad)]+'\x0a'+_0x2a3132:_0x2a3132;break;case'id':_0xe46fbd['id']=_0x2a3132;break;}}}}finally{_0x2e7c8d['releaseLock']();}}function a75_0x9fb1(_0x528844,_0x143dcb){const _0x521d68=a75_0x521d();return a75_0x9fb1=function(_0x9fb1b3,_0x3157f7){_0x9fb1b3=_0x9fb1b3-0x1a3;let _0x453c1d=_0x521d68[_0x9fb1b3];return _0x453c1d;},a75_0x9fb1(_0x528844,_0x143dcb);}function parseSSEData(_0x1c8379){const _0x53f298=a75_0x9fb1;try{return JSON['parse'](_0x1c8379);}catch(_0x18304e){throw new Error(_0x53f298(0x1a4)+_0x1c8379,{'cause':_0x18304e});}}
@@ -1 +1 @@
1
- function a76_0x2720(_0x2b07eb,_0x5b5f5c){const _0x510751=a76_0x5107();return a76_0x2720=function(_0x272002,_0x889f54){_0x272002=_0x272002-0x16b;let _0x2f3da0=_0x510751[_0x272002];return _0x2f3da0;},a76_0x2720(_0x2b07eb,_0x5b5f5c);}(function(_0x177b0d,_0x37dcbe){const _0x17bfba=a76_0x2720,_0x1e0f23=_0x177b0d();while(!![]){try{const _0x214528=-parseInt(_0x17bfba(0x17e))/0x1*(-parseInt(_0x17bfba(0x173))/0x2)+parseInt(_0x17bfba(0x170))/0x3+parseInt(_0x17bfba(0x178))/0x4*(-parseInt(_0x17bfba(0x181))/0x5)+parseInt(_0x17bfba(0x179))/0x6+-parseInt(_0x17bfba(0x172))/0x7*(parseInt(_0x17bfba(0x16d))/0x8)+-parseInt(_0x17bfba(0x175))/0x9+parseInt(_0x17bfba(0x171))/0xa;if(_0x214528===_0x37dcbe)break;else _0x1e0f23['push'](_0x1e0f23['shift']());}catch(_0x21b522){_0x1e0f23['push'](_0x1e0f23['shift']());}}}(a76_0x5107,0xac5f4));import a76_0x5c0ed0 from'string-width';export function stringWidth(_0x2d8980){return a76_0x5c0ed0(_0x2d8980);}export function padEnd(_0x364a10,_0x2d3036){const _0x5123e4=a76_0x2720,_0x2a4397=stringWidth(_0x364a10);if(_0x2a4397>=_0x2d3036)return _0x364a10;return _0x364a10+'\x20'[_0x5123e4(0x174)](_0x2d3036-_0x2a4397);}export function padStart(_0x17d6fa,_0x3985ae){const _0x25346c=stringWidth(_0x17d6fa);if(_0x25346c>=_0x3985ae)return _0x17d6fa;return'\x20'['repeat'](_0x3985ae-_0x25346c)+_0x17d6fa;}export function centerAlign(_0x1549ef,_0x5a3b86){const _0x14a11e=a76_0x2720,_0xa230e4=stringWidth(_0x1549ef);if(_0xa230e4>_0x5a3b86){if(_0x5a3b86<=0x1)return'…'[_0x14a11e(0x17b)](0x0,_0x5a3b86);let _0x2b97ab=_0x1549ef;while(stringWidth(_0x2b97ab+'…')>_0x5a3b86){_0x2b97ab=_0x2b97ab[_0x14a11e(0x183)](0x0,-0x1);}return _0x2b97ab+'…';}if(_0xa230e4===_0x5a3b86)return _0x1549ef;const _0x17f550=_0x5a3b86-_0xa230e4,_0x59f851=Math[_0x14a11e(0x182)](_0x17f550/0x2),_0x594496=_0x17f550-_0x59f851;return'\x20'[_0x14a11e(0x174)](_0x59f851)+_0x1549ef+'\x20'[_0x14a11e(0x174)](_0x594496);}export function escapeStringLiteral(_0xcb611e){const _0x34ee22=a76_0x2720;if(!_0xcb611e||_0xcb611e[_0x34ee22(0x176)]()[_0x34ee22(0x17a)]===0x0)throw new Error('Cannot\x20escape\x20empty\x20string\x20literal');const _0x2fa9ca=_0xcb611e[_0x34ee22(0x184)](/'/g,'\x27\x27');return'\x27'+_0x2fa9ca+'\x27';}function a76_0x5107(){const _0x35aaf7=['43148ZrRZJK','849612EpiGZg','length','substring','\x5c$&','test','564178DvjDLf','padStart','toLowerCase','45CiZieF','floor','slice','replace','unknown','USER','9804016kNoNHV','random','env','3881118AiyKpg','1854890AsQiMe','7jOLYEV','4sBcyCo','repeat','6484788ANVpsq','trim','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string'];a76_0x5107=function(){return _0x35aaf7;};return a76_0x5107();}export function globToLike(_0x177bcd){const _0x352012=a76_0x2720;let _0xc0c3d=_0x177bcd[_0x352012(0x184)](/\\/g,'\x5c\x5c')[_0x352012(0x184)](/%/g,'\x5c%')[_0x352012(0x184)](/_/g,'\x5c_');return _0xc0c3d=_0xc0c3d['replace'](/\*/g,'%')[_0x352012(0x184)](/\?/g,'_'),_0xc0c3d;}export function buildLikePattern(_0x3c724e){const _0x147a30=a76_0x2720;if(!_0x3c724e||_0x3c724e[_0x147a30(0x176)]()[_0x147a30(0x17a)]===0x0)throw new Error(_0x147a30(0x177));const _0x2111cd=globToLike(_0x3c724e),_0xb7f22a=_0x2111cd['replace'](/'/g,'\x27\x27');return'\x27'+_0xb7f22a+'\x27';}export function matchGlobPattern(_0x1ccf1e,_0x3c1629){const _0x3c3152=a76_0x2720,_0x5a2375=_0x3c1629[_0x3c3152(0x184)](/[.+^${}()|[\]\\]/g,_0x3c3152(0x17c))[_0x3c3152(0x184)](/\*/g,'.*')[_0x3c3152(0x184)](/\?/g,'.'),_0x18763f=new RegExp('^'+_0x5a2375+'$');return _0x18763f[_0x3c3152(0x17d)](_0x1ccf1e);}export function getSanitizedUsername(){const _0x534332=a76_0x2720,_0x23a1f9=process[_0x534332(0x16f)][_0x534332(0x16c)]||process[_0x534332(0x16f)]['USERNAME']||_0x534332(0x16b);return _0x23a1f9[_0x534332(0x184)](/[^a-zA-Z0-9]/g,'')[_0x534332(0x180)]();}export function generateRandomHex(){const _0x45e052=a76_0x2720,_0x523157=Math[_0x45e052(0x182)](Math[_0x45e052(0x16e)]()*0xfffff);return _0x523157['toString'](0x10)[_0x45e052(0x17f)](0x5,'0');}
1
+ (function(_0x59f5d0,_0xb992ef){const _0x4757d1=a76_0x1adf,_0x539427=_0x59f5d0();while(!![]){try{const _0x3cb4e9=-parseInt(_0x4757d1(0x16c))/0x1+-parseInt(_0x4757d1(0x166))/0x2*(-parseInt(_0x4757d1(0x171))/0x3)+-parseInt(_0x4757d1(0x16a))/0x4*(-parseInt(_0x4757d1(0x160))/0x5)+parseInt(_0x4757d1(0x162))/0x6+parseInt(_0x4757d1(0x163))/0x7+parseInt(_0x4757d1(0x172))/0x8*(-parseInt(_0x4757d1(0x16b))/0x9)+parseInt(_0x4757d1(0x169))/0xa;if(_0x3cb4e9===_0xb992ef)break;else _0x539427['push'](_0x539427['shift']());}catch(_0x339187){_0x539427['push'](_0x539427['shift']());}}}(a76_0x360c,0xd0a63));import a76_0x69a1b2 from'string-width';function a76_0x360c(){const _0x7630ad=['1067343TSaZrr','539120NRqkWD','floor','env','substring','repeat','padStart','length','10UZGFLF','unknown','3471684ukyaxL','10882893zPlqEX','trim','random','2CycvcB','replace','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','188470FtzrzC','414516sCbKPE','207nqJgtr','310602cHUhtX','toLowerCase','Cannot\x20escape\x20empty\x20string\x20literal','toString','test'];a76_0x360c=function(){return _0x7630ad;};return a76_0x360c();}export function stringWidth(_0x2b5ee7){return a76_0x69a1b2(_0x2b5ee7);}export function padEnd(_0x201cb9,_0x254de3){const _0x3c2719=a76_0x1adf,_0x3f1db3=stringWidth(_0x201cb9);if(_0x3f1db3>=_0x254de3)return _0x201cb9;return _0x201cb9+'\x20'[_0x3c2719(0x15d)](_0x254de3-_0x3f1db3);}export function padStart(_0x3d5eb8,_0x88d52b){const _0x400c3f=a76_0x1adf,_0x3bdb80=stringWidth(_0x3d5eb8);if(_0x3bdb80>=_0x88d52b)return _0x3d5eb8;return'\x20'[_0x400c3f(0x15d)](_0x88d52b-_0x3bdb80)+_0x3d5eb8;}export function centerAlign(_0x38fc7b,_0x487154){const _0x5c6b09=a76_0x1adf,_0x340e0d=stringWidth(_0x38fc7b);if(_0x340e0d>_0x487154){if(_0x487154<=0x1)return'…'[_0x5c6b09(0x15c)](0x0,_0x487154);let _0x2dd8ed=_0x38fc7b;while(stringWidth(_0x2dd8ed+'…')>_0x487154){_0x2dd8ed=_0x2dd8ed['slice'](0x0,-0x1);}return _0x2dd8ed+'…';}if(_0x340e0d===_0x487154)return _0x38fc7b;const _0x1b314a=_0x487154-_0x340e0d,_0x505d82=Math['floor'](_0x1b314a/0x2),_0x3c6ca2=_0x1b314a-_0x505d82;return'\x20'[_0x5c6b09(0x15d)](_0x505d82)+_0x38fc7b+'\x20'['repeat'](_0x3c6ca2);}export function escapeStringLiteral(_0x5a40ff){const _0x29440d=a76_0x1adf;if(!_0x5a40ff||_0x5a40ff[_0x29440d(0x164)]()[_0x29440d(0x15f)]===0x0)throw new Error(_0x29440d(0x16e));const _0x99133=_0x5a40ff[_0x29440d(0x167)](/'/g,'\x27\x27');return'\x27'+_0x99133+'\x27';}function a76_0x1adf(_0x10c9b7,_0x5c104d){const _0x360cc2=a76_0x360c();return a76_0x1adf=function(_0x1adf51,_0x1f74a2){_0x1adf51=_0x1adf51-0x15a;let _0x2f9818=_0x360cc2[_0x1adf51];return _0x2f9818;},a76_0x1adf(_0x10c9b7,_0x5c104d);}export function globToLike(_0x3a8561){const _0x8e826d=a76_0x1adf;let _0xa2e828=_0x3a8561['replace'](/\\/g,'\x5c\x5c')['replace'](/%/g,'\x5c%')[_0x8e826d(0x167)](/_/g,'\x5c_');return _0xa2e828=_0xa2e828[_0x8e826d(0x167)](/\*/g,'%')[_0x8e826d(0x167)](/\?/g,'_'),_0xa2e828;}export function buildLikePattern(_0x59ead7){const _0x169c75=a76_0x1adf;if(!_0x59ead7||_0x59ead7[_0x169c75(0x164)]()[_0x169c75(0x15f)]===0x0)throw new Error(_0x169c75(0x168));const _0xac8354=globToLike(_0x59ead7),_0x9f215f=_0xac8354[_0x169c75(0x167)](/'/g,'\x27\x27');return'\x27'+_0x9f215f+'\x27';}export function matchGlobPattern(_0x576a2c,_0x2791c7){const _0x12d62e=a76_0x1adf,_0x599dd0=_0x2791c7[_0x12d62e(0x167)](/[.+^${}()|[\]\\]/g,'\x5c$&')['replace'](/\*/g,'.*')[_0x12d62e(0x167)](/\?/g,'.'),_0x31cae3=new RegExp('^'+_0x599dd0+'$');return _0x31cae3[_0x12d62e(0x170)](_0x576a2c);}export function getSanitizedUsername(){const _0x15a84a=a76_0x1adf,_0x54f5f8=process[_0x15a84a(0x15b)]['USER']||process[_0x15a84a(0x15b)]['USERNAME']||_0x15a84a(0x161);return _0x54f5f8[_0x15a84a(0x167)](/[^a-zA-Z0-9]/g,'')[_0x15a84a(0x16d)]();}export function generateRandomHex(){const _0x2c3b31=a76_0x1adf,_0x2c9d92=Math[_0x2c3b31(0x15a)](Math[_0x2c3b31(0x165)]()*0xfffff);return _0x2c9d92[_0x2c3b31(0x16f)](0x10)[_0x2c3b31(0x15e)](0x5,'0');}
@@ -1 +1 @@
1
- (function(_0x1b669e,_0x3b448d){const _0x57f9a3=a77_0x5198,_0x44543d=_0x1b669e();while(!![]){try{const _0x326895=-parseInt(_0x57f9a3(0x131))/0x1*(parseInt(_0x57f9a3(0x140))/0x2)+-parseInt(_0x57f9a3(0x12e))/0x3+parseInt(_0x57f9a3(0x144))/0x4*(parseInt(_0x57f9a3(0x142))/0x5)+parseInt(_0x57f9a3(0x132))/0x6+parseInt(_0x57f9a3(0x145))/0x7*(parseInt(_0x57f9a3(0x135))/0x8)+-parseInt(_0x57f9a3(0x13d))/0x9*(-parseInt(_0x57f9a3(0x136))/0xa)+parseInt(_0x57f9a3(0x13a))/0xb*(-parseInt(_0x57f9a3(0x12f))/0xc);if(_0x326895===_0x3b448d)break;else _0x44543d['push'](_0x44543d['shift']());}catch(_0x4631f1){_0x44543d['push'](_0x44543d['shift']());}}}(a77_0x3319,0xcf5d0));function hasWildcard(_0xe1bcb4){const _0x4c32ca=a77_0x5198;return _0xe1bcb4[_0x4c32ca(0x141)]('*')||_0xe1bcb4[_0x4c32ca(0x141)]('?');}function a77_0x5198(_0x3b86cb,_0xad8233){const _0x3319a6=a77_0x3319();return a77_0x5198=function(_0x51982b,_0x50ec47){_0x51982b=_0x51982b-0x12a;let _0x589ce4=_0x3319a6[_0x51982b];return _0x589ce4;},a77_0x5198(_0x3b86cb,_0xad8233);}export function parseTableReference(_0x3ea31c){const _0x5081c9=a77_0x5198;if(!_0x3ea31c||_0x3ea31c[_0x5081c9(0x134)]()['length']===0x0)throw new Error(_0x5081c9(0x12d));const _0x5446d6=_0x3ea31c[_0x5081c9(0x134)](),_0x150e8b={'original':_0x5446d6},_0x1afe6d=_0x5446d6['split']('.');if(_0x1afe6d[_0x5081c9(0x130)]===0x1){const _0x26344f=_0x1afe6d[0x0];if(!_0x26344f)throw new Error(_0x5081c9(0x139));_0x150e8b[_0x5081c9(0x137)]=_0x26344f;}else{if(_0x1afe6d[_0x5081c9(0x130)]===0x2){const [_0x8b2e15,_0xc936b6]=_0x1afe6d;if(!_0x8b2e15)throw new Error(_0x5081c9(0x13c));if(!_0xc936b6)throw new Error(_0x5081c9(0x138));_0x150e8b[_0x5081c9(0x13e)]=_0x8b2e15,_0x150e8b[_0x5081c9(0x137)]=_0xc936b6;}else{if(_0x1afe6d['length']===0x3){const [_0x43ee17,_0x160cbe,_0x483760]=_0x1afe6d;if(!_0x43ee17||!_0x160cbe||!_0x483760)throw new Error(_0x5081c9(0x133));_0x150e8b['catalog']=_0x43ee17,_0x150e8b[_0x5081c9(0x13e)]=_0x160cbe,_0x150e8b[_0x5081c9(0x137)]=_0x483760;}else throw new Error(_0x5081c9(0x13f));}}return _0x150e8b;}export function formatTableReference(_0x3a1800){const _0x448e08=a77_0x5198,_0x2e1d46=[];return _0x3a1800[_0x448e08(0x146)]&&_0x2e1d46[_0x448e08(0x13b)](_0x3a1800[_0x448e08(0x146)]),_0x3a1800[_0x448e08(0x13e)]&&_0x2e1d46[_0x448e08(0x13b)](_0x3a1800[_0x448e08(0x13e)]),_0x3a1800[_0x448e08(0x137)]&&_0x2e1d46['push'](_0x3a1800['table']),_0x2e1d46[_0x448e08(0x143)]('.');}export function validateTableListReference(_0x466d4c){return undefined;}export function validateTableDescribeReference(_0x4d391c){const _0x34befe=a77_0x5198;if(!_0x4d391c[_0x34befe(0x137)])return _0x34befe(0x12c);if(_0x4d391c[_0x34befe(0x13e)]&&hasWildcard(_0x4d391c[_0x34befe(0x13e)]))return _0x34befe(0x12a);if(hasWildcard(_0x4d391c['table']))return _0x34befe(0x12b);return undefined;}function a77_0x3319(){const _0x1d9b58=['8604261bCPvdn','database','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','228958mFgFCe','includes','2821340DVnGKN','join','4rWqCrX','7OyoFDD','catalog','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','Table\x20name\x20is\x20required\x20for\x20describe\x20operation','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only','2164179aIBCUv','804dGfisp','length','7CLwVVM','7462356pGDtyb','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','trim','8149072jXSVvZ','10ZVVcXq','table','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','Pattern\x20cannot\x20be\x20just\x20a\x20dot','231583PXQoSI','push','Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)'];a77_0x3319=function(){return _0x1d9b58;};return a77_0x3319();}
1
+ function a77_0x86f4(_0x1e10f1,_0x359447){const _0x2494b7=a77_0x2494();return a77_0x86f4=function(_0x86f416,_0x1f2bac){_0x86f416=_0x86f416-0x128;let _0x19e76e=_0x2494b7[_0x86f416];return _0x19e76e;},a77_0x86f4(_0x1e10f1,_0x359447);}(function(_0x3a95d2,_0x5ca6cb){const _0x4b6ba8=a77_0x86f4,_0x46b24a=_0x3a95d2();while(!![]){try{const _0x12805e=-parseInt(_0x4b6ba8(0x137))/0x1*(parseInt(_0x4b6ba8(0x134))/0x2)+parseInt(_0x4b6ba8(0x12c))/0x3*(-parseInt(_0x4b6ba8(0x12d))/0x4)+-parseInt(_0x4b6ba8(0x129))/0x5*(-parseInt(_0x4b6ba8(0x136))/0x6)+parseInt(_0x4b6ba8(0x142))/0x7+-parseInt(_0x4b6ba8(0x132))/0x8*(parseInt(_0x4b6ba8(0x12e))/0x9)+parseInt(_0x4b6ba8(0x13d))/0xa*(parseInt(_0x4b6ba8(0x13b))/0xb)+parseInt(_0x4b6ba8(0x13a))/0xc;if(_0x12805e===_0x5ca6cb)break;else _0x46b24a['push'](_0x46b24a['shift']());}catch(_0x40e9d4){_0x46b24a['push'](_0x46b24a['shift']());}}}(a77_0x2494,0xdde70));function hasWildcard(_0x4215b6){const _0xe62a90=a77_0x86f4;return _0x4215b6[_0xe62a90(0x139)]('*')||_0x4215b6['includes']('?');}function a77_0x2494(){const _0x1eb9e9=['Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','183930mAbwOr','630698AIQUAx','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only','includes','853392YNeoCX','4147fPkPBT','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','21330ylLhqm','split','push','Pattern\x20cannot\x20be\x20just\x20a\x20dot','database','9556295jrIfvm','trim','250VyXxIG','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','catalog','3TaUmaL','2242292NGVHMF','117lvURsU','table','Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)','Table\x20name\x20is\x20required\x20for\x20describe\x20operation','1029544KfeQji','length','2DRTkwh'];a77_0x2494=function(){return _0x1eb9e9;};return a77_0x2494();}export function parseTableReference(_0x570544){const _0x1bbc7a=a77_0x86f4;if(!_0x570544||_0x570544[_0x1bbc7a(0x128)]()[_0x1bbc7a(0x133)]===0x0)throw new Error(_0x1bbc7a(0x138));const _0x5c1caa=_0x570544['trim'](),_0x7413ef={'original':_0x5c1caa},_0x4be9e9=_0x5c1caa[_0x1bbc7a(0x13e)]('.');if(_0x4be9e9['length']===0x1){const _0x1faa1e=_0x4be9e9[0x0];if(!_0x1faa1e)throw new Error(_0x1bbc7a(0x140));_0x7413ef[_0x1bbc7a(0x12f)]=_0x1faa1e;}else{if(_0x4be9e9[_0x1bbc7a(0x133)]===0x2){const [_0x2993ba,_0x2e8cf4]=_0x4be9e9;if(!_0x2993ba)throw new Error(_0x1bbc7a(0x130));if(!_0x2e8cf4)throw new Error(_0x1bbc7a(0x12a));_0x7413ef[_0x1bbc7a(0x141)]=_0x2993ba,_0x7413ef['table']=_0x2e8cf4;}else{if(_0x4be9e9[_0x1bbc7a(0x133)]===0x3){const [_0x13cb55,_0x13e3a3,_0x545a4d]=_0x4be9e9;if(!_0x13cb55||!_0x13e3a3||!_0x545a4d)throw new Error(_0x1bbc7a(0x13c));_0x7413ef[_0x1bbc7a(0x12b)]=_0x13cb55,_0x7413ef[_0x1bbc7a(0x141)]=_0x13e3a3,_0x7413ef[_0x1bbc7a(0x12f)]=_0x545a4d;}else throw new Error(_0x1bbc7a(0x135));}}return _0x7413ef;}export function formatTableReference(_0x4fda14){const _0x1fb088=a77_0x86f4,_0x56df20=[];return _0x4fda14[_0x1fb088(0x12b)]&&_0x56df20[_0x1fb088(0x13f)](_0x4fda14[_0x1fb088(0x12b)]),_0x4fda14[_0x1fb088(0x141)]&&_0x56df20['push'](_0x4fda14[_0x1fb088(0x141)]),_0x4fda14['table']&&_0x56df20['push'](_0x4fda14['table']),_0x56df20['join']('.');}export function validateTableListReference(_0x8f7230){return undefined;}export function validateTableDescribeReference(_0x393c32){const _0x1687a0=a77_0x86f4;if(!_0x393c32['table'])return _0x1687a0(0x131);if(_0x393c32[_0x1687a0(0x141)]&&hasWildcard(_0x393c32['database']))return'Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation';if(hasWildcard(_0x393c32[_0x1687a0(0x12f)]))return'Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation';return undefined;}
@@ -1 +1 @@
1
- function a78_0x1fe5(){const _0x42276e=['543954sOzPTu','indent','showTreeLines','showMetadata','length','5840yfrnzq','(empty)','81076fmghxe','└──\x20','\x20segment','77wYjBGF','15cTRxXj','11DKyYTT','folder','showIcons','localeCompare','5pWgVSx','27870852YRVJbe','children','11245380sZjeQY','type','push','\x20folder','\x20\x20\x20','name','icon','3511216SFxIsO','folderCount','segmentCount','dim','map','segment','metadata','├──\x20','sort','637931vanajy','join','5679KnhRPf','population','\x20\x20\x20\x20'];a78_0x1fe5=function(){return _0x42276e;};return a78_0x1fe5();}(function(_0x1625bc,_0x51c789){const _0x2d0c07=a78_0x4574,_0x12718b=_0x1625bc();while(!![]){try{const _0x1b2f9e=parseInt(_0x2d0c07(0x10a))/0x1+-parseInt(_0x2d0c07(0xee))/0x2*(-parseInt(_0x2d0c07(0xf2))/0x3)+parseInt(_0x2d0c07(0x101))/0x4*(-parseInt(_0x2d0c07(0xf7))/0x5)+-parseInt(_0x2d0c07(0xe7))/0x6*(parseInt(_0x2d0c07(0xf1))/0x7)+-parseInt(_0x2d0c07(0xec))/0x8*(-parseInt(_0x2d0c07(0x10c))/0x9)+-parseInt(_0x2d0c07(0xfa))/0xa+-parseInt(_0x2d0c07(0xf3))/0xb*(-parseInt(_0x2d0c07(0xf8))/0xc);if(_0x1b2f9e===_0x51c789)break;else _0x12718b['push'](_0x12718b['shift']());}catch(_0x474ed9){_0x12718b['push'](_0x12718b['shift']());}}}(a78_0x1fe5,0x98667));import{formatRows}from'./formatters.js';import a78_0xba8c53 from'chalk';function a78_0x4574(_0x19ddc3,_0x21f665){const _0x1fe502=a78_0x1fe5();return a78_0x4574=function(_0x4574f5,_0x4b9806){_0x4574f5=_0x4574f5-0xe6;let _0x3a02f6=_0x1fe502[_0x4574f5];return _0x3a02f6;},a78_0x4574(_0x19ddc3,_0x21f665);}const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0x10726e,_0x1f0f44={},_0x2601a5=0x0,_0x5cda7a=''){const _0x457988=a78_0x4574,_0x1a6ffd={...DEFAULT_OPTIONS,..._0x1f0f44},_0x3d5aca=[],_0x53efe0=[..._0x10726e][_0x457988(0x109)]((_0x2c75ab,_0xd9fd4f)=>_0x2c75ab['name']['localeCompare'](_0xd9fd4f['name']));for(let _0x35845a=0x0;_0x35845a<_0x53efe0[_0x457988(0xeb)];_0x35845a++){const _0x2c7e8b=_0x53efe0[_0x35845a],_0x281483=_0x35845a===_0x53efe0[_0x457988(0xeb)]-0x1;let _0x588795='';_0x2601a5>0x0&&(_0x588795+=_0x5cda7a);_0x1a6ffd['showTreeLines']&&_0x2601a5>0x0&&(_0x588795+=a78_0xba8c53[_0x457988(0x104)](_0x281483?_0x457988(0xef):_0x457988(0x108)));_0x1a6ffd[_0x457988(0xf5)]&&(_0x588795+=_0x2c7e8b[_0x457988(0xfb)]===_0x457988(0xf4)?'📁\x20':'🎯\x20');_0x588795+=_0x2c7e8b[_0x457988(0xff)];if(_0x1a6ffd['showMetadata']){if(_0x2c7e8b[_0x457988(0xfb)]===_0x457988(0xf4)){const _0xb2d1c0=[];_0x2c7e8b[_0x457988(0x107)][_0x457988(0x103)]&&_0xb2d1c0[_0x457988(0xfc)](_0x2c7e8b['metadata'][_0x457988(0x103)]+_0x457988(0xf0)+(_0x2c7e8b[_0x457988(0x107)][_0x457988(0x103)]!==0x1?'s':'')),_0x2c7e8b[_0x457988(0x107)][_0x457988(0x102)]&&_0xb2d1c0[_0x457988(0xfc)](_0x2c7e8b[_0x457988(0x107)][_0x457988(0x102)]+_0x457988(0xfd)+(_0x2c7e8b['metadata'][_0x457988(0x102)]!==0x1?'s':'')),_0xb2d1c0[_0x457988(0xeb)]>0x0&&(_0x588795+=a78_0xba8c53[_0x457988(0x104)]('\x20('+_0xb2d1c0[_0x457988(0x10b)](',\x20')+')'));}else _0x2c7e8b[_0x457988(0xfb)]===_0x457988(0x106)&&_0x2c7e8b[_0x457988(0x10d)]!==undefined&&(_0x588795+=a78_0xba8c53[_0x457988(0x104)]('\x20('+formatRows(_0x2c7e8b['population'])+')'));}_0x3d5aca['push'](_0x588795);if(_0x2c7e8b['children']&&_0x2c7e8b[_0x457988(0xf9)][_0x457988(0xeb)]>0x0){let _0x16e9b1;if(_0x2601a5===0x0)_0x16e9b1='';else _0x1a6ffd[_0x457988(0xe9)]?_0x16e9b1=_0x5cda7a+(_0x281483?_0x457988(0xe6):a78_0xba8c53[_0x457988(0x104)]('│')+_0x457988(0xfe)):_0x16e9b1=_0x5cda7a+_0x1a6ffd[_0x457988(0xe8)];const _0x2abec1=formatTree(_0x2c7e8b[_0x457988(0xf9)],_0x1a6ffd,_0x2601a5+0x1,_0x16e9b1);_0x3d5aca[_0x457988(0xfc)](_0x2abec1);}}return _0x3d5aca[_0x457988(0x10b)]('\x0a');}export function formatFlatList(_0x5c92d8,_0x332450,_0x5cb1ba={}){const _0x3efe=a78_0x4574,_0x36dc57={...DEFAULT_OPTIONS,..._0x5cb1ba},_0x5edd36=[];for(const _0x43d815 of _0x5c92d8){_0x5edd36[_0x3efe(0xfc)]({'name':_0x43d815[_0x3efe(0xff)],'icon':_0x36dc57[_0x3efe(0xf5)]?'📁':'','metadata':undefined});}for(const _0x4532cd of _0x332450){const _0x4bf3de=_0x36dc57[_0x3efe(0xea)]&&_0x4532cd['population']!==undefined?a78_0xba8c53[_0x3efe(0x104)]('\x20('+formatRows(_0x4532cd[_0x3efe(0x10d)])+')'):'';_0x5edd36[_0x3efe(0xfc)]({'name':_0x4532cd[_0x3efe(0xff)],'icon':_0x36dc57[_0x3efe(0xf5)]?'🎯':'','metadata':_0x4bf3de});}_0x5edd36[_0x3efe(0x109)]((_0x349e70,_0x9225a9)=>_0x349e70[_0x3efe(0xff)][_0x3efe(0xf6)](_0x9225a9[_0x3efe(0xff)]));if(_0x5edd36[_0x3efe(0xeb)]===0x0)return _0x3efe(0xed);const _0x14d2ee=_0x5edd36[_0x3efe(0x105)](_0x595b44=>{const _0x56eeab=_0x3efe,_0x5b3ff6=_0x595b44[_0x56eeab(0x100)]?_0x595b44[_0x56eeab(0x100)]+'\x20':'',_0x54b367=_0x595b44[_0x56eeab(0x107)]||'';return''+_0x5b3ff6+_0x595b44['name']+_0x54b367;});return _0x14d2ee[_0x3efe(0x10b)]('\x0a');}
1
+ function a78_0x300b(){const _0x37448a=['name','29470rvRwfV','segmentCount','type','🎯\x20','\x20folder','showIcons','15917RvcNrc','push','sort','12089nUmUsx','children','79858RzfvNH','population','localeCompare','folder','showTreeLines','\x20\x20\x20\x20','1234380aZvwNE','114592NkMAzT','length','folderCount','dim','join','718992VKloTB','📁\x20','segment','3mfOQAf','showMetadata','1570KrEAon','\x20segment','36NKqyKc','├──\x20','174hyIdro','\x20\x20\x20','metadata'];a78_0x300b=function(){return _0x37448a;};return a78_0x300b();}(function(_0x55de6a,_0x12a807){const _0x4bee2b=a78_0x36c5,_0x508789=_0x55de6a();while(!![]){try{const _0x3f1038=parseInt(_0x4bee2b(0x113))/0x1+parseInt(_0x4bee2b(0x118))/0x2*(-parseInt(_0x4bee2b(0x103))/0x3)+-parseInt(_0x4bee2b(0x124))/0x4+parseInt(_0x4bee2b(0x11e))/0x5+parseInt(_0x4bee2b(0x109))/0x6*(-parseInt(_0x4bee2b(0x10d))/0x7)+-parseInt(_0x4bee2b(0x11f))/0x8*(-parseInt(_0x4bee2b(0x107))/0x9)+-parseInt(_0x4bee2b(0x105))/0xa*(-parseInt(_0x4bee2b(0x116))/0xb);if(_0x3f1038===_0x12a807)break;else _0x508789['push'](_0x508789['shift']());}catch(_0x3c81aa){_0x508789['push'](_0x508789['shift']());}}}(a78_0x300b,0x24d51));import{formatRows}from'./formatters.js';import a78_0x128f27 from'chalk';function a78_0x36c5(_0x1ed55f,_0x1d6b87){const _0x300b52=a78_0x300b();return a78_0x36c5=function(_0x36c555,_0x400447){_0x36c555=_0x36c555-0x101;let _0x2cd4fb=_0x300b52[_0x36c555];return _0x2cd4fb;},a78_0x36c5(_0x1ed55f,_0x1d6b87);}const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0x3982fb,_0x316bcd={},_0x5cd9a8=0x0,_0x563482=''){const _0x3a07f7=a78_0x36c5,_0xf7fc2d={...DEFAULT_OPTIONS,..._0x316bcd},_0x3c5bbe=[],_0x2acd47=[..._0x3982fb][_0x3a07f7(0x115)]((_0x3b28e9,_0x24a331)=>_0x3b28e9[_0x3a07f7(0x10c)][_0x3a07f7(0x11a)](_0x24a331[_0x3a07f7(0x10c)]));for(let _0x23275c=0x0;_0x23275c<_0x2acd47[_0x3a07f7(0x120)];_0x23275c++){const _0x38a96d=_0x2acd47[_0x23275c],_0x4523d0=_0x23275c===_0x2acd47[_0x3a07f7(0x120)]-0x1;let _0x22bd28='';_0x5cd9a8>0x0&&(_0x22bd28+=_0x563482);_0xf7fc2d['showTreeLines']&&_0x5cd9a8>0x0&&(_0x22bd28+=a78_0x128f27[_0x3a07f7(0x122)](_0x4523d0?'└──\x20':_0x3a07f7(0x108)));_0xf7fc2d['showIcons']&&(_0x22bd28+=_0x38a96d['type']===_0x3a07f7(0x11b)?_0x3a07f7(0x101):_0x3a07f7(0x110));_0x22bd28+=_0x38a96d[_0x3a07f7(0x10c)];if(_0xf7fc2d['showMetadata']){if(_0x38a96d[_0x3a07f7(0x10f)]===_0x3a07f7(0x11b)){const _0x44f1c5=[];_0x38a96d[_0x3a07f7(0x10b)][_0x3a07f7(0x10e)]&&_0x44f1c5['push'](_0x38a96d[_0x3a07f7(0x10b)][_0x3a07f7(0x10e)]+_0x3a07f7(0x106)+(_0x38a96d[_0x3a07f7(0x10b)][_0x3a07f7(0x10e)]!==0x1?'s':'')),_0x38a96d['metadata'][_0x3a07f7(0x121)]&&_0x44f1c5[_0x3a07f7(0x114)](_0x38a96d[_0x3a07f7(0x10b)][_0x3a07f7(0x121)]+_0x3a07f7(0x111)+(_0x38a96d[_0x3a07f7(0x10b)][_0x3a07f7(0x121)]!==0x1?'s':'')),_0x44f1c5[_0x3a07f7(0x120)]>0x0&&(_0x22bd28+=a78_0x128f27[_0x3a07f7(0x122)]('\x20('+_0x44f1c5['join'](',\x20')+')'));}else _0x38a96d['type']===_0x3a07f7(0x102)&&_0x38a96d[_0x3a07f7(0x119)]!==undefined&&(_0x22bd28+=a78_0x128f27[_0x3a07f7(0x122)]('\x20('+formatRows(_0x38a96d[_0x3a07f7(0x119)])+')'));}_0x3c5bbe[_0x3a07f7(0x114)](_0x22bd28);if(_0x38a96d[_0x3a07f7(0x117)]&&_0x38a96d[_0x3a07f7(0x117)][_0x3a07f7(0x120)]>0x0){let _0x99ee0a;if(_0x5cd9a8===0x0)_0x99ee0a='';else _0xf7fc2d[_0x3a07f7(0x11c)]?_0x99ee0a=_0x563482+(_0x4523d0?_0x3a07f7(0x11d):a78_0x128f27[_0x3a07f7(0x122)]('│')+_0x3a07f7(0x10a)):_0x99ee0a=_0x563482+_0xf7fc2d['indent'];const _0x386356=formatTree(_0x38a96d['children'],_0xf7fc2d,_0x5cd9a8+0x1,_0x99ee0a);_0x3c5bbe[_0x3a07f7(0x114)](_0x386356);}}return _0x3c5bbe[_0x3a07f7(0x123)]('\x0a');}export function formatFlatList(_0x39a642,_0x5abb39,_0x4da2e5={}){const _0x1f8e02=a78_0x36c5,_0x1402b7={...DEFAULT_OPTIONS,..._0x4da2e5},_0x522014=[];for(const _0x6f4ecb of _0x39a642){_0x522014['push']({'name':_0x6f4ecb[_0x1f8e02(0x10c)],'icon':_0x1402b7[_0x1f8e02(0x112)]?'📁':'','metadata':undefined});}for(const _0x53579b of _0x5abb39){const _0x4b43d1=_0x1402b7[_0x1f8e02(0x104)]&&_0x53579b['population']!==undefined?a78_0x128f27[_0x1f8e02(0x122)]('\x20('+formatRows(_0x53579b['population'])+')'):'';_0x522014[_0x1f8e02(0x114)]({'name':_0x53579b[_0x1f8e02(0x10c)],'icon':_0x1402b7[_0x1f8e02(0x112)]?'🎯':'','metadata':_0x4b43d1});}_0x522014[_0x1f8e02(0x115)]((_0x5b714f,_0x5f52dd)=>_0x5b714f[_0x1f8e02(0x10c)][_0x1f8e02(0x11a)](_0x5f52dd[_0x1f8e02(0x10c)]));if(_0x522014['length']===0x0)return'(empty)';const _0x1aaeea=_0x522014['map'](_0x422c61=>{const _0x7438af=_0x1f8e02,_0x107711=_0x422c61['icon']?_0x422c61['icon']+'\x20':'',_0xdd301=_0x422c61[_0x7438af(0x10b)]||'';return''+_0x107711+_0x422c61[_0x7438af(0x10c)]+_0xdd301;});return _0x1aaeea[_0x1f8e02(0x123)]('\x0a');}
@@ -1 +1 @@
1
- const a79_0x578a12=a79_0x2138;function a79_0x2138(_0x589b26,_0x3b3eab){const _0x37a051=a79_0x37a0();return a79_0x2138=function(_0x2138da,_0x596997){_0x2138da=_0x2138da-0x1b2;let _0x3080d9=_0x37a051[_0x2138da];return _0x3080d9;},a79_0x2138(_0x589b26,_0x3b3eab);}(function(_0x11814e,_0x4d4bb2){const _0x48c342=a79_0x2138,_0x1eda26=_0x11814e();while(!![]){try{const _0x289a63=parseInt(_0x48c342(0x1b9))/0x1+parseInt(_0x48c342(0x1b3))/0x2+-parseInt(_0x48c342(0x1ba))/0x3+-parseInt(_0x48c342(0x1bc))/0x4+parseInt(_0x48c342(0x1b5))/0x5*(-parseInt(_0x48c342(0x1b4))/0x6)+-parseInt(_0x48c342(0x1b8))/0x7*(-parseInt(_0x48c342(0x1b7))/0x8)+-parseInt(_0x48c342(0x1bb))/0x9*(-parseInt(_0x48c342(0x1b2))/0xa);if(_0x289a63===_0x4d4bb2)break;else _0x1eda26['push'](_0x1eda26['shift']());}catch(_0x45b805){_0x1eda26['push'](_0x1eda26['shift']());}}}(a79_0x37a0,0x2c1b2));export const WORKFLOW_FILE_EXTENSION=a79_0x578a12(0x1b6);function a79_0x37a0(){const _0x5bff6c=['48eMrRzp','78835YqvayI','.dig','8qnOwts','2033066GEysWi','68449NjYzVK','401724NeBxFg','963thRCzI','1157236TveVfl','22930slkHta','251546IDBtSY'];a79_0x37a0=function(){return _0x5bff6c;};return a79_0x37a0();}export function shouldIncludeInArchive(_0x570965){if(_0x570965==='.digdag')return!![];if(_0x570965['startsWith']('.'))return![];return!![];}
1
+ (function(_0x2e9709,_0x113169){const _0x245ec4=a79_0xd060,_0x377946=_0x2e9709();while(!![]){try{const _0xc4fbd0=parseInt(_0x245ec4(0x19d))/0x1*(-parseInt(_0x245ec4(0x1a2))/0x2)+-parseInt(_0x245ec4(0x19c))/0x3+-parseInt(_0x245ec4(0x19b))/0x4+parseInt(_0x245ec4(0x19f))/0x5*(-parseInt(_0x245ec4(0x1a1))/0x6)+parseInt(_0x245ec4(0x19e))/0x7*(parseInt(_0x245ec4(0x198))/0x8)+-parseInt(_0x245ec4(0x1a3))/0x9+parseInt(_0x245ec4(0x19a))/0xa;if(_0xc4fbd0===_0x113169)break;else _0x377946['push'](_0x377946['shift']());}catch(_0x1fbd8d){_0x377946['push'](_0x377946['shift']());}}}(a79_0x358c,0xd5620));function a79_0x358c(){const _0x4b3a78=['55227210HedIdd','5329936lHaqUT','5076810UVmebN','1131QloGkO','21BiGLpI','6908465XeoURw','.digdag','6tORyXr','1782GUZMBr','3262536NbKsNZ','3007912kDveOy','startsWith'];a79_0x358c=function(){return _0x4b3a78;};return a79_0x358c();}export const WORKFLOW_FILE_EXTENSION='.dig';function a79_0xd060(_0x3364a3,_0x4a5162){const _0x358c2d=a79_0x358c();return a79_0xd060=function(_0xd06068,_0x4c56e5){_0xd06068=_0xd06068-0x198;let _0x1edea0=_0x358c2d[_0xd06068];return _0x1edea0;},a79_0xd060(_0x3364a3,_0x4a5162);}export function shouldIncludeInArchive(_0x31257b){const _0x145a83=a79_0xd060;if(_0x31257b===_0x145a83(0x1a0))return!![];if(_0x31257b[_0x145a83(0x199)]('.'))return![];return!![];}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treasuredata/tdx",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "AI-native CLI for Treasure Data - optimized for both human engineers and AI coding assistants",
5
5
  "type": "module",
6
6
  "bin": {