@wix/cli 1.1.56 → 1.1.58

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 (116) hide show
  1. package/build/{DevCommand-UW724BPF.js → DevCommand-32POU3TX.js} +13 -14
  2. package/build/{DevCommand-UW724BPF.js.map → DevCommand-32POU3TX.js.map} +1 -1
  3. package/build/{DevCommand-KMBUXAPT.js → DevCommand-WT3DJON6.js} +76 -68
  4. package/build/DevCommand-WT3DJON6.js.map +1 -0
  5. package/build/{LoginCommand-O4FKLPWK.js → LoginCommand-WRCKEWCE.js} +11 -11
  6. package/build/{LogoutCommand-KMWHOQSC.js → LogoutCommand-BYWH527O.js} +7 -7
  7. package/build/{WhoamiCommand-VV6U2M2K.js → WhoamiCommand-WKXZCRSJ.js} +4 -4
  8. package/build/{chunk-VO6LL5ZT.js → chunk-24HYCAK2.js} +2 -2
  9. package/build/{chunk-GOTVWNXA.js → chunk-3KIPOGXI.js} +4 -4
  10. package/build/{chunk-7M5ZGODY.js → chunk-3R4OZ46Z.js} +2 -2
  11. package/build/{chunk-3TWSKTSG.js → chunk-4S2ZMDZM.js} +6 -6
  12. package/build/{chunk-NEB7POM3.js → chunk-53UCEZFU.js} +2 -1
  13. package/build/chunk-53UCEZFU.js.map +1 -0
  14. package/build/{chunk-3UYDT5ZT.js → chunk-5EXKEGN6.js} +399 -80
  15. package/build/chunk-5EXKEGN6.js.map +1 -0
  16. package/build/{chunk-ZS2473DH.js → chunk-6F2RSXHN.js} +9 -314
  17. package/build/chunk-6F2RSXHN.js.map +1 -0
  18. package/build/{chunk-5LKWJCKW.js → chunk-BQ6AW6QJ.js} +5 -5
  19. package/build/{chunk-GH2E2TEQ.js → chunk-CQHI53JJ.js} +54 -7
  20. package/build/chunk-CQHI53JJ.js.map +1 -0
  21. package/build/chunk-IFQQVSBK.js +916 -0
  22. package/build/chunk-IFQQVSBK.js.map +1 -0
  23. package/build/{chunk-66PG2F54.js → chunk-IRR7PD4K.js} +3 -3
  24. package/build/{chunk-GXCSUYZU.js → chunk-JMUOY2KY.js} +3 -4
  25. package/build/chunk-JMUOY2KY.js.map +1 -0
  26. package/build/{chunk-CPDU7PKL.js → chunk-KLWKSELB.js} +5 -5
  27. package/build/{chunk-ZPPKJBJT.js → chunk-KOCJZPLK.js} +2 -2
  28. package/build/{chunk-7IO7SVY6.js → chunk-KT54TL6D.js} +5 -5
  29. package/build/{chunk-5EDABLPV.js → chunk-LC2NSYSB.js} +12 -17
  30. package/build/chunk-LC2NSYSB.js.map +1 -0
  31. package/build/{chunk-M4NGCYAG.js → chunk-LOJ4G3VD.js} +2 -2
  32. package/build/{chunk-DJCIQS36.js → chunk-MPSJ2YGQ.js} +3 -3
  33. package/build/{chunk-DYIK4YH5.js → chunk-NK4U57KS.js} +4 -4
  34. package/build/{chunk-5PNAZQGU.js → chunk-OIH7DI4E.js} +30 -42
  35. package/build/{chunk-5PNAZQGU.js.map → chunk-OIH7DI4E.js.map} +1 -1
  36. package/build/{chunk-GPZPN63O.js → chunk-Q5WMVJRK.js} +2 -2
  37. package/build/{chunk-XKFU2BID.js → chunk-RJBLVNKS.js} +6 -6
  38. package/build/{chunk-7DJVGV7H.js → chunk-UQXJQCG3.js} +2 -2
  39. package/build/{chunk-7LHODQ3J.js → chunk-WRMFR7CU.js} +6 -6
  40. package/build/{chunk-VDSGAA3D.js → chunk-WYEQRRT2.js} +24 -3
  41. package/build/chunk-WYEQRRT2.js.map +1 -0
  42. package/build/{chunk-JH6KT73W.js → chunk-WZEZZAE4.js} +5 -5
  43. package/build/{chunk-AMEYK6DR.js → chunk-X7GWN4JO.js} +2 -2
  44. package/build/{chunk-VEDYEGSD.js → chunk-ZOWPPCOU.js} +3 -3
  45. package/build/{dev-SOVLJFOU.js → dev-M7P6GT7S.js} +24 -86
  46. package/build/dev-M7P6GT7S.js.map +1 -0
  47. package/build/index.js +376 -27
  48. package/build/index.js.map +1 -1
  49. package/build/{install-YBL67KU7.js → install-SX7OQQGW.js} +17 -19
  50. package/build/{install-YBL67KU7.js.map → install-SX7OQQGW.js.map} +1 -1
  51. package/build/{preview-H3FKN7RS.js → preview-7WGCS2DK.js} +18 -20
  52. package/build/{preview-H3FKN7RS.js.map → preview-7WGCS2DK.js.map} +1 -1
  53. package/build/{publish-3Q3XWGUY.js → publish-U7Y5KNMR.js} +18 -20
  54. package/build/{publish-3Q3XWGUY.js.map → publish-U7Y5KNMR.js.map} +1 -1
  55. package/build/{render-command-3PQMENAU.js → render-command-6GZ7MNO5.js} +11 -11
  56. package/build/{render-command-BCSOTFBB.js → render-command-P4B7B4WB.js} +11 -11
  57. package/build/{render-command-GEZFKQLP.js → render-command-TJTVTOHT.js} +10 -10
  58. package/build/{run-command-YNCZR65O.js → run-command-ZLQ3PKCS.js} +8 -8
  59. package/build/{src-DMDBLATB.js → src-BMV74WCO.js} +3 -5
  60. package/build/{src-QC4COOON.js → src-I6QIZSAX.js} +6 -6
  61. package/build/{src-MLQVMO4G.js → src-JGFI4IQH.js} +17 -17
  62. package/build/{src-QML4K6HI.js → src-Q3X5WF65.js} +5 -5
  63. package/build/{src-NRGIGSNZ.js → src-WBDWTVY2.js} +7 -7
  64. package/build/{src-ZB5ULVF6.js → src-WKNIYADZ.js} +6 -6
  65. package/build/{sync-types-2Z3FKMXE.js → sync-types-6XPVFG3C.js} +13 -14
  66. package/build/{uninstall-PUGTRDQA.js → uninstall-L6JBTJHG.js} +16 -18
  67. package/build/{uninstall-PUGTRDQA.js.map → uninstall-L6JBTJHG.js.map} +1 -1
  68. package/package.json +2 -3
  69. package/build/DevCommand-KMBUXAPT.js.map +0 -1
  70. package/build/chunk-3UYDT5ZT.js.map +0 -1
  71. package/build/chunk-5EDABLPV.js.map +0 -1
  72. package/build/chunk-7AAFANVT.js +0 -3525
  73. package/build/chunk-7AAFANVT.js.map +0 -1
  74. package/build/chunk-CVEC37T5.js +0 -62
  75. package/build/chunk-CVEC37T5.js.map +0 -1
  76. package/build/chunk-GH2E2TEQ.js.map +0 -1
  77. package/build/chunk-GXCSUYZU.js.map +0 -1
  78. package/build/chunk-NEB7POM3.js.map +0 -1
  79. package/build/chunk-QLGRZABP.js +0 -363
  80. package/build/chunk-QLGRZABP.js.map +0 -1
  81. package/build/chunk-VDSGAA3D.js.map +0 -1
  82. package/build/chunk-ZS2473DH.js.map +0 -1
  83. package/build/dev-SOVLJFOU.js.map +0 -1
  84. /package/build/{LoginCommand-O4FKLPWK.js.map → LoginCommand-WRCKEWCE.js.map} +0 -0
  85. /package/build/{LogoutCommand-KMWHOQSC.js.map → LogoutCommand-BYWH527O.js.map} +0 -0
  86. /package/build/{WhoamiCommand-VV6U2M2K.js.map → WhoamiCommand-WKXZCRSJ.js.map} +0 -0
  87. /package/build/{chunk-VO6LL5ZT.js.map → chunk-24HYCAK2.js.map} +0 -0
  88. /package/build/{chunk-GOTVWNXA.js.map → chunk-3KIPOGXI.js.map} +0 -0
  89. /package/build/{chunk-7M5ZGODY.js.map → chunk-3R4OZ46Z.js.map} +0 -0
  90. /package/build/{chunk-3TWSKTSG.js.map → chunk-4S2ZMDZM.js.map} +0 -0
  91. /package/build/{chunk-5LKWJCKW.js.map → chunk-BQ6AW6QJ.js.map} +0 -0
  92. /package/build/{chunk-66PG2F54.js.map → chunk-IRR7PD4K.js.map} +0 -0
  93. /package/build/{chunk-CPDU7PKL.js.map → chunk-KLWKSELB.js.map} +0 -0
  94. /package/build/{chunk-ZPPKJBJT.js.map → chunk-KOCJZPLK.js.map} +0 -0
  95. /package/build/{chunk-7IO7SVY6.js.map → chunk-KT54TL6D.js.map} +0 -0
  96. /package/build/{chunk-M4NGCYAG.js.map → chunk-LOJ4G3VD.js.map} +0 -0
  97. /package/build/{chunk-DJCIQS36.js.map → chunk-MPSJ2YGQ.js.map} +0 -0
  98. /package/build/{chunk-DYIK4YH5.js.map → chunk-NK4U57KS.js.map} +0 -0
  99. /package/build/{chunk-GPZPN63O.js.map → chunk-Q5WMVJRK.js.map} +0 -0
  100. /package/build/{chunk-XKFU2BID.js.map → chunk-RJBLVNKS.js.map} +0 -0
  101. /package/build/{chunk-7DJVGV7H.js.map → chunk-UQXJQCG3.js.map} +0 -0
  102. /package/build/{chunk-7LHODQ3J.js.map → chunk-WRMFR7CU.js.map} +0 -0
  103. /package/build/{chunk-JH6KT73W.js.map → chunk-WZEZZAE4.js.map} +0 -0
  104. /package/build/{chunk-AMEYK6DR.js.map → chunk-X7GWN4JO.js.map} +0 -0
  105. /package/build/{chunk-VEDYEGSD.js.map → chunk-ZOWPPCOU.js.map} +0 -0
  106. /package/build/{render-command-3PQMENAU.js.map → render-command-6GZ7MNO5.js.map} +0 -0
  107. /package/build/{render-command-BCSOTFBB.js.map → render-command-P4B7B4WB.js.map} +0 -0
  108. /package/build/{render-command-GEZFKQLP.js.map → render-command-TJTVTOHT.js.map} +0 -0
  109. /package/build/{run-command-YNCZR65O.js.map → run-command-ZLQ3PKCS.js.map} +0 -0
  110. /package/build/{src-DMDBLATB.js.map → src-BMV74WCO.js.map} +0 -0
  111. /package/build/{src-QC4COOON.js.map → src-I6QIZSAX.js.map} +0 -0
  112. /package/build/{src-MLQVMO4G.js.map → src-JGFI4IQH.js.map} +0 -0
  113. /package/build/{src-NRGIGSNZ.js.map → src-Q3X5WF65.js.map} +0 -0
  114. /package/build/{src-QML4K6HI.js.map → src-WBDWTVY2.js.map} +0 -0
  115. /package/build/{src-ZB5ULVF6.js.map → src-WKNIYADZ.js.map} +0 -0
  116. /package/build/{sync-types-2Z3FKMXE.js.map → sync-types-6XPVFG3C.js.map} +0 -0
