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