@wix/cli-app 1.1.106 → 1.1.107

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 (64) hide show
  1. package/build/{AddPermissionCommand-QEKDCRQW.js → AddPermissionCommand-7E5GD5VD.js} +2 -2
  2. package/build/{DevCommand-736A5TG3.js → DevCommand-BWRRKEE6.js} +10 -10
  3. package/build/{GenerateCommand-F6WNIVZH.js → GenerateCommand-IO6ENBOG.js} +8 -8
  4. package/build/{LogsCommand-POFQ7L7U.js → LogsCommand-C62QNN65.js} +3 -3
  5. package/build/PreviewCommand-YAYKKYRN.js +19 -0
  6. package/build/ReleaseCommand-77SWCHH2.js +23 -0
  7. package/build/{ServeCommand-LLCIQQ4X.js → ServeCommand-NDUXIY75.js} +3 -3
  8. package/build/{build-HZ5SXQHP.js → build-ZO7CXGLN.js} +6 -6
  9. package/build/{chunk-T5HHDBBR.js → chunk-5ZI5USPK.js} +1 -2
  10. package/build/{chunk-T5HHDBBR.js.map → chunk-5ZI5USPK.js.map} +1 -1
  11. package/build/{chunk-FWWBKP43.js → chunk-657KFISY.js} +2 -2
  12. package/build/{chunk-7QAX4LBK.js → chunk-6X7N6N75.js} +6 -6
  13. package/build/{chunk-NWQVBGCX.js → chunk-77PR2TSF.js} +2 -2
  14. package/build/{chunk-XPAQVBEL.js → chunk-7B3P7MZT.js} +3 -3
  15. package/build/{chunk-XW5CZ6RF.js → chunk-AKBVXZXO.js} +2 -2
  16. package/build/{chunk-2X5STX6V.js → chunk-EC7IFTLG.js} +2 -2
  17. package/build/{chunk-7JLHWVDX.js → chunk-EH63OURU.js} +2 -2
  18. package/build/{chunk-5Y7LGHZ6.js → chunk-GFXZXRO4.js} +2 -2
  19. package/build/{chunk-BFLRYBN2.js → chunk-HJXYDXED.js} +5 -5
  20. package/build/{chunk-BINOF7AQ.js → chunk-HNIJZROR.js} +36 -60
  21. package/build/chunk-HNIJZROR.js.map +1 -0
  22. package/build/{chunk-PEMPZ5MM.js → chunk-MK5OQBNN.js} +2 -2
  23. package/build/{chunk-4IYY6ZGZ.js → chunk-OSDDOY2U.js} +222 -193
  24. package/build/chunk-OSDDOY2U.js.map +1 -0
  25. package/build/{chunk-VDPMGGS6.js → chunk-PSN6WZCB.js} +7 -7
  26. package/build/{chunk-G32WRBNI.js → chunk-TZ37SYKU.js} +2 -2
  27. package/build/{chunk-E6VEU7TV.js → chunk-VCFM6SMQ.js} +89 -329
  28. package/build/{chunk-E6VEU7TV.js.map → chunk-VCFM6SMQ.js.map} +1 -1
  29. package/build/{chunk-4TQGXVYE.js → chunk-VJAMKDBT.js} +3 -3
  30. package/build/{chunk-VMKXYUIA.js → chunk-VV6PV2NF.js} +5 -5
  31. package/build/index.js +24 -24
  32. package/build/{preview-R6YTZ7DV.js → preview-ZGAFDUGX.js} +13 -13
  33. package/build/{release-IJJ3EB2C.js → release-YOEGOFAT.js} +15 -15
  34. package/build/{render-command-FJOPHPRO.js → render-command-FI2MU2Z5.js} +6 -6
  35. package/package.json +2 -2
  36. package/build/PreviewCommand-DGVLJIC5.js +0 -19
  37. package/build/ReleaseCommand-BK665XSD.js +0 -23
  38. package/build/chunk-4IYY6ZGZ.js.map +0 -1
  39. package/build/chunk-BINOF7AQ.js.map +0 -1
  40. /package/build/{AddPermissionCommand-QEKDCRQW.js.map → AddPermissionCommand-7E5GD5VD.js.map} +0 -0
  41. /package/build/{DevCommand-736A5TG3.js.map → DevCommand-BWRRKEE6.js.map} +0 -0
  42. /package/build/{GenerateCommand-F6WNIVZH.js.map → GenerateCommand-IO6ENBOG.js.map} +0 -0
  43. /package/build/{LogsCommand-POFQ7L7U.js.map → LogsCommand-C62QNN65.js.map} +0 -0
  44. /package/build/{PreviewCommand-DGVLJIC5.js.map → PreviewCommand-YAYKKYRN.js.map} +0 -0
  45. /package/build/{ReleaseCommand-BK665XSD.js.map → ReleaseCommand-77SWCHH2.js.map} +0 -0
  46. /package/build/{ServeCommand-LLCIQQ4X.js.map → ServeCommand-NDUXIY75.js.map} +0 -0
  47. /package/build/{build-HZ5SXQHP.js.map → build-ZO7CXGLN.js.map} +0 -0
  48. /package/build/{chunk-FWWBKP43.js.map → chunk-657KFISY.js.map} +0 -0
  49. /package/build/{chunk-7QAX4LBK.js.map → chunk-6X7N6N75.js.map} +0 -0
  50. /package/build/{chunk-NWQVBGCX.js.map → chunk-77PR2TSF.js.map} +0 -0
  51. /package/build/{chunk-XPAQVBEL.js.map → chunk-7B3P7MZT.js.map} +0 -0
  52. /package/build/{chunk-XW5CZ6RF.js.map → chunk-AKBVXZXO.js.map} +0 -0
  53. /package/build/{chunk-2X5STX6V.js.map → chunk-EC7IFTLG.js.map} +0 -0
  54. /package/build/{chunk-7JLHWVDX.js.map → chunk-EH63OURU.js.map} +0 -0
  55. /package/build/{chunk-5Y7LGHZ6.js.map → chunk-GFXZXRO4.js.map} +0 -0
  56. /package/build/{chunk-BFLRYBN2.js.map → chunk-HJXYDXED.js.map} +0 -0
  57. /package/build/{chunk-PEMPZ5MM.js.map → chunk-MK5OQBNN.js.map} +0 -0
  58. /package/build/{chunk-VDPMGGS6.js.map → chunk-PSN6WZCB.js.map} +0 -0
  59. /package/build/{chunk-G32WRBNI.js.map → chunk-TZ37SYKU.js.map} +0 -0
  60. /package/build/{chunk-4TQGXVYE.js.map → chunk-VJAMKDBT.js.map} +0 -0
  61. /package/build/{chunk-VMKXYUIA.js.map → chunk-VV6PV2NF.js.map} +0 -0
  62. /package/build/{preview-R6YTZ7DV.js.map → preview-ZGAFDUGX.js.map} +0 -0
  63. /package/build/{release-IJJ3EB2C.js.map → release-YOEGOFAT.js.map} +0 -0
  64. /package/build/{render-command-FJOPHPRO.js.map → render-command-FI2MU2Z5.js.map} +0 -0
@@ -3,7 +3,7 @@ const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  getBackendEventSlug,
5
5
  require_baseUniq
