@codingame/monaco-vscode-emmet-default-extension 1.83.15 → 1.85.0-next.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.
@@ -15,19 +15,19 @@ exports.deactivate = exports.activateEmmetExtension = void 0;
15
15
  const vscode = __webpack_require__(2);
16
16
  const defaultCompletionProvider_1 = __webpack_require__(3);
17
17
  const abbreviationActions_1 = __webpack_require__(4);
18
- const removeTag_1 = __webpack_require__(49);
19
- const updateTag_1 = __webpack_require__(50);
20
- const matchTag_1 = __webpack_require__(51);
21
- const balance_1 = __webpack_require__(52);
22
- const splitJoinTag_1 = __webpack_require__(53);
23
- const mergeLines_1 = __webpack_require__(54);
24
- const toggleComment_1 = __webpack_require__(55);
25
- const editPoint_1 = __webpack_require__(56);
26
- const selectItem_1 = __webpack_require__(57);
27
- const evaluateMathExpression_1 = __webpack_require__(60);
28
- const incrementDecrement_1 = __webpack_require__(63);
18
+ const removeTag_1 = __webpack_require__(50);
19
+ const updateTag_1 = __webpack_require__(51);
20
+ const matchTag_1 = __webpack_require__(52);
21
+ const balance_1 = __webpack_require__(53);
22
+ const splitJoinTag_1 = __webpack_require__(54);
23
+ const mergeLines_1 = __webpack_require__(55);
24
+ const toggleComment_1 = __webpack_require__(56);
25
+ const editPoint_1 = __webpack_require__(57);
26
+ const selectItem_1 = __webpack_require__(58);
27
+ const evaluateMathExpression_1 = __webpack_require__(61);
28
+ const incrementDecrement_1 = __webpack_require__(64);
29
29
  const util_1 = __webpack_require__(5);
30
- const reflectCssValue_1 = __webpack_require__(64);
30
+ const reflectCssValue_1 = __webpack_require__(65);
31
31
  const parseDocument_1 = __webpack_require__(12);
