fdb2 1.0.23 → 1.0.26

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.
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./layout.js","./rolldown-runtime.js","./vue.js","./layout.css","./explorer.js","./explorer.css","./vconsole.min.js"])))=>i.map(i=>d[i]);
2
- import { a as __toESM, i as __require, n as __esmMin, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime.js";
2
+ import { a as __toESM, n as __esmMin, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime.js";
3
3
  import { $ as reactive, A as getCurrentInstance, B as renderSlot, C as createCommentVNode, D as createTextVNode, H as resolveDynamicComponent, I as onMounted, K as effectScope, L as onUnmounted, N as inject, O as createVNode, P as nextTick, Q as onScopeDispose, R as openBlock, S as createBlock, U as watch, V as resolveComponent, X as isRef, Y as isReactive, Z as markRaw, a as useTitle, at as normalizeClass, b as computed, c as init_vue_router, d as init_vue_runtime_esm_bundler, et as ref, f as createApp, i as init_core, j as hasInjectionContext, k as defineComponent, n as init_vue_i18n, nt as toRefs, o as createRouter, ot as normalizeStyle, q as getCurrentScope, r as useI18n, rt as unref, s as createWebHistory, st as toDisplayString, t as createI18n, tt as toRaw, v as withModifiers, w as createElementBlock, x as createBaseVNode, y as Fragment, z as renderList } from "./vue.js";
4
4
  import { i as init_bootstrap, n as init_bootstrap_esm, r as init_bootstrap_icons, t as Modal } from "./bootstrap.js";
5
5
  //#region \0vite/modulepreload-polyfill.js
@@ -53,10 +53,10 @@ var init_App = __esmMin((() => {
53
53
  init_vue_runtime_esm_bundler();
54
54
  init__plugin_vue_export_helper();
55
55
  _sfc_main = {};
56
- App_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
56
+ App_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
57
57
  }));
58
58
  //#endregion
59
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/bind.js
59
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/bind.js
60
60
  /**
61
61
  * Create a bound version of a function with a specified `this` context
62
62
  *
@@ -71,7 +71,7 @@ function bind(fn, thisArg) {
71
71
  }
72
72
  var init_bind = __esmMin((() => {}));
73
73
  //#endregion
74
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/utils.js
74
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/utils.js
75
75
  /**
76
76
  * Determine if a value is a Buffer
77
77
  *
@@ -185,14 +185,24 @@ function merge(...objs) {
185
185
  const result = {};
186
186
  const assignValue = (val, key) => {
187
187
  if (key === "__proto__" || key === "constructor" || key === "prototype") return;
188
- const targetKey = caseless && findKey(result, key) || key;
188
+ const targetKey = caseless && typeof key === "string" && findKey(result, key) || key;
189
189
  const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : void 0;
190
190
  if (isPlainObject$1(existing) && isPlainObject$1(val)) result[targetKey] = merge(existing, val);
191
191
  else if (isPlainObject$1(val)) result[targetKey] = merge({}, val);
192
192
  else if (isArray(val)) result[targetKey] = val.slice();
193
193
  else if (!skipUndefined || !isUndefined(val)) result[targetKey] = val;
194
194
  };
195
- for (let i = 0, l = objs.length; i < l; i++) objs[i] && forEach(objs[i], assignValue);
195
+ for (let i = 0, l = objs.length; i < l; i++) {
196
+ const source = objs[i];
197
+ if (!source || isBuffer(source)) continue;
198
+ forEach(source, assignValue);
199
+ if (typeof source !== "object" || isArray(source)) continue;
200
+ const symbols = Object.getOwnPropertySymbols(source);
201
+ for (let j = 0; j < symbols.length; j++) {
202
+ const symbol = symbols[j];
203
+ if (propertyIsEnumerable.call(source, symbol)) assignValue(source[symbol], symbol);
204
+ }
205
+ }
196
206
  return result;
197
207
  }
198
208
  /**
@@ -205,7 +215,7 @@ function merge(...objs) {
205
215
  function isSpecCompliantForm(thing) {
206
216
  return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
207
217
  }
208
- var toString, getPrototypeOf, iterator, toStringTag, kindOf, kindOfTest, typeOfTest, isArray, isUndefined, isArrayBuffer, isString, isFunction$1, isNumber, isObject, isBoolean, isPlainObject$1, isEmptyObject, isDate, isFile, isReactNativeBlob, isReactNative, isBlob, isFileList, isStream, G, FormDataCtor, isFormData, isURLSearchParams, isReadableStream, isRequest, isResponse, isHeaders, trim, _global$1, isContextDefined, extend, stripBOM, inherits, toFlatObject, endsWith, toArray, isTypedArray, forEachEntry, matchAll, isHTMLForm, toCamelCase, hasOwnProperty, isRegExp, reduceDescriptors, freezeMethods, toObjectSet, noop$1, toFiniteNumber, toJSONObject, isAsyncFn, isThenable, _setImmediate, asap, isIterable, utils_default;
218
+ var toString, getPrototypeOf, iterator, toStringTag, kindOf, kindOfTest, typeOfTest, isArray, isUndefined, isArrayBuffer, isString, isFunction$1, isNumber, isObject, isBoolean, isPlainObject$1, isEmptyObject, isDate, isFile, isReactNativeBlob, isReactNative, isBlob, isFileList, isStream, G, FormDataCtor, isFormData, isURLSearchParams, isReadableStream, isRequest, isResponse, isHeaders, trim, _global$1, isContextDefined, extend, stripBOM, inherits, toFlatObject, endsWith, toArray, isTypedArray, forEachEntry, matchAll, isHTMLForm, toCamelCase, hasOwnProperty, propertyIsEnumerable, isRegExp, reduceDescriptors, freezeMethods, toObjectSet, noop$1, toFiniteNumber, toJSONObject, isAsyncFn, isThenable, _setImmediate, asap, isIterable, utils_default;
209
219
  var init_utils$1 = __esmMin((() => {
210
220
  init_bind();
211
221
  ({toString} = Object.prototype);
@@ -377,6 +387,7 @@ var init_utils$1 = __esmMin((() => {
377
387
  });
378
388
  };
379
389
  hasOwnProperty = (({ hasOwnProperty }) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);
390
+ ({propertyIsEnumerable} = Object.prototype);
380
391
  isRegExp = kindOfTest("RegExp");
381
392
  reduceDescriptors = (obj, reducer) => {
382
393
  const descriptors = Object.getOwnPropertyDescriptors(obj);
@@ -520,7 +531,7 @@ var init_utils$1 = __esmMin((() => {
520
531
  };
521
532
  }));
522
533
  //#endregion
523
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/parseHeaders.js
534
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/parseHeaders.js
524
535
  var ignoreDuplicateOf, parseHeaders_default;
525
536
  var init_parseHeaders = __esmMin((() => {
526
537
  init_utils$1();
@@ -561,7 +572,7 @@ var init_parseHeaders = __esmMin((() => {
561
572
  };
562
573
  }));
563
574
  //#endregion
564
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js
575
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/sanitizeHeaderValue.js
565
576
  function trimSPorHTAB(str) {
566
577
  let start = 0;
567
578
  let end = str.length;
@@ -597,7 +608,7 @@ var init_sanitizeHeaderValue = __esmMin((() => {
597
608
  sanitizeByteStringHeaderValue = (value) => sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);
598
609
  }));
599
610
  //#endregion
600
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosHeaders.js
611
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/core/AxiosHeaders.js
601
612
  function normalizeHeader(header) {
602
613
  return header && String(header).trim().toLowerCase();
603
614
  }
@@ -655,7 +666,7 @@ var init_AxiosHeaders = __esmMin((() => {
655
666
  const self = this;
656
667
  function setHeader(_value, _header, _rewrite) {
657
668
  const lHeader = normalizeHeader(_header);
658
- if (!lHeader) throw new Error("header name must be a non-empty string");
669
+ if (!lHeader) return;
659
670
  const key = utils_default.findKey(self, lHeader);
660
671
  if (!key || self[key] === void 0 || _rewrite === true || _rewrite === void 0 && self[key] !== false) self[key || _header] = normalizeValue(_value);
661
672
  }
@@ -665,7 +676,7 @@ var init_AxiosHeaders = __esmMin((() => {
665
676
  else if (utils_default.isObject(header) && utils_default.isIterable(header)) {
666
677
  let obj = {}, dest, key;
667
678
  for (const entry of header) {
668
- if (!utils_default.isArray(entry)) throw TypeError("Object iterator must return a key-value pair");
679
+ if (!utils_default.isArray(entry)) throw new TypeError("Object iterator must return a key-value pair");
669
680
  obj[key = entry[0]] = (dest = obj[key]) ? utils_default.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
670
681
  }
671
682
  setHeaders(obj, valueOrRewrite);
@@ -805,7 +816,7 @@ var init_AxiosHeaders = __esmMin((() => {
805
816
  utils_default.freezeMethods(AxiosHeaders$1);
806
817
  }));
807
818
  //#endregion
808
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/AxiosError.js
819
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/core/AxiosError.js
809
820
  function hasOwnOrPrototypeToJSON(source) {
810
821
  if (utils_default.hasOwnProp(source, "toJSON")) return true;
811
822
  let prototype = Object.getPrototypeOf(source);
@@ -926,10 +937,10 @@ var init_AxiosError = __esmMin((() => {
926
937
  AxiosError$1.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
927
938
  }));
928
939
  //#endregion
929
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/null.js
940
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/null.js
930
941
  var init_null = __esmMin((() => {}));
931
942
  //#endregion
932
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/toFormData.js
943
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/toFormData.js
933
944
  /**
934
945
  * Determines if the given thing is a array or js object.
935
946
  *
@@ -1065,7 +1076,7 @@ function toFormData$1(obj, formData, options) {
1065
1076
  function build(value, path, depth = 0) {
1066
1077
  if (utils_default.isUndefined(value)) return;
1067
1078
  if (depth > maxDepth) throw new AxiosError$1("Object is too deeply nested (" + depth + " levels). Max depth: " + maxDepth, AxiosError$1.ERR_FORM_DATA_DEPTH_EXCEEDED);
1068
- if (stack.indexOf(value) !== -1) throw Error("Circular reference detected in " + path.join("."));
1079
+ if (stack.indexOf(value) !== -1) throw new Error("Circular reference detected in " + path.join("."));
1069
1080
  stack.push(value);
1070
1081
  utils_default.forEach(value, function each(el, key) {
1071
1082
  if ((!(utils_default.isUndefined(el) || el === null) && visitor.call(formData, el, utils_default.isString(key) ? key.trim() : key, path, exposedHelpers)) === true) build(el, path ? path.concat(key) : [key], depth + 1);
@@ -1086,7 +1097,7 @@ var init_toFormData = __esmMin((() => {
1086
1097
  });
1087
1098
  }));
1088
1099
  //#endregion
1089
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
1100
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
1090
1101
  /**
1091
1102
  * It encodes a string by replacing all characters that are not in the unreserved set with
1092
1103
  * their percent-encoded equivalents
@@ -1137,7 +1148,7 @@ var init_AxiosURLSearchParams = __esmMin((() => {
1137
1148
  };
1138
1149
  }));
1139
1150
  //#endregion
1140
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/buildURL.js
1151
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/buildURL.js
1141
1152
  /**
1142
1153
  * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with
1143
1154
  * their plain counterparts (`:`, `$`, `,`, `+`).
@@ -1178,7 +1189,7 @@ var init_buildURL = __esmMin((() => {
1178
1189
  init_AxiosURLSearchParams();
1179
1190
  }));
1180
1191
  //#endregion
1181
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/InterceptorManager.js
1192
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/core/InterceptorManager.js
1182
1193
  var InterceptorManager;
1183
1194
  var init_InterceptorManager = __esmMin((() => {
1184
1195
  init_utils$1();
@@ -1240,37 +1251,38 @@ var init_InterceptorManager = __esmMin((() => {
1240
1251
  };
1241
1252
  }));
1242
1253
  //#endregion
1243
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/transitional.js
1254
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/defaults/transitional.js
1244
1255
  var transitional_default;
1245
1256
  var init_transitional = __esmMin((() => {
1246
1257
  transitional_default = {
1247
1258
  silentJSONParsing: true,
1248
1259
  forcedJSONParsing: true,
1249
1260
  clarifyTimeoutError: false,
1250
- legacyInterceptorReqResOrdering: true
1261
+ legacyInterceptorReqResOrdering: true,
1262
+ advertiseZstdAcceptEncoding: false
1251
1263
  };
1252
1264
  }));
1253
1265
  //#endregion
1254
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js
1266
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js
1255
1267
  var URLSearchParams_default;
1256
1268
  var init_URLSearchParams = __esmMin((() => {
1257
1269
  init_AxiosURLSearchParams();
1258
1270
  URLSearchParams_default = typeof URLSearchParams !== "undefined" ? URLSearchParams : AxiosURLSearchParams;
1259
1271
  }));
1260
1272
  //#endregion
1261
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/FormData.js
1273
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/platform/browser/classes/FormData.js
1262
1274
  var FormData_default;
1263
1275
  var init_FormData = __esmMin((() => {
1264
1276
  FormData_default = typeof FormData !== "undefined" ? FormData : null;
1265
1277
  }));
1266
1278
  //#endregion
1267
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/classes/Blob.js
1279
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/platform/browser/classes/Blob.js
1268
1280
  var Blob_default;
1269
1281
  var init_Blob = __esmMin((() => {
1270
1282
  Blob_default = typeof Blob !== "undefined" ? Blob : null;
1271
1283
  }));
1272
1284
  //#endregion
1273
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/browser/index.js
1285
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/platform/browser/index.js
1274
1286
  var browser_default;
1275
1287
  var init_browser = __esmMin((() => {
1276
1288
  init_URLSearchParams();
@@ -1294,7 +1306,7 @@ var init_browser = __esmMin((() => {
1294
1306
  };
1295
1307
  }));
1296
1308
  //#endregion
1297
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/common/utils.js
1309
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/platform/common/utils.js
1298
1310
  var utils_exports = /* @__PURE__ */ __exportAll({
1299
1311
  hasBrowserEnv: () => hasBrowserEnv,
1300
1312
  hasStandardBrowserEnv: () => hasStandardBrowserEnv,
@@ -1311,11 +1323,13 @@ var init_utils = __esmMin((() => {
1311
1323
  "NativeScript",
1312
1324
  "NS"
1313
1325
  ].indexOf(_navigator$1.product) < 0);
1314
- hasStandardBrowserWebWorkerEnv = typeof WorkerGlobalScope !== "undefined" && self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
1326
+ hasStandardBrowserWebWorkerEnv = (() => {
1327
+ return typeof WorkerGlobalScope !== "undefined" && self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
1328
+ })();
1315
1329
  origin = hasBrowserEnv && window.location.href || "http://localhost";
1316
1330
  }));
1317
1331
  //#endregion
1318
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/platform/index.js
1332
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/platform/index.js
1319
1333
  var platform_default;
1320
1334
  var init_platform = __esmMin((() => {
1321
1335
  init_browser();
@@ -1326,7 +1340,7 @@ var init_platform = __esmMin((() => {
1326
1340
  };
1327
1341
  }));
1328
1342
  //#endregion
1329
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/toURLEncodedForm.js
1343
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/toURLEncodedForm.js
1330
1344
  function toURLEncodedForm(data, options) {
1331
1345
  return toFormData$1(data, new platform_default.classes.URLSearchParams(), {
1332
1346
  visitor: function(value, key, path, helpers) {
@@ -1345,7 +1359,7 @@ var init_toURLEncodedForm = __esmMin((() => {
1345
1359
  init_platform();
1346
1360
  }));
1347
1361
  //#endregion
1348
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/formDataToJSON.js
1362
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/formDataToJSON.js
1349
1363
  /**
1350
1364
  * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
1351
1365
  *
@@ -1413,7 +1427,7 @@ var init_formDataToJSON = __esmMin((() => {
1413
1427
  init_utils$1();
1414
1428
  }));
1415
1429
  //#endregion
1416
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/defaults/index.js
1430
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/defaults/index.js
1417
1431
  /**
1418
1432
  * It takes a string, tries to parse it, and if it fails, it returns the stringified version
1419
1433
  * of the input
@@ -1531,7 +1545,7 @@ var init_defaults = __esmMin((() => {
1531
1545
  });
1532
1546
  }));
1533
1547
  //#endregion
1534
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/transformData.js
1548
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/core/transformData.js
1535
1549
  /**
1536
1550
  * Transform the data for a request or a response
1537
1551
  *
@@ -1557,13 +1571,13 @@ var init_transformData = __esmMin((() => {
1557
1571
  init_AxiosHeaders();
1558
1572
  }));
1559
1573
  //#endregion
1560
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/isCancel.js
1574
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/cancel/isCancel.js
1561
1575
  function isCancel$1(value) {
1562
1576
  return !!(value && value.__CANCEL__);
1563
1577
  }
1564
1578
  var init_isCancel = __esmMin((() => {}));
1565
1579
  //#endregion
1566
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CanceledError.js
1580
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/cancel/CanceledError.js
1567
1581
  var CanceledError$1;
1568
1582
  var init_CanceledError = __esmMin((() => {
1569
1583
  init_AxiosError();
@@ -1585,7 +1599,7 @@ var init_CanceledError = __esmMin((() => {
1585
1599
  };
1586
1600
  }));
1587
1601
  //#endregion
1588
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/settle.js
1602
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/core/settle.js
1589
1603
  /**
1590
1604
  * Resolve or reject a Promise based on response status.
1591
1605
  *
@@ -1604,14 +1618,14 @@ var init_settle = __esmMin((() => {
1604
1618
  init_AxiosError();
1605
1619
  }));
1606
1620
  //#endregion
1607
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/parseProtocol.js
1621
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/parseProtocol.js
1608
1622
  function parseProtocol(url) {
1609
1623
  const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url);
1610
1624
  return match && match[1] || "";
1611
1625
  }
1612
1626
  var init_parseProtocol = __esmMin((() => {}));
1613
1627
  //#endregion
1614
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/speedometer.js
1628
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/speedometer.js
1615
1629
  /**
1616
1630
  * Calculate data maxRate
1617
1631
  * @param {Number} [samplesCount= 10]
@@ -1647,7 +1661,7 @@ function speedometer(samplesCount, min) {
1647
1661
  }
1648
1662
  var init_speedometer = __esmMin((() => {}));
1649
1663
  //#endregion
1650
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/throttle.js
1664
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/throttle.js
1651
1665
  /**
1652
1666
  * Throttle decorator
1653
1667
  * @param {Function} fn
@@ -1685,7 +1699,7 @@ function throttle(fn, freq) {
1685
1699
  }
1686
1700
  var init_throttle = __esmMin((() => {}));
1687
1701
  //#endregion
1688
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/progressEventReducer.js
1702
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/progressEventReducer.js
1689
1703
  var progressEventReducer, progressEventDecorator, asyncDecorator;
1690
1704
  var init_progressEventReducer = __esmMin((() => {
1691
1705
  init_speedometer();
@@ -1726,7 +1740,7 @@ var init_progressEventReducer = __esmMin((() => {
1726
1740
  asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
1727
1741
  }));
1728
1742
  //#endregion
1729
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isURLSameOrigin.js
1743
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/isURLSameOrigin.js
1730
1744
  var isURLSameOrigin_default;
1731
1745
  var init_isURLSameOrigin = __esmMin((() => {
1732
1746
  init_platform();
@@ -1736,7 +1750,7 @@ var init_isURLSameOrigin = __esmMin((() => {
1736
1750
  })(new URL(platform_default.origin), platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)) : () => true;
1737
1751
  }));
1738
1752
  //#endregion
1739
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/cookies.js
1753
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/cookies.js
1740
1754
  var cookies_default;
1741
1755
  var init_cookies = __esmMin((() => {
1742
1756
  init_utils$1();
@@ -1774,7 +1788,7 @@ var init_cookies = __esmMin((() => {
1774
1788
  };
1775
1789
  }));
1776
1790
  //#endregion
1777
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isAbsoluteURL.js
1791
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/isAbsoluteURL.js
1778
1792
  /**
1779
1793
  * Determines whether the specified URL is absolute
1780
1794
  *
@@ -1788,7 +1802,7 @@ function isAbsoluteURL(url) {
1788
1802
  }
1789
1803
  var init_isAbsoluteURL = __esmMin((() => {}));
1790
1804
  //#endregion
1791
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/combineURLs.js
1805
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/combineURLs.js
1792
1806
  /**
1793
1807
  * Creates a new URL by combining the specified URLs
1794
1808
  *
@@ -1802,7 +1816,7 @@ function combineURLs(baseURL, relativeURL) {
1802
1816
  }
1803
1817
  var init_combineURLs = __esmMin((() => {}));
1804
1818
  //#endregion
1805
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/buildFullPath.js
1819
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/core/buildFullPath.js
1806
1820
  /**
1807
1821
  * Creates a new URL by combining the baseURL with the requestedURL,
1808
1822
  * only when the requestedURL is not already an absolute URL.
@@ -1823,7 +1837,7 @@ var init_buildFullPath = __esmMin((() => {
1823
1837
  init_combineURLs();
1824
1838
  }));
1825
1839
  //#endregion
1826
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/mergeConfig.js
1840
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/core/mergeConfig.js
1827
1841
  /**
1828
1842
  * Config-specific merge-function which creates a new config-object
1829
1843
  * by merging two configuration objects together.
@@ -1914,7 +1928,7 @@ var init_mergeConfig = __esmMin((() => {
1914
1928
  headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
1915
1929
  }));
1916
1930
  //#endregion
1917
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/resolveConfig.js
1931
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/resolveConfig.js
1918
1932
  function setFormDataHeaders(headers, formHeaders, policy) {
1919
1933
  if (policy !== "content-only") {
1920
1934
  headers.set(formHeaders);
@@ -1924,7 +1938,35 @@ function setFormDataHeaders(headers, formHeaders, policy) {
1924
1938
  if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) headers.set(key, val);
1925
1939
  });
1926
1940
  }
1927
- var FORM_DATA_CONTENT_HEADERS, encodeUTF8, resolveConfig_default;
1941
+ function resolveConfig(config) {
1942
+ const newConfig = mergeConfig$1({}, config);
1943
+ const own = (key) => utils_default.hasOwnProp(newConfig, key) ? newConfig[key] : void 0;
1944
+ const data = own("data");
1945
+ let withXSRFToken = own("withXSRFToken");
1946
+ const xsrfHeaderName = own("xsrfHeaderName");
1947
+ const xsrfCookieName = own("xsrfCookieName");
1948
+ let headers = own("headers");
1949
+ const auth = own("auth");
1950
+ const baseURL = own("baseURL");
1951
+ const allowAbsoluteUrls = own("allowAbsoluteUrls");
1952
+ const url = own("url");
1953
+ newConfig.headers = headers = AxiosHeaders$1.from(headers);
1954
+ newConfig.url = buildURL(buildFullPath(baseURL, url, allowAbsoluteUrls), own("params"), own("paramsSerializer"));
1955
+ if (auth) headers.set("Authorization", "Basic " + btoa((auth.username || "") + ":" + (auth.password ? encodeUTF8$1(auth.password) : "")));
1956
+ if (utils_default.isFormData(data)) {
1957
+ if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv || utils_default.isReactNative(data)) headers.setContentType(void 0);
1958
+ else if (utils_default.isFunction(data.getHeaders)) setFormDataHeaders(headers, data.getHeaders(), own("formDataHeaderPolicy"));
1959
+ }
1960
+ if (platform_default.hasStandardBrowserEnv) {
1961
+ if (utils_default.isFunction(withXSRFToken)) withXSRFToken = withXSRFToken(newConfig);
1962
+ if (withXSRFToken === true || withXSRFToken == null && isURLSameOrigin_default(newConfig.url)) {
1963
+ const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies_default.read(xsrfCookieName);
1964
+ if (xsrfValue) headers.set(xsrfHeaderName, xsrfValue);
1965
+ }
1966
+ }
1967
+ return newConfig;
1968
+ }
1969
+ var FORM_DATA_CONTENT_HEADERS, encodeUTF8$1;
1928
1970
  var init_resolveConfig = __esmMin((() => {
1929
1971
  init_platform();
1930
1972
  init_utils$1();
@@ -1935,38 +1977,10 @@ var init_resolveConfig = __esmMin((() => {
1935
1977
  init_AxiosHeaders();
1936
1978
  init_buildURL();
1937
1979
  FORM_DATA_CONTENT_HEADERS = ["content-type", "content-length"];
1938
- encodeUTF8 = (str) => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16)));
1939
- resolveConfig_default = (config) => {
1940
- const newConfig = mergeConfig$1({}, config);
1941
- const own = (key) => utils_default.hasOwnProp(newConfig, key) ? newConfig[key] : void 0;
1942
- const data = own("data");
1943
- let withXSRFToken = own("withXSRFToken");
1944
- const xsrfHeaderName = own("xsrfHeaderName");
1945
- const xsrfCookieName = own("xsrfCookieName");
1946
- let headers = own("headers");
1947
- const auth = own("auth");
1948
- const baseURL = own("baseURL");
1949
- const allowAbsoluteUrls = own("allowAbsoluteUrls");
1950
- const url = own("url");
1951
- newConfig.headers = headers = AxiosHeaders$1.from(headers);
1952
- newConfig.url = buildURL(buildFullPath(baseURL, url, allowAbsoluteUrls), config.params, config.paramsSerializer);
1953
- if (auth) headers.set("Authorization", "Basic " + btoa((auth.username || "") + ":" + (auth.password ? encodeUTF8(auth.password) : "")));
1954
- if (utils_default.isFormData(data)) {
1955
- if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv) headers.setContentType(void 0);
1956
- else if (utils_default.isFunction(data.getHeaders)) setFormDataHeaders(headers, data.getHeaders(), own("formDataHeaderPolicy"));
1957
- }
1958
- if (platform_default.hasStandardBrowserEnv) {
1959
- if (utils_default.isFunction(withXSRFToken)) withXSRFToken = withXSRFToken(newConfig);
1960
- if (withXSRFToken === true || withXSRFToken == null && isURLSameOrigin_default(newConfig.url)) {
1961
- const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies_default.read(xsrfCookieName);
1962
- if (xsrfValue) headers.set(xsrfHeaderName, xsrfValue);
1963
- }
1964
- }
1965
- return newConfig;
1966
- };
1980
+ encodeUTF8$1 = (str) => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16)));
1967
1981
  }));
1968
1982
  //#endregion
1969
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/xhr.js
1983
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/adapters/xhr.js
1970
1984
  var isXHRAdapterSupported, xhr_default;
1971
1985
  var init_xhr = __esmMin((() => {
1972
1986
  init_utils$1();
@@ -1983,7 +1997,7 @@ var init_xhr = __esmMin((() => {
1983
1997
  isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
1984
1998
  xhr_default = isXHRAdapterSupported && function(config) {
1985
1999
  return new Promise(function dispatchXhrRequest(resolve, reject) {
1986
- const _config = resolveConfig_default(config);
2000
+ const _config = resolveConfig(config);
1987
2001
  let requestData = _config.data;
1988
2002
  const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
1989
2003
  let { responseType, onUploadProgress, onDownloadProgress } = _config;
@@ -2081,7 +2095,7 @@ var init_xhr = __esmMin((() => {
2081
2095
  };
2082
2096
  }));
2083
2097
  //#endregion
2084
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/composeSignals.js
2098
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/composeSignals.js
2085
2099
  var composeSignals;
2086
2100
  var init_composeSignals = __esmMin((() => {
2087
2101
  init_CanceledError();
@@ -2120,7 +2134,7 @@ var init_composeSignals = __esmMin((() => {
2120
2134
  };
2121
2135
  }));
2122
2136
  //#endregion
2123
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/trackStream.js
2137
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/trackStream.js
2124
2138
  var streamChunk, readBytes, readStream, trackStream;
2125
2139
  var init_trackStream = __esmMin((() => {
2126
2140
  streamChunk = function* (chunk, chunkSize) {
@@ -2191,7 +2205,7 @@ var init_trackStream = __esmMin((() => {
2191
2205
  };
2192
2206
  }));
2193
2207
  //#endregion
2194
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
2208
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
2195
2209
  /**
2196
2210
  * Estimate decoded byte length of a data:// URL *without* allocating large buffers.
2197
2211
  * - For base64: compute exact decoded size using length and padding;
@@ -2256,11 +2270,11 @@ function estimateDataURLDecodedBytes(url) {
2256
2270
  }
2257
2271
  var init_estimateDataURLDecodedBytes = __esmMin((() => {}));
2258
2272
  //#endregion
2259
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/env/data.js
2273
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/env/data.js
2260
2274
  var VERSION$1;
2261
2275
  var init_data = __esmMin((() => {
2262
- VERSION$1 = "1.16.1";
2263
- })), DEFAULT_CHUNK_SIZE, isFunction, test, factory, seedCache, getFetch;
2276
+ VERSION$1 = "1.17.0";
2277
+ })), DEFAULT_CHUNK_SIZE, isFunction, encodeUTF8, decodeURIComponentSafe, test, maybeWithAuthCredentials, factory, seedCache, getFetch;
2264
2278
  var init_fetch = __esmMin((() => {
2265
2279
  init_platform();
2266
2280
  init_utils$1();
@@ -2276,6 +2290,15 @@ var init_fetch = __esmMin((() => {
2276
2290
  init_sanitizeHeaderValue();
2277
2291
  DEFAULT_CHUNK_SIZE = 64 * 1024;
2278
2292
  ({isFunction} = utils_default);
2293
+ encodeUTF8 = (str) => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16)));
2294
+ decodeURIComponentSafe = (value) => {
2295
+ if (!utils_default.isString(value)) return value;
2296
+ try {
2297
+ return decodeURIComponent(value);
2298
+ } catch (error) {
2299
+ return value;
2300
+ }
2301
+ };
2279
2302
  test = (fn, ...args) => {
2280
2303
  try {
2281
2304
  return !!fn(...args);
@@ -2283,6 +2306,12 @@ var init_fetch = __esmMin((() => {
2283
2306
  return false;
2284
2307
  }
2285
2308
  };
2309
+ maybeWithAuthCredentials = (url) => {
2310
+ const protocolIndex = url.indexOf("://");
2311
+ let urlToCheck = url;
2312
+ if (protocolIndex !== -1) urlToCheck = urlToCheck.slice(protocolIndex + 3);
2313
+ return urlToCheck.includes("@") || urlToCheck.includes(":");
2314
+ };
2286
2315
  factory = (env) => {
2287
2316
  const globalObject = utils_default.global !== void 0 && utils_default.global !== null ? utils_default.global : globalThis;
2288
2317
  const { ReadableStream, TextEncoder } = globalObject;
@@ -2313,19 +2342,21 @@ var init_fetch = __esmMin((() => {
2313
2342
  });
2314
2343
  const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
2315
2344
  const resolvers = { stream: supportsResponseStream && ((res) => res.body) };
2316
- isFetchSupported && [
2317
- "text",
2318
- "arrayBuffer",
2319
- "blob",
2320
- "formData",
2321
- "stream"
2322
- ].forEach((type) => {
2323
- !resolvers[type] && (resolvers[type] = (res, config) => {
2324
- let method = res && res[type];
2325
- if (method) return method.call(res);
2326
- throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
2345
+ isFetchSupported && (() => {
2346
+ [
2347
+ "text",
2348
+ "arrayBuffer",
2349
+ "blob",
2350
+ "formData",
2351
+ "stream"
2352
+ ].forEach((type) => {
2353
+ !resolvers[type] && (resolvers[type] = (res, config) => {
2354
+ let method = res && res[type];
2355
+ if (method) return method.call(res);
2356
+ throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
2357
+ });
2327
2358
  });
2328
- });
2359
+ })();
2329
2360
  const getBodyLength = async (body) => {
2330
2361
  if (body == null) return 0;
2331
2362
  if (utils_default.isBlob(body)) return body.size;
@@ -2342,9 +2373,10 @@ var init_fetch = __esmMin((() => {
2342
2373
  return length == null ? getBodyLength(body) : length;
2343
2374
  };
2344
2375
  return async (config) => {
2345
- let { url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = "same-origin", fetchOptions, maxContentLength, maxBodyLength } = resolveConfig_default(config);
2376
+ let { url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = "same-origin", fetchOptions, maxContentLength, maxBodyLength } = resolveConfig(config);
2346
2377
  const hasMaxContentLength = utils_default.isNumber(maxContentLength) && maxContentLength > -1;
2347
2378
  const hasMaxBodyLength = utils_default.isNumber(maxBodyLength) && maxBodyLength > -1;
2379
+ const own = (key) => utils_default.hasOwnProp(config, key) ? config[key] : void 0;
2348
2380
  let _fetch = envFetch || fetch;
2349
2381
  responseType = responseType ? (responseType + "").toLowerCase() : "text";
2350
2382
  let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
@@ -2354,6 +2386,28 @@ var init_fetch = __esmMin((() => {
2354
2386
  });
2355
2387
  let requestContentLength;
2356
2388
  try {
2389
+ let auth = void 0;
2390
+ const configAuth = own("auth");
2391
+ if (configAuth) auth = {
2392
+ username: configAuth.username || "",
2393
+ password: configAuth.password || ""
2394
+ };
2395
+ if (maybeWithAuthCredentials(url)) {
2396
+ const parsedURL = new URL(url, platform_default.origin);
2397
+ if (!auth && (parsedURL.username || parsedURL.password)) auth = {
2398
+ username: decodeURIComponentSafe(parsedURL.username),
2399
+ password: decodeURIComponentSafe(parsedURL.password)
2400
+ };
2401
+ if (parsedURL.username || parsedURL.password) {
2402
+ parsedURL.username = "";
2403
+ parsedURL.password = "";
2404
+ url = parsedURL.href;
2405
+ }
2406
+ }
2407
+ if (auth) {
2408
+ headers.delete("authorization");
2409
+ headers.set("Authorization", "Basic " + btoa(encodeUTF8((auth.username || "") + ":" + (auth.password || ""))));
2410
+ }
2357
2411
  if (hasMaxContentLength && typeof url === "string" && url.startsWith("data:")) {
2358
2412
  if (estimateDataURLDecodedBytes(url) > maxContentLength) throw new AxiosError$1("maxContentLength size of " + maxContentLength + " exceeded", AxiosError$1.ERR_BAD_RESPONSE, config, request);
2359
2413
  }
@@ -2478,7 +2532,7 @@ var init_fetch = __esmMin((() => {
2478
2532
  getFetch();
2479
2533
  }));
2480
2534
  //#endregion
2481
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/adapters/adapters.js
2535
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/adapters/adapters.js
2482
2536
  /**
2483
2537
  * Get the first suitable adapter from the provided list.
2484
2538
  * Tries each adapter in order until a supported one is found.
@@ -2554,7 +2608,7 @@ var init_adapters = __esmMin((() => {
2554
2608
  };
2555
2609
  }));
2556
2610
  //#endregion
2557
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/dispatchRequest.js
2611
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/core/dispatchRequest.js
2558
2612
  /**
2559
2613
  * Throws a `CanceledError` if cancellation has been requested.
2560
2614
  *
@@ -2617,7 +2671,7 @@ var init_dispatchRequest = __esmMin((() => {
2617
2671
  init_adapters();
2618
2672
  }));
2619
2673
  //#endregion
2620
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/validator.js
2674
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/validator.js
2621
2675
  /**
2622
2676
  * Assert object's properties type
2623
2677
  *
@@ -2695,7 +2749,7 @@ var init_validator = __esmMin((() => {
2695
2749
  };
2696
2750
  }));
2697
2751
  //#endregion
2698
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/core/Axios.js
2752
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/core/Axios.js
2699
2753
  var validators, Axios$1;
2700
2754
  var init_Axios = __esmMin((() => {
2701
2755
  init_utils$1();
@@ -2760,7 +2814,8 @@ var init_Axios = __esmMin((() => {
2760
2814
  silentJSONParsing: validators.transitional(validators.boolean),
2761
2815
  forcedJSONParsing: validators.transitional(validators.boolean),
2762
2816
  clarifyTimeoutError: validators.transitional(validators.boolean),
2763
- legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
2817
+ legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
2818
+ advertiseZstdAcceptEncoding: validators.transitional(validators.boolean)
2764
2819
  }, false);
2765
2820
  if (paramsSerializer != null) if (utils_default.isFunction(paramsSerializer)) config.paramsSerializer = { serialize: paramsSerializer };
2766
2821
  else validator_default.assertOptions(paramsSerializer, {
@@ -2875,7 +2930,7 @@ var init_Axios = __esmMin((() => {
2875
2930
  });
2876
2931
  }));
2877
2932
  //#endregion
2878
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/cancel/CancelToken.js
2933
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/cancel/CancelToken.js
2879
2934
  var CancelToken$1;
2880
2935
  var init_CancelToken = __esmMin((() => {
2881
2936
  init_CanceledError();
@@ -2960,7 +3015,7 @@ var init_CancelToken = __esmMin((() => {
2960
3015
  };
2961
3016
  }));
2962
3017
  //#endregion
2963
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/spread.js
3018
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/spread.js
2964
3019
  /**
2965
3020
  * Syntactic sugar for invoking a function and expanding an array for arguments.
2966
3021
  *
@@ -2989,7 +3044,7 @@ function spread$1(callback) {
2989
3044
  }
2990
3045
  var init_spread = __esmMin((() => {}));
2991
3046
  //#endregion
2992
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/isAxiosError.js
3047
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/isAxiosError.js
2993
3048
  /**
2994
3049
  * Determines whether the payload is an error thrown by Axios
2995
3050
  *
@@ -3004,7 +3059,7 @@ var init_isAxiosError = __esmMin((() => {
3004
3059
  init_utils$1();
3005
3060
  }));
3006
3061
  //#endregion
3007
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/helpers/HttpStatusCode.js
3062
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/helpers/HttpStatusCode.js
3008
3063
  var HttpStatusCode$1;
3009
3064
  var init_HttpStatusCode = __esmMin((() => {
3010
3065
  HttpStatusCode$1 = {
@@ -3083,7 +3138,7 @@ var init_HttpStatusCode = __esmMin((() => {
3083
3138
  });
3084
3139
  }));
3085
3140
  //#endregion
3086
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/lib/axios.js
3141
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/lib/axios.js
3087
3142
  /**
3088
3143
  * Create an instance of Axios
3089
3144
  *
@@ -3142,7 +3197,7 @@ var init_axios$1 = __esmMin((() => {
3142
3197
  axios$1.default = axios$1;
3143
3198
  }));
3144
3199
  //#endregion
3145
- //#region node_modules/.pnpm/axios@1.16.1/node_modules/axios/index.js
3200
+ //#region node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.js
3146
3201
  var Axios, AxiosError, CanceledError, isCancel, CancelToken, VERSION, all, Cancel, isAxiosError, spread, toFormData, AxiosHeaders, HttpStatusCode, formToJSON, getAdapter, mergeConfig, create;
3147
3202
  var init_axios = __esmMin((() => {
3148
3203
  init_axios$1();
@@ -3670,7 +3725,7 @@ var init_SysConfig = __esmMin((() => {
3670
3725
  sysConfig = new SysConfig(config_default.state);
3671
3726
  }));
3672
3727
  //#endregion
3673
- //#region node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.34_typescript@5.9.3_/node_modules/pinia/dist/pinia.mjs
3728
+ //#region node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.37_typescript@5.9.3_/node_modules/pinia/dist/pinia.mjs
3674
3729
  /*!
3675
3730
  * pinia v3.0.4
3676
3731
  * (c) 2025 Eduardo San Martin Morote
@@ -4084,9 +4139,9 @@ var init_pinia = __esmMin((() => {
4084
4139
  */
4085
4140
  MutationType["patchFunction"] = "patch function";
4086
4141
  })(MutationType || (MutationType = {}));
4087
- _global = /* @__PURE__ */ (() => typeof window === "object" && window.window === window ? window : typeof self === "object" && self.self === self ? self : typeof global === "object" && global.global === global ? global : typeof globalThis === "object" ? globalThis : { HTMLElement: null })();
4142
+ _global = /*#__PURE__*/ (() => typeof window === "object" && window.window === window ? window : typeof self === "object" && self.self === self ? self : typeof global === "object" && global.global === global ? global : typeof globalThis === "object" ? globalThis : { HTMLElement: null })();
4088
4143
  _navigator = typeof navigator === "object" ? navigator : { userAgent: "" };
4089
- isMacOSWebView = /* @__PURE__ */ (() => /Macintosh/.test(_navigator.userAgent) && /AppleWebKit/.test(_navigator.userAgent) && !/Safari/.test(_navigator.userAgent))();
4144
+ isMacOSWebView = /*#__PURE__*/ (() => /Macintosh/.test(_navigator.userAgent) && /AppleWebKit/.test(_navigator.userAgent) && !/Safari/.test(_navigator.userAgent))();
4090
4145
  saveAs = !IS_CLIENT ? () => {} : typeof HTMLAnchorElement !== "undefined" && "download" in HTMLAnchorElement.prototype && !isMacOSWebView ? downloadSaveAs : "msSaveOrOpenBlob" in _navigator ? msSaveAs : fileSaverSaveAs;
4091
4146
  ({assign: assign$1} = Object);
4092
4147
  noop = () => {};
@@ -4192,19 +4247,18 @@ var init_eventBus = __esmMin((() => {
4192
4247
  init_dist$1();
4193
4248
  AUTHTIMEOUT = "AUTHTIMEOUT";
4194
4249
  GlobalEventBus = new JEventEmitter();
4195
- })), isNWjs, isVSCode, isChromeExtension, isElectron, isBrowser, UA, VER_MQQ, IS_MQQ, VER_WEIXIN, IS_WEIXIN, IS_PCWEIXIN, VER_MINA, IS_MINA, os, android, ipad, ipod, iphone, chrome, x5;
4250
+ })), isVSCode, isElectron, isChromeExtension, isBrowser, UA, VER_MQQ, IS_MQQ, VER_WEIXIN, IS_WEIXIN, IS_PCWEIXIN, VER_MINA, IS_MINA, os, android, ipad, ipod, iphone, chrome, x5;
4196
4251
  var init_detect = __esmMin((() => {
4197
- isNWjs = typeof process !== "undefined" && process.__nwjs !== void 0;
4198
4252
  isVSCode = typeof acquireVsCodeApi !== "undefined" || typeof process !== "undefined" && {}.VSCODE_PID;
4199
- isChromeExtension = !isNWjs && !isVSCode && (() => {
4253
+ isElectron = typeof window !== "undefined" && window.electronAPI?.isElectron === true || typeof process === "object" && process.versions?.electron !== void 0;
4254
+ isChromeExtension = !isVSCode && (() => {
4200
4255
  try {
4201
4256
  return typeof chrome !== "undefined" && Boolean(chrome?.runtime) && Boolean(chrome?.runtime?.id);
4202
4257
  } catch (e) {
4203
4258
  return false;
4204
4259
  }
4205
4260
  })();
4206
- isElectron = typeof process === "object" && process.versions?.electron !== void 0;
4207
- isBrowser = typeof window !== "undefined" && !isNWjs && !isVSCode && !isChromeExtension && !isElectron;
4261
+ isBrowser = typeof window !== "undefined" && !isVSCode && !isChromeExtension && !isElectron;
4208
4262
  isBrowser && window.top;
4209
4263
  UA = isBrowser ? navigator.userAgent : "";
4210
4264
  /WindowsWechat/i.test(UA);
@@ -4251,62 +4305,29 @@ var init_detect = __esmMin((() => {
4251
4305
  }
4252
4306
  }));
4253
4307
  //#endregion
4254
- //#region __vite-browser-external
4255
- var require___vite_browser_external = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4256
- module.exports = {};
4257
- }));
4258
- //#endregion
4259
4308
  //#region src/service/base.ts
4260
4309
  function getRequestUrl(api) {
4261
4310
  if (/^(http(s)?:)?\/\//.test(api)) return api;
4262
4311
  return `${(config_default.apiUrl || `${location.protocol}//${location.hostname}${[80, 443].includes(Number(location.port)) ? "" : ":" + location.port}`).trim()}${config_default.prefix}${api}`;
4263
4312
  }
4264
4313
  async function requestServer(url, data, option) {
4265
- if (isNWjs) try {
4314
+ const electronAPI = window.electronAPI;
4315
+ if (isElectron && electronAPI?.api && electronAPI?.isPackaged) try {
4266
4316
  const apiPath = url.replace(/^(http(s)?:)?\/\//, "").replace(/.*?\/api\//, "/api/");
4267
- let server;
4268
- try {
4269
- server = __require("../server/index.js");
4270
- } catch (e) {
4271
- try {
4272
- const path = require___vite_browser_external();
4273
- const fs = require___vite_browser_external();
4274
- const appPath = process.cwd();
4275
- const serverFilePath = path.join(appPath, "server", "index.js");
4276
- console.log("尝试加载服务端代码:", serverFilePath);
4277
- if (fs.existsSync(serverFilePath)) server = __require(serverFilePath);
4278
- else server = __require("./server/index.js");
4279
- } catch (err) {
4280
- console.error("所有路径尝试失败:", err);
4281
- throw new Error("无法加载服务端代码");
4282
- }
4283
- }
4284
- const res = await server.handleDatabaseRoutes(apiPath, data);
4285
- const retData = {
4286
- ret: 0,
4287
- msg: "success",
4288
- data: res
4289
- };
4290
- if (res && typeof res === "object") {
4291
- if ("ret" in res && ("msg" in res || "message" in res)) {
4292
- retData.ret = res.ret;
4293
- retData.msg = res.msg || res.message;
4294
- retData.data = res.data;
4295
- }
4296
- }
4317
+ const plainData = data != null ? JSON.parse(JSON.stringify(data)) : data;
4297
4318
  return {
4298
4319
  status: 200,
4299
4320
  statusText: "OK",
4300
- data: retData
4321
+ data: await electronAPI.api.request(apiPath, plainData)
4301
4322
  };
4302
4323
  } catch (error) {
4303
- console.error("NW.js 环境下执行后端代码失败:", error);
4324
+ console.error("Electron IPC 调用失败:", error);
4304
4325
  return {
4305
4326
  status: 500,
4306
4327
  statusText: "Internal Server Error",
4307
4328
  data: {
4308
4329
  ret: 500,
4309
- msg: error.message || "执行失败"
4330
+ msg: error?.message || "执行失败"
4310
4331
  }
4311
4332
  };
4312
4333
  }
@@ -4338,8 +4359,8 @@ var init_base = __esmMin((() => {
4338
4359
  init_detect();
4339
4360
  }));
4340
4361
  //#endregion
4341
- //#region node_modules/.pnpm/js-cookie@3.0.7/node_modules/js-cookie/dist/js.cookie.mjs
4342
- /*! js-cookie v3.0.7 | MIT */
4362
+ //#region node_modules/.pnpm/js-cookie@3.0.8/node_modules/js-cookie/dist/js.cookie.mjs
4363
+ /*! js-cookie v3.0.8 | MIT */
4343
4364
  function assign(target) {
4344
4365
  for (var i = 1; i < arguments.length; i++) {
4345
4366
  var source = arguments[i];
@@ -4377,7 +4398,7 @@ function init(converter, defaultAttributes) {
4377
4398
  var found = decodeURIComponent(parts[0]);
4378
4399
  if (!(found in jar)) jar[found] = converter.read(value, found);
4379
4400
  if (name === found) break;
4380
- } catch {}
4401
+ } catch (_e) {}
4381
4402
  }
4382
4403
  return name ? jar[name] : jar;
4383
4404
  }
@@ -6136,7 +6157,7 @@ var init_router = __esmMin((() => {
6136
6157
  });
6137
6158
  }));
6138
6159
  //#endregion
6139
- //#region node_modules/.pnpm/pinia-plugin-persistedstate@4.7.1_pinia@3.0.4_typescript@5.9.3_vue@3.5.34_typescript@5.9.3__/node_modules/pinia-plugin-persistedstate/dist/index.js
6160
+ //#region node_modules/.pnpm/pinia-plugin-persistedstate@4.7.1_pinia@3.0.4_typescript@5.9.3_vue@3.5.37_typescript@5.9.3__/node_modules/pinia-plugin-persistedstate/dist/index.js
6140
6161
  function get(obj, path) {
6141
6162
  if (obj == null) return void 0;
6142
6163
  let value = obj;
@@ -6275,7 +6296,7 @@ var init_toast_vue_vue_type_script_setup_true_lang = __esmMin((() => {
6275
6296
  _hoisted_3$3 = { class: "me-auto" };
6276
6297
  _hoisted_4$2 = ["onClick"];
6277
6298
  _hoisted_5$2 = { class: "toast-body" };
6278
- toast_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
6299
+ toast_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
6279
6300
  __name: "toast",
6280
6301
  setup(__props, { expose: __expose }) {
6281
6302
  const toasts = reactive([]);
@@ -6325,7 +6346,7 @@ var init_toast$2 = __esmMin((() => {
6325
6346
  init_toast_vue_vue_type_script_setup_true_lang();
6326
6347
  init_toast_vue_vue_type_style_index_0_scoped_7d639c44_lang();
6327
6348
  init__plugin_vue_export_helper();
6328
- toast_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default(toast_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-7d639c44"]]);
6349
+ toast_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(toast_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-7d639c44"]]);
6329
6350
  }));
6330
6351
  //#endregion
6331
6352
  //#region src/utils/toast.ts
@@ -6412,7 +6433,7 @@ var init_index_vue_vue_type_script_setup_true_lang$2 = __esmMin((() => {
6412
6433
  key: 0,
6413
6434
  class: "m-3 text-primary"
6414
6435
  };
6415
- index_vue_vue_type_script_setup_true_lang_default$2 = /* @__PURE__ */ defineComponent({
6436
+ index_vue_vue_type_script_setup_true_lang_default$2 = /*@__PURE__*/ defineComponent({
6416
6437
  __name: "index",
6417
6438
  props: {
6418
6439
  isLoading: {
@@ -6448,7 +6469,7 @@ var init_loading = __esmMin((() => {
6448
6469
  init_index_vue_vue_type_script_setup_true_lang$2();
6449
6470
  init_index_vue_vue_type_style_index_0_scoped_4c24ced2_lang();
6450
6471
  init__plugin_vue_export_helper();
6451
- loading_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$2, [["__scopeId", "data-v-4c24ced2"]]);
6472
+ loading_default = /*#__PURE__*/ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$2, [["__scopeId", "data-v-4c24ced2"]]);
6452
6473
  }));
6453
6474
  //#endregion
6454
6475
  //#region src/components/modal/index.vue?vue&type=script&setup=true&lang.ts
@@ -6479,7 +6500,7 @@ var init_index_vue_vue_type_script_setup_true_lang$1 = __esmMin((() => {
6479
6500
  };
6480
6501
  _hoisted_8$1 = { class: "error-json" };
6481
6502
  _hoisted_9$1 = { class: "modal-footer" };
6482
- index_vue_vue_type_script_setup_true_lang_default$1 = /* @__PURE__ */ defineComponent({
6503
+ index_vue_vue_type_script_setup_true_lang_default$1 = /*@__PURE__*/ defineComponent({
6483
6504
  __name: "index",
6484
6505
  props: {
6485
6506
  title: {
@@ -6832,7 +6853,7 @@ var init_modal$1 = __esmMin((() => {
6832
6853
  init_index_vue_vue_type_script_setup_true_lang$1();
6833
6854
  init_index_vue_vue_type_style_index_0_scoped_a95e7049_lang();
6834
6855
  init__plugin_vue_export_helper();
6835
- modal_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$1, [["__scopeId", "data-v-a95e7049"]]);
6856
+ modal_default$1 = /*#__PURE__*/ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$1, [["__scopeId", "data-v-a95e7049"]]);
6836
6857
  }));
6837
6858
  //#endregion
6838
6859
  //#region src/components/dataGrid/pagination.vue?vue&type=script&setup=true&lang.ts
@@ -6846,7 +6867,7 @@ var init_pagination_vue_vue_type_script_setup_true_lang = __esmMin((() => {
6846
6867
  };
6847
6868
  _hoisted_2$1 = { class: "pagination" };
6848
6869
  _hoisted_3$1 = ["onClick", "tabindex"];
6849
- pagination_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
6870
+ pagination_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
6850
6871
  __name: "pagination",
6851
6872
  props: {
6852
6873
  totalPages: {
@@ -6969,7 +6990,7 @@ var init_index_vue_vue_type_script_setup_true_lang = __esmMin((() => {
6969
6990
  _hoisted_11 = { class: "table-group-divider" };
6970
6991
  _hoisted_12 = ["onClick"];
6971
6992
  _hoisted_13 = { key: 1 };
6972
- index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
6993
+ index_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
6973
6994
  __name: "index",
6974
6995
  props: {
6975
6996
  isLoading: {
@@ -7085,7 +7106,7 @@ var init_dataGrid = __esmMin((() => {
7085
7106
  init_index_vue_vue_type_script_setup_true_lang();
7086
7107
  init_index_vue_vue_type_style_index_0_scoped_f249eac8_lang();
7087
7108
  init__plugin_vue_export_helper();
7088
- dataGrid_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-f249eac8"]]);
7109
+ dataGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-f249eac8"]]);
7089
7110
  }));
7090
7111
  //#endregion
7091
7112
  //#region src/components/modal/index.ts