replicas-engine 0.1.338 → 0.1.339

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.
@@ -17,10 +17,10 @@ import {
17
17
  resolveAwsSdkSigV4AConfig,
18
18
  resolveAwsSdkSigV4Config,
19
19
  streamCollector
20
- } from "./chunk-YY2DS5UJ.js";
20
+ } from "./chunk-JWM4YXMZ.js";
21
21
  import {
22
22
  NodeHttpHandler
23
- } from "./chunk-B5KEKENG.js";
23
+ } from "./chunk-A6ZHMNK4.js";
24
24
  import {
25
25
  BinaryDecisionDiagram,
26
26
  Client,
@@ -58,7 +58,7 @@ import {
58
58
  resolveUserAgentConfig,
59
59
  setCredentialFeature,
60
60
  stsRegionDefaultResolver
61
- } from "./chunk-MHJJJ2VP.js";
61
+ } from "./chunk-6NGTYZPX.js";
62
62
  import {
63
63
  FromStringShapeDeserializer,
64
64
  NODE_REGION_CONFIG_FILE_OPTIONS,
@@ -81,7 +81,7 @@ import {
81
81
  resolveDefaultsModeConfig,
82
82
  resolveHttpHandlerRuntimeConfig,
83
83
  resolveRegionConfig
84
- } from "./chunk-ATF5CAZW.js";
84
+ } from "./chunk-QE4MMXQA.js";
85
85
  import {
86
86
  Hash,
87
87
  NumericValue,
@@ -92,19 +92,19 @@ import {
92
92
  generateIdempotencyToken,
93
93
  toBase64,
94
94
  toUtf8
95
- } from "./chunk-C6IOMGXW.js";
95
+ } from "./chunk-B7L4ZPGB.js";
96
96
 
97
- // ../node_modules/.bun/@smithy+signature-v4@5.4.6/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js
97
+ // ../node_modules/.bun/@smithy+signature-v4@5.5.1/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js
98
98
  var signatureV4aContainer = {
99
99
  SignatureV4a: null
100
100
  };
101
101
 
102
- // ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.32/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/signature-v4-crt-container.js
102
+ // ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.35/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/signature-v4-crt-container.js
103
103
  var signatureV4CrtContainer = {
104
104
  CrtSignerV4: null
105
105
  };
106
106
 
107
- // ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.32/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4SignWithCredentials.js
107
+ // ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.35/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4SignWithCredentials.js
108
108
  var SESSION_TOKEN_QUERY_PARAM = "X-Amz-S3session-Token";
109
109
  var SESSION_TOKEN_HEADER = SESSION_TOKEN_QUERY_PARAM.toLowerCase();
110
110
  var SignatureV4SignWithCredentials = class extends SignatureV4 {
@@ -141,7 +141,7 @@ function setSingleOverride(privateAccess, credentialsWithoutSessionToken) {
141
141
  };
142
142
  }
143
143
 
144
- // ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.32/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js
144
+ // ../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.35/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js
145
145
  var SignatureV4MultiRegion = class {
146
146
  sigv4aSigner;
147
147
  sigv4Signer;
@@ -227,7 +227,7 @@ var SignatureV4MultiRegion = class {
227
227
  }
228
228
  };
229
229
 
230
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js
230
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js
231
231
  var q = "ref";
232
232
  var a = -1;
233
233
  var b = true;
@@ -390,7 +390,7 @@ var nodes = new Int32Array([
390
390
  ]);
391
391
  var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
392
392
 
393
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js
393
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js
394
394
  var cache = new EndpointCache({
395
395
  size: 50,
396
396
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"]
@@ -403,7 +403,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
403
403
  };
404
404
  customEndpointFunctions.aws = awsEndpointFunctions;
405
405
 
406
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
406
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
407
407
  var createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
408
408
  if (!input) {
409
409
  throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
@@ -530,7 +530,7 @@ var resolveHttpAuthSchemeConfig = (config) => {
530
530
  });
531
531
  };
532
532
 