32
32
  function activateEmmetExtension(context) {
33
33
  (0, util_1.migrateEmmetExtensionsPath)();
@@ -4824,13 +4824,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
4824
4824
  exports.getEmmetMode = exports.updateExtensionsPath = exports.expandAbbreviation = exports.parseAbbreviation = exports.getExpandOptions = exports.isAbbreviationValid = exports.extractAbbreviationFromText = exports.extractAbbreviation = exports.getDefaultSnippets = exports.getDefaultSyntax = exports.getSyntaxType = exports.isStyleSheet = exports.emmetSnippetField = exports.doComplete = exports.FileType = void 0;
4825
4825
  const JSONC = __importStar(__webpack_require__(14));
4826
4826
  const util_1 = __webpack_require__(19);
4827
- const vscode_languageserver_types_1 = __webpack_require__(43);
4828
- const vscode_uri_1 = __webpack_require__(44);
4829
- const data_1 = __webpack_require__(45);
4830
- const fileService_1 = __webpack_require__(46);
4827
+ const vscode_languageserver_types_1 = __webpack_require__(44);
4828
+ const vscode_uri_1 = __webpack_require__(45);
4829
+ const data_1 = __webpack_require__(46);
4830
+ const fileService_1 = __webpack_require__(47);
4831
4831
  Object.defineProperty(exports, "FileType", ({ enumerable: true, get: function () { return fileService_1.FileType; } }));
4832
- const emmet_1 = __importStar(__webpack_require__(47));
4833
- const configCompat_1 = __webpack_require__(48);
4832
+ const emmet_1 = __importStar(__webpack_require__(48));
4833
+ const configCompat_1 = __webpack_require__(49);
4834
4834
  let l10n;
4835
4835
  try {
4836
4836
  l10n = (__webpack_require__(2).l10n);
@@ -7849,7 +7849,7 @@ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
7849
7849
  if (array) {
7850
7850
  str = str.split('\n').map(function(line) {
7851
7851
  return ' ' + line;
7852
- }).join('\n').substr(2);
7852
+ }).join('\n').slice(2);
7853
7853
  } else {
7854
7854
  str = '\n' + str.split('\n').map(function(line) {
7855
7855
  return ' ' + line;
@@ -7866,7 +7866,7 @@ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
7866
7866
  }
7867
7867
  name = JSON.stringify('' + key);
7868
7868
  if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
7869
- name = name.substr(1, name.length - 2);
7869
+ name = name.slice(1, -1);
7870
7870
  name = ctx.stylize(name, 'name');
7871
7871
  } else {
7872
7872
  name = name.replace(/'/g, "\\'")
@@ -7984,7 +7984,7 @@ function isPrimitive(arg) {
7984
7984
  }
7985
7985
  exports.isPrimitive = isPrimitive;
7986
7986
 
7987
- exports.isBuffer = __webpack_require__(41);
7987
+ exports.isBuffer = __webpack_require__(42);
7988
7988
 
7989
7989
  function objectToString(o) {
7990
7990
  return Object.prototype.toString.call(o);
@@ -8028,7 +8028,7 @@ exports.log = function() {
8028
8028
  * prototype.
8029
8029
  * @param {function} superCtor Constructor function to inherit prototype from.
8030
8030
  */
8031
- exports.inherits = __webpack_require__(42);
8031
+ exports.inherits = __webpack_require__(43);
8032
8032
 
8033
8033
  exports._extend = function(origin, add) {
8034
8034
  // Don't do anything if add isn't an object
@@ -8165,9 +8165,9 @@ exports.callbackify = callbackify;
8165
8165
 
8166
8166
 
8167
8167
  var isArgumentsObject = __webpack_require__(21);
8168
- var isGeneratorFunction = __webpack_require__(30);
8169
- var whichTypedArray = __webpack_require__(31);
8170
- var isTypedArray = __webpack_require__(36);
8168
+ var isGeneratorFunction = __webpack_require__(33);
8169
+ var whichTypedArray = __webpack_require__(34);
8170
+ var isTypedArray = __webpack_require__(41);
8171
8171
 
8172
8172
  function uncurryThis(f) {
8173
8173
  return f.call.bind(f);
@@ -8502,8 +8502,8 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
8502
8502
  "use strict";
8503
8503
 
8504
8504
 
8505
- var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
8506
- var callBound = __webpack_require__(22);
8505
+ var hasToStringTag = __webpack_require__(22)();
8506
+ var callBound = __webpack_require__(24);
8507
8507
 
8508
8508
  var $toString = callBound('Object.prototype.toString');
8509
8509
 
@@ -8542,9 +8542,72 @@ module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArgum
8542
8542
  "use strict";
8543
8543
 
8544
8544
 
8545
- var GetIntrinsic = __webpack_require__(23);
8545
+ var hasSymbols = __webpack_require__(23);
8546
+
8547
+ module.exports = function hasToStringTagShams() {
8548
+ return hasSymbols() && !!Symbol.toStringTag;
8549
+ };
8550
+
8551
+
8552
+ /***/ }),
8553
+ /* 23 */
8554
+ /***/ ((module) => {
8555
+
8556
+ "use strict";
8557
+
8558
+
8559
+ /* eslint complexity: [2, 18], max-statements: [2, 33] */
8560
+ module.exports = function hasSymbols() {
8561
+ if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
8562
+ if (typeof Symbol.iterator === 'symbol') { return true; }
8563
+
8564
+ var obj = {};
8565
+ var sym = Symbol('test');
8566
+ var symObj = Object(sym);
8567
+ if (typeof sym === 'string') { return false; }
8568
+
8569
+ if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
8570
+ if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
8571
+
8572
+ // temp disabled per https://github.com/ljharb/object.assign/issues/17
8573
+ // if (sym instanceof Symbol) { return false; }
8574
+ // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
8575
+ // if (!(symObj instanceof Symbol)) { return false; }
8576
+
8577
+ // if (typeof Symbol.prototype.toString !== 'function') { return false; }
8578
+ // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
8579
+
8580
+ var symVal = 42;
8581
+ obj[sym] = symVal;
8582
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
8583
+ if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
8584
+
8585
+ if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
8586
+
8587
+ var syms = Object.getOwnPropertySymbols(obj);
8588
+ if (syms.length !== 1 || syms[0] !== sym) { return false; }
8589
+
8590
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
8591
+
8592
+ if (typeof Object.getOwnPropertyDescriptor === 'function') {
8593
+ var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
8594
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
8595
+ }
8596
+
8597
+ return true;
8598
+ };
8599
+
8600
+
8601
+ /***/ }),
8602
+ /* 24 */
8603
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
8604
+
8605
+ "use strict";
8606
+
8607
+
8608
+ var GetIntrinsic = __webpack_require__(25);
8546
8609
 
8547
- var callBind = __webpack_require__(29);
8610
+ var callBind = __webpack_require__(32);
8548
8611
 
8549
8612
  var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
8550
8613
 
@@ -8558,20 +8621,12 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
8558
8621
 
8559
8622
 
8560
8623
  /***/ }),
8561
- /* 23 */
8624
+ /* 25 */
8562
8625
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
8563
8626
 
8564
8627
  "use strict";
8565
8628
 
8566
8629
 
8567
- /* globals
8568
- AggregateError,
8569
- Atomics,
8570
- FinalizationRegistry,
8571
- SharedArrayBuffer,
8572
- WeakRef,
8573
- */
8574
-
8575
8630
  var undefined;
8576
8631
 
8577
8632
  var $SyntaxError = SyntaxError;
@@ -8581,8 +8636,7 @@ var $TypeError = TypeError;
8581
8636
  // eslint-disable-next-line consistent-return
8582
8637
  var getEvalledConstructor = function (expressionSyntax) {
8583
8638
  try {
8584
- // eslint-disable-next-line no-new-func
8585
- return Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
8639
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
8586
8640
  } catch (e) {}
8587
8641
  };
8588
8642
 
@@ -8615,28 +8669,33 @@ var ThrowTypeError = $gOPD
8615
8669
  }())
8616
8670
  : throwTypeError;
8617
8671
 
8618
- var hasSymbols = __webpack_require__(24)();
8672
+ var hasSymbols = __webpack_require__(26)();
8673
+ var hasProto = __webpack_require__(28)();
8619
8674
 
8620
- var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
8675
+ var getProto = Object.getPrototypeOf || (
8676
+ hasProto
8677
+ ? function (x) { return x.__proto__; } // eslint-disable-line no-proto
8678
+ : null
8679
+ );
8621
8680
 
8622
- var asyncGenFunction = getEvalledConstructor('async function* () {}');
8623
- var asyncGenFunctionPrototype = asyncGenFunction ? asyncGenFunction.prototype : undefined;
8624
- var asyncGenPrototype = asyncGenFunctionPrototype ? asyncGenFunctionPrototype.prototype : undefined;
8681
+ var needsEval = {};
8625
8682
 
8626
- var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
8683
+ var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
8627
8684
 
8628
8685
  var INTRINSICS = {
8629
8686
  '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
8630
8687
  '%Array%': Array,
8631
8688
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
8632
- '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
8689
+ '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
8633
8690
  '%AsyncFromSyncIteratorPrototype%': undefined,
8634
- '%AsyncFunction%': getEvalledConstructor('async function () {}'),
8635
- '%AsyncGenerator%': asyncGenFunctionPrototype,
8636
- '%AsyncGeneratorFunction%': asyncGenFunction,
8637
- '%AsyncIteratorPrototype%': asyncGenPrototype ? getProto(asyncGenPrototype) : undefined,
8691
+ '%AsyncFunction%': needsEval,
8692
+ '%AsyncGenerator%': needsEval,
8693
+ '%AsyncGeneratorFunction%': needsEval,
8694
+ '%AsyncIteratorPrototype%': needsEval,
8638
8695
  '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
8639
8696
  '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
8697
+ '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
8698
+ '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
8640
8699
  '%Boolean%': Boolean,
8641
8700
  '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
8642
8701
  '%Date%': Date,
@@ -8651,16 +8710,16 @@ var INTRINSICS = {
8651
8710
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
8652
8711
  '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
8653
8712
  '%Function%': $Function,
8654
- '%GeneratorFunction%': getEvalledConstructor('function* () {}'),
8713
+ '%GeneratorFunction%': needsEval,
8655
8714
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
8656
8715
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
8657
8716
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
8658
8717
  '%isFinite%': isFinite,
8659
8718
  '%isNaN%': isNaN,
8660
- '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
8719
+ '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
8661
8720
  '%JSON%': typeof JSON === 'object' ? JSON : undefined,
8662
8721
  '%Map%': typeof Map === 'undefined' ? undefined : Map,
8663
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
8722
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
8664
8723
  '%Math%': Math,
8665
8724
  '%Number%': Number,
8666
8725
  '%Object%': Object,
@@ -8673,10 +8732,10 @@ var INTRINSICS = {
8673
8732
  '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
8674
8733
  '%RegExp%': RegExp,
8675
8734
  '%Set%': typeof Set === 'undefined' ? undefined : Set,
8676
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
8735
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
8677
8736
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
8678
8737
  '%String%': String,
8679
- '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
8738
+ '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
8680
8739
  '%Symbol%': hasSymbols ? Symbol : undefined,
8681
8740
  '%SyntaxError%': $SyntaxError,
8682
8741
  '%ThrowTypeError%': ThrowTypeError,
@@ -8692,6 +8751,41 @@ var INTRINSICS = {
8692
8751
  '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
8693
8752
  };
8694
8753
 
8754
+ if (getProto) {
8755
+ try {
8756
+ null.error; // eslint-disable-line no-unused-expressions
8757
+ } catch (e) {
8758
+ // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
8759
+ var errorProto = getProto(getProto(e));
8760
+ INTRINSICS['%Error.prototype%'] = errorProto;
8761
+ }
8762
+ }
8763
+
8764
+ var doEval = function doEval(name) {
8765
+ var value;
8766
+ if (name === '%AsyncFunction%') {
8767
+ value = getEvalledConstructor('async function () {}');
8768
+ } else if (name === '%GeneratorFunction%') {
8769
+ value = getEvalledConstructor('function* () {}');
8770
+ } else if (name === '%AsyncGeneratorFunction%') {
8771
+ value = getEvalledConstructor('async function* () {}');
8772
+ } else if (name === '%AsyncGenerator%') {
8773
+ var fn = doEval('%AsyncGeneratorFunction%');
8774
+ if (fn) {
8775
+ value = fn.prototype;
8776
+ }
8777
+ } else if (name === '%AsyncIteratorPrototype%') {
8778
+ var gen = doEval('%AsyncGenerator%');
8779
+ if (gen && getProto) {
8780
+ value = getProto(gen.prototype);
8781
+ }
8782
+ }
8783
+
8784
+ INTRINSICS[name] = value;
8785
+
8786
+ return value;
8787
+ };
8788
+
8695
8789
  var LEGACY_ALIASES = {
8696
8790
  '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
8697
8791
  '%ArrayPrototype%': ['Array', 'prototype'],
@@ -8746,16 +8840,25 @@ var LEGACY_ALIASES = {
8746
8840
  '%WeakSetPrototype%': ['WeakSet', 'prototype']
8747
8841
  };
8748
8842
 
8749
- var bind = __webpack_require__(26);
8750
- var hasOwn = __webpack_require__(28);
8843
+ var bind = __webpack_require__(29);
8844
+ var hasOwn = __webpack_require__(31);
8751
8845
  var $concat = bind.call(Function.call, Array.prototype.concat);
8752
8846
  var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
8753
8847
  var $replace = bind.call(Function.call, String.prototype.replace);
8848
+ var $strSlice = bind.call(Function.call, String.prototype.slice);
8849
+ var $exec = bind.call(Function.call, RegExp.prototype.exec);
8754
8850
 
8755
8851
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
8756
8852
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
8757
8853
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
8758
8854
  var stringToPath = function stringToPath(string) {
8855
+ var first = $strSlice(string, 0, 1);
8856
+ var last = $strSlice(string, -1);
8857
+ if (first === '%' && last !== '%') {
8858
+ throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
8859
+ } else if (last === '%' && first !== '%') {
8860
+ throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
8861
+ }
8759
8862
  var result = [];
8760
8863
  $replace(string, rePropName, function (match, number, quote, subString) {
8761
8864
  result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
@@ -8774,6 +8877,9 @@ var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
8774
8877
 
8775
8878
  if (hasOwn(INTRINSICS, intrinsicName)) {
8776
8879
  var value = INTRINSICS[intrinsicName];
8880
+ if (value === needsEval) {
8881
+ value = doEval(intrinsicName);
8882
+ }
8777
8883
  if (typeof value === 'undefined' && !allowMissing) {
8778
8884
  throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
8779
8885
  }
@@ -8796,6 +8902,9 @@ module.exports = function GetIntrinsic(name, allowMissing) {
8796
8902
  throw new $TypeError('"allowMissing" argument must be a boolean');
8797
8903
  }
8798
8904
 
8905
+ if ($exec(/^%?[^%]*%?$/, name) === null) {
8906
+ throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
8907
+ }
8799
8908
  var parts = stringToPath(name);
8800
8909
  var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
8801
8910
 
@@ -8812,6 +8921,17 @@ module.exports = function GetIntrinsic(name, allowMissing) {
8812
8921
 
8813
8922
  for (var i = 1, isOwn = true; i < parts.length; i += 1) {
8814
8923
  var part = parts[i];
8924
+ var first = $strSlice(part, 0, 1);
8925
+ var last = $strSlice(part, -1);
8926
+ if (
8927
+ (
8928
+ (first === '"' || first === "'" || first === '`')
8929
+ || (last === '"' || last === "'" || last === '`')
8930
+ )
8931
+ && first !== last
8932
+ ) {
8933
+ throw new $SyntaxError('property names with quotes must have matching quotes');
8934
+ }
8815
8935
  if (part === 'constructor' || !isOwn) {
8816
8936
  skipFurtherCaching = true;
8817
8937
  }
@@ -8822,13 +8942,16 @@ module.exports = function GetIntrinsic(name, allowMissing) {
8822
8942
  if (hasOwn(INTRINSICS, intrinsicRealName)) {
8823
8943
  value = INTRINSICS[intrinsicRealName];
8824
8944
  } else if (value != null) {
8945
+ if (!(part in value)) {
8946
+ if (!allowMissing) {
8947
+ throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
8948
+ }
8949
+ return void undefined;
8950
+ }
8825
8951
  if ($gOPD && (i + 1) >= parts.length) {
8826
8952
  var desc = $gOPD(value, part);
8827
8953
  isOwn = !!desc;
8828
8954
 
8829
- if (!allowMissing && !(part in value)) {
8830
- throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
8831
- }
8832
8955
  // By convention, when a data property is converted to an accessor
8833
8956
  // property to emulate a data property that does not suffer from
8834
8957
  // the override mistake, that accessor's getter is marked with
@@ -8856,14 +8979,14 @@ module.exports = function GetIntrinsic(name, allowMissing) {
8856
8979
 
8857
8980
 
8858
8981
  /***/ }),
8859
- /* 24 */
8982
+ /* 26 */
8860
8983
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
8861
8984
 
8862
8985
  "use strict";
8863
8986
 
8864
8987
 
8865
- var origSymbol = __webpack_require__.g.Symbol;
8866
- var hasSymbolSham = __webpack_require__(25);
8988
+ var origSymbol = typeof Symbol !== 'undefined' && Symbol;
8989
+ var hasSymbolSham = __webpack_require__(27);
8867
8990
 
8868
8991
  module.exports = function hasNativeSymbols() {
8869
8992
  if (typeof origSymbol !== 'function') { return false; }
@@ -8876,7 +8999,7 @@ module.exports = function hasNativeSymbols() {
8876
8999
 
8877
9000
 
8878
9001
  /***/ }),
8879
- /* 25 */
9002
+ /* 27 */
8880
9003
  /***/ ((module) => {
8881
9004
 
8882
9005
  "use strict";
@@ -8905,7 +9028,7 @@ module.exports = function hasSymbols() {
8905
9028
 
8906
9029
  var symVal = 42;
8907
9030
  obj[sym] = symVal;
8908
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
9031
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
8909
9032
  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
8910
9033
 
8911
9034
  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
@@ -8925,19 +9048,37 @@ module.exports = function hasSymbols() {
8925
9048
 
8926
9049
 
8927
9050
  /***/ }),
8928
- /* 26 */
9051
+ /* 28 */
9052
+ /***/ ((module) => {
9053
+
9054
+ "use strict";
9055
+
9056
+
9057
+ var test = {
9058
+ foo: {}
9059
+ };
9060
+
9061
+ var $Object = Object;
9062
+
9063
+ module.exports = function hasProto() {
9064
+ return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
9065
+ };
9066
+
9067
+
9068
+ /***/ }),
9069
+ /* 29 */
8929
9070
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
8930
9071
 
8931
9072
  "use strict";
8932
9073
 
8933
9074
 
8934
- var implementation = __webpack_require__(27);
9075
+ var implementation = __webpack_require__(30);
8935
9076
 
8936
9077
  module.exports = Function.prototype.bind || implementation;
8937
9078
 
8938
9079
 
8939
9080
  /***/ }),
8940
- /* 27 */
9081
+ /* 30 */
8941
9082
  /***/ ((module) => {
8942
9083
 
8943
9084
  "use strict";
@@ -8996,32 +9137,34 @@ module.exports = function bind(that) {
8996
9137
 
8997
9138
 
8998
9139
  /***/ }),
8999
- /* 28 */
9140
+ /* 31 */
9000
9141
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9001
9142
 
9002
9143
  "use strict";
9003
9144
 
9004
9145
 
9005
- var bind = __webpack_require__(26);
9146
+ var bind = __webpack_require__(29);
9006
9147
 
9007
9148
  module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
9008
9149
 
9009
9150
 
9010
9151
  /***/ }),
9011
- /* 29 */
9152
+ /* 32 */
9012
9153
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9013
9154
 
9014
9155
  "use strict";
9015
9156
 
9016
9157
 
9017
- var bind = __webpack_require__(26);
9018
- var GetIntrinsic = __webpack_require__(23);
9158
+ var bind = __webpack_require__(29);
9159
+ var GetIntrinsic = __webpack_require__(25);
9019
9160
 
9020
9161
  var $apply = GetIntrinsic('%Function.prototype.apply%');
9021
9162
  var $call = GetIntrinsic('%Function.prototype.call%');
9022
9163
  var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
9023
9164
 
9165
+ var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
9024
9166
  var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
9167
+ var $max = GetIntrinsic('%Math.max%');
9025
9168
 
9026
9169
  if ($defineProperty) {
9027
9170
  try {
@@ -9032,8 +9175,20 @@ if ($defineProperty) {
9032
9175
  }
9033
9176
  }
9034
9177
 
9035
- module.exports = function callBind() {
9036
- return $reflectApply(bind, $call, arguments);
9178
+ module.exports = function callBind(originalFunction) {
9179
+ var func = $reflectApply(bind, $call, arguments);
9180
+ if ($gOPD && $defineProperty) {
9181
+ var desc = $gOPD(func, 'length');
9182
+ if (desc.configurable) {
9183
+ // original length, plus the receiver, minus any additional arguments (after the receiver)
9184
+ $defineProperty(
9185
+ func,
9186
+ 'length',
9187
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
9188
+ );
9189
+ }
9190
+ }
9191
+ return func;
9037
9192
  };
9038
9193
 
9039
9194
  var applyBind = function applyBind() {
@@ -9048,7 +9203,7 @@ if ($defineProperty) {
9048
9203
 
9049
9204
 
9050
9205
  /***/ }),
9051
- /* 30 */
9206
+ /* 33 */
9052
9207
  /***/ ((module) => {
9053
9208
 
9054
9209
  "use strict";
@@ -9093,882 +9248,321 @@ module.exports = function isGeneratorFunction(fn) {
9093
9248
 
9094
9249
 
9095
9250
  /***/ }),
9096
- /* 31 */
9251
+ /* 34 */
9097
9252
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9098
9253
 
9099
9254
  "use strict";
9100
9255
 
9101
9256
 
9102
- var forEach = __webpack_require__(32);
9103
- var availableTypedArrays = __webpack_require__(33);
9104
- var callBound = __webpack_require__(22);
9257
+ var forEach = __webpack_require__(35);
9258
+ var availableTypedArrays = __webpack_require__(37);
9259
+ var callBind = __webpack_require__(38);
9260
+ var callBound = __webpack_require__(39);
9261
+ var gOPD = __webpack_require__(40);
9105
9262
 
9106
9263
  var $toString = callBound('Object.prototype.toString');
9107
- var hasSymbols = __webpack_require__(24)();
9108
- var hasToStringTag = hasSymbols && typeof Symbol.toStringTag === 'symbol';
9264
+ var hasToStringTag = __webpack_require__(22)();
9109
9265
 
9266
+ var g = typeof globalThis === 'undefined' ? __webpack_require__.g : globalThis;
9110
9267
  var typedArrays = availableTypedArrays();
9111
9268
 
9112
9269
  var $slice = callBound('String.prototype.slice');
9113
- var toStrTags = {};
9114
- var gOPD = __webpack_require__(34);
9115
9270
  var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
9271
+
9272
+ var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
9273
+ for (var i = 0; i < array.length; i += 1) {
9274
+ if (array[i] === value) {
9275
+ return i;
9276
+ }
9277
+ }
9278
+ return -1;
9279
+ };
9280
+ var cache = { __proto__: null };
9116
9281
  if (hasToStringTag && gOPD && getPrototypeOf) {
9117
9282
  forEach(typedArrays, function (typedArray) {
9118
- if (typeof __webpack_require__.g[typedArray] === 'function') {
9119
- var arr = new __webpack_require__.g[typedArray]();
9120
- if (!(Symbol.toStringTag in arr)) {
9121
- throw new EvalError('this engine has support for Symbol.toStringTag, but ' + typedArray + ' does not have the property! Please report this.');
9122
- }
9283
+ var arr = new g[typedArray]();
9284
+ if (Symbol.toStringTag in arr) {
9123
9285
  var proto = getPrototypeOf(arr);
9124
9286
  var descriptor = gOPD(proto, Symbol.toStringTag);
9125
9287
  if (!descriptor) {
9126
9288
  var superProto = getPrototypeOf(proto);
9127
9289
  descriptor = gOPD(superProto, Symbol.toStringTag);
9128
9290
  }
9129
- toStrTags[typedArray] = descriptor.get;
9291
+ cache['$' + typedArray] = callBind(descriptor.get);
9130
9292
  }
9131
9293
  });
9294
+ } else {
9295
+ forEach(typedArrays, function (typedArray) {
9296
+ var arr = new g[typedArray]();
9297
+ cache['$' + typedArray] = callBind(arr.slice);
9298
+ });
9132
9299
  }
9133
9300
 
9134
9301
  var tryTypedArrays = function tryAllTypedArrays(value) {
9135
- var foundName = false;
9136
- forEach(toStrTags, function (getter, typedArray) {
9137
- if (!foundName) {
9302
+ var found = false;
9303
+ forEach(cache, function (getter, typedArray) {
9304
+ if (!found) {
9138
9305
  try {
9139
- var name = getter.call(value);
9140
- if (name === typedArray) {
9141
- foundName = name;
9306
+ if ('$' + getter(value) === typedArray) {
9307
+ found = $slice(typedArray, 1);
9142
9308
  }
9143
- } catch (e) {}
9309
+ } catch (e) { /**/ }
9144
9310
  }
9145
9311
  });
9146
- return foundName;
9312
+ return found;
9147
9313
  };
9148
9314
 
9149
- var isTypedArray = __webpack_require__(36);
9150
-
9151
- module.exports = function whichTypedArray(value) {
9152
- if (!isTypedArray(value)) { return false; }
9153
- if (!hasToStringTag) { return $slice($toString(value), 8, -1); }
9154
- return tryTypedArrays(value);
9155
- };
9156
-
9157
-
9158
- /***/ }),
9159
- /* 32 */
9160
- /***/ ((module) => {
9161
-
9162
-
9163
- var hasOwn = Object.prototype.hasOwnProperty;
9164
- var toString = Object.prototype.toString;
9165
-
9166
- module.exports = function forEach (obj, fn, ctx) {
9167
- if (toString.call(fn) !== '[object Function]') {
9168
- throw new TypeError('iterator must be a function');
9169
- }
9170
- var l = obj.length;
9171
- if (l === +l) {
9172
- for (var i = 0; i < l; i++) {
9173
- fn.call(ctx, obj[i], i, obj);
9174
- }
9175
- } else {
9176
- for (var k in obj) {
9177
- if (hasOwn.call(obj, k)) {
9178
- fn.call(ctx, obj[k], k, obj);
9179
- }
9180
- }
9181
- }
9315
+ var trySlices = function tryAllSlices(value) {
9316
+ var found = false;
9317
+ forEach(cache, function (getter, name) {
9318
+ if (!found) {
9319
+ try {
9320
+ getter(value);
9321
+ found = $slice(name, 1);
9322
+ } catch (e) { /**/ }
9323
+ }
9324
+ });
9325
+ return found;
9182
9326
  };
9183
9327
 
9184
-
9185
-
9186
- /***/ }),
9187
- /* 33 */
9188
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9189
-
9190
- "use strict";
9191
-
9192
-
9193
- var possibleNames = [
9194
- 'BigInt64Array',
9195
- 'BigUint64Array',
9196
- 'Float32Array',
9197
- 'Float64Array',
9198
- 'Int16Array',
9199
- 'Int32Array',
9200
- 'Int8Array',
9201
- 'Uint16Array',
9202
- 'Uint32Array',
9203
- 'Uint8Array',
9204
- 'Uint8ClampedArray'
9205
- ];
9206
-
9207
- module.exports = function availableTypedArrays() {
9208
- var out = [];
9209
- for (var i = 0; i < possibleNames.length; i++) {
9210
- if (typeof __webpack_require__.g[possibleNames[i]] === 'function') {
9211
- out[out.length] = possibleNames[i];
9328
+ module.exports = function whichTypedArray(value) {
9329
+ if (!value || typeof value !== 'object') { return false; }
9330
+ if (!hasToStringTag) {
9331
+ var tag = $slice($toString(value), 8, -1);
9332
+ if ($indexOf(typedArrays, tag) > -1) {
9333
+ return tag;
9334
+ }
9335
+ if (tag !== 'Object') {
9336
+ return false;
9212
9337
  }
9338
+ // node < 0.6 hits here on real Typed Arrays
9339
+ return trySlices(value);
9213
9340
  }
9214
- return out;
9341
+ if (!gOPD) { return null; } // unknown engine
9342
+ return tryTypedArrays(value);
9215
9343
  };
9216
9344
 
9217
9345
 
9218
9346
  /***/ }),
9219
- /* 34 */
9347
+ /* 35 */
9220
9348
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9221
9349
 
9222
9350
  "use strict";
9223
9351
 
9224
9352
 
9225
- var GetIntrinsic = __webpack_require__(35);
9353
+ var isCallable = __webpack_require__(36);
9226
9354
 
9227
- var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
9228
- if ($gOPD) {
9229
- try {
9230
- $gOPD([], 'length');
9231
- } catch (e) {
9232
- // IE 8 has a broken gOPD
9233
- $gOPD = null;
9234
- }
9235
- }
9236
-
9237
- module.exports = $gOPD;
9238
-
9239
-
9240
- /***/ }),
9241
- /* 35 */
9242
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9243
-
9244
- "use strict";
9245
-
9246
-
9247
- /* globals
9248
- AggregateError,
9249
- Atomics,
9250
- FinalizationRegistry,
9251
- SharedArrayBuffer,
9252
- WeakRef,
9253
- */
9254
-
9255
- var undefined;
9256
-
9257
- var $SyntaxError = SyntaxError;
9258
- var $Function = Function;
9259
- var $TypeError = TypeError;
9260
-
9261
- // eslint-disable-next-line consistent-return
9262
- var getEvalledConstructor = function (expressionSyntax) {
9263
- try {
9264
- // eslint-disable-next-line no-new-func
9265
- return Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
9266
- } catch (e) {}
9267
- };
9268
-
9269
- var $gOPD = Object.getOwnPropertyDescriptor;
9270
- if ($gOPD) {
9271
- try {
9272
- $gOPD({}, '');
9273
- } catch (e) {
9274
- $gOPD = null; // this is IE 8, which has a broken gOPD
9275
- }
9276
- }
9277
-
9278
- var throwTypeError = function () { throw new $TypeError(); };
9279
- var ThrowTypeError = $gOPD
9280
- ? (function () {
9281
- try {
9282
- // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
9283
- arguments.callee; // IE 8 does not throw here
9284
- return throwTypeError;
9285
- } catch (calleeThrows) {
9286
- try {
9287
- // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
9288
- return $gOPD(arguments, 'callee').get;
9289
- } catch (gOPDthrows) {
9290
- return throwTypeError;
9291
- }
9292
- }
9293
- }())
9294
- : throwTypeError;
9295
-
9296
- var hasSymbols = __webpack_require__(24)();
9297
-
9298
- var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
9299
-
9300
- var asyncGenFunction = getEvalledConstructor('async function* () {}');
9301
- var asyncGenFunctionPrototype = asyncGenFunction ? asyncGenFunction.prototype : undefined;
9302
- var asyncGenPrototype = asyncGenFunctionPrototype ? asyncGenFunctionPrototype.prototype : undefined;
9303
-
9304
- var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
9305
-
9306
- var INTRINSICS = {
9307
- '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
9308
- '%Array%': Array,
9309
- '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
9310
- '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
9311
- '%AsyncFromSyncIteratorPrototype%': undefined,
9312
- '%AsyncFunction%': getEvalledConstructor('async function () {}'),
9313
- '%AsyncGenerator%': asyncGenFunctionPrototype,
9314
- '%AsyncGeneratorFunction%': asyncGenFunction,
9315
- '%AsyncIteratorPrototype%': asyncGenPrototype ? getProto(asyncGenPrototype) : undefined,
9316
- '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
9317
- '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
9318
- '%Boolean%': Boolean,
9319
- '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
9320
- '%Date%': Date,
9321
- '%decodeURI%': decodeURI,
9322
- '%decodeURIComponent%': decodeURIComponent,
9323
- '%encodeURI%': encodeURI,
9324
- '%encodeURIComponent%': encodeURIComponent,
9325
- '%Error%': Error,
9326
- '%eval%': eval, // eslint-disable-line no-eval
9327
- '%EvalError%': EvalError,
9328
- '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
9329
- '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
9330
- '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
9331
- '%Function%': $Function,
9332
- '%GeneratorFunction%': getEvalledConstructor('function* () {}'),
9333
- '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
9334
- '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
9335
- '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
9336
- '%isFinite%': isFinite,
9337
- '%isNaN%': isNaN,
9338
- '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
9339
- '%JSON%': typeof JSON === 'object' ? JSON : undefined,
9340
- '%Map%': typeof Map === 'undefined' ? undefined : Map,
9341
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
9342
- '%Math%': Math,
9343
- '%Number%': Number,
9344
- '%Object%': Object,
9345
- '%parseFloat%': parseFloat,
9346
- '%parseInt%': parseInt,
9347
- '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
9348
- '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
9349
- '%RangeError%': RangeError,
9350
- '%ReferenceError%': ReferenceError,
9351
- '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
9352
- '%RegExp%': RegExp,
9353
- '%Set%': typeof Set === 'undefined' ? undefined : Set,
9354
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
9355
- '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
9356
- '%String%': String,
9357
- '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
9358
- '%Symbol%': hasSymbols ? Symbol : undefined,
9359
- '%SyntaxError%': $SyntaxError,
9360
- '%ThrowTypeError%': ThrowTypeError,
9361
- '%TypedArray%': TypedArray,
9362
- '%TypeError%': $TypeError,
9363
- '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
9364
- '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
9365
- '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
9366
- '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
9367
- '%URIError%': URIError,
9368
- '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
9369
- '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
9370
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
9371
- };
9372
-
9373
- var LEGACY_ALIASES = {
9374
- '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
9375
- '%ArrayPrototype%': ['Array', 'prototype'],
9376
- '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
9377
- '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
9378
- '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
9379
- '%ArrayProto_values%': ['Array', 'prototype', 'values'],
9380
- '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
9381
- '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
9382
- '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
9383
- '%BooleanPrototype%': ['Boolean', 'prototype'],
9384
- '%DataViewPrototype%': ['DataView', 'prototype'],
9385
- '%DatePrototype%': ['Date', 'prototype'],
9386
- '%ErrorPrototype%': ['Error', 'prototype'],
9387
- '%EvalErrorPrototype%': ['EvalError', 'prototype'],
9388
- '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
9389
- '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
9390
- '%FunctionPrototype%': ['Function', 'prototype'],
9391
- '%Generator%': ['GeneratorFunction', 'prototype'],
9392
- '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
9393
- '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
9394
- '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
9395
- '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
9396
- '%JSONParse%': ['JSON', 'parse'],
9397
- '%JSONStringify%': ['JSON', 'stringify'],
9398
- '%MapPrototype%': ['Map', 'prototype'],
9399
- '%NumberPrototype%': ['Number', 'prototype'],
9400
- '%ObjectPrototype%': ['Object', 'prototype'],
9401
- '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
9402
- '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
9403
- '%PromisePrototype%': ['Promise', 'prototype'],
9404
- '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
9405
- '%Promise_all%': ['Promise', 'all'],
9406
- '%Promise_reject%': ['Promise', 'reject'],
9407
- '%Promise_resolve%': ['Promise', 'resolve'],
9408
- '%RangeErrorPrototype%': ['RangeError', 'prototype'],
9409
- '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
9410
- '%RegExpPrototype%': ['RegExp', 'prototype'],
9411
- '%SetPrototype%': ['Set', 'prototype'],
9412
- '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
9413
- '%StringPrototype%': ['String', 'prototype'],
9414
- '%SymbolPrototype%': ['Symbol', 'prototype'],
9415
- '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
9416
- '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
9417
- '%TypeErrorPrototype%': ['TypeError', 'prototype'],
9418
- '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
9419
- '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
9420
- '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
9421
- '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
9422
- '%URIErrorPrototype%': ['URIError', 'prototype'],
9423
- '%WeakMapPrototype%': ['WeakMap', 'prototype'],
9424
- '%WeakSetPrototype%': ['WeakSet', 'prototype']
9425
- };
9426
-
9427
- var bind = __webpack_require__(26);
9428
- var hasOwn = __webpack_require__(28);
9429
- var $concat = bind.call(Function.call, Array.prototype.concat);
9430
- var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
9431
- var $replace = bind.call(Function.call, String.prototype.replace);
9432
-
9433
- /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
9434
- var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
9435
- var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
9436
- var stringToPath = function stringToPath(string) {
9437
- var result = [];
9438
- $replace(string, rePropName, function (match, number, quote, subString) {
9439
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
9440
- });
9441
- return result;
9442
- };
9443
- /* end adaptation */
9444
-
9445
- var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
9446
- var intrinsicName = name;
9447
- var alias;
9448
- if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
9449
- alias = LEGACY_ALIASES[intrinsicName];
9450
- intrinsicName = '%' + alias[0] + '%';
9451
- }
9452
-
9453
- if (hasOwn(INTRINSICS, intrinsicName)) {
9454
- var value = INTRINSICS[intrinsicName];
9455
- if (typeof value === 'undefined' && !allowMissing) {
9456
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
9457
- }
9458
-
9459
- return {
9460
- alias: alias,
9461
- name: intrinsicName,
9462
- value: value
9463
- };
9464
- }
9465
-
9466
- throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
9467
- };
9468
-
9469
- module.exports = function GetIntrinsic(name, allowMissing) {
9470
- if (typeof name !== 'string' || name.length === 0) {
9471
- throw new $TypeError('intrinsic name must be a non-empty string');
9472
- }
9473
- if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
9474
- throw new $TypeError('"allowMissing" argument must be a boolean');
9475
- }
9476
-
9477
- var parts = stringToPath(name);
9478
- var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
9479
-
9480
- var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
9481
- var intrinsicRealName = intrinsic.name;
9482
- var value = intrinsic.value;
9483
- var skipFurtherCaching = false;
9484
-
9485
- var alias = intrinsic.alias;
9486
- if (alias) {
9487
- intrinsicBaseName = alias[0];
9488
- $spliceApply(parts, $concat([0, 1], alias));
9489
- }
9490
-
9491
- for (var i = 1, isOwn = true; i < parts.length; i += 1) {
9492
- var part = parts[i];
9493
- if (part === 'constructor' || !isOwn) {
9494
- skipFurtherCaching = true;
9495
- }
9496
-
9497
- intrinsicBaseName += '.' + part;
9498
- intrinsicRealName = '%' + intrinsicBaseName + '%';
9499
-
9500
- if (hasOwn(INTRINSICS, intrinsicRealName)) {
9501
- value = INTRINSICS[intrinsicRealName];
9502
- } else if (value != null) {
9503
- if ($gOPD && (i + 1) >= parts.length) {
9504
- var desc = $gOPD(value, part);
9505
- isOwn = !!desc;
9506
-
9507
- if (!allowMissing && !(part in value)) {
9508
- throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
9509
- }
9510
- // By convention, when a data property is converted to an accessor
9511
- // property to emulate a data property that does not suffer from
9512
- // the override mistake, that accessor's getter is marked with
9513
- // an `originalValue` property. Here, when we detect this, we
9514
- // uphold the illusion by pretending to see that original data
9515
- // property, i.e., returning the value rather than the getter
9516
- // itself.
9517
- if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
9518
- value = desc.get;
9519
- } else {
9520
- value = value[part];
9521
- }
9522
- } else {
9523
- isOwn = hasOwn(value, part);
9524
- value = value[part];
9525
- }
9526
-
9527
- if (isOwn && !skipFurtherCaching) {
9528
- INTRINSICS[intrinsicRealName] = value;
9529
- }
9530
- }
9531
- }
9532
- return value;
9533
- };
9534
-
9535
-
9536
- /***/ }),
9537
- /* 36 */
9538
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9539
-
9540
- "use strict";
9541
-
9542
-
9543
- var forEach = __webpack_require__(32);
9544
- var availableTypedArrays = __webpack_require__(33);
9545
- var callBound = __webpack_require__(37);
9546
-
9547
- var $toString = callBound('Object.prototype.toString');
9548
- var hasSymbols = __webpack_require__(24)();
9549
- var hasToStringTag = hasSymbols && typeof Symbol.toStringTag === 'symbol';
9550
-
9551
- var typedArrays = availableTypedArrays();
9552
-
9553
- var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
9554
- for (var i = 0; i < array.length; i += 1) {
9555
- if (array[i] === value) {
9556
- return i;
9557
- }
9558
- }
9559
- return -1;
9560
- };
9561
- var $slice = callBound('String.prototype.slice');
9562
- var toStrTags = {};
9563
- var gOPD = __webpack_require__(40);
9564
- var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
9565
- if (hasToStringTag && gOPD && getPrototypeOf) {
9566
- forEach(typedArrays, function (typedArray) {
9567
- var arr = new __webpack_require__.g[typedArray]();
9568
- if (!(Symbol.toStringTag in arr)) {
9569
- throw new EvalError('this engine has support for Symbol.toStringTag, but ' + typedArray + ' does not have the property! Please report this.');
9570
- }
9571
- var proto = getPrototypeOf(arr);
9572
- var descriptor = gOPD(proto, Symbol.toStringTag);
9573
- if (!descriptor) {
9574
- var superProto = getPrototypeOf(proto);
9575
- descriptor = gOPD(superProto, Symbol.toStringTag);
9576
- }
9577
- toStrTags[typedArray] = descriptor.get;
9578
- });
9579
- }
9580
-
9581
- var tryTypedArrays = function tryAllTypedArrays(value) {
9582
- var anyTrue = false;
9583
- forEach(toStrTags, function (getter, typedArray) {
9584
- if (!anyTrue) {
9585
- try {
9586
- anyTrue = getter.call(value) === typedArray;
9587
- } catch (e) { /**/ }
9588
- }
9589
- });
9590
- return anyTrue;
9591
- };
9592
-
9593
- module.exports = function isTypedArray(value) {
9594
- if (!value || typeof value !== 'object') { return false; }
9595
- if (!hasToStringTag) {
9596
- var tag = $slice($toString(value), 8, -1);
9597
- return $indexOf(typedArrays, tag) > -1;
9598
- }
9599
- if (!gOPD) { return false; }
9600
- return tryTypedArrays(value);
9601
- };
9602
-
9603
-
9604
- /***/ }),
9605
- /* 37 */
9606
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9607
-
9608
- "use strict";
9609
-
9610
-
9611
- var GetIntrinsic = __webpack_require__(38);
9612
-
9613
- var callBind = __webpack_require__(39);
9614
-
9615
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
9616
-
9617
- module.exports = function callBoundIntrinsic(name, allowMissing) {
9618
- var intrinsic = GetIntrinsic(name, !!allowMissing);
9619
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
9620
- return callBind(intrinsic);
9621
- }
9622
- return intrinsic;
9623
- };
9624
-
9625
-
9626
- /***/ }),
9627
- /* 38 */
9628
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9629
-
9630
- "use strict";
9631
-
9632
-
9633
- var undefined;
9634
-
9635
- var $SyntaxError = SyntaxError;
9636
- var $Function = Function;
9637
- var $TypeError = TypeError;
9638
-
9639
- // eslint-disable-next-line consistent-return
9640
- var getEvalledConstructor = function (expressionSyntax) {
9641
- try {
9642
- return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
9643
- } catch (e) {}
9644
- };
9645
-
9646
- var $gOPD = Object.getOwnPropertyDescriptor;
9647
- if ($gOPD) {
9648
- try {
9649
- $gOPD({}, '');
9650
- } catch (e) {
9651
- $gOPD = null; // this is IE 8, which has a broken gOPD
9652
- }
9653
- }
9654
-
9655
- var throwTypeError = function () {
9656
- throw new $TypeError();
9657
- };
9658
- var ThrowTypeError = $gOPD
9659
- ? (function () {
9660
- try {
9661
- // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
9662
- arguments.callee; // IE 8 does not throw here
9663
- return throwTypeError;
9664
- } catch (calleeThrows) {
9665
- try {
9666
- // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
9667
- return $gOPD(arguments, 'callee').get;
9668
- } catch (gOPDthrows) {
9669
- return throwTypeError;
9670
- }
9671
- }
9672
- }())
9673
- : throwTypeError;
9674
-
9675
- var hasSymbols = __webpack_require__(24)();
9676
-
9677
- var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
9678
-
9679
- var needsEval = {};
9680
-
9681
- var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
9682
-
9683
- var INTRINSICS = {
9684
- '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
9685
- '%Array%': Array,
9686
- '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
9687
- '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
9688
- '%AsyncFromSyncIteratorPrototype%': undefined,
9689
- '%AsyncFunction%': needsEval,
9690
- '%AsyncGenerator%': needsEval,
9691
- '%AsyncGeneratorFunction%': needsEval,
9692
- '%AsyncIteratorPrototype%': needsEval,
9693
- '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
9694
- '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
9695
- '%Boolean%': Boolean,
9696
- '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
9697
- '%Date%': Date,
9698
- '%decodeURI%': decodeURI,
9699
- '%decodeURIComponent%': decodeURIComponent,
9700
- '%encodeURI%': encodeURI,
9701
- '%encodeURIComponent%': encodeURIComponent,
9702
- '%Error%': Error,
9703
- '%eval%': eval, // eslint-disable-line no-eval
9704
- '%EvalError%': EvalError,
9705
- '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
9706
- '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
9707
- '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
9708
- '%Function%': $Function,
9709
- '%GeneratorFunction%': needsEval,
9710
- '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
9711
- '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
9712
- '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
9713
- '%isFinite%': isFinite,
9714
- '%isNaN%': isNaN,
9715
- '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
9716
- '%JSON%': typeof JSON === 'object' ? JSON : undefined,
9717
- '%Map%': typeof Map === 'undefined' ? undefined : Map,
9718
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
9719
- '%Math%': Math,
9720
- '%Number%': Number,
9721
- '%Object%': Object,
9722
- '%parseFloat%': parseFloat,
9723
- '%parseInt%': parseInt,
9724
- '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
9725
- '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
9726
- '%RangeError%': RangeError,
9727
- '%ReferenceError%': ReferenceError,
9728
- '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
9729
- '%RegExp%': RegExp,
9730
- '%Set%': typeof Set === 'undefined' ? undefined : Set,
9731
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
9732
- '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
9733
- '%String%': String,
9734
- '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
9735
- '%Symbol%': hasSymbols ? Symbol : undefined,
9736
- '%SyntaxError%': $SyntaxError,
9737
- '%ThrowTypeError%': ThrowTypeError,
9738
- '%TypedArray%': TypedArray,
9739
- '%TypeError%': $TypeError,
9740
- '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
9741
- '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
9742
- '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
9743
- '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
9744
- '%URIError%': URIError,
9745
- '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
9746
- '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
9747
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
9748
- };
9749
-
9750
- var doEval = function doEval(name) {
9751
- var value;
9752
- if (name === '%AsyncFunction%') {
9753
- value = getEvalledConstructor('async function () {}');
9754
- } else if (name === '%GeneratorFunction%') {
9755
- value = getEvalledConstructor('function* () {}');
9756
- } else if (name === '%AsyncGeneratorFunction%') {
9757
- value = getEvalledConstructor('async function* () {}');
9758
- } else if (name === '%AsyncGenerator%') {
9759
- var fn = doEval('%AsyncGeneratorFunction%');
9760
- if (fn) {
9761
- value = fn.prototype;
9762
- }
9763
- } else if (name === '%AsyncIteratorPrototype%') {
9764
- var gen = doEval('%AsyncGenerator%');
9765
- if (gen) {
9766
- value = getProto(gen.prototype);
9767
- }
9768
- }
9769
-
9770
- INTRINSICS[name] = value;
9355
+ var toStr = Object.prototype.toString;
9356
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
9771
9357
 
9772
- return value;
9358
+ var forEachArray = function forEachArray(array, iterator, receiver) {
9359
+ for (var i = 0, len = array.length; i < len; i++) {
9360
+ if (hasOwnProperty.call(array, i)) {
9361
+ if (receiver == null) {
9362
+ iterator(array[i], i, array);
9363
+ } else {
9364
+ iterator.call(receiver, array[i], i, array);
9365
+ }
9366
+ }
9367
+ }
9773
9368
  };
9774
-
9775
- var LEGACY_ALIASES = {
9776
- '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
9777
- '%ArrayPrototype%': ['Array', 'prototype'],
9778
- '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
9779
- '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
9780
- '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
9781
- '%ArrayProto_values%': ['Array', 'prototype', 'values'],
9782
- '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
9783
- '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
9784
- '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
9785
- '%BooleanPrototype%': ['Boolean', 'prototype'],
9786
- '%DataViewPrototype%': ['DataView', 'prototype'],
9787
- '%DatePrototype%': ['Date', 'prototype'],
9788
- '%ErrorPrototype%': ['Error', 'prototype'],
9789
- '%EvalErrorPrototype%': ['EvalError', 'prototype'],
9790
- '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
9791
- '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
9792
- '%FunctionPrototype%': ['Function', 'prototype'],
9793
- '%Generator%': ['GeneratorFunction', 'prototype'],
9794
- '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
9795
- '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
9796
- '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
9797
- '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
9798
- '%JSONParse%': ['JSON', 'parse'],
9799
- '%JSONStringify%': ['JSON', 'stringify'],
9800
- '%MapPrototype%': ['Map', 'prototype'],
9801
- '%NumberPrototype%': ['Number', 'prototype'],
9802
- '%ObjectPrototype%': ['Object', 'prototype'],
9803
- '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
9804
- '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
9805
- '%PromisePrototype%': ['Promise', 'prototype'],
9806
- '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
9807
- '%Promise_all%': ['Promise', 'all'],
9808
- '%Promise_reject%': ['Promise', 'reject'],
9809
- '%Promise_resolve%': ['Promise', 'resolve'],
9810
- '%RangeErrorPrototype%': ['RangeError', 'prototype'],
9811
- '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
9812
- '%RegExpPrototype%': ['RegExp', 'prototype'],
9813
- '%SetPrototype%': ['Set', 'prototype'],
9814
- '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
9815
- '%StringPrototype%': ['String', 'prototype'],
9816
- '%SymbolPrototype%': ['Symbol', 'prototype'],
9817
- '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
9818
- '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
9819
- '%TypeErrorPrototype%': ['TypeError', 'prototype'],
9820
- '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
9821
- '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
9822
- '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
9823
- '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
9824
- '%URIErrorPrototype%': ['URIError', 'prototype'],
9825
- '%WeakMapPrototype%': ['WeakMap', 'prototype'],
9826
- '%WeakSetPrototype%': ['WeakSet', 'prototype']
9369
+
9370
+ var forEachString = function forEachString(string, iterator, receiver) {
9371
+ for (var i = 0, len = string.length; i < len; i++) {
9372
+ // no such thing as a sparse string.
9373
+ if (receiver == null) {
9374
+ iterator(string.charAt(i), i, string);
9375
+ } else {
9376
+ iterator.call(receiver, string.charAt(i), i, string);
9377
+ }
9378
+ }
9827
9379
  };
9828
9380
 
9829
- var bind = __webpack_require__(26);
9830
- var hasOwn = __webpack_require__(28);
9831
- var $concat = bind.call(Function.call, Array.prototype.concat);
9832
- var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
9833
- var $replace = bind.call(Function.call, String.prototype.replace);
9834
- var $strSlice = bind.call(Function.call, String.prototype.slice);
9381
+ var forEachObject = function forEachObject(object, iterator, receiver) {
9382
+ for (var k in object) {
9383
+ if (hasOwnProperty.call(object, k)) {
9384
+ if (receiver == null) {
9385
+ iterator(object[k], k, object);
9386
+ } else {
9387
+ iterator.call(receiver, object[k], k, object);
9388
+ }
9389
+ }
9390
+ }
9391
+ };
9835
9392
 
9836
- /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
9837
- var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
9838
- var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
9839
- var stringToPath = function stringToPath(string) {
9840
- var first = $strSlice(string, 0, 1);
9841
- var last = $strSlice(string, -1);
9842
- if (first === '%' && last !== '%') {
9843
- throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
9844
- } else if (last === '%' && first !== '%') {
9845
- throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
9846
- }
9847
- var result = [];
9848
- $replace(string, rePropName, function (match, number, quote, subString) {
9849
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
9850
- });
9851
- return result;
9393
+ var forEach = function forEach(list, iterator, thisArg) {
9394
+ if (!isCallable(iterator)) {
9395
+ throw new TypeError('iterator must be a function');
9396
+ }
9397
+
9398
+ var receiver;
9399
+ if (arguments.length >= 3) {
9400
+ receiver = thisArg;
9401
+ }
9402
+
9403
+ if (toStr.call(list) === '[object Array]') {
9404
+ forEachArray(list, iterator, receiver);
9405
+ } else if (typeof list === 'string') {
9406
+ forEachString(list, iterator, receiver);
9407
+ } else {
9408
+ forEachObject(list, iterator, receiver);
9409
+ }
9852
9410
  };
9853
- /* end adaptation */
9854
9411
 
9855
- var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
9856
- var intrinsicName = name;
9857
- var alias;
9858
- if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
9859
- alias = LEGACY_ALIASES[intrinsicName];
9860
- intrinsicName = '%' + alias[0] + '%';
9861
- }
9412
+ module.exports = forEach;
9862
9413
 
9863
- if (hasOwn(INTRINSICS, intrinsicName)) {
9864
- var value = INTRINSICS[intrinsicName];
9865
- if (value === needsEval) {
9866
- value = doEval(intrinsicName);
9867
- }
9868
- if (typeof value === 'undefined' && !allowMissing) {
9869
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
9870
- }
9871
9414
 
9872
- return {
9873
- alias: alias,
9874
- name: intrinsicName,
9875
- value: value
9876
- };
9415
+ /***/ }),
9416
+ /* 36 */
9417
+ /***/ ((module) => {
9418
+
9419
+ "use strict";
9420
+
9421
+
9422
+ var fnToStr = Function.prototype.toString;
9423
+ var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
9424
+ var badArrayLike;
9425
+ var isCallableMarker;
9426
+ if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
9427
+ try {
9428
+ badArrayLike = Object.defineProperty({}, 'length', {
9429
+ get: function () {
9430
+ throw isCallableMarker;
9431
+ }
9432
+ });
9433
+ isCallableMarker = {};
9434
+ // eslint-disable-next-line no-throw-literal
9435
+ reflectApply(function () { throw 42; }, null, badArrayLike);
9436
+ } catch (_) {
9437
+ if (_ !== isCallableMarker) {
9438
+ reflectApply = null;
9439
+ }
9877
9440
  }
9441
+ } else {
9442
+ reflectApply = null;
9443
+ }
9878
9444
 
9879
- throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
9445
+ var constructorRegex = /^\s*class\b/;
9446
+ var isES6ClassFn = function isES6ClassFunction(value) {
9447
+ try {
9448
+ var fnStr = fnToStr.call(value);
9449
+ return constructorRegex.test(fnStr);
9450
+ } catch (e) {
9451
+ return false; // not a function
9452
+ }
9880
9453
  };
9881
9454
 
9882
- module.exports = function GetIntrinsic(name, allowMissing) {
9883
- if (typeof name !== 'string' || name.length === 0) {
9884
- throw new $TypeError('intrinsic name must be a non-empty string');
9455
+ var tryFunctionObject = function tryFunctionToStr(value) {
9456
+ try {
9457
+ if (isES6ClassFn(value)) { return false; }
9458
+ fnToStr.call(value);
9459
+ return true;
9460
+ } catch (e) {
9461
+ return false;
9885
9462
  }
9886
- if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
9887
- throw new $TypeError('"allowMissing" argument must be a boolean');
9463
+ };
9464
+ var toStr = Object.prototype.toString;
9465
+ var objectClass = '[object Object]';
9466
+ var fnClass = '[object Function]';
9467
+ var genClass = '[object GeneratorFunction]';
9468
+ var ddaClass = '[object HTMLAllCollection]'; // IE 11
9469
+ var ddaClass2 = '[object HTML document.all class]';
9470
+ var ddaClass3 = '[object HTMLCollection]'; // IE 9-10
9471
+ var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`
9472
+
9473
+ var isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing
9474
+
9475
+ var isDDA = function isDocumentDotAll() { return false; };
9476
+ if (typeof document === 'object') {
9477
+ // Firefox 3 canonicalizes DDA to undefined when it's not accessed directly
9478
+ var all = document.all;
9479
+ if (toStr.call(all) === toStr.call(document.all)) {
9480
+ isDDA = function isDocumentDotAll(value) {
9481
+ /* globals document: false */
9482
+ // in IE 6-8, typeof document.all is "object" and it's truthy
9483
+ if ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) {
9484
+ try {
9485
+ var str = toStr.call(value);
9486
+ return (
9487
+ str === ddaClass
9488
+ || str === ddaClass2
9489
+ || str === ddaClass3 // opera 12.16
9490
+ || str === objectClass // IE 6-8
9491
+ ) && value('') == null; // eslint-disable-line eqeqeq
9492
+ } catch (e) { /**/ }
9493
+ }
9494
+ return false;
9495
+ };
9888
9496
  }
9497
+ }
9889
9498
 
9890
- var parts = stringToPath(name);
9891
- var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
9499
+ module.exports = reflectApply
9500
+ ? function isCallable(value) {
9501
+ if (isDDA(value)) { return true; }
9502
+ if (!value) { return false; }
9503
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
9504
+ try {
9505
+ reflectApply(value, null, badArrayLike);
9506
+ } catch (e) {
9507
+ if (e !== isCallableMarker) { return false; }
9508
+ }
9509
+ return !isES6ClassFn(value) && tryFunctionObject(value);
9510
+ }
9511
+ : function isCallable(value) {
9512
+ if (isDDA(value)) { return true; }
9513
+ if (!value) { return false; }
9514
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
9515
+ if (hasToStringTag) { return tryFunctionObject(value); }
9516
+ if (isES6ClassFn(value)) { return false; }
9517
+ var strClass = toStr.call(value);
9518
+ if (strClass !== fnClass && strClass !== genClass && !(/^\[object HTML/).test(strClass)) { return false; }
9519
+ return tryFunctionObject(value);
9520
+ };
9892
9521
 
9893
- var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
9894
- var intrinsicRealName = intrinsic.name;
9895
- var value = intrinsic.value;
9896
- var skipFurtherCaching = false;
9897
9522
 
9898
- var alias = intrinsic.alias;
9899
- if (alias) {
9900
- intrinsicBaseName = alias[0];
9901
- $spliceApply(parts, $concat([0, 1], alias));
9902
- }
9523
+ /***/ }),
9524
+ /* 37 */
9525
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9903
9526
 
9904
- for (var i = 1, isOwn = true; i < parts.length; i += 1) {
9905
- var part = parts[i];
9906
- var first = $strSlice(part, 0, 1);
9907
- var last = $strSlice(part, -1);
9908
- if (
9909
- (
9910
- (first === '"' || first === "'" || first === '`')
9911
- || (last === '"' || last === "'" || last === '`')
9912
- )
9913
- && first !== last
9914
- ) {
9915
- throw new $SyntaxError('property names with quotes must have matching quotes');
9916
- }
9917
- if (part === 'constructor' || !isOwn) {
9918
- skipFurtherCaching = true;
9919
- }
9527
+ "use strict";
9920
9528
 
9921
- intrinsicBaseName += '.' + part;
9922
- intrinsicRealName = '%' + intrinsicBaseName + '%';
9923
9529
 
9924
- if (hasOwn(INTRINSICS, intrinsicRealName)) {
9925
- value = INTRINSICS[intrinsicRealName];
9926
- } else if (value != null) {
9927
- if (!(part in value)) {
9928
- if (!allowMissing) {
9929
- throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
9930
- }
9931
- return void undefined;
9932
- }
9933
- if ($gOPD && (i + 1) >= parts.length) {
9934
- var desc = $gOPD(value, part);
9935
- isOwn = !!desc;
9530
+ var possibleNames = [
9531
+ 'BigInt64Array',
9532
+ 'BigUint64Array',
9533
+ 'Float32Array',
9534
+ 'Float64Array',
9535
+ 'Int16Array',
9536
+ 'Int32Array',
9537
+ 'Int8Array',
9538
+ 'Uint16Array',
9539
+ 'Uint32Array',
9540
+ 'Uint8Array',
9541
+ 'Uint8ClampedArray'
9542
+ ];
9936
9543
 
9937
- // By convention, when a data property is converted to an accessor
9938
- // property to emulate a data property that does not suffer from
9939
- // the override mistake, that accessor's getter is marked with
9940
- // an `originalValue` property. Here, when we detect this, we
9941
- // uphold the illusion by pretending to see that original data
9942
- // property, i.e., returning the value rather than the getter
9943
- // itself.
9944
- if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
9945
- value = desc.get;
9946
- } else {
9947
- value = value[part];
9948
- }
9949
- } else {
9950
- isOwn = hasOwn(value, part);
9951
- value = value[part];
9952
- }
9544
+ var g = typeof globalThis === 'undefined' ? __webpack_require__.g : globalThis;
9953
9545
 
9954
- if (isOwn && !skipFurtherCaching) {
9955
- INTRINSICS[intrinsicRealName] = value;
9956
- }
9546
+ module.exports = function availableTypedArrays() {
9547
+ var out = [];
9548
+ for (var i = 0; i < possibleNames.length; i++) {
9549
+ if (typeof g[possibleNames[i]] === 'function') {
9550
+ out[out.length] = possibleNames[i];
9957
9551
  }
9958
9552
  }
9959
- return value;
9553
+ return out;
9960
9554
  };
9961
9555
 
9962
9556
 
9963
9557
  /***/ }),
9964
- /* 39 */
9558
+ /* 38 */
9965
9559
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9966
9560
 
9967
9561
  "use strict";
9968
9562
 
9969
9563
 
9970
- var bind = __webpack_require__(26);
9971
- var GetIntrinsic = __webpack_require__(38);
9564
+ var bind = __webpack_require__(29);
9565
+ var GetIntrinsic = __webpack_require__(25);
9972
9566
 
9973
9567
  var $apply = GetIntrinsic('%Function.prototype.apply%');
9974
9568
  var $call = GetIntrinsic('%Function.prototype.call%');
@@ -10014,6 +9608,28 @@ if ($defineProperty) {
10014
9608
  }
10015
9609
 
10016
9610
 
9611
+ /***/ }),
9612
+ /* 39 */
9613
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9614
+
9615
+ "use strict";
9616
+
9617
+
9618
+ var GetIntrinsic = __webpack_require__(25);
9619
+
9620
+ var callBind = __webpack_require__(38);
9621
+
9622
+ var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
9623
+
9624
+ module.exports = function callBoundIntrinsic(name, allowMissing) {
9625
+ var intrinsic = GetIntrinsic(name, !!allowMissing);
9626
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
9627
+ return callBind(intrinsic);
9628
+ }
9629
+ return intrinsic;
9630
+ };
9631
+
9632
+
10017
9633
  /***/ }),
