rfbeam 0.2.2 → 0.3.0
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -2
- data/README.md +71 -15
- data/lib/rfbeam/kld7/device_data.rb +26 -0
- data/lib/rfbeam/kld7/parameters.rb +57 -0
- data/lib/rfbeam/version.rb +1 -1
- data/lib/rfbeam.rb +12 -11
- data/node_modules/.yarn-integrity +3 -3
- data/node_modules/@prettier/plugin-ruby/node_modules/.bin/prettier +1 -1
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/LICENSE +5945 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/README.md +109 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/bin-prettier.js +62 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/cli.js +15136 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/doc.js +1473 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-angular.mjs +2 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-babel.mjs +29 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-espree.mjs +26 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-flow.mjs +35 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-glimmer.mjs +27 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-graphql.mjs +15 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-html.mjs +36 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-markdown.mjs +76 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-meriyah.mjs +19 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-postcss.mjs +76 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-typescript.mjs +257 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-yaml.mjs +150 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/standalone.mjs +116 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/index.js +37885 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/package.json +21 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-angular.js +2 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-babel.js +29 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-espree.js +26 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-flow.js +35 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-glimmer.js +27 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-graphql.js +15 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-html.js +36 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-markdown.js +76 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-meriyah.js +19 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-postcss.js +76 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-typescript.js +257 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-yaml.js +150 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/standalone.js +116 -0
- data/node_modules/@prettier/plugin-ruby/node_modules/prettier/third-party.js +8978 -0
- data/node_modules/prettier/LICENSE +85 -60
- data/node_modules/prettier/README.md +3 -3
- data/node_modules/prettier/bin-prettier.js +3 -1
- data/node_modules/prettier/cli.js +414 -186
- data/node_modules/prettier/esm/parser-angular.mjs +1 -1
- data/node_modules/prettier/esm/parser-babel.mjs +21 -21
- data/node_modules/prettier/esm/parser-espree.mjs +20 -20
- data/node_modules/prettier/esm/parser-flow.mjs +26 -26
- data/node_modules/prettier/esm/parser-glimmer.mjs +4 -4
- data/node_modules/prettier/esm/parser-graphql.mjs +1 -1
- data/node_modules/prettier/esm/parser-html.mjs +16 -16
- data/node_modules/prettier/esm/parser-markdown.mjs +48 -48
- data/node_modules/prettier/esm/parser-meriyah.mjs +14 -14
- data/node_modules/prettier/esm/parser-postcss.mjs +57 -57
- data/node_modules/prettier/esm/parser-typescript.mjs +40 -248
- data/node_modules/prettier/esm/parser-yaml.mjs +13 -13
- data/node_modules/prettier/esm/standalone.mjs +77 -77
- data/node_modules/prettier/index.js +693 -342
- data/node_modules/prettier/package.json +1 -1
- data/node_modules/prettier/parser-babel.js +21 -21
- data/node_modules/prettier/parser-espree.js +20 -20
- data/node_modules/prettier/parser-flow.js +26 -26
- data/node_modules/prettier/parser-glimmer.js +3 -3
- data/node_modules/prettier/parser-html.js +20 -20
- data/node_modules/prettier/parser-markdown.js +47 -47
- data/node_modules/prettier/parser-meriyah.js +13 -13
- data/node_modules/prettier/parser-postcss.js +56 -56
- data/node_modules/prettier/parser-typescript.js +40 -248
- data/node_modules/prettier/parser-yaml.js +13 -13
- data/node_modules/prettier/standalone.js +73 -73
- data/node_modules/prettier/third-party.js +5 -5
- data/package.json +1 -1
- data/yarn.lock +6 -1
- metadata +37 -3
- data/rfbeam-0.2.1.gem +0 -0
@@ -97,13 +97,10 @@ var require_function_uncurry_this = __commonJS({
|
|
97
97
|
"node_modules/core-js/internals/function-uncurry-this.js"(exports2, module2) {
|
98
98
|
var NATIVE_BIND = require_function_bind_native();
|
99
99
|
var FunctionPrototype = Function.prototype;
|
100
|
-
var bind = FunctionPrototype.bind;
|
101
100
|
var call = FunctionPrototype.call;
|
102
|
-
var
|
103
|
-
module2.exports = NATIVE_BIND ? function(fn) {
|
104
|
-
return
|
105
|
-
} : function(fn) {
|
106
|
-
return fn && function() {
|
101
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
102
|
+
module2.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) {
|
103
|
+
return function() {
|
107
104
|
return call.apply(fn, arguments);
|
108
105
|
};
|
109
106
|
};
|
@@ -125,28 +122,36 @@ var require_classof_raw = __commonJS({
|
|
125
122
|
// node_modules/core-js/internals/indexed-object.js
|
126
123
|
var require_indexed_object = __commonJS({
|
127
124
|
"node_modules/core-js/internals/indexed-object.js"(exports2, module2) {
|
128
|
-
var global2 = require_global();
|
129
125
|
var uncurryThis = require_function_uncurry_this();
|
130
126
|
var fails = require_fails();
|
131
127
|
var classof = require_classof_raw();
|
132
|
-
var
|
128
|
+
var $Object = Object;
|
133
129
|
var split = uncurryThis("".split);
|
134
130
|
module2.exports = fails(function() {
|
135
|
-
return
|
131
|
+
return !$Object("z").propertyIsEnumerable(0);
|
136
132
|
}) ? function(it) {
|
137
|
-
return classof(it) == "String" ? split(it, "") :
|
138
|
-
} :
|
133
|
+
return classof(it) == "String" ? split(it, "") : $Object(it);
|
134
|
+
} : $Object;
|
135
|
+
}
|
136
|
+
});
|
137
|
+
|
138
|
+
// node_modules/core-js/internals/is-null-or-undefined.js
|
139
|
+
var require_is_null_or_undefined = __commonJS({
|
140
|
+
"node_modules/core-js/internals/is-null-or-undefined.js"(exports2, module2) {
|
141
|
+
module2.exports = function(it) {
|
142
|
+
return it === null || it === void 0;
|
143
|
+
};
|
139
144
|
}
|
140
145
|
});
|
141
146
|
|
142
147
|
// node_modules/core-js/internals/require-object-coercible.js
|
143
148
|
var require_require_object_coercible = __commonJS({
|
144
149
|
"node_modules/core-js/internals/require-object-coercible.js"(exports2, module2) {
|
145
|
-
var
|
146
|
-
var
|
150
|
+
var isNullOrUndefined = require_is_null_or_undefined();
|
151
|
+
var $TypeError = TypeError;
|
147
152
|
module2.exports = function(it) {
|
148
|
-
if (it
|
149
|
-
throw
|
153
|
+
if (isNullOrUndefined(it))
|
154
|
+
throw $TypeError("Can't call method on " + it);
|
150
155
|
return it;
|
151
156
|
};
|
152
157
|
}
|
@@ -163,10 +168,26 @@ var require_to_indexed_object = __commonJS({
|
|
163
168
|
}
|
164
169
|
});
|
165
170
|
|
171
|
+
// node_modules/core-js/internals/document-all.js
|
172
|
+
var require_document_all = __commonJS({
|
173
|
+
"node_modules/core-js/internals/document-all.js"(exports2, module2) {
|
174
|
+
var documentAll = typeof document == "object" && document.all;
|
175
|
+
var IS_HTMLDDA = typeof documentAll == "undefined" && documentAll !== void 0;
|
176
|
+
module2.exports = {
|
177
|
+
all: documentAll,
|
178
|
+
IS_HTMLDDA
|
179
|
+
};
|
180
|
+
}
|
181
|
+
});
|
182
|
+
|
166
183
|
// node_modules/core-js/internals/is-callable.js
|
167
184
|
var require_is_callable = __commonJS({
|
168
185
|
"node_modules/core-js/internals/is-callable.js"(exports2, module2) {
|
169
|
-
|
186
|
+
var $documentAll = require_document_all();
|
187
|
+
var documentAll = $documentAll.all;
|
188
|
+
module2.exports = $documentAll.IS_HTMLDDA ? function(argument) {
|
189
|
+
return typeof argument == "function" || argument === documentAll;
|
190
|
+
} : function(argument) {
|
170
191
|
return typeof argument == "function";
|
171
192
|
};
|
172
193
|
}
|
@@ -176,7 +197,11 @@ var require_is_callable = __commonJS({
|
|
176
197
|
var require_is_object = __commonJS({
|
177
198
|
"node_modules/core-js/internals/is-object.js"(exports2, module2) {
|
178
199
|
var isCallable = require_is_callable();
|
179
|
-
|
200
|
+
var $documentAll = require_document_all();
|
201
|
+
var documentAll = $documentAll.all;
|
202
|
+
module2.exports = $documentAll.IS_HTMLDDA ? function(it) {
|
203
|
+
return typeof it == "object" ? it !== null : isCallable(it) || it === documentAll;
|
204
|
+
} : function(it) {
|
180
205
|
return typeof it == "object" ? it !== null : isCallable(it);
|
181
206
|
};
|
182
207
|
}
|
@@ -239,9 +264,9 @@ var require_engine_v8_version = __commonJS({
|
|
239
264
|
}
|
240
265
|
});
|
241
266
|
|
242
|
-
// node_modules/core-js/internals/
|
243
|
-
var
|
244
|
-
"node_modules/core-js/internals/
|
267
|
+
// node_modules/core-js/internals/symbol-constructor-detection.js
|
268
|
+
var require_symbol_constructor_detection = __commonJS({
|
269
|
+
"node_modules/core-js/internals/symbol-constructor-detection.js"(exports2, module2) {
|
245
270
|
var V8_VERSION = require_engine_v8_version();
|
246
271
|
var fails = require_fails();
|
247
272
|
module2.exports = !!Object.getOwnPropertySymbols && !fails(function() {
|
@@ -254,7 +279,7 @@ var require_native_symbol = __commonJS({
|
|
254
279
|
// node_modules/core-js/internals/use-symbol-as-uid.js
|
255
280
|
var require_use_symbol_as_uid = __commonJS({
|
256
281
|
"node_modules/core-js/internals/use-symbol-as-uid.js"(exports2, module2) {
|
257
|
-
var NATIVE_SYMBOL =
|
282
|
+
var NATIVE_SYMBOL = require_symbol_constructor_detection();
|
258
283
|
module2.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == "symbol";
|
259
284
|
}
|
260
285
|
});
|
@@ -262,17 +287,16 @@ var require_use_symbol_as_uid = __commonJS({
|
|
262
287
|
// node_modules/core-js/internals/is-symbol.js
|
263
288
|
var require_is_symbol = __commonJS({
|
264
289
|
"node_modules/core-js/internals/is-symbol.js"(exports2, module2) {
|
265
|
-
var global2 = require_global();
|
266
290
|
var getBuiltIn = require_get_built_in();
|
267
291
|
var isCallable = require_is_callable();
|
268
292
|
var isPrototypeOf = require_object_is_prototype_of();
|
269
293
|
var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
|
270
|
-
var
|
294
|
+
var $Object = Object;
|
271
295
|
module2.exports = USE_SYMBOL_AS_UID ? function(it) {
|
272
296
|
return typeof it == "symbol";
|
273
297
|
} : function(it) {
|
274
298
|
var $Symbol = getBuiltIn("Symbol");
|
275
|
-
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype,
|
299
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
276
300
|
};
|
277
301
|
}
|
278
302
|
});
|
@@ -280,11 +304,10 @@ var require_is_symbol = __commonJS({
|
|
280
304
|
// node_modules/core-js/internals/try-to-string.js
|
281
305
|
var require_try_to_string = __commonJS({
|
282
306
|
"node_modules/core-js/internals/try-to-string.js"(exports2, module2) {
|
283
|
-
var
|
284
|
-
var String2 = global2.String;
|
307
|
+
var $String = String;
|
285
308
|
module2.exports = function(argument) {
|
286
309
|
try {
|
287
|
-
return
|
310
|
+
return $String(argument);
|
288
311
|
} catch (error) {
|
289
312
|
return "Object";
|
290
313
|
}
|
@@ -295,14 +318,13 @@ var require_try_to_string = __commonJS({
|
|
295
318
|
// node_modules/core-js/internals/a-callable.js
|
296
319
|
var require_a_callable = __commonJS({
|
297
320
|
"node_modules/core-js/internals/a-callable.js"(exports2, module2) {
|
298
|
-
var global2 = require_global();
|
299
321
|
var isCallable = require_is_callable();
|
300
322
|
var tryToString = require_try_to_string();
|
301
|
-
var
|
323
|
+
var $TypeError = TypeError;
|
302
324
|
module2.exports = function(argument) {
|
303
325
|
if (isCallable(argument))
|
304
326
|
return argument;
|
305
|
-
throw
|
327
|
+
throw $TypeError(tryToString(argument) + " is not a function");
|
306
328
|
};
|
307
329
|
}
|
308
330
|
});
|
@@ -311,9 +333,10 @@ var require_a_callable = __commonJS({
|
|
311
333
|
var require_get_method = __commonJS({
|
312
334
|
"node_modules/core-js/internals/get-method.js"(exports2, module2) {
|
313
335
|
var aCallable = require_a_callable();
|
336
|
+
var isNullOrUndefined = require_is_null_or_undefined();
|
314
337
|
module2.exports = function(V, P) {
|
315
338
|
var func = V[P];
|
316
|
-
return func
|
339
|
+
return isNullOrUndefined(func) ? void 0 : aCallable(func);
|
317
340
|
};
|
318
341
|
}
|
319
342
|
});
|
@@ -321,11 +344,10 @@ var require_get_method = __commonJS({
|
|
321
344
|
// node_modules/core-js/internals/ordinary-to-primitive.js
|
322
345
|
var require_ordinary_to_primitive = __commonJS({
|
323
346
|
"node_modules/core-js/internals/ordinary-to-primitive.js"(exports2, module2) {
|
324
|
-
var global2 = require_global();
|
325
347
|
var call = require_function_call();
|
326
348
|
var isCallable = require_is_callable();
|
327
349
|
var isObject = require_is_object();
|
328
|
-
var
|
350
|
+
var $TypeError = TypeError;
|
329
351
|
module2.exports = function(input, pref) {
|
330
352
|
var fn, val;
|
331
353
|
if (pref === "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input)))
|
@@ -334,7 +356,7 @@ var require_ordinary_to_primitive = __commonJS({
|
|
334
356
|
return val;
|
335
357
|
if (pref !== "string" && isCallable(fn = input.toString) && !isObject(val = call(fn, input)))
|
336
358
|
return val;
|
337
|
-
throw
|
359
|
+
throw $TypeError("Can't convert object to primitive value");
|
338
360
|
};
|
339
361
|
}
|
340
362
|
});
|
@@ -346,9 +368,9 @@ var require_is_pure = __commonJS({
|
|
346
368
|
}
|
347
369
|
});
|
348
370
|
|
349
|
-
// node_modules/core-js/internals/
|
350
|
-
var
|
351
|
-
"node_modules/core-js/internals/
|
371
|
+
// node_modules/core-js/internals/define-global-property.js
|
372
|
+
var require_define_global_property = __commonJS({
|
373
|
+
"node_modules/core-js/internals/define-global-property.js"(exports2, module2) {
|
352
374
|
var global2 = require_global();
|
353
375
|
var defineProperty = Object.defineProperty;
|
354
376
|
module2.exports = function(key, value) {
|
@@ -366,9 +388,9 @@ var require_set_global = __commonJS({
|
|
366
388
|
var require_shared_store = __commonJS({
|
367
389
|
"node_modules/core-js/internals/shared-store.js"(exports2, module2) {
|
368
390
|
var global2 = require_global();
|
369
|
-
var
|
391
|
+
var defineGlobalProperty = require_define_global_property();
|
370
392
|
var SHARED = "__core-js_shared__";
|
371
|
-
var store = global2[SHARED] ||
|
393
|
+
var store = global2[SHARED] || defineGlobalProperty(SHARED, {});
|
372
394
|
module2.exports = store;
|
373
395
|
}
|
374
396
|
});
|
@@ -381,10 +403,10 @@ var require_shared = __commonJS({
|
|
381
403
|
(module2.exports = function(key, value) {
|
382
404
|
return store[key] || (store[key] = value !== void 0 ? value : {});
|
383
405
|
})("versions", []).push({
|
384
|
-
version: "3.
|
406
|
+
version: "3.26.1",
|
385
407
|
mode: IS_PURE ? "pure" : "global",
|
386
408
|
copyright: "\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",
|
387
|
-
license: "https://github.com/zloirock/core-js/blob/v3.
|
409
|
+
license: "https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",
|
388
410
|
source: "https://github.com/zloirock/core-js"
|
389
411
|
});
|
390
412
|
}
|
@@ -393,11 +415,10 @@ var require_shared = __commonJS({
|
|
393
415
|
// node_modules/core-js/internals/to-object.js
|
394
416
|
var require_to_object = __commonJS({
|
395
417
|
"node_modules/core-js/internals/to-object.js"(exports2, module2) {
|
396
|
-
var global2 = require_global();
|
397
418
|
var requireObjectCoercible = require_require_object_coercible();
|
398
|
-
var
|
419
|
+
var $Object = Object;
|
399
420
|
module2.exports = function(argument) {
|
400
|
-
return
|
421
|
+
return $Object(requireObjectCoercible(argument));
|
401
422
|
};
|
402
423
|
}
|
403
424
|
});
|
@@ -434,7 +455,7 @@ var require_well_known_symbol = __commonJS({
|
|
434
455
|
var shared = require_shared();
|
435
456
|
var hasOwn = require_has_own_property();
|
436
457
|
var uid = require_uid();
|
437
|
-
var NATIVE_SYMBOL =
|
458
|
+
var NATIVE_SYMBOL = require_symbol_constructor_detection();
|
438
459
|
var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
|
439
460
|
var WellKnownSymbolsStore = shared("wks");
|
440
461
|
var Symbol2 = global2.Symbol;
|
@@ -459,14 +480,13 @@ var require_well_known_symbol = __commonJS({
|
|
459
480
|
// node_modules/core-js/internals/to-primitive.js
|
460
481
|
var require_to_primitive = __commonJS({
|
461
482
|
"node_modules/core-js/internals/to-primitive.js"(exports2, module2) {
|
462
|
-
var global2 = require_global();
|
463
483
|
var call = require_function_call();
|
464
484
|
var isObject = require_is_object();
|
465
485
|
var isSymbol = require_is_symbol();
|
466
486
|
var getMethod = require_get_method();
|
467
487
|
var ordinaryToPrimitive = require_ordinary_to_primitive();
|
468
488
|
var wellKnownSymbol = require_well_known_symbol();
|
469
|
-
var
|
489
|
+
var $TypeError = TypeError;
|
470
490
|
var TO_PRIMITIVE = wellKnownSymbol("toPrimitive");
|
471
491
|
module2.exports = function(input, pref) {
|
472
492
|
if (!isObject(input) || isSymbol(input))
|
@@ -479,7 +499,7 @@ var require_to_primitive = __commonJS({
|
|
479
499
|
result = call(exoticToPrim, input, pref);
|
480
500
|
if (!isObject(result) || isSymbol(result))
|
481
501
|
return result;
|
482
|
-
throw
|
502
|
+
throw $TypeError("Can't convert object to primitive value");
|
483
503
|
}
|
484
504
|
if (pref === void 0)
|
485
505
|
pref = "number";
|
@@ -505,10 +525,10 @@ var require_document_create_element = __commonJS({
|
|
505
525
|
"node_modules/core-js/internals/document-create-element.js"(exports2, module2) {
|
506
526
|
var global2 = require_global();
|
507
527
|
var isObject = require_is_object();
|
508
|
-
var
|
509
|
-
var EXISTS = isObject(
|
528
|
+
var document2 = global2.document;
|
529
|
+
var EXISTS = isObject(document2) && isObject(document2.createElement);
|
510
530
|
module2.exports = function(it) {
|
511
|
-
return EXISTS ?
|
531
|
+
return EXISTS ? document2.createElement(it) : {};
|
512
532
|
};
|
513
533
|
}
|
514
534
|
});
|
@@ -573,14 +593,13 @@ var require_v8_prototype_define_bug = __commonJS({
|
|
573
593
|
// node_modules/core-js/internals/an-object.js
|
574
594
|
var require_an_object = __commonJS({
|
575
595
|
"node_modules/core-js/internals/an-object.js"(exports2, module2) {
|
576
|
-
var global2 = require_global();
|
577
596
|
var isObject = require_is_object();
|
578
|
-
var
|
579
|
-
var
|
597
|
+
var $String = String;
|
598
|
+
var $TypeError = TypeError;
|
580
599
|
module2.exports = function(argument) {
|
581
600
|
if (isObject(argument))
|
582
601
|
return argument;
|
583
|
-
throw
|
602
|
+
throw $TypeError($String(argument) + " is not an object");
|
584
603
|
};
|
585
604
|
}
|
586
605
|
});
|
@@ -588,13 +607,12 @@ var require_an_object = __commonJS({
|
|
588
607
|
// node_modules/core-js/internals/object-define-property.js
|
589
608
|
var require_object_define_property = __commonJS({
|
590
609
|
"node_modules/core-js/internals/object-define-property.js"(exports2) {
|
591
|
-
var global2 = require_global();
|
592
610
|
var DESCRIPTORS = require_descriptors();
|
593
611
|
var IE8_DOM_DEFINE = require_ie8_dom_define();
|
594
612
|
var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug();
|
595
613
|
var anObject = require_an_object();
|
596
614
|
var toPropertyKey = require_to_property_key();
|
597
|
-
var
|
615
|
+
var $TypeError = TypeError;
|
598
616
|
var $defineProperty = Object.defineProperty;
|
599
617
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
600
618
|
var ENUMERABLE = "enumerable";
|
@@ -626,7 +644,7 @@ var require_object_define_property = __commonJS({
|
|
626
644
|
} catch (error) {
|
627
645
|
}
|
628
646
|
if ("get" in Attributes || "set" in Attributes)
|
629
|
-
throw
|
647
|
+
throw $TypeError("Accessors not supported");
|
630
648
|
if ("value" in Attributes)
|
631
649
|
O[P] = Attributes.value;
|
632
650
|
return O;
|
@@ -649,6 +667,25 @@ var require_create_non_enumerable_property = __commonJS({
|
|
649
667
|
}
|
650
668
|
});
|
651
669
|
|
670
|
+
// node_modules/core-js/internals/function-name.js
|
671
|
+
var require_function_name = __commonJS({
|
672
|
+
"node_modules/core-js/internals/function-name.js"(exports2, module2) {
|
673
|
+
var DESCRIPTORS = require_descriptors();
|
674
|
+
var hasOwn = require_has_own_property();
|
675
|
+
var FunctionPrototype = Function.prototype;
|
676
|
+
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
677
|
+
var EXISTS = hasOwn(FunctionPrototype, "name");
|
678
|
+
var PROPER = EXISTS && function something() {
|
679
|
+
}.name === "something";
|
680
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable);
|
681
|
+
module2.exports = {
|
682
|
+
EXISTS,
|
683
|
+
PROPER,
|
684
|
+
CONFIGURABLE
|
685
|
+
};
|
686
|
+
}
|
687
|
+
});
|
688
|
+
|
652
689
|
// node_modules/core-js/internals/inspect-source.js
|
653
690
|
var require_inspect_source = __commonJS({
|
654
691
|
"node_modules/core-js/internals/inspect-source.js"(exports2, module2) {
|
@@ -665,14 +702,13 @@ var require_inspect_source = __commonJS({
|
|
665
702
|
}
|
666
703
|
});
|
667
704
|
|
668
|
-
// node_modules/core-js/internals/
|
669
|
-
var
|
670
|
-
"node_modules/core-js/internals/
|
705
|
+
// node_modules/core-js/internals/weak-map-basic-detection.js
|
706
|
+
var require_weak_map_basic_detection = __commonJS({
|
707
|
+
"node_modules/core-js/internals/weak-map-basic-detection.js"(exports2, module2) {
|
671
708
|
var global2 = require_global();
|
672
709
|
var isCallable = require_is_callable();
|
673
|
-
var inspectSource = require_inspect_source();
|
674
710
|
var WeakMap2 = global2.WeakMap;
|
675
|
-
module2.exports = isCallable(WeakMap2) && /native code/.test(
|
711
|
+
module2.exports = isCallable(WeakMap2) && /native code/.test(String(WeakMap2));
|
676
712
|
}
|
677
713
|
});
|
678
714
|
|
@@ -698,9 +734,8 @@ var require_hidden_keys = __commonJS({
|
|
698
734
|
// node_modules/core-js/internals/internal-state.js
|
699
735
|
var require_internal_state = __commonJS({
|
700
736
|
"node_modules/core-js/internals/internal-state.js"(exports2, module2) {
|
701
|
-
var NATIVE_WEAK_MAP =
|
737
|
+
var NATIVE_WEAK_MAP = require_weak_map_basic_detection();
|
702
738
|
var global2 = require_global();
|
703
|
-
var uncurryThis = require_function_uncurry_this();
|
704
739
|
var isObject = require_is_object();
|
705
740
|
var createNonEnumerableProperty = require_create_non_enumerable_property();
|
706
741
|
var hasOwn = require_has_own_property();
|
@@ -727,28 +762,28 @@ var require_internal_state = __commonJS({
|
|
727
762
|
};
|
728
763
|
if (NATIVE_WEAK_MAP || shared.state) {
|
729
764
|
store = shared.state || (shared.state = new WeakMap2());
|
730
|
-
|
731
|
-
|
732
|
-
|
765
|
+
store.get = store.get;
|
766
|
+
store.has = store.has;
|
767
|
+
store.set = store.set;
|
733
768
|
set = function(it, metadata) {
|
734
|
-
if (
|
735
|
-
throw
|
769
|
+
if (store.has(it))
|
770
|
+
throw TypeError2(OBJECT_ALREADY_INITIALIZED);
|
736
771
|
metadata.facade = it;
|
737
|
-
|
772
|
+
store.set(it, metadata);
|
738
773
|
return metadata;
|
739
774
|
};
|
740
775
|
get = function(it) {
|
741
|
-
return
|
776
|
+
return store.get(it) || {};
|
742
777
|
};
|
743
778
|
has = function(it) {
|
744
|
-
return
|
779
|
+
return store.has(it);
|
745
780
|
};
|
746
781
|
} else {
|
747
782
|
STATE = sharedKey("state");
|
748
783
|
hiddenKeys[STATE] = true;
|
749
784
|
set = function(it, metadata) {
|
750
785
|
if (hasOwn(it, STATE))
|
751
|
-
throw
|
786
|
+
throw TypeError2(OBJECT_ALREADY_INITIALIZED);
|
752
787
|
metadata.facade = it;
|
753
788
|
createNonEnumerableProperty(it, STATE, metadata);
|
754
789
|
return metadata;
|
@@ -761,9 +796,6 @@ var require_internal_state = __commonJS({
|
|
761
796
|
};
|
762
797
|
}
|
763
798
|
var store;
|
764
|
-
var wmget;
|
765
|
-
var wmhas;
|
766
|
-
var wmset;
|
767
799
|
var STATE;
|
768
800
|
module2.exports = {
|
769
801
|
set,
|
@@ -775,86 +807,122 @@ var require_internal_state = __commonJS({
|
|
775
807
|
}
|
776
808
|
});
|
777
809
|
|
778
|
-
// node_modules/core-js/internals/
|
779
|
-
var
|
780
|
-
"node_modules/core-js/internals/
|
781
|
-
var
|
782
|
-
var hasOwn = require_has_own_property();
|
783
|
-
var FunctionPrototype = Function.prototype;
|
784
|
-
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
785
|
-
var EXISTS = hasOwn(FunctionPrototype, "name");
|
786
|
-
var PROPER = EXISTS && function something() {
|
787
|
-
}.name === "something";
|
788
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable);
|
789
|
-
module2.exports = {
|
790
|
-
EXISTS,
|
791
|
-
PROPER,
|
792
|
-
CONFIGURABLE
|
793
|
-
};
|
794
|
-
}
|
795
|
-
});
|
796
|
-
|
797
|
-
// node_modules/core-js/internals/redefine.js
|
798
|
-
var require_redefine = __commonJS({
|
799
|
-
"node_modules/core-js/internals/redefine.js"(exports2, module2) {
|
800
|
-
var global2 = require_global();
|
810
|
+
// node_modules/core-js/internals/make-built-in.js
|
811
|
+
var require_make_built_in = __commonJS({
|
812
|
+
"node_modules/core-js/internals/make-built-in.js"(exports2, module2) {
|
813
|
+
var fails = require_fails();
|
801
814
|
var isCallable = require_is_callable();
|
802
815
|
var hasOwn = require_has_own_property();
|
803
|
-
var
|
804
|
-
var
|
816
|
+
var DESCRIPTORS = require_descriptors();
|
817
|
+
var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE;
|
805
818
|
var inspectSource = require_inspect_source();
|
806
819
|
var InternalStateModule = require_internal_state();
|
807
|
-
var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE;
|
808
|
-
var getInternalState = InternalStateModule.get;
|
809
820
|
var enforceInternalState = InternalStateModule.enforce;
|
821
|
+
var getInternalState = InternalStateModule.get;
|
822
|
+
var defineProperty = Object.defineProperty;
|
823
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function() {
|
824
|
+
return defineProperty(function() {
|
825
|
+
}, "length", { value: 8 }).length !== 8;
|
826
|
+
});
|
810
827
|
var TEMPLATE = String(String).split("String");
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
if (
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
+
var makeBuiltIn = module2.exports = function(value, name, options) {
|
829
|
+
if (String(name).slice(0, 7) === "Symbol(") {
|
830
|
+
name = "[" + String(name).replace(/^Symbol\(([^)]*)\)/, "$1") + "]";
|
831
|
+
}
|
832
|
+
if (options && options.getter)
|
833
|
+
name = "get " + name;
|
834
|
+
if (options && options.setter)
|
835
|
+
name = "set " + name;
|
836
|
+
if (!hasOwn(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) {
|
837
|
+
if (DESCRIPTORS)
|
838
|
+
defineProperty(value, "name", { value: name, configurable: true });
|
839
|
+
else
|
840
|
+
value.name = name;
|
841
|
+
}
|
842
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn(options, "arity") && value.length !== options.arity) {
|
843
|
+
defineProperty(value, "length", { value: options.arity });
|
844
|
+
}
|
845
|
+
try {
|
846
|
+
if (options && hasOwn(options, "constructor") && options.constructor) {
|
847
|
+
if (DESCRIPTORS)
|
848
|
+
defineProperty(value, "prototype", { writable: false });
|
849
|
+
} else if (value.prototype)
|
850
|
+
value.prototype = void 0;
|
851
|
+
} catch (error) {
|
828
852
|
}
|
829
|
-
|
853
|
+
var state = enforceInternalState(value);
|
854
|
+
if (!hasOwn(state, "source")) {
|
855
|
+
state.source = TEMPLATE.join(typeof name == "string" ? name : "");
|
856
|
+
}
|
857
|
+
return value;
|
858
|
+
};
|
859
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
860
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
861
|
+
}, "toString");
|
862
|
+
}
|
863
|
+
});
|
864
|
+
|
865
|
+
// node_modules/core-js/internals/define-built-in.js
|
866
|
+
var require_define_built_in = __commonJS({
|
867
|
+
"node_modules/core-js/internals/define-built-in.js"(exports2, module2) {
|
868
|
+
var isCallable = require_is_callable();
|
869
|
+
var definePropertyModule = require_object_define_property();
|
870
|
+
var makeBuiltIn = require_make_built_in();
|
871
|
+
var defineGlobalProperty = require_define_global_property();
|
872
|
+
module2.exports = function(O, key, value, options) {
|
873
|
+
if (!options)
|
874
|
+
options = {};
|
875
|
+
var simple = options.enumerable;
|
876
|
+
var name = options.name !== void 0 ? options.name : key;
|
877
|
+
if (isCallable(value))
|
878
|
+
makeBuiltIn(value, name, options);
|
879
|
+
if (options.global) {
|
830
880
|
if (simple)
|
831
881
|
O[key] = value;
|
832
882
|
else
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
883
|
+
defineGlobalProperty(key, value);
|
884
|
+
} else {
|
885
|
+
try {
|
886
|
+
if (!options.unsafe)
|
887
|
+
delete O[key];
|
888
|
+
else if (O[key])
|
889
|
+
simple = true;
|
890
|
+
} catch (error) {
|
891
|
+
}
|
892
|
+
if (simple)
|
893
|
+
O[key] = value;
|
894
|
+
else
|
895
|
+
definePropertyModule.f(O, key, {
|
896
|
+
value,
|
897
|
+
enumerable: false,
|
898
|
+
configurable: !options.nonConfigurable,
|
899
|
+
writable: !options.nonWritable
|
900
|
+
});
|
839
901
|
}
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
902
|
+
return O;
|
903
|
+
};
|
904
|
+
}
|
905
|
+
});
|
906
|
+
|
907
|
+
// node_modules/core-js/internals/math-trunc.js
|
908
|
+
var require_math_trunc = __commonJS({
|
909
|
+
"node_modules/core-js/internals/math-trunc.js"(exports2, module2) {
|
910
|
+
var ceil = Math.ceil;
|
911
|
+
var floor = Math.floor;
|
912
|
+
module2.exports = Math.trunc || function trunc(x) {
|
913
|
+
var n = +x;
|
914
|
+
return (n > 0 ? floor : ceil)(n);
|
915
|
+
};
|
847
916
|
}
|
848
917
|
});
|
849
918
|
|
850
919
|
// node_modules/core-js/internals/to-integer-or-infinity.js
|
851
920
|
var require_to_integer_or_infinity = __commonJS({
|
852
921
|
"node_modules/core-js/internals/to-integer-or-infinity.js"(exports2, module2) {
|
853
|
-
var
|
854
|
-
var floor = Math.floor;
|
922
|
+
var trunc = require_math_trunc();
|
855
923
|
module2.exports = function(argument) {
|
856
924
|
var number = +argument;
|
857
|
-
return number !== number || number === 0 ? 0 : (number
|
925
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
858
926
|
};
|
859
927
|
}
|
860
928
|
});
|
@@ -1049,8 +1117,8 @@ var require_export = __commonJS({
|
|
1049
1117
|
var global2 = require_global();
|
1050
1118
|
var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f;
|
1051
1119
|
var createNonEnumerableProperty = require_create_non_enumerable_property();
|
1052
|
-
var
|
1053
|
-
var
|
1120
|
+
var defineBuiltIn = require_define_built_in();
|
1121
|
+
var defineGlobalProperty = require_define_global_property();
|
1054
1122
|
var copyConstructorProperties = require_copy_constructor_properties();
|
1055
1123
|
var isForced = require_is_forced();
|
1056
1124
|
module2.exports = function(options, source) {
|
@@ -1061,14 +1129,14 @@ var require_export = __commonJS({
|
|
1061
1129
|
if (GLOBAL) {
|
1062
1130
|
target = global2;
|
1063
1131
|
} else if (STATIC) {
|
1064
|
-
target = global2[TARGET] ||
|
1132
|
+
target = global2[TARGET] || defineGlobalProperty(TARGET, {});
|
1065
1133
|
} else {
|
1066
1134
|
target = (global2[TARGET] || {}).prototype;
|
1067
1135
|
}
|
1068
1136
|
if (target)
|
1069
1137
|
for (key in source) {
|
1070
1138
|
sourceProperty = source[key];
|
1071
|
-
if (options.
|
1139
|
+
if (options.dontCallGetSet) {
|
1072
1140
|
descriptor = getOwnPropertyDescriptor(target, key);
|
1073
1141
|
targetProperty = descriptor && descriptor.value;
|
1074
1142
|
} else
|
@@ -1082,7 +1150,7 @@ var require_export = __commonJS({
|
|
1082
1150
|
if (options.sham || targetProperty && targetProperty.sham) {
|
1083
1151
|
createNonEnumerableProperty(sourceProperty, "sham", true);
|
1084
1152
|
}
|
1085
|
-
|
1153
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
1086
1154
|
}
|
1087
1155
|
};
|
1088
1156
|
}
|
@@ -1098,10 +1166,35 @@ var require_is_array = __commonJS({
|
|
1098
1166
|
}
|
1099
1167
|
});
|
1100
1168
|
|
1169
|
+
// node_modules/core-js/internals/does-not-exceed-safe-integer.js
|
1170
|
+
var require_does_not_exceed_safe_integer = __commonJS({
|
1171
|
+
"node_modules/core-js/internals/does-not-exceed-safe-integer.js"(exports2, module2) {
|
1172
|
+
var $TypeError = TypeError;
|
1173
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
1174
|
+
module2.exports = function(it) {
|
1175
|
+
if (it > MAX_SAFE_INTEGER)
|
1176
|
+
throw $TypeError("Maximum allowed index exceeded");
|
1177
|
+
return it;
|
1178
|
+
};
|
1179
|
+
}
|
1180
|
+
});
|
1181
|
+
|
1182
|
+
// node_modules/core-js/internals/function-uncurry-this-clause.js
|
1183
|
+
var require_function_uncurry_this_clause = __commonJS({
|
1184
|
+
"node_modules/core-js/internals/function-uncurry-this-clause.js"(exports2, module2) {
|
1185
|
+
var classofRaw = require_classof_raw();
|
1186
|
+
var uncurryThis = require_function_uncurry_this();
|
1187
|
+
module2.exports = function(fn) {
|
1188
|
+
if (classofRaw(fn) === "Function")
|
1189
|
+
return uncurryThis(fn);
|
1190
|
+
};
|
1191
|
+
}
|
1192
|
+
});
|
1193
|
+
|
1101
1194
|
// node_modules/core-js/internals/function-bind-context.js
|
1102
1195
|
var require_function_bind_context = __commonJS({
|
1103
1196
|
"node_modules/core-js/internals/function-bind-context.js"(exports2, module2) {
|
1104
|
-
var uncurryThis =
|
1197
|
+
var uncurryThis = require_function_uncurry_this_clause();
|
1105
1198
|
var aCallable = require_a_callable();
|
1106
1199
|
var NATIVE_BIND = require_function_bind_native();
|
1107
1200
|
var bind = uncurryThis(uncurryThis.bind);
|
@@ -1118,11 +1211,10 @@ var require_function_bind_context = __commonJS({
|
|
1118
1211
|
var require_flatten_into_array = __commonJS({
|
1119
1212
|
"node_modules/core-js/internals/flatten-into-array.js"(exports2, module2) {
|
1120
1213
|
"use strict";
|
1121
|
-
var global2 = require_global();
|
1122
1214
|
var isArray = require_is_array();
|
1123
1215
|
var lengthOfArrayLike = require_length_of_array_like();
|
1216
|
+
var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer();
|
1124
1217
|
var bind = require_function_bind_context();
|
1125
|
-
var TypeError2 = global2.TypeError;
|
1126
1218
|
var flattenIntoArray = function(target, original, source, sourceLen, start, depth, mapper, thisArg) {
|
1127
1219
|
var targetIndex = start;
|
1128
1220
|
var sourceIndex = 0;
|
@@ -1135,8 +1227,7 @@ var require_flatten_into_array = __commonJS({
|
|
1135
1227
|
elementLen = lengthOfArrayLike(element);
|
1136
1228
|
targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;
|
1137
1229
|
} else {
|
1138
|
-
|
1139
|
-
throw TypeError2("Exceed the acceptable array length");
|
1230
|
+
doesNotExceedSafeInteger(targetIndex + 1);
|
1140
1231
|
target[targetIndex] = element;
|
1141
1232
|
}
|
1142
1233
|
targetIndex++;
|
@@ -1163,13 +1254,12 @@ var require_to_string_tag_support = __commonJS({
|
|
1163
1254
|
// node_modules/core-js/internals/classof.js
|
1164
1255
|
var require_classof = __commonJS({
|
1165
1256
|
"node_modules/core-js/internals/classof.js"(exports2, module2) {
|
1166
|
-
var global2 = require_global();
|
1167
1257
|
var TO_STRING_TAG_SUPPORT = require_to_string_tag_support();
|
1168
1258
|
var isCallable = require_is_callable();
|
1169
1259
|
var classofRaw = require_classof_raw();
|
1170
1260
|
var wellKnownSymbol = require_well_known_symbol();
|
1171
1261
|
var TO_STRING_TAG = wellKnownSymbol("toStringTag");
|
1172
|
-
var
|
1262
|
+
var $Object = Object;
|
1173
1263
|
var CORRECT_ARGUMENTS = classofRaw(function() {
|
1174
1264
|
return arguments;
|
1175
1265
|
}()) == "Arguments";
|
@@ -1181,7 +1271,7 @@ var require_classof = __commonJS({
|
|
1181
1271
|
};
|
1182
1272
|
module2.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
|
1183
1273
|
var O, tag, result;
|
1184
|
-
return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O =
|
1274
|
+
return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) == "Object" && isCallable(O.callee) ? "Arguments" : result;
|
1185
1275
|
};
|
1186
1276
|
}
|
1187
1277
|
});
|
@@ -1240,18 +1330,17 @@ var require_is_constructor = __commonJS({
|
|
1240
1330
|
// node_modules/core-js/internals/array-species-constructor.js
|
1241
1331
|
var require_array_species_constructor = __commonJS({
|
1242
1332
|
"node_modules/core-js/internals/array-species-constructor.js"(exports2, module2) {
|
1243
|
-
var global2 = require_global();
|
1244
1333
|
var isArray = require_is_array();
|
1245
1334
|
var isConstructor = require_is_constructor();
|
1246
1335
|
var isObject = require_is_object();
|
1247
1336
|
var wellKnownSymbol = require_well_known_symbol();
|
1248
1337
|
var SPECIES = wellKnownSymbol("species");
|
1249
|
-
var
|
1338
|
+
var $Array = Array;
|
1250
1339
|
module2.exports = function(originalArray) {
|
1251
1340
|
var C;
|
1252
1341
|
if (isArray(originalArray)) {
|
1253
1342
|
C = originalArray.constructor;
|
1254
|
-
if (isConstructor(C) && (C ===
|
1343
|
+
if (isConstructor(C) && (C === $Array || isArray(C.prototype)))
|
1255
1344
|
C = void 0;
|
1256
1345
|
else if (isObject(C)) {
|
1257
1346
|
C = C[SPECIES];
|
@@ -1259,7 +1348,7 @@ var require_array_species_constructor = __commonJS({
|
|
1259
1348
|
C = void 0;
|
1260
1349
|
}
|
1261
1350
|
}
|
1262
|
-
return C === void 0 ?
|
1351
|
+
return C === void 0 ? $Array : C;
|
1263
1352
|
};
|
1264
1353
|
}
|
1265
1354
|
});
|
@@ -1323,11 +1412,12 @@ var require_get_iterator_method = __commonJS({
|
|
1323
1412
|
"node_modules/core-js/internals/get-iterator-method.js"(exports2, module2) {
|
1324
1413
|
var classof = require_classof();
|
1325
1414
|
var getMethod = require_get_method();
|
1415
|
+
var isNullOrUndefined = require_is_null_or_undefined();
|
1326
1416
|
var Iterators = require_iterators();
|
1327
1417
|
var wellKnownSymbol = require_well_known_symbol();
|
1328
1418
|
var ITERATOR = wellKnownSymbol("iterator");
|
1329
1419
|
module2.exports = function(it) {
|
1330
|
-
if (it
|
1420
|
+
if (!isNullOrUndefined(it))
|
1331
1421
|
return getMethod(it, ITERATOR) || getMethod(it, "@@iterator") || Iterators[classof(it)];
|
1332
1422
|
};
|
1333
1423
|
}
|
@@ -1336,18 +1426,17 @@ var require_get_iterator_method = __commonJS({
|
|
1336
1426
|
// node_modules/core-js/internals/get-iterator.js
|
1337
1427
|
var require_get_iterator = __commonJS({
|
1338
1428
|
"node_modules/core-js/internals/get-iterator.js"(exports2, module2) {
|
1339
|
-
var global2 = require_global();
|
1340
1429
|
var call = require_function_call();
|
1341
1430
|
var aCallable = require_a_callable();
|
1342
1431
|
var anObject = require_an_object();
|
1343
1432
|
var tryToString = require_try_to_string();
|
1344
1433
|
var getIteratorMethod = require_get_iterator_method();
|
1345
|
-
var
|
1434
|
+
var $TypeError = TypeError;
|
1346
1435
|
module2.exports = function(argument, usingIterator) {
|
1347
1436
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
1348
1437
|
if (aCallable(iteratorMethod))
|
1349
1438
|
return anObject(call(iteratorMethod, argument));
|
1350
|
-
throw
|
1439
|
+
throw $TypeError(tryToString(argument) + " is not iterable");
|
1351
1440
|
};
|
1352
1441
|
}
|
1353
1442
|
});
|
@@ -1386,7 +1475,6 @@ var require_iterator_close = __commonJS({
|
|
1386
1475
|
// node_modules/core-js/internals/iterate.js
|
1387
1476
|
var require_iterate = __commonJS({
|
1388
1477
|
"node_modules/core-js/internals/iterate.js"(exports2, module2) {
|
1389
|
-
var global2 = require_global();
|
1390
1478
|
var bind = require_function_bind_context();
|
1391
1479
|
var call = require_function_call();
|
1392
1480
|
var anObject = require_an_object();
|
@@ -1397,7 +1485,7 @@ var require_iterate = __commonJS({
|
|
1397
1485
|
var getIterator = require_get_iterator();
|
1398
1486
|
var getIteratorMethod = require_get_iterator_method();
|
1399
1487
|
var iteratorClose = require_iterator_close();
|
1400
|
-
var
|
1488
|
+
var $TypeError = TypeError;
|
1401
1489
|
var Result = function(stopped, result) {
|
1402
1490
|
this.stopped = stopped;
|
1403
1491
|
this.result = result;
|
@@ -1406,6 +1494,7 @@ var require_iterate = __commonJS({
|
|
1406
1494
|
module2.exports = function(iterable, unboundFunction, options) {
|
1407
1495
|
var that = options && options.that;
|
1408
1496
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
1497
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
1409
1498
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
1410
1499
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
1411
1500
|
var fn = bind(unboundFunction, that);
|
@@ -1422,12 +1511,14 @@ var require_iterate = __commonJS({
|
|
1422
1511
|
}
|
1423
1512
|
return INTERRUPTED ? fn(value, stop) : fn(value);
|
1424
1513
|
};
|
1425
|
-
if (
|
1514
|
+
if (IS_RECORD) {
|
1515
|
+
iterator = iterable.iterator;
|
1516
|
+
} else if (IS_ITERATOR) {
|
1426
1517
|
iterator = iterable;
|
1427
1518
|
} else {
|
1428
1519
|
iterFn = getIteratorMethod(iterable);
|
1429
1520
|
if (!iterFn)
|
1430
|
-
throw
|
1521
|
+
throw $TypeError(tryToString(iterable) + " is not iterable");
|
1431
1522
|
if (isArrayIteratorMethod(iterFn)) {
|
1432
1523
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
1433
1524
|
result = callFn(iterable[index]);
|
@@ -1438,7 +1529,7 @@ var require_iterate = __commonJS({
|
|
1438
1529
|
}
|
1439
1530
|
iterator = getIterator(iterable, iterFn);
|
1440
1531
|
}
|
1441
|
-
next = iterator.next;
|
1532
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
1442
1533
|
while (!(step = call(next, iterator)).done) {
|
1443
1534
|
try {
|
1444
1535
|
result = callFn(step.value);
|
@@ -1488,6 +1579,98 @@ var require_es_object_from_entries = __commonJS({
|
|
1488
1579
|
}
|
1489
1580
|
});
|
1490
1581
|
|
1582
|
+
// node_modules/core-js/internals/define-built-in-accessor.js
|
1583
|
+
var require_define_built_in_accessor = __commonJS({
|
1584
|
+
"node_modules/core-js/internals/define-built-in-accessor.js"(exports2, module2) {
|
1585
|
+
var makeBuiltIn = require_make_built_in();
|
1586
|
+
var defineProperty = require_object_define_property();
|
1587
|
+
module2.exports = function(target, name, descriptor) {
|
1588
|
+
if (descriptor.get)
|
1589
|
+
makeBuiltIn(descriptor.get, name, { getter: true });
|
1590
|
+
if (descriptor.set)
|
1591
|
+
makeBuiltIn(descriptor.set, name, { setter: true });
|
1592
|
+
return defineProperty.f(target, name, descriptor);
|
1593
|
+
};
|
1594
|
+
}
|
1595
|
+
});
|
1596
|
+
|
1597
|
+
// node_modules/core-js/internals/regexp-flags.js
|
1598
|
+
var require_regexp_flags = __commonJS({
|
1599
|
+
"node_modules/core-js/internals/regexp-flags.js"(exports2, module2) {
|
1600
|
+
"use strict";
|
1601
|
+
var anObject = require_an_object();
|
1602
|
+
module2.exports = function() {
|
1603
|
+
var that = anObject(this);
|
1604
|
+
var result = "";
|
1605
|
+
if (that.hasIndices)
|
1606
|
+
result += "d";
|
1607
|
+
if (that.global)
|
1608
|
+
result += "g";
|
1609
|
+
if (that.ignoreCase)
|
1610
|
+
result += "i";
|
1611
|
+
if (that.multiline)
|
1612
|
+
result += "m";
|
1613
|
+
if (that.dotAll)
|
1614
|
+
result += "s";
|
1615
|
+
if (that.unicode)
|
1616
|
+
result += "u";
|
1617
|
+
if (that.unicodeSets)
|
1618
|
+
result += "v";
|
1619
|
+
if (that.sticky)
|
1620
|
+
result += "y";
|
1621
|
+
return result;
|
1622
|
+
};
|
1623
|
+
}
|
1624
|
+
});
|
1625
|
+
|
1626
|
+
// node_modules/core-js/modules/es.regexp.flags.js
|
1627
|
+
var require_es_regexp_flags = __commonJS({
|
1628
|
+
"node_modules/core-js/modules/es.regexp.flags.js"() {
|
1629
|
+
var global2 = require_global();
|
1630
|
+
var DESCRIPTORS = require_descriptors();
|
1631
|
+
var defineBuiltInAccessor = require_define_built_in_accessor();
|
1632
|
+
var regExpFlags = require_regexp_flags();
|
1633
|
+
var fails = require_fails();
|
1634
|
+
var RegExp2 = global2.RegExp;
|
1635
|
+
var RegExpPrototype = RegExp2.prototype;
|
1636
|
+
var FORCED = DESCRIPTORS && fails(function() {
|
1637
|
+
var INDICES_SUPPORT = true;
|
1638
|
+
try {
|
1639
|
+
RegExp2(".", "d");
|
1640
|
+
} catch (error) {
|
1641
|
+
INDICES_SUPPORT = false;
|
1642
|
+
}
|
1643
|
+
var O = {};
|
1644
|
+
var calls = "";
|
1645
|
+
var expected = INDICES_SUPPORT ? "dgimsy" : "gimsy";
|
1646
|
+
var addGetter = function(key2, chr) {
|
1647
|
+
Object.defineProperty(O, key2, { get: function() {
|
1648
|
+
calls += chr;
|
1649
|
+
return true;
|
1650
|
+
} });
|
1651
|
+
};
|
1652
|
+
var pairs = {
|
1653
|
+
dotAll: "s",
|
1654
|
+
global: "g",
|
1655
|
+
ignoreCase: "i",
|
1656
|
+
multiline: "m",
|
1657
|
+
sticky: "y"
|
1658
|
+
};
|
1659
|
+
if (INDICES_SUPPORT)
|
1660
|
+
pairs.hasIndices = "d";
|
1661
|
+
for (var key in pairs)
|
1662
|
+
addGetter(key, pairs[key]);
|
1663
|
+
var result = Object.getOwnPropertyDescriptor(RegExpPrototype, "flags").get.call(O);
|
1664
|
+
return result !== expected || calls !== expected;
|
1665
|
+
});
|
1666
|
+
if (FORCED)
|
1667
|
+
defineBuiltInAccessor(RegExpPrototype, "flags", {
|
1668
|
+
configurable: true,
|
1669
|
+
get: regExpFlags
|
1670
|
+
});
|
1671
|
+
}
|
1672
|
+
});
|
1673
|
+
|
1491
1674
|
// node_modules/core-js/modules/es.array.flat.js
|
1492
1675
|
var require_es_array_flat = __commonJS({
|
1493
1676
|
"node_modules/core-js/modules/es.array.flat.js"() {
|
@@ -1550,6 +1733,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
1550
1733
|
}
|
1551
1734
|
require_es_array_flat_map();
|
1552
1735
|
require_es_object_from_entries();
|
1736
|
+
require_es_regexp_flags();
|
1553
1737
|
require_es_array_flat();
|
1554
1738
|
var __create = Object.create;
|
1555
1739
|
var __defProp = Object.defineProperty;
|
@@ -6477,12 +6661,12 @@ var require_identifier = __commonJS2({
|
|
6477
6661
|
exports2.isIdentifierName = isIdentifierName;
|
6478
6662
|
exports2.isIdentifierStart = isIdentifierStart;
|
6479
6663
|
var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
|
6480
|
-
var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\
|
6664
|
+
var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F";
|
6481
6665
|
var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
6482
6666
|
var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
6483
6667
|
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
|
6484
|
-
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24,
|
6485
|
-
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1,
|
6668
|
+
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938, 6, 4191];
|
6669
|
+
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
6486
6670
|
function isInAstralSet(code, set) {
|
6487
6671
|
let pos = 65536;
|
6488
6672
|
for (let i = 0, length = set.length; i < length; i += 2) {
|
@@ -7063,7 +7247,7 @@ var require_lib4 = __commonJS2({
|
|
7063
7247
|
if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) {
|
7064
7248
|
return "keyword";
|
7065
7249
|
}
|
7066
|
-
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.
|
7250
|
+
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) == "</")) {
|
7067
7251
|
return "jsxIdentifier";
|
7068
7252
|
}
|
7069
7253
|
if (token.value[0] !== token.value[0].toLowerCase()) {
|
@@ -13516,12 +13700,34 @@ var require_parse3 = __commonJS2({
|
|
13516
13700
|
function internalize(holder, name, reviver) {
|
13517
13701
|
const value = holder[name];
|
13518
13702
|
if (value != null && typeof value === "object") {
|
13519
|
-
|
13520
|
-
|
13521
|
-
|
13522
|
-
|
13523
|
-
|
13524
|
-
|
13703
|
+
if (Array.isArray(value)) {
|
13704
|
+
for (let i = 0; i < value.length; i++) {
|
13705
|
+
const key2 = String(i);
|
13706
|
+
const replacement = internalize(value, key2, reviver);
|
13707
|
+
if (replacement === void 0) {
|
13708
|
+
delete value[key2];
|
13709
|
+
} else {
|
13710
|
+
Object.defineProperty(value, key2, {
|
13711
|
+
value: replacement,
|
13712
|
+
writable: true,
|
13713
|
+
enumerable: true,
|
13714
|
+
configurable: true
|
13715
|
+
});
|
13716
|
+
}
|
13717
|
+
}
|
13718
|
+
} else {
|
13719
|
+
for (const key2 in value) {
|
13720
|
+
const replacement = internalize(value, key2, reviver);
|
13721
|
+
if (replacement === void 0) {
|
13722
|
+
delete value[key2];
|
13723
|
+
} else {
|
13724
|
+
Object.defineProperty(value, key2, {
|
13725
|
+
value: replacement,
|
13726
|
+
writable: true,
|
13727
|
+
enumerable: true,
|
13728
|
+
configurable: true
|
13729
|
+
});
|
13730
|
+
}
|
13525
13731
|
}
|
13526
13732
|
}
|
13527
13733
|
}
|
@@ -14220,7 +14426,12 @@ var require_parse3 = __commonJS2({
|
|
14220
14426
|
if (Array.isArray(parent)) {
|
14221
14427
|
parent.push(value);
|
14222
14428
|
} else {
|
14223
|
-
parent
|
14429
|
+
Object.defineProperty(parent, key, {
|
14430
|
+
value,
|
14431
|
+
writable: true,
|
14432
|
+
enumerable: true,
|
14433
|
+
configurable: true
|
14434
|
+
});
|
14224
14435
|
}
|
14225
14436
|
}
|
14226
14437
|
if (value !== null && typeof value === "object") {
|
@@ -14806,6 +15017,8 @@ var require_core2 = __commonJS2({
|
|
14806
15017
|
"node:https": [">= 14.18 && < 15", ">= 16"],
|
14807
15018
|
inspector: ">= 8",
|
14808
15019
|
"node:inspector": [">= 14.18 && < 15", ">= 16"],
|
15020
|
+
"inspector/promises": [">= 19"],
|
15021
|
+
"node:inspector/promises": [">= 19"],
|
14809
15022
|
_linklist: "< 8",
|
14810
15023
|
module: true,
|
14811
15024
|
"node:module": [">= 14.18 && < 15", ">= 16"],
|
@@ -14861,6 +15074,7 @@ var require_core2 = __commonJS2({
|
|
14861
15074
|
"node:string_decoder": [">= 14.18 && < 15", ">= 16"],
|
14862
15075
|
sys: [">= 0.4 && < 0.7", ">= 0.8"],
|
14863
15076
|
"node:sys": [">= 14.18 && < 15", ">= 16"],
|
15077
|
+
"node:test": [">= 16.17 && < 17", ">= 18"],
|
14864
15078
|
timers: true,
|
14865
15079
|
"node:timers": [">= 14.18 && < 15", ">= 16"],
|
14866
15080
|
"timers/promises": ">= 15",
|
@@ -14971,7 +15185,7 @@ var require_async = __commonJS2({
|
|
14971
15185
|
var nodeModulesPaths = require_node_modules_paths();
|
14972
15186
|
var normalizeOptions = require_normalize_options();
|
14973
15187
|
var isCore = require_is_core_module();
|
14974
|
-
var realpathFS = fs.realpath && typeof fs.realpath.native === "function" ? fs.realpath.native : fs.realpath;
|
15188
|
+
var realpathFS = process.platform !== "win32" && fs.realpath && typeof fs.realpath.native === "function" ? fs.realpath.native : fs.realpath;
|
14975
15189
|
var homedir = getHomedir();
|
14976
15190
|
var defaultPaths = function() {
|
14977
15191
|
return [path.join(homedir, ".node_modules"), path.join(homedir, ".node_libraries")];
|
@@ -15399,6 +15613,7 @@ var require_core3 = __commonJS2({
|
|
15399
15613
|
"node:string_decoder": [">= 14.18 && < 15", ">= 16"],
|
15400
15614
|
sys: [">= 0.4 && < 0.7", ">= 0.8"],
|
15401
15615
|
"node:sys": [">= 14.18 && < 15", ">= 16"],
|
15616
|
+
"node:test": ">= 18",
|
15402
15617
|
timers: true,
|
15403
15618
|
"node:timers": [">= 14.18 && < 15", ">= 16"],
|
15404
15619
|
"timers/promises": ">= 15",
|
@@ -15515,7 +15730,7 @@ var require_sync = __commonJS2({
|
|
15515
15730
|
var caller = require_caller();
|
15516
15731
|
var nodeModulesPaths = require_node_modules_paths();
|
15517
15732
|
var normalizeOptions = require_normalize_options();
|
15518
|
-
var realpathFS = fs.realpathSync && typeof fs.realpathSync.native === "function" ? fs.realpathSync.native : fs.realpathSync;
|
15733
|
+
var realpathFS = process.platform !== "win32" && fs.realpathSync && typeof fs.realpathSync.native === "function" ? fs.realpathSync.native : fs.realpathSync;
|
15519
15734
|
var homedir = getHomedir();
|
15520
15735
|
var defaultPaths = function() {
|
15521
15736
|
return [path.join(homedir, ".node_modules"), path.join(homedir, ".node_libraries")];
|
@@ -16985,7 +17200,7 @@ var require_fnmatch = __commonJS2({
|
|
16985
17200
|
if (options.debug)
|
16986
17201
|
console.error(this.pattern, set);
|
16987
17202
|
set = set.filter(function(s) {
|
16988
|
-
return s.indexOf(false)
|
17203
|
+
return -1 === s.indexOf(false);
|
16989
17204
|
});
|
16990
17205
|
if (options.debug)
|
16991
17206
|
console.error(this.pattern, set);
|
@@ -18102,8 +18317,12 @@ var require_editorconfig_to_prettier = __commonJS2({
|
|
18102
18317
|
} else if (editorConfig.tab_width !== void 0) {
|
18103
18318
|
result.tabWidth = editorConfig.tab_width;
|
18104
18319
|
}
|
18105
|
-
if (editorConfig.max_line_length
|
18106
|
-
|
18320
|
+
if (editorConfig.max_line_length) {
|
18321
|
+
if (editorConfig.max_line_length === "off") {
|
18322
|
+
result.printWidth = Number.POSITIVE_INFINITY;
|
18323
|
+
} else {
|
18324
|
+
result.printWidth = editorConfig.max_line_length;
|
18325
|
+
}
|
18107
18326
|
}
|
18108
18327
|
if (editorConfig.quote_type === "single") {
|
18109
18328
|
result.singleQuote = true;
|
@@ -20698,6 +20917,45 @@ var require_stream3 = __commonJS2({
|
|
20698
20917
|
exports2.default = ReaderStream;
|
20699
20918
|
}
|
20700
20919
|
});
|
20920
|
+
var require_async6 = __commonJS2({
|
20921
|
+
"node_modules/fast-glob/out/readers/async.js"(exports2) {
|
20922
|
+
"use strict";
|
20923
|
+
Object.defineProperty(exports2, "__esModule", {
|
20924
|
+
value: true
|
20925
|
+
});
|
20926
|
+
var fsWalk = require_out3();
|
20927
|
+
var reader_1 = require_reader2();
|
20928
|
+
var stream_1 = require_stream3();
|
20929
|
+
var ReaderAsync = class extends reader_1.default {
|
20930
|
+
constructor() {
|
20931
|
+
super(...arguments);
|
20932
|
+
this._walkAsync = fsWalk.walk;
|
20933
|
+
this._readerStream = new stream_1.default(this._settings);
|
20934
|
+
}
|
20935
|
+
dynamic(root, options) {
|
20936
|
+
return new Promise((resolve, reject) => {
|
20937
|
+
this._walkAsync(root, options, (error, entries) => {
|
20938
|
+
if (error === null) {
|
20939
|
+
resolve(entries);
|
20940
|
+
} else {
|
20941
|
+
reject(error);
|
20942
|
+
}
|
20943
|
+
});
|
20944
|
+
});
|
20945
|
+
}
|
20946
|
+
async static(patterns, options) {
|
20947
|
+
const entries = [];
|
20948
|
+
const stream = this._readerStream.static(patterns, options);
|
20949
|
+
return new Promise((resolve, reject) => {
|
20950
|
+
stream.once("error", reject);
|
20951
|
+
stream.on("data", (entry) => entries.push(entry));
|
20952
|
+
stream.once("end", () => resolve(entries));
|
20953
|
+
});
|
20954
|
+
}
|
20955
|
+
};
|
20956
|
+
exports2.default = ReaderAsync;
|
20957
|
+
}
|
20958
|
+
});
|
20701
20959
|
var require_matcher = __commonJS2({
|
20702
20960
|
"node_modules/fast-glob/out/providers/matchers/matcher.js"(exports2) {
|
20703
20961
|
"use strict";
|
@@ -20881,7 +21139,8 @@ var require_entry = __commonJS2({
|
|
20881
21139
|
return false;
|
20882
21140
|
}
|
20883
21141
|
const filepath = this._settings.baseNameMatch ? entry.name : entry.path;
|
20884
|
-
const
|
21142
|
+
const isDirectory = entry.dirent.isDirectory();
|
21143
|
+
const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(entry.path, negativeRe, isDirectory);
|
20885
21144
|
if (this._settings.unique && isMatched) {
|
20886
21145
|
this._createIndexRecord(entry);
|
20887
21146
|
}
|
@@ -20906,9 +21165,13 @@ var require_entry = __commonJS2({
|
|
20906
21165
|
const fullpath = utils.path.makeAbsolute(this._settings.cwd, entryPath);
|
20907
21166
|
return utils.pattern.matchAny(fullpath, patternsRe);
|
20908
21167
|
}
|
20909
|
-
_isMatchToPatterns(entryPath, patternsRe) {
|
21168
|
+
_isMatchToPatterns(entryPath, patternsRe, isDirectory) {
|
20910
21169
|
const filepath = utils.path.removeLeadingDotSegment(entryPath);
|
20911
|
-
|
21170
|
+
const isMatched = utils.pattern.matchAny(filepath, patternsRe);
|
21171
|
+
if (!isMatched && isDirectory) {
|
21172
|
+
return utils.pattern.matchAny(filepath + "/", patternsRe);
|
21173
|
+
}
|
21174
|
+
return isMatched;
|
20912
21175
|
}
|
20913
21176
|
};
|
20914
21177
|
exports2.default = EntryFilter;
|
@@ -21023,29 +21286,24 @@ var require_provider = __commonJS2({
|
|
21023
21286
|
exports2.default = Provider;
|
21024
21287
|
}
|
21025
21288
|
});
|
21026
|
-
var
|
21289
|
+
var require_async7 = __commonJS2({
|
21027
21290
|
"node_modules/fast-glob/out/providers/async.js"(exports2) {
|
21028
21291
|
"use strict";
|
21029
21292
|
Object.defineProperty(exports2, "__esModule", {
|
21030
21293
|
value: true
|
21031
21294
|
});
|
21032
|
-
var
|
21295
|
+
var async_1 = require_async6();
|
21033
21296
|
var provider_1 = require_provider();
|
21034
21297
|
var ProviderAsync = class extends provider_1.default {
|
21035
21298
|
constructor() {
|
21036
21299
|
super(...arguments);
|
21037
|
-
this._reader = new
|
21300
|
+
this._reader = new async_1.default(this._settings);
|
21038
21301
|
}
|
21039
|
-
read(task) {
|
21302
|
+
async read(task) {
|
21040
21303
|
const root = this._getRootDirectory(task);
|
21041
21304
|
const options = this._getReaderOptions(task);
|
21042
|
-
const entries =
|
21043
|
-
return
|
21044
|
-
const stream = this.api(root, task, options);
|
21045
|
-
stream.once("error", reject);
|
21046
|
-
stream.on("data", (entry) => entries.push(options.transform(entry)));
|
21047
|
-
stream.once("end", () => resolve(entries));
|
21048
|
-
});
|
21305
|
+
const entries = await this.api(root, task, options);
|
21306
|
+
return entries.map((entry) => options.transform(entry));
|
21049
21307
|
}
|
21050
21308
|
api(root, task, options) {
|
21051
21309
|
if (task.dynamic) {
|
@@ -21235,7 +21493,7 @@ var require_out4 = __commonJS2({
|
|
21235
21493
|
"use strict";
|
21236
21494
|
var taskManager = require_tasks();
|
21237
21495
|
var patternManager = require_patterns();
|
21238
|
-
var async_1 =
|
21496
|
+
var async_1 = require_async7();
|
21239
21497
|
var stream_1 = require_stream4();
|
21240
21498
|
var sync_1 = require_sync7();
|
21241
21499
|
var settings_1 = require_settings4();
|
@@ -22025,43 +22283,41 @@ var require_utils7 = __commonJS2({
|
|
22025
22283
|
function shouldPrintComma(options, level = "es5") {
|
22026
22284
|
return options.trailingComma === "es5" && level === "es5" || options.trailingComma === "all" && (level === "all" || level === "es5");
|
22027
22285
|
}
|
22028
|
-
function startsWithNoLookaheadToken(node,
|
22029
|
-
node = getLeftMost(node);
|
22286
|
+
function startsWithNoLookaheadToken(node, predicate) {
|
22030
22287
|
switch (node.type) {
|
22031
|
-
case "
|
22032
|
-
case "
|
22033
|
-
case "
|
22034
|
-
|
22035
|
-
|
22036
|
-
return true;
|
22288
|
+
case "BinaryExpression":
|
22289
|
+
case "LogicalExpression":
|
22290
|
+
case "AssignmentExpression":
|
22291
|
+
case "NGPipeExpression":
|
22292
|
+
return startsWithNoLookaheadToken(node.left, predicate);
|
22037
22293
|
case "MemberExpression":
|
22038
22294
|
case "OptionalMemberExpression":
|
22039
|
-
return startsWithNoLookaheadToken(node.object,
|
22295
|
+
return startsWithNoLookaheadToken(node.object, predicate);
|
22040
22296
|
case "TaggedTemplateExpression":
|
22041
22297
|
if (node.tag.type === "FunctionExpression") {
|
22042
22298
|
return false;
|
22043
22299
|
}
|
22044
|
-
return startsWithNoLookaheadToken(node.tag,
|
22300
|
+
return startsWithNoLookaheadToken(node.tag, predicate);
|
22045
22301
|
case "CallExpression":
|
22046
22302
|
case "OptionalCallExpression":
|
22047
22303
|
if (node.callee.type === "FunctionExpression") {
|
22048
22304
|
return false;
|
22049
22305
|
}
|
22050
|
-
return startsWithNoLookaheadToken(node.callee,
|
22306
|
+
return startsWithNoLookaheadToken(node.callee, predicate);
|
22051
22307
|
case "ConditionalExpression":
|
22052
|
-
return startsWithNoLookaheadToken(node.test,
|
22308
|
+
return startsWithNoLookaheadToken(node.test, predicate);
|
22053
22309
|
case "UpdateExpression":
|
22054
|
-
return !node.prefix && startsWithNoLookaheadToken(node.argument,
|
22310
|
+
return !node.prefix && startsWithNoLookaheadToken(node.argument, predicate);
|
22055
22311
|
case "BindExpression":
|
22056
|
-
return node.object && startsWithNoLookaheadToken(node.object,
|
22312
|
+
return node.object && startsWithNoLookaheadToken(node.object, predicate);
|
22057
22313
|
case "SequenceExpression":
|
22058
|
-
return startsWithNoLookaheadToken(node.expressions[0],
|
22314
|
+
return startsWithNoLookaheadToken(node.expressions[0], predicate);
|
22059
22315
|
case "TSSatisfiesExpression":
|
22060
22316
|
case "TSAsExpression":
|
22061
22317
|
case "TSNonNullExpression":
|
22062
|
-
return startsWithNoLookaheadToken(node.expression,
|
22318
|
+
return startsWithNoLookaheadToken(node.expression, predicate);
|
22063
22319
|
default:
|
22064
|
-
return
|
22320
|
+
return predicate(node);
|
22065
22321
|
}
|
22066
22322
|
}
|
22067
22323
|
var equalityOperators = {
|
@@ -22105,12 +22361,6 @@ var require_utils7 = __commonJS2({
|
|
22105
22361
|
function getPrecedence(operator) {
|
22106
22362
|
return PRECEDENCE.get(operator);
|
22107
22363
|
}
|
22108
|
-
function getLeftMost(node) {
|
22109
|
-
while (node.left) {
|
22110
|
-
node = node.left;
|
22111
|
-
}
|
22112
|
-
return node;
|
22113
|
-
}
|
22114
22364
|
function isBitwiseOperator(operator) {
|
22115
22365
|
return Boolean(bitshiftOperators[operator]) || operator === "|" || operator === "^" || operator === "&";
|
22116
22366
|
}
|
@@ -23146,6 +23396,16 @@ var require_pragma = __commonJS2({
|
|
23146
23396
|
};
|
23147
23397
|
}
|
23148
23398
|
});
|
23399
|
+
var require_is_type_cast_comment = __commonJS2({
|
23400
|
+
"src/language-js/utils/is-type-cast-comment.js"(exports2, module2) {
|
23401
|
+
"use strict";
|
23402
|
+
var isBlockComment = require_is_block_comment();
|
23403
|
+
function isTypeCastComment(comment) {
|
23404
|
+
return isBlockComment(comment) && comment.value[0] === "*" && /@(?:type|satisfies)\b/.test(comment.value);
|
23405
|
+
}
|
23406
|
+
module2.exports = isTypeCastComment;
|
23407
|
+
}
|
23408
|
+
});
|
23149
23409
|
var require_comments2 = __commonJS2({
|
23150
23410
|
"src/language-js/comments.js"(exports2, module2) {
|
23151
23411
|
"use strict";
|
@@ -23183,6 +23443,7 @@ var require_comments2 = __commonJS2({
|
|
23183
23443
|
locEnd
|
23184
23444
|
} = require_loc();
|
23185
23445
|
var isBlockComment = require_is_block_comment();
|
23446
|
+
var isTypeCastComment = require_is_type_cast_comment();
|
23186
23447
|
function handleOwnLineComment(context) {
|
23187
23448
|
return [handleIgnoreComments, handleLastFunctionArgComments, handleMemberExpressionComments, handleIfStatementComments, handleWhileComments, handleTryStatementComments, handleClassComments, handleForComments, handleUnionTypeComments, handleOnlyComments, handleModuleSpecifiersComments, handleAssignmentPatternComments, handleMethodNameComments, handleLabeledStatementComments, handleBreakAndContinueStatementComments].some((fn) => fn(context));
|
23188
23449
|
}
|
@@ -23385,7 +23646,7 @@ var require_comments2 = __commonJS2({
|
|
23385
23646
|
}
|
23386
23647
|
return false;
|
23387
23648
|
}
|
23388
|
-
var propertyLikeNodeTypes = /* @__PURE__ */ new Set(["ClassMethod", "ClassProperty", "PropertyDefinition", "TSAbstractPropertyDefinition", "TSAbstractMethodDefinition", "TSDeclareMethod", "MethodDefinition"]);
|
23649
|
+
var propertyLikeNodeTypes = /* @__PURE__ */ new Set(["ClassMethod", "ClassProperty", "PropertyDefinition", "TSAbstractPropertyDefinition", "TSAbstractMethodDefinition", "TSDeclareMethod", "MethodDefinition", "ClassAccessorProperty", "AccessorProperty", "TSAbstractAccessorProperty"]);
|
23389
23650
|
function handleMethodNameComments({
|
23390
23651
|
comment,
|
23391
23652
|
precedingNode,
|
@@ -23673,7 +23934,7 @@ var require_comments2 = __commonJS2({
|
|
23673
23934
|
enclosingNode,
|
23674
23935
|
followingNode
|
23675
23936
|
}) {
|
23676
|
-
if (!enclosingNode || enclosingNode.type !== "SwitchCase" || enclosingNode.test) {
|
23937
|
+
if (!enclosingNode || enclosingNode.type !== "SwitchCase" || enclosingNode.test || !followingNode || followingNode !== enclosingNode.consequent[0]) {
|
23677
23938
|
return false;
|
23678
23939
|
}
|
23679
23940
|
if (followingNode.type === "BlockStatement" && isLineComment(comment)) {
|
@@ -23691,9 +23952,6 @@ var require_comments2 = __commonJS2({
|
|
23691
23952
|
return [...node.decorators || [], node.key, node.value.body];
|
23692
23953
|
}
|
23693
23954
|
}
|
23694
|
-
function isTypeCastComment(comment) {
|
23695
|
-
return isBlockComment(comment) && comment.value[0] === "*" && /@type\b/.test(comment.value);
|
23696
|
-
}
|
23697
23955
|
function willPrintOwnComments(path) {
|
23698
23956
|
const node = path.getValue();
|
23699
23957
|
const parent = path.getParentNode();
|
@@ -23704,7 +23962,6 @@ var require_comments2 = __commonJS2({
|
|
23704
23962
|
handleOwnLineComment,
|
23705
23963
|
handleEndOfLineComment,
|
23706
23964
|
handleRemainingComment,
|
23707
|
-
isTypeCastComment,
|
23708
23965
|
getCommentChildNodes,
|
23709
23966
|
willPrintOwnComments
|
23710
23967
|
};
|
@@ -23750,11 +24007,32 @@ var require_needs_parens = __commonJS2({
|
|
23750
24007
|
if (node.extra && node.extra.parenthesized && /^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(node.name)) {
|
23751
24008
|
return true;
|
23752
24009
|
}
|
23753
|
-
if (name === "left" && node.name === "async" && parent.
|
24010
|
+
if (name === "left" && (node.name === "async" && !parent.await || node.name === "let") && parent.type === "ForOfStatement") {
|
23754
24011
|
return true;
|
23755
24012
|
}
|
24013
|
+
if (node.name === "let") {
|
24014
|
+
var _path$findAncestor;
|
24015
|
+
const expression = (_path$findAncestor = path.findAncestor((node2) => node2.type === "ForOfStatement")) === null || _path$findAncestor === void 0 ? void 0 : _path$findAncestor.left;
|
24016
|
+
if (expression && startsWithNoLookaheadToken(expression, (leftmostNode) => leftmostNode === node)) {
|
24017
|
+
return true;
|
24018
|
+
}
|
24019
|
+
}
|
24020
|
+
if (name === "object" && node.name === "let" && parent.type === "MemberExpression" && parent.computed && !parent.optional) {
|
24021
|
+
const statement = path.findAncestor((node2) => node2.type === "ExpressionStatement" || node2.type === "ForStatement" || node2.type === "ForInStatement");
|
24022
|
+
const expression = !statement ? void 0 : statement.type === "ExpressionStatement" ? statement.expression : statement.type === "ForStatement" ? statement.init : statement.left;
|
24023
|
+
if (expression && startsWithNoLookaheadToken(expression, (leftmostNode) => leftmostNode === node)) {
|
24024
|
+
return true;
|
24025
|
+
}
|
24026
|
+
}
|
23756
24027
|
return false;
|
23757
24028
|
}
|
24029
|
+
if (node.type === "ObjectExpression" || node.type === "FunctionExpression" || node.type === "ClassExpression" || node.type === "DoExpression") {
|
24030
|
+
var _path$findAncestor2;
|
24031
|
+
const expression = (_path$findAncestor2 = path.findAncestor((node2) => node2.type === "ExpressionStatement")) === null || _path$findAncestor2 === void 0 ? void 0 : _path$findAncestor2.expression;
|
24032
|
+
if (expression && startsWithNoLookaheadToken(expression, (leftmostNode) => leftmostNode === node)) {
|
24033
|
+
return true;
|
24034
|
+
}
|
24035
|
+
}
|
23758
24036
|
switch (parent.type) {
|
23759
24037
|
case "ParenthesizedExpression":
|
23760
24038
|
return false;
|
@@ -23770,6 +24048,9 @@ var require_needs_parens = __commonJS2({
|
|
23770
24048
|
}
|
23771
24049
|
case "Decorator": {
|
23772
24050
|
if (name === "expression") {
|
24051
|
+
if (isMemberExpression(node) && node.computed) {
|
24052
|
+
return true;
|
24053
|
+
}
|
23773
24054
|
let hasCallExpression = false;
|
23774
24055
|
let hasMemberExpression = false;
|
23775
24056
|
let current = node;
|
@@ -23798,14 +24079,8 @@ var require_needs_parens = __commonJS2({
|
|
23798
24079
|
}
|
23799
24080
|
break;
|
23800
24081
|
}
|
23801
|
-
case "ExpressionStatement": {
|
23802
|
-
if (startsWithNoLookaheadToken(node, true)) {
|
23803
|
-
return true;
|
23804
|
-
}
|
23805
|
-
break;
|
23806
|
-
}
|
23807
24082
|
case "ArrowFunctionExpression": {
|
23808
|
-
if (name === "body" && node.type !== "SequenceExpression" && startsWithNoLookaheadToken(node,
|
24083
|
+
if (name === "body" && node.type !== "SequenceExpression" && startsWithNoLookaheadToken(node, (node2) => node2.type === "ObjectExpression")) {
|
23809
24084
|
return true;
|
23810
24085
|
}
|
23811
24086
|
break;
|
@@ -23969,14 +24244,19 @@ var require_needs_parens = __commonJS2({
|
|
23969
24244
|
return false;
|
23970
24245
|
}
|
23971
24246
|
case "TSConditionalType":
|
23972
|
-
if (name === "extendsType" && parent.type === "TSConditionalType") {
|
23973
|
-
return true;
|
23974
|
-
}
|
23975
24247
|
case "TSFunctionType":
|
23976
24248
|
case "TSConstructorType":
|
23977
24249
|
if (name === "extendsType" && parent.type === "TSConditionalType") {
|
23978
|
-
|
23979
|
-
|
24250
|
+
if (node.type === "TSConditionalType") {
|
24251
|
+
return true;
|
24252
|
+
}
|
24253
|
+
let {
|
24254
|
+
typeAnnotation
|
24255
|
+
} = node.returnType || node.typeAnnotation;
|
24256
|
+
if (typeAnnotation.type === "TSTypePredicate" && typeAnnotation.typeAnnotation) {
|
24257
|
+
typeAnnotation = typeAnnotation.typeAnnotation.typeAnnotation;
|
24258
|
+
}
|
24259
|
+
if (typeAnnotation.type === "TSInferType" && typeAnnotation.typeParameter.constraint) {
|
23980
24260
|
return true;
|
23981
24261
|
}
|
23982
24262
|
}
|
@@ -23994,6 +24274,10 @@ var require_needs_parens = __commonJS2({
|
|
23994
24274
|
}
|
23995
24275
|
case "TSTypeOperator":
|
23996
24276
|
return parent.type === "TSArrayType" || parent.type === "TSOptionalType" || parent.type === "TSRestType" || name === "objectType" && parent.type === "TSIndexedAccessType" || parent.type === "TSTypeOperator" || parent.type === "TSTypeAnnotation" && path.getParentNode(1).type.startsWith("TSJSDoc");
|
24277
|
+
case "TSTypeQuery":
|
24278
|
+
return name === "objectType" && parent.type === "TSIndexedAccessType" || name === "elementType" && parent.type === "TSArrayType";
|
24279
|
+
case "TypeofTypeAnnotation":
|
24280
|
+
return name === "objectType" && (parent.type === "IndexedAccessType" || parent.type === "OptionalIndexedAccessType") || name === "elementType" && parent.type === "ArrayTypeAnnotation";
|
23997
24281
|
case "ArrayTypeAnnotation":
|
23998
24282
|
return parent.type === "NullableTypeAnnotation";
|
23999
24283
|
case "IntersectionTypeAnnotation":
|
@@ -24007,8 +24291,6 @@ var require_needs_parens = __commonJS2({
|
|
24007
24291
|
}
|
24008
24292
|
case "OptionalIndexedAccessType":
|
24009
24293
|
return name === "objectType" && parent.type === "IndexedAccessType";
|
24010
|
-
case "TypeofTypeAnnotation":
|
24011
|
-
return name === "objectType" && (parent.type === "IndexedAccessType" || parent.type === "OptionalIndexedAccessType");
|
24012
24294
|
case "StringLiteral":
|
24013
24295
|
case "NumericLiteral":
|
24014
24296
|
case "Literal":
|
@@ -24549,7 +24831,8 @@ var require_jsx = __commonJS2({
|
|
24549
24831
|
"use strict";
|
24550
24832
|
var {
|
24551
24833
|
printComments,
|
24552
|
-
printDanglingComments
|
24834
|
+
printDanglingComments,
|
24835
|
+
printCommentsSeparately
|
24553
24836
|
} = require_comments();
|
24554
24837
|
var {
|
24555
24838
|
builders: {
|
@@ -24575,7 +24858,6 @@ var require_jsx = __commonJS2({
|
|
24575
24858
|
var {
|
24576
24859
|
isJsxNode,
|
24577
24860
|
rawText,
|
24578
|
-
isLiteral,
|
24579
24861
|
isCallExpression,
|
24580
24862
|
isStringLiteral,
|
24581
24863
|
isBinaryish,
|
@@ -24677,7 +24959,7 @@ var require_jsx = __commonJS2({
|
|
24677
24959
|
const parts = [];
|
24678
24960
|
path.each((childPath, i, children) => {
|
24679
24961
|
const child = childPath.getValue();
|
24680
|
-
if (
|
24962
|
+
if (child.type === "JSXText") {
|
24681
24963
|
const text = rawText(child);
|
24682
24964
|
if (isMeaningfulJsxText(child)) {
|
24683
24965
|
const words = text.split(matchJsxWhitespaceRegex);
|
@@ -24799,7 +25081,11 @@ var require_jsx = __commonJS2({
|
|
24799
25081
|
regex
|
24800
25082
|
} = getPreferredQuote(final, options.jsxSingleQuote ? "'" : '"');
|
24801
25083
|
final = final.replace(regex, escaped);
|
24802
|
-
|
25084
|
+
const {
|
25085
|
+
leading,
|
25086
|
+
trailing
|
25087
|
+
} = path.call(() => printCommentsSeparately(path, options), "value");
|
25088
|
+
res = [leading, quote, final, quote, trailing];
|
24803
25089
|
} else {
|
24804
25090
|
res = print("value");
|
24805
25091
|
}
|
@@ -24921,7 +25207,7 @@ var require_jsx = __commonJS2({
|
|
24921
25207
|
case "JSXEmptyExpression":
|
24922
25208
|
return printJsxEmptyExpression(path, options);
|
24923
25209
|
case "JSXText":
|
24924
|
-
throw new Error("
|
25210
|
+
throw new Error("JSXText should be handled by JSXElement");
|
24925
25211
|
default:
|
24926
25212
|
throw new Error(`Unknown JSX node type: ${JSON.stringify(node.type)}.`);
|
24927
25213
|
}
|
@@ -24938,13 +25224,13 @@ var require_jsx = __commonJS2({
|
|
24938
25224
|
return false;
|
24939
25225
|
}
|
24940
25226
|
const child = node.children[0];
|
24941
|
-
return
|
25227
|
+
return child.type === "JSXText" && !isMeaningfulJsxText(child);
|
24942
25228
|
}
|
24943
25229
|
function isMeaningfulJsxText(node) {
|
24944
|
-
return
|
25230
|
+
return node.type === "JSXText" && (containsNonJsxWhitespaceRegex.test(rawText(node)) || !/\n/.test(rawText(node)));
|
24945
25231
|
}
|
24946
25232
|
function isJsxWhitespaceExpression(node) {
|
24947
|
-
return node.type === "JSXExpressionContainer" &&
|
25233
|
+
return node.type === "JSXExpressionContainer" && isStringLiteral(node.expression) && node.expression.value === " " && !hasComment(node.expression);
|
24948
25234
|
}
|
24949
25235
|
function hasJsxIgnoreComment(path) {
|
24950
25236
|
const node = path.getValue();
|
@@ -25583,6 +25869,14 @@ var require_misc = __commonJS2({
|
|
25583
25869
|
function printRestSpread(path, options, print) {
|
25584
25870
|
return ["...", print("argument"), printTypeAnnotation(path, options, print)];
|
25585
25871
|
}
|
25872
|
+
function printDirective(rawText, options) {
|
25873
|
+
const rawContent = rawText.slice(1, -1);
|
25874
|
+
if (rawContent.includes('"') || rawContent.includes("'")) {
|
25875
|
+
return rawText;
|
25876
|
+
}
|
25877
|
+
const enclosingQuote = options.singleQuote ? "'" : '"';
|
25878
|
+
return enclosingQuote + rawContent + enclosingQuote;
|
25879
|
+
}
|
25586
25880
|
module2.exports = {
|
25587
25881
|
printOptionalToken,
|
25588
25882
|
printDefiniteToken,
|
@@ -25591,7 +25885,8 @@ var require_misc = __commonJS2({
|
|
25591
25885
|
printTypeScriptModifiers,
|
25592
25886
|
printTypeAnnotation,
|
25593
25887
|
printRestSpread,
|
25594
|
-
adjustClause
|
25888
|
+
adjustClause,
|
25889
|
+
printDirective
|
25595
25890
|
};
|
25596
25891
|
}
|
25597
25892
|
});
|
@@ -26837,7 +27132,8 @@ var require_type_parameters = __commonJS2({
|
|
26837
27132
|
isTSXFile,
|
26838
27133
|
shouldPrintComma,
|
26839
27134
|
getFunctionParameters,
|
26840
|
-
isObjectType
|
27135
|
+
isObjectType,
|
27136
|
+
getTypeScriptMappedTypeModifier
|
26841
27137
|
} = require_utils7();
|
26842
27138
|
var {
|
26843
27139
|
createGroupIdMapper
|
@@ -26860,7 +27156,7 @@ var require_type_parameters = __commonJS2({
|
|
26860
27156
|
const grandparent = path.getNode(2);
|
26861
27157
|
const isParameterInTestCall = grandparent && isTestCall(grandparent);
|
26862
27158
|
const isArrowFunctionVariable = path.match((node2) => !(node2[paramsKey].length === 1 && isObjectType(node2[paramsKey][0])), void 0, (node2, name) => name === "typeAnnotation", (node2) => node2.type === "Identifier", isArrowFunctionVariableDeclarator);
|
26863
|
-
const shouldInline =
|
27159
|
+
const shouldInline = node[paramsKey].length === 0 || !isArrowFunctionVariable && (isParameterInTestCall || node[paramsKey].length === 1 && (node[paramsKey][0].type === "NullableTypeAnnotation" || shouldHugType(node[paramsKey][0])));
|
26864
27160
|
if (shouldInline) {
|
26865
27161
|
return ["<", join(", ", path.map(print, paramsKey)), printDanglingCommentsForInline(path, options), ">"];
|
26866
27162
|
}
|
@@ -26883,9 +27179,12 @@ var require_type_parameters = __commonJS2({
|
|
26883
27179
|
}
|
26884
27180
|
function printTypeParameter(path, options, print) {
|
26885
27181
|
const node = path.getValue();
|
26886
|
-
const parts = [];
|
27182
|
+
const parts = [node.type === "TSTypeParameter" && node.const ? "const " : ""];
|
26887
27183
|
const parent = path.getParentNode();
|
26888
27184
|
if (parent.type === "TSMappedType") {
|
27185
|
+
if (parent.readonly) {
|
27186
|
+
parts.push(getTypeScriptMappedTypeModifier(parent.readonly, "readonly"), " ");
|
27187
|
+
}
|
26889
27188
|
parts.push("[", print("name"));
|
26890
27189
|
if (node.constraint) {
|
26891
27190
|
parts.push(" in ", print("constraint"));
|
@@ -26954,9 +27253,6 @@ var require_property = __commonJS2({
|
|
26954
27253
|
const {
|
26955
27254
|
key
|
26956
27255
|
} = node;
|
26957
|
-
if (node.type === "ClassPrivateProperty" && key.type === "Identifier") {
|
26958
|
-
return ["#", print("key")];
|
26959
|
-
}
|
26960
27256
|
if (options.quoteProps === "consistent" && !needsQuoteProps.has(parent)) {
|
26961
27257
|
const objectHasStringProp = (parent.properties || parent.body || parent.members).some((prop) => !prop.computed && prop.key && isStringLiteral(prop.key) && !isStringPropSafeToUnquote(prop, options));
|
26962
27258
|
needsQuoteProps.set(parent, objectHasStringProp);
|
@@ -27208,7 +27504,7 @@ var require_function = __commonJS2({
|
|
27208
27504
|
}
|
27209
27505
|
const shouldAddSoftLine = (args && args.expandLastArg || path.getParentNode().type === "JSXExpressionContainer") && !hasComment(node);
|
27210
27506
|
const printTrailingComma = args && args.expandLastArg && shouldPrintComma(options, "all");
|
27211
|
-
const shouldAddParens = node.body.type === "ConditionalExpression" && !startsWithNoLookaheadToken(node.body,
|
27507
|
+
const shouldAddParens = node.body.type === "ConditionalExpression" && !startsWithNoLookaheadToken(node.body, (node2) => node2.type === "ObjectExpression");
|
27212
27508
|
return group([...parts, group([indent([line, shouldAddParens ? ifBreak("", "(") : "", body, shouldAddParens ? ifBreak("", ")") : ""]), shouldAddSoftLine ? [ifBreak(printTrailingComma ? "," : ""), softline] : ""])]);
|
27213
27509
|
}
|
27214
27510
|
function canPrintParamsWithoutParens(node) {
|
@@ -27525,7 +27821,7 @@ var require_class = __commonJS2({
|
|
27525
27821
|
if (node.static) {
|
27526
27822
|
parts.push("static ");
|
27527
27823
|
}
|
27528
|
-
if (node.type === "TSAbstractPropertyDefinition" || node.abstract) {
|
27824
|
+
if (node.type === "TSAbstractPropertyDefinition" || node.type === "TSAbstractAccessorProperty" || node.abstract) {
|
27529
27825
|
parts.push("abstract ");
|
27530
27826
|
}
|
27531
27827
|
if (node.override) {
|
@@ -27537,7 +27833,7 @@ var require_class = __commonJS2({
|
|
27537
27833
|
if (node.variance) {
|
27538
27834
|
parts.push(print("variance"));
|
27539
27835
|
}
|
27540
|
-
if (node.type === "ClassAccessorProperty") {
|
27836
|
+
if (node.type === "ClassAccessorProperty" || node.type === "AccessorProperty" || node.type === "TSAbstractAccessorProperty") {
|
27541
27837
|
parts.push("accessor ");
|
27542
27838
|
}
|
27543
27839
|
parts.push(printPropertyKey(path, options, print), printOptionalToken(path), printDefiniteToken(path), printTypeAnnotation(path, options, print));
|
@@ -28555,10 +28851,13 @@ var require_statement = __commonJS2({
|
|
28555
28851
|
}
|
28556
28852
|
var isClassProperty = ({
|
28557
28853
|
type
|
28558
|
-
}) => type === "ClassProperty" || type === "PropertyDefinition" || type === "ClassPrivateProperty" || type === "ClassAccessorProperty";
|
28854
|
+
}) => type === "ClassProperty" || type === "PropertyDefinition" || type === "ClassPrivateProperty" || type === "ClassAccessorProperty" || type === "AccessorProperty" || type === "TSAbstractPropertyDefinition" || type === "TSAbstractAccessorProperty";
|
28559
28855
|
function shouldPrintSemicolonAfterClassProperty(node, nextNode) {
|
28560
|
-
const
|
28561
|
-
|
28856
|
+
const {
|
28857
|
+
type,
|
28858
|
+
name
|
28859
|
+
} = node.key;
|
28860
|
+
if (!node.computed && type === "Identifier" && (name === "static" || name === "get" || name === "set" || name === "accessor") && !node.value && !node.typeAnnotation) {
|
28562
28861
|
return true;
|
28563
28862
|
}
|
28564
28863
|
if (!nextNode) {
|
@@ -28718,7 +29017,7 @@ var require_typescript = __commonJS2({
|
|
28718
29017
|
}
|
28719
29018
|
} = require("./doc.js");
|
28720
29019
|
var {
|
28721
|
-
|
29020
|
+
isStringLiteral,
|
28722
29021
|
getTypeScriptMappedTypeModifier,
|
28723
29022
|
shouldPrintComma,
|
28724
29023
|
isCallExpression,
|
@@ -28819,6 +29118,7 @@ var require_typescript = __commonJS2({
|
|
28819
29118
|
case "TSAbstractMethodDefinition":
|
28820
29119
|
case "TSDeclareMethod":
|
28821
29120
|
return printClassMethod(path, options, print);
|
29121
|
+
case "TSAbstractAccessorProperty":
|
28822
29122
|
case "TSAbstractPropertyDefinition":
|
28823
29123
|
return printClassProperty(path, options, print);
|
28824
29124
|
case "TSInterfaceHeritage":
|
@@ -28926,7 +29226,7 @@ var require_typescript = __commonJS2({
|
|
28926
29226
|
return [node.operator, " ", print("typeAnnotation")];
|
28927
29227
|
case "TSMappedType": {
|
28928
29228
|
const shouldBreak = hasNewlineInRange(options.originalText, locStart(node), locEnd(node));
|
28929
|
-
return group(["{", indent([options.bracketSpacing ? line : softline,
|
29229
|
+
return group(["{", indent([options.bracketSpacing ? line : softline, print("typeParameter"), node.optional ? getTypeScriptMappedTypeModifier(node.optional, "?") : "", node.typeAnnotation ? ": " : "", print("typeAnnotation"), ifBreak(semi)]), printDanglingComments(path, options, true), options.bracketSpacing ? line : softline, "}"], {
|
28930
29230
|
shouldBreak
|
28931
29231
|
});
|
28932
29232
|
}
|
@@ -28994,7 +29294,7 @@ var require_typescript = __commonJS2({
|
|
28994
29294
|
return ["require(", print("expression"), ")"];
|
28995
29295
|
case "TSModuleDeclaration": {
|
28996
29296
|
const parent = path.getParentNode();
|
28997
|
-
const isExternalModule =
|
29297
|
+
const isExternalModule = isStringLiteral(node.id);
|
28998
29298
|
const parentIsDeclaration = parent.type === "TSModuleDeclaration";
|
28999
29299
|
const bodyIsDeclaration = node.body && node.body.type === "TSModuleDeclaration";
|
29000
29300
|
if (parentIsDeclaration) {
|
@@ -29124,6 +29424,9 @@ var require_literal = __commonJS2({
|
|
29124
29424
|
var {
|
29125
29425
|
replaceTextEndOfLine
|
29126
29426
|
} = require_doc_utils();
|
29427
|
+
var {
|
29428
|
+
printDirective
|
29429
|
+
} = require_misc();
|
29127
29430
|
function printLiteral(path, options) {
|
29128
29431
|
const node = path.getNode();
|
29129
29432
|
switch (node.type) {
|
@@ -29158,12 +29461,19 @@ var require_literal = __commonJS2({
|
|
29158
29461
|
return printNumber(node.raw);
|
29159
29462
|
}
|
29160
29463
|
if (typeof value === "string") {
|
29161
|
-
return replaceTextEndOfLine(printString(node.raw, options));
|
29464
|
+
return isDirective(path) ? printDirective(node.raw, options) : replaceTextEndOfLine(printString(node.raw, options));
|
29162
29465
|
}
|
29163
29466
|
return String(value);
|
29164
29467
|
}
|
29165
29468
|
}
|
29166
29469
|
}
|
29470
|
+
function isDirective(path) {
|
29471
|
+
if (path.getName() !== "expression") {
|
29472
|
+
return;
|
29473
|
+
}
|
29474
|
+
const parent = path.getParentNode();
|
29475
|
+
return parent.type === "ExpressionStatement" && parent.directive;
|
29476
|
+
}
|
29167
29477
|
function printBigInt(raw) {
|
29168
29478
|
return raw.toLowerCase();
|
29169
29479
|
}
|
@@ -29217,7 +29527,6 @@ var require_printer_estree = __commonJS2({
|
|
29217
29527
|
isLineComment,
|
29218
29528
|
isNextLineEmpty,
|
29219
29529
|
needsHardlineAfterDanglingComment,
|
29220
|
-
rawText,
|
29221
29530
|
hasIgnoreComment,
|
29222
29531
|
isCallExpression,
|
29223
29532
|
isMemberExpression,
|
@@ -29251,7 +29560,8 @@ var require_printer_estree = __commonJS2({
|
|
29251
29560
|
printTypeAnnotation,
|
29252
29561
|
adjustClause,
|
29253
29562
|
printRestSpread,
|
29254
|
-
printDefiniteToken
|
29563
|
+
printDefiniteToken,
|
29564
|
+
printDirective
|
29255
29565
|
} = require_misc();
|
29256
29566
|
var {
|
29257
29567
|
printImportDeclaration,
|
@@ -29324,7 +29634,7 @@ var require_printer_estree = __commonJS2({
|
|
29324
29634
|
const {
|
29325
29635
|
type
|
29326
29636
|
} = node;
|
29327
|
-
if (type === "ClassMethod" || type === "ClassPrivateMethod" || type === "ClassProperty" || type === "ClassAccessorProperty" || type === "PropertyDefinition" || type === "TSAbstractPropertyDefinition" || type === "ClassPrivateProperty" || type === "MethodDefinition" || type === "TSAbstractMethodDefinition" || type === "TSDeclareMethod") {
|
29637
|
+
if (type === "ClassMethod" || type === "ClassPrivateMethod" || type === "ClassProperty" || type === "ClassAccessorProperty" || type === "AccessorProperty" || type === "TSAbstractAccessorProperty" || type === "PropertyDefinition" || type === "TSAbstractPropertyDefinition" || type === "ClassPrivateProperty" || type === "MethodDefinition" || type === "TSAbstractMethodDefinition" || type === "TSDeclareMethod") {
|
29328
29638
|
return printed;
|
29329
29639
|
}
|
29330
29640
|
let parts = [printed];
|
@@ -29396,9 +29706,6 @@ var require_printer_estree = __commonJS2({
|
|
29396
29706
|
case "EmptyStatement":
|
29397
29707
|
return "";
|
29398
29708
|
case "ExpressionStatement": {
|
29399
|
-
if (node.directive) {
|
29400
|
-
return [printDirective(node.expression, options), semi];
|
29401
|
-
}
|
29402
29709
|
if (options.parser === "__vue_event_binding" || options.parser === "__vue_ts_event_binding") {
|
29403
29710
|
const parent = path.getParentNode();
|
29404
29711
|
if (parent.type === "Program" && parent.body.length === 1 && parent.body[0] === node) {
|
@@ -29549,7 +29856,7 @@ var require_printer_estree = __commonJS2({
|
|
29549
29856
|
case "Directive":
|
29550
29857
|
return [print("value"), semi];
|
29551
29858
|
case "DirectiveLiteral":
|
29552
|
-
return printDirective(node, options);
|
29859
|
+
return printDirective(node.extra.raw, options);
|
29553
29860
|
case "UnaryExpression":
|
29554
29861
|
parts.push(node.operator);
|
29555
29862
|
if (/[a-z]$/.test(node.operator)) {
|
@@ -29696,6 +30003,7 @@ var require_printer_estree = __commonJS2({
|
|
29696
30003
|
case "PropertyDefinition":
|
29697
30004
|
case "ClassPrivateProperty":
|
29698
30005
|
case "ClassAccessorProperty":
|
30006
|
+
case "AccessorProperty":
|
29699
30007
|
return printClassProperty(path, options, print);
|
29700
30008
|
case "TemplateElement":
|
29701
30009
|
return replaceTextEndOfLine(node.value.raw);
|
@@ -29730,15 +30038,6 @@ var require_printer_estree = __commonJS2({
|
|
29730
30038
|
throw new Error("unknown type: " + JSON.stringify(node.type));
|
29731
30039
|
}
|
29732
30040
|
}
|
29733
|
-
function printDirective(node, options) {
|
29734
|
-
const raw = rawText(node);
|
29735
|
-
const rawContent = raw.slice(1, -1);
|
29736
|
-
if (rawContent.includes('"') || rawContent.includes("'")) {
|
29737
|
-
return raw;
|
29738
|
-
}
|
29739
|
-
const enclosingQuote = options.singleQuote ? "'" : '"';
|
29740
|
-
return enclosingQuote + rawContent + enclosingQuote;
|
29741
|
-
}
|
29742
30041
|
function canAttachComment(node) {
|
29743
30042
|
return node.type && !isBlockComment(node) && !isLineComment(node) && node.type !== "EmptyStatement" && node.type !== "TemplateElement" && node.type !== "Import" && node.type !== "TSEmptyBodyFunctionExpression";
|
29744
30043
|
}
|
@@ -29799,15 +30098,11 @@ var require_printer_estree_json = __commonJS2({
|
|
29799
30098
|
case "BooleanLiteral":
|
29800
30099
|
return node.value ? "true" : "false";
|
29801
30100
|
case "StringLiteral":
|
29802
|
-
case "NumericLiteral":
|
29803
30101
|
return JSON.stringify(node.value);
|
29804
|
-
case "
|
29805
|
-
|
29806
|
-
|
29807
|
-
|
29808
|
-
}
|
29809
|
-
return node.name;
|
29810
|
-
}
|
30102
|
+
case "NumericLiteral":
|
30103
|
+
return isObjectKey(path) ? JSON.stringify(String(node.value)) : JSON.stringify(node.value);
|
30104
|
+
case "Identifier":
|
30105
|
+
return isObjectKey(path) ? JSON.stringify(node.name) : node.name;
|
29811
30106
|
case "TemplateLiteral":
|
29812
30107
|
return print(["quasis", 0]);
|
29813
30108
|
case "TemplateElement":
|
@@ -29816,16 +30111,29 @@ var require_printer_estree_json = __commonJS2({
|
|
29816
30111
|
throw new Error("unknown type: " + JSON.stringify(node.type));
|
29817
30112
|
}
|
29818
30113
|
}
|
30114
|
+
function isObjectKey(path) {
|
30115
|
+
return path.getName() === "key" && path.getParentNode().type === "ObjectProperty";
|
30116
|
+
}
|
29819
30117
|
var ignoredProperties = /* @__PURE__ */ new Set(["start", "end", "extra", "loc", "comments", "leadingComments", "trailingComments", "innerComments", "errors", "range", "tokens"]);
|
29820
30118
|
function clean(node, newNode) {
|
29821
30119
|
const {
|
29822
30120
|
type
|
29823
30121
|
} = node;
|
29824
|
-
if (type === "ObjectProperty"
|
29825
|
-
|
29826
|
-
|
29827
|
-
|
29828
|
-
|
30122
|
+
if (type === "ObjectProperty") {
|
30123
|
+
const {
|
30124
|
+
key
|
30125
|
+
} = node;
|
30126
|
+
if (key.type === "Identifier") {
|
30127
|
+
newNode.key = {
|
30128
|
+
type: "StringLiteral",
|
30129
|
+
value: key.name
|
30130
|
+
};
|
30131
|
+
} else if (key.type === "NumericLiteral") {
|
30132
|
+
newNode.key = {
|
30133
|
+
type: "StringLiteral",
|
30134
|
+
value: String(key.value)
|
30135
|
+
};
|
30136
|
+
}
|
29829
30137
|
return;
|
29830
30138
|
}
|
29831
30139
|
if (type === "UnaryExpression" && node.operator === "+") {
|
@@ -30365,6 +30673,18 @@ var require_clean2 = __commonJS2({
|
|
30365
30673
|
});
|
30366
30674
|
}
|
30367
30675
|
}
|
30676
|
+
if (ast.type === "value-comma_group" && ast.groups.some((node) => node.type === "value-atword" && node.value.endsWith("[") || node.type === "value-word" && node.value.startsWith("]"))) {
|
30677
|
+
return {
|
30678
|
+
type: "value-atword",
|
30679
|
+
value: ast.groups.map((node) => node.value).join(""),
|
30680
|
+
group: {
|
30681
|
+
open: null,
|
30682
|
+
close: null,
|
30683
|
+
groups: [],
|
30684
|
+
type: "value-paren_group"
|
30685
|
+
}
|
30686
|
+
};
|
30687
|
+
}
|
30368
30688
|
}
|
30369
30689
|
clean.ignoredProperties = ignoredProperties;
|
30370
30690
|
function cleanCSSStrings(value) {
|
@@ -31145,7 +31465,10 @@ var require_printer_postcss = __commonJS2({
|
|
31145
31465
|
return [node.raw, hardline];
|
31146
31466
|
case "css-root": {
|
31147
31467
|
const nodes = printNodeSequence(path, options, print);
|
31148
|
-
|
31468
|
+
let after = node.raws.after.trim();
|
31469
|
+
if (after.startsWith(";")) {
|
31470
|
+
after = after.slice(1).trim();
|
31471
|
+
}
|
31149
31472
|
return [nodes, after ? ` ${after}` : "", getDocParts(nodes).length > 0 ? hardline : ""];
|
31150
31473
|
}
|
31151
31474
|
case "css-comment": {
|
@@ -31167,7 +31490,7 @@ var require_printer_postcss = __commonJS2({
|
|
31167
31490
|
if (!isColon && lastLineHasInlineComment(trimmedBetween)) {
|
31168
31491
|
value = indent([hardline, dedent(value)]);
|
31169
31492
|
}
|
31170
|
-
return [node.raws.before.replace(/[\s;]/g, ""), insideICSSRuleNode(path) ? node.prop : maybeToLowerCase(node.prop), trimmedBetween.startsWith("//") ? " " : "", trimmedBetween, node.extend ? "" : " ", isLessParser(options) && node.extend && node.selector ? ["extend(", print("selector"), ")"] : "", value, node.raws.important ? node.raws.important.replace(/\s*!\s*important/i, " !important") : node.important ? " !important" : "", node.raws.scssDefault ? node.raws.scssDefault.replace(/\s*!default/i, " !default") : node.scssDefault ? " !default" : "", node.raws.scssGlobal ? node.raws.scssGlobal.replace(/\s*!global/i, " !global") : node.scssGlobal ? " !global" : "", node.nodes ? [" {", indent([softline, printNodeSequence(path, options, print)]), softline, "}"] : isTemplatePropNode(node) && !parentNode.raws.semicolon && options.originalText[locEnd(node) - 1] !== ";" ? "" : options.__isHTMLStyleAttribute && isLastNode(path, node) ? ifBreak(";") : ";"];
|
31493
|
+
return [node.raws.before.replace(/[\s;]/g, ""), parentNode.type === "css-atrule" && parentNode.variable || insideICSSRuleNode(path) ? node.prop : maybeToLowerCase(node.prop), trimmedBetween.startsWith("//") ? " " : "", trimmedBetween, node.extend ? "" : " ", isLessParser(options) && node.extend && node.selector ? ["extend(", print("selector"), ")"] : "", value, node.raws.important ? node.raws.important.replace(/\s*!\s*important/i, " !important") : node.important ? " !important" : "", node.raws.scssDefault ? node.raws.scssDefault.replace(/\s*!default/i, " !default") : node.scssDefault ? " !default" : "", node.raws.scssGlobal ? node.raws.scssGlobal.replace(/\s*!global/i, " !global") : node.scssGlobal ? " !global" : "", node.nodes ? [" {", indent([softline, printNodeSequence(path, options, print)]), softline, "}"] : isTemplatePropNode(node) && !parentNode.raws.semicolon && options.originalText[locEnd(node) - 1] !== ";" ? "" : options.__isHTMLStyleAttribute && isLastNode(path, node) ? ifBreak(";") : ";"];
|
31171
31494
|
}
|
31172
31495
|
case "css-atrule": {
|
31173
31496
|
const parentNode = path.getParentNode();
|
@@ -31335,11 +31658,16 @@ var require_printer_postcss = __commonJS2({
|
|
31335
31658
|
if (iNode.type === "value-word" && iNode.value.endsWith("-") && isAtWordPlaceholderNode(iNextNode)) {
|
31336
31659
|
continue;
|
31337
31660
|
}
|
31338
|
-
|
31339
|
-
|
31340
|
-
|
31341
|
-
|
31342
|
-
|
31661
|
+
if (iNode.type === "value-string" && iNode.quoted) {
|
31662
|
+
const positionOfOpeningInterpolation = iNode.value.lastIndexOf("#{");
|
31663
|
+
const positionOfClosingInterpolation = iNode.value.lastIndexOf("}");
|
31664
|
+
if (positionOfOpeningInterpolation !== -1 && positionOfClosingInterpolation !== -1) {
|
31665
|
+
insideSCSSInterpolationInString = positionOfOpeningInterpolation > positionOfClosingInterpolation;
|
31666
|
+
} else if (positionOfOpeningInterpolation !== -1) {
|
31667
|
+
insideSCSSInterpolationInString = true;
|
31668
|
+
} else if (positionOfClosingInterpolation !== -1) {
|
31669
|
+
insideSCSSInterpolationInString = false;
|
31670
|
+
}
|
31343
31671
|
}
|
31344
31672
|
if (insideSCSSInterpolationInString) {
|
31345
31673
|
continue;
|
@@ -31347,7 +31675,10 @@ var require_printer_postcss = __commonJS2({
|
|
31347
31675
|
if (isColonNode(iNode) || isColonNode(iNextNode)) {
|
31348
31676
|
continue;
|
31349
31677
|
}
|
31350
|
-
if (iNode.type === "value-atword" && iNode.value === "") {
|
31678
|
+
if (iNode.type === "value-atword" && (iNode.value === "" || iNode.value.endsWith("["))) {
|
31679
|
+
continue;
|
31680
|
+
}
|
31681
|
+
if (iNextNode.type === "value-word" && iNextNode.value.startsWith("]")) {
|
31351
31682
|
continue;
|
31352
31683
|
}
|
31353
31684
|
if (iNode.value === "~") {
|
@@ -31388,6 +31719,9 @@ var require_printer_postcss = __commonJS2({
|
|
31388
31719
|
if (!(isMultiplicationNode(iNextNode) || isMultiplicationNode(iNode)) && !insideValueFunctionNode(path, "calc") && !isColorAdjusterNode && (isDivisionNode(iNextNode) && !requireSpaceBeforeOperator || isDivisionNode(iNode) && !requireSpaceAfterOperator || isAdditionNode(iNextNode) && !requireSpaceBeforeOperator || isAdditionNode(iNode) && !requireSpaceAfterOperator || isSubtractionNode(iNextNode) || isSubtractionNode(iNode)) && (hasEmptyRawBefore(iNextNode) || isMathOperator && (!iPrevNode || iPrevNode && isMathOperatorNode(iPrevNode)))) {
|
31389
31720
|
continue;
|
31390
31721
|
}
|
31722
|
+
if ((options.parser === "scss" || options.parser === "less") && isMathOperator && iNode.value === "-" && isParenGroupNode(iNextNode) && locEnd(iNode) === locStart(iNextNode.open) && iNextNode.open.value === "(") {
|
31723
|
+
continue;
|
31724
|
+
}
|
31391
31725
|
if (isInlineValueCommentNode(iNode)) {
|
31392
31726
|
if (parentNode.type === "value-paren_group") {
|
31393
31727
|
parts.push(dedent(hardline));
|
@@ -31476,14 +31810,17 @@ var require_printer_postcss = __commonJS2({
|
|
31476
31810
|
const printed = group([node.open ? print("open") : "", indent([softline, join([line], path.map((childPath, index) => {
|
31477
31811
|
const child = childPath.getValue();
|
31478
31812
|
const isLast = index === node.groups.length - 1;
|
31479
|
-
|
31813
|
+
let printed2 = [print(), isLast ? "" : ","];
|
31480
31814
|
if (isKeyValuePairNode(child) && child.type === "value-comma_group" && child.groups && child.groups[0].type !== "value-paren_group" && child.groups[2] && child.groups[2].type === "value-paren_group") {
|
31481
31815
|
const parts = getDocParts(printed2[0].contents.contents);
|
31482
31816
|
parts[1] = group(parts[1]);
|
31483
|
-
|
31817
|
+
printed2 = [group(dedent(printed2))];
|
31484
31818
|
}
|
31485
31819
|
if (!isLast && child.type === "value-comma_group" && isNonEmptyArray(child.groups)) {
|
31486
|
-
|
31820
|
+
let last = getLast(child.groups);
|
31821
|
+
if (!last.source && last.close) {
|
31822
|
+
last = last.close;
|
31823
|
+
}
|
31487
31824
|
if (last.source && isNextLineEmpty(options.originalText, last, locEnd)) {
|
31488
31825
|
printed2.push(hardline);
|
31489
31826
|
}
|
@@ -31743,20 +32080,16 @@ var require_clean3 = __commonJS2({
|
|
31743
32080
|
module2.exports = clean;
|
31744
32081
|
}
|
31745
32082
|
});
|
31746
|
-
var
|
31747
|
-
"
|
31748
|
-
module2.exports =
|
31749
|
-
htmlVoidElements: ["area", "base", "basefont", "bgsound", "br", "col", "command", "embed", "frame", "hr", "image", "img", "input", "isindex", "keygen", "link", "menuitem", "meta", "nextid", "param", "source", "track", "wbr"]
|
31750
|
-
};
|
32083
|
+
var require_html_void_elements_evaluate = __commonJS2({
|
32084
|
+
"src/language-handlebars/html-void-elements.evaluate.js"(exports2, module2) {
|
32085
|
+
module2.exports = ["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"];
|
31751
32086
|
}
|
31752
32087
|
});
|
31753
32088
|
var require_utils9 = __commonJS2({
|
31754
32089
|
"src/language-handlebars/utils.js"(exports2, module2) {
|
31755
32090
|
"use strict";
|
31756
|
-
var {
|
31757
|
-
htmlVoidElements
|
31758
|
-
} = require_html_void_elements();
|
31759
32091
|
var getLast = require_get_last();
|
32092
|
+
var htmlVoidElements = require_html_void_elements_evaluate();
|
31760
32093
|
function isLastNodeOfSiblings(path) {
|
31761
32094
|
const node = path.getValue();
|
31762
32095
|
const parentNode = path.getParentNode(0);
|
@@ -31775,8 +32108,11 @@ var require_utils9 = __commonJS2({
|
|
31775
32108
|
return isNodeOfSomeType(node, ["ElementNode"]) && typeof node.tag === "string" && !node.tag.startsWith(":") && (isUppercase(node.tag[0]) || node.tag.includes("."));
|
31776
32109
|
}
|
31777
32110
|
var voidTags = new Set(htmlVoidElements);
|
32111
|
+
function isVoidTag(tag) {
|
32112
|
+
return voidTags.has(tag.toLowerCase()) && !isUppercase(tag[0]);
|
32113
|
+
}
|
31778
32114
|
function isVoid(node) {
|
31779
|
-
return
|
32115
|
+
return node.selfClosing === true || isVoidTag(node.tag) || isGlimmerComponent(node) && node.children.every((node2) => isWhitespaceNode(node2));
|
31780
32116
|
}
|
31781
32117
|
function isWhitespaceNode(node) {
|
31782
32118
|
return isNodeOfSomeType(node, ["TextNode"]) && !/\S/.test(node.chars);
|
@@ -32163,25 +32499,23 @@ var require_printer_glimmer = __commonJS2({
|
|
32163
32499
|
}
|
32164
32500
|
function printOpenBlock(path, print2) {
|
32165
32501
|
const node = path.getValue();
|
32166
|
-
const
|
32167
|
-
const
|
32168
|
-
|
32169
|
-
|
32170
|
-
if (params) {
|
32171
|
-
attributes.push(line, params);
|
32502
|
+
const parts = [];
|
32503
|
+
const paramsDoc = printParams(path, print2);
|
32504
|
+
if (paramsDoc) {
|
32505
|
+
parts.push(group(paramsDoc));
|
32172
32506
|
}
|
32173
32507
|
if (isNonEmptyArray(node.program.blockParams)) {
|
32174
|
-
|
32175
|
-
attributes.push(line, block);
|
32508
|
+
parts.push(printBlockParams(node.program));
|
32176
32509
|
}
|
32177
|
-
return group([
|
32510
|
+
return group([printOpeningBlockOpeningMustache(node), printPath(path, print2), parts.length > 0 ? indent([line, join(line, parts)]) : "", softline, printOpeningBlockClosingMustache(node)]);
|
32178
32511
|
}
|
32179
32512
|
function printElseBlock(node, options) {
|
32180
32513
|
return [options.htmlWhitespaceSensitivity === "ignore" ? hardline : "", printInverseBlockOpeningMustache(node), "else", printInverseBlockClosingMustache(node)];
|
32181
32514
|
}
|
32182
32515
|
function printElseIfLikeBlock(path, print2, ifLikeKeyword) {
|
32516
|
+
const node = path.getValue();
|
32183
32517
|
const parentNode = path.getParentNode(1);
|
32184
|
-
return [printInverseBlockOpeningMustache(parentNode), "else ", ifLikeKeyword,
|
32518
|
+
return group([printInverseBlockOpeningMustache(parentNode), ["else", " ", ifLikeKeyword], indent([line, group(printParams(path, print2)), ...isNonEmptyArray(node.program.blockParams) ? [line, printBlockParams(node.program)] : []]), softline, printInverseBlockClosingMustache(parentNode)]);
|
32185
32519
|
}
|
32186
32520
|
function printCloseBlock(path, print2, options) {
|
32187
32521
|
const node = path.getValue();
|
@@ -32696,6 +33030,15 @@ var require_language_graphql = __commonJS2({
|
|
32696
33030
|
};
|
32697
33031
|
}
|
32698
33032
|
});
|
33033
|
+
var require_collapse_white_space = __commonJS2({
|
33034
|
+
"node_modules/collapse-white-space/index.js"(exports2, module2) {
|
33035
|
+
"use strict";
|
33036
|
+
module2.exports = collapse;
|
33037
|
+
function collapse(value) {
|
33038
|
+
return String(value).replace(/\s+/g, " ");
|
33039
|
+
}
|
33040
|
+
}
|
33041
|
+
});
|
32699
33042
|
var require_loc5 = __commonJS2({
|
32700
33043
|
"src/language-markdown/loc.js"(exports2, module2) {
|
32701
33044
|
"use strict";
|
@@ -33146,6 +33489,7 @@ var require_print_preprocess2 = __commonJS2({
|
|
33146
33489
|
var require_clean4 = __commonJS2({
|
33147
33490
|
"src/language-markdown/clean.js"(exports2, module2) {
|
33148
33491
|
"use strict";
|
33492
|
+
var collapseWhiteSpace = require_collapse_white_space();
|
33149
33493
|
var {
|
33150
33494
|
isFrontMatterNode
|
33151
33495
|
} = require_util();
|
@@ -33173,8 +33517,8 @@ var require_clean4 = __commonJS2({
|
|
33173
33517
|
if (ast.type === "wikiLink") {
|
33174
33518
|
newObj.value = ast.value.trim().replace(/[\t\n]+/g, " ");
|
33175
33519
|
}
|
33176
|
-
if (ast.type === "definition" || ast.type === "linkReference") {
|
33177
|
-
newObj.label = ast.label
|
33520
|
+
if (ast.type === "definition" || ast.type === "linkReference" || ast.type === "imageReference") {
|
33521
|
+
newObj.label = collapseWhiteSpace(ast.label);
|
33178
33522
|
}
|
33179
33523
|
if ((ast.type === "definition" || ast.type === "link" || ast.type === "image") && ast.title) {
|
33180
33524
|
newObj.title = ast.title.replace(/\\(["')])/g, "$1");
|
@@ -33190,6 +33534,7 @@ var require_clean4 = __commonJS2({
|
|
33190
33534
|
var require_printer_markdown = __commonJS2({
|
33191
33535
|
"src/language-markdown/printer-markdown.js"(exports2, module2) {
|
33192
33536
|
"use strict";
|
33537
|
+
var collapseWhiteSpace = require_collapse_white_space();
|
33193
33538
|
var {
|
33194
33539
|
getLast,
|
33195
33540
|
getMinNotPresentContinuousCount,
|
@@ -33373,26 +33718,26 @@ var require_printer_markdown = __commonJS2({
|
|
33373
33718
|
return nthSiblingIndex % 2 === 0 ? "***" : "---";
|
33374
33719
|
}
|
33375
33720
|
case "linkReference":
|
33376
|
-
return ["[", printChildren(path, options, print), "]", node.referenceType === "full" ?
|
33721
|
+
return ["[", printChildren(path, options, print), "]", node.referenceType === "full" ? printLinkReference(node) : node.referenceType === "collapsed" ? "[]" : ""];
|
33377
33722
|
case "imageReference":
|
33378
33723
|
switch (node.referenceType) {
|
33379
33724
|
case "full":
|
33380
|
-
return ["![", node.alt || "", "]
|
33725
|
+
return ["![", node.alt || "", "]", printLinkReference(node)];
|
33381
33726
|
default:
|
33382
33727
|
return ["![", node.alt, "]", node.referenceType === "collapsed" ? "[]" : ""];
|
33383
33728
|
}
|
33384
33729
|
case "definition": {
|
33385
33730
|
const lineOrSpace = options.proseWrap === "always" ? line : " ";
|
33386
|
-
return group([
|
33731
|
+
return group([printLinkReference(node), ":", indent([lineOrSpace, printUrl(node.url), node.title === null ? "" : [lineOrSpace, printTitle(node.title, options, false)]])]);
|
33387
33732
|
}
|
33388
33733
|
case "footnote":
|
33389
33734
|
return ["[^", printChildren(path, options, print), "]"];
|
33390
33735
|
case "footnoteReference":
|
33391
|
-
return
|
33736
|
+
return printFootnoteReference(node);
|
33392
33737
|
case "footnoteDefinition": {
|
33393
33738
|
const nextNode = path.getParentNode().children[path.getName() + 1];
|
33394
33739
|
const shouldInlineFootnote = node.children.length === 1 && node.children[0].type === "paragraph" && (options.proseWrap === "never" || options.proseWrap === "preserve" && node.children[0].position.start.line === node.children[0].position.end.line);
|
33395
|
-
return [
|
33740
|
+
return [printFootnoteReference(node), ": ", shouldInlineFootnote ? printChildren(path, options, print) : group([align(" ".repeat(4), printChildren(path, options, print, {
|
33396
33741
|
processor: (childPath, index) => index === 0 ? group([softline, print()]) : print()
|
33397
33742
|
})), nextNode && nextNode.type === "footnoteDefinition" ? softline : ""])];
|
33398
33743
|
}
|
@@ -33718,6 +34063,12 @@ var require_printer_markdown = __commonJS2({
|
|
33718
34063
|
const prevNode = path.getParentNode().children[index - 1];
|
33719
34064
|
return isPrettierIgnore(prevNode) === "next";
|
33720
34065
|
}
|
34066
|
+
function printLinkReference(node) {
|
34067
|
+
return `[${collapseWhiteSpace(node.label)}]`;
|
34068
|
+
}
|
34069
|
+
function printFootnoteReference(node) {
|
34070
|
+
return `[^${node.label}]`;
|
34071
|
+
}
|
33721
34072
|
module2.exports = {
|
33722
34073
|
preprocess,
|
33723
34074
|
print: genericPrint,
|
@@ -36937,8 +37288,8 @@ var require_utils12 = __commonJS2({
|
|
36937
37288
|
function hasPrettierIgnore(path) {
|
36938
37289
|
const node = path.getValue();
|
36939
37290
|
if (node.type === "documentBody") {
|
36940
|
-
const
|
36941
|
-
return hasEndComments(
|
37291
|
+
const document2 = path.getParentNode();
|
37292
|
+
return hasEndComments(document2.head) && isPrettierIgnore(getLast(document2.head.endComments));
|
36942
37293
|
}
|
36943
37294
|
return hasLeadingComments(node) && isPrettierIgnore(getLast(node.leadingComments));
|
36944
37295
|
}
|
@@ -37495,15 +37846,15 @@ var require_printer_yaml = __commonJS2({
|
|
37495
37846
|
} = node;
|
37496
37847
|
const parts = [];
|
37497
37848
|
path.each((childPath, index) => {
|
37498
|
-
const
|
37849
|
+
const document2 = children[index];
|
37499
37850
|
const nextDocument = children[index + 1];
|
37500
37851
|
if (index !== 0) {
|
37501
37852
|
parts.push(hardline);
|
37502
37853
|
}
|
37503
37854
|
parts.push(print());
|
37504
|
-
if (shouldPrintDocumentEndMarker(
|
37855
|
+
if (shouldPrintDocumentEndMarker(document2, nextDocument)) {
|
37505
37856
|
parts.push(hardline, "...");
|
37506
|
-
if (hasTrailingComment(
|
37857
|
+
if (hasTrailingComment(document2)) {
|
37507
37858
|
parts.push(" ", print("trailingComment"));
|
37508
37859
|
}
|
37509
37860
|
} else if (nextDocument && !hasTrailingComment(nextDocument.head)) {
|
@@ -37610,17 +37961,17 @@ var require_printer_yaml = __commonJS2({
|
|
37610
37961
|
throw new Error(`Unexpected node type ${node.type}`);
|
37611
37962
|
}
|
37612
37963
|
}
|
37613
|
-
function shouldPrintDocumentBody(
|
37614
|
-
return
|
37964
|
+
function shouldPrintDocumentBody(document2) {
|
37965
|
+
return document2.body.children.length > 0 || hasEndComments(document2.body);
|
37615
37966
|
}
|
37616
|
-
function shouldPrintDocumentEndMarker(
|
37617
|
-
return hasTrailingComment(
|
37967
|
+
function shouldPrintDocumentEndMarker(document2, nextDocument) {
|
37968
|
+
return hasTrailingComment(document2) || nextDocument && (nextDocument.head.children.length > 0 || hasEndComments(nextDocument.head));
|
37618
37969
|
}
|
37619
|
-
function shouldPrintDocumentHeadEndMarker(
|
37620
|
-
if (root.children[0] ===
|
37970
|
+
function shouldPrintDocumentHeadEndMarker(document2, nextDocument, root, options) {
|
37971
|
+
if (root.children[0] === document2 && /---(?:\s|$)/.test(options.originalText.slice(locStart(document2), locStart(document2) + 4)) || document2.head.children.length > 0 || hasEndComments(document2.head) || hasTrailingComment(document2.head)) {
|
37621
37972
|
return "head";
|
37622
37973
|
}
|
37623
|
-
if (shouldPrintDocumentEndMarker(
|
37974
|
+
if (shouldPrintDocumentEndMarker(document2, nextDocument)) {
|
37624
37975
|
return false;
|
37625
37976
|
}
|
37626
37977
|
return nextDocument ? "root" : false;
|