@@ -11,16 +11,14 @@ import {
11
11
  require_supports_color
12
12
  } from "./chunk-W423UTD3.js";
13
13
  import {
14
- cli_cursor_default,
15
14
  isUnicodeSupported,
16
15
  require_cli_spinners,
17
- require_signal_exit,
18
16
  source_default,
19
17
  stripAnsi
20
- } from "./chunk-ZS2473DH.js";
18
+ } from "./chunk-6F2RSXHN.js";
21
19
  import {
22
20
  getTestOverrides
23
- } from "./chunk-NEB7POM3.js";
21
+ } from "./chunk-53UCEZFU.js";
24
22
  import {
25
23
  CliError,
26
24
  CliErrorCode,
@@ -660,6 +658,206 @@ var require_throttle = __commonJS({
660
658
  }
661
659
  });
662
660
 
661
+ // ../../node_modules/signal-exit/signals.js
662
+ var require_signals = __commonJS({
663
+ "../../node_modules/signal-exit/signals.js"(exports, module) {
664
+ "use strict";
665
+ init_esm_shims();
666
+ module.exports = [
667
+ "SIGABRT",
668
+ "SIGALRM",
669
+ "SIGHUP",
670
+ "SIGINT",
671
+ "SIGTERM"
672
+ ];
673
+ if (process.platform !== "win32") {
674
+ module.exports.push(
675
+ "SIGVTALRM",
676
+ "SIGXCPU",
677
+ "SIGXFSZ",
678
+ "SIGUSR2",
679
+ "SIGTRAP",
680
+ "SIGSYS",
681
+ "SIGQUIT",
682
+ "SIGIOT"
683
+ // should detect profiler and enable/disable accordingly.
684
+ // see #21
685
+ // 'SIGPROF'
686
+ );
687
+ }
688
+ if (process.platform === "linux") {
689
+ module.exports.push(
690
+ "SIGIO",
691
+ "SIGPOLL",
692
+ "SIGPWR",
693
+ "SIGSTKFLT",
694
+ "SIGUNUSED"
695
+ );
696
+ }
697
+ }
698
+ });
699
+
700
+ // ../../node_modules/signal-exit/index.js
701
+ var require_signal_exit = __commonJS({
702
+ "../../node_modules/signal-exit/index.js"(exports, module) {
703
+ "use strict";
704
+ init_esm_shims();
705
+ var process12 = global.process;
706
+ var processOk = function(process13) {
707
+ return process13 && typeof process13 === "object" && typeof process13.removeListener === "function" && typeof process13.emit === "function" && typeof process13.reallyExit === "function" && typeof process13.listeners === "function" && typeof process13.kill === "function" && typeof process13.pid === "number" && typeof process13.on === "function";
708
+ };
709
+ if (!processOk(process12)) {
710
+ module.exports = function() {
711
+ return function() {
712
+ };
713
+ };
714
+ } else {
715
+ assert = __require("assert");
716
+ signals = require_signals();
717
+ isWin = /^win/i.test(process12.platform);
718
+ EE = __require("events");
719
+ if (typeof EE !== "function") {
720
+ EE = EE.EventEmitter;
721
+ }
722
+ if (process12.__signal_exit_emitter__) {
723
+ emitter = process12.__signal_exit_emitter__;
724
+ } else {
725
+ emitter = process12.__signal_exit_emitter__ = new EE();
726
+ emitter.count = 0;
727
+ emitter.emitted = {};
728
+ }
729
+ if (!emitter.infinite) {
730
+ emitter.setMaxListeners(Infinity);
731
+ emitter.infinite = true;
732
+ }
733
+ module.exports = function(cb, opts) {
734
+ if (!processOk(global.process)) {
735
+ return function() {
736
+ };
737
+ }
738
+ assert.equal(typeof cb, "function", "a callback must be provided for exit handler");
739
+ if (loaded === false) {
740
+ load();
741
+ }
742
+ var ev = "exit";
743
+ if (opts && opts.alwaysLast) {
744
+ ev = "afterexit";
745
+ }
746
+ var remove = function() {
747
+ emitter.removeListener(ev, cb);
748
+ if (emitter.listeners("exit").length === 0 && emitter.listeners("afterexit").length === 0) {
749
+ unload();
750
+ }
751
+ };
752
+ emitter.on(ev, cb);
753
+ return remove;
754
+ };
755
+ unload = function unload2() {
756
+ if (!loaded || !processOk(global.process)) {
757
+ return;
758
+ }
759
+ loaded = false;
760
+ signals.forEach(function(sig) {
761
+ try {
762
+ process12.removeListener(sig, sigListeners[sig]);
763
+ } catch (er) {
764
+ }
765
+ });
766
+ process12.emit = originalProcessEmit;
767
+ process12.reallyExit = originalProcessReallyExit;
768
+ emitter.count -= 1;
769
+ };
770
+ module.exports.unload = unload;
771
+ emit = function emit2(event, code, signal) {
772
+ if (emitter.emitted[event]) {
773
+ return;
774
+ }
775
+ emitter.emitted[event] = true;
776
+ emitter.emit(event, code, signal);
777
+ };
778
+ sigListeners = {};
779
+ signals.forEach(function(sig) {
780
+ sigListeners[sig] = function listener() {
781
+ if (!processOk(global.process)) {
782
+ return;
783
+ }
784
+ var listeners = process12.listeners(sig);
785
+ if (listeners.length === emitter.count) {
786
+ unload();
787
+ emit("exit", null, sig);
788
+ emit("afterexit", null, sig);
789
+ if (isWin && sig === "SIGHUP") {
790
+ sig = "SIGINT";
791
+ }
792
+ process12.kill(process12.pid, sig);
793
+ }
794
+ };
795
+ });
796
+ module.exports.signals = function() {
797
+ return signals;
798
+ };
799
+ loaded = false;
800
+ load = function load2() {
801
+ if (loaded || !processOk(global.process)) {
802
+ return;
803
+ }
804
+ loaded = true;
805
+ emitter.count += 1;
806
+ signals = signals.filter(function(sig) {
807
+ try {
808
+ process12.on(sig, sigListeners[sig]);
809
+ return true;
810
+ } catch (er) {
811
+ return false;
812
+ }
813
+ });
814
+ process12.emit = processEmit;
815
+ process12.reallyExit = processReallyExit;
816
+ };
817
+ module.exports.load = load;
818
+ originalProcessReallyExit = process12.reallyExit;
819
+ processReallyExit = function processReallyExit2(code) {
820
+ if (!processOk(global.process)) {
821
+ return;
822
+ }
823
+ process12.exitCode = code || /* istanbul ignore next */
824
+ 0;
825
+ emit("exit", process12.exitCode, null);
826
+ emit("afterexit", process12.exitCode, null);
827
+ originalProcessReallyExit.call(process12, process12.exitCode);
828
+ };
829
+ originalProcessEmit = process12.emit;
830
+ processEmit = function processEmit2(ev, arg) {
831
+ if (ev === "exit" && processOk(global.process)) {
832
+ if (arg !== void 0) {
833
+ process12.exitCode = arg;
834
+ }
835
+ var ret = originalProcessEmit.apply(this, arguments);
836
+ emit("exit", process12.exitCode, null);
837
+ emit("afterexit", process12.exitCode, null);
838
+ return ret;
839
+ } else {
840
+ return originalProcessEmit.apply(this, arguments);
841
+ }
842
+ };
843
+ }
844
+ var assert;
845
+ var signals;
846
+ var isWin;
847
+ var EE;
848
+ var emitter;
849
+ var unload;
850
+ var emit;
851
+ var sigListeners;
852
+ var loaded;
853
+ var load;
854
+ var originalProcessReallyExit;
855
+ var processReallyExit;
856
+ var originalProcessEmit;
857
+ var processEmit;
858
+ }
859
+ });
860
+
663
861
  // ../../node_modules/scheduler/cjs/scheduler.production.min.js
