@gooddata/code-cli 0.64.0-alpha.1 → 0.64.0-alpha.3
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/NOTICE +189 -1530
- package/dist/index.js +223 -215
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import https from "https";
|
|
|
26
26
|
import http2 from "http2";
|
|
27
27
|
import zlib from "zlib";
|
|
28
28
|
import * as fs from "node:fs";
|
|
29
|
-
import { readFileSync as readFileSync$1 } from "node:fs";
|
|
29
|
+
import { constants, readFileSync as readFileSync$1 } from "node:fs";
|
|
30
30
|
import * as fsPromise from "node:fs/promises";
|
|
31
31
|
import { lstat, readdir, realpath, stat } from "node:fs/promises";
|
|
32
32
|
import * as util$1 from "node:util";
|
|
@@ -37445,7 +37445,7 @@ function isPromise(value) {
|
|
|
37445
37445
|
//#endregion
|
|
37446
37446
|
//#region package.json
|
|
37447
37447
|
var name$1 = "@gooddata/code-cli";
|
|
37448
|
-
var version$1 = "0.64.0-alpha.
|
|
37448
|
+
var version$1 = "0.64.0-alpha.3";
|
|
37449
37449
|
//#endregion
|
|
37450
37450
|
//#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-maql-language-server@file+..+..+..+sdk+libs+sdk-maql-language-server_debug@4.4.3/node_modules/@gooddata/sdk-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/approximate_count.js
|
|
37451
37451
|
const content$65 = `# APPROXIMATE_COUNT
|
|
@@ -117738,7 +117738,7 @@ const _CONFIG$1 = {
|
|
|
117738
117738
|
common: {
|
|
117739
117739
|
"X-Requested-With": "XMLHttpRequest",
|
|
117740
117740
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
117741
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.
|
|
117741
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.3"
|
|
117742
117742
|
},
|
|
117743
117743
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
117744
117744
|
put: { "Content-Type": "application/json;charset=utf8" }
|
|
@@ -155082,7 +155082,7 @@ var BucketsType;
|
|
|
155082
155082
|
BucketsType["Area"] = "area";
|
|
155083
155083
|
})(BucketsType || (BucketsType = {}));
|
|
155084
155084
|
//#endregion
|
|
155085
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155085
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js
|
|
155086
155086
|
var require_identity = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155087
155087
|
const ALIAS = Symbol.for("yaml.alias");
|
|
155088
155088
|
const DOC = Symbol.for("yaml.document");
|
|
@@ -155132,7 +155132,7 @@ var require_identity = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155132
155132
|
exports.isSeq = isSeq;
|
|
155133
155133
|
}));
|
|
155134
155134
|
//#endregion
|
|
155135
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155135
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js
|
|
155136
155136
|
var require_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155137
155137
|
var identity = require_identity();
|
|
155138
155138
|
const BREAK = Symbol("break visit");
|
|
@@ -155323,7 +155323,7 @@ var require_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155323
155323
|
exports.visitAsync = visitAsync;
|
|
155324
155324
|
}));
|
|
155325
155325
|
//#endregion
|
|
155326
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155326
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js
|
|
155327
155327
|
var require_directives = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155328
155328
|
var identity = require_identity();
|
|
155329
155329
|
var visit = require_visit();
|
|
@@ -155487,7 +155487,7 @@ var require_directives = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155487
155487
|
exports.Directives = Directives;
|
|
155488
155488
|
}));
|
|
155489
155489
|
//#endregion
|
|
155490
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155490
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js
|
|
155491
155491
|
var require_anchors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155492
155492
|
var identity = require_identity();
|
|
155493
155493
|
var visit = require_visit();
|
|
@@ -155554,7 +155554,7 @@ var require_anchors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155554
155554
|
exports.findNewAnchor = findNewAnchor;
|
|
155555
155555
|
}));
|
|
155556
155556
|
//#endregion
|
|
155557
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155557
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js
|
|
155558
155558
|
var require_applyReviver = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155559
155559
|
/**
|
|
155560
155560
|
* Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,
|
|
@@ -155596,7 +155596,7 @@ var require_applyReviver = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155596
155596
|
exports.applyReviver = applyReviver;
|
|
155597
155597
|
}));
|
|
155598
155598
|
//#endregion
|
|
155599
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155599
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js
|
|
155600
155600
|
var require_toJS = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155601
155601
|
var identity = require_identity();
|
|
155602
155602
|
/**
|
|
@@ -155633,7 +155633,7 @@ var require_toJS = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155633
155633
|
exports.toJS = toJS;
|
|
155634
155634
|
}));
|
|
155635
155635
|
//#endregion
|
|
155636
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155636
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js
|
|
155637
155637
|
var require_Node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155638
155638
|
var applyReviver = require_applyReviver();
|
|
155639
155639
|
var identity = require_identity();
|
|
@@ -155667,7 +155667,7 @@ var require_Node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155667
155667
|
exports.NodeBase = NodeBase;
|
|
155668
155668
|
}));
|
|
155669
155669
|
//#endregion
|
|
155670
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155670
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js
|
|
155671
155671
|
var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155672
155672
|
var anchors = require_anchors();
|
|
155673
155673
|
var visit = require_visit();
|
|
@@ -155687,6 +155687,7 @@ var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155687
155687
|
* instance of the `source` anchor before this node.
|
|
155688
155688
|
*/
|
|
155689
155689
|
resolve(doc, ctx) {
|
|
155690
|
+
if (ctx?.maxAliasCount === 0) throw new ReferenceError("Alias resolution is disabled");
|
|
155690
155691
|
let nodes;
|
|
155691
155692
|
if (ctx?.aliasResolveCache) nodes = ctx.aliasResolveCache;
|
|
155692
155693
|
else {
|
|
@@ -155701,29 +155702,31 @@ var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155701
155702
|
if (node === this) break;
|
|
155702
155703
|
if (node.anchor === this.source) found = node;
|
|
155703
155704
|
}
|
|
155705
|
+
if (found && ctx) {
|
|
155706
|
+
const { anchors, doc, maxAliasCount } = ctx;
|
|
155707
|
+
let data = anchors.get(found);
|
|
155708
|
+
if (!data) {
|
|
155709
|
+
toJS.toJS(found, null, ctx);
|
|
155710
|
+
data = anchors.get(found);
|
|
155711
|
+
}
|
|
155712
|
+
/* istanbul ignore if */
|
|
155713
|
+
if (data?.res === void 0) throw new ReferenceError("This should not happen: Alias anchor was not resolved?");
|
|
155714
|
+
if (maxAliasCount >= 0) {
|
|
155715
|
+
data.count += 1;
|
|
155716
|
+
if (data.aliasCount === 0) data.aliasCount = getAliasCount(doc, found, anchors);
|
|
155717
|
+
if (data.count * data.aliasCount > maxAliasCount) throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");
|
|
155718
|
+
}
|
|
155719
|
+
}
|
|
155704
155720
|
return found;
|
|
155705
155721
|
}
|
|
155706
155722
|
toJSON(_arg, ctx) {
|
|
155707
155723
|
if (!ctx) return { source: this.source };
|
|
155708
|
-
const
|
|
155709
|
-
const source = this.resolve(doc, ctx);
|
|
155724
|
+
const source = this.resolve(ctx.doc, ctx);
|
|
155710
155725
|
if (!source) {
|
|
155711
155726
|
const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
|
|
155712
155727
|
throw new ReferenceError(msg);
|
|
155713
155728
|
}
|
|
155714
|
-
|
|
155715
|
-
if (!data) {
|
|
155716
|
-
toJS.toJS(source, null, ctx);
|
|
155717
|
-
data = anchors.get(source);
|
|
155718
|
-
}
|
|
155719
|
-
/* istanbul ignore if */
|
|
155720
|
-
if (data?.res === void 0) throw new ReferenceError("This should not happen: Alias anchor was not resolved?");
|
|
155721
|
-
if (maxAliasCount >= 0) {
|
|
155722
|
-
data.count += 1;
|
|
155723
|
-
if (data.aliasCount === 0) data.aliasCount = getAliasCount(doc, source, anchors);
|
|
155724
|
-
if (data.count * data.aliasCount > maxAliasCount) throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");
|
|
155725
|
-
}
|
|
155726
|
-
return data.res;
|
|
155729
|
+
return ctx.anchors.get(source).res;
|
|
155727
155730
|
}
|
|
155728
155731
|
toString(ctx, _onComment, _onChompKeep) {
|
|
155729
155732
|
const src = `*${this.source}`;
|
|
@@ -155760,7 +155763,7 @@ var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155760
155763
|
exports.Alias = Alias;
|
|
155761
155764
|
}));
|
|
155762
155765
|
//#endregion
|
|
155763
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155766
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js
|
|
155764
155767
|
var require_Scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155765
155768
|
var identity = require_identity();
|
|
155766
155769
|
var Node = require_Node();
|
|
@@ -155787,7 +155790,7 @@ var require_Scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155787
155790
|
exports.isScalarValue = isScalarValue;
|
|
155788
155791
|
}));
|
|
155789
155792
|
//#endregion
|
|
155790
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155793
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js
|
|
155791
155794
|
var require_createNode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155792
155795
|
var Alias = require_Alias();
|
|
155793
155796
|
var identity = require_identity();
|
|
@@ -155850,7 +155853,7 @@ var require_createNode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155850
155853
|
exports.createNode = createNode;
|
|
155851
155854
|
}));
|
|
155852
155855
|
//#endregion
|
|
155853
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155856
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js
|
|
155854
155857
|
var require_Collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155855
155858
|
var createNode = require_createNode();
|
|
155856
155859
|
var identity = require_identity();
|
|
@@ -155971,7 +155974,7 @@ var require_Collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155971
155974
|
exports.isEmptyPath = isEmptyPath;
|
|
155972
155975
|
}));
|
|
155973
155976
|
//#endregion
|
|
155974
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155977
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
155975
155978
|
var require_stringifyComment = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155976
155979
|
/**
|
|
155977
155980
|
* Stringifies a comment.
|
|
@@ -155991,7 +155994,7 @@ var require_stringifyComment = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155991
155994
|
exports.stringifyComment = stringifyComment;
|
|
155992
155995
|
}));
|
|
155993
155996
|
//#endregion
|
|
155994
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155997
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
155995
155998
|
var require_foldFlowLines = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155996
155999
|
const FOLD_FLOW = "flow";
|
|
155997
156000
|
const FOLD_BLOCK = "block";
|
|
@@ -156111,7 +156114,7 @@ var require_foldFlowLines = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156111
156114
|
exports.foldFlowLines = foldFlowLines;
|
|
156112
156115
|
}));
|
|
156113
156116
|
//#endregion
|
|
156114
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156117
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js
|
|
156115
156118
|
var require_stringifyString = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156116
156119
|
var Scalar = require_Scalar();
|
|
156117
156120
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -156335,7 +156338,7 @@ var require_stringifyString = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156335
156338
|
exports.stringifyString = stringifyString;
|
|
156336
156339
|
}));
|
|
156337
156340
|
//#endregion
|
|
156338
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156341
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js
|
|
156339
156342
|
var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156340
156343
|
var anchors = require_anchors();
|
|
156341
156344
|
var identity = require_identity();
|
|
@@ -156443,7 +156446,7 @@ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156443
156446
|
exports.stringify = stringify;
|
|
156444
156447
|
}));
|
|
156445
156448
|
//#endregion
|
|
156446
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156449
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
156447
156450
|
var require_stringifyPair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156448
156451
|
var identity = require_identity();
|
|
156449
156452
|
var Scalar = require_Scalar();
|
|
@@ -156540,7 +156543,7 @@ var require_stringifyPair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156540
156543
|
exports.stringifyPair = stringifyPair;
|
|
156541
156544
|
}));
|
|
156542
156545
|
//#endregion
|
|
156543
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156546
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js
|
|
156544
156547
|
var require_log = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156545
156548
|
var node_process = __require("process");
|
|
156546
156549
|
function debug(logLevel, ...messages) {
|
|
@@ -156556,7 +156559,7 @@ var require_log = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156556
156559
|
exports.warn = warn;
|
|
156557
156560
|
}));
|
|
156558
156561
|
//#endregion
|
|
156559
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156562
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
156560
156563
|
var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156561
156564
|
var identity = require_identity();
|
|
156562
156565
|
var Scalar = require_Scalar();
|
|
@@ -156571,13 +156574,13 @@ var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156571
156574
|
};
|
|
156572
156575
|
const isMergeKey = (ctx, key) => (merge.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
|
|
156573
156576
|
function addMergeToJSMap(ctx, map, value) {
|
|
156574
|
-
|
|
156575
|
-
if (identity.isSeq(
|
|
156576
|
-
else if (Array.isArray(
|
|
156577
|
-
else mergeValue(ctx, map,
|
|
156577
|
+
const source = resolveAliasValue(ctx, value);
|
|
156578
|
+
if (identity.isSeq(source)) for (const it of source.items) mergeValue(ctx, map, it);
|
|
156579
|
+
else if (Array.isArray(source)) for (const it of source) mergeValue(ctx, map, it);
|
|
156580
|
+
else mergeValue(ctx, map, source);
|
|
156578
156581
|
}
|
|
156579
156582
|
function mergeValue(ctx, map, value) {
|
|
156580
|
-
const source = ctx
|
|
156583
|
+
const source = resolveAliasValue(ctx, value);
|
|
156581
156584
|
if (!identity.isMap(source)) throw new Error("Merge sources must be maps or map aliases");
|
|
156582
156585
|
const srcMap = source.toJSON(null, ctx, Map);
|
|
156583
156586
|
for (const [key, value] of srcMap) if (map instanceof Map) {
|
|
@@ -156591,12 +156594,15 @@ var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156591
156594
|
});
|
|
156592
156595
|
return map;
|
|
156593
156596
|
}
|
|
156597
|
+
function resolveAliasValue(ctx, value) {
|
|
156598
|
+
return ctx && identity.isAlias(value) ? value.resolve(ctx.doc, ctx) : value;
|
|
156599
|
+
}
|
|
156594
156600
|
exports.addMergeToJSMap = addMergeToJSMap;
|
|
156595
156601
|
exports.isMergeKey = isMergeKey;
|
|
156596
156602
|
exports.merge = merge;
|
|
156597
156603
|
}));
|
|
156598
156604
|
//#endregion
|
|
156599
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156605
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
156600
156606
|
var require_addPairToJSMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156601
156607
|
var log = require_log();
|
|
156602
156608
|
var merge = require_merge();
|
|
@@ -156647,7 +156653,7 @@ var require_addPairToJSMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156647
156653
|
exports.addPairToJSMap = addPairToJSMap;
|
|
156648
156654
|
}));
|
|
156649
156655
|
//#endregion
|
|
156650
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156656
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js
|
|
156651
156657
|
var require_Pair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156652
156658
|
var createNode = require_createNode();
|
|
156653
156659
|
var stringifyPair = require_stringifyPair();
|
|
@@ -156680,7 +156686,7 @@ var require_Pair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156680
156686
|
exports.createPair = createPair;
|
|
156681
156687
|
}));
|
|
156682
156688
|
//#endregion
|
|
156683
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156689
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
156684
156690
|
var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156685
156691
|
var identity = require_identity();
|
|
156686
156692
|
var stringify = require_stringify();
|
|
@@ -156798,7 +156804,7 @@ var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156798
156804
|
exports.stringifyCollection = stringifyCollection;
|
|
156799
156805
|
}));
|
|
156800
156806
|
//#endregion
|
|
156801
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156807
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
156802
156808
|
var require_YAMLMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156803
156809
|
var stringifyCollection = require_stringifyCollection();
|
|
156804
156810
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -156907,7 +156913,7 @@ var require_YAMLMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156907
156913
|
exports.findPair = findPair;
|
|
156908
156914
|
}));
|
|
156909
156915
|
//#endregion
|
|
156910
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156916
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js
|
|
156911
156917
|
var require_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156912
156918
|
var identity = require_identity();
|
|
156913
156919
|
var YAMLMap = require_YAMLMap();
|
|
@@ -156924,7 +156930,7 @@ var require_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156924
156930
|
};
|
|
156925
156931
|
}));
|
|
156926
156932
|
//#endregion
|
|
156927
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156933
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
156928
156934
|
var require_YAMLSeq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156929
156935
|
var createNode = require_createNode();
|
|
156930
156936
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -157030,7 +157036,7 @@ var require_YAMLSeq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157030
157036
|
exports.YAMLSeq = YAMLSeq;
|
|
157031
157037
|
}));
|
|
157032
157038
|
//#endregion
|
|
157033
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157039
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js
|
|
157034
157040
|
var require_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157035
157041
|
var identity = require_identity();
|
|
157036
157042
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -157047,7 +157053,7 @@ var require_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157047
157053
|
};
|
|
157048
157054
|
}));
|
|
157049
157055
|
//#endregion
|
|
157050
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157056
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js
|
|
157051
157057
|
var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157052
157058
|
var stringifyString = require_stringifyString();
|
|
157053
157059
|
exports.string = {
|
|
@@ -157062,7 +157068,7 @@ var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157062
157068
|
};
|
|
157063
157069
|
}));
|
|
157064
157070
|
//#endregion
|
|
157065
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157071
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js
|
|
157066
157072
|
var require_null = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157067
157073
|
var Scalar = require_Scalar();
|
|
157068
157074
|
const nullTag = {
|
|
@@ -157077,7 +157083,7 @@ var require_null = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157077
157083
|
exports.nullTag = nullTag;
|
|
157078
157084
|
}));
|
|
157079
157085
|
//#endregion
|
|
157080
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157086
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js
|
|
157081
157087
|
var require_bool$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157082
157088
|
var Scalar = require_Scalar();
|
|
157083
157089
|
const boolTag = {
|
|
@@ -157096,14 +157102,14 @@ var require_bool$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157096
157102
|
exports.boolTag = boolTag;
|
|
157097
157103
|
}));
|
|
157098
157104
|
//#endregion
|
|
157099
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157105
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
157100
157106
|
var require_stringifyNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157101
157107
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
157102
157108
|
if (typeof value === "bigint") return String(value);
|
|
157103
157109
|
const num = typeof value === "number" ? value : Number(value);
|
|
157104
157110
|
if (!isFinite(num)) return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
|
|
157105
157111
|
let n = Object.is(value, -0) ? "-0" : JSON.stringify(value);
|
|
157106
|
-
if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") &&
|
|
157112
|
+
if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^-?\d/.test(n) && !n.includes("e")) {
|
|
157107
157113
|
let i = n.indexOf(".");
|
|
157108
157114
|
if (i < 0) {
|
|
157109
157115
|
i = n.length;
|
|
@@ -157117,7 +157123,7 @@ var require_stringifyNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157117
157123
|
exports.stringifyNumber = stringifyNumber;
|
|
157118
157124
|
}));
|
|
157119
157125
|
//#endregion
|
|
157120
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157126
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js
|
|
157121
157127
|
var require_float$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157122
157128
|
var Scalar = require_Scalar();
|
|
157123
157129
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -157158,7 +157164,7 @@ var require_float$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157158
157164
|
exports.floatNaN = floatNaN;
|
|
157159
157165
|
}));
|
|
157160
157166
|
//#endregion
|
|
157161
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157167
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js
|
|
157162
157168
|
var require_int$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157163
157169
|
var stringifyNumber = require_stringifyNumber();
|
|
157164
157170
|
const intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -157199,7 +157205,7 @@ var require_int$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157199
157205
|
exports.intOct = intOct;
|
|
157200
157206
|
}));
|
|
157201
157207
|
//#endregion
|
|
157202
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157208
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js
|
|
157203
157209
|
var require_schema$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157204
157210
|
var map = require_map();
|
|
157205
157211
|
var _null = require_null();
|
|
@@ -157223,7 +157229,7 @@ var require_schema$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157223
157229
|
];
|
|
157224
157230
|
}));
|
|
157225
157231
|
//#endregion
|
|
157226
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157232
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js
|
|
157227
157233
|
var require_schema$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157228
157234
|
var Scalar = require_Scalar();
|
|
157229
157235
|
var map = require_map();
|
|
@@ -157285,7 +157291,7 @@ var require_schema$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157285
157291
|
});
|
|
157286
157292
|
}));
|
|
157287
157293
|
//#endregion
|
|
157288
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157294
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
157289
157295
|
var require_binary = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157290
157296
|
var node_buffer = __require("buffer");
|
|
157291
157297
|
var Scalar = require_Scalar();
|
|
@@ -157341,7 +157347,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157341
157347
|
};
|
|
157342
157348
|
}));
|
|
157343
157349
|
//#endregion
|
|
157344
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157350
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
157345
157351
|
var require_pairs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157346
157352
|
var identity = require_identity();
|
|
157347
157353
|
var Pair = require_Pair();
|
|
@@ -157402,7 +157408,7 @@ var require_pairs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157402
157408
|
exports.resolvePairs = resolvePairs;
|
|
157403
157409
|
}));
|
|
157404
157410
|
//#endregion
|
|
157405
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157411
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
157406
157412
|
var require_omap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157407
157413
|
var identity = require_identity();
|
|
157408
157414
|
var toJS = require_toJS();
|
|
@@ -157467,7 +157473,7 @@ var require_omap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157467
157473
|
exports.omap = omap;
|
|
157468
157474
|
}));
|
|
157469
157475
|
//#endregion
|
|
157470
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157476
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
157471
157477
|
var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157472
157478
|
var Scalar = require_Scalar();
|
|
157473
157479
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -157494,7 +157500,7 @@ var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157494
157500
|
exports.trueTag = trueTag;
|
|
157495
157501
|
}));
|
|
157496
157502
|
//#endregion
|
|
157497
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157503
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
157498
157504
|
var require_float = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157499
157505
|
var Scalar = require_Scalar();
|
|
157500
157506
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -157538,7 +157544,7 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157538
157544
|
exports.floatNaN = floatNaN;
|
|
157539
157545
|
}));
|
|
157540
157546
|
//#endregion
|
|
157541
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157547
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
157542
157548
|
var require_int = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157543
157549
|
var stringifyNumber = require_stringifyNumber();
|
|
157544
157550
|
const intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -157611,7 +157617,7 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157611
157617
|
exports.intOct = intOct;
|
|
157612
157618
|
}));
|
|
157613
157619
|
//#endregion
|
|
157614
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157620
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
157615
157621
|
var require_set = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157616
157622
|
var identity = require_identity();
|
|
157617
157623
|
var Pair = require_Pair();
|
|
@@ -157680,7 +157686,7 @@ var require_set = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157680
157686
|
exports.set = set;
|
|
157681
157687
|
}));
|
|
157682
157688
|
//#endregion
|
|
157683
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157689
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
157684
157690
|
var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157685
157691
|
var stringifyNumber = require_stringifyNumber();
|
|
157686
157692
|
/** Internal types handle bigint as number, because TS can't figure it out. */
|
|
@@ -157763,7 +157769,7 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157763
157769
|
exports.timestamp = timestamp;
|
|
157764
157770
|
}));
|
|
157765
157771
|
//#endregion
|
|
157766
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157772
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
157767
157773
|
var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157768
157774
|
var map = require_map();
|
|
157769
157775
|
var _null = require_null();
|
|
@@ -157803,7 +157809,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157803
157809
|
];
|
|
157804
157810
|
}));
|
|
157805
157811
|
//#endregion
|
|
157806
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157812
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js
|
|
157807
157813
|
var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157808
157814
|
var map = require_map();
|
|
157809
157815
|
var _null = require_null();
|
|
@@ -157889,7 +157895,7 @@ var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157889
157895
|
exports.getTags = getTags;
|
|
157890
157896
|
}));
|
|
157891
157897
|
//#endregion
|
|
157892
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157898
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js
|
|
157893
157899
|
var require_Schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157894
157900
|
var identity = require_identity();
|
|
157895
157901
|
var map = require_map();
|
|
@@ -157917,7 +157923,7 @@ var require_Schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157917
157923
|
};
|
|
157918
157924
|
}));
|
|
157919
157925
|
//#endregion
|
|
157920
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157926
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
157921
157927
|
var require_stringifyDocument = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157922
157928
|
var identity = require_identity();
|
|
157923
157929
|
var stringify = require_stringify();
|
|
@@ -157979,7 +157985,7 @@ var require_stringifyDocument = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157979
157985
|
exports.stringifyDocument = stringifyDocument;
|
|
157980
157986
|
}));
|
|
157981
157987
|
//#endregion
|
|
157982
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157988
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js
|
|
157983
157989
|
var require_Document = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157984
157990
|
var Alias = require_Alias();
|
|
157985
157991
|
var Collection = require_Collection();
|
|
@@ -158260,7 +158266,7 @@ var require_Document = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158260
158266
|
exports.Document = Document;
|
|
158261
158267
|
}));
|
|
158262
158268
|
//#endregion
|
|
158263
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158269
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js
|
|
158264
158270
|
var require_errors$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158265
158271
|
var YAMLError = class extends Error {
|
|
158266
158272
|
constructor(name, pos, code, message) {
|
|
@@ -158313,7 +158319,7 @@ var require_errors$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158313
158319
|
exports.prettifyError = prettifyError;
|
|
158314
158320
|
}));
|
|
158315
158321
|
//#endregion
|
|
158316
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158322
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js
|
|
158317
158323
|
var require_resolve_props = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158318
158324
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
158319
158325
|
let spaceBefore = false;
|
|
@@ -158420,7 +158426,7 @@ var require_resolve_props = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158420
158426
|
exports.resolveProps = resolveProps;
|
|
158421
158427
|
}));
|
|
158422
158428
|
//#endregion
|
|
158423
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158429
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
158424
158430
|
var require_util_contains_newline = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158425
158431
|
function containsNewline(key) {
|
|
158426
158432
|
if (!key) return null;
|
|
@@ -158449,7 +158455,7 @@ var require_util_contains_newline = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
158449
158455
|
exports.containsNewline = containsNewline;
|
|
158450
158456
|
}));
|
|
158451
158457
|
//#endregion
|
|
158452
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158458
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
158453
158459
|
var require_util_flow_indent_check = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158454
158460
|
var utilContainsNewline = require_util_contains_newline();
|
|
158455
158461
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -158461,7 +158467,7 @@ var require_util_flow_indent_check = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
158461
158467
|
exports.flowIndentCheck = flowIndentCheck;
|
|
158462
158468
|
}));
|
|
158463
158469
|
//#endregion
|
|
158464
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158470
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js
|
|
158465
158471
|
var require_util_map_includes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158466
158472
|
var identity = require_identity();
|
|
158467
158473
|
function mapIncludes(ctx, items, search) {
|
|
@@ -158473,7 +158479,7 @@ var require_util_map_includes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158473
158479
|
exports.mapIncludes = mapIncludes;
|
|
158474
158480
|
}));
|
|
158475
158481
|
//#endregion
|
|
158476
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158482
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
158477
158483
|
var require_resolve_block_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158478
158484
|
var Pair = require_Pair();
|
|
158479
158485
|
var YAMLMap = require_YAMLMap();
|
|
@@ -158561,7 +158567,7 @@ var require_resolve_block_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158561
158567
|
exports.resolveBlockMap = resolveBlockMap;
|
|
158562
158568
|
}));
|
|
158563
158569
|
//#endregion
|
|
158564
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158570
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
158565
158571
|
var require_resolve_block_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158566
158572
|
var YAMLSeq = require_YAMLSeq();
|
|
158567
158573
|
var resolveProps = require_resolve_props();
|
|
@@ -158606,7 +158612,7 @@ var require_resolve_block_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158606
158612
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
158607
158613
|
}));
|
|
158608
158614
|
//#endregion
|
|
158609
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158615
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js
|
|
158610
158616
|
var require_resolve_end = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158611
158617
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
158612
158618
|
let comment = "";
|
|
@@ -158644,7 +158650,7 @@ var require_resolve_end = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158644
158650
|
exports.resolveEnd = resolveEnd;
|
|
158645
158651
|
}));
|
|
158646
158652
|
//#endregion
|
|
158647
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158653
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
158648
158654
|
var require_resolve_flow_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158649
158655
|
var identity = require_identity();
|
|
158650
158656
|
var Pair = require_Pair();
|
|
@@ -158807,7 +158813,7 @@ var require_resolve_flow_collection = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
158807
158813
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
158808
158814
|
}));
|
|
158809
158815
|
//#endregion
|
|
158810
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158816
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js
|
|
158811
158817
|
var require_compose_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158812
158818
|
var identity = require_identity();
|
|
158813
158819
|
var Scalar = require_Scalar();
|
|
@@ -158859,7 +158865,7 @@ var require_compose_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158859
158865
|
exports.composeCollection = composeCollection;
|
|
158860
158866
|
}));
|
|
158861
158867
|
//#endregion
|
|
158862
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158868
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
158863
158869
|
var require_resolve_block_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158864
158870
|
var Scalar = require_Scalar();
|
|
158865
158871
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -159036,7 +159042,7 @@ var require_resolve_block_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159036
159042
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
159037
159043
|
}));
|
|
159038
159044
|
//#endregion
|
|
159039
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159045
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
159040
159046
|
var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159041
159047
|
var Scalar = require_Scalar();
|
|
159042
159048
|
var resolveEnd = require_resolve_end();
|
|
@@ -159106,40 +159112,41 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159106
159112
|
case "`": badChar = `reserved character ${source[0]}`;
|
|
159107
159113
|
}
|
|
159108
159114
|
if (badChar) onError(0, "BAD_SCALAR_START", `Plain value cannot start with ${badChar}`);
|
|
159109
|
-
return
|
|
159115
|
+
return unfoldLines(source);
|
|
159110
159116
|
}
|
|
159111
159117
|
function singleQuotedValue(source, onError) {
|
|
159112
159118
|
if (source[source.length - 1] !== "'" || source.length === 1) onError(source.length, "MISSING_CHAR", "Missing closing 'quote");
|
|
159113
|
-
return
|
|
159119
|
+
return unfoldLines(source.slice(1, -1)).replace(/''/g, "'");
|
|
159114
159120
|
}
|
|
159115
|
-
function
|
|
159121
|
+
function unfoldLines(source) {
|
|
159122
|
+
const line = /(.*?)\r?\n/sy;
|
|
159123
|
+
let match = line.exec(source);
|
|
159124
|
+
if (!match) return source;
|
|
159116
159125
|
/**
|
|
159117
|
-
* The negative
|
|
159126
|
+
* The negative lookbehinds in these RegExps are to
|
|
159118
159127
|
* prevent causing a polynomial search time in certain cases.
|
|
159119
159128
|
*
|
|
159120
|
-
* The try-catch is for Safari
|
|
159129
|
+
* The try-catch is for Safari < 16.4 and other old browsers:
|
|
159121
159130
|
* https://caniuse.com/js-regexp-lookbehind
|
|
159122
159131
|
*/
|
|
159123
|
-
let
|
|
159132
|
+
let trimEnd, trimBoth;
|
|
159124
159133
|
try {
|
|
159125
|
-
|
|
159126
|
-
|
|
159134
|
+
trimEnd = new RegExp("(?<![ ])[ ]+$");
|
|
159135
|
+
trimBoth = new RegExp("^[ ]+|(?<![ ])[ ]+$", "g");
|
|
159127
159136
|
} catch {
|
|
159128
|
-
|
|
159129
|
-
|
|
159137
|
+
trimEnd = /[ \t]+$/;
|
|
159138
|
+
trimBoth = /^[ \t]+|[ \t]+$/g;
|
|
159130
159139
|
}
|
|
159131
|
-
let
|
|
159132
|
-
if (!match) return source;
|
|
159133
|
-
let res = match[1];
|
|
159140
|
+
let res = match[1].replace(trimEnd, "");
|
|
159134
159141
|
let sep = " ";
|
|
159135
|
-
let pos =
|
|
159136
|
-
line.lastIndex = pos;
|
|
159142
|
+
let pos = line.lastIndex;
|
|
159137
159143
|
while (match = line.exec(source)) {
|
|
159138
|
-
|
|
159144
|
+
const lm = match[1].replace(trimBoth, "");
|
|
159145
|
+
if (lm === "") {
|
|
159139
159146
|
if (sep === "\n") res += sep;
|
|
159140
159147
|
else sep = "\n";
|
|
159141
159148
|
} else {
|
|
159142
|
-
res += sep +
|
|
159149
|
+
res += sep + lm;
|
|
159143
159150
|
sep = " ";
|
|
159144
159151
|
}
|
|
159145
159152
|
pos = line.lastIndex;
|
|
@@ -159169,11 +159176,7 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159169
159176
|
next = source[++i + 1];
|
|
159170
159177
|
while (next === " " || next === " ") next = source[++i + 1];
|
|
159171
159178
|
} else if (next === "x" || next === "u" || next === "U") {
|
|
159172
|
-
const length =
|
|
159173
|
-
x: 2,
|
|
159174
|
-
u: 4,
|
|
159175
|
-
U: 8
|
|
159176
|
-
}[next];
|
|
159179
|
+
const length = next === "x" ? 2 : next === "u" ? 4 : 8;
|
|
159177
159180
|
res += parseCharCode(source, i + 1, length, onError);
|
|
159178
159181
|
i += length;
|
|
159179
159182
|
} else {
|
|
@@ -159233,17 +159236,18 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159233
159236
|
function parseCharCode(source, offset, length, onError) {
|
|
159234
159237
|
const cc = source.substr(offset, length);
|
|
159235
159238
|
const code = cc.length === length && /^[0-9a-fA-F]+$/.test(cc) ? parseInt(cc, 16) : NaN;
|
|
159236
|
-
|
|
159239
|
+
try {
|
|
159240
|
+
return String.fromCodePoint(code);
|
|
159241
|
+
} catch {
|
|
159237
159242
|
const raw = source.substr(offset - 2, length + 2);
|
|
159238
159243
|
onError(offset - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${raw}`);
|
|
159239
159244
|
return raw;
|
|
159240
159245
|
}
|
|
159241
|
-
return String.fromCodePoint(code);
|
|
159242
159246
|
}
|
|
159243
159247
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
159244
159248
|
}));
|
|
159245
159249
|
//#endregion
|
|
159246
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159250
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js
|
|
159247
159251
|
var require_compose_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159248
159252
|
var identity = require_identity();
|
|
159249
159253
|
var Scalar = require_Scalar();
|
|
@@ -159304,7 +159308,7 @@ var require_compose_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159304
159308
|
exports.composeScalar = composeScalar;
|
|
159305
159309
|
}));
|
|
159306
159310
|
//#endregion
|
|
159307
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159311
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
159308
159312
|
var require_util_empty_scalar_position = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159309
159313
|
function emptyScalarPosition(offset, before, pos) {
|
|
159310
159314
|
if (before) {
|
|
@@ -159331,7 +159335,7 @@ var require_util_empty_scalar_position = /* @__PURE__ */ __commonJSMin(((exports
|
|
|
159331
159335
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
159332
159336
|
}));
|
|
159333
159337
|
//#endregion
|
|
159334
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159338
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js
|
|
159335
159339
|
var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159336
159340
|
var Alias = require_Alias();
|
|
159337
159341
|
var identity = require_identity();
|
|
@@ -159422,7 +159426,7 @@ var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159422
159426
|
exports.composeNode = composeNode;
|
|
159423
159427
|
}));
|
|
159424
159428
|
//#endregion
|
|
159425
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159429
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js
|
|
159426
159430
|
var require_compose_doc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159427
159431
|
var Document = require_Document();
|
|
159428
159432
|
var composeNode = require_compose_node();
|
|
@@ -159464,7 +159468,7 @@ var require_compose_doc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159464
159468
|
exports.composeDoc = composeDoc;
|
|
159465
159469
|
}));
|
|
159466
159470
|
//#endregion
|
|
159467
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159471
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js
|
|
159468
159472
|
var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159469
159473
|
var node_process = __require("process");
|
|
159470
159474
|
var directives = require_directives();
|
|
@@ -159548,8 +159552,8 @@ var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159548
159552
|
}
|
|
159549
159553
|
}
|
|
159550
159554
|
if (afterDoc) {
|
|
159551
|
-
|
|
159552
|
-
|
|
159555
|
+
for (let i = 0; i < this.errors.length; ++i) doc.errors.push(this.errors[i]);
|
|
159556
|
+
for (let i = 0; i < this.warnings.length; ++i) doc.warnings.push(this.warnings[i]);
|
|
159553
159557
|
} else {
|
|
159554
159558
|
doc.errors = this.errors;
|
|
159555
159559
|
doc.warnings = this.warnings;
|
|
@@ -159662,7 +159666,7 @@ var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159662
159666
|
exports.Composer = Composer;
|
|
159663
159667
|
}));
|
|
159664
159668
|
//#endregion
|
|
159665
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159669
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js
|
|
159666
159670
|
var require_cst_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159667
159671
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
159668
159672
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -159929,7 +159933,7 @@ var require_cst_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159929
159933
|
exports.setScalarValue = setScalarValue;
|
|
159930
159934
|
}));
|
|
159931
159935
|
//#endregion
|
|
159932
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159936
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js
|
|
159933
159937
|
var require_cst_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159934
159938
|
/**
|
|
159935
159939
|
* Stringify a CST document, token, or collection item
|
|
@@ -159980,7 +159984,7 @@ var require_cst_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159980
159984
|
exports.stringify = stringify;
|
|
159981
159985
|
}));
|
|
159982
159986
|
//#endregion
|
|
159983
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159987
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js
|
|
159984
159988
|
var require_cst_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159985
159989
|
const BREAK = Symbol("break visit");
|
|
159986
159990
|
const SKIP = Symbol("skip children");
|
|
@@ -160071,7 +160075,7 @@ var require_cst_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160071
160075
|
exports.visit = visit;
|
|
160072
160076
|
}));
|
|
160073
160077
|
//#endregion
|
|
160074
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
160078
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js
|
|
160075
160079
|
var require_cst = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
160076
160080
|
var cstScalar = require_cst_scalar();
|
|
160077
160081
|
var cstStringify = require_cst_stringify();
|
|
@@ -160150,7 +160154,7 @@ var require_cst = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160150
160154
|
exports.tokenType = tokenType;
|
|
160151
160155
|
}));
|
|
160152
160156
|
//#endregion
|
|
160153
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
160157
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js
|
|
160154
160158
|
var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
160155
160159
|
var cst = require_cst();
|
|
160156
160160
|
function isEmpty(ch) {
|
|
@@ -160364,7 +160368,7 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160364
160368
|
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
|
160365
160369
|
this.indentNext = this.indentValue + 1;
|
|
160366
160370
|
this.indentValue += n;
|
|
160367
|
-
return
|
|
160371
|
+
return "block-start";
|
|
160368
160372
|
}
|
|
160369
160373
|
return "doc";
|
|
160370
160374
|
}
|
|
@@ -160610,22 +160614,34 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160610
160614
|
return 0;
|
|
160611
160615
|
}
|
|
160612
160616
|
*pushIndicators() {
|
|
160613
|
-
|
|
160614
|
-
|
|
160615
|
-
|
|
160616
|
-
|
|
160617
|
-
|
|
160618
|
-
|
|
160619
|
-
|
|
160620
|
-
|
|
160621
|
-
|
|
160622
|
-
|
|
160623
|
-
|
|
160624
|
-
|
|
160617
|
+
let n = 0;
|
|
160618
|
+
loop: while (true) {
|
|
160619
|
+
switch (this.charAt(0)) {
|
|
160620
|
+
case "!":
|
|
160621
|
+
n += yield* this.pushTag();
|
|
160622
|
+
n += yield* this.pushSpaces(true);
|
|
160623
|
+
continue loop;
|
|
160624
|
+
case "&":
|
|
160625
|
+
n += yield* this.pushUntil(isNotAnchorChar);
|
|
160626
|
+
n += yield* this.pushSpaces(true);
|
|
160627
|
+
continue loop;
|
|
160628
|
+
case "-":
|
|
160629
|
+
case "?":
|
|
160630
|
+
case ":": {
|
|
160631
|
+
const inFlow = this.flowLevel > 0;
|
|
160632
|
+
const ch1 = this.charAt(1);
|
|
160633
|
+
if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
|
|
160634
|
+
if (!inFlow) this.indentNext = this.indentValue + 1;
|
|
160635
|
+
else if (this.flowKey) this.flowKey = false;
|
|
160636
|
+
n += yield* this.pushCount(1);
|
|
160637
|
+
n += yield* this.pushSpaces(true);
|
|
160638
|
+
continue loop;
|
|
160639
|
+
}
|
|
160625
160640
|
}
|
|
160626
160641
|
}
|
|
160642
|
+
break loop;
|
|
160627
160643
|
}
|
|
160628
|
-
return
|
|
160644
|
+
return n;
|
|
160629
160645
|
}
|
|
160630
160646
|
*pushTag() {
|
|
160631
160647
|
if (this.charAt(1) === "<") {
|
|
@@ -160671,7 +160687,7 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160671
160687
|
exports.Lexer = Lexer;
|
|
160672
160688
|
}));
|
|
160673
160689
|
//#endregion
|
|
160674
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
160690
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js
|
|
160675
160691
|
var require_line_counter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
160676
160692
|
/**
|
|
160677
160693
|
* Tracks newlines during parsing in order to provide an efficient API for
|
|
@@ -160718,7 +160734,7 @@ var require_line_counter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160718
160734
|
exports.LineCounter = LineCounter;
|
|
160719
160735
|
}));
|
|
160720
160736
|
//#endregion
|
|
160721
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
160737
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js
|
|
160722
160738
|
var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
160723
160739
|
var node_process = __require("process");
|
|
160724
160740
|
var cst = require_cst();
|
|
@@ -160772,15 +160788,19 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160772
160788
|
while (prev[++i]?.type === "space");
|
|
160773
160789
|
return prev.splice(i, prev.length);
|
|
160774
160790
|
}
|
|
160791
|
+
function arrayPushArray(target, source) {
|
|
160792
|
+
if (source.length < 1e5) Array.prototype.push.apply(target, source);
|
|
160793
|
+
else for (let i = 0; i < source.length; ++i) target.push(source[i]);
|
|
160794
|
+
}
|
|
160775
160795
|
function fixFlowSeqItems(fc) {
|
|
160776
160796
|
if (fc.start.type === "flow-seq-start") {
|
|
160777
160797
|
for (const it of fc.items) if (it.sep && !it.value && !includesToken(it.start, "explicit-key-ind") && !includesToken(it.sep, "map-value-ind")) {
|
|
160778
160798
|
if (it.key) it.value = it.key;
|
|
160779
160799
|
delete it.key;
|
|
160780
160800
|
if (isFlowToken(it.value)) {
|
|
160781
|
-
if (it.value.end)
|
|
160801
|
+
if (it.value.end) arrayPushArray(it.value.end, it.sep);
|
|
160782
160802
|
else it.value.end = it.sep;
|
|
160783
|
-
} else
|
|
160803
|
+
} else arrayPushArray(it.start, it.sep);
|
|
160784
160804
|
delete it.sep;
|
|
160785
160805
|
}
|
|
160786
160806
|
}
|
|
@@ -161152,7 +161172,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
161152
161172
|
if (this.atIndentedComment(it.start, map.indent)) {
|
|
161153
161173
|
const end = map.items[map.items.length - 2]?.value?.end;
|
|
161154
161174
|
if (Array.isArray(end)) {
|
|
161155
|
-
|
|
161175
|
+
arrayPushArray(end, it.start);
|
|
161156
161176
|
end.push(this.sourceToken);
|
|
161157
161177
|
map.items.pop();
|
|
161158
161178
|
return;
|
|
@@ -161352,7 +161372,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
161352
161372
|
if (this.atIndentedComment(it.start, seq.indent)) {
|
|
161353
161373
|
const end = seq.items[seq.items.length - 2]?.value?.end;
|
|
161354
161374
|
if (Array.isArray(end)) {
|
|
161355
|
-
|
|
161375
|
+
arrayPushArray(end, it.start);
|
|
161356
161376
|
end.push(this.sourceToken);
|
|
161357
161377
|
seq.items.pop();
|
|
161358
161378
|
return;
|
|
@@ -161580,7 +161600,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
161580
161600
|
exports.Parser = Parser;
|
|
161581
161601
|
}));
|
|
161582
161602
|
//#endregion
|
|
161583
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
161603
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js
|
|
161584
161604
|
var require_public_api = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
161585
161605
|
var composer = require_composer();
|
|
161586
161606
|
var Document = require_Document();
|
|
@@ -161669,7 +161689,7 @@ var require_public_api = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
161669
161689
|
exports.stringify = stringify;
|
|
161670
161690
|
}));
|
|
161671
161691
|
//#endregion
|
|
161672
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
161692
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js
|
|
161673
161693
|
var require_dist$5 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
161674
161694
|
var composer = require_composer();
|
|
161675
161695
|
var Document = require_Document();
|
|
@@ -170085,6 +170105,42 @@ function yamlAttributeHierarchyToDeclarative(input) {
|
|
|
170085
170105
|
};
|
|
170086
170106
|
}
|
|
170087
170107
|
//#endregion
|
|
170108
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-code-convertors@file+..+..+..+sdk+libs+sdk-code-convertors_debug@4.4.3/node_modules/@gooddata/sdk-code-convertors/esm/to/yamlDocumentsToDeclarativeWorkspace.js
|
|
170109
|
+
/**
|
|
170110
|
+
* Converts the entities of one workspace to its declarative model and stores the declarative form
|
|
170111
|
+
* of each entity in its `declarative` property.
|
|
170112
|
+
*
|
|
170113
|
+
* @internal
|
|
170114
|
+
*/
|
|
170115
|
+
function yamlEntitiesToDeclarativeWorkspace(entities, { dataSourceId } = {}) {
|
|
170116
|
+
const convert = (types, toDeclarative) => entities.filter((entity) => types.includes(entity.type)).map((entity) => {
|
|
170117
|
+
const declarative = toDeclarative(entity.data);
|
|
170118
|
+
entity.declarative = declarative;
|
|
170119
|
+
return declarative;
|
|
170120
|
+
});
|
|
170121
|
+
const dashboards = convert(DashboardTypes$1, (dashboard) => yamlDashboardToDeclarative(entities, dashboard));
|
|
170122
|
+
return {
|
|
170123
|
+
ldm: {
|
|
170124
|
+
datasets: convert(DatasetTypes$2, (dataset) => yamlDatasetToDeclarative(entities, dataset, dataSourceId)),
|
|
170125
|
+
dateInstances: convert(DateDatasetTypes$2, yamlDateDatesetToDeclarative)
|
|
170126
|
+
},
|
|
170127
|
+
analytics: {
|
|
170128
|
+
metrics: convert(MetricTypes$1, yamlMetricToDeclarative),
|
|
170129
|
+
parameters: convert(ParameterTypes$1, yamlParameterToDeclarative),
|
|
170130
|
+
computedAttributes: convert(ComputedAttributeTypes$1, yamlComputedAttributeToDeclarative),
|
|
170131
|
+
visualizationObjects: convert(VisualisationsTypes, (visualisation) => yamlVisualisationToDeclarative(entities, visualisation)),
|
|
170132
|
+
analyticalDashboards: dashboards.map(({ dashboard }) => dashboard),
|
|
170133
|
+
filterContexts: dashboards.flatMap(dashboardFilterContexts),
|
|
170134
|
+
dashboardPlugins: convert(PluginTypes$1, yamlPluginToDeclarative),
|
|
170135
|
+
attributeHierarchies: convert(AttributeHierarchyTypes$1, yamlAttributeHierarchyToDeclarative)
|
|
170136
|
+
}
|
|
170137
|
+
};
|
|
170138
|
+
}
|
|
170139
|
+
function dashboardFilterContexts({ filterContext, tabFilterContexts = [] }) {
|
|
170140
|
+
const contexts = filterContext ? [filterContext, ...tabFilterContexts] : tabFilterContexts;
|
|
170141
|
+
return contexts.filter((context, index) => contexts.findIndex(({ id }) => id === context.id) === index);
|
|
170142
|
+
}
|
|
170143
|
+
//#endregion
|
|
170088
170144
|
//#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-code-convertors@file+..+..+..+sdk+libs+sdk-code-convertors_debug@4.4.3/node_modules/@gooddata/sdk-code-convertors/esm/from/declarativeDatasetToYaml.js
|
|
170089
170145
|
function processDeclarativeLabel(dataset, label, tablesMap, profile) {
|
|
170090
170146
|
const map = new import_dist$5.YAMLMap();
|
|
@@ -171719,6 +171775,7 @@ function buildFilters(entities, filters_by) {
|
|
|
171719
171775
|
to: filter.to,
|
|
171720
171776
|
...dateFilterEmptyValueHandling(filter)
|
|
171721
171777
|
} });
|
|
171778
|
+
if (isDateFilter$1(filter) && filter.with) filters.push(...buildFilters(entities, filter.with));
|
|
171722
171779
|
if (isPositiveAttributeFilter(filter)) filters.push({ positiveAttributeFilter: {
|
|
171723
171780
|
label: createIdentifier(filter.using),
|
|
171724
171781
|
in: { values: parseDateValues(entities, filter.using, filter.state?.include ?? []) }
|
|
@@ -171808,7 +171865,8 @@ function buildFilters(entities, filters_by) {
|
|
|
171808
171865
|
measures: [createIdentifier(filter.using) || createLocalIdentifier(filter.using)],
|
|
171809
171866
|
...filter.attribute ? { dimensionality: [createIdentifier(filter.attribute) || createLocalIdentifier(filter.attribute)] } : {},
|
|
171810
171867
|
operator: filter.top === void 0 ? "BOTTOM" : "TOP",
|
|
171811
|
-
value: filter.top === void 0 ? filter.bottom : filter.top
|
|
171868
|
+
value: filter.top === void 0 ? filter.bottom : filter.top,
|
|
171869
|
+
...filter.strict_limit_of_rows === void 0 ? {} : { strictLimitOfRows: filter.strict_limit_of_rows }
|
|
171812
171870
|
} });
|
|
171813
171871
|
});
|
|
171814
171872
|
return filters;
|
|
@@ -209669,7 +209727,7 @@ async function open(state, emitter, file) {
|
|
|
209669
209727
|
//#endregion
|
|
209670
209728
|
//#region ../code/package.json
|
|
209671
209729
|
var name = "@gooddata/code";
|
|
209672
|
-
var version = "0.64.0-alpha.
|
|
209730
|
+
var version = "0.64.0-alpha.3";
|
|
209673
209731
|
//#endregion
|
|
209674
209732
|
//#region ../code/esm/services/server/client.js
|
|
209675
209733
|
function getApiClient$1(profile, { packageName, packageVersion }) {
|
|
@@ -215322,9 +215380,8 @@ function initializeServices(state, options) {
|
|
|
215322
215380
|
async function toDeclarative(store, basePath, profile, { experimentalFeatures: _experimentalFeatures = {}, ...restOpts } = {}) {
|
|
215323
215381
|
const { mode, related } = asDefaultFileMode(restOpts);
|
|
215324
215382
|
const entities = loadAllEntities(getRoots(store.memory, mode, related ?? false), basePath);
|
|
215325
|
-
const { ws } = createDeclarativeWorkspaceModel(entities, profile);
|
|
215326
215383
|
return {
|
|
215327
|
-
ws,
|
|
215384
|
+
ws: yamlEntitiesToDeclarativeWorkspace(entities, { dataSourceId: profile.data_source }),
|
|
215328
215385
|
entities
|
|
215329
215386
|
};
|
|
215330
215387
|
}
|
|
@@ -215354,75 +215411,6 @@ function loadAllEntities(roots, basePath) {
|
|
|
215354
215411
|
}
|
|
215355
215412
|
return entitiesPerRoot.flat();
|
|
215356
215413
|
}
|
|
215357
|
-
function createDeclarativeWorkspaceModel(entities, profile) {
|
|
215358
|
-
const ws = {
|
|
215359
|
-
ldm: {},
|
|
215360
|
-
analytics: {}
|
|
215361
|
-
};
|
|
215362
|
-
const datasetsEntities = entities.filter((e) => DatasetTypes$2.includes(e.type)).map((data) => {
|
|
215363
|
-
data.declarative = yamlDatasetToDeclarative(entities, data.data, profile.data_source);
|
|
215364
|
-
return data;
|
|
215365
|
-
});
|
|
215366
|
-
ws.ldm.datasets = datasetsEntities.map((d) => d.declarative);
|
|
215367
|
-
const dateInstancesEntities = entities.filter((e) => DateDatasetTypes$2.includes(e.type)).map((data) => {
|
|
215368
|
-
data.declarative = yamlDateDatesetToDeclarative(data.data);
|
|
215369
|
-
return data;
|
|
215370
|
-
});
|
|
215371
|
-
ws.ldm.dateInstances = dateInstancesEntities.map((d) => d.declarative);
|
|
215372
|
-
const metricsEntities = entities.filter((e) => MetricTypes$1.includes(e.type)).map((data) => {
|
|
215373
|
-
data.declarative = yamlMetricToDeclarative(data.data);
|
|
215374
|
-
return data;
|
|
215375
|
-
});
|
|
215376
|
-
ws.analytics.metrics = metricsEntities.map((d) => d.declarative);
|
|
215377
|
-
const parameterEntities = entities.filter((e) => ParameterTypes$1.includes(e.type)).map((data) => {
|
|
215378
|
-
data.declarative = yamlParameterToDeclarative(data.data);
|
|
215379
|
-
return data;
|
|
215380
|
-
});
|
|
215381
|
-
ws.analytics.parameters = parameterEntities.map((d) => d.declarative);
|
|
215382
|
-
const computedAttributesEntities = entities.filter((e) => ComputedAttributeTypes$1.includes(e.type)).map((data) => {
|
|
215383
|
-
data.declarative = yamlComputedAttributeToDeclarative(data.data);
|
|
215384
|
-
return data;
|
|
215385
|
-
});
|
|
215386
|
-
ws.analytics.computedAttributes = computedAttributesEntities.map((d) => d.declarative);
|
|
215387
|
-
const visualisationsEntities = entities.filter((e) => VisualisationsTypes.includes(e.type)).map((data) => {
|
|
215388
|
-
data.declarative = yamlVisualisationToDeclarative(entities, data.data);
|
|
215389
|
-
return data;
|
|
215390
|
-
});
|
|
215391
|
-
ws.analytics.visualizationObjects = visualisationsEntities.map((d) => d.declarative);
|
|
215392
|
-
const dashboardEntities = entities.filter((e) => DashboardTypes$1.includes(e.type)).map((data) => {
|
|
215393
|
-
data.declarative = yamlDashboardToDeclarative(entities, data.data);
|
|
215394
|
-
return data;
|
|
215395
|
-
});
|
|
215396
|
-
ws.analytics.analyticalDashboards = dashboardEntities.map((d) => d.declarative.dashboard);
|
|
215397
|
-
ws.analytics.filterContexts = dashboardEntities.flatMap((d) => {
|
|
215398
|
-
const declarative = d.declarative;
|
|
215399
|
-
const seen = /* @__PURE__ */ new Set();
|
|
215400
|
-
const result = [];
|
|
215401
|
-
if (declarative.filterContext) {
|
|
215402
|
-
result.push(declarative.filterContext);
|
|
215403
|
-
seen.add(declarative.filterContext.id);
|
|
215404
|
-
}
|
|
215405
|
-
for (const fc of declarative.tabFilterContexts ?? []) if (!seen.has(fc.id)) {
|
|
215406
|
-
result.push(fc);
|
|
215407
|
-
seen.add(fc.id);
|
|
215408
|
-
}
|
|
215409
|
-
return result;
|
|
215410
|
-
});
|
|
215411
|
-
const pluginEntities = entities.filter((e) => PluginTypes$1.includes(e.type)).map((data) => {
|
|
215412
|
-
data.declarative = yamlPluginToDeclarative(data.data);
|
|
215413
|
-
return data;
|
|
215414
|
-
});
|
|
215415
|
-
ws.analytics.dashboardPlugins = pluginEntities.map((d) => d.declarative);
|
|
215416
|
-
const attributeHierarchyEntities = entities.filter((e) => AttributeHierarchyTypes$1.includes(e.type)).map((data) => {
|
|
215417
|
-
data.declarative = yamlAttributeHierarchyToDeclarative(data.data);
|
|
215418
|
-
return data;
|
|
215419
|
-
});
|
|
215420
|
-
ws.analytics.attributeHierarchies = attributeHierarchyEntities.map((d) => d.declarative);
|
|
215421
|
-
return {
|
|
215422
|
-
ws,
|
|
215423
|
-
entities
|
|
215424
|
-
};
|
|
215425
|
-
}
|
|
215426
215414
|
function getRoots(memNode, mode, related) {
|
|
215427
215415
|
switch (mode) {
|
|
215428
215416
|
case "physical": return [findPhysical(memNode) || createPhysicalNode()];
|
|
@@ -237201,7 +237189,7 @@ const _CONFIG = {
|
|
|
237201
237189
|
common: {
|
|
237202
237190
|
"X-Requested-With": "XMLHttpRequest",
|
|
237203
237191
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
237204
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.
|
|
237192
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.3"
|
|
237205
237193
|
},
|
|
237206
237194
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
237207
237195
|
put: { "Content-Type": "application/json;charset=utf8" }
|
|
@@ -274937,6 +274925,26 @@ async function compileManifest(state) {
|
|
|
274937
274925
|
}
|
|
274938
274926
|
return manifestYaml;
|
|
274939
274927
|
}
|
|
274928
|
+
async function appendPrivateFile(filePath, data) {
|
|
274929
|
+
const { O_APPEND, O_CREAT, O_WRONLY, O_NOFOLLOW, O_NONBLOCK } = constants;
|
|
274930
|
+
if (O_NOFOLLOW === void 0) {
|
|
274931
|
+
if ((await fsPromise.lstat(filePath).catch((e) => {
|
|
274932
|
+
if (e.code === "ENOENT") return;
|
|
274933
|
+
throw e;
|
|
274934
|
+
}))?.isSymbolicLink()) throw new Error(`"${filePath}" is a symbolic link`);
|
|
274935
|
+
}
|
|
274936
|
+
const flags = O_APPEND | O_CREAT | O_WRONLY | (O_NOFOLLOW ?? 0) | (O_NONBLOCK ?? 0);
|
|
274937
|
+
const handle = await fsPromise.open(filePath, flags, 384);
|
|
274938
|
+
try {
|
|
274939
|
+
const stats = await handle.stat();
|
|
274940
|
+
if (!stats.isFile()) throw new Error(`"${filePath}" is not a regular file`);
|
|
274941
|
+
if (typeof process.getuid === "function" && stats.uid !== process.getuid()) throw new Error(`"${filePath}" is not owned by the current user`);
|
|
274942
|
+
if ((stats.mode & 63) !== 0) await handle.chmod(384);
|
|
274943
|
+
await handle.appendFile(data);
|
|
274944
|
+
} finally {
|
|
274945
|
+
await handle.close();
|
|
274946
|
+
}
|
|
274947
|
+
}
|
|
274940
274948
|
async function saveManifest(state, manifestYaml) {
|
|
274941
274949
|
const manifestPath = path$3.resolve(process.cwd(), manifestFileNames[0]);
|
|
274942
274950
|
debug(texts.cmd__init__debug__manifest__path(manifestPath));
|
|
@@ -274946,7 +274954,7 @@ async function saveManifest(state, manifestYaml) {
|
|
|
274946
274954
|
throw new Error([texts.cmd__init__manifest__write__error(manifestPath), e.message].join("\n"));
|
|
274947
274955
|
}
|
|
274948
274956
|
if (state.env?.path && ["created", "updated"].includes(state.env.status)) try {
|
|
274949
|
-
await
|
|
274957
|
+
await appendPrivateFile(state.env.path, `${state.env.status === "updated" ? os$1.EOL : ""}${state.token?.variable}="${state.token?.raw}"`);
|
|
274950
274958
|
} catch (e) {
|
|
274951
274959
|
throw new Error([texts.cmd__init__env__write__error(state.env.path), e.message].join("\n"));
|
|
274952
274960
|
}
|