10018
9634
  /* 40 */
10019
9635
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
@@ -10021,9 +9637,10 @@ if ($defineProperty) {
10021
9637
  "use strict";
10022
9638
 
10023
9639
 
10024
- var GetIntrinsic = __webpack_require__(38);
9640
+ var GetIntrinsic = __webpack_require__(25);
9641
+
9642
+ var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
10025
9643
 
10026
- var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
10027
9644
  if ($gOPD) {
10028
9645
  try {
10029
9646
  $gOPD([], 'length');
@@ -10038,6 +9655,20 @@ module.exports = $gOPD;
10038
9655
 
10039
9656
  /***/ }),
10040
9657
  /* 41 */
9658
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9659
+
9660
+ "use strict";
9661
+
9662
+
9663
+ var whichTypedArray = __webpack_require__(34);
9664
+
9665
+ module.exports = function isTypedArray(value) {
9666
+ return !!whichTypedArray(value);
9667
+ };
9668
+
9669
+
9670
+ /***/ }),
9671
+ /* 42 */
10041
9672
  /***/ ((module) => {
10042
9673
 
10043
9674
  module.exports = function isBuffer(arg) {
@@ -10048,7 +9679,7 @@ module.exports = function isBuffer(arg) {
10048
9679
  }
10049
9680
 
10050
9681
  /***/ }),
10051
- /* 42 */
9682
+ /* 43 */
10052
9683
  /***/ ((module) => {
10053
9684
 
10054
9685
  if (typeof Object.create === 'function') {
@@ -10081,7 +9712,7 @@ if (typeof Object.create === 'function') {
10081
9712
 
10082
9713
 
10083
9714
  /***/ }),
10084
- /* 43 */
9715
+ /* 44 */
10085
9716
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10086
9717
 
10087
9718
  "use strict";
@@ -12374,7 +12005,7 @@ var Is;
12374
12005
 
12375
12006
 
12376
12007
  /***/ }),
12377
- /* 44 */
12008
+ /* 45 */
12378
12009
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
12379
12010
 
12380
12011
  "use strict";
@@ -13029,7 +12660,7 @@ function percentDecode(str) {
13029
12660
 
13030
12661
 
13031
12662
  /***/ }),
