@powerlines/plugin-automd 0.1.269 → 0.1.271

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.
Files changed (22) hide show
  1. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.cjs +23 -0
  2. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs +23 -0
  3. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs.map +1 -0
  4. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.cjs +10 -0
  5. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs +11 -0
  6. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs.map +1 -0
  7. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.cjs +388 -0
  8. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs +388 -0
  9. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs.map +1 -0
  10. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.cjs +11 -0
  11. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs +12 -0
  12. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs.map +1 -0
  13. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +5 -4
  14. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +5 -4
  15. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +1 -1
  16. package/package.json +5 -5
  17. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.cjs +0 -23
  18. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs +0 -23
  19. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs.map +0 -1
  20. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.cjs +0 -405
  21. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs +0 -405
  22. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs.map +0 -1
@@ -0,0 +1,23 @@
1
+
2
+ //#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs
3
+ const t = Symbol.for(`__confbox_fmt__`), n = /^(\s+)/, r = /(\s+)$/;
4
+ function i(e, t$1 = {}) {
5
+ return {
6
+ sample: t$1.indent === void 0 && t$1.preserveIndentation !== !1 && e.slice(0, t$1?.sampleSize || 1024),
7
+ whiteSpace: t$1.preserveWhitespace === !1 ? void 0 : {
8
+ start: n.exec(e)?.[0] || ``,
9
+ end: r.exec(e)?.[0] || ``
10
+ }
11
+ };
12
+ }
13
+ function a(e, n$1, r$1) {
14
+ !n$1 || typeof n$1 != `object` || Object.defineProperty(n$1, t, {
15
+ enumerable: !1,
16
+ configurable: !0,
17
+ writable: !0,
18
+ value: i(e, r$1)
19
+ });
20
+ }
21
+
22
+ //#endregion
23
+ exports.a = a;
@@ -0,0 +1,23 @@
1
+ //#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs
2
+ const t = Symbol.for(`__confbox_fmt__`), n = /^(\s+)/, r = /(\s+)$/;
3
+ function i(e, t$1 = {}) {
4
+ return {
5
+ sample: t$1.indent === void 0 && t$1.preserveIndentation !== !1 && e.slice(0, t$1?.sampleSize || 1024),
6
+ whiteSpace: t$1.preserveWhitespace === !1 ? void 0 : {
7
+ start: n.exec(e)?.[0] || ``,
8
+ end: r.exec(e)?.[0] || ``
9
+ }
10
+ };
11
+ }
12
+ function a(e, n$1, r$1) {
13
+ !n$1 || typeof n$1 != `object` || Object.defineProperty(n$1, t, {
14
+ enumerable: !1,
15
+ configurable: !0,
16
+ writable: !0,
17
+ value: i(e, r$1)
18
+ });
19
+ }
20
+
21
+ //#endregion
22
+ export { a };
23
+ //# sourceMappingURL=_format.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_format.mjs","names":["t","n","r"],"sources":["../../../../../../../../../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs"],"sourcesContent":["import{t as e}from\"./libs/detect-indent.mjs\";const t=Symbol.for(`__confbox_fmt__`),n=/^(\\s+)/,r=/(\\s+)$/;function i(e,t={}){return{sample:t.indent===void 0&&t.preserveIndentation!==!1&&e.slice(0,t?.sampleSize||1024),whiteSpace:t.preserveWhitespace===!1?void 0:{start:n.exec(e)?.[0]||``,end:r.exec(e)?.[0]||``}}}function a(e,n,r){!n||typeof n!=`object`||Object.defineProperty(n,t,{enumerable:!1,configurable:!0,writable:!0,value:i(e,r)})}function o(n,r){if(!n||typeof n!=`object`||!(t in n))return{indent:r?.indent??2,whitespace:{start:``,end:``}};let i=n[t];return{indent:r?.indent||e(i.sample||``).indent,whitespace:i.whiteSpace||{start:``,end:``}}}export{a as n,o as t};"],"x_google_ignoreList":[0],"mappings":";AAA6C,MAAM,IAAE,OAAO,IAAI,kBAAkB,EAAC,IAAE,UAAS,IAAE;AAAS,SAAS,EAAE,GAAE,MAAE,EAAE,EAAC;AAAC,QAAM;EAAC,QAAOA,IAAE,WAAS,KAAK,KAAGA,IAAE,wBAAsB,CAAC,KAAG,EAAE,MAAM,GAAEA,KAAG,cAAY,KAAK;EAAC,YAAWA,IAAE,uBAAqB,CAAC,IAAE,KAAK,IAAE;GAAC,OAAM,EAAE,KAAK,EAAE,GAAG,MAAI;GAAG,KAAI,EAAE,KAAK,EAAE,GAAG,MAAI;GAAG;EAAC;;AAAC,SAAS,EAAE,GAAE,KAAE,KAAE;AAAC,EAACC,OAAG,OAAOA,OAAG,YAAU,OAAO,eAAeA,KAAE,GAAE;EAAC,YAAW,CAAC;EAAE,cAAa,CAAC;EAAE,UAAS,CAAC;EAAE,OAAM,EAAE,GAAEC,IAAE;EAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ const require__format = require('./_format.cjs');
2
+
3
+ //#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs
4
+ function n(t, n$1) {
5
+ let r = JSON.parse(t, n$1?.reviver);
6
+ return require__format.a(t, r, n$1), r;
7
+ }
8
+
9
+ //#endregion
10
+ exports.n = n;
@@ -0,0 +1,11 @@
1
+ import { a } from "./_format.mjs";
2
+
3
+ //#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs
4
+ function n(t, n$1) {
5
+ let r = JSON.parse(t, n$1?.reviver);
6
+ return a(t, r, n$1), r;
7
+ }
8
+
9
+ //#endregion
10
+ export { n };
11
+ //# sourceMappingURL=json.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.mjs","names":["n","e"],"sources":["../../../../../../../../../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs"],"sourcesContent":["import{n as e,t}from\"./_format.mjs\";function n(t,n){let r=JSON.parse(t,n?.reviver);return e(t,r,n),r}function r(e,n){let r=t(e,n),i=JSON.stringify(e,n?.replacer,r.indent);return r.whitespace.start+i+r.whitespace.end}export{r as n,n as t};"],"x_google_ignoreList":[0],"mappings":";;;AAAoC,SAAS,EAAE,GAAE,KAAE;CAAC,IAAI,IAAE,KAAK,MAAM,GAAEA,KAAG,QAAQ;AAAC,QAAOC,EAAE,GAAE,GAAED,IAAE,EAAC"}
@@ -0,0 +1,388 @@
1
+
2
+ //#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs
3
+ function e(e$1, i$1 = !1) {
4
+ let a$1 = e$1.length, o$1 = 0, s = ``, c = 0, l = 16, u = 0, d$1 = 0, f$1 = 0, p$1 = 0, m$1 = 0;
5
+ function h$1(t$1, n$1) {
6
+ let r$1 = 0, i$2 = 0;
7
+ for (; r$1 < t$1 || !n$1;) {
8
+ let t$2 = e$1.charCodeAt(o$1);
9
+ if (t$2 >= 48 && t$2 <= 57) i$2 = i$2 * 16 + t$2 - 48;
10
+ else if (t$2 >= 65 && t$2 <= 70) i$2 = i$2 * 16 + t$2 - 65 + 10;
11
+ else if (t$2 >= 97 && t$2 <= 102) i$2 = i$2 * 16 + t$2 - 97 + 10;
12
+ else break;
13
+ o$1++, r$1++;
14
+ }
15
+ return r$1 < t$1 && (i$2 = -1), i$2;
16
+ }
17
+ function g(e$2) {
18
+ o$1 = e$2, s = ``, c = 0, l = 16, m$1 = 0;
19
+ }
20
+ function _() {
21
+ let t$1 = o$1;
22
+ if (e$1.charCodeAt(o$1) === 48) o$1++;
23
+ else for (o$1++; o$1 < e$1.length && r(e$1.charCodeAt(o$1));) o$1++;
24
+ if (o$1 < e$1.length && e$1.charCodeAt(o$1) === 46) if (o$1++, o$1 < e$1.length && r(e$1.charCodeAt(o$1))) for (o$1++; o$1 < e$1.length && r(e$1.charCodeAt(o$1));) o$1++;
25
+ else return m$1 = 3, e$1.substring(t$1, o$1);
26
+ let n$1 = o$1;
27
+ if (o$1 < e$1.length && (e$1.charCodeAt(o$1) === 69 || e$1.charCodeAt(o$1) === 101)) if (o$1++, (o$1 < e$1.length && e$1.charCodeAt(o$1) === 43 || e$1.charCodeAt(o$1) === 45) && o$1++, o$1 < e$1.length && r(e$1.charCodeAt(o$1))) {
28
+ for (o$1++; o$1 < e$1.length && r(e$1.charCodeAt(o$1));) o$1++;
29
+ n$1 = o$1;
30
+ } else m$1 = 3;
31
+ return e$1.substring(t$1, n$1);
32
+ }
33
+ function v() {
34
+ let t$1 = ``, r$1 = o$1;
35
+ for (;;) {
36
+ if (o$1 >= a$1) {
37
+ t$1 += e$1.substring(r$1, o$1), m$1 = 2;
38
+ break;
39
+ }
40
+ let i$2 = e$1.charCodeAt(o$1);
41
+ if (i$2 === 34) {
42
+ t$1 += e$1.substring(r$1, o$1), o$1++;
43
+ break;
44
+ }
45
+ if (i$2 === 92) {
46
+ if (t$1 += e$1.substring(r$1, o$1), o$1++, o$1 >= a$1) {
47
+ m$1 = 2;
48
+ break;
49
+ }
50
+ switch (e$1.charCodeAt(o$1++)) {
51
+ case 34:
52
+ t$1 += `"`;
53
+ break;
54
+ case 92:
55
+ t$1 += `\\`;
56
+ break;
57
+ case 47:
58
+ t$1 += `/`;
59
+ break;
60
+ case 98:
61
+ t$1 += `\b`;
62
+ break;
63
+ case 102:
64
+ t$1 += `\f`;
65
+ break;
66
+ case 110:
67
+ t$1 += `
68
+ `;
69
+ break;
70
+ case 114:
71
+ t$1 += `\r`;
72
+ break;
73
+ case 116:
74
+ t$1 += ` `;
75
+ break;
76
+ case 117:
77
+ let e$2 = h$1(4, !0);
78
+ e$2 >= 0 ? t$1 += String.fromCharCode(e$2) : m$1 = 4;
79
+ break;
80
+ default: m$1 = 5;
81
+ }
82
+ r$1 = o$1;
83
+ continue;
84
+ }
85
+ if (i$2 >= 0 && i$2 <= 31) if (n(i$2)) {
86
+ t$1 += e$1.substring(r$1, o$1), m$1 = 2;
87
+ break;
88
+ } else m$1 = 6;
89
+ o$1++;
90
+ }
91
+ return t$1;
92
+ }
93
+ function y() {
94
+ if (s = ``, m$1 = 0, c = o$1, d$1 = u, p$1 = f$1, o$1 >= a$1) return c = a$1, l = 17;
95
+ let i$2 = e$1.charCodeAt(o$1);
96
+ if (t(i$2)) {
97
+ do
98
+ o$1++, s += String.fromCharCode(i$2), i$2 = e$1.charCodeAt(o$1);
99
+ while (t(i$2));
100
+ return l = 15;
101
+ }
102
+ if (n(i$2)) return o$1++, s += String.fromCharCode(i$2), i$2 === 13 && e$1.charCodeAt(o$1) === 10 && (o$1++, s += `
103
+ `), u++, f$1 = o$1, l = 14;
104
+ switch (i$2) {
105
+ case 123: return o$1++, l = 1;
106
+ case 125: return o$1++, l = 2;
107
+ case 91: return o$1++, l = 3;
108
+ case 93: return o$1++, l = 4;
109
+ case 58: return o$1++, l = 6;
110
+ case 44: return o$1++, l = 5;
111
+ case 34: return o$1++, s = v(), l = 10;
112
+ case 47:
113
+ let t$1 = o$1 - 1;
114
+ if (e$1.charCodeAt(o$1 + 1) === 47) {
115
+ for (o$1 += 2; o$1 < a$1 && !n(e$1.charCodeAt(o$1));) o$1++;
116
+ return s = e$1.substring(t$1, o$1), l = 12;
117
+ }
118
+ if (e$1.charCodeAt(o$1 + 1) === 42) {
119
+ o$1 += 2;
120
+ let r$1 = a$1 - 1, i$3 = !1;
121
+ for (; o$1 < r$1;) {
122
+ let t$2 = e$1.charCodeAt(o$1);
123
+ if (t$2 === 42 && e$1.charCodeAt(o$1 + 1) === 47) {
124
+ o$1 += 2, i$3 = !0;
125
+ break;
126
+ }
127
+ o$1++, n(t$2) && (t$2 === 13 && e$1.charCodeAt(o$1) === 10 && o$1++, u++, f$1 = o$1);
128
+ }
129
+ return i$3 || (o$1++, m$1 = 1), s = e$1.substring(t$1, o$1), l = 13;
130
+ }
131
+ return s += String.fromCharCode(i$2), o$1++, l = 16;
132
+ case 45: if (s += String.fromCharCode(i$2), o$1++, o$1 === a$1 || !r(e$1.charCodeAt(o$1))) return l = 16;
133
+ case 48:
134
+ case 49:
135
+ case 50:
136
+ case 51:
137
+ case 52:
138
+ case 53:
139
+ case 54:
140
+ case 55:
141
+ case 56:
142
+ case 57: return s += _(), l = 11;
143
+ default:
144
+ for (; o$1 < a$1 && b(i$2);) o$1++, i$2 = e$1.charCodeAt(o$1);
145
+ if (c !== o$1) {
146
+ switch (s = e$1.substring(c, o$1), s) {
147
+ case `true`: return l = 8;
148
+ case `false`: return l = 9;
149
+ case `null`: return l = 7;
150
+ }
151
+ return l = 16;
152
+ }
153
+ return s += String.fromCharCode(i$2), o$1++, l = 16;
154
+ }
155
+ }
156
+ function b(e$2) {
157
+ if (t(e$2) || n(e$2)) return !1;
158
+ switch (e$2) {
159
+ case 125:
160
+ case 93:
161
+ case 123:
162
+ case 91:
163
+ case 34:
164
+ case 58:
165
+ case 44:
166
+ case 47: return !1;
167
+ }
168
+ return !0;
169
+ }
170
+ function x() {
171
+ let e$2;
172
+ do
173
+ e$2 = y();
174
+ while (e$2 >= 12 && e$2 <= 15);
175
+ return e$2;
176
+ }
177
+ return {
178
+ setPosition: g,
179
+ getPosition: () => o$1,
180
+ scan: i$1 ? x : y,
181
+ getToken: () => l,
182
+ getTokenValue: () => s,
183
+ getTokenOffset: () => c,
184
+ getTokenLength: () => o$1 - c,
185
+ getTokenStartLine: () => d$1,
186
+ getTokenStartCharacter: () => c - p$1,
187
+ getTokenError: () => m$1
188
+ };
189
+ }
190
+ function t(e$1) {
191
+ return e$1 === 32 || e$1 === 9;
192
+ }
193
+ function n(e$1) {
194
+ return e$1 === 10 || e$1 === 13;
195
+ }
196
+ function r(e$1) {
197
+ return e$1 >= 48 && e$1 <= 57;
198
+ }
199
+ var i;
200
+ (function(e$1) {
201
+ e$1[e$1.lineFeed = 10] = `lineFeed`, e$1[e$1.carriageReturn = 13] = `carriageReturn`, e$1[e$1.space = 32] = `space`, e$1[e$1._0 = 48] = `_0`, e$1[e$1._1 = 49] = `_1`, e$1[e$1._2 = 50] = `_2`, e$1[e$1._3 = 51] = `_3`, e$1[e$1._4 = 52] = `_4`, e$1[e$1._5 = 53] = `_5`, e$1[e$1._6 = 54] = `_6`, e$1[e$1._7 = 55] = `_7`, e$1[e$1._8 = 56] = `_8`, e$1[e$1._9 = 57] = `_9`, e$1[e$1.a = 97] = `a`, e$1[e$1.b = 98] = `b`, e$1[e$1.c = 99] = `c`, e$1[e$1.d = 100] = `d`, e$1[e$1.e = 101] = `e`, e$1[e$1.f = 102] = `f`, e$1[e$1.g = 103] = `g`, e$1[e$1.h = 104] = `h`, e$1[e$1.i = 105] = `i`, e$1[e$1.j = 106] = `j`, e$1[e$1.k = 107] = `k`, e$1[e$1.l = 108] = `l`, e$1[e$1.m = 109] = `m`, e$1[e$1.n = 110] = `n`, e$1[e$1.o = 111] = `o`, e$1[e$1.p = 112] = `p`, e$1[e$1.q = 113] = `q`, e$1[e$1.r = 114] = `r`, e$1[e$1.s = 115] = `s`, e$1[e$1.t = 116] = `t`, e$1[e$1.u = 117] = `u`, e$1[e$1.v = 118] = `v`, e$1[e$1.w = 119] = `w`, e$1[e$1.x = 120] = `x`, e$1[e$1.y = 121] = `y`, e$1[e$1.z = 122] = `z`, e$1[e$1.A = 65] = `A`, e$1[e$1.B = 66] = `B`, e$1[e$1.C = 67] = `C`, e$1[e$1.D = 68] = `D`, e$1[e$1.E = 69] = `E`, e$1[e$1.F = 70] = `F`, e$1[e$1.G = 71] = `G`, e$1[e$1.H = 72] = `H`, e$1[e$1.I = 73] = `I`, e$1[e$1.J = 74] = `J`, e$1[e$1.K = 75] = `K`, e$1[e$1.L = 76] = `L`, e$1[e$1.M = 77] = `M`, e$1[e$1.N = 78] = `N`, e$1[e$1.O = 79] = `O`, e$1[e$1.P = 80] = `P`, e$1[e$1.Q = 81] = `Q`, e$1[e$1.R = 82] = `R`, e$1[e$1.S = 83] = `S`, e$1[e$1.T = 84] = `T`, e$1[e$1.U = 85] = `U`, e$1[e$1.V = 86] = `V`, e$1[e$1.W = 87] = `W`, e$1[e$1.X = 88] = `X`, e$1[e$1.Y = 89] = `Y`, e$1[e$1.Z = 90] = `Z`, e$1[e$1.asterisk = 42] = `asterisk`, e$1[e$1.backslash = 92] = `backslash`, e$1[e$1.closeBrace = 125] = `closeBrace`, e$1[e$1.closeBracket = 93] = `closeBracket`, e$1[e$1.colon = 58] = `colon`, e$1[e$1.comma = 44] = `comma`, e$1[e$1.dot = 46] = `dot`, e$1[e$1.doubleQuote = 34] = `doubleQuote`, e$1[e$1.minus = 45] = `minus`, e$1[e$1.openBrace = 123] = `openBrace`, e$1[e$1.openBracket = 91] = `openBracket`, e$1[e$1.plus = 43] = `plus`, e$1[e$1.slash = 47] = `slash`, e$1[e$1.formFeed = 12] = `formFeed`, e$1[e$1.tab = 9] = `tab`;
202
+ })(i ||= {}), Array(20).fill(0).map((e$1, t$1) => ` `.repeat(t$1)), Array(200).fill(0).map((e$1, t$1) => `
203
+ ` + ` `.repeat(t$1)), Array(200).fill(0).map((e$1, t$1) => `\r` + ` `.repeat(t$1)), Array(200).fill(0).map((e$1, t$1) => `\r
204
+ ` + ` `.repeat(t$1)), Array(200).fill(0).map((e$1, t$1) => `
205
+ ` + ` `.repeat(t$1)), Array(200).fill(0).map((e$1, t$1) => `\r` + ` `.repeat(t$1)), Array(200).fill(0).map((e$1, t$1) => `\r
206
+ ` + ` `.repeat(t$1));
207
+ var a;
208
+ (function(e$1) {
209
+ e$1.DEFAULT = { allowTrailingComma: !1 };
210
+ })(a ||= {});
211
+ function o(e$1, t$1 = [], n$1 = a.DEFAULT) {
212
+ let r$1 = null, i$1 = [], o$1 = [];
213
+ function s(e$2) {
214
+ Array.isArray(i$1) ? i$1.push(e$2) : r$1 !== null && (i$1[r$1] = e$2);
215
+ }
216
+ return d(e$1, {
217
+ onObjectBegin: () => {
218
+ let e$2 = {};
219
+ s(e$2), o$1.push(i$1), i$1 = e$2, r$1 = null;
220
+ },
221
+ onObjectProperty: (e$2) => {
222
+ r$1 = e$2;
223
+ },
224
+ onObjectEnd: () => {
225
+ i$1 = o$1.pop();
226
+ },
227
+ onArrayBegin: () => {
228
+ let e$2 = [];
229
+ s(e$2), o$1.push(i$1), i$1 = e$2, r$1 = null;
230
+ },
231
+ onArrayEnd: () => {
232
+ i$1 = o$1.pop();
233
+ },
234
+ onLiteralValue: s,
235
+ onError: (e$2, n$2, r$2) => {
236
+ t$1.push({
237
+ error: e$2,
238
+ offset: n$2,
239
+ length: r$2
240
+ });
241
+ }
242
+ }, n$1), i$1[0];
243
+ }
244
+ function d(t$1, n$1, r$1 = a.DEFAULT) {
245
+ let i$1 = e(t$1, !1), o$1 = [], s = 0;
246
+ function c(e$1) {
247
+ return e$1 ? () => s === 0 && e$1(i$1.getTokenOffset(), i$1.getTokenLength(), i$1.getTokenStartLine(), i$1.getTokenStartCharacter()) : () => !0;
248
+ }
249
+ function l(e$1) {
250
+ return e$1 ? (t$2) => s === 0 && e$1(t$2, i$1.getTokenOffset(), i$1.getTokenLength(), i$1.getTokenStartLine(), i$1.getTokenStartCharacter()) : () => !0;
251
+ }
252
+ function u(e$1) {
253
+ return e$1 ? (t$2) => s === 0 && e$1(t$2, i$1.getTokenOffset(), i$1.getTokenLength(), i$1.getTokenStartLine(), i$1.getTokenStartCharacter(), () => o$1.slice()) : () => !0;
254
+ }
255
+ function d$1(e$1) {
256
+ return e$1 ? () => {
257
+ s > 0 ? s++ : e$1(i$1.getTokenOffset(), i$1.getTokenLength(), i$1.getTokenStartLine(), i$1.getTokenStartCharacter(), () => o$1.slice()) === !1 && (s = 1);
258
+ } : () => !0;
259
+ }
260
+ function f$1(e$1) {
261
+ return e$1 ? () => {
262
+ s > 0 && s--, s === 0 && e$1(i$1.getTokenOffset(), i$1.getTokenLength(), i$1.getTokenStartLine(), i$1.getTokenStartCharacter());
263
+ } : () => !0;
264
+ }
265
+ let p$1 = d$1(n$1.onObjectBegin), m$1 = u(n$1.onObjectProperty), h$1 = f$1(n$1.onObjectEnd), g = d$1(n$1.onArrayBegin), _ = f$1(n$1.onArrayEnd), v = u(n$1.onLiteralValue), y = l(n$1.onSeparator), b = c(n$1.onComment), x = l(n$1.onError), S = r$1 && r$1.disallowComments, C = r$1 && r$1.allowTrailingComma;
266
+ function w() {
267
+ for (;;) {
268
+ let e$1 = i$1.scan();
269
+ switch (i$1.getTokenError()) {
270
+ case 4:
271
+ T(14);
272
+ break;
273
+ case 5:
274
+ T(15);
275
+ break;
276
+ case 3:
277
+ T(13);
278
+ break;
279
+ case 1:
280
+ S || T(11);
281
+ break;
282
+ case 2:
283
+ T(12);
284
+ break;
285
+ case 6:
286
+ T(16);
287
+ break;
288
+ }
289
+ switch (e$1) {
290
+ case 12:
291
+ case 13:
292
+ S ? T(10) : b();
293
+ break;
294
+ case 16:
295
+ T(1);
296
+ break;
297
+ case 15:
298
+ case 14: break;
299
+ default: return e$1;
300
+ }
301
+ }
302
+ }
303
+ function T(e$1, t$2 = [], n$2 = []) {
304
+ if (x(e$1), t$2.length + n$2.length > 0) {
305
+ let e$2 = i$1.getToken();
306
+ for (; e$2 !== 17;) {
307
+ if (t$2.indexOf(e$2) !== -1) {
308
+ w();
309
+ break;
310
+ } else if (n$2.indexOf(e$2) !== -1) break;
311
+ e$2 = w();
312
+ }
313
+ }
314
+ }
315
+ function E(e$1) {
316
+ let t$2 = i$1.getTokenValue();
317
+ return e$1 ? v(t$2) : (m$1(t$2), o$1.push(t$2)), w(), !0;
318
+ }
319
+ function D() {
320
+ switch (i$1.getToken()) {
321
+ case 11:
322
+ let e$1 = i$1.getTokenValue(), t$2 = Number(e$1);
323
+ isNaN(t$2) && (T(2), t$2 = 0), v(t$2);
324
+ break;
325
+ case 7:
326
+ v(null);
327
+ break;
328
+ case 8:
329
+ v(!0);
330
+ break;
331
+ case 9:
332
+ v(!1);
333
+ break;
334
+ default: return !1;
335
+ }
336
+ return w(), !0;
337
+ }
338
+ function O() {
339
+ return i$1.getToken() === 10 ? (E(!1), i$1.getToken() === 6 ? (y(`:`), w(), j() || T(4, [], [2, 5])) : T(5, [], [2, 5]), o$1.pop(), !0) : (T(3, [], [2, 5]), !1);
340
+ }
341
+ function k() {
342
+ p$1(), w();
343
+ let e$1 = !1;
344
+ for (; i$1.getToken() !== 2 && i$1.getToken() !== 17;) {
345
+ if (i$1.getToken() === 5) {
346
+ if (e$1 || T(4, [], []), y(`,`), w(), i$1.getToken() === 2 && C) break;
347
+ } else e$1 && T(6, [], []);
348
+ O() || T(4, [], [2, 5]), e$1 = !0;
349
+ }
350
+ return h$1(), i$1.getToken() === 2 ? w() : T(7, [2], []), !0;
351
+ }
352
+ function A() {
353
+ g(), w();
354
+ let e$1 = !0, t$2 = !1;
355
+ for (; i$1.getToken() !== 4 && i$1.getToken() !== 17;) {
356
+ if (i$1.getToken() === 5) {
357
+ if (t$2 || T(4, [], []), y(`,`), w(), i$1.getToken() === 4 && C) break;
358
+ } else t$2 && T(6, [], []);
359
+ e$1 ? (o$1.push(0), e$1 = !1) : o$1[o$1.length - 1]++, j() || T(4, [], [4, 5]), t$2 = !0;
360
+ }
361
+ return _(), e$1 || o$1.pop(), i$1.getToken() === 4 ? w() : T(8, [4], []), !0;
362
+ }
363
+ function j() {
364
+ switch (i$1.getToken()) {
365
+ case 3: return A();
366
+ case 1: return k();
367
+ case 10: return E(!0);
368
+ default: return D();
369
+ }
370
+ }
371
+ return w(), i$1.getToken() === 17 ? r$1.allowEmptyContent ? !0 : (T(4, [], []), !1) : j() ? (i$1.getToken() !== 17 && T(9, [], []), !0) : (T(4, [], []), !1);
372
+ }
373
+ var f;
374
+ (function(e$1) {
375
+ e$1[e$1.None = 0] = `None`, e$1[e$1.UnexpectedEndOfComment = 1] = `UnexpectedEndOfComment`, e$1[e$1.UnexpectedEndOfString = 2] = `UnexpectedEndOfString`, e$1[e$1.UnexpectedEndOfNumber = 3] = `UnexpectedEndOfNumber`, e$1[e$1.InvalidUnicode = 4] = `InvalidUnicode`, e$1[e$1.InvalidEscapeCharacter = 5] = `InvalidEscapeCharacter`, e$1[e$1.InvalidCharacter = 6] = `InvalidCharacter`;
376
+ })(f ||= {});
377
+ var p;
378
+ (function(e$1) {
379
+ e$1[e$1.OpenBraceToken = 1] = `OpenBraceToken`, e$1[e$1.CloseBraceToken = 2] = `CloseBraceToken`, e$1[e$1.OpenBracketToken = 3] = `OpenBracketToken`, e$1[e$1.CloseBracketToken = 4] = `CloseBracketToken`, e$1[e$1.CommaToken = 5] = `CommaToken`, e$1[e$1.ColonToken = 6] = `ColonToken`, e$1[e$1.NullKeyword = 7] = `NullKeyword`, e$1[e$1.TrueKeyword = 8] = `TrueKeyword`, e$1[e$1.FalseKeyword = 9] = `FalseKeyword`, e$1[e$1.StringLiteral = 10] = `StringLiteral`, e$1[e$1.NumericLiteral = 11] = `NumericLiteral`, e$1[e$1.LineCommentTrivia = 12] = `LineCommentTrivia`, e$1[e$1.BlockCommentTrivia = 13] = `BlockCommentTrivia`, e$1[e$1.LineBreakTrivia = 14] = `LineBreakTrivia`, e$1[e$1.Trivia = 15] = `Trivia`, e$1[e$1.Unknown = 16] = `Unknown`, e$1[e$1.EOF = 17] = `EOF`;
380
+ })(p ||= {});
381
+ const m = o;
382
+ var h;
383
+ (function(e$1) {
384
+ e$1[e$1.InvalidSymbol = 1] = `InvalidSymbol`, e$1[e$1.InvalidNumberFormat = 2] = `InvalidNumberFormat`, e$1[e$1.PropertyNameExpected = 3] = `PropertyNameExpected`, e$1[e$1.ValueExpected = 4] = `ValueExpected`, e$1[e$1.ColonExpected = 5] = `ColonExpected`, e$1[e$1.CommaExpected = 6] = `CommaExpected`, e$1[e$1.CloseBraceExpected = 7] = `CloseBraceExpected`, e$1[e$1.CloseBracketExpected = 8] = `CloseBracketExpected`, e$1[e$1.EndOfFileExpected = 9] = `EndOfFileExpected`, e$1[e$1.InvalidCommentToken = 10] = `InvalidCommentToken`, e$1[e$1.UnexpectedEndOfComment = 11] = `UnexpectedEndOfComment`, e$1[e$1.UnexpectedEndOfString = 12] = `UnexpectedEndOfString`, e$1[e$1.UnexpectedEndOfNumber = 13] = `UnexpectedEndOfNumber`, e$1[e$1.InvalidUnicode = 14] = `InvalidUnicode`, e$1[e$1.InvalidEscapeCharacter = 15] = `InvalidEscapeCharacter`, e$1[e$1.InvalidCharacter = 16] = `InvalidCharacter`;
385
+ })(h ||= {});
386
+
387
+ //#endregion
388
+ exports.m = m;