@ms-cloudpack/remote-cache 0.11.71 → 0.11.73

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.
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  require_dist2,
13
13
  require_state,
14
14
  require_state2
15
- } from "./chunk-XOZ3MNXL.js";
15
+ } from "./chunk-J62ZUERG.js";
16
16
  import {
17
17
  __export,
18
18
  __name,
@@ -118,7 +118,7 @@ function createTableStorageUrl(storageAccount) {
118
118
  }
119
119
  __name(createTableStorageUrl, "createTableStorageUrl");
120
120
 
121
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/abort-controller/AbortError.js
121
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/abort-controller/AbortError.js
122
122
  var _AbortError = class _AbortError extends Error {
123
123
  constructor(message) {
124
124
  super(message);
@@ -128,7 +128,7 @@ var _AbortError = class _AbortError extends Error {
128
128
  __name(_AbortError, "AbortError");
129
129
  var AbortError = _AbortError;
130
130
 
131
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/logger/log.js
131
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/logger/log.js
132
132
  import { EOL } from "node:os";
133
133
  import util from "node:util";
134
134
  import process2 from "node:process";
@@ -137,7 +137,7 @@ function log(message, ...args) {
137
137
  }
138
138
  __name(log, "log");
139
139
 
140
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/logger/debug.js
140
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/logger/debug.js
141
141
  var debugEnvVariable = typeof process !== "undefined" && process.env && process.env.DEBUG || void 0;
142
142
  var enabledString;
143
143
  var enabledNamespaces = [];
@@ -303,7 +303,7 @@ function extend(namespace) {
303
303
  __name(extend, "extend");
304
304
  var debug_default = debugObj;
305
305
 
306
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/logger/logger.js
306
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/logger/logger.js
307
307
  var TYPESPEC_RUNTIME_LOG_LEVELS = ["verbose", "info", "warning", "error"];
308
308
  var levelMap = {
309
309
  verbose: 400,
@@ -400,7 +400,7 @@ function createClientLogger(namespace) {
400
400
  }
401
401
  __name(createClientLogger, "createClientLogger");
402
402
 
403
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/httpHeaders.js
403
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/httpHeaders.js
404
404
  function normalizeName(name) {
405
405
  return name.toLowerCase();
406
406
  }
@@ -489,13 +489,13 @@ function createHttpHeaders(rawHeaders) {
489
489
  }
490
490
  __name(createHttpHeaders, "createHttpHeaders");
491
491
 
492
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/uuidUtils.js
492
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/uuidUtils.js
493
493
  function randomUUID() {
494
494
  return crypto.randomUUID();
495
495
  }
496
496
  __name(randomUUID, "randomUUID");
497
497
 
498
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/pipelineRequest.js
498
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/pipelineRequest.js
499
499
  var _PipelineRequestImpl = class _PipelineRequestImpl {
500
500
  url;
501
501
  method;
@@ -545,7 +545,7 @@ function createPipelineRequest(options) {
545
545
  }
546
546
  __name(createPipelineRequest, "createPipelineRequest");
547
547
 
548
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/pipeline.js
548
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/pipeline.js
549
549
  var ValidPhaseNames = /* @__PURE__ */ new Set(["Deserialize", "Serialize", "Retry", "Sign"]);
550
550
  var _HttpPipeline = class _HttpPipeline {
551
551
  _policies = [];
@@ -733,13 +733,13 @@ function createEmptyPipeline() {
733
733
  }
734
734
  __name(createEmptyPipeline, "createEmptyPipeline");
735
735
 
736
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/object.js
736
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/object.js
737
737
  function isObject(input) {
738
738
  return typeof input === "object" && input !== null && !Array.isArray(input) && !(input instanceof RegExp) && !(input instanceof Date);
739
739
  }
740
740
  __name(isObject, "isObject");
741
741
 
742
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/error.js
742
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/error.js
743
743
  function isError(e) {
744
744
  if (isObject(e)) {
745
745
  const hasName = typeof e.name === "string";
@@ -750,11 +750,11 @@ function isError(e) {
750
750
  }
751
751
  __name(isError, "isError");
752
752
 
753
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/inspect.js
753
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/inspect.js
754
754
  import { inspect } from "node:util";
755
755
  var custom = inspect.custom;
756
756
 
757
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/sanitizer.js
757
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/sanitizer.js
758
758
  var RedactedString = "REDACTED";
759
759
  var defaultAllowedHeaderNames = [
760
760
  "x-ms-client-request-id",
@@ -892,7 +892,7 @@ var _Sanitizer = class _Sanitizer {
892
892
  __name(_Sanitizer, "Sanitizer");
893
893
  var Sanitizer = _Sanitizer;
894
894
 
895
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/restError.js
895
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/restError.js
896
896
  var errorSanitizer = new Sanitizer();
897
897
  var _RestError = class _RestError extends Error {
898
898
  /**
@@ -964,22 +964,22 @@ function isRestError(e) {
964
964
  }
965
965
  __name(isRestError, "isRestError");
966
966
 
967
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/bytesEncoding.js
967
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/bytesEncoding.js
968
968
  function stringToUint8Array(value, format2) {
969
969
  return Buffer.from(value, format2);
970
970
  }
971
971
  __name(stringToUint8Array, "stringToUint8Array");
972
972
 
973
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/nodeHttpClient.js
973
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/nodeHttpClient.js
974
974
  import http from "node:http";
975
975
  import https from "node:https";
976
976
  import zlib from "node:zlib";
977
977
  import { Transform } from "node:stream";
978
978
 
979
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/log.js
979
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/log.js
980
980
  var logger2 = createClientLogger("ts-http-runtime");
981
981
 
982
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/nodeHttpClient.js
982
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/nodeHttpClient.js
983
983
  var DEFAULT_TLS_SETTINGS = {};
984
984
  function isReadableStream(body2) {
985
985
  return body2 && typeof body2.pipe === "function";
@@ -1286,13 +1286,13 @@ function createNodeHttpClient() {
1286
1286
  }
1287
1287
  __name(createNodeHttpClient, "createNodeHttpClient");
1288
1288
 
1289
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/defaultHttpClient.js
1289
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/defaultHttpClient.js
1290
1290
  function createDefaultHttpClient() {
1291
1291
  return createNodeHttpClient();
1292
1292
  }
1293
1293
  __name(createDefaultHttpClient, "createDefaultHttpClient");
1294
1294
 
1295
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/logPolicy.js
1295
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/policies/logPolicy.js
1296
1296
  var logPolicyName = "logPolicy";
1297
1297
  function logPolicy(options = {}) {
1298
1298
  const logger9 = options.logger ?? logger2.info;
@@ -1316,25 +1316,32 @@ function logPolicy(options = {}) {
1316
1316
  }
1317
1317
  __name(logPolicy, "logPolicy");
1318
1318
 
1319
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/redirectPolicy.js
1319
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/policies/redirectPolicy.js
1320
1320
  var redirectPolicyName = "redirectPolicy";
1321
1321
  var allowedRedirect = ["GET", "HEAD"];
1322
1322
  function redirectPolicy(options = {}) {
1323
- const { maxRetries = 20 } = options;
1323
+ const { maxRetries = 20, allowCrossOriginRedirects = false } = options;
1324
1324
  return {
1325
1325
  name: redirectPolicyName,
1326
1326
  async sendRequest(request, next) {
1327
1327
  const response = await next(request);
1328
- return handleRedirect(next, response, maxRetries);
1328
+ return handleRedirect(next, response, maxRetries, allowCrossOriginRedirects);
1329
1329
  }
1330
1330
  };
1331
1331
  }
1332
1332
  __name(redirectPolicy, "redirectPolicy");
1333
- async function handleRedirect(next, response, maxRetries, currentRetries = 0) {
1333
+ async function handleRedirect(next, response, maxRetries, allowCrossOriginRedirects, currentRetries = 0) {
1334
1334
  const { request, status, headers } = response;
1335
1335
  const locationHeader = headers.get("location");
1336
1336
  if (locationHeader && (status === 300 || status === 301 && allowedRedirect.includes(request.method) || status === 302 && allowedRedirect.includes(request.method) || status === 303 && request.method === "POST" || status === 307) && currentRetries < maxRetries) {
1337
1337
  const url3 = new URL(locationHeader, request.url);
1338
+ if (!allowCrossOriginRedirects) {
1339
+ const originalUrl = new URL(request.url);
1340
+ if (url3.origin !== originalUrl.origin) {
1341
+ logger2.verbose(`Skipping cross-origin redirect from ${originalUrl.origin} to ${url3.origin}.`);
1342
+ return response;
1343
+ }
1344
+ }
1338
1345
  request.url = url3.toString();
1339
1346
  if (status === 303) {
1340
1347
  request.method = "GET";
@@ -1343,31 +1350,31 @@ async function handleRedirect(next, response, maxRetries, currentRetries = 0) {
1343
1350
  }
1344
1351
  request.headers.delete("Authorization");
1345
1352
  const res = await next(request);
1346
- return handleRedirect(next, res, maxRetries, currentRetries + 1);
1353
+ return handleRedirect(next, res, maxRetries, allowCrossOriginRedirects, currentRetries + 1);
1347
1354
  }
1348
1355
  return response;
1349
1356
  }
1350
1357
  __name(handleRedirect, "handleRedirect");
1351
1358
 
1352
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/userAgentPlatform.js
1359
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/userAgentPlatform.js
1353
1360
  function getHeaderName() {
1354
1361
  return "User-Agent";
1355
1362
  }
1356
1363
  __name(getHeaderName, "getHeaderName");
1357
1364
 
1358
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/constants.js
1365
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/constants.js
1359
1366
  var DEFAULT_RETRY_POLICY_COUNT = 3;
1360
1367
 
1361
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/userAgent.js
1368
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/userAgent.js
1362
1369
  function getUserAgentHeaderName() {
1363
1370
  return getHeaderName();
1364
1371
  }
1365
1372
  __name(getUserAgentHeaderName, "getUserAgentHeaderName");
1366
1373
 
1367
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/userAgentPolicy.js
1374
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/policies/userAgentPolicy.js
1368
1375
  var UserAgentHeaderName = getUserAgentHeaderName();
1369
1376
 
1370
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/decompressResponsePolicy.js
1377
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/policies/decompressResponsePolicy.js
1371
1378
  var decompressResponsePolicyName = "decompressResponsePolicy";
1372
1379
  function decompressResponsePolicy() {
1373
1380
  return {
@@ -1382,7 +1389,7 @@ function decompressResponsePolicy() {
1382
1389
  }
1383
1390
  __name(decompressResponsePolicy, "decompressResponsePolicy");
1384
1391
 
1385
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/random.js
1392
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/random.js
1386
1393
  function getRandomIntegerInclusive(min, max) {
1387
1394
  min = Math.ceil(min);
1388
1395
  max = Math.floor(max);
@@ -1391,7 +1398,7 @@ function getRandomIntegerInclusive(min, max) {
1391
1398
  }
1392
1399
  __name(getRandomIntegerInclusive, "getRandomIntegerInclusive");
1393
1400
 
1394
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/delay.js
1401
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/delay.js
1395
1402
  function calculateRetryDelay(retryAttempt, config) {
1396
1403
  const exponentialDelay = config.retryDelayInMs * Math.pow(2, retryAttempt);
1397
1404
  const clampedDelay = Math.min(config.maxRetryDelayInMs, exponentialDelay);
@@ -1400,7 +1407,7 @@ function calculateRetryDelay(retryAttempt, config) {
1400
1407
  }
1401
1408
  __name(calculateRetryDelay, "calculateRetryDelay");
1402
1409
 
1403
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/helpers.js
1410
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/helpers.js
1404
1411
  var StandardAbortMessage = "The operation was aborted.";
1405
1412
  function delay(delayInMs, value, options) {
1406
1413
  return new Promise((resolve, reject) => {
@@ -1445,7 +1452,7 @@ function parseHeaderValueAsNumber(response, headerName) {
1445
1452
  }
1446
1453
  __name(parseHeaderValueAsNumber, "parseHeaderValueAsNumber");
1447
1454
 
1448
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/retryStrategies/throttlingRetryStrategy.js
1455
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/retryStrategies/throttlingRetryStrategy.js
1449
1456
  var RetryAfterHeader = "Retry-After";
1450
1457
  var AllRetryAfterHeaders = ["retry-after-ms", "x-ms-retry-after-ms", RetryAfterHeader];
1451
1458
  function getRetryAfterInMs(response) {
@@ -1490,7 +1497,7 @@ function throttlingRetryStrategy() {
1490
1497
  }
1491
1498
  __name(throttlingRetryStrategy, "throttlingRetryStrategy");
1492
1499
 
1493
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/retryStrategies/exponentialRetryStrategy.js
1500
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/retryStrategies/exponentialRetryStrategy.js
1494
1501
  var DEFAULT_CLIENT_RETRY_INTERVAL = 1e3;
1495
1502
  var DEFAULT_CLIENT_MAX_RETRY_INTERVAL = 1e3 * 64;
1496
1503
  function exponentialRetryStrategy(options = {}) {
@@ -1530,7 +1537,7 @@ function isSystemError(err) {
1530
1537
  }
1531
1538
  __name(isSystemError, "isSystemError");
1532
1539
 
1533
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/retryPolicy.js
1540
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/policies/retryPolicy.js
1534
1541
  var retryPolicyLogger = createClientLogger("ts-http-runtime retryPolicy");
1535
1542
  var retryPolicyName = "retryPolicy";
1536
1543
  function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_COUNT }) {
@@ -1616,7 +1623,7 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
1616
1623
  }
1617
1624
  __name(retryPolicy, "retryPolicy");
1618
1625
 
1619
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/defaultRetryPolicy.js
1626
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/policies/defaultRetryPolicy.js
1620
1627
  var defaultRetryPolicyName = "defaultRetryPolicy";
1621
1628
  function defaultRetryPolicy(options = {}) {
1622
1629
  return {
@@ -1628,7 +1635,7 @@ function defaultRetryPolicy(options = {}) {
1628
1635
  }
1629
1636
  __name(defaultRetryPolicy, "defaultRetryPolicy");
1630
1637
 
1631
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/checkEnvironment.js
1638
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/checkEnvironment.js
1632
1639
  var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined";
1633
1640
  var _a, _b, _c;
1634
1641
  var isWebWorker = typeof self === "object" && typeof (self == null ? void 0 : self.importScripts) === "function" && (((_a = self.constructor) == null ? void 0 : _a.name) === "DedicatedWorkerGlobalScope" || ((_b = self.constructor) == null ? void 0 : _b.name) === "ServiceWorkerGlobalScope" || ((_c = self.constructor) == null ? void 0 : _c.name) === "SharedWorkerGlobalScope");
@@ -1638,7 +1645,7 @@ var _a2;
1638
1645
  var isNodeLike = typeof globalThis.process !== "undefined" && Boolean(globalThis.process.version) && Boolean((_a2 = globalThis.process.versions) == null ? void 0 : _a2.node);
1639
1646
  var isReactNative = typeof navigator !== "undefined" && (navigator == null ? void 0 : navigator.product) === "ReactNative";
1640
1647
 
1641
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/formDataPolicy.js
1648
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/policies/formDataPolicy.js
1642
1649
  var formDataPolicyName = "formDataPolicy";
1643
1650
  function formDataToFormDataMap(formData) {
1644
1651
  const formDataMap = {};
@@ -1719,7 +1726,7 @@ async function prepareFormData(formData, request) {
1719
1726
  }
1720
1727
  __name(prepareFormData, "prepareFormData");
1721
1728
 
1722
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/proxyPolicy.js
1729
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/policies/proxyPolicy.js
1723
1730
  var import_https_proxy_agent = __toESM(require_dist(), 1);
1724
1731
  var import_http_proxy_agent = __toESM(require_dist2(), 1);
1725
1732
  var HTTPS_PROXY = "HTTPS_PROXY";
@@ -1868,7 +1875,7 @@ function proxyPolicy(proxySettings, options) {
1868
1875
  }
1869
1876
  __name(proxyPolicy, "proxyPolicy");
1870
1877
 
1871
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/agentPolicy.js
1878
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/policies/agentPolicy.js
1872
1879
  var agentPolicyName = "agentPolicy";
1873
1880
  function agentPolicy(agent) {
1874
1881
  return {
@@ -1883,7 +1890,7 @@ function agentPolicy(agent) {
1883
1890
  }
1884
1891
  __name(agentPolicy, "agentPolicy");
1885
1892
 
1886
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/tlsPolicy.js
1893
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/policies/tlsPolicy.js
1887
1894
  var tlsPolicyName = "tlsPolicy";
1888
1895
  function tlsPolicy(tlsSettings) {
1889
1896
  return {
@@ -1898,13 +1905,13 @@ function tlsPolicy(tlsSettings) {
1898
1905
  }
1899
1906
  __name(tlsPolicy, "tlsPolicy");
1900
1907
 
1901
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/typeGuards.js
1908
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/typeGuards.js
1902
1909
  function isBlob(x) {
1903
1910
  return typeof x.stream === "function";
1904
1911
  }
1905
1912
  __name(isBlob, "isBlob");
1906
1913
 
1907
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/concat.js
1914
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/concat.js
1908
1915
  import { Readable } from "stream";
1909
1916
  async function* streamAsyncIterator() {
1910
1917
  const reader = this.getReader();
@@ -1963,7 +1970,7 @@ async function concat(sources) {
1963
1970
  }
1964
1971
  __name(concat, "concat");
1965
1972
 
1966
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/multipartPolicy.js
1973
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/policies/multipartPolicy.js
1967
1974
  function generateBoundary() {
1968
1975
  return `----AzSDKFormBoundary${randomUUID()}`;
1969
1976
  }
@@ -2067,7 +2074,7 @@ function multipartPolicy() {
2067
2074
  }
2068
2075
  __name(multipartPolicy, "multipartPolicy");
2069
2076
 
2070
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/pipeline.js
2077
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/pipeline.js
2071
2078
  function createEmptyPipeline2() {
2072
2079
  return createEmptyPipeline();
2073
2080
  }
@@ -2084,10 +2091,10 @@ function createClientLogger2(namespace) {
2084
2091
  }
2085
2092
  __name(createClientLogger2, "createClientLogger");
2086
2093
 
2087
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/log.js
2094
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/log.js
2088
2095
  var logger3 = createClientLogger2("core-rest-pipeline");
2089
2096
 
2090
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/logPolicy.js
2097
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/logPolicy.js
2091
2098
  function logPolicy2(options = {}) {
2092
2099
  return logPolicy({
2093
2100
  logger: logger3.info,
@@ -2096,14 +2103,14 @@ function logPolicy2(options = {}) {
2096
2103
  }
2097
2104
  __name(logPolicy2, "logPolicy");
2098
2105
 
2099
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/redirectPolicy.js
2106
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/redirectPolicy.js
2100
2107
  var redirectPolicyName2 = redirectPolicyName;
2101
2108
  function redirectPolicy2(options = {}) {
2102
2109
  return redirectPolicy(options);
2103
2110
  }
2104
2111
  __name(redirectPolicy2, "redirectPolicy");
2105
2112
 
2106
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/util/userAgentPlatform.js
2113
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/util/userAgentPlatform.js
2107
2114
  import os from "node:os";
2108
2115
  import process3 from "node:process";
2109
2116
  function getHeaderName2() {
@@ -2125,10 +2132,10 @@ async function setPlatformSpecificData2(map) {
2125
2132
  }
2126
2133
  __name(setPlatformSpecificData2, "setPlatformSpecificData");
2127
2134
 
2128
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/constants.js
2129
- var SDK_VERSION2 = "1.22.2";
2135
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/constants.js
2136
+ var SDK_VERSION2 = "1.22.3";
2130
2137
 
2131
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/util/userAgent.js
2138
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/util/userAgent.js
2132
2139
  function getUserAgentString(telemetryInfo) {
2133
2140
  const parts = [];
2134
2141
  for (const [key, value] of telemetryInfo) {
@@ -2152,7 +2159,7 @@ async function getUserAgentValue2(prefix2) {
2152
2159
  }
2153
2160
  __name(getUserAgentValue2, "getUserAgentValue");
2154
2161
 
2155
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/userAgentPolicy.js
2162
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/userAgentPolicy.js
2156
2163
  var UserAgentHeaderName2 = getUserAgentHeaderName2();
2157
2164
  var userAgentPolicyName2 = "userAgentPolicy";
2158
2165
  function userAgentPolicy2(options = {}) {
@@ -2284,7 +2291,7 @@ function randomUUID2() {
2284
2291
  __name(randomUUID2, "randomUUID");
2285
2292
  var isNodeLike2 = isNodeLike;
2286
2293
 
2287
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/util/file.js
2294
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/util/file.js
2288
2295
  var rawContent = /* @__PURE__ */ Symbol("rawContent");
2289
2296
  function hasRawContent(x) {
2290
2297
  return typeof x[rawContent] === "function";
@@ -2299,7 +2306,7 @@ function getRawContent(blob) {
2299
2306
  }
2300
2307
  __name(getRawContent, "getRawContent");
2301
2308
 
2302
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/multipartPolicy.js
2309
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/multipartPolicy.js
2303
2310
  var multipartPolicyName2 = multipartPolicyName;
2304
2311
  function multipartPolicy2() {
2305
2312
  const tspPolicy = multipartPolicy();
@@ -2319,26 +2326,26 @@ function multipartPolicy2() {
2319
2326
  }
2320
2327
  __name(multipartPolicy2, "multipartPolicy");
2321
2328
 
2322
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/decompressResponsePolicy.js
2329
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/decompressResponsePolicy.js
2323
2330
  var decompressResponsePolicyName2 = decompressResponsePolicyName;
2324
2331
  function decompressResponsePolicy2() {
2325
2332
  return decompressResponsePolicy();
2326
2333
  }
2327
2334
  __name(decompressResponsePolicy2, "decompressResponsePolicy");
2328
2335
 
2329
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/defaultRetryPolicy.js
2336
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/defaultRetryPolicy.js
2330
2337
  function defaultRetryPolicy2(options = {}) {
2331
2338
  return defaultRetryPolicy(options);
2332
2339
  }
2333
2340
  __name(defaultRetryPolicy2, "defaultRetryPolicy");
2334
2341
 
2335
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/formDataPolicy.js
2342
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/formDataPolicy.js
2336
2343
  function formDataPolicy2() {
2337
2344
  return formDataPolicy();
2338
2345
  }
2339
2346
  __name(formDataPolicy2, "formDataPolicy");
2340
2347
 
2341
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/proxyPolicy.js
2348
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/proxyPolicy.js
2342
2349
  function getDefaultProxySettings2(proxyUrl) {
2343
2350
  return getDefaultProxySettings(proxyUrl);
2344
2351
  }
@@ -2348,7 +2355,7 @@ function proxyPolicy2(proxySettings, options) {
2348
2355
  }
2349
2356
  __name(proxyPolicy2, "proxyPolicy");
2350
2357
 
2351
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/setClientRequestIdPolicy.js
2358
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/setClientRequestIdPolicy.js
2352
2359
  var setClientRequestIdPolicyName = "setClientRequestIdPolicy";
2353
2360
  function setClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id") {
2354
2361
  return {
@@ -2363,13 +2370,13 @@ function setClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id"
2363
2370
  }
2364
2371
  __name(setClientRequestIdPolicy, "setClientRequestIdPolicy");
2365
2372
 
2366
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/agentPolicy.js
2373
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/agentPolicy.js
2367
2374
  function agentPolicy2(agent) {
2368
2375
  return agentPolicy(agent);
2369
2376
  }
2370
2377
  __name(agentPolicy2, "agentPolicy");
2371
2378
 
2372
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/tlsPolicy.js
2379
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/tlsPolicy.js
2373
2380
  function tlsPolicy2(tlsSettings) {
2374
2381
  return tlsPolicy(tlsSettings);
2375
2382
  }
@@ -2524,14 +2531,14 @@ function createTracingClient(options) {
2524
2531
  }
2525
2532
  __name(createTracingClient, "createTracingClient");
2526
2533
 
2527
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/restError.js
2534
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/restError.js
2528
2535
  var RestError2 = RestError;
2529
2536
  function isRestError2(e) {
2530
2537
  return isRestError(e);
2531
2538
  }
2532
2539
  __name(isRestError2, "isRestError");
2533
2540
 
2534
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/tracingPolicy.js
2541
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/tracingPolicy.js
2535
2542
  var tracingPolicyName = "tracingPolicy";
2536
2543
  function tracingPolicy(options = {}) {
2537
2544
  const userAgentPromise = getUserAgentValue2(options.userAgentPrefix);
@@ -2639,7 +2646,7 @@ function tryProcessResponse(span, response) {
2639
2646
  }
2640
2647
  __name(tryProcessResponse, "tryProcessResponse");
2641
2648
 
2642
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/util/wrapAbortSignal.js
2649
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/util/wrapAbortSignal.js
2643
2650
  function wrapAbortSignalLike(abortSignalLike) {
2644
2651
  if (abortSignalLike instanceof AbortSignal) {
2645
2652
  return { abortSignal: abortSignalLike };
@@ -2666,7 +2673,7 @@ function wrapAbortSignalLike(abortSignalLike) {
2666
2673
  }
2667
2674
  __name(wrapAbortSignalLike, "wrapAbortSignalLike");
2668
2675
 
2669
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/wrapAbortSignalLikePolicy.js
2676
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/wrapAbortSignalLikePolicy.js
2670
2677
  var wrapAbortSignalLikePolicyName = "wrapAbortSignalLikePolicy";
2671
2678
  function wrapAbortSignalLikePolicy() {
2672
2679
  return {
@@ -2687,7 +2694,7 @@ function wrapAbortSignalLikePolicy() {
2687
2694
  }
2688
2695
  __name(wrapAbortSignalLikePolicy, "wrapAbortSignalLikePolicy");
2689
2696
 
2690
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/createPipelineFromOptions.js
2697
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/createPipelineFromOptions.js
2691
2698
  function createPipelineFromOptions2(options) {
2692
2699
  var _a3;
2693
2700
  const pipeline = createEmptyPipeline2();
@@ -2718,7 +2725,7 @@ function createPipelineFromOptions2(options) {
2718
2725
  }
2719
2726
  __name(createPipelineFromOptions2, "createPipelineFromOptions");
2720
2727
 
2721
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/defaultHttpClient.js
2728
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/defaultHttpClient.js
2722
2729
  function createDefaultHttpClient2() {
2723
2730
  const client = createDefaultHttpClient();
2724
2731
  return {
@@ -2735,22 +2742,22 @@ function createDefaultHttpClient2() {
2735
2742
  }
2736
2743
  __name(createDefaultHttpClient2, "createDefaultHttpClient");
2737
2744
 
2738
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/httpHeaders.js
2745
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/httpHeaders.js
2739
2746
  function createHttpHeaders2(rawHeaders) {
2740
2747
  return createHttpHeaders(rawHeaders);
2741
2748
  }
2742
2749
  __name(createHttpHeaders2, "createHttpHeaders");
2743
2750
 
2744
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/pipelineRequest.js
2751
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/pipelineRequest.js
2745
2752
  function createPipelineRequest2(options) {
2746
2753
  return createPipelineRequest(options);
2747
2754
  }
2748
2755
  __name(createPipelineRequest2, "createPipelineRequest");
2749
2756
 
2750
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/retryPolicy.js
2757
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/retryPolicy.js
2751
2758
  var retryPolicyLogger2 = createClientLogger2("core-rest-pipeline retryPolicy");
2752
2759
 
2753
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/util/tokenCycler.js
2760
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/util/tokenCycler.js
2754
2761
  var DEFAULT_CYCLER_OPTIONS = {
2755
2762
  forcedRefreshWindowInMs: 1e3,
2756
2763
  // Force waiting for a refresh 1s before the token expires
@@ -2861,7 +2868,7 @@ function createTokenCycler(credential, tokenCyclerOptions) {
2861
2868
  }
2862
2869
  __name(createTokenCycler, "createTokenCycler");
2863
2870
 
2864
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/bearerTokenAuthenticationPolicy.js
2871
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/policies/bearerTokenAuthenticationPolicy.js
2865
2872
  var bearerTokenAuthenticationPolicyName = "bearerTokenAuthenticationPolicy";
2866
2873
  async function trySendRequest(request, next) {
2867
2874
  try {
@@ -3105,7 +3112,7 @@ function isTokenCredential(credential) {
3105
3112
  }
3106
3113
  __name(isTokenCredential, "isTokenCredential");
3107
3114
 
3108
- // ../../node_modules/.store/@azure-core-http-compat-npm-2.3.1-afd2f01f9c/package/dist/esm/policies/disableKeepAlivePolicy.js
3115
+ // ../../node_modules/.store/@azure-core-http-compat-virtual-96ac8d6c7a/package/dist/esm/policies/disableKeepAlivePolicy.js
3109
3116
  var disableKeepAlivePolicyName = "DisableKeepAlivePolicy";
3110
3117
  function createDisableKeepAlivePolicy() {
3111
3118
  return {
@@ -4886,7 +4893,7 @@ function requestToOptions(request) {
4886
4893
  }
4887
4894
  __name(requestToOptions, "requestToOptions");
4888
4895
 
4889
- // ../../node_modules/.store/@azure-core-http-compat-npm-2.3.1-afd2f01f9c/package/dist/esm/util.js
4896
+ // ../../node_modules/.store/@azure-core-http-compat-virtual-96ac8d6c7a/package/dist/esm/util.js
4890
4897
  var originalRequestSymbol2 = /* @__PURE__ */ Symbol("Original PipelineRequest");
4891
4898
  var originalClientRequestSymbol = /* @__PURE__ */ Symbol.for("@azure/core-client original request");
4892
4899
  function toPipelineRequest(webResource, options = {}) {
@@ -5128,7 +5135,7 @@ var _HttpHeaders = class _HttpHeaders {
5128
5135
  __name(_HttpHeaders, "HttpHeaders");
5129
5136
  var HttpHeaders = _HttpHeaders;
5130
5137
 
5131
- // ../../node_modules/.store/@azure-core-http-compat-npm-2.3.1-afd2f01f9c/package/dist/esm/response.js
5138
+ // ../../node_modules/.store/@azure-core-http-compat-virtual-96ac8d6c7a/package/dist/esm/response.js
5132
5139
  var originalResponse = /* @__PURE__ */ Symbol("Original FullOperationResponse");
5133
5140
  function toCompatResponse(response, options) {
5134
5141
  let request = toWebResourceLike(response.request);
@@ -5180,7 +5187,7 @@ function toPipelineResponse(compatResponse) {
5180
5187
  }
5181
5188
  __name(toPipelineResponse, "toPipelineResponse");
5182
5189
 
5183
- // ../../node_modules/.store/@azure-core-http-compat-npm-2.3.1-afd2f01f9c/package/dist/esm/extendedClient.js
5190
+ // ../../node_modules/.store/@azure-core-http-compat-virtual-96ac8d6c7a/package/dist/esm/extendedClient.js
5184
5191
  var _ExtendedServiceClient = class _ExtendedServiceClient extends ServiceClient {
5185
5192
  constructor(options) {
5186
5193
  var _a3, _b2;
@@ -5228,7 +5235,7 @@ var _ExtendedServiceClient = class _ExtendedServiceClient extends ServiceClient
5228
5235
  __name(_ExtendedServiceClient, "ExtendedServiceClient");
5229
5236
  var ExtendedServiceClient = _ExtendedServiceClient;
5230
5237
 
5231
- // ../../node_modules/.store/@azure-core-http-compat-npm-2.3.1-afd2f01f9c/package/dist/esm/policies/requestPolicyFactoryPolicy.js
5238
+ // ../../node_modules/.store/@azure-core-http-compat-virtual-96ac8d6c7a/package/dist/esm/policies/requestPolicyFactoryPolicy.js
5232
5239
  var HttpPipelineLogLevel;
5233
5240
  (function(HttpPipelineLogLevel2) {
5234
5241
  HttpPipelineLogLevel2[HttpPipelineLogLevel2["ERROR"] = 1] = "ERROR";
@@ -5266,7 +5273,7 @@ function createRequestPolicyFactoryPolicy(factories) {
5266
5273
  }
5267
5274
  __name(createRequestPolicyFactoryPolicy, "createRequestPolicyFactoryPolicy");
5268
5275
 
5269
- // ../../node_modules/.store/@azure-core-http-compat-npm-2.3.1-afd2f01f9c/package/dist/esm/httpClientAdapter.js
5276
+ // ../../node_modules/.store/@azure-core-http-compat-virtual-96ac8d6c7a/package/dist/esm/httpClientAdapter.js
5270
5277
  function convertHttpClient(requestPolicyClient) {
5271
5278
  return {
5272
5279
  sendRequest: /* @__PURE__ */ __name(async (request) => {
@@ -5277,7 +5284,7 @@ function convertHttpClient(requestPolicyClient) {
5277
5284
  }
5278
5285
  __name(convertHttpClient, "convertHttpClient");
5279
5286
 
5280
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/util.js
5287
+ // ../../node_modules/.store/fast-xml-parser-npm-5.5.7-d3593c54f5/package/src/util.js
5281
5288
  var nameStartChar = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";
5282
5289
  var nameChar = nameStartChar + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040";
5283
5290
  var nameRegexp = "[" + nameStartChar + "][" + nameChar + "]*";
@@ -5306,8 +5313,21 @@ function isExist(v) {
5306
5313
  return typeof v !== "undefined";
5307
5314
  }
5308
5315
  __name(isExist, "isExist");
5316
+ var DANGEROUS_PROPERTY_NAMES = [
5317
+ // '__proto__',
5318
+ // 'constructor',
5319
+ // 'prototype',
5320
+ "hasOwnProperty",
5321
+ "toString",
5322
+ "valueOf",
5323
+ "__defineGetter__",
5324
+ "__defineSetter__",
5325
+ "__lookupGetter__",
5326
+ "__lookupSetter__"
5327
+ ];
5328
+ var criticalProperties = ["__proto__", "constructor", "prototype"];
5309
5329
 
5310
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/validator.js
5330
+ // ../../node_modules/.store/fast-xml-parser-npm-5.5.7-d3593c54f5/package/src/validator.js
5311
5331
  var defaultOptions = {
5312
5332
  allowBooleanAttributes: false,
5313
5333
  //A tag can have attributes without any value
@@ -5550,7 +5570,7 @@ function validateAttributeString(attrStr, options) {
5550
5570
  if (!validateAttrName(attrName)) {
5551
5571
  return getErrorObject("InvalidAttr", "Attribute '" + attrName + "' is an invalid name.", getPositionFromMatch(matches[i]));
5552
5572
  }
5553
- if (!attrNames.hasOwnProperty(attrName)) {
5573
+ if (!Object.prototype.hasOwnProperty.call(attrNames, attrName)) {
5554
5574
  attrNames[attrName] = 1;
5555
5575
  } else {
5556
5576
  return getErrorObject("InvalidAttr", "Attribute '" + attrName + "' is repeated.", getPositionFromMatch(matches[i]));
@@ -5626,7 +5646,13 @@ function getPositionFromMatch(match) {
5626
5646
  }
5627
5647
  __name(getPositionFromMatch, "getPositionFromMatch");
5628
5648
 
5629
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/xmlparser/OptionsBuilder.js
5649
+ // ../../node_modules/.store/fast-xml-parser-npm-5.5.7-d3593c54f5/package/src/xmlparser/OptionsBuilder.js
5650
+ var defaultOnDangerousProperty = /* @__PURE__ */ __name((name) => {
5651
+ if (DANGEROUS_PROPERTY_NAMES.includes(name)) {
5652
+ return "__" + name;
5653
+ }
5654
+ return name;
5655
+ }, "defaultOnDangerousProperty");
5630
5656
  var defaultOptions2 = {
5631
5657
  preserveOrder: false,
5632
5658
  attributeNamePrefix: "@_",
@@ -5670,13 +5696,89 @@ var defaultOptions2 = {
5670
5696
  return tagName;
5671
5697
  }, "updateTag"),
5672
5698
  // skipEmptyListItem: false
5673
- captureMetaData: false
5674
- };
5699
+ captureMetaData: false,
5700
+ maxNestedTags: 100,
5701
+ strictReservedNames: true,
5702
+ jPath: true,
5703
+ // if true, pass jPath string to callbacks; if false, pass matcher instance
5704
+ onDangerousProperty: defaultOnDangerousProperty
5705
+ };
5706
+ function validatePropertyName(propertyName, optionName) {
5707
+ if (typeof propertyName !== "string") {
5708
+ return;
5709
+ }
5710
+ const normalized = propertyName.toLowerCase();
5711
+ if (DANGEROUS_PROPERTY_NAMES.some((dangerous) => normalized === dangerous.toLowerCase())) {
5712
+ throw new Error(
5713
+ `[SECURITY] Invalid ${optionName}: "${propertyName}" is a reserved JavaScript keyword that could cause prototype pollution`
5714
+ );
5715
+ }
5716
+ if (criticalProperties.some((dangerous) => normalized === dangerous.toLowerCase())) {
5717
+ throw new Error(
5718
+ `[SECURITY] Invalid ${optionName}: "${propertyName}" is a reserved JavaScript keyword that could cause prototype pollution`
5719
+ );
5720
+ }
5721
+ }
5722
+ __name(validatePropertyName, "validatePropertyName");
5723
+ function normalizeProcessEntities(value) {
5724
+ if (typeof value === "boolean") {
5725
+ return {
5726
+ enabled: value,
5727
+ // true or false
5728
+ maxEntitySize: 1e4,
5729
+ maxExpansionDepth: 10,
5730
+ maxTotalExpansions: 1e3,
5731
+ maxExpandedLength: 1e5,
5732
+ maxEntityCount: 100,
5733
+ allowedTags: null,
5734
+ tagFilter: null
5735
+ };
5736
+ }
5737
+ if (typeof value === "object" && value !== null) {
5738
+ return {
5739
+ enabled: value.enabled !== false,
5740
+ maxEntitySize: Math.max(1, value.maxEntitySize ?? 1e4),
5741
+ maxExpansionDepth: Math.max(1, value.maxExpansionDepth ?? 10),
5742
+ maxTotalExpansions: Math.max(1, value.maxTotalExpansions ?? 1e3),
5743
+ maxExpandedLength: Math.max(1, value.maxExpandedLength ?? 1e5),
5744
+ maxEntityCount: Math.max(1, value.maxEntityCount ?? 100),
5745
+ allowedTags: value.allowedTags ?? null,
5746
+ tagFilter: value.tagFilter ?? null
5747
+ };
5748
+ }
5749
+ return normalizeProcessEntities(true);
5750
+ }
5751
+ __name(normalizeProcessEntities, "normalizeProcessEntities");
5675
5752
  var buildOptions = /* @__PURE__ */ __name(function(options) {
5676
- return Object.assign({}, defaultOptions2, options);
5753
+ const built = Object.assign({}, defaultOptions2, options);
5754
+ const propertyNameOptions = [
5755
+ { value: built.attributeNamePrefix, name: "attributeNamePrefix" },
5756
+ { value: built.attributesGroupName, name: "attributesGroupName" },
5757
+ { value: built.textNodeName, name: "textNodeName" },
5758
+ { value: built.cdataPropName, name: "cdataPropName" },
5759
+ { value: built.commentPropName, name: "commentPropName" }
5760
+ ];
5761
+ for (const { value, name } of propertyNameOptions) {
5762
+ if (value) {
5763
+ validatePropertyName(value, name);
5764
+ }
5765
+ }
5766
+ if (built.onDangerousProperty === null) {
5767
+ built.onDangerousProperty = defaultOnDangerousProperty;
5768
+ }
5769
+ built.processEntities = normalizeProcessEntities(built.processEntities);
5770
+ if (built.stopNodes && Array.isArray(built.stopNodes)) {
5771
+ built.stopNodes = built.stopNodes.map((node) => {
5772
+ if (typeof node === "string" && node.startsWith("*.")) {
5773
+ return ".." + node.substring(2);
5774
+ }
5775
+ return node;
5776
+ });
5777
+ }
5778
+ return built;
5677
5779
  }, "buildOptions");
5678
5780
 
5679
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/xmlparser/xmlNode.js
5781
+ // ../../node_modules/.store/fast-xml-parser-npm-5.5.7-d3593c54f5/package/src/xmlparser/xmlNode.js
5680
5782
  var METADATA_SYMBOL;
5681
5783
  if (typeof Symbol !== "function") {
5682
5784
  METADATA_SYMBOL = "@@xmlMetadata";
@@ -5687,7 +5789,7 @@ var _XmlNode = class _XmlNode {
5687
5789
  constructor(tagname) {
5688
5790
  this.tagname = tagname;
5689
5791
  this.child = [];
5690
- this[":@"] = {};
5792
+ this[":@"] = /* @__PURE__ */ Object.create(null);
5691
5793
  }
5692
5794
  add(key, val) {
5693
5795
  if (key === "__proto__") key = "#__proto__";
@@ -5712,13 +5814,15 @@ var _XmlNode = class _XmlNode {
5712
5814
  __name(_XmlNode, "XmlNode");
5713
5815
  var XmlNode = _XmlNode;
5714
5816
 
5715
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/xmlparser/DocTypeReader.js
5817
+ // ../../node_modules/.store/fast-xml-parser-npm-5.5.7-d3593c54f5/package/src/xmlparser/DocTypeReader.js
5716
5818
  var _DocTypeReader = class _DocTypeReader {
5717
- constructor(processEntities) {
5718
- this.suppressValidationErr = !processEntities;
5819
+ constructor(options) {
5820
+ this.suppressValidationErr = !options;
5821
+ this.options = options;
5719
5822
  }
5720
5823
  readDocType(xmlData, i) {
5721
- const entities = {};
5824
+ const entities = /* @__PURE__ */ Object.create(null);
5825
+ let entityCount = 0;
5722
5826
  if (xmlData[i + 3] === "O" && xmlData[i + 4] === "C" && xmlData[i + 5] === "T" && xmlData[i + 6] === "Y" && xmlData[i + 7] === "P" && xmlData[i + 8] === "E") {
5723
5827
  i = i + 9;
5724
5828
  let angleBracketsCount = 1;
@@ -5730,11 +5834,19 @@ var _DocTypeReader = class _DocTypeReader {
5730
5834
  i += 7;
5731
5835
  let entityName, val;
5732
5836
  [entityName, val, i] = this.readEntityExp(xmlData, i + 1, this.suppressValidationErr);
5733
- if (val.indexOf("&") === -1)
5837
+ if (val.indexOf("&") === -1) {
5838
+ if (this.options.enabled !== false && this.options.maxEntityCount != null && entityCount >= this.options.maxEntityCount) {
5839
+ throw new Error(
5840
+ `Entity count (${entityCount + 1}) exceeds maximum allowed (${this.options.maxEntityCount})`
5841
+ );
5842
+ }
5843
+ const escaped = entityName.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
5734
5844
  entities[entityName] = {
5735
- regx: RegExp(`&${entityName};`, "g"),
5845
+ regx: RegExp(`&${escaped};`, "g"),
5736
5846
  val
5737
5847
  };
5848
+ entityCount++;
5849
+ }
5738
5850
  } else if (hasBody && hasSeq(xmlData, "!ELEMENT", i)) {
5739
5851
  i += 8;
5740
5852
  const { index } = this.readElementExp(xmlData, i + 1);
@@ -5777,11 +5889,11 @@ var _DocTypeReader = class _DocTypeReader {
5777
5889
  }
5778
5890
  readEntityExp(xmlData, i) {
5779
5891
  i = skipWhitespace(xmlData, i);
5780
- let entityName = "";
5892
+ const startIndex = i;
5781
5893
  while (i < xmlData.length && !/\s/.test(xmlData[i]) && xmlData[i] !== '"' && xmlData[i] !== "'") {
5782
- entityName += xmlData[i];
5783
5894
  i++;
5784
5895
  }
5896
+ let entityName = xmlData.substring(startIndex, i);
5785
5897
  validateEntityName(entityName);
5786
5898
  i = skipWhitespace(xmlData, i);
5787
5899
  if (!this.suppressValidationErr) {
@@ -5793,16 +5905,21 @@ var _DocTypeReader = class _DocTypeReader {
5793
5905
  }
5794
5906
  let entityValue = "";
5795
5907
  [i, entityValue] = this.readIdentifierVal(xmlData, i, "entity");
5908
+ if (this.options.enabled !== false && this.options.maxEntitySize != null && entityValue.length > this.options.maxEntitySize) {
5909
+ throw new Error(
5910
+ `Entity "${entityName}" size (${entityValue.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`
5911
+ );
5912
+ }
5796
5913
  i--;
5797
5914
  return [entityName, entityValue, i];
5798
5915
  }
5799
5916
  readNotationExp(xmlData, i) {
5800
5917
  i = skipWhitespace(xmlData, i);
5801
- let notationName = "";
5918
+ const startIndex = i;
5802
5919
  while (i < xmlData.length && !/\s/.test(xmlData[i])) {
5803
- notationName += xmlData[i];
5804
5920
  i++;
5805
5921
  }
5922
+ let notationName = xmlData.substring(startIndex, i);
5806
5923
  !this.suppressValidationErr && validateEntityName(notationName);
5807
5924
  i = skipWhitespace(xmlData, i);
5808
5925
  const identifierType = xmlData.substring(i, i + 6).toUpperCase();
@@ -5834,10 +5951,11 @@ var _DocTypeReader = class _DocTypeReader {
5834
5951
  throw new Error(`Expected quoted string, found "${startChar}"`);
5835
5952
  }
5836
5953
  i++;
5954
+ const startIndex = i;
5837
5955
  while (i < xmlData.length && xmlData[i] !== startChar) {
5838
- identifierVal += xmlData[i];
5839
5956
  i++;
5840
5957
  }
5958
+ identifierVal = xmlData.substring(startIndex, i);
5841
5959
  if (xmlData[i] !== startChar) {
5842
5960
  throw new Error(`Unterminated ${type} value`);
5843
5961
  }
@@ -5846,11 +5964,11 @@ var _DocTypeReader = class _DocTypeReader {
5846
5964
  }
5847
5965
  readElementExp(xmlData, i) {
5848
5966
  i = skipWhitespace(xmlData, i);
5849
- let elementName = "";
5967
+ const startIndex = i;
5850
5968
  while (i < xmlData.length && !/\s/.test(xmlData[i])) {
5851
- elementName += xmlData[i];
5852
5969
  i++;
5853
5970
  }
5971
+ let elementName = xmlData.substring(startIndex, i);
5854
5972
  if (!this.suppressValidationErr && !isName(elementName)) {
5855
5973
  throw new Error(`Invalid element name: "${elementName}"`);
5856
5974
  }
@@ -5860,10 +5978,11 @@ var _DocTypeReader = class _DocTypeReader {
5860
5978
  else if (xmlData[i] === "A" && hasSeq(xmlData, "NY", i)) i += 2;
5861
5979
  else if (xmlData[i] === "(") {
5862
5980
  i++;
5981
+ const startIndex2 = i;
5863
5982
  while (i < xmlData.length && xmlData[i] !== ")") {
5864
- contentModel += xmlData[i];
5865
5983
  i++;
5866
5984
  }
5985
+ contentModel = xmlData.substring(startIndex2, i);
5867
5986
  if (xmlData[i] !== ")") {
5868
5987
  throw new Error("Unterminated content model");
5869
5988
  }
@@ -5878,18 +5997,18 @@ var _DocTypeReader = class _DocTypeReader {
5878
5997
  }
5879
5998
  readAttlistExp(xmlData, i) {
5880
5999
  i = skipWhitespace(xmlData, i);
5881
- let elementName = "";
6000
+ let startIndex = i;
5882
6001
  while (i < xmlData.length && !/\s/.test(xmlData[i])) {
5883
- elementName += xmlData[i];
5884
6002
  i++;
5885
6003
  }
6004
+ let elementName = xmlData.substring(startIndex, i);
5886
6005
  validateEntityName(elementName);
5887
6006
  i = skipWhitespace(xmlData, i);
5888
- let attributeName = "";
6007
+ startIndex = i;
5889
6008
  while (i < xmlData.length && !/\s/.test(xmlData[i])) {
5890
- attributeName += xmlData[i];
5891
6009
  i++;
5892
6010
  }
6011
+ let attributeName = xmlData.substring(startIndex, i);
5893
6012
  if (!validateEntityName(attributeName)) {
5894
6013
  throw new Error(`Invalid attribute name: "${attributeName}"`);
5895
6014
  }
@@ -5905,11 +6024,11 @@ var _DocTypeReader = class _DocTypeReader {
5905
6024
  i++;
5906
6025
  let allowedNotations = [];
5907
6026
  while (i < xmlData.length && xmlData[i] !== ")") {
5908
- let notation = "";
6027
+ const startIndex2 = i;
5909
6028
  while (i < xmlData.length && xmlData[i] !== "|" && xmlData[i] !== ")") {
5910
- notation += xmlData[i];
5911
6029
  i++;
5912
6030
  }
6031
+ let notation = xmlData.substring(startIndex2, i);
5913
6032
  notation = notation.trim();
5914
6033
  if (!validateEntityName(notation)) {
5915
6034
  throw new Error(`Invalid notation name: "${notation}"`);
@@ -5926,10 +6045,11 @@ var _DocTypeReader = class _DocTypeReader {
5926
6045
  i++;
5927
6046
  attributeType += " (" + allowedNotations.join("|") + ")";
5928
6047
  } else {
6048
+ const startIndex2 = i;
5929
6049
  while (i < xmlData.length && !/\s/.test(xmlData[i])) {
5930
- attributeType += xmlData[i];
5931
6050
  i++;
5932
6051
  }
6052
+ attributeType += xmlData.substring(startIndex2, i);
5933
6053
  const validTypes = ["CDATA", "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", "NMTOKENS"];
5934
6054
  if (!this.suppressValidationErr && !validTypes.includes(attributeType.toUpperCase())) {
5935
6055
  throw new Error(`Invalid attribute type: "${attributeType}"`);
@@ -5978,7 +6098,7 @@ function validateEntityName(name) {
5978
6098
  }
5979
6099
  __name(validateEntityName, "validateEntityName");
5980
6100
 
5981
- // ../../node_modules/.store/strnum-npm-2.1.2-ab87a75952/package/strnum.js
6101
+ // ../../node_modules/.store/strnum-npm-2.2.1-b3a08c1c56/package/strnum.js
5982
6102
  var hexRegex = /^[-+]?0x[a-fA-F0-9]+$/;
5983
6103
  var numRegex = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/;
5984
6104
  var consider = {
@@ -5986,8 +6106,10 @@ var consider = {
5986
6106
  // oct: false,
5987
6107
  leadingZeros: true,
5988
6108
  decimalPoint: ".",
5989
- eNotation: true
5990
- //skipLike: /regex/
6109
+ eNotation: true,
6110
+ //skipLike: /regex/,
6111
+ infinity: "original"
6112
+ // "null", "infinity" (Infinity type), "string" ("Infinity" (the string literal))
5991
6113
  };
5992
6114
  function toNumber(str, options = {}) {
5993
6115
  options = Object.assign({}, consider, options);
@@ -5997,6 +6119,8 @@ function toNumber(str, options = {}) {
5997
6119
  else if (str === "0") return 0;
5998
6120
  else if (options.hex && hexRegex.test(trimmedStr)) {
5999
6121
  return parse_int(trimmedStr, 16);
6122
+ } else if (!isFinite(trimmedStr)) {
6123
+ return handleInfinity(str, Number(trimmedStr), options);
6000
6124
  } else if (trimmedStr.includes("e") || trimmedStr.includes("E")) {
6001
6125
  return resolveEnotation(str, trimmedStr, options);
6002
6126
  } else {
@@ -6052,10 +6176,14 @@ function resolveEnotation(str, trimmedStr, options) {
6052
6176
  if (leadingZeros.length > 1 && eAdjacentToLeadingZeros) return str;
6053
6177
  else if (leadingZeros.length === 1 && (notation[3].startsWith(`.${eChar}`) || notation[3][0] === eChar)) {
6054
6178
  return Number(trimmedStr);
6055
- } else if (options.leadingZeros && !eAdjacentToLeadingZeros) {
6056
- trimmedStr = (notation[1] || "") + notation[3];
6179
+ } else if (leadingZeros.length > 0) {
6180
+ if (options.leadingZeros && !eAdjacentToLeadingZeros) {
6181
+ trimmedStr = (notation[1] || "") + notation[3];
6182
+ return Number(trimmedStr);
6183
+ } else return str;
6184
+ } else {
6057
6185
  return Number(trimmedStr);
6058
- } else return str;
6186
+ }
6059
6187
  } else {
6060
6188
  return str;
6061
6189
  }
@@ -6079,8 +6207,24 @@ function parse_int(numStr, base) {
6079
6207
  else throw new Error("parseInt, Number.parseInt, window.parseInt are not supported");
6080
6208
  }
6081
6209
  __name(parse_int, "parse_int");
6210
+ function handleInfinity(str, num, options) {
6211
+ const isPositive = num === Infinity;
6212
+ switch (options.infinity.toLowerCase()) {
6213
+ case "null":
6214
+ return null;
6215
+ case "infinity":
6216
+ return num;
6217
+ // Return Infinity or -Infinity
6218
+ case "string":
6219
+ return isPositive ? "Infinity" : "-Infinity";
6220
+ case "original":
6221
+ default:
6222
+ return str;
6223
+ }
6224
+ }
6225
+ __name(handleInfinity, "handleInfinity");
6082
6226
 
6083
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/ignoreAttributes.js
6227
+ // ../../node_modules/.store/fast-xml-parser-npm-5.5.7-d3593c54f5/package/src/ignoreAttributes.js
6084
6228
  function getIgnoreAttributesFn(ignoreAttributes) {
6085
6229
  if (typeof ignoreAttributes === "function") {
6086
6230
  return ignoreAttributes;
@@ -6101,7 +6245,513 @@ function getIgnoreAttributesFn(ignoreAttributes) {
6101
6245
  }
6102
6246
  __name(getIgnoreAttributesFn, "getIgnoreAttributesFn");
6103
6247
 
6104
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/xmlparser/OrderedObjParser.js
6248
+ // ../../node_modules/.store/path-expression-matcher-npm-1.1.3-ea64bf895d/package/src/Expression.js
6249
+ var _Expression = class _Expression {
6250
+ /**
6251
+ * Create a new Expression
6252
+ * @param {string} pattern - Pattern string (e.g., "root.users.user", "..user[id]")
6253
+ * @param {Object} options - Configuration options
6254
+ * @param {string} options.separator - Path separator (default: '.')
6255
+ */
6256
+ constructor(pattern, options = {}) {
6257
+ this.pattern = pattern;
6258
+ this.separator = options.separator || ".";
6259
+ this.segments = this._parse(pattern);
6260
+ this._hasDeepWildcard = this.segments.some((seg) => seg.type === "deep-wildcard");
6261
+ this._hasAttributeCondition = this.segments.some((seg) => seg.attrName !== void 0);
6262
+ this._hasPositionSelector = this.segments.some((seg) => seg.position !== void 0);
6263
+ }
6264
+ /**
6265
+ * Parse pattern string into segments
6266
+ * @private
6267
+ * @param {string} pattern - Pattern to parse
6268
+ * @returns {Array} Array of segment objects
6269
+ */
6270
+ _parse(pattern) {
6271
+ const segments = [];
6272
+ let i = 0;
6273
+ let currentPart = "";
6274
+ while (i < pattern.length) {
6275
+ if (pattern[i] === this.separator) {
6276
+ if (i + 1 < pattern.length && pattern[i + 1] === this.separator) {
6277
+ if (currentPart.trim()) {
6278
+ segments.push(this._parseSegment(currentPart.trim()));
6279
+ currentPart = "";
6280
+ }
6281
+ segments.push({ type: "deep-wildcard" });
6282
+ i += 2;
6283
+ } else {
6284
+ if (currentPart.trim()) {
6285
+ segments.push(this._parseSegment(currentPart.trim()));
6286
+ }
6287
+ currentPart = "";
6288
+ i++;
6289
+ }
6290
+ } else {
6291
+ currentPart += pattern[i];
6292
+ i++;
6293
+ }
6294
+ }
6295
+ if (currentPart.trim()) {
6296
+ segments.push(this._parseSegment(currentPart.trim()));
6297
+ }
6298
+ return segments;
6299
+ }
6300
+ /**
6301
+ * Parse a single segment
6302
+ * @private
6303
+ * @param {string} part - Segment string (e.g., "user", "ns::user", "user[id]", "ns::user:first")
6304
+ * @returns {Object} Segment object
6305
+ */
6306
+ _parseSegment(part) {
6307
+ const segment = { type: "tag" };
6308
+ let bracketContent = null;
6309
+ let withoutBrackets = part;
6310
+ const bracketMatch = part.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);
6311
+ if (bracketMatch) {
6312
+ withoutBrackets = bracketMatch[1] + bracketMatch[3];
6313
+ if (bracketMatch[2]) {
6314
+ const content = bracketMatch[2].slice(1, -1);
6315
+ if (content) {
6316
+ bracketContent = content;
6317
+ }
6318
+ }
6319
+ }
6320
+ let namespace = void 0;
6321
+ let tagAndPosition = withoutBrackets;
6322
+ if (withoutBrackets.includes("::")) {
6323
+ const nsIndex = withoutBrackets.indexOf("::");
6324
+ namespace = withoutBrackets.substring(0, nsIndex).trim();
6325
+ tagAndPosition = withoutBrackets.substring(nsIndex + 2).trim();
6326
+ if (!namespace) {
6327
+ throw new Error(`Invalid namespace in pattern: ${part}`);
6328
+ }
6329
+ }
6330
+ let tag = void 0;
6331
+ let positionMatch = null;
6332
+ if (tagAndPosition.includes(":")) {
6333
+ const colonIndex = tagAndPosition.lastIndexOf(":");
6334
+ const tagPart = tagAndPosition.substring(0, colonIndex).trim();
6335
+ const posPart = tagAndPosition.substring(colonIndex + 1).trim();
6336
+ const isPositionKeyword = ["first", "last", "odd", "even"].includes(posPart) || /^nth\(\d+\)$/.test(posPart);
6337
+ if (isPositionKeyword) {
6338
+ tag = tagPart;
6339
+ positionMatch = posPart;
6340
+ } else {
6341
+ tag = tagAndPosition;
6342
+ }
6343
+ } else {
6344
+ tag = tagAndPosition;
6345
+ }
6346
+ if (!tag) {
6347
+ throw new Error(`Invalid segment pattern: ${part}`);
6348
+ }
6349
+ segment.tag = tag;
6350
+ if (namespace) {
6351
+ segment.namespace = namespace;
6352
+ }
6353
+ if (bracketContent) {
6354
+ if (bracketContent.includes("=")) {
6355
+ const eqIndex = bracketContent.indexOf("=");
6356
+ segment.attrName = bracketContent.substring(0, eqIndex).trim();
6357
+ segment.attrValue = bracketContent.substring(eqIndex + 1).trim();
6358
+ } else {
6359
+ segment.attrName = bracketContent.trim();
6360
+ }
6361
+ }
6362
+ if (positionMatch) {
6363
+ const nthMatch = positionMatch.match(/^nth\((\d+)\)$/);
6364
+ if (nthMatch) {
6365
+ segment.position = "nth";
6366
+ segment.positionValue = parseInt(nthMatch[1], 10);
6367
+ } else {
6368
+ segment.position = positionMatch;
6369
+ }
6370
+ }
6371
+ return segment;
6372
+ }
6373
+ /**
6374
+ * Get the number of segments
6375
+ * @returns {number}
6376
+ */
6377
+ get length() {
6378
+ return this.segments.length;
6379
+ }
6380
+ /**
6381
+ * Check if expression contains deep wildcard
6382
+ * @returns {boolean}
6383
+ */
6384
+ hasDeepWildcard() {
6385
+ return this._hasDeepWildcard;
6386
+ }
6387
+ /**
6388
+ * Check if expression has attribute conditions
6389
+ * @returns {boolean}
6390
+ */
6391
+ hasAttributeCondition() {
6392
+ return this._hasAttributeCondition;
6393
+ }
6394
+ /**
6395
+ * Check if expression has position selectors
6396
+ * @returns {boolean}
6397
+ */
6398
+ hasPositionSelector() {
6399
+ return this._hasPositionSelector;
6400
+ }
6401
+ /**
6402
+ * Get string representation
6403
+ * @returns {string}
6404
+ */
6405
+ toString() {
6406
+ return this.pattern;
6407
+ }
6408
+ };
6409
+ __name(_Expression, "Expression");
6410
+ var Expression = _Expression;
6411
+
6412
+ // ../../node_modules/.store/path-expression-matcher-npm-1.1.3-ea64bf895d/package/src/Matcher.js
6413
+ var _Matcher = class _Matcher {
6414
+ /**
6415
+ * Create a new Matcher
6416
+ * @param {Object} options - Configuration options
6417
+ * @param {string} options.separator - Default path separator (default: '.')
6418
+ */
6419
+ constructor(options = {}) {
6420
+ this.separator = options.separator || ".";
6421
+ this.path = [];
6422
+ this.siblingStacks = [];
6423
+ }
6424
+ /**
6425
+ * Push a new tag onto the path
6426
+ * @param {string} tagName - Name of the tag
6427
+ * @param {Object} attrValues - Attribute key-value pairs for current node (optional)
6428
+ * @param {string} namespace - Namespace for the tag (optional)
6429
+ */
6430
+ push(tagName, attrValues = null, namespace = null) {
6431
+ if (this.path.length > 0) {
6432
+ const prev = this.path[this.path.length - 1];
6433
+ prev.values = void 0;
6434
+ }
6435
+ const currentLevel = this.path.length;
6436
+ if (!this.siblingStacks[currentLevel]) {
6437
+ this.siblingStacks[currentLevel] = /* @__PURE__ */ new Map();
6438
+ }
6439
+ const siblings = this.siblingStacks[currentLevel];
6440
+ const siblingKey = namespace ? `${namespace}:${tagName}` : tagName;
6441
+ const counter = siblings.get(siblingKey) || 0;
6442
+ let position = 0;
6443
+ for (const count of siblings.values()) {
6444
+ position += count;
6445
+ }
6446
+ siblings.set(siblingKey, counter + 1);
6447
+ const node = {
6448
+ tag: tagName,
6449
+ position,
6450
+ counter
6451
+ };
6452
+ if (namespace !== null && namespace !== void 0) {
6453
+ node.namespace = namespace;
6454
+ }
6455
+ if (attrValues !== null && attrValues !== void 0) {
6456
+ node.values = attrValues;
6457
+ }
6458
+ this.path.push(node);
6459
+ }
6460
+ /**
6461
+ * Pop the last tag from the path
6462
+ * @returns {Object|undefined} The popped node
6463
+ */
6464
+ pop() {
6465
+ if (this.path.length === 0) {
6466
+ return void 0;
6467
+ }
6468
+ const node = this.path.pop();
6469
+ if (this.siblingStacks.length > this.path.length + 1) {
6470
+ this.siblingStacks.length = this.path.length + 1;
6471
+ }
6472
+ return node;
6473
+ }
6474
+ /**
6475
+ * Update current node's attribute values
6476
+ * Useful when attributes are parsed after push
6477
+ * @param {Object} attrValues - Attribute values
6478
+ */
6479
+ updateCurrent(attrValues) {
6480
+ if (this.path.length > 0) {
6481
+ const current = this.path[this.path.length - 1];
6482
+ if (attrValues !== null && attrValues !== void 0) {
6483
+ current.values = attrValues;
6484
+ }
6485
+ }
6486
+ }
6487
+ /**
6488
+ * Get current tag name
6489
+ * @returns {string|undefined}
6490
+ */
6491
+ getCurrentTag() {
6492
+ return this.path.length > 0 ? this.path[this.path.length - 1].tag : void 0;
6493
+ }
6494
+ /**
6495
+ * Get current namespace
6496
+ * @returns {string|undefined}
6497
+ */
6498
+ getCurrentNamespace() {
6499
+ return this.path.length > 0 ? this.path[this.path.length - 1].namespace : void 0;
6500
+ }
6501
+ /**
6502
+ * Get current node's attribute value
6503
+ * @param {string} attrName - Attribute name
6504
+ * @returns {*} Attribute value or undefined
6505
+ */
6506
+ getAttrValue(attrName) {
6507
+ var _a3;
6508
+ if (this.path.length === 0) return void 0;
6509
+ const current = this.path[this.path.length - 1];
6510
+ return (_a3 = current.values) == null ? void 0 : _a3[attrName];
6511
+ }
6512
+ /**
6513
+ * Check if current node has an attribute
6514
+ * @param {string} attrName - Attribute name
6515
+ * @returns {boolean}
6516
+ */
6517
+ hasAttr(attrName) {
6518
+ if (this.path.length === 0) return false;
6519
+ const current = this.path[this.path.length - 1];
6520
+ return current.values !== void 0 && attrName in current.values;
6521
+ }
6522
+ /**
6523
+ * Get current node's sibling position (child index in parent)
6524
+ * @returns {number}
6525
+ */
6526
+ getPosition() {
6527
+ if (this.path.length === 0) return -1;
6528
+ return this.path[this.path.length - 1].position ?? 0;
6529
+ }
6530
+ /**
6531
+ * Get current node's repeat counter (occurrence count of this tag name)
6532
+ * @returns {number}
6533
+ */
6534
+ getCounter() {
6535
+ if (this.path.length === 0) return -1;
6536
+ return this.path[this.path.length - 1].counter ?? 0;
6537
+ }
6538
+ /**
6539
+ * Get current node's sibling index (alias for getPosition for backward compatibility)
6540
+ * @returns {number}
6541
+ * @deprecated Use getPosition() or getCounter() instead
6542
+ */
6543
+ getIndex() {
6544
+ return this.getPosition();
6545
+ }
6546
+ /**
6547
+ * Get current path depth
6548
+ * @returns {number}
6549
+ */
6550
+ getDepth() {
6551
+ return this.path.length;
6552
+ }
6553
+ /**
6554
+ * Get path as string
6555
+ * @param {string} separator - Optional separator (uses default if not provided)
6556
+ * @param {boolean} includeNamespace - Whether to include namespace in output (default: true)
6557
+ * @returns {string}
6558
+ */
6559
+ toString(separator, includeNamespace = true) {
6560
+ const sep = separator || this.separator;
6561
+ return this.path.map((n) => {
6562
+ if (includeNamespace && n.namespace) {
6563
+ return `${n.namespace}:${n.tag}`;
6564
+ }
6565
+ return n.tag;
6566
+ }).join(sep);
6567
+ }
6568
+ /**
6569
+ * Get path as array of tag names
6570
+ * @returns {string[]}
6571
+ */
6572
+ toArray() {
6573
+ return this.path.map((n) => n.tag);
6574
+ }
6575
+ /**
6576
+ * Reset the path to empty
6577
+ */
6578
+ reset() {
6579
+ this.path = [];
6580
+ this.siblingStacks = [];
6581
+ }
6582
+ /**
6583
+ * Match current path against an Expression
6584
+ * @param {Expression} expression - The expression to match against
6585
+ * @returns {boolean} True if current path matches the expression
6586
+ */
6587
+ matches(expression) {
6588
+ const segments = expression.segments;
6589
+ if (segments.length === 0) {
6590
+ return false;
6591
+ }
6592
+ if (expression.hasDeepWildcard()) {
6593
+ return this._matchWithDeepWildcard(segments);
6594
+ }
6595
+ return this._matchSimple(segments);
6596
+ }
6597
+ /**
6598
+ * Match simple path (no deep wildcards)
6599
+ * @private
6600
+ */
6601
+ _matchSimple(segments) {
6602
+ if (this.path.length !== segments.length) {
6603
+ return false;
6604
+ }
6605
+ for (let i = 0; i < segments.length; i++) {
6606
+ const segment = segments[i];
6607
+ const node = this.path[i];
6608
+ const isCurrentNode = i === this.path.length - 1;
6609
+ if (!this._matchSegment(segment, node, isCurrentNode)) {
6610
+ return false;
6611
+ }
6612
+ }
6613
+ return true;
6614
+ }
6615
+ /**
6616
+ * Match path with deep wildcards
6617
+ * @private
6618
+ */
6619
+ _matchWithDeepWildcard(segments) {
6620
+ let pathIdx = this.path.length - 1;
6621
+ let segIdx = segments.length - 1;
6622
+ while (segIdx >= 0 && pathIdx >= 0) {
6623
+ const segment = segments[segIdx];
6624
+ if (segment.type === "deep-wildcard") {
6625
+ segIdx--;
6626
+ if (segIdx < 0) {
6627
+ return true;
6628
+ }
6629
+ const nextSeg = segments[segIdx];
6630
+ let found = false;
6631
+ for (let i = pathIdx; i >= 0; i--) {
6632
+ const isCurrentNode = i === this.path.length - 1;
6633
+ if (this._matchSegment(nextSeg, this.path[i], isCurrentNode)) {
6634
+ pathIdx = i - 1;
6635
+ segIdx--;
6636
+ found = true;
6637
+ break;
6638
+ }
6639
+ }
6640
+ if (!found) {
6641
+ return false;
6642
+ }
6643
+ } else {
6644
+ const isCurrentNode = pathIdx === this.path.length - 1;
6645
+ if (!this._matchSegment(segment, this.path[pathIdx], isCurrentNode)) {
6646
+ return false;
6647
+ }
6648
+ pathIdx--;
6649
+ segIdx--;
6650
+ }
6651
+ }
6652
+ return segIdx < 0;
6653
+ }
6654
+ /**
6655
+ * Match a single segment against a node
6656
+ * @private
6657
+ * @param {Object} segment - Segment from Expression
6658
+ * @param {Object} node - Node from path
6659
+ * @param {boolean} isCurrentNode - Whether this is the current (last) node
6660
+ * @returns {boolean}
6661
+ */
6662
+ _matchSegment(segment, node, isCurrentNode) {
6663
+ if (segment.tag !== "*" && segment.tag !== node.tag) {
6664
+ return false;
6665
+ }
6666
+ if (segment.namespace !== void 0) {
6667
+ if (segment.namespace !== "*" && segment.namespace !== node.namespace) {
6668
+ return false;
6669
+ }
6670
+ }
6671
+ if (segment.attrName !== void 0) {
6672
+ if (!isCurrentNode) {
6673
+ return false;
6674
+ }
6675
+ if (!node.values || !(segment.attrName in node.values)) {
6676
+ return false;
6677
+ }
6678
+ if (segment.attrValue !== void 0) {
6679
+ const actualValue = node.values[segment.attrName];
6680
+ if (String(actualValue) !== String(segment.attrValue)) {
6681
+ return false;
6682
+ }
6683
+ }
6684
+ }
6685
+ if (segment.position !== void 0) {
6686
+ if (!isCurrentNode) {
6687
+ return false;
6688
+ }
6689
+ const counter = node.counter ?? 0;
6690
+ if (segment.position === "first" && counter !== 0) {
6691
+ return false;
6692
+ } else if (segment.position === "odd" && counter % 2 !== 1) {
6693
+ return false;
6694
+ } else if (segment.position === "even" && counter % 2 !== 0) {
6695
+ return false;
6696
+ } else if (segment.position === "nth") {
6697
+ if (counter !== segment.positionValue) {
6698
+ return false;
6699
+ }
6700
+ }
6701
+ }
6702
+ return true;
6703
+ }
6704
+ /**
6705
+ * Create a snapshot of current state
6706
+ * @returns {Object} State snapshot
6707
+ */
6708
+ snapshot() {
6709
+ return {
6710
+ path: this.path.map((node) => ({ ...node })),
6711
+ siblingStacks: this.siblingStacks.map((map) => new Map(map))
6712
+ };
6713
+ }
6714
+ /**
6715
+ * Restore state from snapshot
6716
+ * @param {Object} snapshot - State snapshot
6717
+ */
6718
+ restore(snapshot2) {
6719
+ this.path = snapshot2.path.map((node) => ({ ...node }));
6720
+ this.siblingStacks = snapshot2.siblingStacks.map((map) => new Map(map));
6721
+ }
6722
+ };
6723
+ __name(_Matcher, "Matcher");
6724
+ var Matcher = _Matcher;
6725
+
6726
+ // ../../node_modules/.store/fast-xml-parser-npm-5.5.7-d3593c54f5/package/src/xmlparser/OrderedObjParser.js
6727
+ function extractRawAttributes(prefixedAttrs, options) {
6728
+ if (!prefixedAttrs) return {};
6729
+ const attrs = options.attributesGroupName ? prefixedAttrs[options.attributesGroupName] : prefixedAttrs;
6730
+ if (!attrs) return {};
6731
+ const rawAttrs = {};
6732
+ for (const key in attrs) {
6733
+ if (key.startsWith(options.attributeNamePrefix)) {
6734
+ const rawName = key.substring(options.attributeNamePrefix.length);
6735
+ rawAttrs[rawName] = attrs[key];
6736
+ } else {
6737
+ rawAttrs[key] = attrs[key];
6738
+ }
6739
+ }
6740
+ return rawAttrs;
6741
+ }
6742
+ __name(extractRawAttributes, "extractRawAttributes");
6743
+ function extractNamespace(rawTagName) {
6744
+ if (!rawTagName || typeof rawTagName !== "string") return void 0;
6745
+ const colonIndex = rawTagName.indexOf(":");
6746
+ if (colonIndex !== -1 && colonIndex > 0) {
6747
+ const ns = rawTagName.substring(0, colonIndex);
6748
+ if (ns !== "xmlns") {
6749
+ return ns;
6750
+ }
6751
+ }
6752
+ return void 0;
6753
+ }
6754
+ __name(extractNamespace, "extractNamespace");
6105
6755
  var _OrderedObjParser = class _OrderedObjParser {
6106
6756
  constructor(options) {
6107
6757
  this.options = options;
@@ -6143,16 +6793,18 @@ var _OrderedObjParser = class _OrderedObjParser {
6143
6793
  this.saveTextToParentTag = saveTextToParentTag;
6144
6794
  this.addChild = addChild;
6145
6795
  this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes);
6796
+ this.entityExpansionCount = 0;
6797
+ this.currentExpandedLength = 0;
6798
+ this.matcher = new Matcher();
6799
+ this.isCurrentNodeStopNode = false;
6146
6800
  if (this.options.stopNodes && this.options.stopNodes.length > 0) {
6147
- this.stopNodesExact = /* @__PURE__ */ new Set();
6148
- this.stopNodesWildcard = /* @__PURE__ */ new Set();
6801
+ this.stopNodeExpressions = [];
6149
6802
  for (let i = 0; i < this.options.stopNodes.length; i++) {
6150
6803
  const stopNodeExp = this.options.stopNodes[i];
6151
- if (typeof stopNodeExp !== "string") continue;
6152
- if (stopNodeExp.startsWith("*.")) {
6153
- this.stopNodesWildcard.add(stopNodeExp.substring(2));
6154
- } else {
6155
- this.stopNodesExact.add(stopNodeExp);
6804
+ if (typeof stopNodeExp === "string") {
6805
+ this.stopNodeExpressions.push(new Expression(stopNodeExp));
6806
+ } else if (stopNodeExp instanceof Expression) {
6807
+ this.stopNodeExpressions.push(stopNodeExp);
6156
6808
  }
6157
6809
  }
6158
6810
  }
@@ -6164,8 +6816,9 @@ function addExternalEntities(externalEntities) {
6164
6816
  const entKeys = Object.keys(externalEntities);
6165
6817
  for (let i = 0; i < entKeys.length; i++) {
6166
6818
  const ent = entKeys[i];
6819
+ const escaped = ent.replace(/[.\-+*:]/g, "\\.");
6167
6820
  this.lastEntities[ent] = {
6168
- regex: new RegExp("&" + ent + ";", "g"),
6821
+ regex: new RegExp("&" + escaped + ";", "g"),
6169
6822
  val: externalEntities[ent]
6170
6823
  };
6171
6824
  }
@@ -6177,8 +6830,9 @@ function parseTextData(val, tagName, jPath, dontTrim, hasAttributes, isLeafNode,
6177
6830
  val = val.trim();
6178
6831
  }
6179
6832
  if (val.length > 0) {
6180
- if (!escapeEntities) val = this.replaceEntitiesValue(val);
6181
- const newval = this.options.tagValueProcessor(tagName, val, jPath, hasAttributes, isLeafNode);
6833
+ if (!escapeEntities) val = this.replaceEntitiesValue(val, tagName, jPath);
6834
+ const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;
6835
+ const newval = this.options.tagValueProcessor(tagName, val, jPathOrMatcher, hasAttributes, isLeafNode);
6182
6836
  if (newval === null || newval === void 0) {
6183
6837
  return val;
6184
6838
  } else if (typeof newval !== typeof val || newval !== val) {
@@ -6212,14 +6866,31 @@ function resolveNameSpace(tagname) {
6212
6866
  }
6213
6867
  __name(resolveNameSpace, "resolveNameSpace");
6214
6868
  var attrsRegx = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
6215
- function buildAttributesMap(attrStr, jPath) {
6869
+ function buildAttributesMap(attrStr, jPath, tagName) {
6216
6870
  if (this.options.ignoreAttributes !== true && typeof attrStr === "string") {
6217
6871
  const matches = getAllMatches(attrStr, attrsRegx);
6218
6872
  const len = matches.length;
6219
6873
  const attrs = {};
6874
+ const rawAttrsForMatcher = {};
6875
+ for (let i = 0; i < len; i++) {
6876
+ const attrName = this.resolveNameSpace(matches[i][1]);
6877
+ const oldVal = matches[i][4];
6878
+ if (attrName.length && oldVal !== void 0) {
6879
+ let parsedVal = oldVal;
6880
+ if (this.options.trimValues) {
6881
+ parsedVal = parsedVal.trim();
6882
+ }
6883
+ parsedVal = this.replaceEntitiesValue(parsedVal, tagName, jPath);
6884
+ rawAttrsForMatcher[attrName] = parsedVal;
6885
+ }
6886
+ }
6887
+ if (Object.keys(rawAttrsForMatcher).length > 0 && typeof jPath === "object" && jPath.updateCurrent) {
6888
+ jPath.updateCurrent(rawAttrsForMatcher);
6889
+ }
6220
6890
  for (let i = 0; i < len; i++) {
6221
6891
  const attrName = this.resolveNameSpace(matches[i][1]);
6222
- if (this.ignoreAttributesFn(attrName, jPath)) {
6892
+ const jPathStr = this.options.jPath ? jPath.toString() : jPath;
6893
+ if (this.ignoreAttributesFn(attrName, jPathStr)) {
6223
6894
  continue;
6224
6895
  }
6225
6896
  let oldVal = matches[i][4];
@@ -6228,13 +6899,14 @@ function buildAttributesMap(attrStr, jPath) {
6228
6899
  if (this.options.transformAttributeName) {
6229
6900
  aName = this.options.transformAttributeName(aName);
6230
6901
  }
6231
- if (aName === "__proto__") aName = "#__proto__";
6902
+ aName = sanitizeName(aName, this.options);
6232
6903
  if (oldVal !== void 0) {
6233
6904
  if (this.options.trimValues) {
6234
6905
  oldVal = oldVal.trim();
6235
6906
  }
6236
- oldVal = this.replaceEntitiesValue(oldVal);
6237
- const newVal = this.options.attributeValueProcessor(attrName, oldVal, jPath);
6907
+ oldVal = this.replaceEntitiesValue(oldVal, tagName, jPath);
6908
+ const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;
6909
+ const newVal = this.options.attributeValueProcessor(attrName, oldVal, jPathOrMatcher);
6238
6910
  if (newVal === null || newVal === void 0) {
6239
6911
  attrs[aName] = oldVal;
6240
6912
  } else if (typeof newVal !== typeof oldVal || newVal !== oldVal) {
@@ -6268,7 +6940,9 @@ var parseXml = /* @__PURE__ */ __name(function(xmlData) {
6268
6940
  const xmlObj = new XmlNode("!xml");
6269
6941
  let currentNode = xmlObj;
6270
6942
  let textData = "";
6271
- let jPath = "";
6943
+ this.matcher.reset();
6944
+ this.entityExpansionCount = 0;
6945
+ this.currentExpandedLength = 0;
6272
6946
  const docTypeReader = new DocTypeReader(this.options.processEntities);
6273
6947
  for (let i = 0; i < xmlData.length; i++) {
6274
6948
  const ch = xmlData[i];
@@ -6282,46 +6956,42 @@ var parseXml = /* @__PURE__ */ __name(function(xmlData) {
6282
6956
  tagName = tagName.substr(colonIndex + 1);
6283
6957
  }
6284
6958
  }
6285
- if (this.options.transformTagName) {
6286
- tagName = this.options.transformTagName(tagName);
6287
- }
6959
+ tagName = transformTagName(this.options.transformTagName, tagName, "", this.options).tagName;
6288
6960
  if (currentNode) {
6289
- textData = this.saveTextToParentTag(textData, currentNode, jPath);
6961
+ textData = this.saveTextToParentTag(textData, currentNode, this.matcher);
6290
6962
  }
6291
- const lastTagName = jPath.substring(jPath.lastIndexOf(".") + 1);
6963
+ const lastTagName = this.matcher.getCurrentTag();
6292
6964
  if (tagName && this.options.unpairedTags.indexOf(tagName) !== -1) {
6293
6965
  throw new Error(`Unpaired tag can not be used as closing tag: </${tagName}>`);
6294
6966
  }
6295
- let propIndex = 0;
6296
6967
  if (lastTagName && this.options.unpairedTags.indexOf(lastTagName) !== -1) {
6297
- propIndex = jPath.lastIndexOf(".", jPath.lastIndexOf(".") - 1);
6968
+ this.matcher.pop();
6298
6969
  this.tagsNodeStack.pop();
6299
- } else {
6300
- propIndex = jPath.lastIndexOf(".");
6301
6970
  }
6302
- jPath = jPath.substring(0, propIndex);
6971
+ this.matcher.pop();
6972
+ this.isCurrentNodeStopNode = false;
6303
6973
  currentNode = this.tagsNodeStack.pop();
6304
6974
  textData = "";
6305
6975
  i = closeIndex;
6306
6976
  } else if (xmlData[i + 1] === "?") {
6307
6977
  let tagData = readTagExp(xmlData, i, false, "?>");
6308
6978
  if (!tagData) throw new Error("Pi Tag is not closed.");
6309
- textData = this.saveTextToParentTag(textData, currentNode, jPath);
6979
+ textData = this.saveTextToParentTag(textData, currentNode, this.matcher);
6310
6980
  if (this.options.ignoreDeclaration && tagData.tagName === "?xml" || this.options.ignorePiTags) {
6311
6981
  } else {
6312
6982
  const childNode = new XmlNode(tagData.tagName);
6313
6983
  childNode.add(this.options.textNodeName, "");
6314
6984
  if (tagData.tagName !== tagData.tagExp && tagData.attrExpPresent) {
6315
- childNode[":@"] = this.buildAttributesMap(tagData.tagExp, jPath);
6985
+ childNode[":@"] = this.buildAttributesMap(tagData.tagExp, this.matcher, tagData.tagName);
6316
6986
  }
6317
- this.addChild(currentNode, childNode, jPath, i);
6987
+ this.addChild(currentNode, childNode, this.matcher, i);
6318
6988
  }
6319
6989
  i = tagData.closeIndex + 1;
6320
6990
  } else if (xmlData.substr(i + 1, 3) === "!--") {
6321
6991
  const endIndex = findClosingIndex(xmlData, "-->", i + 4, "Comment is not closed.");
6322
6992
  if (this.options.commentPropName) {
6323
6993
  const comment = xmlData.substring(i + 4, endIndex - 2);
6324
- textData = this.saveTextToParentTag(textData, currentNode, jPath);
6994
+ textData = this.saveTextToParentTag(textData, currentNode, this.matcher);
6325
6995
  currentNode.add(this.options.commentPropName, [{ [this.options.textNodeName]: comment }]);
6326
6996
  }
6327
6997
  i = endIndex;
@@ -6332,8 +7002,8 @@ var parseXml = /* @__PURE__ */ __name(function(xmlData) {
6332
7002
  } else if (xmlData.substr(i + 1, 2) === "![") {
6333
7003
  const closeIndex = findClosingIndex(xmlData, "]]>", i, "CDATA is not closed.") - 2;
6334
7004
  const tagExp = xmlData.substring(i + 9, closeIndex);
6335
- textData = this.saveTextToParentTag(textData, currentNode, jPath);
6336
- let val = this.parseTextData(tagExp, currentNode.tagname, jPath, true, false, true, true);
7005
+ textData = this.saveTextToParentTag(textData, currentNode, this.matcher);
7006
+ let val = this.parseTextData(tagExp, currentNode.tagname, this.matcher, true, false, true, true);
6337
7007
  if (val == void 0) val = "";
6338
7008
  if (this.options.cdataPropName) {
6339
7009
  currentNode.add(this.options.cdataPropName, [{ [this.options.textNodeName]: tagExp }]);
@@ -6343,42 +7013,60 @@ var parseXml = /* @__PURE__ */ __name(function(xmlData) {
6343
7013
  i = closeIndex + 2;
6344
7014
  } else {
6345
7015
  let result = readTagExp(xmlData, i, this.options.removeNSPrefix);
7016
+ if (!result) {
7017
+ const context3 = xmlData.substring(Math.max(0, i - 50), Math.min(xmlData.length, i + 50));
7018
+ throw new Error(`readTagExp returned undefined at position ${i}. Context: "${context3}"`);
7019
+ }
6346
7020
  let tagName = result.tagName;
6347
7021
  const rawTagName = result.rawTagName;
6348
7022
  let tagExp = result.tagExp;
6349
7023
  let attrExpPresent = result.attrExpPresent;
6350
7024
  let closeIndex = result.closeIndex;
6351
- if (this.options.transformTagName) {
6352
- const newTagName = this.options.transformTagName(tagName);
6353
- if (tagExp === tagName) {
6354
- tagExp = newTagName;
6355
- }
6356
- tagName = newTagName;
7025
+ ({ tagName, tagExp } = transformTagName(this.options.transformTagName, tagName, tagExp, this.options));
7026
+ if (this.options.strictReservedNames && (tagName === this.options.commentPropName || tagName === this.options.cdataPropName || tagName === this.options.textNodeName || tagName === this.options.attributesGroupName)) {
7027
+ throw new Error(`Invalid tag name: ${tagName}`);
6357
7028
  }
6358
7029
  if (currentNode && textData) {
6359
7030
  if (currentNode.tagname !== "!xml") {
6360
- textData = this.saveTextToParentTag(textData, currentNode, jPath, false);
7031
+ textData = this.saveTextToParentTag(textData, currentNode, this.matcher, false);
6361
7032
  }
6362
7033
  }
6363
7034
  const lastTag = currentNode;
6364
7035
  if (lastTag && this.options.unpairedTags.indexOf(lastTag.tagname) !== -1) {
6365
7036
  currentNode = this.tagsNodeStack.pop();
6366
- jPath = jPath.substring(0, jPath.lastIndexOf("."));
7037
+ this.matcher.pop();
7038
+ }
7039
+ let isSelfClosing = false;
7040
+ if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) {
7041
+ isSelfClosing = true;
7042
+ if (tagName[tagName.length - 1] === "/") {
7043
+ tagName = tagName.substr(0, tagName.length - 1);
7044
+ tagExp = tagName;
7045
+ } else {
7046
+ tagExp = tagExp.substr(0, tagExp.length - 1);
7047
+ }
7048
+ attrExpPresent = tagName !== tagExp;
7049
+ }
7050
+ let prefixedAttrs = null;
7051
+ let rawAttrs = {};
7052
+ let namespace = void 0;
7053
+ namespace = extractNamespace(rawTagName);
7054
+ if (tagName !== xmlObj.tagname) {
7055
+ this.matcher.push(tagName, {}, namespace);
7056
+ }
7057
+ if (tagName !== tagExp && attrExpPresent) {
7058
+ prefixedAttrs = this.buildAttributesMap(tagExp, this.matcher, tagName);
7059
+ if (prefixedAttrs) {
7060
+ rawAttrs = extractRawAttributes(prefixedAttrs, this.options);
7061
+ }
6367
7062
  }
6368
7063
  if (tagName !== xmlObj.tagname) {
6369
- jPath += jPath ? "." + tagName : tagName;
7064
+ this.isCurrentNodeStopNode = this.isItStopNode(this.stopNodeExpressions, this.matcher);
6370
7065
  }
6371
7066
  const startIndex = i;
6372
- if (this.isItStopNode(this.stopNodesExact, this.stopNodesWildcard, jPath, tagName)) {
7067
+ if (this.isCurrentNodeStopNode) {
6373
7068
  let tagContent = "";
6374
- if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) {
6375
- if (tagName[tagName.length - 1] === "/") {
6376
- tagName = tagName.substr(0, tagName.length - 1);
6377
- jPath = jPath.substr(0, jPath.length - 1);
6378
- tagExp = tagName;
6379
- } else {
6380
- tagExp = tagExp.substr(0, tagExp.length - 1);
6381
- }
7069
+ if (isSelfClosing) {
6382
7070
  i = result.closeIndex;
6383
7071
  } else if (this.options.unpairedTags.indexOf(tagName) !== -1) {
6384
7072
  i = result.closeIndex;
@@ -6389,47 +7077,43 @@ var parseXml = /* @__PURE__ */ __name(function(xmlData) {
6389
7077
  tagContent = result2.tagContent;
6390
7078
  }
6391
7079
  const childNode = new XmlNode(tagName);
6392
- if (tagName !== tagExp && attrExpPresent) {
6393
- childNode[":@"] = this.buildAttributesMap(
6394
- tagExp,
6395
- jPath
6396
- );
6397
- }
6398
- if (tagContent) {
6399
- tagContent = this.parseTextData(tagContent, tagName, jPath, true, attrExpPresent, true, true);
7080
+ if (prefixedAttrs) {
7081
+ childNode[":@"] = prefixedAttrs;
6400
7082
  }
6401
- jPath = jPath.substr(0, jPath.lastIndexOf("."));
6402
7083
  childNode.add(this.options.textNodeName, tagContent);
6403
- this.addChild(currentNode, childNode, jPath, startIndex);
7084
+ this.matcher.pop();
7085
+ this.isCurrentNodeStopNode = false;
7086
+ this.addChild(currentNode, childNode, this.matcher, startIndex);
6404
7087
  } else {
6405
- if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) {
6406
- if (tagName[tagName.length - 1] === "/") {
6407
- tagName = tagName.substr(0, tagName.length - 1);
6408
- jPath = jPath.substr(0, jPath.length - 1);
6409
- tagExp = tagName;
6410
- } else {
6411
- tagExp = tagExp.substr(0, tagExp.length - 1);
6412
- }
6413
- if (this.options.transformTagName) {
6414
- const newTagName = this.options.transformTagName(tagName);
6415
- if (tagExp === tagName) {
6416
- tagExp = newTagName;
6417
- }
6418
- tagName = newTagName;
7088
+ if (isSelfClosing) {
7089
+ ({ tagName, tagExp } = transformTagName(this.options.transformTagName, tagName, tagExp, this.options));
7090
+ const childNode = new XmlNode(tagName);
7091
+ if (prefixedAttrs) {
7092
+ childNode[":@"] = prefixedAttrs;
6419
7093
  }
7094
+ this.addChild(currentNode, childNode, this.matcher, startIndex);
7095
+ this.matcher.pop();
7096
+ this.isCurrentNodeStopNode = false;
7097
+ } else if (this.options.unpairedTags.indexOf(tagName) !== -1) {
6420
7098
  const childNode = new XmlNode(tagName);
6421
- if (tagName !== tagExp && attrExpPresent) {
6422
- childNode[":@"] = this.buildAttributesMap(tagExp, jPath);
7099
+ if (prefixedAttrs) {
7100
+ childNode[":@"] = prefixedAttrs;
6423
7101
  }
6424
- this.addChild(currentNode, childNode, jPath, startIndex);
6425
- jPath = jPath.substr(0, jPath.lastIndexOf("."));
7102
+ this.addChild(currentNode, childNode, this.matcher, startIndex);
7103
+ this.matcher.pop();
7104
+ this.isCurrentNodeStopNode = false;
7105
+ i = result.closeIndex;
7106
+ continue;
6426
7107
  } else {
6427
7108
  const childNode = new XmlNode(tagName);
7109
+ if (this.tagsNodeStack.length > this.options.maxNestedTags) {
7110
+ throw new Error("Maximum nested tags exceeded");
7111
+ }
6428
7112
  this.tagsNodeStack.push(currentNode);
6429
- if (tagName !== tagExp && attrExpPresent) {
6430
- childNode[":@"] = this.buildAttributesMap(tagExp, jPath);
7113
+ if (prefixedAttrs) {
7114
+ childNode[":@"] = prefixedAttrs;
6431
7115
  }
6432
- this.addChild(currentNode, childNode, jPath, startIndex);
7116
+ this.addChild(currentNode, childNode, this.matcher, startIndex);
6433
7117
  currentNode = childNode;
6434
7118
  }
6435
7119
  textData = "";
@@ -6442,9 +7126,10 @@ var parseXml = /* @__PURE__ */ __name(function(xmlData) {
6442
7126
  }
6443
7127
  return xmlObj.child;
6444
7128
  }, "parseXml");
6445
- function addChild(currentNode, childNode, jPath, startIndex) {
7129
+ function addChild(currentNode, childNode, matcher, startIndex) {
6446
7130
  if (!this.options.captureMetaData) startIndex = void 0;
6447
- const result = this.options.updateTag(childNode.tagname, jPath, childNode[":@"]);
7131
+ const jPathOrMatcher = this.options.jPath ? matcher.toString() : matcher;
7132
+ const result = this.options.updateTag(childNode.tagname, jPathOrMatcher, childNode[":@"]);
6448
7133
  if (result === false) {
6449
7134
  } else if (typeof result === "string") {
6450
7135
  childNode.tagname = result;
@@ -6454,47 +7139,104 @@ function addChild(currentNode, childNode, jPath, startIndex) {
6454
7139
  }
6455
7140
  }
6456
7141
  __name(addChild, "addChild");
6457
- var replaceEntitiesValue = /* @__PURE__ */ __name(function(val) {
6458
- if (this.options.processEntities) {
6459
- for (let entityName in this.docTypeEntities) {
6460
- const entity = this.docTypeEntities[entityName];
7142
+ function replaceEntitiesValue(val, tagName, jPath) {
7143
+ const entityConfig = this.options.processEntities;
7144
+ if (!entityConfig || !entityConfig.enabled) {
7145
+ return val;
7146
+ }
7147
+ if (entityConfig.allowedTags) {
7148
+ const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;
7149
+ const allowed = Array.isArray(entityConfig.allowedTags) ? entityConfig.allowedTags.includes(tagName) : entityConfig.allowedTags(tagName, jPathOrMatcher);
7150
+ if (!allowed) {
7151
+ return val;
7152
+ }
7153
+ }
7154
+ if (entityConfig.tagFilter) {
7155
+ const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;
7156
+ if (!entityConfig.tagFilter(tagName, jPathOrMatcher)) {
7157
+ return val;
7158
+ }
7159
+ }
7160
+ for (const entityName of Object.keys(this.docTypeEntities)) {
7161
+ const entity = this.docTypeEntities[entityName];
7162
+ const matches = val.match(entity.regx);
7163
+ if (matches) {
7164
+ this.entityExpansionCount += matches.length;
7165
+ if (entityConfig.maxTotalExpansions && this.entityExpansionCount > entityConfig.maxTotalExpansions) {
7166
+ throw new Error(
7167
+ `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}`
7168
+ );
7169
+ }
7170
+ const lengthBefore = val.length;
6461
7171
  val = val.replace(entity.regx, entity.val);
7172
+ if (entityConfig.maxExpandedLength) {
7173
+ this.currentExpandedLength += val.length - lengthBefore;
7174
+ if (this.currentExpandedLength > entityConfig.maxExpandedLength) {
7175
+ throw new Error(
7176
+ `Total expanded content size exceeded: ${this.currentExpandedLength} > ${entityConfig.maxExpandedLength}`
7177
+ );
7178
+ }
7179
+ }
6462
7180
  }
6463
- for (let entityName in this.lastEntities) {
6464
- const entity = this.lastEntities[entityName];
6465
- val = val.replace(entity.regex, entity.val);
7181
+ }
7182
+ for (const entityName of Object.keys(this.lastEntities)) {
7183
+ const entity = this.lastEntities[entityName];
7184
+ const matches = val.match(entity.regex);
7185
+ if (matches) {
7186
+ this.entityExpansionCount += matches.length;
7187
+ if (entityConfig.maxTotalExpansions && this.entityExpansionCount > entityConfig.maxTotalExpansions) {
7188
+ throw new Error(
7189
+ `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}`
7190
+ );
7191
+ }
6466
7192
  }
6467
- if (this.options.htmlEntities) {
6468
- for (let entityName in this.htmlEntities) {
6469
- const entity = this.htmlEntities[entityName];
6470
- val = val.replace(entity.regex, entity.val);
7193
+ val = val.replace(entity.regex, entity.val);
7194
+ }
7195
+ if (val.indexOf("&") === -1) return val;
7196
+ if (this.options.htmlEntities) {
7197
+ for (const entityName of Object.keys(this.htmlEntities)) {
7198
+ const entity = this.htmlEntities[entityName];
7199
+ const matches = val.match(entity.regex);
7200
+ if (matches) {
7201
+ this.entityExpansionCount += matches.length;
7202
+ if (entityConfig.maxTotalExpansions && this.entityExpansionCount > entityConfig.maxTotalExpansions) {
7203
+ throw new Error(
7204
+ `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}`
7205
+ );
7206
+ }
6471
7207
  }
7208
+ val = val.replace(entity.regex, entity.val);
6472
7209
  }
6473
- val = val.replace(this.ampEntity.regex, this.ampEntity.val);
6474
7210
  }
7211
+ val = val.replace(this.ampEntity.regex, this.ampEntity.val);
6475
7212
  return val;
6476
- }, "replaceEntitiesValue");
6477
- function saveTextToParentTag(textData, currentNode, jPath, isLeafNode) {
7213
+ }
7214
+ __name(replaceEntitiesValue, "replaceEntitiesValue");
7215
+ function saveTextToParentTag(textData, parentNode, matcher, isLeafNode) {
6478
7216
  if (textData) {
6479
- if (isLeafNode === void 0) isLeafNode = currentNode.child.length === 0;
7217
+ if (isLeafNode === void 0) isLeafNode = parentNode.child.length === 0;
6480
7218
  textData = this.parseTextData(
6481
7219
  textData,
6482
- currentNode.tagname,
6483
- jPath,
7220
+ parentNode.tagname,
7221
+ matcher,
6484
7222
  false,
6485
- currentNode[":@"] ? Object.keys(currentNode[":@"]).length !== 0 : false,
7223
+ parentNode[":@"] ? Object.keys(parentNode[":@"]).length !== 0 : false,
6486
7224
  isLeafNode
6487
7225
  );
6488
7226
  if (textData !== void 0 && textData !== "")
6489
- currentNode.add(this.options.textNodeName, textData);
7227
+ parentNode.add(this.options.textNodeName, textData);
6490
7228
  textData = "";
6491
7229
  }
6492
7230
  return textData;
6493
7231
  }
6494
7232
  __name(saveTextToParentTag, "saveTextToParentTag");
6495
- function isItStopNode(stopNodesExact, stopNodesWildcard, jPath, currentTagName) {
6496
- if (stopNodesWildcard && stopNodesWildcard.has(currentTagName)) return true;
6497
- if (stopNodesExact && stopNodesExact.has(jPath)) return true;
7233
+ function isItStopNode(stopNodeExpressions, matcher) {
7234
+ if (!stopNodeExpressions || stopNodeExpressions.length === 0) return false;
7235
+ for (let i = 0; i < stopNodeExpressions.length; i++) {
7236
+ if (matcher.matches(stopNodeExpressions[i])) {
7237
+ return true;
7238
+ }
7239
+ }
6498
7240
  return false;
6499
7241
  }
6500
7242
  __name(isItStopNode, "isItStopNode");
@@ -6631,53 +7373,97 @@ function fromCodePoint(str, base, prefix2) {
6631
7373
  }
6632
7374
  }
6633
7375
  __name(fromCodePoint, "fromCodePoint");
7376
+ function transformTagName(fn, tagName, tagExp, options) {
7377
+ if (fn) {
7378
+ const newTagName = fn(tagName);
7379
+ if (tagExp === tagName) {
7380
+ tagExp = newTagName;
7381
+ }
7382
+ tagName = newTagName;
7383
+ }
7384
+ tagName = sanitizeName(tagName, options);
7385
+ return { tagName, tagExp };
7386
+ }
7387
+ __name(transformTagName, "transformTagName");
7388
+ function sanitizeName(name, options) {
7389
+ if (criticalProperties.includes(name)) {
7390
+ throw new Error(`[SECURITY] Invalid name: "${name}" is a reserved JavaScript keyword that could cause prototype pollution`);
7391
+ } else if (DANGEROUS_PROPERTY_NAMES.includes(name)) {
7392
+ return options.onDangerousProperty(name);
7393
+ }
7394
+ return name;
7395
+ }
7396
+ __name(sanitizeName, "sanitizeName");
6634
7397
 
6635
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/xmlparser/node2json.js
7398
+ // ../../node_modules/.store/fast-xml-parser-npm-5.5.7-d3593c54f5/package/src/xmlparser/node2json.js
6636
7399
  var METADATA_SYMBOL2 = XmlNode.getMetaDataSymbol();
6637
- function prettify(node, options) {
6638
- return compress(node, options);
7400
+ function stripAttributePrefix(attrs, prefix2) {
7401
+ if (!attrs || typeof attrs !== "object") return {};
7402
+ if (!prefix2) return attrs;
7403
+ const rawAttrs = {};
7404
+ for (const key in attrs) {
7405
+ if (key.startsWith(prefix2)) {
7406
+ const rawName = key.substring(prefix2.length);
7407
+ rawAttrs[rawName] = attrs[key];
7408
+ } else {
7409
+ rawAttrs[key] = attrs[key];
7410
+ }
7411
+ }
7412
+ return rawAttrs;
7413
+ }
7414
+ __name(stripAttributePrefix, "stripAttributePrefix");
7415
+ function prettify(node, options, matcher) {
7416
+ return compress(node, options, matcher);
6639
7417
  }
6640
7418
  __name(prettify, "prettify");
6641
- function compress(arr, options, jPath) {
7419
+ function compress(arr, options, matcher) {
6642
7420
  let text;
6643
7421
  const compressedObj = {};
6644
7422
  for (let i = 0; i < arr.length; i++) {
6645
7423
  const tagObj = arr[i];
6646
7424
  const property = propName(tagObj);
6647
- let newJpath = "";
6648
- if (jPath === void 0) newJpath = property;
6649
- else newJpath = jPath + "." + property;
7425
+ if (property !== void 0 && property !== options.textNodeName) {
7426
+ const rawAttrs = stripAttributePrefix(
7427
+ tagObj[":@"] || {},
7428
+ options.attributeNamePrefix
7429
+ );
7430
+ matcher.push(property, rawAttrs);
7431
+ }
6650
7432
  if (property === options.textNodeName) {
6651
7433
  if (text === void 0) text = tagObj[property];
6652
7434
  else text += "" + tagObj[property];
6653
7435
  } else if (property === void 0) {
6654
7436
  continue;
6655
7437
  } else if (tagObj[property]) {
6656
- let val = compress(tagObj[property], options, newJpath);
7438
+ let val = compress(tagObj[property], options, matcher);
6657
7439
  const isLeaf = isLeafTag(val, options);
6658
- if (tagObj[METADATA_SYMBOL2] !== void 0) {
6659
- val[METADATA_SYMBOL2] = tagObj[METADATA_SYMBOL2];
6660
- }
6661
7440
  if (tagObj[":@"]) {
6662
- assignAttributes(val, tagObj[":@"], newJpath, options);
7441
+ assignAttributes(val, tagObj[":@"], matcher, options);
6663
7442
  } else if (Object.keys(val).length === 1 && val[options.textNodeName] !== void 0 && !options.alwaysCreateTextNode) {
6664
7443
  val = val[options.textNodeName];
6665
7444
  } else if (Object.keys(val).length === 0) {
6666
7445
  if (options.alwaysCreateTextNode) val[options.textNodeName] = "";
6667
7446
  else val = "";
6668
7447
  }
6669
- if (compressedObj[property] !== void 0 && compressedObj.hasOwnProperty(property)) {
7448
+ if (tagObj[METADATA_SYMBOL2] !== void 0 && typeof val === "object" && val !== null) {
7449
+ val[METADATA_SYMBOL2] = tagObj[METADATA_SYMBOL2];
7450
+ }
7451
+ if (compressedObj[property] !== void 0 && Object.prototype.hasOwnProperty.call(compressedObj, property)) {
6670
7452
  if (!Array.isArray(compressedObj[property])) {
6671
7453
  compressedObj[property] = [compressedObj[property]];
6672
7454
  }
6673
7455
  compressedObj[property].push(val);
6674
7456
  } else {
6675
- if (options.isArray(property, newJpath, isLeaf)) {
7457
+ const jPathOrMatcher = options.jPath ? matcher.toString() : matcher;
7458
+ if (options.isArray(property, jPathOrMatcher, isLeaf)) {
6676
7459
  compressedObj[property] = [val];
6677
7460
  } else {
6678
7461
  compressedObj[property] = val;
6679
7462
  }
6680
7463
  }
7464
+ if (property !== void 0 && property !== options.textNodeName) {
7465
+ matcher.pop();
7466
+ }
6681
7467
  }
6682
7468
  }
6683
7469
  if (typeof text === "string") {
@@ -6694,13 +7480,15 @@ function propName(obj) {
6694
7480
  }
6695
7481
  }
6696
7482
  __name(propName, "propName");
6697
- function assignAttributes(obj, attrMap, jpath, options) {
7483
+ function assignAttributes(obj, attrMap, matcher, options) {
6698
7484
  if (attrMap) {
6699
7485
  const keys = Object.keys(attrMap);
6700
7486
  const len = keys.length;
6701
7487
  for (let i = 0; i < len; i++) {
6702
7488
  const atrrName = keys[i];
6703
- if (options.isArray(atrrName, jpath + "." + atrrName, true, true)) {
7489
+ const rawAttrName = atrrName.startsWith(options.attributeNamePrefix) ? atrrName.substring(options.attributeNamePrefix.length) : atrrName;
7490
+ const jPathOrMatcher = options.jPath ? matcher.toString() + "." + rawAttrName : matcher;
7491
+ if (options.isArray(atrrName, jPathOrMatcher, true, true)) {
6704
7492
  obj[atrrName] = [attrMap[atrrName]];
6705
7493
  } else {
6706
7494
  obj[atrrName] = attrMap[atrrName];
@@ -6722,7 +7510,7 @@ function isLeafTag(obj, options) {
6722
7510
  }
6723
7511
  __name(isLeafTag, "isLeafTag");
6724
7512
 
6725
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/xmlparser/XMLParser.js
7513
+ // ../../node_modules/.store/fast-xml-parser-npm-5.5.7-d3593c54f5/package/src/xmlparser/XMLParser.js
6726
7514
  var _XMLParser = class _XMLParser {
6727
7515
  constructor(options) {
6728
7516
  this.externalEntities = {};
@@ -6750,7 +7538,7 @@ var _XMLParser = class _XMLParser {
6750
7538
  orderedObjParser.addExternalEntities(this.externalEntities);
6751
7539
  const orderedResult = orderedObjParser.parseXml(xmlData);
6752
7540
  if (this.options.preserveOrder || orderedResult === void 0) return orderedResult;
6753
- else return prettify(orderedResult, this.options);
7541
+ else return prettify(orderedResult, this.options, orderedObjParser.matcher);
6754
7542
  }
6755
7543
  /**
6756
7544
  * Add Entity which is not by default supported by this library
@@ -6785,29 +7573,52 @@ var _XMLParser = class _XMLParser {
6785
7573
  __name(_XMLParser, "XMLParser");
6786
7574
  var XMLParser = _XMLParser;
6787
7575
 
6788
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/xmlbuilder/orderedJs2Xml.js
7576
+ // ../../node_modules/.store/fast-xml-builder-npm-1.1.4-abdb1d2cae/package/src/orderedJs2Xml.js
6789
7577
  var EOL2 = "\n";
6790
7578
  function toXml(jArray, options) {
6791
7579
  let indentation = "";
6792
7580
  if (options.format && options.indentBy.length > 0) {
6793
7581
  indentation = EOL2;
6794
7582
  }
6795
- return arrToStr(jArray, options, "", indentation);
7583
+ const stopNodeExpressions = [];
7584
+ if (options.stopNodes && Array.isArray(options.stopNodes)) {
7585
+ for (let i = 0; i < options.stopNodes.length; i++) {
7586
+ const node = options.stopNodes[i];
7587
+ if (typeof node === "string") {
7588
+ stopNodeExpressions.push(new Expression(node));
7589
+ } else if (node instanceof Expression) {
7590
+ stopNodeExpressions.push(node);
7591
+ }
7592
+ }
7593
+ }
7594
+ const matcher = new Matcher();
7595
+ return arrToStr(jArray, options, indentation, matcher, stopNodeExpressions);
6796
7596
  }
6797
7597
  __name(toXml, "toXml");
6798
- function arrToStr(arr, options, jPath, indentation) {
7598
+ function arrToStr(arr, options, indentation, matcher, stopNodeExpressions) {
6799
7599
  let xmlStr = "";
6800
7600
  let isPreviousElementTag = false;
7601
+ if (options.maxNestedTags && matcher.getDepth() > options.maxNestedTags) {
7602
+ throw new Error("Maximum nested tags exceeded");
7603
+ }
7604
+ if (!Array.isArray(arr)) {
7605
+ if (arr !== void 0 && arr !== null) {
7606
+ let text = arr.toString();
7607
+ text = replaceEntitiesValue2(text, options);
7608
+ return text;
7609
+ }
7610
+ return "";
7611
+ }
6801
7612
  for (let i = 0; i < arr.length; i++) {
6802
7613
  const tagObj = arr[i];
6803
7614
  const tagName = propName2(tagObj);
6804
7615
  if (tagName === void 0) continue;
6805
- let newJPath = "";
6806
- if (jPath.length === 0) newJPath = tagName;
6807
- else newJPath = `${jPath}.${tagName}`;
7616
+ const attrValues = extractAttributeValues(tagObj[":@"], options);
7617
+ matcher.push(tagName, attrValues);
7618
+ const isStopNode = checkStopNode(matcher, stopNodeExpressions);
6808
7619
  if (tagName === options.textNodeName) {
6809
7620
  let tagText = tagObj[tagName];
6810
- if (!isStopNode(newJPath, options)) {
7621
+ if (!isStopNode) {
6811
7622
  tagText = options.tagValueProcessor(tagName, tagText);
6812
7623
  tagText = replaceEntitiesValue2(tagText, options);
6813
7624
  }
@@ -6816,6 +7627,7 @@ function arrToStr(arr, options, jPath, indentation) {
6816
7627
  }
6817
7628
  xmlStr += tagText;
6818
7629
  isPreviousElementTag = false;
7630
+ matcher.pop();
6819
7631
  continue;
6820
7632
  } else if (tagName === options.cdataPropName) {
6821
7633
  if (isPreviousElementTag) {
@@ -6823,27 +7635,35 @@ function arrToStr(arr, options, jPath, indentation) {
6823
7635
  }
6824
7636
  xmlStr += `<![CDATA[${tagObj[tagName][0][options.textNodeName]}]]>`;
6825
7637
  isPreviousElementTag = false;
7638
+ matcher.pop();
6826
7639
  continue;
6827
7640
  } else if (tagName === options.commentPropName) {
6828
7641
  xmlStr += indentation + `<!--${tagObj[tagName][0][options.textNodeName]}-->`;
6829
7642
  isPreviousElementTag = true;
7643
+ matcher.pop();
6830
7644
  continue;
6831
7645
  } else if (tagName[0] === "?") {
6832
- const attStr2 = attr_to_str(tagObj[":@"], options);
7646
+ const attStr2 = attr_to_str(tagObj[":@"], options, isStopNode);
6833
7647
  const tempInd = tagName === "?xml" ? "" : indentation;
6834
7648
  let piTextNodeName = tagObj[tagName][0][options.textNodeName];
6835
7649
  piTextNodeName = piTextNodeName.length !== 0 ? " " + piTextNodeName : "";
6836
7650
  xmlStr += tempInd + `<${tagName}${piTextNodeName}${attStr2}?>`;
6837
7651
  isPreviousElementTag = true;
7652
+ matcher.pop();
6838
7653
  continue;
6839
7654
  }
6840
7655
  let newIdentation = indentation;
6841
7656
  if (newIdentation !== "") {
6842
7657
  newIdentation += options.indentBy;
6843
7658
  }
6844
- const attStr = attr_to_str(tagObj[":@"], options);
7659
+ const attStr = attr_to_str(tagObj[":@"], options, isStopNode);
6845
7660
  const tagStart = indentation + `<${tagName}${attStr}`;
6846
- const tagValue = arrToStr(tagObj[tagName], options, newJPath, newIdentation);
7661
+ let tagValue;
7662
+ if (isStopNode) {
7663
+ tagValue = getRawContent2(tagObj[tagName], options);
7664
+ } else {
7665
+ tagValue = arrToStr(tagObj[tagName], options, newIdentation, matcher, stopNodeExpressions);
7666
+ }
6847
7667
  if (options.unpairedTags.indexOf(tagName) !== -1) {
6848
7668
  if (options.suppressUnpairedNode) xmlStr += tagStart + ">";
6849
7669
  else xmlStr += tagStart + "/>";
@@ -6861,26 +7681,93 @@ function arrToStr(arr, options, jPath, indentation) {
6861
7681
  xmlStr += `</${tagName}>`;
6862
7682
  }
6863
7683
  isPreviousElementTag = true;
7684
+ matcher.pop();
6864
7685
  }
6865
7686
  return xmlStr;
6866
7687
  }
6867
7688
  __name(arrToStr, "arrToStr");
7689
+ function extractAttributeValues(attrMap, options) {
7690
+ if (!attrMap || options.ignoreAttributes) return null;
7691
+ const attrValues = {};
7692
+ let hasAttrs = false;
7693
+ for (let attr in attrMap) {
7694
+ if (!Object.prototype.hasOwnProperty.call(attrMap, attr)) continue;
7695
+ const cleanAttrName = attr.startsWith(options.attributeNamePrefix) ? attr.substr(options.attributeNamePrefix.length) : attr;
7696
+ attrValues[cleanAttrName] = attrMap[attr];
7697
+ hasAttrs = true;
7698
+ }
7699
+ return hasAttrs ? attrValues : null;
7700
+ }
7701
+ __name(extractAttributeValues, "extractAttributeValues");
7702
+ function getRawContent2(arr, options) {
7703
+ if (!Array.isArray(arr)) {
7704
+ if (arr !== void 0 && arr !== null) {
7705
+ return arr.toString();
7706
+ }
7707
+ return "";
7708
+ }
7709
+ let content = "";
7710
+ for (let i = 0; i < arr.length; i++) {
7711
+ const item = arr[i];
7712
+ const tagName = propName2(item);
7713
+ if (tagName === options.textNodeName) {
7714
+ content += item[tagName];
7715
+ } else if (tagName === options.cdataPropName) {
7716
+ content += item[tagName][0][options.textNodeName];
7717
+ } else if (tagName === options.commentPropName) {
7718
+ content += item[tagName][0][options.textNodeName];
7719
+ } else if (tagName && tagName[0] === "?") {
7720
+ continue;
7721
+ } else if (tagName) {
7722
+ const attStr = attr_to_str_raw(item[":@"], options);
7723
+ const nestedContent = getRawContent2(item[tagName], options);
7724
+ if (!nestedContent || nestedContent.length === 0) {
7725
+ content += `<${tagName}${attStr}/>`;
7726
+ } else {
7727
+ content += `<${tagName}${attStr}>${nestedContent}</${tagName}>`;
7728
+ }
7729
+ }
7730
+ }
7731
+ return content;
7732
+ }
7733
+ __name(getRawContent2, "getRawContent");
7734
+ function attr_to_str_raw(attrMap, options) {
7735
+ let attrStr = "";
7736
+ if (attrMap && !options.ignoreAttributes) {
7737
+ for (let attr in attrMap) {
7738
+ if (!Object.prototype.hasOwnProperty.call(attrMap, attr)) continue;
7739
+ let attrVal = attrMap[attr];
7740
+ if (attrVal === true && options.suppressBooleanAttributes) {
7741
+ attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`;
7742
+ } else {
7743
+ attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}="${attrVal}"`;
7744
+ }
7745
+ }
7746
+ }
7747
+ return attrStr;
7748
+ }
7749
+ __name(attr_to_str_raw, "attr_to_str_raw");
6868
7750
  function propName2(obj) {
6869
7751
  const keys = Object.keys(obj);
6870
7752
  for (let i = 0; i < keys.length; i++) {
6871
7753
  const key = keys[i];
6872
- if (!obj.hasOwnProperty(key)) continue;
7754
+ if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
6873
7755
  if (key !== ":@") return key;
6874
7756
  }
6875
7757
  }
6876
7758
  __name(propName2, "propName");
6877
- function attr_to_str(attrMap, options) {
7759
+ function attr_to_str(attrMap, options, isStopNode) {
6878
7760
  let attrStr = "";
6879
7761
  if (attrMap && !options.ignoreAttributes) {
6880
7762
  for (let attr in attrMap) {
6881
- if (!attrMap.hasOwnProperty(attr)) continue;
6882
- let attrVal = options.attributeValueProcessor(attr, attrMap[attr]);
6883
- attrVal = replaceEntitiesValue2(attrVal, options);
7763
+ if (!Object.prototype.hasOwnProperty.call(attrMap, attr)) continue;
7764
+ let attrVal;
7765
+ if (isStopNode) {
7766
+ attrVal = attrMap[attr];
7767
+ } else {
7768
+ attrVal = options.attributeValueProcessor(attr, attrMap[attr]);
7769
+ attrVal = replaceEntitiesValue2(attrVal, options);
7770
+ }
6884
7771
  if (attrVal === true && options.suppressBooleanAttributes) {
6885
7772
  attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`;
6886
7773
  } else {
@@ -6891,15 +7778,16 @@ function attr_to_str(attrMap, options) {
6891
7778
  return attrStr;
6892
7779
  }
6893
7780
  __name(attr_to_str, "attr_to_str");
6894
- function isStopNode(jPath, options) {
6895
- jPath = jPath.substr(0, jPath.length - options.textNodeName.length - 1);
6896
- let tagName = jPath.substr(jPath.lastIndexOf(".") + 1);
6897
- for (let index in options.stopNodes) {
6898
- if (options.stopNodes[index] === jPath || options.stopNodes[index] === "*." + tagName) return true;
7781
+ function checkStopNode(matcher, stopNodeExpressions) {
7782
+ if (!stopNodeExpressions || stopNodeExpressions.length === 0) return false;
7783
+ for (let i = 0; i < stopNodeExpressions.length; i++) {
7784
+ if (matcher.matches(stopNodeExpressions[i])) {
7785
+ return true;
7786
+ }
6899
7787
  }
6900
7788
  return false;
6901
7789
  }
6902
- __name(isStopNode, "isStopNode");
7790
+ __name(checkStopNode, "checkStopNode");
6903
7791
  function replaceEntitiesValue2(textValue, options) {
6904
7792
  if (textValue && textValue.length > 0 && options.processEntities) {
6905
7793
  for (let i = 0; i < options.entities.length; i++) {
@@ -6911,7 +7799,28 @@ function replaceEntitiesValue2(textValue, options) {
6911
7799
  }
6912
7800
  __name(replaceEntitiesValue2, "replaceEntitiesValue");
6913
7801
 
6914
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/xmlbuilder/json2xml.js
7802
+ // ../../node_modules/.store/fast-xml-builder-npm-1.1.4-abdb1d2cae/package/src/ignoreAttributes.js
7803
+ function getIgnoreAttributesFn2(ignoreAttributes) {
7804
+ if (typeof ignoreAttributes === "function") {
7805
+ return ignoreAttributes;
7806
+ }
7807
+ if (Array.isArray(ignoreAttributes)) {
7808
+ return (attrName) => {
7809
+ for (const pattern of ignoreAttributes) {
7810
+ if (typeof pattern === "string" && attrName === pattern) {
7811
+ return true;
7812
+ }
7813
+ if (pattern instanceof RegExp && pattern.test(attrName)) {
7814
+ return true;
7815
+ }
7816
+ }
7817
+ };
7818
+ }
7819
+ return () => false;
7820
+ }
7821
+ __name(getIgnoreAttributesFn2, "getIgnoreAttributesFn");
7822
+
7823
+ // ../../node_modules/.store/fast-xml-builder-npm-1.1.4-abdb1d2cae/package/src/fxb.js
6915
7824
  var defaultOptions3 = {
6916
7825
  attributeNamePrefix: "@_",
6917
7826
  attributesGroupName: false,
@@ -6944,16 +7853,38 @@ var defaultOptions3 = {
6944
7853
  stopNodes: [],
6945
7854
  // transformTagName: false,
6946
7855
  // transformAttributeName: false,
6947
- oneListGroup: false
7856
+ oneListGroup: false,
7857
+ maxNestedTags: 100,
7858
+ jPath: true
7859
+ // When true, callbacks receive string jPath; when false, receive Matcher instance
6948
7860
  };
6949
7861
  function Builder(options) {
6950
7862
  this.options = Object.assign({}, defaultOptions3, options);
7863
+ if (this.options.stopNodes && Array.isArray(this.options.stopNodes)) {
7864
+ this.options.stopNodes = this.options.stopNodes.map((node) => {
7865
+ if (typeof node === "string" && node.startsWith("*.")) {
7866
+ return ".." + node.substring(2);
7867
+ }
7868
+ return node;
7869
+ });
7870
+ }
7871
+ this.stopNodeExpressions = [];
7872
+ if (this.options.stopNodes && Array.isArray(this.options.stopNodes)) {
7873
+ for (let i = 0; i < this.options.stopNodes.length; i++) {
7874
+ const node = this.options.stopNodes[i];
7875
+ if (typeof node === "string") {
7876
+ this.stopNodeExpressions.push(new Expression(node));
7877
+ } else if (node instanceof Expression) {
7878
+ this.stopNodeExpressions.push(node);
7879
+ }
7880
+ }
7881
+ }
6951
7882
  if (this.options.ignoreAttributes === true || this.options.attributesGroupName) {
6952
7883
  this.isAttribute = function() {
6953
7884
  return false;
6954
7885
  };
6955
7886
  } else {
6956
- this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes);
7887
+ this.ignoreAttributesFn = getIgnoreAttributesFn2(this.options.ignoreAttributes);
6957
7888
  this.attrPrefixLen = this.options.attributeNamePrefix.length;
6958
7889
  this.isAttribute = isAttribute;
6959
7890
  }
@@ -6980,13 +7911,18 @@ Builder.prototype.build = function(jObj) {
6980
7911
  [this.options.arrayNodeName]: jObj
6981
7912
  };
6982
7913
  }
6983
- return this.j2x(jObj, 0, []).val;
7914
+ const matcher = new Matcher();
7915
+ return this.j2x(jObj, 0, matcher).val;
6984
7916
  }
6985
7917
  };
6986
- Builder.prototype.j2x = function(jObj, level, ajPath) {
7918
+ Builder.prototype.j2x = function(jObj, level, matcher) {
6987
7919
  let attrStr = "";
6988
7920
  let val = "";
6989
- const jPath = ajPath.join(".");
7921
+ if (this.options.maxNestedTags && matcher.getDepth() >= this.options.maxNestedTags) {
7922
+ throw new Error("Maximum nested tags exceeded");
7923
+ }
7924
+ const jPath = this.options.jPath ? matcher.toString() : matcher;
7925
+ const isCurrentStopNode = this.checkStopNode(matcher);
6990
7926
  for (let key in jObj) {
6991
7927
  if (!Object.prototype.hasOwnProperty.call(jObj, key)) continue;
6992
7928
  if (typeof jObj[key] === "undefined") {
@@ -7004,17 +7940,29 @@ Builder.prototype.j2x = function(jObj, level, ajPath) {
7004
7940
  val += this.indentate(level) + "<" + key + "/" + this.tagEndChar;
7005
7941
  }
7006
7942
  } else if (jObj[key] instanceof Date) {
7007
- val += this.buildTextValNode(jObj[key], key, "", level);
7943
+ val += this.buildTextValNode(jObj[key], key, "", level, matcher);
7008
7944
  } else if (typeof jObj[key] !== "object") {
7009
7945
  const attr = this.isAttribute(key);
7010
7946
  if (attr && !this.ignoreAttributesFn(attr, jPath)) {
7011
- attrStr += this.buildAttrPairStr(attr, "" + jObj[key]);
7947
+ attrStr += this.buildAttrPairStr(attr, "" + jObj[key], isCurrentStopNode);
7012
7948
  } else if (!attr) {
7013
7949
  if (key === this.options.textNodeName) {
7014
7950
  let newval = this.options.tagValueProcessor(key, "" + jObj[key]);
7015
7951
  val += this.replaceEntitiesValue(newval);
7016
7952
  } else {
7017
- val += this.buildTextValNode(jObj[key], key, "", level);
7953
+ matcher.push(key);
7954
+ const isStopNode = this.checkStopNode(matcher);
7955
+ matcher.pop();
7956
+ if (isStopNode) {
7957
+ const textValue = "" + jObj[key];
7958
+ if (textValue === "") {
7959
+ val += this.indentate(level) + "<" + key + this.closeTag(key) + this.tagEndChar;
7960
+ } else {
7961
+ val += this.indentate(level) + "<" + key + ">" + textValue + "</" + key + this.tagEndChar;
7962
+ }
7963
+ } else {
7964
+ val += this.buildTextValNode(jObj[key], key, "", level, matcher);
7965
+ }
7018
7966
  }
7019
7967
  }
7020
7968
  } else if (Array.isArray(jObj[key])) {
@@ -7029,13 +7977,15 @@ Builder.prototype.j2x = function(jObj, level, ajPath) {
7029
7977
  else val += this.indentate(level) + "<" + key + "/" + this.tagEndChar;
7030
7978
  } else if (typeof item === "object") {
7031
7979
  if (this.options.oneListGroup) {
7032
- const result = this.j2x(item, level + 1, ajPath.concat(key));
7980
+ matcher.push(key);
7981
+ const result = this.j2x(item, level + 1, matcher);
7982
+ matcher.pop();
7033
7983
  listTagVal += result.val;
7034
7984
  if (this.options.attributesGroupName && item.hasOwnProperty(this.options.attributesGroupName)) {
7035
7985
  listTagAttr += result.attrStr;
7036
7986
  }
7037
7987
  } else {
7038
- listTagVal += this.processTextOrObjNode(item, key, level, ajPath);
7988
+ listTagVal += this.processTextOrObjNode(item, key, level, matcher);
7039
7989
  }
7040
7990
  } else {
7041
7991
  if (this.options.oneListGroup) {
@@ -7043,7 +7993,19 @@ Builder.prototype.j2x = function(jObj, level, ajPath) {
7043
7993
  textValue = this.replaceEntitiesValue(textValue);
7044
7994
  listTagVal += textValue;
7045
7995
  } else {
7046
- listTagVal += this.buildTextValNode(item, key, "", level);
7996
+ matcher.push(key);
7997
+ const isStopNode = this.checkStopNode(matcher);
7998
+ matcher.pop();
7999
+ if (isStopNode) {
8000
+ const textValue = "" + item;
8001
+ if (textValue === "") {
8002
+ listTagVal += this.indentate(level) + "<" + key + this.closeTag(key) + this.tagEndChar;
8003
+ } else {
8004
+ listTagVal += this.indentate(level) + "<" + key + ">" + textValue + "</" + key + this.tagEndChar;
8005
+ }
8006
+ } else {
8007
+ listTagVal += this.buildTextValNode(item, key, "", level, matcher);
8008
+ }
7047
8009
  }
7048
8010
  }
7049
8011
  }
@@ -7056,31 +8018,144 @@ Builder.prototype.j2x = function(jObj, level, ajPath) {
7056
8018
  const Ks = Object.keys(jObj[key]);
7057
8019
  const L = Ks.length;
7058
8020
  for (let j = 0; j < L; j++) {
7059
- attrStr += this.buildAttrPairStr(Ks[j], "" + jObj[key][Ks[j]]);
8021
+ attrStr += this.buildAttrPairStr(Ks[j], "" + jObj[key][Ks[j]], isCurrentStopNode);
7060
8022
  }
7061
8023
  } else {
7062
- val += this.processTextOrObjNode(jObj[key], key, level, ajPath);
8024
+ val += this.processTextOrObjNode(jObj[key], key, level, matcher);
7063
8025
  }
7064
8026
  }
7065
8027
  }
7066
8028
  return { attrStr, val };
7067
8029
  };
7068
- Builder.prototype.buildAttrPairStr = function(attrName, val) {
7069
- val = this.options.attributeValueProcessor(attrName, "" + val);
7070
- val = this.replaceEntitiesValue(val);
8030
+ Builder.prototype.buildAttrPairStr = function(attrName, val, isStopNode) {
8031
+ if (!isStopNode) {
8032
+ val = this.options.attributeValueProcessor(attrName, "" + val);
8033
+ val = this.replaceEntitiesValue(val);
8034
+ }
7071
8035
  if (this.options.suppressBooleanAttributes && val === "true") {
7072
8036
  return " " + attrName;
7073
8037
  } else return " " + attrName + '="' + val + '"';
7074
8038
  };
7075
- function processTextOrObjNode(object, key, level, ajPath) {
7076
- const result = this.j2x(object, level + 1, ajPath.concat(key));
8039
+ function processTextOrObjNode(object, key, level, matcher) {
8040
+ const attrValues = this.extractAttributes(object);
8041
+ matcher.push(key, attrValues);
8042
+ const isStopNode = this.checkStopNode(matcher);
8043
+ if (isStopNode) {
8044
+ const rawContent2 = this.buildRawContent(object);
8045
+ const attrStr = this.buildAttributesForStopNode(object);
8046
+ matcher.pop();
8047
+ return this.buildObjectNode(rawContent2, key, attrStr, level);
8048
+ }
8049
+ const result = this.j2x(object, level + 1, matcher);
8050
+ matcher.pop();
7077
8051
  if (object[this.options.textNodeName] !== void 0 && Object.keys(object).length === 1) {
7078
- return this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level);
8052
+ return this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level, matcher);
7079
8053
  } else {
7080
8054
  return this.buildObjectNode(result.val, key, result.attrStr, level);
7081
8055
  }
7082
8056
  }
7083
8057
  __name(processTextOrObjNode, "processTextOrObjNode");
8058
+ Builder.prototype.extractAttributes = function(obj) {
8059
+ if (!obj || typeof obj !== "object") return null;
8060
+ const attrValues = {};
8061
+ let hasAttrs = false;
8062
+ if (this.options.attributesGroupName && obj[this.options.attributesGroupName]) {
8063
+ const attrGroup = obj[this.options.attributesGroupName];
8064
+ for (let attrKey in attrGroup) {
8065
+ if (!Object.prototype.hasOwnProperty.call(attrGroup, attrKey)) continue;
8066
+ const cleanKey = attrKey.startsWith(this.options.attributeNamePrefix) ? attrKey.substring(this.options.attributeNamePrefix.length) : attrKey;
8067
+ attrValues[cleanKey] = attrGroup[attrKey];
8068
+ hasAttrs = true;
8069
+ }
8070
+ } else {
8071
+ for (let key in obj) {
8072
+ if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
8073
+ const attr = this.isAttribute(key);
8074
+ if (attr) {
8075
+ attrValues[attr] = obj[key];
8076
+ hasAttrs = true;
8077
+ }
8078
+ }
8079
+ }
8080
+ return hasAttrs ? attrValues : null;
8081
+ };
8082
+ Builder.prototype.buildRawContent = function(obj) {
8083
+ if (typeof obj === "string") {
8084
+ return obj;
8085
+ }
8086
+ if (typeof obj !== "object" || obj === null) {
8087
+ return String(obj);
8088
+ }
8089
+ if (obj[this.options.textNodeName] !== void 0) {
8090
+ return obj[this.options.textNodeName];
8091
+ }
8092
+ let content = "";
8093
+ for (let key in obj) {
8094
+ if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
8095
+ if (this.isAttribute(key)) continue;
8096
+ if (this.options.attributesGroupName && key === this.options.attributesGroupName) continue;
8097
+ const value = obj[key];
8098
+ if (key === this.options.textNodeName) {
8099
+ content += value;
8100
+ } else if (Array.isArray(value)) {
8101
+ for (let item of value) {
8102
+ if (typeof item === "string" || typeof item === "number") {
8103
+ content += `<${key}>${item}</${key}>`;
8104
+ } else if (typeof item === "object" && item !== null) {
8105
+ const nestedContent = this.buildRawContent(item);
8106
+ const nestedAttrs = this.buildAttributesForStopNode(item);
8107
+ if (nestedContent === "") {
8108
+ content += `<${key}${nestedAttrs}/>`;
8109
+ } else {
8110
+ content += `<${key}${nestedAttrs}>${nestedContent}</${key}>`;
8111
+ }
8112
+ }
8113
+ }
8114
+ } else if (typeof value === "object" && value !== null) {
8115
+ const nestedContent = this.buildRawContent(value);
8116
+ const nestedAttrs = this.buildAttributesForStopNode(value);
8117
+ if (nestedContent === "") {
8118
+ content += `<${key}${nestedAttrs}/>`;
8119
+ } else {
8120
+ content += `<${key}${nestedAttrs}>${nestedContent}</${key}>`;
8121
+ }
8122
+ } else {
8123
+ content += `<${key}>${value}</${key}>`;
8124
+ }
8125
+ }
8126
+ return content;
8127
+ };
8128
+ Builder.prototype.buildAttributesForStopNode = function(obj) {
8129
+ if (!obj || typeof obj !== "object") return "";
8130
+ let attrStr = "";
8131
+ if (this.options.attributesGroupName && obj[this.options.attributesGroupName]) {
8132
+ const attrGroup = obj[this.options.attributesGroupName];
8133
+ for (let attrKey in attrGroup) {
8134
+ if (!Object.prototype.hasOwnProperty.call(attrGroup, attrKey)) continue;
8135
+ const cleanKey = attrKey.startsWith(this.options.attributeNamePrefix) ? attrKey.substring(this.options.attributeNamePrefix.length) : attrKey;
8136
+ const val = attrGroup[attrKey];
8137
+ if (val === true && this.options.suppressBooleanAttributes) {
8138
+ attrStr += " " + cleanKey;
8139
+ } else {
8140
+ attrStr += " " + cleanKey + '="' + val + '"';
8141
+ }
8142
+ }
8143
+ } else {
8144
+ for (let key in obj) {
8145
+ if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
8146
+ const attr = this.isAttribute(key);
8147
+ if (attr) {
8148
+ const val = obj[key];
8149
+ if (val === true && this.options.suppressBooleanAttributes) {
8150
+ attrStr += " " + attr;
8151
+ } else {
8152
+ attrStr += " " + attr + '="' + val + '"';
8153
+ }
8154
+ }
8155
+ }
8156
+ }
8157
+ return attrStr;
8158
+ };
7084
8159
  Builder.prototype.buildObjectNode = function(val, key, attrStr, level) {
7085
8160
  if (val === "") {
7086
8161
  if (key[0] === "?") return this.indentate(level) + "<" + key + attrStr + "?" + this.tagEndChar;
@@ -7114,7 +8189,16 @@ Builder.prototype.closeTag = function(key) {
7114
8189
  }
7115
8190
  return closeTag;
7116
8191
  };
7117
- Builder.prototype.buildTextValNode = function(val, key, attrStr, level) {
8192
+ Builder.prototype.checkStopNode = function(matcher) {
8193
+ if (!this.stopNodeExpressions || this.stopNodeExpressions.length === 0) return false;
8194
+ for (let i = 0; i < this.stopNodeExpressions.length; i++) {
8195
+ if (matcher.matches(this.stopNodeExpressions[i])) {
8196
+ return true;
8197
+ }
8198
+ }
8199
+ return false;
8200
+ };
8201
+ Builder.prototype.buildTextValNode = function(val, key, attrStr, level, matcher) {
7118
8202
  if (this.options.cdataPropName !== false && key === this.options.cdataPropName) {
7119
8203
  return this.indentate(level) + `<![CDATA[${val}]]>` + this.newLine;
7120
8204
  } else if (this.options.commentPropName !== false && key === this.options.commentPropName) {
@@ -7153,7 +8237,10 @@ function isAttribute(name) {
7153
8237
  }
7154
8238
  __name(isAttribute, "isAttribute");
7155
8239
 
7156
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.4-4e8767c471/package/src/fxp.js
8240
+ // ../../node_modules/.store/fast-xml-parser-npm-5.5.7-d3593c54f5/package/src/xmlbuilder/json2xml.js
8241
+ var json2xml_default = Builder;
8242
+
8243
+ // ../../node_modules/.store/fast-xml-parser-npm-5.5.7-d3593c54f5/package/src/fxp.js
7157
8244
  var XMLValidator = {
7158
8245
  validate
7159
8246
  };
@@ -7184,7 +8271,7 @@ function getParserOptions(options = {}) {
7184
8271
  __name(getParserOptions, "getParserOptions");
7185
8272
  function stringifyXML(obj, opts = {}) {
7186
8273
  const parserOptions = getSerializerOptions(opts);
7187
- const j2x = new Builder(parserOptions);
8274
+ const j2x = new json2xml_default(parserOptions);
7188
8275
  const node = { [parserOptions.rootNodeName]: obj };
7189
8276
  const xmlData = j2x.build(node);
7190
8277
  return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${xmlData}`.replace(/\n/g, "");
@@ -7213,13 +8300,13 @@ async function parseXML(str, opts = {}) {
7213
8300
  }
7214
8301
  __name(parseXML, "parseXML");
7215
8302
 
7216
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/log.js
8303
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/log.js
7217
8304
  var logger5 = createClientLogger2("storage-blob");
7218
8305
 
7219
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/BufferScheduler.js
8306
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/BufferScheduler.js
7220
8307
  import { EventEmitter as EventEmitter2 } from "events";
7221
8308
 
7222
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/BuffersStream.js
8309
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/BuffersStream.js
7223
8310
  import { Readable as Readable2 } from "node:stream";
7224
8311
  var _BuffersStream = class _BuffersStream extends Readable2 {
7225
8312
  buffers;
@@ -7306,7 +8393,7 @@ var _BuffersStream = class _BuffersStream extends Readable2 {
7306
8393
  __name(_BuffersStream, "BuffersStream");
7307
8394
  var BuffersStream = _BuffersStream;
7308
8395
 
7309
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/PooledBuffer.js
8396
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/PooledBuffer.js
7310
8397
  import buffer from "node:buffer";
7311
8398
  var maxBufferLength = buffer.constants.MAX_LENGTH;
7312
8399
  var _PooledBuffer = class _PooledBuffer {
@@ -7388,7 +8475,7 @@ var _PooledBuffer = class _PooledBuffer {
7388
8475
  __name(_PooledBuffer, "PooledBuffer");
7389
8476
  var PooledBuffer = _PooledBuffer;
7390
8477
 
7391
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/BufferScheduler.js
8478
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/BufferScheduler.js
7392
8479
  var _BufferScheduler = class _BufferScheduler {
7393
8480
  /**
7394
8481
  * Size of buffers in incoming and outgoing queues. This class will try to align
@@ -7634,7 +8721,7 @@ var _BufferScheduler = class _BufferScheduler {
7634
8721
  __name(_BufferScheduler, "BufferScheduler");
7635
8722
  var BufferScheduler = _BufferScheduler;
7636
8723
 
7637
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/cache.js
8724
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/cache.js
7638
8725
  var _defaultHttpClient;
7639
8726
  function getCachedDefaultHttpClient2() {
7640
8727
  if (!_defaultHttpClient) {
@@ -7644,7 +8731,7 @@ function getCachedDefaultHttpClient2() {
7644
8731
  }
7645
8732
  __name(getCachedDefaultHttpClient2, "getCachedDefaultHttpClient");
7646
8733
 
7647
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/RequestPolicy.js
8734
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/RequestPolicy.js
7648
8735
  var _BaseRequestPolicy = class _BaseRequestPolicy {
7649
8736
  _nextPolicy;
7650
8737
  _options;
@@ -7676,7 +8763,7 @@ var _BaseRequestPolicy = class _BaseRequestPolicy {
7676
8763
  __name(_BaseRequestPolicy, "BaseRequestPolicy");
7677
8764
  var BaseRequestPolicy = _BaseRequestPolicy;
7678
8765
 
7679
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/utils/constants.js
8766
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/utils/constants.js
7680
8767
  var URLConstants = {
7681
8768
  Parameters: {
7682
8769
  FORCE_BROWSER_NO_CACHE: "_",
@@ -7713,7 +8800,7 @@ var HeaderConstants = {
7713
8800
  X_MS_CopySourceErrorCode: "x-ms-copy-source-error-code"
7714
8801
  };
7715
8802
 
7716
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/utils/utils.common.js
8803
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/utils/utils.common.js
7717
8804
  function setURLParameter(url3, name, value) {
7718
8805
  const urlParsed = new URL(url3);
7719
8806
  const encodedName = encodeURIComponent(name);
@@ -7796,7 +8883,7 @@ async function delay3(timeInMs, aborter, abortError) {
7796
8883
  }
7797
8884
  __name(delay3, "delay");
7798
8885
 
7799
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/StorageBrowserPolicy.js
8886
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageBrowserPolicy.js
7800
8887
  var _StorageBrowserPolicy = class _StorageBrowserPolicy extends BaseRequestPolicy {
7801
8888
  /**
7802
8889
  * Creates an instance of StorageBrowserPolicy.
@@ -7828,7 +8915,7 @@ var _StorageBrowserPolicy = class _StorageBrowserPolicy extends BaseRequestPolic
7828
8915
  __name(_StorageBrowserPolicy, "StorageBrowserPolicy");
7829
8916
  var StorageBrowserPolicy = _StorageBrowserPolicy;
7830
8917
 
7831
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/StorageBrowserPolicyFactory.js
8918
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/StorageBrowserPolicyFactory.js
7832
8919
  var _StorageBrowserPolicyFactory = class _StorageBrowserPolicyFactory {
7833
8920
  /**
7834
8921
  * Creates a StorageBrowserPolicyFactory object.
@@ -7843,7 +8930,7 @@ var _StorageBrowserPolicyFactory = class _StorageBrowserPolicyFactory {
7843
8930
  __name(_StorageBrowserPolicyFactory, "StorageBrowserPolicyFactory");
7844
8931
  var StorageBrowserPolicyFactory = _StorageBrowserPolicyFactory;
7845
8932
 
7846
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/CredentialPolicy.js
8933
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/CredentialPolicy.js
7847
8934
  var _CredentialPolicy = class _CredentialPolicy extends BaseRequestPolicy {
7848
8935
  /**
7849
8936
  * Sends out request.
@@ -7866,7 +8953,7 @@ var _CredentialPolicy = class _CredentialPolicy extends BaseRequestPolicy {
7866
8953
  __name(_CredentialPolicy, "CredentialPolicy");
7867
8954
  var CredentialPolicy = _CredentialPolicy;
7868
8955
 
7869
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/AnonymousCredentialPolicy.js
8956
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/AnonymousCredentialPolicy.js
7870
8957
  var _AnonymousCredentialPolicy = class _AnonymousCredentialPolicy extends CredentialPolicy {
7871
8958
  /**
7872
8959
  * Creates an instance of AnonymousCredentialPolicy.
@@ -7882,7 +8969,7 @@ var _AnonymousCredentialPolicy = class _AnonymousCredentialPolicy extends Creden
7882
8969
  __name(_AnonymousCredentialPolicy, "AnonymousCredentialPolicy");
7883
8970
  var AnonymousCredentialPolicy = _AnonymousCredentialPolicy;
7884
8971
 
7885
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/credentials/Credential.js
8972
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/Credential.js
7886
8973
  var _Credential = class _Credential {
7887
8974
  /**
7888
8975
  * Creates a RequestPolicy object.
@@ -7897,7 +8984,7 @@ var _Credential = class _Credential {
7897
8984
  __name(_Credential, "Credential");
7898
8985
  var Credential = _Credential;
7899
8986
 
7900
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/credentials/AnonymousCredential.js
8987
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/AnonymousCredential.js
7901
8988
  var _AnonymousCredential = class _AnonymousCredential extends Credential {
7902
8989
  /**
7903
8990
  * Creates an {@link AnonymousCredentialPolicy} object.
@@ -7912,10 +8999,10 @@ var _AnonymousCredential = class _AnonymousCredential extends Credential {
7912
8999
  __name(_AnonymousCredential, "AnonymousCredential");
7913
9000
  var AnonymousCredential = _AnonymousCredential;
7914
9001
 
7915
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/credentials/StorageSharedKeyCredential.js
9002
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/StorageSharedKeyCredential.js
7916
9003
  import { createHmac } from "node:crypto";
7917
9004
 
7918
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/utils/SharedKeyComparator.js
9005
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/utils/SharedKeyComparator.js
7919
9006
  var table_lv0 = new Uint32Array([
7920
9007
  0,
7921
9008
  0,
@@ -8342,7 +9429,7 @@ function isLessThan(lhs, rhs) {
8342
9429
  }
8343
9430
  __name(isLessThan, "isLessThan");
8344
9431
 
8345
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/StorageSharedKeyCredentialPolicy.js
9432
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageSharedKeyCredentialPolicy.js
8346
9433
  var _StorageSharedKeyCredentialPolicy = class _StorageSharedKeyCredentialPolicy extends CredentialPolicy {
8347
9434
  /**
8348
9435
  * Reference to StorageSharedKeyCredential which generates StorageSharedKeyCredentialPolicy
@@ -8468,7 +9555,7 @@ ${key}:${decodeURIComponent(lowercaseQueries[key])}`;
8468
9555
  __name(_StorageSharedKeyCredentialPolicy, "StorageSharedKeyCredentialPolicy");
8469
9556
  var StorageSharedKeyCredentialPolicy = _StorageSharedKeyCredentialPolicy;
8470
9557
 
8471
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/credentials/StorageSharedKeyCredential.js
9558
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/StorageSharedKeyCredential.js
8472
9559
  var _StorageSharedKeyCredential = class _StorageSharedKeyCredential extends Credential {
8473
9560
  /**
8474
9561
  * Azure Storage account name; readonly.
@@ -8509,17 +9596,17 @@ var _StorageSharedKeyCredential = class _StorageSharedKeyCredential extends Cred
8509
9596
  __name(_StorageSharedKeyCredential, "StorageSharedKeyCredential");
8510
9597
  var StorageSharedKeyCredential = _StorageSharedKeyCredential;
8511
9598
 
8512
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/log.js
9599
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/log.js
8513
9600
  var logger6 = createClientLogger2("storage-common");
8514
9601
 
8515
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/StorageRetryPolicyType.js
9602
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageRetryPolicyType.js
8516
9603
  var StorageRetryPolicyType;
8517
9604
  (function(StorageRetryPolicyType2) {
8518
9605
  StorageRetryPolicyType2[StorageRetryPolicyType2["EXPONENTIAL"] = 0] = "EXPONENTIAL";
8519
9606
  StorageRetryPolicyType2[StorageRetryPolicyType2["FIXED"] = 1] = "FIXED";
8520
9607
  })(StorageRetryPolicyType || (StorageRetryPolicyType = {}));
8521
9608
 
8522
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/StorageRetryPolicy.js
9609
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageRetryPolicy.js
8523
9610
  var DEFAULT_RETRY_OPTIONS = {
8524
9611
  maxRetryDelayInMs: 120 * 1e3,
8525
9612
  maxTries: 4,
@@ -8688,7 +9775,7 @@ var _StorageRetryPolicy = class _StorageRetryPolicy extends BaseRequestPolicy {
8688
9775
  __name(_StorageRetryPolicy, "StorageRetryPolicy");
8689
9776
  var StorageRetryPolicy = _StorageRetryPolicy;
8690
9777
 
8691
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/StorageRetryPolicyFactory.js
9778
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/StorageRetryPolicyFactory.js
8692
9779
  var _StorageRetryPolicyFactory = class _StorageRetryPolicyFactory {
8693
9780
  retryOptions;
8694
9781
  /**
@@ -8711,7 +9798,7 @@ var _StorageRetryPolicyFactory = class _StorageRetryPolicyFactory {
8711
9798
  __name(_StorageRetryPolicyFactory, "StorageRetryPolicyFactory");
8712
9799
  var StorageRetryPolicyFactory = _StorageRetryPolicyFactory;
8713
9800
 
8714
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/StorageBrowserPolicyV2.js
9801
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageBrowserPolicyV2.js
8715
9802
  var storageBrowserPolicyName = "storageBrowserPolicy";
8716
9803
  function storageBrowserPolicy() {
8717
9804
  return {
@@ -8731,7 +9818,7 @@ function storageBrowserPolicy() {
8731
9818
  }
8732
9819
  __name(storageBrowserPolicy, "storageBrowserPolicy");
8733
9820
 
8734
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/StorageCorrectContentLengthPolicy.js
9821
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageCorrectContentLengthPolicy.js
8735
9822
  var storageCorrectContentLengthPolicyName = "StorageCorrectContentLengthPolicy";
8736
9823
  function storageCorrectContentLengthPolicy() {
8737
9824
  function correctContentLength(request) {
@@ -8750,7 +9837,7 @@ function storageCorrectContentLengthPolicy() {
8750
9837
  }
8751
9838
  __name(storageCorrectContentLengthPolicy, "storageCorrectContentLengthPolicy");
8752
9839
 
8753
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/StorageRetryPolicyV2.js
9840
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageRetryPolicyV2.js
8754
9841
  var storageRetryPolicyName = "storageRetryPolicy";
8755
9842
  var DEFAULT_RETRY_OPTIONS2 = {
8756
9843
  maxRetryDelayInMs: 120 * 1e3,
@@ -8888,7 +9975,7 @@ function storageRetryPolicy(options = {}) {
8888
9975
  }
8889
9976
  __name(storageRetryPolicy, "storageRetryPolicy");
8890
9977
 
8891
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2.js
9978
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2.js
8892
9979
  import { createHmac as createHmac2 } from "node:crypto";
8893
9980
  var storageSharedKeyCredentialPolicyName = "storageSharedKeyCredentialPolicy";
8894
9981
  function storageSharedKeyCredentialPolicy(options) {
@@ -8984,7 +10071,7 @@ ${key}:${decodeURIComponent(lowercaseQueries[key])}`;
8984
10071
  }
8985
10072
  __name(storageSharedKeyCredentialPolicy, "storageSharedKeyCredentialPolicy");
8986
10073
 
8987
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/policies/StorageRequestFailureDetailsParserPolicy.js
10074
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageRequestFailureDetailsParserPolicy.js
8988
10075
  var storageRequestFailureDetailsParserPolicyName = "storageRequestFailureDetailsParserPolicy";
8989
10076
  function storageRequestFailureDetailsParserPolicy() {
8990
10077
  return {
@@ -9006,7 +10093,7 @@ function storageRequestFailureDetailsParserPolicy() {
9006
10093
  }
9007
10094
  __name(storageRequestFailureDetailsParserPolicy, "storageRequestFailureDetailsParserPolicy");
9008
10095
 
9009
- // ../../node_modules/.store/@azure-storage-common-npm-12.2.0-f1b1b496f2/package/dist/esm/credentials/UserDelegationKeyCredential.js
10096
+ // ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/UserDelegationKeyCredential.js
9010
10097
  import { createHmac as createHmac3 } from "node:crypto";
9011
10098
  var _UserDelegationKeyCredential = class _UserDelegationKeyCredential {
9012
10099
  /**
@@ -9043,8 +10130,8 @@ var _UserDelegationKeyCredential = class _UserDelegationKeyCredential {
9043
10130
  __name(_UserDelegationKeyCredential, "UserDelegationKeyCredential");
9044
10131
  var UserDelegationKeyCredential = _UserDelegationKeyCredential;
9045
10132
 
9046
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/utils/constants.js
9047
- var SDK_VERSION3 = "12.30.0";
10133
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/constants.js
10134
+ var SDK_VERSION3 = "12.31.0";
9048
10135
  var SERVICE_VERSION = "2026-02-06";
9049
10136
  var BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = 256 * 1024 * 1024;
9050
10137
  var BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES = 4e3 * 1024 * 1024;
@@ -9263,7 +10350,7 @@ var PathStylePorts2 = [
9263
10350
  "11104"
9264
10351
  ];
9265
10352
 
9266
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/Pipeline.js
10353
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/Pipeline.js
9267
10354
  function isPipelineLike(pipeline) {
9268
10355
  if (!pipeline || typeof pipeline !== "object") {
9269
10356
  return false;
@@ -9504,7 +10591,7 @@ function isCoreHttpPolicyFactory(factory) {
9504
10591
  }
9505
10592
  __name(isCoreHttpPolicyFactory, "isCoreHttpPolicyFactory");
9506
10593
 
9507
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/generated/src/models/index.js
10594
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/models/index.js
9508
10595
  var KnownEncryptionAlgorithmType;
9509
10596
  (function(KnownEncryptionAlgorithmType3) {
9510
10597
  KnownEncryptionAlgorithmType3["AES256"] = "AES256";
@@ -9638,7 +10725,7 @@ var KnownStorageErrorCode;
9638
10725
  KnownStorageErrorCode2["BlobAccessTierNotSupportedForAccountType"] = "BlobAccessTierNotSupportedForAccountType";
9639
10726
  })(KnownStorageErrorCode || (KnownStorageErrorCode = {}));
9640
10727
 
9641
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/generated/src/models/mappers.js
10728
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/models/mappers.js
9642
10729
  var mappers_exports = {};
9643
10730
  __export(mappers_exports, {
9644
10731
  AccessPolicy: () => AccessPolicy,
@@ -18144,7 +19231,7 @@ var BlockBlobGetBlockListExceptionHeaders = {
18144
19231
  }
18145
19232
  };
18146
19233
 
18147
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/generated/src/models/parameters.js
19234
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/models/parameters.js
18148
19235
  var contentType = {
18149
19236
  parameterPath: ["options", "contentType"],
18150
19237
  mapper: {
@@ -19811,7 +20898,7 @@ var listType = {
19811
20898
  }
19812
20899
  };
19813
20900
 
19814
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/generated/src/operations/service.js
20901
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/service.js
19815
20902
  var _ServiceImpl = class _ServiceImpl {
19816
20903
  client;
19817
20904
  /**
@@ -20130,7 +21217,7 @@ var filterBlobsOperationSpec = {
20130
21217
  serializer: xmlSerializer
20131
21218
  };
20132
21219
 
20133
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/generated/src/operations/container.js
21220
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/container.js
20134
21221
  var _ContainerImpl = class _ContainerImpl {
20135
21222
  client;
20136
21223
  /**
@@ -20841,7 +21928,7 @@ var getAccountInfoOperationSpec2 = {
20841
21928
  serializer: xmlSerializer2
20842
21929
  };
20843
21930
 
20844
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/generated/src/operations/blob.js
21931
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/blob.js
20845
21932
  var _BlobImpl = class _BlobImpl {
20846
21933
  client;
20847
21934
  /**
@@ -21866,7 +22953,7 @@ var setTagsOperationSpec = {
21866
22953
  serializer: xmlSerializer3
21867
22954
  };
21868
22955
 
21869
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/generated/src/operations/pageBlob.js
22956
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/pageBlob.js
21870
22957
  var _PageBlobImpl = class _PageBlobImpl {
21871
22958
  client;
21872
22959
  /**
@@ -22319,7 +23406,7 @@ var copyIncrementalOperationSpec = {
22319
23406
  serializer: xmlSerializer4
22320
23407
  };
22321
23408
 
22322
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/generated/src/operations/appendBlob.js
23409
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/appendBlob.js
22323
23410
  var _AppendBlobImpl = class _AppendBlobImpl {
22324
23411
  client;
22325
23412
  /**
@@ -22537,7 +23624,7 @@ var sealOperationSpec = {
22537
23624
  serializer: xmlSerializer5
22538
23625
  };
22539
23626
 
22540
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/generated/src/operations/blockBlob.js
23627
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/blockBlob.js
22541
23628
  var _BlockBlobImpl = class _BlockBlobImpl {
22542
23629
  client;
22543
23630
  /**
@@ -22900,7 +23987,7 @@ var getBlockListOperationSpec = {
22900
23987
  serializer: xmlSerializer6
22901
23988
  };
22902
23989
 
22903
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/generated/src/storageClient.js
23990
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/storageClient.js
22904
23991
  var _StorageClient = class _StorageClient extends ExtendedServiceClient {
22905
23992
  url;
22906
23993
  version;
@@ -22950,7 +24037,7 @@ var _StorageClient = class _StorageClient extends ExtendedServiceClient {
22950
24037
  __name(_StorageClient, "StorageClient");
22951
24038
  var StorageClient = _StorageClient;
22952
24039
 
22953
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/StorageContextClient.js
24040
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/StorageContextClient.js
22954
24041
  var _StorageContextClient = class _StorageContextClient extends StorageClient {
22955
24042
  async sendOperationRequest(operationArguments, operationSpec) {
22956
24043
  const operationSpecToSend = { ...operationSpec };
@@ -22963,7 +24050,7 @@ var _StorageContextClient = class _StorageContextClient extends StorageClient {
22963
24050
  __name(_StorageContextClient, "StorageContextClient");
22964
24051
  var StorageContextClient = _StorageContextClient;
22965
24052
 
22966
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/utils/utils.common.js
24053
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/utils.common.js
22967
24054
  function escapeURLPath(url3) {
22968
24055
  const urlParsed = new URL(url3);
22969
24056
  let path = urlParsed.pathname;
@@ -23427,7 +24514,7 @@ function assertResponse(response) {
23427
24514
  }
23428
24515
  __name(assertResponse, "assertResponse");
23429
24516
 
23430
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/StorageClient.js
24517
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/StorageClient.js
23431
24518
  var _StorageClient2 = class _StorageClient2 {
23432
24519
  /**
23433
24520
  * Encoded URL string value.
@@ -23471,14 +24558,14 @@ var _StorageClient2 = class _StorageClient2 {
23471
24558
  __name(_StorageClient2, "StorageClient");
23472
24559
  var StorageClient2 = _StorageClient2;
23473
24560
 
23474
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/utils/tracing.js
24561
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/tracing.js
23475
24562
  var tracingClient = createTracingClient({
23476
24563
  packageName: "@azure/storage-blob",
23477
24564
  packageVersion: SDK_VERSION3,
23478
24565
  namespace: "Microsoft.Storage"
23479
24566
  });
23480
24567
 
23481
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/sas/BlobSASPermissions.js
24568
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/BlobSASPermissions.js
23482
24569
  var _BlobSASPermissions = class _BlobSASPermissions {
23483
24570
  /**
23484
24571
  * Creates a {@link BlobSASPermissions} from the specified permissions string. This method will throw an
@@ -23663,7 +24750,7 @@ var _BlobSASPermissions = class _BlobSASPermissions {
23663
24750
  __name(_BlobSASPermissions, "BlobSASPermissions");
23664
24751
  var BlobSASPermissions = _BlobSASPermissions;
23665
24752
 
23666
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/sas/ContainerSASPermissions.js
24753
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/ContainerSASPermissions.js
23667
24754
  var _ContainerSASPermissions = class _ContainerSASPermissions {
23668
24755
  /**
23669
24756
  * Creates an {@link ContainerSASPermissions} from the specified permissions string. This method will throw an
@@ -23876,13 +24963,13 @@ var _ContainerSASPermissions = class _ContainerSASPermissions {
23876
24963
  __name(_ContainerSASPermissions, "ContainerSASPermissions");
23877
24964
  var ContainerSASPermissions = _ContainerSASPermissions;
23878
24965
 
23879
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/sas/SasIPRange.js
24966
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/SasIPRange.js
23880
24967
  function ipRangeToString(ipRange) {
23881
24968
  return ipRange.end ? `${ipRange.start}-${ipRange.end}` : ipRange.start;
23882
24969
  }
23883
24970
  __name(ipRangeToString, "ipRangeToString");
23884
24971
 
23885
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/sas/SASQueryParameters.js
24972
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/SASQueryParameters.js
23886
24973
  var SASProtocol;
23887
24974
  (function(SASProtocol2) {
23888
24975
  SASProtocol2["Https"] = "https";
@@ -24231,7 +25318,7 @@ var _SASQueryParameters = class _SASQueryParameters {
24231
25318
  __name(_SASQueryParameters, "SASQueryParameters");
24232
25319
  var SASQueryParameters = _SASQueryParameters;
24233
25320
 
24234
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/sas/BlobSASSignatureValues.js
25321
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/BlobSASSignatureValues.js
24235
25322
  function generateBlobSASQueryParameters(blobSASSignatureValues, sharedKeyCredentialOrUserDelegationKey, accountName) {
24236
25323
  return generateBlobSASQueryParametersInternal(blobSASSignatureValues, sharedKeyCredentialOrUserDelegationKey, accountName).sasQueryParameters;
24237
25324
  }
@@ -24694,7 +25781,7 @@ function SASSignatureValuesSanityCheckAndAutofill(blobSASSignatureValues) {
24694
25781
  }
24695
25782
  __name(SASSignatureValuesSanityCheckAndAutofill, "SASSignatureValuesSanityCheckAndAutofill");
24696
25783
 
24697
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/BlobLeaseClient.js
25784
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobLeaseClient.js
24698
25785
  var _BlobLeaseClient = class _BlobLeaseClient {
24699
25786
  _leaseId;
24700
25787
  _url;
@@ -24883,7 +25970,7 @@ var _BlobLeaseClient = class _BlobLeaseClient {
24883
25970
  __name(_BlobLeaseClient, "BlobLeaseClient");
24884
25971
  var BlobLeaseClient = _BlobLeaseClient;
24885
25972
 
24886
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/utils/RetriableReadableStream.js
25973
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/RetriableReadableStream.js
24887
25974
  import { Readable as Readable3 } from "node:stream";
24888
25975
  var _RetriableReadableStream = class _RetriableReadableStream extends Readable3 {
24889
25976
  start;
@@ -24986,7 +26073,7 @@ var _RetriableReadableStream = class _RetriableReadableStream extends Readable3
24986
26073
  __name(_RetriableReadableStream, "RetriableReadableStream");
24987
26074
  var RetriableReadableStream = _RetriableReadableStream;
24988
26075
 
24989
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/BlobDownloadResponse.js
26076
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobDownloadResponse.js
24990
26077
  var _BlobDownloadResponse = class _BlobDownloadResponse {
24991
26078
  /**
24992
26079
  * Indicates that the service supports
@@ -25440,16 +26527,16 @@ var _BlobDownloadResponse = class _BlobDownloadResponse {
25440
26527
  __name(_BlobDownloadResponse, "BlobDownloadResponse");
25441
26528
  var BlobDownloadResponse = _BlobDownloadResponse;
25442
26529
 
25443
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/utils/BlobQuickQueryStream.js
26530
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/BlobQuickQueryStream.js
25444
26531
  import { Readable as Readable4 } from "node:stream";
25445
26532
 
25446
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/internal-avro/AvroConstants.js
26533
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroConstants.js
25447
26534
  var AVRO_SYNC_MARKER_SIZE = 16;
25448
26535
  var AVRO_INIT_BYTES = new Uint8Array([79, 98, 106, 1]);
25449
26536
  var AVRO_CODEC_KEY = "avro.codec";
25450
26537
  var AVRO_SCHEMA_KEY = "avro.schema";
25451
26538
 
25452
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/internal-avro/AvroParser.js
26539
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroParser.js
25453
26540
  var _AvroParser = class _AvroParser {
25454
26541
  /**
25455
26542
  * Reads a fixed number of bytes from the stream.
@@ -25774,7 +26861,7 @@ var _AvroRecordType = class _AvroRecordType extends AvroType {
25774
26861
  __name(_AvroRecordType, "AvroRecordType");
25775
26862
  var AvroRecordType = _AvroRecordType;
25776
26863
 
25777
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/internal-avro/utils/utils.common.js
26864
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/utils/utils.common.js
25778
26865
  function arraysEqual(a, b) {
25779
26866
  if (a === b)
25780
26867
  return true;
@@ -25790,7 +26877,7 @@ function arraysEqual(a, b) {
25790
26877
  }
25791
26878
  __name(arraysEqual, "arraysEqual");
25792
26879
 
25793
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/internal-avro/AvroReader.js
26880
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroReader.js
25794
26881
  var _AvroReader = class _AvroReader {
25795
26882
  _dataStream;
25796
26883
  _headerStream;
@@ -25893,13 +26980,13 @@ var _AvroReader = class _AvroReader {
25893
26980
  __name(_AvroReader, "AvroReader");
25894
26981
  var AvroReader = _AvroReader;
25895
26982
 
25896
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/internal-avro/AvroReadable.js
26983
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroReadable.js
25897
26984
  var _AvroReadable = class _AvroReadable {
25898
26985
  };
25899
26986
  __name(_AvroReadable, "AvroReadable");
25900
26987
  var AvroReadable = _AvroReadable;
25901
26988
 
25902
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/internal-avro/AvroReadableFromStream.js
26989
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroReadableFromStream.js
25903
26990
  import { Buffer as Buffer2 } from "buffer";
25904
26991
  var ABORT_ERROR = new AbortError2("Reading from the avro stream was aborted.");
25905
26992
  var _AvroReadableFromStream = class _AvroReadableFromStream extends AvroReadable {
@@ -25978,7 +27065,7 @@ var _AvroReadableFromStream = class _AvroReadableFromStream extends AvroReadable
25978
27065
  __name(_AvroReadableFromStream, "AvroReadableFromStream");
25979
27066
  var AvroReadableFromStream = _AvroReadableFromStream;
25980
27067
 
25981
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/utils/BlobQuickQueryStream.js
27068
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/BlobQuickQueryStream.js
25982
27069
  var _BlobQuickQueryStream = class _BlobQuickQueryStream extends Readable4 {
25983
27070
  source;
25984
27071
  avroReader;
@@ -26088,7 +27175,7 @@ var _BlobQuickQueryStream = class _BlobQuickQueryStream extends Readable4 {
26088
27175
  __name(_BlobQuickQueryStream, "BlobQuickQueryStream");
26089
27176
  var BlobQuickQueryStream = _BlobQuickQueryStream;
26090
27177
 
26091
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/BlobQueryResponse.js
27178
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobQueryResponse.js
26092
27179
  var _BlobQueryResponse = class _BlobQueryResponse {
26093
27180
  /**
26094
27181
  * Indicates that the service supports
@@ -26450,7 +27537,7 @@ var _BlobQueryResponse = class _BlobQueryResponse {
26450
27537
  __name(_BlobQueryResponse, "BlobQueryResponse");
26451
27538
  var BlobQueryResponse = _BlobQueryResponse;
26452
27539
 
26453
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/models.js
27540
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/models.js
26454
27541
  var BlockBlobTier;
26455
27542
  (function(BlockBlobTier2) {
26456
27543
  BlockBlobTier2["Hot"] = "Hot";
@@ -26494,7 +27581,7 @@ var StorageBlobAudience;
26494
27581
  StorageBlobAudience2["DiskComputeOAuthScopes"] = "https://disk.compute.azure.com/.default";
26495
27582
  })(StorageBlobAudience || (StorageBlobAudience = {}));
26496
27583
 
26497
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/PageBlobRangeResponse.js
27584
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/PageBlobRangeResponse.js
26498
27585
  function rangeResponseFromModel(response) {
26499
27586
  const pageRange = (response._response.parsedBody.pageRange || []).map((x) => ({
26500
27587
  offset: x.start,
@@ -26841,7 +27928,7 @@ var _Poller = class _Poller {
26841
27928
  __name(_Poller, "Poller");
26842
27929
  var Poller = _Poller;
26843
27930
 
26844
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/pollers/BlobStartCopyFromUrlPoller.js
27931
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/pollers/BlobStartCopyFromUrlPoller.js
26845
27932
  var _BlobBeginCopyFromUrlPoller = class _BlobBeginCopyFromUrlPoller extends Poller {
26846
27933
  intervalInMs;
26847
27934
  constructor(options) {
@@ -26937,7 +28024,7 @@ function makeBlobBeginCopyFromURLPollOperation(state3) {
26937
28024
  }
26938
28025
  __name(makeBlobBeginCopyFromURLPollOperation, "makeBlobBeginCopyFromURLPollOperation");
26939
28026
 
26940
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/Range.js
28027
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/Range.js
26941
28028
  function rangeToString(iRange) {
26942
28029
  if (iRange.offset < 0) {
26943
28030
  throw new RangeError(`Range.offset cannot be smaller than 0.`);
@@ -26949,7 +28036,7 @@ function rangeToString(iRange) {
26949
28036
  }
26950
28037
  __name(rangeToString, "rangeToString");
26951
28038
 
26952
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/utils/Batch.js
28039
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/Batch.js
26953
28040
  import { EventEmitter as EventEmitter3 } from "events";
26954
28041
  var BatchStates;
26955
28042
  (function(BatchStates2) {
@@ -27068,7 +28155,7 @@ var _Batch = class _Batch {
27068
28155
  __name(_Batch, "Batch");
27069
28156
  var Batch = _Batch;
27070
28157
 
27071
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/utils/utils.js
28158
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/utils.js
27072
28159
  import fs from "node:fs";
27073
28160
  import util2 from "node:util";
27074
28161
  async function streamToBuffer(stream, buffer2, offset, end, encoding) {
@@ -27150,7 +28237,7 @@ __name(readStreamToLocalFile, "readStreamToLocalFile");
27150
28237
  var fsStat = util2.promisify(fs.stat);
27151
28238
  var fsCreateReadStream = fs.createReadStream;
27152
28239
 
27153
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/Clients.js
28240
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/Clients.js
27154
28241
  var _BlobClient = class _BlobClient extends StorageClient2 {
27155
28242
  /**
27156
28243
  * blobContext provided by protocol layer.
@@ -29851,7 +30938,7 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29851
30938
  __name(_PageBlobClient, "PageBlobClient");
29852
30939
  var PageBlobClient = _PageBlobClient;
29853
30940
 
29854
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/BatchUtils.js
30941
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BatchUtils.js
29855
30942
  async function getBodyAsText(batchResponse) {
29856
30943
  let buffer2 = Buffer.alloc(BATCH_MAX_PAYLOAD_IN_BYTES);
29857
30944
  const responseLength = await streamToBuffer2(batchResponse.readableStreamBody, buffer2);
@@ -29864,7 +30951,7 @@ function utf8ByteLength(str) {
29864
30951
  }
29865
30952
  __name(utf8ByteLength, "utf8ByteLength");
29866
30953
 
29867
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/BatchResponseParser.js
30954
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BatchResponseParser.js
29868
30955
  var HTTP_HEADER_DELIMITER = ": ";
29869
30956
  var SPACE_DELIMITER = " ";
29870
30957
  var NOT_FOUND = -1;
@@ -29968,7 +31055,7 @@ var _BatchResponseParser = class _BatchResponseParser {
29968
31055
  __name(_BatchResponseParser, "BatchResponseParser");
29969
31056
  var BatchResponseParser = _BatchResponseParser;
29970
31057
 
29971
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/utils/Mutex.js
31058
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/Mutex.js
29972
31059
  var MutexLockStatus;
29973
31060
  (function(MutexLockStatus2) {
29974
31061
  MutexLockStatus2[MutexLockStatus2["LOCKED"] = 0] = "LOCKED";
@@ -30029,7 +31116,7 @@ __publicField(_Mutex, "keys", {});
30029
31116
  __publicField(_Mutex, "listeners", {});
30030
31117
  var Mutex = _Mutex;
30031
31118
 
30032
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/BlobBatch.js
31119
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobBatch.js
30033
31120
  var _BlobBatch = class _BlobBatch {
30034
31121
  batchRequest;
30035
31122
  batch = "batch";
@@ -30262,7 +31349,7 @@ function batchHeaderFilterPolicy() {
30262
31349
  }
30263
31350
  __name(batchHeaderFilterPolicy, "batchHeaderFilterPolicy");
30264
31351
 
30265
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/BlobBatchClient.js
31352
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobBatchClient.js
30266
31353
  var _BlobBatchClient = class _BlobBatchClient {
30267
31354
  serviceOrContainerContext;
30268
31355
  constructor(url3, credentialOrPipeline, options) {
@@ -30404,7 +31491,7 @@ var _BlobBatchClient = class _BlobBatchClient {
30404
31491
  __name(_BlobBatchClient, "BlobBatchClient");
30405
31492
  var BlobBatchClient = _BlobBatchClient;
30406
31493
 
30407
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/ContainerClient.js
31494
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/ContainerClient.js
30408
31495
  var _ContainerClient = class _ContainerClient extends StorageClient2 {
30409
31496
  /**
30410
31497
  * containerContext provided by protocol layer.
@@ -31643,7 +32730,7 @@ var _ContainerClient = class _ContainerClient extends StorageClient2 {
31643
32730
  __name(_ContainerClient, "ContainerClient");
31644
32731
  var ContainerClient = _ContainerClient;
31645
32732
 
31646
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/sas/AccountSASPermissions.js
32733
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/AccountSASPermissions.js
31647
32734
  var _AccountSASPermissions = class _AccountSASPermissions {
31648
32735
  /**
31649
32736
  * Parse initializes the AccountSASPermissions fields from a string.
@@ -31857,7 +32944,7 @@ var _AccountSASPermissions = class _AccountSASPermissions {
31857
32944
  __name(_AccountSASPermissions, "AccountSASPermissions");
31858
32945
  var AccountSASPermissions = _AccountSASPermissions;
31859
32946
 
31860
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/sas/AccountSASResourceTypes.js
32947
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/AccountSASResourceTypes.js
31861
32948
  var _AccountSASResourceTypes = class _AccountSASResourceTypes {
31862
32949
  /**
31863
32950
  * Creates an {@link AccountSASResourceTypes} from the specified resource types string. This method will throw an
@@ -31919,7 +33006,7 @@ var _AccountSASResourceTypes = class _AccountSASResourceTypes {
31919
33006
  __name(_AccountSASResourceTypes, "AccountSASResourceTypes");
31920
33007
  var AccountSASResourceTypes = _AccountSASResourceTypes;
31921
33008
 
31922
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/sas/AccountSASServices.js
33009
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/AccountSASServices.js
31923
33010
  var _AccountSASServices = class _AccountSASServices {
31924
33011
  /**
31925
33012
  * Creates an {@link AccountSASServices} from the specified services string. This method will throw an
@@ -31989,7 +33076,7 @@ var _AccountSASServices = class _AccountSASServices {
31989
33076
  __name(_AccountSASServices, "AccountSASServices");
31990
33077
  var AccountSASServices = _AccountSASServices;
31991
33078
 
31992
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/sas/AccountSASSignatureValues.js
33079
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/AccountSASSignatureValues.js
31993
33080
  function generateAccountSASQueryParameters(accountSASSignatureValues, sharedKeyCredential) {
31994
33081
  return generateAccountSASQueryParametersInternal(accountSASSignatureValues, sharedKeyCredential).sasQueryParameters;
31995
33082
  }
@@ -32056,7 +33143,7 @@ function generateAccountSASQueryParametersInternal(accountSASSignatureValues, sh
32056
33143
  }
32057
33144
  __name(generateAccountSASQueryParametersInternal, "generateAccountSASQueryParametersInternal");
32058
33145
 
32059
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/BlobServiceClient.js
33146
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobServiceClient.js
32060
33147
  var _BlobServiceClient = class _BlobServiceClient extends StorageClient2 {
32061
33148
  /**
32062
33149
  * serviceContext provided by protocol layer.
@@ -32727,7 +33814,7 @@ var _BlobServiceClient = class _BlobServiceClient extends StorageClient2 {
32727
33814
  __name(_BlobServiceClient, "BlobServiceClient");
32728
33815
  var BlobServiceClient = _BlobServiceClient;
32729
33816
 
32730
- // ../../node_modules/.store/@azure-storage-blob-npm-12.30.0-ac3ba3ddaa/package/dist/esm/generatedModels.js
33817
+ // ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generatedModels.js
32731
33818
  var KnownEncryptionAlgorithmType2;
32732
33819
  (function(KnownEncryptionAlgorithmType3) {
32733
33820
  KnownEncryptionAlgorithmType3["AES256"] = "AES256";
@@ -32740,8 +33827,8 @@ async function createRemoteCacheClient(params) {
32740
33827
  const { container, loginMethod, storageAccount, cachePath, tenantId } = options;
32741
33828
  const { telemetryClient } = context3;
32742
33829
  return telemetryClient.tracer.startActiveSpan("CREATE_REMOTE_CACHE_CLIENT", async () => {
32743
- const { getCredential } = await import("./getCredential-JVJNBIQV.js");
32744
- const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-7GORTMZL.js");
33830
+ const { getCredential } = await import("./getCredential-QOOZATZ4.js");
33831
+ const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-Z2LRZU6O.js");
32745
33832
  const { ReporterDecorator } = await import("./ReporterDecorator-ZL5AFS6T.js");
32746
33833
  const { getListOfBlobs } = await import("./getListOfBlobs-USCOZRLX.js");
32747
33834
  const credential = await getCredential(
@@ -36844,7 +37931,7 @@ async function createAppRegistryClient(params) {
36844
37931
  const { context: context3, options } = params;
36845
37932
  const { loginMethod, cachePath, tenantId = defaultTenantId, storageAccount = defaultStorageAccount } = options;
36846
37933
  const azureLogEventHandler = registerAzureLogger();
36847
- const { getCredential } = await import("./getCredential-JVJNBIQV.js");
37934
+ const { getCredential } = await import("./getCredential-QOOZATZ4.js");
36848
37935
  const credential = await getCredential(
36849
37936
  { loginMethod, cachePath, tenantId },
36850
37937
  { ...context3, azureLogger: azureLogEventHandler }