@ms-cloudpack/remote-cache 0.11.59 → 0.11.61

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
@@ -7,18 +7,12 @@ const require = topLevelCreateRequire(import.meta.url);
7
7
  const __filename = topLevelUrl.fileURLToPath(import.meta.url);
8
8
  const __dirname = topLevelPath.dirname(__filename);
9
9
  import {
10
- __asyncDelegator,
11
- __asyncGenerator,
12
- __asyncValues,
13
- __await,
14
- __rest,
15
- init_tslib_es6,
16
10
  require_commonjs,
17
11
  require_dist,
18
12
  require_dist2,
19
13
  require_state,
20
14
  require_state2
21
- } from "./chunk-IGWDIFPL.js";
15
+ } from "./chunk-6YVY4WVL.js";
22
16
  import {
23
17
  __export,
24
18
  __name,
@@ -79,10 +73,10 @@ var _RetryDecorator = class _RetryDecorator {
79
73
  this.retryManager = options.retryManager;
80
74
  }
81
75
  printRetryContext(operationName, options, retryContext) {
82
- var _a4;
76
+ var _a3;
83
77
  if (retryContext.retryAttempt > 0) {
84
78
  console.warn(
85
- `Retrying ${operationName} ${options.friendlyName} ... [${retryContext.retryAttempt}/${(_a4 = retryContext.policy) == null ? void 0 : _a4.maxRetries}]`
79
+ `Retrying ${operationName} ${options.friendlyName} ... [${retryContext.retryAttempt}/${(_a3 = retryContext.policy) == null ? void 0 : _a3.maxRetries}]`
86
80
  );
87
81
  }
88
82
  }
@@ -124,7 +118,7 @@ function createTableStorageUrl(storageAccount) {
124
118
  }
125
119
  __name(createTableStorageUrl, "createTableStorageUrl");
126
120
 
127
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/abort-controller/AbortError.js
121
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/abort-controller/AbortError.js
128
122
  var _AbortError = class _AbortError extends Error {
129
123
  constructor(message) {
130
124
  super(message);
@@ -134,7 +128,7 @@ var _AbortError = class _AbortError extends Error {
134
128
  __name(_AbortError, "AbortError");
135
129
  var AbortError = _AbortError;
136
130
 
137
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/logger/log.js
131
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/logger/log.js
138
132
  import { EOL } from "node:os";
139
133
  import util from "node:util";
140
134
  import process2 from "node:process";
@@ -143,7 +137,7 @@ function log(message, ...args) {
143
137
  }
144
138
  __name(log, "log");
145
139
 
146
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/logger/debug.js
140
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/logger/debug.js
147
141
  var debugEnvVariable = typeof process !== "undefined" && process.env && process.env.DEBUG || void 0;
148
142
  var enabledString;
149
143
  var enabledNamespaces = [];
@@ -309,7 +303,7 @@ function extend(namespace) {
309
303
  __name(extend, "extend");
310
304
  var debug_default = debugObj;
311
305
 
312
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/logger/logger.js
306
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/logger/logger.js
313
307
  var TYPESPEC_RUNTIME_LOG_LEVELS = ["verbose", "info", "warning", "error"];
314
308
  var levelMap = {
315
309
  verbose: 400,
@@ -406,7 +400,7 @@ function createClientLogger(namespace) {
406
400
  }
407
401
  __name(createClientLogger, "createClientLogger");
408
402
 
409
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/httpHeaders.js
403
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/httpHeaders.js
410
404
  function normalizeName(name) {
411
405
  return name.toLowerCase();
412
406
  }
@@ -442,8 +436,8 @@ var _HttpHeadersImpl = class _HttpHeadersImpl {
442
436
  * @param name - The name of the header. This value is case-insensitive.
443
437
  */
444
438
  get(name) {
445
- var _a4;
446
- return (_a4 = this._headersMap.get(normalizeName(name))) == null ? void 0 : _a4.value;
439
+ var _a3;
440
+ return (_a3 = this._headersMap.get(normalizeName(name))) == null ? void 0 : _a3.value;
447
441
  }
448
442
  /**
449
443
  * Get whether or not this header collection contains a header entry for the provided header name.
@@ -495,16 +489,13 @@ function createHttpHeaders(rawHeaders) {
495
489
  }
496
490
  __name(createHttpHeaders, "createHttpHeaders");
497
491
 
498
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/uuidUtils.js
499
- import { randomUUID as v4RandomUUID } from "node:crypto";
500
- var _a;
501
- var uuidFunction = typeof ((_a = globalThis == null ? void 0 : globalThis.crypto) == null ? void 0 : _a.randomUUID) === "function" ? globalThis.crypto.randomUUID.bind(globalThis.crypto) : v4RandomUUID;
492
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/uuidUtils.js
502
493
  function randomUUID() {
503
- return uuidFunction();
494
+ return crypto.randomUUID();
504
495
  }
505
496
  __name(randomUUID, "randomUUID");
506
497
 
507
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/pipelineRequest.js
498
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/pipelineRequest.js
508
499
  var _PipelineRequestImpl = class _PipelineRequestImpl {
509
500
  url;
510
501
  method;
@@ -554,7 +545,7 @@ function createPipelineRequest(options) {
554
545
  }
555
546
  __name(createPipelineRequest, "createPipelineRequest");
556
547
 
557
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/pipeline.js
548
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/pipeline.js
558
549
  var ValidPhaseNames = /* @__PURE__ */ new Set(["Deserialize", "Serialize", "Retry", "Sign"]);
559
550
  var _HttpPipeline = class _HttpPipeline {
560
551
  _policies = [];
@@ -742,13 +733,13 @@ function createEmptyPipeline() {
742
733
  }
743
734
  __name(createEmptyPipeline, "createEmptyPipeline");
744
735
 
745
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/object.js
736
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/object.js
746
737
  function isObject(input) {
747
738
  return typeof input === "object" && input !== null && !Array.isArray(input) && !(input instanceof RegExp) && !(input instanceof Date);
748
739
  }
749
740
  __name(isObject, "isObject");
750
741
 
751
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/error.js
742
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/error.js
752
743
  function isError(e) {
753
744
  if (isObject(e)) {
754
745
  const hasName = typeof e.name === "string";
@@ -759,11 +750,11 @@ function isError(e) {
759
750
  }
760
751
  __name(isError, "isError");
761
752
 
762
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/inspect.js
753
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/inspect.js
763
754
  import { inspect } from "node:util";
764
755
  var custom = inspect.custom;
765
756
 
766
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/sanitizer.js
757
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/sanitizer.js
767
758
  var RedactedString = "REDACTED";
768
759
  var defaultAllowedHeaderNames = [
769
760
  "x-ms-client-request-id",
@@ -901,7 +892,7 @@ var _Sanitizer = class _Sanitizer {
901
892
  __name(_Sanitizer, "Sanitizer");
902
893
  var Sanitizer = _Sanitizer;
903
894
 
904
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/restError.js
895
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/restError.js
905
896
  var errorSanitizer = new Sanitizer();
906
897
  var _RestError = class _RestError extends Error {
907
898
  /**
@@ -927,14 +918,14 @@ var _RestError = class _RestError extends Error {
927
918
  */
928
919
  details;
929
920
  constructor(message, options = {}) {
930
- var _a4;
921
+ var _a3;
931
922
  super(message);
932
923
  this.name = "RestError";
933
924
  this.code = options.code;
934
925
  this.statusCode = options.statusCode;
935
926
  Object.defineProperty(this, "request", { value: options.request, enumerable: false });
936
927
  Object.defineProperty(this, "response", { value: options.response, enumerable: false });
937
- const agent = ((_a4 = this.request) == null ? void 0 : _a4.agent) ? {
928
+ const agent = ((_a3 = this.request) == null ? void 0 : _a3.agent) ? {
938
929
  maxFreeSockets: this.request.agent.maxFreeSockets,
939
930
  maxSockets: this.request.agent.maxSockets
940
931
  } : void 0;
@@ -973,22 +964,22 @@ function isRestError(e) {
973
964
  }
974
965
  __name(isRestError, "isRestError");
975
966
 
976
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/bytesEncoding.js
967
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/bytesEncoding.js
977
968
  function stringToUint8Array(value, format2) {
978
969
  return Buffer.from(value, format2);
979
970
  }
980
971
  __name(stringToUint8Array, "stringToUint8Array");
981
972
 
982
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/nodeHttpClient.js
973
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/nodeHttpClient.js
983
974
  import http from "node:http";
984
975
  import https from "node:https";
985
976
  import zlib from "node:zlib";
986
977
  import { Transform } from "node:stream";
987
978
 
988
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/log.js
979
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/log.js
989
980
  var logger2 = createClientLogger("ts-http-runtime");
990
981
 
991
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/nodeHttpClient.js
982
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/nodeHttpClient.js
992
983
  var DEFAULT_TLS_SETTINGS = {};
993
984
  function isReadableStream(body2) {
994
985
  return body2 && typeof body2.pipe === "function";
@@ -1044,7 +1035,7 @@ var _NodeHttpClient = class _NodeHttpClient {
1044
1035
  * @param request - The request to be made.
1045
1036
  */
1046
1037
  async sendRequest(request) {
1047
- var _a4, _b2;
1038
+ var _a3, _b2;
1048
1039
  const abortController = new AbortController();
1049
1040
  let abortListener;
1050
1041
  if (request.abortSignal) {
@@ -1117,7 +1108,7 @@ var _NodeHttpClient = class _NodeHttpClient {
1117
1108
  }
1118
1109
  if (
1119
1110
  // Value of POSITIVE_INFINITY in streamResponseStatusCodes is considered as any status code
1120
- ((_a4 = request.streamResponseStatusCodes) == null ? void 0 : _a4.has(Number.POSITIVE_INFINITY)) || ((_b2 = request.streamResponseStatusCodes) == null ? void 0 : _b2.has(response.status))
1111
+ ((_a3 = request.streamResponseStatusCodes) == null ? void 0 : _a3.has(Number.POSITIVE_INFINITY)) || ((_b2 = request.streamResponseStatusCodes) == null ? void 0 : _b2.has(response.status))
1121
1112
  ) {
1122
1113
  response.readableStreamBody = responseStream;
1123
1114
  } else {
@@ -1135,9 +1126,9 @@ var _NodeHttpClient = class _NodeHttpClient {
1135
1126
  downloadStreamDone = isStreamComplete(responseStream);
1136
1127
  }
1137
1128
  Promise.all([uploadStreamDone, downloadStreamDone]).then(() => {
1138
- var _a5;
1129
+ var _a4;
1139
1130
  if (abortListener) {
1140
- (_a5 = request.abortSignal) == null ? void 0 : _a5.removeEventListener("abort", abortListener);
1131
+ (_a4 = request.abortSignal) == null ? void 0 : _a4.removeEventListener("abort", abortListener);
1141
1132
  }
1142
1133
  }).catch((e) => {
1143
1134
  logger2.warning("Error when cleaning up abortListener on httpRequest", e);
@@ -1295,13 +1286,13 @@ function createNodeHttpClient() {
1295
1286
  }
1296
1287
  __name(createNodeHttpClient, "createNodeHttpClient");
1297
1288
 
1298
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/defaultHttpClient.js
1289
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/defaultHttpClient.js
1299
1290
  function createDefaultHttpClient() {
1300
1291
  return createNodeHttpClient();
1301
1292
  }
1302
1293
  __name(createDefaultHttpClient, "createDefaultHttpClient");
1303
1294
 
1304
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/policies/logPolicy.js
1295
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/logPolicy.js
1305
1296
  var logPolicyName = "logPolicy";
1306
1297
  function logPolicy(options = {}) {
1307
1298
  const logger9 = options.logger ?? logger2.info;
@@ -1325,7 +1316,7 @@ function logPolicy(options = {}) {
1325
1316
  }
1326
1317
  __name(logPolicy, "logPolicy");
1327
1318
 
1328
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/policies/redirectPolicy.js
1319
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/redirectPolicy.js
1329
1320
  var redirectPolicyName = "redirectPolicy";
1330
1321
  var allowedRedirect = ["GET", "HEAD"];
1331
1322
  function redirectPolicy(options = {}) {
@@ -1358,25 +1349,25 @@ async function handleRedirect(next, response, maxRetries, currentRetries = 0) {
1358
1349
  }
1359
1350
  __name(handleRedirect, "handleRedirect");
1360
1351
 
1361
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/userAgentPlatform.js
1352
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/userAgentPlatform.js
1362
1353
  function getHeaderName() {
1363
1354
  return "User-Agent";
1364
1355
  }
1365
1356
  __name(getHeaderName, "getHeaderName");
1366
1357
 
1367
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/constants.js
1358
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/constants.js
1368
1359
  var DEFAULT_RETRY_POLICY_COUNT = 3;
1369
1360
 
1370
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/userAgent.js
1361
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/userAgent.js
1371
1362
  function getUserAgentHeaderName() {
1372
1363
  return getHeaderName();
1373
1364
  }
1374
1365
  __name(getUserAgentHeaderName, "getUserAgentHeaderName");
1375
1366
 
1376
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/policies/userAgentPolicy.js
1367
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/userAgentPolicy.js
1377
1368
  var UserAgentHeaderName = getUserAgentHeaderName();
1378
1369
 
1379
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/policies/decompressResponsePolicy.js
1370
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/decompressResponsePolicy.js
1380
1371
  var decompressResponsePolicyName = "decompressResponsePolicy";
1381
1372
  function decompressResponsePolicy() {
1382
1373
  return {
@@ -1391,7 +1382,7 @@ function decompressResponsePolicy() {
1391
1382
  }
1392
1383
  __name(decompressResponsePolicy, "decompressResponsePolicy");
1393
1384
 
1394
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/random.js
1385
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/random.js
1395
1386
  function getRandomIntegerInclusive(min, max) {
1396
1387
  min = Math.ceil(min);
1397
1388
  max = Math.floor(max);
@@ -1400,7 +1391,7 @@ function getRandomIntegerInclusive(min, max) {
1400
1391
  }
1401
1392
  __name(getRandomIntegerInclusive, "getRandomIntegerInclusive");
1402
1393
 
1403
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/delay.js
1394
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/delay.js
1404
1395
  function calculateRetryDelay(retryAttempt, config) {
1405
1396
  const exponentialDelay = config.retryDelayInMs * Math.pow(2, retryAttempt);
1406
1397
  const clampedDelay = Math.min(config.maxRetryDelayInMs, exponentialDelay);
@@ -1409,7 +1400,7 @@ function calculateRetryDelay(retryAttempt, config) {
1409
1400
  }
1410
1401
  __name(calculateRetryDelay, "calculateRetryDelay");
1411
1402
 
1412
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/helpers.js
1403
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/helpers.js
1413
1404
  var StandardAbortMessage = "The operation was aborted.";
1414
1405
  function delay(delayInMs, value, options) {
1415
1406
  return new Promise((resolve, reject) => {
@@ -1454,7 +1445,7 @@ function parseHeaderValueAsNumber(response, headerName) {
1454
1445
  }
1455
1446
  __name(parseHeaderValueAsNumber, "parseHeaderValueAsNumber");
1456
1447
 
1457
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/retryStrategies/throttlingRetryStrategy.js
1448
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/retryStrategies/throttlingRetryStrategy.js
1458
1449
  var RetryAfterHeader = "Retry-After";
1459
1450
  var AllRetryAfterHeaders = ["retry-after-ms", "x-ms-retry-after-ms", RetryAfterHeader];
1460
1451
  function getRetryAfterInMs(response) {
@@ -1499,7 +1490,7 @@ function throttlingRetryStrategy() {
1499
1490
  }
1500
1491
  __name(throttlingRetryStrategy, "throttlingRetryStrategy");
1501
1492
 
1502
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/retryStrategies/exponentialRetryStrategy.js
1493
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/retryStrategies/exponentialRetryStrategy.js
1503
1494
  var DEFAULT_CLIENT_RETRY_INTERVAL = 1e3;
1504
1495
  var DEFAULT_CLIENT_MAX_RETRY_INTERVAL = 1e3 * 64;
1505
1496
  function exponentialRetryStrategy(options = {}) {
@@ -1539,7 +1530,7 @@ function isSystemError(err) {
1539
1530
  }
1540
1531
  __name(isSystemError, "isSystemError");
1541
1532
 
1542
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/policies/retryPolicy.js
1533
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/retryPolicy.js
1543
1534
  var retryPolicyLogger = createClientLogger("ts-http-runtime retryPolicy");
1544
1535
  var retryPolicyName = "retryPolicy";
1545
1536
  function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_COUNT }) {
@@ -1547,7 +1538,7 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
1547
1538
  return {
1548
1539
  name: retryPolicyName,
1549
1540
  async sendRequest(request, next) {
1550
- var _a4;
1541
+ var _a3;
1551
1542
  let response;
1552
1543
  let responseError;
1553
1544
  let retryCount = -1;
@@ -1567,7 +1558,7 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
1567
1558
  }
1568
1559
  response = responseError.response;
1569
1560
  }
1570
- if ((_a4 = request.abortSignal) == null ? void 0 : _a4.aborted) {
1561
+ if ((_a3 = request.abortSignal) == null ? void 0 : _a3.aborted) {
1571
1562
  logger9.error(`Retry ${retryCount}: Request aborted.`);
1572
1563
  const abortError = new AbortError();
1573
1564
  throw abortError;
@@ -1625,7 +1616,7 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
1625
1616
  }
1626
1617
  __name(retryPolicy, "retryPolicy");
1627
1618
 
1628
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/policies/defaultRetryPolicy.js
1619
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/defaultRetryPolicy.js
1629
1620
  var defaultRetryPolicyName = "defaultRetryPolicy";
1630
1621
  function defaultRetryPolicy(options = {}) {
1631
1622
  return {
@@ -1637,17 +1628,17 @@ function defaultRetryPolicy(options = {}) {
1637
1628
  }
1638
1629
  __name(defaultRetryPolicy, "defaultRetryPolicy");
1639
1630
 
1640
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/checkEnvironment.js
1631
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/checkEnvironment.js
1641
1632
  var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined";
1642
- var _a2, _b, _c;
1643
- var isWebWorker = typeof self === "object" && typeof (self == null ? void 0 : self.importScripts) === "function" && (((_a2 = self.constructor) == null ? void 0 : _a2.name) === "DedicatedWorkerGlobalScope" || ((_b = self.constructor) == null ? void 0 : _b.name) === "ServiceWorkerGlobalScope" || ((_c = self.constructor) == null ? void 0 : _c.name) === "SharedWorkerGlobalScope");
1633
+ var _a, _b, _c;
1634
+ 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");
1644
1635
  var isDeno = typeof Deno !== "undefined" && typeof Deno.version !== "undefined" && typeof Deno.version.deno !== "undefined";
1645
1636
  var isBun = typeof Bun !== "undefined" && typeof Bun.version !== "undefined";
1646
- var _a3;
1647
- var isNodeLike = typeof globalThis.process !== "undefined" && Boolean(globalThis.process.version) && Boolean((_a3 = globalThis.process.versions) == null ? void 0 : _a3.node);
1637
+ var _a2;
1638
+ var isNodeLike = typeof globalThis.process !== "undefined" && Boolean(globalThis.process.version) && Boolean((_a2 = globalThis.process.versions) == null ? void 0 : _a2.node);
1648
1639
  var isReactNative = typeof navigator !== "undefined" && (navigator == null ? void 0 : navigator.product) === "ReactNative";
1649
1640
 
1650
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/policies/formDataPolicy.js
1641
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/formDataPolicy.js
1651
1642
  var formDataPolicyName = "formDataPolicy";
1652
1643
  function formDataToFormDataMap(formData) {
1653
1644
  const formDataMap = {};
@@ -1728,7 +1719,7 @@ async function prepareFormData(formData, request) {
1728
1719
  }
1729
1720
  __name(prepareFormData, "prepareFormData");
1730
1721
 
1731
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/policies/proxyPolicy.js
1722
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/proxyPolicy.js
1732
1723
  var import_https_proxy_agent = __toESM(require_dist(), 1);
1733
1724
  var import_http_proxy_agent = __toESM(require_dist2(), 1);
1734
1725
  var HTTPS_PROXY = "HTTPS_PROXY";
@@ -1877,7 +1868,7 @@ function proxyPolicy(proxySettings, options) {
1877
1868
  }
1878
1869
  __name(proxyPolicy, "proxyPolicy");
1879
1870
 
1880
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/policies/agentPolicy.js
1871
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/agentPolicy.js
1881
1872
  var agentPolicyName = "agentPolicy";
1882
1873
  function agentPolicy(agent) {
1883
1874
  return {
@@ -1892,7 +1883,7 @@ function agentPolicy(agent) {
1892
1883
  }
1893
1884
  __name(agentPolicy, "agentPolicy");
1894
1885
 
1895
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/policies/tlsPolicy.js
1886
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/tlsPolicy.js
1896
1887
  var tlsPolicyName = "tlsPolicy";
1897
1888
  function tlsPolicy(tlsSettings) {
1898
1889
  return {
@@ -1907,13 +1898,13 @@ function tlsPolicy(tlsSettings) {
1907
1898
  }
1908
1899
  __name(tlsPolicy, "tlsPolicy");
1909
1900
 
1910
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/typeGuards.js
1901
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/typeGuards.js
1911
1902
  function isBlob(x) {
1912
1903
  return typeof x.stream === "function";
1913
1904
  }
1914
1905
  __name(isBlob, "isBlob");
1915
1906
 
1916
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/util/concat.js
1907
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/util/concat.js
1917
1908
  import { Readable } from "stream";
1918
1909
  async function* streamAsyncIterator() {
1919
1910
  const reader = this.getReader();
@@ -1972,7 +1963,7 @@ async function concat(sources) {
1972
1963
  }
1973
1964
  __name(concat, "concat");
1974
1965
 
1975
- // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/esm/policies/multipartPolicy.js
1966
+ // ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.2-ea8503c5da/package/dist/esm/policies/multipartPolicy.js
1976
1967
  function generateBoundary() {
1977
1968
  return `----AzSDKFormBoundary${randomUUID()}`;
1978
1969
  }
@@ -2076,7 +2067,7 @@ function multipartPolicy() {
2076
2067
  }
2077
2068
  __name(multipartPolicy, "multipartPolicy");
2078
2069
 
2079
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/pipeline.js
2070
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/pipeline.js
2080
2071
  function createEmptyPipeline2() {
2081
2072
  return createEmptyPipeline();
2082
2073
  }
@@ -2093,10 +2084,10 @@ function createClientLogger2(namespace) {
2093
2084
  }
2094
2085
  __name(createClientLogger2, "createClientLogger");
2095
2086
 
2096
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/log.js
2087
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/log.js
2097
2088
  var logger3 = createClientLogger2("core-rest-pipeline");
2098
2089
 
2099
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/logPolicy.js
2090
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/logPolicy.js
2100
2091
  function logPolicy2(options = {}) {
2101
2092
  return logPolicy({
2102
2093
  logger: logger3.info,
@@ -2105,14 +2096,14 @@ function logPolicy2(options = {}) {
2105
2096
  }
2106
2097
  __name(logPolicy2, "logPolicy");
2107
2098
 
2108
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/redirectPolicy.js
2099
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/redirectPolicy.js
2109
2100
  var redirectPolicyName2 = redirectPolicyName;
2110
2101
  function redirectPolicy2(options = {}) {
2111
2102
  return redirectPolicy(options);
2112
2103
  }
2113
2104
  __name(redirectPolicy2, "redirectPolicy");
2114
2105
 
2115
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/util/userAgentPlatform.js
2106
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/util/userAgentPlatform.js
2116
2107
  import os from "node:os";
2117
2108
  import process3 from "node:process";
2118
2109
  function getHeaderName2() {
@@ -2121,23 +2112,23 @@ function getHeaderName2() {
2121
2112
  __name(getHeaderName2, "getHeaderName");
2122
2113
  async function setPlatformSpecificData2(map) {
2123
2114
  if (process3 && process3.versions) {
2115
+ const osInfo = `${os.type()} ${os.release()}; ${os.arch()}`;
2124
2116
  const versions = process3.versions;
2125
2117
  if (versions.bun) {
2126
- map.set("Bun", versions.bun);
2118
+ map.set("Bun", `${versions.bun} (${osInfo})`);
2127
2119
  } else if (versions.deno) {
2128
- map.set("Deno", versions.deno);
2120
+ map.set("Deno", `${versions.deno} (${osInfo})`);
2129
2121
  } else if (versions.node) {
2130
- map.set("Node", versions.node);
2122
+ map.set("Node", `${versions.node} (${osInfo})`);
2131
2123
  }
2132
2124
  }
2133
- map.set("OS", `(${os.arch()}-${os.type()}-${os.release()})`);
2134
2125
  }
2135
2126
  __name(setPlatformSpecificData2, "setPlatformSpecificData");
2136
2127
 
2137
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/constants.js
2138
- var SDK_VERSION2 = "1.22.1";
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";
2139
2130
 
2140
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/util/userAgent.js
2131
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/util/userAgent.js
2141
2132
  function getUserAgentString(telemetryInfo) {
2142
2133
  const parts = [];
2143
2134
  for (const [key, value] of telemetryInfo) {
@@ -2161,7 +2152,7 @@ async function getUserAgentValue2(prefix2) {
2161
2152
  }
2162
2153
  __name(getUserAgentValue2, "getUserAgentValue");
2163
2154
 
2164
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/userAgentPolicy.js
2155
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/userAgentPolicy.js
2165
2156
  var UserAgentHeaderName2 = getUserAgentHeaderName2();
2166
2157
  var userAgentPolicyName2 = "userAgentPolicy";
2167
2158
  function userAgentPolicy2(options = {}) {
@@ -2293,7 +2284,7 @@ function randomUUID2() {
2293
2284
  __name(randomUUID2, "randomUUID");
2294
2285
  var isNodeLike2 = isNodeLike;
2295
2286
 
2296
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/util/file.js
2287
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/util/file.js
2297
2288
  var rawContent = Symbol("rawContent");
2298
2289
  function hasRawContent(x) {
2299
2290
  return typeof x[rawContent] === "function";
@@ -2308,7 +2299,7 @@ function getRawContent(blob) {
2308
2299
  }
2309
2300
  __name(getRawContent, "getRawContent");
2310
2301
 
2311
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/multipartPolicy.js
2302
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/multipartPolicy.js
2312
2303
  var multipartPolicyName2 = multipartPolicyName;
2313
2304
  function multipartPolicy2() {
2314
2305
  const tspPolicy = multipartPolicy();
@@ -2328,26 +2319,26 @@ function multipartPolicy2() {
2328
2319
  }
2329
2320
  __name(multipartPolicy2, "multipartPolicy");
2330
2321
 
2331
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/decompressResponsePolicy.js
2322
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/decompressResponsePolicy.js
2332
2323
  var decompressResponsePolicyName2 = decompressResponsePolicyName;
2333
2324
  function decompressResponsePolicy2() {
2334
2325
  return decompressResponsePolicy();
2335
2326
  }
2336
2327
  __name(decompressResponsePolicy2, "decompressResponsePolicy");
2337
2328
 
2338
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/defaultRetryPolicy.js
2329
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/defaultRetryPolicy.js
2339
2330
  function defaultRetryPolicy2(options = {}) {
2340
2331
  return defaultRetryPolicy(options);
2341
2332
  }
2342
2333
  __name(defaultRetryPolicy2, "defaultRetryPolicy");
2343
2334
 
2344
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/formDataPolicy.js
2335
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/formDataPolicy.js
2345
2336
  function formDataPolicy2() {
2346
2337
  return formDataPolicy();
2347
2338
  }
2348
2339
  __name(formDataPolicy2, "formDataPolicy");
2349
2340
 
2350
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/proxyPolicy.js
2341
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/proxyPolicy.js
2351
2342
  function getDefaultProxySettings2(proxyUrl) {
2352
2343
  return getDefaultProxySettings(proxyUrl);
2353
2344
  }
@@ -2357,7 +2348,7 @@ function proxyPolicy2(proxySettings, options) {
2357
2348
  }
2358
2349
  __name(proxyPolicy2, "proxyPolicy");
2359
2350
 
2360
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/setClientRequestIdPolicy.js
2351
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/setClientRequestIdPolicy.js
2361
2352
  var setClientRequestIdPolicyName = "setClientRequestIdPolicy";
2362
2353
  function setClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id") {
2363
2354
  return {
@@ -2372,13 +2363,13 @@ function setClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id"
2372
2363
  }
2373
2364
  __name(setClientRequestIdPolicy, "setClientRequestIdPolicy");
2374
2365
 
2375
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/agentPolicy.js
2366
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/agentPolicy.js
2376
2367
  function agentPolicy2(agent) {
2377
2368
  return agentPolicy(agent);
2378
2369
  }
2379
2370
  __name(agentPolicy2, "agentPolicy");
2380
2371
 
2381
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/tlsPolicy.js
2372
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/tlsPolicy.js
2382
2373
  function tlsPolicy2(tlsSettings) {
2383
2374
  return tlsPolicy(tlsSettings);
2384
2375
  }
@@ -2475,12 +2466,12 @@ __name(getInstrumenter, "getInstrumenter");
2475
2466
  function createTracingClient(options) {
2476
2467
  const { namespace, packageName, packageVersion } = options;
2477
2468
  function startSpan(name, operationOptions, spanOptions) {
2478
- var _a4;
2469
+ var _a3;
2479
2470
  const startSpanResult = getInstrumenter().startSpan(name, {
2480
2471
  ...spanOptions,
2481
2472
  packageName,
2482
2473
  packageVersion,
2483
- tracingContext: (_a4 = operationOptions == null ? void 0 : operationOptions.tracingOptions) == null ? void 0 : _a4.tracingContext
2474
+ tracingContext: (_a3 = operationOptions == null ? void 0 : operationOptions.tracingOptions) == null ? void 0 : _a3.tracingContext
2484
2475
  });
2485
2476
  let tracingContext = startSpanResult.tracingContext;
2486
2477
  const span = startSpanResult.span;
@@ -2533,14 +2524,14 @@ function createTracingClient(options) {
2533
2524
  }
2534
2525
  __name(createTracingClient, "createTracingClient");
2535
2526
 
2536
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/restError.js
2527
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/restError.js
2537
2528
  var RestError2 = RestError;
2538
2529
  function isRestError2(e) {
2539
2530
  return isRestError(e);
2540
2531
  }
2541
2532
  __name(isRestError2, "isRestError");
2542
2533
 
2543
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/tracingPolicy.js
2534
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/tracingPolicy.js
2544
2535
  var tracingPolicyName = "tracingPolicy";
2545
2536
  function tracingPolicy(options = {}) {
2546
2537
  const userAgentPromise = getUserAgentValue2(options.userAgentPrefix);
@@ -2648,7 +2639,7 @@ function tryProcessResponse(span, response) {
2648
2639
  }
2649
2640
  __name(tryProcessResponse, "tryProcessResponse");
2650
2641
 
2651
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/util/wrapAbortSignal.js
2642
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/util/wrapAbortSignal.js
2652
2643
  function wrapAbortSignalLike(abortSignalLike) {
2653
2644
  if (abortSignalLike instanceof AbortSignal) {
2654
2645
  return { abortSignal: abortSignalLike };
@@ -2675,7 +2666,7 @@ function wrapAbortSignalLike(abortSignalLike) {
2675
2666
  }
2676
2667
  __name(wrapAbortSignalLike, "wrapAbortSignalLike");
2677
2668
 
2678
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/wrapAbortSignalLikePolicy.js
2669
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/wrapAbortSignalLikePolicy.js
2679
2670
  var wrapAbortSignalLikePolicyName = "wrapAbortSignalLikePolicy";
2680
2671
  function wrapAbortSignalLikePolicy() {
2681
2672
  return {
@@ -2696,9 +2687,9 @@ function wrapAbortSignalLikePolicy() {
2696
2687
  }
2697
2688
  __name(wrapAbortSignalLikePolicy, "wrapAbortSignalLikePolicy");
2698
2689
 
2699
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/createPipelineFromOptions.js
2690
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/createPipelineFromOptions.js
2700
2691
  function createPipelineFromOptions2(options) {
2701
- var _a4;
2692
+ var _a3;
2702
2693
  const pipeline = createEmptyPipeline2();
2703
2694
  if (isNodeLike2) {
2704
2695
  if (options.agent) {
@@ -2713,7 +2704,7 @@ function createPipelineFromOptions2(options) {
2713
2704
  pipeline.addPolicy(wrapAbortSignalLikePolicy());
2714
2705
  pipeline.addPolicy(formDataPolicy2(), { beforePolicies: [multipartPolicyName2] });
2715
2706
  pipeline.addPolicy(userAgentPolicy2(options.userAgentOptions));
2716
- pipeline.addPolicy(setClientRequestIdPolicy((_a4 = options.telemetryOptions) == null ? void 0 : _a4.clientRequestIdHeaderName));
2707
+ pipeline.addPolicy(setClientRequestIdPolicy((_a3 = options.telemetryOptions) == null ? void 0 : _a3.clientRequestIdHeaderName));
2717
2708
  pipeline.addPolicy(multipartPolicy2(), { afterPhase: "Deserialize" });
2718
2709
  pipeline.addPolicy(defaultRetryPolicy2(options.retryOptions), { phase: "Retry" });
2719
2710
  pipeline.addPolicy(tracingPolicy({ ...options.userAgentOptions, ...options.loggingOptions }), {
@@ -2727,7 +2718,7 @@ function createPipelineFromOptions2(options) {
2727
2718
  }
2728
2719
  __name(createPipelineFromOptions2, "createPipelineFromOptions");
2729
2720
 
2730
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/defaultHttpClient.js
2721
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/defaultHttpClient.js
2731
2722
  function createDefaultHttpClient2() {
2732
2723
  const client = createDefaultHttpClient();
2733
2724
  return {
@@ -2744,22 +2735,22 @@ function createDefaultHttpClient2() {
2744
2735
  }
2745
2736
  __name(createDefaultHttpClient2, "createDefaultHttpClient");
2746
2737
 
2747
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/httpHeaders.js
2738
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/httpHeaders.js
2748
2739
  function createHttpHeaders2(rawHeaders) {
2749
2740
  return createHttpHeaders(rawHeaders);
2750
2741
  }
2751
2742
  __name(createHttpHeaders2, "createHttpHeaders");
2752
2743
 
2753
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/pipelineRequest.js
2744
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/pipelineRequest.js
2754
2745
  function createPipelineRequest2(options) {
2755
2746
  return createPipelineRequest(options);
2756
2747
  }
2757
2748
  __name(createPipelineRequest2, "createPipelineRequest");
2758
2749
 
2759
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/retryPolicy.js
2750
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/retryPolicy.js
2760
2751
  var retryPolicyLogger2 = createClientLogger2("core-rest-pipeline retryPolicy");
2761
2752
 
2762
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/util/tokenCycler.js
2753
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/util/tokenCycler.js
2763
2754
  var DEFAULT_CYCLER_OPTIONS = {
2764
2755
  forcedRefreshWindowInMs: 1e3,
2765
2756
  // Force waiting for a refresh 1s before the token expires
@@ -2870,7 +2861,7 @@ function createTokenCycler(credential, tokenCyclerOptions) {
2870
2861
  }
2871
2862
  __name(createTokenCycler, "createTokenCycler");
2872
2863
 
2873
- // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.1-38824241ab/package/dist/esm/policies/bearerTokenAuthenticationPolicy.js
2864
+ // ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.22.2-0f1afee05f/package/dist/esm/policies/bearerTokenAuthenticationPolicy.js
2874
2865
  var bearerTokenAuthenticationPolicyName = "bearerTokenAuthenticationPolicy";
2875
2866
  async function trySendRequest(request, next) {
2876
2867
  try {
@@ -2915,11 +2906,11 @@ async function authorizeRequestOnCaeChallenge(onChallengeOptions, caeClaims) {
2915
2906
  }
2916
2907
  __name(authorizeRequestOnCaeChallenge, "authorizeRequestOnCaeChallenge");
2917
2908
  function bearerTokenAuthenticationPolicy(options) {
2918
- var _a4, _b2;
2909
+ var _a3, _b2;
2919
2910
  const { credential, scopes, challengeCallbacks } = options;
2920
2911
  const logger9 = options.logger || logger3;
2921
2912
  const callbacks = {
2922
- authorizeRequest: ((_a4 = challengeCallbacks == null ? void 0 : challengeCallbacks.authorizeRequest) == null ? void 0 : _a4.bind(challengeCallbacks)) ?? defaultAuthorizeRequest,
2913
+ authorizeRequest: ((_a3 = challengeCallbacks == null ? void 0 : challengeCallbacks.authorizeRequest) == null ? void 0 : _a3.bind(challengeCallbacks)) ?? defaultAuthorizeRequest,
2923
2914
  authorizeRequestOnChallenge: (_b2 = challengeCallbacks == null ? void 0 : challengeCallbacks.authorizeRequestOnChallenge) == null ? void 0 : _b2.bind(challengeCallbacks)
2924
2915
  };
2925
2916
  const getAccessToken = credential ? createTokenCycler(
@@ -3038,12 +3029,12 @@ function parseChallenges(challenges) {
3038
3029
  }
3039
3030
  __name(parseChallenges, "parseChallenges");
3040
3031
  function getCaeChallengeClaims(challenges) {
3041
- var _a4;
3032
+ var _a3;
3042
3033
  if (!challenges) {
3043
3034
  return;
3044
3035
  }
3045
3036
  const parsedChallenges = parseChallenges(challenges);
3046
- return (_a4 = parsedChallenges.find((x) => x.scheme === "Bearer" && x.params.claims && x.params.error === "insufficient_claims")) == null ? void 0 : _a4.params.claims;
3037
+ return (_a3 = parsedChallenges.find((x) => x.scheme === "Bearer" && x.params.claims && x.params.error === "insufficient_claims")) == null ? void 0 : _a3.params.claims;
3047
3038
  }
3048
3039
  __name(getCaeChallengeClaims, "getCaeChallengeClaims");
3049
3040
 
@@ -3177,7 +3168,7 @@ function handleNullableResponseAndWrappableBody(responseObject) {
3177
3168
  }
3178
3169
  __name(handleNullableResponseAndWrappableBody, "handleNullableResponseAndWrappableBody");
3179
3170
  function flattenResponse(fullResponse, responseSpec) {
3180
- var _a4;
3171
+ var _a3;
3181
3172
  const parsedHeaders = fullResponse.parsedHeaders;
3182
3173
  if (fullResponse.request.method === "HEAD") {
3183
3174
  return {
@@ -3201,7 +3192,7 @@ function flattenResponse(fullResponse, responseSpec) {
3201
3192
  const arrayResponse = fullResponse.parsedBody ?? [];
3202
3193
  for (const key of Object.keys(modelProperties)) {
3203
3194
  if (modelProperties[key].serializedName) {
3204
- arrayResponse[key] = (_a4 = fullResponse.parsedBody) == null ? void 0 : _a4[key];
3195
+ arrayResponse[key] = (_a3 = fullResponse.parsedBody) == null ? void 0 : _a3[key];
3205
3196
  }
3206
3197
  }
3207
3198
  if (parsedHeaders) {
@@ -4078,8 +4069,8 @@ var defaultJsonContentTypes = ["application/json", "text/json"];
4078
4069
  var defaultXmlContentTypes = ["application/xml", "application/atom+xml"];
4079
4070
  var deserializationPolicyName = "deserializationPolicy";
4080
4071
  function deserializationPolicy(options = {}) {
4081
- var _a4, _b2;
4082
- const jsonContentTypes = ((_a4 = options.expectedContentTypes) == null ? void 0 : _a4.json) ?? defaultJsonContentTypes;
4072
+ var _a3, _b2;
4073
+ const jsonContentTypes = ((_a3 = options.expectedContentTypes) == null ? void 0 : _a3.json) ?? defaultJsonContentTypes;
4083
4074
  const xmlContentTypes = ((_b2 = options.expectedContentTypes) == null ? void 0 : _b2.xml) ?? defaultXmlContentTypes;
4084
4075
  const parseXML2 = options.parseXML;
4085
4076
  const serializerOptions = options.serializerOptions;
@@ -4178,7 +4169,7 @@ function isOperationSpecEmpty(operationSpec) {
4178
4169
  }
4179
4170
  __name(isOperationSpecEmpty, "isOperationSpecEmpty");
4180
4171
  function handleErrorResponse(parsedResponse, operationSpec, responseSpec, options) {
4181
- var _a4, _b2, _c2, _d, _e;
4172
+ var _a3, _b2, _c2, _d, _e;
4182
4173
  const isSuccessByStatus = 200 <= parsedResponse.status && parsedResponse.status < 300;
4183
4174
  const isExpectedStatusCode = isOperationSpecEmpty(operationSpec) ? isSuccessByStatus : !!responseSpec;
4184
4175
  if (isExpectedStatusCode) {
@@ -4191,7 +4182,7 @@ function handleErrorResponse(parsedResponse, operationSpec, responseSpec, option
4191
4182
  }
4192
4183
  }
4193
4184
  const errorResponseSpec = responseSpec ?? operationSpec.responses.default;
4194
- const initialErrorMessage = ((_a4 = parsedResponse.request.streamResponseStatusCodes) == null ? void 0 : _a4.has(parsedResponse.status)) ? `Unexpected status code: ${parsedResponse.status}` : parsedResponse.bodyAsText;
4185
+ const initialErrorMessage = ((_a3 = parsedResponse.request.streamResponseStatusCodes) == null ? void 0 : _a3.has(parsedResponse.status)) ? `Unexpected status code: ${parsedResponse.status}` : parsedResponse.bodyAsText;
4195
4186
  const error = new RestError2(initialErrorMessage, {
4196
4187
  statusCode: parsedResponse.status,
4197
4188
  request: parsedResponse.request,
@@ -4236,8 +4227,8 @@ function handleErrorResponse(parsedResponse, operationSpec, responseSpec, option
4236
4227
  }
4237
4228
  __name(handleErrorResponse, "handleErrorResponse");
4238
4229
  async function parse(jsonContentTypes, xmlContentTypes, operationResponse, opts, parseXML2) {
4239
- var _a4;
4240
- if (!((_a4 = operationResponse.request.streamResponseStatusCodes) == null ? void 0 : _a4.has(operationResponse.status)) && operationResponse.bodyAsText) {
4230
+ var _a3;
4231
+ if (!((_a3 = operationResponse.request.streamResponseStatusCodes) == null ? void 0 : _a3.has(operationResponse.status)) && operationResponse.bodyAsText) {
4241
4232
  const text = operationResponse.bodyAsText;
4242
4233
  const contentType3 = operationResponse.headers.get("Content-Type") || "";
4243
4234
  const contentComponents = !contentType3 ? [] : contentType3.split(";").map((component) => component.toLowerCase());
@@ -4315,7 +4306,7 @@ function serializationPolicy(options = {}) {
4315
4306
  }
4316
4307
  __name(serializationPolicy, "serializationPolicy");
4317
4308
  function serializeHeaders(request, operationArguments, operationSpec) {
4318
- var _a4, _b2;
4309
+ var _a3, _b2;
4319
4310
  if (operationSpec.headerParameters) {
4320
4311
  for (const headerParameter of operationSpec.headerParameters) {
4321
4312
  let headerValue = getOperationArgumentValueFromParameter(operationArguments, headerParameter);
@@ -4332,7 +4323,7 @@ function serializeHeaders(request, operationArguments, operationSpec) {
4332
4323
  }
4333
4324
  }
4334
4325
  }
4335
- const customHeaders = (_b2 = (_a4 = operationArguments.options) == null ? void 0 : _a4.requestOptions) == null ? void 0 : _b2.customHeaders;
4326
+ const customHeaders = (_b2 = (_a3 = operationArguments.options) == null ? void 0 : _a3.requestOptions) == null ? void 0 : _b2.customHeaders;
4336
4327
  if (customHeaders) {
4337
4328
  for (const customHeaderName of Object.keys(customHeaders)) {
4338
4329
  request.headers.set(customHeaderName, customHeaders[customHeaderName]);
@@ -4343,8 +4334,8 @@ __name(serializeHeaders, "serializeHeaders");
4343
4334
  function serializeRequestBody(request, operationArguments, operationSpec, stringifyXML2 = function() {
4344
4335
  throw new Error("XML serialization unsupported!");
4345
4336
  }) {
4346
- var _a4, _b2;
4347
- const serializerOptions = (_a4 = operationArguments.options) == null ? void 0 : _a4.serializerOptions;
4337
+ var _a3, _b2;
4338
+ const serializerOptions = (_a3 = operationArguments.options) == null ? void 0 : _a3.serializerOptions;
4348
4339
  const updatedOptions = {
4349
4340
  xml: {
4350
4341
  rootName: (serializerOptions == null ? void 0 : serializerOptions.xml.rootName) ?? "",
@@ -4483,9 +4474,9 @@ function replaceAll(input, replacements) {
4483
4474
  }
4484
4475
  __name(replaceAll, "replaceAll");
4485
4476
  function calculateUrlReplacements(operationSpec, operationArguments, fallbackObject) {
4486
- var _a4;
4477
+ var _a3;
4487
4478
  const result = /* @__PURE__ */ new Map();
4488
- if ((_a4 = operationSpec.urlParameters) == null ? void 0 : _a4.length) {
4479
+ if ((_a3 = operationSpec.urlParameters) == null ? void 0 : _a3.length) {
4489
4480
  for (const urlParameter of operationSpec.urlParameters) {
4490
4481
  let urlParameterValue = getOperationArgumentValueFromParameter(operationArguments, urlParameter, fallbackObject);
4491
4482
  const parameterPathString = getPathStringFromParameter(urlParameter);
@@ -4531,10 +4522,10 @@ function appendPath(url3, pathToAppend) {
4531
4522
  }
4532
4523
  __name(appendPath, "appendPath");
4533
4524
  function calculateQueryParameters(operationSpec, operationArguments, fallbackObject) {
4534
- var _a4;
4525
+ var _a3;
4535
4526
  const result = /* @__PURE__ */ new Map();
4536
4527
  const sequenceParams = /* @__PURE__ */ new Set();
4537
- if ((_a4 = operationSpec.queryParameters) == null ? void 0 : _a4.length) {
4528
+ if ((_a3 = operationSpec.queryParameters) == null ? void 0 : _a3.length) {
4538
4529
  for (const queryParameter of operationSpec.queryParameters) {
4539
4530
  if (queryParameter.mapper.type.name === "Sequence" && queryParameter.mapper.serializedName) {
4540
4531
  sequenceParams.add(queryParameter.mapper.serializedName);
@@ -4679,7 +4670,7 @@ var _ServiceClient = class _ServiceClient {
4679
4670
  * @param options - The service client options that govern the behavior of the client.
4680
4671
  */
4681
4672
  constructor(options = {}) {
4682
- var _a4;
4673
+ var _a3;
4683
4674
  this._requestContentType = options.requestContentType;
4684
4675
  this._endpoint = options.endpoint ?? options.baseUri;
4685
4676
  if (options.baseUri) {
@@ -4688,7 +4679,7 @@ var _ServiceClient = class _ServiceClient {
4688
4679
  this._allowInsecureConnection = options.allowInsecureConnection;
4689
4680
  this._httpClient = options.httpClient || getCachedDefaultHttpClient();
4690
4681
  this.pipeline = options.pipeline || createDefaultPipeline2(options);
4691
- if ((_a4 = options.additionalPolicies) == null ? void 0 : _a4.length) {
4682
+ if ((_a3 = options.additionalPolicies) == null ? void 0 : _a3.length) {
4692
4683
  for (const { policy, position } of options.additionalPolicies) {
4693
4684
  const afterPhase = position === "perRetry" ? "Sign" : void 0;
4694
4685
  this.pipeline.addPolicy(policy, {
@@ -5192,9 +5183,9 @@ __name(toPipelineResponse, "toPipelineResponse");
5192
5183
  // ../../node_modules/.store/@azure-core-http-compat-npm-2.3.1-afd2f01f9c/package/dist/esm/extendedClient.js
5193
5184
  var _ExtendedServiceClient = class _ExtendedServiceClient extends ServiceClient {
5194
5185
  constructor(options) {
5195
- var _a4, _b2;
5186
+ var _a3, _b2;
5196
5187
  super(options);
5197
- if (((_a4 = options.keepAliveOptions) == null ? void 0 : _a4.enable) === false && !pipelineContainsDisableKeepAlivePolicy(this.pipeline)) {
5188
+ if (((_a3 = options.keepAliveOptions) == null ? void 0 : _a3.enable) === false && !pipelineContainsDisableKeepAlivePolicy(this.pipeline)) {
5198
5189
  this.pipeline.addPolicy(createDisableKeepAlivePolicy());
5199
5190
  }
5200
5191
  if (((_b2 = options.redirectOptions) == null ? void 0 : _b2.handleRedirects) === false) {
@@ -5211,8 +5202,8 @@ var _ExtendedServiceClient = class _ExtendedServiceClient extends ServiceClient
5211
5202
  * @returns
5212
5203
  */
5213
5204
  async sendOperationRequest(operationArguments, operationSpec) {
5214
- var _a4;
5215
- const userProvidedCallBack = (_a4 = operationArguments == null ? void 0 : operationArguments.options) == null ? void 0 : _a4.onResponse;
5205
+ var _a3;
5206
+ const userProvidedCallBack = (_a3 = operationArguments == null ? void 0 : operationArguments.options) == null ? void 0 : _a3.onResponse;
5216
5207
  let lastResponse;
5217
5208
  function onResponse(rawResponse, flatResponse, error) {
5218
5209
  lastResponse = rawResponse;
@@ -5286,7 +5277,7 @@ function convertHttpClient(requestPolicyClient) {
5286
5277
  }
5287
5278
  __name(convertHttpClient, "convertHttpClient");
5288
5279
 
5289
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/util.js
5280
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/util.js
5290
5281
  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";
5291
5282
  var nameChar = nameStartChar + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040";
5292
5283
  var nameRegexp = "[" + nameStartChar + "][" + nameChar + "]*";
@@ -5316,7 +5307,7 @@ function isExist(v) {
5316
5307
  }
5317
5308
  __name(isExist, "isExist");
5318
5309
 
5319
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/validator.js
5310
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/validator.js
5320
5311
  var defaultOptions = {
5321
5312
  allowBooleanAttributes: false,
5322
5313
  //A tag can have attributes without any value
@@ -5635,7 +5626,7 @@ function getPositionFromMatch(match) {
5635
5626
  }
5636
5627
  __name(getPositionFromMatch, "getPositionFromMatch");
5637
5628
 
5638
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/xmlparser/OptionsBuilder.js
5629
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/xmlparser/OptionsBuilder.js
5639
5630
  var defaultOptions2 = {
5640
5631
  preserveOrder: false,
5641
5632
  attributeNamePrefix: "@_",
@@ -5685,7 +5676,7 @@ var buildOptions = /* @__PURE__ */ __name(function(options) {
5685
5676
  return Object.assign({}, defaultOptions2, options);
5686
5677
  }, "buildOptions");
5687
5678
 
5688
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/xmlparser/xmlNode.js
5679
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/xmlparser/xmlNode.js
5689
5680
  var METADATA_SYMBOL;
5690
5681
  if (typeof Symbol !== "function") {
5691
5682
  METADATA_SYMBOL = "@@xmlMetadata";
@@ -5721,7 +5712,7 @@ var _XmlNode = class _XmlNode {
5721
5712
  __name(_XmlNode, "XmlNode");
5722
5713
  var XmlNode = _XmlNode;
5723
5714
 
5724
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/xmlparser/DocTypeReader.js
5715
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/xmlparser/DocTypeReader.js
5725
5716
  var _DocTypeReader = class _DocTypeReader {
5726
5717
  constructor(processEntities) {
5727
5718
  this.suppressValidationErr = !processEntities;
@@ -6089,7 +6080,7 @@ function parse_int(numStr, base) {
6089
6080
  }
6090
6081
  __name(parse_int, "parse_int");
6091
6082
 
6092
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/ignoreAttributes.js
6083
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/ignoreAttributes.js
6093
6084
  function getIgnoreAttributesFn(ignoreAttributes) {
6094
6085
  if (typeof ignoreAttributes === "function") {
6095
6086
  return ignoreAttributes;
@@ -6110,7 +6101,7 @@ function getIgnoreAttributesFn(ignoreAttributes) {
6110
6101
  }
6111
6102
  __name(getIgnoreAttributesFn, "getIgnoreAttributesFn");
6112
6103
 
6113
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/xmlparser/OrderedObjParser.js
6104
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/xmlparser/OrderedObjParser.js
6114
6105
  var _OrderedObjParser = class _OrderedObjParser {
6115
6106
  constructor(options) {
6116
6107
  this.options = options;
@@ -6152,6 +6143,19 @@ var _OrderedObjParser = class _OrderedObjParser {
6152
6143
  this.saveTextToParentTag = saveTextToParentTag;
6153
6144
  this.addChild = addChild;
6154
6145
  this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes);
6146
+ if (this.options.stopNodes && this.options.stopNodes.length > 0) {
6147
+ this.stopNodesExact = /* @__PURE__ */ new Set();
6148
+ this.stopNodesWildcard = /* @__PURE__ */ new Set();
6149
+ for (let i = 0; i < this.options.stopNodes.length; i++) {
6150
+ 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);
6156
+ }
6157
+ }
6158
+ }
6155
6159
  }
6156
6160
  };
6157
6161
  __name(_OrderedObjParser, "OrderedObjParser");
@@ -6361,7 +6365,7 @@ var parseXml = /* @__PURE__ */ __name(function(xmlData) {
6361
6365
  jPath += jPath ? "." + tagName : tagName;
6362
6366
  }
6363
6367
  const startIndex = i;
6364
- if (this.isItStopNode(this.options.stopNodes, jPath, tagName)) {
6368
+ if (this.isItStopNode(this.stopNodesExact, this.stopNodesWildcard, jPath, tagName)) {
6365
6369
  let tagContent = "";
6366
6370
  if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) {
6367
6371
  if (tagName[tagName.length - 1] === "/") {
@@ -6477,12 +6481,9 @@ function saveTextToParentTag(textData, currentNode, jPath, isLeafNode) {
6477
6481
  return textData;
6478
6482
  }
6479
6483
  __name(saveTextToParentTag, "saveTextToParentTag");
6480
- function isItStopNode(stopNodes, jPath, currentTagName) {
6481
- const allNodesExp = "*." + currentTagName;
6482
- for (const stopNodePath in stopNodes) {
6483
- const stopNodeExp = stopNodes[stopNodePath];
6484
- if (allNodesExp === stopNodeExp || jPath === stopNodeExp) return true;
6485
- }
6484
+ function isItStopNode(stopNodesExact, stopNodesWildcard, jPath, currentTagName) {
6485
+ if (stopNodesWildcard && stopNodesWildcard.has(currentTagName)) return true;
6486
+ if (stopNodesExact && stopNodesExact.has(jPath)) return true;
6486
6487
  return false;
6487
6488
  }
6488
6489
  __name(isItStopNode, "isItStopNode");
@@ -6611,7 +6612,7 @@ function parseValue(val, shouldParse, options) {
6611
6612
  }
6612
6613
  __name(parseValue, "parseValue");
6613
6614
 
6614
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/xmlparser/node2json.js
6615
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/xmlparser/node2json.js
6615
6616
  var METADATA_SYMBOL2 = XmlNode.getMetaDataSymbol();
6616
6617
  function prettify(node, options) {
6617
6618
  return compress(node, options);
@@ -6701,7 +6702,7 @@ function isLeafTag(obj, options) {
6701
6702
  }
6702
6703
  __name(isLeafTag, "isLeafTag");
6703
6704
 
6704
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/xmlparser/XMLParser.js
6705
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/xmlparser/XMLParser.js
6705
6706
  var _XMLParser = class _XMLParser {
6706
6707
  constructor(options) {
6707
6708
  this.externalEntities = {};
@@ -6764,7 +6765,7 @@ var _XMLParser = class _XMLParser {
6764
6765
  __name(_XMLParser, "XMLParser");
6765
6766
  var XMLParser = _XMLParser;
6766
6767
 
6767
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/xmlbuilder/orderedJs2Xml.js
6768
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/xmlbuilder/orderedJs2Xml.js
6768
6769
  var EOL2 = "\n";
6769
6770
  function toXml(jArray, options) {
6770
6771
  let indentation = "";
@@ -6890,7 +6891,7 @@ function replaceEntitiesValue2(textValue, options) {
6890
6891
  }
6891
6892
  __name(replaceEntitiesValue2, "replaceEntitiesValue");
6892
6893
 
6893
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/xmlbuilder/json2xml.js
6894
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/xmlbuilder/json2xml.js
6894
6895
  var defaultOptions3 = {
6895
6896
  attributeNamePrefix: "@_",
6896
6897
  attributesGroupName: false,
@@ -7132,7 +7133,7 @@ function isAttribute(name) {
7132
7133
  }
7133
7134
  __name(isAttribute, "isAttribute");
7134
7135
 
7135
- // ../../node_modules/.store/fast-xml-parser-npm-5.3.0-9b3beb9b53/package/src/fxp.js
7136
+ // ../../node_modules/.store/fast-xml-parser-npm-5.3.2-2d115f9662/package/src/fxp.js
7136
7137
  var XMLValidator = {
7137
7138
  validate
7138
7139
  };
@@ -7143,18 +7144,18 @@ var XML_CHARKEY2 = "_";
7143
7144
 
7144
7145
  // ../../node_modules/.store/@azure-core-xml-npm-1.5.0-fa14061b4e/package/dist/esm/xml.js
7145
7146
  function getCommonOptions(options) {
7146
- var _a4;
7147
+ var _a3;
7147
7148
  return {
7148
7149
  attributesGroupName: XML_ATTRKEY2,
7149
- textNodeName: (_a4 = options.xmlCharKey) !== null && _a4 !== void 0 ? _a4 : XML_CHARKEY2,
7150
+ textNodeName: (_a3 = options.xmlCharKey) !== null && _a3 !== void 0 ? _a3 : XML_CHARKEY2,
7150
7151
  ignoreAttributes: false,
7151
7152
  suppressBooleanAttributes: false
7152
7153
  };
7153
7154
  }
7154
7155
  __name(getCommonOptions, "getCommonOptions");
7155
7156
  function getSerializerOptions(options = {}) {
7156
- var _a4, _b2;
7157
- return Object.assign(Object.assign({}, getCommonOptions(options)), { attributeNamePrefix: "@_", format: true, suppressEmptyNode: true, indentBy: "", rootNodeName: (_a4 = options.rootName) !== null && _a4 !== void 0 ? _a4 : "root", cdataPropName: (_b2 = options.cdataPropName) !== null && _b2 !== void 0 ? _b2 : "__cdata" });
7157
+ var _a3, _b2;
7158
+ return Object.assign(Object.assign({}, getCommonOptions(options)), { attributeNamePrefix: "@_", format: true, suppressEmptyNode: true, indentBy: "", rootNodeName: (_a3 = options.rootName) !== null && _a3 !== void 0 ? _a3 : "root", cdataPropName: (_b2 = options.cdataPropName) !== null && _b2 !== void 0 ? _b2 : "__cdata" });
7158
7159
  }
7159
7160
  __name(getSerializerOptions, "getSerializerOptions");
7160
7161
  function getParserOptions(options = {}) {
@@ -7882,11 +7883,11 @@ function ConvertInternalResponseOfListBlobFlat(internalResponse) {
7882
7883
  }
7883
7884
  __name(ConvertInternalResponseOfListBlobFlat, "ConvertInternalResponseOfListBlobFlat");
7884
7885
  function ConvertInternalResponseOfListBlobHierarchy(internalResponse) {
7885
- var _a4;
7886
+ var _a3;
7886
7887
  return {
7887
7888
  ...internalResponse,
7888
7889
  segment: {
7889
- blobPrefixes: (_a4 = internalResponse.segment.blobPrefixes) == null ? void 0 : _a4.map((blobPrefixInternal) => {
7890
+ blobPrefixes: (_a3 = internalResponse.segment.blobPrefixes) == null ? void 0 : _a3.map((blobPrefixInternal) => {
7890
7891
  const blobPrefix = {
7891
7892
  ...blobPrefixInternal,
7892
7893
  name: BlobNameToString(blobPrefixInternal.name)
@@ -25006,18 +25007,18 @@ var _BlobLeaseClient = class _BlobLeaseClient {
25006
25007
  * @returns Response data for acquire lease operation.
25007
25008
  */
25008
25009
  async acquireLease(duration2, options = {}) {
25009
- var _a4, _b2, _c2, _d, _e;
25010
- if (this._isContainer && (((_a4 = options.conditions) == null ? void 0 : _a4.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
25010
+ var _a3, _b2, _c2, _d, _e;
25011
+ if (this._isContainer && (((_a3 = options.conditions) == null ? void 0 : _a3.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
25011
25012
  throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");
25012
25013
  }
25013
25014
  return tracingClient.withSpan("BlobLeaseClient-acquireLease", options, async (updatedOptions) => {
25014
- var _a5;
25015
+ var _a4;
25015
25016
  return assertResponse(await this._containerOrBlobOperation.acquireLease({
25016
25017
  abortSignal: options.abortSignal,
25017
25018
  duration: duration2,
25018
25019
  modifiedAccessConditions: {
25019
25020
  ...options.conditions,
25020
- ifTags: (_a5 = options.conditions) == null ? void 0 : _a5.tagConditions
25021
+ ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
25021
25022
  },
25022
25023
  proposedLeaseId: this._leaseId,
25023
25024
  tracingOptions: updatedOptions.tracingOptions
@@ -25035,17 +25036,17 @@ var _BlobLeaseClient = class _BlobLeaseClient {
25035
25036
  * @returns Response data for change lease operation.
25036
25037
  */
25037
25038
  async changeLease(proposedLeaseId2, options = {}) {
25038
- var _a4, _b2, _c2, _d, _e;
25039
- if (this._isContainer && (((_a4 = options.conditions) == null ? void 0 : _a4.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
25039
+ var _a3, _b2, _c2, _d, _e;
25040
+ if (this._isContainer && (((_a3 = options.conditions) == null ? void 0 : _a3.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
25040
25041
  throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");
25041
25042
  }
25042
25043
  return tracingClient.withSpan("BlobLeaseClient-changeLease", options, async (updatedOptions) => {
25043
- var _a5;
25044
+ var _a4;
25044
25045
  const response = assertResponse(await this._containerOrBlobOperation.changeLease(this._leaseId, proposedLeaseId2, {
25045
25046
  abortSignal: options.abortSignal,
25046
25047
  modifiedAccessConditions: {
25047
25048
  ...options.conditions,
25048
- ifTags: (_a5 = options.conditions) == null ? void 0 : _a5.tagConditions
25049
+ ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
25049
25050
  },
25050
25051
  tracingOptions: updatedOptions.tracingOptions
25051
25052
  }));
@@ -25064,17 +25065,17 @@ var _BlobLeaseClient = class _BlobLeaseClient {
25064
25065
  * @returns Response data for release lease operation.
25065
25066
  */
25066
25067
  async releaseLease(options = {}) {
25067
- var _a4, _b2, _c2, _d, _e;
25068
- if (this._isContainer && (((_a4 = options.conditions) == null ? void 0 : _a4.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
25068
+ var _a3, _b2, _c2, _d, _e;
25069
+ if (this._isContainer && (((_a3 = options.conditions) == null ? void 0 : _a3.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
25069
25070
  throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");
25070
25071
  }
25071
25072
  return tracingClient.withSpan("BlobLeaseClient-releaseLease", options, async (updatedOptions) => {
25072
- var _a5;
25073
+ var _a4;
25073
25074
  return assertResponse(await this._containerOrBlobOperation.releaseLease(this._leaseId, {
25074
25075
  abortSignal: options.abortSignal,
25075
25076
  modifiedAccessConditions: {
25076
25077
  ...options.conditions,
25077
- ifTags: (_a5 = options.conditions) == null ? void 0 : _a5.tagConditions
25078
+ ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
25078
25079
  },
25079
25080
  tracingOptions: updatedOptions.tracingOptions
25080
25081
  }));
@@ -25090,17 +25091,17 @@ var _BlobLeaseClient = class _BlobLeaseClient {
25090
25091
  * @returns Response data for renew lease operation.
25091
25092
  */
25092
25093
  async renewLease(options = {}) {
25093
- var _a4, _b2, _c2, _d, _e;
25094
- if (this._isContainer && (((_a4 = options.conditions) == null ? void 0 : _a4.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
25094
+ var _a3, _b2, _c2, _d, _e;
25095
+ if (this._isContainer && (((_a3 = options.conditions) == null ? void 0 : _a3.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
25095
25096
  throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");
25096
25097
  }
25097
25098
  return tracingClient.withSpan("BlobLeaseClient-renewLease", options, async (updatedOptions) => {
25098
- var _a5;
25099
+ var _a4;
25099
25100
  return this._containerOrBlobOperation.renewLease(this._leaseId, {
25100
25101
  abortSignal: options.abortSignal,
25101
25102
  modifiedAccessConditions: {
25102
25103
  ...options.conditions,
25103
- ifTags: (_a5 = options.conditions) == null ? void 0 : _a5.tagConditions
25104
+ ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
25104
25105
  },
25105
25106
  tracingOptions: updatedOptions.tracingOptions
25106
25107
  });
@@ -25118,18 +25119,18 @@ var _BlobLeaseClient = class _BlobLeaseClient {
25118
25119
  * @returns Response data for break lease operation.
25119
25120
  */
25120
25121
  async breakLease(breakPeriod2, options = {}) {
25121
- var _a4, _b2, _c2, _d, _e;
25122
- if (this._isContainer && (((_a4 = options.conditions) == null ? void 0 : _a4.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
25122
+ var _a3, _b2, _c2, _d, _e;
25123
+ if (this._isContainer && (((_a3 = options.conditions) == null ? void 0 : _a3.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
25123
25124
  throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");
25124
25125
  }
25125
25126
  return tracingClient.withSpan("BlobLeaseClient-breakLease", options, async (updatedOptions) => {
25126
- var _a5;
25127
+ var _a4;
25127
25128
  const operationOptions = {
25128
25129
  abortSignal: options.abortSignal,
25129
25130
  breakPeriod: breakPeriod2,
25130
25131
  modifiedAccessConditions: {
25131
25132
  ...options.conditions,
25132
- ifTags: (_a5 = options.conditions) == null ? void 0 : _a5.tagConditions
25133
+ ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
25133
25134
  },
25134
25135
  tracingOptions: updatedOptions.tracingOptions
25135
25136
  };
@@ -26177,8 +26178,8 @@ var _AvroReadableFromStream = class _AvroReadableFromStream extends AvroReadable
26177
26178
  return this._position;
26178
26179
  }
26179
26180
  async read(size, options = {}) {
26180
- var _a4;
26181
- if ((_a4 = options.abortSignal) == null ? void 0 : _a4.aborted) {
26181
+ var _a3;
26182
+ if ((_a3 = options.abortSignal) == null ? void 0 : _a3.aborted) {
26182
26183
  throw ABORT_ERROR;
26183
26184
  }
26184
26185
  if (size < 0) {
@@ -27603,13 +27604,13 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27603
27604
  options.conditions = options.conditions || {};
27604
27605
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
27605
27606
  return tracingClient.withSpan("BlobClient-download", options, async (updatedOptions) => {
27606
- var _a4;
27607
+ var _a3;
27607
27608
  const res = assertResponse(await this.blobContext.download({
27608
27609
  abortSignal: options.abortSignal,
27609
27610
  leaseAccessConditions: options.conditions,
27610
27611
  modifiedAccessConditions: {
27611
27612
  ...options.conditions,
27612
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
27613
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
27613
27614
  },
27614
27615
  requestOptions: {
27615
27616
  onDownloadProgress: isNodeLike2 ? void 0 : options.onProgress
@@ -27642,7 +27643,7 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27642
27643
  throw new RangeError(`File download response doesn't contain valid etag header`);
27643
27644
  }
27644
27645
  return new BlobDownloadResponse(wrappedRes, async (start) => {
27645
- var _a5;
27646
+ var _a4;
27646
27647
  const updatedDownloadOptions = {
27647
27648
  leaseAccessConditions: options.conditions,
27648
27649
  modifiedAccessConditions: {
@@ -27650,7 +27651,7 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27650
27651
  ifModifiedSince: options.conditions.ifModifiedSince,
27651
27652
  ifNoneMatch: options.conditions.ifNoneMatch,
27652
27653
  ifUnmodifiedSince: options.conditions.ifUnmodifiedSince,
27653
- ifTags: (_a5 = options.conditions) == null ? void 0 : _a5.tagConditions
27654
+ ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
27654
27655
  },
27655
27656
  range: rangeToString({
27656
27657
  count: offset + res.contentLength - start,
@@ -27717,13 +27718,13 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27717
27718
  options.conditions = options.conditions || {};
27718
27719
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
27719
27720
  return tracingClient.withSpan("BlobClient-getProperties", options, async (updatedOptions) => {
27720
- var _a4;
27721
+ var _a3;
27721
27722
  const res = assertResponse(await this.blobContext.getProperties({
27722
27723
  abortSignal: options.abortSignal,
27723
27724
  leaseAccessConditions: options.conditions,
27724
27725
  modifiedAccessConditions: {
27725
27726
  ...options.conditions,
27726
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
27727
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
27727
27728
  },
27728
27729
  cpkInfo: options.customerProvidedKey,
27729
27730
  tracingOptions: updatedOptions.tracingOptions
@@ -27749,14 +27750,14 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27749
27750
  async delete(options = {}) {
27750
27751
  options.conditions = options.conditions || {};
27751
27752
  return tracingClient.withSpan("BlobClient-delete", options, async (updatedOptions) => {
27752
- var _a4;
27753
+ var _a3;
27753
27754
  return assertResponse(await this.blobContext.delete({
27754
27755
  abortSignal: options.abortSignal,
27755
27756
  deleteSnapshots: options.deleteSnapshots,
27756
27757
  leaseAccessConditions: options.conditions,
27757
27758
  modifiedAccessConditions: {
27758
27759
  ...options.conditions,
27759
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
27760
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
27760
27761
  },
27761
27762
  tracingOptions: updatedOptions.tracingOptions
27762
27763
  }));
@@ -27773,7 +27774,7 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27773
27774
  */
27774
27775
  async deleteIfExists(options = {}) {
27775
27776
  return tracingClient.withSpan("BlobClient-deleteIfExists", options, async (updatedOptions) => {
27776
- var _a4, _b2;
27777
+ var _a3, _b2;
27777
27778
  try {
27778
27779
  const res = assertResponse(await this.delete(updatedOptions));
27779
27780
  return {
@@ -27783,7 +27784,7 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27783
27784
  // _response is made non-enumerable
27784
27785
  };
27785
27786
  } catch (e) {
27786
- if (((_a4 = e.details) == null ? void 0 : _a4.errorCode) === "BlobNotFound") {
27787
+ if (((_a3 = e.details) == null ? void 0 : _a3.errorCode) === "BlobNotFound") {
27787
27788
  return {
27788
27789
  succeeded: false,
27789
27790
  ...(_b2 = e.response) == null ? void 0 : _b2.parsedHeaders,
@@ -27829,14 +27830,14 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27829
27830
  options.conditions = options.conditions || {};
27830
27831
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
27831
27832
  return tracingClient.withSpan("BlobClient-setHTTPHeaders", options, async (updatedOptions) => {
27832
- var _a4;
27833
+ var _a3;
27833
27834
  return assertResponse(await this.blobContext.setHttpHeaders({
27834
27835
  abortSignal: options.abortSignal,
27835
27836
  blobHttpHeaders: blobHTTPHeaders,
27836
27837
  leaseAccessConditions: options.conditions,
27837
27838
  modifiedAccessConditions: {
27838
27839
  ...options.conditions,
27839
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
27840
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
27840
27841
  },
27841
27842
  // cpkInfo: options.customerProvidedKey, // CPK is not included in Swagger, should change this back when this issue is fixed in Swagger.
27842
27843
  tracingOptions: updatedOptions.tracingOptions
@@ -27858,14 +27859,14 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27858
27859
  options.conditions = options.conditions || {};
27859
27860
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
27860
27861
  return tracingClient.withSpan("BlobClient-setMetadata", options, async (updatedOptions) => {
27861
- var _a4;
27862
+ var _a3;
27862
27863
  return assertResponse(await this.blobContext.setMetadata({
27863
27864
  abortSignal: options.abortSignal,
27864
27865
  leaseAccessConditions: options.conditions,
27865
27866
  metadata: metadata2,
27866
27867
  modifiedAccessConditions: {
27867
27868
  ...options.conditions,
27868
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
27869
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
27869
27870
  },
27870
27871
  cpkInfo: options.customerProvidedKey,
27871
27872
  encryptionScope: options.encryptionScope,
@@ -27884,13 +27885,13 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27884
27885
  */
27885
27886
  async setTags(tags2, options = {}) {
27886
27887
  return tracingClient.withSpan("BlobClient-setTags", options, async (updatedOptions) => {
27887
- var _a4;
27888
+ var _a3;
27888
27889
  return assertResponse(await this.blobContext.setTags({
27889
27890
  abortSignal: options.abortSignal,
27890
27891
  leaseAccessConditions: options.conditions,
27891
27892
  modifiedAccessConditions: {
27892
27893
  ...options.conditions,
27893
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
27894
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
27894
27895
  },
27895
27896
  tracingOptions: updatedOptions.tracingOptions,
27896
27897
  tags: toBlobTags(tags2)
@@ -27904,13 +27905,13 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27904
27905
  */
27905
27906
  async getTags(options = {}) {
27906
27907
  return tracingClient.withSpan("BlobClient-getTags", options, async (updatedOptions) => {
27907
- var _a4;
27908
+ var _a3;
27908
27909
  const response = assertResponse(await this.blobContext.getTags({
27909
27910
  abortSignal: options.abortSignal,
27910
27911
  leaseAccessConditions: options.conditions,
27911
27912
  modifiedAccessConditions: {
27912
27913
  ...options.conditions,
27913
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
27914
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
27914
27915
  },
27915
27916
  tracingOptions: updatedOptions.tracingOptions
27916
27917
  }));
@@ -27942,14 +27943,14 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
27942
27943
  options.conditions = options.conditions || {};
27943
27944
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
27944
27945
  return tracingClient.withSpan("BlobClient-createSnapshot", options, async (updatedOptions) => {
27945
- var _a4;
27946
+ var _a3;
27946
27947
  return assertResponse(await this.blobContext.createSnapshot({
27947
27948
  abortSignal: options.abortSignal,
27948
27949
  leaseAccessConditions: options.conditions,
27949
27950
  metadata: options.metadata,
27950
27951
  modifiedAccessConditions: {
27951
27952
  ...options.conditions,
27952
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
27953
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
27953
27954
  },
27954
27955
  cpkInfo: options.customerProvidedKey,
27955
27956
  encryptionScope: options.encryptionScope,
@@ -28076,14 +28077,14 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
28076
28077
  options.conditions = options.conditions || {};
28077
28078
  options.sourceConditions = options.sourceConditions || {};
28078
28079
  return tracingClient.withSpan("BlobClient-syncCopyFromURL", options, async (updatedOptions) => {
28079
- var _a4, _b2, _c2, _d, _e, _f, _g;
28080
+ var _a3, _b2, _c2, _d, _e, _f, _g;
28080
28081
  return assertResponse(await this.blobContext.copyFromURL(copySource2, {
28081
28082
  abortSignal: options.abortSignal,
28082
28083
  metadata: options.metadata,
28083
28084
  leaseAccessConditions: options.conditions,
28084
28085
  modifiedAccessConditions: {
28085
28086
  ...options.conditions,
28086
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
28087
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
28087
28088
  },
28088
28089
  sourceModifiedAccessConditions: {
28089
28090
  sourceIfMatch: (_b2 = options.sourceConditions) == null ? void 0 : _b2.ifMatch,
@@ -28118,13 +28119,13 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
28118
28119
  */
28119
28120
  async setAccessTier(tier2, options = {}) {
28120
28121
  return tracingClient.withSpan("BlobClient-setAccessTier", options, async (updatedOptions) => {
28121
- var _a4;
28122
+ var _a3;
28122
28123
  return assertResponse(await this.blobContext.setTier(toAccessTier(tier2), {
28123
28124
  abortSignal: options.abortSignal,
28124
28125
  leaseAccessConditions: options.conditions,
28125
28126
  modifiedAccessConditions: {
28126
28127
  ...options.conditions,
28127
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
28128
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
28128
28129
  },
28129
28130
  rehydratePriority: options.rehydratePriority,
28130
28131
  tracingOptions: updatedOptions.tracingOptions
@@ -28282,7 +28283,7 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
28282
28283
  */
28283
28284
  async startCopyFromURL(copySource2, options = {}) {
28284
28285
  return tracingClient.withSpan("BlobClient-startCopyFromURL", options, async (updatedOptions) => {
28285
- var _a4, _b2, _c2;
28286
+ var _a3, _b2, _c2;
28286
28287
  options.conditions = options.conditions || {};
28287
28288
  options.sourceConditions = options.sourceConditions || {};
28288
28289
  return assertResponse(await this.blobContext.startCopyFromURL(copySource2, {
@@ -28291,7 +28292,7 @@ var _BlobClient = class _BlobClient extends StorageClient2 {
28291
28292
  metadata: options.metadata,
28292
28293
  modifiedAccessConditions: {
28293
28294
  ...options.conditions,
28294
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
28295
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
28295
28296
  },
28296
28297
  sourceModifiedAccessConditions: {
28297
28298
  sourceIfMatch: options.sourceConditions.ifMatch,
@@ -28552,7 +28553,7 @@ var _AppendBlobClient = class _AppendBlobClient extends BlobClient {
28552
28553
  options.conditions = options.conditions || {};
28553
28554
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
28554
28555
  return tracingClient.withSpan("AppendBlobClient-create", options, async (updatedOptions) => {
28555
- var _a4, _b2, _c2;
28556
+ var _a3, _b2, _c2;
28556
28557
  return assertResponse(await this.appendBlobContext.create(0, {
28557
28558
  abortSignal: options.abortSignal,
28558
28559
  blobHttpHeaders: options.blobHTTPHeaders,
@@ -28560,7 +28561,7 @@ var _AppendBlobClient = class _AppendBlobClient extends BlobClient {
28560
28561
  metadata: options.metadata,
28561
28562
  modifiedAccessConditions: {
28562
28563
  ...options.conditions,
28563
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
28564
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
28564
28565
  },
28565
28566
  cpkInfo: options.customerProvidedKey,
28566
28567
  encryptionScope: options.encryptionScope,
@@ -28582,7 +28583,7 @@ var _AppendBlobClient = class _AppendBlobClient extends BlobClient {
28582
28583
  async createIfNotExists(options = {}) {
28583
28584
  const conditions = { ifNoneMatch: ETagAny };
28584
28585
  return tracingClient.withSpan("AppendBlobClient-createIfNotExists", options, async (updatedOptions) => {
28585
- var _a4, _b2;
28586
+ var _a3, _b2;
28586
28587
  try {
28587
28588
  const res = assertResponse(await this.create({
28588
28589
  ...updatedOptions,
@@ -28595,7 +28596,7 @@ var _AppendBlobClient = class _AppendBlobClient extends BlobClient {
28595
28596
  // _response is made non-enumerable
28596
28597
  };
28597
28598
  } catch (e) {
28598
- if (((_a4 = e.details) == null ? void 0 : _a4.errorCode) === "BlobAlreadyExists") {
28599
+ if (((_a3 = e.details) == null ? void 0 : _a3.errorCode) === "BlobAlreadyExists") {
28599
28600
  return {
28600
28601
  succeeded: false,
28601
28602
  ...(_b2 = e.response) == null ? void 0 : _b2.parsedHeaders,
@@ -28614,14 +28615,14 @@ var _AppendBlobClient = class _AppendBlobClient extends BlobClient {
28614
28615
  async seal(options = {}) {
28615
28616
  options.conditions = options.conditions || {};
28616
28617
  return tracingClient.withSpan("AppendBlobClient-seal", options, async (updatedOptions) => {
28617
- var _a4;
28618
+ var _a3;
28618
28619
  return assertResponse(await this.appendBlobContext.seal({
28619
28620
  abortSignal: options.abortSignal,
28620
28621
  appendPositionAccessConditions: options.conditions,
28621
28622
  leaseAccessConditions: options.conditions,
28622
28623
  modifiedAccessConditions: {
28623
28624
  ...options.conditions,
28624
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
28625
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
28625
28626
  },
28626
28627
  tracingOptions: updatedOptions.tracingOptions
28627
28628
  }));
@@ -28668,14 +28669,14 @@ var _AppendBlobClient = class _AppendBlobClient extends BlobClient {
28668
28669
  options.conditions = options.conditions || {};
28669
28670
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
28670
28671
  return tracingClient.withSpan("AppendBlobClient-appendBlock", options, async (updatedOptions) => {
28671
- var _a4;
28672
+ var _a3;
28672
28673
  return assertResponse(await this.appendBlobContext.appendBlock(contentLength2, body2, {
28673
28674
  abortSignal: options.abortSignal,
28674
28675
  appendPositionAccessConditions: options.conditions,
28675
28676
  leaseAccessConditions: options.conditions,
28676
28677
  modifiedAccessConditions: {
28677
28678
  ...options.conditions,
28678
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
28679
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
28679
28680
  },
28680
28681
  requestOptions: {
28681
28682
  onUploadProgress: options.onProgress
@@ -28707,7 +28708,7 @@ var _AppendBlobClient = class _AppendBlobClient extends BlobClient {
28707
28708
  options.sourceConditions = options.sourceConditions || {};
28708
28709
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
28709
28710
  return tracingClient.withSpan("AppendBlobClient-appendBlockFromURL", options, async (updatedOptions) => {
28710
- var _a4, _b2, _c2, _d, _e;
28711
+ var _a3, _b2, _c2, _d, _e;
28711
28712
  return assertResponse(await this.appendBlobContext.appendBlockFromUrl(sourceURL, 0, {
28712
28713
  abortSignal: options.abortSignal,
28713
28714
  sourceRange: rangeToString({ offset: sourceOffset, count }),
@@ -28717,7 +28718,7 @@ var _AppendBlobClient = class _AppendBlobClient extends BlobClient {
28717
28718
  appendPositionAccessConditions: options.conditions,
28718
28719
  modifiedAccessConditions: {
28719
28720
  ...options.conditions,
28720
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
28721
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
28721
28722
  },
28722
28723
  sourceModifiedAccessConditions: {
28723
28724
  sourceIfMatch: (_b2 = options.sourceConditions) == null ? void 0 : _b2.ifMatch,
@@ -28857,7 +28858,7 @@ var _BlockBlobClient = class _BlockBlobClient extends BlobClient {
28857
28858
  throw new Error("This operation currently is only supported in Node.js.");
28858
28859
  }
28859
28860
  return tracingClient.withSpan("BlockBlobClient-query", options, async (updatedOptions) => {
28860
- var _a4;
28861
+ var _a3;
28861
28862
  const response = assertResponse(await this._blobContext.query({
28862
28863
  abortSignal: options.abortSignal,
28863
28864
  queryRequest: {
@@ -28869,7 +28870,7 @@ var _BlockBlobClient = class _BlockBlobClient extends BlobClient {
28869
28870
  leaseAccessConditions: options.conditions,
28870
28871
  modifiedAccessConditions: {
28871
28872
  ...options.conditions,
28872
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
28873
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
28873
28874
  },
28874
28875
  cpkInfo: options.customerProvidedKey,
28875
28876
  tracingOptions: updatedOptions.tracingOptions
@@ -28926,7 +28927,7 @@ var _BlockBlobClient = class _BlockBlobClient extends BlobClient {
28926
28927
  options.conditions = options.conditions || {};
28927
28928
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
28928
28929
  return tracingClient.withSpan("BlockBlobClient-upload", options, async (updatedOptions) => {
28929
- var _a4, _b2, _c2;
28930
+ var _a3, _b2, _c2;
28930
28931
  return assertResponse(await this.blockBlobContext.upload(contentLength2, body2, {
28931
28932
  abortSignal: options.abortSignal,
28932
28933
  blobHttpHeaders: options.blobHTTPHeaders,
@@ -28934,7 +28935,7 @@ var _BlockBlobClient = class _BlockBlobClient extends BlobClient {
28934
28935
  metadata: options.metadata,
28935
28936
  modifiedAccessConditions: {
28936
28937
  ...options.conditions,
28937
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
28938
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
28938
28939
  },
28939
28940
  requestOptions: {
28940
28941
  onUploadProgress: options.onProgress
@@ -28972,14 +28973,14 @@ var _BlockBlobClient = class _BlockBlobClient extends BlobClient {
28972
28973
  options.conditions = options.conditions || {};
28973
28974
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
28974
28975
  return tracingClient.withSpan("BlockBlobClient-syncUploadFromURL", options, async (updatedOptions) => {
28975
- var _a4, _b2, _c2, _d, _e, _f;
28976
+ var _a3, _b2, _c2, _d, _e, _f;
28976
28977
  return assertResponse(await this.blockBlobContext.putBlobFromUrl(0, sourceURL, {
28977
28978
  ...options,
28978
28979
  blobHttpHeaders: options.blobHTTPHeaders,
28979
28980
  leaseAccessConditions: options.conditions,
28980
28981
  modifiedAccessConditions: {
28981
28982
  ...options.conditions,
28982
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
28983
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
28983
28984
  },
28984
28985
  sourceModifiedAccessConditions: {
28985
28986
  sourceIfMatch: (_b2 = options.sourceConditions) == null ? void 0 : _b2.ifMatch,
@@ -29080,7 +29081,7 @@ var _BlockBlobClient = class _BlockBlobClient extends BlobClient {
29080
29081
  options.conditions = options.conditions || {};
29081
29082
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
29082
29083
  return tracingClient.withSpan("BlockBlobClient-commitBlockList", options, async (updatedOptions) => {
29083
- var _a4, _b2, _c2;
29084
+ var _a3, _b2, _c2;
29084
29085
  return assertResponse(await this.blockBlobContext.commitBlockList({ latest: blocks2 }, {
29085
29086
  abortSignal: options.abortSignal,
29086
29087
  blobHttpHeaders: options.blobHTTPHeaders,
@@ -29088,7 +29089,7 @@ var _BlockBlobClient = class _BlockBlobClient extends BlobClient {
29088
29089
  metadata: options.metadata,
29089
29090
  modifiedAccessConditions: {
29090
29091
  ...options.conditions,
29091
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
29092
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
29092
29093
  },
29093
29094
  cpkInfo: options.customerProvidedKey,
29094
29095
  encryptionScope: options.encryptionScope,
@@ -29113,13 +29114,13 @@ var _BlockBlobClient = class _BlockBlobClient extends BlobClient {
29113
29114
  */
29114
29115
  async getBlockList(listType2, options = {}) {
29115
29116
  return tracingClient.withSpan("BlockBlobClient-getBlockList", options, async (updatedOptions) => {
29116
- var _a4;
29117
+ var _a3;
29117
29118
  const res = assertResponse(await this.blockBlobContext.getBlockList(listType2, {
29118
29119
  abortSignal: options.abortSignal,
29119
29120
  leaseAccessConditions: options.conditions,
29120
29121
  modifiedAccessConditions: {
29121
29122
  ...options.conditions,
29122
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
29123
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
29123
29124
  },
29124
29125
  tracingOptions: updatedOptions.tracingOptions
29125
29126
  }));
@@ -29431,7 +29432,7 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29431
29432
  options.conditions = options.conditions || {};
29432
29433
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
29433
29434
  return tracingClient.withSpan("PageBlobClient-create", options, async (updatedOptions) => {
29434
- var _a4, _b2, _c2;
29435
+ var _a3, _b2, _c2;
29435
29436
  return assertResponse(await this.pageBlobContext.create(0, size, {
29436
29437
  abortSignal: options.abortSignal,
29437
29438
  blobHttpHeaders: options.blobHTTPHeaders,
@@ -29440,7 +29441,7 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29440
29441
  metadata: options.metadata,
29441
29442
  modifiedAccessConditions: {
29442
29443
  ...options.conditions,
29443
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
29444
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
29444
29445
  },
29445
29446
  cpkInfo: options.customerProvidedKey,
29446
29447
  encryptionScope: options.encryptionScope,
@@ -29464,7 +29465,7 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29464
29465
  */
29465
29466
  async createIfNotExists(size, options = {}) {
29466
29467
  return tracingClient.withSpan("PageBlobClient-createIfNotExists", options, async (updatedOptions) => {
29467
- var _a4, _b2;
29468
+ var _a3, _b2;
29468
29469
  try {
29469
29470
  const conditions = { ifNoneMatch: ETagAny };
29470
29471
  const res = assertResponse(await this.create(size, {
@@ -29479,7 +29480,7 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29479
29480
  // _response is made non-enumerable
29480
29481
  };
29481
29482
  } catch (e) {
29482
- if (((_a4 = e.details) == null ? void 0 : _a4.errorCode) === "BlobAlreadyExists") {
29483
+ if (((_a3 = e.details) == null ? void 0 : _a3.errorCode) === "BlobAlreadyExists") {
29483
29484
  return {
29484
29485
  succeeded: false,
29485
29486
  ...(_b2 = e.response) == null ? void 0 : _b2.parsedHeaders,
@@ -29504,13 +29505,13 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29504
29505
  options.conditions = options.conditions || {};
29505
29506
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
29506
29507
  return tracingClient.withSpan("PageBlobClient-uploadPages", options, async (updatedOptions) => {
29507
- var _a4;
29508
+ var _a3;
29508
29509
  return assertResponse(await this.pageBlobContext.uploadPages(count, body2, {
29509
29510
  abortSignal: options.abortSignal,
29510
29511
  leaseAccessConditions: options.conditions,
29511
29512
  modifiedAccessConditions: {
29512
29513
  ...options.conditions,
29513
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
29514
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
29514
29515
  },
29515
29516
  requestOptions: {
29516
29517
  onUploadProgress: options.onProgress
@@ -29541,7 +29542,7 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29541
29542
  options.sourceConditions = options.sourceConditions || {};
29542
29543
  ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
29543
29544
  return tracingClient.withSpan("PageBlobClient-uploadPagesFromURL", options, async (updatedOptions) => {
29544
- var _a4, _b2, _c2, _d, _e;
29545
+ var _a3, _b2, _c2, _d, _e;
29545
29546
  return assertResponse(await this.pageBlobContext.uploadPagesFromURL(sourceURL, rangeToString({ offset: sourceOffset, count }), 0, rangeToString({ offset: destOffset, count }), {
29546
29547
  abortSignal: options.abortSignal,
29547
29548
  sourceContentMD5: options.sourceContentMD5,
@@ -29550,7 +29551,7 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29550
29551
  sequenceNumberAccessConditions: options.conditions,
29551
29552
  modifiedAccessConditions: {
29552
29553
  ...options.conditions,
29553
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
29554
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
29554
29555
  },
29555
29556
  sourceModifiedAccessConditions: {
29556
29557
  sourceIfMatch: (_b2 = options.sourceConditions) == null ? void 0 : _b2.ifMatch,
@@ -29578,13 +29579,13 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29578
29579
  async clearPages(offset = 0, count, options = {}) {
29579
29580
  options.conditions = options.conditions || {};
29580
29581
  return tracingClient.withSpan("PageBlobClient-clearPages", options, async (updatedOptions) => {
29581
- var _a4;
29582
+ var _a3;
29582
29583
  return assertResponse(await this.pageBlobContext.clearPages(0, {
29583
29584
  abortSignal: options.abortSignal,
29584
29585
  leaseAccessConditions: options.conditions,
29585
29586
  modifiedAccessConditions: {
29586
29587
  ...options.conditions,
29587
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
29588
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
29588
29589
  },
29589
29590
  range: rangeToString({ offset, count }),
29590
29591
  sequenceNumberAccessConditions: options.conditions,
@@ -29606,13 +29607,13 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29606
29607
  async getPageRanges(offset = 0, count, options = {}) {
29607
29608
  options.conditions = options.conditions || {};
29608
29609
  return tracingClient.withSpan("PageBlobClient-getPageRanges", options, async (updatedOptions) => {
29609
- var _a4;
29610
+ var _a3;
29610
29611
  const response = assertResponse(await this.pageBlobContext.getPageRanges({
29611
29612
  abortSignal: options.abortSignal,
29612
29613
  leaseAccessConditions: options.conditions,
29613
29614
  modifiedAccessConditions: {
29614
29615
  ...options.conditions,
29615
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
29616
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
29616
29617
  },
29617
29618
  range: rangeToString({ offset, count }),
29618
29619
  tracingOptions: updatedOptions.tracingOptions
@@ -29634,13 +29635,13 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29634
29635
  */
29635
29636
  async listPageRangesSegment(offset = 0, count, marker2, options = {}) {
29636
29637
  return tracingClient.withSpan("PageBlobClient-getPageRangesSegment", options, async (updatedOptions) => {
29637
- var _a4;
29638
+ var _a3;
29638
29639
  return assertResponse(await this.pageBlobContext.getPageRanges({
29639
29640
  abortSignal: options.abortSignal,
29640
29641
  leaseAccessConditions: options.conditions,
29641
29642
  modifiedAccessConditions: {
29642
29643
  ...options.conditions,
29643
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
29644
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
29644
29645
  },
29645
29646
  range: rangeToString({ offset, count }),
29646
29647
  marker: marker2,
@@ -29798,13 +29799,13 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29798
29799
  async getPageRangesDiff(offset, count, prevSnapshot, options = {}) {
29799
29800
  options.conditions = options.conditions || {};
29800
29801
  return tracingClient.withSpan("PageBlobClient-getPageRangesDiff", options, async (updatedOptions) => {
29801
- var _a4;
29802
+ var _a3;
29802
29803
  const result = assertResponse(await this.pageBlobContext.getPageRangesDiff({
29803
29804
  abortSignal: options.abortSignal,
29804
29805
  leaseAccessConditions: options.conditions,
29805
29806
  modifiedAccessConditions: {
29806
29807
  ...options.conditions,
29807
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
29808
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
29808
29809
  },
29809
29810
  prevsnapshot: prevSnapshot,
29810
29811
  range: rangeToString({ offset, count }),
@@ -29829,13 +29830,13 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
29829
29830
  */
29830
29831
  async listPageRangesDiffSegment(offset, count, prevSnapshotOrUrl, marker2, options = {}) {
29831
29832
  return tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment", options, async (updatedOptions) => {
29832
- var _a4;
29833
+ var _a3;
29833
29834
  return assertResponse(await this.pageBlobContext.getPageRangesDiff({
29834
29835
  abortSignal: options == null ? void 0 : options.abortSignal,
29835
29836
  leaseAccessConditions: options == null ? void 0 : options.conditions,
29836
29837
  modifiedAccessConditions: {
29837
29838
  ...options == null ? void 0 : options.conditions,
29838
- ifTags: (_a4 = options == null ? void 0 : options.conditions) == null ? void 0 : _a4.tagConditions
29839
+ ifTags: (_a3 = options == null ? void 0 : options.conditions) == null ? void 0 : _a3.tagConditions
29839
29840
  },
29840
29841
  prevsnapshot: prevSnapshotOrUrl,
29841
29842
  range: rangeToString({
@@ -30012,13 +30013,13 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
30012
30013
  async getPageRangesDiffForManagedDisks(offset, count, prevSnapshotUrl2, options = {}) {
30013
30014
  options.conditions = options.conditions || {};
30014
30015
  return tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks", options, async (updatedOptions) => {
30015
- var _a4;
30016
+ var _a3;
30016
30017
  const response = assertResponse(await this.pageBlobContext.getPageRangesDiff({
30017
30018
  abortSignal: options.abortSignal,
30018
30019
  leaseAccessConditions: options.conditions,
30019
30020
  modifiedAccessConditions: {
30020
30021
  ...options.conditions,
30021
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
30022
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
30022
30023
  },
30023
30024
  prevSnapshotUrl: prevSnapshotUrl2,
30024
30025
  range: rangeToString({ offset, count }),
@@ -30038,13 +30039,13 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
30038
30039
  async resize(size, options = {}) {
30039
30040
  options.conditions = options.conditions || {};
30040
30041
  return tracingClient.withSpan("PageBlobClient-resize", options, async (updatedOptions) => {
30041
- var _a4;
30042
+ var _a3;
30042
30043
  return assertResponse(await this.pageBlobContext.resize(size, {
30043
30044
  abortSignal: options.abortSignal,
30044
30045
  leaseAccessConditions: options.conditions,
30045
30046
  modifiedAccessConditions: {
30046
30047
  ...options.conditions,
30047
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
30048
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
30048
30049
  },
30049
30050
  encryptionScope: options.encryptionScope,
30050
30051
  tracingOptions: updatedOptions.tracingOptions
@@ -30063,14 +30064,14 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
30063
30064
  async updateSequenceNumber(sequenceNumberAction2, sequenceNumber, options = {}) {
30064
30065
  options.conditions = options.conditions || {};
30065
30066
  return tracingClient.withSpan("PageBlobClient-updateSequenceNumber", options, async (updatedOptions) => {
30066
- var _a4;
30067
+ var _a3;
30067
30068
  return assertResponse(await this.pageBlobContext.updateSequenceNumber(sequenceNumberAction2, {
30068
30069
  abortSignal: options.abortSignal,
30069
30070
  blobSequenceNumber: sequenceNumber,
30070
30071
  leaseAccessConditions: options.conditions,
30071
30072
  modifiedAccessConditions: {
30072
30073
  ...options.conditions,
30073
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
30074
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
30074
30075
  },
30075
30076
  tracingOptions: updatedOptions.tracingOptions
30076
30077
  }));
@@ -30091,12 +30092,12 @@ var _PageBlobClient = class _PageBlobClient extends BlobClient {
30091
30092
  */
30092
30093
  async startCopyIncremental(copySource2, options = {}) {
30093
30094
  return tracingClient.withSpan("PageBlobClient-startCopyIncremental", options, async (updatedOptions) => {
30094
- var _a4;
30095
+ var _a3;
30095
30096
  return assertResponse(await this.pageBlobContext.copyIncremental(copySource2, {
30096
30097
  abortSignal: options.abortSignal,
30097
30098
  modifiedAccessConditions: {
30098
30099
  ...options.conditions,
30099
- ifTags: (_a4 = options.conditions) == null ? void 0 : _a4.tagConditions
30100
+ ifTags: (_a3 = options.conditions) == null ? void 0 : _a3.tagConditions
30100
30101
  },
30101
30102
  tracingOptions: updatedOptions.tracingOptions
30102
30103
  }));
@@ -30754,7 +30755,7 @@ var _ContainerClient = class _ContainerClient extends StorageClient2 {
30754
30755
  */
30755
30756
  async createIfNotExists(options = {}) {
30756
30757
  return tracingClient.withSpan("ContainerClient-createIfNotExists", options, async (updatedOptions) => {
30757
- var _a4, _b2;
30758
+ var _a3, _b2;
30758
30759
  try {
30759
30760
  const res = await this.create(updatedOptions);
30760
30761
  return {
@@ -30764,7 +30765,7 @@ var _ContainerClient = class _ContainerClient extends StorageClient2 {
30764
30765
  // _response is made non-enumerable
30765
30766
  };
30766
30767
  } catch (e) {
30767
- if (((_a4 = e.details) == null ? void 0 : _a4.errorCode) === "ContainerAlreadyExists") {
30768
+ if (((_a3 = e.details) == null ? void 0 : _a3.errorCode) === "ContainerAlreadyExists") {
30768
30769
  return {
30769
30770
  succeeded: false,
30770
30771
  ...(_b2 = e.response) == null ? void 0 : _b2.parsedHeaders,
@@ -30909,7 +30910,7 @@ var _ContainerClient = class _ContainerClient extends StorageClient2 {
30909
30910
  */
30910
30911
  async deleteIfExists(options = {}) {
30911
30912
  return tracingClient.withSpan("ContainerClient-deleteIfExists", options, async (updatedOptions) => {
30912
- var _a4, _b2;
30913
+ var _a3, _b2;
30913
30914
  try {
30914
30915
  const res = await this.delete(updatedOptions);
30915
30916
  return {
@@ -30918,7 +30919,7 @@ var _ContainerClient = class _ContainerClient extends StorageClient2 {
30918
30919
  _response: res._response
30919
30920
  };
30920
30921
  } catch (e) {
30921
- if (((_a4 = e.details) == null ? void 0 : _a4.errorCode) === "ContainerNotFound") {
30922
+ if (((_a3 = e.details) == null ? void 0 : _a3.errorCode) === "ContainerNotFound") {
30922
30923
  return {
30923
30924
  succeeded: false,
30924
30925
  ...(_b2 = e.response) == null ? void 0 : _b2.parsedHeaders,
@@ -31167,7 +31168,7 @@ var _ContainerClient = class _ContainerClient extends StorageClient2 {
31167
31168
  */
31168
31169
  async listBlobHierarchySegment(delimiter2, marker2, options = {}) {
31169
31170
  return tracingClient.withSpan("ContainerClient-listBlobHierarchySegment", options, async (updatedOptions) => {
31170
- var _a4;
31171
+ var _a3;
31171
31172
  const response = assertResponse(await this.containerContext.listBlobHierarchySegment(delimiter2, {
31172
31173
  marker: marker2,
31173
31174
  ...options,
@@ -31191,7 +31192,7 @@ var _ContainerClient = class _ContainerClient extends StorageClient2 {
31191
31192
  };
31192
31193
  return blobItem;
31193
31194
  }),
31194
- blobPrefixes: (_a4 = response.segment.blobPrefixes) == null ? void 0 : _a4.map((blobPrefixInternal) => {
31195
+ blobPrefixes: (_a3 = response.segment.blobPrefixes) == null ? void 0 : _a3.map((blobPrefixInternal) => {
31195
31196
  const blobPrefix = {
31196
31197
  ...blobPrefixInternal,
31197
31198
  name: BlobNameToString(blobPrefixInternal.name)
@@ -31608,9 +31609,9 @@ var _ContainerClient = class _ContainerClient extends StorageClient2 {
31608
31609
  _response: response._response,
31609
31610
  // _response is made non-enumerable
31610
31611
  blobs: response.blobs.map((blob) => {
31611
- var _a4;
31612
+ var _a3;
31612
31613
  let tagValue = "";
31613
- if (((_a4 = blob.tags) == null ? void 0 : _a4.blobTagSet.length) === 1) {
31614
+ if (((_a3 = blob.tags) == null ? void 0 : _a3.blobTagSet.length) === 1) {
31614
31615
  tagValue = blob.tags.blobTagSet[0].value;
31615
31616
  }
31616
31617
  return { ...blob, tags: toTags(blob.tags), tagValue };
@@ -32562,9 +32563,9 @@ var _BlobServiceClient = class _BlobServiceClient extends StorageClient2 {
32562
32563
  _response: response._response,
32563
32564
  // _response is made non-enumerable
32564
32565
  blobs: response.blobs.map((blob) => {
32565
- var _a4;
32566
+ var _a3;
32566
32567
  let tagValue = "";
32567
- if (((_a4 = blob.tags) == null ? void 0 : _a4.blobTagSet.length) === 1) {
32568
+ if (((_a3 = blob.tags) == null ? void 0 : _a3.blobTagSet.length) === 1) {
32568
32569
  tagValue = blob.tags.blobTagSet[0].value;
32569
32570
  }
32570
32571
  return { ...blob, tags: toTags(blob.tags), tagValue };
@@ -32995,8 +32996,8 @@ async function createRemoteCacheClient(params) {
32995
32996
  const { container, loginMethod, storageAccount, cachePath, tenantId } = options;
32996
32997
  const { telemetryClient } = context3;
32997
32998
  return telemetryClient.tracer.startActiveSpan("CREATE_REMOTE_CACHE_CLIENT", async () => {
32998
- const { getCredential } = await import("./getCredential-CYQ5LCNH.js");
32999
- const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-2QBRLTWH.js");
32999
+ const { getCredential } = await import("./getCredential-25LXQMJS.js");
33000
+ const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-X37K4TRO.js");
33000
33001
  const { ReporterDecorator } = await import("./ReporterDecorator-ZL5AFS6T.js");
33001
33002
  const { getListOfBlobs } = await import("./getListOfBlobs-USCOZRLX.js");
33002
33003
  const credential = await getCredential(
@@ -33021,7 +33022,7 @@ async function createRemoteCacheClient(params) {
33021
33022
  }
33022
33023
  __name(createRemoteCacheClient, "createRemoteCacheClient");
33023
33024
 
33024
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/generated/models/index.js
33025
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/generated/models/index.js
33025
33026
  var KnownOdataMetadataFormat;
33026
33027
  (function(KnownOdataMetadataFormat2) {
33027
33028
  KnownOdataMetadataFormat2["ApplicationJsonOdataNometadata"] = "application/json;odata=nometadata";
@@ -33040,14 +33041,14 @@ var KnownGeoReplicationStatusType;
33040
33041
  KnownGeoReplicationStatusType2["Unavailable"] = "unavailable";
33041
33042
  })(KnownGeoReplicationStatusType || (KnownGeoReplicationStatusType = {}));
33042
33043
 
33043
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/truncateISO8061Date.js
33044
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/truncateISO8061Date.js
33044
33045
  function truncatedISO8061Date2(date, withMilliseconds = true) {
33045
33046
  const dateString = date.toISOString();
33046
33047
  return withMilliseconds ? dateString.substring(0, dateString.length - 1) + "0000Z" : dateString.substring(0, dateString.length - 5) + "Z";
33047
33048
  }
33048
33049
  __name(truncatedISO8061Date2, "truncatedISO8061Date");
33049
33050
 
33050
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/constants.js
33051
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/constants.js
33051
33052
  var TRANSACTION_HTTP_VERSION_1_1 = "HTTP/1.1";
33052
33053
  var TRANSACTION_HTTP_LINE_ENDING = "\r\n";
33053
33054
  var STORAGE_SCOPE = "https://storage.azure.com/.default";
@@ -33146,7 +33147,7 @@ var TablesLoggingAllowedHeaderNames = [
33146
33147
  "x-ms-encryption-key-sha256"
33147
33148
  ];
33148
33149
 
33149
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/computeHMACSHA256.js
33150
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/computeHMACSHA256.js
33150
33151
  import { createHmac as createHmac4 } from "node:crypto";
33151
33152
  function computeHMACSHA256(stringToSign, accountKey) {
33152
33153
  const key = Buffer.from(accountKey, "base64");
@@ -33154,7 +33155,7 @@ function computeHMACSHA256(stringToSign, accountKey) {
33154
33155
  }
33155
33156
  __name(computeHMACSHA256, "computeHMACSHA256");
33156
33157
 
33157
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/generated/models/mappers.js
33158
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/generated/models/mappers.js
33158
33159
  var mappers_exports2 = {};
33159
33160
  __export(mappers_exports2, {
33160
33161
  AccessPolicy: () => AccessPolicy2,
@@ -33705,13 +33706,16 @@ var TableResponse = {
33705
33706
  type: {
33706
33707
  name: "Composite",
33707
33708
  className: "TableResponse",
33708
- modelProperties: Object.assign(Object.assign({}, TableResponseProperties.type.modelProperties), { odataMetadata: {
33709
- serializedName: "odata\\.metadata",
33710
- xmlName: "odata\\.metadata",
33711
- type: {
33712
- name: "String"
33709
+ modelProperties: {
33710
+ ...TableResponseProperties.type.modelProperties,
33711
+ odataMetadata: {
33712
+ serializedName: "odata\\.metadata",
33713
+ xmlName: "odata\\.metadata",
33714
+ type: {
33715
+ name: "String"
33716
+ }
33713
33717
  }
33714
- } })
33718
+ }
33715
33719
  }
33716
33720
  };
33717
33721
  var TableQueryHeaders = {
@@ -34527,7 +34531,7 @@ var ServiceGetStatisticsExceptionHeaders2 = {
34527
34531
  }
34528
34532
  };
34529
34533
 
34530
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/generated/models/parameters.js
34534
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/generated/models/parameters.js
34531
34535
  var accept3 = {
34532
34536
  parameterPath: "accept",
34533
34537
  mapper: {
@@ -34881,8 +34885,9 @@ var comp27 = {
34881
34885
  }
34882
34886
  };
34883
34887
 
34884
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/generated/operations/table.js
34888
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/generated/operations/table.js
34885
34889
  var _TableImpl = class _TableImpl {
34890
+ client;
34886
34891
  /**
34887
34892
  * Initialize a new instance of the class Table class.
34888
34893
  * @param client Reference to the service client
@@ -35330,8 +35335,9 @@ var setAccessPolicyOperationSpec2 = {
35330
35335
  serializer: xmlSerializer7
35331
35336
  };
35332
35337
 
35333
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/generated/operations/service.js
35338
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/generated/operations/service.js
35334
35339
  var _ServiceImpl2 = class _ServiceImpl2 {
35340
+ client;
35335
35341
  /**
35336
35342
  * Initialize a new instance of the class Service class.
35337
35343
  * @param client Reference to the service client
@@ -35445,15 +35451,16 @@ var getStatisticsOperationSpec2 = {
35445
35451
  serializer: xmlSerializer8
35446
35452
  };
35447
35453
 
35448
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/generated/generatedClient.js
35454
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/generated/generatedClient.js
35449
35455
  var _GeneratedClient = class _GeneratedClient extends ServiceClient {
35456
+ url;
35457
+ version;
35450
35458
  /**
35451
35459
  * Initializes a new instance of the GeneratedClient class.
35452
35460
  * @param url The URL of the service account or table that is the target of the desired operation.
35453
35461
  * @param options The parameter options
35454
35462
  */
35455
35463
  constructor(url3, options) {
35456
- var _a4, _b2;
35457
35464
  if (url3 === void 0) {
35458
35465
  throw new Error("'url' cannot be null");
35459
35466
  }
@@ -35465,20 +35472,27 @@ var _GeneratedClient = class _GeneratedClient extends ServiceClient {
35465
35472
  };
35466
35473
  const packageDetails = `azsdk-js-data-tables/13.1.2`;
35467
35474
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` : `${packageDetails}`;
35468
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
35469
- userAgentPrefix
35470
- }, baseUri: (_b2 = (_a4 = options.endpoint) !== null && _a4 !== void 0 ? _a4 : options.baseUri) !== null && _b2 !== void 0 ? _b2 : "{url}" });
35475
+ const optionsWithDefaults = {
35476
+ ...defaults,
35477
+ ...options,
35478
+ userAgentOptions: {
35479
+ userAgentPrefix
35480
+ },
35481
+ baseUri: options.endpoint ?? options.baseUri ?? "{url}"
35482
+ };
35471
35483
  super(optionsWithDefaults);
35472
35484
  this.url = url3;
35473
35485
  this.version = options.version || "2019-02-02";
35474
35486
  this.table = new TableImpl(this);
35475
35487
  this.service = new ServiceImpl2(this);
35476
35488
  }
35489
+ table;
35490
+ service;
35477
35491
  };
35478
35492
  __name(_GeneratedClient, "GeneratedClient");
35479
35493
  var GeneratedClient = _GeneratedClient;
35480
35494
 
35481
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/apiVersionPolicy.js
35495
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/apiVersionPolicy.js
35482
35496
  var apiVersionPolicyName = "apiVersionPolicy";
35483
35497
  var apiVersionPolicy2 = /* @__PURE__ */ __name((apiVersion) => {
35484
35498
  return {
@@ -35490,7 +35504,7 @@ var apiVersionPolicy2 = /* @__PURE__ */ __name((apiVersion) => {
35490
35504
  };
35491
35505
  }, "apiVersionPolicy");
35492
35506
 
35493
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/accountConnectionString.js
35507
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/accountConnectionString.js
35494
35508
  function fromAccountConnectionString(extractedCreds, options = {}) {
35495
35509
  const sharedKeyCredential = new AzureNamedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey);
35496
35510
  return {
@@ -35525,7 +35539,7 @@ function getAccountConnectionString(accountName, accountKey, defaultEndpointsPro
35525
35539
  }
35526
35540
  __name(getAccountConnectionString, "getAccountConnectionString");
35527
35541
 
35528
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/connectionString.js
35542
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/connectionString.js
35529
35543
  var DevelopmentConnectionString3 = "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1";
35530
35544
  function getClientParamsFromConnectionString(connectionString, options = {}) {
35531
35545
  if (connectionString.toLowerCase().indexOf("usedevelopmentstorage=true") !== -1) {
@@ -35618,12 +35632,12 @@ function getAccountNameFromUrl2(url3) {
35618
35632
  }
35619
35633
  __name(getAccountNameFromUrl2, "getAccountNameFromUrl");
35620
35634
 
35621
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/errorHelpers.js
35635
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/errorHelpers.js
35622
35636
  function handleTableAlreadyExists(error, options = {}) {
35623
- var _a4, _b2;
35637
+ var _a3, _b2;
35624
35638
  const responseError = getErrorResponse(error);
35625
- if (responseError && responseError.status === 409 && ((_a4 = responseError.parsedBody.odataError) === null || _a4 === void 0 ? void 0 : _a4.code) === "TableAlreadyExists") {
35626
- (_b2 = options.logger) === null || _b2 === void 0 ? void 0 : _b2.info(`Table ${options.tableName} already Exists`);
35639
+ if (responseError && responseError.status === 409 && ((_a3 = responseError.parsedBody.odataError) == null ? void 0 : _a3.code) === "TableAlreadyExists") {
35640
+ (_b2 = options.logger) == null ? void 0 : _b2.info(`Table ${options.tableName} already Exists`);
35627
35641
  if (options.onResponse) {
35628
35642
  options.onResponse(responseError, {});
35629
35643
  }
@@ -35648,20 +35662,20 @@ function isRestError3(error) {
35648
35662
  }
35649
35663
  __name(isRestError3, "isRestError");
35650
35664
  function isTableServiceErrorResponse(errorResponseBody) {
35651
- return Boolean(errorResponseBody === null || errorResponseBody === void 0 ? void 0 : errorResponseBody.odataError);
35665
+ return Boolean(errorResponseBody == null ? void 0 : errorResponseBody.odataError);
35652
35666
  }
35653
35667
  __name(isTableServiceErrorResponse, "isTableServiceErrorResponse");
35654
35668
 
35655
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/isCredential.js
35669
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/isCredential.js
35656
35670
  function isCredential(credential) {
35657
35671
  return isSASCredential(credential) || isNamedKeyCredential(credential) || isTokenCredential(credential);
35658
35672
  }
35659
35673
  __name(isCredential, "isCredential");
35660
35674
 
35661
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/logger.js
35675
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/logger.js
35662
35676
  var logger8 = createClientLogger2("data-tables");
35663
35677
 
35664
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/challengeAuthenticationUtils.js
35678
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/challengeAuthenticationUtils.js
35665
35679
  function setTokenChallengeAuthenticationPolicy(pipeline, credential, scopes) {
35666
35680
  pipeline.removePolicy({ name: "bearerTokenPolicy" });
35667
35681
  pipeline.addPolicy(bearerTokenAuthenticationPolicy({
@@ -35674,7 +35688,7 @@ function setTokenChallengeAuthenticationPolicy(pipeline, credential, scopes) {
35674
35688
  }
35675
35689
  __name(setTokenChallengeAuthenticationPolicy, "setTokenChallengeAuthenticationPolicy");
35676
35690
 
35677
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/tablesNamedCredentialPolicy.js
35691
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/tablesNamedCredentialPolicy.js
35678
35692
  var tablesNamedKeyCredentialPolicyName = "tablesNamedKeyCredentialPolicy";
35679
35693
  function tablesNamedKeyCredentialPolicy(credential) {
35680
35694
  function signRequest(request) {
@@ -35730,7 +35744,7 @@ function getCanonicalizedResourceString(request, credential) {
35730
35744
  }
35731
35745
  __name(getCanonicalizedResourceString, "getCanonicalizedResourceString");
35732
35746
 
35733
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/tablesSASTokenPolicy.js
35747
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/tablesSASTokenPolicy.js
35734
35748
  var tablesSASTokenPolicyName = "tablesSASTokenPolicy";
35735
35749
  function tablesSASTokenPolicy(credential) {
35736
35750
  return {
@@ -35752,16 +35766,16 @@ function signURLWithSAS(request, credential) {
35752
35766
  }
35753
35767
  __name(signURLWithSAS, "signURLWithSAS");
35754
35768
 
35755
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/tracing.js
35769
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/tracing.js
35756
35770
  var tracingClient2 = createTracingClient({
35757
35771
  namespace: "Microsoft.Data.Tables",
35758
35772
  packageName: "@azure/data-tables",
35759
- packageVersion: "13.3.1"
35773
+ packageVersion: "13.3.2"
35760
35774
  });
35761
35775
 
35762
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/isCosmosEndpoint.js
35776
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/isCosmosEndpoint.js
35763
35777
  function isCosmosEndpoint(url3) {
35764
- var _a4, _b2;
35778
+ var _a3, _b2, _c2;
35765
35779
  const parsedURL = new URL(url3);
35766
35780
  if (parsedURL.hostname.indexOf(".table.cosmosdb.") !== -1) {
35767
35781
  return true;
@@ -35772,8 +35786,8 @@ function isCosmosEndpoint(url3) {
35772
35786
  if ((parsedURL.hostname === "localhost" || parsedURL.hostname === "127.0.0.1") && parsedURL.pathname.startsWith("/devstoreaccount1")) {
35773
35787
  return false;
35774
35788
  }
35775
- const azuriteAccounts = (_b2 = (_a4 = process === null || process === void 0 ? void 0 : process.env) === null || _a4 === void 0 ? void 0 : _a4.AZURITE_ACCOUNTS) === null || _b2 === void 0 ? void 0 : _b2.split(":");
35776
- if ((azuriteAccounts === null || azuriteAccounts === void 0 ? void 0 : azuriteAccounts[0]) && parsedURL.hostname.includes(azuriteAccounts[0])) {
35789
+ const azuriteAccounts = (_c2 = (_b2 = (_a3 = globalThis.process) == null ? void 0 : _a3.env) == null ? void 0 : _b2.AZURITE_ACCOUNTS) == null ? void 0 : _c2.split(":");
35790
+ if ((azuriteAccounts == null ? void 0 : azuriteAccounts[0]) && parsedURL.hostname.includes(azuriteAccounts[0])) {
35777
35791
  return false;
35778
35792
  }
35779
35793
  if (parsedURL.hostname === "localhost") {
@@ -35783,7 +35797,7 @@ function isCosmosEndpoint(url3) {
35783
35797
  }
35784
35798
  __name(isCosmosEndpoint, "isCosmosEndpoint");
35785
35799
 
35786
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/transactionHelpers.js
35800
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/transactionHelpers.js
35787
35801
  function getChangeSetBoundary(changesetId) {
35788
35802
  return `changeset_${changesetId}`;
35789
35803
  }
@@ -35809,7 +35823,7 @@ function getTransactionHttpRequestBody(bodyParts, transactionId, changesetId) {
35809
35823
  }
35810
35824
  __name(getTransactionHttpRequestBody, "getTransactionHttpRequestBody");
35811
35825
 
35812
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/TablePolicies.js
35826
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/TablePolicies.js
35813
35827
  var transactionRequestAssemblePolicyName = "transactionRequestAssemblePolicy";
35814
35828
  var dummyResponse = {
35815
35829
  request: createPipelineRequest2({ url: "FAKE" }),
@@ -35868,7 +35882,7 @@ function getNextSubrequestBodyPart(request, changesetId) {
35868
35882
  }
35869
35883
  __name(getNextSubrequestBodyPart, "getNextSubrequestBodyPart");
35870
35884
 
35871
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/cosmosPathPolicy.js
35885
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/cosmosPathPolicy.js
35872
35886
  var cosmosPatchPolicyName = "cosmosPatchPolicy";
35873
35887
  function cosmosPatchPolicy() {
35874
35888
  return {
@@ -35884,7 +35898,7 @@ function cosmosPatchPolicy() {
35884
35898
  }
35885
35899
  __name(cosmosPatchPolicy, "cosmosPatchPolicy");
35886
35900
 
35887
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/baseTransactionHeaders.js
35901
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/baseTransactionHeaders.js
35888
35902
  function getBaseTransactionHeaders(transactionGuid) {
35889
35903
  return {
35890
35904
  accept: "application/json",
@@ -35896,19 +35910,31 @@ function getBaseTransactionHeaders(transactionGuid) {
35896
35910
  }
35897
35911
  __name(getBaseTransactionHeaders, "getBaseTransactionHeaders");
35898
35912
 
35899
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/transactionHeaders.js
35913
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/transactionHeaders.js
35900
35914
  function getTransactionHeaders(transactionGuid) {
35901
35915
  const baseHeaders = getBaseTransactionHeaders(transactionGuid);
35902
- return Object.assign(Object.assign({}, baseHeaders), {
35916
+ return {
35917
+ ...baseHeaders,
35903
35918
  // The below headers are not supported in the browser as they are flagged as "unsafe headers"
35904
35919
  "Accept-Charset": "UTF-8",
35905
35920
  Connection: "Keep-Alive"
35906
- });
35921
+ };
35907
35922
  }
35908
35923
  __name(getTransactionHeaders, "getTransactionHeaders");
35909
35924
 
35910
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/TableTransaction.js
35925
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/TableTransaction.js
35911
35926
  var _InternalTableTransaction = class _InternalTableTransaction {
35927
+ /**
35928
+ * Table Account URL
35929
+ */
35930
+ url;
35931
+ /**
35932
+ * State that holds the information about a particular transation
35933
+ */
35934
+ state;
35935
+ interceptClient;
35936
+ allowInsecureConnection;
35937
+ client;
35912
35938
  /**
35913
35939
  * @param url - Tables account url
35914
35940
  * @param partitionKey - partition key
@@ -36001,7 +36027,14 @@ var _InternalTableTransaction = class _InternalTableTransaction {
36001
36027
  const body2 = getTransactionHttpRequestBody(this.state.bodyParts, this.state.transactionId, this.state.changesetId);
36002
36028
  const headers = getTransactionHeaders(this.state.transactionId);
36003
36029
  return tracingClient2.withSpan("TableTransaction.submitTransaction", options, async (updatedOptions) => {
36004
- const request = createPipelineRequest2(Object.assign(Object.assign({}, updatedOptions), { url: this.url, method: "POST", body: body2, headers: createHttpHeaders2(headers), allowInsecureConnection: this.allowInsecureConnection }));
36030
+ const request = createPipelineRequest2({
36031
+ ...updatedOptions,
36032
+ url: this.url,
36033
+ method: "POST",
36034
+ body: body2,
36035
+ headers: createHttpHeaders2(headers),
36036
+ allowInsecureConnection: this.allowInsecureConnection
36037
+ });
36005
36038
  const rawTransactionResponse = await this.client.sendRequest(request);
36006
36039
  return parseTransactionResponse(rawTransactionResponse);
36007
36040
  });
@@ -36029,7 +36062,7 @@ function parseTransactionResponse(transactionResponse) {
36029
36062
  const subResponses = splitBody.slice(1, splitBody.length - 1);
36030
36063
  const responses = subResponses.map((subResponse) => {
36031
36064
  const statusMatch = subResponse.match(/HTTP\/1.1 ([0-9]*)/);
36032
- if ((statusMatch === null || statusMatch === void 0 ? void 0 : statusMatch.length) !== 2) {
36065
+ if ((statusMatch == null ? void 0 : statusMatch.length) !== 2) {
36033
36066
  throw new Error(`Couldn't extract status from sub-response:
36034
36067
  ${subResponse}`);
36035
36068
  }
@@ -36038,12 +36071,16 @@ function parseTransactionResponse(transactionResponse) {
36038
36071
  throw new Error(`Expected sub-response status to be an integer ${subResponseStatus}`);
36039
36072
  }
36040
36073
  const bodyMatch = subResponse.match(/\{(.*)\}/);
36041
- if ((bodyMatch === null || bodyMatch === void 0 ? void 0 : bodyMatch.length) === 2) {
36074
+ if ((bodyMatch == null ? void 0 : bodyMatch.length) === 2) {
36042
36075
  handleBodyError(bodyMatch[0], subResponseStatus, transactionResponse.request, transactionResponse);
36043
36076
  }
36044
36077
  const etagMatch = subResponse.match(/ETag: (.*)/);
36045
36078
  const rowKeyMatch = subResponse.match(/RowKey='(.*)'/);
36046
- return Object.assign(Object.assign({ status: subResponseStatus }, (rowKeyMatch === null || rowKeyMatch === void 0 ? void 0 : rowKeyMatch.length) === 2 && { rowKey: rowKeyMatch[1] }), (etagMatch === null || etagMatch === void 0 ? void 0 : etagMatch.length) === 2 && { etag: etagMatch[1] });
36079
+ return {
36080
+ status: subResponseStatus,
36081
+ ...(rowKeyMatch == null ? void 0 : rowKeyMatch.length) === 2 && { rowKey: rowKeyMatch[1] },
36082
+ ...(etagMatch == null ? void 0 : etagMatch.length) === 2 && { etag: etagMatch[1] }
36083
+ };
36047
36084
  });
36048
36085
  return {
36049
36086
  status,
@@ -36053,18 +36090,18 @@ function parseTransactionResponse(transactionResponse) {
36053
36090
  }
36054
36091
  __name(parseTransactionResponse, "parseTransactionResponse");
36055
36092
  function handleBodyError(bodyAsText, statusCode, request, response) {
36056
- var _a4, _b2;
36093
+ var _a3;
36057
36094
  let parsedError;
36058
36095
  try {
36059
36096
  parsedError = JSON.parse(bodyAsText);
36060
- } catch (_c2) {
36097
+ } catch {
36061
36098
  parsedError = {};
36062
36099
  }
36063
36100
  let message = "Transaction Failed";
36064
36101
  let code;
36065
36102
  if (parsedError && parsedError["odata.error"]) {
36066
36103
  const error = parsedError["odata.error"];
36067
- message = (_b2 = (_a4 = error.message) === null || _a4 === void 0 ? void 0 : _a4.value) !== null && _b2 !== void 0 ? _b2 : message;
36104
+ message = ((_a3 = error.message) == null ? void 0 : _a3.value) ?? message;
36068
36105
  code = error.code;
36069
36106
  }
36070
36107
  throw new RestError2(message, {
@@ -36094,10 +36131,7 @@ function prepateTransactionPipeline(pipeline, bodyParts, changesetId, isCosmos)
36094
36131
  }
36095
36132
  __name(prepateTransactionPipeline, "prepateTransactionPipeline");
36096
36133
 
36097
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/TableClient.js
36098
- init_tslib_es6();
36099
-
36100
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/bufferSerializer.js
36134
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/bufferSerializer.js
36101
36135
  function base64Encode(value) {
36102
36136
  if (value instanceof Uint8Array) {
36103
36137
  const bufferValue = value instanceof Buffer ? value : Buffer.from(value.buffer);
@@ -36112,12 +36146,16 @@ function base64Decode(value) {
36112
36146
  }
36113
36147
  __name(base64Decode, "base64Decode");
36114
36148
 
36115
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/continuationToken.js
36149
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/continuationToken.js
36116
36150
  function encodeContinuationToken(nextPartitionKey2, nextRowKey2) {
36117
36151
  if (!nextPartitionKey2) {
36118
36152
  return void 0;
36119
36153
  }
36120
- const continuationToken = Object.assign({ nextPartitionKey: nextPartitionKey2 }, nextRowKey2 && { nextRowKey: nextRowKey2 });
36154
+ const continuationToken = {
36155
+ nextPartitionKey: nextPartitionKey2,
36156
+ // Only add nextRowKey if the value is not null, undefined or empty string.
36157
+ ...nextRowKey2 && { nextRowKey: nextRowKey2 }
36158
+ };
36121
36159
  return base64Encode(JSON.stringify(continuationToken));
36122
36160
  }
36123
36161
  __name(encodeContinuationToken, "encodeContinuationToken");
@@ -36132,8 +36170,7 @@ function decodeContinuationToken(encodedToken) {
36132
36170
  }
36133
36171
  __name(decodeContinuationToken, "decodeContinuationToken");
36134
36172
 
36135
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/serialization.js
36136
- init_tslib_es6();
36173
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/serialization.js
36137
36174
  var propertyCaseMap = /* @__PURE__ */ new Map([
36138
36175
  ["PartitionKey", "partitionKey"],
36139
36176
  ["RowKey", "rowKey"],
@@ -36181,7 +36218,7 @@ function serializeObject(obj) {
36181
36218
  }
36182
36219
  __name(serializeObject, "serializeObject");
36183
36220
  function getSerializedValue(value) {
36184
- if (typeof value === "object" && (value === null || value === void 0 ? void 0 : value.value) !== void 0 && (value === null || value === void 0 ? void 0 : value.type) !== void 0) {
36221
+ if (typeof value === "object" && (value == null ? void 0 : value.value) !== void 0 && (value == null ? void 0 : value.type) !== void 0) {
36185
36222
  return serializeObject(value);
36186
36223
  } else {
36187
36224
  return serializePrimitive(value);
@@ -36234,11 +36271,10 @@ function getTypedObject(value, type, disableTypeConversion) {
36234
36271
  }
36235
36272
  __name(getTypedObject, "getTypedObject");
36236
36273
  function deserialize(obj, disableTypeConversion = false) {
36237
- var _a4;
36238
36274
  const deserialized = {};
36239
36275
  for (const [key, value] of Object.entries(obj)) {
36240
36276
  if (key.indexOf("@odata.type") === -1) {
36241
- const transformedKey = (_a4 = propertyCaseMap.get(key)) !== null && _a4 !== void 0 ? _a4 : key;
36277
+ const transformedKey = propertyCaseMap.get(key) ?? key;
36242
36278
  let typedValue = value;
36243
36279
  if (`${key}@odata.type` in obj) {
36244
36280
  const type = obj[`${key}@odata.type`];
@@ -36284,7 +36320,7 @@ __name(deserializeObjectsArray, "deserializeObjectsArray");
36284
36320
  function serializeSignedIdentifiers(signedIdentifiers) {
36285
36321
  return signedIdentifiers.map((acl) => {
36286
36322
  const { id, accessPolicy } = acl;
36287
- const _a4 = accessPolicy !== null && accessPolicy !== void 0 ? accessPolicy : {}, { start, expiry } = _a4, rest = __rest(_a4, ["start", "expiry"]);
36323
+ const { start, expiry, ...rest } = accessPolicy ?? {};
36288
36324
  const serializedStart = start ? truncatedISO8061Date2(
36289
36325
  start,
36290
36326
  false
@@ -36297,7 +36333,11 @@ function serializeSignedIdentifiers(signedIdentifiers) {
36297
36333
  ) : void 0;
36298
36334
  return {
36299
36335
  id,
36300
- accessPolicy: Object.assign(Object.assign(Object.assign({}, serializedExpiry && { expiry: serializedExpiry }), serializedStart && { start: serializedStart }), rest)
36336
+ accessPolicy: {
36337
+ ...serializedExpiry && { expiry: serializedExpiry },
36338
+ ...serializedStart && { start: serializedStart },
36339
+ ...rest
36340
+ }
36301
36341
  };
36302
36342
  });
36303
36343
  }
@@ -36305,19 +36345,23 @@ __name(serializeSignedIdentifiers, "serializeSignedIdentifiers");
36305
36345
  function deserializeSignedIdentifier(signedIdentifiers) {
36306
36346
  return signedIdentifiers.map((si) => {
36307
36347
  const { id, accessPolicy } = si;
36308
- const _a4 = accessPolicy !== null && accessPolicy !== void 0 ? accessPolicy : {}, { start, expiry } = _a4, restAcl = __rest(_a4, ["start", "expiry"]);
36348
+ const { start, expiry, ...restAcl } = accessPolicy ?? {};
36309
36349
  const deserializedStart = start ? new Date(start) : void 0;
36310
36350
  const deserializedExpiry = expiry ? new Date(expiry) : void 0;
36311
36351
  return {
36312
36352
  id,
36313
- accessPolicy: Object.assign(Object.assign(Object.assign({}, deserializedExpiry && { expiry: deserializedExpiry }), deserializedStart && { start: deserializedStart }), restAcl)
36353
+ accessPolicy: {
36354
+ ...deserializedExpiry && { expiry: deserializedExpiry },
36355
+ ...deserializedStart && { start: deserializedStart },
36356
+ ...restAcl
36357
+ }
36314
36358
  };
36315
36359
  });
36316
36360
  }
36317
36361
  __name(deserializeSignedIdentifier, "deserializeSignedIdentifier");
36318
36362
  function serializeQueryOptions(query) {
36319
- const { select: select2 } = query, queryOptions = __rest(query, ["select"]);
36320
- const mappedQuery = Object.assign({}, queryOptions);
36363
+ const { select: select2, ...queryOptions } = query;
36364
+ const mappedQuery = { ...queryOptions };
36321
36365
  const excludeFromSelect = ["etag", "odata.etag"];
36322
36366
  if (select2) {
36323
36367
  mappedQuery.select = select2.filter((p) => !excludeFromSelect.includes(p)).map(translatePropertyNameForSerialization).join(",");
@@ -36326,7 +36370,7 @@ function serializeQueryOptions(query) {
36326
36370
  }
36327
36371
  __name(serializeQueryOptions, "serializeQueryOptions");
36328
36372
 
36329
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/utils/uuid.js
36373
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/utils/uuid.js
36330
36374
  var _Uuid = class _Uuid {
36331
36375
  static generateUuid() {
36332
36376
  return randomUUID2();
@@ -36335,31 +36379,54 @@ var _Uuid = class _Uuid {
36335
36379
  __name(_Uuid, "Uuid");
36336
36380
  var Uuid = _Uuid;
36337
36381
 
36338
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/odata.js
36382
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/odata.js
36339
36383
  function escapeQuotes(input) {
36340
36384
  return input.replace(/'/g, "''");
36341
36385
  }
36342
36386
  __name(escapeQuotes, "escapeQuotes");
36343
36387
 
36344
- // ../../node_modules/.store/@azure-data-tables-npm-13.3.1-4dc054bdd2/package/dist/esm/TableClient.js
36388
+ // ../../node_modules/.store/@azure-data-tables-npm-13.3.2-5bd51024a0/package/dist/esm/TableClient.js
36345
36389
  var _TableClient = class _TableClient {
36390
+ /**
36391
+ * Table Account URL
36392
+ */
36393
+ url;
36394
+ /**
36395
+ * Represents a pipeline for making a HTTP request to a URL.
36396
+ * Pipelines can have multiple policies to manage manipulating each request before and after it is made to the server.
36397
+ */
36398
+ pipeline;
36399
+ table;
36400
+ generatedClient;
36401
+ credential;
36402
+ clientOptions;
36403
+ allowInsecureConnection;
36404
+ /**
36405
+ * Name of the table to perform operations on.
36406
+ */
36407
+ tableName;
36346
36408
  constructor(url3, tableName, credentialOrOptions, options = {}) {
36347
- var _a4;
36348
36409
  this.url = url3;
36349
36410
  this.tableName = tableName;
36350
36411
  const isCosmos = isCosmosEndpoint(this.url);
36351
36412
  const credential = isCredential(credentialOrOptions) ? credentialOrOptions : void 0;
36352
36413
  this.credential = credential;
36353
36414
  this.clientOptions = (!isCredential(credentialOrOptions) ? credentialOrOptions : options) || {};
36354
- this.allowInsecureConnection = (_a4 = this.clientOptions.allowInsecureConnection) !== null && _a4 !== void 0 ? _a4 : false;
36355
- const internalPipelineOptions = Object.assign(Object.assign({}, this.clientOptions), { endpoint: this.clientOptions.endpoint || this.url, loggingOptions: {
36356
- logger: logger8.info,
36357
- additionalAllowedHeaderNames: [...TablesLoggingAllowedHeaderNames]
36358
- }, deserializationOptions: {
36359
- parseXML
36360
- }, serializationOptions: {
36361
- stringifyXML
36362
- } });
36415
+ this.allowInsecureConnection = this.clientOptions.allowInsecureConnection ?? false;
36416
+ const internalPipelineOptions = {
36417
+ ...this.clientOptions,
36418
+ endpoint: this.clientOptions.endpoint || this.url,
36419
+ loggingOptions: {
36420
+ logger: logger8.info,
36421
+ additionalAllowedHeaderNames: [...TablesLoggingAllowedHeaderNames]
36422
+ },
36423
+ deserializationOptions: {
36424
+ parseXML
36425
+ },
36426
+ serializationOptions: {
36427
+ stringifyXML
36428
+ }
36429
+ };
36363
36430
  const generatedClient = new GeneratedClient(this.url, internalPipelineOptions);
36364
36431
  if (isNamedKeyCredential(credential)) {
36365
36432
  generatedClient.pipeline.addPolicy(tablesNamedKeyCredentialPolicy(credential));
@@ -36437,7 +36504,7 @@ var _TableClient = class _TableClient {
36437
36504
  try {
36438
36505
  await this.table.create({ name: this.tableName }, updatedOptions);
36439
36506
  } catch (e) {
36440
- handleTableAlreadyExists(e, Object.assign(Object.assign({}, updatedOptions), { logger: logger8, tableName: this.tableName }));
36507
+ handleTableAlreadyExists(e, { ...updatedOptions, logger: logger8, tableName: this.tableName });
36441
36508
  }
36442
36509
  });
36443
36510
  }
@@ -36479,9 +36546,13 @@ var _TableClient = class _TableClient {
36479
36546
  }
36480
36547
  }
36481
36548
  __name(onResponse, "onResponse");
36482
- const { disableTypeConversion, queryOptions } = updatedOptions, getEntityOptions = __rest(updatedOptions, ["disableTypeConversion", "queryOptions"]);
36483
- await this.table.queryEntitiesWithPartitionAndRowKey(this.tableName, escapeQuotes(partitionKey2), escapeQuotes(rowKey2), Object.assign(Object.assign({}, getEntityOptions), { queryOptions: serializeQueryOptions(queryOptions || {}), onResponse }));
36484
- const tableEntity = deserialize(parsedBody, disableTypeConversion !== null && disableTypeConversion !== void 0 ? disableTypeConversion : false);
36549
+ const { disableTypeConversion, queryOptions, ...getEntityOptions } = updatedOptions;
36550
+ await this.table.queryEntitiesWithPartitionAndRowKey(this.tableName, escapeQuotes(partitionKey2), escapeQuotes(rowKey2), {
36551
+ ...getEntityOptions,
36552
+ queryOptions: serializeQueryOptions(queryOptions || {}),
36553
+ onResponse
36554
+ });
36555
+ const tableEntity = deserialize(parsedBody, disableTypeConversion ?? false);
36485
36556
  return tableEntity;
36486
36557
  });
36487
36558
  }
@@ -36519,65 +36590,59 @@ var _TableClient = class _TableClient {
36519
36590
  return this;
36520
36591
  },
36521
36592
  byPage: /* @__PURE__ */ __name((settings) => {
36522
- const pageOptions = Object.assign(Object.assign({}, options), { queryOptions: Object.assign(Object.assign({}, options.queryOptions), { top: settings === null || settings === void 0 ? void 0 : settings.maxPageSize }) });
36523
- if (settings === null || settings === void 0 ? void 0 : settings.continuationToken) {
36593
+ const pageOptions = {
36594
+ ...options,
36595
+ queryOptions: { ...options.queryOptions, top: settings == null ? void 0 : settings.maxPageSize }
36596
+ };
36597
+ if (settings == null ? void 0 : settings.continuationToken) {
36524
36598
  pageOptions.continuationToken = settings.continuationToken;
36525
36599
  }
36526
36600
  return this.listEntitiesPage(tableName, pageOptions);
36527
36601
  }, "byPage")
36528
36602
  };
36529
36603
  }
36530
- listEntitiesAll(tableName, options) {
36531
- return __asyncGenerator(this, arguments, /* @__PURE__ */ __name(function* listEntitiesAll_1() {
36532
- var _a4, e_1, _b2, _c2;
36533
- const firstPage = yield __await(this._listEntities(tableName, options));
36534
- yield __await(yield* __asyncDelegator(__asyncValues(firstPage)));
36535
- if (firstPage.continuationToken) {
36536
- const optionsWithContinuation = Object.assign(Object.assign({}, options), { continuationToken: firstPage.continuationToken });
36537
- try {
36538
- for (var _d = true, _e = __asyncValues(this.listEntitiesPage(tableName, optionsWithContinuation)), _f; _f = yield __await(_e.next()), _a4 = _f.done, !_a4; _d = true) {
36539
- _c2 = _f.value;
36540
- _d = false;
36541
- const page = _c2;
36542
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
36543
- }
36544
- } catch (e_1_1) {
36545
- e_1 = { error: e_1_1 };
36546
- } finally {
36547
- try {
36548
- if (!_d && !_a4 && (_b2 = _e.return)) yield __await(_b2.call(_e));
36549
- } finally {
36550
- if (e_1) throw e_1.error;
36551
- }
36552
- }
36604
+ async *listEntitiesAll(tableName, options) {
36605
+ const firstPage = await this._listEntities(tableName, options);
36606
+ yield* firstPage;
36607
+ if (firstPage.continuationToken) {
36608
+ const optionsWithContinuation = {
36609
+ ...options,
36610
+ continuationToken: firstPage.continuationToken
36611
+ };
36612
+ for await (const page of this.listEntitiesPage(tableName, optionsWithContinuation)) {
36613
+ yield* page;
36553
36614
  }
36554
- }, "listEntitiesAll_1"));
36615
+ }
36555
36616
  }
36556
- listEntitiesPage(tableName_1) {
36557
- return __asyncGenerator(this, arguments, /* @__PURE__ */ __name(function* listEntitiesPage_1(tableName, options = {}) {
36558
- let result = yield __await(tracingClient2.withSpan("TableClient.listEntitiesPage", options, (updatedOptions) => this._listEntities(tableName, updatedOptions)));
36559
- yield yield __await(result);
36560
- while (result.continuationToken) {
36561
- const optionsWithContinuation = Object.assign(Object.assign({}, options), { continuationToken: result.continuationToken });
36562
- result = yield __await(tracingClient2.withSpan("TableClient.listEntitiesPage", optionsWithContinuation, (updatedOptions, span) => {
36563
- span.setAttribute("continuationToken", result.continuationToken);
36564
- return this._listEntities(tableName, updatedOptions);
36565
- }));
36566
- yield yield __await(result);
36567
- }
36568
- }, "listEntitiesPage_1"));
36617
+ async *listEntitiesPage(tableName, options = {}) {
36618
+ let result = await tracingClient2.withSpan("TableClient.listEntitiesPage", options, (updatedOptions) => this._listEntities(tableName, updatedOptions));
36619
+ yield result;
36620
+ while (result.continuationToken) {
36621
+ const optionsWithContinuation = {
36622
+ ...options,
36623
+ continuationToken: result.continuationToken
36624
+ };
36625
+ result = await tracingClient2.withSpan("TableClient.listEntitiesPage", optionsWithContinuation, (updatedOptions, span) => {
36626
+ span.setAttribute("continuationToken", result.continuationToken);
36627
+ return this._listEntities(tableName, updatedOptions);
36628
+ });
36629
+ yield result;
36630
+ }
36569
36631
  }
36570
36632
  async _listEntities(tableName, options = {}) {
36571
36633
  const { disableTypeConversion = false } = options;
36572
36634
  const queryOptions = serializeQueryOptions(options.queryOptions || {});
36573
- const listEntitiesOptions = Object.assign(Object.assign({}, options), { queryOptions });
36635
+ const listEntitiesOptions = {
36636
+ ...options,
36637
+ queryOptions
36638
+ };
36574
36639
  if (options.continuationToken) {
36575
36640
  const continuationToken2 = decodeContinuationToken(options.continuationToken);
36576
36641
  listEntitiesOptions.nextRowKey = continuationToken2.nextRowKey;
36577
36642
  listEntitiesOptions.nextPartitionKey = continuationToken2.nextPartitionKey;
36578
36643
  }
36579
36644
  const { xMsContinuationNextPartitionKey: nextPartitionKey2, xMsContinuationNextRowKey: nextRowKey2, value } = await this.table.queryEntities(tableName, listEntitiesOptions);
36580
- const tableEntities = deserializeObjectsArray(value !== null && value !== void 0 ? value : [], disableTypeConversion);
36645
+ const tableEntities = deserializeObjectsArray(value ?? [], disableTypeConversion);
36581
36646
  const continuationToken = encodeContinuationToken(nextPartitionKey2, nextRowKey2);
36582
36647
  const page = Object.assign([...tableEntities], {
36583
36648
  continuationToken
@@ -36612,8 +36677,12 @@ var _TableClient = class _TableClient {
36612
36677
  */
36613
36678
  createEntity(entity, options = {}) {
36614
36679
  return tracingClient2.withSpan("TableClient.createEntity", options, (updatedOptions) => {
36615
- const createTableEntity = __rest(updatedOptions || {}, []);
36616
- return this.table.insertEntity(this.tableName, Object.assign(Object.assign({}, createTableEntity), { tableEntityProperties: serialize(entity), responsePreference: "return-no-content" }));
36680
+ const { ...createTableEntity } = updatedOptions || {};
36681
+ return this.table.insertEntity(this.tableName, {
36682
+ ...createTableEntity,
36683
+ tableEntityProperties: serialize(entity),
36684
+ responsePreference: "return-no-content"
36685
+ });
36617
36686
  });
36618
36687
  }
36619
36688
  /**
@@ -36646,8 +36715,10 @@ var _TableClient = class _TableClient {
36646
36715
  throw new Error("The entity's rowKey cannot be undefined or null.");
36647
36716
  }
36648
36717
  return tracingClient2.withSpan("TableClient.deleteEntity", options, (updatedOptions) => {
36649
- const { etag = "*" } = updatedOptions, rest = __rest(updatedOptions, ["etag"]);
36650
- const deleteOptions = Object.assign({}, rest);
36718
+ const { etag = "*", ...rest } = updatedOptions;
36719
+ const deleteOptions = {
36720
+ ...rest
36721
+ };
36651
36722
  return this.table.deleteEntity(this.tableName, escapeQuotes(partitionKey2), escapeQuotes(rowKey2), etag, deleteOptions);
36652
36723
  });
36653
36724
  }
@@ -36698,12 +36769,20 @@ var _TableClient = class _TableClient {
36698
36769
  return tracingClient2.withSpan("TableClient.updateEntity", options, async (updatedOptions) => {
36699
36770
  const partitionKey2 = escapeQuotes(entity.partitionKey);
36700
36771
  const rowKey2 = escapeQuotes(entity.rowKey);
36701
- const _a4 = updatedOptions || {}, { etag = "*" } = _a4, updateEntityOptions = __rest(_a4, ["etag"]);
36772
+ const { etag = "*", ...updateEntityOptions } = updatedOptions || {};
36702
36773
  if (mode === "Merge") {
36703
- return this.table.mergeEntity(this.tableName, partitionKey2, rowKey2, Object.assign({ tableEntityProperties: serialize(entity), ifMatch: etag }, updateEntityOptions));
36774
+ return this.table.mergeEntity(this.tableName, partitionKey2, rowKey2, {
36775
+ tableEntityProperties: serialize(entity),
36776
+ ifMatch: etag,
36777
+ ...updateEntityOptions
36778
+ });
36704
36779
  }
36705
36780
  if (mode === "Replace") {
36706
- return this.table.updateEntity(this.tableName, partitionKey2, rowKey2, Object.assign({ tableEntityProperties: serialize(entity), ifMatch: etag }, updateEntityOptions));
36781
+ return this.table.updateEntity(this.tableName, partitionKey2, rowKey2, {
36782
+ tableEntityProperties: serialize(entity),
36783
+ ifMatch: etag,
36784
+ ...updateEntityOptions
36785
+ });
36707
36786
  }
36708
36787
  throw new Error(`Unexpected value for update mode: ${mode}`);
36709
36788
  }, {
@@ -36756,10 +36835,16 @@ var _TableClient = class _TableClient {
36756
36835
  const partitionKey2 = escapeQuotes(entity.partitionKey);
36757
36836
  const rowKey2 = escapeQuotes(entity.rowKey);
36758
36837
  if (mode === "Merge") {
36759
- return this.table.mergeEntity(this.tableName, partitionKey2, rowKey2, Object.assign({ tableEntityProperties: serialize(entity) }, updatedOptions));
36838
+ return this.table.mergeEntity(this.tableName, partitionKey2, rowKey2, {
36839
+ tableEntityProperties: serialize(entity),
36840
+ ...updatedOptions
36841
+ });
36760
36842
  }
36761
36843
  if (mode === "Replace") {
36762
- return this.table.updateEntity(this.tableName, partitionKey2, rowKey2, Object.assign({ tableEntityProperties: serialize(entity) }, updatedOptions));
36844
+ return this.table.updateEntity(this.tableName, partitionKey2, rowKey2, {
36845
+ tableEntityProperties: serialize(entity),
36846
+ ...updatedOptions
36847
+ });
36763
36848
  }
36764
36849
  throw new Error(`Unexpected value for update mode: ${mode}`);
36765
36850
  }, {
@@ -36787,7 +36872,10 @@ var _TableClient = class _TableClient {
36787
36872
  setAccessPolicy(tableAcl2, options = {}) {
36788
36873
  return tracingClient2.withSpan("TableClient.setAccessPolicy", options, (updatedOptions) => {
36789
36874
  const serlializedAcl = serializeSignedIdentifiers(tableAcl2);
36790
- return this.table.setAccessPolicy(this.tableName, Object.assign(Object.assign({}, updatedOptions), { tableAcl: serlializedAcl }));
36875
+ return this.table.setAccessPolicy(this.tableName, {
36876
+ ...updatedOptions,
36877
+ tableAcl: serlializedAcl
36878
+ });
36791
36879
  });
36792
36880
  }
36793
36881
  /**
@@ -37012,7 +37100,7 @@ async function createAppRegistryClient(params) {
37012
37100
  const { context: context3, options } = params;
37013
37101
  const { loginMethod, cachePath, tenantId = defaultTenantId, storageAccount = defaultStorageAccount } = options;
37014
37102
  const azureLogEventHandler = registerAzureLogger();
37015
- const { getCredential } = await import("./getCredential-CYQ5LCNH.js");
37103
+ const { getCredential } = await import("./getCredential-25LXQMJS.js");
37016
37104
  const credential = await getCredential(
37017
37105
  { loginMethod, cachePath, tenantId },
37018
37106
  { ...context3, azureLogger: azureLogEventHandler }