13032
- /* 45 */
12663
+ /* 46 */
13033
12664
  /***/ ((__unused_webpack_module, exports) => {
13034
12665
 
13035
12666
  "use strict";
@@ -13050,7 +12681,7 @@ exports.htmlData = {
13050
12681
  //# sourceMappingURL=data.js.map
13051
12682
 
13052
12683
  /***/ }),
13053
- /* 46 */
12684
+ /* 47 */
13054
12685
  /***/ ((__unused_webpack_module, exports) => {
13055
12686
 
13056
12687
  "use strict";
@@ -13128,7 +12759,7 @@ exports.joinPath = joinPath;
13128
12759
  //# sourceMappingURL=fileService.js.map
13129
12760
 
13130
12761
  /***/ }),
13131
- /* 47 */
12762
+ /* 48 */
13132
12763
  /***/ ((__unused_webpack_module, exports) => {
13133
12764
 
13134
12765
  "use strict";
@@ -18501,7 +18132,7 @@ exports.stylesheetAbbreviation = parse$2;
18501
18132
 
18502
18133
 
18503
18134
  /***/ }),
18504
- /* 48 */
18135
+ /* 49 */
18505
18136
  /***/ ((__unused_webpack_module, exports) => {
18506
18137
 
18507
18138
  "use strict";
@@ -18555,7 +18186,7 @@ exports.syntaxes = {
18555
18186
  //# sourceMappingURL=configCompat.js.map
18556
18187
 
18557
18188
  /***/ }),
18558
- /* 49 */
18189
+ /* 50 */
18559
18190
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
18560
18191
 
18561
18192
  "use strict";
@@ -18690,7 +18321,7 @@ function calculateIndentAmountToRemove(document, openRange, closeRange) {
18690
18321
 
18691
18322
 
18692
18323
  /***/ }),
18693
- /* 50 */
18324
+ /* 51 */
18694
18325
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
18695
18326
 
18696
18327
  "use strict";
@@ -18769,7 +18400,7 @@ function getRangesToUpdate(document, selection, rootNode) {
18769
18400
 
18770
18401
 
18771
18402
  /***/ }),