6
- } from "./chunk-XW5CZ6RF.js";
6
+ } from "./chunk-AKBVXZXO.js";
7
7
  import {
8
8
  API_BASEURL_PLACEHOLDER,
9
9
  BACKEND_OPTIMIZED_DIR,
@@ -81,7 +81,7 @@ import {
81
81
  virtualSiteComponentScriptAssets,
82
82
  virtualSiteComponentSdkScriptAssets,
83
83
  z
84
- } from "./chunk-E6VEU7TV.js";
84
+ } from "./chunk-VCFM6SMQ.js";
85
85
  import {
86
86
  __commonJS,
87
87
  __esm,
@@ -107,19 +107,19 @@ var require_globrex = __commonJS({
107
107
  function globrex(glob, { extended = false, globstar = false, strict = false, filepath = false, flags = "" } = {}) {
108
108
  let regex = "";
109
109
  let segment = "";
110
- let path9 = { regex: "", segments: [] };
110
+ let path10 = { regex: "", segments: [] };
111
111
  let inGroup = false;
112
112
  let inRange = false;
113
113
  const ext2 = [];
114
114
  function add2(str, { split: split2, last, only } = {}) {
115
115
  if (only !== "path") regex += str;
116
116
  if (filepath && only !== "regex") {
117
- path9.regex += str === "\\/" ? SEP : str;
117
+ path10.regex += str === "\\/" ? SEP : str;
118
118
  if (split2) {
119
119
  if (last) segment += str;
120
120
  if (segment !== "") {
121
121
  if (!flags.includes("g")) segment = `^${segment}$`;
122
- path9.segments.push(new RegExp(segment, flags));
122
+ path10.segments.push(new RegExp(segment, flags));
123
123
  }
124
124
  segment = "";
125
125
  } else {
@@ -304,14 +304,14 @@ var require_globrex = __commonJS({
304
304
  if (!flags.includes("g")) {
305
305
  regex = `^${regex}$`;
306
306
  segment = `^${segment}$`;
307
- if (filepath) path9.regex = `^${path9.regex}$`;
307
+ if (filepath) path10.regex = `^${path10.regex}$`;
308
308
  }
309
309
  const result = { regex: new RegExp(regex, flags) };
310
310
  if (filepath) {
311
- path9.segments.push(new RegExp(segment, flags));
312
- path9.regex = new RegExp(path9.regex, flags);
313
- path9.globstar = new RegExp(!flags.includes("g") ? `^${GLOBSTAR_SEGMENT}$` : GLOBSTAR_SEGMENT, flags);
314
- result.path = path9;
311
+ path10.segments.push(new RegExp(segment, flags));
312
+ path10.regex = new RegExp(path10.regex, flags);
313
+ path10.globstar = new RegExp(!flags.includes("g") ? `^${GLOBSTAR_SEGMENT}$` : GLOBSTAR_SEGMENT, flags);
314
+ result.path = path10;
315
315
  }
316
316
  return result;
317
317
  }
@@ -687,14 +687,14 @@ var require_polyfills = __commonJS({
687
687
  fs3.fstatSync = statFixSync(fs3.fstatSync);
688
688
  fs3.lstatSync = statFixSync(fs3.lstatSync);
689
689
  if (fs3.chmod && !fs3.lchmod) {
690
- fs3.lchmod = function(path9, mode, cb) {
690
+ fs3.lchmod = function(path10, mode, cb) {
691
691
  if (cb) process.nextTick(cb);
692
692
  };
693
693
  fs3.lchmodSync = function() {
694
694
  };
695
695
  }
696
696
  if (fs3.chown && !fs3.lchown) {
697
- fs3.lchown = function(path9, uid, gid, cb) {
697
+ fs3.lchown = function(path10, uid, gid, cb) {
698
698
  if (cb) process.nextTick(cb);
699
699
  };
700
700
  fs3.lchownSync = function() {
@@ -761,9 +761,9 @@ var require_polyfills = __commonJS({
761
761
  };
762
762
  }(fs3.readSync);
763
763
  function patchLchmod(fs4) {
764
- fs4.lchmod = function(path9, mode, callback) {
764
+ fs4.lchmod = function(path10, mode, callback) {
765
765
  fs4.open(
766
- path9,
766
+ path10,
767
767
  constants.O_WRONLY | constants.O_SYMLINK,
768
768
  mode,
769
769
  function(err, fd) {
@@ -779,8 +779,8 @@ var require_polyfills = __commonJS({
779
779
  }
780
780
  );
781
781
  };
782
- fs4.lchmodSync = function(path9, mode) {
783
- var fd = fs4.openSync(path9, constants.O_WRONLY | constants.O_SYMLINK, mode);
782
+ fs4.lchmodSync = function(path10, mode) {
783
+ var fd = fs4.openSync(path10, constants.O_WRONLY | constants.O_SYMLINK, mode);
784
784
  var threw = true;
785
785
  var ret;
786
786
  try {
@@ -801,8 +801,8 @@ var require_polyfills = __commonJS({
801
801
  }
802
802
  function patchLutimes(fs4) {
803
803
  if (constants.hasOwnProperty("O_SYMLINK") && fs4.futimes) {
804
- fs4.lutimes = function(path9, at2, mt, cb) {
805
- fs4.open(path9, constants.O_SYMLINK, function(er, fd) {
804
+ fs4.lutimes = function(path10, at2, mt, cb) {
805
+ fs4.open(path10, constants.O_SYMLINK, function(er, fd) {
806
806
  if (er) {
807
807
  if (cb) cb(er);
808
808
  return;
@@ -814,8 +814,8 @@ var require_polyfills = __commonJS({
814
814
  });
815
815
  });
816
816
  };
817
- fs4.lutimesSync = function(path9, at2, mt) {
818
- var fd = fs4.openSync(path9, constants.O_SYMLINK);
817
+ fs4.lutimesSync = function(path10, at2, mt) {
818
+ var fd = fs4.openSync(path10, constants.O_SYMLINK);
819
819
  var ret;
820
820
  var threw = true;
821
821
  try {
@@ -935,11 +935,11 @@ var require_legacy_streams = __commonJS({
935
935
  ReadStream,
936
936
  WriteStream
937
937
  };
938
- function ReadStream(path9, options) {
939
- if (!(this instanceof ReadStream)) return new ReadStream(path9, options);
938
+ function ReadStream(path10, options) {
939
+ if (!(this instanceof ReadStream)) return new ReadStream(path10, options);
940
940
  Stream.call(this);
941
941
  var self2 = this;
942
- this.path = path9;
942
+ this.path = path10;
943
943
  this.fd = null;
944
944
  this.readable = true;
945
945
  this.paused = false;
@@ -984,10 +984,10 @@ var require_legacy_streams = __commonJS({
984
984
  self2._read();
985
985
  });
986
986
  }
987
- function WriteStream(path9, options) {
988
- if (!(this instanceof WriteStream)) return new WriteStream(path9, options);
987
+ function WriteStream(path10, options) {
988
+ if (!(this instanceof WriteStream)) return new WriteStream(path10, options);
989
989
  Stream.call(this);
990
- this.path = path9;
990
+ this.path = path10;
991
991
  this.fd = null;
992
992
  this.writable = true;
993
993
  this.flags = "w";
@@ -1133,14 +1133,14 @@ var require_graceful_fs = __commonJS({
1133
1133
  fs4.createWriteStream = createWriteStream;
1134
1134
  var fs$readFile = fs4.readFile;
1135
1135
  fs4.readFile = readFile5;
1136
- function readFile5(path9, options, cb) {
1136
+ function readFile5(path10, options, cb) {
1137
1137
  if (typeof options === "function")
1138
1138
  cb = options, options = null;
1139
- return go$readFile(path9, options, cb);
1140
- function go$readFile(path10, options2, cb2, startTime) {
1141
- return fs$readFile(path10, options2, function(err) {
1139
+ return go$readFile(path10, options, cb);
1140
+ function go$readFile(path11, options2, cb2, startTime) {
1141
+ return fs$readFile(path11, options2, function(err) {
1142
1142
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
1143
- enqueue([go$readFile, [path10, options2, cb2], err, startTime || Date.now(), Date.now()]);
1143
+ enqueue([go$readFile, [path11, options2, cb2], err, startTime || Date.now(), Date.now()]);
1144
1144
  else {
1145
1145
  if (typeof cb2 === "function")
1146
1146
  cb2.apply(this, arguments);
@@ -1150,14 +1150,14 @@ var require_graceful_fs = __commonJS({
1150
1150
  }
1151
1151
  var fs$writeFile = fs4.writeFile;
1152
1152
  fs4.writeFile = writeFile3;
1153
- function writeFile3(path9, data2, options, cb) {
1153
+ function writeFile3(path10, data2, options, cb) {
1154
1154
  if (typeof options === "function")
1155
1155
  cb = options, options = null;
1156
- return go$writeFile(path9, data2, options, cb);
1157
- function go$writeFile(path10, data3, options2, cb2, startTime) {
1158
- return fs$writeFile(path10, data3, options2, function(err) {
1156
+ return go$writeFile(path10, data2, options, cb);
1157
+ function go$writeFile(path11, data3, options2, cb2, startTime) {
1158
+ return fs$writeFile(path11, data3, options2, function(err) {
1159
1159
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
1160
- enqueue([go$writeFile, [path10, data3, options2, cb2], err, startTime || Date.now(), Date.now()]);
1160
+ enqueue([go$writeFile, [path11, data3, options2, cb2], err, startTime || Date.now(), Date.now()]);
1161
1161
  else {
1162
1162
  if (typeof cb2 === "function")
1163
1163
  cb2.apply(this, arguments);
@@ -1168,14 +1168,14 @@ var require_graceful_fs = __commonJS({
1168
1168
  var fs$appendFile = fs4.appendFile;
1169
1169
  if (fs$appendFile)
1170
1170
  fs4.appendFile = appendFile;
1171
- function appendFile(path9, data2, options, cb) {
1171
+ function appendFile(path10, data2, options, cb) {
1172
1172
  if (typeof options === "function")
1173
1173
  cb = options, options = null;
1174
- return go$appendFile(path9, data2, options, cb);
1175
- function go$appendFile(path10, data3, options2, cb2, startTime) {
1176
- return fs$appendFile(path10, data3, options2, function(err) {
1174
+ return go$appendFile(path10, data2, options, cb);
1175
+ function go$appendFile(path11, data3, options2, cb2, startTime) {
1176
+ return fs$appendFile(path11, data3, options2, function(err) {
1177
1177
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
1178
- enqueue([go$appendFile, [path10, data3, options2, cb2], err, startTime || Date.now(), Date.now()]);
1178
+ enqueue([go$appendFile, [path11, data3, options2, cb2], err, startTime || Date.now(), Date.now()]);
1179
1179
  else {
1180
1180
  if (typeof cb2 === "function")
1181
1181
  cb2.apply(this, arguments);
@@ -1206,31 +1206,31 @@ var require_graceful_fs = __commonJS({
1206
1206
  var fs$readdir = fs4.readdir;
1207
1207
  fs4.readdir = readdir;
1208
1208
  var noReaddirOptionVersions = /^v[0-5]\./;
1209
- function readdir(path9, options, cb) {
1209
+ function readdir(path10, options, cb) {
1210
1210
  if (typeof options === "function")
1211
1211
  cb = options, options = null;
1212
- var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path10, options2, cb2, startTime) {
1213
- return fs$readdir(path10, fs$readdirCallback(
1214
- path10,
1212
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path11, options2, cb2, startTime) {
1213
+ return fs$readdir(path11, fs$readdirCallback(
1214
+ path11,
1215
1215
  options2,
1216
1216
  cb2,
1217
1217
  startTime
1218
1218
  ));
1219
- } : function go$readdir2(path10, options2, cb2, startTime) {
1220
- return fs$readdir(path10, options2, fs$readdirCallback(
1221
- path10,
1219
+ } : function go$readdir2(path11, options2, cb2, startTime) {
1220
+ return fs$readdir(path11, options2, fs$readdirCallback(
1221
+ path11,
1222
1222
  options2,
1223
1223
  cb2,
1224
1224
  startTime
1225
1225
  ));
1226
1226
  };
1227
- return go$readdir(path9, options, cb);
1228
- function fs$readdirCallback(path10, options2, cb2, startTime) {
1227
+ return go$readdir(path10, options, cb);
1228
+ function fs$readdirCallback(path11, options2, cb2, startTime) {
1229
1229
  return function(err, files) {
1230
1230
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
1231
1231
  enqueue([
1232
1232
  go$readdir,
1233
- [path10, options2, cb2],
1233
+ [path11, options2, cb2],
1234
1234
  err,
1235
1235
  startTime || Date.now(),
1236
1236
  Date.now()
@@ -1301,7 +1301,7 @@ var require_graceful_fs = __commonJS({
1301
1301
  enumerable: true,
1302
1302
  configurable: true
1303
1303
  });
1304
- function ReadStream(path9, options) {
1304
+ function ReadStream(path10, options) {
1305
1305
  if (this instanceof ReadStream)
1306
1306
  return fs$ReadStream.apply(this, arguments), this;
1307
1307
  else
@@ -1321,7 +1321,7 @@ var require_graceful_fs = __commonJS({
1321
1321
  }
1322
1322
  });
1323
1323
  }
1324
- function WriteStream(path9, options) {
1324
+ function WriteStream(path10, options) {
1325
1325
  if (this instanceof WriteStream)
1326
1326
  return fs$WriteStream.apply(this, arguments), this;
1327
1327
  else
@@ -1339,22 +1339,22 @@ var require_graceful_fs = __commonJS({
1339
1339
  }
1340
1340
  });
1341
1341
  }
1342
- function createReadStream(path9, options) {
1343
- return new fs4.ReadStream(path9, options);
1342
+ function createReadStream(path10, options) {
1343
+ return new fs4.ReadStream(path10, options);
1344
1344
  }
1345
- function createWriteStream(path9, options) {
1346
- return new fs4.WriteStream(path9, options);
1345
+ function createWriteStream(path10, options) {
1346
+ return new fs4.WriteStream(path10, options);
1347
1347
  }
1348
1348
  var fs$open = fs4.open;
1349
1349
  fs4.open = open;
1350
- function open(path9, flags, mode, cb) {
1350
+ function open(path10, flags, mode, cb) {
1351
1351
  if (typeof mode === "function")
1352
1352
  cb = mode, mode = null;
1353
- return go$open(path9, flags, mode, cb);
1354
- function go$open(path10, flags2, mode2, cb2, startTime) {
1355
- return fs$open(path10, flags2, mode2, function(err, fd) {
1353
+ return go$open(path10, flags, mode, cb);
1354
+ function go$open(path11, flags2, mode2, cb2, startTime) {
1355
+ return fs$open(path11, flags2, mode2, function(err, fd) {
1356
1356
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
1357
- enqueue([go$open, [path10, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
1357
+ enqueue([go$open, [path11, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
1358
1358
  else {
1359
1359
  if (typeof cb2 === "function")
1360
1360
  cb2.apply(this, arguments);
@@ -1526,10 +1526,10 @@ var require_utils = __commonJS({
1526
1526
  "../../node_modules/vite-plugin-externals/node_modules/fs-extra/lib/mkdirs/utils.js"(exports, module) {
1527
1527
  "use strict";
1528
1528
  init_esm_shims();
1529
- var path9 = __require("path");
1529
+ var path10 = __require("path");
1530
1530
  module.exports.checkPath = function checkPath(pth) {
1531
1531
  if (process.platform === "win32") {
1532
- const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path9.parse(pth).root, ""));
1532
+ const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path10.parse(pth).root, ""));
1533
1533
  if (pathHasInvalidWinCharacters) {
1534
1534
  const error = new Error(`Path contains invalid characters: ${pth}`);
1535
1535
  error.code = "EINVAL";
@@ -1596,8 +1596,8 @@ var require_path_exists = __commonJS({
1596
1596
  init_esm_shims();
1597
1597
  var u = require_universalify().fromPromise;
1598
1598
  var fs3 = require_fs();
1599
- function pathExists(path9) {
1600
- return fs3.access(path9).then(() => true).catch(() => false);
1599
+ function pathExists(path10) {
1600
+ return fs3.access(path10).then(() => true).catch(() => false);
1601
1601
  }
1602
1602
  module.exports = {
1603
1603
  pathExists: u(pathExists),
@@ -1612,8 +1612,8 @@ var require_utimes = __commonJS({
1612
1612
  "use strict";
1613
1613
  init_esm_shims();
1614
1614
  var fs3 = require_graceful_fs();
1615
- function utimesMillis(path9, atime, mtime, callback) {
1616
- fs3.open(path9, "r+", (err, fd) => {
1615
+ function utimesMillis(path10, atime, mtime, callback) {
1616
+ fs3.open(path10, "r+", (err, fd) => {
1617
1617
  if (err) return callback(err);
1618
1618
  fs3.futimes(fd, atime, mtime, (futimesErr) => {
1619
1619
  fs3.close(fd, (closeErr) => {
@@ -1622,8 +1622,8 @@ var require_utimes = __commonJS({
1622
1622
  });
1623
1623
  });
1624
1624
  }
1625
- function utimesMillisSync(path9, atime, mtime) {
1626
- const fd = fs3.openSync(path9, "r+");
1625
+ function utimesMillisSync(path10, atime, mtime) {
1626
+ const fd = fs3.openSync(path10, "r+");
1627
1627
  fs3.futimesSync(fd, atime, mtime);
1628
1628
  return fs3.closeSync(fd);
1629
1629
  }
@@ -1640,7 +1640,7 @@ var require_stat = __commonJS({
1640
1640
  "use strict";
1641
1641
  init_esm_shims();
1642
1642
  var fs3 = require_fs();
1643
- var path9 = __require("path");
1643
+ var path10 = __require("path");
1644
1644
  var util = __require("util");
1645
1645
  function getStats(src, dest, opts) {
1646
1646
  const statFunc = opts.dereference ? (file) => fs3.stat(file, { bigint: true }) : (file) => fs3.lstat(file, { bigint: true });
@@ -1670,8 +1670,8 @@ var require_stat = __commonJS({
1670
1670
  const { srcStat, destStat } = stats;
1671
1671
  if (destStat) {
1672
1672
  if (areIdentical(srcStat, destStat)) {
1673
- const srcBaseName = path9.basename(src);
1674
- const destBaseName = path9.basename(dest);
1673
+ const srcBaseName = path10.basename(src);
1674
+ const destBaseName = path10.basename(dest);
1675
1675
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
1676
1676
  return cb(null, { srcStat, destStat, isChangingCase: true });
1677
1677
  }
@@ -1694,8 +1694,8 @@ var require_stat = __commonJS({
1694
1694
  const { srcStat, destStat } = getStatsSync(src, dest, opts);
1695
1695
  if (destStat) {
1696
1696
  if (areIdentical(srcStat, destStat)) {
1697
- const srcBaseName = path9.basename(src);
1698
- const destBaseName = path9.basename(dest);
1697
+ const srcBaseName = path10.basename(src);
1698
+ const destBaseName = path10.basename(dest);
1699
1699
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
1700
1700
  return { srcStat, destStat, isChangingCase: true };
1701
1701
  }
@@ -1714,9 +1714,9 @@ var require_stat = __commonJS({
1714
1714
  return { srcStat, destStat };
1715
1715
  }
1716
1716
  function checkParentPaths(src, srcStat, dest, funcName, cb) {
1717
- const srcParent = path9.resolve(path9.dirname(src));
1718
- const destParent = path9.resolve(path9.dirname(dest));
1719
- if (destParent === srcParent || destParent === path9.parse(destParent).root) return cb();
1717
+ const srcParent = path10.resolve(path10.dirname(src));
1718
+ const destParent = path10.resolve(path10.dirname(dest));
1719
+ if (destParent === srcParent || destParent === path10.parse(destParent).root) return cb();
1720
1720
  fs3.stat(destParent, { bigint: true }, (err, destStat) => {
1721
1721
  if (err) {
1722
1722
  if (err.code === "ENOENT") return cb();
@@ -1729,9 +1729,9 @@ var require_stat = __commonJS({
1729
1729
  });
1730
1730
  }
1731
1731
  function checkParentPathsSync(src, srcStat, dest, funcName) {
1732
- const srcParent = path9.resolve(path9.dirname(src));
1733
- const destParent = path9.resolve(path9.dirname(dest));
1734
- if (destParent === srcParent || destParent === path9.parse(destParent).root) return;
1732
+ const srcParent = path10.resolve(path10.dirname(src));
1733
+ const destParent = path10.resolve(path10.dirname(dest));
1734
+ if (destParent === srcParent || destParent === path10.parse(destParent).root) return;
1735
1735
  let destStat;
1736
1736
  try {
1737
1737
  destStat = fs3.statSync(destParent, { bigint: true });
@@ -1748,8 +1748,8 @@ var require_stat = __commonJS({
1748
1748
  return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
1749
1749
  }
1750
1750
  function isSrcSubdir(src, dest) {
1751
- const srcArr = path9.resolve(src).split(path9.sep).filter((i) => i);
1752
- const destArr = path9.resolve(dest).split(path9.sep).filter((i) => i);
1751
+ const srcArr = path10.resolve(src).split(path10.sep).filter((i) => i);
1752
+ const destArr = path10.resolve(dest).split(path10.sep).filter((i) => i);
1753
1753
  return srcArr.reduce((acc, cur, i) => acc && destArr[i] === cur, true);
1754
1754
  }
1755
1755
  function errMsg(src, dest, funcName) {
@@ -1772,7 +1772,7 @@ var require_copy = __commonJS({
1772
1772
  "use strict";
1773
1773
  init_esm_shims();
1774
1774
  var fs3 = require_graceful_fs();
1775
- var path9 = __require("path");
1775
+ var path10 = __require("path");
1776
1776
  var mkdirs = require_mkdirs().mkdirs;
1777
1777
  var pathExists = require_path_exists().pathExists;
1778
1778
  var utimesMillis = require_utimes().utimesMillis;
@@ -1807,7 +1807,7 @@ var require_copy = __commonJS({
1807
1807
  });
1808
1808
  }
1809
1809
  function checkParentDir(destStat, src, dest, opts, cb) {
1810
- const destParent = path9.dirname(dest);
1810
+ const destParent = path10.dirname(dest);
1811
1811
  pathExists(destParent, (err, dirExists) => {
1812
1812
  if (err) return cb(err);
1813
1813
  if (dirExists) return getStats(destStat, src, dest, opts, cb);
@@ -1915,8 +1915,8 @@ var require_copy = __commonJS({
1915
1915
  return copyDirItem(items, item, src, dest, opts, cb);
1916
1916
  }
1917
1917
  function copyDirItem(items, item, src, dest, opts, cb) {
1918
- const srcItem = path9.join(src, item);
1919
- const destItem = path9.join(dest, item);
1918
+ const srcItem = path10.join(src, item);
1919
+ const destItem = path10.join(dest, item);
1920
1920
  stat2.checkPaths(srcItem, destItem, "copy", opts, (err, stats) => {
1921
1921
  if (err) return cb(err);
1922
1922
  const { destStat } = stats;
@@ -1930,7 +1930,7 @@ var require_copy = __commonJS({
1930
1930
  fs3.readlink(src, (err, resolvedSrc) => {
1931
1931
  if (err) return cb(err);
1932
1932
  if (opts.dereference) {
1933
- resolvedSrc = path9.resolve(process.cwd(), resolvedSrc);
1933
+ resolvedSrc = path10.resolve(process.cwd(), resolvedSrc);
1934
1934
  }
1935
1935
  if (!destStat) {
1936
1936
  return fs3.symlink(resolvedSrc, dest, cb);
@@ -1941,7 +1941,7 @@ var require_copy = __commonJS({
1941
1941
  return cb(err2);
1942
1942
  }
1943
1943
  if (opts.dereference) {
1944
- resolvedDest = path9.resolve(process.cwd(), resolvedDest);
1944
+ resolvedDest = path10.resolve(process.cwd(), resolvedDest);
1945
1945
  }
1946
1946
  if (stat2.isSrcSubdir(resolvedSrc, resolvedDest)) {
1947
1947
  return cb(new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`));
@@ -1970,7 +1970,7 @@ var require_copy_sync = __commonJS({
1970
1970
  "use strict";
1971
1971
  init_esm_shims();
1972
1972
  var fs3 = require_graceful_fs();
1973
- var path9 = __require("path");
1973
+ var path10 = __require("path");
1974
1974
  var mkdirsSync = require_mkdirs().mkdirsSync;
1975
1975
  var utimesMillisSync = require_utimes().utimesMillisSync;
1976
1976
  var stat2 = require_stat();
@@ -1994,7 +1994,7 @@ var require_copy_sync = __commonJS({
1994
1994
  }
1995
1995
  function handleFilterAndCopy(destStat, src, dest, opts) {
1996
1996
  if (opts.filter && !opts.filter(src, dest)) return;
1997
- const destParent = path9.dirname(dest);
1997
+ const destParent = path10.dirname(dest);
1998
1998
  if (!fs3.existsSync(destParent)) mkdirsSync(destParent);
1999
1999
  return getStats(destStat, src, dest, opts);
2000
2000
  }
@@ -2059,15 +2059,15 @@ var require_copy_sync = __commonJS({
2059
2059
  fs3.readdirSync(src).forEach((item) => copyDirItem(item, src, dest, opts));
2060
2060
  }
2061
2061
  function copyDirItem(item, src, dest, opts) {
2062
- const srcItem = path9.join(src, item);
2063
- const destItem = path9.join(dest, item);
2062
+ const srcItem = path10.join(src, item);
2063
+ const destItem = path10.join(dest, item);
2064
2064
  const { destStat } = stat2.checkPathsSync(srcItem, destItem, "copy", opts);
2065
2065
  return startCopy(destStat, srcItem, destItem, opts);
2066
2066
  }
2067
2067
  function onLink(destStat, src, dest, opts) {
2068
2068
  let resolvedSrc = fs3.readlinkSync(src);
2069
2069
  if (opts.dereference) {
2070
- resolvedSrc = path9.resolve(process.cwd(), resolvedSrc);
2070
+ resolvedSrc = path10.resolve(process.cwd(), resolvedSrc);
2071
2071
  }
2072
2072
  if (!destStat) {
2073
2073
  return fs3.symlinkSync(resolvedSrc, dest);
@@ -2080,7 +2080,7 @@ var require_copy_sync = __commonJS({
2080
2080
  throw err;
2081
2081
  }
2082
2082
  if (opts.dereference) {
2083
- resolvedDest = path9.resolve(process.cwd(), resolvedDest);
2083
+ resolvedDest = path10.resolve(process.cwd(), resolvedDest);
2084
2084
  }
2085
2085
  if (stat2.isSrcSubdir(resolvedSrc, resolvedDest)) {
2086
2086
  throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);
@@ -2118,7 +2118,7 @@ var require_rimraf = __commonJS({
2118
2118
  "use strict";
2119
2119
  init_esm_shims();
2120
2120
  var fs3 = require_graceful_fs();
2121
- var path9 = __require("path");
2121
+ var path10 = __require("path");
2122
2122
  var assert = __require("assert");
2123
2123
  var isWindows2 = process.platform === "win32";
2124
2124
  function defaults2(options) {
@@ -2263,7 +2263,7 @@ var require_rimraf = __commonJS({
2263
2263
  let errState;
2264
2264
  if (n3 === 0) return options.rmdir(p, cb);
2265
2265
  files.forEach((f) => {
2266
- rimraf(path9.join(p, f), options, (er2) => {
2266
+ rimraf(path10.join(p, f), options, (er2) => {
2267
2267
  if (errState) {
2268
2268
  return;
2269
2269
  }
@@ -2328,7 +2328,7 @@ var require_rimraf = __commonJS({
2328
2328
  function rmkidsSync(p, options) {
2329
2329
  assert(p);
2330
2330
  assert(options);
2331
- options.readdirSync(p).forEach((f) => rimrafSync(path9.join(p, f), options));
2331
+ options.readdirSync(p).forEach((f) => rimrafSync(path10.join(p, f), options));
2332
2332
  if (isWindows2) {
2333
2333
  const startTime = Date.now();
2334
2334
  do {
@@ -2356,13 +2356,13 @@ var require_remove = __commonJS({
2356
2356
  var fs3 = require_graceful_fs();
2357
2357
  var u = require_universalify().fromCallback;
2358
2358
  var rimraf = require_rimraf();
2359
- function remove2(path9, callback) {
2360
- if (fs3.rm) return fs3.rm(path9, { recursive: true, force: true }, callback);
2361
- rimraf(path9, callback);
2359
+ function remove2(path10, callback) {
2360
+ if (fs3.rm) return fs3.rm(path10, { recursive: true, force: true }, callback);
2361
+ rimraf(path10, callback);
2362
2362
  }
2363
- function removeSync(path9) {
2364
- if (fs3.rmSync) return fs3.rmSync(path9, { recursive: true, force: true });
2365
- rimraf.sync(path9);
2363
+ function removeSync(path10) {
2364
+ if (fs3.rmSync) return fs3.rmSync(path10, { recursive: true, force: true });
2365
+ rimraf.sync(path10);
2366
2366
  }
2367
2367
  module.exports = {
2368
2368
  remove: u(remove2),
@@ -2378,7 +2378,7 @@ var require_empty = __commonJS({
2378
2378
  init_esm_shims();
2379
2379
  var u = require_universalify().fromPromise;
2380
2380
  var fs3 = require_fs();
2381
- var path9 = __require("path");
2381
+ var path10 = __require("path");
2382
2382
  var mkdir = require_mkdirs();
2383
2383
  var remove2 = require_remove();
2384
2384
  var emptyDir = u(async function emptyDir2(dir) {
@@ -2388,7 +2388,7 @@ var require_empty = __commonJS({
2388
2388
  } catch {
2389
2389
  return mkdir.mkdirs(dir);
2390
2390
  }
2391
- return Promise.all(items.map((item) => remove2.remove(path9.join(dir, item))));
2391
+ return Promise.all(items.map((item) => remove2.remove(path10.join(dir, item))));
2392
2392
  });
2393
2393
  function emptyDirSync2(dir) {
2394
2394
  let items;
@@ -2398,7 +2398,7 @@ var require_empty = __commonJS({
2398
2398
  return mkdir.mkdirsSync(dir);
2399
2399
  }
2400
2400
  items.forEach((item) => {
2401
- item = path9.join(dir, item);
2401
+ item = path10.join(dir, item);
2402
2402
  remove2.removeSync(item);
2403
2403
  });
2404
2404
  }
@@ -2417,7 +2417,7 @@ var require_file = __commonJS({
2417
2417
  "use strict";
2418
2418
  init_esm_shims();
2419
2419
  var u = require_universalify().fromCallback;
2420
- var path9 = __require("path");
2420
+ var path10 = __require("path");
2421
2421
  var fs3 = require_graceful_fs();
2422
2422
  var mkdir = require_mkdirs();
2423
2423
  function createFile(file, callback) {
@@ -2429,7 +2429,7 @@ var require_file = __commonJS({
2429
2429
  }
2430
2430
  fs3.stat(file, (err, stats) => {
2431
2431
  if (!err && stats.isFile()) return callback();
2432
- const dir = path9.dirname(file);
2432
+ const dir = path10.dirname(file);
2433
2433
  fs3.stat(dir, (err2, stats2) => {
2434
2434
  if (err2) {
2435
2435
  if (err2.code === "ENOENT") {
@@ -2456,7 +2456,7 @@ var require_file = __commonJS({
2456
2456
  } catch {
2457
2457
  }
2458
2458
  if (stats && stats.isFile()) return;
2459
- const dir = path9.dirname(file);
2459
+ const dir = path10.dirname(file);
2460
2460
  try {
2461
2461
  if (!fs3.statSync(dir).isDirectory()) {
2462
2462
  fs3.readdirSync(dir);
@@ -2480,7 +2480,7 @@ var require_link = __commonJS({
2480
2480
  "use strict";
2481
2481
  init_esm_shims();
2482
2482
  var u = require_universalify().fromCallback;
2483
- var path9 = __require("path");
2483
+ var path10 = __require("path");
2484
2484
  var fs3 = require_graceful_fs();
2485
2485
  var mkdir = require_mkdirs();
2486
2486
  var pathExists = require_path_exists().pathExists;
@@ -2499,7 +2499,7 @@ var require_link = __commonJS({
2499
2499
  return callback(err);
2500
2500
  }
2501
2501
  if (dstStat && areIdentical(srcStat, dstStat)) return callback(null);
2502
- const dir = path9.dirname(dstpath);
2502
+ const dir = path10.dirname(dstpath);
2503
2503
  pathExists(dir, (err2, dirExists) => {
2504
2504
  if (err2) return callback(err2);
2505
2505
  if (dirExists) return makeLink(srcpath, dstpath);
@@ -2524,7 +2524,7 @@ var require_link = __commonJS({
2524
2524
  err.message = err.message.replace("lstat", "ensureLink");
2525
2525
  throw err;
2526
2526
  }
2527
- const dir = path9.dirname(dstpath);
2527
+ const dir = path10.dirname(dstpath);
2528
2528
  const dirExists = fs3.existsSync(dir);
2529
2529
  if (dirExists) return fs3.linkSync(srcpath, dstpath);
2530
2530
  mkdir.mkdirsSync(dir);
@@ -2542,11 +2542,11 @@ var require_symlink_paths = __commonJS({
2542
2542
  "../../node_modules/vite-plugin-externals/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports, module) {
2543
2543
  "use strict";
2544
2544
  init_esm_shims();
2545
- var path9 = __require("path");
2545
+ var path10 = __require("path");
2546
2546
  var fs3 = require_graceful_fs();
2547
2547
  var pathExists = require_path_exists().pathExists;
2548
2548
  function symlinkPaths(srcpath, dstpath, callback) {
2549
- if (path9.isAbsolute(srcpath)) {
2549
+ if (path10.isAbsolute(srcpath)) {
2550
2550
  return fs3.lstat(srcpath, (err) => {
2551
2551
  if (err) {
2552
2552
  err.message = err.message.replace("lstat", "ensureSymlink");
@@ -2558,8 +2558,8 @@ var require_symlink_paths = __commonJS({
2558
2558
  });
2559
2559
  });
2560
2560
  } else {
2561
- const dstdir = path9.dirname(dstpath);
2562
- const relativeToDst = path9.join(dstdir, srcpath);
2561
+ const dstdir = path10.dirname(dstpath);
2562
+ const relativeToDst = path10.join(dstdir, srcpath);
2563
2563
  return pathExists(relativeToDst, (err, exists) => {
2564
2564
  if (err) return callback(err);
2565
2565
  if (exists) {
@@ -2575,7 +2575,7 @@ var require_symlink_paths = __commonJS({
2575
2575
  }
2576
2576
  return callback(null, {
2577
2577
  toCwd: srcpath,
2578
- toDst: path9.relative(dstdir, srcpath)
2578
+ toDst: path10.relative(dstdir, srcpath)
2579
2579
  });
2580
2580
  });
2581
2581
  }
@@ -2584,7 +2584,7 @@ var require_symlink_paths = __commonJS({
2584
2584
  }
2585
2585
  function symlinkPathsSync(srcpath, dstpath) {
2586
2586
  let exists;
2587
- if (path9.isAbsolute(srcpath)) {
2587
+ if (path10.isAbsolute(srcpath)) {
2588
2588
  exists = fs3.existsSync(srcpath);
2589
2589
  if (!exists) throw new Error("absolute srcpath does not exist");
2590
2590
  return {
@@ -2592,8 +2592,8 @@ var require_symlink_paths = __commonJS({
2592
2592
  toDst: srcpath
2593
2593
  };
2594
2594
  } else {
2595
- const dstdir = path9.dirname(dstpath);
2596
- const relativeToDst = path9.join(dstdir, srcpath);
2595
+ const dstdir = path10.dirname(dstpath);
2596
+ const relativeToDst = path10.join(dstdir, srcpath);
2597
2597
  exists = fs3.existsSync(relativeToDst);
2598
2598
  if (exists) {
2599
2599
  return {
@@ -2605,7 +2605,7 @@ var require_symlink_paths = __commonJS({
2605
2605
  if (!exists) throw new Error("relative srcpath does not exist");
2606
2606
  return {
2607
2607
  toCwd: srcpath,
2608
- toDst: path9.relative(dstdir, srcpath)
2608
+ toDst: path10.relative(dstdir, srcpath)
2609
2609
  };
2610
2610
  }
2611
2611
  }
@@ -2656,7 +2656,7 @@ var require_symlink = __commonJS({
2656
2656
  "use strict";
2657
2657
  init_esm_shims();
2658
2658
  var u = require_universalify().fromCallback;
2659
- var path9 = __require("path");
2659
+ var path10 = __require("path");
2660
2660
  var fs3 = require_fs();
2661
2661
  var _mkdirs = require_mkdirs();
2662
2662
  var mkdirs = _mkdirs.mkdirs;
@@ -2690,7 +2690,7 @@ var require_symlink = __commonJS({
2690
2690
  srcpath = relative3.toDst;
2691
2691
  symlinkType(relative3.toCwd, type, (err2, type2) => {
2692
2692
  if (err2) return callback(err2);
2693
- const dir = path9.dirname(dstpath);
2693
+ const dir = path10.dirname(dstpath);
2694
2694
  pathExists(dir, (err3, dirExists) => {
2695
2695
  if (err3) return callback(err3);
2696
2696
  if (dirExists) return fs3.symlink(srcpath, dstpath, type2, callback);
@@ -2716,7 +2716,7 @@ var require_symlink = __commonJS({
2716
2716
  const relative3 = symlinkPathsSync(srcpath, dstpath);
2717
2717
  srcpath = relative3.toDst;
2718
2718
  type = symlinkTypeSync(relative3.toCwd, type);
2719
- const dir = path9.dirname(dstpath);
2719
+ const dir = path10.dirname(dstpath);
2720
2720
  const exists = fs3.existsSync(dir);
2721
2721
  if (exists) return fs3.symlinkSync(srcpath, dstpath, type);
2722
2722
  mkdirsSync(dir);
@@ -2873,7 +2873,7 @@ var require_output_file = __commonJS({
2873
2873
  init_esm_shims();
2874
2874
  var u = require_universalify().fromCallback;
2875
2875
  var fs3 = require_graceful_fs();
2876
- var path9 = __require("path");
2876
+ var path10 = __require("path");
2877
2877
  var mkdir = require_mkdirs();
2878
2878
  var pathExists = require_path_exists().pathExists;
2879
2879
  function outputFile(file, data2, encoding, callback) {
@@ -2881,7 +2881,7 @@ var require_output_file = __commonJS({
2881
2881
  callback = encoding;
2882
2882
  encoding = "utf8";
2883
2883
  }
2884
- const dir = path9.dirname(file);
2884
+ const dir = path10.dirname(file);
2885
2885
  pathExists(dir, (err, itDoes) => {
2886
2886
  if (err) return callback(err);
2887
2887
  if (itDoes) return fs3.writeFile(file, data2, encoding, callback);
@@ -2892,7 +2892,7 @@ var require_output_file = __commonJS({
2892
2892
  });
2893
2893
  }
2894
2894
  function outputFileSync(file, ...args) {
2895
- const dir = path9.dirname(file);
2895
+ const dir = path10.dirname(file);
2896
2896
  if (fs3.existsSync(dir)) {
2897
2897
  return fs3.writeFileSync(file, ...args);
2898
2898
  }
@@ -2961,7 +2961,7 @@ var require_move = __commonJS({
2961
2961
  "use strict";
2962
2962
  init_esm_shims();
2963
2963
  var fs3 = require_graceful_fs();
2964
- var path9 = __require("path");
2964
+ var path10 = __require("path");
2965
2965
  var copy = require_copy2().copy;
2966
2966
  var remove2 = require_remove().remove;
2967
2967
  var mkdirp = require_mkdirs().mkdirp;
@@ -2980,7 +2980,7 @@ var require_move = __commonJS({
2980
2980
  stat2.checkParentPaths(src, srcStat, dest, "move", (err2) => {
2981
2981
  if (err2) return cb(err2);
2982
2982
  if (isParentRoot(dest)) return doRename(src, dest, overwrite2, isChangingCase, cb);
2983
- mkdirp(path9.dirname(dest), (err3) => {
2983
+ mkdirp(path10.dirname(dest), (err3) => {
2984
2984
  if (err3) return cb(err3);
2985
2985
  return doRename(src, dest, overwrite2, isChangingCase, cb);
2986
2986
  });
@@ -2988,8 +2988,8 @@ var require_move = __commonJS({
2988
2988
  });
2989
2989
  }
2990
2990
  function isParentRoot(dest) {
2991
- const parent = path9.dirname(dest);
2992
- const parsedPath = path9.parse(parent);
2991
+ const parent = path10.dirname(dest);
2992
+ const parsedPath = path10.parse(parent);
2993
2993
  return parsedPath.root === parent;
2994
2994
  }
2995
2995
  function doRename(src, dest, overwrite2, isChangingCase, cb) {
@@ -3033,7 +3033,7 @@ var require_move_sync = __commonJS({
3033
3033
  "use strict";
3034
3034
  init_esm_shims();
3035
3035
  var fs3 = require_graceful_fs();
3036
- var path9 = __require("path");
3036
+ var path10 = __require("path");
3037
3037
  var copySync = require_copy2().copySync;
3038
3038
  var removeSync = require_remove().removeSync;
3039
3039
  var mkdirpSync = require_mkdirs().mkdirpSync;
@@ -3043,12 +3043,12 @@ var require_move_sync = __commonJS({
3043
3043
  const overwrite2 = opts.overwrite || opts.clobber || false;
3044
3044
  const { srcStat, isChangingCase = false } = stat2.checkPathsSync(src, dest, "move", opts);
3045
3045
  stat2.checkParentPathsSync(src, srcStat, dest, "move");
3046
- if (!isParentRoot(dest)) mkdirpSync(path9.dirname(dest));
3046
+ if (!isParentRoot(dest)) mkdirpSync(path10.dirname(dest));
3047
3047
  return doRename(src, dest, overwrite2, isChangingCase);
3048
3048
  }
3049
3049
  function isParentRoot(dest) {
3050
- const parent = path9.dirname(dest);
3051
- const parsedPath = path9.parse(parent);
3050
+ const parent = path10.dirname(dest);
3051
+ const parsedPath = path10.parse(parent);
3052
3052
  return parsedPath.root === parent;
3053
3053
  }
3054
3054
  function doRename(src, dest, overwrite2, isChangingCase) {
@@ -16154,12 +16154,12 @@ var require_pkcs1 = __commonJS({
16154
16154
  }
16155
16155
  return db.substring(index + 1);
16156
16156
  };
16157
- function rsa_mgf1(seed, maskLength, hash2) {
16158
- if (!hash2) {
16159
- hash2 = forge.md.sha1.create();
16157
+ function rsa_mgf1(seed, maskLength, hash3) {
16158
+ if (!hash3) {
16159
+ hash3 = forge.md.sha1.create();
16160
16160
  }
16161
16161
  var t = "";
16162
- var count = Math.ceil(maskLength / hash2.digestLength);
16162
+ var count = Math.ceil(maskLength / hash3.digestLength);
16163
16163
  for (var i = 0; i < count; ++i) {
16164
16164
  var c = String.fromCharCode(
16165
16165
  i >> 24 & 255,
@@ -16167,9 +16167,9 @@ var require_pkcs1 = __commonJS({
16167
16167
  i >> 8 & 255,
16168
16168
  i & 255
16169
16169
  );
16170
- hash2.start();
16171
- hash2.update(seed + c);
16172
- t += hash2.digest().getBytes();
16170
+ hash3.start();
16171
+ hash3.update(seed + c);
16172
+ t += hash3.digest().getBytes();
16173
16173
  }
16174
16174
  return t.substring(0, maskLength);
16175
16175
  }
@@ -18209,13 +18209,13 @@ var require_pbe = __commonJS({
18209
18209
  if (salt === null) {
18210
18210
  salt = "";
18211
18211
  }
18212
- var digests = [hash2(md, password + salt)];
18212
+ var digests = [hash3(md, password + salt)];
18213
18213
  for (var length3 = 16, i = 1; length3 < dkLen; ++i, length3 += 16) {
18214
- digests.push(hash2(md, digests[i - 1] + password + salt));
18214
+ digests.push(hash3(md, digests[i - 1] + password + salt));
18215
18215
  }
18216
18216
  return digests.join("").substr(0, dkLen);
18217
18217
  };
18218
- function hash2(md, bytes) {
18218
+ function hash3(md, bytes) {
18219
18219
  return md.start().update(bytes).digest().getBytes();
18220
18220
  }
18221
18221
  function prfOidToMessageDigest(prfOid) {
@@ -18681,9 +18681,9 @@ var require_pss = __commonJS({
18681
18681
  saltLength: arguments[2]
18682
18682
  };
18683
18683
  }
18684
- var hash2 = options.md;
18684
+ var hash3 = options.md;
18685
18685
  var mgf = options.mgf;
18686
- var hLen = hash2.digestLength;
18686
+ var hLen = hash3.digestLength;
18687
18687
  var salt_ = options.salt || null;
18688
18688
  if (typeof salt_ === "string") {
18689
18689
  salt_ = forge.util.createBuffer(salt_);
@@ -18719,9 +18719,9 @@ var require_pss = __commonJS({
18719
18719
  m_.fillWithByte(0, 8);
18720
18720
  m_.putBytes(mHash);
18721
18721
  m_.putBytes(salt);
18722
- hash2.start();
18723
- hash2.update(m_.getBytes());
18724
- var h = hash2.digest().getBytes();
18722
+ hash3.start();
18723
+ hash3.update(m_.getBytes());
18724
+ var h = hash3.digest().getBytes();
18725
18725
  var ps = new forge.util.ByteBuffer();
18726
18726
  ps.fillWithByte(0, emLen - sLen - hLen - 2);
18727
18727
  ps.putByte(1);
@@ -18775,9 +18775,9 @@ var require_pss = __commonJS({
18775
18775
  m_.fillWithByte(0, 8);
18776
18776
  m_.putBytes(mHash);
18777
18777
  m_.putBytes(salt);
18778
- hash2.start();
18779
- hash2.update(m_.getBytes());
18780
- var h_ = hash2.digest().getBytes();
18778
+ hash3.start();
18779
+ hash3.update(m_.getBytes());
18780
+ var h_ = hash3.digest().getBytes();
18781
18781
  return h === h_;
18782
18782
  };
18783
18783
  return pssobj;
@@ -19319,12 +19319,12 @@ var require_x509 = __commonJS({
19319
19319
  case oids.sha1WithRSASignature:
19320
19320
  break;
19321
19321
  case oids["RSASSA-PSS"]:
19322
- var hash2, mgf;
19323
- hash2 = oids[cert.signatureParameters.mgf.hash.algorithmOid];
19324
- if (hash2 === void 0 || forge.md[hash2] === void 0) {
19322
+ var hash3, mgf;
19323
+ hash3 = oids[cert.signatureParameters.mgf.hash.algorithmOid];
19324
+ if (hash3 === void 0 || forge.md[hash3] === void 0) {
19325
19325
  var error = new Error("Unsupported MGF hash function.");
19326
19326
  error.oid = cert.signatureParameters.mgf.hash.algorithmOid;
19327
- error.name = hash2;
19327
+ error.name = hash3;
19328
19328
  throw error;
19329
19329
  }
19330
19330
  mgf = oids[cert.signatureParameters.mgf.algorithmOid];
@@ -19334,16 +19334,16 @@ var require_x509 = __commonJS({
19334
19334
  error.name = mgf;
19335
19335
  throw error;
19336
19336
  }
19337
- mgf = forge.mgf[mgf].create(forge.md[hash2].create());
19338
- hash2 = oids[cert.signatureParameters.hash.algorithmOid];
19339
- if (hash2 === void 0 || forge.md[hash2] === void 0) {
19337
+ mgf = forge.mgf[mgf].create(forge.md[hash3].create());
19338
+ hash3 = oids[cert.signatureParameters.hash.algorithmOid];
19339
+ if (hash3 === void 0 || forge.md[hash3] === void 0) {
19340
19340
  var error = new Error("Unsupported RSASSA-PSS hash function.");
19341
19341
  error.oid = cert.signatureParameters.hash.algorithmOid;
19342
- error.name = hash2;
19342
+ error.name = hash3;
19343
19343
  throw error;
19344
19344
  }
19345
19345
  scheme = forge.pss.create(
19346
- forge.md[hash2].create(),
19346
+ forge.md[hash3].create(),
19347
19347
  mgf,
19348
19348
  cert.signatureParameters.saltLength
19349
19349
  );
@@ -20695,9 +20695,9 @@ var require_x509 = __commonJS({
20695
20695
  };
20696
20696
  caStore.listAllCertificates = function() {
20697
20697
  var certList = [];
20698
- for (var hash2 in caStore.certs) {
20699
- if (caStore.certs.hasOwnProperty(hash2)) {
20700
- var value = caStore.certs[hash2];
20698
+ for (var hash3 in caStore.certs) {
20699
+ if (caStore.certs.hasOwnProperty(hash3)) {
20700
+ var value = caStore.certs[hash3];
20701
20701
  if (!forge.util.isArray(value)) {
20702
20702
  certList.push(value);
20703
20703
  } else {
@@ -24852,13 +24852,13 @@ var require_ed25519 = __commonJS({
24852
24852
  var md = forge.md.sha512.create();
24853
24853
  var buffer = new ByteBuffer(msg);
24854
24854
  md.update(buffer.getBytes(msgLen), "binary");
24855
- var hash2 = md.digest().getBytes();
24855
+ var hash3 = md.digest().getBytes();
24856
24856
  if (typeof Buffer !== "undefined") {
24857
- return Buffer.from(hash2, "binary");
24857
+ return Buffer.from(hash3, "binary");
24858
24858
  }
24859
24859
  var out = new NativeBuffer(ed25519.constants.HASH_BYTE_LENGTH);
24860
24860
  for (var i = 0; i < 64; ++i) {
24861
- out[i] = hash2.charCodeAt(i);
24861
+ out[i] = hash3.charCodeAt(i);
24862
24862
  }
24863
24863
  return out;
24864
24864
  }
@@ -25668,8 +25668,8 @@ var require_kem = __commonJS({
25668
25668
  c.putInt32(i);
25669
25669
  md.start();
25670
25670
  md.update(x + c.getBytes());
25671
- var hash2 = md.digest();
25672
- key.putBytes(hash2.getBytes(digestLength));
25671
+ var hash3 = md.digest();
25672
+ key.putBytes(hash3.getBytes(digestLength));
25673
25673
  }
25674
25674
  key.truncate(key.length() - length3);
25675
25675
  return key.getBytes();
@@ -27750,12 +27750,12 @@ function getIncluder(includePaths = defaultInclude, excludePaths = defaultExclud
27750
27750
  includePaths.forEach(addCompiledGlob, includers);
27751
27751
  excludePaths.forEach(addCompiledGlob, excluders);
27752
27752
  debug(`compiled globs:`, { includers, excluders });
27753
- return (path9) => {
27754
- path9 = path9.replace(/\?.+$/, "");
27755
- if (!relativeImportRE.test(path9)) {
27756
- path9 = `./${path9}`;
27753
+ return (path10) => {
27754
+ path10 = path10.replace(/\?.+$/, "");
27755
+ if (!relativeImportRE.test(path10)) {
27756
+ path10 = `./${path10}`;
27757
27757
  }
27758
- const test = (glob) => glob.test(path9);
27758
+ const test = (glob) => glob.test(path10);
27759
27759
  return includers.some(test) && !excluders.some(test);
27760
27760
  };
27761
27761
  }
@@ -27779,8 +27779,8 @@ function compileGlob(glob) {
27779
27779
  globstar: true
27780
27780
  }).regex;
27781
27781
  }
27782
- function ensureRelative(dir, path9) {
27783
- return isAbsolute(path9) ? relative(dir, path9) : path9;
27782
+ function ensureRelative(dir, path10) {
27783
+ return isAbsolute(path10) ? relative(dir, path10) : path10;
27784
27784
  }
27785
27785
 
27786
27786
  // ../cli-miniflare/src/index.ts
@@ -38506,7 +38506,7 @@ var getDashboardComponentBuildTemplate = (appId, dashboardComponent) => {
38506
38506
 
38507
38507
  // src/vite/plugins/module-bundle/custom-elements.ts
38508
38508
  init_esm_shims();
38509
- var getCustomElementBaseTemplate = (path9, tagName, appId) => (
38509
+ var getCustomElementBaseTemplate = (path10, tagName, appId) => (
38510
38510
  // In UsersCustomElementClass we have class that will be registered in customElements registry
38511
38511
  // Then this class will be used to create instances for each of elements of our CustomElement
38512
38512
  // That's why we patching it's proto with accessTokenListener (in case user do not have it), so then platform could call it on each of instances
@@ -38517,7 +38517,7 @@ var getCustomElementBaseTemplate = (path9, tagName, appId) => (
38517
38517
  await import('https://unpkg.com/react@16.14.0/umd/react.production.min.js');
38518
38518
  await import('https://unpkg.com/react-dom@16.14.0/umd/react-dom.production.min.js');
38519
38519
  }
38520
- const { default: UsersCustomElementClass } = await import('${path9}');
38520
+ const { default: UsersCustomElementClass } = await import('${path10}');
38521
38521
 
38522
38522
  let accessTokenListenerFn = UsersCustomElementClass.prototype.accessTokenListener;
38523
38523
  if (!accessTokenListenerFn) {
@@ -38570,7 +38570,7 @@ var getCustomElementPanelBuildTemplate = (customElementPanelComponent) => {
38570
38570
 
38571
38571
  // src/vite/plugins/module-bundle/site-components.ts
38572
38572
  init_esm_shims();
38573
- var getSiteComponentBaseTemplate = (applicationId, path9) => {
38573
+ var getSiteComponentBaseTemplate = (applicationId, path10) => {
38574
38574
  return defaultOutdent`
38575
38575
  import { enableClient } from '@wix/cli-app/internal/platform-sdk/site';
38576
38576
 
@@ -38578,7 +38578,7 @@ var getSiteComponentBaseTemplate = (applicationId, path9) => {
38578
38578
 
38579
38579
  export { injectAccessTokenGetter };
38580
38580
 
38581
- export { default } from '${path9}';
38581
+ export { default } from '${path10}';
38582
38582
  `;
38583
38583
  };
38584
38584
  var getSiteComponentDevTemplate = (applicationId, component) => getSiteComponentBaseTemplate(
@@ -38592,9 +38592,9 @@ var getSiteComponentSdkDevTemplate = (component) => {
38592
38592
  var getSiteComponentSdkBuildTemplate = (component) => {
38593
38593
  return `export { default } from '/${component.relativeSdkPath}';`;
38594
38594
  };
38595
- var getSiteComponentPanelBaseTemplate = (path9) => defaultOutdent`
38595
+ var getSiteComponentPanelBaseTemplate = (path10) => defaultOutdent`
38596
38596
  import { enablePanelClient } from '@wix/cli-app/internal/platform-sdk/site';
38597
- import Component from '${path9}';
38597
+ import Component from '${path10}';
38598
38598
 
38599
38599
  export default (config) => {
38600
38600
  const clientConfig = (config.host && config.auth) ? {
@@ -39254,7 +39254,33 @@ var exportsCustodian = ({ initialModel }) => {
39254
39254
  return [
39255
39255
  ...virtualSiteComponentAssets.keys(),
39256
39256
  ...virtualSiteComponentPanelAssets.keys()
39257
- ].map((path9) => `import('${path9}');`).join("\n");
39257
+ ].map((path10) => `import('${path10}');`).join("\n");
39258
+ }
39259
+ return null;
39260
+ }
39261
+ };
39262
+ };
39263
+
39264
+ // src/vite/plugins/force-hash-refresh.ts
39265
+ init_esm_shims();
39266
+ import path7 from "node:path";
39267
+ var hash2 = Number(Date.now());
39268
+ var forceHashRefresh = () => {
39269
+ return {
39270
+ name: "wix:force-hash-refresh",
39271
+ transform(code, id) {
39272
+ const extensions = /* @__PURE__ */ new Set([".ts", ".tsx", ".js", ".jsx", ".mjs"]);
39273
+ const extension = path7.extname(id);
39274
+ if (extensions.has(extension)) {
39275
+ const variables = ["import.meta.env.BASE_API_URL"];
39276
+ if (variables.some((variable) => code.includes(variable))) {
39277
+ return {
39278
+ code: `${code}
39279
+
39280
+ /*! ENV_HASH:${hash2} */`,
39281
+ map: null
39282
+ };
39283
+ }
39258
39284
  }
39259
39285
  return null;
39260
39286
  }
@@ -39353,7 +39379,8 @@ function getViteConfig2(model, options) {
39353
39379
  src_default({
39354
39380
  ignoreConfigErrors: true,
39355
39381
  root: model.projectFolder
39356
- })
39382
+ }),
39383
+ forceHashRefresh()
39357
39384
  ],
39358
39385
  experimental: {
39359
39386
  /*
@@ -39441,7 +39468,8 @@ function getViteConfig3(model, options) {
39441
39468
  src_default({
39442
39469
  ignoreConfigErrors: true,
39443
39470
  root: model.projectFolder
39444
- })
39471
+ }),
39472
+ forceHashRefresh()
39445
39473
  ]
39446
39474
  };
39447
39475
  }
@@ -39508,7 +39536,8 @@ function getViteConfig4(model, options) {
39508
39536
  src_default({
39509
39537
  ignoreConfigErrors: true,
39510
39538
  root: model.projectFolder
39511
- })
39539
+ }),
39540
+ forceHashRefresh()
39512
39541
  ]
39513
39542
  };
39514
39543
  });
@@ -39527,7 +39556,7 @@ init_esm_shims();
39527
39556
  init_esm_shims();
39528
39557
  var import_selfsigned = __toESM(require_selfsigned(), 1);
39529
39558
  import { readFile as readFile4, writeFile as writeFile2, stat } from "node:fs/promises";
39530
- import path7 from "node:path";
39559
+ import path8 from "node:path";
39531
39560
  var PEM_FILENAME = "wix-cli.pem";
39532
39561
  var PEM_MAX_DAYS = 30;
39533
39562
  var attrs = [
@@ -39570,7 +39599,7 @@ var shouldRecreatePem = async (wixCliPemPath) => {
39570
39599
  };
39571
39600
  var generateHostCert = async () => {
39572
39601
  const wixDataDir = getDataDirPath();
39573
- const wixCliPemPath = path7.join(wixDataDir, PEM_FILENAME);
39602
+ const wixCliPemPath = path8.join(wixDataDir, PEM_FILENAME);
39574
39603
  const recreatePem = await shouldRecreatePem(wixCliPemPath);
39575
39604
  if (!recreatePem) {
39576
39605
  const cachedCert = await readFile4(wixCliPemPath, {
@@ -40363,7 +40392,7 @@ async function createAppManifest({
40363
40392
  // src/app-manifest/component-source.ts
40364
40393
  init_esm_shims();
40365
40394
  var import_variant5 = __toESM(require_lib(), 1);
40366
- import path8, { dirname as dirname5, join as join7 } from "node:path";
40395
+ import path9, { dirname as dirname5, join as join7 } from "node:path";
40367
40396
  import { pathToFileURL as pathToFileURL2 } from "node:url";
40368
40397
 
40369
40398
  // src/app-manifest/build-output-data-extractor.ts
@@ -40555,7 +40584,7 @@ var embeddedScriptBuilder = async (model, component, source) => {
40555
40584
  return {
40556
40585
  template: source.buildSource ? extractModuleBundleContent(
40557
40586
  source.buildSource.browserBuildOutput,
40558
- path8.resolve(model.projectFolder, component.relativePath)
40587
+ path9.resolve(model.projectFolder, component.relativePath)
40559
40588
  ) : await getEmbeddedScriptDevTemplate(
40560
40589
  component,
40561
40590
  source.devSource.devServerUrl
@@ -41945,4 +41974,4 @@ export {
41945
41974
  he/he.js:
41946
41975
  (*! https://mths.be/he v1.2.0 by @mathias | MIT license *)
41947
41976
  */
41948
- //# sourceMappingURL=chunk-4IYY6ZGZ.js.map
41977
+ //# sourceMappingURL=chunk-OSDDOY2U.js.map