664
862
  var require_scheduler_production_min = __commonJS({
665
863
  "../../node_modules/scheduler/cjs/scheduler.production.min.js"(exports) {
@@ -5928,6 +6126,61 @@ var require_cli_boxes = __commonJS({
5928
6126
  }
5929
6127
  });
5930
6128
 
6129
+ // ../../node_modules/onetime/node_modules/mimic-fn/index.js
6130
+ var require_mimic_fn = __commonJS({
6131
+ "../../node_modules/onetime/node_modules/mimic-fn/index.js"(exports, module) {
6132
+ "use strict";
6133
+ init_esm_shims();
6134
+ var mimicFn = (to, from) => {
6135
+ for (const prop of Reflect.ownKeys(from)) {
6136
+ Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
6137
+ }
6138
+ return to;
6139
+ };
6140
+ module.exports = mimicFn;
6141
+ module.exports.default = mimicFn;
6142
+ }
6143
+ });
6144
+
6145
+ // ../../node_modules/onetime/index.js
6146
+ var require_onetime = __commonJS({
6147
+ "../../node_modules/onetime/index.js"(exports, module) {
6148
+ "use strict";
6149
+ init_esm_shims();
6150
+ var mimicFn = require_mimic_fn();
6151
+ var calledFunctions = /* @__PURE__ */ new WeakMap();
6152
+ var onetime2 = (function_, options = {}) => {
6153
+ if (typeof function_ !== "function") {
6154
+ throw new TypeError("Expected a function");
6155
+ }
6156
+ let returnValue;
6157
+ let callCount = 0;
6158
+ const functionName = function_.displayName || function_.name || "<anonymous>";
6159
+ const onetime3 = function(...arguments_) {
6160
+ calledFunctions.set(onetime3, ++callCount);
6161
+ if (callCount === 1) {
6162
+ returnValue = function_.apply(this, arguments_);
6163
+ function_ = null;
6164
+ } else if (options.throw === true) {
6165
+ throw new Error(`Function \`${functionName}\` can only be called once`);
6166
+ }
6167
+ return returnValue;
6168
+ };
6169
+ mimicFn(onetime3, function_);
6170
+ calledFunctions.set(onetime3, callCount);
6171
+ return onetime3;
6172
+ };
6173
+ module.exports = onetime2;
6174
+ module.exports.default = onetime2;
6175
+ module.exports.callCount = (function_) => {
6176
+ if (!calledFunctions.has(function_)) {
6177
+ throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);
6178
+ }
6179
+ return calledFunctions.get(function_);
6180
+ };
6181
+ }
6182
+ });
6183
+
5931
6184
  // ../../node_modules/stack-utils/node_modules/escape-string-regexp/index.js
5932
6185
  var require_escape_string_regexp = __commonJS({
5933
6186
  "../../node_modules/stack-utils/node_modules/escape-string-regexp/index.js"(exports, module) {
@@ -6314,13 +6567,13 @@ init_esm_shims();
6314
6567
  // ../../node_modules/ink/build/render.js
6315
6568
  init_esm_shims();
6316
6569
  import { Stream } from "node:stream";
6317
- import process9 from "node:process";
6570
+ import process11 from "node:process";
6318
6571
 
6319
6572
  // ../../node_modules/ink/build/ink.js
6320
6573
  init_esm_shims();
6321
6574
  var import_react10 = __toESM(require_react(), 1);
6322
6575
  var import_throttle = __toESM(require_throttle(), 1);
6323
- import process8 from "node:process";
6576
+ import process10 from "node:process";
6324
6577
 
6325
6578
  // ../../node_modules/ink/node_modules/ansi-escapes/index.js
6326
6579
  init_esm_shims();
@@ -6483,7 +6736,7 @@ function autoBind(self2, { include, exclude } = {}) {
6483
6736
  }
6484
6737
 
6485
6738
  // ../../node_modules/ink/build/ink.js
6486
- var import_signal_exit = __toESM(require_signal_exit(), 1);
6739
+ var import_signal_exit2 = __toESM(require_signal_exit(), 1);
6487
6740
 
6488
6741
  // ../../node_modules/patch-console/dist/index.js
6489
6742
  init_esm_shims();
@@ -9217,6 +9470,54 @@ var renderer_default = renderer;
9217
9470
 
9218
9471
  // ../../node_modules/ink/build/log-update.js
9219
9472
  init_esm_shims();
9473
+
9474
+ // ../../node_modules/ink/node_modules/cli-cursor/index.js
9475
+ init_esm_shims();
9476
+ import process5 from "node:process";
9477
+
9478
+ // ../../node_modules/ink/node_modules/restore-cursor/index.js
9479
+ init_esm_shims();
9480
+ var import_onetime = __toESM(require_onetime(), 1);
9481
+ var import_signal_exit = __toESM(require_signal_exit(), 1);
9482
+ import process4 from "node:process";
9483
+ var restoreCursor = (0, import_onetime.default)(() => {
9484
+ (0, import_signal_exit.default)(() => {
9485
+ process4.stderr.write("\x1B[?25h");
9486
+ }, { alwaysLast: true });
9487
+ });
9488
+ var restore_cursor_default = restoreCursor;
9489
+
9490
+ // ../../node_modules/ink/node_modules/cli-cursor/index.js
9491
+ var isHidden = false;
9492
+ var cliCursor = {};
9493
+ cliCursor.show = (writableStream = process5.stderr) => {
9494
+ if (!writableStream.isTTY) {
9495
+ return;
9496
+ }
9497
+ isHidden = false;
9498
+ writableStream.write("\x1B[?25h");
9499
+ };
9500
+ cliCursor.hide = (writableStream = process5.stderr) => {
9501
+ if (!writableStream.isTTY) {
9502
+ return;
9503
+ }
9504
+ restore_cursor_default();
9505
+ isHidden = true;
9506
+ writableStream.write("\x1B[?25l");
9507
+ };
9508
+ cliCursor.toggle = (force, writableStream) => {
9509
+ if (force !== void 0) {
9510
+ isHidden = force;
9511
+ }
9512
+ if (isHidden) {
9513
+ cliCursor.show(writableStream);
9514
+ } else {
9515
+ cliCursor.hide(writableStream);
9516
+ }
9517
+ };
9518
+ var cli_cursor_default = cliCursor;
9519
+
9520
+ // ../../node_modules/ink/build/log-update.js
9220
9521
  var create = (stream, { showCursor = false } = {}) => {
9221
9522
  let previousLineCount = 0;
9222
9523
  let previousOutput = "";
@@ -9260,7 +9561,7 @@ var instances_default = instances;
9260
9561
  // ../../node_modules/ink/build/components/App.js
9261
9562
  init_esm_shims();
9262
9563
  var import_react9 = __toESM(require_react(), 1);
9263
- import process7 from "node:process";
9564
+ import process9 from "node:process";
9264
9565
 
9265
9566
  // ../../node_modules/ink/build/components/AppContext.js
9266
9567
  init_esm_shims();
@@ -9275,9 +9576,9 @@ var AppContext_default = AppContext;
9275
9576
  // ../../node_modules/ink/build/components/StdinContext.js
9276
9577
  init_esm_shims();
9277
9578
  var import_react2 = __toESM(require_react(), 1);
9278
- import process4 from "node:process";
9579
+ import process6 from "node:process";
9279
9580
  var StdinContext = (0, import_react2.createContext)({
9280
- stdin: process4.stdin,
9581
+ stdin: process6.stdin,
9281
9582
  setRawMode() {
9282
9583
  },
9283
9584
  isRawModeSupported: false,
@@ -9290,9 +9591,9 @@ var StdinContext_default = StdinContext;
9290
9591
  // ../../node_modules/ink/build/components/StdoutContext.js
9291
9592
  init_esm_shims();
9292
9593
  var import_react3 = __toESM(require_react(), 1);
9293
- import process5 from "node:process";
9594
+ import process7 from "node:process";
9294
9595
  var StdoutContext = (0, import_react3.createContext)({
9295
- stdout: process5.stdout,
9596
+ stdout: process7.stdout,
9296
9597
  write() {
9297
9598
  }
9298
9599
  });
@@ -9302,9 +9603,9 @@ var StdoutContext_default = StdoutContext;
9302
9603
  // ../../node_modules/ink/build/components/StderrContext.js
9303
9604
  init_esm_shims();
9304
9605
  var import_react4 = __toESM(require_react(), 1);
9305
- import process6 from "node:process";
9606
+ import process8 from "node:process";
9306
9607
  var StderrContext = (0, import_react4.createContext)({
9307
- stderr: process6.stderr,
9608
+ stderr: process8.stderr,
9308
9609
  write() {
9309
9610
  }
9310
9611
  });
@@ -9571,7 +9872,7 @@ var App = class extends import_react9.PureComponent {
9571
9872
  value: (isEnabled) => {
9572
9873
  const { stdin } = this.props;
9573
9874
  if (!this.isRawModeSupported()) {
9574
- if (stdin === process7.stdin) {
9875
+ if (stdin === process9.stdin) {
9575
9876
  throw new Error("Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.\nRead about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported");
9576
9877
  } else {
9577
9878
  throw new Error("Raw mode is not supported on the stdin provided to Ink.\nRead about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported");
@@ -9889,7 +10190,7 @@ Object.defineProperty(App, "displayName", {
9889
10190
  });
9890
10191
 
9891
10192
  // ../../node_modules/ink/build/ink.js
9892
- var isCi = process8.env["CI"] === "false" ? false : import_is_ci.default;
10193
+ var isCi = process10.env["CI"] === "false" ? false : import_is_ci.default;
9893
10194
  var noop = () => {
9894
10195
  };
9895
10196
  var Ink = class {
@@ -10072,8 +10373,8 @@ var Ink = class {
10072
10373
  },
10073
10374
  null
10074
10375
  );
10075
- this.unsubscribeExit = (0, import_signal_exit.default)(this.unmount, { alwaysLast: false });
10076
- if (process8.env["DEV"] === "true") {
10376
+ this.unsubscribeExit = (0, import_signal_exit2.default)(this.unmount, { alwaysLast: false });
10377
+ if (process10.env["DEV"] === "true") {
10077
10378
  reconciler_default.injectIntoDevTools({
10078
10379
  bundleType: 0,
10079
10380
  // Reporting React DOM's version, not Ink's
@@ -10192,9 +10493,9 @@ var Ink = class {
10192
10493
  // ../../node_modules/ink/build/render.js
10193
10494
  var render = (node, options) => {
10194
10495
  const inkOptions = {
10195
- stdout: process9.stdout,
10196
- stdin: process9.stdin,
10197
- stderr: process9.stderr,
10496
+ stdout: process11.stdout,
10497
+ stdin: process11.stdin,
10498
+ stderr: process11.stderr,
10198
10499
  debug: false,
10199
10500
  exitOnCtrlC: true,
10200
10501
  patchConsole: true,
@@ -10217,7 +10518,7 @@ var getOptions = (stdout = {}) => {
10217
10518
  if (stdout instanceof Stream) {
10218
10519
  return {
10219
10520
  stdout,
10220
- stdin: process9.stdin
10521
+ stdin: process11.stdin
10221
10522
  };
10222
10523
  }
10223
10524
  return stdout;
@@ -11232,13 +11533,30 @@ var ErrorDetails = ({
11232
11533
  hint
11233
11534
  }) => /* @__PURE__ */ import_react44.default.createElement(Box_default, { flexDirection: "column" }, /* @__PURE__ */ import_react44.default.createElement(Alert, { type: "error" }, message), explanation && /* @__PURE__ */ import_react44.default.createElement(Alert, { type: "warning" }, explanation), hint && /* @__PURE__ */ import_react44.default.createElement(Box_default, { paddingTop: 1 }, /* @__PURE__ */ import_react44.default.createElement(Alert, { type: "insight" }, hint)));
11234
11535
 
11536
+ // ../cli-ui-kit/src/components/Notification.tsx
11537
+ init_esm_shims();
11538
+ var import_react45 = __toESM(require_react(), 1);
11539
+ var Notification = ({ children }) => {
11540
+ return /* @__PURE__ */ import_react45.default.createElement(Box_default, null, /* @__PURE__ */ import_react45.default.createElement(
11541
+ Box_default,
11542
+ {
11543
+ padding: 1,
11544
+ alignItems: "center",
11545
+ flexDirection: "column",
11546
+ borderColor: "yellowBright",
11547
+ borderStyle: "round"
11548
+ },
11549
+ children
11550
+ ));
11551
+ };
11552
+
11235
11553
  // ../cli-ui-kit/src/hooks/use-async.ts
11236
11554
  init_esm_shims();
11237
11555
  var import_variant6 = __toESM(require_lib(), 1);
11238
11556
 
11239
11557
  // ../../node_modules/react-async-hook/dist/react-async-hook.esm.js
11240
11558
  init_esm_shims();
11241
- var import_react45 = __toESM(require_react());
11559
+ var import_react46 = __toESM(require_react());
11242
11560
  function _extends() {
11243
11561
  _extends = Object.assign || function(target) {
11244
11562
  for (var i2 = 1; i2 < arguments.length; i2++) {
@@ -11255,13 +11573,13 @@ function _extends() {
11255
11573
  }
11256
11574
  var _iteratorSymbol = typeof Symbol !== "undefined" ? Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator")) : "@@iterator";
11257
11575
  var _asyncIteratorSymbol = typeof Symbol !== "undefined" ? Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator")) : "@@asyncIterator";
11258
- var useIsomorphicLayoutEffect = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined" ? import_react45.useLayoutEffect : import_react45.useEffect;
11576
+ var useIsomorphicLayoutEffect = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined" ? import_react46.useLayoutEffect : import_react46.useEffect;
11259
11577
  var useGetter = function useGetter2(t3) {
11260
- var ref = (0, import_react45.useRef)(t3);
11578
+ var ref = (0, import_react46.useRef)(t3);
11261
11579
  useIsomorphicLayoutEffect(function() {
11262
11580
  ref.current = t3;
11263
11581
  });
11264
- return (0, import_react45.useCallback)(function() {
11582
+ return (0, import_react46.useCallback)(function() {
11265
11583
  return ref.current;
11266
11584
  }, [ref]);
11267
11585
  };
@@ -11314,22 +11632,22 @@ var normalizeOptions = function normalizeOptions2(options) {
11314
11632
  return _extends({}, DefaultOptions, {}, options);
11315
11633
  };
11316
11634
  var useAsyncState = function useAsyncState2(options) {
11317
- var _useState = (0, import_react45.useState)(function() {
11635
+ var _useState = (0, import_react46.useState)(function() {
11318
11636
  return options.initialState(options);
11319
11637
  }), value2 = _useState[0], setValue = _useState[1];
11320
- var reset = (0, import_react45.useCallback)(function() {
11638
+ var reset = (0, import_react46.useCallback)(function() {
11321
11639
  return setValue(options.initialState(options));
11322
11640
  }, [setValue, options]);
11323
- var setLoading = (0, import_react45.useCallback)(function() {
11641
+ var setLoading = (0, import_react46.useCallback)(function() {
11324
11642
  return setValue(options.setLoading(value2));
11325
11643
  }, [value2, setValue]);
11326
- var setResult = (0, import_react45.useCallback)(function(result) {
11644
+ var setResult = (0, import_react46.useCallback)(function(result) {
11327
11645
  return setValue(options.setResult(result, value2));
11328
11646
  }, [value2, setValue]);
11329
- var setError = (0, import_react45.useCallback)(function(error) {
11647
+ var setError = (0, import_react46.useCallback)(function(error) {
11330
11648
  return setValue(options.setError(error, value2));
11331
11649
  }, [value2, setValue]);
11332
- var merge = (0, import_react45.useCallback)(function(state) {
11650
+ var merge = (0, import_react46.useCallback)(function(state) {
11333
11651
  return setValue(_extends({}, value2, {}, state));
11334
11652
  }, [value2, setValue]);
11335
11653
  return {
@@ -11343,8 +11661,8 @@ var useAsyncState = function useAsyncState2(options) {
11343
11661
  };
11344
11662
  };
11345
11663
  var useIsMounted = function useIsMounted2() {
11346
- var ref = (0, import_react45.useRef)(false);
11347
- (0, import_react45.useEffect)(function() {
11664
+ var ref = (0, import_react46.useRef)(false);
11665
+ (0, import_react46.useEffect)(function() {
11348
11666
  ref.current = true;
11349
11667
  return function() {
11350
11668
  ref.current = false;
@@ -11355,7 +11673,7 @@ var useIsMounted = function useIsMounted2() {
11355
11673
  };
11356
11674
  };
11357
11675
  var useCurrentPromise = function useCurrentPromise2() {
11358
- var ref = (0, import_react45.useRef)(null);
11676
+ var ref = (0, import_react46.useRef)(null);
11359
11677
  return {
11360
11678
  set: function set(promise) {
11361
11679
  return ref.current = promise;
@@ -11371,7 +11689,7 @@ var useCurrentPromise = function useCurrentPromise2() {
11371
11689
  var useAsyncInternal = function useAsyncInternal2(asyncFunction, params, options) {
11372
11690
  !params && (params = []);
11373
11691
  var normalizedOptions = normalizeOptions(options);
11374
- var _useState2 = (0, import_react45.useState)(null), currentParams = _useState2[0], setCurrentParams = _useState2[1];
11692
+ var _useState2 = (0, import_react46.useState)(null), currentParams = _useState2[0], setCurrentParams = _useState2[1];
11375
11693
  var AsyncState = useAsyncState(normalizedOptions);
11376
11694
  var isMounted = useIsMounted();
11377
11695
  var CurrentPromise = useCurrentPromise();
@@ -11414,11 +11732,11 @@ var useAsyncInternal = function useAsyncInternal2(asyncFunction, params, options
11414
11732
  return promise;
11415
11733
  };
11416
11734
  var getLatestExecuteAsyncOperation = useGetter(executeAsyncOperation);
11417
- var executeAsyncOperationMemo = (0, import_react45.useCallback)(function() {
11735
+ var executeAsyncOperationMemo = (0, import_react46.useCallback)(function() {
11418
11736
  return getLatestExecuteAsyncOperation().apply(void 0, arguments);
11419
11737
  }, [getLatestExecuteAsyncOperation]);
11420
11738
  var isMounting = !isMounted();
11421
- (0, import_react45.useEffect)(function() {
11739
+ (0, import_react46.useEffect)(function() {
11422
11740
  var execute = function execute2() {
11423
11741
  return getLatestExecuteAsyncOperation().apply(void 0, params);
11424
11742
  };
@@ -11451,7 +11769,7 @@ var useAsyncCallback = function useAsyncCallback2(asyncFunction, options) {
11451
11769
  };
11452
11770
 
11453
11771
  // ../cli-ui-kit/src/hooks/use-async.ts
11454
- var import_react46 = __toESM(require_react(), 1);
11772
+ var import_react47 = __toESM(require_react(), 1);
11455
11773
  var AsyncStatus = (0, import_variant6.variant)(
11456
11774
  (0, import_variant6.onTerms)(({ T: _T }) => ({
11457
11775
  Error: (error) => ({ error }),
@@ -11469,7 +11787,7 @@ var AsyncCallbackStatus = (0, import_variant6.variant)(
11469
11787
  );
11470
11788
  var useAsync2 = (fn, args, options) => {
11471
11789
  const exit = useExit();
11472
- const abortController = (0, import_react46.useMemo)(() => new AbortController(), []);
11790
+ const abortController = (0, import_react47.useMemo)(() => new AbortController(), []);
11473
11791
  const { result, error, status, merge } = useAsync(
11474
11792
  fn.bind(null, { signal: abortController.signal }),
11475
11793
  args,
@@ -11478,7 +11796,7 @@ var useAsync2 = (fn, args, options) => {
11478
11796
  ...options ?? {}
11479
11797
  }
11480
11798
  );
11481
- (0, import_react46.useEffect)(() => {
11799
+ (0, import_react47.useEffect)(() => {
11482
11800
  return () => {
11483
11801
  abortController.abort();
11484
11802
  };
@@ -11498,7 +11816,7 @@ var useAsync2 = (fn, args, options) => {
11498
11816
  };
11499
11817
  var useAsyncCallback3 = (fn, options) => {
11500
11818
  const exit = useExit();
11501
- const abortController = (0, import_react46.useMemo)(() => new AbortController(), []);
11819
+ const abortController = (0, import_react47.useMemo)(() => new AbortController(), []);
11502
11820
  const { result, error, status, merge, execute } = useAsyncCallback(
11503
11821
  fn.bind(null, { signal: abortController.signal }),
11504
11822
  {
@@ -11506,7 +11824,7 @@ var useAsyncCallback3 = (fn, options) => {
11506
11824
  ...options ?? {}
11507
11825
  }
11508
11826
  );
11509
- (0, import_react46.useEffect)(() => {
11827
+ (0, import_react47.useEffect)(() => {
11510
11828
  return () => {
11511
11829
  abortController.abort();
11512
11830
  };
@@ -11536,11 +11854,11 @@ var useAsyncCallback3 = (fn, options) => {
11536
11854
 
11537
11855
  // ../../node_modules/react-i18next/dist/es/Trans.js
11538
11856
  init_esm_shims();
11539
- var import_react49 = __toESM(require_react(), 1);
11857
+ var import_react50 = __toESM(require_react(), 1);
11540
11858
 
11541
11859
  // ../../node_modules/react-i18next/dist/es/TransWithoutContext.js
11542
11860
  init_esm_shims();
11543
- var import_react47 = __toESM(require_react(), 1);
11861
+ var import_react48 = __toESM(require_react(), 1);
11544
11862
 
11545
11863
  // ../../node_modules/html-parse-stringify/dist/html-parse-stringify.module.js
11546
11864
  init_esm_shims();
@@ -11755,7 +12073,7 @@ var getChildren = (node) => {
11755
12073
  const children = node.props ? node.props.children : node.children;
11756
12074
  return node.props && node.props.i18nIsDynamicList ? getAsArray(children) : children;
11757
12075
  };
11758
- var hasValidReactChildren = (children) => Array.isArray(children) && children.every(import_react47.isValidElement);
12076
+ var hasValidReactChildren = (children) => Array.isArray(children) && children.every(import_react48.isValidElement);
11759
12077
  var getAsArray = (data) => Array.isArray(data) ? data : [data];
11760
12078
  var mergeProps = (source, target) => {
11761
12079
  const newTarget = {
@@ -11772,7 +12090,7 @@ var nodesToString = (children, i18nOptions) => {
11772
12090
  childrenArray.forEach((child, childIndex) => {
11773
12091
  if (isString(child)) {
11774
12092
  stringNode += `${child}`;
11775
- } else if ((0, import_react47.isValidElement)(child)) {
12093
+ } else if ((0, import_react48.isValidElement)(child)) {
11776
12094
  const {
11777
12095
  props,
11778
12096
  type
@@ -11821,7 +12139,7 @@ var renderNodes = (children, targetString, i18n, i18nOptions, combinedTOpts, sho
11821
12139
  childrenArray.forEach((child) => {
11822
12140
  if (isString(child)) return;
11823
12141
  if (hasChildren(child)) getData(getChildren(child));
11824
- else if (isObject(child) && !(0, import_react47.isValidElement)(child)) Object.assign(data, child);
12142
+ else if (isObject(child) && !(0, import_react48.isValidElement)(child)) Object.assign(data, child);
11825
12143
  });
11826
12144
  };
11827
12145
  getData(children);
@@ -11838,16 +12156,16 @@ var renderNodes = (children, targetString, i18n, i18nOptions, combinedTOpts, sho
11838
12156
  const pushTranslatedJSX = (child, inner, mem, i2, isVoid) => {
11839
12157
  if (child.dummy) {
11840
12158
  child.children = inner;
11841
- mem.push((0, import_react47.cloneElement)(child, {
12159
+ mem.push((0, import_react48.cloneElement)(child, {
11842
12160
  key: i2
11843
12161
  }, isVoid ? void 0 : inner));
11844
12162
  } else {
11845
- mem.push(...import_react47.Children.map([child], (c2) => {
12163
+ mem.push(...import_react48.Children.map([child], (c2) => {
11846
12164
  const props = {
11847
12165
  ...c2.props
11848
12166
  };
11849
12167
  delete props.i18nIsDynamicList;
11850
- return (0, import_react47.createElement)(c2.type, {
12168
+ return (0, import_react48.createElement)(c2.type, {
11851
12169
  ...props,
11852
12170
  key: i2,
11853
12171
  ref: c2.ref
@@ -11867,7 +12185,7 @@ var renderNodes = (children, targetString, i18n, i18nOptions, combinedTOpts, sho
11867
12185
  const child = Object.keys(node.attrs).length !== 0 ? mergeProps({
11868
12186
  props: node.attrs
11869
12187
  }, tmp) : tmp;
11870
- const isElement = (0, import_react47.isValidElement)(child);
12188
+ const isElement = (0, import_react48.isValidElement)(child);
11871
12189
  const isValidTranslationWithChildren = isElement && hasChildren(node, true) && !node.voidElement;
11872
12190
  const isEmptyTransWithHTML = emptyChildrenButNeedsHandling && isObject(child) && child.dummy && !isElement;
11873
12191
  const isKnownComponent = isObject(children) && Object.hasOwnProperty.call(children, node.name);
@@ -11886,12 +12204,12 @@ var renderNodes = (children, targetString, i18n, i18nOptions, combinedTOpts, sho
11886
12204
  pushTranslatedJSX(child, inner, mem, i2, node.voidElement);
11887
12205
  } else if (i18nOptions.transSupportBasicHtmlNodes && keepArray.indexOf(node.name) > -1) {
11888
12206
  if (node.voidElement) {
11889
- mem.push((0, import_react47.createElement)(node.name, {
12207
+ mem.push((0, import_react48.createElement)(node.name, {
11890
12208
  key: `${node.name}-${i2}`
11891
12209
  }));
11892
12210
  } else {
11893
12211
  const inner = mapAST(reactNodes, node.children, rootReactNode);
11894
- mem.push((0, import_react47.createElement)(node.name, {
12212
+ mem.push((0, import_react48.createElement)(node.name, {
11895
12213
  key: `${node.name}-${i2}`
11896
12214
  }, inner));
11897
12215
  }
@@ -11911,7 +12229,7 @@ var renderNodes = (children, targetString, i18n, i18nOptions, combinedTOpts, sho
11911
12229
  const wrapTextNodes = i18nOptions.transWrapTextNodes;
11912
12230
  const content = shouldUnescape ? i18nOptions.unescape(i18n.services.interpolator.interpolate(node.content, opts, i18n.language)) : i18n.services.interpolator.interpolate(node.content, opts, i18n.language);
11913
12231
  if (wrapTextNodes) {
11914
- mem.push((0, import_react47.createElement)(wrapTextNodes, {
12232
+ mem.push((0, import_react48.createElement)(wrapTextNodes, {
11915
12233
  key: `${node.name}-${i2}`
11916
12234
  }, content));
11917
12235
  } else {
@@ -11992,19 +12310,19 @@ function Trans(_ref) {
11992
12310
  const comp = components[c2];
11993
12311
  if (typeof comp.type === "function" || !comp.props || !comp.props.children || translation.indexOf(`${c2}/>`) < 0 && translation.indexOf(`${c2} />`) < 0) return;
11994
12312
  function Componentized() {
11995
- return (0, import_react47.createElement)(import_react47.Fragment, null, comp);
12313
+ return (0, import_react48.createElement)(import_react48.Fragment, null, comp);
11996
12314
  }
11997
- components[c2] = (0, import_react47.createElement)(Componentized);
12315
+ components[c2] = (0, import_react48.createElement)(Componentized);
11998
12316
  });
11999
12317
  }
12000
12318
  const content = renderNodes(components || children, translation, i18n, reactI18nextOptions, combinedTOpts, shouldUnescape);
12001
12319
  const useAsParent = parent !== void 0 ? parent : reactI18nextOptions.defaultTransParent;
12002
- return useAsParent ? (0, import_react47.createElement)(useAsParent, additionalProps, content) : content;
12320
+ return useAsParent ? (0, import_react48.createElement)(useAsParent, additionalProps, content) : content;
12003
12321
  }
12004
12322
 
12005
12323
  // ../../node_modules/react-i18next/dist/es/context.js
12006
12324
  init_esm_shims();
12007
- var import_react48 = __toESM(require_react(), 1);
12325
+ var import_react49 = __toESM(require_react(), 1);
12008
12326
 
12009
12327
  // ../../node_modules/react-i18next/dist/es/initReactI18next.js
12010
12328
  init_esm_shims();
@@ -12017,7 +12335,7 @@ var initReactI18next = {
12017
12335
  };
12018
12336
 
12019
12337
  // ../../node_modules/react-i18next/dist/es/context.js
12020
- var I18nContext = (0, import_react48.createContext)();
12338
+ var I18nContext = (0, import_react49.createContext)();
12021
12339
  var ReportNamespaces = class {
12022
12340
  constructor() {
12023
12341
  this.usedNamespaces = {};
@@ -12051,7 +12369,7 @@ function Trans2(_ref) {
12051
12369
  const {
12052
12370
  i18n: i18nFromContext,
12053
12371
  defaultNS: defaultNSFromContext
12054
- } = (0, import_react49.useContext)(I18nContext) || {};
12372
+ } = (0, import_react50.useContext)(I18nContext) || {};
12055
12373
  const i18n = i18nFromProps || i18nFromContext || getI18n();
12056
12374
  const t3 = tFromProps || i18n && i18n.t.bind(i18n);
12057
12375
  return Trans({
@@ -12077,16 +12395,16 @@ init_esm_shims();
12077
12395
 
12078
12396
  // ../../node_modules/react-i18next/dist/es/useTranslation.js
12079
12397
  init_esm_shims();
12080
- var import_react50 = __toESM(require_react(), 1);
12398
+ var import_react51 = __toESM(require_react(), 1);
12081
12399
  var usePrevious = (value2, ignore) => {
12082
- const ref = (0, import_react50.useRef)();
12083
- (0, import_react50.useEffect)(() => {
12400
+ const ref = (0, import_react51.useRef)();
12401
+ (0, import_react51.useEffect)(() => {
12084
12402
  ref.current = ignore ? ref.current : value2;
12085
12403
  }, [value2, ignore]);
12086
12404
  return ref.current;
12087
12405
  };
12088
12406
  var alwaysNewT = (i18n, language, namespace, keyPrefix) => i18n.getFixedT(language, namespace, keyPrefix);
12089
- var useMemoizedT = (i18n, language, namespace, keyPrefix) => (0, import_react50.useCallback)(alwaysNewT(i18n, language, namespace, keyPrefix), [i18n, language, namespace, keyPrefix]);
12407
+ var useMemoizedT = (i18n, language, namespace, keyPrefix) => (0, import_react51.useCallback)(alwaysNewT(i18n, language, namespace, keyPrefix), [i18n, language, namespace, keyPrefix]);
12090
12408
  var useTranslation = function(ns) {
12091
12409
  let props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
12092
12410
  const {
@@ -12095,7 +12413,7 @@ var useTranslation = function(ns) {
12095
12413
  const {
12096
12414
  i18n: i18nFromContext,
12097
12415
  defaultNS: defaultNSFromContext
12098
- } = (0, import_react50.useContext)(I18nContext) || {};
12416
+ } = (0, import_react51.useContext)(I18nContext) || {};
12099
12417
  const i18n = i18nFromProps || i18nFromContext || getI18n();
12100
12418
  if (i18n && !i18n.reportNamespaces) i18n.reportNamespaces = new ReportNamespaces();
12101
12419
  if (!i18n) {
@@ -12128,12 +12446,12 @@ var useTranslation = function(ns) {
12128
12446
  const memoGetT = useMemoizedT(i18n, props.lng || null, i18nOptions.nsMode === "fallback" ? namespaces : namespaces[0], keyPrefix);
12129
12447
  const getT = () => memoGetT;
12130
12448
  const getNewT = () => alwaysNewT(i18n, props.lng || null, i18nOptions.nsMode === "fallback" ? namespaces : namespaces[0], keyPrefix);
12131
- const [t3, setT] = (0, import_react50.useState)(getT);
12449
+ const [t3, setT] = (0, import_react51.useState)(getT);
12132
12450
  let joinedNS = namespaces.join();
12133
12451
  if (props.lng) joinedNS = `${props.lng}${joinedNS}`;
12134
12452
  const previousJoinedNS = usePrevious(joinedNS);
12135
- const isMounted = (0, import_react50.useRef)(true);
12136
- (0, import_react50.useEffect)(() => {
12453
+ const isMounted = (0, import_react51.useRef)(true);
12454
+ (0, import_react51.useEffect)(() => {
12137
12455
  const {
12138
12456
  bindI18n,
12139
12457
  bindI18nStore
@@ -12164,7 +12482,7 @@ var useTranslation = function(ns) {
12164
12482
  if (bindI18nStore && i18n) bindI18nStore.split(" ").forEach((e2) => i18n.store.off(e2, boundReset));
12165
12483
  };
12166
12484
  }, [i18n, joinedNS]);
12167
- (0, import_react50.useEffect)(() => {
12485
+ (0, import_react51.useEffect)(() => {
12168
12486
  if (isMounted.current && ready) {
12169
12487
  setT(getT);
12170
12488
  }
@@ -12186,40 +12504,40 @@ var useTranslation = function(ns) {
12186
12504
 
12187
12505
  // ../../node_modules/react-i18next/dist/es/withTranslation.js
12188
12506
  init_esm_shims();
12189
- var import_react51 = __toESM(require_react(), 1);
12507
+ var import_react52 = __toESM(require_react(), 1);
12190
12508
 
12191
12509
  // ../../node_modules/react-i18next/dist/es/Translation.js
12192
12510
  init_esm_shims();
12193
12511
 
12194
12512
  // ../../node_modules/react-i18next/dist/es/I18nextProvider.js
12195
12513
  init_esm_shims();
12196
- var import_react52 = __toESM(require_react(), 1);
12514
+ var import_react53 = __toESM(require_react(), 1);
12197
12515
  function I18nextProvider(_ref) {
12198
12516
  let {
12199
12517
  i18n,
12200
12518
  defaultNS,
12201
12519
  children
12202
12520
  } = _ref;
12203
- const value2 = (0, import_react52.useMemo)(() => ({
12521
+ const value2 = (0, import_react53.useMemo)(() => ({
12204
12522
  i18n,
12205
12523
  defaultNS
12206
12524
  }), [i18n, defaultNS]);
12207
- return (0, import_react52.createElement)(I18nContext.Provider, {
12525
+ return (0, import_react53.createElement)(I18nContext.Provider, {
12208
12526
  value: value2
12209
12527
  }, children);
12210
12528
  }
12211
12529
 
12212
12530
  // ../../node_modules/react-i18next/dist/es/withSSR.js
12213
12531
  init_esm_shims();
12214
- var import_react54 = __toESM(require_react(), 1);
12532
+ var import_react55 = __toESM(require_react(), 1);
12215
12533
 
12216
12534
  // ../../node_modules/react-i18next/dist/es/useSSR.js
12217
12535
  init_esm_shims();
12218
- var import_react53 = __toESM(require_react(), 1);
12536
+ var import_react54 = __toESM(require_react(), 1);
12219
12537
 
12220
12538
  // ../cli-i18n/src/I18nProvider.tsx
12221
12539
  init_esm_shims();
12222
- var import_react55 = __toESM(require_react(), 1);
12540
+ var import_react56 = __toESM(require_react(), 1);
12223
12541
 
12224
12542
  // ../cli-i18n/src/create-i18n.ts
12225
12543
  init_esm_shims();
@@ -18143,8 +18461,8 @@ var I18nProvider = ({
18143
18461
  messages,
18144
18462
  i18n: initialI18n
18145
18463
  }) => {
18146
- const [i18n] = (0, import_react55.useState)(() => initialI18n ?? createI18n(messages));
18147
- return /* @__PURE__ */ import_react55.default.createElement(I18nextProvider, { i18n }, children);
18464
+ const [i18n] = (0, import_react56.useState)(() => initialI18n ?? createI18n(messages));
18465
+ return /* @__PURE__ */ import_react56.default.createElement(I18nextProvider, { i18n }, children);
18148
18466
  };
18149
18467
 
18150
18468
  // ../cli-i18n/src/index.ts
@@ -18165,6 +18483,7 @@ export {
18165
18483
  Link,
18166
18484
  Spinner2 as Spinner,
18167
18485
  ErrorDetails,
18486
+ Notification,
18168
18487
  useExit,
18169
18488
  useAsync2 as useAsync,
18170
18489
  useAsyncCallback3 as useAsyncCallback,
@@ -18222,4 +18541,4 @@ react-reconciler/cjs/react-reconciler-constants.production.min.js:
18222
18541
  * LICENSE file in the root directory of this source tree.
18223
18542
  *)
18224
18543
  */
18225
- //# sourceMappingURL=chunk-3UYDT5ZT.js.map
18544
+ //# sourceMappingURL=chunk-5EXKEGN6.js.map