18772
- /* 51 */
18403
+ /* 52 */
18773
18404
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
18774
18405
 
18775
18406
  "use strict";
@@ -18825,7 +18456,7 @@ function getUpdatedSelections(document, rootNode, position) {
18825
18456
 
18826
18457
 
18827
18458
  /***/ }),
18828
- /* 52 */
18459
+ /* 53 */
18829
18460
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
18830
18461
 
18831
18462
  "use strict";
@@ -18953,7 +18584,7 @@ function areSameSelections(a, b) {
18953
18584
 
18954
18585
 
18955
18586
  /***/ }),
18956
- /* 53 */
18587
+ /* 54 */
18957
18588
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
18958
18589
 
18959
18590
  "use strict";
@@ -19020,7 +18651,7 @@ function getRangesToReplace(document, nodeToUpdate) {
19020
18651
 
19021
18652
 
19022
18653
  /***/ }),
19023
- /* 54 */
18654
+ /* 55 */
19024
18655
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
19025
18656
 
19026
18657
  "use strict";
@@ -19086,7 +18717,7 @@ function getRangesToReplace(document, selection, rootNode) {
19086
18717
 
19087
18718
 
19088
18719
  /***/ }),
19089
- /* 55 */
18720
+ /* 56 */
19090
18721
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
19091
18722
 