533
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js
533
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js
534
534
  var resolveClientEndpointParameters = (options) => {
535
535
  return Object.assign(options, {
536
536
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
@@ -894,7 +894,7 @@ function getPositionFromMatch(match) {
894
894
  return match.startIndex + match[1].length;
895
895
  }
896
896
 
897
- // ../node_modules/.bun/@nodable+entities@2.1.1/node_modules/@nodable/entities/src/entities.js
897
+ // ../node_modules/.bun/@nodable+entities@2.2.0/node_modules/@nodable/entities/src/entities.js
898
898
  var BASIC_LATIN = {
899
899
  amp: "&",
900
900
  AMP: "&",
@@ -1976,7 +1976,15 @@ var COMMON_HTML = {
1976
1976
  frac34: "\xBE"
1977
1977
  };
1978
1978
 
1979
- // ../node_modules/.bun/@nodable+entities@2.1.1/node_modules/@nodable/entities/src/EntityDecoder.js
1979
+ // ../node_modules/.bun/@nodable+entities@2.2.0/node_modules/@nodable/entities/src/EntityDecoder.js
1980
+ var ENTITY_ACTION = Object.freeze({
1981
+ /** Resolve and expand the entity normally. */
1982
+ ALLOW: "allow",
1983
+ /** Silently skip this entity — it will not be registered. */
1984
+ BLOCK: "block",
1985
+ /** Throw an error, aborting entity registration entirely. */
1986
+ THROW: "throw"
1987
+ });
1980
1988
  var SPECIAL_CHARS = new Set("!?\\\\/[]$%{}^&*()<>|+");
1981
1989
  function validateEntityName(name) {
1982
1990
  if (name[0] === "#") {
@@ -2056,6 +2064,14 @@ var EntityDecoder = class {
2056
2064
  * the effective action is max(onNCR, rangeMinimum).
2057
2065
  * @param {'remove'|'throw'} [options.ncr.nullNCR='remove']
2058
2066
  * Action for U+0000 (null). 'allow' and 'leave' are clamped to 'remove' since null is never safe.
2067
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} [options.onExternalEntity=null]
2068
+ * Hook called when an external entity is registered via `setExternalEntities()` or
2069
+ * `addExternalEntity()`. Return `ENTITY_ACTION.ALLOW` to accept the entity,
2070
+ * `ENTITY_ACTION.BLOCK` to silently skip it, or `ENTITY_ACTION.THROW` to abort with an error.
2071
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} [options.onInputEntity=null]
2072
+ * Hook called when an input entity is registered via `addInputEntities()`. Return
2073
+ * `ENTITY_ACTION.ALLOW` to accept, `ENTITY_ACTION.BLOCK` to silently skip, or
2074
+ * `ENTITY_ACTION.THROW` to abort with an error.
2059
2075
  */
2060
2076
  constructor(options = {}) {
2061
2077
  this._limit = options.limit || {};
@@ -2075,6 +2091,33 @@ var EntityDecoder = class {
2075
2091
  this._ncrXmlVersion = ncrCfg.xmlVersion;
2076
2092
  this._ncrOnLevel = ncrCfg.onLevel;
2077
2093
  this._ncrNullLevel = ncrCfg.nullLevel;
2094
+ this._onExternalEntity = typeof options.onExternalEntity === "function" ? options.onExternalEntity : null;
2095
+ this._onInputEntity = typeof options.onInputEntity === "function" ? options.onInputEntity : null;
2096
+ }
2097
+ // -------------------------------------------------------------------------
2098
+ // Private: registration hook dispatch
2099
+ // -------------------------------------------------------------------------
2100
+ /**
2101
+ * Invoke a registration hook for a single entity name/value pair.
2102
+ * Returns true when the entity should be accepted, false when it should be
2103
+ * silently skipped (BLOCK), and throws when the hook returns THROW.
2104
+ *
2105
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} hook
2106
+ * @param {string} name
2107
+ * @param {string} value
2108
+ * @param {string} context — used in error messages ('external' | 'input')
2109
+ * @returns {boolean} true = accept, false = skip
2110
+ */
2111
+ _applyRegistrationHook(hook, name, value, context) {
2112
+ if (!hook) return true;
2113
+ const action = hook(name, value);
2114
+ if (action === ENTITY_ACTION.BLOCK) return false;
2115
+ if (action === ENTITY_ACTION.THROW) {
2116
+ throw new Error(
2117
+ `[EntityDecoder] Registration of ${context} entity "&${name};" was rejected by hook`
2118
+ );
2119
+ }
2120
+ return true;
2078
2121
  }
2079
2122
  // -------------------------------------------------------------------------
2080
2123
  // Persistent external entity registration
@@ -2082,6 +2125,9 @@ var EntityDecoder = class {
2082
2125
  /**
2083
2126
  * Replace the full set of persistent external entities.
2084
2127
  * All keys are validated — throws on invalid characters.
2128
+ * If `onExternalEntity` is set, it is called once per entry; entries that
2129
+ * return `ENTITY_ACTION.BLOCK` are silently omitted, `ENTITY_ACTION.THROW`
2130
+ * aborts the whole call.
2085
2131
  * @param {Record<string, string | { regex?: RegExp, val: string }>} map
2086
2132
  */
2087
2133
  setExternalEntities(map) {
@@ -2090,17 +2136,32 @@ var EntityDecoder = class {
2090
2136
  validateEntityName(key);
2091
2137
  }
2092
2138
  }
2093
- this._externalMap = mergeEntityMaps(map);
2139
+ if (!this._onExternalEntity) {
2140
+ this._externalMap = mergeEntityMaps(map);
2141
+ return;
2142
+ }
2143
+ const flat = mergeEntityMaps(map);
2144
+ const filtered = /* @__PURE__ */ Object.create(null);
2145
+ for (const [name, value] of Object.entries(flat)) {
2146
+ if (this._applyRegistrationHook(this._onExternalEntity, name, value, "external")) {
2147
+ filtered[name] = value;
2148
+ }
2149
+ }
2150
+ this._externalMap = filtered;
2094
2151
  }
2095
2152
  /**
2096
2153
  * Add a single persistent external entity.
2154
+ * If `onExternalEntity` is set it is called before the entity is stored;
2155
+ * `ENTITY_ACTION.BLOCK` silently skips storage, `ENTITY_ACTION.THROW` raises.
2097
2156
  * @param {string} key
2098
2157
  * @param {string} value
2099
2158
  */
2100
2159
  addExternalEntity(key, value) {
2101
2160
  validateEntityName(key);
2102
2161
  if (typeof value === "string" && value.indexOf("&") === -1) {
2103
- this._externalMap[key] = value;
2162
+ if (this._applyRegistrationHook(this._onExternalEntity, key, value, "external")) {
2163
+ this._externalMap[key] = value;
2164
+ }
2104
2165
  }
2105
2166
  }
2106
2167
  // -------------------------------------------------------------------------
@@ -2109,12 +2170,25 @@ var EntityDecoder = class {
2109
2170
  /**
2110
2171
  * Inject DOCTYPE entities for the current document.
2111
2172
  * Also resets per-document expansion counters.
2173
+ * If `onInputEntity` is set it is called once per entry; entries returning
2174
+ * `ENTITY_ACTION.BLOCK` are silently omitted, `ENTITY_ACTION.THROW` aborts.
2112
2175
  * @param {Record<string, string | { regx?: RegExp, regex?: RegExp, val: string }>} map
2113
2176
  */
2114
2177
  addInputEntities(map) {
2115
2178
  this._totalExpansions = 0;
2116
2179
  this._expandedLength = 0;
2117
- this._inputMap = mergeEntityMaps(map);
2180
+ if (!this._onInputEntity) {
2181
+ this._inputMap = mergeEntityMaps(map);
2182
+ return;
2183
+ }
2184
+ const flat = mergeEntityMaps(map);
2185
+ const filtered = /* @__PURE__ */ Object.create(null);
2186
+ for (const [name, value] of Object.entries(flat)) {
2187
+ if (this._applyRegistrationHook(this._onInputEntity, name, value, "input")) {
2188
+ filtered[name] = value;
2189
+ }
2190
+ }
2191
+ this._inputMap = filtered;
2118
2192
  }
2119
2193
  // -------------------------------------------------------------------------
2120
2194
  // Per-document reset
@@ -2790,7 +2864,235 @@ function validateEntityName2(name) {
2790
2864
  throw new Error(`Invalid entity name ${name}`);
2791
2865
  }
2792
2866
 
2793
- // ../node_modules/.bun/strnum@2.3.0/node_modules/strnum/strnum.js
2867
+ // ../node_modules/.bun/anynum@1.0.1/node_modules/anynum/digitTable.js
2868
+ var SCRIPT_ZEROS = [
2869
+ // Basic Latin (ASCII) — included for completeness / pass-through
2870
+ 48,
2871
+ // 0-9
2872
+ // Arabic scripts
2873
+ 1632,
2874
+ // Arabic-Indic ٠١٢٣٤٥٦٧٨٩
2875
+ 1776,
2876
+ // Extended Arabic-Indic (Urdu/Persian/Sindhi) ۰۱۲۳
2877
+ // Indic scripts
2878
+ 2406,
2879
+ // Devanagari ०१२३४५६७८९
2880
+ 2534,
2881
+ // Bengali ০১২৩৪৫৬৭৮৯
2882
+ 2662,
2883
+ // Gurmukhi ੦੧੨੩੪੫੬੭੮੯
2884
+ 2790,
2885
+ // Gujarati ૦૧૨૩૪૫૬૭૮૯
2886
+ 2918,
2887
+ // Odia ୦୧୨୩୪୫୬୭୮୯
2888
+ 3046,
2889
+ // Tamil ௦௧௨௩௪௫௬௭௮௯
2890
+ 3174,
2891
+ // Telugu ౦౧౨౩౪౫౬౭౮౯
2892
+ 3302,
2893
+ // Kannada ೦೧೨೩೪೫೬೭೮೯
2894
+ 3430,
2895
+ // Malayalam ൦൧൨൩൪൫൬൭൮൯
2896
+ 3558,
2897
+ // Sinhala Archaic ෦෧෨෩෪෫෬෭෮෯
2898
+ // Southeast Asian scripts
2899
+ 3664,
2900
+ // Thai ๐๑๒๓๔๕๖๗๘๙
2901
+ 3792,
2902
+ // Lao ໐໑໒໓໔໕໖໗໘໙
2903
+ 3872,
2904
+ // Tibetan ༠༡༢༣༤༥༦༧༨༩
2905
+ 4160,
2906
+ // Myanmar ၀၁၂၃၄၅၆၇၈၉
2907
+ 4240,
2908
+ // Myanmar Shan ႐႑႒႓႔႕႖႗႘႙
2909
+ 6112,
2910
+ // Khmer ០១២៣៤៥៦៧៨៩
2911
+ 6160,
2912
+ // Mongolian ᠐᠑᠒᠓᠔᠕᠖᠗᠘᠙
2913
+ 6470,
2914
+ // Limbu ᥆᥇᥈᥉᥊᥋᥌᥍᥎᥏
2915
+ 6608,
2916
+ // New Tai Lue ᧐᧑᧒᧓᧔᧕᧖᧗᧘᧙
2917
+ 6784,
2918
+ // Tai Tham Hora ᪀᪁᪂᪃᪄᪅᪆᪇᪈᪉
2919
+ 6800,
2920
+ // Tai Tham Tham ᪐᪑᪒᪓᪔᪕᪖᪗᪘᪙
2921
+ 6992,
2922
+ // Balinese ᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙
2923
+ 7088,
2924
+ // Sundanese ᮰᮱᮲᮳᮴᮵᮶᮷᮸᮹
2925
+ 7232,
2926
+ // Lepcha ᱀᱁᱂᱃᱄᱅᱆᱇᱈᱉
2927
+ 7248,
2928
+ // Ol Chiki ᱐᱑᱒᱓᱔᱕᱖᱗᱘᱙
2929
+ // Fullwidth (CJK context)
2930
+ 65296,
2931
+ // Fullwidth 0123456789
2932
+ // Mathematical digit variants (Unicode math block)
2933
+ 120782,
2934
+ // Mathematical Bold
2935
+ 120792,
2936
+ // Mathematical Double-Struck
2937
+ 120802,
2938
+ // Mathematical Sans-Serif
2939
+ 120812,
2940
+ // Mathematical Sans-Serif Bold
2941
+ 120822,
2942
+ // Mathematical Monospace
2943
+ // Other scripts
2944
+ 66720,
2945
+ // Osmanya 𐒠𐒡𐒢𐒣𐒤𐒥𐒦𐒧𐒨𐒩
2946
+ 68912,
2947
+ // Hanifi Rohingya 𐴰𐴱𐴲𐴳𐴴𐴵𐴶𐴷𐴸𐴹
2948
+ 69734,
2949
+ // Brahmi 𑁦𑁧𑁨𑁩𑁪𑁫𑁬𑁭𑁮𑁯
2950
+ 69872,
2951
+ // Sora Sompeng 𑃰𑃱𑃲𑃳𑃴𑃵𑃶𑃷𑃸𑃹
2952
+ 69942,
2953
+ // Chakma 𑄶𑄷𑄸𑄹𑄺𑄻𑄼𑄽𑄾𑄿
2954
+ 70096,
2955
+ // Sharada 𑇐𑇑𑇒𑇓𑇔𑇕𑇖𑇗𑇘𑇙
2956
+ 70384,
2957
+ // Khudawadi 𑋰𑋱𑋲𑋳𑋴𑋵𑋶𑋷𑋸𑋹
2958
+ 70736,
2959
+ // Newa 𑑐𑑑𑑒𑑓𑑔𑑕𑑖𑑗𑑘𑑙
2960
+ 70864,
2961
+ // Tirhuta 𑓐𑓑𑓒𑓓𑓔𑓕𑓖𑓗𑓘𑓙
2962
+ 71248,
2963
+ // Modi 𑙐𑙑𑙒𑙓𑙔𑙕𑙖𑙗𑙘𑙙
2964
+ 71360,
2965
+ // Takri 𑛀𑛁𑛂𑛃𑛄𑛅𑛆𑛇𑛈𑛉
2966
+ 71472,
2967
+ // Ahom 𑜰𑜱𑜲𑜳𑜴𑜵𑜶𑜷𑜸𑜹
2968
+ 71904,
2969
+ // Warang Citi 𑣠𑣡𑣢𑣣𑣤𑣥𑣦𑣧𑣨𑣩
2970
+ 72016,
2971
+ // Dives Akuru 𑥐𑥑𑥒𑥓𑥔𑥕𑥖𑥗𑥘𑥙
2972
+ 72688,
2973
+ // Khitan Small Script 𑯰𑯱𑯲𑯳𑯴𑯵𑯶𑯷𑯸𑯹
2974
+ 72784,
2975
+ // Bhaiksuki 𑱐𑱑𑱒𑱓𑱔𑱕𑱖𑱗𑱘𑱙
2976
+ 73040,
2977
+ // Masaram Gondi 𑵐𑵑𑵒𑵓𑵔𑵕𑵖𑵗𑵘𑵙
2978
+ 73120,
2979
+ // Gunjala Gondi 𑶠𑶡𑶢𑶣𑶤𑶥𑶦𑶧𑶨𑶩
2980
+ 73552,
2981
+ // Kawi 𑽐𑽑𑽒𑽓𑽔𑽕𑽖𑽗𑽘𑽙
2982
+ 92768,
2983
+ // Mro 𖩠𖩡𖩢𖩣𖩤𖩥𖩦𖩧𖩨𖩩
2984
+ 92864,
2985
+ // Tangsa 𖫀𖫁𖫂𖫃𖫄𖫅𖫆𖫇𖫈𖫉
2986
+ 93008,
2987
+ // Pahawh Hmong 𖭐𖭑𖭒𖭓𖭔𖭕𖭖𖭗𖭘𖭙
2988
+ 123200,
2989
+ // Nyiakeng Puachue Hmong 𞅀𞅁𞅂𞅃𞅄𞅅𞅆𞅇𞅈𞅉
2990
+ 123632,
2991
+ // Wancho 𞋰𞋱𞋲𞋳𞋴𞋵𞋶𞋷𞋸𞋹
2992
+ 124144,
2993
+ // Nag Mundari 𞓰𞓱𞓲𞓳𞓴𞓵𞓶𞓷𞓸𞓹
2994
+ 125264,
2995
+ // Adlam 𞥐𞥑𞥒𞥓𞥔𞥕𞥖𞥗𞥘𞥙
2996
+ 130032
2997
+ // Segmented digit symbols 🯰🯱🯲🯳🯴🯵🯶🯷🯸🯹
2998
+ ];
2999
+ var NOT_DIGIT = 255;
3000
+ var HIGH_MAP = /* @__PURE__ */ new Map();
3001
+ var LOW_MAX = 65535;
3002
+ var LOW_MIN = 1632;
3003
+ var TABLE_OFFSET = LOW_MIN;
3004
+ var TABLE_SIZE = LOW_MAX - LOW_MIN + 1;
3005
+ var TABLE = new Uint8Array(TABLE_SIZE).fill(NOT_DIGIT);
3006
+ for (const zero of SCRIPT_ZEROS) {
3007
+ for (let d2 = 0; d2 < 10; d2++) {
3008
+ const cp = zero + d2;
3009
+ if (cp <= LOW_MAX) {
3010
+ TABLE[cp - TABLE_OFFSET] = d2;
3011
+ } else {
3012
+ HIGH_MAP.set(cp, d2);
3013
+ }
3014
+ }
3015
+ }
3016
+
3017
+ // ../node_modules/.bun/anynum@1.0.1/node_modules/anynum/anynum.js
3018
+ var CHAR_0 = 48;
3019
+ var CHAR_9 = 57;
3020
+ var CHAR_MINUS = 45;
3021
+ var MINUS_SET = /* @__PURE__ */ new Set([8722, 65293, 65123]);
3022
+ function anynum(str) {
3023
+ if (typeof str !== "string") return str;
3024
+ const len = str.length;
3025
+ if (len === 0) return str;
3026
+ let firstHit = -1;
3027
+ for (let i2 = 0; i2 < len; i2++) {
3028
+ const cc = str.charCodeAt(i2);
3029
+ if (cc >= CHAR_0 && cc <= CHAR_9 || cc === CHAR_MINUS) continue;
3030
+ if (cc < TABLE_OFFSET) {
3031
+ if (MINUS_SET.has(cc)) {
3032
+ firstHit = i2;
3033
+ break;
3034
+ }
3035
+ continue;
3036
+ }
3037
+ if (cc >= 55296 && cc <= 56319) {
3038
+ if (i2 + 1 < len) {
3039
+ const low = str.charCodeAt(i2 + 1);
3040
+ if (low >= 56320 && low <= 57343) {
3041
+ const cp = 65536 + (cc - 55296 << 10) + (low - 56320);
3042
+ if (HIGH_MAP.has(cp)) {
3043
+ firstHit = i2;
3044
+ break;
3045
+ }
3046
+ }
3047
+ }
3048
+ continue;
3049
+ }
3050
+ if (TABLE[cc - TABLE_OFFSET] !== NOT_DIGIT || MINUS_SET.has(cc)) {
3051
+ firstHit = i2;
3052
+ break;
3053
+ }
3054
+ }
3055
+ if (firstHit === -1) return str;
3056
+ const chars = [];
3057
+ if (firstHit > 0) chars.push(str.slice(0, firstHit));
3058
+ for (let i2 = firstHit; i2 < len; i2++) {
3059
+ const cc = str.charCodeAt(i2);
3060
+ if (cc >= CHAR_0 && cc <= CHAR_9 || cc === CHAR_MINUS) {
3061
+ chars.push(str[i2]);
3062
+ continue;
3063
+ }
3064
+ if (cc < TABLE_OFFSET) {
3065
+ chars.push(MINUS_SET.has(cc) ? "-" : str[i2]);
3066
+ continue;
3067
+ }
3068
+ if (cc >= 55296 && cc <= 56319) {
3069
+ if (i2 + 1 < len) {
3070
+ const low = str.charCodeAt(i2 + 1);
3071
+ if (low >= 56320 && low <= 57343) {
3072
+ const cp = 65536 + (cc - 55296 << 10) + (low - 56320);
3073
+ const d3 = HIGH_MAP.get(cp);
3074
+ if (d3 !== void 0) {
3075
+ chars.push(String.fromCharCode(d3 + 48));
3076
+ i2++;
3077
+ continue;
3078
+ }
3079
+ }
3080
+ }
3081
+ chars.push(str[i2]);
3082
+ continue;
3083
+ }
3084
+ if (MINUS_SET.has(cc)) {
3085
+ chars.push("-");
3086
+ continue;
3087
+ }
3088
+ const d2 = TABLE[cc - TABLE_OFFSET];
3089
+ chars.push(d2 !== NOT_DIGIT ? String.fromCharCode(d2 + 48) : str[i2]);
3090
+ }
3091
+ return chars.join("");
3092
+ }
3093
+ var anynum_default = anynum;
3094
+
3095
+ // ../node_modules/.bun/strnum@2.4.1/node_modules/strnum/strnum.js
2794
3096
  var hexRegex = /^[-+]?0x[a-fA-F0-9]+$/;
2795
3097
  var binRegex = /^0b[01]+$/;
2796
3098
  var octRegex = /^0o[0-7]+$/;
@@ -2803,8 +3105,9 @@ var consider = {
2803
3105
  decimalPoint: ".",
2804
3106
  eNotation: true,
2805
3107
  //skipLike: /regex/,
2806
- infinity: "original"
3108
+ infinity: "original",
2807
3109
  // "null", "infinity" (Infinity type), "string" ("Infinity" (the string literal))
3110
+ unicode: false
2808
3111
  };
2809
3112
  function toNumber(str, options = {}) {
2810
3113
  options = Object.assign({}, consider, options);
@@ -2813,7 +3116,11 @@ function toNumber(str, options = {}) {
2813
3116
  if (trimmedStr.length === 0) return str;
2814
3117
  else if (options.skipLike !== void 0 && options.skipLike.test(trimmedStr)) return str;
2815
3118
  else if (trimmedStr === "0") return 0;
2816
- else if (options.hex && hexRegex.test(trimmedStr)) {
3119
+ if (options.unicode) {
3120
+ trimmedStr = anynum_default(trimmedStr);
3121
+ if (trimmedStr === "0") return 0;
3122
+ }
3123
+ if (options.hex && hexRegex.test(trimmedStr)) {
2817
3124
  return parse_int(trimmedStr, 16);
2818
3125
  } else if (options.binary && binRegex.test(trimmedStr)) {
2819
3126
  return parse_int(trimmedStr, 2);
@@ -2941,7 +3248,7 @@ function getIgnoreAttributesFn(ignoreAttributes) {
2941
3248
  return () => false;
2942
3249
  }
2943
3250
 
2944
- // ../node_modules/.bun/path-expression-matcher@1.5.0/node_modules/path-expression-matcher/src/Expression.js
3251
+ // ../node_modules/.bun/path-expression-matcher@1.6.0/node_modules/path-expression-matcher/src/Expression.js
2945
3252
  var Expression = class {
2946
3253
  /**
2947
3254
  * Create a new Expression
@@ -3104,12 +3411,13 @@ var Expression = class {
3104
3411
  }
3105
3412
  };
3106
3413
 
3107
- // ../node_modules/.bun/path-expression-matcher@1.5.0/node_modules/path-expression-matcher/src/ExpressionSet.js
3414
+ // ../node_modules/.bun/path-expression-matcher@1.6.0/node_modules/path-expression-matcher/src/ExpressionSet.js
3108
3415
  var ExpressionSet = class {
3109
3416
  constructor() {
3110
3417
  this._byDepthAndTag = /* @__PURE__ */ new Map();
3111
3418
  this._wildcardByDepth = /* @__PURE__ */ new Map();
3112
3419
  this._deepWildcards = [];
3420
+ this._deepByTerminalTag = /* @__PURE__ */ new Map();
3113
3421
  this._patterns = /* @__PURE__ */ new Set();
3114
3422
  this._sealed = false;
3115
3423
  }
@@ -3134,7 +3442,14 @@ var ExpressionSet = class {
3134
3442
  if (this._patterns.has(expression.pattern)) return this;
3135
3443
  this._patterns.add(expression.pattern);
3136
3444
  if (expression.hasDeepWildcard()) {
3137
- this._deepWildcards.push(expression);
3445
+ const lastSeg2 = expression.segments[expression.segments.length - 1];
3446
+ if (lastSeg2 && lastSeg2.type !== "deep-wildcard" && lastSeg2.tag !== "*") {
3447
+ const tag2 = lastSeg2.tag;
3448
+ if (!this._deepByTerminalTag.has(tag2)) this._deepByTerminalTag.set(tag2, []);
3449
+ this._deepByTerminalTag.get(tag2).push(expression);
3450
+ } else {
3451
+ this._deepWildcards.push(expression);
3452
+ }
3138
3453
  return this;
3139
3454
  }
3140
3455
  const depth = expression.length;
@@ -3252,6 +3567,12 @@ var ExpressionSet = class {
3252
3567
  if (matcher.matches(wildcardBucket[i2])) return wildcardBucket[i2];
3253
3568
  }
3254
3569
  }
3570
+ const deepBucket = this._deepByTerminalTag.get(tag);
3571
+ if (deepBucket) {
3572
+ for (let i2 = 0; i2 < deepBucket.length; i2++) {
3573
+ if (matcher.matches(deepBucket[i2])) return deepBucket[i2];
3574
+ }
3575
+ }
3255
3576
  for (let i2 = 0; i2 < this._deepWildcards.length; i2++) {
3256
3577
  if (matcher.matches(this._deepWildcards[i2])) return this._deepWildcards[i2];
3257
3578
  }
@@ -3259,7 +3580,7 @@ var ExpressionSet = class {
3259
3580
  }
3260
3581
  };
3261
3582
 
3262
- // ../node_modules/.bun/path-expression-matcher@1.5.0/node_modules/path-expression-matcher/src/Matcher.js
3583
+ // ../node_modules/.bun/path-expression-matcher@1.6.0/node_modules/path-expression-matcher/src/Matcher.js
3263
3584
  var MatcherView = class {
3264
3585
  /**
3265
3586
  * @param {Matcher} matcher - The parent Matcher instance to read from.
@@ -3311,6 +3632,24 @@ var MatcherView = class {
3311
3632
  const current = path[path.length - 1];
3312
3633
  return current.values !== void 0 && attrName in current.values;
3313
3634
  }
3635
+ /**
3636
+ * Get the value of a "kept" attribute from the nearest ancestor (or
3637
+ * current node) that declared it via `push(tag, attrs, ns, { keep: [...] })`.
3638
+ * @param {string} attrName
3639
+ * @returns {*}
3640
+ */
3641
+ getAnyParentAttr(attrName) {
3642
+ return this._matcher.getAnyParentAttr(attrName);
3643
+ }
3644
+ /**
3645
+ * Check whether any ancestor (or the current node) kept the given
3646
+ * attribute via `push(tag, attrs, ns, { keep: [...] })`.
3647
+ * @param {string} attrName
3648
+ * @returns {boolean}
3649
+ */
3650
+ hasAnyParentAttr(attrName) {
3651
+ return this._matcher.hasAnyParentAttr(attrName);
3652
+ }
3314
3653
  /**
3315
3654
  * Get current node's sibling position (child index in parent).
3316
3655
  * @returns {number}
@@ -3389,14 +3728,17 @@ var Matcher = class {
3389
3728
  this.siblingStacks = [];
3390
3729
  this._pathStringCache = null;
3391
3730
  this._view = new MatcherView(this);
3731
+ this._keptAttrs = [];
3392
3732
  }
3393
3733
  /**
3394
3734
  * Push a new tag onto the path.
3395
3735
  * @param {string} tagName
3396
3736
  * @param {Object|null} [attrValues=null]
3397
3737
  * @param {string|null} [namespace=null]
3738
+ * @param {Object|null} [options=null]
3739
+ * @param {string[]} [options.keep] - Names of attributes (from attrValues)
3398
3740
  */
3399
- push(tagName, attrValues = null, namespace = null) {
3741
+ push(tagName, attrValues = null, namespace = null, options = null) {
3400
3742
  this._pathStringCache = null;
3401
3743
  if (this.path.length > 0) {
3402
3744
  this.path[this.path.length - 1].values = void 0;
@@ -3425,6 +3767,16 @@ var Matcher = class {
3425
3767
  node.values = attrValues;
3426
3768
  }
3427
3769
  this.path.push(node);
3770
+ const depth = this.path.length;
3771
+ const keep = options !== null ? options.keep : null;
3772
+ if (keep !== null && keep !== void 0 && keep.length > 0 && attrValues) {
3773
+ for (let i2 = 0; i2 < keep.length; i2++) {
3774
+ const name = keep[i2];
3775
+ if (attrValues[name] !== void 0) {
3776
+ this._keptAttrs.push({ depth, name, value: attrValues[name] });
3777
+ }
3778
+ }
3779
+ }
3428
3780
  }
3429
3781
  /**
3430
3782
  * Pop the last tag from the path.
@@ -3437,6 +3789,10 @@ var Matcher = class {
3437
3789
  if (this.siblingStacks.length > this.path.length + 1) {
3438
3790
  this.siblingStacks.length = this.path.length + 1;
3439
3791
  }
3792
+ const poppedDepth = this.path.length + 1;
3793
+ while (this._keptAttrs.length > 0 && this._keptAttrs[this._keptAttrs.length - 1].depth >= poppedDepth) {
3794
+ this._keptAttrs.pop();
3795
+ }
3440
3796
  return node;
3441
3797
  }
3442
3798
  /**
@@ -3485,6 +3841,36 @@ var Matcher = class {
3485
3841
  const current = this.path[this.path.length - 1];
3486
3842
  return current.values !== void 0 && attrName in current.values;
3487
3843
  }
3844
+ /**
3845
+ * Get the value of a "kept" attribute from the nearest ancestor (or
3846
+ * current node) that declared it via `push(tag, attrs, ns, { keep: [...] })`.
3847
+ * Unlike getAttrValue(), this works regardless of how deep the path has
3848
+ * gone since the attribute was pushed — but only for attribute names that
3849
+ * were explicitly marked with `keep` at push time. Cost is proportional to
3850
+ * the number of currently-kept attributes (typically 0-3), not path depth.
3851
+ * @param {string} attrName
3852
+ * @returns {*} the value, or undefined if no ancestor kept this attribute
3853
+ */
3854
+ getAnyParentAttr(attrName) {
3855
+ const kept = this._keptAttrs;
3856
+ for (let i2 = kept.length - 1; i2 >= 0; i2--) {
3857
+ if (kept[i2].name === attrName) return kept[i2].value;
3858
+ }
3859
+ return void 0;
3860
+ }
3861
+ /**
3862
+ * Check whether any ancestor (or the current node) kept the given
3863
+ * attribute via `push(tag, attrs, ns, { keep: [...] })`.
3864
+ * @param {string} attrName
3865
+ * @returns {boolean}
3866
+ */
3867
+ hasAnyParentAttr(attrName) {
3868
+ const kept = this._keptAttrs;
3869
+ for (let i2 = kept.length - 1; i2 >= 0; i2--) {
3870
+ if (kept[i2].name === attrName) return true;
3871
+ }
3872
+ return false;
3873
+ }
3488
3874
  /**
3489
3875
  * Get current node's sibling position (child index in parent).
3490
3876
  * @returns {number}
@@ -3553,6 +3939,7 @@ var Matcher = class {
3553
3939
  this._pathStringCache = null;
3554
3940
  this.path = [];
3555
3941
  this.siblingStacks = [];
3942
+ this._keptAttrs = [];
3556
3943
  }
3557
3944
  /**
3558
3945
  * Match current path against an Expression.
@@ -3676,7 +4063,8 @@ var Matcher = class {
3676
4063
  snapshot() {
3677
4064
  return {
3678
4065
  path: this.path.map((node) => ({ ...node })),
3679
- siblingStacks: this.siblingStacks.map((map) => new Map(map))
4066
+ siblingStacks: this.siblingStacks.map((map) => new Map(map)),
4067
+ keptAttrs: this._keptAttrs.map((entry) => ({ ...entry }))
3680
4068
  };
3681
4069
  }
3682
4070
  /**
@@ -3687,6 +4075,7 @@ var Matcher = class {
3687
4075
  this._pathStringCache = null;
3688
4076
  this.path = snapshot.path.map((node) => ({ ...node }));
3689
4077
  this.siblingStacks = snapshot.siblingStacks.map((map) => new Map(map));
4078
+ this._keptAttrs = (snapshot.keptAttrs || []).map((entry) => ({ ...entry }));
3690
4079
  }
3691
4080
  /**
3692
4081
  * Return the read-only {@link MatcherView} for this matcher.
@@ -4461,7 +4850,7 @@ var XMLParser = class {
4461
4850
  }
4462
4851
  };
4463
4852
 
4464
- // ../node_modules/.bun/@aws-sdk+xml-builder@3.972.28/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js
4853
+ // ../node_modules/.bun/@aws-sdk+xml-builder@3.972.30/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js
4465
4854
  var XML2 = {
4466
4855
  amp: "&",
4467
4856
  apos: "'",
@@ -4787,7 +5176,7 @@ var EntityDecoderImpl = class EntityDecoderImpl2 {
4787
5176
  }
4788
5177
  };
4789
5178
 
4790
- // ../node_modules/.bun/@aws-sdk+xml-builder@3.972.28/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js
5179
+ // ../node_modules/.bun/@aws-sdk+xml-builder@3.972.30/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js
4791
5180
  var entityDecoder = new EntityDecoderImpl({
4792
5181
  namedEntities: { ...XML2, ...COMMON_HTML2, ...CURRENCY2 },
4793
5182
  numericAllowed: true,
@@ -4831,7 +5220,7 @@ function parseXML(xmlString) {
4831
5220
  return parser.parse(xmlString, true);
4832
5221
  }
4833
5222
 
4834
- // ../node_modules/.bun/@aws-sdk+core@3.974.18/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js
5223
+ // ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js
4835
5224
  var XmlShapeDeserializer = class extends SerdeContextConfig {
4836
5225
  settings;
4837
5226
  stringDeserializer;
@@ -4972,7 +5361,7 @@ var XmlShapeDeserializer = class extends SerdeContextConfig {
4972
5361
  }
4973
5362
  };
4974
5363
 
4975
- // ../node_modules/.bun/@aws-sdk+core@3.974.18/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js
5364
+ // ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js
4976
5365
  var QueryShapeSerializer = class extends SerdeContextConfig {
4977
5366
  settings;
4978
5367
  buffer;
@@ -5142,7 +5531,7 @@ var QueryShapeSerializer = class extends SerdeContextConfig {
5142
5531
  }
5143
5532
  };
5144
5533
 
5145
- // ../node_modules/.bun/@aws-sdk+core@3.974.18/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js
5534
+ // ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js
5146
5535
  var AwsQueryProtocol = class extends RpcProtocol {
5147
5536
  options;
5148
5537
  serializer;
@@ -5272,7 +5661,7 @@ var AwsQueryProtocol = class extends RpcProtocol {
5272
5661
  }
5273
5662
  };
5274
5663
 
5275
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js
5664
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js
5276
5665
  var STSServiceException = class _STSServiceException extends ServiceException {
5277
5666
  constructor(options) {
5278
5667
  super(options);
@@ -5280,7 +5669,7 @@ var STSServiceException = class _STSServiceException extends ServiceException {
5280
5669
  }
5281
5670
  };
5282
5671
 
5283
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js
5672
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js
5284
5673
  var ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {
5285
5674
  name = "ExpiredTokenException";
5286
5675
  $fault = "client";
@@ -5367,7 +5756,7 @@ var IDPCommunicationErrorException = class _IDPCommunicationErrorException exten
5367
5756
  }
5368
5757
  };
5369
5758
 
5370
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js
5759
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js
5371
5760
  var _A = "Arn";
5372
5761
  var _AKI = "AccessKeyId";
5373
5762
  var _AR = "AssumeRole";
@@ -5616,7 +6005,7 @@ var AssumeRoleWithWebIdentity$ = [
5616
6005
  () => AssumeRoleWithWebIdentityResponse$
5617
6006
  ];
5618
6007
 
5619
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js
6008
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js
5620
6009
  var getRuntimeConfig = (config) => {
5621
6010
  return {
5622
6011
  apiVersion: "2011-06-15",
@@ -5660,7 +6049,7 @@ var getRuntimeConfig = (config) => {
5660
6049
  };
5661
6050
  };
5662
6051
 
5663
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js
6052
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js
5664
6053
  var getRuntimeConfig2 = (config) => {
5665
6054
  emitWarningIfUnsupportedVersion2(process.version);
5666
6055
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -5712,7 +6101,7 @@ var getRuntimeConfig2 = (config) => {
5712
6101
  };
5713
6102
  };
5714
6103
 
5715
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js
6104
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js
5716
6105
  var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
5717
6106
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
5718
6107
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -5751,14 +6140,14 @@ var resolveHttpAuthRuntimeConfig = (config) => {
5751
6140
  };
5752
6141
  };
5753
6142
 
5754
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js
6143
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js
5755
6144
  var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
5756
6145
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
5757
6146
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
5758
6147
  return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
5759
6148
  };
5760
6149
 
5761
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js
6150
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js
5762
6151
  var STSClient = class extends Client {
5763
6152
  config;
5764
6153
  constructor(...[configuration]) {
@@ -5795,19 +6184,19 @@ var STSClient = class extends Client {
5795
6184
  }
5796
6185
  };
5797
6186
 
5798
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js
6187
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js
5799
6188
  var AssumeRoleCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
5800
6189
  return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
5801
6190
  }).s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}).n("STSClient", "AssumeRoleCommand").sc(AssumeRole$).build() {
5802
6191
  };
5803
6192
 
5804
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js
6193
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js
5805
6194
  var AssumeRoleWithWebIdentityCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
5806
6195
  return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
5807
6196
  }).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}).n("STSClient", "AssumeRoleWithWebIdentityCommand").sc(AssumeRoleWithWebIdentity$).build() {
5808
6197
  };
5809
6198
 
5810
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js
6199
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js
5811
6200
  var commands = {
5812
6201
  AssumeRoleCommand,
5813
6202
  AssumeRoleWithWebIdentityCommand
@@ -5816,7 +6205,7 @@ var STS = class extends STSClient {
5816
6205
  };
5817
6206
  createAggregatedClient(commands, STS);
5818
6207
 
5819
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js
6208
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js
5820
6209
  var getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
5821
6210
  if (typeof assumedRoleUser?.Arn === "string") {
5822
6211
  const arnComponents = assumedRoleUser.Arn.split(":");
@@ -5916,7 +6305,7 @@ var isH2 = (requestHandler) => {
5916
6305
  return requestHandler?.metadata?.handlerProtocol === "h2";
5917
6306
  };
5918
6307
 
5919
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js
6308
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js
5920
6309
  var getCustomizableStsClientCtor = (baseCtor, customizations) => {
5921
6310
  if (!customizations)
5922
6311
  return baseCtor;