19092
18723
  "use strict";
@@ -19290,7 +18921,7 @@ function adjustEndNodeCss(node, offset, rootNode) {
19290
18921
 
19291
18922
 
19292
18923
  /***/ }),
19293
- /* 56 */
18924
+ /* 57 */
19294
18925
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
19295
18926
 
19296
18927
  "use strict";
@@ -19364,7 +18995,7 @@ function findEditPoint(lineNum, editor, position, direction) {
19364
18995
 
19365
18996
 
19366
18997
  /***/ }),
19367
- /* 57 */
18998
+ /* 58 */
19368
18999
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
19369
19000
 
19370
19001
  "use strict";
@@ -19377,8 +19008,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
19377
19008
  exports.fetchSelectItem = void 0;
19378
19009
  const vscode = __webpack_require__(2);
19379
19010
  const util_1 = __webpack_require__(5);
19380
- const selectItemHTML_1 = __webpack_require__(58);
19381
- const selectItemStylesheet_1 = __webpack_require__(59);
19011
+ const selectItemHTML_1 = __webpack_require__(59);
19012
+ const selectItemStylesheet_1 = __webpack_require__(60);
19382
19013
  const parseDocument_1 = __webpack_require__(12);
19383
19014
  function fetchSelectItem(direction) {
19384
19015
  if (!(0, util_1.validate)() || !vscode.window.activeTextEditor) {
@@ -19414,7 +19045,7 @@ exports.fetchSelectItem = fetchSelectItem;
19414
19045
 
19415
19046
 
19416
19047
  /***/ }),
19417
- /* 58 */
19048
+ /* 59 */
19418
19049
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
19419
19050
 
19420
19051
  "use strict";
@@ -19614,7 +19245,7 @@ function getPrevAttribute(document, selectionStart, selectionEnd, node) {
19614
19245
 
19615
19246
 
19616
19247
  /***/ }),
19617
- /* 59 */
19248
+ /* 60 */
19618
19249
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
19619
19250
 
19620
19251
  "use strict";
@@ -19758,7 +19389,7 @@ function getSelectionFromProperty(document, node, selectionStart, selectionEnd,
19758
19389
 
19759
19390
 
19760
19391
  /***/ }),
19761
- /* 60 */
19392
+ /* 61 */
19762
19393
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
19763
19394
 
19764
19395
  "use strict";
@@ -19771,7 +19402,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
19771
19402
  exports.evaluateMathExpression = void 0;
19772
19403
  /* Based on @sergeche's work in his emmet plugin */
19773
19404
  const vscode = __webpack_require__(2);
19774
- const math_expression_1 = __webpack_require__(61);
19405
+ const math_expression_1 = __webpack_require__(62);
19775
19406
  function evaluateMathExpression() {
19776
19407
  if (!vscode.window.activeTextEditor) {
19777
19408
  vscode.window.showInformationMessage('No editor is active');
@@ -19814,7 +19445,7 @@ exports.evaluateMathExpression = evaluateMathExpression;
19814
19445
 
19815
19446
 
19816
19447
  /***/ }),
19817
- /* 61 */
19448
+ /* 62 */
19818
19449
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
19819
19450
 
19820
19451
  "use strict";
@@ -19824,7 +19455,7 @@ __webpack_require__.r(__webpack_exports__);
19824
19455
  /* harmony export */ "extract": () => (/* binding */ extract),
19825
19456
  /* harmony export */ "parse": () => (/* binding */ parse)
19826
19457
  /* harmony export */ });
19827
- /* harmony import */ var _emmetio_scanner__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(62);
19458
+ /* harmony import */ var _emmetio_scanner__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(63);
19828
19459
 
19829
19460
 
19830
19461
  const nullary = token("null" /* Null */, 0);
@@ -20134,7 +19765,7 @@ function evaluate(expr) {
20134
19765
 
20135
19766
 
20136
19767
  /***/ }),
20137
- /* 62 */
19768
+ /* 63 */
20138
19769
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
20139
19770
 
20140
19771
  "use strict";
@@ -20394,7 +20025,7 @@ class ScannerError extends Error {
20394
20025
 
20395
20026
 
20396
20027
  /***/ }),
20397
- /* 63 */
20028
+ /* 64 */
20398
20029
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
20399
20030
 
20400
20031
  "use strict";
@@ -20505,7 +20136,7 @@ function isValidNumber(str) {
20505
20136
 
20506
20137
 
20507
20138
  /***/ }),
20508
- /* 64 */
20139
+ /* 65 */
20509
20140
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
20510
20141
 
20511
20142
  "use strict";