]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/assets/iD/iD.js
Update to iD v2.20.2
[rails.git] / vendor / assets / iD / iD.js
index 6ac452788fbd27e1c5715ac6b4b86aff4aeb0d37..929da2dd897561a44e4f6e2378bc5222f7964612 100644 (file)
@@ -2,17 +2,12 @@
 
        var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
 
 
        var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
 
-       function createCommonjsModule(fn) {
-         var module = { exports: {} };
-               return fn(module, module.exports), module.exports;
-       }
-
        var check = function (it) {
          return it && it.Math == Math && it;
        };
 
        // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
        var check = function (it) {
          return it && it.Math == Math && it;
        };
 
        // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
-       var global$2 =
+       var global$F =
          // eslint-disable-next-line es/no-global-this -- safe
          check(typeof globalThis == 'object' && globalThis) ||
          check(typeof window == 'object' && window) ||
          // eslint-disable-next-line es/no-global-this -- safe
          check(typeof globalThis == 'object' && globalThis) ||
          check(typeof window == 'object' && window) ||
@@ -22,7 +17,9 @@
          // eslint-disable-next-line no-new-func -- fallback
          (function () { return this; })() || Function('return this')();
 
          // eslint-disable-next-line no-new-func -- fallback
          (function () { return this; })() || Function('return this')();
 
-       var fails = function (exec) {
+       var objectGetOwnPropertyDescriptor = {};
+
+       var fails$N = function (exec) {
          try {
            return !!exec();
          } catch (error) {
          try {
            return !!exec();
          } catch (error) {
          }
        };
 
          }
        };
 
+       var fails$M = fails$N;
+
        // Detect IE8's incomplete defineProperty implementation
        // Detect IE8's incomplete defineProperty implementation
-       var descriptors = !fails(function () {
+       var descriptors = !fails$M(function () {
          // eslint-disable-next-line es/no-object-defineproperty -- required for testing
          return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
        });
 
          // eslint-disable-next-line es/no-object-defineproperty -- required for testing
          return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
        });
 
+       var objectPropertyIsEnumerable = {};
+
        var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
        // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
        var getOwnPropertyDescriptor$5 = Object.getOwnPropertyDescriptor;
        var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
        // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
        var getOwnPropertyDescriptor$5 = Object.getOwnPropertyDescriptor;
 
        // `Object.prototype.propertyIsEnumerable` method implementation
        // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
 
        // `Object.prototype.propertyIsEnumerable` method implementation
        // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
-       var f$7 = NASHORN_BUG ? function propertyIsEnumerable(V) {
+       objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
          var descriptor = getOwnPropertyDescriptor$5(this, V);
          return !!descriptor && descriptor.enumerable;
        } : $propertyIsEnumerable$1;
 
          var descriptor = getOwnPropertyDescriptor$5(this, V);
          return !!descriptor && descriptor.enumerable;
        } : $propertyIsEnumerable$1;
 
-       var objectPropertyIsEnumerable = {
-               f: f$7
-       };
-
-       var createPropertyDescriptor = function (bitmap, value) {
+       var createPropertyDescriptor$7 = function (bitmap, value) {
          return {
            enumerable: !(bitmap & 1),
            configurable: !(bitmap & 2),
          return {
            enumerable: !(bitmap & 1),
            configurable: !(bitmap & 2),
          };
        };
 
          };
        };
 
-       var toString$1 = {}.toString;
+       var toString$2 = {}.toString;
 
 
-       var classofRaw = function (it) {
-         return toString$1.call(it).slice(8, -1);
+       var classofRaw$1 = function (it) {
+         return toString$2.call(it).slice(8, -1);
        };
 
        };
 
-       var split$2 = ''.split;
+       var fails$L = fails$N;
+       var classof$c = classofRaw$1;
+
+       var split$1 = ''.split;
 
        // fallback for non-array-like ES3 and non-enumerable old V8 strings
 
        // fallback for non-array-like ES3 and non-enumerable old V8 strings
-       var indexedObject = fails(function () {
+       var indexedObject = fails$L(function () {
          // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
          // eslint-disable-next-line no-prototype-builtins -- safe
          return !Object('z').propertyIsEnumerable(0);
        }) ? function (it) {
          // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
          // eslint-disable-next-line no-prototype-builtins -- safe
          return !Object('z').propertyIsEnumerable(0);
        }) ? function (it) {
-         return classofRaw(it) == 'String' ? split$2.call(it, '') : Object(it);
+         return classof$c(it) == 'String' ? split$1.call(it, '') : Object(it);
        } : Object;
 
        // `RequireObjectCoercible` abstract operation
        // https://tc39.es/ecma262/#sec-requireobjectcoercible
        } : Object;
 
        // `RequireObjectCoercible` abstract operation
        // https://tc39.es/ecma262/#sec-requireobjectcoercible
-       var requireObjectCoercible = function (it) {
+       var requireObjectCoercible$e = function (it) {
          if (it == undefined) throw TypeError("Can't call method on " + it);
          return it;
        };
 
        // toObject with fallback for non-array-like ES3 strings
          if (it == undefined) throw TypeError("Can't call method on " + it);
          return it;
        };
 
        // toObject with fallback for non-array-like ES3 strings
+       var IndexedObject$4 = indexedObject;
+       var requireObjectCoercible$d = requireObjectCoercible$e;
 
 
-
-
-       var toIndexedObject = function (it) {
-         return indexedObject(requireObjectCoercible(it));
+       var toIndexedObject$b = function (it) {
+         return IndexedObject$4(requireObjectCoercible$d(it));
        };
 
        };
 
-       var isObject$4 = function (it) {
+       var isObject$r = function (it) {
          return typeof it === 'object' ? it !== null : typeof it === 'function';
        };
 
          return typeof it === 'object' ? it !== null : typeof it === 'function';
        };
 
+       var isObject$q = isObject$r;
+
        // `ToPrimitive` abstract operation
        // https://tc39.es/ecma262/#sec-toprimitive
        // instead of the ES6 spec version, we didn't implement @@toPrimitive case
        // and the second argument - flag - preferred type is a string
        // `ToPrimitive` abstract operation
        // https://tc39.es/ecma262/#sec-toprimitive
        // instead of the ES6 spec version, we didn't implement @@toPrimitive case
        // and the second argument - flag - preferred type is a string
-       var toPrimitive = function (input, PREFERRED_STRING) {
-         if (!isObject$4(input)) return input;
+       var toPrimitive$7 = function (input, PREFERRED_STRING) {
+         if (!isObject$q(input)) return input;
          var fn, val;
          var fn, val;
-         if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$4(val = fn.call(input))) return val;
-         if (typeof (fn = input.valueOf) == 'function' && !isObject$4(val = fn.call(input))) return val;
-         if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$4(val = fn.call(input))) return val;
+         if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$q(val = fn.call(input))) return val;
+         if (typeof (fn = input.valueOf) == 'function' && !isObject$q(val = fn.call(input))) return val;
+         if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$q(val = fn.call(input))) return val;
          throw TypeError("Can't convert object to primitive value");
        };
 
          throw TypeError("Can't convert object to primitive value");
        };
 
+       var requireObjectCoercible$c = requireObjectCoercible$e;
+
        // `ToObject` abstract operation
        // https://tc39.es/ecma262/#sec-toobject
        // `ToObject` abstract operation
        // https://tc39.es/ecma262/#sec-toobject
-       var toObject = function (argument) {
-         return Object(requireObjectCoercible(argument));
+       var toObject$i = function (argument) {
+         return Object(requireObjectCoercible$c(argument));
        };
 
        };
 
+       var toObject$h = toObject$i;
+
        var hasOwnProperty$3 = {}.hasOwnProperty;
 
        var hasOwnProperty$3 = {}.hasOwnProperty;
 
-       var has$1 = Object.hasOwn || function hasOwn(it, key) {
-         return hasOwnProperty$3.call(toObject(it), key);
+       var has$j = Object.hasOwn || function hasOwn(it, key) {
+         return hasOwnProperty$3.call(toObject$h(it), key);
        };
 
        };
 
-       var document$3 = global$2.document;
+       var global$E = global$F;
+       var isObject$p = isObject$r;
+
+       var document$3 = global$E.document;
        // typeof document.createElement is 'object' in old IE
        // typeof document.createElement is 'object' in old IE
-       var EXISTS = isObject$4(document$3) && isObject$4(document$3.createElement);
+       var EXISTS = isObject$p(document$3) && isObject$p(document$3.createElement);
 
 
-       var documentCreateElement = function (it) {
+       var documentCreateElement$1 = function (it) {
          return EXISTS ? document$3.createElement(it) : {};
        };
 
          return EXISTS ? document$3.createElement(it) : {};
        };
 
+       var DESCRIPTORS$m = descriptors;
+       var fails$K = fails$N;
+       var createElement$1 = documentCreateElement$1;
+
        // Thank's IE8 for his funny defineProperty
        // Thank's IE8 for his funny defineProperty
-       var ie8DomDefine = !descriptors && !fails(function () {
+       var ie8DomDefine = !DESCRIPTORS$m && !fails$K(function () {
          // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
          // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
-         return Object.defineProperty(documentCreateElement('div'), 'a', {
+         return Object.defineProperty(createElement$1('div'), 'a', {
            get: function () { return 7; }
          }).a != 7;
        });
 
            get: function () { return 7; }
          }).a != 7;
        });
 
+       var DESCRIPTORS$l = descriptors;
+       var propertyIsEnumerableModule$2 = objectPropertyIsEnumerable;
+       var createPropertyDescriptor$6 = createPropertyDescriptor$7;
+       var toIndexedObject$a = toIndexedObject$b;
+       var toPrimitive$6 = toPrimitive$7;
+       var has$i = has$j;
+       var IE8_DOM_DEFINE$1 = ie8DomDefine;
+
        // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
        var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
 
        // `Object.getOwnPropertyDescriptor` method
        // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
        // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
        var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
 
        // `Object.getOwnPropertyDescriptor` method
        // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
-       var f$6 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
-         O = toIndexedObject(O);
-         P = toPrimitive(P, true);
-         if (ie8DomDefine) try {
+       objectGetOwnPropertyDescriptor.f = DESCRIPTORS$l ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
+         O = toIndexedObject$a(O);
+         P = toPrimitive$6(P, true);
+         if (IE8_DOM_DEFINE$1) try {
            return $getOwnPropertyDescriptor$1(O, P);
          } catch (error) { /* empty */ }
            return $getOwnPropertyDescriptor$1(O, P);
          } catch (error) { /* empty */ }
-         if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
+         if (has$i(O, P)) return createPropertyDescriptor$6(!propertyIsEnumerableModule$2.f.call(O, P), O[P]);
        };
 
        };
 
-       var objectGetOwnPropertyDescriptor = {
-               f: f$6
-       };
+       var objectDefineProperty = {};
 
 
-       var anObject = function (it) {
-         if (!isObject$4(it)) {
+       var isObject$o = isObject$r;
+
+       var anObject$m = function (it) {
+         if (!isObject$o(it)) {
            throw TypeError(String(it) + ' is not an object');
          } return it;
        };
 
            throw TypeError(String(it) + ' is not an object');
          } return it;
        };
 
+       var DESCRIPTORS$k = descriptors;
+       var IE8_DOM_DEFINE = ie8DomDefine;
+       var anObject$l = anObject$m;
+       var toPrimitive$5 = toPrimitive$7;
+
        // eslint-disable-next-line es/no-object-defineproperty -- safe
        var $defineProperty$1 = Object.defineProperty;
 
        // `Object.defineProperty` method
        // https://tc39.es/ecma262/#sec-object.defineproperty
        // eslint-disable-next-line es/no-object-defineproperty -- safe
        var $defineProperty$1 = Object.defineProperty;
 
        // `Object.defineProperty` method
        // https://tc39.es/ecma262/#sec-object.defineproperty
-       var f$5 = descriptors ? $defineProperty$1 : function defineProperty(O, P, Attributes) {
-         anObject(O);
-         P = toPrimitive(P, true);
-         anObject(Attributes);
-         if (ie8DomDefine) try {
+       objectDefineProperty.f = DESCRIPTORS$k ? $defineProperty$1 : function defineProperty(O, P, Attributes) {
+         anObject$l(O);
+         P = toPrimitive$5(P, true);
+         anObject$l(Attributes);
+         if (IE8_DOM_DEFINE) try {
            return $defineProperty$1(O, P, Attributes);
          } catch (error) { /* empty */ }
          if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
            return $defineProperty$1(O, P, Attributes);
          } catch (error) { /* empty */ }
          if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
          return O;
        };
 
          return O;
        };
 
-       var objectDefineProperty = {
-               f: f$5
-       };
+       var DESCRIPTORS$j = descriptors;
+       var definePropertyModule$7 = objectDefineProperty;
+       var createPropertyDescriptor$5 = createPropertyDescriptor$7;
 
 
-       var createNonEnumerableProperty = descriptors ? function (object, key, value) {
-         return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));
+       var createNonEnumerableProperty$e = DESCRIPTORS$j ? function (object, key, value) {
+         return definePropertyModule$7.f(object, key, createPropertyDescriptor$5(1, value));
        } : function (object, key, value) {
          object[key] = value;
          return object;
        };
 
        } : function (object, key, value) {
          object[key] = value;
          return object;
        };
 
-       var setGlobal = function (key, value) {
+       var redefine$g = {exports: {}};
+
+       var global$D = global$F;
+       var createNonEnumerableProperty$d = createNonEnumerableProperty$e;
+
+       var setGlobal$3 = function (key, value) {
          try {
          try {
-           createNonEnumerableProperty(global$2, key, value);
+           createNonEnumerableProperty$d(global$D, key, value);
          } catch (error) {
          } catch (error) {
-           global$2[key] = value;
+           global$D[key] = value;
          } return value;
        };
 
          } return value;
        };
 
+       var global$C = global$F;
+       var setGlobal$2 = setGlobal$3;
+
        var SHARED = '__core-js_shared__';
        var SHARED = '__core-js_shared__';
-       var store$1 = global$2[SHARED] || setGlobal(SHARED, {});
+       var store$4 = global$C[SHARED] || setGlobal$2(SHARED, {});
+
+       var sharedStore = store$4;
 
 
-       var sharedStore = store$1;
+       var store$3 = sharedStore;
 
        var functionToString = Function.toString;
 
        // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
 
        var functionToString = Function.toString;
 
        // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
-       if (typeof sharedStore.inspectSource != 'function') {
-         sharedStore.inspectSource = function (it) {
+       if (typeof store$3.inspectSource != 'function') {
+         store$3.inspectSource = function (it) {
            return functionToString.call(it);
          };
        }
 
            return functionToString.call(it);
          };
        }
 
-       var inspectSource = sharedStore.inspectSource;
+       var inspectSource$3 = store$3.inspectSource;
+
+       var global$B = global$F;
+       var inspectSource$2 = inspectSource$3;
+
+       var WeakMap$1 = global$B.WeakMap;
 
 
-       var WeakMap$1 = global$2.WeakMap;
+       var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource$2(WeakMap$1));
 
 
-       var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
+       var shared$5 = {exports: {}};
 
        var isPure = false;
 
 
        var isPure = false;
 
-       var shared = createCommonjsModule(function (module) {
-       (module.exports = function (key, value) {
-         return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
+       var store$2 = sharedStore;
+
+       (shared$5.exports = function (key, value) {
+         return store$2[key] || (store$2[key] = value !== undefined ? value : {});
        })('versions', []).push({
        })('versions', []).push({
-         version: '3.15.2',
+         version: '3.15.0',
          mode: 'global',
          copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
        });
          mode: 'global',
          copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
        });
-       });
 
 
-       var id$1 = 0;
+       var id$2 = 0;
        var postfix = Math.random();
 
        var postfix = Math.random();
 
-       var uid = function (key) {
-         return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id$1 + postfix).toString(36);
+       var uid$5 = function (key) {
+         return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id$2 + postfix).toString(36);
        };
 
        };
 
-       var keys$3 = shared('keys');
+       var shared$4 = shared$5.exports;
+       var uid$4 = uid$5;
+
+       var keys$3 = shared$4('keys');
 
 
-       var sharedKey = function (key) {
-         return keys$3[key] || (keys$3[key] = uid(key));
+       var sharedKey$4 = function (key) {
+         return keys$3[key] || (keys$3[key] = uid$4(key));
        };
 
        };
 
-       var hiddenKeys$1 = {};
+       var hiddenKeys$6 = {};
+
+       var NATIVE_WEAK_MAP = nativeWeakMap;
+       var global$A = global$F;
+       var isObject$n = isObject$r;
+       var createNonEnumerableProperty$c = createNonEnumerableProperty$e;
+       var objectHas = has$j;
+       var shared$3 = sharedStore;
+       var sharedKey$3 = sharedKey$4;
+       var hiddenKeys$5 = hiddenKeys$6;
 
        var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
 
        var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
-       var WeakMap = global$2.WeakMap;
-       var set$4, get$5, has;
+       var WeakMap = global$A.WeakMap;
+       var set$4, get$5, has$h;
 
        var enforce = function (it) {
 
        var enforce = function (it) {
-         return has(it) ? get$5(it) : set$4(it, {});
+         return has$h(it) ? get$5(it) : set$4(it, {});
        };
 
        var getterFor = function (TYPE) {
          return function (it) {
            var state;
        };
 
        var getterFor = function (TYPE) {
          return function (it) {
            var state;
-           if (!isObject$4(it) || (state = get$5(it)).type !== TYPE) {
+           if (!isObject$n(it) || (state = get$5(it)).type !== TYPE) {
              throw TypeError('Incompatible receiver, ' + TYPE + ' required');
            } return state;
          };
        };
 
              throw TypeError('Incompatible receiver, ' + TYPE + ' required');
            } return state;
          };
        };
 
-       if (nativeWeakMap || sharedStore.state) {
-         var store = sharedStore.state || (sharedStore.state = new WeakMap());
-         var wmget = store.get;
-         var wmhas = store.has;
-         var wmset = store.set;
+       if (NATIVE_WEAK_MAP || shared$3.state) {
+         var store$1 = shared$3.state || (shared$3.state = new WeakMap());
+         var wmget = store$1.get;
+         var wmhas = store$1.has;
+         var wmset = store$1.set;
          set$4 = function (it, metadata) {
          set$4 = function (it, metadata) {
-           if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
+           if (wmhas.call(store$1, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
            metadata.facade = it;
            metadata.facade = it;
-           wmset.call(store, it, metadata);
+           wmset.call(store$1, it, metadata);
            return metadata;
          };
          get$5 = function (it) {
            return metadata;
          };
          get$5 = function (it) {
-           return wmget.call(store, it) || {};
+           return wmget.call(store$1, it) || {};
          };
          };
-         has = function (it) {
-           return wmhas.call(store, it);
+         has$h = function (it) {
+           return wmhas.call(store$1, it);
          };
        } else {
          };
        } else {
-         var STATE = sharedKey('state');
-         hiddenKeys$1[STATE] = true;
+         var STATE = sharedKey$3('state');
+         hiddenKeys$5[STATE] = true;
          set$4 = function (it, metadata) {
          set$4 = function (it, metadata) {
-           if (has$1(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
+           if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
            metadata.facade = it;
            metadata.facade = it;
-           createNonEnumerableProperty(it, STATE, metadata);
+           createNonEnumerableProperty$c(it, STATE, metadata);
            return metadata;
          };
          get$5 = function (it) {
            return metadata;
          };
          get$5 = function (it) {
-           return has$1(it, STATE) ? it[STATE] : {};
+           return objectHas(it, STATE) ? it[STATE] : {};
          };
          };
-         has = function (it) {
-           return has$1(it, STATE);
+         has$h = function (it) {
+           return objectHas(it, STATE);
          };
        }
 
        var internalState = {
          set: set$4,
          get: get$5,
          };
        }
 
        var internalState = {
          set: set$4,
          get: get$5,
-         has: has,
+         has: has$h,
          enforce: enforce,
          getterFor: getterFor
        };
 
          enforce: enforce,
          getterFor: getterFor
        };
 
-       var redefine = createCommonjsModule(function (module) {
-       var getInternalState = internalState.get;
-       var enforceInternalState = internalState.enforce;
+       var global$z = global$F;
+       var createNonEnumerableProperty$b = createNonEnumerableProperty$e;
+       var has$g = has$j;
+       var setGlobal$1 = setGlobal$3;
+       var inspectSource$1 = inspectSource$3;
+       var InternalStateModule$9 = internalState;
+
+       var getInternalState$7 = InternalStateModule$9.get;
+       var enforceInternalState$1 = InternalStateModule$9.enforce;
        var TEMPLATE = String(String).split('String');
 
        var TEMPLATE = String(String).split('String');
 
-       (module.exports = function (O, key, value, options) {
+       (redefine$g.exports = function (O, key, value, options) {
          var unsafe = options ? !!options.unsafe : false;
          var simple = options ? !!options.enumerable : false;
          var noTargetGet = options ? !!options.noTargetGet : false;
          var state;
          if (typeof value == 'function') {
          var unsafe = options ? !!options.unsafe : false;
          var simple = options ? !!options.enumerable : false;
          var noTargetGet = options ? !!options.noTargetGet : false;
          var state;
          if (typeof value == 'function') {
-           if (typeof key == 'string' && !has$1(value, 'name')) {
-             createNonEnumerableProperty(value, 'name', key);
+           if (typeof key == 'string' && !has$g(value, 'name')) {
+             createNonEnumerableProperty$b(value, 'name', key);
            }
            }
-           state = enforceInternalState(value);
+           state = enforceInternalState$1(value);
            if (!state.source) {
              state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
            }
          }
            if (!state.source) {
              state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
            }
          }
-         if (O === global$2) {
+         if (O === global$z) {
            if (simple) O[key] = value;
            if (simple) O[key] = value;
-           else setGlobal(key, value);
+           else setGlobal$1(key, value);
            return;
          } else if (!unsafe) {
            delete O[key];
            return;
          } else if (!unsafe) {
            delete O[key];
            simple = true;
          }
          if (simple) O[key] = value;
            simple = true;
          }
          if (simple) O[key] = value;
-         else createNonEnumerableProperty(O, key, value);
+         else createNonEnumerableProperty$b(O, key, value);
        // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
        })(Function.prototype, 'toString', function toString() {
        // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
        })(Function.prototype, 'toString', function toString() {
-         return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
-       });
+         return typeof this == 'function' && getInternalState$7(this).source || inspectSource$1(this);
        });
 
        });
 
-       var path = global$2;
+       var global$y = global$F;
+
+       var path$2 = global$y;
+
+       var path$1 = path$2;
+       var global$x = global$F;
 
 
-       var aFunction$1 = function (variable) {
+       var aFunction$a = function (variable) {
          return typeof variable == 'function' ? variable : undefined;
        };
 
          return typeof variable == 'function' ? variable : undefined;
        };
 
-       var getBuiltIn = function (namespace, method) {
-         return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global$2[namespace])
-           : path[namespace] && path[namespace][method] || global$2[namespace] && global$2[namespace][method];
+       var getBuiltIn$9 = function (namespace, method) {
+         return arguments.length < 2 ? aFunction$a(path$1[namespace]) || aFunction$a(global$x[namespace])
+           : path$1[namespace] && path$1[namespace][method] || global$x[namespace] && global$x[namespace][method];
        };
 
        };
 
+       var objectGetOwnPropertyNames = {};
+
        var ceil$1 = Math.ceil;
        var floor$7 = Math.floor;
 
        // `ToInteger` abstract operation
        // https://tc39.es/ecma262/#sec-tointeger
        var ceil$1 = Math.ceil;
        var floor$7 = Math.floor;
 
        // `ToInteger` abstract operation
        // https://tc39.es/ecma262/#sec-tointeger
-       var toInteger = function (argument) {
+       var toInteger$b = function (argument) {
          return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$7 : ceil$1)(argument);
        };
 
          return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$7 : ceil$1)(argument);
        };
 
+       var toInteger$a = toInteger$b;
+
        var min$9 = Math.min;
 
        // `ToLength` abstract operation
        // https://tc39.es/ecma262/#sec-tolength
        var min$9 = Math.min;
 
        // `ToLength` abstract operation
        // https://tc39.es/ecma262/#sec-tolength
-       var toLength = function (argument) {
-         return argument > 0 ? min$9(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
+       var toLength$q = function (argument) {
+         return argument > 0 ? min$9(toInteger$a(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
        };
 
        };
 
+       var toInteger$9 = toInteger$b;
+
        var max$4 = Math.max;
        var min$8 = Math.min;
 
        // Helper for a popular repeating case of the spec:
        // Let integer be ? ToInteger(index).
        // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
        var max$4 = Math.max;
        var min$8 = Math.min;
 
        // Helper for a popular repeating case of the spec:
        // Let integer be ? ToInteger(index).
        // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
-       var toAbsoluteIndex = function (index, length) {
-         var integer = toInteger(index);
+       var toAbsoluteIndex$8 = function (index, length) {
+         var integer = toInteger$9(index);
          return integer < 0 ? max$4(integer + length, 0) : min$8(integer, length);
        };
 
          return integer < 0 ? max$4(integer + length, 0) : min$8(integer, length);
        };
 
+       var toIndexedObject$9 = toIndexedObject$b;
+       var toLength$p = toLength$q;
+       var toAbsoluteIndex$7 = toAbsoluteIndex$8;
+
        // `Array.prototype.{ indexOf, includes }` methods implementation
        var createMethod$6 = function (IS_INCLUDES) {
          return function ($this, el, fromIndex) {
        // `Array.prototype.{ indexOf, includes }` methods implementation
        var createMethod$6 = function (IS_INCLUDES) {
          return function ($this, el, fromIndex) {
-           var O = toIndexedObject($this);
-           var length = toLength(O.length);
-           var index = toAbsoluteIndex(fromIndex, length);
+           var O = toIndexedObject$9($this);
+           var length = toLength$p(O.length);
+           var index = toAbsoluteIndex$7(fromIndex, length);
            var value;
            // Array#includes uses SameValueZero equality algorithm
            // eslint-disable-next-line no-self-compare -- NaN check
            var value;
            // Array#includes uses SameValueZero equality algorithm
            // eslint-disable-next-line no-self-compare -- NaN check
          indexOf: createMethod$6(false)
        };
 
          indexOf: createMethod$6(false)
        };
 
+       var has$f = has$j;
+       var toIndexedObject$8 = toIndexedObject$b;
        var indexOf = arrayIncludes.indexOf;
        var indexOf = arrayIncludes.indexOf;
-
+       var hiddenKeys$4 = hiddenKeys$6;
 
        var objectKeysInternal = function (object, names) {
 
        var objectKeysInternal = function (object, names) {
-         var O = toIndexedObject(object);
+         var O = toIndexedObject$8(object);
          var i = 0;
          var result = [];
          var key;
          var i = 0;
          var result = [];
          var key;
-         for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
+         for (key in O) !has$f(hiddenKeys$4, key) && has$f(O, key) && result.push(key);
          // Don't enum bug & hidden keys
          // Don't enum bug & hidden keys
-         while (names.length > i) if (has$1(O, key = names[i++])) {
+         while (names.length > i) if (has$f(O, key = names[i++])) {
            ~indexOf(result, key) || result.push(key);
          }
          return result;
        };
 
        // IE8- don't enum bug keys
            ~indexOf(result, key) || result.push(key);
          }
          return result;
        };
 
        // IE8- don't enum bug keys
-       var enumBugKeys = [
+       var enumBugKeys$3 = [
          'constructor',
          'hasOwnProperty',
          'isPrototypeOf',
          'constructor',
          'hasOwnProperty',
          'isPrototypeOf',
          'valueOf'
        ];
 
          'valueOf'
        ];
 
-       var hiddenKeys = enumBugKeys.concat('length', 'prototype');
+       var internalObjectKeys$1 = objectKeysInternal;
+       var enumBugKeys$2 = enumBugKeys$3;
+
+       var hiddenKeys$3 = enumBugKeys$2.concat('length', 'prototype');
 
        // `Object.getOwnPropertyNames` method
        // https://tc39.es/ecma262/#sec-object.getownpropertynames
        // eslint-disable-next-line es/no-object-getownpropertynames -- safe
 
        // `Object.getOwnPropertyNames` method
        // https://tc39.es/ecma262/#sec-object.getownpropertynames
        // eslint-disable-next-line es/no-object-getownpropertynames -- safe
-       var f$4 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
-         return objectKeysInternal(O, hiddenKeys);
+       objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
+         return internalObjectKeys$1(O, hiddenKeys$3);
        };
 
        };
 
-       var objectGetOwnPropertyNames = {
-               f: f$4
-       };
+       var objectGetOwnPropertySymbols = {};
 
        // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
 
        // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
-       var f$3 = Object.getOwnPropertySymbols;
+       objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
 
 
-       var objectGetOwnPropertySymbols = {
-               f: f$3
-       };
+       var getBuiltIn$8 = getBuiltIn$9;
+       var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
+       var getOwnPropertySymbolsModule$2 = objectGetOwnPropertySymbols;
+       var anObject$k = anObject$m;
 
        // all object keys, includes non-enumerable and symbols
 
        // all object keys, includes non-enumerable and symbols
-       var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
-         var keys = objectGetOwnPropertyNames.f(anObject(it));
-         var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
+       var ownKeys$1 = getBuiltIn$8('Reflect', 'ownKeys') || function ownKeys(it) {
+         var keys = getOwnPropertyNamesModule$1.f(anObject$k(it));
+         var getOwnPropertySymbols = getOwnPropertySymbolsModule$2.f;
          return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
        };
 
          return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
        };
 
-       var copyConstructorProperties = function (target, source) {
+       var has$e = has$j;
+       var ownKeys = ownKeys$1;
+       var getOwnPropertyDescriptorModule$3 = objectGetOwnPropertyDescriptor;
+       var definePropertyModule$6 = objectDefineProperty;
+
+       var copyConstructorProperties$2 = function (target, source) {
          var keys = ownKeys(source);
          var keys = ownKeys(source);
-         var defineProperty = objectDefineProperty.f;
-         var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
+         var defineProperty = definePropertyModule$6.f;
+         var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule$3.f;
          for (var i = 0; i < keys.length; i++) {
            var key = keys[i];
          for (var i = 0; i < keys.length; i++) {
            var key = keys[i];
-           if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
+           if (!has$e(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
          }
        };
 
          }
        };
 
+       var fails$J = fails$N;
+
        var replacement = /#|\.prototype\./;
 
        var replacement = /#|\.prototype\./;
 
-       var isForced = function (feature, detection) {
+       var isForced$5 = function (feature, detection) {
          var value = data[normalize$1(feature)];
          return value == POLYFILL ? true
            : value == NATIVE ? false
          var value = data[normalize$1(feature)];
          return value == POLYFILL ? true
            : value == NATIVE ? false
-           : typeof detection == 'function' ? fails(detection)
+           : typeof detection == 'function' ? fails$J(detection)
            : !!detection;
        };
 
            : !!detection;
        };
 
-       var normalize$1 = isForced.normalize = function (string) {
+       var normalize$1 = isForced$5.normalize = function (string) {
          return String(string).replace(replacement, '.').toLowerCase();
        };
 
          return String(string).replace(replacement, '.').toLowerCase();
        };
 
-       var data = isForced.data = {};
-       var NATIVE = isForced.NATIVE = 'N';
-       var POLYFILL = isForced.POLYFILL = 'P';
+       var data = isForced$5.data = {};
+       var NATIVE = isForced$5.NATIVE = 'N';
+       var POLYFILL = isForced$5.POLYFILL = 'P';
 
 
-       var isForced_1 = isForced;
+       var isForced_1 = isForced$5;
 
 
+       var global$w = global$F;
        var getOwnPropertyDescriptor$4 = objectGetOwnPropertyDescriptor.f;
        var getOwnPropertyDescriptor$4 = objectGetOwnPropertyDescriptor.f;
-
-
-
-
-
+       var createNonEnumerableProperty$a = createNonEnumerableProperty$e;
+       var redefine$f = redefine$g.exports;
+       var setGlobal = setGlobal$3;
+       var copyConstructorProperties$1 = copyConstructorProperties$2;
+       var isForced$4 = isForced_1;
 
        /*
          options.target      - name of the target object
 
        /*
          options.target      - name of the target object
          var STATIC = options.stat;
          var FORCED, target, key, targetProperty, sourceProperty, descriptor;
          if (GLOBAL) {
          var STATIC = options.stat;
          var FORCED, target, key, targetProperty, sourceProperty, descriptor;
          if (GLOBAL) {
-           target = global$2;
+           target = global$w;
          } else if (STATIC) {
          } else if (STATIC) {
-           target = global$2[TARGET] || setGlobal(TARGET, {});
+           target = global$w[TARGET] || setGlobal(TARGET, {});
          } else {
          } else {
-           target = (global$2[TARGET] || {}).prototype;
+           target = (global$w[TARGET] || {}).prototype;
          }
          if (target) for (key in source) {
            sourceProperty = source[key];
          }
          if (target) for (key in source) {
            sourceProperty = source[key];
              descriptor = getOwnPropertyDescriptor$4(target, key);
              targetProperty = descriptor && descriptor.value;
            } else targetProperty = target[key];
              descriptor = getOwnPropertyDescriptor$4(target, key);
              targetProperty = descriptor && descriptor.value;
            } else targetProperty = target[key];
-           FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
+           FORCED = isForced$4(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
            // contained in target
            if (!FORCED && targetProperty !== undefined) {
              if (typeof sourceProperty === typeof targetProperty) continue;
            // contained in target
            if (!FORCED && targetProperty !== undefined) {
              if (typeof sourceProperty === typeof targetProperty) continue;
-             copyConstructorProperties(sourceProperty, targetProperty);
+             copyConstructorProperties$1(sourceProperty, targetProperty);
            }
            // add a flag to not completely full polyfills
            if (options.sham || (targetProperty && targetProperty.sham)) {
            }
            // add a flag to not completely full polyfills
            if (options.sham || (targetProperty && targetProperty.sham)) {
-             createNonEnumerableProperty(sourceProperty, 'sham', true);
+             createNonEnumerableProperty$a(sourceProperty, 'sham', true);
            }
            // extend global
            }
            // extend global
-           redefine(target, key, sourceProperty, options);
+           redefine$f(target, key, sourceProperty, options);
          }
        };
 
          }
        };
 
+       var $$16 = _export;
+
        // `Date.now` method
        // https://tc39.es/ecma262/#sec-date.now
        // `Date.now` method
        // https://tc39.es/ecma262/#sec-date.now
-       _export({ target: 'Date', stat: true }, {
+       $$16({ target: 'Date', stat: true }, {
          now: function now() {
            return new Date().getTime();
          }
        });
 
          now: function now() {
            return new Date().getTime();
          }
        });
 
+       var redefine$e = redefine$g.exports;
+
        var DatePrototype$1 = Date.prototype;
        var INVALID_DATE = 'Invalid Date';
        var TO_STRING$1 = 'toString';
        var DatePrototype$1 = Date.prototype;
        var INVALID_DATE = 'Invalid Date';
        var TO_STRING$1 = 'toString';
        // `Date.prototype.toString` method
        // https://tc39.es/ecma262/#sec-date.prototype.tostring
        if (new Date(NaN) + '' != INVALID_DATE) {
        // `Date.prototype.toString` method
        // https://tc39.es/ecma262/#sec-date.prototype.tostring
        if (new Date(NaN) + '' != INVALID_DATE) {
-         redefine(DatePrototype$1, TO_STRING$1, function toString() {
+         redefine$e(DatePrototype$1, TO_STRING$1, function toString() {
            var value = getTime$1.call(this);
            // eslint-disable-next-line no-self-compare -- NaN check
            return value === value ? nativeDateToString.call(this) : INVALID_DATE;
            var value = getTime$1.call(this);
            // eslint-disable-next-line no-self-compare -- NaN check
            return value === value ? nativeDateToString.call(this) : INVALID_DATE;
          };
        }
 
          };
        }
 
-       var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
+       var wellKnownSymbolWrapped = {};
+
+       var getBuiltIn$7 = getBuiltIn$9;
+
+       var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
 
 
-       var process$4 = global$2.process;
+       var global$v = global$F;
+       var userAgent$5 = engineUserAgent;
+
+       var process$4 = global$v.process;
        var versions = process$4 && process$4.versions;
        var v8 = versions && versions.v8;
        var match, version$1;
        var versions = process$4 && process$4.versions;
        var v8 = versions && versions.v8;
        var match, version$1;
        if (v8) {
          match = v8.split('.');
          version$1 = match[0] < 4 ? 1 : match[0] + match[1];
        if (v8) {
          match = v8.split('.');
          version$1 = match[0] < 4 ? 1 : match[0] + match[1];
-       } else if (engineUserAgent) {
-         match = engineUserAgent.match(/Edge\/(\d+)/);
+       } else if (userAgent$5) {
+         match = userAgent$5.match(/Edge\/(\d+)/);
          if (!match || match[1] >= 74) {
          if (!match || match[1] >= 74) {
-           match = engineUserAgent.match(/Chrome\/(\d+)/);
+           match = userAgent$5.match(/Chrome\/(\d+)/);
            if (match) version$1 = match[1];
          }
        }
            if (match) version$1 = match[1];
          }
        }
 
        /* eslint-disable es/no-symbol -- required for testing */
 
 
        /* eslint-disable es/no-symbol -- required for testing */
 
+       var V8_VERSION$3 = engineV8Version;
+       var fails$I = fails$N;
+
        // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
        // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
-       var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
+       var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$I(function () {
          var symbol = Symbol();
          // Chrome 38 Symbol has incorrect toString conversion
          // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
          return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
            // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
          var symbol = Symbol();
          // Chrome 38 Symbol has incorrect toString conversion
          // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
          return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
            // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
-           !Symbol.sham && engineV8Version && engineV8Version < 41;
+           !Symbol.sham && V8_VERSION$3 && V8_VERSION$3 < 41;
        });
 
        /* eslint-disable es/no-symbol -- required for testing */
 
        });
 
        /* eslint-disable es/no-symbol -- required for testing */
 
-       var useSymbolAsUid = nativeSymbol
+       var NATIVE_SYMBOL$2 = nativeSymbol;
+
+       var useSymbolAsUid = NATIVE_SYMBOL$2
          && !Symbol.sham
          && typeof Symbol.iterator == 'symbol';
 
          && !Symbol.sham
          && typeof Symbol.iterator == 'symbol';
 
-       var WellKnownSymbolsStore$1 = shared('wks');
-       var Symbol$1 = global$2.Symbol;
-       var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
+       var global$u = global$F;
+       var shared$2 = shared$5.exports;
+       var has$d = has$j;
+       var uid$3 = uid$5;
+       var NATIVE_SYMBOL$1 = nativeSymbol;
+       var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
+
+       var WellKnownSymbolsStore$1 = shared$2('wks');
+       var Symbol$1 = global$u.Symbol;
+       var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$3;
 
 
-       var wellKnownSymbol = function (name) {
-         if (!has$1(WellKnownSymbolsStore$1, name) || !(nativeSymbol || typeof WellKnownSymbolsStore$1[name] == 'string')) {
-           if (nativeSymbol && has$1(Symbol$1, name)) {
+       var wellKnownSymbol$s = function (name) {
+         if (!has$d(WellKnownSymbolsStore$1, name) || !(NATIVE_SYMBOL$1 || typeof WellKnownSymbolsStore$1[name] == 'string')) {
+           if (NATIVE_SYMBOL$1 && has$d(Symbol$1, name)) {
              WellKnownSymbolsStore$1[name] = Symbol$1[name];
            } else {
              WellKnownSymbolsStore$1[name] = createWellKnownSymbol('Symbol.' + name);
              WellKnownSymbolsStore$1[name] = Symbol$1[name];
            } else {
              WellKnownSymbolsStore$1[name] = createWellKnownSymbol('Symbol.' + name);
          } return WellKnownSymbolsStore$1[name];
        };
 
          } return WellKnownSymbolsStore$1[name];
        };
 
-       var f$2 = wellKnownSymbol;
+       var wellKnownSymbol$r = wellKnownSymbol$s;
 
 
-       var wellKnownSymbolWrapped = {
-               f: f$2
-       };
+       wellKnownSymbolWrapped.f = wellKnownSymbol$r;
 
 
-       var defineProperty$9 = objectDefineProperty.f;
+       var path = path$2;
+       var has$c = has$j;
+       var wrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
+       var defineProperty$a = objectDefineProperty.f;
 
 
-       var defineWellKnownSymbol = function (NAME) {
+       var defineWellKnownSymbol$4 = function (NAME) {
          var Symbol = path.Symbol || (path.Symbol = {});
          var Symbol = path.Symbol || (path.Symbol = {});
-         if (!has$1(Symbol, NAME)) defineProperty$9(Symbol, NAME, {
-           value: wellKnownSymbolWrapped.f(NAME)
+         if (!has$c(Symbol, NAME)) defineProperty$a(Symbol, NAME, {
+           value: wrappedWellKnownSymbolModule$1.f(NAME)
          });
        };
 
          });
        };
 
+       var defineWellKnownSymbol$3 = defineWellKnownSymbol$4;
+
        // `Symbol.iterator` well-known symbol
        // https://tc39.es/ecma262/#sec-symbol.iterator
        // `Symbol.iterator` well-known symbol
        // https://tc39.es/ecma262/#sec-symbol.iterator
-       defineWellKnownSymbol('iterator');
+       defineWellKnownSymbol$3('iterator');
+
+       var internalObjectKeys = objectKeysInternal;
+       var enumBugKeys$1 = enumBugKeys$3;
 
        // `Object.keys` method
        // https://tc39.es/ecma262/#sec-object.keys
        // eslint-disable-next-line es/no-object-keys -- safe
 
        // `Object.keys` method
        // https://tc39.es/ecma262/#sec-object.keys
        // eslint-disable-next-line es/no-object-keys -- safe
-       var objectKeys = Object.keys || function keys(O) {
-         return objectKeysInternal(O, enumBugKeys);
+       var objectKeys$4 = Object.keys || function keys(O) {
+         return internalObjectKeys(O, enumBugKeys$1);
        };
 
        };
 
+       var DESCRIPTORS$i = descriptors;
+       var definePropertyModule$5 = objectDefineProperty;
+       var anObject$j = anObject$m;
+       var objectKeys$3 = objectKeys$4;
+
        // `Object.defineProperties` method
        // https://tc39.es/ecma262/#sec-object.defineproperties
        // eslint-disable-next-line es/no-object-defineproperties -- safe
        // `Object.defineProperties` method
        // https://tc39.es/ecma262/#sec-object.defineproperties
        // eslint-disable-next-line es/no-object-defineproperties -- safe
-       var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
-         anObject(O);
-         var keys = objectKeys(Properties);
+       var objectDefineProperties = DESCRIPTORS$i ? Object.defineProperties : function defineProperties(O, Properties) {
+         anObject$j(O);
+         var keys = objectKeys$3(Properties);
          var length = keys.length;
          var index = 0;
          var key;
          var length = keys.length;
          var index = 0;
          var key;
-         while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
+         while (length > index) definePropertyModule$5.f(O, key = keys[index++], Properties[key]);
          return O;
        };
 
          return O;
        };
 
-       var html = getBuiltIn('document', 'documentElement');
+       var getBuiltIn$6 = getBuiltIn$9;
+
+       var html$2 = getBuiltIn$6('document', 'documentElement');
+
+       var anObject$i = anObject$m;
+       var defineProperties$2 = objectDefineProperties;
+       var enumBugKeys = enumBugKeys$3;
+       var hiddenKeys$2 = hiddenKeys$6;
+       var html$1 = html$2;
+       var documentCreateElement = documentCreateElement$1;
+       var sharedKey$2 = sharedKey$4;
 
        var GT = '>';
        var LT = '<';
        var PROTOTYPE$2 = 'prototype';
        var SCRIPT = 'script';
 
        var GT = '>';
        var LT = '<';
        var PROTOTYPE$2 = 'prototype';
        var SCRIPT = 'script';
-       var IE_PROTO$1 = sharedKey('IE_PROTO');
+       var IE_PROTO$1 = sharedKey$2('IE_PROTO');
 
        var EmptyConstructor = function () { /* empty */ };
 
 
        var EmptyConstructor = function () { /* empty */ };
 
          var JS = 'java' + SCRIPT + ':';
          var iframeDocument;
          iframe.style.display = 'none';
          var JS = 'java' + SCRIPT + ':';
          var iframeDocument;
          iframe.style.display = 'none';
-         html.appendChild(iframe);
+         html$1.appendChild(iframe);
          // https://github.com/zloirock/core-js/issues/475
          iframe.src = String(JS);
          iframeDocument = iframe.contentWindow.document;
          // https://github.com/zloirock/core-js/issues/475
          iframe.src = String(JS);
          iframeDocument = iframe.contentWindow.document;
          return NullProtoObject();
        };
 
          return NullProtoObject();
        };
 
-       hiddenKeys$1[IE_PROTO$1] = true;
+       hiddenKeys$2[IE_PROTO$1] = true;
 
        // `Object.create` method
        // https://tc39.es/ecma262/#sec-object.create
        var objectCreate = Object.create || function create(O, Properties) {
          var result;
          if (O !== null) {
 
        // `Object.create` method
        // https://tc39.es/ecma262/#sec-object.create
        var objectCreate = Object.create || function create(O, Properties) {
          var result;
          if (O !== null) {
-           EmptyConstructor[PROTOTYPE$2] = anObject(O);
+           EmptyConstructor[PROTOTYPE$2] = anObject$i(O);
            result = new EmptyConstructor();
            EmptyConstructor[PROTOTYPE$2] = null;
            // add "__proto__" for Object.getPrototypeOf polyfill
            result[IE_PROTO$1] = O;
          } else result = NullProtoObject();
            result = new EmptyConstructor();
            EmptyConstructor[PROTOTYPE$2] = null;
            // add "__proto__" for Object.getPrototypeOf polyfill
            result[IE_PROTO$1] = O;
          } else result = NullProtoObject();
-         return Properties === undefined ? result : objectDefineProperties(result, Properties);
+         return Properties === undefined ? result : defineProperties$2(result, Properties);
        };
 
        };
 
-       var UNSCOPABLES = wellKnownSymbol('unscopables');
+       var wellKnownSymbol$q = wellKnownSymbol$s;
+       var create$b = objectCreate;
+       var definePropertyModule$4 = objectDefineProperty;
+
+       var UNSCOPABLES = wellKnownSymbol$q('unscopables');
        var ArrayPrototype$1 = Array.prototype;
 
        // Array.prototype[@@unscopables]
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
        if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
        var ArrayPrototype$1 = Array.prototype;
 
        // Array.prototype[@@unscopables]
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
        if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
-         objectDefineProperty.f(ArrayPrototype$1, UNSCOPABLES, {
+         definePropertyModule$4.f(ArrayPrototype$1, UNSCOPABLES, {
            configurable: true,
            configurable: true,
-           value: objectCreate(null)
+           value: create$b(null)
          });
        }
 
        // add a key to Array.prototype[@@unscopables]
          });
        }
 
        // add a key to Array.prototype[@@unscopables]
-       var addToUnscopables = function (key) {
+       var addToUnscopables$5 = function (key) {
          ArrayPrototype$1[UNSCOPABLES][key] = true;
        };
 
        var iterators = {};
 
          ArrayPrototype$1[UNSCOPABLES][key] = true;
        };
 
        var iterators = {};
 
-       var correctPrototypeGetter = !fails(function () {
+       var fails$H = fails$N;
+
+       var correctPrototypeGetter = !fails$H(function () {
          function F() { /* empty */ }
          F.prototype.constructor = null;
          // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
          return Object.getPrototypeOf(new F()) !== F.prototype;
        });
 
          function F() { /* empty */ }
          F.prototype.constructor = null;
          // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
          return Object.getPrototypeOf(new F()) !== F.prototype;
        });
 
-       var IE_PROTO = sharedKey('IE_PROTO');
+       var has$b = has$j;
+       var toObject$g = toObject$i;
+       var sharedKey$1 = sharedKey$4;
+       var CORRECT_PROTOTYPE_GETTER$1 = correctPrototypeGetter;
+
+       var IE_PROTO = sharedKey$1('IE_PROTO');
        var ObjectPrototype$3 = Object.prototype;
 
        // `Object.getPrototypeOf` method
        // https://tc39.es/ecma262/#sec-object.getprototypeof
        // eslint-disable-next-line es/no-object-getprototypeof -- safe
        var ObjectPrototype$3 = Object.prototype;
 
        // `Object.getPrototypeOf` method
        // https://tc39.es/ecma262/#sec-object.getprototypeof
        // eslint-disable-next-line es/no-object-getprototypeof -- safe
-       var objectGetPrototypeOf = correctPrototypeGetter ? Object.getPrototypeOf : function (O) {
-         O = toObject(O);
-         if (has$1(O, IE_PROTO)) return O[IE_PROTO];
+       var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER$1 ? Object.getPrototypeOf : function (O) {
+         O = toObject$g(O);
+         if (has$b(O, IE_PROTO)) return O[IE_PROTO];
          if (typeof O.constructor == 'function' && O instanceof O.constructor) {
            return O.constructor.prototype;
          } return O instanceof Object ? ObjectPrototype$3 : null;
        };
 
          if (typeof O.constructor == 'function' && O instanceof O.constructor) {
            return O.constructor.prototype;
          } return O instanceof Object ? ObjectPrototype$3 : null;
        };
 
-       var ITERATOR$8 = wellKnownSymbol('iterator');
+       var fails$G = fails$N;
+       var getPrototypeOf$4 = objectGetPrototypeOf;
+       var createNonEnumerableProperty$9 = createNonEnumerableProperty$e;
+       var has$a = has$j;
+       var wellKnownSymbol$p = wellKnownSymbol$s;
+
+       var ITERATOR$8 = wellKnownSymbol$p('iterator');
        var BUGGY_SAFARI_ITERATORS$1 = false;
 
        var returnThis$2 = function () { return this; };
        var BUGGY_SAFARI_ITERATORS$1 = false;
 
        var returnThis$2 = function () { return this; };
          // Safari 8 has buggy iterators w/o `next`
          if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
          else {
          // Safari 8 has buggy iterators w/o `next`
          if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
          else {
-           PrototypeOfArrayIteratorPrototype = objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator));
+           PrototypeOfArrayIteratorPrototype = getPrototypeOf$4(getPrototypeOf$4(arrayIterator));
            if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
          }
        }
 
            if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
          }
        }
 
-       var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails(function () {
+       var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$G(function () {
          var test = {};
          // FF44- legacy iterators case
          return IteratorPrototype$2[ITERATOR$8].call(test) !== test;
          var test = {};
          // FF44- legacy iterators case
          return IteratorPrototype$2[ITERATOR$8].call(test) !== test;
 
        // `%IteratorPrototype%[@@iterator]()` method
        // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
 
        // `%IteratorPrototype%[@@iterator]()` method
        // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
-       if (!has$1(IteratorPrototype$2, ITERATOR$8)) {
-         createNonEnumerableProperty(IteratorPrototype$2, ITERATOR$8, returnThis$2);
+       if (!has$a(IteratorPrototype$2, ITERATOR$8)) {
+         createNonEnumerableProperty$9(IteratorPrototype$2, ITERATOR$8, returnThis$2);
        }
 
        var iteratorsCore = {
        }
 
        var iteratorsCore = {
          BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
        };
 
          BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
        };
 
-       var defineProperty$8 = objectDefineProperty.f;
-
-
+       var defineProperty$9 = objectDefineProperty.f;
+       var has$9 = has$j;
+       var wellKnownSymbol$o = wellKnownSymbol$s;
 
 
-       var TO_STRING_TAG$4 = wellKnownSymbol('toStringTag');
+       var TO_STRING_TAG$4 = wellKnownSymbol$o('toStringTag');
 
 
-       var setToStringTag = function (it, TAG, STATIC) {
-         if (it && !has$1(it = STATIC ? it : it.prototype, TO_STRING_TAG$4)) {
-           defineProperty$8(it, TO_STRING_TAG$4, { configurable: true, value: TAG });
+       var setToStringTag$a = function (it, TAG, STATIC) {
+         if (it && !has$9(it = STATIC ? it : it.prototype, TO_STRING_TAG$4)) {
+           defineProperty$9(it, TO_STRING_TAG$4, { configurable: true, value: TAG });
          }
        };
 
        var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
          }
        };
 
        var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
-
-
-
-
+       var create$a = objectCreate;
+       var createPropertyDescriptor$4 = createPropertyDescriptor$7;
+       var setToStringTag$9 = setToStringTag$a;
+       var Iterators$4 = iterators;
 
        var returnThis$1 = function () { return this; };
 
 
        var returnThis$1 = function () { return this; };
 
-       var createIteratorConstructor = function (IteratorConstructor, NAME, next) {
+       var createIteratorConstructor$2 = function (IteratorConstructor, NAME, next) {
          var TO_STRING_TAG = NAME + ' Iterator';
          var TO_STRING_TAG = NAME + ' Iterator';
-         IteratorConstructor.prototype = objectCreate(IteratorPrototype$1, { next: createPropertyDescriptor(1, next) });
-         setToStringTag(IteratorConstructor, TO_STRING_TAG, false);
-         iterators[TO_STRING_TAG] = returnThis$1;
+         IteratorConstructor.prototype = create$a(IteratorPrototype$1, { next: createPropertyDescriptor$4(1, next) });
+         setToStringTag$9(IteratorConstructor, TO_STRING_TAG, false);
+         Iterators$4[TO_STRING_TAG] = returnThis$1;
          return IteratorConstructor;
        };
 
          return IteratorConstructor;
        };
 
-       var aPossiblePrototype = function (it) {
-         if (!isObject$4(it) && it !== null) {
+       var isObject$m = isObject$r;
+
+       var aPossiblePrototype$1 = function (it) {
+         if (!isObject$m(it) && it !== null) {
            throw TypeError("Can't set " + String(it) + ' as a prototype');
          } return it;
        };
 
        /* eslint-disable no-proto -- safe */
 
            throw TypeError("Can't set " + String(it) + ' as a prototype');
          } return it;
        };
 
        /* eslint-disable no-proto -- safe */
 
+       var anObject$h = anObject$m;
+       var aPossiblePrototype = aPossiblePrototype$1;
+
        // `Object.setPrototypeOf` method
        // https://tc39.es/ecma262/#sec-object.setprototypeof
        // Works with __proto__ only. Old v8 can't work with null proto objects.
        // `Object.setPrototypeOf` method
        // https://tc39.es/ecma262/#sec-object.setprototypeof
        // Works with __proto__ only. Old v8 can't work with null proto objects.
            CORRECT_SETTER = test instanceof Array;
          } catch (error) { /* empty */ }
          return function setPrototypeOf(O, proto) {
            CORRECT_SETTER = test instanceof Array;
          } catch (error) { /* empty */ }
          return function setPrototypeOf(O, proto) {
-           anObject(O);
+           anObject$h(O);
            aPossiblePrototype(proto);
            if (CORRECT_SETTER) setter.call(O, proto);
            else O.__proto__ = proto;
            aPossiblePrototype(proto);
            if (CORRECT_SETTER) setter.call(O, proto);
            else O.__proto__ = proto;
          };
        }() : undefined);
 
          };
        }() : undefined);
 
-       var IteratorPrototype = iteratorsCore.IteratorPrototype;
-       var BUGGY_SAFARI_ITERATORS = iteratorsCore.BUGGY_SAFARI_ITERATORS;
-       var ITERATOR$7 = wellKnownSymbol('iterator');
+       var $$15 = _export;
+       var createIteratorConstructor$1 = createIteratorConstructor$2;
+       var getPrototypeOf$3 = objectGetPrototypeOf;
+       var setPrototypeOf$6 = objectSetPrototypeOf;
+       var setToStringTag$8 = setToStringTag$a;
+       var createNonEnumerableProperty$8 = createNonEnumerableProperty$e;
+       var redefine$d = redefine$g.exports;
+       var wellKnownSymbol$n = wellKnownSymbol$s;
+       var Iterators$3 = iterators;
+       var IteratorsCore = iteratorsCore;
+
+       var IteratorPrototype = IteratorsCore.IteratorPrototype;
+       var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
+       var ITERATOR$7 = wellKnownSymbol$n('iterator');
        var KEYS = 'keys';
        var VALUES = 'values';
        var ENTRIES = 'entries';
 
        var returnThis = function () { return this; };
 
        var KEYS = 'keys';
        var VALUES = 'values';
        var ENTRIES = 'entries';
 
        var returnThis = function () { return this; };
 
-       var defineIterator = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
-         createIteratorConstructor(IteratorConstructor, NAME, next);
+       var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
+         createIteratorConstructor$1(IteratorConstructor, NAME, next);
 
          var getIterationMethod = function (KIND) {
            if (KIND === DEFAULT && defaultIterator) return defaultIterator;
 
          var getIterationMethod = function (KIND) {
            if (KIND === DEFAULT && defaultIterator) return defaultIterator;
 
          // fix native
          if (anyNativeIterator) {
 
          // fix native
          if (anyNativeIterator) {
-           CurrentIteratorPrototype = objectGetPrototypeOf(anyNativeIterator.call(new Iterable()));
+           CurrentIteratorPrototype = getPrototypeOf$3(anyNativeIterator.call(new Iterable()));
            if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
            if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
-             if (objectGetPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
-               if (objectSetPrototypeOf) {
-                 objectSetPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
+             if (getPrototypeOf$3(CurrentIteratorPrototype) !== IteratorPrototype) {
+               if (setPrototypeOf$6) {
+                 setPrototypeOf$6(CurrentIteratorPrototype, IteratorPrototype);
                } else if (typeof CurrentIteratorPrototype[ITERATOR$7] != 'function') {
                } else if (typeof CurrentIteratorPrototype[ITERATOR$7] != 'function') {
-                 createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR$7, returnThis);
+                 createNonEnumerableProperty$8(CurrentIteratorPrototype, ITERATOR$7, returnThis);
                }
              }
              // Set @@toStringTag to native iterators
                }
              }
              // Set @@toStringTag to native iterators
-             setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
+             setToStringTag$8(CurrentIteratorPrototype, TO_STRING_TAG, true);
            }
          }
 
            }
          }
 
 
          // define iterator
          if (IterablePrototype[ITERATOR$7] !== defaultIterator) {
 
          // define iterator
          if (IterablePrototype[ITERATOR$7] !== defaultIterator) {
-           createNonEnumerableProperty(IterablePrototype, ITERATOR$7, defaultIterator);
+           createNonEnumerableProperty$8(IterablePrototype, ITERATOR$7, defaultIterator);
          }
          }
-         iterators[NAME] = defaultIterator;
+         Iterators$3[NAME] = defaultIterator;
 
          // export additional methods
          if (DEFAULT) {
 
          // export additional methods
          if (DEFAULT) {
            };
            if (FORCED) for (KEY in methods) {
              if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
            };
            if (FORCED) for (KEY in methods) {
              if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
-               redefine(IterablePrototype, KEY, methods[KEY]);
+               redefine$d(IterablePrototype, KEY, methods[KEY]);
              }
              }
-           } else _export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
+           } else $$15({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
          }
 
          return methods;
        };
 
          }
 
          return methods;
        };
 
+       var toIndexedObject$7 = toIndexedObject$b;
+       var addToUnscopables$4 = addToUnscopables$5;
+       var Iterators$2 = iterators;
+       var InternalStateModule$8 = internalState;
+       var defineIterator$2 = defineIterator$3;
+
        var ARRAY_ITERATOR = 'Array Iterator';
        var ARRAY_ITERATOR = 'Array Iterator';
-       var setInternalState$7 = internalState.set;
-       var getInternalState$5 = internalState.getterFor(ARRAY_ITERATOR);
+       var setInternalState$8 = InternalStateModule$8.set;
+       var getInternalState$6 = InternalStateModule$8.getterFor(ARRAY_ITERATOR);
 
        // `Array.prototype.entries` method
        // https://tc39.es/ecma262/#sec-array.prototype.entries
 
        // `Array.prototype.entries` method
        // https://tc39.es/ecma262/#sec-array.prototype.entries
        // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
        // `CreateArrayIterator` internal method
        // https://tc39.es/ecma262/#sec-createarrayiterator
        // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
        // `CreateArrayIterator` internal method
        // https://tc39.es/ecma262/#sec-createarrayiterator
-       var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
-         setInternalState$7(this, {
+       var es_array_iterator = defineIterator$2(Array, 'Array', function (iterated, kind) {
+         setInternalState$8(this, {
            type: ARRAY_ITERATOR,
            type: ARRAY_ITERATOR,
-           target: toIndexedObject(iterated), // target
+           target: toIndexedObject$7(iterated), // target
            index: 0,                          // next index
            kind: kind                         // kind
          });
        // `%ArrayIteratorPrototype%.next` method
        // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
        }, function () {
            index: 0,                          // next index
            kind: kind                         // kind
          });
        // `%ArrayIteratorPrototype%.next` method
        // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
        }, function () {
-         var state = getInternalState$5(this);
+         var state = getInternalState$6(this);
          var target = state.target;
          var kind = state.kind;
          var index = state.index++;
          var target = state.target;
          var kind = state.kind;
          var index = state.index++;
        // argumentsList[@@iterator] is %ArrayProto_values%
        // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
        // https://tc39.es/ecma262/#sec-createmappedargumentsobject
        // argumentsList[@@iterator] is %ArrayProto_values%
        // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
        // https://tc39.es/ecma262/#sec-createmappedargumentsobject
-       iterators.Arguments = iterators.Array;
+       Iterators$2.Arguments = Iterators$2.Array;
 
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
 
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-       addToUnscopables('keys');
-       addToUnscopables('values');
-       addToUnscopables('entries');
+       addToUnscopables$4('keys');
+       addToUnscopables$4('values');
+       addToUnscopables$4('entries');
+
+       var wellKnownSymbol$m = wellKnownSymbol$s;
 
 
-       var TO_STRING_TAG$3 = wellKnownSymbol('toStringTag');
+       var TO_STRING_TAG$3 = wellKnownSymbol$m('toStringTag');
        var test$2 = {};
 
        test$2[TO_STRING_TAG$3] = 'z';
 
        var toStringTagSupport = String(test$2) === '[object z]';
 
        var test$2 = {};
 
        test$2[TO_STRING_TAG$3] = 'z';
 
        var toStringTagSupport = String(test$2) === '[object z]';
 
-       var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
+       var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
+       var classofRaw = classofRaw$1;
+       var wellKnownSymbol$l = wellKnownSymbol$s;
+
+       var TO_STRING_TAG$2 = wellKnownSymbol$l('toStringTag');
        // ES3 wrong here
        var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
 
        // ES3 wrong here
        var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
 
        };
 
        // getting tag from ES6+ `Object.prototype.toString`
        };
 
        // getting tag from ES6+ `Object.prototype.toString`
-       var classof = toStringTagSupport ? classofRaw : function (it) {
+       var classof$b = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
          var O, tag, result;
          return it === undefined ? 'Undefined' : it === null ? 'Null'
            // @@toStringTag case
          var O, tag, result;
          return it === undefined ? 'Undefined' : it === null ? 'Null'
            // @@toStringTag case
            : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
        };
 
            : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
        };
 
+       var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
+       var classof$a = classof$b;
+
        // `Object.prototype.toString` method implementation
        // https://tc39.es/ecma262/#sec-object.prototype.tostring
        // `Object.prototype.toString` method implementation
        // https://tc39.es/ecma262/#sec-object.prototype.tostring
-       var objectToString$1 = toStringTagSupport ? {}.toString : function toString() {
-         return '[object ' + classof(this) + ']';
+       var objectToString$1 = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
+         return '[object ' + classof$a(this) + ']';
        };
 
        };
 
+       var TO_STRING_TAG_SUPPORT = toStringTagSupport;
+       var redefine$c = redefine$g.exports;
+       var toString$1 = objectToString$1;
+
        // `Object.prototype.toString` method
        // https://tc39.es/ecma262/#sec-object.prototype.tostring
        // `Object.prototype.toString` method
        // https://tc39.es/ecma262/#sec-object.prototype.tostring
-       if (!toStringTagSupport) {
-         redefine(Object.prototype, 'toString', objectToString$1, { unsafe: true });
+       if (!TO_STRING_TAG_SUPPORT) {
+         redefine$c(Object.prototype, 'toString', toString$1, { unsafe: true });
        }
 
        }
 
+       var toInteger$8 = toInteger$b;
+       var requireObjectCoercible$b = requireObjectCoercible$e;
+
        // `String.prototype.{ codePointAt, at }` methods implementation
        var createMethod$5 = function (CONVERT_TO_STRING) {
          return function ($this, pos) {
        // `String.prototype.{ codePointAt, at }` methods implementation
        var createMethod$5 = function (CONVERT_TO_STRING) {
          return function ($this, pos) {
-           var S = String(requireObjectCoercible($this));
-           var position = toInteger(pos);
+           var S = String(requireObjectCoercible$b($this));
+           var position = toInteger$8(pos);
            var size = S.length;
            var first, second;
            if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
            var size = S.length;
            var first, second;
            if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
        };
 
        var charAt$1 = stringMultibyte.charAt;
        };
 
        var charAt$1 = stringMultibyte.charAt;
-
-
+       var InternalStateModule$7 = internalState;
+       var defineIterator$1 = defineIterator$3;
 
        var STRING_ITERATOR = 'String Iterator';
 
        var STRING_ITERATOR = 'String Iterator';
-       var setInternalState$6 = internalState.set;
-       var getInternalState$4 = internalState.getterFor(STRING_ITERATOR);
+       var setInternalState$7 = InternalStateModule$7.set;
+       var getInternalState$5 = InternalStateModule$7.getterFor(STRING_ITERATOR);
 
        // `String.prototype[@@iterator]` method
        // https://tc39.es/ecma262/#sec-string.prototype-@@iterator
 
        // `String.prototype[@@iterator]` method
        // https://tc39.es/ecma262/#sec-string.prototype-@@iterator
-       defineIterator(String, 'String', function (iterated) {
-         setInternalState$6(this, {
+       defineIterator$1(String, 'String', function (iterated) {
+         setInternalState$7(this, {
            type: STRING_ITERATOR,
            string: String(iterated),
            index: 0
            type: STRING_ITERATOR,
            string: String(iterated),
            index: 0
        // `%StringIteratorPrototype%.next` method
        // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
        }, function next() {
        // `%StringIteratorPrototype%.next` method
        // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
        }, function next() {
-         var state = getInternalState$4(this);
+         var state = getInternalState$5(this);
          var string = state.string;
          var index = state.index;
          var point;
          var string = state.string;
          var index = state.index;
          var point;
          TouchList: 0
        };
 
          TouchList: 0
        };
 
-       var ITERATOR$6 = wellKnownSymbol('iterator');
-       var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
-       var ArrayValues = es_array_iterator.values;
+       var global$t = global$F;
+       var DOMIterables$1 = domIterables;
+       var ArrayIteratorMethods = es_array_iterator;
+       var createNonEnumerableProperty$7 = createNonEnumerableProperty$e;
+       var wellKnownSymbol$k = wellKnownSymbol$s;
+
+       var ITERATOR$6 = wellKnownSymbol$k('iterator');
+       var TO_STRING_TAG$1 = wellKnownSymbol$k('toStringTag');
+       var ArrayValues = ArrayIteratorMethods.values;
 
 
-       for (var COLLECTION_NAME$1 in domIterables) {
-         var Collection$1 = global$2[COLLECTION_NAME$1];
+       for (var COLLECTION_NAME$1 in DOMIterables$1) {
+         var Collection$1 = global$t[COLLECTION_NAME$1];
          var CollectionPrototype$1 = Collection$1 && Collection$1.prototype;
          if (CollectionPrototype$1) {
            // some Chrome versions have non-configurable methods on DOMTokenList
            if (CollectionPrototype$1[ITERATOR$6] !== ArrayValues) try {
          var CollectionPrototype$1 = Collection$1 && Collection$1.prototype;
          if (CollectionPrototype$1) {
            // some Chrome versions have non-configurable methods on DOMTokenList
            if (CollectionPrototype$1[ITERATOR$6] !== ArrayValues) try {
-             createNonEnumerableProperty(CollectionPrototype$1, ITERATOR$6, ArrayValues);
+             createNonEnumerableProperty$7(CollectionPrototype$1, ITERATOR$6, ArrayValues);
            } catch (error) {
              CollectionPrototype$1[ITERATOR$6] = ArrayValues;
            }
            if (!CollectionPrototype$1[TO_STRING_TAG$1]) {
            } catch (error) {
              CollectionPrototype$1[ITERATOR$6] = ArrayValues;
            }
            if (!CollectionPrototype$1[TO_STRING_TAG$1]) {
-             createNonEnumerableProperty(CollectionPrototype$1, TO_STRING_TAG$1, COLLECTION_NAME$1);
+             createNonEnumerableProperty$7(CollectionPrototype$1, TO_STRING_TAG$1, COLLECTION_NAME$1);
            }
            }
-           if (domIterables[COLLECTION_NAME$1]) for (var METHOD_NAME in es_array_iterator) {
+           if (DOMIterables$1[COLLECTION_NAME$1]) for (var METHOD_NAME in ArrayIteratorMethods) {
              // some Chrome versions have non-configurable methods on DOMTokenList
              // some Chrome versions have non-configurable methods on DOMTokenList
-             if (CollectionPrototype$1[METHOD_NAME] !== es_array_iterator[METHOD_NAME]) try {
-               createNonEnumerableProperty(CollectionPrototype$1, METHOD_NAME, es_array_iterator[METHOD_NAME]);
+             if (CollectionPrototype$1[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
+               createNonEnumerableProperty$7(CollectionPrototype$1, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
              } catch (error) {
              } catch (error) {
-               CollectionPrototype$1[METHOD_NAME] = es_array_iterator[METHOD_NAME];
+               CollectionPrototype$1[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
              }
            }
          }
        }
 
              }
            }
          }
        }
 
+       var classof$9 = classofRaw$1;
+
        // `IsArray` abstract operation
        // https://tc39.es/ecma262/#sec-isarray
        // eslint-disable-next-line es/no-array-isarray -- safe
        // `IsArray` abstract operation
        // https://tc39.es/ecma262/#sec-isarray
        // eslint-disable-next-line es/no-array-isarray -- safe
-       var isArray = Array.isArray || function isArray(arg) {
-         return classofRaw(arg) == 'Array';
+       var isArray$6 = Array.isArray || function isArray(arg) {
+         return classof$9(arg) == 'Array';
        };
 
        };
 
+       var objectGetOwnPropertyNamesExternal = {};
+
        /* eslint-disable es/no-object-getownpropertynames -- safe */
 
        /* eslint-disable es/no-object-getownpropertynames -- safe */
 
+       var toIndexedObject$6 = toIndexedObject$b;
        var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
 
        var toString = {}.toString;
        var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
 
        var toString = {}.toString;
        };
 
        // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
        };
 
        // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
-       var f$1 = function getOwnPropertyNames(it) {
+       objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
          return windowNames && toString.call(it) == '[object Window]'
            ? getWindowNames(it)
          return windowNames && toString.call(it) == '[object Window]'
            ? getWindowNames(it)
-           : $getOwnPropertyNames$1(toIndexedObject(it));
-       };
-
-       var objectGetOwnPropertyNamesExternal = {
-               f: f$1
+           : $getOwnPropertyNames$1(toIndexedObject$6(it));
        };
 
        };
 
-       var aFunction = function (it) {
+       var aFunction$9 = function (it) {
          if (typeof it != 'function') {
            throw TypeError(String(it) + ' is not a function');
          } return it;
        };
 
          if (typeof it != 'function') {
            throw TypeError(String(it) + ' is not a function');
          } return it;
        };
 
+       var aFunction$8 = aFunction$9;
+
        // optional / simple context binding
        var functionBindContext = function (fn, that, length) {
        // optional / simple context binding
        var functionBindContext = function (fn, that, length) {
-         aFunction(fn);
+         aFunction$8(fn);
          if (that === undefined) return fn;
          switch (length) {
            case 0: return function () {
          if (that === undefined) return fn;
          switch (length) {
            case 0: return function () {
          };
        };
 
          };
        };
 
-       var SPECIES$6 = wellKnownSymbol('species');
+       var isObject$l = isObject$r;
+       var isArray$5 = isArray$6;
+       var wellKnownSymbol$j = wellKnownSymbol$s;
+
+       var SPECIES$6 = wellKnownSymbol$j('species');
 
        // `ArraySpeciesCreate` abstract operation
        // https://tc39.es/ecma262/#sec-arrayspeciescreate
 
        // `ArraySpeciesCreate` abstract operation
        // https://tc39.es/ecma262/#sec-arrayspeciescreate
-       var arraySpeciesCreate = function (originalArray, length) {
+       var arraySpeciesCreate$3 = function (originalArray, length) {
          var C;
          var C;
-         if (isArray(originalArray)) {
+         if (isArray$5(originalArray)) {
            C = originalArray.constructor;
            // cross-realm fallback
            C = originalArray.constructor;
            // cross-realm fallback
-           if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
-           else if (isObject$4(C)) {
+           if (typeof C == 'function' && (C === Array || isArray$5(C.prototype))) C = undefined;
+           else if (isObject$l(C)) {
              C = C[SPECIES$6];
              if (C === null) C = undefined;
            }
          } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
        };
 
              C = C[SPECIES$6];
              if (C === null) C = undefined;
            }
          } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
        };
 
+       var bind$b = functionBindContext;
+       var IndexedObject$3 = indexedObject;
+       var toObject$f = toObject$i;
+       var toLength$o = toLength$q;
+       var arraySpeciesCreate$2 = arraySpeciesCreate$3;
+
        var push = [].push;
 
        // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
        var push = [].push;
 
        // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
          var IS_FILTER_OUT = TYPE == 7;
          var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
          return function ($this, callbackfn, that, specificCreate) {
          var IS_FILTER_OUT = TYPE == 7;
          var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
          return function ($this, callbackfn, that, specificCreate) {
-           var O = toObject($this);
-           var self = indexedObject(O);
-           var boundFunction = functionBindContext(callbackfn, that, 3);
-           var length = toLength(self.length);
+           var O = toObject$f($this);
+           var self = IndexedObject$3(O);
+           var boundFunction = bind$b(callbackfn, that, 3);
+           var length = toLength$o(self.length);
            var index = 0;
            var index = 0;
-           var create = specificCreate || arraySpeciesCreate;
+           var create = specificCreate || arraySpeciesCreate$2;
            var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
            var value, result;
            for (;length > index; index++) if (NO_HOLES || index in self) {
            var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
            var value, result;
            for (;length > index; index++) if (NO_HOLES || index in self) {
          filterOut: createMethod$4(7)
        };
 
          filterOut: createMethod$4(7)
        };
 
+       var $$14 = _export;
+       var global$s = global$F;
+       var getBuiltIn$5 = getBuiltIn$9;
+       var DESCRIPTORS$h = descriptors;
+       var NATIVE_SYMBOL = nativeSymbol;
+       var USE_SYMBOL_AS_UID = useSymbolAsUid;
+       var fails$F = fails$N;
+       var has$8 = has$j;
+       var isArray$4 = isArray$6;
+       var isObject$k = isObject$r;
+       var anObject$g = anObject$m;
+       var toObject$e = toObject$i;
+       var toIndexedObject$5 = toIndexedObject$b;
+       var toPrimitive$4 = toPrimitive$7;
+       var createPropertyDescriptor$3 = createPropertyDescriptor$7;
+       var nativeObjectCreate = objectCreate;
+       var objectKeys$2 = objectKeys$4;
+       var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
+       var getOwnPropertyNamesExternal = objectGetOwnPropertyNamesExternal;
+       var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
+       var getOwnPropertyDescriptorModule$2 = objectGetOwnPropertyDescriptor;
+       var definePropertyModule$3 = objectDefineProperty;
+       var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
+       var createNonEnumerableProperty$6 = createNonEnumerableProperty$e;
+       var redefine$b = redefine$g.exports;
+       var shared$1 = shared$5.exports;
+       var sharedKey = sharedKey$4;
+       var hiddenKeys$1 = hiddenKeys$6;
+       var uid$2 = uid$5;
+       var wellKnownSymbol$i = wellKnownSymbol$s;
+       var wrappedWellKnownSymbolModule = wellKnownSymbolWrapped;
+       var defineWellKnownSymbol$2 = defineWellKnownSymbol$4;
+       var setToStringTag$7 = setToStringTag$a;
+       var InternalStateModule$6 = internalState;
        var $forEach$2 = arrayIteration.forEach;
 
        var HIDDEN = sharedKey('hidden');
        var SYMBOL = 'Symbol';
        var PROTOTYPE$1 = 'prototype';
        var $forEach$2 = arrayIteration.forEach;
 
        var HIDDEN = sharedKey('hidden');
        var SYMBOL = 'Symbol';
        var PROTOTYPE$1 = 'prototype';
-       var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
-       var setInternalState$5 = internalState.set;
-       var getInternalState$3 = internalState.getterFor(SYMBOL);
+       var TO_PRIMITIVE = wellKnownSymbol$i('toPrimitive');
+       var setInternalState$6 = InternalStateModule$6.set;
+       var getInternalState$4 = InternalStateModule$6.getterFor(SYMBOL);
        var ObjectPrototype$2 = Object[PROTOTYPE$1];
        var ObjectPrototype$2 = Object[PROTOTYPE$1];
-       var $Symbol = global$2.Symbol;
-       var $stringify = getBuiltIn('JSON', 'stringify');
-       var nativeGetOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
-       var nativeDefineProperty = objectDefineProperty.f;
-       var nativeGetOwnPropertyNames = objectGetOwnPropertyNamesExternal.f;
-       var nativePropertyIsEnumerable = objectPropertyIsEnumerable.f;
-       var AllSymbols = shared('symbols');
-       var ObjectPrototypeSymbols = shared('op-symbols');
-       var StringToSymbolRegistry = shared('string-to-symbol-registry');
-       var SymbolToStringRegistry = shared('symbol-to-string-registry');
-       var WellKnownSymbolsStore = shared('wks');
-       var QObject = global$2.QObject;
+       var $Symbol = global$s.Symbol;
+       var $stringify = getBuiltIn$5('JSON', 'stringify');
+       var nativeGetOwnPropertyDescriptor$2 = getOwnPropertyDescriptorModule$2.f;
+       var nativeDefineProperty$1 = definePropertyModule$3.f;
+       var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
+       var nativePropertyIsEnumerable = propertyIsEnumerableModule$1.f;
+       var AllSymbols = shared$1('symbols');
+       var ObjectPrototypeSymbols = shared$1('op-symbols');
+       var StringToSymbolRegistry = shared$1('string-to-symbol-registry');
+       var SymbolToStringRegistry = shared$1('symbol-to-string-registry');
+       var WellKnownSymbolsStore = shared$1('wks');
+       var QObject = global$s.QObject;
        // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
        var USE_SETTER = !QObject || !QObject[PROTOTYPE$1] || !QObject[PROTOTYPE$1].findChild;
 
        // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
        // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
        var USE_SETTER = !QObject || !QObject[PROTOTYPE$1] || !QObject[PROTOTYPE$1].findChild;
 
        // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
-       var setSymbolDescriptor = descriptors && fails(function () {
-         return objectCreate(nativeDefineProperty({}, 'a', {
-           get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
+       var setSymbolDescriptor = DESCRIPTORS$h && fails$F(function () {
+         return nativeObjectCreate(nativeDefineProperty$1({}, 'a', {
+           get: function () { return nativeDefineProperty$1(this, 'a', { value: 7 }).a; }
          })).a != 7;
        }) ? function (O, P, Attributes) {
          })).a != 7;
        }) ? function (O, P, Attributes) {
-         var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor$1(ObjectPrototype$2, P);
+         var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor$2(ObjectPrototype$2, P);
          if (ObjectPrototypeDescriptor) delete ObjectPrototype$2[P];
          if (ObjectPrototypeDescriptor) delete ObjectPrototype$2[P];
-         nativeDefineProperty(O, P, Attributes);
+         nativeDefineProperty$1(O, P, Attributes);
          if (ObjectPrototypeDescriptor && O !== ObjectPrototype$2) {
          if (ObjectPrototypeDescriptor && O !== ObjectPrototype$2) {
-           nativeDefineProperty(ObjectPrototype$2, P, ObjectPrototypeDescriptor);
+           nativeDefineProperty$1(ObjectPrototype$2, P, ObjectPrototypeDescriptor);
          }
          }
-       } : nativeDefineProperty;
+       } : nativeDefineProperty$1;
 
        var wrap$2 = function (tag, description) {
 
        var wrap$2 = function (tag, description) {
-         var symbol = AllSymbols[tag] = objectCreate($Symbol[PROTOTYPE$1]);
-         setInternalState$5(symbol, {
+         var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE$1]);
+         setInternalState$6(symbol, {
            type: SYMBOL,
            tag: tag,
            description: description
          });
            type: SYMBOL,
            tag: tag,
            description: description
          });
-         if (!descriptors) symbol.description = description;
+         if (!DESCRIPTORS$h) symbol.description = description;
          return symbol;
        };
 
          return symbol;
        };
 
-       var isSymbol$1 = useSymbolAsUid ? function (it) {
+       var isSymbol$1 = USE_SYMBOL_AS_UID ? function (it) {
          return typeof it == 'symbol';
        } : function (it) {
          return Object(it) instanceof $Symbol;
          return typeof it == 'symbol';
        } : function (it) {
          return Object(it) instanceof $Symbol;
 
        var $defineProperty = function defineProperty(O, P, Attributes) {
          if (O === ObjectPrototype$2) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
 
        var $defineProperty = function defineProperty(O, P, Attributes) {
          if (O === ObjectPrototype$2) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
-         anObject(O);
-         var key = toPrimitive(P, true);
-         anObject(Attributes);
-         if (has$1(AllSymbols, key)) {
+         anObject$g(O);
+         var key = toPrimitive$4(P, true);
+         anObject$g(Attributes);
+         if (has$8(AllSymbols, key)) {
            if (!Attributes.enumerable) {
            if (!Attributes.enumerable) {
-             if (!has$1(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));
+             if (!has$8(O, HIDDEN)) nativeDefineProperty$1(O, HIDDEN, createPropertyDescriptor$3(1, {}));
              O[HIDDEN][key] = true;
            } else {
              O[HIDDEN][key] = true;
            } else {
-             if (has$1(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
-             Attributes = objectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
+             if (has$8(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
+             Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor$3(0, false) });
            } return setSymbolDescriptor(O, key, Attributes);
            } return setSymbolDescriptor(O, key, Attributes);
-         } return nativeDefineProperty(O, key, Attributes);
+         } return nativeDefineProperty$1(O, key, Attributes);
        };
 
        var $defineProperties = function defineProperties(O, Properties) {
        };
 
        var $defineProperties = function defineProperties(O, Properties) {
-         anObject(O);
-         var properties = toIndexedObject(Properties);
-         var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
+         anObject$g(O);
+         var properties = toIndexedObject$5(Properties);
+         var keys = objectKeys$2(properties).concat($getOwnPropertySymbols(properties));
          $forEach$2(keys, function (key) {
          $forEach$2(keys, function (key) {
-           if (!descriptors || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);
+           if (!DESCRIPTORS$h || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);
          });
          return O;
        };
 
        var $create = function create(O, Properties) {
          });
          return O;
        };
 
        var $create = function create(O, Properties) {
-         return Properties === undefined ? objectCreate(O) : $defineProperties(objectCreate(O), Properties);
+         return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
        };
 
        var $propertyIsEnumerable = function propertyIsEnumerable(V) {
        };
 
        var $propertyIsEnumerable = function propertyIsEnumerable(V) {
-         var P = toPrimitive(V, true);
+         var P = toPrimitive$4(V, true);
          var enumerable = nativePropertyIsEnumerable.call(this, P);
          var enumerable = nativePropertyIsEnumerable.call(this, P);
-         if (this === ObjectPrototype$2 && has$1(AllSymbols, P) && !has$1(ObjectPrototypeSymbols, P)) return false;
-         return enumerable || !has$1(this, P) || !has$1(AllSymbols, P) || has$1(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
+         if (this === ObjectPrototype$2 && has$8(AllSymbols, P) && !has$8(ObjectPrototypeSymbols, P)) return false;
+         return enumerable || !has$8(this, P) || !has$8(AllSymbols, P) || has$8(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
        };
 
        var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
        };
 
        var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
-         var it = toIndexedObject(O);
-         var key = toPrimitive(P, true);
-         if (it === ObjectPrototype$2 && has$1(AllSymbols, key) && !has$1(ObjectPrototypeSymbols, key)) return;
-         var descriptor = nativeGetOwnPropertyDescriptor$1(it, key);
-         if (descriptor && has$1(AllSymbols, key) && !(has$1(it, HIDDEN) && it[HIDDEN][key])) {
+         var it = toIndexedObject$5(O);
+         var key = toPrimitive$4(P, true);
+         if (it === ObjectPrototype$2 && has$8(AllSymbols, key) && !has$8(ObjectPrototypeSymbols, key)) return;
+         var descriptor = nativeGetOwnPropertyDescriptor$2(it, key);
+         if (descriptor && has$8(AllSymbols, key) && !(has$8(it, HIDDEN) && it[HIDDEN][key])) {
            descriptor.enumerable = true;
          }
          return descriptor;
        };
 
        var $getOwnPropertyNames = function getOwnPropertyNames(O) {
            descriptor.enumerable = true;
          }
          return descriptor;
        };
 
        var $getOwnPropertyNames = function getOwnPropertyNames(O) {
-         var names = nativeGetOwnPropertyNames(toIndexedObject(O));
+         var names = nativeGetOwnPropertyNames(toIndexedObject$5(O));
          var result = [];
          $forEach$2(names, function (key) {
          var result = [];
          $forEach$2(names, function (key) {
-           if (!has$1(AllSymbols, key) && !has$1(hiddenKeys$1, key)) result.push(key);
+           if (!has$8(AllSymbols, key) && !has$8(hiddenKeys$1, key)) result.push(key);
          });
          return result;
        };
 
        var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
          var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$2;
          });
          return result;
        };
 
        var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
          var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$2;
-         var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
+         var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject$5(O));
          var result = [];
          $forEach$2(names, function (key) {
          var result = [];
          $forEach$2(names, function (key) {
-           if (has$1(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has$1(ObjectPrototype$2, key))) {
+           if (has$8(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has$8(ObjectPrototype$2, key))) {
              result.push(AllSymbols[key]);
            }
          });
              result.push(AllSymbols[key]);
            }
          });
 
        // `Symbol` constructor
        // https://tc39.es/ecma262/#sec-symbol-constructor
 
        // `Symbol` constructor
        // https://tc39.es/ecma262/#sec-symbol-constructor
-       if (!nativeSymbol) {
+       if (!NATIVE_SYMBOL) {
          $Symbol = function Symbol() {
            if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');
            var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);
          $Symbol = function Symbol() {
            if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');
            var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);
-           var tag = uid(description);
+           var tag = uid$2(description);
            var setter = function (value) {
              if (this === ObjectPrototype$2) setter.call(ObjectPrototypeSymbols, value);
            var setter = function (value) {
              if (this === ObjectPrototype$2) setter.call(ObjectPrototypeSymbols, value);
-             if (has$1(this, HIDDEN) && has$1(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
-             setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));
+             if (has$8(this, HIDDEN) && has$8(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
+             setSymbolDescriptor(this, tag, createPropertyDescriptor$3(1, value));
            };
            };
-           if (descriptors && USE_SETTER) setSymbolDescriptor(ObjectPrototype$2, tag, { configurable: true, set: setter });
+           if (DESCRIPTORS$h && USE_SETTER) setSymbolDescriptor(ObjectPrototype$2, tag, { configurable: true, set: setter });
            return wrap$2(tag, description);
          };
 
            return wrap$2(tag, description);
          };
 
-         redefine($Symbol[PROTOTYPE$1], 'toString', function toString() {
-           return getInternalState$3(this).tag;
+         redefine$b($Symbol[PROTOTYPE$1], 'toString', function toString() {
+           return getInternalState$4(this).tag;
          });
 
          });
 
-         redefine($Symbol, 'withoutSetter', function (description) {
-           return wrap$2(uid(description), description);
+         redefine$b($Symbol, 'withoutSetter', function (description) {
+           return wrap$2(uid$2(description), description);
          });
 
          });
 
-         objectPropertyIsEnumerable.f = $propertyIsEnumerable;
-         objectDefineProperty.f = $defineProperty;
-         objectGetOwnPropertyDescriptor.f = $getOwnPropertyDescriptor;
-         objectGetOwnPropertyNames.f = objectGetOwnPropertyNamesExternal.f = $getOwnPropertyNames;
-         objectGetOwnPropertySymbols.f = $getOwnPropertySymbols;
+         propertyIsEnumerableModule$1.f = $propertyIsEnumerable;
+         definePropertyModule$3.f = $defineProperty;
+         getOwnPropertyDescriptorModule$2.f = $getOwnPropertyDescriptor;
+         getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
+         getOwnPropertySymbolsModule$1.f = $getOwnPropertySymbols;
 
 
-         wellKnownSymbolWrapped.f = function (name) {
-           return wrap$2(wellKnownSymbol(name), name);
+         wrappedWellKnownSymbolModule.f = function (name) {
+           return wrap$2(wellKnownSymbol$i(name), name);
          };
 
          };
 
-         if (descriptors) {
+         if (DESCRIPTORS$h) {
            // https://github.com/tc39/proposal-Symbol-description
            // https://github.com/tc39/proposal-Symbol-description
-           nativeDefineProperty($Symbol[PROTOTYPE$1], 'description', {
+           nativeDefineProperty$1($Symbol[PROTOTYPE$1], 'description', {
              configurable: true,
              get: function description() {
              configurable: true,
              get: function description() {
-               return getInternalState$3(this).description;
+               return getInternalState$4(this).description;
              }
            });
            {
              }
            });
            {
-             redefine(ObjectPrototype$2, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
+             redefine$b(ObjectPrototype$2, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
            }
          }
        }
 
            }
          }
        }
 
-       _export({ global: true, wrap: true, forced: !nativeSymbol, sham: !nativeSymbol }, {
+       $$14({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
          Symbol: $Symbol
        });
 
          Symbol: $Symbol
        });
 
-       $forEach$2(objectKeys(WellKnownSymbolsStore), function (name) {
-         defineWellKnownSymbol(name);
+       $forEach$2(objectKeys$2(WellKnownSymbolsStore), function (name) {
+         defineWellKnownSymbol$2(name);
        });
 
        });
 
-       _export({ target: SYMBOL, stat: true, forced: !nativeSymbol }, {
+       $$14({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
          // `Symbol.for` method
          // https://tc39.es/ecma262/#sec-symbol.for
          'for': function (key) {
            var string = String(key);
          // `Symbol.for` method
          // https://tc39.es/ecma262/#sec-symbol.for
          'for': function (key) {
            var string = String(key);
-           if (has$1(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
+           if (has$8(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
            var symbol = $Symbol(string);
            StringToSymbolRegistry[string] = symbol;
            SymbolToStringRegistry[symbol] = string;
            var symbol = $Symbol(string);
            StringToSymbolRegistry[string] = symbol;
            SymbolToStringRegistry[symbol] = string;
          // https://tc39.es/ecma262/#sec-symbol.keyfor
          keyFor: function keyFor(sym) {
            if (!isSymbol$1(sym)) throw TypeError(sym + ' is not a symbol');
          // https://tc39.es/ecma262/#sec-symbol.keyfor
          keyFor: function keyFor(sym) {
            if (!isSymbol$1(sym)) throw TypeError(sym + ' is not a symbol');
-           if (has$1(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
+           if (has$8(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
          },
          useSetter: function () { USE_SETTER = true; },
          useSimple: function () { USE_SETTER = false; }
        });
 
          },
          useSetter: function () { USE_SETTER = true; },
          useSimple: function () { USE_SETTER = false; }
        });
 
-       _export({ target: 'Object', stat: true, forced: !nativeSymbol, sham: !descriptors }, {
+       $$14({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS$h }, {
          // `Object.create` method
          // https://tc39.es/ecma262/#sec-object.create
          create: $create,
          // `Object.create` method
          // https://tc39.es/ecma262/#sec-object.create
          create: $create,
          getOwnPropertyDescriptor: $getOwnPropertyDescriptor
        });
 
          getOwnPropertyDescriptor: $getOwnPropertyDescriptor
        });
 
-       _export({ target: 'Object', stat: true, forced: !nativeSymbol }, {
+       $$14({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
          // `Object.getOwnPropertyNames` method
          // https://tc39.es/ecma262/#sec-object.getownpropertynames
          getOwnPropertyNames: $getOwnPropertyNames,
          // `Object.getOwnPropertyNames` method
          // https://tc39.es/ecma262/#sec-object.getownpropertynames
          getOwnPropertyNames: $getOwnPropertyNames,
 
        // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
        // https://bugs.chromium.org/p/v8/issues/detail?id=3443
 
        // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
        // https://bugs.chromium.org/p/v8/issues/detail?id=3443
-       _export({ target: 'Object', stat: true, forced: fails(function () { objectGetOwnPropertySymbols.f(1); }) }, {
+       $$14({ target: 'Object', stat: true, forced: fails$F(function () { getOwnPropertySymbolsModule$1.f(1); }) }, {
          getOwnPropertySymbols: function getOwnPropertySymbols(it) {
          getOwnPropertySymbols: function getOwnPropertySymbols(it) {
-           return objectGetOwnPropertySymbols.f(toObject(it));
+           return getOwnPropertySymbolsModule$1.f(toObject$e(it));
          }
        });
 
        // `JSON.stringify` method behavior with symbols
        // https://tc39.es/ecma262/#sec-json.stringify
        if ($stringify) {
          }
        });
 
        // `JSON.stringify` method behavior with symbols
        // https://tc39.es/ecma262/#sec-json.stringify
        if ($stringify) {
-         var FORCED_JSON_STRINGIFY = !nativeSymbol || fails(function () {
+         var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails$F(function () {
            var symbol = $Symbol();
            // MS Edge converts symbol values to JSON as {}
            return $stringify([symbol]) != '[null]'
            var symbol = $Symbol();
            // MS Edge converts symbol values to JSON as {}
            return $stringify([symbol]) != '[null]'
              || $stringify(Object(symbol)) != '{}';
          });
 
              || $stringify(Object(symbol)) != '{}';
          });
 
-         _export({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
+         $$14({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
            // eslint-disable-next-line no-unused-vars -- required for `.length`
            stringify: function stringify(it, replacer, space) {
              var args = [it];
            // eslint-disable-next-line no-unused-vars -- required for `.length`
            stringify: function stringify(it, replacer, space) {
              var args = [it];
              var $replacer;
              while (arguments.length > index) args.push(arguments[index++]);
              $replacer = replacer;
              var $replacer;
              while (arguments.length > index) args.push(arguments[index++]);
              $replacer = replacer;
-             if (!isObject$4(replacer) && it === undefined || isSymbol$1(it)) return; // IE8 returns string on undefined
-             if (!isArray(replacer)) replacer = function (key, value) {
+             if (!isObject$k(replacer) && it === undefined || isSymbol$1(it)) return; // IE8 returns string on undefined
+             if (!isArray$4(replacer)) replacer = function (key, value) {
                if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
                if (!isSymbol$1(value)) return value;
              };
                if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
                if (!isSymbol$1(value)) return value;
              };
        // `Symbol.prototype[@@toPrimitive]` method
        // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
        if (!$Symbol[PROTOTYPE$1][TO_PRIMITIVE]) {
        // `Symbol.prototype[@@toPrimitive]` method
        // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
        if (!$Symbol[PROTOTYPE$1][TO_PRIMITIVE]) {
-         createNonEnumerableProperty($Symbol[PROTOTYPE$1], TO_PRIMITIVE, $Symbol[PROTOTYPE$1].valueOf);
+         createNonEnumerableProperty$6($Symbol[PROTOTYPE$1], TO_PRIMITIVE, $Symbol[PROTOTYPE$1].valueOf);
        }
        // `Symbol.prototype[@@toStringTag]` property
        // https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
        }
        // `Symbol.prototype[@@toStringTag]` property
        // https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
-       setToStringTag($Symbol, SYMBOL);
+       setToStringTag$7($Symbol, SYMBOL);
 
        hiddenKeys$1[HIDDEN] = true;
 
 
        hiddenKeys$1[HIDDEN] = true;
 
-       var defineProperty$7 = objectDefineProperty.f;
-
+       var $$13 = _export;
+       var DESCRIPTORS$g = descriptors;
+       var global$r = global$F;
+       var has$7 = has$j;
+       var isObject$j = isObject$r;
+       var defineProperty$8 = objectDefineProperty.f;
+       var copyConstructorProperties = copyConstructorProperties$2;
 
 
-       var NativeSymbol = global$2.Symbol;
+       var NativeSymbol = global$r.Symbol;
 
 
-       if (descriptors && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||
+       if (DESCRIPTORS$g && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||
          // Safari 12 bug
          NativeSymbol().description !== undefined
        )) {
          // Safari 12 bug
          NativeSymbol().description !== undefined
        )) {
          var symbolToString = symbolPrototype.toString;
          var native = String(NativeSymbol('test')) == 'Symbol(test)';
          var regexp = /^Symbol\((.*)\)[^)]+$/;
          var symbolToString = symbolPrototype.toString;
          var native = String(NativeSymbol('test')) == 'Symbol(test)';
          var regexp = /^Symbol\((.*)\)[^)]+$/;
-         defineProperty$7(symbolPrototype, 'description', {
+         defineProperty$8(symbolPrototype, 'description', {
            configurable: true,
            get: function description() {
            configurable: true,
            get: function description() {
-             var symbol = isObject$4(this) ? this.valueOf() : this;
+             var symbol = isObject$j(this) ? this.valueOf() : this;
              var string = symbolToString.call(symbol);
              var string = symbolToString.call(symbol);
-             if (has$1(EmptyStringDescriptionStore, symbol)) return '';
+             if (has$7(EmptyStringDescriptionStore, symbol)) return '';
              var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');
              return desc === '' ? undefined : desc;
            }
          });
 
              var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');
              return desc === '' ? undefined : desc;
            }
          });
 
-         _export({ global: true, forced: true }, {
+         $$13({ global: true, forced: true }, {
            Symbol: SymbolWrapper
          });
        }
            Symbol: SymbolWrapper
          });
        }
        // eslint-disable-next-line es/no-typed-arrays -- safe
        var arrayBufferNative = typeof ArrayBuffer !== 'undefined' && typeof DataView !== 'undefined';
 
        // eslint-disable-next-line es/no-typed-arrays -- safe
        var arrayBufferNative = typeof ArrayBuffer !== 'undefined' && typeof DataView !== 'undefined';
 
-       var redefineAll = function (target, src, options) {
-         for (var key in src) redefine(target, key, src[key], options);
+       var redefine$a = redefine$g.exports;
+
+       var redefineAll$4 = function (target, src, options) {
+         for (var key in src) redefine$a(target, key, src[key], options);
          return target;
        };
 
          return target;
        };
 
-       var anInstance = function (it, Constructor, name) {
+       var anInstance$7 = function (it, Constructor, name) {
          if (!(it instanceof Constructor)) {
            throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');
          } return it;
        };
 
          if (!(it instanceof Constructor)) {
            throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');
          } return it;
        };
 
+       var toInteger$7 = toInteger$b;
+       var toLength$n = toLength$q;
+
        // `ToIndex` abstract operation
        // https://tc39.es/ecma262/#sec-toindex
        // `ToIndex` abstract operation
        // https://tc39.es/ecma262/#sec-toindex
-       var toIndex = function (it) {
+       var toIndex$2 = function (it) {
          if (it === undefined) return 0;
          if (it === undefined) return 0;
-         var number = toInteger(it);
-         var length = toLength(number);
+         var number = toInteger$7(it);
+         var length = toLength$n(number);
          if (number !== length) throw RangeError('Wrong length or index');
          return length;
        };
          if (number !== length) throw RangeError('Wrong length or index');
          return length;
        };
          } return (sign ? -1 : 1) * mantissa * pow$2(2, exponent - mantissaLength);
        };
 
          } return (sign ? -1 : 1) * mantissa * pow$2(2, exponent - mantissaLength);
        };
 
-       var ieee754$1 = {
+       var ieee754$2 = {
          pack: pack,
          unpack: unpack
        };
 
          pack: pack,
          unpack: unpack
        };
 
+       var toObject$d = toObject$i;
+       var toAbsoluteIndex$6 = toAbsoluteIndex$8;
+       var toLength$m = toLength$q;
+
        // `Array.prototype.fill` method implementation
        // https://tc39.es/ecma262/#sec-array.prototype.fill
        // `Array.prototype.fill` method implementation
        // https://tc39.es/ecma262/#sec-array.prototype.fill
-       var arrayFill = function fill(value /* , start = 0, end = @length */) {
-         var O = toObject(this);
-         var length = toLength(O.length);
+       var arrayFill$1 = function fill(value /* , start = 0, end = @length */) {
+         var O = toObject$d(this);
+         var length = toLength$m(O.length);
          var argumentsLength = arguments.length;
          var argumentsLength = arguments.length;
-         var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);
+         var index = toAbsoluteIndex$6(argumentsLength > 1 ? arguments[1] : undefined, length);
          var end = argumentsLength > 2 ? arguments[2] : undefined;
          var end = argumentsLength > 2 ? arguments[2] : undefined;
-         var endPos = end === undefined ? length : toAbsoluteIndex(end, length);
+         var endPos = end === undefined ? length : toAbsoluteIndex$6(end, length);
          while (endPos > index) O[index++] = value;
          return O;
        };
 
          while (endPos > index) O[index++] = value;
          return O;
        };
 
-       var getOwnPropertyNames$3 = objectGetOwnPropertyNames.f;
-       var defineProperty$6 = objectDefineProperty.f;
-
-
-
+       var global$q = global$F;
+       var DESCRIPTORS$f = descriptors;
+       var NATIVE_ARRAY_BUFFER$2 = arrayBufferNative;
+       var createNonEnumerableProperty$5 = createNonEnumerableProperty$e;
+       var redefineAll$3 = redefineAll$4;
+       var fails$E = fails$N;
+       var anInstance$6 = anInstance$7;
+       var toInteger$6 = toInteger$b;
+       var toLength$l = toLength$q;
+       var toIndex$1 = toIndex$2;
+       var IEEE754 = ieee754$2;
+       var getPrototypeOf$2 = objectGetPrototypeOf;
+       var setPrototypeOf$5 = objectSetPrototypeOf;
+       var getOwnPropertyNames$4 = objectGetOwnPropertyNames.f;
+       var defineProperty$7 = objectDefineProperty.f;
+       var arrayFill = arrayFill$1;
+       var setToStringTag$6 = setToStringTag$a;
+       var InternalStateModule$5 = internalState;
 
 
-       var getInternalState$2 = internalState.get;
-       var setInternalState$4 = internalState.set;
+       var getInternalState$3 = InternalStateModule$5.get;
+       var setInternalState$5 = InternalStateModule$5.set;
        var ARRAY_BUFFER$1 = 'ArrayBuffer';
        var DATA_VIEW = 'DataView';
        var PROTOTYPE = 'prototype';
        var ARRAY_BUFFER$1 = 'ArrayBuffer';
        var DATA_VIEW = 'DataView';
        var PROTOTYPE = 'prototype';
-       var WRONG_LENGTH = 'Wrong length';
+       var WRONG_LENGTH$1 = 'Wrong length';
        var WRONG_INDEX = 'Wrong index';
        var WRONG_INDEX = 'Wrong index';
-       var NativeArrayBuffer$1 = global$2[ARRAY_BUFFER$1];
+       var NativeArrayBuffer$1 = global$q[ARRAY_BUFFER$1];
        var $ArrayBuffer = NativeArrayBuffer$1;
        var $ArrayBuffer = NativeArrayBuffer$1;
-       var $DataView = global$2[DATA_VIEW];
+       var $DataView = global$q[DATA_VIEW];
        var $DataViewPrototype = $DataView && $DataView[PROTOTYPE];
        var ObjectPrototype$1 = Object.prototype;
        var $DataViewPrototype = $DataView && $DataView[PROTOTYPE];
        var ObjectPrototype$1 = Object.prototype;
-       var RangeError$1 = global$2.RangeError;
+       var RangeError$2 = global$q.RangeError;
 
 
-       var packIEEE754 = ieee754$1.pack;
-       var unpackIEEE754 = ieee754$1.unpack;
+       var packIEEE754 = IEEE754.pack;
+       var unpackIEEE754 = IEEE754.unpack;
 
        var packInt8 = function (number) {
          return [number & 0xFF];
 
        var packInt8 = function (number) {
          return [number & 0xFF];
          return packIEEE754(number, 52, 8);
        };
 
          return packIEEE754(number, 52, 8);
        };
 
-       var addGetter = function (Constructor, key) {
-         defineProperty$6(Constructor[PROTOTYPE], key, { get: function () { return getInternalState$2(this)[key]; } });
+       var addGetter$1 = function (Constructor, key) {
+         defineProperty$7(Constructor[PROTOTYPE], key, { get: function () { return getInternalState$3(this)[key]; } });
        };
 
        var get$4 = function (view, count, index, isLittleEndian) {
        };
 
        var get$4 = function (view, count, index, isLittleEndian) {
-         var intIndex = toIndex(index);
-         var store = getInternalState$2(view);
-         if (intIndex + count > store.byteLength) throw RangeError$1(WRONG_INDEX);
-         var bytes = getInternalState$2(store.buffer).bytes;
+         var intIndex = toIndex$1(index);
+         var store = getInternalState$3(view);
+         if (intIndex + count > store.byteLength) throw RangeError$2(WRONG_INDEX);
+         var bytes = getInternalState$3(store.buffer).bytes;
          var start = intIndex + store.byteOffset;
          var pack = bytes.slice(start, start + count);
          return isLittleEndian ? pack : pack.reverse();
        };
 
        var set$3 = function (view, count, index, conversion, value, isLittleEndian) {
          var start = intIndex + store.byteOffset;
          var pack = bytes.slice(start, start + count);
          return isLittleEndian ? pack : pack.reverse();
        };
 
        var set$3 = function (view, count, index, conversion, value, isLittleEndian) {
-         var intIndex = toIndex(index);
-         var store = getInternalState$2(view);
-         if (intIndex + count > store.byteLength) throw RangeError$1(WRONG_INDEX);
-         var bytes = getInternalState$2(store.buffer).bytes;
+         var intIndex = toIndex$1(index);
+         var store = getInternalState$3(view);
+         if (intIndex + count > store.byteLength) throw RangeError$2(WRONG_INDEX);
+         var bytes = getInternalState$3(store.buffer).bytes;
          var start = intIndex + store.byteOffset;
          var pack = conversion(+value);
          for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1];
        };
 
          var start = intIndex + store.byteOffset;
          var pack = conversion(+value);
          for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1];
        };
 
-       if (!arrayBufferNative) {
+       if (!NATIVE_ARRAY_BUFFER$2) {
          $ArrayBuffer = function ArrayBuffer(length) {
          $ArrayBuffer = function ArrayBuffer(length) {
-           anInstance(this, $ArrayBuffer, ARRAY_BUFFER$1);
-           var byteLength = toIndex(length);
-           setInternalState$4(this, {
+           anInstance$6(this, $ArrayBuffer, ARRAY_BUFFER$1);
+           var byteLength = toIndex$1(length);
+           setInternalState$5(this, {
              bytes: arrayFill.call(new Array(byteLength), 0),
              byteLength: byteLength
            });
              bytes: arrayFill.call(new Array(byteLength), 0),
              byteLength: byteLength
            });
-           if (!descriptors) this.byteLength = byteLength;
+           if (!DESCRIPTORS$f) this.byteLength = byteLength;
          };
 
          $DataView = function DataView(buffer, byteOffset, byteLength) {
          };
 
          $DataView = function DataView(buffer, byteOffset, byteLength) {
-           anInstance(this, $DataView, DATA_VIEW);
-           anInstance(buffer, $ArrayBuffer, DATA_VIEW);
-           var bufferLength = getInternalState$2(buffer).byteLength;
-           var offset = toInteger(byteOffset);
-           if (offset < 0 || offset > bufferLength) throw RangeError$1('Wrong offset');
-           byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);
-           if (offset + byteLength > bufferLength) throw RangeError$1(WRONG_LENGTH);
-           setInternalState$4(this, {
+           anInstance$6(this, $DataView, DATA_VIEW);
+           anInstance$6(buffer, $ArrayBuffer, DATA_VIEW);
+           var bufferLength = getInternalState$3(buffer).byteLength;
+           var offset = toInteger$6(byteOffset);
+           if (offset < 0 || offset > bufferLength) throw RangeError$2('Wrong offset');
+           byteLength = byteLength === undefined ? bufferLength - offset : toLength$l(byteLength);
+           if (offset + byteLength > bufferLength) throw RangeError$2(WRONG_LENGTH$1);
+           setInternalState$5(this, {
              buffer: buffer,
              byteLength: byteLength,
              byteOffset: offset
            });
              buffer: buffer,
              byteLength: byteLength,
              byteOffset: offset
            });
-           if (!descriptors) {
+           if (!DESCRIPTORS$f) {
              this.buffer = buffer;
              this.byteLength = byteLength;
              this.byteOffset = offset;
            }
          };
 
              this.buffer = buffer;
              this.byteLength = byteLength;
              this.byteOffset = offset;
            }
          };
 
-         if (descriptors) {
-           addGetter($ArrayBuffer, 'byteLength');
-           addGetter($DataView, 'buffer');
-           addGetter($DataView, 'byteLength');
-           addGetter($DataView, 'byteOffset');
+         if (DESCRIPTORS$f) {
+           addGetter$1($ArrayBuffer, 'byteLength');
+           addGetter$1($DataView, 'buffer');
+           addGetter$1($DataView, 'byteLength');
+           addGetter$1($DataView, 'byteOffset');
          }
 
          }
 
-         redefineAll($DataView[PROTOTYPE], {
+         redefineAll$3($DataView[PROTOTYPE], {
            getInt8: function getInt8(byteOffset) {
              return get$4(this, 1, byteOffset)[0] << 24 >> 24;
            },
            getInt8: function getInt8(byteOffset) {
              return get$4(this, 1, byteOffset)[0] << 24 >> 24;
            },
          });
        } else {
          /* eslint-disable no-new -- required for testing */
          });
        } else {
          /* eslint-disable no-new -- required for testing */
-         if (!fails(function () {
+         if (!fails$E(function () {
            NativeArrayBuffer$1(1);
            NativeArrayBuffer$1(1);
-         }) || !fails(function () {
+         }) || !fails$E(function () {
            new NativeArrayBuffer$1(-1);
            new NativeArrayBuffer$1(-1);
-         }) || fails(function () {
+         }) || fails$E(function () {
            new NativeArrayBuffer$1();
            new NativeArrayBuffer$1(1.5);
            new NativeArrayBuffer$1(NaN);
            new NativeArrayBuffer$1();
            new NativeArrayBuffer$1(1.5);
            new NativeArrayBuffer$1(NaN);
          })) {
          /* eslint-enable no-new -- required for testing */
            $ArrayBuffer = function ArrayBuffer(length) {
          })) {
          /* eslint-enable no-new -- required for testing */
            $ArrayBuffer = function ArrayBuffer(length) {
-             anInstance(this, $ArrayBuffer);
-             return new NativeArrayBuffer$1(toIndex(length));
+             anInstance$6(this, $ArrayBuffer);
+             return new NativeArrayBuffer$1(toIndex$1(length));
            };
            var ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE] = NativeArrayBuffer$1[PROTOTYPE];
            };
            var ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE] = NativeArrayBuffer$1[PROTOTYPE];
-           for (var keys$2 = getOwnPropertyNames$3(NativeArrayBuffer$1), j$2 = 0, key$1; keys$2.length > j$2;) {
+           for (var keys$2 = getOwnPropertyNames$4(NativeArrayBuffer$1), j$2 = 0, key$1; keys$2.length > j$2;) {
              if (!((key$1 = keys$2[j$2++]) in $ArrayBuffer)) {
              if (!((key$1 = keys$2[j$2++]) in $ArrayBuffer)) {
-               createNonEnumerableProperty($ArrayBuffer, key$1, NativeArrayBuffer$1[key$1]);
+               createNonEnumerableProperty$5($ArrayBuffer, key$1, NativeArrayBuffer$1[key$1]);
              }
            }
            ArrayBufferPrototype.constructor = $ArrayBuffer;
          }
 
          // WebKit bug - the same parent prototype for typed arrays and data view
              }
            }
            ArrayBufferPrototype.constructor = $ArrayBuffer;
          }
 
          // WebKit bug - the same parent prototype for typed arrays and data view
-         if (objectSetPrototypeOf && objectGetPrototypeOf($DataViewPrototype) !== ObjectPrototype$1) {
-           objectSetPrototypeOf($DataViewPrototype, ObjectPrototype$1);
+         if (setPrototypeOf$5 && getPrototypeOf$2($DataViewPrototype) !== ObjectPrototype$1) {
+           setPrototypeOf$5($DataViewPrototype, ObjectPrototype$1);
          }
 
          // iOS Safari 7.x bug
          }
 
          // iOS Safari 7.x bug
          var $setInt8 = $DataViewPrototype.setInt8;
          testView.setInt8(0, 2147483648);
          testView.setInt8(1, 2147483649);
          var $setInt8 = $DataViewPrototype.setInt8;
          testView.setInt8(0, 2147483648);
          testView.setInt8(1, 2147483649);
-         if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll($DataViewPrototype, {
+         if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll$3($DataViewPrototype, {
            setInt8: function setInt8(byteOffset, value) {
              $setInt8.call(this, byteOffset, value << 24 >> 24);
            },
            setInt8: function setInt8(byteOffset, value) {
              $setInt8.call(this, byteOffset, value << 24 >> 24);
            },
          }, { unsafe: true });
        }
 
          }, { unsafe: true });
        }
 
-       setToStringTag($ArrayBuffer, ARRAY_BUFFER$1);
-       setToStringTag($DataView, DATA_VIEW);
+       setToStringTag$6($ArrayBuffer, ARRAY_BUFFER$1);
+       setToStringTag$6($DataView, DATA_VIEW);
 
        var arrayBuffer = {
          ArrayBuffer: $ArrayBuffer,
          DataView: $DataView
        };
 
 
        var arrayBuffer = {
          ArrayBuffer: $ArrayBuffer,
          DataView: $DataView
        };
 
-       var SPECIES$5 = wellKnownSymbol('species');
+       var anObject$f = anObject$m;
+       var aFunction$7 = aFunction$9;
+       var wellKnownSymbol$h = wellKnownSymbol$s;
+
+       var SPECIES$5 = wellKnownSymbol$h('species');
 
        // `SpeciesConstructor` abstract operation
        // https://tc39.es/ecma262/#sec-speciesconstructor
 
        // `SpeciesConstructor` abstract operation
        // https://tc39.es/ecma262/#sec-speciesconstructor
-       var speciesConstructor = function (O, defaultConstructor) {
-         var C = anObject(O).constructor;
+       var speciesConstructor$8 = function (O, defaultConstructor) {
+         var C = anObject$f(O).constructor;
          var S;
          var S;
-         return C === undefined || (S = anObject(C)[SPECIES$5]) == undefined ? defaultConstructor : aFunction(S);
+         return C === undefined || (S = anObject$f(C)[SPECIES$5]) == undefined ? defaultConstructor : aFunction$7(S);
        };
 
        };
 
-       var ArrayBuffer$3 = arrayBuffer.ArrayBuffer;
-       var DataView$1 = arrayBuffer.DataView;
-       var nativeArrayBufferSlice = ArrayBuffer$3.prototype.slice;
+       var $$12 = _export;
+       var fails$D = fails$N;
+       var ArrayBufferModule$2 = arrayBuffer;
+       var anObject$e = anObject$m;
+       var toAbsoluteIndex$5 = toAbsoluteIndex$8;
+       var toLength$k = toLength$q;
+       var speciesConstructor$7 = speciesConstructor$8;
+
+       var ArrayBuffer$4 = ArrayBufferModule$2.ArrayBuffer;
+       var DataView$2 = ArrayBufferModule$2.DataView;
+       var nativeArrayBufferSlice = ArrayBuffer$4.prototype.slice;
 
 
-       var INCORRECT_SLICE = fails(function () {
-         return !new ArrayBuffer$3(2).slice(1, undefined).byteLength;
+       var INCORRECT_SLICE = fails$D(function () {
+         return !new ArrayBuffer$4(2).slice(1, undefined).byteLength;
        });
 
        // `ArrayBuffer.prototype.slice` method
        // https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice
        });
 
        // `ArrayBuffer.prototype.slice` method
        // https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice
-       _export({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {
+       $$12({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {
          slice: function slice(start, end) {
            if (nativeArrayBufferSlice !== undefined && end === undefined) {
          slice: function slice(start, end) {
            if (nativeArrayBufferSlice !== undefined && end === undefined) {
-             return nativeArrayBufferSlice.call(anObject(this), start); // FF fix
-           }
-           var length = anObject(this).byteLength;
-           var first = toAbsoluteIndex(start, length);
-           var fin = toAbsoluteIndex(end === undefined ? length : end, length);
-           var result = new (speciesConstructor(this, ArrayBuffer$3))(toLength(fin - first));
-           var viewSource = new DataView$1(this);
-           var viewTarget = new DataView$1(result);
+             return nativeArrayBufferSlice.call(anObject$e(this), start); // FF fix
+           }
+           var length = anObject$e(this).byteLength;
+           var first = toAbsoluteIndex$5(start, length);
+           var fin = toAbsoluteIndex$5(end === undefined ? length : end, length);
+           var result = new (speciesConstructor$7(this, ArrayBuffer$4))(toLength$k(fin - first));
+           var viewSource = new DataView$2(this);
+           var viewTarget = new DataView$2(result);
            var index = 0;
            while (first < fin) {
              viewTarget.setUint8(index++, viewSource.getUint8(first++));
            var index = 0;
            while (first < fin) {
              viewTarget.setUint8(index++, viewSource.getUint8(first++));
          }
        });
 
          }
        });
 
+       var $$11 = _export;
+       var ArrayBufferModule$1 = arrayBuffer;
+       var NATIVE_ARRAY_BUFFER$1 = arrayBufferNative;
+
        // `DataView` constructor
        // https://tc39.es/ecma262/#sec-dataview-constructor
        // `DataView` constructor
        // https://tc39.es/ecma262/#sec-dataview-constructor
-       _export({ global: true, forced: !arrayBufferNative }, {
-         DataView: arrayBuffer.DataView
+       $$11({ global: true, forced: !NATIVE_ARRAY_BUFFER$1 }, {
+         DataView: ArrayBufferModule$1.DataView
        });
 
        });
 
-       var defineProperty$5 = objectDefineProperty.f;
-
-
-
-
+       var NATIVE_ARRAY_BUFFER = arrayBufferNative;
+       var DESCRIPTORS$e = descriptors;
+       var global$p = global$F;
+       var isObject$i = isObject$r;
+       var has$6 = has$j;
+       var classof$8 = classof$b;
+       var createNonEnumerableProperty$4 = createNonEnumerableProperty$e;
+       var redefine$9 = redefine$g.exports;
+       var defineProperty$6 = objectDefineProperty.f;
+       var getPrototypeOf$1 = objectGetPrototypeOf;
+       var setPrototypeOf$4 = objectSetPrototypeOf;
+       var wellKnownSymbol$g = wellKnownSymbol$s;
+       var uid$1 = uid$5;
 
 
-       var Int8Array$3 = global$2.Int8Array;
+       var Int8Array$3 = global$p.Int8Array;
        var Int8ArrayPrototype = Int8Array$3 && Int8Array$3.prototype;
        var Int8ArrayPrototype = Int8Array$3 && Int8Array$3.prototype;
-       var Uint8ClampedArray = global$2.Uint8ClampedArray;
+       var Uint8ClampedArray = global$p.Uint8ClampedArray;
        var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
        var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
-       var TypedArray = Int8Array$3 && objectGetPrototypeOf(Int8Array$3);
-       var TypedArrayPrototype = Int8ArrayPrototype && objectGetPrototypeOf(Int8ArrayPrototype);
+       var TypedArray$1 = Int8Array$3 && getPrototypeOf$1(Int8Array$3);
+       var TypedArrayPrototype$1 = Int8ArrayPrototype && getPrototypeOf$1(Int8ArrayPrototype);
        var ObjectPrototype = Object.prototype;
        var isPrototypeOf = ObjectPrototype.isPrototypeOf;
 
        var ObjectPrototype = Object.prototype;
        var isPrototypeOf = ObjectPrototype.isPrototypeOf;
 
-       var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-       var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
+       var TO_STRING_TAG = wellKnownSymbol$g('toStringTag');
+       var TYPED_ARRAY_TAG$1 = uid$1('TYPED_ARRAY_TAG');
        // Fixing native typed arrays in Opera Presto crashes the browser, see #595
        // Fixing native typed arrays in Opera Presto crashes the browser, see #595
-       var NATIVE_ARRAY_BUFFER_VIEWS$2 = arrayBufferNative && !!objectSetPrototypeOf && classof(global$2.opera) !== 'Opera';
+       var NATIVE_ARRAY_BUFFER_VIEWS$3 = NATIVE_ARRAY_BUFFER && !!setPrototypeOf$4 && classof$8(global$p.opera) !== 'Opera';
        var TYPED_ARRAY_TAG_REQIRED = false;
        var NAME$1;
 
        var TYPED_ARRAY_TAG_REQIRED = false;
        var NAME$1;
 
        };
 
        var isView = function isView(it) {
        };
 
        var isView = function isView(it) {
-         if (!isObject$4(it)) return false;
-         var klass = classof(it);
+         if (!isObject$i(it)) return false;
+         var klass = classof$8(it);
          return klass === 'DataView'
          return klass === 'DataView'
-           || has$1(TypedArrayConstructorsList, klass)
-           || has$1(BigIntArrayConstructorsList, klass);
+           || has$6(TypedArrayConstructorsList, klass)
+           || has$6(BigIntArrayConstructorsList, klass);
        };
 
        };
 
-       var isTypedArray = function (it) {
-         if (!isObject$4(it)) return false;
-         var klass = classof(it);
-         return has$1(TypedArrayConstructorsList, klass)
-           || has$1(BigIntArrayConstructorsList, klass);
+       var isTypedArray$1 = function (it) {
+         if (!isObject$i(it)) return false;
+         var klass = classof$8(it);
+         return has$6(TypedArrayConstructorsList, klass)
+           || has$6(BigIntArrayConstructorsList, klass);
        };
 
        var aTypedArray$m = function (it) {
        };
 
        var aTypedArray$m = function (it) {
-         if (isTypedArray(it)) return it;
+         if (isTypedArray$1(it)) return it;
          throw TypeError('Target is not a typed array');
        };
 
          throw TypeError('Target is not a typed array');
        };
 
-       var aTypedArrayConstructor$4 = function (C) {
-         if (objectSetPrototypeOf) {
-           if (isPrototypeOf.call(TypedArray, C)) return C;
-         } else for (var ARRAY in TypedArrayConstructorsList) if (has$1(TypedArrayConstructorsList, NAME$1)) {
-           var TypedArrayConstructor = global$2[ARRAY];
+       var aTypedArrayConstructor$5 = function (C) {
+         if (setPrototypeOf$4) {
+           if (isPrototypeOf.call(TypedArray$1, C)) return C;
+         } else for (var ARRAY in TypedArrayConstructorsList) if (has$6(TypedArrayConstructorsList, NAME$1)) {
+           var TypedArrayConstructor = global$p[ARRAY];
            if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) {
              return C;
            }
            if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) {
              return C;
            }
        };
 
        var exportTypedArrayMethod$n = function (KEY, property, forced) {
        };
 
        var exportTypedArrayMethod$n = function (KEY, property, forced) {
-         if (!descriptors) return;
+         if (!DESCRIPTORS$e) return;
          if (forced) for (var ARRAY in TypedArrayConstructorsList) {
          if (forced) for (var ARRAY in TypedArrayConstructorsList) {
-           var TypedArrayConstructor = global$2[ARRAY];
-           if (TypedArrayConstructor && has$1(TypedArrayConstructor.prototype, KEY)) try {
+           var TypedArrayConstructor = global$p[ARRAY];
+           if (TypedArrayConstructor && has$6(TypedArrayConstructor.prototype, KEY)) try {
              delete TypedArrayConstructor.prototype[KEY];
            } catch (error) { /* empty */ }
          }
              delete TypedArrayConstructor.prototype[KEY];
            } catch (error) { /* empty */ }
          }
-         if (!TypedArrayPrototype[KEY] || forced) {
-           redefine(TypedArrayPrototype, KEY, forced ? property
-             : NATIVE_ARRAY_BUFFER_VIEWS$2 && Int8ArrayPrototype[KEY] || property);
+         if (!TypedArrayPrototype$1[KEY] || forced) {
+           redefine$9(TypedArrayPrototype$1, KEY, forced ? property
+             : NATIVE_ARRAY_BUFFER_VIEWS$3 && Int8ArrayPrototype[KEY] || property);
          }
        };
 
        var exportTypedArrayStaticMethod$1 = function (KEY, property, forced) {
          var ARRAY, TypedArrayConstructor;
          }
        };
 
        var exportTypedArrayStaticMethod$1 = function (KEY, property, forced) {
          var ARRAY, TypedArrayConstructor;
-         if (!descriptors) return;
-         if (objectSetPrototypeOf) {
+         if (!DESCRIPTORS$e) return;
+         if (setPrototypeOf$4) {
            if (forced) for (ARRAY in TypedArrayConstructorsList) {
            if (forced) for (ARRAY in TypedArrayConstructorsList) {
-             TypedArrayConstructor = global$2[ARRAY];
-             if (TypedArrayConstructor && has$1(TypedArrayConstructor, KEY)) try {
+             TypedArrayConstructor = global$p[ARRAY];
+             if (TypedArrayConstructor && has$6(TypedArrayConstructor, KEY)) try {
                delete TypedArrayConstructor[KEY];
              } catch (error) { /* empty */ }
            }
                delete TypedArrayConstructor[KEY];
              } catch (error) { /* empty */ }
            }
-           if (!TypedArray[KEY] || forced) {
+           if (!TypedArray$1[KEY] || forced) {
              // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
              try {
              // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
              try {
-               return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS$2 && TypedArray[KEY] || property);
+               return redefine$9(TypedArray$1, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS$3 && TypedArray$1[KEY] || property);
              } catch (error) { /* empty */ }
            } else return;
          }
          for (ARRAY in TypedArrayConstructorsList) {
              } catch (error) { /* empty */ }
            } else return;
          }
          for (ARRAY in TypedArrayConstructorsList) {
-           TypedArrayConstructor = global$2[ARRAY];
+           TypedArrayConstructor = global$p[ARRAY];
            if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
            if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
-             redefine(TypedArrayConstructor, KEY, property);
+             redefine$9(TypedArrayConstructor, KEY, property);
            }
          }
        };
 
        for (NAME$1 in TypedArrayConstructorsList) {
            }
          }
        };
 
        for (NAME$1 in TypedArrayConstructorsList) {
-         if (!global$2[NAME$1]) NATIVE_ARRAY_BUFFER_VIEWS$2 = false;
+         if (!global$p[NAME$1]) NATIVE_ARRAY_BUFFER_VIEWS$3 = false;
        }
 
        // WebKit bug - typed arrays constructors prototype is Object.prototype
        }
 
        // WebKit bug - typed arrays constructors prototype is Object.prototype
-       if (!NATIVE_ARRAY_BUFFER_VIEWS$2 || typeof TypedArray != 'function' || TypedArray === Function.prototype) {
+       if (!NATIVE_ARRAY_BUFFER_VIEWS$3 || typeof TypedArray$1 != 'function' || TypedArray$1 === Function.prototype) {
          // eslint-disable-next-line no-shadow -- safe
          // eslint-disable-next-line no-shadow -- safe
-         TypedArray = function TypedArray() {
+         TypedArray$1 = function TypedArray() {
            throw TypeError('Incorrect invocation');
          };
            throw TypeError('Incorrect invocation');
          };
-         if (NATIVE_ARRAY_BUFFER_VIEWS$2) for (NAME$1 in TypedArrayConstructorsList) {
-           if (global$2[NAME$1]) objectSetPrototypeOf(global$2[NAME$1], TypedArray);
+         if (NATIVE_ARRAY_BUFFER_VIEWS$3) for (NAME$1 in TypedArrayConstructorsList) {
+           if (global$p[NAME$1]) setPrototypeOf$4(global$p[NAME$1], TypedArray$1);
          }
        }
 
          }
        }
 
-       if (!NATIVE_ARRAY_BUFFER_VIEWS$2 || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
-         TypedArrayPrototype = TypedArray.prototype;
-         if (NATIVE_ARRAY_BUFFER_VIEWS$2) for (NAME$1 in TypedArrayConstructorsList) {
-           if (global$2[NAME$1]) objectSetPrototypeOf(global$2[NAME$1].prototype, TypedArrayPrototype);
+       if (!NATIVE_ARRAY_BUFFER_VIEWS$3 || !TypedArrayPrototype$1 || TypedArrayPrototype$1 === ObjectPrototype) {
+         TypedArrayPrototype$1 = TypedArray$1.prototype;
+         if (NATIVE_ARRAY_BUFFER_VIEWS$3) for (NAME$1 in TypedArrayConstructorsList) {
+           if (global$p[NAME$1]) setPrototypeOf$4(global$p[NAME$1].prototype, TypedArrayPrototype$1);
          }
        }
 
        // WebKit bug - one more object in Uint8ClampedArray prototype chain
          }
        }
 
        // WebKit bug - one more object in Uint8ClampedArray prototype chain
-       if (NATIVE_ARRAY_BUFFER_VIEWS$2 && objectGetPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {
-         objectSetPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);
+       if (NATIVE_ARRAY_BUFFER_VIEWS$3 && getPrototypeOf$1(Uint8ClampedArrayPrototype) !== TypedArrayPrototype$1) {
+         setPrototypeOf$4(Uint8ClampedArrayPrototype, TypedArrayPrototype$1);
        }
 
        }
 
-       if (descriptors && !has$1(TypedArrayPrototype, TO_STRING_TAG)) {
+       if (DESCRIPTORS$e && !has$6(TypedArrayPrototype$1, TO_STRING_TAG)) {
          TYPED_ARRAY_TAG_REQIRED = true;
          TYPED_ARRAY_TAG_REQIRED = true;
-         defineProperty$5(TypedArrayPrototype, TO_STRING_TAG, { get: function () {
-           return isObject$4(this) ? this[TYPED_ARRAY_TAG] : undefined;
+         defineProperty$6(TypedArrayPrototype$1, TO_STRING_TAG, { get: function () {
+           return isObject$i(this) ? this[TYPED_ARRAY_TAG$1] : undefined;
          } });
          } });
-         for (NAME$1 in TypedArrayConstructorsList) if (global$2[NAME$1]) {
-           createNonEnumerableProperty(global$2[NAME$1], TYPED_ARRAY_TAG, NAME$1);
+         for (NAME$1 in TypedArrayConstructorsList) if (global$p[NAME$1]) {
+           createNonEnumerableProperty$4(global$p[NAME$1], TYPED_ARRAY_TAG$1, NAME$1);
          }
        }
 
        var arrayBufferViewCore = {
          }
        }
 
        var arrayBufferViewCore = {
-         NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS$2,
-         TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG,
+         NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS$3,
+         TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG$1,
          aTypedArray: aTypedArray$m,
          aTypedArray: aTypedArray$m,
-         aTypedArrayConstructor: aTypedArrayConstructor$4,
+         aTypedArrayConstructor: aTypedArrayConstructor$5,
          exportTypedArrayMethod: exportTypedArrayMethod$n,
          exportTypedArrayStaticMethod: exportTypedArrayStaticMethod$1,
          isView: isView,
          exportTypedArrayMethod: exportTypedArrayMethod$n,
          exportTypedArrayStaticMethod: exportTypedArrayStaticMethod$1,
          isView: isView,
-         isTypedArray: isTypedArray,
-         TypedArray: TypedArray,
-         TypedArrayPrototype: TypedArrayPrototype
+         isTypedArray: isTypedArray$1,
+         TypedArray: TypedArray$1,
+         TypedArrayPrototype: TypedArrayPrototype$1
        };
 
        };
 
-       var NATIVE_ARRAY_BUFFER_VIEWS$1 = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
+       var $$10 = _export;
+       var ArrayBufferViewCore$n = arrayBufferViewCore;
+
+       var NATIVE_ARRAY_BUFFER_VIEWS$2 = ArrayBufferViewCore$n.NATIVE_ARRAY_BUFFER_VIEWS;
 
        // `ArrayBuffer.isView` method
        // https://tc39.es/ecma262/#sec-arraybuffer.isview
 
        // `ArrayBuffer.isView` method
        // https://tc39.es/ecma262/#sec-arraybuffer.isview
-       _export({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS$1 }, {
-         isView: arrayBufferViewCore.isView
+       $$10({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS$2 }, {
+         isView: ArrayBufferViewCore$n.isView
        });
 
        });
 
-       var SPECIES$4 = wellKnownSymbol('species');
+       var getBuiltIn$4 = getBuiltIn$9;
+       var definePropertyModule$2 = objectDefineProperty;
+       var wellKnownSymbol$f = wellKnownSymbol$s;
+       var DESCRIPTORS$d = descriptors;
 
 
-       var setSpecies = function (CONSTRUCTOR_NAME) {
-         var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
-         var defineProperty = objectDefineProperty.f;
+       var SPECIES$4 = wellKnownSymbol$f('species');
 
 
-         if (descriptors && Constructor && !Constructor[SPECIES$4]) {
+       var setSpecies$5 = function (CONSTRUCTOR_NAME) {
+         var Constructor = getBuiltIn$4(CONSTRUCTOR_NAME);
+         var defineProperty = definePropertyModule$2.f;
+
+         if (DESCRIPTORS$d && Constructor && !Constructor[SPECIES$4]) {
            defineProperty(Constructor, SPECIES$4, {
              configurable: true,
              get: function () { return this; }
            defineProperty(Constructor, SPECIES$4, {
              configurable: true,
              get: function () { return this; }
          }
        };
 
          }
        };
 
+       var $$$ = _export;
+       var global$o = global$F;
+       var arrayBufferModule = arrayBuffer;
+       var setSpecies$4 = setSpecies$5;
+
        var ARRAY_BUFFER = 'ArrayBuffer';
        var ARRAY_BUFFER = 'ArrayBuffer';
-       var ArrayBuffer$2 = arrayBuffer[ARRAY_BUFFER];
-       var NativeArrayBuffer = global$2[ARRAY_BUFFER];
+       var ArrayBuffer$3 = arrayBufferModule[ARRAY_BUFFER];
+       var NativeArrayBuffer = global$o[ARRAY_BUFFER];
 
        // `ArrayBuffer` constructor
        // https://tc39.es/ecma262/#sec-arraybuffer-constructor
 
        // `ArrayBuffer` constructor
        // https://tc39.es/ecma262/#sec-arraybuffer-constructor
-       _export({ global: true, forced: NativeArrayBuffer !== ArrayBuffer$2 }, {
-         ArrayBuffer: ArrayBuffer$2
+       $$$({ global: true, forced: NativeArrayBuffer !== ArrayBuffer$3 }, {
+         ArrayBuffer: ArrayBuffer$3
        });
 
        });
 
-       setSpecies(ARRAY_BUFFER);
+       setSpecies$4(ARRAY_BUFFER);
 
 
-       var arrayMethodIsStrict = function (METHOD_NAME, argument) {
+       var fails$C = fails$N;
+
+       var arrayMethodIsStrict$8 = function (METHOD_NAME, argument) {
          var method = [][METHOD_NAME];
          var method = [][METHOD_NAME];
-         return !!method && fails(function () {
+         return !!method && fails$C(function () {
            // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
            method.call(null, argument || function () { throw 1; }, 1);
          });
        };
 
        /* eslint-disable es/no-array-prototype-indexof -- required for testing */
            // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
            method.call(null, argument || function () { throw 1; }, 1);
          });
        };
 
        /* eslint-disable es/no-array-prototype-indexof -- required for testing */
-
+       var $$_ = _export;
        var $indexOf$1 = arrayIncludes.indexOf;
        var $indexOf$1 = arrayIncludes.indexOf;
-
+       var arrayMethodIsStrict$7 = arrayMethodIsStrict$8;
 
        var nativeIndexOf = [].indexOf;
 
        var NEGATIVE_ZERO$1 = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
 
        var nativeIndexOf = [].indexOf;
 
        var NEGATIVE_ZERO$1 = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
-       var STRICT_METHOD$7 = arrayMethodIsStrict('indexOf');
+       var STRICT_METHOD$7 = arrayMethodIsStrict$7('indexOf');
 
        // `Array.prototype.indexOf` method
        // https://tc39.es/ecma262/#sec-array.prototype.indexof
 
        // `Array.prototype.indexOf` method
        // https://tc39.es/ecma262/#sec-array.prototype.indexof
-       _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO$1 || !STRICT_METHOD$7 }, {
+       $$_({ target: 'Array', proto: true, forced: NEGATIVE_ZERO$1 || !STRICT_METHOD$7 }, {
          indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
            return NEGATIVE_ZERO$1
              // convert -0 to +0
          indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
            return NEGATIVE_ZERO$1
              // convert -0 to +0
          }
        });
 
          }
        });
 
-       var SPECIES$3 = wellKnownSymbol('species');
+       var fails$B = fails$N;
+       var wellKnownSymbol$e = wellKnownSymbol$s;
+       var V8_VERSION$2 = engineV8Version;
+
+       var SPECIES$3 = wellKnownSymbol$e('species');
 
 
-       var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
+       var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) {
          // We can't use this feature detection in V8 since it causes
          // deoptimization and serious performance degradation
          // https://github.com/zloirock/core-js/issues/677
          // We can't use this feature detection in V8 since it causes
          // deoptimization and serious performance degradation
          // https://github.com/zloirock/core-js/issues/677
-         return engineV8Version >= 51 || !fails(function () {
+         return V8_VERSION$2 >= 51 || !fails$B(function () {
            var array = [];
            var constructor = array.constructor = {};
            constructor[SPECIES$3] = function () {
            var array = [];
            var constructor = array.constructor = {};
            constructor[SPECIES$3] = function () {
          });
        };
 
          });
        };
 
+       var $$Z = _export;
        var $map$1 = arrayIteration.map;
        var $map$1 = arrayIteration.map;
+       var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5;
 
 
-
-       var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport('map');
+       var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport$4('map');
 
        // `Array.prototype.map` method
        // https://tc39.es/ecma262/#sec-array.prototype.map
        // with adding support of @@species
 
        // `Array.prototype.map` method
        // https://tc39.es/ecma262/#sec-array.prototype.map
        // with adding support of @@species
-       _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
+       $$Z({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
          map: function map(callbackfn /* , thisArg */) {
            return $map$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
        var $forEach$1 = arrayIteration.forEach;
          map: function map(callbackfn /* , thisArg */) {
            return $map$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
        var $forEach$1 = arrayIteration.forEach;
+       var arrayMethodIsStrict$6 = arrayMethodIsStrict$8;
 
 
-
-       var STRICT_METHOD$6 = arrayMethodIsStrict('forEach');
+       var STRICT_METHOD$6 = arrayMethodIsStrict$6('forEach');
 
        // `Array.prototype.forEach` method implementation
        // https://tc39.es/ecma262/#sec-array.prototype.foreach
 
        // `Array.prototype.forEach` method implementation
        // https://tc39.es/ecma262/#sec-array.prototype.foreach
        // eslint-disable-next-line es/no-array-prototype-foreach -- safe
        } : [].forEach;
 
        // eslint-disable-next-line es/no-array-prototype-foreach -- safe
        } : [].forEach;
 
+       var $$Y = _export;
+       var forEach$3 = arrayForEach;
+
        // `Array.prototype.forEach` method
        // https://tc39.es/ecma262/#sec-array.prototype.foreach
        // eslint-disable-next-line es/no-array-prototype-foreach -- safe
        // `Array.prototype.forEach` method
        // https://tc39.es/ecma262/#sec-array.prototype.foreach
        // eslint-disable-next-line es/no-array-prototype-foreach -- safe
-       _export({ target: 'Array', proto: true, forced: [].forEach != arrayForEach }, {
-         forEach: arrayForEach
+       $$Y({ target: 'Array', proto: true, forced: [].forEach != forEach$3 }, {
+         forEach: forEach$3
        });
 
        });
 
-       for (var COLLECTION_NAME in domIterables) {
-         var Collection = global$2[COLLECTION_NAME];
+       var global$n = global$F;
+       var DOMIterables = domIterables;
+       var forEach$2 = arrayForEach;
+       var createNonEnumerableProperty$3 = createNonEnumerableProperty$e;
+
+       for (var COLLECTION_NAME in DOMIterables) {
+         var Collection = global$n[COLLECTION_NAME];
          var CollectionPrototype = Collection && Collection.prototype;
          // some Chrome versions have non-configurable methods on DOMTokenList
          var CollectionPrototype = Collection && Collection.prototype;
          // some Chrome versions have non-configurable methods on DOMTokenList
-         if (CollectionPrototype && CollectionPrototype.forEach !== arrayForEach) try {
-           createNonEnumerableProperty(CollectionPrototype, 'forEach', arrayForEach);
+         if (CollectionPrototype && CollectionPrototype.forEach !== forEach$2) try {
+           createNonEnumerableProperty$3(CollectionPrototype, 'forEach', forEach$2);
          } catch (error) {
          } catch (error) {
-           CollectionPrototype.forEach = arrayForEach;
+           CollectionPrototype.forEach = forEach$2;
          }
        }
 
          }
        }
 
+       var $$X = _export;
+       var isArray$3 = isArray$6;
+
        // `Array.isArray` method
        // https://tc39.es/ecma262/#sec-array.isarray
        // `Array.isArray` method
        // https://tc39.es/ecma262/#sec-array.isarray
-       _export({ target: 'Array', stat: true }, {
-         isArray: isArray
+       $$X({ target: 'Array', stat: true }, {
+         isArray: isArray$3
        });
 
        });
 
-       var getOwnPropertyNames$2 = objectGetOwnPropertyNamesExternal.f;
+       var $$W = _export;
+       var fails$A = fails$N;
+       var getOwnPropertyNames$3 = objectGetOwnPropertyNamesExternal.f;
 
        // eslint-disable-next-line es/no-object-getownpropertynames -- required for testing
 
        // eslint-disable-next-line es/no-object-getownpropertynames -- required for testing
-       var FAILS_ON_PRIMITIVES$4 = fails(function () { return !Object.getOwnPropertyNames(1); });
+       var FAILS_ON_PRIMITIVES$4 = fails$A(function () { return !Object.getOwnPropertyNames(1); });
 
        // `Object.getOwnPropertyNames` method
        // https://tc39.es/ecma262/#sec-object.getownpropertynames
 
        // `Object.getOwnPropertyNames` method
        // https://tc39.es/ecma262/#sec-object.getownpropertynames
-       _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$4 }, {
-         getOwnPropertyNames: getOwnPropertyNames$2
+       $$W({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$4 }, {
+         getOwnPropertyNames: getOwnPropertyNames$3
        });
 
        });
 
-       var nativePromiseConstructor = global$2.Promise;
+       var global$m = global$F;
+
+       var nativePromiseConstructor = global$m.Promise;
+
+       var wellKnownSymbol$d = wellKnownSymbol$s;
+       var Iterators$1 = iterators;
 
 
-       var ITERATOR$5 = wellKnownSymbol('iterator');
+       var ITERATOR$5 = wellKnownSymbol$d('iterator');
        var ArrayPrototype = Array.prototype;
 
        // check on default Array iterator
        var ArrayPrototype = Array.prototype;
 
        // check on default Array iterator
-       var isArrayIteratorMethod = function (it) {
-         return it !== undefined && (iterators.Array === it || ArrayPrototype[ITERATOR$5] === it);
+       var isArrayIteratorMethod$3 = function (it) {
+         return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$5] === it);
        };
 
        };
 
-       var ITERATOR$4 = wellKnownSymbol('iterator');
+       var classof$7 = classof$b;
+       var Iterators = iterators;
+       var wellKnownSymbol$c = wellKnownSymbol$s;
 
 
-       var getIteratorMethod = function (it) {
+       var ITERATOR$4 = wellKnownSymbol$c('iterator');
+
+       var getIteratorMethod$5 = function (it) {
          if (it != undefined) return it[ITERATOR$4]
            || it['@@iterator']
          if (it != undefined) return it[ITERATOR$4]
            || it['@@iterator']
-           || iterators[classof(it)];
+           || Iterators[classof$7(it)];
        };
 
        };
 
-       var iteratorClose = function (iterator) {
+       var anObject$d = anObject$m;
+
+       var iteratorClose$2 = function (iterator) {
          var returnMethod = iterator['return'];
          if (returnMethod !== undefined) {
          var returnMethod = iterator['return'];
          if (returnMethod !== undefined) {
-           return anObject(returnMethod.call(iterator)).value;
+           return anObject$d(returnMethod.call(iterator)).value;
          }
        };
 
          }
        };
 
+       var anObject$c = anObject$m;
+       var isArrayIteratorMethod$2 = isArrayIteratorMethod$3;
+       var toLength$j = toLength$q;
+       var bind$a = functionBindContext;
+       var getIteratorMethod$4 = getIteratorMethod$5;
+       var iteratorClose$1 = iteratorClose$2;
+
        var Result = function (stopped, result) {
          this.stopped = stopped;
          this.result = result;
        };
 
        var Result = function (stopped, result) {
          this.stopped = stopped;
          this.result = result;
        };
 
-       var iterate = function (iterable, unboundFunction, options) {
+       var iterate$3 = function (iterable, unboundFunction, options) {
          var that = options && options.that;
          var AS_ENTRIES = !!(options && options.AS_ENTRIES);
          var IS_ITERATOR = !!(options && options.IS_ITERATOR);
          var INTERRUPTED = !!(options && options.INTERRUPTED);
          var that = options && options.that;
          var AS_ENTRIES = !!(options && options.AS_ENTRIES);
          var IS_ITERATOR = !!(options && options.IS_ITERATOR);
          var INTERRUPTED = !!(options && options.INTERRUPTED);
-         var fn = functionBindContext(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);
+         var fn = bind$a(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);
          var iterator, iterFn, index, length, result, next, step;
 
          var stop = function (condition) {
          var iterator, iterFn, index, length, result, next, step;
 
          var stop = function (condition) {
-           if (iterator) iteratorClose(iterator);
+           if (iterator) iteratorClose$1(iterator);
            return new Result(true, condition);
          };
 
          var callFn = function (value) {
            if (AS_ENTRIES) {
            return new Result(true, condition);
          };
 
          var callFn = function (value) {
            if (AS_ENTRIES) {
-             anObject(value);
+             anObject$c(value);
              return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
            } return INTERRUPTED ? fn(value, stop) : fn(value);
          };
              return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
            } return INTERRUPTED ? fn(value, stop) : fn(value);
          };
          if (IS_ITERATOR) {
            iterator = iterable;
          } else {
          if (IS_ITERATOR) {
            iterator = iterable;
          } else {
-           iterFn = getIteratorMethod(iterable);
+           iterFn = getIteratorMethod$4(iterable);
            if (typeof iterFn != 'function') throw TypeError('Target is not iterable');
            // optimisation for array iterators
            if (typeof iterFn != 'function') throw TypeError('Target is not iterable');
            // optimisation for array iterators
-           if (isArrayIteratorMethod(iterFn)) {
-             for (index = 0, length = toLength(iterable.length); length > index; index++) {
+           if (isArrayIteratorMethod$2(iterFn)) {
+             for (index = 0, length = toLength$j(iterable.length); length > index; index++) {
                result = callFn(iterable[index]);
                if (result && result instanceof Result) return result;
              } return new Result(false);
                result = callFn(iterable[index]);
                if (result && result instanceof Result) return result;
              } return new Result(false);
            try {
              result = callFn(step.value);
            } catch (error) {
            try {
              result = callFn(step.value);
            } catch (error) {
-             iteratorClose(iterator);
+             iteratorClose$1(iterator);
              throw error;
            }
            if (typeof result == 'object' && result && result instanceof Result) return result;
          } return new Result(false);
        };
 
              throw error;
            }
            if (typeof result == 'object' && result && result instanceof Result) return result;
          } return new Result(false);
        };
 
-       var ITERATOR$3 = wellKnownSymbol('iterator');
+       var wellKnownSymbol$b = wellKnownSymbol$s;
+
+       var ITERATOR$3 = wellKnownSymbol$b('iterator');
        var SAFE_CLOSING = false;
 
        try {
        var SAFE_CLOSING = false;
 
        try {
          Array.from(iteratorWithReturn, function () { throw 2; });
        } catch (error) { /* empty */ }
 
          Array.from(iteratorWithReturn, function () { throw 2; });
        } catch (error) { /* empty */ }
 
-       var checkCorrectnessOfIteration = function (exec, SKIP_CLOSING) {
+       var checkCorrectnessOfIteration$4 = function (exec, SKIP_CLOSING) {
          if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
          var ITERATION_SUPPORT = false;
          try {
          if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
          var ITERATION_SUPPORT = false;
          try {
          return ITERATION_SUPPORT;
        };
 
          return ITERATION_SUPPORT;
        };
 
-       var engineIsIos = /(?:iphone|ipod|ipad).*applewebkit/i.test(engineUserAgent);
+       var userAgent$4 = engineUserAgent;
+
+       var engineIsIos = /(?:iphone|ipod|ipad).*applewebkit/i.test(userAgent$4);
+
+       var classof$6 = classofRaw$1;
+       var global$l = global$F;
 
 
-       var engineIsNode = classofRaw(global$2.process) == 'process';
+       var engineIsNode = classof$6(global$l.process) == 'process';
 
 
-       var location$1 = global$2.location;
-       var set$2 = global$2.setImmediate;
-       var clear = global$2.clearImmediate;
-       var process$3 = global$2.process;
-       var MessageChannel = global$2.MessageChannel;
-       var Dispatch$1 = global$2.Dispatch;
+       var global$k = global$F;
+       var fails$z = fails$N;
+       var bind$9 = functionBindContext;
+       var html = html$2;
+       var createElement = documentCreateElement$1;
+       var IS_IOS$1 = engineIsIos;
+       var IS_NODE$3 = engineIsNode;
+
+       var location$1 = global$k.location;
+       var set$2 = global$k.setImmediate;
+       var clear = global$k.clearImmediate;
+       var process$3 = global$k.process;
+       var MessageChannel = global$k.MessageChannel;
+       var Dispatch$1 = global$k.Dispatch;
        var counter = 0;
        var queue = {};
        var ONREADYSTATECHANGE = 'onreadystatechange';
        var counter = 0;
        var queue = {};
        var ONREADYSTATECHANGE = 'onreadystatechange';
 
        var post = function (id) {
          // old engines have not location.origin
 
        var post = function (id) {
          // old engines have not location.origin
-         global$2.postMessage(id + '', location$1.protocol + '//' + location$1.host);
+         global$k.postMessage(id + '', location$1.protocol + '//' + location$1.host);
        };
 
        // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
        };
 
        // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
            delete queue[id];
          };
          // Node.js 0.8-
            delete queue[id];
          };
          // Node.js 0.8-
-         if (engineIsNode) {
+         if (IS_NODE$3) {
            defer = function (id) {
              process$3.nextTick(runner(id));
            };
            defer = function (id) {
              process$3.nextTick(runner(id));
            };
            };
          // Browsers with MessageChannel, includes WebWorkers
          // except iOS - https://github.com/zloirock/core-js/issues/624
            };
          // Browsers with MessageChannel, includes WebWorkers
          // except iOS - https://github.com/zloirock/core-js/issues/624
-         } else if (MessageChannel && !engineIsIos) {
+         } else if (MessageChannel && !IS_IOS$1) {
            channel = new MessageChannel();
            port = channel.port2;
            channel.port1.onmessage = listener;
            channel = new MessageChannel();
            port = channel.port2;
            channel.port1.onmessage = listener;
-           defer = functionBindContext(port.postMessage, port, 1);
+           defer = bind$9(port.postMessage, port, 1);
          // Browsers with postMessage, skip WebWorkers
          // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
          } else if (
          // Browsers with postMessage, skip WebWorkers
          // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
          } else if (
-           global$2.addEventListener &&
+           global$k.addEventListener &&
            typeof postMessage == 'function' &&
            typeof postMessage == 'function' &&
-           !global$2.importScripts &&
+           !global$k.importScripts &&
            location$1 && location$1.protocol !== 'file:' &&
            location$1 && location$1.protocol !== 'file:' &&
-           !fails(post)
+           !fails$z(post)
          ) {
            defer = post;
          ) {
            defer = post;
-           global$2.addEventListener('message', listener, false);
+           global$k.addEventListener('message', listener, false);
          // IE8-
          // IE8-
-         } else if (ONREADYSTATECHANGE in documentCreateElement('script')) {
+         } else if (ONREADYSTATECHANGE in createElement('script')) {
            defer = function (id) {
            defer = function (id) {
-             html.appendChild(documentCreateElement('script'))[ONREADYSTATECHANGE] = function () {
+             html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
                html.removeChild(this);
                run(id);
              };
                html.removeChild(this);
                run(id);
              };
          clear: clear
        };
 
          clear: clear
        };
 
-       var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(engineUserAgent);
+       var userAgent$3 = engineUserAgent;
+
+       var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent$3);
 
 
+       var global$j = global$F;
        var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
        var macrotask = task$1.set;
        var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
        var macrotask = task$1.set;
-
-
-
-
-       var MutationObserver = global$2.MutationObserver || global$2.WebKitMutationObserver;
-       var document$2 = global$2.document;
-       var process$2 = global$2.process;
-       var Promise$1 = global$2.Promise;
+       var IS_IOS = engineIsIos;
+       var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
+       var IS_NODE$2 = engineIsNode;
+
+       var MutationObserver = global$j.MutationObserver || global$j.WebKitMutationObserver;
+       var document$2 = global$j.document;
+       var process$2 = global$j.process;
+       var Promise$1 = global$j.Promise;
        // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
        // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
-       var queueMicrotaskDescriptor = getOwnPropertyDescriptor$3(global$2, 'queueMicrotask');
+       var queueMicrotaskDescriptor = getOwnPropertyDescriptor$3(global$j, 'queueMicrotask');
        var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
 
        var flush, head, last, notify$1, toggle, node, promise, then;
        var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
 
        var flush, head, last, notify$1, toggle, node, promise, then;
        if (!queueMicrotask) {
          flush = function () {
            var parent, fn;
        if (!queueMicrotask) {
          flush = function () {
            var parent, fn;
-           if (engineIsNode && (parent = process$2.domain)) parent.exit();
+           if (IS_NODE$2 && (parent = process$2.domain)) parent.exit();
            while (head) {
              fn = head.fn;
              head = head.next;
            while (head) {
              fn = head.fn;
              head = head.next;
 
          // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
          // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
 
          // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
          // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
-         if (!engineIsIos && !engineIsNode && !engineIsWebosWebkit && MutationObserver && document$2) {
+         if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
            toggle = true;
            node = document$2.createTextNode('');
            new MutationObserver(flush).observe(node, { characterData: true });
            toggle = true;
            node = document$2.createTextNode('');
            new MutationObserver(flush).observe(node, { characterData: true });
              then.call(promise, flush);
            };
          // Node.js without promises
              then.call(promise, flush);
            };
          // Node.js without promises
-         } else if (engineIsNode) {
+         } else if (IS_NODE$2) {
            notify$1 = function () {
              process$2.nextTick(flush);
            };
            notify$1 = function () {
              process$2.nextTick(flush);
            };
          } else {
            notify$1 = function () {
              // strange IE + webpack dev server bug - use .call(global)
          } else {
            notify$1 = function () {
              // strange IE + webpack dev server bug - use .call(global)
-             macrotask.call(global$2, flush);
+             macrotask.call(global$j, flush);
            };
          }
        }
 
            };
          }
        }
 
-       var microtask = queueMicrotask || function (fn) {
+       var microtask$1 = queueMicrotask || function (fn) {
          var task = { fn: fn, next: undefined };
          if (last) last.next = task;
          if (!head) {
          var task = { fn: fn, next: undefined };
          if (last) last.next = task;
          if (!head) {
          } last = task;
        };
 
          } last = task;
        };
 
+       var newPromiseCapability$2 = {};
+
+       var aFunction$6 = aFunction$9;
+
        var PromiseCapability = function (C) {
          var resolve, reject;
          this.promise = new C(function ($$resolve, $$reject) {
        var PromiseCapability = function (C) {
          var resolve, reject;
          this.promise = new C(function ($$resolve, $$reject) {
            resolve = $$resolve;
            reject = $$reject;
          });
            resolve = $$resolve;
            reject = $$reject;
          });
-         this.resolve = aFunction(resolve);
-         this.reject = aFunction(reject);
+         this.resolve = aFunction$6(resolve);
+         this.reject = aFunction$6(reject);
        };
 
        // `NewPromiseCapability` abstract operation
        // https://tc39.es/ecma262/#sec-newpromisecapability
        };
 
        // `NewPromiseCapability` abstract operation
        // https://tc39.es/ecma262/#sec-newpromisecapability
-       var f = function (C) {
+       newPromiseCapability$2.f = function (C) {
          return new PromiseCapability(C);
        };
 
          return new PromiseCapability(C);
        };
 
-       var newPromiseCapability$1 = {
-               f: f
-       };
+       var anObject$b = anObject$m;
+       var isObject$h = isObject$r;
+       var newPromiseCapability$1 = newPromiseCapability$2;
 
 
-       var promiseResolve = function (C, x) {
-         anObject(C);
-         if (isObject$4(x) && x.constructor === C) return x;
+       var promiseResolve$2 = function (C, x) {
+         anObject$b(C);
+         if (isObject$h(x) && x.constructor === C) return x;
          var promiseCapability = newPromiseCapability$1.f(C);
          var resolve = promiseCapability.resolve;
          resolve(x);
          return promiseCapability.promise;
        };
 
          var promiseCapability = newPromiseCapability$1.f(C);
          var resolve = promiseCapability.resolve;
          resolve(x);
          return promiseCapability.promise;
        };
 
-       var hostReportErrors = function (a, b) {
-         var console = global$2.console;
+       var global$i = global$F;
+
+       var hostReportErrors$1 = function (a, b) {
+         var console = global$i.console;
          if (console && console.error) {
            arguments.length === 1 ? console.error(a) : console.error(a, b);
          }
        };
 
          if (console && console.error) {
            arguments.length === 1 ? console.error(a) : console.error(a, b);
          }
        };
 
-       var perform = function (exec) {
+       var perform$1 = function (exec) {
          try {
            return { error: false, value: exec() };
          } catch (error) {
          try {
            return { error: false, value: exec() };
          } catch (error) {
 
        var engineIsBrowser = typeof window == 'object';
 
 
        var engineIsBrowser = typeof window == 'object';
 
+       var $$V = _export;
+       var global$h = global$F;
+       var getBuiltIn$3 = getBuiltIn$9;
+       var NativePromise$1 = nativePromiseConstructor;
+       var redefine$8 = redefine$g.exports;
+       var redefineAll$2 = redefineAll$4;
+       var setPrototypeOf$3 = objectSetPrototypeOf;
+       var setToStringTag$5 = setToStringTag$a;
+       var setSpecies$3 = setSpecies$5;
+       var isObject$g = isObject$r;
+       var aFunction$5 = aFunction$9;
+       var anInstance$5 = anInstance$7;
+       var inspectSource = inspectSource$3;
+       var iterate$2 = iterate$3;
+       var checkCorrectnessOfIteration$3 = checkCorrectnessOfIteration$4;
+       var speciesConstructor$6 = speciesConstructor$8;
        var task = task$1.set;
        var task = task$1.set;
-
-
-
-
-
-
-
-
-
-
-
-
-       var SPECIES$2 = wellKnownSymbol('species');
+       var microtask = microtask$1;
+       var promiseResolve$1 = promiseResolve$2;
+       var hostReportErrors = hostReportErrors$1;
+       var newPromiseCapabilityModule = newPromiseCapability$2;
+       var perform = perform$1;
+       var InternalStateModule$4 = internalState;
+       var isForced$3 = isForced_1;
+       var wellKnownSymbol$a = wellKnownSymbol$s;
+       var IS_BROWSER = engineIsBrowser;
+       var IS_NODE$1 = engineIsNode;
+       var V8_VERSION$1 = engineV8Version;
+
+       var SPECIES$2 = wellKnownSymbol$a('species');
        var PROMISE = 'Promise';
        var PROMISE = 'Promise';
-       var getInternalState$1 = internalState.get;
-       var setInternalState$3 = internalState.set;
-       var getInternalPromiseState = internalState.getterFor(PROMISE);
-       var NativePromisePrototype = nativePromiseConstructor && nativePromiseConstructor.prototype;
-       var PromiseConstructor = nativePromiseConstructor;
+       var getInternalState$2 = InternalStateModule$4.get;
+       var setInternalState$4 = InternalStateModule$4.set;
+       var getInternalPromiseState = InternalStateModule$4.getterFor(PROMISE);
+       var NativePromisePrototype = NativePromise$1 && NativePromise$1.prototype;
+       var PromiseConstructor = NativePromise$1;
        var PromiseConstructorPrototype = NativePromisePrototype;
        var PromiseConstructorPrototype = NativePromisePrototype;
-       var TypeError$1 = global$2.TypeError;
-       var document$1 = global$2.document;
-       var process$1 = global$2.process;
-       var newPromiseCapability = newPromiseCapability$1.f;
+       var TypeError$1 = global$h.TypeError;
+       var document$1 = global$h.document;
+       var process$1 = global$h.process;
+       var newPromiseCapability = newPromiseCapabilityModule.f;
        var newGenericPromiseCapability = newPromiseCapability;
        var newGenericPromiseCapability = newPromiseCapability;
-       var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$2.dispatchEvent);
+       var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$h.dispatchEvent);
        var NATIVE_REJECTION_EVENT = typeof PromiseRejectionEvent == 'function';
        var UNHANDLED_REJECTION = 'unhandledrejection';
        var REJECTION_HANDLED = 'rejectionhandled';
        var NATIVE_REJECTION_EVENT = typeof PromiseRejectionEvent == 'function';
        var UNHANDLED_REJECTION = 'unhandledrejection';
        var REJECTION_HANDLED = 'rejectionhandled';
        var SUBCLASSING = false;
        var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
 
        var SUBCLASSING = false;
        var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
 
-       var FORCED$f = isForced_1(PROMISE, function () {
-         var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);
-         var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
+       var FORCED$f = isForced$3(PROMISE, function () {
+         var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor);
          // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
          // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
          // We can't detect it synchronously, so just check versions
          // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
          // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
          // We can't detect it synchronously, so just check versions
-         if (!GLOBAL_CORE_JS_PROMISE && engineV8Version === 66) return true;
+         if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION$1 === 66) return true;
          // We can't use @@species feature detection in V8 since it causes
          // deoptimization and performance degradation
          // https://github.com/zloirock/core-js/issues/679
          // We can't use @@species feature detection in V8 since it causes
          // deoptimization and performance degradation
          // https://github.com/zloirock/core-js/issues/679
-         if (engineV8Version >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
+         if (V8_VERSION$1 >= 51 && /native code/.test(PromiseConstructor)) return false;
          // Detect correctness of subclassing with @@species support
          var promise = new PromiseConstructor(function (resolve) { resolve(1); });
          var FakePromise = function (exec) {
          // Detect correctness of subclassing with @@species support
          var promise = new PromiseConstructor(function (resolve) { resolve(1); });
          var FakePromise = function (exec) {
          SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
          if (!SUBCLASSING) return true;
          // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
          SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
          if (!SUBCLASSING) return true;
          // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
-         return !GLOBAL_CORE_JS_PROMISE && engineIsBrowser && !NATIVE_REJECTION_EVENT;
+         return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;
        });
 
        });
 
-       var INCORRECT_ITERATION$1 = FORCED$f || !checkCorrectnessOfIteration(function (iterable) {
+       var INCORRECT_ITERATION$1 = FORCED$f || !checkCorrectnessOfIteration$3(function (iterable) {
          PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
        });
 
        // helpers
        var isThenable = function (it) {
          var then;
          PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
        });
 
        // helpers
        var isThenable = function (it) {
          var then;
-         return isObject$4(it) && typeof (then = it.then) == 'function' ? then : false;
+         return isObject$g(it) && typeof (then = it.then) == 'function' ? then : false;
        };
 
        var notify = function (state, isReject) {
        };
 
        var notify = function (state, isReject) {
            event.promise = promise;
            event.reason = reason;
            event.initEvent(name, false, true);
            event.promise = promise;
            event.reason = reason;
            event.initEvent(name, false, true);
-           global$2.dispatchEvent(event);
+           global$h.dispatchEvent(event);
          } else event = { promise: promise, reason: reason };
          } else event = { promise: promise, reason: reason };
-         if (!NATIVE_REJECTION_EVENT && (handler = global$2['on' + name])) handler(event);
+         if (!NATIVE_REJECTION_EVENT && (handler = global$h['on' + name])) handler(event);
          else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
        };
 
        var onUnhandled = function (state) {
          else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
        };
 
        var onUnhandled = function (state) {
-         task.call(global$2, function () {
+         task.call(global$h, function () {
            var promise = state.facade;
            var value = state.value;
            var IS_UNHANDLED = isUnhandled(state);
            var result;
            if (IS_UNHANDLED) {
              result = perform(function () {
            var promise = state.facade;
            var value = state.value;
            var IS_UNHANDLED = isUnhandled(state);
            var result;
            if (IS_UNHANDLED) {
              result = perform(function () {
-               if (engineIsNode) {
+               if (IS_NODE$1) {
                  process$1.emit('unhandledRejection', value, promise);
                } else dispatchEvent$1(UNHANDLED_REJECTION, promise, value);
              });
              // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
                  process$1.emit('unhandledRejection', value, promise);
                } else dispatchEvent$1(UNHANDLED_REJECTION, promise, value);
              });
              // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
-             state.rejection = engineIsNode || isUnhandled(state) ? UNHANDLED : HANDLED;
+             state.rejection = IS_NODE$1 || isUnhandled(state) ? UNHANDLED : HANDLED;
              if (result.error) throw result.value;
            }
          });
              if (result.error) throw result.value;
            }
          });
        };
 
        var onHandleUnhandled = function (state) {
        };
 
        var onHandleUnhandled = function (state) {
-         task.call(global$2, function () {
+         task.call(global$h, function () {
            var promise = state.facade;
            var promise = state.facade;
-           if (engineIsNode) {
+           if (IS_NODE$1) {
              process$1.emit('rejectionHandled', promise);
            } else dispatchEvent$1(REJECTION_HANDLED, promise, state.value);
          });
        };
 
              process$1.emit('rejectionHandled', promise);
            } else dispatchEvent$1(REJECTION_HANDLED, promise, state.value);
          });
        };
 
-       var bind$2 = function (fn, state, unwrap) {
+       var bind$8 = function (fn, state, unwrap) {
          return function (value) {
            fn(state, value, unwrap);
          };
          return function (value) {
            fn(state, value, unwrap);
          };
                var wrapper = { done: false };
                try {
                  then.call(value,
                var wrapper = { done: false };
                try {
                  then.call(value,
-                   bind$2(internalResolve, wrapper, state),
-                   bind$2(internalReject, wrapper, state)
+                   bind$8(internalResolve, wrapper, state),
+                   bind$8(internalReject, wrapper, state)
                  );
                } catch (error) {
                  internalReject(wrapper, error, state);
                  );
                } catch (error) {
                  internalReject(wrapper, error, state);
        if (FORCED$f) {
          // 25.4.3.1 Promise(executor)
          PromiseConstructor = function Promise(executor) {
        if (FORCED$f) {
          // 25.4.3.1 Promise(executor)
          PromiseConstructor = function Promise(executor) {
-           anInstance(this, PromiseConstructor, PROMISE);
-           aFunction(executor);
+           anInstance$5(this, PromiseConstructor, PROMISE);
+           aFunction$5(executor);
            Internal.call(this);
            Internal.call(this);
-           var state = getInternalState$1(this);
+           var state = getInternalState$2(this);
            try {
            try {
-             executor(bind$2(internalResolve, state), bind$2(internalReject, state));
+             executor(bind$8(internalResolve, state), bind$8(internalReject, state));
            } catch (error) {
              internalReject(state, error);
            }
            } catch (error) {
              internalReject(state, error);
            }
          PromiseConstructorPrototype = PromiseConstructor.prototype;
          // eslint-disable-next-line no-unused-vars -- required for `.length`
          Internal = function Promise(executor) {
          PromiseConstructorPrototype = PromiseConstructor.prototype;
          // eslint-disable-next-line no-unused-vars -- required for `.length`
          Internal = function Promise(executor) {
-           setInternalState$3(this, {
+           setInternalState$4(this, {
              type: PROMISE,
              done: false,
              notified: false,
              type: PROMISE,
              done: false,
              notified: false,
              value: undefined
            });
          };
              value: undefined
            });
          };
-         Internal.prototype = redefineAll(PromiseConstructorPrototype, {
+         Internal.prototype = redefineAll$2(PromiseConstructorPrototype, {
            // `Promise.prototype.then` method
            // https://tc39.es/ecma262/#sec-promise.prototype.then
            then: function then(onFulfilled, onRejected) {
              var state = getInternalPromiseState(this);
            // `Promise.prototype.then` method
            // https://tc39.es/ecma262/#sec-promise.prototype.then
            then: function then(onFulfilled, onRejected) {
              var state = getInternalPromiseState(this);
-             var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
+             var reaction = newPromiseCapability(speciesConstructor$6(this, PromiseConstructor));
              reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
              reaction.fail = typeof onRejected == 'function' && onRejected;
              reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
              reaction.fail = typeof onRejected == 'function' && onRejected;
-             reaction.domain = engineIsNode ? process$1.domain : undefined;
+             reaction.domain = IS_NODE$1 ? process$1.domain : undefined;
              state.parent = true;
              state.reactions.push(reaction);
              if (state.state != PENDING) notify(state, false);
              state.parent = true;
              state.reactions.push(reaction);
              if (state.state != PENDING) notify(state, false);
          });
          OwnPromiseCapability = function () {
            var promise = new Internal();
          });
          OwnPromiseCapability = function () {
            var promise = new Internal();
-           var state = getInternalState$1(promise);
+           var state = getInternalState$2(promise);
            this.promise = promise;
            this.promise = promise;
-           this.resolve = bind$2(internalResolve, state);
-           this.reject = bind$2(internalReject, state);
+           this.resolve = bind$8(internalResolve, state);
+           this.reject = bind$8(internalReject, state);
          };
          };
-         newPromiseCapability$1.f = newPromiseCapability = function (C) {
+         newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
            return C === PromiseConstructor || C === PromiseWrapper
              ? new OwnPromiseCapability(C)
              : newGenericPromiseCapability(C);
          };
 
            return C === PromiseConstructor || C === PromiseWrapper
              ? new OwnPromiseCapability(C)
              : newGenericPromiseCapability(C);
          };
 
-         if (typeof nativePromiseConstructor == 'function' && NativePromisePrototype !== Object.prototype) {
+         if (typeof NativePromise$1 == 'function' && NativePromisePrototype !== Object.prototype) {
            nativeThen = NativePromisePrototype.then;
 
            if (!SUBCLASSING) {
              // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
            nativeThen = NativePromisePrototype.then;
 
            if (!SUBCLASSING) {
              // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
-             redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
+             redefine$8(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
                var that = this;
                return new PromiseConstructor(function (resolve, reject) {
                  nativeThen.call(that, resolve, reject);
                var that = this;
                return new PromiseConstructor(function (resolve, reject) {
                  nativeThen.call(that, resolve, reject);
              }, { unsafe: true });
 
              // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
              }, { unsafe: true });
 
              // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
-             redefine(NativePromisePrototype, 'catch', PromiseConstructorPrototype['catch'], { unsafe: true });
+             redefine$8(NativePromisePrototype, 'catch', PromiseConstructorPrototype['catch'], { unsafe: true });
            }
 
            // make `.constructor === Promise` work for native promise-based APIs
            }
 
            // make `.constructor === Promise` work for native promise-based APIs
            } catch (error) { /* empty */ }
 
            // make `instanceof Promise` work for native promise-based APIs
            } catch (error) { /* empty */ }
 
            // make `instanceof Promise` work for native promise-based APIs
-           if (objectSetPrototypeOf) {
-             objectSetPrototypeOf(NativePromisePrototype, PromiseConstructorPrototype);
+           if (setPrototypeOf$3) {
+             setPrototypeOf$3(NativePromisePrototype, PromiseConstructorPrototype);
            }
          }
        }
 
            }
          }
        }
 
-       _export({ global: true, wrap: true, forced: FORCED$f }, {
+       $$V({ global: true, wrap: true, forced: FORCED$f }, {
          Promise: PromiseConstructor
        });
 
          Promise: PromiseConstructor
        });
 
-       setToStringTag(PromiseConstructor, PROMISE, false);
-       setSpecies(PROMISE);
+       setToStringTag$5(PromiseConstructor, PROMISE, false);
+       setSpecies$3(PROMISE);
 
 
-       PromiseWrapper = getBuiltIn(PROMISE);
+       PromiseWrapper = getBuiltIn$3(PROMISE);
 
        // statics
 
        // statics
-       _export({ target: PROMISE, stat: true, forced: FORCED$f }, {
+       $$V({ target: PROMISE, stat: true, forced: FORCED$f }, {
          // `Promise.reject` method
          // https://tc39.es/ecma262/#sec-promise.reject
          reject: function reject(r) {
          // `Promise.reject` method
          // https://tc39.es/ecma262/#sec-promise.reject
          reject: function reject(r) {
          }
        });
 
          }
        });
 
-       _export({ target: PROMISE, stat: true, forced: FORCED$f }, {
+       $$V({ target: PROMISE, stat: true, forced: FORCED$f }, {
          // `Promise.resolve` method
          // https://tc39.es/ecma262/#sec-promise.resolve
          resolve: function resolve(x) {
          // `Promise.resolve` method
          // https://tc39.es/ecma262/#sec-promise.resolve
          resolve: function resolve(x) {
-           return promiseResolve(this, x);
+           return promiseResolve$1(this, x);
          }
        });
 
          }
        });
 
-       _export({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION$1 }, {
+       $$V({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION$1 }, {
          // `Promise.all` method
          // https://tc39.es/ecma262/#sec-promise.all
          all: function all(iterable) {
          // `Promise.all` method
          // https://tc39.es/ecma262/#sec-promise.all
          all: function all(iterable) {
            var resolve = capability.resolve;
            var reject = capability.reject;
            var result = perform(function () {
            var resolve = capability.resolve;
            var reject = capability.reject;
            var result = perform(function () {
-             var $promiseResolve = aFunction(C.resolve);
+             var $promiseResolve = aFunction$5(C.resolve);
              var values = [];
              var counter = 0;
              var remaining = 1;
              var values = [];
              var counter = 0;
              var remaining = 1;
-             iterate(iterable, function (promise) {
+             iterate$2(iterable, function (promise) {
                var index = counter++;
                var alreadyCalled = false;
                values.push(undefined);
                var index = counter++;
                var alreadyCalled = false;
                values.push(undefined);
            var capability = newPromiseCapability(C);
            var reject = capability.reject;
            var result = perform(function () {
            var capability = newPromiseCapability(C);
            var reject = capability.reject;
            var result = perform(function () {
-             var $promiseResolve = aFunction(C.resolve);
-             iterate(iterable, function (promise) {
+             var $promiseResolve = aFunction$5(C.resolve);
+             iterate$2(iterable, function (promise) {
                $promiseResolve.call(C, promise).then(capability.resolve, reject);
              });
            });
                $promiseResolve.call(C, promise).then(capability.resolve, reject);
              });
            });
          }
        });
 
          }
        });
 
+       var typedArrayConstructor = {exports: {}};
+
        /* eslint-disable no-new -- required for testing */
 
        /* eslint-disable no-new -- required for testing */
 
-       var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
+       var global$g = global$F;
+       var fails$y = fails$N;
+       var checkCorrectnessOfIteration$2 = checkCorrectnessOfIteration$4;
+       var NATIVE_ARRAY_BUFFER_VIEWS$1 = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
 
 
-       var ArrayBuffer$1 = global$2.ArrayBuffer;
-       var Int8Array$2 = global$2.Int8Array;
+       var ArrayBuffer$2 = global$g.ArrayBuffer;
+       var Int8Array$2 = global$g.Int8Array;
 
 
-       var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () {
+       var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS$1 || !fails$y(function () {
          Int8Array$2(1);
          Int8Array$2(1);
-       }) || !fails(function () {
+       }) || !fails$y(function () {
          new Int8Array$2(-1);
          new Int8Array$2(-1);
-       }) || !checkCorrectnessOfIteration(function (iterable) {
+       }) || !checkCorrectnessOfIteration$2(function (iterable) {
          new Int8Array$2();
          new Int8Array$2(null);
          new Int8Array$2(1.5);
          new Int8Array$2(iterable);
          new Int8Array$2();
          new Int8Array$2(null);
          new Int8Array$2(1.5);
          new Int8Array$2(iterable);
-       }, true) || fails(function () {
+       }, true) || fails$y(function () {
          // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill
          // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill
-         return new Int8Array$2(new ArrayBuffer$1(2), 1, undefined).length !== 1;
+         return new Int8Array$2(new ArrayBuffer$2(2), 1, undefined).length !== 1;
        });
 
        });
 
-       var toPositiveInteger = function (it) {
-         var result = toInteger(it);
+       var toInteger$5 = toInteger$b;
+
+       var toPositiveInteger$1 = function (it) {
+         var result = toInteger$5(it);
          if (result < 0) throw RangeError("The argument can't be less than 0");
          return result;
        };
 
          if (result < 0) throw RangeError("The argument can't be less than 0");
          return result;
        };
 
-       var toOffset = function (it, BYTES) {
+       var toPositiveInteger = toPositiveInteger$1;
+
+       var toOffset$2 = function (it, BYTES) {
          var offset = toPositiveInteger(it);
          if (offset % BYTES) throw RangeError('Wrong offset');
          return offset;
        };
 
          var offset = toPositiveInteger(it);
          if (offset % BYTES) throw RangeError('Wrong offset');
          return offset;
        };
 
-       var aTypedArrayConstructor$3 = arrayBufferViewCore.aTypedArrayConstructor;
+       var toObject$c = toObject$i;
+       var toLength$i = toLength$q;
+       var getIteratorMethod$3 = getIteratorMethod$5;
+       var isArrayIteratorMethod$1 = isArrayIteratorMethod$3;
+       var bind$7 = functionBindContext;
+       var aTypedArrayConstructor$4 = arrayBufferViewCore.aTypedArrayConstructor;
 
 
-       var typedArrayFrom = function from(source /* , mapfn, thisArg */) {
-         var O = toObject(source);
+       var typedArrayFrom$2 = function from(source /* , mapfn, thisArg */) {
+         var O = toObject$c(source);
          var argumentsLength = arguments.length;
          var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
          var mapping = mapfn !== undefined;
          var argumentsLength = arguments.length;
          var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
          var mapping = mapfn !== undefined;
-         var iteratorMethod = getIteratorMethod(O);
+         var iteratorMethod = getIteratorMethod$3(O);
          var i, length, result, step, iterator, next;
          var i, length, result, step, iterator, next;
-         if (iteratorMethod != undefined && !isArrayIteratorMethod(iteratorMethod)) {
+         if (iteratorMethod != undefined && !isArrayIteratorMethod$1(iteratorMethod)) {
            iterator = iteratorMethod.call(O);
            next = iterator.next;
            O = [];
            iterator = iteratorMethod.call(O);
            next = iterator.next;
            O = [];
            }
          }
          if (mapping && argumentsLength > 2) {
            }
          }
          if (mapping && argumentsLength > 2) {
-           mapfn = functionBindContext(mapfn, arguments[2], 2);
+           mapfn = bind$7(mapfn, arguments[2], 2);
          }
          }
-         length = toLength(O.length);
-         result = new (aTypedArrayConstructor$3(this))(length);
+         length = toLength$i(O.length);
+         result = new (aTypedArrayConstructor$4(this))(length);
          for (i = 0; length > i; i++) {
            result[i] = mapping ? mapfn(O[i], i) : O[i];
          }
          return result;
        };
 
          for (i = 0; length > i; i++) {
            result[i] = mapping ? mapfn(O[i], i) : O[i];
          }
          return result;
        };
 
+       var isObject$f = isObject$r;
+       var setPrototypeOf$2 = objectSetPrototypeOf;
+
        // makes subclassing work correct for wrapped built-ins
        // makes subclassing work correct for wrapped built-ins
-       var inheritIfRequired = function ($this, dummy, Wrapper) {
+       var inheritIfRequired$4 = function ($this, dummy, Wrapper) {
          var NewTarget, NewTargetPrototype;
          if (
            // it can work only with native `setPrototypeOf`
          var NewTarget, NewTargetPrototype;
          if (
            // it can work only with native `setPrototypeOf`
-           objectSetPrototypeOf &&
+           setPrototypeOf$2 &&
            // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
            typeof (NewTarget = dummy.constructor) == 'function' &&
            NewTarget !== Wrapper &&
            // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
            typeof (NewTarget = dummy.constructor) == 'function' &&
            NewTarget !== Wrapper &&
-           isObject$4(NewTargetPrototype = NewTarget.prototype) &&
+           isObject$f(NewTargetPrototype = NewTarget.prototype) &&
            NewTargetPrototype !== Wrapper.prototype
            NewTargetPrototype !== Wrapper.prototype
-         ) objectSetPrototypeOf($this, NewTargetPrototype);
+         ) setPrototypeOf$2($this, NewTargetPrototype);
          return $this;
        };
 
          return $this;
        };
 
-       var typedArrayConstructor = createCommonjsModule(function (module) {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-       var getOwnPropertyNames = objectGetOwnPropertyNames.f;
-
-       var forEach = arrayIteration.forEach;
-
-
-
-
-
-
-       var getInternalState = internalState.get;
-       var setInternalState = internalState.set;
-       var nativeDefineProperty = objectDefineProperty.f;
-       var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
+       var $$U = _export;
+       var global$f = global$F;
+       var DESCRIPTORS$c = descriptors;
+       var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS$1 = typedArrayConstructorsRequireWrappers;
+       var ArrayBufferViewCore$m = arrayBufferViewCore;
+       var ArrayBufferModule = arrayBuffer;
+       var anInstance$4 = anInstance$7;
+       var createPropertyDescriptor$2 = createPropertyDescriptor$7;
+       var createNonEnumerableProperty$2 = createNonEnumerableProperty$e;
+       var toLength$h = toLength$q;
+       var toIndex = toIndex$2;
+       var toOffset$1 = toOffset$2;
+       var toPrimitive$3 = toPrimitive$7;
+       var has$5 = has$j;
+       var classof$5 = classof$b;
+       var isObject$e = isObject$r;
+       var create$9 = objectCreate;
+       var setPrototypeOf$1 = objectSetPrototypeOf;
+       var getOwnPropertyNames$2 = objectGetOwnPropertyNames.f;
+       var typedArrayFrom$1 = typedArrayFrom$2;
+       var forEach$1 = arrayIteration.forEach;
+       var setSpecies$2 = setSpecies$5;
+       var definePropertyModule$1 = objectDefineProperty;
+       var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor;
+       var InternalStateModule$3 = internalState;
+       var inheritIfRequired$3 = inheritIfRequired$4;
+
+       var getInternalState$1 = InternalStateModule$3.get;
+       var setInternalState$3 = InternalStateModule$3.set;
+       var nativeDefineProperty = definePropertyModule$1.f;
+       var nativeGetOwnPropertyDescriptor$1 = getOwnPropertyDescriptorModule$1.f;
        var round = Math.round;
        var round = Math.round;
-       var RangeError = global$2.RangeError;
-       var ArrayBuffer = arrayBuffer.ArrayBuffer;
-       var DataView = arrayBuffer.DataView;
-       var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
-       var TYPED_ARRAY_TAG = arrayBufferViewCore.TYPED_ARRAY_TAG;
-       var TypedArray = arrayBufferViewCore.TypedArray;
-       var TypedArrayPrototype = arrayBufferViewCore.TypedArrayPrototype;
-       var aTypedArrayConstructor = arrayBufferViewCore.aTypedArrayConstructor;
-       var isTypedArray = arrayBufferViewCore.isTypedArray;
+       var RangeError$1 = global$f.RangeError;
+       var ArrayBuffer$1 = ArrayBufferModule.ArrayBuffer;
+       var DataView$1 = ArrayBufferModule.DataView;
+       var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore$m.NATIVE_ARRAY_BUFFER_VIEWS;
+       var TYPED_ARRAY_TAG = ArrayBufferViewCore$m.TYPED_ARRAY_TAG;
+       var TypedArray = ArrayBufferViewCore$m.TypedArray;
+       var TypedArrayPrototype = ArrayBufferViewCore$m.TypedArrayPrototype;
+       var aTypedArrayConstructor$3 = ArrayBufferViewCore$m.aTypedArrayConstructor;
+       var isTypedArray = ArrayBufferViewCore$m.isTypedArray;
        var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';
        var WRONG_LENGTH = 'Wrong length';
 
        var fromList = function (C, list) {
          var index = 0;
          var length = list.length;
        var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';
        var WRONG_LENGTH = 'Wrong length';
 
        var fromList = function (C, list) {
          var index = 0;
          var length = list.length;
-         var result = new (aTypedArrayConstructor(C))(length);
+         var result = new (aTypedArrayConstructor$3(C))(length);
          while (length > index) result[index] = list[index++];
          return result;
        };
 
        var addGetter = function (it, key) {
          nativeDefineProperty(it, key, { get: function () {
          while (length > index) result[index] = list[index++];
          return result;
        };
 
        var addGetter = function (it, key) {
          nativeDefineProperty(it, key, { get: function () {
-           return getInternalState(this)[key];
+           return getInternalState$1(this)[key];
          } });
        };
 
        var isArrayBuffer = function (it) {
          var klass;
          } });
        };
 
        var isArrayBuffer = function (it) {
          var klass;
-         return it instanceof ArrayBuffer || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer';
+         return it instanceof ArrayBuffer$1 || (klass = classof$5(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer';
        };
 
        var isTypedArrayIndex = function (target, key) {
        };
 
        var isTypedArrayIndex = function (target, key) {
        };
 
        var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {
        };
 
        var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {
-         return isTypedArrayIndex(target, key = toPrimitive(key, true))
-           ? createPropertyDescriptor(2, target[key])
-           : nativeGetOwnPropertyDescriptor(target, key);
+         return isTypedArrayIndex(target, key = toPrimitive$3(key, true))
+           ? createPropertyDescriptor$2(2, target[key])
+           : nativeGetOwnPropertyDescriptor$1(target, key);
        };
 
        var wrappedDefineProperty = function defineProperty(target, key, descriptor) {
        };
 
        var wrappedDefineProperty = function defineProperty(target, key, descriptor) {
-         if (isTypedArrayIndex(target, key = toPrimitive(key, true))
-           && isObject$4(descriptor)
-           && has$1(descriptor, 'value')
-           && !has$1(descriptor, 'get')
-           && !has$1(descriptor, 'set')
+         if (isTypedArrayIndex(target, key = toPrimitive$3(key, true))
+           && isObject$e(descriptor)
+           && has$5(descriptor, 'value')
+           && !has$5(descriptor, 'get')
+           && !has$5(descriptor, 'set')
            // TODO: add validation descriptor w/o calling accessors
            && !descriptor.configurable
            // TODO: add validation descriptor w/o calling accessors
            && !descriptor.configurable
-           && (!has$1(descriptor, 'writable') || descriptor.writable)
-           && (!has$1(descriptor, 'enumerable') || descriptor.enumerable)
+           && (!has$5(descriptor, 'writable') || descriptor.writable)
+           && (!has$5(descriptor, 'enumerable') || descriptor.enumerable)
          ) {
            target[key] = descriptor.value;
            return target;
          } return nativeDefineProperty(target, key, descriptor);
        };
 
          ) {
            target[key] = descriptor.value;
            return target;
          } return nativeDefineProperty(target, key, descriptor);
        };
 
-       if (descriptors) {
+       if (DESCRIPTORS$c) {
          if (!NATIVE_ARRAY_BUFFER_VIEWS) {
          if (!NATIVE_ARRAY_BUFFER_VIEWS) {
-           objectGetOwnPropertyDescriptor.f = wrappedGetOwnPropertyDescriptor;
-           objectDefineProperty.f = wrappedDefineProperty;
+           getOwnPropertyDescriptorModule$1.f = wrappedGetOwnPropertyDescriptor;
+           definePropertyModule$1.f = wrappedDefineProperty;
            addGetter(TypedArrayPrototype, 'buffer');
            addGetter(TypedArrayPrototype, 'byteOffset');
            addGetter(TypedArrayPrototype, 'byteLength');
            addGetter(TypedArrayPrototype, 'length');
          }
 
            addGetter(TypedArrayPrototype, 'buffer');
            addGetter(TypedArrayPrototype, 'byteOffset');
            addGetter(TypedArrayPrototype, 'byteLength');
            addGetter(TypedArrayPrototype, 'length');
          }
 
-         _export({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
+         $$U({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
            getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,
            defineProperty: wrappedDefineProperty
          });
 
            getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,
            defineProperty: wrappedDefineProperty
          });
 
-         module.exports = function (TYPE, wrapper, CLAMPED) {
+         typedArrayConstructor.exports = function (TYPE, wrapper, CLAMPED) {
            var BYTES = TYPE.match(/\d+$/)[0] / 8;
            var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';
            var GETTER = 'get' + TYPE;
            var SETTER = 'set' + TYPE;
            var BYTES = TYPE.match(/\d+$/)[0] / 8;
            var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';
            var GETTER = 'get' + TYPE;
            var SETTER = 'set' + TYPE;
-           var NativeTypedArrayConstructor = global$2[CONSTRUCTOR_NAME];
+           var NativeTypedArrayConstructor = global$f[CONSTRUCTOR_NAME];
            var TypedArrayConstructor = NativeTypedArrayConstructor;
            var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;
            var exported = {};
 
            var getter = function (that, index) {
            var TypedArrayConstructor = NativeTypedArrayConstructor;
            var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;
            var exported = {};
 
            var getter = function (that, index) {
-             var data = getInternalState(that);
+             var data = getInternalState$1(that);
              return data.view[GETTER](index * BYTES + data.byteOffset, true);
            };
 
            var setter = function (that, index, value) {
              return data.view[GETTER](index * BYTES + data.byteOffset, true);
            };
 
            var setter = function (that, index, value) {
-             var data = getInternalState(that);
+             var data = getInternalState$1(that);
              if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;
              data.view[SETTER](index * BYTES + data.byteOffset, value, true);
            };
              if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;
              data.view[SETTER](index * BYTES + data.byteOffset, value, true);
            };
 
            if (!NATIVE_ARRAY_BUFFER_VIEWS) {
              TypedArrayConstructor = wrapper(function (that, data, offset, $length) {
 
            if (!NATIVE_ARRAY_BUFFER_VIEWS) {
              TypedArrayConstructor = wrapper(function (that, data, offset, $length) {
-               anInstance(that, TypedArrayConstructor, CONSTRUCTOR_NAME);
+               anInstance$4(that, TypedArrayConstructor, CONSTRUCTOR_NAME);
                var index = 0;
                var byteOffset = 0;
                var buffer, byteLength, length;
                var index = 0;
                var byteOffset = 0;
                var buffer, byteLength, length;
-               if (!isObject$4(data)) {
+               if (!isObject$e(data)) {
                  length = toIndex(data);
                  byteLength = length * BYTES;
                  length = toIndex(data);
                  byteLength = length * BYTES;
-                 buffer = new ArrayBuffer(byteLength);
+                 buffer = new ArrayBuffer$1(byteLength);
                } else if (isArrayBuffer(data)) {
                  buffer = data;
                } else if (isArrayBuffer(data)) {
                  buffer = data;
-                 byteOffset = toOffset(offset, BYTES);
+                 byteOffset = toOffset$1(offset, BYTES);
                  var $len = data.byteLength;
                  if ($length === undefined) {
                  var $len = data.byteLength;
                  if ($length === undefined) {
-                   if ($len % BYTES) throw RangeError(WRONG_LENGTH);
+                   if ($len % BYTES) throw RangeError$1(WRONG_LENGTH);
                    byteLength = $len - byteOffset;
                    byteLength = $len - byteOffset;
-                   if (byteLength < 0) throw RangeError(WRONG_LENGTH);
+                   if (byteLength < 0) throw RangeError$1(WRONG_LENGTH);
                  } else {
                  } else {
-                   byteLength = toLength($length) * BYTES;
-                   if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH);
+                   byteLength = toLength$h($length) * BYTES;
+                   if (byteLength + byteOffset > $len) throw RangeError$1(WRONG_LENGTH);
                  }
                  length = byteLength / BYTES;
                } else if (isTypedArray(data)) {
                  return fromList(TypedArrayConstructor, data);
                } else {
                  }
                  length = byteLength / BYTES;
                } else if (isTypedArray(data)) {
                  return fromList(TypedArrayConstructor, data);
                } else {
-                 return typedArrayFrom.call(TypedArrayConstructor, data);
+                 return typedArrayFrom$1.call(TypedArrayConstructor, data);
                }
                }
-               setInternalState(that, {
+               setInternalState$3(that, {
                  buffer: buffer,
                  byteOffset: byteOffset,
                  byteLength: byteLength,
                  length: length,
                  buffer: buffer,
                  byteOffset: byteOffset,
                  byteLength: byteLength,
                  length: length,
-                 view: new DataView(buffer)
+                 view: new DataView$1(buffer)
                });
                while (index < length) addElement(that, index++);
              });
 
                });
                while (index < length) addElement(that, index++);
              });
 
-             if (objectSetPrototypeOf) objectSetPrototypeOf(TypedArrayConstructor, TypedArray);
-             TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = objectCreate(TypedArrayPrototype);
-           } else if (typedArrayConstructorsRequireWrappers) {
+             if (setPrototypeOf$1) setPrototypeOf$1(TypedArrayConstructor, TypedArray);
+             TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create$9(TypedArrayPrototype);
+           } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS$1) {
              TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {
              TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {
-               anInstance(dummy, TypedArrayConstructor, CONSTRUCTOR_NAME);
-               return inheritIfRequired(function () {
-                 if (!isObject$4(data)) return new NativeTypedArrayConstructor(toIndex(data));
+               anInstance$4(dummy, TypedArrayConstructor, CONSTRUCTOR_NAME);
+               return inheritIfRequired$3(function () {
+                 if (!isObject$e(data)) return new NativeTypedArrayConstructor(toIndex(data));
                  if (isArrayBuffer(data)) return $length !== undefined
                  if (isArrayBuffer(data)) return $length !== undefined
-                   ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length)
+                   ? new NativeTypedArrayConstructor(data, toOffset$1(typedArrayOffset, BYTES), $length)
                    : typedArrayOffset !== undefined
                    : typedArrayOffset !== undefined
-                     ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES))
+                     ? new NativeTypedArrayConstructor(data, toOffset$1(typedArrayOffset, BYTES))
                      : new NativeTypedArrayConstructor(data);
                  if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);
                      : new NativeTypedArrayConstructor(data);
                  if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);
-                 return typedArrayFrom.call(TypedArrayConstructor, data);
+                 return typedArrayFrom$1.call(TypedArrayConstructor, data);
                }(), dummy, TypedArrayConstructor);
              });
 
                }(), dummy, TypedArrayConstructor);
              });
 
-             if (objectSetPrototypeOf) objectSetPrototypeOf(TypedArrayConstructor, TypedArray);
-             forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {
+             if (setPrototypeOf$1) setPrototypeOf$1(TypedArrayConstructor, TypedArray);
+             forEach$1(getOwnPropertyNames$2(NativeTypedArrayConstructor), function (key) {
                if (!(key in TypedArrayConstructor)) {
                if (!(key in TypedArrayConstructor)) {
-                 createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);
+                 createNonEnumerableProperty$2(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);
                }
              });
              TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;
            }
 
            if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {
                }
              });
              TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;
            }
 
            if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {
-             createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);
+             createNonEnumerableProperty$2(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);
            }
 
            if (TYPED_ARRAY_TAG) {
            }
 
            if (TYPED_ARRAY_TAG) {
-             createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);
+             createNonEnumerableProperty$2(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);
            }
 
            exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;
 
            }
 
            exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;
 
-           _export({
+           $$U({
              global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS
            }, exported);
 
            if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {
              global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS
            }, exported);
 
            if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {
-             createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);
+             createNonEnumerableProperty$2(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);
            }
 
            if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {
            }
 
            if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {
-             createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);
+             createNonEnumerableProperty$2(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);
            }
 
            }
 
-           setSpecies(CONSTRUCTOR_NAME);
+           setSpecies$2(CONSTRUCTOR_NAME);
          };
          };
-       } else module.exports = function () { /* empty */ };
-       });
+       } else typedArrayConstructor.exports = function () { /* empty */ };
+
+       var createTypedArrayConstructor$1 = typedArrayConstructor.exports;
 
        // `Uint8Array` constructor
        // https://tc39.es/ecma262/#sec-typedarray-objects
 
        // `Uint8Array` constructor
        // https://tc39.es/ecma262/#sec-typedarray-objects
-       typedArrayConstructor('Uint8', function (init) {
+       createTypedArrayConstructor$1('Uint8', function (init) {
          return function Uint8Array(data, byteOffset, length) {
            return init(this, data, byteOffset, length);
          };
        });
 
          return function Uint8Array(data, byteOffset, length) {
            return init(this, data, byteOffset, length);
          };
        });
 
+       var toObject$b = toObject$i;
+       var toAbsoluteIndex$4 = toAbsoluteIndex$8;
+       var toLength$g = toLength$q;
+
        var min$7 = Math.min;
 
        // `Array.prototype.copyWithin` method implementation
        // https://tc39.es/ecma262/#sec-array.prototype.copywithin
        // eslint-disable-next-line es/no-array-prototype-copywithin -- safe
        var arrayCopyWithin = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {
        var min$7 = Math.min;
 
        // `Array.prototype.copyWithin` method implementation
        // https://tc39.es/ecma262/#sec-array.prototype.copywithin
        // eslint-disable-next-line es/no-array-prototype-copywithin -- safe
        var arrayCopyWithin = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {
-         var O = toObject(this);
-         var len = toLength(O.length);
-         var to = toAbsoluteIndex(target, len);
-         var from = toAbsoluteIndex(start, len);
+         var O = toObject$b(this);
+         var len = toLength$g(O.length);
+         var to = toAbsoluteIndex$4(target, len);
+         var from = toAbsoluteIndex$4(start, len);
          var end = arguments.length > 2 ? arguments[2] : undefined;
          var end = arguments.length > 2 ? arguments[2] : undefined;
-         var count = min$7((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);
+         var count = min$7((end === undefined ? len : toAbsoluteIndex$4(end, len)) - from, len - to);
          var inc = 1;
          if (from < to && to < from + count) {
            inc = -1;
          var inc = 1;
          if (from < to && to < from + count) {
            inc = -1;
          } return O;
        };
 
          } return O;
        };
 
-       var aTypedArray$l = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$m = arrayBufferViewCore.exportTypedArrayMethod;
+       var ArrayBufferViewCore$l = arrayBufferViewCore;
+       var $copyWithin = arrayCopyWithin;
+
+       var aTypedArray$l = ArrayBufferViewCore$l.aTypedArray;
+       var exportTypedArrayMethod$m = ArrayBufferViewCore$l.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.copyWithin` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin
        exportTypedArrayMethod$m('copyWithin', function copyWithin(target, start /* , end */) {
 
        // `%TypedArray%.prototype.copyWithin` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin
        exportTypedArrayMethod$m('copyWithin', function copyWithin(target, start /* , end */) {
-         return arrayCopyWithin.call(aTypedArray$l(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
+         return $copyWithin.call(aTypedArray$l(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
        });
 
        });
 
+       var ArrayBufferViewCore$k = arrayBufferViewCore;
        var $every$1 = arrayIteration.every;
 
        var $every$1 = arrayIteration.every;
 
-       var aTypedArray$k = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$l = arrayBufferViewCore.exportTypedArrayMethod;
+       var aTypedArray$k = ArrayBufferViewCore$k.aTypedArray;
+       var exportTypedArrayMethod$l = ArrayBufferViewCore$k.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.every` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.every
 
        // `%TypedArray%.prototype.every` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.every
          return $every$1(aTypedArray$k(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        });
 
          return $every$1(aTypedArray$k(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        });
 
-       var aTypedArray$j = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$k = arrayBufferViewCore.exportTypedArrayMethod;
+       var ArrayBufferViewCore$j = arrayBufferViewCore;
+       var $fill = arrayFill$1;
+
+       var aTypedArray$j = ArrayBufferViewCore$j.aTypedArray;
+       var exportTypedArrayMethod$k = ArrayBufferViewCore$j.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.fill` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill
        // eslint-disable-next-line no-unused-vars -- required for `.length`
        exportTypedArrayMethod$k('fill', function fill(value /* , start, end */) {
 
        // `%TypedArray%.prototype.fill` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill
        // eslint-disable-next-line no-unused-vars -- required for `.length`
        exportTypedArrayMethod$k('fill', function fill(value /* , start, end */) {
-         return arrayFill.apply(aTypedArray$j(this), arguments);
+         return $fill.apply(aTypedArray$j(this), arguments);
        });
 
        var aTypedArrayConstructor$2 = arrayBufferViewCore.aTypedArrayConstructor;
        });
 
        var aTypedArrayConstructor$2 = arrayBufferViewCore.aTypedArrayConstructor;
-
+       var speciesConstructor$5 = speciesConstructor$8;
 
        var typedArrayFromSpeciesAndList = function (instance, list) {
 
        var typedArrayFromSpeciesAndList = function (instance, list) {
-         var C = speciesConstructor(instance, instance.constructor);
+         var C = speciesConstructor$5(instance, instance.constructor);
          var index = 0;
          var length = list.length;
          var result = new (aTypedArrayConstructor$2(C))(length);
          var index = 0;
          var length = list.length;
          var result = new (aTypedArrayConstructor$2(C))(length);
          return result;
        };
 
          return result;
        };
 
+       var ArrayBufferViewCore$i = arrayBufferViewCore;
        var $filter$1 = arrayIteration.filter;
        var $filter$1 = arrayIteration.filter;
+       var fromSpeciesAndList = typedArrayFromSpeciesAndList;
 
 
-
-       var aTypedArray$i = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$j = arrayBufferViewCore.exportTypedArrayMethod;
+       var aTypedArray$i = ArrayBufferViewCore$i.aTypedArray;
+       var exportTypedArrayMethod$j = ArrayBufferViewCore$i.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.filter` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter
        exportTypedArrayMethod$j('filter', function filter(callbackfn /* , thisArg */) {
          var list = $filter$1(aTypedArray$i(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
 
        // `%TypedArray%.prototype.filter` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter
        exportTypedArrayMethod$j('filter', function filter(callbackfn /* , thisArg */) {
          var list = $filter$1(aTypedArray$i(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
-         return typedArrayFromSpeciesAndList(this, list);
+         return fromSpeciesAndList(this, list);
        });
 
        });
 
+       var ArrayBufferViewCore$h = arrayBufferViewCore;
        var $find$1 = arrayIteration.find;
 
        var $find$1 = arrayIteration.find;
 
-       var aTypedArray$h = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$i = arrayBufferViewCore.exportTypedArrayMethod;
+       var aTypedArray$h = ArrayBufferViewCore$h.aTypedArray;
+       var exportTypedArrayMethod$i = ArrayBufferViewCore$h.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.find` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.find
 
        // `%TypedArray%.prototype.find` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.find
          return $find$1(aTypedArray$h(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
        });
 
          return $find$1(aTypedArray$h(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
        });
 
+       var ArrayBufferViewCore$g = arrayBufferViewCore;
        var $findIndex$1 = arrayIteration.findIndex;
 
        var $findIndex$1 = arrayIteration.findIndex;
 
-       var aTypedArray$g = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$h = arrayBufferViewCore.exportTypedArrayMethod;
+       var aTypedArray$g = ArrayBufferViewCore$g.aTypedArray;
+       var exportTypedArrayMethod$h = ArrayBufferViewCore$g.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.findIndex` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex
 
        // `%TypedArray%.prototype.findIndex` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex
          return $findIndex$1(aTypedArray$g(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
        });
 
          return $findIndex$1(aTypedArray$g(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
        });
 
+       var ArrayBufferViewCore$f = arrayBufferViewCore;
        var $forEach = arrayIteration.forEach;
 
        var $forEach = arrayIteration.forEach;
 
-       var aTypedArray$f = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$g = arrayBufferViewCore.exportTypedArrayMethod;
+       var aTypedArray$f = ArrayBufferViewCore$f.aTypedArray;
+       var exportTypedArrayMethod$g = ArrayBufferViewCore$f.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.forEach` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach
 
        // `%TypedArray%.prototype.forEach` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach
          $forEach(aTypedArray$f(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        });
 
          $forEach(aTypedArray$f(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        });
 
+       var ArrayBufferViewCore$e = arrayBufferViewCore;
        var $includes$1 = arrayIncludes.includes;
 
        var $includes$1 = arrayIncludes.includes;
 
-       var aTypedArray$e = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$f = arrayBufferViewCore.exportTypedArrayMethod;
+       var aTypedArray$e = ArrayBufferViewCore$e.aTypedArray;
+       var exportTypedArrayMethod$f = ArrayBufferViewCore$e.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.includes` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes
 
        // `%TypedArray%.prototype.includes` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes
          return $includes$1(aTypedArray$e(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
        });
 
          return $includes$1(aTypedArray$e(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
        });
 
+       var ArrayBufferViewCore$d = arrayBufferViewCore;
        var $indexOf = arrayIncludes.indexOf;
 
        var $indexOf = arrayIncludes.indexOf;
 
-       var aTypedArray$d = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$e = arrayBufferViewCore.exportTypedArrayMethod;
+       var aTypedArray$d = ArrayBufferViewCore$d.aTypedArray;
+       var exportTypedArrayMethod$e = ArrayBufferViewCore$d.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.indexOf` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof
 
        // `%TypedArray%.prototype.indexOf` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof
          return $indexOf(aTypedArray$d(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
        });
 
          return $indexOf(aTypedArray$d(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
        });
 
-       var ITERATOR$2 = wellKnownSymbol('iterator');
-       var Uint8Array$2 = global$2.Uint8Array;
-       var arrayValues = es_array_iterator.values;
-       var arrayKeys = es_array_iterator.keys;
-       var arrayEntries = es_array_iterator.entries;
-       var aTypedArray$c = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$d = arrayBufferViewCore.exportTypedArrayMethod;
+       var global$e = global$F;
+       var ArrayBufferViewCore$c = arrayBufferViewCore;
+       var ArrayIterators = es_array_iterator;
+       var wellKnownSymbol$9 = wellKnownSymbol$s;
+
+       var ITERATOR$2 = wellKnownSymbol$9('iterator');
+       var Uint8Array$2 = global$e.Uint8Array;
+       var arrayValues = ArrayIterators.values;
+       var arrayKeys = ArrayIterators.keys;
+       var arrayEntries = ArrayIterators.entries;
+       var aTypedArray$c = ArrayBufferViewCore$c.aTypedArray;
+       var exportTypedArrayMethod$d = ArrayBufferViewCore$c.exportTypedArrayMethod;
        var nativeTypedArrayIterator = Uint8Array$2 && Uint8Array$2.prototype[ITERATOR$2];
 
        var CORRECT_ITER_NAME = !!nativeTypedArrayIterator
        var nativeTypedArrayIterator = Uint8Array$2 && Uint8Array$2.prototype[ITERATOR$2];
 
        var CORRECT_ITER_NAME = !!nativeTypedArrayIterator
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator
        exportTypedArrayMethod$d(ITERATOR$2, typedArrayValues, !CORRECT_ITER_NAME);
 
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator
        exportTypedArrayMethod$d(ITERATOR$2, typedArrayValues, !CORRECT_ITER_NAME);
 
-       var aTypedArray$b = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$c = arrayBufferViewCore.exportTypedArrayMethod;
+       var ArrayBufferViewCore$b = arrayBufferViewCore;
+
+       var aTypedArray$b = ArrayBufferViewCore$b.aTypedArray;
+       var exportTypedArrayMethod$c = ArrayBufferViewCore$b.exportTypedArrayMethod;
        var $join = [].join;
 
        // `%TypedArray%.prototype.join` method
        var $join = [].join;
 
        // `%TypedArray%.prototype.join` method
        });
 
        /* eslint-disable es/no-array-prototype-lastindexof -- safe */
        });
 
        /* eslint-disable es/no-array-prototype-lastindexof -- safe */
-
-
-
-
+       var toIndexedObject$4 = toIndexedObject$b;
+       var toInteger$4 = toInteger$b;
+       var toLength$f = toLength$q;
+       var arrayMethodIsStrict$5 = arrayMethodIsStrict$8;
 
        var min$6 = Math.min;
 
        var min$6 = Math.min;
-       var $lastIndexOf = [].lastIndexOf;
-       var NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;
-       var STRICT_METHOD$5 = arrayMethodIsStrict('lastIndexOf');
+       var $lastIndexOf$1 = [].lastIndexOf;
+       var NEGATIVE_ZERO = !!$lastIndexOf$1 && 1 / [1].lastIndexOf(1, -0) < 0;
+       var STRICT_METHOD$5 = arrayMethodIsStrict$5('lastIndexOf');
        var FORCED$e = NEGATIVE_ZERO || !STRICT_METHOD$5;
 
        // `Array.prototype.lastIndexOf` method implementation
        // https://tc39.es/ecma262/#sec-array.prototype.lastindexof
        var arrayLastIndexOf = FORCED$e ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {
          // convert -0 to +0
        var FORCED$e = NEGATIVE_ZERO || !STRICT_METHOD$5;
 
        // `Array.prototype.lastIndexOf` method implementation
        // https://tc39.es/ecma262/#sec-array.prototype.lastindexof
        var arrayLastIndexOf = FORCED$e ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {
          // convert -0 to +0
-         if (NEGATIVE_ZERO) return $lastIndexOf.apply(this, arguments) || 0;
-         var O = toIndexedObject(this);
-         var length = toLength(O.length);
+         if (NEGATIVE_ZERO) return $lastIndexOf$1.apply(this, arguments) || 0;
+         var O = toIndexedObject$4(this);
+         var length = toLength$f(O.length);
          var index = length - 1;
          var index = length - 1;
-         if (arguments.length > 1) index = min$6(index, toInteger(arguments[1]));
+         if (arguments.length > 1) index = min$6(index, toInteger$4(arguments[1]));
          if (index < 0) index = length + index;
          for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;
          return -1;
          if (index < 0) index = length + index;
          for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;
          return -1;
-       } : $lastIndexOf;
+       } : $lastIndexOf$1;
 
 
-       var aTypedArray$a = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$b = arrayBufferViewCore.exportTypedArrayMethod;
+       var ArrayBufferViewCore$a = arrayBufferViewCore;
+       var $lastIndexOf = arrayLastIndexOf;
+
+       var aTypedArray$a = ArrayBufferViewCore$a.aTypedArray;
+       var exportTypedArrayMethod$b = ArrayBufferViewCore$a.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.lastIndexOf` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof
        // eslint-disable-next-line no-unused-vars -- required for `.length`
        exportTypedArrayMethod$b('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {
 
        // `%TypedArray%.prototype.lastIndexOf` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof
        // eslint-disable-next-line no-unused-vars -- required for `.length`
        exportTypedArrayMethod$b('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {
-         return arrayLastIndexOf.apply(aTypedArray$a(this), arguments);
+         return $lastIndexOf.apply(aTypedArray$a(this), arguments);
        });
 
        });
 
+       var ArrayBufferViewCore$9 = arrayBufferViewCore;
        var $map = arrayIteration.map;
        var $map = arrayIteration.map;
+       var speciesConstructor$4 = speciesConstructor$8;
 
 
-
-       var aTypedArray$9 = arrayBufferViewCore.aTypedArray;
-       var aTypedArrayConstructor$1 = arrayBufferViewCore.aTypedArrayConstructor;
-       var exportTypedArrayMethod$a = arrayBufferViewCore.exportTypedArrayMethod;
+       var aTypedArray$9 = ArrayBufferViewCore$9.aTypedArray;
+       var aTypedArrayConstructor$1 = ArrayBufferViewCore$9.aTypedArrayConstructor;
+       var exportTypedArrayMethod$a = ArrayBufferViewCore$9.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.map` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.map
        exportTypedArrayMethod$a('map', function map(mapfn /* , thisArg */) {
          return $map(aTypedArray$9(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {
 
        // `%TypedArray%.prototype.map` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.map
        exportTypedArrayMethod$a('map', function map(mapfn /* , thisArg */) {
          return $map(aTypedArray$9(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {
-           return new (aTypedArrayConstructor$1(speciesConstructor(O, O.constructor)))(length);
+           return new (aTypedArrayConstructor$1(speciesConstructor$4(O, O.constructor)))(length);
          });
        });
 
          });
        });
 
+       var aFunction$4 = aFunction$9;
+       var toObject$a = toObject$i;
+       var IndexedObject$2 = indexedObject;
+       var toLength$e = toLength$q;
+
        // `Array.prototype.{ reduce, reduceRight }` methods implementation
        var createMethod$3 = function (IS_RIGHT) {
          return function (that, callbackfn, argumentsLength, memo) {
        // `Array.prototype.{ reduce, reduceRight }` methods implementation
        var createMethod$3 = function (IS_RIGHT) {
          return function (that, callbackfn, argumentsLength, memo) {
-           aFunction(callbackfn);
-           var O = toObject(that);
-           var self = indexedObject(O);
-           var length = toLength(O.length);
+           aFunction$4(callbackfn);
+           var O = toObject$a(that);
+           var self = IndexedObject$2(O);
+           var length = toLength$e(O.length);
            var index = IS_RIGHT ? length - 1 : 0;
            var i = IS_RIGHT ? -1 : 1;
            if (argumentsLength < 2) while (true) {
            var index = IS_RIGHT ? length - 1 : 0;
            var i = IS_RIGHT ? -1 : 1;
            if (argumentsLength < 2) while (true) {
          right: createMethod$3(true)
        };
 
          right: createMethod$3(true)
        };
 
+       var ArrayBufferViewCore$8 = arrayBufferViewCore;
        var $reduce$1 = arrayReduce.left;
 
        var $reduce$1 = arrayReduce.left;
 
-       var aTypedArray$8 = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$9 = arrayBufferViewCore.exportTypedArrayMethod;
+       var aTypedArray$8 = ArrayBufferViewCore$8.aTypedArray;
+       var exportTypedArrayMethod$9 = ArrayBufferViewCore$8.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.reduce` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce
 
        // `%TypedArray%.prototype.reduce` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce
          return $reduce$1(aTypedArray$8(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
        });
 
          return $reduce$1(aTypedArray$8(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
        });
 
+       var ArrayBufferViewCore$7 = arrayBufferViewCore;
        var $reduceRight = arrayReduce.right;
 
        var $reduceRight = arrayReduce.right;
 
-       var aTypedArray$7 = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$8 = arrayBufferViewCore.exportTypedArrayMethod;
+       var aTypedArray$7 = ArrayBufferViewCore$7.aTypedArray;
+       var exportTypedArrayMethod$8 = ArrayBufferViewCore$7.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.reduceRicht` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright
 
        // `%TypedArray%.prototype.reduceRicht` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright
          return $reduceRight(aTypedArray$7(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
        });
 
          return $reduceRight(aTypedArray$7(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
        });
 
-       var aTypedArray$6 = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$7 = arrayBufferViewCore.exportTypedArrayMethod;
+       var ArrayBufferViewCore$6 = arrayBufferViewCore;
+
+       var aTypedArray$6 = ArrayBufferViewCore$6.aTypedArray;
+       var exportTypedArrayMethod$7 = ArrayBufferViewCore$6.exportTypedArrayMethod;
        var floor$5 = Math.floor;
 
        // `%TypedArray%.prototype.reverse` method
        var floor$5 = Math.floor;
 
        // `%TypedArray%.prototype.reverse` method
          } return that;
        });
 
          } return that;
        });
 
-       var aTypedArray$5 = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$6 = arrayBufferViewCore.exportTypedArrayMethod;
+       var ArrayBufferViewCore$5 = arrayBufferViewCore;
+       var toLength$d = toLength$q;
+       var toOffset = toOffset$2;
+       var toObject$9 = toObject$i;
+       var fails$x = fails$N;
 
 
-       var FORCED$d = fails(function () {
+       var aTypedArray$5 = ArrayBufferViewCore$5.aTypedArray;
+       var exportTypedArrayMethod$6 = ArrayBufferViewCore$5.exportTypedArrayMethod;
+
+       var FORCED$d = fails$x(function () {
          // eslint-disable-next-line es/no-typed-arrays -- required for testing
          new Int8Array(1).set({});
        });
          // eslint-disable-next-line es/no-typed-arrays -- required for testing
          new Int8Array(1).set({});
        });
          aTypedArray$5(this);
          var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);
          var length = this.length;
          aTypedArray$5(this);
          var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);
          var length = this.length;
-         var src = toObject(arrayLike);
-         var len = toLength(src.length);
+         var src = toObject$9(arrayLike);
+         var len = toLength$d(src.length);
          var index = 0;
          if (len + offset > length) throw RangeError('Wrong length');
          while (index < len) this[offset + index] = src[index++];
        }, FORCED$d);
 
          var index = 0;
          if (len + offset > length) throw RangeError('Wrong length');
          while (index < len) this[offset + index] = src[index++];
        }, FORCED$d);
 
-       var aTypedArray$4 = arrayBufferViewCore.aTypedArray;
-       var aTypedArrayConstructor = arrayBufferViewCore.aTypedArrayConstructor;
-       var exportTypedArrayMethod$5 = arrayBufferViewCore.exportTypedArrayMethod;
+       var ArrayBufferViewCore$4 = arrayBufferViewCore;
+       var speciesConstructor$3 = speciesConstructor$8;
+       var fails$w = fails$N;
+
+       var aTypedArray$4 = ArrayBufferViewCore$4.aTypedArray;
+       var aTypedArrayConstructor = ArrayBufferViewCore$4.aTypedArrayConstructor;
+       var exportTypedArrayMethod$5 = ArrayBufferViewCore$4.exportTypedArrayMethod;
        var $slice$1 = [].slice;
 
        var $slice$1 = [].slice;
 
-       var FORCED$c = fails(function () {
+       var FORCED$c = fails$w(function () {
          // eslint-disable-next-line es/no-typed-arrays -- required for testing
          new Int8Array(1).slice();
        });
          // eslint-disable-next-line es/no-typed-arrays -- required for testing
          new Int8Array(1).slice();
        });
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice
        exportTypedArrayMethod$5('slice', function slice(start, end) {
          var list = $slice$1.call(aTypedArray$4(this), start, end);
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice
        exportTypedArrayMethod$5('slice', function slice(start, end) {
          var list = $slice$1.call(aTypedArray$4(this), start, end);
-         var C = speciesConstructor(this, this.constructor);
+         var C = speciesConstructor$3(this, this.constructor);
          var index = 0;
          var length = list.length;
          var result = new (aTypedArrayConstructor(C))(length);
          var index = 0;
          var length = list.length;
          var result = new (aTypedArrayConstructor(C))(length);
          return result;
        }, FORCED$c);
 
          return result;
        }, FORCED$c);
 
+       var ArrayBufferViewCore$3 = arrayBufferViewCore;
        var $some$1 = arrayIteration.some;
 
        var $some$1 = arrayIteration.some;
 
-       var aTypedArray$3 = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$4 = arrayBufferViewCore.exportTypedArrayMethod;
+       var aTypedArray$3 = ArrayBufferViewCore$3.aTypedArray;
+       var exportTypedArrayMethod$4 = ArrayBufferViewCore$3.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.some` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.some
 
        // `%TypedArray%.prototype.some` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.some
 
        var arraySort = mergeSort;
 
 
        var arraySort = mergeSort;
 
-       var firefox = engineUserAgent.match(/firefox\/(\d+)/i);
+       var userAgent$2 = engineUserAgent;
+
+       var firefox = userAgent$2.match(/firefox\/(\d+)/i);
 
        var engineFfVersion = !!firefox && +firefox[1];
 
 
        var engineFfVersion = !!firefox && +firefox[1];
 
-       var engineIsIeOrEdge = /MSIE|Trident/.test(engineUserAgent);
+       var UA = engineUserAgent;
+
+       var engineIsIeOrEdge = /MSIE|Trident/.test(UA);
+
+       var userAgent$1 = engineUserAgent;
 
 
-       var webkit = engineUserAgent.match(/AppleWebKit\/(\d+)\./);
+       var webkit = userAgent$1.match(/AppleWebKit\/(\d+)\./);
 
        var engineWebkitVersion = !!webkit && +webkit[1];
 
 
        var engineWebkitVersion = !!webkit && +webkit[1];
 
-       var aTypedArray$2 = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$3 = arrayBufferViewCore.exportTypedArrayMethod;
-       var Uint16Array = global$2.Uint16Array;
+       var ArrayBufferViewCore$2 = arrayBufferViewCore;
+       var global$d = global$F;
+       var fails$v = fails$N;
+       var aFunction$3 = aFunction$9;
+       var toLength$c = toLength$q;
+       var internalSort$1 = arraySort;
+       var FF$1 = engineFfVersion;
+       var IE_OR_EDGE$1 = engineIsIeOrEdge;
+       var V8$1 = engineV8Version;
+       var WEBKIT$1 = engineWebkitVersion;
+
+       var aTypedArray$2 = ArrayBufferViewCore$2.aTypedArray;
+       var exportTypedArrayMethod$3 = ArrayBufferViewCore$2.exportTypedArrayMethod;
+       var Uint16Array = global$d.Uint16Array;
        var nativeSort$1 = Uint16Array && Uint16Array.prototype.sort;
 
        // WebKit
        var nativeSort$1 = Uint16Array && Uint16Array.prototype.sort;
 
        // WebKit
-       var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort$1 && !fails(function () {
+       var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort$1 && !fails$v(function () {
          var array = new Uint16Array(2);
          array.sort(null);
          array.sort({});
        });
 
          var array = new Uint16Array(2);
          array.sort(null);
          array.sort({});
        });
 
-       var STABLE_SORT$1 = !!nativeSort$1 && !fails(function () {
+       var STABLE_SORT$1 = !!nativeSort$1 && !fails$v(function () {
          // feature detection can be too slow, so check engines versions
          // feature detection can be too slow, so check engines versions
-         if (engineV8Version) return engineV8Version < 74;
-         if (engineFfVersion) return engineFfVersion < 67;
-         if (engineIsIeOrEdge) return true;
-         if (engineWebkitVersion) return engineWebkitVersion < 602;
+         if (V8$1) return V8$1 < 74;
+         if (FF$1) return FF$1 < 67;
+         if (IE_OR_EDGE$1) return true;
+         if (WEBKIT$1) return WEBKIT$1 < 602;
 
          var array = new Uint16Array(516);
          var expected = Array(516);
 
          var array = new Uint16Array(516);
          var expected = Array(516);
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort
        exportTypedArrayMethod$3('sort', function sort(comparefn) {
          var array = this;
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort
        exportTypedArrayMethod$3('sort', function sort(comparefn) {
          var array = this;
-         if (comparefn !== undefined) aFunction(comparefn);
+         if (comparefn !== undefined) aFunction$3(comparefn);
          if (STABLE_SORT$1) return nativeSort$1.call(array, comparefn);
 
          aTypedArray$2(array);
          if (STABLE_SORT$1) return nativeSort$1.call(array, comparefn);
 
          aTypedArray$2(array);
-         var arrayLength = toLength(array.length);
+         var arrayLength = toLength$c(array.length);
          var items = Array(arrayLength);
          var index;
 
          var items = Array(arrayLength);
          var index;
 
            items[index] = array[index];
          }
 
            items[index] = array[index];
          }
 
-         items = arraySort(array, getSortCompare$1(comparefn));
+         items = internalSort$1(array, getSortCompare$1(comparefn));
 
          for (index = 0; index < arrayLength; index++) {
            array[index] = items[index];
 
          for (index = 0; index < arrayLength; index++) {
            array[index] = items[index];
          return array;
        }, !STABLE_SORT$1 || ACCEPT_INCORRECT_ARGUMENTS);
 
          return array;
        }, !STABLE_SORT$1 || ACCEPT_INCORRECT_ARGUMENTS);
 
-       var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$2 = arrayBufferViewCore.exportTypedArrayMethod;
+       var ArrayBufferViewCore$1 = arrayBufferViewCore;
+       var toLength$b = toLength$q;
+       var toAbsoluteIndex$3 = toAbsoluteIndex$8;
+       var speciesConstructor$2 = speciesConstructor$8;
+
+       var aTypedArray$1 = ArrayBufferViewCore$1.aTypedArray;
+       var exportTypedArrayMethod$2 = ArrayBufferViewCore$1.exportTypedArrayMethod;
 
        // `%TypedArray%.prototype.subarray` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray
        exportTypedArrayMethod$2('subarray', function subarray(begin, end) {
          var O = aTypedArray$1(this);
          var length = O.length;
 
        // `%TypedArray%.prototype.subarray` method
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray
        exportTypedArrayMethod$2('subarray', function subarray(begin, end) {
          var O = aTypedArray$1(this);
          var length = O.length;
-         var beginIndex = toAbsoluteIndex(begin, length);
-         return new (speciesConstructor(O, O.constructor))(
+         var beginIndex = toAbsoluteIndex$3(begin, length);
+         return new (speciesConstructor$2(O, O.constructor))(
            O.buffer,
            O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT,
            O.buffer,
            O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT,
-           toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex)
+           toLength$b((end === undefined ? length : toAbsoluteIndex$3(end, length)) - beginIndex)
          );
        });
 
          );
        });
 
-       var Int8Array$1 = global$2.Int8Array;
-       var aTypedArray = arrayBufferViewCore.aTypedArray;
-       var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
+       var global$c = global$F;
+       var ArrayBufferViewCore = arrayBufferViewCore;
+       var fails$u = fails$N;
+
+       var Int8Array$1 = global$c.Int8Array;
+       var aTypedArray = ArrayBufferViewCore.aTypedArray;
+       var exportTypedArrayMethod$1 = ArrayBufferViewCore.exportTypedArrayMethod;
        var $toLocaleString = [].toLocaleString;
        var $slice = [].slice;
 
        // iOS Safari 6.x fails here
        var $toLocaleString = [].toLocaleString;
        var $slice = [].slice;
 
        // iOS Safari 6.x fails here
-       var TO_LOCALE_STRING_BUG = !!Int8Array$1 && fails(function () {
+       var TO_LOCALE_STRING_BUG = !!Int8Array$1 && fails$u(function () {
          $toLocaleString.call(new Int8Array$1(1));
        });
 
          $toLocaleString.call(new Int8Array$1(1));
        });
 
-       var FORCED$b = fails(function () {
+       var FORCED$b = fails$u(function () {
          return [1, 2].toLocaleString() != new Int8Array$1([1, 2]).toLocaleString();
          return [1, 2].toLocaleString() != new Int8Array$1([1, 2]).toLocaleString();
-       }) || !fails(function () {
+       }) || !fails$u(function () {
          Int8Array$1.prototype.toLocaleString.call([1, 2]);
        });
 
          Int8Array$1.prototype.toLocaleString.call([1, 2]);
        });
 
        }, FORCED$b);
 
        var exportTypedArrayMethod = arrayBufferViewCore.exportTypedArrayMethod;
        }, FORCED$b);
 
        var exportTypedArrayMethod = arrayBufferViewCore.exportTypedArrayMethod;
+       var fails$t = fails$N;
+       var global$b = global$F;
 
 
-
-
-       var Uint8Array$1 = global$2.Uint8Array;
+       var Uint8Array$1 = global$b.Uint8Array;
        var Uint8ArrayPrototype = Uint8Array$1 && Uint8Array$1.prototype || {};
        var arrayToString = [].toString;
        var arrayJoin = [].join;
 
        var Uint8ArrayPrototype = Uint8Array$1 && Uint8Array$1.prototype || {};
        var arrayToString = [].toString;
        var arrayJoin = [].join;
 
-       if (fails(function () { arrayToString.call({}); })) {
+       if (fails$t(function () { arrayToString.call({}); })) {
          arrayToString = function toString() {
            return arrayJoin.call(this);
          };
          arrayToString = function toString() {
            return arrayJoin.call(this);
          };
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring
        exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);
 
        // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring
        exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);
 
+       var $$T = _export;
+       var IndexedObject$1 = indexedObject;
+       var toIndexedObject$3 = toIndexedObject$b;
+       var arrayMethodIsStrict$4 = arrayMethodIsStrict$8;
+
        var nativeJoin = [].join;
 
        var nativeJoin = [].join;
 
-       var ES3_STRINGS = indexedObject != Object;
-       var STRICT_METHOD$4 = arrayMethodIsStrict('join', ',');
+       var ES3_STRINGS = IndexedObject$1 != Object;
+       var STRICT_METHOD$4 = arrayMethodIsStrict$4('join', ',');
 
        // `Array.prototype.join` method
        // https://tc39.es/ecma262/#sec-array.prototype.join
 
        // `Array.prototype.join` method
        // https://tc39.es/ecma262/#sec-array.prototype.join
-       _export({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$4 }, {
+       $$T({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$4 }, {
          join: function join(separator) {
          join: function join(separator) {
-           return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);
+           return nativeJoin.call(toIndexedObject$3(this), separator === undefined ? ',' : separator);
          }
        });
 
          }
        });
 
-       var createProperty = function (object, key, value) {
-         var propertyKey = toPrimitive(key);
-         if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
+       var toPrimitive$2 = toPrimitive$7;
+       var definePropertyModule = objectDefineProperty;
+       var createPropertyDescriptor$1 = createPropertyDescriptor$7;
+
+       var createProperty$4 = function (object, key, value) {
+         var propertyKey = toPrimitive$2(key);
+         if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor$1(0, value));
          else object[propertyKey] = value;
        };
 
          else object[propertyKey] = value;
        };
 
-       var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport('slice');
+       var $$S = _export;
+       var isObject$d = isObject$r;
+       var isArray$2 = isArray$6;
+       var toAbsoluteIndex$2 = toAbsoluteIndex$8;
+       var toLength$a = toLength$q;
+       var toIndexedObject$2 = toIndexedObject$b;
+       var createProperty$3 = createProperty$4;
+       var wellKnownSymbol$8 = wellKnownSymbol$s;
+       var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$5;
 
 
-       var SPECIES$1 = wellKnownSymbol('species');
+       var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$3('slice');
+
+       var SPECIES$1 = wellKnownSymbol$8('species');
        var nativeSlice = [].slice;
        var max$3 = Math.max;
 
        // `Array.prototype.slice` method
        // https://tc39.es/ecma262/#sec-array.prototype.slice
        // fallback for not array-like ES3 strings and DOM objects
        var nativeSlice = [].slice;
        var max$3 = Math.max;
 
        // `Array.prototype.slice` method
        // https://tc39.es/ecma262/#sec-array.prototype.slice
        // fallback for not array-like ES3 strings and DOM objects
-       _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
+       $$S({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
          slice: function slice(start, end) {
          slice: function slice(start, end) {
-           var O = toIndexedObject(this);
-           var length = toLength(O.length);
-           var k = toAbsoluteIndex(start, length);
-           var fin = toAbsoluteIndex(end === undefined ? length : end, length);
+           var O = toIndexedObject$2(this);
+           var length = toLength$a(O.length);
+           var k = toAbsoluteIndex$2(start, length);
+           var fin = toAbsoluteIndex$2(end === undefined ? length : end, length);
            // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
            var Constructor, result, n;
            // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
            var Constructor, result, n;
-           if (isArray(O)) {
+           if (isArray$2(O)) {
              Constructor = O.constructor;
              // cross-realm fallback
              Constructor = O.constructor;
              // cross-realm fallback
-             if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
+             if (typeof Constructor == 'function' && (Constructor === Array || isArray$2(Constructor.prototype))) {
                Constructor = undefined;
                Constructor = undefined;
-             } else if (isObject$4(Constructor)) {
+             } else if (isObject$d(Constructor)) {
                Constructor = Constructor[SPECIES$1];
                if (Constructor === null) Constructor = undefined;
              }
                Constructor = Constructor[SPECIES$1];
                if (Constructor === null) Constructor = undefined;
              }
              }
            }
            result = new (Constructor === undefined ? Array : Constructor)(max$3(fin - k, 0));
              }
            }
            result = new (Constructor === undefined ? Array : Constructor)(max$3(fin - k, 0));
-           for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
+           for (n = 0; k < fin; k++, n++) if (k in O) createProperty$3(result, n, O[k]);
            result.length = n;
            return result;
          }
        });
 
            result.length = n;
            return result;
          }
        });
 
-       var ITERATOR$1 = wellKnownSymbol('iterator');
+       var fails$s = fails$N;
+       var wellKnownSymbol$7 = wellKnownSymbol$s;
+       var IS_PURE = isPure;
+
+       var ITERATOR$1 = wellKnownSymbol$7('iterator');
 
 
-       var nativeUrl = !fails(function () {
+       var nativeUrl = !fails$s(function () {
          var url = new URL('b?a=1&b=2&c=3', 'http://a');
          var searchParams = url.searchParams;
          var result = '';
          var url = new URL('b?a=1&b=2&c=3', 'http://a');
          var searchParams = url.searchParams;
          var result = '';
            searchParams['delete']('b');
            result += key + value;
          });
            searchParams['delete']('b');
            result += key + value;
          });
-         return (isPure && !url.toJSON)
+         return (IS_PURE && !url.toJSON)
            || !searchParams.sort
            || url.href !== 'http://a/c%20d?a=1&c=3'
            || searchParams.get('c') !== '3'
            || !searchParams.sort
            || url.href !== 'http://a/c%20d?a=1&c=3'
            || searchParams.get('c') !== '3'
            || new URL('http://x', undefined).host !== 'x';
        });
 
            || new URL('http://x', undefined).host !== 'x';
        });
 
+       var DESCRIPTORS$b = descriptors;
+       var fails$r = fails$N;
+       var objectKeys$1 = objectKeys$4;
+       var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
+       var propertyIsEnumerableModule = objectPropertyIsEnumerable;
+       var toObject$8 = toObject$i;
+       var IndexedObject = indexedObject;
+
        // eslint-disable-next-line es/no-object-assign -- safe
        var $assign = Object.assign;
        // eslint-disable-next-line es/no-object-defineproperty -- required for testing
        // eslint-disable-next-line es/no-object-assign -- safe
        var $assign = Object.assign;
        // eslint-disable-next-line es/no-object-defineproperty -- required for testing
-       var defineProperty$4 = Object.defineProperty;
+       var defineProperty$5 = Object.defineProperty;
 
        // `Object.assign` method
        // https://tc39.es/ecma262/#sec-object.assign
 
        // `Object.assign` method
        // https://tc39.es/ecma262/#sec-object.assign
-       var objectAssign = !$assign || fails(function () {
+       var objectAssign = !$assign || fails$r(function () {
          // should have correct order of operations (Edge bug)
          // should have correct order of operations (Edge bug)
-         if (descriptors && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
+         if (DESCRIPTORS$b && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
            enumerable: true,
            get: function () {
            enumerable: true,
            get: function () {
-             defineProperty$4(this, 'b', {
+             defineProperty$5(this, 'b', {
                value: 3,
                enumerable: false
              });
                value: 3,
                enumerable: false
              });
          var alphabet = 'abcdefghijklmnopqrst';
          A[symbol] = 7;
          alphabet.split('').forEach(function (chr) { B[chr] = chr; });
          var alphabet = 'abcdefghijklmnopqrst';
          A[symbol] = 7;
          alphabet.split('').forEach(function (chr) { B[chr] = chr; });
-         return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
+         return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
        }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
        }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
-         var T = toObject(target);
+         var T = toObject$8(target);
          var argumentsLength = arguments.length;
          var index = 1;
          var argumentsLength = arguments.length;
          var index = 1;
-         var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
-         var propertyIsEnumerable = objectPropertyIsEnumerable.f;
+         var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
+         var propertyIsEnumerable = propertyIsEnumerableModule.f;
          while (argumentsLength > index) {
          while (argumentsLength > index) {
-           var S = indexedObject(arguments[index++]);
-           var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
+           var S = IndexedObject(arguments[index++]);
+           var keys = getOwnPropertySymbols ? objectKeys$1(S).concat(getOwnPropertySymbols(S)) : objectKeys$1(S);
            var length = keys.length;
            var j = 0;
            var key;
            while (length > j) {
              key = keys[j++];
            var length = keys.length;
            var j = 0;
            var key;
            while (length > j) {
              key = keys[j++];
-             if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key];
+             if (!DESCRIPTORS$b || propertyIsEnumerable.call(S, key)) T[key] = S[key];
            }
          } return T;
        } : $assign;
 
            }
          } return T;
        } : $assign;
 
+       var anObject$a = anObject$m;
+       var iteratorClose = iteratorClose$2;
+
        // call something on iterator step with safe closing on error
        // call something on iterator step with safe closing on error
-       var callWithSafeIterationClosing = function (iterator, fn, value, ENTRIES) {
+       var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
          try {
          try {
-           return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
+           return ENTRIES ? fn(anObject$a(value)[0], value[1]) : fn(value);
          } catch (error) {
            iteratorClose(iterator);
            throw error;
          }
        };
 
          } catch (error) {
            iteratorClose(iterator);
            throw error;
          }
        };
 
+       var bind$6 = functionBindContext;
+       var toObject$7 = toObject$i;
+       var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
+       var isArrayIteratorMethod = isArrayIteratorMethod$3;
+       var toLength$9 = toLength$q;
+       var createProperty$2 = createProperty$4;
+       var getIteratorMethod$2 = getIteratorMethod$5;
+
        // `Array.from` method implementation
        // https://tc39.es/ecma262/#sec-array.from
        // `Array.from` method implementation
        // https://tc39.es/ecma262/#sec-array.from
-       var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
-         var O = toObject(arrayLike);
+       var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
+         var O = toObject$7(arrayLike);
          var C = typeof this == 'function' ? this : Array;
          var argumentsLength = arguments.length;
          var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
          var mapping = mapfn !== undefined;
          var C = typeof this == 'function' ? this : Array;
          var argumentsLength = arguments.length;
          var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
          var mapping = mapfn !== undefined;
-         var iteratorMethod = getIteratorMethod(O);
+         var iteratorMethod = getIteratorMethod$2(O);
          var index = 0;
          var length, result, step, iterator, next, value;
          var index = 0;
          var length, result, step, iterator, next, value;
-         if (mapping) mapfn = functionBindContext(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);
+         if (mapping) mapfn = bind$6(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);
          // if the target is not iterable or it's an array with the default iterator - use a simple case
          if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {
            iterator = iteratorMethod.call(O);
          // if the target is not iterable or it's an array with the default iterator - use a simple case
          if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {
            iterator = iteratorMethod.call(O);
            result = new C();
            for (;!(step = next.call(iterator)).done; index++) {
              value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
            result = new C();
            for (;!(step = next.call(iterator)).done; index++) {
              value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
-             createProperty(result, index, value);
+             createProperty$2(result, index, value);
            }
          } else {
            }
          } else {
-           length = toLength(O.length);
+           length = toLength$9(O.length);
            result = new C(length);
            for (;length > index; index++) {
              value = mapping ? mapfn(O[index], index) : O[index];
            result = new C(length);
            for (;length > index; index++) {
              value = mapping ? mapfn(O[index], index) : O[index];
-             createProperty(result, index, value);
+             createProperty$2(result, index, value);
            }
          }
          result.length = index;
            }
          }
          result.length = index;
          return encoded.join('.');
        };
 
          return encoded.join('.');
        };
 
-       var getIterator = function (it) {
-         var iteratorMethod = getIteratorMethod(it);
+       var anObject$9 = anObject$m;
+       var getIteratorMethod$1 = getIteratorMethod$5;
+
+       var getIterator$1 = function (it) {
+         var iteratorMethod = getIteratorMethod$1(it);
          if (typeof iteratorMethod != 'function') {
            throw TypeError(String(it) + ' is not iterable');
          if (typeof iteratorMethod != 'function') {
            throw TypeError(String(it) + ' is not iterable');
-         } return anObject(iteratorMethod.call(it));
+         } return anObject$9(iteratorMethod.call(it));
        };
 
        // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
 
        };
 
        // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-       var $fetch = getBuiltIn('fetch');
-       var Headers$1 = getBuiltIn('Headers');
-       var ITERATOR = wellKnownSymbol('iterator');
+       var $$R = _export;
+       var getBuiltIn$2 = getBuiltIn$9;
+       var USE_NATIVE_URL$1 = nativeUrl;
+       var redefine$7 = redefine$g.exports;
+       var redefineAll$1 = redefineAll$4;
+       var setToStringTag$4 = setToStringTag$a;
+       var createIteratorConstructor = createIteratorConstructor$2;
+       var InternalStateModule$2 = internalState;
+       var anInstance$3 = anInstance$7;
+       var hasOwn = has$j;
+       var bind$5 = functionBindContext;
+       var classof$4 = classof$b;
+       var anObject$8 = anObject$m;
+       var isObject$c = isObject$r;
+       var create$8 = objectCreate;
+       var createPropertyDescriptor = createPropertyDescriptor$7;
+       var getIterator = getIterator$1;
+       var getIteratorMethod = getIteratorMethod$5;
+       var wellKnownSymbol$6 = wellKnownSymbol$s;
+
+       var $fetch = getBuiltIn$2('fetch');
+       var Headers$1 = getBuiltIn$2('Headers');
+       var ITERATOR = wellKnownSymbol$6('iterator');
        var URL_SEARCH_PARAMS = 'URLSearchParams';
        var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
        var URL_SEARCH_PARAMS = 'URLSearchParams';
        var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
-       var setInternalState$2 = internalState.set;
-       var getInternalParamsState = internalState.getterFor(URL_SEARCH_PARAMS);
-       var getInternalIteratorState = internalState.getterFor(URL_SEARCH_PARAMS_ITERATOR);
+       var setInternalState$2 = InternalStateModule$2.set;
+       var getInternalParamsState = InternalStateModule$2.getterFor(URL_SEARCH_PARAMS);
+       var getInternalIteratorState = InternalStateModule$2.getterFor(URL_SEARCH_PARAMS_ITERATOR);
 
        var plus = /\+/g;
        var sequences = Array(4);
 
        var plus = /\+/g;
        var sequences = Array(4);
        // `URLSearchParams` constructor
        // https://url.spec.whatwg.org/#interface-urlsearchparams
        var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
        // `URLSearchParams` constructor
        // https://url.spec.whatwg.org/#interface-urlsearchparams
        var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
-         anInstance(this, URLSearchParamsConstructor, URL_SEARCH_PARAMS);
+         anInstance$3(this, URLSearchParamsConstructor, URL_SEARCH_PARAMS);
          var init = arguments.length > 0 ? arguments[0] : undefined;
          var that = this;
          var entries = [];
          var init = arguments.length > 0 ? arguments[0] : undefined;
          var that = this;
          var entries = [];
          });
 
          if (init !== undefined) {
          });
 
          if (init !== undefined) {
-           if (isObject$4(init)) {
+           if (isObject$c(init)) {
              iteratorMethod = getIteratorMethod(init);
              if (typeof iteratorMethod === 'function') {
                iterator = iteratorMethod.call(init);
                next = iterator.next;
                while (!(step = next.call(iterator)).done) {
              iteratorMethod = getIteratorMethod(init);
              if (typeof iteratorMethod === 'function') {
                iterator = iteratorMethod.call(init);
                next = iterator.next;
                while (!(step = next.call(iterator)).done) {
-                 entryIterator = getIterator(anObject(step.value));
+                 entryIterator = getIterator(anObject$8(step.value));
                  entryNext = entryIterator.next;
                  if (
                    (first = entryNext.call(entryIterator)).done ||
                  entryNext = entryIterator.next;
                  if (
                    (first = entryNext.call(entryIterator)).done ||
                  ) throw TypeError('Expected sequence with length 2');
                  entries.push({ key: first.value + '', value: second.value + '' });
                }
                  ) throw TypeError('Expected sequence with length 2');
                  entries.push({ key: first.value + '', value: second.value + '' });
                }
-             } else for (key in init) if (has$1(init, key)) entries.push({ key: key, value: init[key] + '' });
+             } else for (key in init) if (hasOwn(init, key)) entries.push({ key: key, value: init[key] + '' });
            } else {
              parseSearchParams(entries, typeof init === 'string' ? init.charAt(0) === '?' ? init.slice(1) : init : init + '');
            }
            } else {
              parseSearchParams(entries, typeof init === 'string' ? init.charAt(0) === '?' ? init.slice(1) : init : init + '');
            }
 
        var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;
 
 
        var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;
 
-       redefineAll(URLSearchParamsPrototype, {
+       redefineAll$1(URLSearchParamsPrototype, {
          // `URLSearchParams.prototype.append` method
          // https://url.spec.whatwg.org/#dom-urlsearchparams-append
          append: function append(name, value) {
          // `URLSearchParams.prototype.append` method
          // https://url.spec.whatwg.org/#dom-urlsearchparams-append
          append: function append(name, value) {
          // `URLSearchParams.prototype.forEach` method
          forEach: function forEach(callback /* , thisArg */) {
            var entries = getInternalParamsState(this).entries;
          // `URLSearchParams.prototype.forEach` method
          forEach: function forEach(callback /* , thisArg */) {
            var entries = getInternalParamsState(this).entries;
-           var boundFunction = functionBindContext(callback, arguments.length > 1 ? arguments[1] : undefined, 3);
+           var boundFunction = bind$5(callback, arguments.length > 1 ? arguments[1] : undefined, 3);
            var index = 0;
            var entry;
            while (index < entries.length) {
            var index = 0;
            var entry;
            while (index < entries.length) {
        }, { enumerable: true });
 
        // `URLSearchParams.prototype[@@iterator]` method
        }, { enumerable: true });
 
        // `URLSearchParams.prototype[@@iterator]` method
-       redefine(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries);
+       redefine$7(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries);
 
        // `URLSearchParams.prototype.toString` method
        // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
 
        // `URLSearchParams.prototype.toString` method
        // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
-       redefine(URLSearchParamsPrototype, 'toString', function toString() {
+       redefine$7(URLSearchParamsPrototype, 'toString', function toString() {
          var entries = getInternalParamsState(this).entries;
          var result = [];
          var index = 0;
          var entries = getInternalParamsState(this).entries;
          var result = [];
          var index = 0;
          } return result.join('&');
        }, { enumerable: true });
 
          } return result.join('&');
        }, { enumerable: true });
 
-       setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
+       setToStringTag$4(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
 
 
-       _export({ global: true, forced: !nativeUrl }, {
+       $$R({ global: true, forced: !USE_NATIVE_URL$1 }, {
          URLSearchParams: URLSearchParamsConstructor
        });
 
        // Wrap `fetch` for correct work with polyfilled `URLSearchParams`
        // https://github.com/zloirock/core-js/issues/674
          URLSearchParams: URLSearchParamsConstructor
        });
 
        // Wrap `fetch` for correct work with polyfilled `URLSearchParams`
        // https://github.com/zloirock/core-js/issues/674
-       if (!nativeUrl && typeof $fetch == 'function' && typeof Headers$1 == 'function') {
-         _export({ global: true, enumerable: true, forced: true }, {
+       if (!USE_NATIVE_URL$1 && typeof $fetch == 'function' && typeof Headers$1 == 'function') {
+         $$R({ global: true, enumerable: true, forced: true }, {
            fetch: function fetch(input /* , init */) {
              var args = [input];
              var init, body, headers;
              if (arguments.length > 1) {
                init = arguments[1];
            fetch: function fetch(input /* , init */) {
              var args = [input];
              var init, body, headers;
              if (arguments.length > 1) {
                init = arguments[1];
-               if (isObject$4(init)) {
+               if (isObject$c(init)) {
                  body = init.body;
                  body = init.body;
-                 if (classof(body) === URL_SEARCH_PARAMS) {
+                 if (classof$4(body) === URL_SEARCH_PARAMS) {
                    headers = init.headers ? new Headers$1(init.headers) : new Headers$1();
                    if (!headers.has('content-type')) {
                      headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
                    }
                    headers = init.headers ? new Headers$1(init.headers) : new Headers$1();
                    if (!headers.has('content-type')) {
                      headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
                    }
-                   init = objectCreate(init, {
+                   init = create$8(init, {
                      body: createPropertyDescriptor(0, String(body)),
                      headers: createPropertyDescriptor(0, headers)
                    });
                      body: createPropertyDescriptor(0, String(body)),
                      headers: createPropertyDescriptor(0, headers)
                    });
 
        // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
 
 
        // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
 
-
-
-
-
-
-
-
-
-
-
+       var $$Q = _export;
+       var DESCRIPTORS$a = descriptors;
+       var USE_NATIVE_URL = nativeUrl;
+       var global$a = global$F;
+       var defineProperties$1 = objectDefineProperties;
+       var redefine$6 = redefine$g.exports;
+       var anInstance$2 = anInstance$7;
+       var has$4 = has$j;
+       var assign$2 = objectAssign;
+       var arrayFrom = arrayFrom$1;
        var codeAt = stringMultibyte.codeAt;
        var codeAt = stringMultibyte.codeAt;
-
-
-
-
-
-       var NativeURL = global$2.URL;
-       var URLSearchParams$1 = web_urlSearchParams.URLSearchParams;
-       var getInternalSearchParamsState = web_urlSearchParams.getState;
-       var setInternalState$1 = internalState.set;
-       var getInternalURLState = internalState.getterFor('URL');
+       var toASCII = stringPunycodeToAscii;
+       var setToStringTag$3 = setToStringTag$a;
+       var URLSearchParamsModule = web_urlSearchParams;
+       var InternalStateModule$1 = internalState;
+
+       var NativeURL = global$a.URL;
+       var URLSearchParams$1 = URLSearchParamsModule.URLSearchParams;
+       var getInternalSearchParamsState = URLSearchParamsModule.getState;
+       var setInternalState$1 = InternalStateModule$1.set;
+       var getInternalURLState = InternalStateModule$1.getterFor('URL');
        var floor$2 = Math.floor;
        var pow$1 = Math.pow;
 
        var floor$2 = Math.floor;
        var pow$1 = Math.pow;
 
            }
            url.host = result;
          } else {
            }
            url.host = result;
          } else {
-           input = stringPunycodeToAscii(input);
+           input = toASCII(input);
            if (FORBIDDEN_HOST_CODE_POINT.test(input)) return INVALID_HOST;
            result = parseIPv4(input);
            if (result === null) return INVALID_HOST;
            if (FORBIDDEN_HOST_CODE_POINT.test(input)) return INVALID_HOST;
            result = parseIPv4(input);
            if (result === null) return INVALID_HOST;
        };
 
        var C0ControlPercentEncodeSet = {};
        };
 
        var C0ControlPercentEncodeSet = {};
-       var fragmentPercentEncodeSet = objectAssign({}, C0ControlPercentEncodeSet, {
+       var fragmentPercentEncodeSet = assign$2({}, C0ControlPercentEncodeSet, {
          ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1
        });
          ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1
        });
-       var pathPercentEncodeSet = objectAssign({}, fragmentPercentEncodeSet, {
+       var pathPercentEncodeSet = assign$2({}, fragmentPercentEncodeSet, {
          '#': 1, '?': 1, '{': 1, '}': 1
        });
          '#': 1, '?': 1, '{': 1, '}': 1
        });
-       var userinfoPercentEncodeSet = objectAssign({}, pathPercentEncodeSet, {
+       var userinfoPercentEncodeSet = assign$2({}, pathPercentEncodeSet, {
          '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1
        });
 
        var percentEncode = function (char, set) {
          var code = codeAt(char, 0);
          '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1
        });
 
        var percentEncode = function (char, set) {
          var code = codeAt(char, 0);
-         return code > 0x20 && code < 0x7F && !has$1(set, char) ? char : encodeURIComponent(char);
+         return code > 0x20 && code < 0x7F && !has$4(set, char) ? char : encodeURIComponent(char);
        };
 
        var specialSchemes = {
        };
 
        var specialSchemes = {
        };
 
        var isSpecial = function (url) {
        };
 
        var isSpecial = function (url) {
-         return has$1(specialSchemes, url.scheme);
+         return has$4(specialSchemes, url.scheme);
        };
 
        var includesCredentials = function (url) {
        };
 
        var includesCredentials = function (url) {
                  buffer += char.toLowerCase();
                } else if (char == ':') {
                  if (stateOverride && (
                  buffer += char.toLowerCase();
                } else if (char == ':') {
                  if (stateOverride && (
-                   (isSpecial(url) != has$1(specialSchemes, buffer)) ||
+                   (isSpecial(url) != has$4(specialSchemes, buffer)) ||
                    (buffer == 'file' && (includesCredentials(url) || url.port !== null)) ||
                    (url.scheme == 'file' && !url.host)
                  )) return;
                    (buffer == 'file' && (includesCredentials(url) || url.port !== null)) ||
                    (url.scheme == 'file' && !url.host)
                  )) return;
        // `URL` constructor
        // https://url.spec.whatwg.org/#url-class
        var URLConstructor = function URL(url /* , base */) {
        // `URL` constructor
        // https://url.spec.whatwg.org/#url-class
        var URLConstructor = function URL(url /* , base */) {
-         var that = anInstance(this, URLConstructor, 'URL');
+         var that = anInstance$2(this, URLConstructor, 'URL');
          var base = arguments.length > 1 ? arguments[1] : undefined;
          var urlString = String(url);
          var state = setInternalState$1(that, { type: 'URL' });
          var base = arguments.length > 1 ? arguments[1] : undefined;
          var urlString = String(url);
          var state = setInternalState$1(that, { type: 'URL' });
          searchParamsState.updateURL = function () {
            state.query = String(searchParams) || null;
          };
          searchParamsState.updateURL = function () {
            state.query = String(searchParams) || null;
          };
-         if (!descriptors) {
+         if (!DESCRIPTORS$a) {
            that.href = serializeURL.call(that);
            that.origin = getOrigin.call(that);
            that.protocol = getProtocol.call(that);
            that.href = serializeURL.call(that);
            that.origin = getOrigin.call(that);
            that.protocol = getProtocol.call(that);
          return { get: getter, set: setter, configurable: true, enumerable: true };
        };
 
          return { get: getter, set: setter, configurable: true, enumerable: true };
        };
 
-       if (descriptors) {
-         objectDefineProperties(URLPrototype, {
+       if (DESCRIPTORS$a) {
+         defineProperties$1(URLPrototype, {
            // `URL.prototype.href` accessors pair
            // https://url.spec.whatwg.org/#dom-url-href
            href: accessorDescriptor(serializeURL, function (href) {
            // `URL.prototype.href` accessors pair
            // https://url.spec.whatwg.org/#dom-url-href
            href: accessorDescriptor(serializeURL, function (href) {
 
        // `URL.prototype.toJSON` method
        // https://url.spec.whatwg.org/#dom-url-tojson
 
        // `URL.prototype.toJSON` method
        // https://url.spec.whatwg.org/#dom-url-tojson
-       redefine(URLPrototype, 'toJSON', function toJSON() {
+       redefine$6(URLPrototype, 'toJSON', function toJSON() {
          return serializeURL.call(this);
        }, { enumerable: true });
 
        // `URL.prototype.toString` method
        // https://url.spec.whatwg.org/#URL-stringification-behavior
          return serializeURL.call(this);
        }, { enumerable: true });
 
        // `URL.prototype.toString` method
        // https://url.spec.whatwg.org/#URL-stringification-behavior
-       redefine(URLPrototype, 'toString', function toString() {
+       redefine$6(URLPrototype, 'toString', function toString() {
          return serializeURL.call(this);
        }, { enumerable: true });
 
          return serializeURL.call(this);
        }, { enumerable: true });
 
          // `URL.createObjectURL` method
          // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
          // eslint-disable-next-line no-unused-vars -- required for `.length`
          // `URL.createObjectURL` method
          // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
          // eslint-disable-next-line no-unused-vars -- required for `.length`
-         if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', function createObjectURL(blob) {
+         if (nativeCreateObjectURL) redefine$6(URLConstructor, 'createObjectURL', function createObjectURL(blob) {
            return nativeCreateObjectURL.apply(NativeURL, arguments);
          });
          // `URL.revokeObjectURL` method
          // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL
          // eslint-disable-next-line no-unused-vars -- required for `.length`
            return nativeCreateObjectURL.apply(NativeURL, arguments);
          });
          // `URL.revokeObjectURL` method
          // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL
          // eslint-disable-next-line no-unused-vars -- required for `.length`
-         if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', function revokeObjectURL(url) {
+         if (nativeRevokeObjectURL) redefine$6(URLConstructor, 'revokeObjectURL', function revokeObjectURL(url) {
            return nativeRevokeObjectURL.apply(NativeURL, arguments);
          });
        }
 
            return nativeRevokeObjectURL.apply(NativeURL, arguments);
          });
        }
 
-       setToStringTag(URLConstructor, 'URL');
+       setToStringTag$3(URLConstructor, 'URL');
 
 
-       _export({ global: true, forced: !nativeUrl, sham: !descriptors }, {
+       $$Q({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$a }, {
          URL: URLConstructor
        });
 
          URL: URLConstructor
        });
 
+       var anObject$7 = anObject$m;
+
        // `RegExp.prototype.flags` getter implementation
        // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
        // `RegExp.prototype.flags` getter implementation
        // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
-       var regexpFlags = function () {
-         var that = anObject(this);
+       var regexpFlags$1 = function () {
+         var that = anObject$7(this);
          var result = '';
          if (that.global) result += 'g';
          if (that.ignoreCase) result += 'i';
          var result = '';
          if (that.global) result += 'g';
          if (that.ignoreCase) result += 'i';
          return result;
        };
 
          return result;
        };
 
+       var redefine$5 = redefine$g.exports;
+       var anObject$6 = anObject$m;
+       var fails$q = fails$N;
+       var flags = regexpFlags$1;
+
        var TO_STRING = 'toString';
        var RegExpPrototype$2 = RegExp.prototype;
        var nativeToString = RegExpPrototype$2[TO_STRING];
 
        var TO_STRING = 'toString';
        var RegExpPrototype$2 = RegExp.prototype;
        var nativeToString = RegExpPrototype$2[TO_STRING];
 
-       var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
+       var NOT_GENERIC = fails$q(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
        // FF44- RegExp#toString has a wrong name
        var INCORRECT_NAME = nativeToString.name != TO_STRING;
 
        // `RegExp.prototype.toString` method
        // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
        if (NOT_GENERIC || INCORRECT_NAME) {
        // FF44- RegExp#toString has a wrong name
        var INCORRECT_NAME = nativeToString.name != TO_STRING;
 
        // `RegExp.prototype.toString` method
        // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
        if (NOT_GENERIC || INCORRECT_NAME) {
-         redefine(RegExp.prototype, TO_STRING, function toString() {
-           var R = anObject(this);
+         redefine$5(RegExp.prototype, TO_STRING, function toString() {
+           var R = anObject$6(this);
            var p = String(R.source);
            var rf = R.flags;
            var p = String(R.source);
            var rf = R.flags;
-           var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$2) ? regexpFlags.call(R) : rf);
+           var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$2) ? flags.call(R) : rf);
            return '/' + p + '/' + f;
          }, { unsafe: true });
        }
 
            return '/' + p + '/' + f;
          }, { unsafe: true });
        }
 
+       var regexpStickyHelpers = {};
+
+       var fails$p = fails$N;
+
        // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
        var RE = function (s, f) {
          return RegExp(s, f);
        };
 
        // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
        var RE = function (s, f) {
          return RegExp(s, f);
        };
 
-       var UNSUPPORTED_Y$3 = fails(function () {
+       regexpStickyHelpers.UNSUPPORTED_Y = fails$p(function () {
          var re = RE('a', 'y');
          re.lastIndex = 2;
          return re.exec('abcd') != null;
        });
 
          var re = RE('a', 'y');
          re.lastIndex = 2;
          return re.exec('abcd') != null;
        });
 
-       var BROKEN_CARET = fails(function () {
+       regexpStickyHelpers.BROKEN_CARET = fails$p(function () {
          // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
          var re = RE('^r', 'gy');
          re.lastIndex = 2;
          return re.exec('str') != null;
        });
 
          // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
          var re = RE('^r', 'gy');
          re.lastIndex = 2;
          return re.exec('str') != null;
        });
 
-       var regexpStickyHelpers = {
-               UNSUPPORTED_Y: UNSUPPORTED_Y$3,
-               BROKEN_CARET: BROKEN_CARET
-       };
+       var fails$o = fails$N;
 
 
-       var regexpUnsupportedDotAll = fails(function () {
+       var regexpUnsupportedDotAll = fails$o(function () {
          // babel-minify transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
          var re = RegExp('.', (typeof '').charAt(0));
          return !(re.dotAll && re.exec('\n') && re.flags === 's');
        });
 
          // babel-minify transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
          var re = RegExp('.', (typeof '').charAt(0));
          return !(re.dotAll && re.exec('\n') && re.flags === 's');
        });
 
-       var regexpUnsupportedNcg = fails(function () {
+       var fails$n = fails$N;
+
+       var regexpUnsupportedNcg = fails$n(function () {
          // babel-minify transpiles RegExp('.', 'g') -> /./g and it causes SyntaxError
          var re = RegExp('(?<a>b)', (typeof '').charAt(5));
          return re.exec('b').groups.a !== 'b' ||
          // babel-minify transpiles RegExp('.', 'g') -> /./g and it causes SyntaxError
          var re = RegExp('(?<a>b)', (typeof '').charAt(5));
          return re.exec('b').groups.a !== 'b' ||
 
        /* eslint-disable regexp/no-assertion-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
        /* eslint-disable regexp/no-useless-quantifier -- testing */
 
        /* eslint-disable regexp/no-assertion-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
        /* eslint-disable regexp/no-useless-quantifier -- testing */
-
-
-
-
+       var regexpFlags = regexpFlags$1;
+       var stickyHelpers$2 = regexpStickyHelpers;
+       var shared = shared$5.exports;
+       var create$7 = objectCreate;
        var getInternalState = internalState.get;
        var getInternalState = internalState.get;
-
-
+       var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
+       var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
 
        var nativeExec = RegExp.prototype.exec;
        var nativeReplace = shared('native-string-replace', String.prototype.replace);
 
        var nativeExec = RegExp.prototype.exec;
        var nativeReplace = shared('native-string-replace', String.prototype.replace);
          return re1.lastIndex !== 0 || re2.lastIndex !== 0;
        })();
 
          return re1.lastIndex !== 0 || re2.lastIndex !== 0;
        })();
 
-       var UNSUPPORTED_Y$2 = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET;
+       var UNSUPPORTED_Y$2 = stickyHelpers$2.UNSUPPORTED_Y || stickyHelpers$2.BROKEN_CARET;
 
        // nonparticipating capturing group, copied from es5-shim's String#split patch.
        var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
 
 
        // nonparticipating capturing group, copied from es5-shim's String#split patch.
        var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
 
-       var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$2 || regexpUnsupportedDotAll || regexpUnsupportedNcg;
+       var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$2 || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG$1;
 
        if (PATCH) {
          // eslint-disable-next-line max-statements -- TODO
 
        if (PATCH) {
          // eslint-disable-next-line max-statements -- TODO
            }
 
            if (match && groups) {
            }
 
            if (match && groups) {
-             match.groups = object = objectCreate(null);
+             match.groups = object = create$7(null);
              for (i = 0; i < groups.length; i++) {
                group = groups[i];
                object[group[0]] = match[group[1]];
              for (i = 0; i < groups.length; i++) {
                group = groups[i];
                object[group[0]] = match[group[1]];
          };
        }
 
          };
        }
 
-       var regexpExec = patchedExec;
+       var regexpExec$3 = patchedExec;
+
+       var $$P = _export;
+       var exec = regexpExec$3;
 
        // `RegExp.prototype.exec` method
        // https://tc39.es/ecma262/#sec-regexp.prototype.exec
 
        // `RegExp.prototype.exec` method
        // https://tc39.es/ecma262/#sec-regexp.prototype.exec
-       _export({ target: 'RegExp', proto: true, forced: /./.exec !== regexpExec }, {
-         exec: regexpExec
+       $$P({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
+         exec: exec
        });
 
        // TODO: Remove from `core-js@4` since it's moved to entry points
 
        });
 
        // TODO: Remove from `core-js@4` since it's moved to entry points
 
+       var redefine$4 = redefine$g.exports;
+       var regexpExec$2 = regexpExec$3;
+       var fails$m = fails$N;
+       var wellKnownSymbol$5 = wellKnownSymbol$s;
+       var createNonEnumerableProperty$1 = createNonEnumerableProperty$e;
 
 
-
-
-
-
-
-       var SPECIES = wellKnownSymbol('species');
+       var SPECIES = wellKnownSymbol$5('species');
        var RegExpPrototype$1 = RegExp.prototype;
 
        var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
        var RegExpPrototype$1 = RegExp.prototype;
 
        var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
-         var SYMBOL = wellKnownSymbol(KEY);
+         var SYMBOL = wellKnownSymbol$5(KEY);
 
 
-         var DELEGATES_TO_SYMBOL = !fails(function () {
+         var DELEGATES_TO_SYMBOL = !fails$m(function () {
            // String methods call symbol-named RegEp methods
            var O = {};
            O[SYMBOL] = function () { return 7; };
            return ''[KEY](O) != 7;
          });
 
            // String methods call symbol-named RegEp methods
            var O = {};
            O[SYMBOL] = function () { return 7; };
            return ''[KEY](O) != 7;
          });
 
-         var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
+         var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$m(function () {
            // Symbol-named RegExp methods call .exec
            var execCalled = false;
            var re = /a/;
            // Symbol-named RegExp methods call .exec
            var execCalled = false;
            var re = /a/;
            var nativeRegExpMethod = /./[SYMBOL];
            var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
              var $exec = regexp.exec;
            var nativeRegExpMethod = /./[SYMBOL];
            var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
              var $exec = regexp.exec;
-             if ($exec === regexpExec || $exec === RegExpPrototype$1.exec) {
+             if ($exec === regexpExec$2 || $exec === RegExpPrototype$1.exec) {
                if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
                  // The native String method already delegates to @@method (this
                  // polyfilled function), leasing to infinite recursion.
                if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
                  // The native String method already delegates to @@method (this
                  // polyfilled function), leasing to infinite recursion.
              return { done: false };
            });
 
              return { done: false };
            });
 
-           redefine(String.prototype, KEY, methods[0]);
-           redefine(RegExpPrototype$1, SYMBOL, methods[1]);
+           redefine$4(String.prototype, KEY, methods[0]);
+           redefine$4(RegExpPrototype$1, SYMBOL, methods[1]);
          }
 
          }
 
-         if (SHAM) createNonEnumerableProperty(RegExpPrototype$1[SYMBOL], 'sham', true);
+         if (SHAM) createNonEnumerableProperty$1(RegExpPrototype$1[SYMBOL], 'sham', true);
        };
 
        var charAt = stringMultibyte.charAt;
 
        // `AdvanceStringIndex` abstract operation
        // https://tc39.es/ecma262/#sec-advancestringindex
        };
 
        var charAt = stringMultibyte.charAt;
 
        // `AdvanceStringIndex` abstract operation
        // https://tc39.es/ecma262/#sec-advancestringindex
-       var advanceStringIndex = function (S, index, unicode) {
+       var advanceStringIndex$3 = function (S, index, unicode) {
          return index + (unicode ? charAt(S, index).length : 1);
        };
 
          return index + (unicode ? charAt(S, index).length : 1);
        };
 
+       var toObject$6 = toObject$i;
+
        var floor$1 = Math.floor;
        var replace = ''.replace;
        var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
        var floor$1 = Math.floor;
        var replace = ''.replace;
        var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
 
        // `GetSubstitution` abstract operation
        // https://tc39.es/ecma262/#sec-getsubstitution
 
        // `GetSubstitution` abstract operation
        // https://tc39.es/ecma262/#sec-getsubstitution
-       var getSubstitution = function (matched, str, position, captures, namedCaptures, replacement) {
+       var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) {
          var tailPos = position + matched.length;
          var m = captures.length;
          var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
          if (namedCaptures !== undefined) {
          var tailPos = position + matched.length;
          var m = captures.length;
          var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
          if (namedCaptures !== undefined) {
-           namedCaptures = toObject(namedCaptures);
+           namedCaptures = toObject$6(namedCaptures);
            symbols = SUBSTITUTION_SYMBOLS;
          }
          return replace.call(replacement, symbols, function (match, ch) {
            symbols = SUBSTITUTION_SYMBOLS;
          }
          return replace.call(replacement, symbols, function (match, ch) {
          });
        };
 
          });
        };
 
+       var classof$3 = classofRaw$1;
+       var regexpExec$1 = regexpExec$3;
+
        // `RegExpExec` abstract operation
        // https://tc39.es/ecma262/#sec-regexpexec
        var regexpExecAbstract = function (R, S) {
        // `RegExpExec` abstract operation
        // https://tc39.es/ecma262/#sec-regexpexec
        var regexpExecAbstract = function (R, S) {
            return result;
          }
 
            return result;
          }
 
-         if (classofRaw(R) !== 'RegExp') {
+         if (classof$3(R) !== 'RegExp') {
            throw TypeError('RegExp#exec called on incompatible receiver');
          }
 
            throw TypeError('RegExp#exec called on incompatible receiver');
          }
 
-         return regexpExec.call(R, S);
+         return regexpExec$1.call(R, S);
        };
 
        };
 
-       var REPLACE = wellKnownSymbol('replace');
+       var fixRegExpWellKnownSymbolLogic$3 = fixRegexpWellKnownSymbolLogic;
+       var fails$l = fails$N;
+       var anObject$5 = anObject$m;
+       var toLength$8 = toLength$q;
+       var toInteger$3 = toInteger$b;
+       var requireObjectCoercible$a = requireObjectCoercible$e;
+       var advanceStringIndex$2 = advanceStringIndex$3;
+       var getSubstitution = getSubstitution$1;
+       var regExpExec$2 = regexpExecAbstract;
+       var wellKnownSymbol$4 = wellKnownSymbol$s;
+
+       var REPLACE = wellKnownSymbol$4('replace');
        var max$2 = Math.max;
        var min$5 = Math.min;
 
        var max$2 = Math.max;
        var min$5 = Math.min;
 
          return false;
        })();
 
          return false;
        })();
 
-       var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
+       var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$l(function () {
          var re = /./;
          re.exec = function () {
            var result = [];
          var re = /./;
          re.exec = function () {
            var result = [];
        });
 
        // @@replace logic
        });
 
        // @@replace logic
-       fixRegexpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
+       fixRegExpWellKnownSymbolLogic$3('replace', function (_, nativeReplace, maybeCallNative) {
          var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
 
          return [
            // `String.prototype.replace` method
            // https://tc39.es/ecma262/#sec-string.prototype.replace
            function replace(searchValue, replaceValue) {
          var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
 
          return [
            // `String.prototype.replace` method
            // https://tc39.es/ecma262/#sec-string.prototype.replace
            function replace(searchValue, replaceValue) {
-             var O = requireObjectCoercible(this);
+             var O = requireObjectCoercible$a(this);
              var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
              return replacer !== undefined
                ? replacer.call(searchValue, O, replaceValue)
              var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
              return replacer !== undefined
                ? replacer.call(searchValue, O, replaceValue)
                if (res.done) return res.value;
              }
 
                if (res.done) return res.value;
              }
 
-             var rx = anObject(this);
+             var rx = anObject$5(this);
              var S = String(string);
 
              var functionalReplace = typeof replaceValue === 'function';
              var S = String(string);
 
              var functionalReplace = typeof replaceValue === 'function';
              }
              var results = [];
              while (true) {
              }
              var results = [];
              while (true) {
-               var result = regexpExecAbstract(rx, S);
+               var result = regExpExec$2(rx, S);
                if (result === null) break;
 
                results.push(result);
                if (!global) break;
 
                var matchStr = String(result[0]);
                if (result === null) break;
 
                results.push(result);
                if (!global) break;
 
                var matchStr = String(result[0]);
-               if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
+               if (matchStr === '') rx.lastIndex = advanceStringIndex$2(S, toLength$8(rx.lastIndex), fullUnicode);
              }
 
              var accumulatedResult = '';
              }
 
              var accumulatedResult = '';
                result = results[i];
 
                var matched = String(result[0]);
                result = results[i];
 
                var matched = String(result[0]);
-               var position = max$2(min$5(toInteger(result.index), S.length), 0);
+               var position = max$2(min$5(toInteger$3(result.index), S.length), 0);
                var captures = [];
                // NOTE: This is equivalent to
                //   captures = result.slice(1).map(maybeToString)
                var captures = [];
                // NOTE: This is equivalent to
                //   captures = result.slice(1).map(maybeToString)
          ];
        }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
 
          ];
        }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
 
-       var MATCH$2 = wellKnownSymbol('match');
+       var isObject$b = isObject$r;
+       var classof$2 = classofRaw$1;
+       var wellKnownSymbol$3 = wellKnownSymbol$s;
+
+       var MATCH$2 = wellKnownSymbol$3('match');
 
        // `IsRegExp` abstract operation
        // https://tc39.es/ecma262/#sec-isregexp
        var isRegexp = function (it) {
          var isRegExp;
 
        // `IsRegExp` abstract operation
        // https://tc39.es/ecma262/#sec-isregexp
        var isRegexp = function (it) {
          var isRegExp;
-         return isObject$4(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classofRaw(it) == 'RegExp');
+         return isObject$b(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$2(it) == 'RegExp');
        };
 
        };
 
-       var UNSUPPORTED_Y$1 = regexpStickyHelpers.UNSUPPORTED_Y;
+       var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic;
+       var isRegExp$2 = isRegexp;
+       var anObject$4 = anObject$m;
+       var requireObjectCoercible$9 = requireObjectCoercible$e;
+       var speciesConstructor$1 = speciesConstructor$8;
+       var advanceStringIndex$1 = advanceStringIndex$3;
+       var toLength$7 = toLength$q;
+       var callRegExpExec = regexpExecAbstract;
+       var regexpExec = regexpExec$3;
+       var stickyHelpers$1 = regexpStickyHelpers;
+       var fails$k = fails$N;
+
+       var UNSUPPORTED_Y$1 = stickyHelpers$1.UNSUPPORTED_Y;
        var arrayPush = [].push;
        var min$4 = Math.min;
        var MAX_UINT32 = 0xFFFFFFFF;
 
        // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
        // Weex JS has frozen built-in prototypes, so use try / catch wrapper
        var arrayPush = [].push;
        var min$4 = Math.min;
        var MAX_UINT32 = 0xFFFFFFFF;
 
        // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
        // Weex JS has frozen built-in prototypes, so use try / catch wrapper
-       var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
+       var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$k(function () {
          // eslint-disable-next-line regexp/no-empty-group -- required for testing
          var re = /(?:)/;
          var originalExec = re.exec;
          // eslint-disable-next-line regexp/no-empty-group -- required for testing
          var re = /(?:)/;
          var originalExec = re.exec;
        });
 
        // @@split logic
        });
 
        // @@split logic
-       fixRegexpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
+       fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCallNative) {
          var internalSplit;
          if (
            'abbc'.split(/(b)*/)[1] == 'c' ||
          var internalSplit;
          if (
            'abbc'.split(/(b)*/)[1] == 'c' ||
          ) {
            // based on es5-shim implementation, need to rework it
            internalSplit = function (separator, limit) {
          ) {
            // based on es5-shim implementation, need to rework it
            internalSplit = function (separator, limit) {
-             var string = String(requireObjectCoercible(this));
+             var string = String(requireObjectCoercible$9(this));
              var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
              if (lim === 0) return [];
              if (separator === undefined) return [string];
              // If `separator` is not a regex, use native split
              var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
              if (lim === 0) return [];
              if (separator === undefined) return [string];
              // If `separator` is not a regex, use native split
-             if (!isRegexp(separator)) {
+             if (!isRegExp$2(separator)) {
                return nativeSplit.call(string, separator, lim);
              }
              var output = [];
                return nativeSplit.call(string, separator, lim);
              }
              var output = [];
            // `String.prototype.split` method
            // https://tc39.es/ecma262/#sec-string.prototype.split
            function split(separator, limit) {
            // `String.prototype.split` method
            // https://tc39.es/ecma262/#sec-string.prototype.split
            function split(separator, limit) {
-             var O = requireObjectCoercible(this);
+             var O = requireObjectCoercible$9(this);
              var splitter = separator == undefined ? undefined : separator[SPLIT];
              return splitter !== undefined
                ? splitter.call(separator, O, limit)
              var splitter = separator == undefined ? undefined : separator[SPLIT];
              return splitter !== undefined
                ? splitter.call(separator, O, limit)
              var res = maybeCallNative(internalSplit, this, string, limit, internalSplit !== nativeSplit);
              if (res.done) return res.value;
 
              var res = maybeCallNative(internalSplit, this, string, limit, internalSplit !== nativeSplit);
              if (res.done) return res.value;
 
-             var rx = anObject(this);
+             var rx = anObject$4(this);
              var S = String(string);
              var S = String(string);
-             var C = speciesConstructor(rx, RegExp);
+             var C = speciesConstructor$1(rx, RegExp);
 
              var unicodeMatching = rx.unicode;
              var flags = (rx.ignoreCase ? 'i' : '') +
 
              var unicodeMatching = rx.unicode;
              var flags = (rx.ignoreCase ? 'i' : '') +
              var splitter = new C(UNSUPPORTED_Y$1 ? '^(?:' + rx.source + ')' : rx, flags);
              var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
              if (lim === 0) return [];
              var splitter = new C(UNSUPPORTED_Y$1 ? '^(?:' + rx.source + ')' : rx, flags);
              var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
              if (lim === 0) return [];
-             if (S.length === 0) return regexpExecAbstract(splitter, S) === null ? [S] : [];
+             if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
              var p = 0;
              var q = 0;
              var A = [];
              while (q < S.length) {
                splitter.lastIndex = UNSUPPORTED_Y$1 ? 0 : q;
              var p = 0;
              var q = 0;
              var A = [];
              while (q < S.length) {
                splitter.lastIndex = UNSUPPORTED_Y$1 ? 0 : q;
-               var z = regexpExecAbstract(splitter, UNSUPPORTED_Y$1 ? S.slice(q) : S);
+               var z = callRegExpExec(splitter, UNSUPPORTED_Y$1 ? S.slice(q) : S);
                var e;
                if (
                  z === null ||
                var e;
                if (
                  z === null ||
-                 (e = min$4(toLength(splitter.lastIndex + (UNSUPPORTED_Y$1 ? q : 0)), S.length)) === p
+                 (e = min$4(toLength$7(splitter.lastIndex + (UNSUPPORTED_Y$1 ? q : 0)), S.length)) === p
                ) {
                ) {
-                 q = advanceStringIndex(S, q, unicodeMatching);
+                 q = advanceStringIndex$1(S, q, unicodeMatching);
                } else {
                  A.push(S.slice(p, q));
                  if (A.length === lim) return A;
                } else {
                  A.push(S.slice(p, q));
                  if (A.length === lim) return A;
        }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y$1);
 
        // a string of all valid unicode whitespaces
        }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y$1);
 
        // a string of all valid unicode whitespaces
-       var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
+       var whitespaces$4 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
          '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
 
          '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
 
-       var whitespace = '[' + whitespaces + ']';
+       var requireObjectCoercible$8 = requireObjectCoercible$e;
+       var whitespaces$3 = whitespaces$4;
+
+       var whitespace = '[' + whitespaces$3 + ']';
        var ltrim = RegExp('^' + whitespace + whitespace + '*');
        var rtrim$2 = RegExp(whitespace + whitespace + '*$');
 
        // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
        var createMethod$2 = function (TYPE) {
          return function ($this) {
        var ltrim = RegExp('^' + whitespace + whitespace + '*');
        var rtrim$2 = RegExp(whitespace + whitespace + '*$');
 
        // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
        var createMethod$2 = function (TYPE) {
          return function ($this) {
-           var string = String(requireObjectCoercible($this));
+           var string = String(requireObjectCoercible$8($this));
            if (TYPE & 1) string = string.replace(ltrim, '');
            if (TYPE & 2) string = string.replace(rtrim$2, '');
            return string;
            if (TYPE & 1) string = string.replace(ltrim, '');
            if (TYPE & 2) string = string.replace(rtrim$2, '');
            return string;
          trim: createMethod$2(3)
        };
 
          trim: createMethod$2(3)
        };
 
+       var fails$j = fails$N;
+       var whitespaces$2 = whitespaces$4;
+
        var non = '\u200B\u0085\u180E';
 
        // check that a method works with the correct list
        // of whitespaces and has a correct name
        var stringTrimForced = function (METHOD_NAME) {
        var non = '\u200B\u0085\u180E';
 
        // check that a method works with the correct list
        // of whitespaces and has a correct name
        var stringTrimForced = function (METHOD_NAME) {
-         return fails(function () {
-           return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;
+         return fails$j(function () {
+           return !!whitespaces$2[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces$2[METHOD_NAME].name !== METHOD_NAME;
          });
        };
 
          });
        };
 
+       var $$O = _export;
        var $trim = stringTrim.trim;
        var $trim = stringTrim.trim;
-
+       var forcedStringTrimMethod = stringTrimForced;
 
        // `String.prototype.trim` method
        // https://tc39.es/ecma262/#sec-string.prototype.trim
 
        // `String.prototype.trim` method
        // https://tc39.es/ecma262/#sec-string.prototype.trim
-       _export({ target: 'String', proto: true, forced: stringTrimForced('trim') }, {
+       $$O({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
          trim: function trim() {
            return $trim(this);
          }
        });
 
          trim: function trim() {
            return $trim(this);
          }
        });
 
-       var defineProperty$3 = objectDefineProperty.f;
+       var DESCRIPTORS$9 = descriptors;
+       var defineProperty$4 = objectDefineProperty.f;
 
        var FunctionPrototype = Function.prototype;
        var FunctionPrototypeToString = FunctionPrototype.toString;
 
        var FunctionPrototype = Function.prototype;
        var FunctionPrototypeToString = FunctionPrototype.toString;
 
        // Function instances `.name` property
        // https://tc39.es/ecma262/#sec-function-instances-name
 
        // Function instances `.name` property
        // https://tc39.es/ecma262/#sec-function-instances-name
-       if (descriptors && !(NAME in FunctionPrototype)) {
-         defineProperty$3(FunctionPrototype, NAME, {
+       if (DESCRIPTORS$9 && !(NAME in FunctionPrototype)) {
+         defineProperty$4(FunctionPrototype, NAME, {
            configurable: true,
            get: function () {
              try {
            configurable: true,
            get: function () {
              try {
          });
        }
 
          });
        }
 
+       var $$N = _export;
+       var DESCRIPTORS$8 = descriptors;
+       var create$6 = objectCreate;
+
        // `Object.create` method
        // https://tc39.es/ecma262/#sec-object.create
        // `Object.create` method
        // https://tc39.es/ecma262/#sec-object.create
-       _export({ target: 'Object', stat: true, sham: !descriptors }, {
-         create: objectCreate
+       $$N({ target: 'Object', stat: true, sham: !DESCRIPTORS$8 }, {
+         create: create$6
        });
 
        });
 
+       var $$M = _export;
+       var global$9 = global$F;
+       var userAgent = engineUserAgent;
+
        var slice$3 = [].slice;
        var slice$3 = [].slice;
-       var MSIE = /MSIE .\./.test(engineUserAgent); // <- dirty ie9- check
+       var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check
 
        var wrap$1 = function (scheduler) {
          return function (handler, timeout /* , ...arguments */) {
 
        var wrap$1 = function (scheduler) {
          return function (handler, timeout /* , ...arguments */) {
 
        // ie9- setTimeout & setInterval additional parameters fix
        // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
 
        // ie9- setTimeout & setInterval additional parameters fix
        // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
-       _export({ global: true, bind: true, forced: MSIE }, {
+       $$M({ global: true, bind: true, forced: MSIE }, {
          // `setTimeout` method
          // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
          // `setTimeout` method
          // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
-         setTimeout: wrap$1(global$2.setTimeout),
+         setTimeout: wrap$1(global$9.setTimeout),
          // `setInterval` method
          // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
          // `setInterval` method
          // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
-         setInterval: wrap$1(global$2.setInterval)
+         setInterval: wrap$1(global$9.setInterval)
        });
 
        });
 
-       var global$1 = typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global$1 !== 'undefined' && global$1;
+       var global$8 = typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global$8 !== 'undefined' && global$8;
        var support = {
        var support = {
-         searchParams: 'URLSearchParams' in global$1,
-         iterable: 'Symbol' in global$1 && 'iterator' in Symbol,
-         blob: 'FileReader' in global$1 && 'Blob' in global$1 && function () {
+         searchParams: 'URLSearchParams' in global$8,
+         iterable: 'Symbol' in global$8 && 'iterator' in Symbol,
+         blob: 'FileReader' in global$8 && 'Blob' in global$8 && function () {
            try {
              new Blob();
              return true;
            try {
              new Blob();
              return true;
              return false;
            }
          }(),
              return false;
            }
          }(),
-         formData: 'FormData' in global$1,
-         arrayBuffer: 'ArrayBuffer' in global$1
+         formData: 'FormData' in global$8,
+         arrayBuffer: 'ArrayBuffer' in global$8
        };
 
        function isDataView(obj) {
        };
 
        function isDataView(obj) {
          });
        };
 
          });
        };
 
-       var DOMException$2 = global$1.DOMException;
+       var DOMException$1 = global$8.DOMException;
 
        try {
 
        try {
-         new DOMException$2();
+         new DOMException$1();
        } catch (err) {
        } catch (err) {
-         DOMException$2 = function DOMException(message, name) {
+         DOMException$1 = function DOMException(message, name) {
            this.message = message;
            this.name = name;
            var error = Error(message);
            this.stack = error.stack;
          };
 
            this.message = message;
            this.name = name;
            var error = Error(message);
            this.stack = error.stack;
          };
 
-         DOMException$2.prototype = Object.create(Error.prototype);
-         DOMException$2.prototype.constructor = DOMException$2;
+         DOMException$1.prototype = Object.create(Error.prototype);
+         DOMException$1.prototype.constructor = DOMException$1;
        }
 
        function fetch$1(input, init) {
        }
 
        function fetch$1(input, init) {
            var request = new Request(input, init);
 
            if (request.signal && request.signal.aborted) {
            var request = new Request(input, init);
 
            if (request.signal && request.signal.aborted) {
-             return reject(new DOMException$2('Aborted', 'AbortError'));
+             return reject(new DOMException$1('Aborted', 'AbortError'));
            }
 
            var xhr = new XMLHttpRequest();
            }
 
            var xhr = new XMLHttpRequest();
 
            xhr.onabort = function () {
              setTimeout(function () {
 
            xhr.onabort = function () {
              setTimeout(function () {
-               reject(new DOMException$2('Aborted', 'AbortError'));
+               reject(new DOMException$1('Aborted', 'AbortError'));
              }, 0);
            };
 
            function fixUrl(url) {
              try {
              }, 0);
            };
 
            function fixUrl(url) {
              try {
-               return url === '' && global$1.location.href ? global$1.location.href : url;
+               return url === '' && global$8.location.href ? global$8.location.href : url;
              } catch (e) {
                return url;
              }
              } catch (e) {
                return url;
              }
        }
        fetch$1.polyfill = true;
 
        }
        fetch$1.polyfill = true;
 
-       if (!global$1.fetch) {
-         global$1.fetch = fetch$1;
-         global$1.Headers = Headers;
-         global$1.Request = Request;
-         global$1.Response = Response;
+       if (!global$8.fetch) {
+         global$8.fetch = fetch$1;
+         global$8.Headers = Headers;
+         global$8.Request = Request;
+         global$8.Response = Response;
        }
 
        }
 
+       var $$L = _export;
+       var DESCRIPTORS$7 = descriptors;
+       var objectDefinePropertyModile = objectDefineProperty;
+
        // `Object.defineProperty` method
        // https://tc39.es/ecma262/#sec-object.defineproperty
        // `Object.defineProperty` method
        // https://tc39.es/ecma262/#sec-object.defineproperty
-       _export({ target: 'Object', stat: true, forced: !descriptors, sham: !descriptors }, {
-         defineProperty: objectDefineProperty.f
+       $$L({ target: 'Object', stat: true, forced: !DESCRIPTORS$7, sham: !DESCRIPTORS$7 }, {
+         defineProperty: objectDefinePropertyModile.f
        });
 
        });
 
+       var $$K = _export;
+       var setPrototypeOf = objectSetPrototypeOf;
+
        // `Object.setPrototypeOf` method
        // https://tc39.es/ecma262/#sec-object.setprototypeof
        // `Object.setPrototypeOf` method
        // https://tc39.es/ecma262/#sec-object.setprototypeof
-       _export({ target: 'Object', stat: true }, {
-         setPrototypeOf: objectSetPrototypeOf
+       $$K({ target: 'Object', stat: true }, {
+         setPrototypeOf: setPrototypeOf
        });
 
        });
 
-       var FAILS_ON_PRIMITIVES$3 = fails(function () { objectGetPrototypeOf(1); });
+       var $$J = _export;
+       var fails$i = fails$N;
+       var toObject$5 = toObject$i;
+       var nativeGetPrototypeOf = objectGetPrototypeOf;
+       var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
+
+       var FAILS_ON_PRIMITIVES$3 = fails$i(function () { nativeGetPrototypeOf(1); });
 
        // `Object.getPrototypeOf` method
        // https://tc39.es/ecma262/#sec-object.getprototypeof
 
        // `Object.getPrototypeOf` method
        // https://tc39.es/ecma262/#sec-object.getprototypeof
-       _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$3, sham: !correctPrototypeGetter }, {
+       $$J({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$3, sham: !CORRECT_PROTOTYPE_GETTER }, {
          getPrototypeOf: function getPrototypeOf(it) {
          getPrototypeOf: function getPrototypeOf(it) {
-           return objectGetPrototypeOf(toObject(it));
+           return nativeGetPrototypeOf(toObject$5(it));
          }
        });
 
          }
        });
 
+       var aFunction$2 = aFunction$9;
+       var isObject$a = isObject$r;
+
        var slice$2 = [].slice;
        var factories = {};
 
        var slice$2 = [].slice;
        var factories = {};
 
        // `Function.prototype.bind` method implementation
        // https://tc39.es/ecma262/#sec-function.prototype.bind
        var functionBind = Function.bind || function bind(that /* , ...args */) {
        // `Function.prototype.bind` method implementation
        // https://tc39.es/ecma262/#sec-function.prototype.bind
        var functionBind = Function.bind || function bind(that /* , ...args */) {
-         var fn = aFunction(this);
+         var fn = aFunction$2(this);
          var partArgs = slice$2.call(arguments, 1);
          var boundFunction = function bound(/* args... */) {
            var args = partArgs.concat(slice$2.call(arguments));
            return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args);
          };
          var partArgs = slice$2.call(arguments, 1);
          var boundFunction = function bound(/* args... */) {
            var args = partArgs.concat(slice$2.call(arguments));
            return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args);
          };
-         if (isObject$4(fn.prototype)) boundFunction.prototype = fn.prototype;
+         if (isObject$a(fn.prototype)) boundFunction.prototype = fn.prototype;
          return boundFunction;
        };
 
          return boundFunction;
        };
 
-       var nativeConstruct = getBuiltIn('Reflect', 'construct');
+       var $$I = _export;
+       var getBuiltIn$1 = getBuiltIn$9;
+       var aFunction$1 = aFunction$9;
+       var anObject$3 = anObject$m;
+       var isObject$9 = isObject$r;
+       var create$5 = objectCreate;
+       var bind$4 = functionBind;
+       var fails$h = fails$N;
+
+       var nativeConstruct = getBuiltIn$1('Reflect', 'construct');
 
        // `Reflect.construct` method
        // https://tc39.es/ecma262/#sec-reflect.construct
        // MS Edge supports only 2 arguments and argumentsList argument is optional
        // FF Nightly sets third argument as `new.target`, but does not create `this` from it
 
        // `Reflect.construct` method
        // https://tc39.es/ecma262/#sec-reflect.construct
        // MS Edge supports only 2 arguments and argumentsList argument is optional
        // FF Nightly sets third argument as `new.target`, but does not create `this` from it
-       var NEW_TARGET_BUG = fails(function () {
+       var NEW_TARGET_BUG = fails$h(function () {
          function F() { /* empty */ }
          return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);
        });
          function F() { /* empty */ }
          return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);
        });
-       var ARGS_BUG = !fails(function () {
+       var ARGS_BUG = !fails$h(function () {
          nativeConstruct(function () { /* empty */ });
        });
        var FORCED$a = NEW_TARGET_BUG || ARGS_BUG;
 
          nativeConstruct(function () { /* empty */ });
        });
        var FORCED$a = NEW_TARGET_BUG || ARGS_BUG;
 
-       _export({ target: 'Reflect', stat: true, forced: FORCED$a, sham: FORCED$a }, {
+       $$I({ target: 'Reflect', stat: true, forced: FORCED$a, sham: FORCED$a }, {
          construct: function construct(Target, args /* , newTarget */) {
          construct: function construct(Target, args /* , newTarget */) {
-           aFunction(Target);
-           anObject(args);
-           var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
+           aFunction$1(Target);
+           anObject$3(args);
+           var newTarget = arguments.length < 3 ? Target : aFunction$1(arguments[2]);
            if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
            if (Target == newTarget) {
              // w/o altered newTarget, optimization for 0-4 arguments
            if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
            if (Target == newTarget) {
              // w/o altered newTarget, optimization for 0-4 arguments
              // w/o altered newTarget, lot of arguments case
              var $args = [null];
              $args.push.apply($args, args);
              // w/o altered newTarget, lot of arguments case
              var $args = [null];
              $args.push.apply($args, args);
-             return new (functionBind.apply(Target, $args))();
+             return new (bind$4.apply(Target, $args))();
            }
            // with altered newTarget, not support built-in constructors
            var proto = newTarget.prototype;
            }
            // with altered newTarget, not support built-in constructors
            var proto = newTarget.prototype;
-           var instance = objectCreate(isObject$4(proto) ? proto : Object.prototype);
+           var instance = create$5(isObject$9(proto) ? proto : Object.prototype);
            var result = Function.apply.call(Target, instance, args);
            var result = Function.apply.call(Target, instance, args);
-           return isObject$4(result) ? result : instance;
+           return isObject$9(result) ? result : instance;
          }
        });
 
          }
        });
 
+       var $$H = _export;
+       var isObject$8 = isObject$r;
+       var anObject$2 = anObject$m;
+       var has$3 = has$j;
+       var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
+       var getPrototypeOf = objectGetPrototypeOf;
+
        // `Reflect.get` method
        // https://tc39.es/ecma262/#sec-reflect.get
        function get$3(target, propertyKey /* , receiver */) {
          var receiver = arguments.length < 3 ? target : arguments[2];
          var descriptor, prototype;
        // `Reflect.get` method
        // https://tc39.es/ecma262/#sec-reflect.get
        function get$3(target, propertyKey /* , receiver */) {
          var receiver = arguments.length < 3 ? target : arguments[2];
          var descriptor, prototype;
-         if (anObject(target) === receiver) return target[propertyKey];
-         if (descriptor = objectGetOwnPropertyDescriptor.f(target, propertyKey)) return has$1(descriptor, 'value')
+         if (anObject$2(target) === receiver) return target[propertyKey];
+         if (descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey)) return has$3(descriptor, 'value')
            ? descriptor.value
            : descriptor.get === undefined
              ? undefined
              : descriptor.get.call(receiver);
            ? descriptor.value
            : descriptor.get === undefined
              ? undefined
              : descriptor.get.call(receiver);
-         if (isObject$4(prototype = objectGetPrototypeOf(target))) return get$3(prototype, propertyKey, receiver);
+         if (isObject$8(prototype = getPrototypeOf(target))) return get$3(prototype, propertyKey, receiver);
        }
 
        }
 
-       _export({ target: 'Reflect', stat: true }, {
+       $$H({ target: 'Reflect', stat: true }, {
          get: get$3
        });
 
          get: get$3
        });
 
+       var $$G = _export;
+       var fails$g = fails$N;
+       var toIndexedObject$1 = toIndexedObject$b;
        var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
        var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
+       var DESCRIPTORS$6 = descriptors;
 
 
-
-       var FAILS_ON_PRIMITIVES$2 = fails(function () { nativeGetOwnPropertyDescriptor(1); });
-       var FORCED$9 = !descriptors || FAILS_ON_PRIMITIVES$2;
+       var FAILS_ON_PRIMITIVES$2 = fails$g(function () { nativeGetOwnPropertyDescriptor(1); });
+       var FORCED$9 = !DESCRIPTORS$6 || FAILS_ON_PRIMITIVES$2;
 
        // `Object.getOwnPropertyDescriptor` method
        // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
 
        // `Object.getOwnPropertyDescriptor` method
        // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
-       _export({ target: 'Object', stat: true, forced: FORCED$9, sham: !descriptors }, {
+       $$G({ target: 'Object', stat: true, forced: FORCED$9, sham: !DESCRIPTORS$6 }, {
          getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
          getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
-           return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);
+           return nativeGetOwnPropertyDescriptor(toIndexedObject$1(it), key);
          }
        });
 
          }
        });
 
-       var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('splice');
+       var $$F = _export;
+       var toAbsoluteIndex$1 = toAbsoluteIndex$8;
+       var toInteger$2 = toInteger$b;
+       var toLength$6 = toLength$q;
+       var toObject$4 = toObject$i;
+       var arraySpeciesCreate$1 = arraySpeciesCreate$3;
+       var createProperty$1 = createProperty$4;
+       var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$5;
+
+       var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$2('splice');
 
        var max$1 = Math.max;
        var min$3 = Math.min;
 
        var max$1 = Math.max;
        var min$3 = Math.min;
        // `Array.prototype.splice` method
        // https://tc39.es/ecma262/#sec-array.prototype.splice
        // with adding support of @@species
        // `Array.prototype.splice` method
        // https://tc39.es/ecma262/#sec-array.prototype.splice
        // with adding support of @@species
-       _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
+       $$F({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
          splice: function splice(start, deleteCount /* , ...items */) {
          splice: function splice(start, deleteCount /* , ...items */) {
-           var O = toObject(this);
-           var len = toLength(O.length);
-           var actualStart = toAbsoluteIndex(start, len);
+           var O = toObject$4(this);
+           var len = toLength$6(O.length);
+           var actualStart = toAbsoluteIndex$1(start, len);
            var argumentsLength = arguments.length;
            var insertCount, actualDeleteCount, A, k, from, to;
            if (argumentsLength === 0) {
            var argumentsLength = arguments.length;
            var insertCount, actualDeleteCount, A, k, from, to;
            if (argumentsLength === 0) {
              actualDeleteCount = len - actualStart;
            } else {
              insertCount = argumentsLength - 2;
              actualDeleteCount = len - actualStart;
            } else {
              insertCount = argumentsLength - 2;
-             actualDeleteCount = min$3(max$1(toInteger(deleteCount), 0), len - actualStart);
+             actualDeleteCount = min$3(max$1(toInteger$2(deleteCount), 0), len - actualStart);
            }
            if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER$1) {
              throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
            }
            }
            if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER$1) {
              throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
            }
-           A = arraySpeciesCreate(O, actualDeleteCount);
+           A = arraySpeciesCreate$1(O, actualDeleteCount);
            for (k = 0; k < actualDeleteCount; k++) {
              from = actualStart + k;
            for (k = 0; k < actualDeleteCount; k++) {
              from = actualStart + k;
-             if (from in O) createProperty(A, k, O[from]);
+             if (from in O) createProperty$1(A, k, O[from]);
            }
            A.length = actualDeleteCount;
            if (insertCount < actualDeleteCount) {
            }
            A.length = actualDeleteCount;
            if (insertCount < actualDeleteCount) {
          }
        });
 
          }
        });
 
+       var defineWellKnownSymbol$1 = defineWellKnownSymbol$4;
+
        // `Symbol.toStringTag` well-known symbol
        // https://tc39.es/ecma262/#sec-symbol.tostringtag
        // `Symbol.toStringTag` well-known symbol
        // https://tc39.es/ecma262/#sec-symbol.tostringtag
-       defineWellKnownSymbol('toStringTag');
+       defineWellKnownSymbol$1('toStringTag');
+
+       var global$7 = global$F;
+       var setToStringTag$2 = setToStringTag$a;
 
        // JSON[@@toStringTag] property
        // https://tc39.es/ecma262/#sec-json-@@tostringtag
 
        // JSON[@@toStringTag] property
        // https://tc39.es/ecma262/#sec-json-@@tostringtag
-       setToStringTag(global$2.JSON, 'JSON', true);
+       setToStringTag$2(global$7.JSON, 'JSON', true);
+
+       var setToStringTag$1 = setToStringTag$a;
 
        // Math[@@toStringTag] property
        // https://tc39.es/ecma262/#sec-math-@@tostringtag
 
        // Math[@@toStringTag] property
        // https://tc39.es/ecma262/#sec-math-@@tostringtag
-       setToStringTag(Math, 'Math', true);
+       setToStringTag$1(Math, 'Math', true);
 
        (function (factory) {
          factory();
 
        (function (factory) {
          factory();
          };
        }
 
          };
        }
 
-       var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
+       var $$E = _export;
+       var fails$f = fails$N;
+       var isArray$1 = isArray$6;
+       var isObject$7 = isObject$r;
+       var toObject$3 = toObject$i;
+       var toLength$5 = toLength$q;
+       var createProperty = createProperty$4;
+       var arraySpeciesCreate = arraySpeciesCreate$3;
+       var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5;
+       var wellKnownSymbol$2 = wellKnownSymbol$s;
+       var V8_VERSION = engineV8Version;
+
+       var IS_CONCAT_SPREADABLE = wellKnownSymbol$2('isConcatSpreadable');
        var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
        var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
 
        // We can't use this feature detection in V8 since it causes
        // deoptimization and serious performance degradation
        // https://github.com/zloirock/core-js/issues/679
        var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
        var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
 
        // We can't use this feature detection in V8 since it causes
        // deoptimization and serious performance degradation
        // https://github.com/zloirock/core-js/issues/679
-       var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
+       var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$f(function () {
          var array = [];
          array[IS_CONCAT_SPREADABLE] = false;
          return array.concat()[0] !== array;
        });
 
          var array = [];
          array[IS_CONCAT_SPREADABLE] = false;
          return array.concat()[0] !== array;
        });
 
-       var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
+       var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$1('concat');
 
        var isConcatSpreadable = function (O) {
 
        var isConcatSpreadable = function (O) {
-         if (!isObject$4(O)) return false;
+         if (!isObject$7(O)) return false;
          var spreadable = O[IS_CONCAT_SPREADABLE];
          var spreadable = O[IS_CONCAT_SPREADABLE];
-         return spreadable !== undefined ? !!spreadable : isArray(O);
+         return spreadable !== undefined ? !!spreadable : isArray$1(O);
        };
 
        var FORCED$8 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
        };
 
        var FORCED$8 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
        // `Array.prototype.concat` method
        // https://tc39.es/ecma262/#sec-array.prototype.concat
        // with adding support of @@isConcatSpreadable and @@species
        // `Array.prototype.concat` method
        // https://tc39.es/ecma262/#sec-array.prototype.concat
        // with adding support of @@isConcatSpreadable and @@species
-       _export({ target: 'Array', proto: true, forced: FORCED$8 }, {
+       $$E({ target: 'Array', proto: true, forced: FORCED$8 }, {
          // eslint-disable-next-line no-unused-vars -- required for `.length`
          concat: function concat(arg) {
          // eslint-disable-next-line no-unused-vars -- required for `.length`
          concat: function concat(arg) {
-           var O = toObject(this);
+           var O = toObject$3(this);
            var A = arraySpeciesCreate(O, 0);
            var n = 0;
            var i, k, length, len, E;
            for (i = -1, length = arguments.length; i < length; i++) {
              E = i === -1 ? O : arguments[i];
              if (isConcatSpreadable(E)) {
            var A = arraySpeciesCreate(O, 0);
            var n = 0;
            var i, k, length, len, E;
            for (i = -1, length = arguments.length; i < length; i++) {
              E = i === -1 ? O : arguments[i];
              if (isConcatSpreadable(E)) {
-               len = toLength(E.length);
+               len = toLength$5(E.length);
                if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
                for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
              } else {
                if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
                for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
              } else {
          }
        });
 
          }
        });
 
+       var $$D = _export;
+       var assign$1 = objectAssign;
+
        // `Object.assign` method
        // https://tc39.es/ecma262/#sec-object.assign
        // eslint-disable-next-line es/no-object-assign -- required for testing
        // `Object.assign` method
        // https://tc39.es/ecma262/#sec-object.assign
        // eslint-disable-next-line es/no-object-assign -- required for testing
-       _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, {
-         assign: objectAssign
+       $$D({ target: 'Object', stat: true, forced: Object.assign !== assign$1 }, {
+         assign: assign$1
        });
 
        });
 
+       var $$C = _export;
        var $filter = arrayIteration.filter;
        var $filter = arrayIteration.filter;
-
+       var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5;
 
        var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
 
        // `Array.prototype.filter` method
        // https://tc39.es/ecma262/#sec-array.prototype.filter
        // with adding support of @@species
 
        var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
 
        // `Array.prototype.filter` method
        // https://tc39.es/ecma262/#sec-array.prototype.filter
        // with adding support of @@species
-       _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
+       $$C({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
          filter: function filter(callbackfn /* , thisArg */) {
            return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
          filter: function filter(callbackfn /* , thisArg */) {
            return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
-       var FAILS_ON_PRIMITIVES$1 = fails(function () { objectKeys(1); });
+       var $$B = _export;
+       var toObject$2 = toObject$i;
+       var nativeKeys = objectKeys$4;
+       var fails$e = fails$N;
+
+       var FAILS_ON_PRIMITIVES$1 = fails$e(function () { nativeKeys(1); });
 
        // `Object.keys` method
        // https://tc39.es/ecma262/#sec-object.keys
 
        // `Object.keys` method
        // https://tc39.es/ecma262/#sec-object.keys
-       _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1 }, {
+       $$B({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1 }, {
          keys: function keys(it) {
          keys: function keys(it) {
-           return objectKeys(toObject(it));
+           return nativeKeys(toObject$2(it));
          }
        });
 
          }
        });
 
+       var $$A = _export;
+       var isArray = isArray$6;
+
        var nativeReverse = [].reverse;
        var test$1 = [1, 2];
 
        var nativeReverse = [].reverse;
        var test$1 = [1, 2];
 
        // https://tc39.es/ecma262/#sec-array.prototype.reverse
        // fix for Safari 12.0 bug
        // https://bugs.webkit.org/show_bug.cgi?id=188794
        // https://tc39.es/ecma262/#sec-array.prototype.reverse
        // fix for Safari 12.0 bug
        // https://bugs.webkit.org/show_bug.cgi?id=188794
-       _export({ target: 'Array', proto: true, forced: String(test$1) === String(test$1.reverse()) }, {
+       $$A({ target: 'Array', proto: true, forced: String(test$1) === String(test$1.reverse()) }, {
          reverse: function reverse() {
            // eslint-disable-next-line no-self-assign -- dirty hack
            if (isArray(this)) this.length = this.length;
          reverse: function reverse() {
            // eslint-disable-next-line no-self-assign -- dirty hack
            if (isArray(this)) this.length = this.length;
          }
        });
 
          }
        });
 
+       var global$6 = global$F;
        var trim$4 = stringTrim.trim;
        var trim$4 = stringTrim.trim;
+       var whitespaces$1 = whitespaces$4;
 
 
-
-       var $parseFloat = global$2.parseFloat;
-       var FORCED$7 = 1 / $parseFloat(whitespaces + '-0') !== -Infinity;
+       var $parseFloat = global$6.parseFloat;
+       var FORCED$7 = 1 / $parseFloat(whitespaces$1 + '-0') !== -Infinity;
 
        // `parseFloat` method
        // https://tc39.es/ecma262/#sec-parsefloat-string
 
        // `parseFloat` method
        // https://tc39.es/ecma262/#sec-parsefloat-string
          return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result;
        } : $parseFloat;
 
          return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result;
        } : $parseFloat;
 
+       var $$z = _export;
+       var parseFloatImplementation = numberParseFloat;
+
        // `parseFloat` method
        // https://tc39.es/ecma262/#sec-parsefloat-string
        // `parseFloat` method
        // https://tc39.es/ecma262/#sec-parsefloat-string
-       _export({ global: true, forced: parseFloat != numberParseFloat }, {
-         parseFloat: numberParseFloat
+       $$z({ global: true, forced: parseFloat != parseFloatImplementation }, {
+         parseFloat: parseFloatImplementation
        });
 
        /*
        });
 
        /*
          tidal_channel: true
        };
 
          tidal_channel: true
        };
 
+       var global$5 = global$F;
        var trim$3 = stringTrim.trim;
        var trim$3 = stringTrim.trim;
+       var whitespaces = whitespaces$4;
 
 
-
-       var $parseInt = global$2.parseInt;
+       var $parseInt = global$5.parseInt;
        var hex$2 = /^[+-]?0[Xx]/;
        var FORCED$6 = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;
 
        var hex$2 = /^[+-]?0[Xx]/;
        var FORCED$6 = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;
 
          return $parseInt(S, (radix >>> 0) || (hex$2.test(S) ? 16 : 10));
        } : $parseInt;
 
          return $parseInt(S, (radix >>> 0) || (hex$2.test(S) ? 16 : 10));
        } : $parseInt;
 
+       var $$y = _export;
+       var parseIntImplementation = numberParseInt;
+
        // `parseInt` method
        // https://tc39.es/ecma262/#sec-parseint-string-radix
        // `parseInt` method
        // https://tc39.es/ecma262/#sec-parseint-string-radix
-       _export({ global: true, forced: parseInt != numberParseInt }, {
-         parseInt: numberParseInt
+       $$y({ global: true, forced: parseInt != parseIntImplementation }, {
+         parseInt: parseIntImplementation
        });
 
        });
 
-       var freezing = !fails(function () {
+       var internalMetadata = {exports: {}};
+
+       var fails$d = fails$N;
+
+       var freezing = !fails$d(function () {
          // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
          return Object.isExtensible(Object.preventExtensions({}));
        });
 
          // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
          return Object.isExtensible(Object.preventExtensions({}));
        });
 
-       var internalMetadata = createCommonjsModule(function (module) {
-       var defineProperty = objectDefineProperty.f;
-
-
+       var hiddenKeys = hiddenKeys$6;
+       var isObject$6 = isObject$r;
+       var has$2 = has$j;
+       var defineProperty$3 = objectDefineProperty.f;
+       var uid = uid$5;
+       var FREEZING$1 = freezing;
 
        var METADATA = uid('meta');
 
        var METADATA = uid('meta');
-       var id = 0;
+       var id$1 = 0;
 
        // eslint-disable-next-line es/no-object-isextensible -- safe
        var isExtensible = Object.isExtensible || function () {
 
        // eslint-disable-next-line es/no-object-isextensible -- safe
        var isExtensible = Object.isExtensible || function () {
        };
 
        var setMetadata = function (it) {
        };
 
        var setMetadata = function (it) {
-         defineProperty(it, METADATA, { value: {
-           objectID: 'O' + id++, // object ID
+         defineProperty$3(it, METADATA, { value: {
+           objectID: 'O' + ++id$1, // object ID
            weakData: {}          // weak collections IDs
          } });
        };
 
            weakData: {}          // weak collections IDs
          } });
        };
 
-       var fastKey = function (it, create) {
+       var fastKey$1 = function (it, create) {
          // return a primitive with prefix
          // return a primitive with prefix
-         if (!isObject$4(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
-         if (!has$1(it, METADATA)) {
+         if (!isObject$6(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
+         if (!has$2(it, METADATA)) {
            // can't set metadata to uncaught frozen object
            if (!isExtensible(it)) return 'F';
            // not necessary to add metadata
            // can't set metadata to uncaught frozen object
            if (!isExtensible(it)) return 'F';
            // not necessary to add metadata
        };
 
        var getWeakData = function (it, create) {
        };
 
        var getWeakData = function (it, create) {
-         if (!has$1(it, METADATA)) {
+         if (!has$2(it, METADATA)) {
            // can't set metadata to uncaught frozen object
            if (!isExtensible(it)) return true;
            // not necessary to add metadata
            // can't set metadata to uncaught frozen object
            if (!isExtensible(it)) return true;
            // not necessary to add metadata
        };
 
        // add metadata on freeze-family methods calling
        };
 
        // add metadata on freeze-family methods calling
-       var onFreeze = function (it) {
-         if (freezing && meta.REQUIRED && isExtensible(it) && !has$1(it, METADATA)) setMetadata(it);
+       var onFreeze$1 = function (it) {
+         if (FREEZING$1 && meta.REQUIRED && isExtensible(it) && !has$2(it, METADATA)) setMetadata(it);
          return it;
        };
 
          return it;
        };
 
-       var meta = module.exports = {
+       var meta = internalMetadata.exports = {
          REQUIRED: false,
          REQUIRED: false,
-         fastKey: fastKey,
+         fastKey: fastKey$1,
          getWeakData: getWeakData,
          getWeakData: getWeakData,
-         onFreeze: onFreeze
+         onFreeze: onFreeze$1
        };
 
        };
 
-       hiddenKeys$1[METADATA] = true;
-       });
-
-       var collection = function (CONSTRUCTOR_NAME, wrapper, common) {
+       hiddenKeys[METADATA] = true;
+
+       var $$x = _export;
+       var global$4 = global$F;
+       var isForced$2 = isForced_1;
+       var redefine$3 = redefine$g.exports;
+       var InternalMetadataModule = internalMetadata.exports;
+       var iterate$1 = iterate$3;
+       var anInstance$1 = anInstance$7;
+       var isObject$5 = isObject$r;
+       var fails$c = fails$N;
+       var checkCorrectnessOfIteration$1 = checkCorrectnessOfIteration$4;
+       var setToStringTag = setToStringTag$a;
+       var inheritIfRequired$2 = inheritIfRequired$4;
+
+       var collection$2 = function (CONSTRUCTOR_NAME, wrapper, common) {
          var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
          var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
          var ADDER = IS_MAP ? 'set' : 'add';
          var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
          var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
          var ADDER = IS_MAP ? 'set' : 'add';
-         var NativeConstructor = global$2[CONSTRUCTOR_NAME];
+         var NativeConstructor = global$4[CONSTRUCTOR_NAME];
          var NativePrototype = NativeConstructor && NativeConstructor.prototype;
          var Constructor = NativeConstructor;
          var exported = {};
 
          var fixMethod = function (KEY) {
            var nativeMethod = NativePrototype[KEY];
          var NativePrototype = NativeConstructor && NativeConstructor.prototype;
          var Constructor = NativeConstructor;
          var exported = {};
 
          var fixMethod = function (KEY) {
            var nativeMethod = NativePrototype[KEY];
-           redefine(NativePrototype, KEY,
+           redefine$3(NativePrototype, KEY,
              KEY == 'add' ? function add(value) {
                nativeMethod.call(this, value === 0 ? 0 : value);
                return this;
              } : KEY == 'delete' ? function (key) {
              KEY == 'add' ? function add(value) {
                nativeMethod.call(this, value === 0 ? 0 : value);
                return this;
              } : KEY == 'delete' ? function (key) {
-               return IS_WEAK && !isObject$4(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);
+               return IS_WEAK && !isObject$5(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);
              } : KEY == 'get' ? function get(key) {
              } : KEY == 'get' ? function get(key) {
-               return IS_WEAK && !isObject$4(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);
+               return IS_WEAK && !isObject$5(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);
              } : KEY == 'has' ? function has(key) {
              } : KEY == 'has' ? function has(key) {
-               return IS_WEAK && !isObject$4(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);
+               return IS_WEAK && !isObject$5(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);
              } : function set(key, value) {
                nativeMethod.call(this, key === 0 ? 0 : key, value);
                return this;
              } : function set(key, value) {
                nativeMethod.call(this, key === 0 ? 0 : key, value);
                return this;
            );
          };
 
            );
          };
 
-         var REPLACE = isForced_1(
+         var REPLACE = isForced$2(
            CONSTRUCTOR_NAME,
            CONSTRUCTOR_NAME,
-           typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () {
+           typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails$c(function () {
              new NativeConstructor().entries().next();
            }))
          );
              new NativeConstructor().entries().next();
            }))
          );
          if (REPLACE) {
            // create collection constructor
            Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
          if (REPLACE) {
            // create collection constructor
            Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
-           internalMetadata.REQUIRED = true;
-         } else if (isForced_1(CONSTRUCTOR_NAME, true)) {
+           InternalMetadataModule.REQUIRED = true;
+         } else if (isForced$2(CONSTRUCTOR_NAME, true)) {
            var instance = new Constructor();
            // early implementations not supports chaining
            var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;
            // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
            var instance = new Constructor();
            // early implementations not supports chaining
            var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;
            // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
-           var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
+           var THROWS_ON_PRIMITIVES = fails$c(function () { instance.has(1); });
            // most early implementations doesn't supports iterables, most modern - not close it correctly
            // eslint-disable-next-line no-new -- required for testing
            // most early implementations doesn't supports iterables, most modern - not close it correctly
            // eslint-disable-next-line no-new -- required for testing
-           var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });
+           var ACCEPT_ITERABLES = checkCorrectnessOfIteration$1(function (iterable) { new NativeConstructor(iterable); });
            // for early implementations -0 and +0 not the same
            // for early implementations -0 and +0 not the same
-           var BUGGY_ZERO = !IS_WEAK && fails(function () {
+           var BUGGY_ZERO = !IS_WEAK && fails$c(function () {
              // V8 ~ Chromium 42- fails only with 5+ elements
              var $instance = new NativeConstructor();
              var index = 5;
              // V8 ~ Chromium 42- fails only with 5+ elements
              var $instance = new NativeConstructor();
              var index = 5;
 
            if (!ACCEPT_ITERABLES) {
              Constructor = wrapper(function (dummy, iterable) {
 
            if (!ACCEPT_ITERABLES) {
              Constructor = wrapper(function (dummy, iterable) {
-               anInstance(dummy, Constructor, CONSTRUCTOR_NAME);
-               var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);
-               if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
+               anInstance$1(dummy, Constructor, CONSTRUCTOR_NAME);
+               var that = inheritIfRequired$2(new NativeConstructor(), dummy, Constructor);
+               if (iterable != undefined) iterate$1(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
                return that;
              });
              Constructor.prototype = NativePrototype;
                return that;
              });
              Constructor.prototype = NativePrototype;
          }
 
          exported[CONSTRUCTOR_NAME] = Constructor;
          }
 
          exported[CONSTRUCTOR_NAME] = Constructor;
-         _export({ global: true, forced: Constructor != NativeConstructor }, exported);
+         $$x({ global: true, forced: Constructor != NativeConstructor }, exported);
 
          setToStringTag(Constructor, CONSTRUCTOR_NAME);
 
 
          setToStringTag(Constructor, CONSTRUCTOR_NAME);
 
        };
 
        var defineProperty$2 = objectDefineProperty.f;
        };
 
        var defineProperty$2 = objectDefineProperty.f;
-
-
-
-
-
-
-
-
-       var fastKey = internalMetadata.fastKey;
-
-
-       var setInternalState = internalState.set;
-       var internalStateGetterFor = internalState.getterFor;
-
-       var collectionStrong = {
+       var create$4 = objectCreate;
+       var redefineAll = redefineAll$4;
+       var bind$3 = functionBindContext;
+       var anInstance = anInstance$7;
+       var iterate = iterate$3;
+       var defineIterator = defineIterator$3;
+       var setSpecies$1 = setSpecies$5;
+       var DESCRIPTORS$5 = descriptors;
+       var fastKey = internalMetadata.exports.fastKey;
+       var InternalStateModule = internalState;
+
+       var setInternalState = InternalStateModule.set;
+       var internalStateGetterFor = InternalStateModule.getterFor;
+
+       var collectionStrong$2 = {
          getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
            var C = wrapper(function (that, iterable) {
              anInstance(that, C, CONSTRUCTOR_NAME);
              setInternalState(that, {
                type: CONSTRUCTOR_NAME,
          getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
            var C = wrapper(function (that, iterable) {
              anInstance(that, C, CONSTRUCTOR_NAME);
              setInternalState(that, {
                type: CONSTRUCTOR_NAME,
-               index: objectCreate(null),
+               index: create$4(null),
                first: undefined,
                last: undefined,
                size: 0
              });
                first: undefined,
                last: undefined,
                size: 0
              });
-             if (!descriptors) that.size = 0;
+             if (!DESCRIPTORS$5) that.size = 0;
              if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
            });
 
              if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
            });
 
                };
                if (!state.first) state.first = entry;
                if (previous) previous.next = entry;
                };
                if (!state.first) state.first = entry;
                if (previous) previous.next = entry;
-               if (descriptors) state.size++;
+               if (DESCRIPTORS$5) state.size++;
                else that.size++;
                // add to index
                if (index !== 'F') state.index[index] = entry;
                else that.size++;
                // add to index
                if (index !== 'F') state.index[index] = entry;
                  entry = entry.next;
                }
                state.first = state.last = undefined;
                  entry = entry.next;
                }
                state.first = state.last = undefined;
-               if (descriptors) state.size = 0;
+               if (DESCRIPTORS$5) state.size = 0;
                else that.size = 0;
              },
              // `{ Map, Set }.prototype.delete(key)` methods
                else that.size = 0;
              },
              // `{ Map, Set }.prototype.delete(key)` methods
                  if (next) next.previous = prev;
                  if (state.first == entry) state.first = next;
                  if (state.last == entry) state.last = prev;
                  if (next) next.previous = prev;
                  if (state.first == entry) state.first = next;
                  if (state.last == entry) state.last = prev;
-                 if (descriptors) state.size--;
+                 if (DESCRIPTORS$5) state.size--;
                  else that.size--;
                } return !!entry;
              },
                  else that.size--;
                } return !!entry;
              },
              // https://tc39.es/ecma262/#sec-set.prototype.foreach
              forEach: function forEach(callbackfn /* , that = undefined */) {
                var state = getInternalState(this);
              // https://tc39.es/ecma262/#sec-set.prototype.foreach
              forEach: function forEach(callbackfn /* , that = undefined */) {
                var state = getInternalState(this);
-               var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
+               var boundFunction = bind$3(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
                var entry;
                while (entry = entry ? entry.next : state.first) {
                  boundFunction(entry.value, entry.key, this);
                var entry;
                while (entry = entry ? entry.next : state.first) {
                  boundFunction(entry.value, entry.key, this);
                return define(this, value = value === 0 ? 0 : value, value);
              }
            });
                return define(this, value = value === 0 ? 0 : value, value);
              }
            });
-           if (descriptors) defineProperty$2(C.prototype, 'size', {
+           if (DESCRIPTORS$5) defineProperty$2(C.prototype, 'size', {
              get: function () {
                return getInternalState(this).size;
              }
              get: function () {
                return getInternalState(this).size;
              }
            // `{ Map, Set }.prototype[@@species]` accessors
            // https://tc39.es/ecma262/#sec-get-map-@@species
            // https://tc39.es/ecma262/#sec-get-set-@@species
            // `{ Map, Set }.prototype[@@species]` accessors
            // https://tc39.es/ecma262/#sec-get-map-@@species
            // https://tc39.es/ecma262/#sec-get-set-@@species
-           setSpecies(CONSTRUCTOR_NAME);
+           setSpecies$1(CONSTRUCTOR_NAME);
          }
        };
 
          }
        };
 
+       var collection$1 = collection$2;
+       var collectionStrong$1 = collectionStrong$2;
+
        // `Set` constructor
        // https://tc39.es/ecma262/#sec-set-objects
        // `Set` constructor
        // https://tc39.es/ecma262/#sec-set-objects
-       collection('Set', function (init) {
+       collection$1('Set', function (init) {
          return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };
          return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };
-       }, collectionStrong);
+       }, collectionStrong$1);
 
        function d3_ascending (a, b) {
          return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
 
        function d3_ascending (a, b) {
          return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
          };
        }
 
          };
        }
 
+       var defineWellKnownSymbol = defineWellKnownSymbol$4;
+
        // `Symbol.asyncIterator` well-known symbol
        // https://tc39.es/ecma262/#sec-symbol.asynciterator
        defineWellKnownSymbol('asyncIterator');
 
        // `Symbol.asyncIterator` well-known symbol
        // https://tc39.es/ecma262/#sec-symbol.asynciterator
        defineWellKnownSymbol('asyncIterator');
 
-       createCommonjsModule(function (module) {
+       var runtime = {exports: {}};
+
+       (function (module) {
          var runtime = function (exports) {
 
            var Op = Object.prototype;
          var runtime = function (exports) {
 
            var Op = Object.prototype;
            // problems, please detail your unique predicament in a GitHub issue.
            Function("r", "regeneratorRuntime = r")(runtime);
          }
            // problems, please detail your unique predicament in a GitHub issue.
            Function("r", "regeneratorRuntime = r")(runtime);
          }
-       });
+       })(runtime);
 
 
-       var _marked$2 = /*#__PURE__*/regeneratorRuntime.mark(numbers);
+       var _marked$3 = /*#__PURE__*/regeneratorRuntime.mark(numbers);
 
        function number$1 (x) {
          return x === null ? NaN : +x;
 
        function number$1 (x) {
          return x === null ? NaN : +x;
                  return _context.stop();
              }
            }
                  return _context.stop();
              }
            }
-         }, _marked$2, null, [[2, 13, 16, 19], [23, 34, 37, 40]]);
+         }, _marked$3, null, [[2, 13, 16, 19], [23, 34, 37, 40]]);
        }
 
        var ascendingBisect = d3_bisector(d3_ascending);
        var bisectRight = ascendingBisect.right;
        d3_bisector(number$1).center;
 
        }
 
        var ascendingBisect = d3_bisector(d3_ascending);
        var bisectRight = ascendingBisect.right;
        d3_bisector(number$1).center;
 
+       var $$w = _export;
+       var from = arrayFrom$1;
+       var checkCorrectnessOfIteration = checkCorrectnessOfIteration$4;
+
        var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
          // eslint-disable-next-line es/no-array-from -- required for testing
          Array.from(iterable);
        var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
          // eslint-disable-next-line es/no-array-from -- required for testing
          Array.from(iterable);
 
        // `Array.from` method
        // https://tc39.es/ecma262/#sec-array.from
 
        // `Array.from` method
        // https://tc39.es/ecma262/#sec-array.from
-       _export({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
-         from: arrayFrom
+       $$w({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
+         from: from
        });
 
        });
 
+       var $$v = _export;
+       var fill = arrayFill$1;
+       var addToUnscopables$3 = addToUnscopables$5;
+
        // `Array.prototype.fill` method
        // https://tc39.es/ecma262/#sec-array.prototype.fill
        // `Array.prototype.fill` method
        // https://tc39.es/ecma262/#sec-array.prototype.fill
-       _export({ target: 'Array', proto: true }, {
-         fill: arrayFill
+       $$v({ target: 'Array', proto: true }, {
+         fill: fill
        });
 
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
        });
 
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-       addToUnscopables('fill');
+       addToUnscopables$3('fill');
 
 
+       var $$u = _export;
        var $some = arrayIteration.some;
        var $some = arrayIteration.some;
+       var arrayMethodIsStrict$3 = arrayMethodIsStrict$8;
 
 
-
-       var STRICT_METHOD$3 = arrayMethodIsStrict('some');
+       var STRICT_METHOD$3 = arrayMethodIsStrict$3('some');
 
        // `Array.prototype.some` method
        // https://tc39.es/ecma262/#sec-array.prototype.some
 
        // `Array.prototype.some` method
        // https://tc39.es/ecma262/#sec-array.prototype.some
-       _export({ target: 'Array', proto: true, forced: !STRICT_METHOD$3 }, {
+       $$u({ target: 'Array', proto: true, forced: !STRICT_METHOD$3 }, {
          some: function some(callbackfn /* , thisArg */) {
            return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
          some: function some(callbackfn /* , thisArg */) {
            return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
+       var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = typedArrayConstructorsRequireWrappers;
        var exportTypedArrayStaticMethod = arrayBufferViewCore.exportTypedArrayStaticMethod;
        var exportTypedArrayStaticMethod = arrayBufferViewCore.exportTypedArrayStaticMethod;
-
+       var typedArrayFrom = typedArrayFrom$2;
 
        // `%TypedArray%.from` method
        // https://tc39.es/ecma262/#sec-%typedarray%.from
 
        // `%TypedArray%.from` method
        // https://tc39.es/ecma262/#sec-%typedarray%.from
-       exportTypedArrayStaticMethod('from', typedArrayFrom, typedArrayConstructorsRequireWrappers);
+       exportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);
+
+       var createTypedArrayConstructor = typedArrayConstructor.exports;
 
        // `Float64Array` constructor
        // https://tc39.es/ecma262/#sec-typedarray-objects
 
        // `Float64Array` constructor
        // https://tc39.es/ecma262/#sec-typedarray-objects
-       typedArrayConstructor('Float64', function (init) {
+       createTypedArrayConstructor('Float64', function (init) {
          return function Float64Array(data, byteOffset, length) {
            return init(this, data, byteOffset, length);
          };
          return function Float64Array(data, byteOffset, length) {
            return init(this, data, byteOffset, length);
          };
          return Adder;
        }();
 
          return Adder;
        }();
 
+       var $$t = _export;
+       var DESCRIPTORS$4 = descriptors;
+       var defineProperties = objectDefineProperties;
+
        // `Object.defineProperties` method
        // https://tc39.es/ecma262/#sec-object.defineproperties
        // `Object.defineProperties` method
        // https://tc39.es/ecma262/#sec-object.defineproperties
-       _export({ target: 'Object', stat: true, forced: !descriptors, sham: !descriptors }, {
-         defineProperties: objectDefineProperties
+       $$t({ target: 'Object', stat: true, forced: !DESCRIPTORS$4, sham: !DESCRIPTORS$4 }, {
+         defineProperties: defineProperties
        });
 
        });
 
+       var collection = collection$2;
+       var collectionStrong = collectionStrong$2;
+
        // `Map` constructor
        // https://tc39.es/ecma262/#sec-map-objects
        collection('Map', function (init) {
          return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };
        }, collectionStrong);
 
        // `Map` constructor
        // https://tc39.es/ecma262/#sec-map-objects
        collection('Map', function (init) {
          return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };
        }, collectionStrong);
 
+       var $$s = _export;
+       var aFunction = aFunction$9;
+       var toObject$1 = toObject$i;
+       var toLength$4 = toLength$q;
+       var fails$b = fails$N;
+       var internalSort = arraySort;
+       var arrayMethodIsStrict$2 = arrayMethodIsStrict$8;
+       var FF = engineFfVersion;
+       var IE_OR_EDGE = engineIsIeOrEdge;
+       var V8 = engineV8Version;
+       var WEBKIT = engineWebkitVersion;
+
        var test = [];
        var nativeSort = test.sort;
 
        // IE8-
        var test = [];
        var nativeSort = test.sort;
 
        // IE8-
-       var FAILS_ON_UNDEFINED = fails(function () {
+       var FAILS_ON_UNDEFINED = fails$b(function () {
          test.sort(undefined);
        });
        // V8 bug
          test.sort(undefined);
        });
        // V8 bug
-       var FAILS_ON_NULL = fails(function () {
+       var FAILS_ON_NULL = fails$b(function () {
          test.sort(null);
        });
        // Old WebKit
          test.sort(null);
        });
        // Old WebKit
-       var STRICT_METHOD$2 = arrayMethodIsStrict('sort');
+       var STRICT_METHOD$2 = arrayMethodIsStrict$2('sort');
 
 
-       var STABLE_SORT = !fails(function () {
+       var STABLE_SORT = !fails$b(function () {
          // feature detection can be too slow, so check engines versions
          // feature detection can be too slow, so check engines versions
-         if (engineV8Version) return engineV8Version < 70;
-         if (engineFfVersion && engineFfVersion > 3) return;
-         if (engineIsIeOrEdge) return true;
-         if (engineWebkitVersion) return engineWebkitVersion < 603;
+         if (V8) return V8 < 70;
+         if (FF && FF > 3) return;
+         if (IE_OR_EDGE) return true;
+         if (WEBKIT) return WEBKIT < 603;
 
          var result = '';
          var code, chr, value, index;
 
          var result = '';
          var code, chr, value, index;
 
        // `Array.prototype.sort` method
        // https://tc39.es/ecma262/#sec-array.prototype.sort
 
        // `Array.prototype.sort` method
        // https://tc39.es/ecma262/#sec-array.prototype.sort
-       _export({ target: 'Array', proto: true, forced: FORCED$5 }, {
+       $$s({ target: 'Array', proto: true, forced: FORCED$5 }, {
          sort: function sort(comparefn) {
            if (comparefn !== undefined) aFunction(comparefn);
 
          sort: function sort(comparefn) {
            if (comparefn !== undefined) aFunction(comparefn);
 
-           var array = toObject(this);
+           var array = toObject$1(this);
 
            if (STABLE_SORT) return comparefn === undefined ? nativeSort.call(array) : nativeSort.call(array, comparefn);
 
            var items = [];
 
            if (STABLE_SORT) return comparefn === undefined ? nativeSort.call(array) : nativeSort.call(array, comparefn);
 
            var items = [];
-           var arrayLength = toLength(array.length);
+           var arrayLength = toLength$4(array.length);
            var itemsLength, index;
 
            for (index = 0; index < arrayLength; index++) {
              if (index in array) items.push(array[index]);
            }
 
            var itemsLength, index;
 
            for (index = 0; index < arrayLength; index++) {
              if (index in array) items.push(array[index]);
            }
 
-           items = arraySort(items, getSortCompare(comparefn));
+           items = internalSort(items, getSortCompare(comparefn));
            itemsLength = items.length;
            index = 0;
 
            itemsLength = items.length;
            index = 0;
 
 
        // ISC license, Copyright 2018 Vladimir Agafonkin.
 
 
        // ISC license, Copyright 2018 Vladimir Agafonkin.
 
-       function quickselect$2(array, k) {
+       function quickselect$3(array, k) {
          var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
          var right = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : array.length - 1;
          var compare = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : d3_ascending;
          var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
          var right = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : array.length - 1;
          var compare = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : d3_ascending;
              var sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);
              var newLeft = Math.max(left, Math.floor(k - m * s / n + sd));
              var newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));
              var sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);
              var newLeft = Math.max(left, Math.floor(k - m * s / n + sd));
              var newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));
-             quickselect$2(array, k, newLeft, newRight, compare);
+             quickselect$3(array, k, newLeft, newRight, compare);
            }
 
            var t = array[k];
            }
 
            var t = array[k];
          var n,
              i = (n - 1) * p,
              i0 = Math.floor(i),
          var n,
              i = (n - 1) * p,
              i0 = Math.floor(i),
-             value0 = max(quickselect$2(values, i0).subarray(0, i0 + 1)),
+             value0 = max(quickselect$3(values, i0).subarray(0, i0 + 1)),
              value1 = min$2(values.subarray(i0 + 1));
          return value0 + (value1 - value0) * (i - i0);
        }
              value1 = min$2(values.subarray(i0 + 1));
          return value0 + (value1 - value0) * (i - i0);
        }
          return quantile(values, 0.5, valueof);
        }
 
          return quantile(values, 0.5, valueof);
        }
 
-       var _marked$1 = /*#__PURE__*/regeneratorRuntime.mark(flatten);
+       var _marked$2 = /*#__PURE__*/regeneratorRuntime.mark(flatten);
 
        function flatten(arrays) {
          var _iterator, _step, array;
 
        function flatten(arrays) {
          var _iterator, _step, array;
                  return _context.stop();
              }
            }
                  return _context.stop();
              }
            }
-         }, _marked$1, null, [[1, 10, 13, 16]]);
+         }, _marked$2, null, [[1, 10, 13, 16]]);
        }
 
        function merge$4(arrays) {
        }
 
        function merge$4(arrays) {
        // `SameValue` abstract operation
        // https://tc39.es/ecma262/#sec-samevalue
        // eslint-disable-next-line es/no-object-is -- safe
        // `SameValue` abstract operation
        // https://tc39.es/ecma262/#sec-samevalue
        // eslint-disable-next-line es/no-object-is -- safe
-       var sameValue = Object.is || function is(x, y) {
+       var sameValue$1 = Object.is || function is(x, y) {
          // eslint-disable-next-line no-self-compare -- NaN check
          return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
        };
 
          // eslint-disable-next-line no-self-compare -- NaN check
          return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
        };
 
+       var $$r = _export;
+
        // eslint-disable-next-line es/no-math-hypot -- required for testing
        var $hypot = Math.hypot;
        var abs$3 = Math.abs;
        // eslint-disable-next-line es/no-math-hypot -- required for testing
        var $hypot = Math.hypot;
        var abs$3 = Math.abs;
 
        // `Math.hypot` method
        // https://tc39.es/ecma262/#sec-math.hypot
 
        // `Math.hypot` method
        // https://tc39.es/ecma262/#sec-math.hypot
-       _export({ target: 'Math', stat: true, forced: BUGGY }, {
+       $$r({ target: 'Math', stat: true, forced: BUGGY }, {
          // eslint-disable-next-line no-unused-vars -- required for `.length`
          hypot: function hypot(value1, value2) {
            var sum = 0;
          // eslint-disable-next-line no-unused-vars -- required for `.length`
          hypot: function hypot(value1, value2) {
            var sum = 0;
          return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
        };
 
          return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
        };
 
+       var $$q = _export;
+       var sign$1 = mathSign;
+
        // `Math.sign` method
        // https://tc39.es/ecma262/#sec-math.sign
        // `Math.sign` method
        // https://tc39.es/ecma262/#sec-math.sign
-       _export({ target: 'Math', stat: true }, {
-         sign: mathSign
+       $$q({ target: 'Math', stat: true }, {
+         sign: sign$1
        });
 
        var epsilon$1 = 1e-6;
        });
 
        var epsilon$1 = 1e-6;
        // constants
        var TAU = 2 * Math.PI;
        var EQUATORIAL_RADIUS = 6356752.314245179;
        // constants
        var TAU = 2 * Math.PI;
        var EQUATORIAL_RADIUS = 6356752.314245179;
-       var POLAR_RADIUS$1 = 6378137.0;
+       var POLAR_RADIUS = 6378137.0;
        function geoLatToMeters(dLat) {
        function geoLatToMeters(dLat) {
-         return dLat * (TAU * POLAR_RADIUS$1 / 360);
+         return dLat * (TAU * POLAR_RADIUS / 360);
        }
        function geoLonToMeters(dLon, atLat) {
          return Math.abs(atLat) >= 90 ? 0 : dLon * (TAU * EQUATORIAL_RADIUS / 360) * Math.abs(Math.cos(atLat * (Math.PI / 180)));
        }
        function geoMetersToLat(m) {
        }
        function geoLonToMeters(dLon, atLat) {
          return Math.abs(atLat) >= 90 ? 0 : dLon * (TAU * EQUATORIAL_RADIUS / 360) * Math.abs(Math.cos(atLat * (Math.PI / 180)));
        }
        function geoMetersToLat(m) {
-         return m / (TAU * POLAR_RADIUS$1 / 360);
+         return m / (TAU * POLAR_RADIUS / 360);
        }
        function geoMetersToLon(m, atLat) {
          return Math.abs(atLat) >= 90 ? 0 : m / (TAU * EQUATORIAL_RADIUS / 360) / Math.abs(Math.cos(atLat * (Math.PI / 180)));
        }
        function geoMetersToOffset(meters, tileSize) {
          tileSize = tileSize || 256;
        }
        function geoMetersToLon(m, atLat) {
          return Math.abs(atLat) >= 90 ? 0 : m / (TAU * EQUATORIAL_RADIUS / 360) / Math.abs(Math.cos(atLat * (Math.PI / 180)));
        }
        function geoMetersToOffset(meters, tileSize) {
          tileSize = tileSize || 256;
-         return [meters[0] * tileSize / (TAU * EQUATORIAL_RADIUS), -meters[1] * tileSize / (TAU * POLAR_RADIUS$1)];
+         return [meters[0] * tileSize / (TAU * EQUATORIAL_RADIUS), -meters[1] * tileSize / (TAU * POLAR_RADIUS)];
        }
        function geoOffsetToMeters(offset, tileSize) {
          tileSize = tileSize || 256;
        }
        function geoOffsetToMeters(offset, tileSize) {
          tileSize = tileSize || 256;
-         return [offset[0] * TAU * EQUATORIAL_RADIUS / tileSize, -offset[1] * TAU * POLAR_RADIUS$1 / tileSize];
+         return [offset[0] * TAU * EQUATORIAL_RADIUS / tileSize, -offset[1] * TAU * POLAR_RADIUS / tileSize];
        } // Equirectangular approximation of spherical distances on Earth
 
        function geoSphericalDistance(a, b) {
        } // Equirectangular approximation of spherical distances on Earth
 
        function geoSphericalDistance(a, b) {
          }
        });
 
          }
        });
 
+       var $$p = _export;
        var $every = arrayIteration.every;
        var $every = arrayIteration.every;
+       var arrayMethodIsStrict$1 = arrayMethodIsStrict$8;
 
 
-
-       var STRICT_METHOD$1 = arrayMethodIsStrict('every');
+       var STRICT_METHOD$1 = arrayMethodIsStrict$1('every');
 
        // `Array.prototype.every` method
        // https://tc39.es/ecma262/#sec-array.prototype.every
 
        // `Array.prototype.every` method
        // https://tc39.es/ecma262/#sec-array.prototype.every
-       _export({ target: 'Array', proto: true, forced: !STRICT_METHOD$1 }, {
+       $$p({ target: 'Array', proto: true, forced: !STRICT_METHOD$1 }, {
          every: function every(callbackfn /* , thisArg */) {
            return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
          every: function every(callbackfn /* , thisArg */) {
            return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
+       var $$o = _export;
        var $reduce = arrayReduce.left;
        var $reduce = arrayReduce.left;
-
-
-
+       var arrayMethodIsStrict = arrayMethodIsStrict$8;
+       var CHROME_VERSION = engineV8Version;
+       var IS_NODE = engineIsNode;
 
        var STRICT_METHOD = arrayMethodIsStrict('reduce');
        // Chrome 80-82 has a critical bug
        // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
 
        var STRICT_METHOD = arrayMethodIsStrict('reduce');
        // Chrome 80-82 has a critical bug
        // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
-       var CHROME_BUG = !engineIsNode && engineV8Version > 79 && engineV8Version < 83;
+       var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
 
        // `Array.prototype.reduce` method
        // https://tc39.es/ecma262/#sec-array.prototype.reduce
 
        // `Array.prototype.reduce` method
        // https://tc39.es/ecma262/#sec-array.prototype.reduce
-       _export({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
+       $$o({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
          reduce: function reduce(callbackfn /* , initialValue */) {
            return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
          }
          reduce: function reduce(callbackfn /* , initialValue */) {
            return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
          }
          return new Selection$1(subgroups, parents);
        }
 
          return new Selection$1(subgroups, parents);
        }
 
+       var $$n = _export;
        var $find = arrayIteration.find;
        var $find = arrayIteration.find;
-
+       var addToUnscopables$2 = addToUnscopables$5;
 
        var FIND = 'find';
        var SKIPS_HOLES$1 = true;
 
        var FIND = 'find';
        var SKIPS_HOLES$1 = true;
 
        // `Array.prototype.find` method
        // https://tc39.es/ecma262/#sec-array.prototype.find
 
        // `Array.prototype.find` method
        // https://tc39.es/ecma262/#sec-array.prototype.find
-       _export({ target: 'Array', proto: true, forced: SKIPS_HOLES$1 }, {
+       $$n({ target: 'Array', proto: true, forced: SKIPS_HOLES$1 }, {
          find: function find(callbackfn /* , that = undefined */) {
            return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
          find: function find(callbackfn /* , that = undefined */) {
            return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-       addToUnscopables(FIND);
+       addToUnscopables$2(FIND);
 
        function matcher (selector) {
          return function () {
 
        function matcher (selector) {
          return function () {
          return this.each((typeof params === "function" ? dispatchFunction : dispatchConstant)(type, params));
        }
 
          return this.each((typeof params === "function" ? dispatchFunction : dispatchConstant)(type, params));
        }
 
-       var _marked = /*#__PURE__*/regeneratorRuntime.mark(_callee);
+       var _marked$1 = /*#__PURE__*/regeneratorRuntime.mark(_callee);
 
        function _callee() {
          var groups, j, m, group, i, n, node;
 
        function _callee() {
          var groups, j, m, group, i, n, node;
                  return _context.stop();
              }
            }
                  return _context.stop();
              }
            }
-         }, _marked, this);
+         }, _marked$1, this);
        }
 
        var root$1 = [null];
        }
 
        var root$1 = [null];
          return drag;
        }
 
          return drag;
        }
 
+       var DESCRIPTORS$3 = descriptors;
+       var global$3 = global$F;
+       var isForced$1 = isForced_1;
+       var inheritIfRequired$1 = inheritIfRequired$4;
+       var createNonEnumerableProperty = createNonEnumerableProperty$e;
        var defineProperty$1 = objectDefineProperty.f;
        var getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
        var defineProperty$1 = objectDefineProperty.f;
        var getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
-
-
-
-
-
-
+       var isRegExp$1 = isRegexp;
+       var getFlags = regexpFlags$1;
+       var stickyHelpers = regexpStickyHelpers;
+       var redefine$2 = redefine$g.exports;
+       var fails$a = fails$N;
+       var has$1 = has$j;
        var enforceInternalState = internalState.enforce;
        var enforceInternalState = internalState.enforce;
+       var setSpecies = setSpecies$5;
+       var wellKnownSymbol$1 = wellKnownSymbol$s;
+       var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
+       var UNSUPPORTED_NCG = regexpUnsupportedNcg;
 
 
-
-
-
-
-       var MATCH$1 = wellKnownSymbol('match');
-       var NativeRegExp = global$2.RegExp;
+       var MATCH$1 = wellKnownSymbol$1('match');
+       var NativeRegExp = global$3.RegExp;
        var RegExpPrototype = NativeRegExp.prototype;
        // TODO: Use only propper RegExpIdentifierName
        var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
        var RegExpPrototype = NativeRegExp.prototype;
        // TODO: Use only propper RegExpIdentifierName
        var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
        // "new" should create a new object, old webkit bug
        var CORRECT_NEW = new NativeRegExp(re1) !== re1;
 
        // "new" should create a new object, old webkit bug
        var CORRECT_NEW = new NativeRegExp(re1) !== re1;
 
-       var UNSUPPORTED_Y = regexpStickyHelpers.UNSUPPORTED_Y;
+       var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
 
 
-       var BASE_FORCED = descriptors &&
-         (!CORRECT_NEW || UNSUPPORTED_Y || regexpUnsupportedDotAll || regexpUnsupportedNcg || fails(function () {
+       var BASE_FORCED = DESCRIPTORS$3 &&
+         (!CORRECT_NEW || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails$a(function () {
            re2[MATCH$1] = false;
            // RegExp constructor can alter flags and IsRegExp works correct with @@match
            return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
            re2[MATCH$1] = false;
            // RegExp constructor can alter flags and IsRegExp works correct with @@match
            return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
 
        // `RegExp` constructor
        // https://tc39.es/ecma262/#sec-regexp-constructor
 
        // `RegExp` constructor
        // https://tc39.es/ecma262/#sec-regexp-constructor
-       if (isForced_1('RegExp', BASE_FORCED)) {
+       if (isForced$1('RegExp', BASE_FORCED)) {
          var RegExpWrapper = function RegExp(pattern, flags) {
            var thisIsRegExp = this instanceof RegExpWrapper;
          var RegExpWrapper = function RegExp(pattern, flags) {
            var thisIsRegExp = this instanceof RegExpWrapper;
-           var patternIsRegExp = isRegexp(pattern);
+           var patternIsRegExp = isRegExp$1(pattern);
            var flagsAreUndefined = flags === undefined;
            var groups = [];
            var flagsAreUndefined = flags === undefined;
            var groups = [];
-           var rawPattern = pattern;
-           var rawFlags, dotAll, sticky, handled, result, state;
+           var rawPattern, rawFlags, dotAll, sticky, handled, result, state;
 
 
-           if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {
+           if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) {
              return pattern;
            }
 
              return pattern;
            }
 
-           if (patternIsRegExp || pattern instanceof RegExpWrapper) {
+           if (CORRECT_NEW) {
+             if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source;
+           } else if (pattern instanceof RegExpWrapper) {
+             if (flagsAreUndefined) flags = getFlags.call(pattern);
              pattern = pattern.source;
              pattern = pattern.source;
-             if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : regexpFlags.call(rawPattern);
            }
 
            pattern = pattern === undefined ? '' : String(pattern);
            flags = flags === undefined ? '' : String(flags);
            rawPattern = pattern;
 
            }
 
            pattern = pattern === undefined ? '' : String(pattern);
            flags = flags === undefined ? '' : String(flags);
            rawPattern = pattern;
 
-           if (regexpUnsupportedDotAll && 'dotAll' in re1) {
+           if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {
              dotAll = !!flags && flags.indexOf('s') > -1;
              if (dotAll) flags = flags.replace(/s/g, '');
            }
              dotAll = !!flags && flags.indexOf('s') > -1;
              if (dotAll) flags = flags.replace(/s/g, '');
            }
              if (sticky) flags = flags.replace(/y/g, '');
            }
 
              if (sticky) flags = flags.replace(/y/g, '');
            }
 
-           if (regexpUnsupportedNcg) {
+           if (UNSUPPORTED_NCG) {
              handled = handleNCG(pattern);
              pattern = handled[0];
              groups = handled[1];
            }
 
              handled = handleNCG(pattern);
              pattern = handled[0];
              groups = handled[1];
            }
 
-           result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);
+           result = inheritIfRequired$1(
+             CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags),
+             thisIsRegExp ? this : RegExpPrototype,
+             RegExpWrapper
+           );
 
            if (dotAll || sticky || groups.length) {
              state = enforceInternalState(result);
 
            if (dotAll || sticky || groups.length) {
              state = enforceInternalState(result);
 
          RegExpPrototype.constructor = RegExpWrapper;
          RegExpWrapper.prototype = RegExpPrototype;
 
          RegExpPrototype.constructor = RegExpWrapper;
          RegExpWrapper.prototype = RegExpPrototype;
-         redefine(global$2, 'RegExp', RegExpWrapper);
+         redefine$2(global$3, 'RegExp', RegExpWrapper);
        }
 
        // https://tc39.es/ecma262/#sec-get-regexp-@@species
        }
 
        // https://tc39.es/ecma262/#sec-get-regexp-@@species
          return samples;
        }
 
          return samples;
        }
 
+       var $$m = _export;
+       var bind$2 = functionBind;
+
        // `Function.prototype.bind` method
        // https://tc39.es/ecma262/#sec-function.prototype.bind
        // `Function.prototype.bind` method
        // https://tc39.es/ecma262/#sec-function.prototype.bind
-       _export({ target: 'Function', proto: true }, {
-         bind: functionBind
+       $$m({ target: 'Function', proto: true }, {
+         bind: bind$2
        });
 
        var frame = 0,
        });
 
        var frame = 0,
        function schedule (node, name, id, index, group, timing) {
          var schedules = node.__transition;
          if (!schedules) node.__transition = {};else if (id in schedules) return;
        function schedule (node, name, id, index, group, timing) {
          var schedules = node.__transition;
          if (!schedules) node.__transition = {};else if (id in schedules) return;
-         create$2(node, id, {
+         create$3(node, id, {
            name: name,
            index: index,
            // For context during callback.
            name: name,
            index: index,
            // For context during callback.
          return schedule;
        }
 
          return schedule;
        }
 
-       function create$2(node, id, self) {
+       function create$3(node, id, self) {
          var schedules = node.__transition,
              tween; // Initialize the self timer when the transition is created.
          // Note the actual delay is not known until the first callback!
          var schedules = node.__transition,
              tween; // Initialize the self timer when the transition is created.
          // Note the actual delay is not known until the first callback!
          return score;
        }
 
          return score;
        }
 
-       var onFreeze = internalMetadata.onFreeze;
+       var $$l = _export;
+       var FREEZING = freezing;
+       var fails$9 = fails$N;
+       var isObject$4 = isObject$r;
+       var onFreeze = internalMetadata.exports.onFreeze;
 
        // eslint-disable-next-line es/no-object-freeze -- safe
        var $freeze = Object.freeze;
 
        // eslint-disable-next-line es/no-object-freeze -- safe
        var $freeze = Object.freeze;
-       var FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); });
+       var FAILS_ON_PRIMITIVES = fails$9(function () { $freeze(1); });
 
        // `Object.freeze` method
        // https://tc39.es/ecma262/#sec-object.freeze
 
        // `Object.freeze` method
        // https://tc39.es/ecma262/#sec-object.freeze
-       _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !freezing }, {
+       $$l({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {
          freeze: function freeze(it) {
            return $freeze && isObject$4(it) ? $freeze(onFreeze(it)) : it;
          }
          freeze: function freeze(it) {
            return $freeze && isObject$4(it) ? $freeze(onFreeze(it)) : it;
          }
          }, []);
        }
 
          }, []);
        }
 
+       var DESCRIPTORS$2 = descriptors;
+       var global$2 = global$F;
+       var isForced = isForced_1;
+       var redefine$1 = redefine$g.exports;
+       var has = has$j;
+       var classof$1 = classofRaw$1;
+       var inheritIfRequired = inheritIfRequired$4;
+       var toPrimitive$1 = toPrimitive$7;
+       var fails$8 = fails$N;
+       var create$2 = objectCreate;
+       var getOwnPropertyNames = objectGetOwnPropertyNames.f;
+       var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
+       var defineProperty = objectDefineProperty.f;
+       var trim$2 = stringTrim.trim;
+
+       var NUMBER = 'Number';
+       var NativeNumber = global$2[NUMBER];
+       var NumberPrototype = NativeNumber.prototype;
+
+       // Opera ~12 has broken Object#toString
+       var BROKEN_CLASSOF = classof$1(create$2(NumberPrototype)) == NUMBER;
+
+       // `ToNumber` abstract operation
+       // https://tc39.es/ecma262/#sec-tonumber
+       var toNumber$1 = function (argument) {
+         var it = toPrimitive$1(argument, false);
+         var first, third, radix, maxCode, digits, length, index, code;
+         if (typeof it == 'string' && it.length > 2) {
+           it = trim$2(it);
+           first = it.charCodeAt(0);
+           if (first === 43 || first === 45) {
+             third = it.charCodeAt(2);
+             if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
+           } else if (first === 48) {
+             switch (it.charCodeAt(1)) {
+               case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i
+               case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
+               default: return +it;
+             }
+             digits = it.slice(2);
+             length = digits.length;
+             for (index = 0; index < length; index++) {
+               code = digits.charCodeAt(index);
+               // parseInt parses a string to a first unavailable symbol
+               // but ToNumber should return NaN if a string contains unavailable symbols
+               if (code < 48 || code > maxCode) return NaN;
+             } return parseInt(digits, radix);
+           }
+         } return +it;
+       };
+
+       // `Number` constructor
+       // https://tc39.es/ecma262/#sec-number-constructor
+       if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
+         var NumberWrapper = function Number(value) {
+           var it = arguments.length < 1 ? 0 : value;
+           var dummy = this;
+           return dummy instanceof NumberWrapper
+             // check on 1..constructor(foo) case
+             && (BROKEN_CLASSOF ? fails$8(function () { NumberPrototype.valueOf.call(dummy); }) : classof$1(dummy) != NUMBER)
+               ? inheritIfRequired(new NativeNumber(toNumber$1(it)), dummy, NumberWrapper) : toNumber$1(it);
+         };
+         for (var keys = DESCRIPTORS$2 ? getOwnPropertyNames(NativeNumber) : (
+           // ES3:
+           'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
+           // ES2015 (in case, if modules with ES2015 Number statics required before):
+           'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
+           'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' +
+           // ESNext
+           'fromString,range'
+         ).split(','), j$1 = 0, key; keys.length > j$1; j$1++) {
+           if (has(NativeNumber, key = keys[j$1]) && !has(NumberWrapper, key)) {
+             defineProperty(NumberWrapper, key, getOwnPropertyDescriptor$2(NativeNumber, key));
+           }
+         }
+         NumberWrapper.prototype = NumberPrototype;
+         NumberPrototype.constructor = NumberWrapper;
+         redefine$1(global$2, NUMBER, NumberWrapper);
+       }
+
+       var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
+       var anObject$1 = anObject$m;
+       var toLength$3 = toLength$q;
+       var requireObjectCoercible$7 = requireObjectCoercible$e;
+       var advanceStringIndex = advanceStringIndex$3;
+       var regExpExec$1 = regexpExecAbstract;
+
        // @@match logic
        // @@match logic
-       fixRegexpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {
+       fixRegExpWellKnownSymbolLogic$1('match', function (MATCH, nativeMatch, maybeCallNative) {
          return [
            // `String.prototype.match` method
            // https://tc39.es/ecma262/#sec-string.prototype.match
            function match(regexp) {
          return [
            // `String.prototype.match` method
            // https://tc39.es/ecma262/#sec-string.prototype.match
            function match(regexp) {
-             var O = requireObjectCoercible(this);
+             var O = requireObjectCoercible$7(this);
              var matcher = regexp == undefined ? undefined : regexp[MATCH];
              return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
            },
              var matcher = regexp == undefined ? undefined : regexp[MATCH];
              return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
            },
              var res = maybeCallNative(nativeMatch, this, string);
              if (res.done) return res.value;
 
              var res = maybeCallNative(nativeMatch, this, string);
              if (res.done) return res.value;
 
-             var rx = anObject(this);
+             var rx = anObject$1(this);
              var S = String(string);
 
              var S = String(string);
 
-             if (!rx.global) return regexpExecAbstract(rx, S);
+             if (!rx.global) return regExpExec$1(rx, S);
 
              var fullUnicode = rx.unicode;
              rx.lastIndex = 0;
              var A = [];
              var n = 0;
              var result;
 
              var fullUnicode = rx.unicode;
              rx.lastIndex = 0;
              var A = [];
              var n = 0;
              var result;
-             while ((result = regexpExecAbstract(rx, S)) !== null) {
+             while ((result = regExpExec$1(rx, S)) !== null) {
                var matchStr = String(result[0]);
                A[n] = matchStr;
                var matchStr = String(result[0]);
                A[n] = matchStr;
-               if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
+               if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$3(rx.lastIndex), fullUnicode);
                n++;
              }
              return n === 0 ? null : A;
                n++;
              }
              return n === 0 ? null : A;
          ];
        });
 
          ];
        });
 
-       var remove$6 = removeDiacritics;
+       var diacritics = {};
+
+       var remove$6 = diacritics.remove = removeDiacritics;
        var replacementList = [{
          base: ' ',
          chars: "\xA0"
        var replacementList = [{
          base: ' ',
          chars: "\xA0"
        for (var i$1 = 0; i$1 < replacementList.length; i$1 += 1) {
          var chars = replacementList[i$1].chars;
 
        for (var i$1 = 0; i$1 < replacementList.length; i$1 += 1) {
          var chars = replacementList[i$1].chars;
 
-         for (var j$1 = 0; j$1 < chars.length; j$1 += 1) {
-           diacriticsMap[chars[j$1]] = replacementList[i$1].base;
+         for (var j = 0; j < chars.length; j += 1) {
+           diacriticsMap[chars[j]] = replacementList[i$1].base;
          }
        }
 
          }
        }
 
          });
        }
 
          });
        }
 
-       var replacementList_1 = replacementList;
-       var diacriticsMap_1 = diacriticsMap;
-       var diacritics = {
-         remove: remove$6,
-         replacementList: replacementList_1,
-         diacriticsMap: diacriticsMap_1
-       };
+       diacritics.replacementList = replacementList;
+       diacritics.diacriticsMap = diacriticsMap;
 
 
+       var lib = {};
+
+       var isArabic$1 = {};
+
+       Object.defineProperty(isArabic$1, "__esModule", {
+         value: true
+       });
        var arabicBlocks = [[0x0600, 0x06FF], [0x0750, 0x077F], [0x08A0, 0x08FF], [0xFB50, 0xFDFF], [0xFE70, 0xFEFF], [0x10E60, 0x10E7F], [0x1EC70, 0x1ECBF], [0x1EE00, 0x1EEFF] // Mathematical Alphabetic symbols https://www.unicode.org/charts/PDF/U1EE00.pdf
        ];
 
        var arabicBlocks = [[0x0600, 0x06FF], [0x0750, 0x077F], [0x08A0, 0x08FF], [0xFB50, 0xFDFF], [0xFE70, 0xFEFF], [0x10E60, 0x10E7F], [0x1EC70, 0x1ECBF], [0x1EE00, 0x1EEFF] // Mathematical Alphabetic symbols https://www.unicode.org/charts/PDF/U1EE00.pdf
        ];
 
          return false;
        }
 
          return false;
        }
 
-       var isArabic_2 = isArabic;
+       isArabic$1.isArabic = isArabic;
 
        function isMath(_char2) {
          if (_char2.length > 2) {
 
        function isMath(_char2) {
          if (_char2.length > 2) {
          return code >= 0x660 && code <= 0x66C || code >= 0x6F0 && code <= 0x6F9;
        }
 
          return code >= 0x660 && code <= 0x66C || code >= 0x6F0 && code <= 0x6F9;
        }
 
-       var isMath_1 = isMath;
-       var isArabic_1 = /*#__PURE__*/Object.defineProperty({
-         isArabic: isArabic_2,
-         isMath: isMath_1
-       }, '__esModule', {
+       isArabic$1.isMath = isMath;
+
+       var GlyphSplitter$1 = {};
+
+       var reference = {};
+
+       var unicodeArabic = {};
+
+       Object.defineProperty(unicodeArabic, "__esModule", {
          value: true
        });
          value: true
        });
-
        var arabicReference = {
          "alef": {
            "normal": ["\u0627"],
        var arabicReference = {
          "alef": {
            "normal": ["\u0627"],
            "normal": ["\u08BD"]
          }
        };
            "normal": ["\u08BD"]
          }
        };
-       var _default$3 = arabicReference;
-       var unicodeArabic = /*#__PURE__*/Object.defineProperty({
-         "default": _default$3
-       }, '__esModule', {
+
+       unicodeArabic["default"] = arabicReference;
+
+       var unicodeLigatures = {};
+
+       Object.defineProperty(unicodeLigatures, "__esModule", {
          value: true
        });
          value: true
        });
-
        var ligatureReference = {
          "\u0626\u0627": {
            "isolated": "\uFBEA",
        var ligatureReference = {
          "\u0626\u0627": {
            "isolated": "\uFBEA",
            "\u0631\u06CC\u0627\u0644": "\uFDFC"
          }
        };
            "\u0631\u06CC\u0627\u0644": "\uFDFC"
          }
        };
-       var _default$2 = ligatureReference;
-       var unicodeLigatures = /*#__PURE__*/Object.defineProperty({
-         "default": _default$2
-       }, '__esModule', {
-         value: true
-       });
 
 
-       var reference = createCommonjsModule(function (module, exports) {
+       unicodeLigatures["default"] = ligatureReference;
 
 
-         Object.defineProperty(exports, "__esModule", {
-           value: true
-         });
-         var letterList = Object.keys(unicodeArabic["default"]);
-         exports.letterList = letterList;
-         var ligatureList = Object.keys(unicodeLigatures["default"]);
-         exports.ligatureList = ligatureList;
-         var ligatureWordList = Object.keys(unicodeLigatures["default"].words);
-         exports.ligatureWordList = ligatureWordList;
-         var lams = "\u0644\u06B5\u06B6\u06B7\u06B8";
-         exports.lams = lams;
-         var alefs = "\u0627\u0622\u0623\u0625\u0671\u0672\u0673\u0675\u0773\u0774";
-         exports.alefs = alefs; // for (var l = 1; l < lams.length; l++) {
-         //   console.log('-');
-         //   for (var a = 0; a < alefs.length; a++) {
-         //     console.log(a + ': ' + lams[l] + alefs[a]);
-         //   }
-         // }
+       Object.defineProperty(reference, "__esModule", {
+         value: true
+       });
+       var unicode_arabic_1$3 = unicodeArabic;
+       var unicode_ligatures_1$2 = unicodeLigatures;
+       var letterList = Object.keys(unicode_arabic_1$3["default"]);
+       reference.letterList = letterList;
+       var ligatureList = Object.keys(unicode_ligatures_1$2["default"]);
+       reference.ligatureList = ligatureList;
+       var ligatureWordList = Object.keys(unicode_ligatures_1$2["default"].words);
+       reference.ligatureWordList = ligatureWordList;
+       var lams = "\u0644\u06B5\u06B6\u06B7\u06B8";
+       reference.lams = lams;
+       var alefs = "\u0627\u0622\u0623\u0625\u0671\u0672\u0673\u0675\u0773\u0774";
+       reference.alefs = alefs; // for (var l = 1; l < lams.length; l++) {
+       //   console.log('-');
+       //   for (var a = 0; a < alefs.length; a++) {
+       //     console.log(a + ': ' + lams[l] + alefs[a]);
+       //   }
+       // }
 
 
-         var tashkeel = "\u0605\u0640\u0670\u0674\u06DF\u06E7\u06E8";
-         exports.tashkeel = tashkeel;
+       var tashkeel = "\u0605\u0640\u0670\u0674\u06DF\u06E7\u06E8";
+       reference.tashkeel = tashkeel;
 
 
-         function addToTashkeel(start, finish) {
-           for (var i = start; i <= finish; i++) {
-             exports.tashkeel = tashkeel += String.fromCharCode(i);
-           }
+       function addToTashkeel(start, finish) {
+         for (var i = start; i <= finish; i++) {
+           reference.tashkeel = tashkeel += String.fromCharCode(i);
          }
          }
+       }
 
 
-         addToTashkeel(0x0610, 0x061A);
-         addToTashkeel(0x064B, 0x065F);
-         addToTashkeel(0x06D6, 0x06DC);
-         addToTashkeel(0x06E0, 0x06E4);
-         addToTashkeel(0x06EA, 0x06ED);
-         addToTashkeel(0x08D3, 0x08E1);
-         addToTashkeel(0x08E3, 0x08FF);
-         addToTashkeel(0xFE70, 0xFE7F);
-         var lineBreakers = "\u0627\u0629\u0648\u06C0\u06CF\u06FD\u06FE\u076B\u076C\u0771\u0773\u0774\u0778\u0779\u08E2\u08B1\u08B2\u08B9";
-         exports.lineBreakers = lineBreakers;
+       addToTashkeel(0x0610, 0x061A);
+       addToTashkeel(0x064B, 0x065F);
+       addToTashkeel(0x06D6, 0x06DC);
+       addToTashkeel(0x06E0, 0x06E4);
+       addToTashkeel(0x06EA, 0x06ED);
+       addToTashkeel(0x08D3, 0x08E1);
+       addToTashkeel(0x08E3, 0x08FF);
+       addToTashkeel(0xFE70, 0xFE7F);
+       var lineBreakers = "\u0627\u0629\u0648\u06C0\u06CF\u06FD\u06FE\u076B\u076C\u0771\u0773\u0774\u0778\u0779\u08E2\u08B1\u08B2\u08B9";
+       reference.lineBreakers = lineBreakers;
 
 
-         function addToLineBreakers(start, finish) {
-           for (var i = start; i <= finish; i++) {
-             exports.lineBreakers = lineBreakers += String.fromCharCode(i);
-           }
+       function addToLineBreakers(start, finish) {
+         for (var i = start; i <= finish; i++) {
+           reference.lineBreakers = lineBreakers += String.fromCharCode(i);
          }
          }
+       }
+
+       addToLineBreakers(0x0600, 0x061F); // it's OK to include tashkeel in this range as it is ignored
 
 
-         addToLineBreakers(0x0600, 0x061F); // it's OK to include tashkeel in this range as it is ignored
+       addToLineBreakers(0x0621, 0x0625);
+       addToLineBreakers(0x062F, 0x0632);
+       addToLineBreakers(0x0660, 0x066D); // numerals, math
 
 
-         addToLineBreakers(0x0621, 0x0625);
-         addToLineBreakers(0x062F, 0x0632);
-         addToLineBreakers(0x0660, 0x066D); // numerals, math
+       addToLineBreakers(0x0671, 0x0677);
+       addToLineBreakers(0x0688, 0x0699);
+       addToLineBreakers(0x06C3, 0x06CB);
+       addToLineBreakers(0x06D2, 0x06F9);
+       addToLineBreakers(0x0759, 0x075B);
+       addToLineBreakers(0x08AA, 0x08AE);
+       addToLineBreakers(0xFB50, 0xFDFD); // presentation forms look like they could connect, but never do
+       // Presentation Forms A includes diacritics but they are meant to stand alone
 
 
-         addToLineBreakers(0x0671, 0x0677);
-         addToLineBreakers(0x0688, 0x0699);
-         addToLineBreakers(0x06C3, 0x06CB);
-         addToLineBreakers(0x06D2, 0x06F9);
-         addToLineBreakers(0x0759, 0x075B);
-         addToLineBreakers(0x08AA, 0x08AE);
-         addToLineBreakers(0xFB50, 0xFDFD); // presentation forms look like they could connect, but never do
-         // Presentation Forms A includes diacritics but they are meant to stand alone
+       addToLineBreakers(0xFE80, 0xFEFC); // presentation forms look like they could connect, but never do
+       // numerals, math
 
 
-         addToLineBreakers(0xFE80, 0xFEFC); // presentation forms look like they could connect, but never do
-         // numerals, math
+       addToLineBreakers(0x10E60, 0x10E7F);
+       addToLineBreakers(0x1EC70, 0x1ECBF);
+       addToLineBreakers(0x1EE00, 0x1EEFF);
 
 
-         addToLineBreakers(0x10E60, 0x10E7F);
-         addToLineBreakers(0x1EC70, 0x1ECBF);
-         addToLineBreakers(0x1EE00, 0x1EEFF);
+       Object.defineProperty(GlyphSplitter$1, "__esModule", {
+         value: true
        });
        });
+       var isArabic_1$6 = isArabic$1;
+       var reference_1$5 = reference;
 
        function GlyphSplitter(word) {
          var letters = [];
          var lastLetter = '';
          word.split('').forEach(function (letter) {
 
        function GlyphSplitter(word) {
          var letters = [];
          var lastLetter = '';
          word.split('').forEach(function (letter) {
-           if (isArabic_1.isArabic(letter)) {
-             if (reference.tashkeel.indexOf(letter) > -1) {
+           if (isArabic_1$6.isArabic(letter)) {
+             if (reference_1$5.tashkeel.indexOf(letter) > -1) {
                letters[letters.length - 1] += letter;
                letters[letters.length - 1] += letter;
-             } else if (lastLetter.length && (reference.lams.indexOf(lastLetter) === 0 && reference.alefs.indexOf(letter) > -1 || reference.lams.indexOf(lastLetter) > 0 && reference.alefs.indexOf(letter) === 0)) {
+             } else if (lastLetter.length && (reference_1$5.lams.indexOf(lastLetter) === 0 && reference_1$5.alefs.indexOf(letter) > -1 || reference_1$5.lams.indexOf(lastLetter) > 0 && reference_1$5.alefs.indexOf(letter) === 0)) {
                // valid LA forms
                letters[letters.length - 1] += letter;
              } else {
                // valid LA forms
                letters[letters.length - 1] += letter;
              } else {
              letters.push(letter);
            }
 
              letters.push(letter);
            }
 
-           if (reference.tashkeel.indexOf(letter) === -1) {
+           if (reference_1$5.tashkeel.indexOf(letter) === -1) {
              lastLetter = letter;
            }
          });
          return letters;
        }
 
              lastLetter = letter;
            }
          });
          return letters;
        }
 
-       var GlyphSplitter_2 = GlyphSplitter;
-       var GlyphSplitter_1 = /*#__PURE__*/Object.defineProperty({
-         GlyphSplitter: GlyphSplitter_2
-       }, '__esModule', {
+       GlyphSplitter$1.GlyphSplitter = GlyphSplitter;
+
+       var BaselineSplitter$1 = {};
+
+       Object.defineProperty(BaselineSplitter$1, "__esModule", {
          value: true
        });
          value: true
        });
+       var isArabic_1$5 = isArabic$1;
+       var reference_1$4 = reference;
 
        function BaselineSplitter(word) {
          var letters = [];
          var lastLetter = '';
          word.split('').forEach(function (letter) {
 
        function BaselineSplitter(word) {
          var letters = [];
          var lastLetter = '';
          word.split('').forEach(function (letter) {
-           if (isArabic_1.isArabic(letter) && isArabic_1.isArabic(lastLetter)) {
-             if (lastLetter.length && reference.tashkeel.indexOf(letter) > -1) {
+           if (isArabic_1$5.isArabic(letter) && isArabic_1$5.isArabic(lastLetter)) {
+             if (lastLetter.length && reference_1$4.tashkeel.indexOf(letter) > -1) {
                letters[letters.length - 1] += letter;
                letters[letters.length - 1] += letter;
-             } else if (reference.lineBreakers.indexOf(lastLetter) > -1) {
+             } else if (reference_1$4.lineBreakers.indexOf(lastLetter) > -1) {
                letters.push(letter);
              } else {
                letters[letters.length - 1] += letter;
                letters.push(letter);
              } else {
                letters[letters.length - 1] += letter;
              letters.push(letter);
            }
 
              letters.push(letter);
            }
 
-           if (reference.tashkeel.indexOf(letter) === -1) {
+           if (reference_1$4.tashkeel.indexOf(letter) === -1) {
              // don't allow tashkeel to hide line break
              lastLetter = letter;
            }
              // don't allow tashkeel to hide line break
              lastLetter = letter;
            }
          return letters;
        }
 
          return letters;
        }
 
-       var BaselineSplitter_2 = BaselineSplitter;
-       var BaselineSplitter_1 = /*#__PURE__*/Object.defineProperty({
-         BaselineSplitter: BaselineSplitter_2
-       }, '__esModule', {
+       BaselineSplitter$1.BaselineSplitter = BaselineSplitter;
+
+       var Normalization = {};
+
+       Object.defineProperty(Normalization, "__esModule", {
          value: true
        });
          value: true
        });
+       var unicode_arabic_1$2 = unicodeArabic;
+       var unicode_ligatures_1$1 = unicodeLigatures;
+       var isArabic_1$4 = isArabic$1;
+       var reference_1$3 = reference;
 
        function Normal(word, breakPresentationForm) {
          // default is to turn initial/isolated/medial/final presentation form to generic
 
        function Normal(word, breakPresentationForm) {
          // default is to turn initial/isolated/medial/final presentation form to generic
 
          var returnable = '';
          word.split('').forEach(function (letter) {
 
          var returnable = '';
          word.split('').forEach(function (letter) {
-           if (!isArabic_1.isArabic(letter)) {
+           if (!isArabic_1$4.isArabic(letter)) {
              returnable += letter;
              return;
            }
 
              returnable += letter;
              return;
            }
 
-           for (var w = 0; w < reference.letterList.length; w++) {
+           for (var w = 0; w < reference_1$3.letterList.length; w++) {
              // ok so we are checking this potential lettertron
              // ok so we are checking this potential lettertron
-             var letterForms = unicodeArabic["default"][reference.letterList[w]];
+             var letterForms = unicode_arabic_1$2["default"][reference_1$3.letterList[w]];
              var versions = Object.keys(letterForms);
 
              for (var v = 0; v < versions.length; v++) {
              var versions = Object.keys(letterForms);
 
              for (var v = 0; v < versions.length; v++) {
            } // try ligatures
 
 
            } // try ligatures
 
 
-           for (var v2 = 0; v2 < reference.ligatureList.length; v2++) {
-             var normalForm = reference.ligatureList[v2];
+           for (var v2 = 0; v2 < reference_1$3.ligatureList.length; v2++) {
+             var normalForm = reference_1$3.ligatureList[v2];
 
              if (normalForm !== 'words') {
 
              if (normalForm !== 'words') {
-               var ligForms = Object.keys(unicodeLigatures["default"][normalForm]);
+               var ligForms = Object.keys(unicode_ligatures_1$1["default"][normalForm]);
 
                for (var f = 0; f < ligForms.length; f++) {
 
                for (var f = 0; f < ligForms.length; f++) {
-                 if (unicodeLigatures["default"][normalForm][ligForms[f]] === letter) {
+                 if (unicode_ligatures_1$1["default"][normalForm][ligForms[f]] === letter) {
                    returnable += normalForm;
                    return;
                  }
                    returnable += normalForm;
                    return;
                  }
            } // try words ligatures
 
 
            } // try words ligatures
 
 
-           for (var v3 = 0; v3 < reference.ligatureWordList.length; v3++) {
-             var _normalForm = reference.ligatureWordList[v3];
+           for (var v3 = 0; v3 < reference_1$3.ligatureWordList.length; v3++) {
+             var _normalForm = reference_1$3.ligatureWordList[v3];
 
 
-             if (unicodeLigatures["default"].words[_normalForm] === letter) {
+             if (unicode_ligatures_1$1["default"].words[_normalForm] === letter) {
                returnable += _normalForm;
                return;
              }
                returnable += _normalForm;
                return;
              }
          return returnable;
        }
 
          return returnable;
        }
 
-       var Normal_1 = Normal;
-       var Normalization = /*#__PURE__*/Object.defineProperty({
-         Normal: Normal_1
-       }, '__esModule', {
+       Normalization.Normal = Normal;
+
+       var CharShaper$1 = {};
+
+       Object.defineProperty(CharShaper$1, "__esModule", {
          value: true
        });
          value: true
        });
+       var unicode_arabic_1$1 = unicodeArabic;
+       var isArabic_1$3 = isArabic$1;
+       var reference_1$2 = reference;
 
        function CharShaper(letter, form) {
 
        function CharShaper(letter, form) {
-         if (!isArabic_1.isArabic(letter)) {
+         if (!isArabic_1$3.isArabic(letter)) {
            // fail not Arabic
            throw new Error('Not Arabic');
          }
            // fail not Arabic
            throw new Error('Not Arabic');
          }
            return "\u0621";
          }
 
            return "\u0621";
          }
 
-         for (var w = 0; w < reference.letterList.length; w++) {
+         for (var w = 0; w < reference_1$2.letterList.length; w++) {
            // ok so we are checking this potential lettertron
            // ok so we are checking this potential lettertron
-           var letterForms = unicodeArabic["default"][reference.letterList[w]];
+           var letterForms = unicode_arabic_1$1["default"][reference_1$2.letterList[w]];
            var versions = Object.keys(letterForms);
 
            for (var v = 0; v < versions.length; v++) {
            var versions = Object.keys(letterForms);
 
            for (var v = 0; v < versions.length; v++) {
          }
        }
 
          }
        }
 
-       var CharShaper_2 = CharShaper;
-       var CharShaper_1 = /*#__PURE__*/Object.defineProperty({
-         CharShaper: CharShaper_2
-       }, '__esModule', {
+       CharShaper$1.CharShaper = CharShaper;
+
+       var WordShaper$2 = {};
+
+       Object.defineProperty(WordShaper$2, "__esModule", {
          value: true
        });
          value: true
        });
+       var isArabic_1$2 = isArabic$1;
+       var reference_1$1 = reference;
+       var CharShaper_1$1 = CharShaper$1;
+       var unicode_ligatures_1 = unicodeLigatures;
 
        function WordShaper$1(word) {
          var state = 'initial';
 
        function WordShaper$1(word) {
          var state = 'initial';
            var nextLetter = ' ';
 
            for (var nxw = w + 1; nxw < word.length; nxw++) {
            var nextLetter = ' ';
 
            for (var nxw = w + 1; nxw < word.length; nxw++) {
-             if (!isArabic_1.isArabic(word[nxw])) {
+             if (!isArabic_1$2.isArabic(word[nxw])) {
                break;
              }
 
                break;
              }
 
-             if (reference.tashkeel.indexOf(word[nxw]) === -1) {
+             if (reference_1$1.tashkeel.indexOf(word[nxw]) === -1) {
                nextLetter = word[nxw];
                break;
              }
            }
 
                nextLetter = word[nxw];
                break;
              }
            }
 
-           if (!isArabic_1.isArabic(word[w]) || isArabic_1.isMath(word[w])) {
+           if (!isArabic_1$2.isArabic(word[w]) || isArabic_1$2.isMath(word[w])) {
              // space or other non-Arabic
              output += word[w];
              state = 'initial';
              // space or other non-Arabic
              output += word[w];
              state = 'initial';
-           } else if (reference.tashkeel.indexOf(word[w]) > -1) {
+           } else if (reference_1$1.tashkeel.indexOf(word[w]) > -1) {
              // tashkeel - add without changing state
              output += word[w];
            } else if (nextLetter === ' ' || // last Arabic letter in this word
              // tashkeel - add without changing state
              output += word[w];
            } else if (nextLetter === ' ' || // last Arabic letter in this word
-           reference.lineBreakers.indexOf(word[w]) > -1) {
+           reference_1$1.lineBreakers.indexOf(word[w]) > -1) {
              // the current letter is known to break lines
              // the current letter is known to break lines
-             output += CharShaper_1.CharShaper(word[w], state === 'initial' ? 'isolated' : 'final');
+             output += CharShaper_1$1.CharShaper(word[w], state === 'initial' ? 'isolated' : 'final');
              state = 'initial';
              state = 'initial';
-           } else if (reference.lams.indexOf(word[w]) > -1 && reference.alefs.indexOf(nextLetter) > -1) {
+           } else if (reference_1$1.lams.indexOf(word[w]) > -1 && reference_1$1.alefs.indexOf(nextLetter) > -1) {
              // LA letters - advance an additional letter after this
              // LA letters - advance an additional letter after this
-             output += unicodeLigatures["default"][word[w] + nextLetter][state === 'initial' ? 'isolated' : 'final'];
+             output += unicode_ligatures_1["default"][word[w] + nextLetter][state === 'initial' ? 'isolated' : 'final'];
 
              while (word[w] !== nextLetter) {
                w++;
 
              while (word[w] !== nextLetter) {
                w++;
 
              state = 'initial';
            } else {
 
              state = 'initial';
            } else {
-             output += CharShaper_1.CharShaper(word[w], state);
+             output += CharShaper_1$1.CharShaper(word[w], state);
              state = 'medial';
            }
          }
              state = 'medial';
            }
          }
          return output;
        }
 
          return output;
        }
 
-       var WordShaper_2 = WordShaper$1;
-       var WordShaper_1 = /*#__PURE__*/Object.defineProperty({
-         WordShaper: WordShaper_2
-       }, '__esModule', {
+       WordShaper$2.WordShaper = WordShaper$1;
+
+       var ParentLetter$1 = {};
+
+       Object.defineProperty(ParentLetter$1, "__esModule", {
          value: true
        });
          value: true
        });
+       var unicode_arabic_1 = unicodeArabic;
+       var isArabic_1$1 = isArabic$1;
+       var reference_1 = reference;
 
        function ParentLetter(letter) {
 
        function ParentLetter(letter) {
-         if (!isArabic_1.isArabic(letter)) {
+         if (!isArabic_1$1.isArabic(letter)) {
            throw new Error('Not an Arabic letter');
          }
 
            throw new Error('Not an Arabic letter');
          }
 
-         for (var w = 0; w < reference.letterList.length; w++) {
+         for (var w = 0; w < reference_1.letterList.length; w++) {
            // ok so we are checking this potential lettertron
            // ok so we are checking this potential lettertron
-           var letterForms = unicodeArabic["default"][reference.letterList[w]];
+           var letterForms = unicode_arabic_1["default"][reference_1.letterList[w]];
            var versions = Object.keys(letterForms);
 
            for (var v = 0; v < versions.length; v++) {
            var versions = Object.keys(letterForms);
 
            for (var v = 0; v < versions.length; v++) {
          }
        }
 
          }
        }
 
-       var ParentLetter_2 = ParentLetter;
+       ParentLetter$1.ParentLetter = ParentLetter;
 
        function GrandparentLetter(letter) {
 
        function GrandparentLetter(letter) {
-         if (!isArabic_1.isArabic(letter)) {
+         if (!isArabic_1$1.isArabic(letter)) {
            throw new Error('Not an Arabic letter');
          }
 
            throw new Error('Not an Arabic letter');
          }
 
-         for (var w = 0; w < reference.letterList.length; w++) {
+         for (var w = 0; w < reference_1.letterList.length; w++) {
            // ok so we are checking this potential lettertron
            // ok so we are checking this potential lettertron
-           var letterForms = unicodeArabic["default"][reference.letterList[w]];
+           var letterForms = unicode_arabic_1["default"][reference_1.letterList[w]];
            var versions = Object.keys(letterForms);
 
            for (var v = 0; v < versions.length; v++) {
            var versions = Object.keys(letterForms);
 
            for (var v = 0; v < versions.length; v++) {
          }
        }
 
          }
        }
 
-       var GrandparentLetter_1 = GrandparentLetter;
-       var ParentLetter_1 = /*#__PURE__*/Object.defineProperty({
-         ParentLetter: ParentLetter_2,
-         GrandparentLetter: GrandparentLetter_1
-       }, '__esModule', {
+       ParentLetter$1.GrandparentLetter = GrandparentLetter;
+
+       Object.defineProperty(lib, "__esModule", {
          value: true
        });
          value: true
        });
-
-       isArabic_1.isArabic;
-       GlyphSplitter_1.GlyphSplitter;
-       BaselineSplitter_1.BaselineSplitter;
-       Normalization.Normal;
-       CharShaper_1.CharShaper;
-       var WordShaper = WordShaper_1.WordShaper;
-       ParentLetter_1.ParentLetter;
-       ParentLetter_1.GrandparentLetter;
+       var isArabic_1 = isArabic$1;
+       lib.isArabic = isArabic_1.isArabic;
+       var GlyphSplitter_1 = GlyphSplitter$1;
+       lib.GlyphSplitter = GlyphSplitter_1.GlyphSplitter;
+       var BaselineSplitter_1 = BaselineSplitter$1;
+       lib.BaselineSplitter = BaselineSplitter_1.BaselineSplitter;
+       var Normalization_1 = Normalization;
+       lib.Normal = Normalization_1.Normal;
+       var CharShaper_1 = CharShaper$1;
+       lib.CharShaper = CharShaper_1.CharShaper;
+       var WordShaper_1 = WordShaper$2;
+       var WordShaper = lib.WordShaper = WordShaper_1.WordShaper;
+       var ParentLetter_1 = ParentLetter$1;
+       lib.ParentLetter = ParentLetter_1.ParentLetter;
+       lib.GrandparentLetter = ParentLetter_1.GrandparentLetter;
 
        var rtlRegex = /[\u0590-\u05FF\u0600-\u06FF\u0750-\u07BF\u08A0–\u08BF]/;
        function fixRTLTextForSvg(inputText) {
 
        var rtlRegex = /[\u0590-\u05FF\u0600-\u06FF\u0750-\u07BF\u08A0–\u08BF]/;
        function fixRTLTextForSvg(inputText) {
          return ret;
        }
 
          return ret;
        }
 
+       var DESCRIPTORS$1 = descriptors;
+       var objectKeys = objectKeys$4;
+       var toIndexedObject = toIndexedObject$b;
        var propertyIsEnumerable = objectPropertyIsEnumerable.f;
 
        // `Object.{ entries, values }` methods implementation
        var propertyIsEnumerable = objectPropertyIsEnumerable.f;
 
        // `Object.{ entries, values }` methods implementation
            var key;
            while (length > i) {
              key = keys[i++];
            var key;
            while (length > i) {
              key = keys[i++];
-             if (!descriptors || propertyIsEnumerable.call(O, key)) {
+             if (!DESCRIPTORS$1 || propertyIsEnumerable.call(O, key)) {
                result.push(TO_ENTRIES ? [key, O[key]] : O[key]);
              }
            }
                result.push(TO_ENTRIES ? [key, O[key]] : O[key]);
              }
            }
          values: createMethod$1(false)
        };
 
          values: createMethod$1(false)
        };
 
+       var $$k = _export;
        var $values = objectToArray.values;
 
        // `Object.values` method
        // https://tc39.es/ecma262/#sec-object.values
        var $values = objectToArray.values;
 
        // `Object.values` method
        // https://tc39.es/ecma262/#sec-object.values
-       _export({ target: 'Object', stat: true }, {
+       $$k({ target: 'Object', stat: true }, {
          values: function values(O) {
            return $values(O);
          }
          values: function values(O) {
            return $values(O);
          }
        // within and between iD sessions on the same site.
        //
 
        // within and between iD sessions on the same site.
        //
 
+       /**
+        * @param {string} k
+        * @param {string?} v
+        * @returns {boolean} true if the action succeeded
+        */
+
 
        function corePreferences(k, v) {
          try {
            if (arguments.length === 1) return _storage.getItem(k);else if (v === null) _storage.removeItem(k);else _storage.setItem(k, v);
 
        function corePreferences(k, v) {
          try {
            if (arguments.length === 1) return _storage.getItem(k);else if (v === null) _storage.removeItem(k);else _storage.setItem(k, v);
+           return true;
          } catch (e) {
            /* eslint-disable no-console */
            if (typeof console !== 'undefined') {
          } catch (e) {
            /* eslint-disable no-console */
            if (typeof console !== 'undefined') {
            }
            /* eslint-enable no-console */
 
            }
            /* eslint-enable no-console */
 
+
+           return false;
          }
        }
 
          }
        }
 
-       var vparse = createCommonjsModule(function (module) {
+       var vparse = {exports: {}};
+
+       (function (module) {
          (function (window) {
 
            function parseVersion(v) {
          (function (window) {
 
            function parseVersion(v) {
              window.parseVersion = parseVersion;
            }
          })(commonjsGlobal);
              window.parseVersion = parseVersion;
            }
          })(commonjsGlobal);
-       });
+       })(vparse);
+
+       var parseVersion = vparse.exports;
 
        var name = "iD";
 
        var name = "iD";
-       var version = "2.20.0";
+       var version = "2.20.2";
        var description = "A friendly editor for OpenStreetMap";
        var main = "dist/iD.min.js";
        var repository = "github:openstreetmap/iD";
        var description = "A friendly editor for OpenStreetMap";
        var main = "dist/iD.min.js";
        var repository = "github:openstreetmap/iD";
        var keywords = ["editor","openstreetmap"];
        var license = "ISC";
        var scripts = {all:"npm-run-all -s clean build build:legacy dist",build:"npm-run-all -s build:css build:data build:dev","build:css":"node scripts/build_css.js","build:data":"shx mkdir -p dist/data && node scripts/build_data.js","build:dev":"rollup --config config/rollup.config.dev.js","build:legacy":"rollup --config config/rollup.config.legacy.js","build:stats":"rollup --config config/rollup.config.stats.js",clean:"shx rm -f dist/*.js dist/*.map dist/*.css dist/img/*.svg",dist:"npm-run-all -p dist:**","dist:mapillary":"shx mkdir -p dist/mapillary-js && shx cp -R node_modules/mapillary-js/dist/* dist/mapillary-js/","dist:pannellum":"shx mkdir -p dist/pannellum-streetside && shx cp -R node_modules/pannellum/build/* dist/pannellum-streetside/","dist:min:iD":"uglifyjs dist/iD.legacy.js --compress --mangle --output dist/iD.min.js","dist:svg:iD":"svg-sprite --symbol --symbol-dest . --shape-id-generator \"iD-%s\" --symbol-sprite dist/img/iD-sprite.svg \"svg/iD-sprite/**/*.svg\"","dist:svg:community":"svg-sprite --symbol --symbol-dest . --shape-id-generator \"community-%s\" --symbol-sprite dist/img/community-sprite.svg node_modules/osm-community-index/dist/img/*.svg","dist:svg:fa":"svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/fa-sprite.svg svg/fontawesome/*.svg","dist:svg:maki":"svg-sprite --symbol --symbol-dest . --shape-id-generator \"maki-%s\" --symbol-sprite dist/img/maki-sprite.svg node_modules/@mapbox/maki/icons/*.svg","dist:svg:mapillary:signs":"svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/mapillary-sprite.svg node_modules/mapillary_sprite_source/package_signs/*.svg","dist:svg:mapillary:objects":"svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/mapillary-object-sprite.svg node_modules/mapillary_sprite_source/package_objects/*.svg","dist:svg:temaki":"svg-sprite --symbol --symbol-dest . --shape-id-generator \"temaki-%s\" --symbol-sprite dist/img/temaki-sprite.svg node_modules/@ideditor/temaki/icons/*.svg",imagery:"node scripts/update_imagery.js",lint:"eslint scripts test/spec modules","lint:fix":"eslint scripts test/spec modules --fix",start:"npm-run-all -s build start:server",quickstart:"npm-run-all -s build:dev start:server","start:server":"node scripts/server.js",test:"npm-run-all -s lint build:css build:data build:legacy test:spec","test:spec":"phantomjs --web-security=no node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html spec",translations:"node scripts/update_locales.js"};
        var keywords = ["editor","openstreetmap"];
        var license = "ISC";
        var scripts = {all:"npm-run-all -s clean build build:legacy dist",build:"npm-run-all -s build:css build:data build:dev","build:css":"node scripts/build_css.js","build:data":"shx mkdir -p dist/data && node scripts/build_data.js","build:dev":"rollup --config config/rollup.config.dev.js","build:legacy":"rollup --config config/rollup.config.legacy.js","build:stats":"rollup --config config/rollup.config.stats.js",clean:"shx rm -f dist/*.js dist/*.map dist/*.css dist/img/*.svg",dist:"npm-run-all -p dist:**","dist:mapillary":"shx mkdir -p dist/mapillary-js && shx cp -R node_modules/mapillary-js/dist/* dist/mapillary-js/","dist:pannellum":"shx mkdir -p dist/pannellum-streetside && shx cp -R node_modules/pannellum/build/* dist/pannellum-streetside/","dist:min:iD":"uglifyjs dist/iD.legacy.js --compress --mangle --output dist/iD.min.js","dist:svg:iD":"svg-sprite --symbol --symbol-dest . --shape-id-generator \"iD-%s\" --symbol-sprite dist/img/iD-sprite.svg \"svg/iD-sprite/**/*.svg\"","dist:svg:community":"svg-sprite --symbol --symbol-dest . --shape-id-generator \"community-%s\" --symbol-sprite dist/img/community-sprite.svg node_modules/osm-community-index/dist/img/*.svg","dist:svg:fa":"svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/fa-sprite.svg svg/fontawesome/*.svg","dist:svg:maki":"svg-sprite --symbol --symbol-dest . --shape-id-generator \"maki-%s\" --symbol-sprite dist/img/maki-sprite.svg node_modules/@mapbox/maki/icons/*.svg","dist:svg:mapillary:signs":"svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/mapillary-sprite.svg node_modules/mapillary_sprite_source/package_signs/*.svg","dist:svg:mapillary:objects":"svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/mapillary-object-sprite.svg node_modules/mapillary_sprite_source/package_objects/*.svg","dist:svg:temaki":"svg-sprite --symbol --symbol-dest . --shape-id-generator \"temaki-%s\" --symbol-sprite dist/img/temaki-sprite.svg node_modules/@ideditor/temaki/icons/*.svg",imagery:"node scripts/update_imagery.js",lint:"eslint scripts test/spec modules","lint:fix":"eslint scripts test/spec modules --fix",start:"npm-run-all -s build start:server",quickstart:"npm-run-all -s build:dev start:server","start:server":"node scripts/server.js",test:"npm-run-all -s lint build:css build:data build:legacy test:spec","test:spec":"phantomjs --web-security=no node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html spec",translations:"node scripts/update_locales.js"};
-       var dependencies = {"@ideditor/country-coder":"~5.0.3","@ideditor/location-conflation":"~1.0.2","@mapbox/geojson-area":"^0.2.2","@mapbox/sexagesimal":"1.2.0","@mapbox/togeojson":"0.16.0","@mapbox/vector-tile":"^1.3.1","@turf/bbox-clip":"^6.0.0","abortcontroller-polyfill":"^1.4.0","aes-js":"^3.1.2","alif-toolkit":"^1.2.9","core-js":"^3.6.5",diacritics:"1.3.0","fast-deep-equal":"~3.1.1","fast-json-stable-stringify":"2.1.0","lodash-es":"~4.17.15",marked:"~2.0.0","node-diff3":"2.1.0","osm-auth":"1.1.0",pannellum:"2.5.6","polygon-clipping":"~0.15.1",rbush:"3.0.1","whatwg-fetch":"^3.4.1","which-polygon":"2.2.0"};
-       var devDependencies = {"@babel/core":"^7.11.6","@babel/preset-env":"^7.11.5","@fortawesome/fontawesome-svg-core":"^1.2.32","@fortawesome/free-brands-svg-icons":"~5.15.1","@fortawesome/free-regular-svg-icons":"~5.15.1","@fortawesome/free-solid-svg-icons":"~5.15.1","@ideditor/temaki":"~4.4.0","@mapbox/maki":"^6.0.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-commonjs":"^17.0.0","@rollup/plugin-json":"^4.0.1","@rollup/plugin-node-resolve":"~11.2.0",autoprefixer:"^10.0.1",btoa:"^1.2.1",chai:"^4.1.0","cldr-core":"37.0.0","cldr-localenames-full":"37.0.0",colors:"^1.1.2","concat-files":"^0.1.1",d3:"~6.6.0","editor-layer-index":"github:osmlab/editor-layer-index#gh-pages",eslint:"^7.1.0",gaze:"^1.1.3",glob:"^7.1.0",happen:"^0.3.1","js-yaml":"^4.0.0","json-stringify-pretty-compact":"^3.0.0",mapillary_sprite_source:"^1.8.0","mapillary-js":"4.0.0",minimist:"^1.2.3",mocha:"^7.0.1","mocha-phantomjs-core":"^2.1.0","name-suggestion-index":"~6.0","node-fetch":"^2.6.1","npm-run-all":"^4.0.0","object-inspect":"1.10.3","osm-community-index":"~5.1.0","phantomjs-prebuilt":"~2.1.16",postcss:"^8.1.1","postcss-selector-prepend":"^0.5.0",rollup:"~2.52.8","rollup-plugin-includepaths":"~0.2.3","rollup-plugin-progress":"^1.1.1","rollup-plugin-visualizer":"~4.2.0",shelljs:"^0.8.0",shx:"^0.3.0",sinon:"7.5.0","sinon-chai":"^3.3.0",smash:"0.0","static-server":"^2.2.1","svg-sprite":"1.5.0","uglify-js":"~3.13.0",vparse:"~1.1.0"};
+       var dependencies = {"@ideditor/country-coder":"~5.0.3","@ideditor/location-conflation":"~1.0.2","@mapbox/geojson-area":"^0.2.2","@mapbox/sexagesimal":"1.2.0","@mapbox/vector-tile":"^1.3.1","@tmcw/togeojson":"^4.5.0","@turf/bbox-clip":"^6.0.0","abortcontroller-polyfill":"^1.4.0","aes-js":"^3.1.2","alif-toolkit":"^1.2.9","core-js":"^3.6.5",diacritics:"1.3.0","fast-deep-equal":"~3.1.1","fast-json-stable-stringify":"2.1.0","lodash-es":"~4.17.15",marked:"~2.0.0","node-diff3":"2.1.0","osm-auth":"1.1.0",pannellum:"2.5.6",pbf:"^3.2.1","polygon-clipping":"~0.15.1",rbush:"3.0.1","whatwg-fetch":"^3.4.1","which-polygon":"2.2.0"};
+       var devDependencies = {"@babel/core":"^7.11.6","@babel/preset-env":"^7.11.5","@fortawesome/fontawesome-svg-core":"^1.2.32","@fortawesome/free-brands-svg-icons":"~5.15.1","@fortawesome/free-regular-svg-icons":"~5.15.1","@fortawesome/free-solid-svg-icons":"~5.15.1","@ideditor/temaki":"~4.4.0","@mapbox/maki":"^6.0.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-json":"^4.0.1","@rollup/plugin-node-resolve":"~13.0.5",autoprefixer:"^10.0.1",btoa:"^1.2.1",chai:"^4.1.0","cldr-core":"37.0.0","cldr-localenames-full":"37.0.0",colors:"^1.1.2","concat-files":"^0.1.1",d3:"~6.6.0","editor-layer-index":"github:osmlab/editor-layer-index#gh-pages",eslint:"^7.1.0",gaze:"^1.1.3",glob:"^7.1.0",happen:"^0.3.1","js-yaml":"^4.0.0","json-stringify-pretty-compact":"^3.0.0",mapillary_sprite_source:"^1.8.0","mapillary-js":"4.0.0",minimist:"^1.2.3",mocha:"^7.0.1","mocha-phantomjs-core":"^2.1.0","name-suggestion-index":"~6.0","node-fetch":"^2.6.1","npm-run-all":"^4.0.0","object-inspect":"1.10.3","osm-community-index":"~5.1.0","phantomjs-prebuilt":"~2.1.16",postcss:"^8.1.1","postcss-selector-prepend":"^0.5.0",rollup:"~2.52.8","rollup-plugin-includepaths":"~0.2.3","rollup-plugin-progress":"^1.1.1","rollup-plugin-visualizer":"~4.2.0",shelljs:"^0.8.0",shx:"^0.3.0",sinon:"7.5.0","sinon-chai":"^3.3.0",smash:"0.0","static-server":"^2.2.1","svg-sprite":"1.5.1","uglify-js":"~3.13.0",vparse:"~1.1.0"};
        var engines = {node:">=10"};
        var browserslist = ["> 0.2%, last 6 major versions, Firefox ESR, IE 11, maintained node versions"];
        var packageJSON = {
        var engines = {node:">=10"};
        var browserslist = ["> 0.2%, last 6 major versions, Firefox ESR, IE 11, maintained node versions"];
        var packageJSON = {
 
        function coreFileFetcher() {
          var ociVersion = packageJSON.devDependencies['osm-community-index'];
 
        function coreFileFetcher() {
          var ociVersion = packageJSON.devDependencies['osm-community-index'];
-         var v = vparse(ociVersion);
+         var v = parseVersion(ociVersion);
          var vMinor = "".concat(v.major, ".").concat(v.minor);
          var _this = {};
          var _inflight = {};
          var vMinor = "".concat(v.major, ".").concat(v.minor);
          var _this = {};
          var _inflight = {};
            var prom = _inflight[url];
 
            if (!prom) {
            var prom = _inflight[url];
 
            if (!prom) {
-             _inflight[url] = prom = utilFetchJson(url).then(function (result) {
+             _inflight[url] = prom = fetch(url).then(function (response) {
+               // fetch in PhantomJS tests may return ok=false and status=0 even if it's okay
+               if (!response.ok && response.status !== 0 || !response.json) {
+                 throw new Error(response.status + ' ' + response.statusText);
+               }
+
+               if (response.status === 204 || response.status === 205) return; // No Content, Reset Content
+
+               return response.json();
+             }).then(function (result) {
                delete _inflight[url];
 
                if (!result) {
                delete _inflight[url];
 
                if (!result) {
          return _this;
        }
 
          return _this;
        }
 
-       var getOwnPropertyNames = objectGetOwnPropertyNames.f;
-       var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
-       var defineProperty = objectDefineProperty.f;
-       var trim$2 = stringTrim.trim;
-
-       var NUMBER = 'Number';
-       var NativeNumber = global$2[NUMBER];
-       var NumberPrototype = NativeNumber.prototype;
-
-       // Opera ~12 has broken Object#toString
-       var BROKEN_CLASSOF = classofRaw(objectCreate(NumberPrototype)) == NUMBER;
-
-       // `ToNumber` abstract operation
-       // https://tc39.es/ecma262/#sec-tonumber
-       var toNumber$1 = function (argument) {
-         var it = toPrimitive(argument, false);
-         var first, third, radix, maxCode, digits, length, index, code;
-         if (typeof it == 'string' && it.length > 2) {
-           it = trim$2(it);
-           first = it.charCodeAt(0);
-           if (first === 43 || first === 45) {
-             third = it.charCodeAt(2);
-             if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
-           } else if (first === 48) {
-             switch (it.charCodeAt(1)) {
-               case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i
-               case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
-               default: return +it;
-             }
-             digits = it.slice(2);
-             length = digits.length;
-             for (index = 0; index < length; index++) {
-               code = digits.charCodeAt(index);
-               // parseInt parses a string to a first unavailable symbol
-               // but ToNumber should return NaN if a string contains unavailable symbols
-               if (code < 48 || code > maxCode) return NaN;
-             } return parseInt(digits, radix);
-           }
-         } return +it;
-       };
-
-       // `Number` constructor
-       // https://tc39.es/ecma262/#sec-number-constructor
-       if (isForced_1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
-         var NumberWrapper = function Number(value) {
-           var it = arguments.length < 1 ? 0 : value;
-           var dummy = this;
-           return dummy instanceof NumberWrapper
-             // check on 1..constructor(foo) case
-             && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classofRaw(dummy) != NUMBER)
-               ? inheritIfRequired(new NativeNumber(toNumber$1(it)), dummy, NumberWrapper) : toNumber$1(it);
-         };
-         for (var keys = descriptors ? getOwnPropertyNames(NativeNumber) : (
-           // ES3:
-           'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
-           // ES2015 (in case, if modules with ES2015 Number statics required before):
-           'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
-           'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' +
-           // ESNext
-           'fromString,range'
-         ).split(','), j = 0, key; keys.length > j; j++) {
-           if (has$1(NativeNumber, key = keys[j]) && !has$1(NumberWrapper, key)) {
-             defineProperty(NumberWrapper, key, getOwnPropertyDescriptor$2(NativeNumber, key));
-           }
-         }
-         NumberWrapper.prototype = NumberPrototype;
-         NumberPrototype.constructor = NumberWrapper;
-         redefine(global$2, NUMBER, NumberWrapper);
-       }
+       var classof = classofRaw$1;
 
        // `thisNumberValue` abstract operation
        // https://tc39.es/ecma262/#sec-thisnumbervalue
 
        // `thisNumberValue` abstract operation
        // https://tc39.es/ecma262/#sec-thisnumbervalue
-       var thisNumberValue = function (value) {
-         if (typeof value != 'number' && classofRaw(value) != 'Number') {
+       var thisNumberValue$2 = function (value) {
+         if (typeof value != 'number' && classof(value) != 'Number') {
            throw TypeError('Incorrect invocation');
          }
          return +value;
        };
 
            throw TypeError('Incorrect invocation');
          }
          return +value;
        };
 
+       var toInteger$1 = toInteger$b;
+       var requireObjectCoercible$6 = requireObjectCoercible$e;
+
        // `String.prototype.repeat` method implementation
        // https://tc39.es/ecma262/#sec-string.prototype.repeat
        var stringRepeat = function repeat(count) {
        // `String.prototype.repeat` method implementation
        // https://tc39.es/ecma262/#sec-string.prototype.repeat
        var stringRepeat = function repeat(count) {
-         var str = String(requireObjectCoercible(this));
+         var str = String(requireObjectCoercible$6(this));
          var result = '';
          var result = '';
-         var n = toInteger(count);
+         var n = toInteger$1(count);
          if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');
          for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
          return result;
        };
 
          if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');
          for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
          return result;
        };
 
+       var $$j = _export;
+       var toInteger = toInteger$b;
+       var thisNumberValue$1 = thisNumberValue$2;
+       var repeat$2 = stringRepeat;
+       var fails$7 = fails$N;
+
        var nativeToFixed = 1.0.toFixed;
        var floor = Math.floor;
 
        var nativeToFixed = 1.0.toFixed;
        var floor = Math.floor;
 
          while (--index >= 0) {
            if (s !== '' || index === 0 || data[index] !== 0) {
              var t = String(data[index]);
          while (--index >= 0) {
            if (s !== '' || index === 0 || data[index] !== 0) {
              var t = String(data[index]);
-             s = s === '' ? t : s + stringRepeat.call('0', 7 - t.length) + t;
+             s = s === '' ? t : s + repeat$2.call('0', 7 - t.length) + t;
            }
          } return s;
        };
            }
          } return s;
        };
          0.9.toFixed(0) !== '1' ||
          1.255.toFixed(2) !== '1.25' ||
          1000000000000000128.0.toFixed(0) !== '1000000000000000128'
          0.9.toFixed(0) !== '1' ||
          1.255.toFixed(2) !== '1.25' ||
          1000000000000000128.0.toFixed(0) !== '1000000000000000128'
-       ) || !fails(function () {
+       ) || !fails$7(function () {
          // V8 ~ Android 4.3-
          nativeToFixed.call({});
        });
 
        // `Number.prototype.toFixed` method
        // https://tc39.es/ecma262/#sec-number.prototype.tofixed
          // V8 ~ Android 4.3-
          nativeToFixed.call({});
        });
 
        // `Number.prototype.toFixed` method
        // https://tc39.es/ecma262/#sec-number.prototype.tofixed
-       _export({ target: 'Number', proto: true, forced: FORCED$4 }, {
+       $$j({ target: 'Number', proto: true, forced: FORCED$4 }, {
          toFixed: function toFixed(fractionDigits) {
          toFixed: function toFixed(fractionDigits) {
-           var number = thisNumberValue(this);
+           var number = thisNumberValue$1(this);
            var fractDigits = toInteger(fractionDigits);
            var data = [0, 0, 0, 0, 0, 0];
            var sign = '';
            var fractDigits = toInteger(fractionDigits);
            var data = [0, 0, 0, 0, 0, 0];
            var sign = '';
              } else {
                multiply(data, 0, z);
                multiply(data, 1 << -e, 0);
              } else {
                multiply(data, 0, z);
                multiply(data, 1 << -e, 0);
-               result = dataToString(data) + stringRepeat.call('0', fractDigits);
+               result = dataToString(data) + repeat$2.call('0', fractDigits);
              }
            }
            if (fractDigits > 0) {
              k = result.length;
              result = sign + (k <= fractDigits
              }
            }
            if (fractDigits > 0) {
              k = result.length;
              result = sign + (k <= fractDigits
-               ? '0.' + stringRepeat.call('0', fractDigits - k) + result
+               ? '0.' + repeat$2.call('0', fractDigits - k) + result
                : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));
            } else {
              result = sign + result;
                : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));
            } else {
              result = sign + result;
          }
        });
 
          }
        });
 
-       var globalIsFinite = global$2.isFinite;
+       var global$1 = global$F;
+
+       var globalIsFinite = global$1.isFinite;
 
        // `Number.isFinite` method
        // https://tc39.es/ecma262/#sec-number.isfinite
        // eslint-disable-next-line es/no-number-isfinite -- safe
 
        // `Number.isFinite` method
        // https://tc39.es/ecma262/#sec-number.isfinite
        // eslint-disable-next-line es/no-number-isfinite -- safe
-       var numberIsFinite = Number.isFinite || function isFinite(it) {
+       var numberIsFinite$1 = Number.isFinite || function isFinite(it) {
          return typeof it == 'number' && globalIsFinite(it);
        };
 
          return typeof it == 'number' && globalIsFinite(it);
        };
 
+       var $$i = _export;
+       var numberIsFinite = numberIsFinite$1;
+
        // `Number.isFinite` method
        // https://tc39.es/ecma262/#sec-number.isfinite
        // `Number.isFinite` method
        // https://tc39.es/ecma262/#sec-number.isfinite
-       _export({ target: 'Number', stat: true }, { isFinite: numberIsFinite });
+       $$i({ target: 'Number', stat: true }, { isFinite: numberIsFinite });
+
+       var $$h = _export;
+       var toAbsoluteIndex = toAbsoluteIndex$8;
 
        var fromCharCode = String.fromCharCode;
        // eslint-disable-next-line es/no-string-fromcodepoint -- required for testing
 
        var fromCharCode = String.fromCharCode;
        // eslint-disable-next-line es/no-string-fromcodepoint -- required for testing
 
        // `String.fromCodePoint` method
        // https://tc39.es/ecma262/#sec-string.fromcodepoint
 
        // `String.fromCodePoint` method
        // https://tc39.es/ecma262/#sec-string.fromcodepoint
-       _export({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, {
+       $$h({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, {
          // eslint-disable-next-line no-unused-vars -- required for `.length`
          fromCodePoint: function fromCodePoint(x) {
            var elements = [];
          // eslint-disable-next-line no-unused-vars -- required for `.length`
          fromCodePoint: function fromCodePoint(x) {
            var elements = [];
          }
        });
 
          }
        });
 
+       var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
+       var anObject = anObject$m;
+       var requireObjectCoercible$5 = requireObjectCoercible$e;
+       var sameValue = sameValue$1;
+       var regExpExec = regexpExecAbstract;
+
        // @@search logic
        // @@search logic
-       fixRegexpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
+       fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
          return [
            // `String.prototype.search` method
            // https://tc39.es/ecma262/#sec-string.prototype.search
            function search(regexp) {
          return [
            // `String.prototype.search` method
            // https://tc39.es/ecma262/#sec-string.prototype.search
            function search(regexp) {
-             var O = requireObjectCoercible(this);
+             var O = requireObjectCoercible$5(this);
              var searcher = regexp == undefined ? undefined : regexp[SEARCH];
              return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
            },
              var searcher = regexp == undefined ? undefined : regexp[SEARCH];
              return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
            },
 
              var previousLastIndex = rx.lastIndex;
              if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
 
              var previousLastIndex = rx.lastIndex;
              if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
-             var result = regexpExecAbstract(rx, S);
+             var result = regExpExec(rx, S);
              if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
              return result === null ? -1 : result.index;
            }
          ];
        });
 
              if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
              return result === null ? -1 : result.index;
            }
          ];
        });
 
-       var quickselect$1 = createCommonjsModule(function (module, exports) {
+       var rbush$2 = {exports: {}};
+
+       var quickselect$2 = {exports: {}};
+
+       (function (module, exports) {
          (function (global, factory) {
            module.exports = factory() ;
          })(commonjsGlobal, function () {
          (function (global, factory) {
            module.exports = factory() ;
          })(commonjsGlobal, function () {
 
            return quickselect;
          });
 
            return quickselect;
          });
-       });
+       })(quickselect$2);
+
+       rbush$2.exports = rbush$1;
+
+       rbush$2.exports["default"] = rbush$1;
 
 
-       var rbush_1 = rbush;
-       var _default$1 = rbush;
+       var quickselect$1 = quickselect$2.exports;
 
 
-       function rbush(maxEntries, format) {
-         if (!(this instanceof rbush)) return new rbush(maxEntries, format); // max entries in a node is 9 by default; min node fill is 40% for best performance
+       function rbush$1(maxEntries, format) {
+         if (!(this instanceof rbush$1)) return new rbush$1(maxEntries, format); // max entries in a node is 9 by default; min node fill is 40% for best performance
 
          this._maxEntries = Math.max(4, maxEntries || 9);
          this._minEntries = Math.max(2, Math.ceil(this._maxEntries * 0.4));
 
          this._maxEntries = Math.max(4, maxEntries || 9);
          this._minEntries = Math.max(2, Math.ceil(this._maxEntries * 0.4));
          this.clear();
        }
 
          this.clear();
        }
 
-       rbush.prototype = {
+       rbush$1.prototype = {
          all: function all() {
            return this._all(this.data, []);
          },
          all: function all() {
            return this._all(this.data, []);
          },
            stack.push(left, mid, mid, right);
          }
        }
            stack.push(left, mid, mid, right);
          }
        }
-       rbush_1["default"] = _default$1;
 
 
-       var lineclip_1 = lineclip$1;
-       lineclip$1.polyline = lineclip$1;
-       lineclip$1.polygon = polygonclip$1; // Cohen-Sutherland line clippign algorithm, adapted to efficiently
+       var lineclip_1 = lineclip$2;
+       lineclip$2.polyline = lineclip$2;
+       lineclip$2.polygon = polygonclip$1; // Cohen-Sutherland line clippign algorithm, adapted to efficiently
        // handle polylines rather than just segments
 
        // handle polylines rather than just segments
 
-       function lineclip$1(points, bbox, result) {
+       function lineclip$2(points, bbox, result) {
          var len = points.length,
              codeA = bitCode$1(points[0], bbox),
              part = [],
          var len = points.length,
              codeA = bitCode$1(points[0], bbox),
              part = [],
          return code;
        }
 
          return code;
        }
 
+       var rbush = rbush$2.exports;
+       var lineclip$1 = lineclip_1;
        var whichPolygon_1 = whichPolygon;
 
        function whichPolygon(data) {
        var whichPolygon_1 = whichPolygon;
 
        function whichPolygon(data) {
            }
          }
 
            }
          }
 
-         var tree = rbush_1().load(bboxes);
+         var tree = rbush().load(bboxes);
 
          function query(p, multi) {
            var output = [],
 
          function query(p, multi) {
            var output = [],
          if (insidePolygon(polygon, bboxCenter)) return true;
 
          for (var i = 0; i < polygon.length; i++) {
          if (insidePolygon(polygon, bboxCenter)) return true;
 
          for (var i = 0; i < polygon.length; i++) {
-           if (lineclip_1(polygon[i], bbox).length > 0) return true;
+           if (lineclip$1(polygon[i], bbox).length > 0) return true;
          }
 
          return false;
          }
 
          return false;
          return feature2 && feature2.properties.roadSpeedUnit || null;
        }
 
          return feature2 && feature2.properties.roadSpeedUnit || null;
        }
 
-       var RADIUS = 6378137;
-       var FLATTENING = 1 / 298.257223563;
-       var POLAR_RADIUS = 6356752.3142;
-       var wgs84 = {
-         RADIUS: RADIUS,
-         FLATTENING: FLATTENING,
-         POLAR_RADIUS: POLAR_RADIUS
-       };
+       function roadHeightUnit(query) {
+         var feature2 = smallestOrMatchingFeature(query);
+         return feature2 && feature2.properties.roadHeightUnit || null;
+       }
+
+       var geojsonArea = {};
 
 
-       var geometry_1 = geometry;
-       var ring = ringArea;
+       var wgs84$1 = {};
+
+       wgs84$1.RADIUS = 6378137;
+       wgs84$1.FLATTENING = 1 / 298.257223563;
+       wgs84$1.POLAR_RADIUS = 6356752.3142;
+
+       var wgs84 = wgs84$1;
+       geojsonArea.geometry = geometry;
+       geojsonArea.ring = ringArea;
 
        function geometry(_) {
          var area = 0,
 
        function geometry(_) {
          var area = 0,
          return _ * Math.PI / 180;
        }
 
          return _ * Math.PI / 180;
        }
 
-       var geojsonArea = {
-         geometry: geometry_1,
-         ring: ring
-       };
+       var inputValidation = {};
 
 
+       var $$g = _export;
        var $includes = arrayIncludes.includes;
        var $includes = arrayIncludes.includes;
-
+       var addToUnscopables$1 = addToUnscopables$5;
 
        // `Array.prototype.includes` method
        // https://tc39.es/ecma262/#sec-array.prototype.includes
 
        // `Array.prototype.includes` method
        // https://tc39.es/ecma262/#sec-array.prototype.includes
-       _export({ target: 'Array', proto: true }, {
+       $$g({ target: 'Array', proto: true }, {
          includes: function includes(el /* , fromIndex = 0 */) {
            return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
          includes: function includes(el /* , fromIndex = 0 */) {
            return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-       addToUnscopables('includes');
+       addToUnscopables$1('includes');
 
 
-       var validateCenter_1$1 = function validateCenter(center) {
+       var validateCenter$1 = {};
+
+       validateCenter$1.validateCenter = function validateCenter(center) {
          var validCenterLengths = [2, 3];
 
          if (!Array.isArray(center) || !validCenterLengths.includes(center.length)) {
          var validCenterLengths = [2, 3];
 
          if (!Array.isArray(center) || !validCenterLengths.includes(center.length)) {
          }
        };
 
          }
        };
 
-       var validateCenter$1 = {
-         validateCenter: validateCenter_1$1
-       };
+       var validateRadius$1 = {};
 
 
-       var validateRadius_1$1 = function validateRadius(radius) {
+       validateRadius$1.validateRadius = function validateRadius(radius) {
          if (typeof radius !== "number") {
            throw new Error("ERROR! Radius has to be a positive number but was: ".concat(_typeof(radius)));
          }
          if (typeof radius !== "number") {
            throw new Error("ERROR! Radius has to be a positive number but was: ".concat(_typeof(radius)));
          }
          }
        };
 
          }
        };
 
-       var validateRadius$1 = {
-         validateRadius: validateRadius_1$1
-       };
+       var validateNumberOfEdges$1 = {};
 
 
-       var validateNumberOfEdges_1$1 = function validateNumberOfEdges(numberOfEdges) {
+       validateNumberOfEdges$1.validateNumberOfEdges = function validateNumberOfEdges(numberOfEdges) {
          if (typeof numberOfEdges !== "number") {
            var ARGUMENT_TYPE = Array.isArray(numberOfEdges) ? "array" : _typeof(numberOfEdges);
            throw new Error("ERROR! Number of edges has to be a number but was: ".concat(ARGUMENT_TYPE));
          if (typeof numberOfEdges !== "number") {
            var ARGUMENT_TYPE = Array.isArray(numberOfEdges) ? "array" : _typeof(numberOfEdges);
            throw new Error("ERROR! Number of edges has to be a number but was: ".concat(ARGUMENT_TYPE));
          }
        };
 
          }
        };
 
-       var validateNumberOfEdges$1 = {
-         validateNumberOfEdges: validateNumberOfEdges_1$1
-       };
+       var validateEarthRadius$1 = {};
 
 
-       var validateEarthRadius_1$1 = function validateEarthRadius(earthRadius) {
+       validateEarthRadius$1.validateEarthRadius = function validateEarthRadius(earthRadius) {
          if (typeof earthRadius !== "number") {
            var ARGUMENT_TYPE = Array.isArray(earthRadius) ? "array" : _typeof(earthRadius);
            throw new Error("ERROR! Earth radius has to be a number but was: ".concat(ARGUMENT_TYPE));
          if (typeof earthRadius !== "number") {
            var ARGUMENT_TYPE = Array.isArray(earthRadius) ? "array" : _typeof(earthRadius);
            throw new Error("ERROR! Earth radius has to be a number but was: ".concat(ARGUMENT_TYPE));
          }
        };
 
          }
        };
 
-       var validateEarthRadius$1 = {
-         validateEarthRadius: validateEarthRadius_1$1
-       };
+       var validateBearing$1 = {};
 
 
-       var validateBearing_1$1 = function validateBearing(bearing) {
+       validateBearing$1.validateBearing = function validateBearing(bearing) {
          if (typeof bearing !== "number") {
            var ARGUMENT_TYPE = Array.isArray(bearing) ? "array" : _typeof(bearing);
            throw new Error("ERROR! Bearing has to be a number but was: ".concat(ARGUMENT_TYPE));
          }
        };
 
          if (typeof bearing !== "number") {
            var ARGUMENT_TYPE = Array.isArray(bearing) ? "array" : _typeof(bearing);
            throw new Error("ERROR! Bearing has to be a number but was: ".concat(ARGUMENT_TYPE));
          }
        };
 
-       var validateBearing$1 = {
-         validateBearing: validateBearing_1$1
-       };
-
        var validateCenter = validateCenter$1.validateCenter;
        var validateRadius = validateRadius$1.validateRadius;
        var validateNumberOfEdges = validateNumberOfEdges$1.validateNumberOfEdges;
        var validateCenter = validateCenter$1.validateCenter;
        var validateRadius = validateRadius$1.validateRadius;
        var validateNumberOfEdges = validateNumberOfEdges$1.validateNumberOfEdges;
          validateBearing(bearing);
        }
 
          validateBearing(bearing);
        }
 
-       var validateCenter_1 = validateCenter;
-       var validateRadius_1 = validateRadius;
-       var validateNumberOfEdges_1 = validateNumberOfEdges;
-       var validateEarthRadius_1 = validateEarthRadius;
-       var validateBearing_1 = validateBearing;
-       var validateInput_1 = validateInput$1;
-       var inputValidation = {
-         validateCenter: validateCenter_1,
-         validateRadius: validateRadius_1,
-         validateNumberOfEdges: validateNumberOfEdges_1,
-         validateEarthRadius: validateEarthRadius_1,
-         validateBearing: validateBearing_1,
-         validateInput: validateInput_1
-       };
+       inputValidation.validateCenter = validateCenter;
+       inputValidation.validateRadius = validateRadius;
+       inputValidation.validateNumberOfEdges = validateNumberOfEdges;
+       inputValidation.validateEarthRadius = validateEarthRadius;
+       inputValidation.validateBearing = validateBearing;
+       inputValidation.validateInput = validateInput$1;
 
        var validateInput = inputValidation.validateInput;
        var defaultEarthRadius = 6378137; // equatorial Earth radius
 
        var validateInput = inputValidation.validateInput;
        var defaultEarthRadius = 6378137; // equatorial Earth radius
          return argument === null || argument === undefined;
        }
 
          return argument === null || argument === undefined;
        }
 
+       var $$f = _export;
+
        // `Number.EPSILON` constant
        // https://tc39.es/ecma262/#sec-number.epsilon
        // `Number.EPSILON` constant
        // https://tc39.es/ecma262/#sec-number.epsilon
-       _export({ target: 'Number', stat: true }, {
+       $$f({ target: 'Number', stat: true }, {
          EPSILON: Math.pow(2, -52)
        });
 
          EPSILON: Math.pow(2, -52)
        });
 
+       var requireObjectCoercible$4 = requireObjectCoercible$e;
+
        var quot = /"/g;
 
        // `CreateHTML` abstract operation
        // https://tc39.es/ecma262/#sec-createhtml
        var createHtml = function (string, tag, attribute, value) {
        var quot = /"/g;
 
        // `CreateHTML` abstract operation
        // https://tc39.es/ecma262/#sec-createhtml
        var createHtml = function (string, tag, attribute, value) {
-         var S = String(requireObjectCoercible(string));
+         var S = String(requireObjectCoercible$4(string));
          var p1 = '<' + tag;
          if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '&quot;') + '"';
          return p1 + '>' + S + '</' + tag + '>';
        };
 
          var p1 = '<' + tag;
          if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '&quot;') + '"';
          return p1 + '>' + S + '</' + tag + '>';
        };
 
+       var fails$6 = fails$N;
+
        // check the existence of a method, lowercase
        // of a tag and escaping quotes in arguments
        var stringHtmlForced = function (METHOD_NAME) {
        // check the existence of a method, lowercase
        // of a tag and escaping quotes in arguments
        var stringHtmlForced = function (METHOD_NAME) {
-         return fails(function () {
+         return fails$6(function () {
            var test = ''[METHOD_NAME]('"');
            return test !== test.toLowerCase() || test.split('"').length > 3;
          });
        };
 
            var test = ''[METHOD_NAME]('"');
            return test !== test.toLowerCase() || test.split('"').length > 3;
          });
        };
 
+       var $$e = _export;
+       var createHTML = createHtml;
+       var forcedStringHTMLMethod = stringHtmlForced;
+
        // `String.prototype.link` method
        // https://tc39.es/ecma262/#sec-string.prototype.link
        // `String.prototype.link` method
        // https://tc39.es/ecma262/#sec-string.prototype.link
-       _export({ target: 'String', proto: true, forced: stringHtmlForced('link') }, {
+       $$e({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {
          link: function link(url) {
          link: function link(url) {
-           return createHtml(this, 'a', 'href', url);
+           return createHTML(this, 'a', 'href', url);
          }
        });
 
          }
        });
 
         * @license MIT
         * @preserve
         */
         * @license MIT
         * @preserve
         */
-       var Node$1 =
+       var Node =
        /** @class */
        function () {
          function Node(key, data) {
        /** @class */
        function () {
          function Node(key, data) {
 
 
        function splay(i, t, comparator) {
 
 
        function splay(i, t, comparator) {
-         var N = new Node$1(null, null);
+         var N = new Node(null, null);
          var l = N;
          var r = N;
 
          var l = N;
          var r = N;
 
        }
 
        function insert(i, data, t, comparator) {
        }
 
        function insert(i, data, t, comparator) {
-         var node = new Node$1(i, data);
+         var node = new Node(i, data);
 
          if (t === null) {
            node.left = node.right = null;
 
          if (t === null) {
            node.left = node.right = null;
          return node;
        }
 
          return node;
        }
 
-       function split$1(key, v, comparator) {
+       function split(key, v, comparator) {
          var left = null;
          var right = null;
 
          var left = null;
          var right = null;
 
 
 
          Tree.prototype.add = function (key, data) {
 
 
          Tree.prototype.add = function (key, data) {
-           var node = new Node$1(key, data);
+           var node = new Node(key, data);
 
            if (this._root === null) {
              node.left = node.right = null;
 
            if (this._root === null) {
              node.left = node.right = null;
          Tree.prototype.update = function (key, newKey, newData) {
            var comparator = this._comparator;
 
          Tree.prototype.update = function (key, newKey, newData) {
            var comparator = this._comparator;
 
-           var _a = split$1(key, this._root, comparator),
+           var _a = split(key, this._root, comparator),
                left = _a.left,
                right = _a.right;
 
                left = _a.left,
                right = _a.right;
 
          };
 
          Tree.prototype.split = function (key) {
          };
 
          Tree.prototype.split = function (key) {
-           return split$1(key, this._root, this._comparator);
+           return split(key, this._root, this._comparator);
          };
 
          return Tree;
          };
 
          return Tree;
            var middle = start + Math.floor(size / 2);
            var key = keys[middle];
            var data = values[middle];
            var middle = start + Math.floor(size / 2);
            var key = keys[middle];
            var data = values[middle];
-           var node = new Node$1(key, data);
+           var node = new Node(key, data);
            node.left = loadRecursive(keys, values, start, middle);
            node.right = loadRecursive(keys, values, middle + 1, end);
            return node;
            node.left = loadRecursive(keys, values, start, middle);
            node.right = loadRecursive(keys, values, middle + 1, end);
            return node;
        }
 
        function createList(keys, values) {
        }
 
        function createList(keys, values) {
-         var head = new Node$1(null, null);
+         var head = new Node(null, null);
          var p = head;
 
          for (var i = 0; i < keys.length; i++) {
          var p = head;
 
          for (var i = 0; i < keys.length; i++) {
-           p = p.next = new Node$1(keys[i], values[i]);
+           p = p.next = new Node(keys[i], values[i]);
          }
 
          p.next = null;
          }
 
          p.next = null;
          var current = root;
          var Q = [];
          var done = false;
          var current = root;
          var Q = [];
          var done = false;
-         var head = new Node$1(null, null);
+         var head = new Node(null, null);
          var p = head;
 
          while (!done) {
          var p = head;
 
          while (!done) {
        }
 
        function mergeLists(l1, l2, compare) {
        }
 
        function mergeLists(l1, l2, compare) {
-         var head = new Node$1(null, null); // dummy
+         var head = new Node(null, null); // dummy
 
          var p = head;
          var p1 = l1;
 
          var p = head;
          var p1 = l1;
          difference: difference
        };
 
          difference: difference
        };
 
-       var geojsonPrecision = createCommonjsModule(function (module) {
-         (function () {
-           function parse(t, coordinatePrecision, extrasPrecision) {
-             function point(p) {
-               return p.map(function (e, index) {
-                 if (index < 2) {
-                   return 1 * e.toFixed(coordinatePrecision);
-                 } else {
-                   return 1 * e.toFixed(extrasPrecision);
-                 }
-               });
-             }
+       var geojsonPrecision = {exports: {}};
 
 
-             function multi(l) {
-               return l.map(point);
-             }
+       (function () {
+         function parse(t, coordinatePrecision, extrasPrecision) {
+           function point(p) {
+             return p.map(function (e, index) {
+               if (index < 2) {
+                 return 1 * e.toFixed(coordinatePrecision);
+               } else {
+                 return 1 * e.toFixed(extrasPrecision);
+               }
+             });
+           }
 
 
-             function poly(p) {
-               return p.map(multi);
-             }
+           function multi(l) {
+             return l.map(point);
+           }
 
 
-             function multiPoly(m) {
-               return m.map(poly);
-             }
+           function poly(p) {
+             return p.map(multi);
+           }
 
 
-             function geometry(obj) {
-               if (!obj) {
-                 return {};
-               }
+           function multiPoly(m) {
+             return m.map(poly);
+           }
 
 
-               switch (obj.type) {
-                 case "Point":
-                   obj.coordinates = point(obj.coordinates);
-                   return obj;
+           function geometry(obj) {
+             if (!obj) {
+               return {};
+             }
 
 
-                 case "LineString":
-                 case "MultiPoint":
-                   obj.coordinates = multi(obj.coordinates);
-                   return obj;
+             switch (obj.type) {
+               case "Point":
+                 obj.coordinates = point(obj.coordinates);
+                 return obj;
 
 
-                 case "Polygon":
-                 case "MultiLineString":
-                   obj.coordinates = poly(obj.coordinates);
-                   return obj;
+               case "LineString":
+               case "MultiPoint":
+                 obj.coordinates = multi(obj.coordinates);
+                 return obj;
 
 
-                 case "MultiPolygon":
-                   obj.coordinates = multiPoly(obj.coordinates);
-                   return obj;
+               case "Polygon":
+               case "MultiLineString":
+                 obj.coordinates = poly(obj.coordinates);
+                 return obj;
 
 
-                 case "GeometryCollection":
-                   obj.geometries = obj.geometries.map(geometry);
-                   return obj;
+               case "MultiPolygon":
+                 obj.coordinates = multiPoly(obj.coordinates);
+                 return obj;
 
 
-                 default:
-                   return {};
-               }
-             }
+               case "GeometryCollection":
+                 obj.geometries = obj.geometries.map(geometry);
+                 return obj;
 
 
-             function feature(obj) {
-               obj.geometry = geometry(obj.geometry);
-               return obj;
+               default:
+                 return {};
              }
              }
+           }
 
 
-             function featureCollection(f) {
-               f.features = f.features.map(feature);
-               return f;
-             }
+           function feature(obj) {
+             obj.geometry = geometry(obj.geometry);
+             return obj;
+           }
 
 
-             function geometryCollection(g) {
-               g.geometries = g.geometries.map(geometry);
-               return g;
-             }
+           function featureCollection(f) {
+             f.features = f.features.map(feature);
+             return f;
+           }
 
 
-             if (!t) {
-               return t;
-             }
+           function geometryCollection(g) {
+             g.geometries = g.geometries.map(geometry);
+             return g;
+           }
 
 
-             switch (t.type) {
-               case "Feature":
-                 return feature(t);
+           if (!t) {
+             return t;
+           }
 
 
-               case "GeometryCollection":
-                 return geometryCollection(t);
+           switch (t.type) {
+             case "Feature":
+               return feature(t);
 
 
-               case "FeatureCollection":
-                 return featureCollection(t);
+             case "GeometryCollection":
+               return geometryCollection(t);
 
 
-               case "Point":
-               case "LineString":
-               case "Polygon":
-               case "MultiPoint":
-               case "MultiPolygon":
-               case "MultiLineString":
-                 return geometry(t);
+             case "FeatureCollection":
+               return featureCollection(t);
 
 
-               default:
-                 return t;
-             }
+             case "Point":
+             case "LineString":
+             case "Polygon":
+             case "MultiPoint":
+             case "MultiPolygon":
+             case "MultiLineString":
+               return geometry(t);
+
+             default:
+               return t;
            }
            }
+         }
 
 
-           module.exports = parse;
-           module.exports.parse = parse;
-         })();
-       });
+         geojsonPrecision.exports = parse;
+         geojsonPrecision.exports.parse = parse;
+       })();
+
+       var precision = geojsonPrecision.exports;
 
 
-       var FORCED$3 = fails(function () {
+       var $$d = _export;
+       var fails$5 = fails$N;
+       var toObject = toObject$i;
+       var toPrimitive = toPrimitive$7;
+
+       var FORCED$3 = fails$5(function () {
          return new Date(NaN).toJSON() !== null
            || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;
        });
 
        // `Date.prototype.toJSON` method
        // https://tc39.es/ecma262/#sec-date.prototype.tojson
          return new Date(NaN).toJSON() !== null
            || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;
        });
 
        // `Date.prototype.toJSON` method
        // https://tc39.es/ecma262/#sec-date.prototype.tojson
-       _export({ target: 'Date', proto: true, forced: FORCED$3 }, {
+       $$d({ target: 'Date', proto: true, forced: FORCED$3 }, {
          // eslint-disable-next-line no-unused-vars -- required for `.length`
          toJSON: function toJSON(key) {
            var O = toObject(this);
          // eslint-disable-next-line no-unused-vars -- required for `.length`
          toJSON: function toJSON(key) {
            var O = toObject(this);
          }
        });
 
          }
        });
 
+       var $$c = _export;
+
        // `URL.prototype.toJSON` method
        // https://url.spec.whatwg.org/#dom-url-tojson
        // `URL.prototype.toJSON` method
        // https://url.spec.whatwg.org/#dom-url-tojson
-       _export({ target: 'URL', proto: true, enumerable: true }, {
+       $$c({ target: 'URL', proto: true, enumerable: true }, {
          toJSON: function toJSON() {
            return URL.prototype.toString.call(this);
          }
          toJSON: function toJSON() {
            return URL.prototype.toString.call(this);
          }
                var EDGES = 10;
                var PRECISION = 3;
                var area = Math.PI * radius * radius;
                var EDGES = 10;
                var PRECISION = 3;
                var area = Math.PI * radius * radius;
-               var feature = this._cache[id] = geojsonPrecision({
+               var feature = this._cache[id] = precision({
                  type: 'Feature',
                  id: id,
                  properties: {
                  type: 'Feature',
                  id: id,
                  properties: {
          return aRank > bRank ? 1 : aRank < bRank ? -1 : a.id.localeCompare(b.id);
        }
 
          return aRank > bRank ? 1 : aRank < bRank ? -1 : a.id.localeCompare(b.id);
        }
 
+       var $$b = _export;
+
        // `Number.MAX_SAFE_INTEGER` constant
        // https://tc39.es/ecma262/#sec-number.max_safe_integer
        // `Number.MAX_SAFE_INTEGER` constant
        // https://tc39.es/ecma262/#sec-number.max_safe_integer
-       _export({ target: 'Number', stat: true }, {
+       $$b({ target: 'Number', stat: true }, {
          MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF
        });
 
          MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF
        });
 
-       var aesJs = createCommonjsModule(function (module, exports) {
+       var aesJs = {exports: {}};
+
+       (function (module, exports) {
          (function (root) {
 
            function checkInt(value) {
          (function (root) {
 
            function checkInt(value) {
              // https://github.com/amdjs/amdjs-api/wiki/AMD
            }
          })();
              // https://github.com/amdjs/amdjs-api/wiki/AMD
            }
          })();
-       });
+       })(aesJs);
+
+       var aesjs = aesJs.exports;
 
        // We can use keys that are 128 bits (16 bytes), 192 bits (24 bytes) or 256 bits (32 bytes).
        // To generate a random key:  window.crypto.getRandomValues(new Uint8Array(16));
 
        // We can use keys that are 128 bits (16 bytes), 192 bits (24 bytes) or 256 bits (32 bytes).
        // To generate a random key:  window.crypto.getRandomValues(new Uint8Array(16));
        var DEFAULT_128 = [250, 157, 60, 79, 142, 134, 229, 129, 138, 126, 210, 129, 29, 71, 160, 208];
        function utilAesEncrypt(text, key) {
          key = key || DEFAULT_128;
        var DEFAULT_128 = [250, 157, 60, 79, 142, 134, 229, 129, 138, 126, 210, 129, 29, 71, 160, 208];
        function utilAesEncrypt(text, key) {
          key = key || DEFAULT_128;
-         var textBytes = aesJs.utils.utf8.toBytes(text);
-         var aesCtr = new aesJs.ModeOfOperation.ctr(key);
+         var textBytes = aesjs.utils.utf8.toBytes(text);
+         var aesCtr = new aesjs.ModeOfOperation.ctr(key);
          var encryptedBytes = aesCtr.encrypt(textBytes);
          var encryptedBytes = aesCtr.encrypt(textBytes);
-         var encryptedHex = aesJs.utils.hex.fromBytes(encryptedBytes);
+         var encryptedHex = aesjs.utils.hex.fromBytes(encryptedBytes);
          return encryptedHex;
        }
        function utilAesDecrypt(encryptedHex, key) {
          key = key || DEFAULT_128;
          return encryptedHex;
        }
        function utilAesDecrypt(encryptedHex, key) {
          key = key || DEFAULT_128;
-         var encryptedBytes = aesJs.utils.hex.toBytes(encryptedHex);
-         var aesCtr = new aesJs.ModeOfOperation.ctr(key);
+         var encryptedBytes = aesjs.utils.hex.toBytes(encryptedHex);
+         var aesCtr = new aesjs.ModeOfOperation.ctr(key);
          var decryptedBytes = aesCtr.decrypt(encryptedBytes);
          var decryptedBytes = aesCtr.decrypt(encryptedBytes);
-         var text = aesJs.utils.utf8.fromBytes(decryptedBytes);
+         var text = aesjs.utils.utf8.fromBytes(decryptedBytes);
          return text;
        }
 
          return text;
        }
 
          return _this;
        }
 
          return _this;
        }
 
+       var $$a = _export;
        var $findIndex = arrayIteration.findIndex;
        var $findIndex = arrayIteration.findIndex;
-
+       var addToUnscopables = addToUnscopables$5;
 
        var FIND_INDEX = 'findIndex';
        var SKIPS_HOLES = true;
 
        var FIND_INDEX = 'findIndex';
        var SKIPS_HOLES = true;
 
        // `Array.prototype.findIndex` method
        // https://tc39.es/ecma262/#sec-array.prototype.findindex
 
        // `Array.prototype.findIndex` method
        // https://tc39.es/ecma262/#sec-array.prototype.findindex
-       _export({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
+       $$a({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
          findIndex: function findIndex(callbackfn /* , that = undefined */) {
            return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
          findIndex: function findIndex(callbackfn /* , that = undefined */) {
            return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
          }
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
        addToUnscopables(FIND_INDEX);
 
        // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
        addToUnscopables(FIND_INDEX);
 
+       var isRegExp = isRegexp;
+
        var notARegexp = function (it) {
        var notARegexp = function (it) {
-         if (isRegexp(it)) {
+         if (isRegExp(it)) {
            throw TypeError("The method doesn't accept regular expressions");
          } return it;
        };
 
            throw TypeError("The method doesn't accept regular expressions");
          } return it;
        };
 
+       var wellKnownSymbol = wellKnownSymbol$s;
+
        var MATCH = wellKnownSymbol('match');
 
        var correctIsRegexpLogic = function (METHOD_NAME) {
        var MATCH = wellKnownSymbol('match');
 
        var correctIsRegexpLogic = function (METHOD_NAME) {
          } return false;
        };
 
          } return false;
        };
 
+       var $$9 = _export;
+       var notARegExp$2 = notARegexp;
+       var requireObjectCoercible$3 = requireObjectCoercible$e;
+       var correctIsRegExpLogic$2 = correctIsRegexpLogic;
+
        // `String.prototype.includes` method
        // https://tc39.es/ecma262/#sec-string.prototype.includes
        // `String.prototype.includes` method
        // https://tc39.es/ecma262/#sec-string.prototype.includes
-       _export({ target: 'String', proto: true, forced: !correctIsRegexpLogic('includes') }, {
+       $$9({ target: 'String', proto: true, forced: !correctIsRegExpLogic$2('includes') }, {
          includes: function includes(searchString /* , position = 0 */) {
          includes: function includes(searchString /* , position = 0 */) {
-           return !!~String(requireObjectCoercible(this))
-             .indexOf(notARegexp(searchString), arguments.length > 1 ? arguments[1] : undefined);
+           return !!~String(requireObjectCoercible$3(this))
+             .indexOf(notARegExp$2(searchString), arguments.length > 1 ? arguments[1] : undefined);
          }
        });
 
          }
        });
 
 
          localizer.ensureLoaded = function () {
            if (_loadPromise) return _loadPromise;
 
          localizer.ensureLoaded = function () {
            if (_loadPromise) return _loadPromise;
-           var filesToFetch = [// load the list of languages
-           'languages', // load the list of supported locales
-           'locales'];
+           var filesToFetch = ['languages', // load the list of languages
+           'locales' // load the list of supported locales
+           ];
            var localeDirs = {
              general: 'locales',
              tagging: 'https://cdn.jsdelivr.net/npm/@openstreetmap/id-tagging-schema@3/dist/translations'
            var localeDirs = {
              general: 'locales',
              tagging: 'https://cdn.jsdelivr.net/npm/@openstreetmap/id-tagging-schema@3/dist/translations'
 
            for (var scopeId in localeDirs) {
              var key = "locales_index_".concat(scopeId);
 
            for (var scopeId in localeDirs) {
              var key = "locales_index_".concat(scopeId);
-             fileMap[key] = localeDirs[scopeId] + '/index.min.json';
+
+             if (!fileMap[key]) {
+               fileMap[key] = localeDirs[scopeId] + '/index.min.json';
+             }
+
              filesToFetch.push(key);
            }
 
              filesToFetch.push(key);
            }
 
              _dataLocales = results[1];
              var indexes = results.slice(2);
 
              _dataLocales = results[1];
              var indexes = results.slice(2);
 
-             var requestedLocales = (_preferredLocaleCodes || []). // List of locales preferred by the browser in priority order.
-             concat(utilDetect().browserLocales) // fallback to English since it's the only guaranteed complete language
-             .concat(['en']);
+             var requestedLocales = (_preferredLocaleCodes || []).concat(utilDetect().browserLocales) // List of locales preferred by the browser in priority order.
+             .concat(['en']); // fallback to English since it's the only guaranteed complete language
+
 
 
-             _localeCodes = localesToUseFrom(requestedLocales); // Run iD in the highest-priority locale; the rest are fallbacks
+             _localeCodes = localesToUseFrom(requestedLocales);
+             _localeCode = _localeCodes[0]; // Run iD in the highest-priority locale; the rest are fallbacks
 
 
-             _localeCode = _localeCodes[0];
              var loadStringsPromises = [];
              indexes.forEach(function (index, i) {
                // Will always return the index for `en` if nothing else
              var loadStringsPromises = [];
              indexes.forEach(function (index, i) {
                // Will always return the index for `en` if nothing else
 
            var fileMap = _mainFileFetcher.fileMap();
            var key = "locale_".concat(scopeId, "_").concat(locale);
 
            var fileMap = _mainFileFetcher.fileMap();
            var key = "locale_".concat(scopeId, "_").concat(locale);
-           fileMap[key] = "".concat(directory, "/").concat(locale, ".min.json");
+
+           if (!fileMap[key]) {
+             fileMap[key] = "".concat(directory, "/").concat(locale, ".min.json");
+           }
+
            return _mainFileFetcher.get(key).then(function (d) {
              if (!_localeStrings[scopeId]) _localeStrings[scopeId] = {};
              _localeStrings[scopeId][locale] = d[locale];
            return _mainFileFetcher.get(key).then(function (d) {
              if (!_localeStrings[scopeId]) _localeStrings[scopeId] = {};
              _localeStrings[scopeId][locale] = d[locale];
          return _this;
        }
 
          return _this;
        }
 
+       var $$8 = _export;
+       var lastIndexOf = arrayLastIndexOf;
+
        // `Array.prototype.lastIndexOf` method
        // https://tc39.es/ecma262/#sec-array.prototype.lastindexof
        // eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing
        // `Array.prototype.lastIndexOf` method
        // https://tc39.es/ecma262/#sec-array.prototype.lastindexof
        // eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing
-       _export({ target: 'Array', proto: true, forced: arrayLastIndexOf !== [].lastIndexOf }, {
-         lastIndexOf: arrayLastIndexOf
+       $$8({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, {
+         lastIndexOf: lastIndexOf
        });
 
        // `presetPreset` decorates a given `preset` Object
        });
 
        // `presetPreset` decorates a given `preset` Object
                var g = _geometryIndex[geometry];
 
                for (var key in preset.tags) {
                var g = _geometryIndex[geometry];
 
                for (var key in preset.tags) {
-                 (g[key] = g[key] || []).push(preset);
+                 g[key] = g[key] || {};
+                 var value = preset.tags[key];
+                 (g[key][value] = g[key][value] || []).push(preset);
                }
              });
            }); // Merge Custom Features
                }
              });
            }); // Merge Custom Features
          };
 
          _this.matchTags = function (tags, geometry, loc) {
          };
 
          _this.matchTags = function (tags, geometry, loc) {
-           var geometryMatches = _geometryIndex[geometry];
-           var address;
-           var best = -1;
-           var match;
-           var validLocations;
-
-           if (Array.isArray(loc)) {
-             validLocations = _mainLocations.locationsAt(loc);
-           }
+           var keyIndex = _geometryIndex[geometry];
+           var bestScore = -1;
+           var bestMatch;
+           var matchCandidates = [];
 
            for (var k in tags) {
 
            for (var k in tags) {
-             // If any part of an address is present, allow fallback to "Address" preset - #4353
-             if (/^addr:/.test(k) && geometryMatches['addr:*']) {
-               address = geometryMatches['addr:*'][0];
-             }
+             var indexMatches = [];
+             var valueIndex = keyIndex[k];
+             if (!valueIndex) continue;
+             var keyValueMatches = valueIndex[tags[k]];
+             if (keyValueMatches) indexMatches.push.apply(indexMatches, _toConsumableArray(keyValueMatches));
+             var keyStarMatches = valueIndex['*'];
+             if (keyStarMatches) indexMatches.push.apply(indexMatches, _toConsumableArray(keyStarMatches));
+             if (indexMatches.length === 0) continue;
+
+             for (var i = 0; i < indexMatches.length; i++) {
+               var candidate = indexMatches[i];
+               var score = candidate.matchScore(tags);
 
 
-             var keyMatches = geometryMatches[k];
-             if (!keyMatches) continue;
+               if (score === -1) {
+                 continue;
+               }
 
 
-             for (var i = 0; i < keyMatches.length; i++) {
-               var candidate = keyMatches[i]; // discard candidate preset if location is not valid at `loc`
+               matchCandidates.push({
+                 score: score,
+                 candidate: candidate
+               });
 
 
-               if (validLocations && candidate.locationSetID) {
-                 if (!validLocations[candidate.locationSetID]) continue;
+               if (score > bestScore) {
+                 bestScore = score;
+                 bestMatch = candidate;
                }
                }
+             }
+           }
 
 
-               var score = candidate.matchScore(tags);
+           if (bestMatch && bestMatch.locationSetID && bestMatch.locationSetID !== '+[Q2]' && Array.isArray(loc)) {
+             var validLocations = _mainLocations.locationsAt(loc);
 
 
-               if (score > best) {
-                 best = score;
-                 match = candidate;
+             if (!validLocations[bestMatch.locationSetID]) {
+               matchCandidates.sort(function (a, b) {
+                 return a.score < b.score ? 1 : -1;
+               });
+
+               for (var _i = 0; _i < matchCandidates.length; _i++) {
+                 var candidateScore = matchCandidates[_i];
+
+                 if (!candidateScore.candidate.locationSetID || validLocations[candidateScore.candidate.locationSetID]) {
+                   bestMatch = candidateScore.candidate;
+                   bestScore = candidateScore.score;
+                   break;
+                 }
                }
              }
                }
              }
-           }
+           } // If any part of an address is present, allow fallback to "Address" preset - #4353
 
 
-           if (address && (!match || match.isFallback())) {
-             match = address;
+
+           if (!bestMatch || bestMatch.isFallback()) {
+             for (var _k in tags) {
+               if (/^addr:/.test(_k) && keyIndex['addr:*'] && keyIndex['addr:*']['*']) {
+                 bestMatch = keyIndex['addr:*']['*'][0];
+                 break;
+               }
+             }
            }
 
            }
 
-           return match || _this.fallback(geometry);
+           return bestMatch || _this.fallback(geometry);
          };
 
          _this.allowsVertex = function (entity, resolver) {
          };
 
          _this.allowsVertex = function (entity, resolver) {
        function utilDisplayNameForPath(entity) {
          var name = utilDisplayName(entity);
          var isFirefox = utilDetect().browser.toLowerCase().indexOf('firefox') > -1;
        function utilDisplayNameForPath(entity) {
          var name = utilDisplayName(entity);
          var isFirefox = utilDetect().browser.toLowerCase().indexOf('firefox') > -1;
+         var isNewChromium = Number(utilDetect().version.split('.')[0]) >= 96.0;
 
 
-         if (!isFirefox && name && rtlRegex.test(name)) {
+         if (!isFirefox && !isNewChromium && name && rtlRegex.test(name)) {
            name = fixRTLTextForSvg(name);
          }
 
            name = fixRTLTextForSvg(name);
          }
 
 
        function utilUnicodeCharsTruncated(str, limit) {
          return Array.from(str).slice(0, limit).join('');
 
        function utilUnicodeCharsTruncated(str, limit) {
          return Array.from(str).slice(0, limit).join('');
-       } // Variation of d3.json (https://github.com/d3/d3-fetch/blob/master/src/json.js)
-
-       function utilFetchJson(resourse, init) {
-         return fetch(resourse, init).then(function (response) {
-           // fetch in PhantomJS tests may return ok=false and status=0 even if it's okay
-           if (!response.ok && response.status !== 0 || !response.json) throw new Error(response.status + ' ' + response.statusText);
-           if (response.status === 204 || response.status === 205) return;
-           return response.json();
-         });
        }
 
        function osmEntity(attrs) {
        }
 
        function osmEntity(attrs) {
            }, this);
            return utilArrayUniq(results);
          },
            }, this);
            return utilArrayUniq(results);
          },
+         isCrossing: function isCrossing() {
+           return this.tags.highway === 'crossing' || this.tags.railway && this.tags.railway.indexOf('crossing') !== -1;
+         },
          isEndpoint: function isEndpoint(resolver) {
            return resolver["transient"](this, 'isEndpoint', function () {
              var id = this.id;
          isEndpoint: function isEndpoint(resolver) {
            return resolver["transient"](this, 'isEndpoint', function () {
              var id = this.id;
          }
 
          var action = function action(graph) {
          }
 
          var action = function action(graph) {
-           var ways = ids.map(graph.entity, graph);
-           var survivorID = ways[0].id; // if any of the ways are sided (e.g. coastline, cliff, kerb)
+           var ways = ids.map(graph.entity, graph); // if any of the ways are sided (e.g. coastline, cliff, kerb)
            // sort them first so they establish the overall order - #6033
 
            ways.sort(function (a, b) {
            // sort them first so they establish the overall order - #6033
 
            ways.sort(function (a, b) {
              var bSided = b.isSided();
              return aSided && !bSided ? -1 : bSided && !aSided ? 1 : 0;
            }); // Prefer to keep an existing way.
              var bSided = b.isSided();
              return aSided && !bSided ? -1 : bSided && !aSided ? 1 : 0;
            }); // Prefer to keep an existing way.
+           // if there are multiple existing ways, keep the oldest one
+           // the oldest way is determined by the ID of the way
 
 
-           for (var i = 0; i < ways.length; i++) {
-             if (!ways[i].isNew()) {
-               survivorID = ways[i].id;
-               break;
-             }
-           }
-
+           var survivorID = (ways.filter(function (way) {
+             return !way.isNew();
+           }).sort(function (a, b) {
+             return +a.osmId() - +b.osmId();
+           })[0] || ways[0]).id;
            var sequences = osmJoinWays(ways, graph);
            var joined = sequences[0]; // We might need to reverse some of these ways before joining them.  #4688
            // `joined.actions` property will contain any actions we need to apply.
            var sequences = osmJoinWays(ways, graph);
            var joined = sequences[0]; // We might need to reverse some of these ways before joining them.  #4688
            // `joined.actions` property will contain any actions we need to apply.
 
            if (joined.length > 1) {
              return 'not_adjacent';
 
            if (joined.length > 1) {
              return 'not_adjacent';
+           }
+
+           var i; // All joined ways must belong to the same set of (non-restriction) relations.
+           // Restriction relations have different logic, below, which allows some cases
+           // this prohibits, and prohibits some cases this allows.
+
+           var sortedParentRelations = function sortedParentRelations(id) {
+             return graph.parentRelations(graph.entity(id)).filter(function (rel) {
+               return !rel.isRestriction() && !rel.isConnectivity();
+             }).sort(function (a, b) {
+               return a.id - b.id;
+             });
+           };
+
+           var relsA = sortedParentRelations(ids[0]);
+
+           for (i = 1; i < ids.length; i++) {
+             var relsB = sortedParentRelations(ids[i]);
+
+             if (!utilArrayIdentical(relsA, relsB)) {
+               return 'conflicting_relations';
+             }
            } // Loop through all combinations of path-pairs
            // to check potential intersections between all pairs
 
 
            } // Loop through all combinations of path-pairs
            // to check potential intersections between all pairs
 
 
-           for (var i = 0; i < ids.length - 1; i++) {
+           for (i = 0; i < ids.length - 1; i++) {
              for (var j = i + 1; j < ids.length; j++) {
                var path1 = graph.childNodes(graph.entity(ids[i])).map(function (e) {
                  return e.loc;
              for (var j = i + 1; j < ids.length; j++) {
                var path1 = graph.childNodes(graph.entity(ids[i])).map(function (e) {
                  return e.loc;
            joined[0].forEach(function (way) {
              var parents = graph.parentRelations(way);
              parents.forEach(function (parent) {
            joined[0].forEach(function (way) {
              var parents = graph.parentRelations(way);
              parents.forEach(function (parent) {
-               if (parent.isRestriction() && parent.members.some(function (m) {
+               if ((parent.isRestriction() || parent.isConnectivity()) && parent.members.some(function (m) {
                  return nodeIds.indexOf(m.id) >= 0;
                })) {
                  relation = parent;
                  return nodeIds.indexOf(m.id) >= 0;
                })) {
                  relation = parent;
            });
 
            if (relation) {
            });
 
            if (relation) {
-             return 'restriction';
+             return relation.isRestriction() ? 'restriction' : 'connectivity';
            }
 
            if (conflicting) {
            }
 
            if (conflicting) {
            })) return false;
            return true;
          },
            })) return false;
            return true;
          },
+         isConnectivity: function isConnectivity() {
+           return !!(this.tags.type && this.tags.type.match(/^connectivity:?/));
+         },
          // Returns an array [A0, ... An], each Ai being an array of node arrays [Nds0, ... Ndsm],
          // where Nds0 is an outer ring and subsequent Ndsi's (if any i > 0) being inner rings.
          //
          // Returns an array [A0, ... An], each Ai being an array of node arrays [Nds0, ... Ndsm],
          // where Nds0 is an outer ring and subsequent Ndsi's (if any i > 0) being inner rings.
          //
          return action;
        }
 
          return action;
        }
 
-       var FORCED$2 = descriptors && fails(function () {
+       var DESCRIPTORS = descriptors;
+       var objectDefinePropertyModule = objectDefineProperty;
+       var regExpFlags = regexpFlags$1;
+       var fails$4 = fails$N;
+
+       var FORCED$2 = DESCRIPTORS && fails$4(function () {
          // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
          return Object.getOwnPropertyDescriptor(RegExp.prototype, 'flags').get.call({ dotAll: true, sticky: true }) !== 'sy';
        });
 
        // `RegExp.prototype.flags` getter
        // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
          // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
          return Object.getOwnPropertyDescriptor(RegExp.prototype, 'flags').get.call({ dotAll: true, sticky: true }) !== 'sy';
        });
 
        // `RegExp.prototype.flags` getter
        // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
-       if (FORCED$2) objectDefineProperty.f(RegExp.prototype, 'flags', {
+       if (FORCED$2) objectDefinePropertyModule.f(RegExp.prototype, 'flags', {
          configurable: true,
          configurable: true,
-         get: regexpFlags
+         get: regExpFlags
        });
 
        var fastDeepEqual = function equal(a, b) {
        });
 
        var fastDeepEqual = function equal(a, b) {
          };
        }
 
          };
        }
 
-       function copy$1(source, target) {
+       function copy(source, target) {
          return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp()).unknown(source.unknown());
        }
        function transformer() {
          return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp()).unknown(source.unknown());
        }
        function transformer() {
          return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;
        }
 
          return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;
        }
 
+       var $$7 = _export;
+       var fails$3 = fails$N;
+       var thisNumberValue = thisNumberValue$2;
+
        var nativeToPrecision = 1.0.toPrecision;
 
        var nativeToPrecision = 1.0.toPrecision;
 
-       var FORCED$1 = fails(function () {
+       var FORCED$1 = fails$3(function () {
          // IE7-
          return nativeToPrecision.call(1, undefined) !== '1';
          // IE7-
          return nativeToPrecision.call(1, undefined) !== '1';
-       }) || !fails(function () {
+       }) || !fails$3(function () {
          // V8 ~ Android 4.3-
          nativeToPrecision.call({});
        });
 
        // `Number.prototype.toPrecision` method
        // https://tc39.es/ecma262/#sec-number.prototype.toprecision
          // V8 ~ Android 4.3-
          nativeToPrecision.call({});
        });
 
        // `Number.prototype.toPrecision` method
        // https://tc39.es/ecma262/#sec-number.prototype.toprecision
-       _export({ target: 'Number', proto: true, forced: FORCED$1 }, {
+       $$7({ target: 'Number', proto: true, forced: FORCED$1 }, {
          toPrecision: function toPrecision(precision) {
            return precision === undefined
              ? nativeToPrecision.call(thisNumberValue(this))
          toPrecision: function toPrecision(precision) {
            return precision === undefined
              ? nativeToPrecision.call(thisNumberValue(this))
        }
 
        var locale;
        }
 
        var locale;
-       var format;
+       var format$1;
        var formatPrefix;
        defaultLocale({
          thousands: ",",
        var formatPrefix;
        defaultLocale({
          thousands: ",",
        });
        function defaultLocale(definition) {
          locale = formatLocale(definition);
        });
        function defaultLocale(definition) {
          locale = formatLocale(definition);
-         format = locale.format;
+         format$1 = locale.format;
          formatPrefix = locale.formatPrefix;
          return locale;
        }
          formatPrefix = locale.formatPrefix;
          return locale;
        }
              }
          }
 
              }
          }
 
-         return format(specifier);
+         return format$1(specifier);
        }
 
        function linearish(scale) {
        }
 
        function linearish(scale) {
          var scale = continuous();
 
          scale.copy = function () {
          var scale = continuous();
 
          scale.copy = function () {
-           return copy$1(scale, linear());
+           return copy(scale, linear());
          };
 
          initRange.apply(scale, arguments);
          };
 
          initRange.apply(scale, arguments);
        }
 
        // https://github.com/tc39/proposal-string-pad-start-end
        }
 
        // https://github.com/tc39/proposal-string-pad-start-end
-
-
-
+       var toLength$2 = toLength$q;
+       var repeat$1 = stringRepeat;
+       var requireObjectCoercible$2 = requireObjectCoercible$e;
 
        var ceil = Math.ceil;
 
        // `String.prototype.{ padStart, padEnd }` methods implementation
        var createMethod = function (IS_END) {
          return function ($this, maxLength, fillString) {
 
        var ceil = Math.ceil;
 
        // `String.prototype.{ padStart, padEnd }` methods implementation
        var createMethod = function (IS_END) {
          return function ($this, maxLength, fillString) {
-           var S = String(requireObjectCoercible($this));
+           var S = String(requireObjectCoercible$2($this));
            var stringLength = S.length;
            var fillStr = fillString === undefined ? ' ' : String(fillString);
            var stringLength = S.length;
            var fillStr = fillString === undefined ? ' ' : String(fillString);
-           var intMaxLength = toLength(maxLength);
+           var intMaxLength = toLength$2(maxLength);
            var fillLen, stringFiller;
            if (intMaxLength <= stringLength || fillStr == '') return S;
            fillLen = intMaxLength - stringLength;
            var fillLen, stringFiller;
            if (intMaxLength <= stringLength || fillStr == '') return S;
            fillLen = intMaxLength - stringLength;
-           stringFiller = stringRepeat.call(fillStr, ceil(fillLen / fillStr.length));
+           stringFiller = repeat$1.call(fillStr, ceil(fillLen / fillStr.length));
            if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);
            return IS_END ? S + stringFiller : stringFiller + S;
          };
            if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);
            return IS_END ? S + stringFiller : stringFiller + S;
          };
          end: createMethod(true)
        };
 
          end: createMethod(true)
        };
 
+       var fails$2 = fails$N;
        var padStart = stringPad.start;
 
        var abs$1 = Math.abs;
        var padStart = stringPad.start;
 
        var abs$1 = Math.abs;
        // `Date.prototype.toISOString` method implementation
        // https://tc39.es/ecma262/#sec-date.prototype.toisostring
        // PhantomJS / old WebKit fails here:
        // `Date.prototype.toISOString` method implementation
        // https://tc39.es/ecma262/#sec-date.prototype.toisostring
        // PhantomJS / old WebKit fails here:
-       var dateToIsoString = (fails(function () {
+       var dateToIsoString = (fails$2(function () {
          return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';
          return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';
-       }) || !fails(function () {
+       }) || !fails$2(function () {
          nativeDateToISOString.call(new Date(NaN));
        })) ? function toISOString() {
          if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');
          nativeDateToISOString.call(new Date(NaN));
        })) ? function toISOString() {
          if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');
            'Z';
        } : nativeDateToISOString;
 
            'Z';
        } : nativeDateToISOString;
 
+       var $$6 = _export;
+       var toISOString = dateToIsoString;
+
        // `Date.prototype.toISOString` method
        // https://tc39.es/ecma262/#sec-date.prototype.toisostring
        // PhantomJS / old WebKit has a broken implementations
        // `Date.prototype.toISOString` method
        // https://tc39.es/ecma262/#sec-date.prototype.toisostring
        // PhantomJS / old WebKit has a broken implementations
-       _export({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== dateToIsoString }, {
-         toISOString: dateToIsoString
+       $$6({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, {
+         toISOString: toISOString
        });
 
        function behaviorBreathe() {
        });
 
        function behaviorBreathe() {
          return behavior;
        }
 
          return behavior;
        }
 
+       var $$5 = _export;
+       var repeat = stringRepeat;
+
        // `String.prototype.repeat` method
        // https://tc39.es/ecma262/#sec-string.prototype.repeat
        // `String.prototype.repeat` method
        // https://tc39.es/ecma262/#sec-string.prototype.repeat
-       _export({ target: 'String', proto: true }, {
-         repeat: stringRepeat
+       $$5({ target: 'String', proto: true }, {
+         repeat: repeat
        });
 
        /*
        });
 
        /*
          return mode;
        }
 
          return mode;
        }
 
+       var $$4 = _export;
+       var NativePromise = nativePromiseConstructor;
+       var fails$1 = fails$N;
+       var getBuiltIn = getBuiltIn$9;
+       var speciesConstructor = speciesConstructor$8;
+       var promiseResolve = promiseResolve$2;
+       var redefine = redefine$g.exports;
+
        // Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829
        // Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829
-       var NON_GENERIC = !!nativePromiseConstructor && fails(function () {
-         nativePromiseConstructor.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });
+       var NON_GENERIC = !!NativePromise && fails$1(function () {
+         NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });
        });
 
        // `Promise.prototype.finally` method
        // https://tc39.es/ecma262/#sec-promise.prototype.finally
        });
 
        // `Promise.prototype.finally` method
        // https://tc39.es/ecma262/#sec-promise.prototype.finally
-       _export({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {
+       $$4({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {
          'finally': function (onFinally) {
            var C = speciesConstructor(this, getBuiltIn('Promise'));
            var isFunction = typeof onFinally == 'function';
          'finally': function (onFinally) {
            var C = speciesConstructor(this, getBuiltIn('Promise'));
            var isFunction = typeof onFinally == 'function';
        });
 
        // makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`
        });
 
        // makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`
-       if (typeof nativePromiseConstructor == 'function') {
+       if (typeof NativePromise == 'function') {
          var method = getBuiltIn('Promise').prototype['finally'];
          var method = getBuiltIn('Promise').prototype['finally'];
-         if (nativePromiseConstructor.prototype['finally'] !== method) {
-           redefine(nativePromiseConstructor.prototype, 'finally', method, { unsafe: true });
+         if (NativePromise.prototype['finally'] !== method) {
+           redefine(NativePromise.prototype, 'finally', method, { unsafe: true });
          }
        }
 
          }
        }
 
          }
        };
 
          }
        };
 
-       var defaults$5 = createCommonjsModule(function (module) {
-         function getDefaults() {
-           return {
-             baseUrl: null,
-             breaks: false,
-             gfm: true,
-             headerIds: true,
-             headerPrefix: '',
-             highlight: null,
-             langPrefix: 'language-',
-             mangle: true,
-             pedantic: false,
-             renderer: null,
-             sanitize: false,
-             sanitizer: null,
-             silent: false,
-             smartLists: false,
-             smartypants: false,
-             tokenizer: null,
-             walkTokens: null,
-             xhtml: false
-           };
-         }
-
-         function changeDefaults(newDefaults) {
-           module.exports.defaults = newDefaults;
-         }
+       var defaults$5 = {exports: {}};
 
 
-         module.exports = {
-           defaults: getDefaults(),
-           getDefaults: getDefaults,
-           changeDefaults: changeDefaults
-         };
-       });
+       function getDefaults$1() {
+         return {
+           baseUrl: null,
+           breaks: false,
+           gfm: true,
+           headerIds: true,
+           headerPrefix: '',
+           highlight: null,
+           langPrefix: 'language-',
+           mangle: true,
+           pedantic: false,
+           renderer: null,
+           sanitize: false,
+           sanitizer: null,
+           silent: false,
+           smartLists: false,
+           smartypants: false,
+           tokenizer: null,
+           walkTokens: null,
+           xhtml: false
+         };
+       }
+
+       function changeDefaults$1(newDefaults) {
+         defaults$5.exports.defaults = newDefaults;
+       }
+
+       defaults$5.exports = {
+         defaults: getDefaults$1(),
+         getDefaults: getDefaults$1,
+         changeDefaults: changeDefaults$1
+       };
 
 
-       /**
-        * Helpers
-        */
        var escapeTest = /[&<>"']/;
        var escapeReplace = /[&<>"']/g;
        var escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/;
        var escapeTest = /[&<>"']/;
        var escapeReplace = /[&<>"']/g;
        var escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/;
          }
 
          if (base && !originIndependentUrl.test(href)) {
          }
 
          if (base && !originIndependentUrl.test(href)) {
-           href = resolveUrl$1(base, href);
+           href = resolveUrl$2(base, href);
          }
 
          try {
          }
 
          try {
        var protocol = /^([^:]+:)[\s\S]*$/;
        var domain = /^([^:]+:\/*[^/]*)[\s\S]*$/;
 
        var protocol = /^([^:]+:)[\s\S]*$/;
        var domain = /^([^:]+:\/*[^/]*)[\s\S]*$/;
 
-       function resolveUrl$1(base, href) {
+       function resolveUrl$2(base, href) {
          if (!baseUrls[' ' + base]) {
            // we can ignore everything in base after the last slash of its path component,
            // but we might need to add _that_
          if (!baseUrls[' ' + base]) {
            // we can ignore everything in base after the last slash of its path component,
            // but we might need to add _that_
          unescape: unescape$2,
          edit: edit$1,
          cleanUrl: cleanUrl$1,
          unescape: unescape$2,
          edit: edit$1,
          cleanUrl: cleanUrl$1,
-         resolveUrl: resolveUrl$1,
+         resolveUrl: resolveUrl$2,
          noopTest: noopTest$1,
          merge: merge$2,
          splitCells: splitCells$1,
          noopTest: noopTest$1,
          merge: merge$2,
          splitCells: splitCells$1,
          repeatString: repeatString$1
        };
 
          repeatString: repeatString$1
        };
 
-       var defaults$4 = defaults$5.defaults;
+       var defaults$4 = defaults$5.exports.defaults;
        var rtrim = helpers.rtrim,
            splitCells = helpers.splitCells,
            _escape = helpers.escape,
        var rtrim = helpers.rtrim,
            splitCells = helpers.splitCells,
            _escape = helpers.escape,
          inline: inline$1
        };
 
          inline: inline$1
        };
 
-       var defaults$3 = defaults$5.defaults;
+       var Tokenizer$1 = Tokenizer_1;
+       var defaults$3 = defaults$5.exports.defaults;
        var block = rules.block,
            inline = rules.inline;
        var repeatString = helpers.repeatString;
        var block = rules.block,
            inline = rules.inline;
        var repeatString = helpers.repeatString;
            this.tokens = [];
            this.tokens.links = Object.create(null);
            this.options = options || defaults$3;
            this.tokens = [];
            this.tokens.links = Object.create(null);
            this.options = options || defaults$3;
-           this.options.tokenizer = this.options.tokenizer || new Tokenizer_1();
+           this.options.tokenizer = this.options.tokenizer || new Tokenizer$1();
            this.tokenizer = this.options.tokenizer;
            this.tokenizer.options = this.options;
            var rules = {
            this.tokenizer = this.options.tokenizer;
            this.tokenizer.options = this.options;
            var rules = {
          return Lexer;
        }();
 
          return Lexer;
        }();
 
-       var defaults$2 = defaults$5.defaults;
+       var defaults$2 = defaults$5.exports.defaults;
        var cleanUrl = helpers.cleanUrl,
            escape$2 = helpers.escape;
        /**
        var cleanUrl = helpers.cleanUrl,
            escape$2 = helpers.escape;
        /**
          return Renderer;
        }();
 
          return Renderer;
        }();
 
-       /**
-        * TextRenderer
-        * returns only the textual part of the token
-        */
        var TextRenderer_1 = /*#__PURE__*/function () {
          function TextRenderer() {
            _classCallCheck$1(this, TextRenderer);
        var TextRenderer_1 = /*#__PURE__*/function () {
          function TextRenderer() {
            _classCallCheck$1(this, TextRenderer);
          return TextRenderer;
        }();
 
          return TextRenderer;
        }();
 
-       /**
-        * Slugger generates header id
-        */
        var Slugger_1 = /*#__PURE__*/function () {
          function Slugger() {
            _classCallCheck$1(this, Slugger);
        var Slugger_1 = /*#__PURE__*/function () {
          function Slugger() {
            _classCallCheck$1(this, Slugger);
          return Slugger;
        }();
 
          return Slugger;
        }();
 
-       var defaults$1 = defaults$5.defaults;
+       var Renderer$1 = Renderer_1;
+       var TextRenderer$1 = TextRenderer_1;
+       var Slugger$1 = Slugger_1;
+       var defaults$1 = defaults$5.exports.defaults;
        var unescape$1 = helpers.unescape;
        /**
         * Parsing & Compiling
        var unescape$1 = helpers.unescape;
        /**
         * Parsing & Compiling
            _classCallCheck$1(this, Parser);
 
            this.options = options || defaults$1;
            _classCallCheck$1(this, Parser);
 
            this.options = options || defaults$1;
-           this.options.renderer = this.options.renderer || new Renderer_1();
+           this.options.renderer = this.options.renderer || new Renderer$1();
            this.renderer = this.options.renderer;
            this.renderer.options = this.options;
            this.renderer = this.options.renderer;
            this.renderer.options = this.options;
-           this.textRenderer = new TextRenderer_1();
-           this.slugger = new Slugger_1();
+           this.textRenderer = new TextRenderer$1();
+           this.slugger = new Slugger$1();
          }
          /**
           * Static Parse Method
          }
          /**
           * Static Parse Method
          return Parser;
        }();
 
          return Parser;
        }();
 
+       var Lexer = Lexer_1;
+       var Parser = Parser_1;
+       var Tokenizer = Tokenizer_1;
+       var Renderer = Renderer_1;
+       var TextRenderer = TextRenderer_1;
+       var Slugger = Slugger_1;
        var merge = helpers.merge,
            checkSanitizeDeprecation = helpers.checkSanitizeDeprecation,
            escape$1 = helpers.escape;
        var merge = helpers.merge,
            checkSanitizeDeprecation = helpers.checkSanitizeDeprecation,
            escape$1 = helpers.escape;
-       var getDefaults = defaults$5.getDefaults,
-           changeDefaults = defaults$5.changeDefaults,
-           defaults = defaults$5.defaults;
+       var getDefaults = defaults$5.exports.getDefaults,
+           changeDefaults = defaults$5.exports.changeDefaults,
+           defaults = defaults$5.exports.defaults;
        /**
         * Marked
         */
        /**
         * Marked
         */
            var tokens;
 
            try {
            var tokens;
 
            try {
-             tokens = Lexer_1.lex(src, opt);
+             tokens = Lexer.lex(src, opt);
            } catch (e) {
              return callback(e);
            }
            } catch (e) {
              return callback(e);
            }
                    marked.walkTokens(tokens, opt.walkTokens);
                  }
 
                    marked.walkTokens(tokens, opt.walkTokens);
                  }
 
-                 out = Parser_1.parse(tokens, opt);
+                 out = Parser.parse(tokens, opt);
                } catch (e) {
                  err = e;
                }
                } catch (e) {
                  err = e;
                }
          }
 
          try {
          }
 
          try {
-           var _tokens = Lexer_1.lex(src, opt);
+           var _tokens = Lexer.lex(src, opt);
 
            if (opt.walkTokens) {
              marked.walkTokens(_tokens, opt.walkTokens);
            }
 
 
            if (opt.walkTokens) {
              marked.walkTokens(_tokens, opt.walkTokens);
            }
 
-           return Parser_1.parse(_tokens, opt);
+           return Parser.parse(_tokens, opt);
          } catch (e) {
            e.message += '\nPlease report this to https://github.com/markedjs/marked.';
 
          } catch (e) {
            e.message += '\nPlease report this to https://github.com/markedjs/marked.';
 
 
          if (extension.renderer) {
            (function () {
 
          if (extension.renderer) {
            (function () {
-             var renderer = marked.defaults.renderer || new Renderer_1();
+             var renderer = marked.defaults.renderer || new Renderer();
 
              var _loop = function _loop(prop) {
                var prevRenderer = renderer[prop];
 
              var _loop = function _loop(prop) {
                var prevRenderer = renderer[prop];
 
          if (extension.tokenizer) {
            (function () {
 
          if (extension.tokenizer) {
            (function () {
-             var tokenizer = marked.defaults.tokenizer || new Tokenizer_1();
+             var tokenizer = marked.defaults.tokenizer || new Tokenizer();
 
              var _loop2 = function _loop2(prop) {
                var prevTokenizer = tokenizer[prop];
 
              var _loop2 = function _loop2(prop) {
                var prevTokenizer = tokenizer[prop];
          checkSanitizeDeprecation(opt);
 
          try {
          checkSanitizeDeprecation(opt);
 
          try {
-           var tokens = Lexer_1.lexInline(src, opt);
+           var tokens = Lexer.lexInline(src, opt);
 
            if (opt.walkTokens) {
              marked.walkTokens(tokens, opt.walkTokens);
            }
 
 
            if (opt.walkTokens) {
              marked.walkTokens(tokens, opt.walkTokens);
            }
 
-           return Parser_1.parseInline(tokens, opt);
+           return Parser.parseInline(tokens, opt);
          } catch (e) {
            e.message += '\nPlease report this to https://github.com/markedjs/marked.';
 
          } catch (e) {
            e.message += '\nPlease report this to https://github.com/markedjs/marked.';
 
         */
 
 
         */
 
 
-       marked.Parser = Parser_1;
-       marked.parser = Parser_1.parse;
-       marked.Renderer = Renderer_1;
-       marked.TextRenderer = TextRenderer_1;
-       marked.Lexer = Lexer_1;
-       marked.lexer = Lexer_1.lex;
-       marked.Tokenizer = Tokenizer_1;
-       marked.Slugger = Slugger_1;
+       marked.Parser = Parser;
+       marked.parser = Parser.parse;
+       marked.Renderer = Renderer;
+       marked.TextRenderer = TextRenderer;
+       marked.Lexer = Lexer;
+       marked.lexer = Lexer.lex;
+       marked.Tokenizer = Tokenizer;
+       marked.Slugger = Slugger;
        marked.parse = marked;
        var marked_1 = marked;
 
        marked.parse = marked;
        var marked_1 = marked;
 
          }
        };
 
          }
        };
 
+       var ieee754$1 = {};
+
        /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
        /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
-       var read$6 = function read(buffer, offset, isLE, mLen, nBytes) {
+
+       ieee754$1.read = function (buffer, offset, isLE, mLen, nBytes) {
          var e, m;
          var eLen = nBytes * 8 - mLen - 1;
          var eMax = (1 << eLen) - 1;
          var e, m;
          var eLen = nBytes * 8 - mLen - 1;
          var eMax = (1 << eLen) - 1;
          return (s ? -1 : 1) * m * Math.pow(2, e - mLen);
        };
 
          return (s ? -1 : 1) * m * Math.pow(2, e - mLen);
        };
 
-       var write$6 = function write(buffer, value, offset, isLE, mLen, nBytes) {
+       ieee754$1.write = function (buffer, value, offset, isLE, mLen, nBytes) {
          var e, m, c;
          var eLen = nBytes * 8 - mLen - 1;
          var eMax = (1 << eLen) - 1;
          var e, m, c;
          var eLen = nBytes * 8 - mLen - 1;
          var eMax = (1 << eLen) - 1;
          buffer[offset + i - d] |= s * 128;
        };
 
          buffer[offset + i - d] |= s * 128;
        };
 
-       var ieee754 = {
-         read: read$6,
-         write: write$6
-       };
-
        var pbf = Pbf;
        var pbf = Pbf;
+       var ieee754 = ieee754$1;
 
        function Pbf(buf) {
          this.buf = ArrayBuffer.isView && ArrayBuffer.isView(buf) ? buf : new Uint8Array(buf || 0);
 
        function Pbf(buf) {
          this.buf = ArrayBuffer.isView && ArrayBuffer.isView(buf) ? buf : new Uint8Array(buf || 0);
          return pos;
        }
 
          return pos;
        }
 
-       var pointGeometry = Point;
+       var vectorTile = {};
+
+       var pointGeometry = Point$1;
        /**
         * A standalone point geometry with useful accessor, comparison, and
         * modification methods.
        /**
         * A standalone point geometry with useful accessor, comparison, and
         * modification methods.
         * var point = new Point(-77, 38);
         */
 
         * var point = new Point(-77, 38);
         */
 
-       function Point(x, y) {
+       function Point$1(x, y) {
          this.x = x;
          this.y = y;
        }
 
          this.x = x;
          this.y = y;
        }
 
-       Point.prototype = {
+       Point$1.prototype = {
          /**
           * Clone this point, returning a new point that can be modified
           * without affecting the old one.
           * @return {Point} the clone
           */
          clone: function clone() {
          /**
           * Clone this point, returning a new point that can be modified
           * without affecting the old one.
           * @return {Point} the clone
           */
          clone: function clone() {
-           return new Point(this.x, this.y);
+           return new Point$1(this.x, this.y);
          },
 
          /**
          },
 
          /**
         * var point = new Point(0, 1);
         */
 
         * var point = new Point(0, 1);
         */
 
-       Point.convert = function (a) {
-         if (a instanceof Point) {
+       Point$1.convert = function (a) {
+         if (a instanceof Point$1) {
            return a;
          }
 
          if (Array.isArray(a)) {
            return a;
          }
 
          if (Array.isArray(a)) {
-           return new Point(a[0], a[1]);
+           return new Point$1(a[0], a[1]);
          }
 
          return a;
        };
 
          }
 
          return a;
        };
 
+       var Point = pointGeometry;
        var vectortilefeature = VectorTileFeature$1;
 
        function VectorTileFeature$1(pbf, end, extent, keys, values) {
        var vectortilefeature = VectorTileFeature$1;
 
        function VectorTileFeature$1(pbf, end, extent, keys, values) {
                line = [];
              }
 
                line = [];
              }
 
-             line.push(new pointGeometry(x, y));
+             line.push(new Point(x, y));
            } else if (cmd === 7) {
              // Workaround for https://github.com/mapbox/mapnik-vector-tile/issues/90
              if (line) {
            } else if (cmd === 7) {
              // Workaround for https://github.com/mapbox/mapnik-vector-tile/issues/90
              if (line) {
          return sum;
        }
 
          return sum;
        }
 
+       var VectorTileFeature = vectortilefeature;
        var vectortilelayer = VectorTileLayer$1;
 
        function VectorTileLayer$1(pbf, end) {
        var vectortilelayer = VectorTileLayer$1;
 
        function VectorTileLayer$1(pbf, end) {
 
          var end = this._pbf.readVarint() + this._pbf.pos;
 
 
          var end = this._pbf.readVarint() + this._pbf.pos;
 
-         return new vectortilefeature(this._pbf, end, this.extent, this._keys, this._values);
+         return new VectorTileFeature(this._pbf, end, this.extent, this._keys, this._values);
        };
 
        };
 
+       var VectorTileLayer = vectortilelayer;
        var vectortile = VectorTile$1;
 
        function VectorTile$1(pbf, end) {
        var vectortile = VectorTile$1;
 
        function VectorTile$1(pbf, end) {
 
        function readTile(tag, layers, pbf) {
          if (tag === 3) {
 
        function readTile(tag, layers, pbf) {
          if (tag === 3) {
-           var layer = new vectortilelayer(pbf, pbf.readVarint() + pbf.pos);
+           var layer = new VectorTileLayer(pbf, pbf.readVarint() + pbf.pos);
            if (layer.length) layers[layer.name] = layer;
          }
        }
 
            if (layer.length) layers[layer.name] = layer;
          }
        }
 
-       var VectorTile = vectortile;
-       var VectorTileFeature = vectortilefeature;
-       var VectorTileLayer = vectortilelayer;
-       var vectorTile = {
-         VectorTile: VectorTile,
-         VectorTileFeature: VectorTileFeature,
-         VectorTileLayer: VectorTileLayer
-       };
+       var VectorTile = vectorTile.VectorTile = vectortile;
+       vectorTile.VectorTileFeature = vectortilefeature;
+       vectorTile.VectorTileLayer = vectortilelayer;
 
        var accessToken = 'MLY|4100327730013843|5bb78b81720791946a9a7b956c57b7cf';
        var apiUrl = 'https://graph.mapillary.com/';
 
        var accessToken = 'MLY|4100327730013843|5bb78b81720791946a9a7b956c57b7cf';
        var apiUrl = 'https://graph.mapillary.com/';
 
          this.id = generateID.apply(this); // generated - see below
 
 
          this.id = generateID.apply(this); // generated - see below
 
+         this.key = generateKey.apply(this); // generated - see below (call after generating this.id)
+
          this.autoFix = null; // generated - if autofix exists, will be set below
          // A unique, deterministic string hash.
          // Issues with identical id values are considered identical.
          this.autoFix = null; // generated - if autofix exists, will be set below
          // A unique, deterministic string hash.
          // Issues with identical id values are considered identical.
            }
 
            return parts.join(':');
            }
 
            return parts.join(':');
+         } // An identifier suitable for use as the second argument to d3.selection#data().
+         // (i.e. this should change whenever the data needs to be refreshed)
+
+
+         function generateKey() {
+           return this.id + ':' + Date.now().toString(); // include time of creation
          }
 
          this.extent = function (resolver) {
          }
 
          this.extent = function (resolver) {
        }
 
        function coreHistory(context) {
        }
 
        function coreHistory(context) {
-         var dispatch = dispatch$8('reset', 'change', 'merge', 'restore', 'undone', 'redone');
+         var dispatch = dispatch$8('reset', 'change', 'merge', 'restore', 'undone', 'redone', 'storage_error');
 
          var _lock = utilSessionMutex('lock'); // restorable if iD not open in another window/tab and a saved history exists in localStorage
 
 
          var _lock = utilSessionMutex('lock'); // restorable if iD not open in another window/tab and a saved history exists in localStorage
 
            save: function save() {
              if (_lock.locked() && // don't overwrite existing, unresolved changes
              !_hasUnresolvedRestorableChanges) {
            save: function save() {
              if (_lock.locked() && // don't overwrite existing, unresolved changes
              !_hasUnresolvedRestorableChanges) {
-               corePreferences(getKey('saved_history'), history.toJSON() || null);
+               var success = corePreferences(getKey('saved_history'), history.toJSON() || null);
+               if (!success) dispatch.call('storage_error');
              }
 
              return history;
              }
 
              return history;
 
            if (connectionTags && (isCrossingIndoors || isCrossingTunnels || isCrossingBridges)) {
              crossingTypeID += '_connectable';
 
            if (connectionTags && (isCrossingIndoors || isCrossingTunnels || isCrossingBridges)) {
              crossingTypeID += '_connectable';
-           }
+           } // Differentiate based on the loc rounded to 4 digits, since two ways can cross multiple times.
+
 
 
+           var uniqueID = '' + crossing.crossPoint[0].toFixed(4) + ',' + crossing.crossPoint[1].toFixed(4);
            return new validationIssue({
              type: type,
              subtype: subtype,
            return new validationIssue({
              type: type,
              subtype: subtype,
                featureTypes: featureTypes,
                connectionTags: connectionTags
              },
                featureTypes: featureTypes,
                connectionTags: connectionTags
              },
-             // differentiate based on the loc since two ways can cross multiple times
-             hash: crossing.crossPoint.toString() + // if the edges change then so does the fix
-             edges.slice().sort(function (edge1, edge2) {
-               // order to assure hash is deterministic
-               return edge1[0] < edge2[0] ? -1 : 1;
-             }).toString() + // ensure the correct connection tags are added in the fix
-             JSON.stringify(connectionTags),
+             hash: uniqueID,
              loc: crossing.crossPoint,
              dynamicFixes: function dynamicFixes(context) {
                var mode = context.mode();
              loc: crossing.crossPoint,
              dynamicFixes: function dynamicFixes(context) {
                var mode = context.mode();
                  edges.forEach(function (edge) {
                    var edgeNodes = [graph.entity(edge[0]), graph.entity(edge[1])];
                    var nearby = geoSphericalClosestNode(edgeNodes, loc); // if there is already a suitable node nearby, use that
                  edges.forEach(function (edge) {
                    var edgeNodes = [graph.entity(edge[0]), graph.entity(edge[1])];
                    var nearby = geoSphericalClosestNode(edgeNodes, loc); // if there is already a suitable node nearby, use that
+                   // use the node if node has no interesting tags or if it is a crossing node #8326
 
 
-                   if (!nearby.node.hasInterestingTags() && nearby.distance < mergeThresholdInMeters) {
+                   if ((!nearby.node.hasInterestingTags() || nearby.node.isCrossing()) && nearby.distance < mergeThresholdInMeters) {
                      nodesToMerge.push(nearby.node.id); // else add the new node to the way
                    } else {
                      graph = actionAddMidpoint({
                      nodesToMerge.push(nearby.node.id); // else add the new node to the way
                    } else {
                      graph = actionAddMidpoint({
        }
 
        function behaviorDrawWay(context, wayID, mode, startGraph) {
        }
 
        function behaviorDrawWay(context, wayID, mode, startGraph) {
+         var keybinding = utilKeybinding('drawWay');
          var dispatch = dispatch$8('rejectedSelfIntersection');
          var behavior = behaviorDraw(context); // Must be set by `drawWay.nodeIndex` before each install of this behavior.
 
          var dispatch = dispatch$8('rejectedSelfIntersection');
          var behavior = behaviorDraw(context); // Must be set by `drawWay.nodeIndex` before each install of this behavior.
 
                return graph.replace(graph.entity(wayID).addNode(node.id, _nodeIndex));
              }, _annotation);
            });
                return graph.replace(graph.entity(wayID).addNode(node.id, _nodeIndex));
              }, _annotation);
            });
-         }; // Finish the draw operation, removing the temporary edit.
+         };
+         /**
+          * @param {(typeof osmWay)[]} ways
+          * @returns {"line" | "area" | "generic"}
+          */
+
+
+         function getFeatureType(ways) {
+           if (ways.every(function (way) {
+             return way.isClosed();
+           })) return 'area';
+           if (ways.every(function (way) {
+             return !way.isClosed();
+           })) return 'line';
+           return 'generic';
+         }
+         /** see PR #8671 */
+
+
+         function followMode() {
+           if (_didResolveTempEdit) return;
+
+           try {
+             // get the last 2 added nodes.
+             // check if they are both part of only oneway (the same one)
+             // check if the ways that they're part of are the same way
+             // find index of the last two nodes, to determine the direction to travel around the existing way
+             // add the next node to the way we are drawing
+             // if we're drawing an area, the first node = last node.
+             var isDrawingArea = _origWay.nodes[0] === _origWay.nodes.slice(-1)[0];
+
+             var _origWay$nodes$slice = _origWay.nodes.slice(isDrawingArea ? -3 : -2),
+                 _origWay$nodes$slice2 = _slicedToArray(_origWay$nodes$slice, 2),
+                 secondLastNodeId = _origWay$nodes$slice2[0],
+                 lastNodeId = _origWay$nodes$slice2[1]; // Unlike startGraph, the full history graph may contain unsaved vertices to follow.
+             // https://github.com/openstreetmap/iD/issues/8749
+
+
+             var historyGraph = context.history().graph();
+
+             if (!lastNodeId || !secondLastNodeId || !historyGraph.hasEntity(lastNodeId) || !historyGraph.hasEntity(secondLastNodeId)) {
+               context.ui().flash.duration(4000).iconName('#iD-icon-no').label(_t('operations.follow.error.needs_more_initial_nodes'))();
+               return;
+             } // If the way has looped over itself, follow some other way.
+
+
+             var lastNodesParents = historyGraph.parentWays(historyGraph.entity(lastNodeId)).filter(function (w) {
+               return w.id !== wayID;
+             });
+             var secondLastNodesParents = historyGraph.parentWays(historyGraph.entity(secondLastNodeId)).filter(function (w) {
+               return w.id !== wayID;
+             });
+             var featureType = getFeatureType(lastNodesParents);
+
+             if (lastNodesParents.length !== 1 || secondLastNodesParents.length === 0) {
+               context.ui().flash.duration(4000).iconName('#iD-icon-no').label(_t("operations.follow.error.intersection_of_multiple_ways.".concat(featureType)))();
+               return;
+             } // Check if the last node's parent is also the parent of the second last node.
+             // The last node must only have one parent, but the second last node can have
+             // multiple parents.
+
+
+             if (!secondLastNodesParents.some(function (n) {
+               return n.id === lastNodesParents[0].id;
+             })) {
+               context.ui().flash.duration(4000).iconName('#iD-icon-no').label(_t("operations.follow.error.intersection_of_different_ways.".concat(featureType)))();
+               return;
+             }
+
+             var way = lastNodesParents[0];
+             var indexOfLast = way.nodes.indexOf(lastNodeId);
+             var indexOfSecondLast = way.nodes.indexOf(secondLastNodeId); // for a closed way, the first/last node is the same so it appears twice in the array,
+             // but indexOf always finds the first occurrence. This is only an issue when following a way
+             // in descending order
+
+             var isDescendingPastZero = indexOfLast === way.nodes.length - 2 && indexOfSecondLast === 0;
+             var nextNodeIndex = indexOfLast + (indexOfLast > indexOfSecondLast && !isDescendingPastZero ? 1 : -1); // if we're following a closed way and we pass the first/last node, the  next index will be -1
+
+             if (nextNodeIndex === -1) nextNodeIndex = indexOfSecondLast === 1 ? way.nodes.length - 2 : 1;
+             var nextNode = historyGraph.entity(way.nodes[nextNodeIndex]);
+             drawWay.addNode(nextNode, {
+               geometry: {
+                 type: 'Point',
+                 coordinates: nextNode.loc
+               },
+               id: nextNode.id,
+               properties: {
+                 target: true,
+                 entity: nextNode
+               }
+             });
+           } catch (ex) {
+             context.ui().flash.duration(4000).iconName('#iD-icon-no').label(_t('operations.follow.error.unknown'))();
+           }
+         }
+
+         keybinding.on(_t('operations.follow.key'), followMode);
+         select(document).call(keybinding); // Finish the draw operation, removing the temporary edit.
          // If the way has enough nodes to be valid, it's selected.
          // Otherwise, delete everything and return to browse mode.
 
          // If the way has enough nodes to be valid, it's selected.
          // Otherwise, delete everything and return to browse mode.
 
-
          drawWay.finish = function () {
            checkGeometry(false
            /* includeDrawNode */
          drawWay.finish = function () {
            checkGeometry(false
            /* includeDrawNode */
 
        function validationIncompatibleSource() {
          var type = 'incompatible_source';
 
        function validationIncompatibleSource() {
          var type = 'incompatible_source';
-         var invalidSources = [{
+         var incompatibleRules = [{
+           id: 'amap',
+           regex: /(amap|autonavi|mapabc|高德)/i
+         }, {
+           id: 'baidu',
+           regex: /(baidu|mapbar|百度)/i
+         }, {
            id: 'google',
            id: 'google',
-           regex: 'google',
-           exceptRegex: 'books.google|Google Books|drive.google|googledrive|Google Drive'
+           regex: /google/i,
+           exceptRegex: /((books|drive)\.google|google\s?(books|drive|plus))/i
          }];
 
          var validation = function checkIncompatibleSource(entity) {
            var entitySources = entity.tags && entity.tags.source && entity.tags.source.split(';');
            if (!entitySources) return [];
          }];
 
          var validation = function checkIncompatibleSource(entity) {
            var entitySources = entity.tags && entity.tags.source && entity.tags.source.split(';');
            if (!entitySources) return [];
-           var issues = [];
-           invalidSources.forEach(function (invalidSource) {
-             var hasInvalidSource = entitySources.some(function (source) {
-               if (!source.match(new RegExp(invalidSource.regex, 'i'))) return false;
-               if (invalidSource.exceptRegex && source.match(new RegExp(invalidSource.exceptRegex, 'i'))) return false;
+           var entityID = entity.id;
+           return entitySources.map(function (source) {
+             var matchRule = incompatibleRules.find(function (rule) {
+               if (!rule.regex.test(source)) return false;
+               if (rule.exceptRegex && rule.exceptRegex.test(source)) return false;
                return true;
              });
                return true;
              });
-             if (!hasInvalidSource) return;
-             issues.push(new validationIssue({
+             if (!matchRule) return null;
+             return new validationIssue({
                type: type,
                severity: 'warning',
                message: function message(context) {
                type: type,
                severity: 'warning',
                message: function message(context) {
-                 var entity = context.hasEntity(this.entityIds[0]);
-                 return entity ? _t.html('issues.incompatible_source.' + invalidSource.id + '.feature.message', {
+                 var entity = context.hasEntity(entityID);
+                 return entity ? _t.html('issues.incompatible_source.feature.message', {
                    feature: utilDisplayLabel(entity, context.graph(), true
                    /* verbose */
                    feature: utilDisplayLabel(entity, context.graph(), true
                    /* verbose */
-                   )
+                   ),
+                   value: source
                  }) : '';
                },
                  }) : '';
                },
-               reference: getReference(invalidSource.id),
-               entityIds: [entity.id],
+               reference: getReference(matchRule.id),
+               entityIds: [entityID],
+               hash: source,
                dynamicFixes: function dynamicFixes() {
                  return [new validationIssueFix({
                    title: _t.html('issues.fix.remove_proprietary_data.title')
                  })];
                }
                dynamicFixes: function dynamicFixes() {
                  return [new validationIssueFix({
                    title: _t.html('issues.fix.remove_proprietary_data.title')
                  })];
                }
-             }));
-           });
-           return issues;
+             });
+           }).filter(Boolean);
 
            function getReference(id) {
              return function showReference(selection) {
 
            function getReference(id) {
              return function showReference(selection) {
-               selection.selectAll('.issue-reference').data([0]).enter().append('div').attr('class', 'issue-reference').html(_t.html('issues.incompatible_source.' + id + '.reference'));
+               selection.selectAll('.issue-reference').data([0]).enter().append('div').attr('class', 'issue-reference').html(_t.html("issues.incompatible_source.reference.".concat(id)));
              };
            }
          };
              };
            }
          };
            var sourceGeom = entity.geometry(graph);
            var targetGeoms = entity.type === 'way' ? ['point', 'vertex'] : ['line', 'area'];
            if (sourceGeom === 'area') targetGeoms.unshift('line');
            var sourceGeom = entity.geometry(graph);
            var targetGeoms = entity.type === 'way' ? ['point', 'vertex'] : ['line', 'area'];
            if (sourceGeom === 'area') targetGeoms.unshift('line');
+           var asSource = _mainPresetIndex.match(entity, graph);
            var targetGeom = targetGeoms.find(function (nodeGeom) {
            var targetGeom = targetGeoms.find(function (nodeGeom) {
-             var asSource = _mainPresetIndex.matchTags(entity.tags, sourceGeom);
              var asTarget = _mainPresetIndex.matchTags(entity.tags, nodeGeom);
              if (!asSource || !asTarget || asSource === asTarget || // sometimes there are two presets with the same tags for different geometries
              fastDeepEqual(asSource.tags, asTarget.tags)) return false;
              var asTarget = _mainPresetIndex.matchTags(entity.tags, nodeGeom);
              if (!asSource || !asTarget || asSource === asTarget || // sometimes there are two presets with the same tags for different geometries
              fastDeepEqual(asSource.tags, asTarget.tags)) return false;
 
            var nsi = services.nsi;
            var waitingForNsi = false;
 
            var nsi = services.nsi;
            var waitingForNsi = false;
+           var nsiResult;
 
            if (nsi) {
              waitingForNsi = nsi.status() === 'loading';
 
              if (!waitingForNsi) {
                var loc = entity.extent(graph).center();
 
            if (nsi) {
              waitingForNsi = nsi.status() === 'loading';
 
              if (!waitingForNsi) {
                var loc = entity.extent(graph).center();
-               var result = nsi.upgradeTags(newTags, loc);
+               nsiResult = nsi.upgradeTags(newTags, loc);
 
 
-               if (result) {
-                 newTags = result;
+               if (nsiResult) {
+                 newTags = nsiResult.newTags;
                  subtype = 'noncanonical_brand';
                }
              }
                  subtype = 'noncanonical_brand';
                }
              }
            });
            var prefix = '';
 
            });
            var prefix = '';
 
-           if (subtype === 'noncanonical_brand') {
+           if (nsiResult) {
              prefix = 'noncanonical_brand.';
            } else if (subtype === 'deprecated_tags' && isOnlyAddingTags) {
              subtype = 'incomplete_tags';
              prefix = 'noncanonical_brand.';
            } else if (subtype === 'deprecated_tags' && isOnlyAddingTags) {
              subtype = 'incomplete_tags';
              entityIds: [entity.id],
              hash: utilHashcode(JSON.stringify(tagDiff)),
              dynamicFixes: function dynamicFixes() {
              entityIds: [entity.id],
              hash: utilHashcode(JSON.stringify(tagDiff)),
              dynamicFixes: function dynamicFixes() {
-               return [new validationIssueFix({
+               var fixes = [new validationIssueFix({
                  autoArgs: autoArgs,
                  title: _t.html('issues.fix.upgrade_tags.title'),
                  onClick: function onClick(context) {
                    context.perform(doUpgrade, _t('issues.fix.upgrade_tags.annotation'));
                  }
                })];
                  autoArgs: autoArgs,
                  title: _t.html('issues.fix.upgrade_tags.title'),
                  onClick: function onClick(context) {
                    context.perform(doUpgrade, _t('issues.fix.upgrade_tags.annotation'));
                  }
                })];
+               var item = nsiResult && nsiResult.matched;
+
+               if (item) {
+                 fixes.push(new validationIssueFix({
+                   title: _t.html('issues.fix.tag_as_not.title', {
+                     name: item.displayName
+                   }),
+                   onClick: function onClick(context) {
+                     context.perform(addNotTag, _t('issues.fix.tag_as_not.annotation'));
+                   }
+                 }));
+               }
+
+               return fixes;
              }
            }));
            return issues;
              }
            }));
            return issues;
              return actionChangeTags(currEntity.id, newTags)(graph);
            }
 
              return actionChangeTags(currEntity.id, newTags)(graph);
            }
 
+           function addNotTag(graph) {
+             var currEntity = graph.hasEntity(entity.id);
+             if (!currEntity) return graph;
+             var item = nsiResult && nsiResult.matched;
+             if (!item) return graph;
+             var newTags = Object.assign({}, currEntity.tags); // shallow copy
+
+             var wd = item.mainTag; // e.g. `brand:wikidata`
+
+             var notwd = "not:".concat(wd); // e.g. `not:brand:wikidata`
+
+             var qid = item.tags[wd];
+             newTags[notwd] = qid;
+
+             if (newTags[wd] === qid) {
+               // if `brand:wikidata` was set to that qid
+               var wp = item.mainTag.replace('wikidata', 'wikipedia');
+               delete newTags[wd]; // remove `brand:wikidata`
+
+               delete newTags[wp]; // remove `brand:wikipedia`
+             }
+
+             return actionChangeTags(currEntity.id, newTags)(graph);
+           }
+
            function showMessage(context) {
              var currEntity = context.hasEntity(entity.id);
              if (!currEntity) return '';
            function showMessage(context) {
              var currEntity = context.hasEntity(entity.id);
              if (!currEntity) return '';
 
          var _resolvedIssueIDs = new Set();
 
 
          var _resolvedIssueIDs = new Set();
 
-         var _baseCache = validationCache(); // issues before any user edits
+         var _baseCache = validationCache('base'); // issues before any user edits
 
 
 
 
-         var _headCache = validationCache(); // issues after all user edits
+         var _headCache = validationCache('head'); // issues after all user edits
 
 
 
 
-         var _headGraph = null;
+         var _completeDiff = {}; // complete diff base -> head of what the user changed
+
          var _headIsCurrent = false;
 
          var _deferredRIC = new Set(); // Set( RequestIdleCallback handles )
          var _headIsCurrent = false;
 
          var _deferredRIC = new Set(); // Set( RequestIdleCallback handles )
 
          var RETRY = 5000; // wait 5sec before revalidating provisional entities
          // Allow validation severity to be overridden by url queryparams...
 
          var RETRY = 5000; // wait 5sec before revalidating provisional entities
          // Allow validation severity to be overridden by url queryparams...
+         // See: https://github.com/openstreetmap/iD/pull/8243
+         //
          // Each param should contain a urlencoded comma separated list of
          // `type/subtype` rules.  `*` may be used as a wildcard..
          // Examples:
          // Each param should contain a urlencoded comma separated list of
          // `type/subtype` rules.  `*` may be used as a wildcard..
          // Examples:
 
          var _warningOverrides = parseHashParam(context.initialHashParams.validationWarning);
 
 
          var _warningOverrides = parseHashParam(context.initialHashParams.validationWarning);
 
-         var _disableOverrides = parseHashParam(context.initialHashParams.validationDisable);
+         var _disableOverrides = parseHashParam(context.initialHashParams.validationDisable); // `parseHashParam()`   (private)
+         // Checks hash parameters for severity overrides
+         // Arguments
+         //   `param` - a url hash parameter (`validationError`, `validationWarning`, or `validationDisable`)
+         // Returns
+         //   Array of Objects like { type: RegExp, subtype: RegExp }
+         //
+
 
          function parseHashParam(param) {
            var result = [];
 
          function parseHashParam(param) {
            var result = [];
              });
            });
            return result;
              });
            });
            return result;
-         }
 
 
-         function makeRegExp(str) {
-           var escaped = str.replace(/[-\/\\^$+?.()|[\]{}]/g, '\\$&') // escape all reserved chars except for the '*'
-           .replace(/\*/g, '.*'); // treat a '*' like '.*'
+           function makeRegExp(str) {
+             var escaped = str.replace(/[-\/\\^$+?.()|[\]{}]/g, '\\$&') // escape all reserved chars except for the '*'
+             .replace(/\*/g, '.*'); // treat a '*' like '.*'
 
 
-           return new RegExp('^' + escaped + '$');
+             return new RegExp('^' + escaped + '$');
+           }
          } // `init()`
          // Initialize the validator, called once on iD startup
          //
          } // `init()`
          // Initialize the validator, called once on iD startup
          //
 
            _resolvedIssueIDs.clear();
 
 
            _resolvedIssueIDs.clear();
 
-           _baseCache = validationCache();
-           _headCache = validationCache();
-           _headGraph = null;
+           _baseCache = validationCache('base');
+           _headCache = validationCache('head');
+           _completeDiff = {};
            _headIsCurrent = false;
          } // `reset()`
          // clear caches, called whenever iD resets after a save or switches sources
            _headIsCurrent = false;
          } // `reset()`
          // clear caches, called whenever iD resets after a save or switches sources
 
 
          validator.revalidateUnsquare = function () {
 
 
          validator.revalidateUnsquare = function () {
-           revalidateUnsquare(_headCache, _headGraph);
-           revalidateUnsquare(_baseCache, context.history().base());
+           revalidateUnsquare(_headCache);
+           revalidateUnsquare(_baseCache);
            dispatch.call('validated');
          };
 
            dispatch.call('validated');
          };
 
-         function revalidateUnsquare(cache, graph) {
+         function revalidateUnsquare(cache) {
            var checkUnsquareWay = _rules.unsquare_way;
            var checkUnsquareWay = _rules.unsquare_way;
-           if (!graph || typeof checkUnsquareWay !== 'function') return; // uncache existing
+           if (!cache.graph || typeof checkUnsquareWay !== 'function') return; // uncache existing
 
            cache.uncacheIssuesOfType('unsquare_way');
 
            cache.uncacheIssuesOfType('unsquare_way');
-           var buildings = context.history().tree().intersects(geoExtent([-180, -90], [180, 90]), graph) // everywhere
+           var buildings = context.history().tree().intersects(geoExtent([-180, -90], [180, 90]), cache.graph) // everywhere
            .filter(function (entity) {
              return entity.type === 'way' && entity.tags.building && entity.tags.building !== 'no';
            }); // rerun for all buildings
 
            buildings.forEach(function (entity) {
            .filter(function (entity) {
              return entity.type === 'way' && entity.tags.building && entity.tags.building !== 'no';
            }); // rerun for all buildings
 
            buildings.forEach(function (entity) {
-             var detected = checkUnsquareWay(entity, graph);
+             var detected = checkUnsquareWay(entity, cache.graph);
              if (!detected.length) return;
              cache.cacheIssues(detected);
            });
              if (!detected.length) return;
              cache.cacheIssues(detected);
            });
              includeDisabledRules: false
            }, options);
            var view = context.map().extent();
              includeDisabledRules: false
            }, options);
            var view = context.map().extent();
-           var issues = [];
-           var seen = new Set(); // collect head issues - caused by user edits
-
-           var cache = _headCache;
+           var seen = new Set();
+           var results = []; // collect head issues - present in the user edits
+
+           if (_headCache.graph && _headCache.graph !== _baseCache.graph) {
+             Object.values(_headCache.issuesByIssueID).forEach(function (issue) {
+               // In the head cache, only count features that the user is responsible for - #8632
+               // For example, a user can undo some work and an issue will still present in the
+               // head graph, but we don't want to credit the user for causing that issue.
+               var userModified = (issue.entityIds || []).some(function (id) {
+                 return _completeDiff.hasOwnProperty(id);
+               });
+               if (opts.what === 'edited' && !userModified) return; // present in head but user didn't touch it
 
 
-           if (_headGraph) {
-             Object.values(cache.issuesByIssueID).forEach(function (issue) {
-               if (!filter(issue, _headGraph, cache)) return;
+               if (!filter(issue)) return;
                seen.add(issue.id);
                seen.add(issue.id);
-               issues.push(issue);
+               results.push(issue);
              });
              });
-           } // collect base issues - not caused by user edits
+           } // collect base issues - present before user edits
 
 
            if (opts.what === 'all') {
 
 
            if (opts.what === 'all') {
-             cache = _baseCache;
-             Object.values(cache.issuesByIssueID).forEach(function (issue) {
-               if (!filter(issue, context.history().base(), cache)) return;
+             Object.values(_baseCache.issuesByIssueID).forEach(function (issue) {
+               if (!filter(issue)) return;
                seen.add(issue.id);
                seen.add(issue.id);
-               issues.push(issue);
+               results.push(issue);
              });
            }
 
              });
            }
 
-           return issues;
+           return results; // Filter the issue set to include only what the calling code wants to see.
+           // Note that we use `context.graph()`/`context.hasEntity()` here, not `cache.graph`,
+           // because that is the graph that the calling code will be using.
 
 
-           function filter(issue, resolver, cache) {
+           function filter(issue) {
              if (!issue) return false;
              if (seen.has(issue.id)) return false;
              if (_resolvedIssueIDs.has(issue.id)) return false;
              if (opts.includeDisabledRules === 'only' && !_disabledRules[issue.type]) return false;
              if (!opts.includeDisabledRules && _disabledRules[issue.type]) return false;
              if (opts.includeIgnored === 'only' && !_ignoredIssueIDs.has(issue.id)) return false;
              if (!issue) return false;
              if (seen.has(issue.id)) return false;
              if (_resolvedIssueIDs.has(issue.id)) return false;
              if (opts.includeDisabledRules === 'only' && !_disabledRules[issue.type]) return false;
              if (!opts.includeDisabledRules && _disabledRules[issue.type]) return false;
              if (opts.includeIgnored === 'only' && !_ignoredIssueIDs.has(issue.id)) return false;
-             if (!opts.includeIgnored && _ignoredIssueIDs.has(issue.id)) return false; // Sanity check:  This issue may be for an entity that not longer exists.
-             // If we detect this, uncache and return false so it is not included..
-
-             var entityIDs = issue.entityIds || [];
-
-             for (var i = 0; i < entityIDs.length; i++) {
-               var entityID = entityIDs[i];
+             if (!opts.includeIgnored && _ignoredIssueIDs.has(issue.id)) return false; // This issue may involve an entity that doesn't exist in context.graph()
+             // This can happen because validation is async and rendering the issue lists is async.
 
 
-               if (!resolver.hasEntity(entityID)) {
-                 cache.uncacheEntityID(entityID);
-                 return false;
-               }
-             }
+             if ((issue.entityIds || []).some(function (id) {
+               return !context.hasEntity(id);
+             })) return false;
 
              if (opts.where === 'visible') {
 
              if (opts.where === 'visible') {
-               var extent = issue.extent(resolver);
+               var extent = issue.extent(context.graph());
                if (!view.intersects(extent)) return false;
              }
 
                if (!view.intersects(extent)) return false;
              }
 
            }
          }; // `getResolvedIssues()`
          // Gets the issues that have been fixed by the user.
            }
          }; // `getResolvedIssues()`
          // Gets the issues that have been fixed by the user.
-         // Resolved issues are tracked in the `_resolvedIssueIDs` Set
+         //
+         // Resolved issues are tracked in the `_resolvedIssueIDs` Set,
+         // and they should all be issues that exist in the _baseCache.
          //
          // Returns
          //   An Array containing the issues
          //
          // Returns
          //   An Array containing the issues
 
 
          validator.getResolvedIssues = function () {
 
 
          validator.getResolvedIssues = function () {
-           var collected = new Set();
-           Object.values(_baseCache.issuesByIssueID).forEach(function (issue) {
-             if (_resolvedIssueIDs.has(issue.id)) collected.add(issue);
-           });
-           Object.values(_headCache.issuesByIssueID).forEach(function (issue) {
-             if (_resolvedIssueIDs.has(issue.id)) collected.add(issue);
-           });
-           return Array.from(collected);
+           return Array.from(_resolvedIssueIDs).map(function (issueID) {
+             return _baseCache.issuesByIssueID[issueID];
+           }).filter(Boolean);
          }; // `focusIssue()`
          // Adjusts the map to focus on the given issue.
          // (requires the issue to have a reasonable extent defined)
          }; // `focusIssue()`
          // Adjusts the map to focus on the given issue.
          // (requires the issue to have a reasonable extent defined)
 
 
          validator.focusIssue = function (issue) {
 
 
          validator.focusIssue = function (issue) {
-           var extent = issue.extent(context.graph());
-           if (!extent) return;
-           var setZoom = Math.max(context.map().zoom(), 19);
-           context.map().unobscuredCenterZoomEase(extent.center(), setZoom); // select the first entity
+           // Note that we use `context.graph()`/`context.hasEntity()` here, not `cache.graph`,
+           // because that is the graph that the calling code will be using.
+           var graph = context.graph();
+           var selectID;
+           var focusCenter; // Try to focus the map at the center of the issue..
+
+           var issueExtent = issue.extent(graph);
+
+           if (issueExtent) {
+             focusCenter = issueExtent.center();
+           } // Try to select the first entity in the issue..
+
 
            if (issue.entityIds && issue.entityIds.length) {
 
            if (issue.entityIds && issue.entityIds.length) {
+             selectID = issue.entityIds[0]; // If a relation, focus on one of its members instead.
+             // Otherwise we might be focusing on a part of map where the relation is not visible.
+
+             if (selectID && selectID.charAt(0) === 'r') {
+               // relation
+               var ids = utilEntityAndDeepMemberIDs([selectID], graph);
+               var nodeID = ids.find(function (id) {
+                 return id.charAt(0) === 'n' && graph.hasEntity(id);
+               });
+
+               if (!nodeID) {
+                 // relation has no downloaded nodes to focus on
+                 var wayID = ids.find(function (id) {
+                   return id.charAt(0) === 'w' && graph.hasEntity(id);
+                 });
+
+                 if (wayID) {
+                   nodeID = graph.entity(wayID).first(); // focus on the first node of this way
+                 }
+               }
+
+               if (nodeID) {
+                 focusCenter = graph.entity(nodeID).loc;
+               }
+             }
+           }
+
+           if (focusCenter) {
+             // Adjust the view
+             var setZoom = Math.max(context.map().zoom(), 19);
+             context.map().unobscuredCenterZoomEase(focusCenter, setZoom);
+           }
+
+           if (selectID) {
+             // Enter select mode
              window.setTimeout(function () {
              window.setTimeout(function () {
-               var ids = issue.entityIds;
-               context.enter(modeSelect(context, [ids[0]]));
+               context.enter(modeSelect(context, [selectID]));
                dispatch.call('focusedIssue', _this, issue);
              }, 250); // after ease
            }
                dispatch.call('focusedIssue', _this, issue);
              }, 250); // after ease
            }
 
 
          validator.getSharedEntityIssues = function (entityIDs, options) {
 
 
          validator.getSharedEntityIssues = function (entityIDs, options) {
-           // show some issue types in a particular order
-           var orderedIssueTypes = [// flag missing data first
-           'missing_tag', 'missing_role', // then flag identity issues
-           'outdated_tags', 'mismatched_geometry', // flag geometry issues where fixing them might solve connectivity issues
-           'crossing_ways', 'almost_junction', // then flag connectivity issues
-           'disconnected_way', 'impossible_oneway'];
+           var orderedIssueTypes = [// Show some issue types in a particular order:
+           'missing_tag', 'missing_role', // - missing data first
+           'outdated_tags', 'mismatched_geometry', // - identity issues
+           'crossing_ways', 'almost_junction', // - geometry issues where fixing them might solve connectivity issues
+           'disconnected_way', 'impossible_oneway' // - finally connectivity issues
+           ];
            var allIssues = validator.getIssues(options);
            var forEntityIDs = new Set(entityIDs);
            return allIssues.filter(function (issue) {
            var allIssues = validator.getIssues(options);
            var forEntityIDs = new Set(entityIDs);
            return allIssues.filter(function (issue) {
 
 
          validator.validate = function () {
 
 
          validator.validate = function () {
+           // Make sure the caches have graphs assigned to them.
+           // (we don't do this in `reset` because context is still resetting things and `history.base()` is unstable then)
+           var baseGraph = context.history().base();
+           if (!_headCache.graph) _headCache.graph = baseGraph;
+           if (!_baseCache.graph) _baseCache.graph = baseGraph;
+           var prevGraph = _headCache.graph;
            var currGraph = context.graph();
 
            var currGraph = context.graph();
 
-           var prevGraph = _headGraph || context.history().base();
-
            if (currGraph === prevGraph) {
            if (currGraph === prevGraph) {
-             // _headGraph is current - we are caught up
+             // _headCache.graph is current - we are caught up
              _headIsCurrent = true;
              dispatch.call('validated');
              return Promise.resolve();
              _headIsCurrent = true;
              dispatch.call('validated');
              return Promise.resolve();
              _headIsCurrent = false; // We will need to catch up after the validation promise fulfills
 
              return _headPromise;
              _headIsCurrent = false; // We will need to catch up after the validation promise fulfills
 
              return _headPromise;
-           }
-
-           _headGraph = currGraph; // take snapshot
+           } // If we get here, its time to start validating stuff.
 
 
-           var difference = coreDifference(prevGraph, _headGraph); // Gather all entities related to this difference..
-           // For created/modified, use the head graph
 
 
-           var entityIDs = difference.extantIDs(true); // created/modified (true = w/relation members)
+           _headCache.graph = currGraph; // take snapshot
 
 
-           entityIDs = entityIDsToValidate(entityIDs, _headGraph); // For modified/deleted, use the previous graph
-           // (e.g. deleting the only highway connected to a road should create a disconnected highway issue)
-
-           var previousEntityIDs = difference.deleted().concat(difference.modified()).map(function (entity) {
-             return entity.id;
-           });
-           previousEntityIDs = entityIDsToValidate(previousEntityIDs, prevGraph);
-           previousEntityIDs.forEach(entityIDs.add, entityIDs); // concat the sets
+           _completeDiff = context.history().difference().complete();
+           var incrementalDiff = coreDifference(prevGraph, currGraph);
+           var entityIDs = Object.keys(incrementalDiff.complete());
+           entityIDs = _headCache.withAllRelatedEntities(entityIDs); // expand set
 
            if (!entityIDs.size) {
              dispatch.call('validated');
              return Promise.resolve();
            }
 
 
            if (!entityIDs.size) {
              dispatch.call('validated');
              return Promise.resolve();
            }
 
-           _headPromise = validateEntitiesAsync(entityIDs, _headGraph, _headCache).then(function () {
+           _headPromise = validateEntitiesAsync(entityIDs, _headCache).then(function () {
              return updateResolvedIssues(entityIDs);
            }).then(function () {
              return dispatch.call('validated');
              return updateResolvedIssues(entityIDs);
            }).then(function () {
              return dispatch.call('validated');
          context.on('exit.validator', validator.validate); // When merging fetched data, validate base graph:
 
          context.history().on('merge.validator', function (entities) {
          context.on('exit.validator', validator.validate); // When merging fetched data, validate base graph:
 
          context.history().on('merge.validator', function (entities) {
-           if (!entities) return;
+           if (!entities) return; // Make sure the caches have graphs assigned to them.
+           // (we don't do this in `reset` because context is still resetting things and `history.base()` is unstable then)
+
            var baseGraph = context.history().base();
            var baseGraph = context.history().base();
+           if (!_headCache.graph) _headCache.graph = baseGraph;
+           if (!_baseCache.graph) _baseCache.graph = baseGraph;
            var entityIDs = entities.map(function (entity) {
              return entity.id;
            });
            var entityIDs = entities.map(function (entity) {
              return entity.id;
            });
-           entityIDs = entityIDsToValidate(entityIDs, baseGraph);
-           validateEntitiesAsync(entityIDs, baseGraph, _baseCache);
+           entityIDs = _baseCache.withAllRelatedEntities(entityIDs); // expand set
+
+           validateEntitiesAsync(entityIDs, _baseCache);
          }); // `validateEntity()`   (private)
          // Runs all validation rules on a single entity.
          // Some things to note:
          }); // `validateEntity()`   (private)
          // Runs all validation rules on a single entity.
          // Some things to note:
            var result = {
              issues: [],
              provisional: false
            var result = {
              issues: [],
              provisional: false
-           }; // runs validation and appends resulting issues
+           };
+           Object.keys(_rules).forEach(runValidation); // run all rules
+
+           return result; // runs validation and appends resulting issues
 
            function runValidation(key) {
              var fn = _rules[key];
 
            function runValidation(key) {
              var fn = _rules[key];
                return;
              }
 
                return;
              }
 
-             var detected = fn(entity, graph).filter(applySeverityOverrides);
+             var detected = fn(entity, graph);
 
              if (detected.provisional) {
                // this validation should be run again later
                result.provisional = true;
              }
 
 
              if (detected.provisional) {
                // this validation should be run again later
                result.provisional = true;
              }
 
-             result.issues = result.issues.concat(detected);
-           } // run all rules
-
+             detected = detected.filter(applySeverityOverrides);
+             result.issues = result.issues.concat(detected); // If there are any override rules that match the issue type/subtype,
+             // adjust severity (or disable it) and keep/discard as quickly as possible.
 
 
-           Object.keys(_rules).forEach(runValidation);
-           return result;
-         } // If there are any override rules that match the issue type/subtype,
-         // adjust severity (or disable it) and keep/discard as quickly as possible.
+             function applySeverityOverrides(issue) {
+               var type = issue.type;
+               var subtype = issue.subtype || '';
+               var i;
 
 
+               for (i = 0; i < _errorOverrides.length; i++) {
+                 if (_errorOverrides[i].type.test(type) && _errorOverrides[i].subtype.test(subtype)) {
+                   issue.severity = 'error';
+                   return true;
+                 }
+               }
 
 
-         function applySeverityOverrides(issue) {
-           var type = issue.type;
-           var subtype = issue.subtype || '';
-           var i;
+               for (i = 0; i < _warningOverrides.length; i++) {
+                 if (_warningOverrides[i].type.test(type) && _warningOverrides[i].subtype.test(subtype)) {
+                   issue.severity = 'warning';
+                   return true;
+                 }
+               }
 
 
-           for (i = 0; i < _errorOverrides.length; i++) {
-             if (_errorOverrides[i].type.test(type) && _errorOverrides[i].subtype.test(subtype)) {
-               issue.severity = 'error';
-               return true;
-             }
-           }
+               for (i = 0; i < _disableOverrides.length; i++) {
+                 if (_disableOverrides[i].type.test(type) && _disableOverrides[i].subtype.test(subtype)) {
+                   return false;
+                 }
+               }
 
 
-           for (i = 0; i < _warningOverrides.length; i++) {
-             if (_warningOverrides[i].type.test(type) && _warningOverrides[i].subtype.test(subtype)) {
-               issue.severity = 'warning';
                return true;
              }
            }
                return true;
              }
            }
-
-           for (i = 0; i < _disableOverrides.length; i++) {
-             if (_disableOverrides[i].type.test(type) && _disableOverrides[i].subtype.test(subtype)) {
-               return false;
-             }
-           }
-
-           return true;
-         } // `entityIDsToValidate()`   (private)
-         // Collects the complete list of entityIDs related to the input entityIDs.
-         //
-         // Arguments
-         //   `entityIDs` - Set or Array containing entityIDs.
-         //   `graph` - graph containing the entities
-         //
-         // Returns
-         //   Set containing entityIDs
-         //
-
-
-         function entityIDsToValidate(entityIDs, graph) {
-           var seen = new Set();
-           var collected = new Set();
-           entityIDs.forEach(function (entityID) {
-             // keep `seen` separate from `collected` because an `entityID`
-             // could have been added to `collected` as a related entity through an earlier pass
-             if (seen.has(entityID)) return;
-             seen.add(entityID);
-             var entity = graph.hasEntity(entityID);
-             if (!entity) return;
-             collected.add(entityID); // collect self
-
-             var checkParentRels = [entity];
-
-             if (entity.type === 'node') {
-               graph.parentWays(entity).forEach(function (parentWay) {
-                 collected.add(parentWay.id); // collect parent ways
-
-                 checkParentRels.push(parentWay);
-               });
-             } else if (entity.type === 'relation') {
-               entity.members.forEach(function (member) {
-                 return collected.add(member.id);
-               }); // collect members
-             } else if (entity.type === 'way') {
-               entity.nodes.forEach(function (nodeID) {
-                 collected.add(nodeID); // collect child nodes
-
-                 graph._parentWays[nodeID].forEach(function (wayID) {
-                   return collected.add(wayID);
-                 }); // collect connected ways
-
-               });
-             }
-
-             checkParentRels.forEach(function (entity) {
-               // collect parent relations
-               if (entity.type !== 'relation') {
-                 // but not super-relations
-                 graph.parentRelations(entity).forEach(function (parentRelation) {
-                   return collected.add(parentRelation.id);
-                 });
-               }
-             });
-           });
-           return collected;
          } // `updateResolvedIssues()`   (private)
          // Determine if any issues were resolved for the given entities.
          // This is called by `validate()` after validation of the head graph
          //
          } // `updateResolvedIssues()`   (private)
          // Determine if any issues were resolved for the given entities.
          // This is called by `validate()` after validation of the head graph
          //
+         // Give the user credit for fixing an issue if:
+         // - the issue is in the base cache
+         // - the issue is not in the head cache
+         // - the user did something to one of the entities involved in the issue
+         //
          // Arguments
          // Arguments
-         //   `entityIDs` - Set containing entity IDs.
+         //   `entityIDs` - Array or Set containing entity IDs.
          //
 
 
          function updateResolvedIssues(entityIDs) {
            entityIDs.forEach(function (entityID) {
          //
 
 
          function updateResolvedIssues(entityIDs) {
            entityIDs.forEach(function (entityID) {
-             var headIssues = _headCache.issuesByEntityID[entityID];
              var baseIssues = _baseCache.issuesByEntityID[entityID];
              if (!baseIssues) return;
              baseIssues.forEach(function (issueID) {
              var baseIssues = _baseCache.issuesByEntityID[entityID];
              if (!baseIssues) return;
              baseIssues.forEach(function (issueID) {
-               if (headIssues && headIssues.has(issueID)) {
+               // Check if the user did something to one of the entities involved in this issue.
+               // (This issue could involve multiple entities, e.g. disconnected routable features)
+               var issue = _baseCache.issuesByIssueID[issueID];
+               var userModified = (issue.entityIds || []).some(function (id) {
+                 return _completeDiff.hasOwnProperty(id);
+               });
+
+               if (userModified && !_headCache.issuesByIssueID[issueID]) {
+                 // issue seems fixed
+                 _resolvedIssueIDs.add(issueID);
+               } else {
                  // issue still not resolved
                  _resolvedIssueIDs["delete"](issueID); // (did undo, or possibly fixed and then re-caused the issue)
 
                  // issue still not resolved
                  _resolvedIssueIDs["delete"](issueID); // (did undo, or possibly fixed and then re-caused the issue)
 
-               } else {
-                 _resolvedIssueIDs.add(issueID);
                }
              });
            });
                }
              });
            });
          // Schedule validation for many entities.
          //
          // Arguments
          // Schedule validation for many entities.
          //
          // Arguments
-         //   `entityIDs` - Set containing entity IDs.
+         //   `entityIDs` - Array or Set containing entityIDs.
          //   `graph` - the graph to validate that contains those entities
          //   `cache` - the cache to store results in (_headCache or _baseCache)
          //
          //   `graph` - the graph to validate that contains those entities
          //   `cache` - the cache to store results in (_headCache or _baseCache)
          //
          //
 
 
          //
 
 
-         function validateEntitiesAsync(entityIDs, graph, cache) {
+         function validateEntitiesAsync(entityIDs, cache) {
            // Enqueue the work
            var jobs = Array.from(entityIDs).map(function (entityID) {
              if (cache.queuedEntityIDs.has(entityID)) return null; // queued already
 
            // Enqueue the work
            var jobs = Array.from(entityIDs).map(function (entityID) {
              if (cache.queuedEntityIDs.has(entityID)) return null; // queued already
 
-             cache.queuedEntityIDs.add(entityID);
+             cache.queuedEntityIDs.add(entityID); // Clear caches for existing issues related to this entity
+
+             cache.uncacheEntityID(entityID);
              return function () {
              return function () {
-               // clear caches for existing issues related to this entity
-               cache.uncacheEntityID(entityID);
-               cache.queuedEntityIDs["delete"](entityID); // detect new issues and update caches
+               cache.queuedEntityIDs["delete"](entityID);
+               var graph = cache.graph;
+               if (!graph) return; // was reset?
 
                var entity = graph.hasEntity(entityID); // Sanity check: don't validate deleted entities
 
 
                var entity = graph.hasEntity(entityID); // Sanity check: don't validate deleted entities
 
-               if (entity) {
-                 var result = validateEntity(entity, graph);
+               if (!entity) return; // detect new issues and update caches
 
 
-                 if (result.provisional) {
-                   // provisional result
-                   cache.provisionalEntityIDs.add(entityID); // we'll need to revalidate this entity again later
-                 }
+               var result = validateEntity(entity, graph);
 
 
-                 cache.cacheIssues(result.issues); // update cache
+               if (result.provisional) {
+                 // provisional result
+                 cache.provisionalEntityIDs.add(entityID); // we'll need to revalidate this entity again later
                }
                }
+
+               cache.cacheIssues(result.issues); // update cache
              };
            }).filter(Boolean); // Perform the work in chunks.
            // Because this will happen during idle callbacks, we want to choose a chunk size
              };
            }).filter(Boolean); // Perform the work in chunks.
            // Because this will happen during idle callbacks, we want to choose a chunk size
 
              if (!cache.provisionalEntityIDs.size) return; // nothing to do
 
 
              if (!cache.provisionalEntityIDs.size) return; // nothing to do
 
-             var graph = cache === _headCache ? _headGraph : context.history().base();
-             validateEntitiesAsync(cache.provisionalEntityIDs, graph, cache);
+             validateEntitiesAsync(Array.from(cache.provisionalEntityIDs), cache);
            }, RETRY);
 
            _deferredST.add(handle);
            }, RETRY);
 
            _deferredST.add(handle);
 
 
          function processQueue(cache) {
 
 
          function processQueue(cache) {
-           // const which = (cache === _headCache) ? 'head' : 'base';
-           // console.log(`${which} queue length ${cache.queue.length}`);
+           // console.log(`${cache.which} queue length ${cache.queue.length}`);
            if (!cache.queue.length) return Promise.resolve(); // we're done
 
            var chunk = cache.queue.pop();
            if (!cache.queue.length) return Promise.resolve(); // we're done
 
            var chunk = cache.queue.pop();
        //   `_baseCache` for validation on the base graph (unedited)
        //   `_headCache` for validation on the head graph (user edits applied)
        //
        //   `_baseCache` for validation on the base graph (unedited)
        //   `_headCache` for validation on the head graph (user edits applied)
        //
+       // Arguments
+       //   `which` - just a String 'base' or 'head' to keep track of it
+       //
 
 
-       function validationCache() {
+       function validationCache(which) {
          var cache = {
          var cache = {
+           which: which,
+           graph: null,
            queue: [],
            queuePromise: null,
            queuedEntityIDs: new Set(),
            provisionalEntityIDs: new Set(),
            issuesByIssueID: {},
            // issue.id -> issue
            queue: [],
            queuePromise: null,
            queuedEntityIDs: new Set(),
            provisionalEntityIDs: new Set(),
            issuesByIssueID: {},
            // issue.id -> issue
-           issuesByEntityID: {} // entity.id -> set(issue.id)
+           issuesByEntityID: {} // entity.id -> Set(issue.id)
 
          };
 
 
          };
 
-         cache.cacheIssues = function (issues) {
-           issues.forEach(function (issue) {
-             var entityIDs = issue.entityIds || [];
-             entityIDs.forEach(function (entityID) {
-               if (!cache.issuesByEntityID[entityID]) {
-                 cache.issuesByEntityID[entityID] = new Set();
-               }
+         cache.cacheIssue = function (issue) {
+           (issue.entityIds || []).forEach(function (entityID) {
+             if (!cache.issuesByEntityID[entityID]) {
+               cache.issuesByEntityID[entityID] = new Set();
+             }
 
 
-               cache.issuesByEntityID[entityID].add(issue.id);
-             });
-             cache.issuesByIssueID[issue.id] = issue;
+             cache.issuesByEntityID[entityID].add(issue.id);
            });
            });
+           cache.issuesByIssueID[issue.id] = issue;
          };
 
          cache.uncacheIssue = function (issue) {
          };
 
          cache.uncacheIssue = function (issue) {
-           // When multiple entities are involved (e.g. crossing_ways),
-           // remove this issue from the other entity caches too..
-           var entityIDs = issue.entityIds || [];
-           entityIDs.forEach(function (entityID) {
+           (issue.entityIds || []).forEach(function (entityID) {
              if (cache.issuesByEntityID[entityID]) {
                cache.issuesByEntityID[entityID]["delete"](issue.id);
              }
              if (cache.issuesByEntityID[entityID]) {
                cache.issuesByEntityID[entityID]["delete"](issue.id);
              }
            delete cache.issuesByIssueID[issue.id];
          };
 
            delete cache.issuesByIssueID[issue.id];
          };
 
+         cache.cacheIssues = function (issues) {
+           issues.forEach(cache.cacheIssue);
+         };
+
          cache.uncacheIssues = function (issues) {
            issues.forEach(cache.uncacheIssue);
          };
          cache.uncacheIssues = function (issues) {
            issues.forEach(cache.uncacheIssue);
          };
 
 
          cache.uncacheEntityID = function (entityID) {
 
 
          cache.uncacheEntityID = function (entityID) {
-           var issueIDs = cache.issuesByEntityID[entityID];
+           var entityIssueIDs = cache.issuesByEntityID[entityID];
 
 
-           if (issueIDs) {
-             issueIDs.forEach(function (issueID) {
+           if (entityIssueIDs) {
+             entityIssueIDs.forEach(function (issueID) {
                var issue = cache.issuesByIssueID[issueID];
 
                if (issue) {
                  cache.uncacheIssue(issue);
                } else {
                var issue = cache.issuesByIssueID[issueID];
 
                if (issue) {
                  cache.uncacheIssue(issue);
                } else {
+                 // shouldn't happen, clean up
                  delete cache.issuesByIssueID[issueID];
                }
              });
                  delete cache.issuesByIssueID[issueID];
                }
              });
 
            delete cache.issuesByEntityID[entityID];
            cache.provisionalEntityIDs["delete"](entityID);
 
            delete cache.issuesByEntityID[entityID];
            cache.provisionalEntityIDs["delete"](entityID);
+         }; // Return the expandeded set of entityIDs related to issues for the given entityIDs
+         //
+         // Arguments
+         //   `entityIDs` - Array or Set containing entityIDs.
+         //
+
+
+         cache.withAllRelatedEntities = function (entityIDs) {
+           var result = new Set();
+           (entityIDs || []).forEach(function (entityID) {
+             result.add(entityID); // include self
+
+             var entityIssueIDs = cache.issuesByEntityID[entityID];
+
+             if (entityIssueIDs) {
+               entityIssueIDs.forEach(function (issueID) {
+                 var issue = cache.issuesByIssueID[issueID];
+
+                 if (issue) {
+                   (issue.entityIds || []).forEach(function (relatedID) {
+                     return result.add(relatedID);
+                   });
+                 } else {
+                   // shouldn't happen, clean up
+                   delete cache.issuesByIssueID[issueID];
+                 }
+               });
+             }
+           });
+           return result;
          };
 
          return cache;
          };
 
          return cache;
          return uploader;
        }
 
          return uploader;
        }
 
+       var $$3 = _export;
+       var fails = fails$N;
+       var expm1 = mathExpm1;
+
        var abs = Math.abs;
        var exp = Math.exp;
        var E = Math.E;
        var abs = Math.abs;
        var exp = Math.exp;
        var E = Math.E;
        // `Math.sinh` method
        // https://tc39.es/ecma262/#sec-math.sinh
        // V8 near Chromium 38 has a problem with very small numbers
        // `Math.sinh` method
        // https://tc39.es/ecma262/#sec-math.sinh
        // V8 near Chromium 38 has a problem with very small numbers
-       _export({ target: 'Math', stat: true, forced: FORCED }, {
+       $$3({ target: 'Math', stat: true, forced: FORCED }, {
          sinh: function sinh(x) {
          sinh: function sinh(x) {
-           return abs(x = +x) < 1 ? (mathExpm1(x) - mathExpm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2);
+           return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2);
          }
        });
 
          }
        });
 
          // https://docs.microsoft.com/en-us/bingmaps/rest-services/imagery/get-imagery-metadata
          // https://docs.microsoft.com/en-us/bingmaps/rest-services/directly-accessing-the-bing-maps-tiles
          //fallback url template
          // https://docs.microsoft.com/en-us/bingmaps/rest-services/imagery/get-imagery-metadata
          // https://docs.microsoft.com/en-us/bingmaps/rest-services/directly-accessing-the-bing-maps-tiles
          //fallback url template
-         data.template = 'https://ecn.t{switch:0,1,2,3}.tiles.virtualearth.net/tiles/a{u}.jpeg?g=10555&n=z';
+         data.template = 'https://ecn.t{switch:0,1,2,3}.tiles.virtualearth.net/tiles/a{u}.jpeg?g=587&n=z';
          var bing = rendererBackgroundSource(data); //var key = 'Arzdiw4nlOJzRwOz__qailc8NiR31Tt51dN2D7cm57NrnceZnCpgOkmJhNpGoppU'; // P2, JOSM, etc
 
          var key = 'Ak5oTE46TUbjRp08OFVcGpkARErDobfpuyNKa-W2mQ8wbt1K1KL8p1bIRwWwcF-Q'; // iD
          var bing = rendererBackgroundSource(data); //var key = 'Arzdiw4nlOJzRwOz__qailc8NiR31Tt51dN2D7cm57NrnceZnCpgOkmJhNpGoppU'; // P2, JOSM, etc
 
          var key = 'Ak5oTE46TUbjRp08OFVcGpkARErDobfpuyNKa-W2mQ8wbt1K1KL8p1bIRwWwcF-Q'; // iD
 
              for (i = 0; i < node.length; i++) {
                if (i) out += ',';
 
              for (i = 0; i < node.length; i++) {
                if (i) out += ',';
-               out += stringify(node[i]) || 'null';
-             }
-
-             return out + ']';
-           }
-
-           if (node === null) return 'null';
-
-           if (seen.indexOf(node) !== -1) {
-             if (cycles) return JSON.stringify('__cycle__');
-             throw new TypeError('Converting circular structure to JSON');
-           }
-
-           var seenIndex = seen.push(node) - 1;
-           var keys = Object.keys(node).sort(cmp && cmp(node));
-           out = '';
-
-           for (i = 0; i < keys.length; i++) {
-             var key = keys[i];
-             var value = stringify(node[key]);
-             if (!value) continue;
-             if (out) out += ',';
-             out += JSON.stringify(key) + ':' + value;
-           }
-
-           seen.splice(seenIndex, 1);
-           return '{' + out + '}';
-         }(data);
-       };
-
-       //[4]           NameStartChar      ::=          ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
-       //[4a]          NameChar           ::=          NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
-       //[5]           Name       ::=          NameStartChar (NameChar)*
-       var nameStartChar = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; //\u10000-\uEFFFF
-
-       var nameChar = new RegExp("[\\-\\.0-9" + nameStartChar.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]");
-       var tagNamePattern = new RegExp('^' + nameStartChar.source + nameChar.source + '*(?:\:' + nameStartChar.source + nameChar.source + '*)?$'); //var tagNamePattern = /^[a-zA-Z_][\w\-\.]*(?:\:[a-zA-Z_][\w\-\.]*)?$/
-       //var handlers = 'resolveEntity,getExternalSubset,characters,endDocument,endElement,endPrefixMapping,ignorableWhitespace,processingInstruction,setDocumentLocator,skippedEntity,startDocument,startElement,startPrefixMapping,notationDecl,unparsedEntityDecl,error,fatalError,warning,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,comment,endCDATA,endDTD,endEntity,startCDATA,startDTD,startEntity'.split(',')
-       //S_TAG,        S_ATTR, S_EQ,   S_ATTR_NOQUOT_VALUE
-       //S_ATTR_SPACE, S_ATTR_END,     S_TAG_SPACE, S_TAG_CLOSE
-
-       var S_TAG = 0; //tag name offerring
-
-       var S_ATTR = 1; //attr name offerring 
-
-       var S_ATTR_SPACE = 2; //attr name end and space offer
-
-       var S_EQ = 3; //=space?
-
-       var S_ATTR_NOQUOT_VALUE = 4; //attr value(no quot value only)
-
-       var S_ATTR_END = 5; //attr value end and no space(quot end)
-
-       var S_TAG_SPACE = 6; //(attr value end || tag end ) && (space offer)
-
-       var S_TAG_CLOSE = 7; //closed el<el />
-
-       function XMLReader() {}
-
-       XMLReader.prototype = {
-         parse: function parse(source, defaultNSMap, entityMap) {
-           var domBuilder = this.domBuilder;
-           domBuilder.startDocument();
-
-           _copy(defaultNSMap, defaultNSMap = {});
-
-           _parse(source, defaultNSMap, entityMap, domBuilder, this.errorHandler);
-
-           domBuilder.endDocument();
-         }
-       };
-
-       function _parse(source, defaultNSMapCopy, entityMap, domBuilder, errorHandler) {
-         function fixedFromCharCode(code) {
-           // String.prototype.fromCharCode does not supports
-           // > 2 bytes unicode chars directly
-           if (code > 0xffff) {
-             code -= 0x10000;
-             var surrogate1 = 0xd800 + (code >> 10),
-                 surrogate2 = 0xdc00 + (code & 0x3ff);
-             return String.fromCharCode(surrogate1, surrogate2);
-           } else {
-             return String.fromCharCode(code);
-           }
-         }
-
-         function entityReplacer(a) {
-           var k = a.slice(1, -1);
-
-           if (k in entityMap) {
-             return entityMap[k];
-           } else if (k.charAt(0) === '#') {
-             return fixedFromCharCode(parseInt(k.substr(1).replace('x', '0x')));
-           } else {
-             errorHandler.error('entity not found:' + a);
-             return a;
-           }
-         }
-
-         function appendText(end) {
-           //has some bugs
-           if (end > start) {
-             var xt = source.substring(start, end).replace(/&#?\w+;/g, entityReplacer);
-             locator && position(start);
-             domBuilder.characters(xt, 0, end - start);
-             start = end;
-           }
-         }
-
-         function position(p, m) {
-           while (p >= lineEnd && (m = linePattern.exec(source))) {
-             lineStart = m.index;
-             lineEnd = lineStart + m[0].length;
-             locator.lineNumber++; //console.log('line++:',locator,startPos,endPos)
-           }
-
-           locator.columnNumber = p - lineStart + 1;
-         }
-
-         var lineStart = 0;
-         var lineEnd = 0;
-         var linePattern = /.*(?:\r\n?|\n)|.*$/g;
-         var locator = domBuilder.locator;
-         var parseStack = [{
-           currentNSMap: defaultNSMapCopy
-         }];
-         var closeMap = {};
-         var start = 0;
-
-         while (true) {
-           try {
-             var tagStart = source.indexOf('<', start);
-
-             if (tagStart < 0) {
-               if (!source.substr(start).match(/^\s*$/)) {
-                 var doc = domBuilder.doc;
-                 var text = doc.createTextNode(source.substr(start));
-                 doc.appendChild(text);
-                 domBuilder.currentElement = text;
-               }
-
-               return;
-             }
-
-             if (tagStart > start) {
-               appendText(tagStart);
-             }
-
-             switch (source.charAt(tagStart + 1)) {
-               case '/':
-                 var end = source.indexOf('>', tagStart + 3);
-                 var tagName = source.substring(tagStart + 2, end);
-                 var config = parseStack.pop();
-
-                 if (end < 0) {
-                   tagName = source.substring(tagStart + 2).replace(/[\s<].*/, ''); //console.error('#@@@@@@'+tagName)
-
-                   errorHandler.error("end tag name: " + tagName + ' is not complete:' + config.tagName);
-                   end = tagStart + 1 + tagName.length;
-                 } else if (tagName.match(/\s</)) {
-                   tagName = tagName.replace(/[\s<].*/, '');
-                   errorHandler.error("end tag name: " + tagName + ' maybe not complete');
-                   end = tagStart + 1 + tagName.length;
-                 } //console.error(parseStack.length,parseStack)
-                 //console.error(config);
-
-
-                 var localNSMap = config.localNSMap;
-                 var endMatch = config.tagName == tagName;
-                 var endIgnoreCaseMach = endMatch || config.tagName && config.tagName.toLowerCase() == tagName.toLowerCase();
-
-                 if (endIgnoreCaseMach) {
-                   domBuilder.endElement(config.uri, config.localName, tagName);
-
-                   if (localNSMap) {
-                     for (var prefix in localNSMap) {
-                       domBuilder.endPrefixMapping(prefix);
-                     }
-                   }
-
-                   if (!endMatch) {
-                     errorHandler.fatalError("end tag name: " + tagName + ' is not match the current start tagName:' + config.tagName);
-                   }
-                 } else {
-                   parseStack.push(config);
-                 }
-
-                 end++;
-                 break;
-               // end elment
-
-               case '?':
-                 // <?...?>
-                 locator && position(tagStart);
-                 end = parseInstruction(source, tagStart, domBuilder);
-                 break;
-
-               case '!':
-                 // <!doctype,<![CDATA,<!--
-                 locator && position(tagStart);
-                 end = parseDCC(source, tagStart, domBuilder, errorHandler);
-                 break;
-
-               default:
-                 locator && position(tagStart);
-                 var el = new ElementAttributes();
-                 var currentNSMap = parseStack[parseStack.length - 1].currentNSMap; //elStartEnd
-
-                 var end = parseElementStartPart(source, tagStart, el, currentNSMap, entityReplacer, errorHandler);
-                 var len = el.length;
-
-                 if (!el.closed && fixSelfClosed(source, end, el.tagName, closeMap)) {
-                   el.closed = true;
-
-                   if (!entityMap.nbsp) {
-                     errorHandler.warning('unclosed xml attribute');
-                   }
-                 }
-
-                 if (locator && len) {
-                   var locator2 = copyLocator(locator, {}); //try{//attribute position fixed
-
-                   for (var i = 0; i < len; i++) {
-                     var a = el[i];
-                     position(a.offset);
-                     a.locator = copyLocator(locator, {});
-                   } //}catch(e){console.error('@@@@@'+e)}
-
-
-                   domBuilder.locator = locator2;
-
-                   if (appendElement(el, domBuilder, currentNSMap)) {
-                     parseStack.push(el);
-                   }
-
-                   domBuilder.locator = locator;
-                 } else {
-                   if (appendElement(el, domBuilder, currentNSMap)) {
-                     parseStack.push(el);
-                   }
-                 }
-
-                 if (el.uri === 'http://www.w3.org/1999/xhtml' && !el.closed) {
-                   end = parseHtmlSpecialContent(source, end, el.tagName, entityReplacer, domBuilder);
-                 } else {
-                   end++;
-                 }
-
-             }
-           } catch (e) {
-             errorHandler.error('element parse error: ' + e); //errorHandler.error('element parse error: '+e);
-
-             end = -1; //throw e;
-           }
-
-           if (end > start) {
-             start = end;
-           } else {
-             //TODO: 这里有可能sax回退,有位置错误风险
-             appendText(Math.max(tagStart, start) + 1);
-           }
-         }
-       }
-
-       function copyLocator(f, t) {
-         t.lineNumber = f.lineNumber;
-         t.columnNumber = f.columnNumber;
-         return t;
-       }
-       /**
-        * @see #appendElement(source,elStartEnd,el,selfClosed,entityReplacer,domBuilder,parseStack);
-        * @return end of the elementStartPart(end of elementEndPart for selfClosed el)
-        */
-
-
-       function parseElementStartPart(source, start, el, currentNSMap, entityReplacer, errorHandler) {
-         var attrName;
-         var value;
-         var p = ++start;
-         var s = S_TAG; //status
-
-         while (true) {
-           var c = source.charAt(p);
-
-           switch (c) {
-             case '=':
-               if (s === S_ATTR) {
-                 //attrName
-                 attrName = source.slice(start, p);
-                 s = S_EQ;
-               } else if (s === S_ATTR_SPACE) {
-                 s = S_EQ;
-               } else {
-                 //fatalError: equal must after attrName or space after attrName
-                 throw new Error('attribute equal must after attrName');
-               }
-
-               break;
-
-             case '\'':
-             case '"':
-               if (s === S_EQ || s === S_ATTR //|| s == S_ATTR_SPACE
-               ) {
-                   //equal
-                   if (s === S_ATTR) {
-                     errorHandler.warning('attribute value must after "="');
-                     attrName = source.slice(start, p);
-                   }
-
-                   start = p + 1;
-                   p = source.indexOf(c, start);
-
-                   if (p > 0) {
-                     value = source.slice(start, p).replace(/&#?\w+;/g, entityReplacer);
-                     el.add(attrName, value, start - 1);
-                     s = S_ATTR_END;
-                   } else {
-                     //fatalError: no end quot match
-                     throw new Error('attribute value no end \'' + c + '\' match');
-                   }
-                 } else if (s == S_ATTR_NOQUOT_VALUE) {
-                 value = source.slice(start, p).replace(/&#?\w+;/g, entityReplacer); //console.log(attrName,value,start,p)
-
-                 el.add(attrName, value, start); //console.dir(el)
-
-                 errorHandler.warning('attribute "' + attrName + '" missed start quot(' + c + ')!!');
-                 start = p + 1;
-                 s = S_ATTR_END;
-               } else {
-                 //fatalError: no equal before
-                 throw new Error('attribute value must after "="');
-               }
-
-               break;
-
-             case '/':
-               switch (s) {
-                 case S_TAG:
-                   el.setTagName(source.slice(start, p));
-
-                 case S_ATTR_END:
-                 case S_TAG_SPACE:
-                 case S_TAG_CLOSE:
-                   s = S_TAG_CLOSE;
-                   el.closed = true;
-
-                 case S_ATTR_NOQUOT_VALUE:
-                 case S_ATTR:
-                 case S_ATTR_SPACE:
-                   break;
-                 //case S_EQ:
-
-                 default:
-                   throw new Error("attribute invalid close char('/')");
-               }
-
-               break;
-
-             case '':
-               //end document
-               //throw new Error('unexpected end of input')
-               errorHandler.error('unexpected end of input');
-
-               if (s == S_TAG) {
-                 el.setTagName(source.slice(start, p));
-               }
-
-               return p;
-
-             case '>':
-               switch (s) {
-                 case S_TAG:
-                   el.setTagName(source.slice(start, p));
-
-                 case S_ATTR_END:
-                 case S_TAG_SPACE:
-                 case S_TAG_CLOSE:
-                   break;
-                 //normal
-
-                 case S_ATTR_NOQUOT_VALUE: //Compatible state
-
-                 case S_ATTR:
-                   value = source.slice(start, p);
-
-                   if (value.slice(-1) === '/') {
-                     el.closed = true;
-                     value = value.slice(0, -1);
-                   }
-
-                 case S_ATTR_SPACE:
-                   if (s === S_ATTR_SPACE) {
-                     value = attrName;
-                   }
-
-                   if (s == S_ATTR_NOQUOT_VALUE) {
-                     errorHandler.warning('attribute "' + value + '" missed quot(")!!');
-                     el.add(attrName, value.replace(/&#?\w+;/g, entityReplacer), start);
-                   } else {
-                     if (currentNSMap[''] !== 'http://www.w3.org/1999/xhtml' || !value.match(/^(?:disabled|checked|selected)$/i)) {
-                       errorHandler.warning('attribute "' + value + '" missed value!! "' + value + '" instead!!');
-                     }
-
-                     el.add(value, value, start);
-                   }
-
-                   break;
-
-                 case S_EQ:
-                   throw new Error('attribute value missed!!');
-               } //                    console.log(tagName,tagNamePattern,tagNamePattern.test(tagName))
-
-
-               return p;
-
-             /*xml space '\x20' | #x9 | #xD | #xA; */
-
-             case "\x80":
-               c = ' ';
-
-             default:
-               if (c <= ' ') {
-                 //space
-                 switch (s) {
-                   case S_TAG:
-                     el.setTagName(source.slice(start, p)); //tagName
-
-                     s = S_TAG_SPACE;
-                     break;
-
-                   case S_ATTR:
-                     attrName = source.slice(start, p);
-                     s = S_ATTR_SPACE;
-                     break;
-
-                   case S_ATTR_NOQUOT_VALUE:
-                     var value = source.slice(start, p).replace(/&#?\w+;/g, entityReplacer);
-                     errorHandler.warning('attribute "' + value + '" missed quot(")!!');
-                     el.add(attrName, value, start);
-
-                   case S_ATTR_END:
-                     s = S_TAG_SPACE;
-                     break;
-                   //case S_TAG_SPACE:
-                   //case S_EQ:
-                   //case S_ATTR_SPACE:
-                   //  void();break;
-                   //case S_TAG_CLOSE:
-                   //ignore warning
-                 }
-               } else {
-                 //not space
-                 //S_TAG,      S_ATTR, S_EQ,   S_ATTR_NOQUOT_VALUE
-                 //S_ATTR_SPACE,       S_ATTR_END,     S_TAG_SPACE, S_TAG_CLOSE
-                 switch (s) {
-                   //case S_TAG:void();break;
-                   //case S_ATTR:void();break;
-                   //case S_ATTR_NOQUOT_VALUE:void();break;
-                   case S_ATTR_SPACE:
-                     el.tagName;
-
-                     if (currentNSMap[''] !== 'http://www.w3.org/1999/xhtml' || !attrName.match(/^(?:disabled|checked|selected)$/i)) {
-                       errorHandler.warning('attribute "' + attrName + '" missed value!! "' + attrName + '" instead2!!');
-                     }
-
-                     el.add(attrName, attrName, start);
-                     start = p;
-                     s = S_ATTR;
-                     break;
-
-                   case S_ATTR_END:
-                     errorHandler.warning('attribute space is required"' + attrName + '"!!');
-
-                   case S_TAG_SPACE:
-                     s = S_ATTR;
-                     start = p;
-                     break;
-
-                   case S_EQ:
-                     s = S_ATTR_NOQUOT_VALUE;
-                     start = p;
-                     break;
-
-                   case S_TAG_CLOSE:
-                     throw new Error("elements closed character '/' and '>' must be connected to");
-                 }
-               }
-
-           } //end outer switch
-           //console.log('p++',p)
-
-
-           p++;
-         }
-       }
-       /**
-        * @return true if has new namespace define
-        */
-
-
-       function appendElement(el, domBuilder, currentNSMap) {
-         var tagName = el.tagName;
-         var localNSMap = null; //var currentNSMap = parseStack[parseStack.length-1].currentNSMap;
-
-         var i = el.length;
-
-         while (i--) {
-           var a = el[i];
-           var qName = a.qName;
-           var value = a.value;
-           var nsp = qName.indexOf(':');
-
-           if (nsp > 0) {
-             var prefix = a.prefix = qName.slice(0, nsp);
-             var localName = qName.slice(nsp + 1);
-             var nsPrefix = prefix === 'xmlns' && localName;
-           } else {
-             localName = qName;
-             prefix = null;
-             nsPrefix = qName === 'xmlns' && '';
-           } //can not set prefix,because prefix !== ''
-
-
-           a.localName = localName; //prefix == null for no ns prefix attribute 
-
-           if (nsPrefix !== false) {
-             //hack!!
-             if (localNSMap == null) {
-               localNSMap = {}; //console.log(currentNSMap,0)
-
-               _copy(currentNSMap, currentNSMap = {}); //console.log(currentNSMap,1)
-
-             }
-
-             currentNSMap[nsPrefix] = localNSMap[nsPrefix] = value;
-             a.uri = 'http://www.w3.org/2000/xmlns/';
-             domBuilder.startPrefixMapping(nsPrefix, value);
-           }
-         }
-
-         var i = el.length;
-
-         while (i--) {
-           a = el[i];
-           var prefix = a.prefix;
-
-           if (prefix) {
-             //no prefix attribute has no namespace
-             if (prefix === 'xml') {
-               a.uri = 'http://www.w3.org/XML/1998/namespace';
-             }
-
-             if (prefix !== 'xmlns') {
-               a.uri = currentNSMap[prefix || '']; //{console.log('###'+a.qName,domBuilder.locator.systemId+'',currentNSMap,a.uri)}
-             }
-           }
-         }
-
-         var nsp = tagName.indexOf(':');
-
-         if (nsp > 0) {
-           prefix = el.prefix = tagName.slice(0, nsp);
-           localName = el.localName = tagName.slice(nsp + 1);
-         } else {
-           prefix = null; //important!!
-
-           localName = el.localName = tagName;
-         } //no prefix element has default namespace
-
-
-         var ns = el.uri = currentNSMap[prefix || ''];
-         domBuilder.startElement(ns, localName, tagName, el); //endPrefixMapping and startPrefixMapping have not any help for dom builder
-         //localNSMap = null
-
-         if (el.closed) {
-           domBuilder.endElement(ns, localName, tagName);
-
-           if (localNSMap) {
-             for (prefix in localNSMap) {
-               domBuilder.endPrefixMapping(prefix);
-             }
-           }
-         } else {
-           el.currentNSMap = currentNSMap;
-           el.localNSMap = localNSMap; //parseStack.push(el);
-
-           return true;
-         }
-       }
-
-       function parseHtmlSpecialContent(source, elStartEnd, tagName, entityReplacer, domBuilder) {
-         if (/^(?:script|textarea)$/i.test(tagName)) {
-           var elEndStart = source.indexOf('</' + tagName + '>', elStartEnd);
-           var text = source.substring(elStartEnd + 1, elEndStart);
-
-           if (/[&<]/.test(text)) {
-             if (/^script$/i.test(tagName)) {
-               //if(!/\]\]>/.test(text)){
-               //lexHandler.startCDATA();
-               domBuilder.characters(text, 0, text.length); //lexHandler.endCDATA();
-
-               return elEndStart; //}
-             } //}else{//text area
-
-
-             text = text.replace(/&#?\w+;/g, entityReplacer);
-             domBuilder.characters(text, 0, text.length);
-             return elEndStart; //}
-           }
-         }
-
-         return elStartEnd + 1;
-       }
-
-       function fixSelfClosed(source, elStartEnd, tagName, closeMap) {
-         //if(tagName in closeMap){
-         var pos = closeMap[tagName];
-
-         if (pos == null) {
-           //console.log(tagName)
-           pos = source.lastIndexOf('</' + tagName + '>');
-
-           if (pos < elStartEnd) {
-             //忘记闭合
-             pos = source.lastIndexOf('</' + tagName);
-           }
-
-           closeMap[tagName] = pos;
-         }
-
-         return pos < elStartEnd; //} 
-       }
-
-       function _copy(source, target) {
-         for (var n in source) {
-           target[n] = source[n];
-         }
-       }
-
-       function parseDCC(source, start, domBuilder, errorHandler) {
-         //sure start with '<!'
-         var next = source.charAt(start + 2);
-
-         switch (next) {
-           case '-':
-             if (source.charAt(start + 3) === '-') {
-               var end = source.indexOf('-->', start + 4); //append comment source.substring(4,end)//<!--
-
-               if (end > start) {
-                 domBuilder.comment(source, start + 4, end - start - 4);
-                 return end + 3;
-               } else {
-                 errorHandler.error("Unclosed comment");
-                 return -1;
-               }
-             } else {
-               //error
-               return -1;
-             }
-
-           default:
-             if (source.substr(start + 3, 6) == 'CDATA[') {
-               var end = source.indexOf(']]>', start + 9);
-               domBuilder.startCDATA();
-               domBuilder.characters(source, start + 9, end - start - 9);
-               domBuilder.endCDATA();
-               return end + 3;
-             } //<!DOCTYPE
-             //startDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId) 
-
-
-             var matchs = split(source, start);
-             var len = matchs.length;
-
-             if (len > 1 && /!doctype/i.test(matchs[0][0])) {
-               var name = matchs[1][0];
-               var pubid = len > 3 && /^public$/i.test(matchs[2][0]) && matchs[3][0];
-               var sysid = len > 4 && matchs[4][0];
-               var lastMatch = matchs[len - 1];
-               domBuilder.startDTD(name, pubid && pubid.replace(/^(['"])(.*?)\1$/, '$2'), sysid && sysid.replace(/^(['"])(.*?)\1$/, '$2'));
-               domBuilder.endDTD();
-               return lastMatch.index + lastMatch[0].length;
-             }
-
-         }
-
-         return -1;
-       }
-
-       function parseInstruction(source, start, domBuilder) {
-         var end = source.indexOf('?>', start);
-
-         if (end) {
-           var match = source.substring(start, end).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);
-
-           if (match) {
-             match[0].length;
-             domBuilder.processingInstruction(match[1], match[2]);
-             return end + 2;
-           } else {
-             //error
-             return -1;
-           }
-         }
-
-         return -1;
-       }
-       /**
-        * @param source
-        */
-
-
-       function ElementAttributes(source) {}
-
-       ElementAttributes.prototype = {
-         setTagName: function setTagName(tagName) {
-           if (!tagNamePattern.test(tagName)) {
-             throw new Error('invalid tagName:' + tagName);
-           }
-
-           this.tagName = tagName;
-         },
-         add: function add(qName, value, offset) {
-           if (!tagNamePattern.test(qName)) {
-             throw new Error('invalid attribute:' + qName);
-           }
-
-           this[this.length++] = {
-             qName: qName,
-             value: value,
-             offset: offset
-           };
-         },
-         length: 0,
-         getLocalName: function getLocalName(i) {
-           return this[i].localName;
-         },
-         getLocator: function getLocator(i) {
-           return this[i].locator;
-         },
-         getQName: function getQName(i) {
-           return this[i].qName;
-         },
-         getURI: function getURI(i) {
-           return this[i].uri;
-         },
-         getValue: function getValue(i) {
-           return this[i].value;
-         } //  ,getIndex:function(uri, localName)){
-         //            if(localName){
-         //                    
-         //            }else{
-         //                    var qName = uri
-         //            }
-         //    },
-         //    getValue:function(){return this.getValue(this.getIndex.apply(this,arguments))},
-         //    getType:function(uri,localName){}
-         //    getType:function(i){},
-
-       };
-
-       function _set_proto_(thiz, parent) {
-         thiz.__proto__ = parent;
-         return thiz;
-       }
-
-       if (!(_set_proto_({}, _set_proto_.prototype) instanceof _set_proto_)) {
-         _set_proto_ = function _set_proto_(thiz, parent) {
-           function p() {}
-           p.prototype = parent;
-           p = new p();
-
-           for (parent in thiz) {
-             p[parent] = thiz[parent];
-           }
-
-           return p;
-         };
-       }
-
-       function split(source, start) {
-         var match;
-         var buf = [];
-         var reg = /'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;
-         reg.lastIndex = start;
-         reg.exec(source); //skip <
-
-         while (match = reg.exec(source)) {
-           buf.push(match);
-           if (match[1]) return buf;
-         }
-       }
-
-       var XMLReader_1 = XMLReader;
-       var sax = {
-         XMLReader: XMLReader_1
-       };
-
-       /*
-        * DOM Level 2
-        * Object DOMException
-        * @see http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html
-        * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
-        */
-       function copy(src, dest) {
-         for (var p in src) {
-           dest[p] = src[p];
-         }
-       }
-       /**
-       ^\w+\.prototype\.([_\w]+)\s*=\s*((?:.*\{\s*?[\r\n][\s\S]*?^})|\S.*?(?=[;\r\n]));?
-       ^\w+\.prototype\.([_\w]+)\s*=\s*(\S.*?(?=[;\r\n]));?
-        */
-
-
-       function _extends(Class, Super) {
-         var pt = Class.prototype;
-
-         if (Object.create) {
-           var ppt = Object.create(Super.prototype);
-           pt.__proto__ = ppt;
-         }
-
-         if (!(pt instanceof Super)) {
-           var t = function t() {};
-           t.prototype = Super.prototype;
-           t = new t();
-           copy(pt, t);
-           Class.prototype = pt = t;
-         }
-
-         if (pt.constructor != Class) {
-           if (typeof Class != 'function') {
-             console.error("unknow Class:" + Class);
-           }
-
-           pt.constructor = Class;
-         }
-       }
-
-       var htmlns = 'http://www.w3.org/1999/xhtml'; // Node Types
-
-       var NodeType = {};
-       var ELEMENT_NODE = NodeType.ELEMENT_NODE = 1;
-       var ATTRIBUTE_NODE = NodeType.ATTRIBUTE_NODE = 2;
-       var TEXT_NODE = NodeType.TEXT_NODE = 3;
-       var CDATA_SECTION_NODE = NodeType.CDATA_SECTION_NODE = 4;
-       var ENTITY_REFERENCE_NODE = NodeType.ENTITY_REFERENCE_NODE = 5;
-       var ENTITY_NODE = NodeType.ENTITY_NODE = 6;
-       var PROCESSING_INSTRUCTION_NODE = NodeType.PROCESSING_INSTRUCTION_NODE = 7;
-       var COMMENT_NODE = NodeType.COMMENT_NODE = 8;
-       var DOCUMENT_NODE = NodeType.DOCUMENT_NODE = 9;
-       var DOCUMENT_TYPE_NODE = NodeType.DOCUMENT_TYPE_NODE = 10;
-       var DOCUMENT_FRAGMENT_NODE = NodeType.DOCUMENT_FRAGMENT_NODE = 11;
-       var NOTATION_NODE = NodeType.NOTATION_NODE = 12; // ExceptionCode
-
-       var ExceptionCode = {};
-       var ExceptionMessage = {};
-       ExceptionCode.INDEX_SIZE_ERR = (ExceptionMessage[1] = "Index size error", 1);
-       ExceptionCode.DOMSTRING_SIZE_ERR = (ExceptionMessage[2] = "DOMString size error", 2);
-       var HIERARCHY_REQUEST_ERR = ExceptionCode.HIERARCHY_REQUEST_ERR = (ExceptionMessage[3] = "Hierarchy request error", 3);
-       ExceptionCode.WRONG_DOCUMENT_ERR = (ExceptionMessage[4] = "Wrong document", 4);
-       ExceptionCode.INVALID_CHARACTER_ERR = (ExceptionMessage[5] = "Invalid character", 5);
-       ExceptionCode.NO_DATA_ALLOWED_ERR = (ExceptionMessage[6] = "No data allowed", 6);
-       ExceptionCode.NO_MODIFICATION_ALLOWED_ERR = (ExceptionMessage[7] = "No modification allowed", 7);
-       var NOT_FOUND_ERR = ExceptionCode.NOT_FOUND_ERR = (ExceptionMessage[8] = "Not found", 8);
-       ExceptionCode.NOT_SUPPORTED_ERR = (ExceptionMessage[9] = "Not supported", 9);
-       var INUSE_ATTRIBUTE_ERR = ExceptionCode.INUSE_ATTRIBUTE_ERR = (ExceptionMessage[10] = "Attribute in use", 10); //level2
-
-       ExceptionCode.INVALID_STATE_ERR = (ExceptionMessage[11] = "Invalid state", 11);
-       ExceptionCode.SYNTAX_ERR = (ExceptionMessage[12] = "Syntax error", 12);
-       ExceptionCode.INVALID_MODIFICATION_ERR = (ExceptionMessage[13] = "Invalid modification", 13);
-       ExceptionCode.NAMESPACE_ERR = (ExceptionMessage[14] = "Invalid namespace", 14);
-       ExceptionCode.INVALID_ACCESS_ERR = (ExceptionMessage[15] = "Invalid access", 15);
-
-       function DOMException$1(code, message) {
-         if (message instanceof Error) {
-           var error = message;
-         } else {
-           error = this;
-           Error.call(this, ExceptionMessage[code]);
-           this.message = ExceptionMessage[code];
-           if (Error.captureStackTrace) Error.captureStackTrace(this, DOMException$1);
-         }
-
-         error.code = code;
-         if (message) this.message = this.message + ": " + message;
-         return error;
-       }
-       DOMException$1.prototype = Error.prototype;
-       copy(ExceptionCode, DOMException$1);
-       /**
-        * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-536297177
-        * The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. NodeList objects in the DOM are live.
-        * The items in the NodeList are accessible via an integral index, starting from 0.
-        */
-
-       function NodeList() {}
-       NodeList.prototype = {
-         /**
-          * The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.
-          * @standard level1
-          */
-         length: 0,
-
-         /**
-          * Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
-          * @standard level1
-          * @param index  unsigned long 
-          *   Index into the collection.
-          * @return Node
-          *    The node at the indexth position in the NodeList, or null if that is not a valid index. 
-          */
-         item: function item(index) {
-           return this[index] || null;
-         },
-         toString: function toString(isHTML, nodeFilter) {
-           for (var buf = [], i = 0; i < this.length; i++) {
-             serializeToString(this[i], buf, isHTML, nodeFilter);
-           }
-
-           return buf.join('');
-         }
-       };
-
-       function LiveNodeList(node, refresh) {
-         this._node = node;
-         this._refresh = refresh;
-
-         _updateLiveList(this);
-       }
-
-       function _updateLiveList(list) {
-         var inc = list._node._inc || list._node.ownerDocument._inc;
-
-         if (list._inc != inc) {
-           var ls = list._refresh(list._node); //console.log(ls.length)
-
-
-           __set__(list, 'length', ls.length);
-
-           copy(ls, list);
-           list._inc = inc;
-         }
-       }
-
-       LiveNodeList.prototype.item = function (i) {
-         _updateLiveList(this);
-
-         return this[i];
-       };
-
-       _extends(LiveNodeList, NodeList);
-       /**
-        * 
-        * Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can be accessed by name. Note that NamedNodeMap does not inherit from NodeList; NamedNodeMaps are not maintained in any particular order. Objects contained in an object implementing NamedNodeMap may also be accessed by an ordinal index, but this is simply to allow convenient enumeration of the contents of a NamedNodeMap, and does not imply that the DOM specifies an order to these Nodes.
-        * NamedNodeMap objects in the DOM are live.
-        * used for attributes or DocumentType entities 
-        */
-
-
-       function NamedNodeMap() {}
-
-       function _findNodeIndex(list, node) {
-         var i = list.length;
-
-         while (i--) {
-           if (list[i] === node) {
-             return i;
-           }
-         }
-       }
-
-       function _addNamedNode(el, list, newAttr, oldAttr) {
-         if (oldAttr) {
-           list[_findNodeIndex(list, oldAttr)] = newAttr;
-         } else {
-           list[list.length++] = newAttr;
-         }
-
-         if (el) {
-           newAttr.ownerElement = el;
-           var doc = el.ownerDocument;
-
-           if (doc) {
-             oldAttr && _onRemoveAttribute(doc, el, oldAttr);
-
-             _onAddAttribute(doc, el, newAttr);
-           }
-         }
-       }
-
-       function _removeNamedNode(el, list, attr) {
-         //console.log('remove attr:'+attr)
-         var i = _findNodeIndex(list, attr);
-
-         if (i >= 0) {
-           var lastIndex = list.length - 1;
-
-           while (i < lastIndex) {
-             list[i] = list[++i];
-           }
-
-           list.length = lastIndex;
-
-           if (el) {
-             var doc = el.ownerDocument;
-
-             if (doc) {
-               _onRemoveAttribute(doc, el, attr);
-
-               attr.ownerElement = null;
-             }
-           }
-         } else {
-           throw DOMException$1(NOT_FOUND_ERR, new Error(el.tagName + '@' + attr));
-         }
-       }
-
-       NamedNodeMap.prototype = {
-         length: 0,
-         item: NodeList.prototype.item,
-         getNamedItem: function getNamedItem(key) {
-           //          if(key.indexOf(':')>0 || key == 'xmlns'){
-           //                  return null;
-           //          }
-           //console.log()
-           var i = this.length;
-
-           while (i--) {
-             var attr = this[i]; //console.log(attr.nodeName,key)
-
-             if (attr.nodeName == key) {
-               return attr;
-             }
-           }
-         },
-         setNamedItem: function setNamedItem(attr) {
-           var el = attr.ownerElement;
-
-           if (el && el != this._ownerElement) {
-             throw new DOMException$1(INUSE_ATTRIBUTE_ERR);
-           }
-
-           var oldAttr = this.getNamedItem(attr.nodeName);
-
-           _addNamedNode(this._ownerElement, this, attr, oldAttr);
-
-           return oldAttr;
-         },
-
-         /* returns Node */
-         setNamedItemNS: function setNamedItemNS(attr) {
-           // raises: WRONG_DOCUMENT_ERR,NO_MODIFICATION_ALLOWED_ERR,INUSE_ATTRIBUTE_ERR
-           var el = attr.ownerElement,
-               oldAttr;
-
-           if (el && el != this._ownerElement) {
-             throw new DOMException$1(INUSE_ATTRIBUTE_ERR);
-           }
-
-           oldAttr = this.getNamedItemNS(attr.namespaceURI, attr.localName);
-
-           _addNamedNode(this._ownerElement, this, attr, oldAttr);
-
-           return oldAttr;
-         },
-
-         /* returns Node */
-         removeNamedItem: function removeNamedItem(key) {
-           var attr = this.getNamedItem(key);
-
-           _removeNamedNode(this._ownerElement, this, attr);
-
-           return attr;
-         },
-         // raises: NOT_FOUND_ERR,NO_MODIFICATION_ALLOWED_ERR
-         //for level2
-         removeNamedItemNS: function removeNamedItemNS(namespaceURI, localName) {
-           var attr = this.getNamedItemNS(namespaceURI, localName);
-
-           _removeNamedNode(this._ownerElement, this, attr);
-
-           return attr;
-         },
-         getNamedItemNS: function getNamedItemNS(namespaceURI, localName) {
-           var i = this.length;
-
-           while (i--) {
-             var node = this[i];
-
-             if (node.localName == localName && node.namespaceURI == namespaceURI) {
-               return node;
-             }
-           }
-
-           return null;
-         }
-       };
-       /**
-        * @see http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-102161490
-        */
-
-       function DOMImplementation(
-       /* Object */
-       features) {
-         this._features = {};
-
-         if (features) {
-           for (var feature in features) {
-             this._features = features[feature];
-           }
-         }
-       }
-       DOMImplementation.prototype = {
-         hasFeature: function hasFeature(
-         /* string */
-         feature,
-         /* string */
-         version) {
-           var versions = this._features[feature.toLowerCase()];
-
-           if (versions && (!version || version in versions)) {
-             return true;
-           } else {
-             return false;
-           }
-         },
-         // Introduced in DOM Level 2:
-         createDocument: function createDocument(namespaceURI, qualifiedName, doctype) {
-           // raises:INVALID_CHARACTER_ERR,NAMESPACE_ERR,WRONG_DOCUMENT_ERR
-           var doc = new Document();
-           doc.implementation = this;
-           doc.childNodes = new NodeList();
-           doc.doctype = doctype;
-
-           if (doctype) {
-             doc.appendChild(doctype);
-           }
-
-           if (qualifiedName) {
-             var root = doc.createElementNS(namespaceURI, qualifiedName);
-             doc.appendChild(root);
-           }
-
-           return doc;
-         },
-         // Introduced in DOM Level 2:
-         createDocumentType: function createDocumentType(qualifiedName, publicId, systemId) {
-           // raises:INVALID_CHARACTER_ERR,NAMESPACE_ERR
-           var node = new DocumentType();
-           node.name = qualifiedName;
-           node.nodeName = qualifiedName;
-           node.publicId = publicId;
-           node.systemId = systemId; // Introduced in DOM Level 2:
-           //readonly attribute DOMString        internalSubset;
-           //TODO:..
-           //  readonly attribute NamedNodeMap     entities;
-           //  readonly attribute NamedNodeMap     notations;
-
-           return node;
-         }
-       };
-       /**
-        * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1950641247
-        */
-
-       function Node() {}
-       Node.prototype = {
-         firstChild: null,
-         lastChild: null,
-         previousSibling: null,
-         nextSibling: null,
-         attributes: null,
-         parentNode: null,
-         childNodes: null,
-         ownerDocument: null,
-         nodeValue: null,
-         namespaceURI: null,
-         prefix: null,
-         localName: null,
-         // Modified in DOM Level 2:
-         insertBefore: function insertBefore(newChild, refChild) {
-           //raises 
-           return _insertBefore(this, newChild, refChild);
-         },
-         replaceChild: function replaceChild(newChild, oldChild) {
-           //raises 
-           this.insertBefore(newChild, oldChild);
-
-           if (oldChild) {
-             this.removeChild(oldChild);
-           }
-         },
-         removeChild: function removeChild(oldChild) {
-           return _removeChild(this, oldChild);
-         },
-         appendChild: function appendChild(newChild) {
-           return this.insertBefore(newChild, null);
-         },
-         hasChildNodes: function hasChildNodes() {
-           return this.firstChild != null;
-         },
-         cloneNode: function cloneNode(deep) {
-           return _cloneNode(this.ownerDocument || this, this, deep);
-         },
-         // Modified in DOM Level 2:
-         normalize: function normalize() {
-           var child = this.firstChild;
-
-           while (child) {
-             var next = child.nextSibling;
-
-             if (next && next.nodeType == TEXT_NODE && child.nodeType == TEXT_NODE) {
-               this.removeChild(next);
-               child.appendData(next.data);
-             } else {
-               child.normalize();
-               child = next;
-             }
-           }
-         },
-         // Introduced in DOM Level 2:
-         isSupported: function isSupported(feature, version) {
-           return this.ownerDocument.implementation.hasFeature(feature, version);
-         },
-         // Introduced in DOM Level 2:
-         hasAttributes: function hasAttributes() {
-           return this.attributes.length > 0;
-         },
-         lookupPrefix: function lookupPrefix(namespaceURI) {
-           var el = this;
-
-           while (el) {
-             var map = el._nsMap; //console.dir(map)
-
-             if (map) {
-               for (var n in map) {
-                 if (map[n] == namespaceURI) {
-                   return n;
-                 }
-               }
-             }
-
-             el = el.nodeType == ATTRIBUTE_NODE ? el.ownerDocument : el.parentNode;
-           }
-
-           return null;
-         },
-         // Introduced in DOM Level 3:
-         lookupNamespaceURI: function lookupNamespaceURI(prefix) {
-           var el = this;
-
-           while (el) {
-             var map = el._nsMap; //console.dir(map)
-
-             if (map) {
-               if (prefix in map) {
-                 return map[prefix];
-               }
-             }
-
-             el = el.nodeType == ATTRIBUTE_NODE ? el.ownerDocument : el.parentNode;
-           }
-
-           return null;
-         },
-         // Introduced in DOM Level 3:
-         isDefaultNamespace: function isDefaultNamespace(namespaceURI) {
-           var prefix = this.lookupPrefix(namespaceURI);
-           return prefix == null;
-         }
-       };
-
-       function _xmlEncoder(c) {
-         return c == '<' && '&lt;' || c == '>' && '&gt;' || c == '&' && '&amp;' || c == '"' && '&quot;' || '&#' + c.charCodeAt() + ';';
-       }
-
-       copy(NodeType, Node);
-       copy(NodeType, Node.prototype);
-       /**
-        * @param callback return true for continue,false for break
-        * @return boolean true: break visit;
-        */
-
-       function _visitNode(node, callback) {
-         if (callback(node)) {
-           return true;
-         }
-
-         if (node = node.firstChild) {
-           do {
-             if (_visitNode(node, callback)) {
-               return true;
-             }
-           } while (node = node.nextSibling);
-         }
-       }
-
-       function Document() {}
-
-       function _onAddAttribute(doc, el, newAttr) {
-         doc && doc._inc++;
-         var ns = newAttr.namespaceURI;
-
-         if (ns == 'http://www.w3.org/2000/xmlns/') {
-           //update namespace
-           el._nsMap[newAttr.prefix ? newAttr.localName : ''] = newAttr.value;
-         }
-       }
-
-       function _onRemoveAttribute(doc, el, newAttr, remove) {
-         doc && doc._inc++;
-         var ns = newAttr.namespaceURI;
-
-         if (ns == 'http://www.w3.org/2000/xmlns/') {
-           //update namespace
-           delete el._nsMap[newAttr.prefix ? newAttr.localName : ''];
-         }
-       }
-
-       function _onUpdateChild(doc, el, newChild) {
-         if (doc && doc._inc) {
-           doc._inc++; //update childNodes
-
-           var cs = el.childNodes;
-
-           if (newChild) {
-             cs[cs.length++] = newChild;
-           } else {
-             //console.log(1)
-             var child = el.firstChild;
-             var i = 0;
-
-             while (child) {
-               cs[i++] = child;
-               child = child.nextSibling;
-             }
-
-             cs.length = i;
-           }
-         }
-       }
-       /**
-        * attributes;
-        * children;
-        * 
-        * writeable properties:
-        * nodeValue,Attr:value,CharacterData:data
-        * prefix
-        */
-
-
-       function _removeChild(parentNode, child) {
-         var previous = child.previousSibling;
-         var next = child.nextSibling;
-
-         if (previous) {
-           previous.nextSibling = next;
-         } else {
-           parentNode.firstChild = next;
-         }
-
-         if (next) {
-           next.previousSibling = previous;
-         } else {
-           parentNode.lastChild = previous;
-         }
-
-         _onUpdateChild(parentNode.ownerDocument, parentNode);
-
-         return child;
-       }
-       /**
-        * preformance key(refChild == null)
-        */
-
-
-       function _insertBefore(parentNode, newChild, nextChild) {
-         var cp = newChild.parentNode;
-
-         if (cp) {
-           cp.removeChild(newChild); //remove and update
-         }
-
-         if (newChild.nodeType === DOCUMENT_FRAGMENT_NODE) {
-           var newFirst = newChild.firstChild;
-
-           if (newFirst == null) {
-             return newChild;
-           }
-
-           var newLast = newChild.lastChild;
-         } else {
-           newFirst = newLast = newChild;
-         }
-
-         var pre = nextChild ? nextChild.previousSibling : parentNode.lastChild;
-         newFirst.previousSibling = pre;
-         newLast.nextSibling = nextChild;
-
-         if (pre) {
-           pre.nextSibling = newFirst;
-         } else {
-           parentNode.firstChild = newFirst;
-         }
-
-         if (nextChild == null) {
-           parentNode.lastChild = newLast;
-         } else {
-           nextChild.previousSibling = newLast;
-         }
-
-         do {
-           newFirst.parentNode = parentNode;
-         } while (newFirst !== newLast && (newFirst = newFirst.nextSibling));
-
-         _onUpdateChild(parentNode.ownerDocument || parentNode, parentNode); //console.log(parentNode.lastChild.nextSibling == null)
-
-
-         if (newChild.nodeType == DOCUMENT_FRAGMENT_NODE) {
-           newChild.firstChild = newChild.lastChild = null;
-         }
-
-         return newChild;
-       }
-
-       function _appendSingleChild(parentNode, newChild) {
-         var cp = newChild.parentNode;
-
-         if (cp) {
-           var pre = parentNode.lastChild;
-           cp.removeChild(newChild); //remove and update
-
-           var pre = parentNode.lastChild;
-         }
-
-         var pre = parentNode.lastChild;
-         newChild.parentNode = parentNode;
-         newChild.previousSibling = pre;
-         newChild.nextSibling = null;
-
-         if (pre) {
-           pre.nextSibling = newChild;
-         } else {
-           parentNode.firstChild = newChild;
-         }
-
-         parentNode.lastChild = newChild;
-
-         _onUpdateChild(parentNode.ownerDocument, parentNode, newChild);
-
-         return newChild; //console.log("__aa",parentNode.lastChild.nextSibling == null)
-       }
-
-       Document.prototype = {
-         //implementation : null,
-         nodeName: '#document',
-         nodeType: DOCUMENT_NODE,
-         doctype: null,
-         documentElement: null,
-         _inc: 1,
-         insertBefore: function insertBefore(newChild, refChild) {
-           //raises 
-           if (newChild.nodeType == DOCUMENT_FRAGMENT_NODE) {
-             var child = newChild.firstChild;
-
-             while (child) {
-               var next = child.nextSibling;
-               this.insertBefore(child, refChild);
-               child = next;
-             }
-
-             return newChild;
-           }
-
-           if (this.documentElement == null && newChild.nodeType == ELEMENT_NODE) {
-             this.documentElement = newChild;
-           }
-
-           return _insertBefore(this, newChild, refChild), newChild.ownerDocument = this, newChild;
-         },
-         removeChild: function removeChild(oldChild) {
-           if (this.documentElement == oldChild) {
-             this.documentElement = null;
-           }
-
-           return _removeChild(this, oldChild);
-         },
-         // Introduced in DOM Level 2:
-         importNode: function importNode(importedNode, deep) {
-           return _importNode(this, importedNode, deep);
-         },
-         // Introduced in DOM Level 2:
-         getElementById: function getElementById(id) {
-           var rtv = null;
-
-           _visitNode(this.documentElement, function (node) {
-             if (node.nodeType == ELEMENT_NODE) {
-               if (node.getAttribute('id') == id) {
-                 rtv = node;
-                 return true;
-               }
-             }
-           });
-
-           return rtv;
-         },
-         //document factory method:
-         createElement: function createElement(tagName) {
-           var node = new Element();
-           node.ownerDocument = this;
-           node.nodeName = tagName;
-           node.tagName = tagName;
-           node.childNodes = new NodeList();
-           var attrs = node.attributes = new NamedNodeMap();
-           attrs._ownerElement = node;
-           return node;
-         },
-         createDocumentFragment: function createDocumentFragment() {
-           var node = new DocumentFragment();
-           node.ownerDocument = this;
-           node.childNodes = new NodeList();
-           return node;
-         },
-         createTextNode: function createTextNode(data) {
-           var node = new Text();
-           node.ownerDocument = this;
-           node.appendData(data);
-           return node;
-         },
-         createComment: function createComment(data) {
-           var node = new Comment();
-           node.ownerDocument = this;
-           node.appendData(data);
-           return node;
-         },
-         createCDATASection: function createCDATASection(data) {
-           var node = new CDATASection();
-           node.ownerDocument = this;
-           node.appendData(data);
-           return node;
-         },
-         createProcessingInstruction: function createProcessingInstruction(target, data) {
-           var node = new ProcessingInstruction();
-           node.ownerDocument = this;
-           node.tagName = node.target = target;
-           node.nodeValue = node.data = data;
-           return node;
-         },
-         createAttribute: function createAttribute(name) {
-           var node = new Attr();
-           node.ownerDocument = this;
-           node.name = name;
-           node.nodeName = name;
-           node.localName = name;
-           node.specified = true;
-           return node;
-         },
-         createEntityReference: function createEntityReference(name) {
-           var node = new EntityReference();
-           node.ownerDocument = this;
-           node.nodeName = name;
-           return node;
-         },
-         // Introduced in DOM Level 2:
-         createElementNS: function createElementNS(namespaceURI, qualifiedName) {
-           var node = new Element();
-           var pl = qualifiedName.split(':');
-           var attrs = node.attributes = new NamedNodeMap();
-           node.childNodes = new NodeList();
-           node.ownerDocument = this;
-           node.nodeName = qualifiedName;
-           node.tagName = qualifiedName;
-           node.namespaceURI = namespaceURI;
-
-           if (pl.length == 2) {
-             node.prefix = pl[0];
-             node.localName = pl[1];
-           } else {
-             //el.prefix = null;
-             node.localName = qualifiedName;
-           }
-
-           attrs._ownerElement = node;
-           return node;
-         },
-         // Introduced in DOM Level 2:
-         createAttributeNS: function createAttributeNS(namespaceURI, qualifiedName) {
-           var node = new Attr();
-           var pl = qualifiedName.split(':');
-           node.ownerDocument = this;
-           node.nodeName = qualifiedName;
-           node.name = qualifiedName;
-           node.namespaceURI = namespaceURI;
-           node.specified = true;
-
-           if (pl.length == 2) {
-             node.prefix = pl[0];
-             node.localName = pl[1];
-           } else {
-             //el.prefix = null;
-             node.localName = qualifiedName;
-           }
-
-           return node;
-         }
-       };
-
-       _extends(Document, Node);
-
-       function Element() {
-         this._nsMap = {};
-       }
-       Element.prototype = {
-         nodeType: ELEMENT_NODE,
-         hasAttribute: function hasAttribute(name) {
-           return this.getAttributeNode(name) != null;
-         },
-         getAttribute: function getAttribute(name) {
-           var attr = this.getAttributeNode(name);
-           return attr && attr.value || '';
-         },
-         getAttributeNode: function getAttributeNode(name) {
-           return this.attributes.getNamedItem(name);
-         },
-         setAttribute: function setAttribute(name, value) {
-           var attr = this.ownerDocument.createAttribute(name);
-           attr.value = attr.nodeValue = "" + value;
-           this.setAttributeNode(attr);
-         },
-         removeAttribute: function removeAttribute(name) {
-           var attr = this.getAttributeNode(name);
-           attr && this.removeAttributeNode(attr);
-         },
-         //four real opeartion method
-         appendChild: function appendChild(newChild) {
-           if (newChild.nodeType === DOCUMENT_FRAGMENT_NODE) {
-             return this.insertBefore(newChild, null);
-           } else {
-             return _appendSingleChild(this, newChild);
-           }
-         },
-         setAttributeNode: function setAttributeNode(newAttr) {
-           return this.attributes.setNamedItem(newAttr);
-         },
-         setAttributeNodeNS: function setAttributeNodeNS(newAttr) {
-           return this.attributes.setNamedItemNS(newAttr);
-         },
-         removeAttributeNode: function removeAttributeNode(oldAttr) {
-           //console.log(this == oldAttr.ownerElement)
-           return this.attributes.removeNamedItem(oldAttr.nodeName);
-         },
-         //get real attribute name,and remove it by removeAttributeNode
-         removeAttributeNS: function removeAttributeNS(namespaceURI, localName) {
-           var old = this.getAttributeNodeNS(namespaceURI, localName);
-           old && this.removeAttributeNode(old);
-         },
-         hasAttributeNS: function hasAttributeNS(namespaceURI, localName) {
-           return this.getAttributeNodeNS(namespaceURI, localName) != null;
-         },
-         getAttributeNS: function getAttributeNS(namespaceURI, localName) {
-           var attr = this.getAttributeNodeNS(namespaceURI, localName);
-           return attr && attr.value || '';
-         },
-         setAttributeNS: function setAttributeNS(namespaceURI, qualifiedName, value) {
-           var attr = this.ownerDocument.createAttributeNS(namespaceURI, qualifiedName);
-           attr.value = attr.nodeValue = "" + value;
-           this.setAttributeNode(attr);
-         },
-         getAttributeNodeNS: function getAttributeNodeNS(namespaceURI, localName) {
-           return this.attributes.getNamedItemNS(namespaceURI, localName);
-         },
-         getElementsByTagName: function getElementsByTagName(tagName) {
-           return new LiveNodeList(this, function (base) {
-             var ls = [];
-
-             _visitNode(base, function (node) {
-               if (node !== base && node.nodeType == ELEMENT_NODE && (tagName === '*' || node.tagName == tagName)) {
-                 ls.push(node);
-               }
-             });
-
-             return ls;
-           });
-         },
-         getElementsByTagNameNS: function getElementsByTagNameNS(namespaceURI, localName) {
-           return new LiveNodeList(this, function (base) {
-             var ls = [];
-
-             _visitNode(base, function (node) {
-               if (node !== base && node.nodeType === ELEMENT_NODE && (namespaceURI === '*' || node.namespaceURI === namespaceURI) && (localName === '*' || node.localName == localName)) {
-                 ls.push(node);
-               }
-             });
-
-             return ls;
-           });
-         }
-       };
-       Document.prototype.getElementsByTagName = Element.prototype.getElementsByTagName;
-       Document.prototype.getElementsByTagNameNS = Element.prototype.getElementsByTagNameNS;
-
-       _extends(Element, Node);
-
-       function Attr() {}
-       Attr.prototype.nodeType = ATTRIBUTE_NODE;
-
-       _extends(Attr, Node);
-
-       function CharacterData() {}
-       CharacterData.prototype = {
-         data: '',
-         substringData: function substringData(offset, count) {
-           return this.data.substring(offset, offset + count);
-         },
-         appendData: function appendData(text) {
-           text = this.data + text;
-           this.nodeValue = this.data = text;
-           this.length = text.length;
-         },
-         insertData: function insertData(offset, text) {
-           this.replaceData(offset, 0, text);
-         },
-         appendChild: function appendChild(newChild) {
-           throw new Error(ExceptionMessage[HIERARCHY_REQUEST_ERR]);
-         },
-         deleteData: function deleteData(offset, count) {
-           this.replaceData(offset, count, "");
-         },
-         replaceData: function replaceData(offset, count, text) {
-           var start = this.data.substring(0, offset);
-           var end = this.data.substring(offset + count);
-           text = start + text + end;
-           this.nodeValue = this.data = text;
-           this.length = text.length;
-         }
-       };
-
-       _extends(CharacterData, Node);
-
-       function Text() {}
-       Text.prototype = {
-         nodeName: "#text",
-         nodeType: TEXT_NODE,
-         splitText: function splitText(offset) {
-           var text = this.data;
-           var newText = text.substring(offset);
-           text = text.substring(0, offset);
-           this.data = this.nodeValue = text;
-           this.length = text.length;
-           var newNode = this.ownerDocument.createTextNode(newText);
-
-           if (this.parentNode) {
-             this.parentNode.insertBefore(newNode, this.nextSibling);
-           }
-
-           return newNode;
-         }
-       };
-
-       _extends(Text, CharacterData);
-
-       function Comment() {}
-       Comment.prototype = {
-         nodeName: "#comment",
-         nodeType: COMMENT_NODE
-       };
-
-       _extends(Comment, CharacterData);
-
-       function CDATASection() {}
-       CDATASection.prototype = {
-         nodeName: "#cdata-section",
-         nodeType: CDATA_SECTION_NODE
-       };
-
-       _extends(CDATASection, CharacterData);
-
-       function DocumentType() {}
-       DocumentType.prototype.nodeType = DOCUMENT_TYPE_NODE;
-
-       _extends(DocumentType, Node);
-
-       function Notation() {}
-       Notation.prototype.nodeType = NOTATION_NODE;
-
-       _extends(Notation, Node);
-
-       function Entity() {}
-       Entity.prototype.nodeType = ENTITY_NODE;
-
-       _extends(Entity, Node);
-
-       function EntityReference() {}
-       EntityReference.prototype.nodeType = ENTITY_REFERENCE_NODE;
-
-       _extends(EntityReference, Node);
-
-       function DocumentFragment() {}
-       DocumentFragment.prototype.nodeName = "#document-fragment";
-       DocumentFragment.prototype.nodeType = DOCUMENT_FRAGMENT_NODE;
-
-       _extends(DocumentFragment, Node);
-
-       function ProcessingInstruction() {}
-
-       ProcessingInstruction.prototype.nodeType = PROCESSING_INSTRUCTION_NODE;
-
-       _extends(ProcessingInstruction, Node);
-
-       function XMLSerializer$1() {}
-
-       XMLSerializer$1.prototype.serializeToString = function (node, isHtml, nodeFilter) {
-         return nodeSerializeToString.call(node, isHtml, nodeFilter);
-       };
-
-       Node.prototype.toString = nodeSerializeToString;
-
-       function nodeSerializeToString(isHtml, nodeFilter) {
-         var buf = [];
-         var refNode = this.nodeType == 9 ? this.documentElement : this;
-         var prefix = refNode.prefix;
-         var uri = refNode.namespaceURI;
-
-         if (uri && prefix == null) {
-           //console.log(prefix)
-           var prefix = refNode.lookupPrefix(uri);
-
-           if (prefix == null) {
-             //isHTML = true;
-             var visibleNamespaces = [{
-               namespace: uri,
-               prefix: null
-             } //{namespace:uri,prefix:''}
-             ];
-           }
-         }
-
-         serializeToString(this, buf, isHtml, nodeFilter, visibleNamespaces); //console.log('###',this.nodeType,uri,prefix,buf.join(''))
-
-         return buf.join('');
-       }
-
-       function needNamespaceDefine(node, isHTML, visibleNamespaces) {
-         var prefix = node.prefix || '';
-         var uri = node.namespaceURI;
-
-         if (!prefix && !uri) {
-           return false;
-         }
-
-         if (prefix === "xml" && uri === "http://www.w3.org/XML/1998/namespace" || uri == 'http://www.w3.org/2000/xmlns/') {
-           return false;
-         }
-
-         var i = visibleNamespaces.length; //console.log('@@@@',node.tagName,prefix,uri,visibleNamespaces)
-
-         while (i--) {
-           var ns = visibleNamespaces[i]; // get namespace prefix
-           //console.log(node.nodeType,node.tagName,ns.prefix,prefix)
-
-           if (ns.prefix == prefix) {
-             return ns.namespace != uri;
-           }
-         } //console.log(isHTML,uri,prefix=='')
-         //if(isHTML && prefix ==null && uri == 'http://www.w3.org/1999/xhtml'){
-         //    return false;
-         //}
-         //node.flag = '11111'
-         //console.error(3,true,node.flag,node.prefix,node.namespaceURI)
-
-
-         return true;
-       }
-
-       function serializeToString(node, buf, isHTML, nodeFilter, visibleNamespaces) {
-         if (nodeFilter) {
-           node = nodeFilter(node);
-
-           if (node) {
-             if (typeof node == 'string') {
-               buf.push(node);
-               return;
-             }
-           } else {
-             return;
-           } //buf.sort.apply(attrs, attributeSorter);
-
-         }
-
-         switch (node.nodeType) {
-           case ELEMENT_NODE:
-             if (!visibleNamespaces) visibleNamespaces = [];
-             visibleNamespaces.length;
-             var attrs = node.attributes;
-             var len = attrs.length;
-             var child = node.firstChild;
-             var nodeName = node.tagName;
-             isHTML = htmlns === node.namespaceURI || isHTML;
-             buf.push('<', nodeName);
-
-             for (var i = 0; i < len; i++) {
-               // add namespaces for attributes
-               var attr = attrs.item(i);
-
-               if (attr.prefix == 'xmlns') {
-                 visibleNamespaces.push({
-                   prefix: attr.localName,
-                   namespace: attr.value
-                 });
-               } else if (attr.nodeName == 'xmlns') {
-                 visibleNamespaces.push({
-                   prefix: '',
-                   namespace: attr.value
-                 });
-               }
-             }
-
-             for (var i = 0; i < len; i++) {
-               var attr = attrs.item(i);
-
-               if (needNamespaceDefine(attr, isHTML, visibleNamespaces)) {
-                 var prefix = attr.prefix || '';
-                 var uri = attr.namespaceURI;
-                 var ns = prefix ? ' xmlns:' + prefix : " xmlns";
-                 buf.push(ns, '="', uri, '"');
-                 visibleNamespaces.push({
-                   prefix: prefix,
-                   namespace: uri
-                 });
-               }
-
-               serializeToString(attr, buf, isHTML, nodeFilter, visibleNamespaces);
-             } // add namespace for current node               
-
-
-             if (needNamespaceDefine(node, isHTML, visibleNamespaces)) {
-               var prefix = node.prefix || '';
-               var uri = node.namespaceURI;
-               var ns = prefix ? ' xmlns:' + prefix : " xmlns";
-               buf.push(ns, '="', uri, '"');
-               visibleNamespaces.push({
-                 prefix: prefix,
-                 namespace: uri
-               });
-             }
-
-             if (child || isHTML && !/^(?:meta|link|img|br|hr|input)$/i.test(nodeName)) {
-               buf.push('>'); //if is cdata child node
-
-               if (isHTML && /^script$/i.test(nodeName)) {
-                 while (child) {
-                   if (child.data) {
-                     buf.push(child.data);
-                   } else {
-                     serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces);
-                   }
-
-                   child = child.nextSibling;
-                 }
-               } else {
-                 while (child) {
-                   serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces);
-                   child = child.nextSibling;
-                 }
-               }
-
-               buf.push('</', nodeName, '>');
-             } else {
-               buf.push('/>');
-             } // remove added visible namespaces
-             //visibleNamespaces.length = startVisibleNamespaces;
-
-
-             return;
-
-           case DOCUMENT_NODE:
-           case DOCUMENT_FRAGMENT_NODE:
-             var child = node.firstChild;
-
-             while (child) {
-               serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces);
-               child = child.nextSibling;
-             }
-
-             return;
-
-           case ATTRIBUTE_NODE:
-             return buf.push(' ', node.name, '="', node.value.replace(/[<&"]/g, _xmlEncoder), '"');
-
-           case TEXT_NODE:
-             return buf.push(node.data.replace(/[<&]/g, _xmlEncoder));
-
-           case CDATA_SECTION_NODE:
-             return buf.push('<![CDATA[', node.data, ']]>');
-
-           case COMMENT_NODE:
-             return buf.push("<!--", node.data, "-->");
-
-           case DOCUMENT_TYPE_NODE:
-             var pubid = node.publicId;
-             var sysid = node.systemId;
-             buf.push('<!DOCTYPE ', node.name);
-
-             if (pubid) {
-               buf.push(' PUBLIC "', pubid);
-
-               if (sysid && sysid != '.') {
-                 buf.push('" "', sysid);
-               }
-
-               buf.push('">');
-             } else if (sysid && sysid != '.') {
-               buf.push(' SYSTEM "', sysid, '">');
-             } else {
-               var sub = node.internalSubset;
-
-               if (sub) {
-                 buf.push(" [", sub, "]");
-               }
-
-               buf.push(">");
-             }
-
-             return;
-
-           case PROCESSING_INSTRUCTION_NODE:
-             return buf.push("<?", node.target, " ", node.data, "?>");
-
-           case ENTITY_REFERENCE_NODE:
-             return buf.push('&', node.nodeName, ';');
-           //case ENTITY_NODE:
-           //case NOTATION_NODE:
-
-           default:
-             buf.push('??', node.nodeName);
-         }
-       }
-
-       function _importNode(doc, node, deep) {
-         var node2;
-
-         switch (node.nodeType) {
-           case ELEMENT_NODE:
-             node2 = node.cloneNode(false);
-             node2.ownerDocument = doc;
-           //var attrs = node2.attributes;
-           //var len = attrs.length;
-           //for(var i=0;i<len;i++){
-           //node2.setAttributeNodeNS(importNode(doc,attrs.item(i),deep));
-           //}
-
-           case DOCUMENT_FRAGMENT_NODE:
-             break;
-
-           case ATTRIBUTE_NODE:
-             deep = true;
-             break;
-           //case ENTITY_REFERENCE_NODE:
-           //case PROCESSING_INSTRUCTION_NODE:
-           ////case TEXT_NODE:
-           //case CDATA_SECTION_NODE:
-           //case COMMENT_NODE:
-           //  deep = false;
-           //  break;
-           //case DOCUMENT_NODE:
-           //case DOCUMENT_TYPE_NODE:
-           //cannot be imported.
-           //case ENTITY_NODE:
-           //case NOTATION_NODE:
-           //can not hit in level3
-           //default:throw e;
-         }
-
-         if (!node2) {
-           node2 = node.cloneNode(false); //false
-         }
+               out += stringify(node[i]) || 'null';
+             }
 
 
-         node2.ownerDocument = doc;
-         node2.parentNode = null;
+             return out + ']';
+           }
 
 
-         if (deep) {
-           var child = node.firstChild;
+           if (node === null) return 'null';
 
 
-           while (child) {
-             node2.appendChild(_importNode(doc, child, deep));
-             child = child.nextSibling;
+           if (seen.indexOf(node) !== -1) {
+             if (cycles) return JSON.stringify('__cycle__');
+             throw new TypeError('Converting circular structure to JSON');
            }
            }
-         }
 
 
-         return node2;
-       } //
-       //var _relationMap = {firstChild:1,lastChild:1,previousSibling:1,nextSibling:1,
-       //                                      attributes:1,childNodes:1,parentNode:1,documentElement:1,doctype,};
+           var seenIndex = seen.push(node) - 1;
+           var keys = Object.keys(node).sort(cmp && cmp(node));
+           out = '';
 
 
+           for (i = 0; i < keys.length; i++) {
+             var key = keys[i];
+             var value = stringify(node[key]);
+             if (!value) continue;
+             if (out) out += ',';
+             out += JSON.stringify(key) + ':' + value;
+           }
 
 
-       function _cloneNode(doc, node, deep) {
-         var node2 = new node.constructor();
+           seen.splice(seenIndex, 1);
+           return '{' + out + '}';
+         }(data);
+       };
 
 
-         for (var n in node) {
-           var v = node[n];
+       var $$2 = _export;
+       var $entries = objectToArray.entries;
 
 
-           if (_typeof(v) != 'object') {
-             if (v != node2[n]) {
-               node2[n] = v;
-             }
-           }
+       // `Object.entries` method
+       // https://tc39.es/ecma262/#sec-object.entries
+       $$2({ target: 'Object', stat: true }, {
+         entries: function entries(O) {
+           return $entries(O);
          }
          }
+       });
 
 
-         if (node.childNodes) {
-           node2.childNodes = new NodeList();
+       var _marked = /*#__PURE__*/regeneratorRuntime.mark(gpxGen),
+           _marked3 = /*#__PURE__*/regeneratorRuntime.mark(kmlGen);
+
+       // cast array x into numbers
+       // get the content of a text node, if any
+       function nodeVal(x) {
+         if (x && x.normalize) {
+           x.normalize();
          }
 
          }
 
-         node2.ownerDocument = doc;
+         return x && x.textContent || "";
+       } // one Y child of X, if any, otherwise null
 
 
-         switch (node2.nodeType) {
-           case ELEMENT_NODE:
-             var attrs = node.attributes;
-             var attrs2 = node2.attributes = new NamedNodeMap();
-             var len = attrs.length;
-             attrs2._ownerElement = node2;
 
 
-             for (var i = 0; i < len; i++) {
-               node2.setAttributeNode(_cloneNode(doc, attrs.item(i), true));
-             }
+       function get1(x, y) {
+         var n = x.getElementsByTagName(y);
+         return n.length ? n[0] : null;
+       }
 
 
-             break;
+       function getLineStyle(extensions) {
+         var style = {};
 
 
-           case ATTRIBUTE_NODE:
-             deep = true;
-         }
+         if (extensions) {
+           var lineStyle = get1(extensions, "line");
 
 
-         if (deep) {
-           var child = node.firstChild;
+           if (lineStyle) {
+             var color = nodeVal(get1(lineStyle, "color")),
+                 opacity = parseFloat(nodeVal(get1(lineStyle, "opacity"))),
+                 width = parseFloat(nodeVal(get1(lineStyle, "width")));
+             if (color) style.stroke = color;
+             if (!isNaN(opacity)) style["stroke-opacity"] = opacity; // GPX width is in mm, convert to px with 96 px per inch
 
 
-           while (child) {
-             node2.appendChild(_cloneNode(doc, child, deep));
-             child = child.nextSibling;
+             if (!isNaN(width)) style["stroke-width"] = width * 96 / 25.4;
            }
          }
 
            }
          }
 
-         return node2;
-       }
-
-       function __set__(object, key, value) {
-         object[key] = value;
-       } //do dynamic
-
-
-       try {
-         if (Object.defineProperty) {
-           var getTextContent = function getTextContent(node) {
-             switch (node.nodeType) {
-               case ELEMENT_NODE:
-               case DOCUMENT_FRAGMENT_NODE:
-                 var buf = [];
-                 node = node.firstChild;
-
-                 while (node) {
-                   if (node.nodeType !== 7 && node.nodeType !== 8) {
-                     buf.push(getTextContent(node));
-                   }
-
-                   node = node.nextSibling;
-                 }
+         return style;
+       } // get the contents of multiple text nodes, if present
 
 
-                 return buf.join('');
 
 
-               default:
-                 return node.nodeValue;
-             }
-           };
+       function getMulti(x, ys) {
+         var o = {};
+         var n;
+         var k;
 
 
-           Object.defineProperty(LiveNodeList.prototype, 'length', {
-             get: function get() {
-               _updateLiveList(this);
+         for (k = 0; k < ys.length; k++) {
+           n = get1(x, ys[k]);
+           if (n) o[ys[k]] = nodeVal(n);
+         }
 
 
-               return this.$$length;
-             }
-           });
-           Object.defineProperty(Node.prototype, 'textContent', {
-             get: function get() {
-               return getTextContent(this);
-             },
-             set: function set(data) {
-               switch (this.nodeType) {
-                 case ELEMENT_NODE:
-                 case DOCUMENT_FRAGMENT_NODE:
-                   while (this.firstChild) {
-                     this.removeChild(this.firstChild);
-                   }
+         return o;
+       }
 
 
-                   if (data || String(data)) {
-                     this.appendChild(this.ownerDocument.createTextNode(data));
-                   }
+       function getProperties$1(node) {
+         var prop = getMulti(node, ["name", "cmt", "desc", "type", "time", "keywords"]); // Parse additional data from our Garmin extension(s)
 
 
-                   break;
+         var extensions = node.getElementsByTagNameNS("http://www.garmin.com/xmlschemas/GpxExtensions/v3", "*");
 
 
-                 default:
-                   //TODO:
-                   this.data = data;
-                   this.value = data;
-                   this.nodeValue = data;
-               }
-             }
-           });
+         for (var i = 0; i < extensions.length; i++) {
+           var extension = extensions[i]; // Ignore nested extensions, like those on routepoints or trackpoints
 
 
-           __set__ = function __set__(object, key, value) {
-             //console.log(value)
-             object['$$' + key] = value;
-           };
+           if (extension.parentNode.parentNode === node) {
+             prop[extension.tagName.replace(":", "_")] = nodeVal(extension);
+           }
          }
          }
-       } catch (e) {//ie8
-       } //if(typeof require == 'function'){
-
-
-       var DOMImplementation_1 = DOMImplementation;
-       var XMLSerializer_1 = XMLSerializer$1; //}
 
 
-       var dom = {
-         DOMImplementation: DOMImplementation_1,
-         XMLSerializer: XMLSerializer_1
-       };
+         var links = node.getElementsByTagName("link");
+         if (links.length) prop.links = [];
 
 
-       var domParser = createCommonjsModule(function (module, exports) {
-         function DOMParser(options) {
-           this.options = options || {
-             locator: {}
-           };
+         for (var _i = 0; _i < links.length; _i++) {
+           prop.links.push(Object.assign({
+             href: links[_i].getAttribute("href")
+           }, getMulti(links[_i], ["text", "type"])));
          }
 
          }
 
-         DOMParser.prototype.parseFromString = function (source, mimeType) {
-           var options = this.options;
-           var sax = new XMLReader();
-           var domBuilder = options.domBuilder || new DOMHandler(); //contentHandler and LexicalHandler
-
-           var errorHandler = options.errorHandler;
-           var locator = options.locator;
-           var defaultNSMap = options.xmlns || {};
-           var entityMap = {
-             'lt': '<',
-             'gt': '>',
-             'amp': '&',
-             'quot': '"',
-             'apos': "'"
-           };
-
-           if (locator) {
-             domBuilder.setDocumentLocator(locator);
-           }
+         return prop;
+       }
 
 
-           sax.errorHandler = buildErrorHandler(errorHandler, domBuilder, locator);
-           sax.domBuilder = options.domBuilder || domBuilder;
+       function coordPair$1(x) {
+         var ll = [parseFloat(x.getAttribute("lon")), parseFloat(x.getAttribute("lat"))];
+         var ele = get1(x, "ele"); // handle namespaced attribute in browser
 
 
-           if (/\/x?html?$/.test(mimeType)) {
-             entityMap.nbsp = '\xa0';
-             entityMap.copy = '\xa9';
-             defaultNSMap[''] = 'http://www.w3.org/1999/xhtml';
-           }
+         var heart = get1(x, "gpxtpx:hr") || get1(x, "hr");
+         var time = get1(x, "time");
+         var e;
 
 
-           defaultNSMap.xml = defaultNSMap.xml || 'http://www.w3.org/XML/1998/namespace';
+         if (ele) {
+           e = parseFloat(nodeVal(ele));
 
 
-           if (source) {
-             sax.parse(source, defaultNSMap, entityMap);
-           } else {
-             sax.errorHandler.error("invalid doc source");
+           if (!isNaN(e)) {
+             ll.push(e);
            }
            }
+         }
 
 
-           return domBuilder.doc;
+         var result = {
+           coordinates: ll,
+           time: time ? nodeVal(time) : null,
+           extendedValues: []
          };
 
          };
 
-         function buildErrorHandler(errorImpl, domBuilder, locator) {
-           if (!errorImpl) {
-             if (domBuilder instanceof DOMHandler) {
-               return domBuilder;
-             }
-
-             errorImpl = domBuilder;
-           }
+         if (heart) {
+           result.extendedValues.push(["heart", parseFloat(nodeVal(heart))]);
+         }
 
 
-           var errorHandler = {};
-           var isCallback = errorImpl instanceof Function;
-           locator = locator || {};
+         var extensions = get1(x, "extensions");
 
 
-           function build(key) {
-             var fn = errorImpl[key];
+         if (extensions !== null) {
+           for (var _i2 = 0, _arr = ["speed", "course", "hAcc", "vAcc"]; _i2 < _arr.length; _i2++) {
+             var name = _arr[_i2];
+             var v = parseFloat(nodeVal(get1(extensions, name)));
 
 
-             if (!fn && isCallback) {
-               fn = errorImpl.length == 2 ? function (msg) {
-                 errorImpl(key, msg);
-               } : errorImpl;
+             if (!isNaN(v)) {
+               result.extendedValues.push([name, v]);
              }
              }
-
-             errorHandler[key] = fn && function (msg) {
-               fn('[xmldom ' + key + ']\t' + msg + _locator(locator));
-             } || function () {};
            }
            }
-
-           build('warning');
-           build('error');
-           build('fatalError');
-           return errorHandler;
-         } //console.log('#\n\n\n\n\n\n\n####')
-
-         /**
-          * +ContentHandler+ErrorHandler
-          * +LexicalHandler+EntityResolver2
-          * -DeclHandler-DTDHandler 
-          * 
-          * DefaultHandler:EntityResolver, DTDHandler, ContentHandler, ErrorHandler
-          * DefaultHandler2:DefaultHandler,LexicalHandler, DeclHandler, EntityResolver2
-          * @link http://www.saxproject.org/apidoc/org/xml/sax/helpers/DefaultHandler.html
-          */
-
-
-         function DOMHandler() {
-           this.cdata = false;
          }
 
          }
 
-         function position(locator, node) {
-           node.lineNumber = locator.lineNumber;
-           node.columnNumber = locator.columnNumber;
-         }
-         /**
-          * @see org.xml.sax.ContentHandler#startDocument
-          * @link http://www.saxproject.org/apidoc/org/xml/sax/ContentHandler.html
-          */
+         return result;
+       }
 
 
+       function getRoute(node) {
+         var line = getPoints$1(node, "rtept");
+         if (!line) return;
+         return {
+           type: "Feature",
+           properties: Object.assign(getProperties$1(node), getLineStyle(get1(node, "extensions")), {
+             _gpxType: "rte"
+           }),
+           geometry: {
+             type: "LineString",
+             coordinates: line.line
+           }
+         };
+       }
 
 
-         DOMHandler.prototype = {
-           startDocument: function startDocument() {
-             this.doc = new DOMImplementation().createDocument(null, null, null);
+       function getPoints$1(node, pointname) {
+         var pts = node.getElementsByTagName(pointname);
+         if (pts.length < 2) return; // Invalid line in GeoJSON
 
 
-             if (this.locator) {
-               this.doc.documentURI = this.locator.systemId;
-             }
-           },
-           startElement: function startElement(namespaceURI, localName, qName, attrs) {
-             var doc = this.doc;
-             var el = doc.createElementNS(namespaceURI, qName || localName);
-             var len = attrs.length;
-             appendElement(this, el);
-             this.currentElement = el;
-             this.locator && position(this.locator, el);
-
-             for (var i = 0; i < len; i++) {
-               var namespaceURI = attrs.getURI(i);
-               var value = attrs.getValue(i);
-               var qName = attrs.getQName(i);
-               var attr = doc.createAttributeNS(namespaceURI, qName);
-               this.locator && position(attrs.getLocator(i), attr);
-               attr.value = attr.nodeValue = value;
-               el.setAttributeNode(attr);
-             }
-           },
-           endElement: function endElement(namespaceURI, localName, qName) {
-             var current = this.currentElement;
-             current.tagName;
-             this.currentElement = current.parentNode;
-           },
-           startPrefixMapping: function startPrefixMapping(prefix, uri) {},
-           endPrefixMapping: function endPrefixMapping(prefix) {},
-           processingInstruction: function processingInstruction(target, data) {
-             var ins = this.doc.createProcessingInstruction(target, data);
-             this.locator && position(this.locator, ins);
-             appendElement(this, ins);
-           },
-           ignorableWhitespace: function ignorableWhitespace(ch, start, length) {},
-           characters: function characters(chars, start, length) {
-             chars = _toString.apply(this, arguments); //console.log(chars)
+         var line = [];
+         var times = [];
+         var extendedValues = {};
 
 
-             if (chars) {
-               if (this.cdata) {
-                 var charNode = this.doc.createCDATASection(chars);
-               } else {
-                 var charNode = this.doc.createTextNode(chars);
-               }
+         for (var i = 0; i < pts.length; i++) {
+           var c = coordPair$1(pts[i]);
+           line.push(c.coordinates);
+           if (c.time) times.push(c.time);
 
 
-               if (this.currentElement) {
-                 this.currentElement.appendChild(charNode);
-               } else if (/^\s*$/.test(chars)) {
-                 this.doc.appendChild(charNode); //process xml
-               }
+           for (var j = 0; j < c.extendedValues.length; j++) {
+             var _c$extendedValues$j = _slicedToArray(c.extendedValues[j], 2),
+                 name = _c$extendedValues$j[0],
+                 val = _c$extendedValues$j[1];
 
 
-               this.locator && position(this.locator, charNode);
-             }
-           },
-           skippedEntity: function skippedEntity(name) {},
-           endDocument: function endDocument() {
-             this.doc.normalize();
-           },
-           setDocumentLocator: function setDocumentLocator(locator) {
-             if (this.locator = locator) {
-               // && !('lineNumber' in locator)){
-               locator.lineNumber = 0;
-             }
-           },
-           //LexicalHandler
-           comment: function comment(chars, start, length) {
-             chars = _toString.apply(this, arguments);
-             var comm = this.doc.createComment(chars);
-             this.locator && position(this.locator, comm);
-             appendElement(this, comm);
-           },
-           startCDATA: function startCDATA() {
-             //used in characters() methods
-             this.cdata = true;
-           },
-           endCDATA: function endCDATA() {
-             this.cdata = false;
-           },
-           startDTD: function startDTD(name, publicId, systemId) {
-             var impl = this.doc.implementation;
+             var plural = name === "heart" ? name : name + "s";
 
 
-             if (impl && impl.createDocumentType) {
-               var dt = impl.createDocumentType(name, publicId, systemId);
-               this.locator && position(this.locator, dt);
-               appendElement(this, dt);
+             if (!extendedValues[plural]) {
+               extendedValues[plural] = Array(pts.length).fill(null);
              }
              }
-           },
 
 
-           /**
-            * @see org.xml.sax.ErrorHandler
-            * @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html
-            */
-           warning: function warning(error) {
-             console.warn('[xmldom warning]\t' + error, _locator(this.locator));
-           },
-           error: function error(_error) {
-             console.error('[xmldom error]\t' + _error, _locator(this.locator));
-           },
-           fatalError: function fatalError(error) {
-             console.error('[xmldom fatalError]\t' + error, _locator(this.locator));
-             throw error;
+             extendedValues[plural][i] = val;
            }
            }
+         }
+
+         return {
+           line: line,
+           times: times,
+           extendedValues: extendedValues
          };
          };
+       }
 
 
-         function _locator(l) {
-           if (l) {
-             return '\n@' + (l.systemId || '') + '#[line:' + l.lineNumber + ',col:' + l.columnNumber + ']';
-           }
-         }
+       function getTrack(node) {
+         var segments = node.getElementsByTagName("trkseg");
+         var track = [];
+         var times = [];
+         var extractedLines = [];
 
 
-         function _toString(chars, start, length) {
-           if (typeof chars == 'string') {
-             return chars.substr(start, length);
-           } else {
-             //java sax connect width xmldom on rhino(what about: "? && !(chars instanceof String)")
-             if (chars.length >= start + length || start) {
-               return new java.lang.String(chars, start, length) + '';
-             }
+         for (var i = 0; i < segments.length; i++) {
+           var line = getPoints$1(segments[i], "trkpt");
 
 
-             return chars;
+           if (line) {
+             extractedLines.push(line);
+             if (line.times && line.times.length) times.push(line.times);
            }
          }
            }
          }
-         /*
-          * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/LexicalHandler.html
-          * used method of org.xml.sax.ext.LexicalHandler:
-          *  #comment(chars, start, length)
-          *  #startCDATA()
-          *  #endCDATA()
-          *  #startDTD(name, publicId, systemId)
-          *
-          *
-          * IGNORED method of org.xml.sax.ext.LexicalHandler:
-          *  #endDTD()
-          *  #startEntity(name)
-          *  #endEntity(name)
-          *
-          *
-          * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/DeclHandler.html
-          * IGNORED method of org.xml.sax.ext.DeclHandler
-          *    #attributeDecl(eName, aName, type, mode, value)
-          *  #elementDecl(name, model)
-          *  #externalEntityDecl(name, publicId, systemId)
-          *  #internalEntityDecl(name, value)
-          * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/EntityResolver2.html
-          * IGNORED method of org.xml.sax.EntityResolver2
-          *  #resolveEntity(String name,String publicId,String baseURI,String systemId)
-          *  #resolveEntity(publicId, systemId)
-          *  #getExternalSubset(name, baseURI)
-          * @link http://www.saxproject.org/apidoc/org/xml/sax/DTDHandler.html
-          * IGNORED method of org.xml.sax.DTDHandler
-          *  #notationDecl(name, publicId, systemId) {};
-          *  #unparsedEntityDecl(name, publicId, systemId, notationName) {};
-          */
-
-
-         "endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g, function (key) {
-           DOMHandler.prototype[key] = function () {
-             return null;
-           };
-         });
-         /* Private static helpers treated below as private instance methods, so don't need to add these to the public API; we might use a Relator to also get rid of non-standard public properties */
 
 
-         function appendElement(hander, node) {
-           if (!hander.currentElement) {
-             hander.doc.appendChild(node);
-           } else {
-             hander.currentElement.appendChild(node);
+         if (extractedLines.length === 0) return;
+         var multi = extractedLines.length > 1;
+         var properties = Object.assign(getProperties$1(node), getLineStyle(get1(node, "extensions")), {
+           _gpxType: "trk"
+         }, times.length ? {
+           coordinateProperties: {
+             times: multi ? times : times[0]
            }
            }
-         } //appendChild and setAttributeNS are preformance key
-         //if(typeof require == 'function'){
+         } : {});
 
 
+         for (var _i3 = 0; _i3 < extractedLines.length; _i3++) {
+           var _line = extractedLines[_i3];
+           track.push(_line.line);
 
 
-         var XMLReader = sax.XMLReader;
-         var DOMImplementation = exports.DOMImplementation = dom.DOMImplementation;
-         exports.XMLSerializer = dom.XMLSerializer;
-         exports.DOMParser = DOMParser; //}
-       });
-
-       var togeojson = createCommonjsModule(function (module, exports) {
-         var toGeoJSON = function () {
+           for (var _i4 = 0, _Object$entries = Object.entries(_line.extendedValues); _i4 < _Object$entries.length; _i4++) {
+             var _Object$entries$_i = _slicedToArray(_Object$entries[_i4], 2),
+                 name = _Object$entries$_i[0],
+                 val = _Object$entries$_i[1];
 
 
-           var removeSpace = /\s*/g,
-               trimSpace = /^\s*|\s*$/g,
-               splitSpace = /\s+/; // generate a short, numeric hash of a string
+             var props = properties;
 
 
-           function okhash(x) {
-             if (!x || !x.length) return 0;
+             if (name === "heart") {
+               if (!properties.coordinateProperties) {
+                 properties.coordinateProperties = {};
+               }
 
 
-             for (var i = 0, h = 0; i < x.length; i++) {
-               h = (h << 5) - h + x.charCodeAt(i) | 0;
+               props = properties.coordinateProperties;
              }
 
              }
 
-             return h;
-           } // all Y children of X
-
+             if (multi) {
+               if (!props[name]) props[name] = extractedLines.map(function (line) {
+                 return new Array(line.line.length).fill(null);
+               });
+               props[name][_i3] = val;
+             } else {
+               props[name] = val;
+             }
+           }
+         }
 
 
-           function get(x, y) {
-             return x.getElementsByTagName(y);
+         return {
+           type: "Feature",
+           properties: properties,
+           geometry: multi ? {
+             type: "MultiLineString",
+             coordinates: track
+           } : {
+             type: "LineString",
+             coordinates: track[0]
            }
            }
+         };
+       }
 
 
-           function attr(x, y) {
-             return x.getAttribute(y);
+       function getPoint(node) {
+         return {
+           type: "Feature",
+           properties: Object.assign(getProperties$1(node), getMulti(node, ["sym"])),
+           geometry: {
+             type: "Point",
+             coordinates: coordPair$1(node).coordinates
            }
            }
+         };
+       }
 
 
-           function attrf(x, y) {
-             return parseFloat(attr(x, y));
-           } // one Y child of X, if any, otherwise null
+       function gpxGen(doc) {
+         var tracks, routes, waypoints, i, feature, _i5, _feature, _i6;
 
 
+         return regeneratorRuntime.wrap(function gpxGen$(_context) {
+           while (1) {
+             switch (_context.prev = _context.next) {
+               case 0:
+                 tracks = doc.getElementsByTagName("trk");
+                 routes = doc.getElementsByTagName("rte");
+                 waypoints = doc.getElementsByTagName("wpt");
+                 i = 0;
 
 
-           function get1(x, y) {
-             var n = get(x, y);
-             return n.length ? n[0] : null;
-           } // https://developer.mozilla.org/en-US/docs/Web/API/Node.normalize
+               case 4:
+                 if (!(i < tracks.length)) {
+                   _context.next = 12;
+                   break;
+                 }
 
 
+                 feature = getTrack(tracks[i]);
 
 
-           function norm(el) {
-             if (el.normalize) {
-               el.normalize();
-             }
+                 if (!feature) {
+                   _context.next = 9;
+                   break;
+                 }
 
 
-             return el;
-           } // cast array x into numbers
+                 _context.next = 9;
+                 return feature;
 
 
+               case 9:
+                 i++;
+                 _context.next = 4;
+                 break;
 
 
-           function numarray(x) {
-             for (var j = 0, o = []; j < x.length; j++) {
-               o[j] = parseFloat(x[j]);
-             }
+               case 12:
+                 _i5 = 0;
 
 
-             return o;
-           } // get the content of a text node, if any
+               case 13:
+                 if (!(_i5 < routes.length)) {
+                   _context.next = 21;
+                   break;
+                 }
 
 
+                 _feature = getRoute(routes[_i5]);
 
 
-           function nodeVal(x) {
-             if (x) {
-               norm(x);
-             }
+                 if (!_feature) {
+                   _context.next = 18;
+                   break;
+                 }
 
 
-             return x && x.textContent || '';
-           } // get the contents of multiple text nodes, if present
+                 _context.next = 18;
+                 return _feature;
 
 
+               case 18:
+                 _i5++;
+                 _context.next = 13;
+                 break;
 
 
-           function getMulti(x, ys) {
-             var o = {},
-                 n,
-                 k;
+               case 21:
+                 _i6 = 0;
 
 
-             for (k = 0; k < ys.length; k++) {
-               n = get1(x, ys[k]);
-               if (n) o[ys[k]] = nodeVal(n);
-             }
+               case 22:
+                 if (!(_i6 < waypoints.length)) {
+                   _context.next = 28;
+                   break;
+                 }
 
 
-             return o;
-           } // add properties of Y to X, overwriting if present in both
+                 _context.next = 25;
+                 return getPoint(waypoints[_i6]);
 
 
+               case 25:
+                 _i6++;
+                 _context.next = 22;
+                 break;
 
 
-           function extend(x, y) {
-             for (var k in y) {
-               x[k] = y[k];
+               case 28:
+               case "end":
+                 return _context.stop();
              }
              }
-           } // get one coordinate from a coordinate array, if any
-
-
-           function coord1(v) {
-             return numarray(v.replace(removeSpace, '').split(','));
-           } // get all coordinates from a coordinate array as [[],[]]
+           }
+         }, _marked);
+       }
 
 
+       function gpx(doc) {
+         return {
+           type: "FeatureCollection",
+           features: Array.from(gpxGen(doc))
+         };
+       }
 
 
-           function coord(v) {
-             var coords = v.replace(trimSpace, '').split(splitSpace),
-                 o = [];
+       var removeSpace = /\s*/g;
+       var trimSpace = /^\s*|\s*$/g;
+       var splitSpace = /\s+/; // generate a short, numeric hash of a string
 
 
-             for (var i = 0; i < coords.length; i++) {
-               o.push(coord1(coords[i]));
-             }
+       function okhash(x) {
+         if (!x || !x.length) return 0;
+         var h = 0;
 
 
-             return o;
-           }
+         for (var i = 0; i < x.length; i++) {
+           h = (h << 5) - h + x.charCodeAt(i) | 0;
+         }
 
 
-           function coordPair(x) {
-             var ll = [attrf(x, 'lon'), attrf(x, 'lat')],
-                 ele = get1(x, 'ele'),
-                 // handle namespaced attribute in browser
-             heartRate = get1(x, 'gpxtpx:hr') || get1(x, 'hr'),
-                 time = get1(x, 'time'),
-                 e;
+         return h;
+       } // get one coordinate from a coordinate array, if any
 
 
-             if (ele) {
-               e = parseFloat(nodeVal(ele));
 
 
-               if (!isNaN(e)) {
-                 ll.push(e);
-               }
-             }
+       function coord1(v) {
+         return v.replace(removeSpace, "").split(",").map(parseFloat);
+       } // get all coordinates from a coordinate array as [[],[]]
 
 
-             return {
-               coordinates: ll,
-               time: time ? nodeVal(time) : null,
-               heartRate: heartRate ? parseFloat(nodeVal(heartRate)) : null
-             };
-           } // create a new feature collection parent object
 
 
+       function coord(v) {
+         return v.replace(trimSpace, "").split(splitSpace).map(coord1);
+       }
 
 
-           function fc() {
-             return {
-               type: 'FeatureCollection',
-               features: []
-             };
-           }
+       function xml2str(node) {
+         if (node.xml !== undefined) return node.xml;
 
 
-           var serializer;
+         if (node.tagName) {
+           var output = node.tagName;
 
 
-           if (typeof XMLSerializer !== 'undefined') {
-             /* istanbul ignore next */
-             serializer = new XMLSerializer(); // only require xmldom in a node environment
-           } else if ((typeof process === "undefined" ? "undefined" : _typeof(process)) === 'object' && !process.browser) {
-             serializer = new domParser.XMLSerializer();
+           for (var i = 0; i < node.attributes.length; i++) {
+             output += node.attributes[i].name + node.attributes[i].value;
            }
 
            }
 
-           function xml2str(str) {
-             // IE9 will create a new XMLSerializer but it'll crash immediately.
-             // This line is ignored because we don't run coverage tests in IE9
-
-             /* istanbul ignore next */
-             if (str.xml !== undefined) return str.xml;
-             return serializer.serializeToString(str);
+           for (var _i9 = 0; _i9 < node.childNodes.length; _i9++) {
+             output += xml2str(node.childNodes[_i9]);
            }
 
            }
 
-           var t = {
-             kml: function kml(doc) {
-               var gj = fc(),
-                   // styleindex keeps track of hashed styles in order to match features
-               styleIndex = {},
-                   styleByHash = {},
-                   // stylemapindex keeps track of style maps to expose in properties
-               styleMapIndex = {},
-                   // atomic geospatial types supported by KML - MultiGeometry is
-               // handled separately
-               geotypes = ['Polygon', 'LineString', 'Point', 'Track', 'gx:Track'],
-                   // all root placemarks in the file
-               placemarks = get(doc, 'Placemark'),
-                   styles = get(doc, 'Style'),
-                   styleMaps = get(doc, 'StyleMap');
-
-               for (var k = 0; k < styles.length; k++) {
-                 var hash = okhash(xml2str(styles[k])).toString(16);
-                 styleIndex['#' + attr(styles[k], 'id')] = hash;
-                 styleByHash[hash] = styles[k];
-               }
-
-               for (var l = 0; l < styleMaps.length; l++) {
-                 styleIndex['#' + attr(styleMaps[l], 'id')] = okhash(xml2str(styleMaps[l])).toString(16);
-                 var pairs = get(styleMaps[l], 'Pair');
-                 var pairsMap = {};
-
-                 for (var m = 0; m < pairs.length; m++) {
-                   pairsMap[nodeVal(get1(pairs[m], 'key'))] = nodeVal(get1(pairs[m], 'styleUrl'));
-                 }
-
-                 styleMapIndex['#' + attr(styleMaps[l], 'id')] = pairsMap;
-               }
+           return output;
+         }
 
 
-               for (var j = 0; j < placemarks.length; j++) {
-                 gj.features = gj.features.concat(getPlacemark(placemarks[j]));
-               }
+         if (node.nodeName === "#text") {
+           return (node.nodeValue || node.value || "").trim();
+         }
 
 
-               function kmlColor(v) {
-                 var color, opacity;
-                 v = v || '';
+         if (node.nodeName === "#cdata-section") {
+           return node.nodeValue;
+         }
 
 
-                 if (v.substr(0, 1) === '#') {
-                   v = v.substr(1);
-                 }
+         return "";
+       }
 
 
-                 if (v.length === 6 || v.length === 3) {
-                   color = v;
-                 }
+       var geotypes = ["Polygon", "LineString", "Point", "Track", "gx:Track"];
 
 
-                 if (v.length === 8) {
-                   opacity = parseInt(v.substr(0, 2), 16) / 255;
-                   color = '#' + v.substr(6, 2) + v.substr(4, 2) + v.substr(2, 2);
-                 }
+       function kmlColor(properties, elem, prefix) {
+         var v = nodeVal(get1(elem, "color")) || "";
+         var colorProp = prefix == "stroke" || prefix === "fill" ? prefix : prefix + "-color";
 
 
-                 return [color, isNaN(opacity) ? undefined : opacity];
-               }
+         if (v.substr(0, 1) === "#") {
+           v = v.substr(1);
+         }
 
 
-               function gxCoord(v) {
-                 return numarray(v.split(' '));
-               }
+         if (v.length === 6 || v.length === 3) {
+           properties[colorProp] = v;
+         } else if (v.length === 8) {
+           properties[prefix + "-opacity"] = parseInt(v.substr(0, 2), 16) / 255;
+           properties[colorProp] = "#" + v.substr(6, 2) + v.substr(4, 2) + v.substr(2, 2);
+         }
+       }
 
 
-               function gxCoords(root) {
-                 var elems = get(root, 'coord'),
-                     coords = [],
-                     times = [];
-                 if (elems.length === 0) elems = get(root, 'gx:coord');
+       function numericProperty(properties, elem, source, target) {
+         var val = parseFloat(nodeVal(get1(elem, source)));
+         if (!isNaN(val)) properties[target] = val;
+       }
 
 
-                 for (var i = 0; i < elems.length; i++) {
-                   coords.push(gxCoord(nodeVal(elems[i])));
-                 }
+       function gxCoords(root) {
+         var elems = root.getElementsByTagName("coord");
+         var coords = [];
+         var times = [];
+         if (elems.length === 0) elems = root.getElementsByTagName("gx:coord");
 
 
-                 var timeElems = get(root, 'when');
+         for (var i = 0; i < elems.length; i++) {
+           coords.push(nodeVal(elems[i]).split(" ").map(parseFloat));
+         }
 
 
-                 for (var j = 0; j < timeElems.length; j++) {
-                   times.push(nodeVal(timeElems[j]));
-                 }
+         var timeElems = root.getElementsByTagName("when");
 
 
-                 return {
-                   coords: coords,
-                   times: times
-                 };
-               }
+         for (var j = 0; j < timeElems.length; j++) {
+           times.push(nodeVal(timeElems[j]));
+         }
 
 
-               function getGeometry(root) {
-                 var geomNode,
-                     geomNodes,
-                     i,
-                     j,
-                     k,
-                     geoms = [],
-                     coordTimes = [];
+         return {
+           coords: coords,
+           times: times
+         };
+       }
 
 
-                 if (get1(root, 'MultiGeometry')) {
-                   return getGeometry(get1(root, 'MultiGeometry'));
-                 }
+       function getGeometry(root) {
+         var geomNode;
+         var geomNodes;
+         var i;
+         var j;
+         var k;
+         var geoms = [];
+         var coordTimes = [];
 
 
-                 if (get1(root, 'MultiTrack')) {
-                   return getGeometry(get1(root, 'MultiTrack'));
-                 }
+         if (get1(root, "MultiGeometry")) {
+           return getGeometry(get1(root, "MultiGeometry"));
+         }
 
 
-                 if (get1(root, 'gx:MultiTrack')) {
-                   return getGeometry(get1(root, 'gx:MultiTrack'));
-                 }
+         if (get1(root, "MultiTrack")) {
+           return getGeometry(get1(root, "MultiTrack"));
+         }
 
 
-                 for (i = 0; i < geotypes.length; i++) {
-                   geomNodes = get(root, geotypes[i]);
+         if (get1(root, "gx:MultiTrack")) {
+           return getGeometry(get1(root, "gx:MultiTrack"));
+         }
 
 
-                   if (geomNodes) {
-                     for (j = 0; j < geomNodes.length; j++) {
-                       geomNode = geomNodes[j];
+         for (i = 0; i < geotypes.length; i++) {
+           geomNodes = root.getElementsByTagName(geotypes[i]);
 
 
-                       if (geotypes[i] === 'Point') {
-                         geoms.push({
-                           type: 'Point',
-                           coordinates: coord1(nodeVal(get1(geomNode, 'coordinates')))
-                         });
-                       } else if (geotypes[i] === 'LineString') {
-                         geoms.push({
-                           type: 'LineString',
-                           coordinates: coord(nodeVal(get1(geomNode, 'coordinates')))
-                         });
-                       } else if (geotypes[i] === 'Polygon') {
-                         var rings = get(geomNode, 'LinearRing'),
-                             coords = [];
+           if (geomNodes) {
+             for (j = 0; j < geomNodes.length; j++) {
+               geomNode = geomNodes[j];
 
 
-                         for (k = 0; k < rings.length; k++) {
-                           coords.push(coord(nodeVal(get1(rings[k], 'coordinates'))));
-                         }
+               if (geotypes[i] === "Point") {
+                 geoms.push({
+                   type: "Point",
+                   coordinates: coord1(nodeVal(get1(geomNode, "coordinates")))
+                 });
+               } else if (geotypes[i] === "LineString") {
+                 geoms.push({
+                   type: "LineString",
+                   coordinates: coord(nodeVal(get1(geomNode, "coordinates")))
+                 });
+               } else if (geotypes[i] === "Polygon") {
+                 var rings = geomNode.getElementsByTagName("LinearRing"),
+                     coords = [];
 
 
-                         geoms.push({
-                           type: 'Polygon',
-                           coordinates: coords
-                         });
-                       } else if (geotypes[i] === 'Track' || geotypes[i] === 'gx:Track') {
-                         var track = gxCoords(geomNode);
-                         geoms.push({
-                           type: 'LineString',
-                           coordinates: track.coords
-                         });
-                         if (track.times.length) coordTimes.push(track.times);
-                       }
-                     }
-                   }
+                 for (k = 0; k < rings.length; k++) {
+                   coords.push(coord(nodeVal(get1(rings[k], "coordinates"))));
                  }
 
                  }
 
-                 return {
-                   geoms: geoms,
-                   coordTimes: coordTimes
-                 };
+                 geoms.push({
+                   type: "Polygon",
+                   coordinates: coords
+                 });
+               } else if (geotypes[i] === "Track" || geotypes[i] === "gx:Track") {
+                 var track = gxCoords(geomNode);
+                 geoms.push({
+                   type: "LineString",
+                   coordinates: track.coords
+                 });
+                 if (track.times.length) coordTimes.push(track.times);
                }
                }
+             }
+           }
+         }
 
 
-               function getPlacemark(root) {
-                 var geomsAndTimes = getGeometry(root),
-                     i,
-                     properties = {},
-                     name = nodeVal(get1(root, 'name')),
-                     address = nodeVal(get1(root, 'address')),
-                     styleUrl = nodeVal(get1(root, 'styleUrl')),
-                     description = nodeVal(get1(root, 'description')),
-                     timeSpan = get1(root, 'TimeSpan'),
-                     timeStamp = get1(root, 'TimeStamp'),
-                     extendedData = get1(root, 'ExtendedData'),
-                     lineStyle = get1(root, 'LineStyle'),
-                     polyStyle = get1(root, 'PolyStyle'),
-                     visibility = get1(root, 'visibility');
-                 if (!geomsAndTimes.geoms.length) return [];
-                 if (name) properties.name = name;
-                 if (address) properties.address = address;
-
-                 if (styleUrl) {
-                   if (styleUrl[0] !== '#') {
-                     styleUrl = '#' + styleUrl;
-                   }
-
-                   properties.styleUrl = styleUrl;
+         return {
+           geoms: geoms,
+           coordTimes: coordTimes
+         };
+       }
 
 
-                   if (styleIndex[styleUrl]) {
-                     properties.styleHash = styleIndex[styleUrl];
-                   }
+       function getPlacemark(root, styleIndex, styleMapIndex, styleByHash) {
+         var geomsAndTimes = getGeometry(root);
+         var i;
+         var properties = {};
+         var name = nodeVal(get1(root, "name"));
+         var address = nodeVal(get1(root, "address"));
+         var styleUrl = nodeVal(get1(root, "styleUrl"));
+         var description = nodeVal(get1(root, "description"));
+         var timeSpan = get1(root, "TimeSpan");
+         var timeStamp = get1(root, "TimeStamp");
+         var extendedData = get1(root, "ExtendedData");
+         var iconStyle = get1(root, "IconStyle");
+         var labelStyle = get1(root, "LabelStyle");
+         var lineStyle = get1(root, "LineStyle");
+         var polyStyle = get1(root, "PolyStyle");
+         var visibility = get1(root, "visibility");
+         if (name) properties.name = name;
+         if (address) properties.address = address;
 
 
-                   if (styleMapIndex[styleUrl]) {
-                     properties.styleMapHash = styleMapIndex[styleUrl];
-                     properties.styleHash = styleIndex[styleMapIndex[styleUrl].normal];
-                   } // Try to populate the lineStyle or polyStyle since we got the style hash
+         if (styleUrl) {
+           if (styleUrl[0] !== "#") {
+             styleUrl = "#" + styleUrl;
+           }
 
 
+           properties.styleUrl = styleUrl;
 
 
-                   var style = styleByHash[properties.styleHash];
+           if (styleIndex[styleUrl]) {
+             properties.styleHash = styleIndex[styleUrl];
+           }
 
 
-                   if (style) {
-                     if (!lineStyle) lineStyle = get1(style, 'LineStyle');
-                     if (!polyStyle) polyStyle = get1(style, 'PolyStyle');
-                   }
-                 }
+           if (styleMapIndex[styleUrl]) {
+             properties.styleMapHash = styleMapIndex[styleUrl];
+             properties.styleHash = styleIndex[styleMapIndex[styleUrl].normal];
+           } // Try to populate the lineStyle or polyStyle since we got the style hash
 
 
-                 if (description) properties.description = description;
 
 
-                 if (timeSpan) {
-                   var begin = nodeVal(get1(timeSpan, 'begin'));
-                   var end = nodeVal(get1(timeSpan, 'end'));
-                   properties.timespan = {
-                     begin: begin,
-                     end: end
-                   };
-                 }
+           var style = styleByHash[properties.styleHash];
 
 
-                 if (timeStamp) {
-                   properties.timestamp = nodeVal(get1(timeStamp, 'when'));
-                 }
+           if (style) {
+             if (!iconStyle) iconStyle = get1(style, "IconStyle");
+             if (!labelStyle) labelStyle = get1(style, "LabelStyle");
+             if (!lineStyle) lineStyle = get1(style, "LineStyle");
+             if (!polyStyle) polyStyle = get1(style, "PolyStyle");
+           }
+         }
 
 
-                 if (lineStyle) {
-                   var linestyles = kmlColor(nodeVal(get1(lineStyle, 'color'))),
-                       color = linestyles[0],
-                       opacity = linestyles[1],
-                       width = parseFloat(nodeVal(get1(lineStyle, 'width')));
-                   if (color) properties.stroke = color;
-                   if (!isNaN(opacity)) properties['stroke-opacity'] = opacity;
-                   if (!isNaN(width)) properties['stroke-width'] = width;
-                 }
+         if (description) properties.description = description;
 
 
-                 if (polyStyle) {
-                   var polystyles = kmlColor(nodeVal(get1(polyStyle, 'color'))),
-                       pcolor = polystyles[0],
-                       popacity = polystyles[1],
-                       fill = nodeVal(get1(polyStyle, 'fill')),
-                       outline = nodeVal(get1(polyStyle, 'outline'));
-                   if (pcolor) properties.fill = pcolor;
-                   if (!isNaN(popacity)) properties['fill-opacity'] = popacity;
-                   if (fill) properties['fill-opacity'] = fill === '1' ? properties['fill-opacity'] || 1 : 0;
-                   if (outline) properties['stroke-opacity'] = outline === '1' ? properties['stroke-opacity'] || 1 : 0;
-                 }
+         if (timeSpan) {
+           var begin = nodeVal(get1(timeSpan, "begin"));
+           var end = nodeVal(get1(timeSpan, "end"));
+           properties.timespan = {
+             begin: begin,
+             end: end
+           };
+         }
 
 
-                 if (extendedData) {
-                   var datas = get(extendedData, 'Data'),
-                       simpleDatas = get(extendedData, 'SimpleData');
+         if (timeStamp) {
+           properties.timestamp = nodeVal(get1(timeStamp, "when"));
+         }
 
 
-                   for (i = 0; i < datas.length; i++) {
-                     properties[datas[i].getAttribute('name')] = nodeVal(get1(datas[i], 'value'));
-                   }
+         if (iconStyle) {
+           kmlColor(properties, iconStyle, "icon");
+           numericProperty(properties, iconStyle, "scale", "icon-scale");
+           numericProperty(properties, iconStyle, "heading", "icon-heading");
+           var hotspot = get1(iconStyle, "hotSpot");
 
 
-                   for (i = 0; i < simpleDatas.length; i++) {
-                     properties[simpleDatas[i].getAttribute('name')] = nodeVal(simpleDatas[i]);
-                   }
-                 }
+           if (hotspot) {
+             var left = parseFloat(hotspot.getAttribute("x"));
+             var top = parseFloat(hotspot.getAttribute("y"));
+             if (!isNaN(left) && !isNaN(top)) properties["icon-offset"] = [left, top];
+           }
 
 
-                 if (visibility) {
-                   properties.visibility = nodeVal(visibility);
-                 }
+           var icon = get1(iconStyle, "Icon");
 
 
-                 if (geomsAndTimes.coordTimes.length) {
-                   properties.coordTimes = geomsAndTimes.coordTimes.length === 1 ? geomsAndTimes.coordTimes[0] : geomsAndTimes.coordTimes;
-                 }
+           if (icon) {
+             var href = nodeVal(get1(icon, "href"));
+             if (href) properties.icon = href;
+           }
+         }
 
 
-                 var feature = {
-                   type: 'Feature',
-                   geometry: geomsAndTimes.geoms.length === 1 ? geomsAndTimes.geoms[0] : {
-                     type: 'GeometryCollection',
-                     geometries: geomsAndTimes.geoms
-                   },
-                   properties: properties
-                 };
-                 if (attr(root, 'id')) feature.id = attr(root, 'id');
-                 return [feature];
-               }
+         if (labelStyle) {
+           kmlColor(properties, labelStyle, "label");
+           numericProperty(properties, labelStyle, "scale", "label-scale");
+         }
 
 
-               return gj;
-             },
-             gpx: function gpx(doc) {
-               var i,
-                   tracks = get(doc, 'trk'),
-                   routes = get(doc, 'rte'),
-                   waypoints = get(doc, 'wpt'),
-                   // a feature collection
-               gj = fc(),
-                   feature;
-
-               for (i = 0; i < tracks.length; i++) {
-                 feature = getTrack(tracks[i]);
-                 if (feature) gj.features.push(feature);
-               }
+         if (lineStyle) {
+           kmlColor(properties, lineStyle, "stroke");
+           numericProperty(properties, lineStyle, "width", "stroke-width");
+         }
 
 
-               for (i = 0; i < routes.length; i++) {
-                 feature = getRoute(routes[i]);
-                 if (feature) gj.features.push(feature);
-               }
+         if (polyStyle) {
+           kmlColor(properties, polyStyle, "fill");
+           var fill = nodeVal(get1(polyStyle, "fill"));
+           var outline = nodeVal(get1(polyStyle, "outline"));
+           if (fill) properties["fill-opacity"] = fill === "1" ? properties["fill-opacity"] || 1 : 0;
+           if (outline) properties["stroke-opacity"] = outline === "1" ? properties["stroke-opacity"] || 1 : 0;
+         }
 
 
-               for (i = 0; i < waypoints.length; i++) {
-                 gj.features.push(getPoint(waypoints[i]));
-               }
+         if (extendedData) {
+           var datas = extendedData.getElementsByTagName("Data"),
+               simpleDatas = extendedData.getElementsByTagName("SimpleData");
 
 
-               function getPoints(node, pointname) {
-                 var pts = get(node, pointname),
-                     line = [],
-                     times = [],
-                     heartRates = [],
-                     l = pts.length;
-                 if (l < 2) return {}; // Invalid line in GeoJSON
+           for (i = 0; i < datas.length; i++) {
+             properties[datas[i].getAttribute("name")] = nodeVal(get1(datas[i], "value"));
+           }
 
 
-                 for (var i = 0; i < l; i++) {
-                   var c = coordPair(pts[i]);
-                   line.push(c.coordinates);
-                   if (c.time) times.push(c.time);
-                   if (c.heartRate) heartRates.push(c.heartRate);
-                 }
+           for (i = 0; i < simpleDatas.length; i++) {
+             properties[simpleDatas[i].getAttribute("name")] = nodeVal(simpleDatas[i]);
+           }
+         }
 
 
-                 return {
-                   line: line,
-                   times: times,
-                   heartRates: heartRates
-                 };
-               }
+         if (visibility) {
+           properties.visibility = nodeVal(visibility);
+         }
 
 
-               function getTrack(node) {
-                 var segments = get(node, 'trkseg'),
-                     track = [],
-                     times = [],
-                     heartRates = [],
-                     line;
+         if (geomsAndTimes.coordTimes.length) {
+           properties.coordinateProperties = {
+             times: geomsAndTimes.coordTimes.length === 1 ? geomsAndTimes.coordTimes[0] : geomsAndTimes.coordTimes
+           };
+         }
 
 
-                 for (var i = 0; i < segments.length; i++) {
-                   line = getPoints(segments[i], 'trkpt');
+         var feature = {
+           type: "Feature",
+           geometry: geomsAndTimes.geoms.length === 0 ? null : geomsAndTimes.geoms.length === 1 ? geomsAndTimes.geoms[0] : {
+             type: "GeometryCollection",
+             geometries: geomsAndTimes.geoms
+           },
+           properties: properties
+         };
+         if (root.getAttribute("id")) feature.id = root.getAttribute("id");
+         return feature;
+       }
 
 
-                   if (line) {
-                     if (line.line) track.push(line.line);
-                     if (line.times && line.times.length) times.push(line.times);
-                     if (line.heartRates && line.heartRates.length) heartRates.push(line.heartRates);
-                   }
+       function kmlGen(doc) {
+         var styleIndex, styleByHash, styleMapIndex, placemarks, styles, styleMaps, k, hash, l, pairs, pairsMap, m, j, feature;
+         return regeneratorRuntime.wrap(function kmlGen$(_context3) {
+           while (1) {
+             switch (_context3.prev = _context3.next) {
+               case 0:
+                 // styleindex keeps track of hashed styles in order to match feature
+                 styleIndex = {};
+                 styleByHash = {}; // stylemapindex keeps track of style maps to expose in properties
+
+                 styleMapIndex = {}; // atomic geospatial types supported by KML - MultiGeometry is
+                 // handled separately
+                 // all root placemarks in the file
+
+                 placemarks = doc.getElementsByTagName("Placemark");
+                 styles = doc.getElementsByTagName("Style");
+                 styleMaps = doc.getElementsByTagName("StyleMap");
+
+                 for (k = 0; k < styles.length; k++) {
+                   hash = okhash(xml2str(styles[k])).toString(16);
+                   styleIndex["#" + styles[k].getAttribute("id")] = hash;
+                   styleByHash[hash] = styles[k];
                  }
 
                  }
 
-                 if (track.length === 0) return;
-                 var properties = getProperties(node);
-                 extend(properties, getLineStyle(get1(node, 'extensions')));
-                 if (times.length) properties.coordTimes = track.length === 1 ? times[0] : times;
-                 if (heartRates.length) properties.heartRates = track.length === 1 ? heartRates[0] : heartRates;
-                 return {
-                   type: 'Feature',
-                   properties: properties,
-                   geometry: {
-                     type: track.length === 1 ? 'LineString' : 'MultiLineString',
-                     coordinates: track.length === 1 ? track[0] : track
-                   }
-                 };
-               }
-
-               function getRoute(node) {
-                 var line = getPoints(node, 'rtept');
-                 if (!line.line) return;
-                 var prop = getProperties(node);
-                 extend(prop, getLineStyle(get1(node, 'extensions')));
-                 var routeObj = {
-                   type: 'Feature',
-                   properties: prop,
-                   geometry: {
-                     type: 'LineString',
-                     coordinates: line.line
-                   }
-                 };
-                 return routeObj;
-               }
+                 for (l = 0; l < styleMaps.length; l++) {
+                   styleIndex["#" + styleMaps[l].getAttribute("id")] = okhash(xml2str(styleMaps[l])).toString(16);
+                   pairs = styleMaps[l].getElementsByTagName("Pair");
+                   pairsMap = {};
 
 
-               function getPoint(node) {
-                 var prop = getProperties(node);
-                 extend(prop, getMulti(node, ['sym']));
-                 return {
-                   type: 'Feature',
-                   properties: prop,
-                   geometry: {
-                     type: 'Point',
-                     coordinates: coordPair(node).coordinates
+                   for (m = 0; m < pairs.length; m++) {
+                     pairsMap[nodeVal(get1(pairs[m], "key"))] = nodeVal(get1(pairs[m], "styleUrl"));
                    }
                    }
-                 };
-               }
 
 
-               function getLineStyle(extensions) {
-                 var style = {};
-
-                 if (extensions) {
-                   var lineStyle = get1(extensions, 'line');
+                   styleMapIndex["#" + styleMaps[l].getAttribute("id")] = pairsMap;
+                 }
 
 
-                   if (lineStyle) {
-                     var color = nodeVal(get1(lineStyle, 'color')),
-                         opacity = parseFloat(nodeVal(get1(lineStyle, 'opacity'))),
-                         width = parseFloat(nodeVal(get1(lineStyle, 'width')));
-                     if (color) style.stroke = color;
-                     if (!isNaN(opacity)) style['stroke-opacity'] = opacity; // GPX width is in mm, convert to px with 96 px per inch
+                 j = 0;
 
 
-                     if (!isNaN(width)) style['stroke-width'] = width * 96 / 25.4;
-                   }
+               case 9:
+                 if (!(j < placemarks.length)) {
+                   _context3.next = 17;
+                   break;
                  }
 
                  }
 
-                 return style;
-               }
-
-               function getProperties(node) {
-                 var prop = getMulti(node, ['name', 'cmt', 'desc', 'type', 'time', 'keywords']),
-                     links = get(node, 'link');
-                 if (links.length) prop.links = [];
+                 feature = getPlacemark(placemarks[j], styleIndex, styleMapIndex, styleByHash);
 
 
-                 for (var i = 0, link; i < links.length; i++) {
-                   link = {
-                     href: attr(links[i], 'href')
-                   };
-                   extend(link, getMulti(links[i], ['text', 'type']));
-                   prop.links.push(link);
+                 if (!feature) {
+                   _context3.next = 14;
+                   break;
                  }
 
                  }
 
-                 return prop;
-               }
+                 _context3.next = 14;
+                 return feature;
 
 
-               return gj;
+               case 14:
+                 j++;
+                 _context3.next = 9;
+                 break;
+
+               case 17:
+               case "end":
+                 return _context3.stop();
              }
              }
-           };
-           return t;
-         }();
+           }
+         }, _marked3);
+       }
 
 
-         module.exports = toGeoJSON;
-       });
+       function kml(doc) {
+         return {
+           type: "FeatureCollection",
+           features: Array.from(kmlGen(doc))
+         };
+       }
 
        var _initialized = false;
        var _enabled = false;
 
        var _initialized = false;
        var _enabled = false;
 
            switch (extension) {
              case '.gpx':
 
            switch (extension) {
              case '.gpx':
-               gj = togeojson.gpx(xmlToDom(data));
+               gj = gpx(xmlToDom(data));
                break;
 
              case '.kml':
                break;
 
              case '.kml':
-               gj = togeojson.kml(xmlToDom(data));
+               gj = kml(xmlToDom(data));
                break;
 
              case '.geojson':
                break;
 
              case '.geojson':
            context.on('enter.map', function () {
              if (!map.editableDataEnabled(true
              /* skip zoom check */
            context.on('enter.map', function () {
              if (!map.editableDataEnabled(true
              /* skip zoom check */
-             )) return; // redraw immediately any objects affected by a change in selectedIDs.
+             )) return;
+             if (_isTransformed) return; // redraw immediately any objects affected by a change in selectedIDs.
 
              var graph = context.graph();
              var selectedAndParents = {};
 
              var graph = context.graph();
              var selectedAndParents = {};
                k2 = t0.k * Math.pow(2, -dY / 500);
                k2 = clamp$1(k2, kMin, kMax);
                x2 = p0[0] - p1[0] * k2;
                k2 = t0.k * Math.pow(2, -dY / 500);
                k2 = clamp$1(k2, kMin, kMax);
                x2 = p0[0] - p1[0] * k2;
-               y2 = p0[1] - p1[1] * k2; // 2 finger map panning (Mac only, all browsers) - #5492, #5512
+               y2 = p0[1] - p1[1] * k2; // 2 finger map panning (Mac only, all browsers except Firefox #8595) - #5492, #5512
                // Panning via the `wheel` event will always have:
                // - `ctrlKey = false`
                // - `deltaX`,`deltaY` are round integer pixels
                // Panning via the `wheel` event will always have:
                // - `ctrlKey = false`
                // - `deltaX`,`deltaY` are round integer pixels
-             } else if (detected.os === 'mac' && !source.ctrlKey && isInteger(dX) && isInteger(dY)) {
+             } else if (detected.os === 'mac' && detected.browser !== 'Firefox' && !source.ctrlKey && isInteger(dX) && isInteger(dY)) {
                p1 = projection.translate();
                x2 = p1[0] - dX;
                y2 = p1[1] - dY;
                p1 = projection.translate();
                x2 = p1[0] - dX;
                y2 = p1[1] - dY;
          return dataEditor;
        }
 
          return dataEditor;
        }
 
-       var pair_1 = pair;
+       var sexagesimal = {exports: {}};
+
+       sexagesimal.exports = element;
+       var pair_1 = sexagesimal.exports.pair = pair;
+       sexagesimal.exports.format = format;
+       sexagesimal.exports.formatPair = formatPair;
+       sexagesimal.exports.coordToDMS = coordToDMS;
+
+       function element(input, dims) {
+         var result = search(input, dims);
+         return result === null ? null : result.val;
+       }
+
+       function formatPair(input) {
+         return format(input.lat, 'lat') + ' ' + format(input.lon, 'lon');
+       } // Is 0 North or South?
+
+
+       function format(input, dim) {
+         var dms = coordToDMS(input, dim);
+         return dms.whole + '° ' + (dms.minutes ? dms.minutes + '\' ' : '') + (dms.seconds ? dms.seconds + '" ' : '') + dms.dir;
+       }
+
+       function coordToDMS(input, dim) {
+         var dirs = {
+           lat: ['N', 'S'],
+           lon: ['E', 'W']
+         }[dim] || '';
+         var dir = dirs[input >= 0 ? 0 : 1];
+         var abs = Math.abs(input);
+         var whole = Math.floor(abs);
+         var fraction = abs - whole;
+         var fractionMinutes = fraction * 60;
+         var minutes = Math.floor(fractionMinutes);
+         var seconds = Math.floor((fractionMinutes - minutes) * 60);
+         return {
+           whole: whole,
+           minutes: minutes,
+           seconds: seconds,
+           dir: dir
+         };
+       }
 
        function search(input, dims) {
          if (!dims) dims = 'NSEW';
 
        function search(input, dims) {
          if (!dims) dims = 'NSEW';
          return featureList;
        }
 
          return featureList;
        }
 
+       var $$1 = _export;
        var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
        var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
-
-
-
-
-
+       var toLength$1 = toLength$q;
+       var notARegExp$1 = notARegexp;
+       var requireObjectCoercible$1 = requireObjectCoercible$e;
+       var correctIsRegExpLogic$1 = correctIsRegexpLogic;
 
        // eslint-disable-next-line es/no-string-prototype-startswith -- safe
        var $startsWith = ''.startsWith;
        var min$1 = Math.min;
 
 
        // eslint-disable-next-line es/no-string-prototype-startswith -- safe
        var $startsWith = ''.startsWith;
        var min$1 = Math.min;
 
-       var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegexpLogic('startsWith');
+       var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$1('startsWith');
        // https://github.com/zloirock/core-js/pull/702
        var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () {
          var descriptor = getOwnPropertyDescriptor$1(String.prototype, 'startsWith');
        // https://github.com/zloirock/core-js/pull/702
        var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () {
          var descriptor = getOwnPropertyDescriptor$1(String.prototype, 'startsWith');
 
        // `String.prototype.startsWith` method
        // https://tc39.es/ecma262/#sec-string.prototype.startswith
 
        // `String.prototype.startsWith` method
        // https://tc39.es/ecma262/#sec-string.prototype.startswith
-       _export({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {
+       $$1({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {
          startsWith: function startsWith(searchString /* , position = 0 */) {
          startsWith: function startsWith(searchString /* , position = 0 */) {
-           var that = String(requireObjectCoercible(this));
-           notARegexp(searchString);
-           var index = toLength(min$1(arguments.length > 1 ? arguments[1] : undefined, that.length));
+           var that = String(requireObjectCoercible$1(this));
+           notARegExp$1(searchString);
+           var index = toLength$1(min$1(arguments.length > 1 ? arguments[1] : undefined, that.length));
            var search = String(searchString);
            return $startsWith
              ? $startsWith.call(that, search, index)
            var search = String(searchString);
            return $startsWith
              ? $startsWith.call(that, search, index)
            selection.classed('grouped-items-area', true);
            _activeIssueID = _issues.length > 0 ? _issues[0].id : null;
            var containers = selection.selectAll('.issue-container').data(_issues, function (d) {
            selection.classed('grouped-items-area', true);
            _activeIssueID = _issues.length > 0 ? _issues[0].id : null;
            var containers = selection.selectAll('.issue-container').data(_issues, function (d) {
-             return d.id;
+             return d.key;
            }); // Exit
 
            containers.exit().remove(); // Enter
            }); // Exit
 
            containers.exit().remove(); // Enter
            var wrap = selection.selectAll('.form-field-input-wrap').data([0]);
            wrap = wrap.enter().append('div').attr('class', 'form-field-input-wrap form-field-input-' + field.type).merge(wrap);
            input = wrap.selectAll('input').data([0]);
            var wrap = selection.selectAll('.form-field-input-wrap').data([0]);
            wrap = wrap.enter().append('div').attr('class', 'form-field-input-wrap form-field-input-' + field.type).merge(wrap);
            input = wrap.selectAll('input').data([0]);
-           input = input.enter().append('input').attr('type', field.type === 'identifier' || field.type === 'roadheight' ? 'text' : field.type).attr('id', field.domId).classed(field.type, true).call(utilNoAuto).merge(input);
+           input = input.enter().append('input').attr('type', field.type === 'identifier' ? 'text' : field.type).attr('id', field.domId).classed(field.type, true).call(utilNoAuto).merge(input);
            input.classed('disabled', !!isLocked).attr('readonly', isLocked || null).on('input', change(true)).on('blur', change()).on('change', change());
 
            if (field.type === 'tel') {
            input.classed('disabled', !!isLocked).attr('readonly', isLocked || null).on('input', change(true)).on('blur', change()).on('change', change());
 
            if (field.type === 'tel') {
                  window.open(url, '_blank');
                }
              }).merge(outlinkButton);
                  window.open(url, '_blank');
                }
              }).merge(outlinkButton);
+           } else if (field.type === 'url') {
+             input.attr('type', 'text');
+             outlinkButton = wrap.selectAll('.foreign-id-permalink').data([0]);
+             outlinkButton.enter().append('button').call(svgIcon('#iD-icon-out-link')).attr('class', 'form-field-button foreign-id-permalink').attr('title', function () {
+               return _t('icons.visit_website');
+             }).on('click', function (d3_event) {
+               d3_event.preventDefault();
+               var value = validIdentifierValueForLink();
+               if (value) window.open(value, '_blank');
+             }).merge(outlinkButton);
            }
          }
 
            }
          }
 
          }
 
          function validIdentifierValueForLink() {
          }
 
          function validIdentifierValueForLink() {
+           var value = utilGetSetValue(input).trim().split(';')[0];
+           if (field.type === 'url' && value) return value;
+
            if (field.type === 'identifier' && field.pattern) {
            if (field.type === 'identifier' && field.pattern) {
-             var value = utilGetSetValue(input).trim().split(';')[0];
              return value && value.match(new RegExp(field.pattern));
            }
 
              return value && value.match(new RegExp(field.pattern));
            }
 
          return utilRebind(localized, dispatch, 'on');
        }
 
          return utilRebind(localized, dispatch, 'on');
        }
 
+       function uiFieldRoadheight(field, context) {
+         var dispatch = dispatch$8('change');
+         var primaryUnitInput = select(null);
+         var primaryInput = select(null);
+         var secondaryInput = select(null);
+         var secondaryUnitInput = select(null);
+         var _entityIDs = [];
+
+         var _tags;
+
+         var _isImperial;
+
+         var primaryUnits = [{
+           value: 'm',
+           title: _t('inspector.roadheight.meter')
+         }, {
+           value: 'ft',
+           title: _t('inspector.roadheight.foot')
+         }];
+         var unitCombo = uiCombobox(context, 'roadheight-unit').data(primaryUnits);
+
+         function roadheight(selection) {
+           var wrap = selection.selectAll('.form-field-input-wrap').data([0]);
+           wrap = wrap.enter().append('div').attr('class', 'form-field-input-wrap form-field-input-' + field.type).merge(wrap);
+           primaryInput = wrap.selectAll('input.roadheight-number').data([0]);
+           primaryInput = primaryInput.enter().append('input').attr('type', 'text').attr('class', 'roadheight-number').attr('id', field.domId).call(utilNoAuto).merge(primaryInput);
+           primaryInput.on('change', change).on('blur', change);
+           var loc = combinedEntityExtent().center();
+           _isImperial = roadHeightUnit(loc) === 'ft';
+           primaryUnitInput = wrap.selectAll('input.roadheight-unit').data([0]);
+           primaryUnitInput = primaryUnitInput.enter().append('input').attr('type', 'text').attr('class', 'roadheight-unit').call(unitCombo).merge(primaryUnitInput);
+           primaryUnitInput.on('blur', changeUnits).on('change', changeUnits);
+           secondaryInput = wrap.selectAll('input.roadheight-secondary-number').data([0]);
+           secondaryInput = secondaryInput.enter().append('input').attr('type', 'text').attr('class', 'roadheight-secondary-number').call(utilNoAuto).merge(secondaryInput);
+           secondaryInput.on('change', change).on('blur', change);
+           secondaryUnitInput = wrap.selectAll('input.roadheight-secondary-unit').data([0]);
+           secondaryUnitInput = secondaryUnitInput.enter().append('input').attr('type', 'text').call(utilNoAuto).classed('disabled', true).classed('roadheight-secondary-unit', true).attr('readonly', 'readonly').merge(secondaryUnitInput);
+
+           function changeUnits() {
+             _isImperial = utilGetSetValue(primaryUnitInput) === 'ft';
+             utilGetSetValue(primaryUnitInput, _isImperial ? 'ft' : 'm');
+             setUnitSuggestions();
+             change();
+           }
+         }
+
+         function setUnitSuggestions() {
+           utilGetSetValue(primaryUnitInput, _isImperial ? 'ft' : 'm');
+         }
+
+         function change() {
+           var tag = {};
+           var primaryValue = utilGetSetValue(primaryInput).trim();
+           var secondaryValue = utilGetSetValue(secondaryInput).trim(); // don't override multiple values with blank string
+
+           if (!primaryValue && !secondaryValue && Array.isArray(_tags[field.key])) return;
+
+           if (!primaryValue && !secondaryValue) {
+             tag[field.key] = undefined;
+           } else if (isNaN(primaryValue) || isNaN(secondaryValue) || !_isImperial) {
+             tag[field.key] = context.cleanTagValue(primaryValue);
+           } else {
+             if (primaryValue !== '') {
+               primaryValue = context.cleanTagValue(primaryValue + '\'');
+             }
+
+             if (secondaryValue !== '') {
+               secondaryValue = context.cleanTagValue(secondaryValue + '"');
+             }
+
+             tag[field.key] = primaryValue + secondaryValue;
+           }
+
+           dispatch.call('change', this, tag);
+         }
+
+         roadheight.tags = function (tags) {
+           _tags = tags;
+           var primaryValue = tags[field.key];
+           var secondaryValue;
+           var isMixed = Array.isArray(primaryValue);
+
+           if (!isMixed) {
+             if (primaryValue && (primaryValue.indexOf('\'') >= 0 || primaryValue.indexOf('"') >= 0)) {
+               secondaryValue = primaryValue.match(/(-?[\d.]+)"/);
+
+               if (secondaryValue !== null) {
+                 secondaryValue = secondaryValue[1];
+               }
+
+               primaryValue = primaryValue.match(/(-?[\d.]+)'/);
+
+               if (primaryValue !== null) {
+                 primaryValue = primaryValue[1];
+               }
+
+               _isImperial = true;
+             } else if (primaryValue) {
+               _isImperial = false;
+             }
+           }
+
+           setUnitSuggestions();
+           utilGetSetValue(primaryInput, typeof primaryValue === 'string' ? primaryValue : '').attr('title', isMixed ? primaryValue.filter(Boolean).join('\n') : null).attr('placeholder', isMixed ? _t('inspector.multiple_values') : _t('inspector.unknown')).classed('mixed', isMixed);
+           utilGetSetValue(secondaryInput, typeof secondaryValue === 'string' ? secondaryValue : '').attr('placeholder', isMixed ? _t('inspector.multiple_values') : _isImperial ? '0' : null).classed('mixed', isMixed).classed('disabled', !_isImperial).attr('readonly', _isImperial ? null : 'readonly');
+           secondaryUnitInput.attr('value', _isImperial ? _t('inspector.roadheight.inch') : null);
+         };
+
+         roadheight.focus = function () {
+           primaryInput.node().focus();
+         };
+
+         roadheight.entityIDs = function (val) {
+           _entityIDs = val;
+         };
+
+         function combinedEntityExtent() {
+           return _entityIDs && _entityIDs.length && utilTotalExtent(_entityIDs, context.graph());
+         }
+
+         return utilRebind(roadheight, dispatch, 'on');
+       }
+
        function uiFieldRoadspeed(field, context) {
          var dispatch = dispatch$8('change');
          var unitInput = select(null);
        function uiFieldRoadspeed(field, context) {
          var dispatch = dispatch$8('change');
          var unitInput = select(null);
          return utilRebind(textarea, dispatch, 'on');
        }
 
          return utilRebind(textarea, dispatch, 'on');
        }
 
+       var $ = _export;
        var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
        var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
-
-
-
-
-
+       var toLength = toLength$q;
+       var notARegExp = notARegexp;
+       var requireObjectCoercible = requireObjectCoercible$e;
+       var correctIsRegExpLogic = correctIsRegexpLogic;
 
        // eslint-disable-next-line es/no-string-prototype-endswith -- safe
        var $endsWith = ''.endsWith;
        var min = Math.min;
 
 
        // eslint-disable-next-line es/no-string-prototype-endswith -- safe
        var $endsWith = ''.endsWith;
        var min = Math.min;
 
-       var CORRECT_IS_REGEXP_LOGIC = correctIsRegexpLogic('endsWith');
+       var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
        // https://github.com/zloirock/core-js/pull/702
        var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
          var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
        // https://github.com/zloirock/core-js/pull/702
        var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
          var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
 
        // `String.prototype.endsWith` method
        // https://tc39.es/ecma262/#sec-string.prototype.endswith
 
        // `String.prototype.endsWith` method
        // https://tc39.es/ecma262/#sec-string.prototype.endswith
-       _export({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
+       $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
          endsWith: function endsWith(searchString /* , endPosition = @length */) {
            var that = String(requireObjectCoercible(this));
          endsWith: function endsWith(searchString /* , endPosition = @length */) {
            var that = String(requireObjectCoercible(this));
-           notARegexp(searchString);
+           notARegExp(searchString);
            var endPosition = arguments.length > 1 ? arguments[1] : undefined;
            var len = toLength(that.length);
            var end = endPosition === undefined ? len : min(toLength(endPosition), len);
            var endPosition = arguments.length > 1 ? arguments[1] : undefined;
            var len = toLength(that.length);
            var end = endPosition === undefined ? len : min(toLength(endPosition), len);
          identifier: uiFieldText,
          lanes: uiFieldLanes,
          localized: uiFieldLocalized,
          identifier: uiFieldText,
          lanes: uiFieldLanes,
          localized: uiFieldLocalized,
+         roadheight: uiFieldRoadheight,
          roadspeed: uiFieldRoadspeed,
          roadspeed: uiFieldRoadspeed,
-         roadheight: uiFieldText,
          manyCombo: uiFieldCombo,
          multiCombo: uiFieldCombo,
          networkCombo: uiFieldCombo,
          manyCombo: uiFieldCombo,
          multiCombo: uiFieldCombo,
          networkCombo: uiFieldCombo,
 
            var searchWrap = selection.append('div').attr('class', 'search-header');
            searchWrap.call(svgIcon('#iD-icon-search', 'pre-text'));
 
            var searchWrap = selection.append('div').attr('class', 'search-header');
            searchWrap.call(svgIcon('#iD-icon-search', 'pre-text'));
-           var search = searchWrap.append('input').attr('class', 'preset-search-input').attr('placeholder', _t('inspector.search')).attr('type', 'search').call(utilNoAuto).on('keydown', initialKeydown).on('keypress', keypress).on('input', inputevent);
+           var search = searchWrap.append('input').attr('class', 'preset-search-input').attr('placeholder', _t('inspector.search')).attr('type', 'search').call(utilNoAuto).on('keydown', initialKeydown).on('keypress', keypress).on('input', debounce(inputevent));
 
            if (_autofocus) {
              search.node().focus(); // Safari 14 doesn't always like to focus immediately,
 
            if (_autofocus) {
              search.node().focus(); // Safari 14 doesn't always like to focus immediately,
            var modalSection = introModal.append('div').attr('class', 'modal-section');
            modalSection.append('p').html(_t.html('splash.text', {
              version: context.version,
            var modalSection = introModal.append('div').attr('class', 'modal-section');
            modalSection.append('p').html(_t.html('splash.text', {
              version: context.version,
-             website: '<a target="_blank" href="http://ideditor.blog/">ideditor.blog</a>',
-             github: '<a target="_blank" href="https://github.com/openstreetmap/iD">github.com</a>'
+             website: '<a target="_blank" href="https://github.com/openstreetmap/iD/blob/develop/CHANGELOG.md#whats-new">changelog</a>',
+             github: '<a target="_blank" href="https://github.com/openstreetmap/iD/issues">github.com</a>'
            }));
            modalSection.append('p').html(_t.html('splash.privacy', {
              updateMessage: updateMessage,
            }));
            modalSection.append('p').html(_t.html('splash.privacy', {
              updateMessage: updateMessage,
              selection.attr('class', 'api-status ' + (err ? 'error' : apiStatus));
            }
 
              selection.attr('class', 'api-status ' + (err ? 'error' : apiStatus));
            }
 
-           osm.on('apiStatusChange.uiStatus', update); // reload the status periodically regardless of other factors
+           osm.on('apiStatusChange.uiStatus', update);
+           context.history().on('storage_error', function () {
+             selection.html(_t.html('osm_api_status.message.local_storage_full'));
+             selection.attr('class', 'api-status error');
+           }); // reload the status periodically regardless of other factors
 
            window.setInterval(function () {
              osm.reloadApiStatus();
 
            window.setInterval(function () {
              osm.reloadApiStatus();
 
            for (var severity in issuesBySeverity) {
              var issues = issuesBySeverity[severity];
 
            for (var severity in issuesBySeverity) {
              var issues = issuesBySeverity[severity];
+
+             if (severity !== 'error') {
+               // exclude 'fixme' and similar - #8603
+               issues = issues.filter(function (issue) {
+                 return issue.type !== 'help_request';
+               });
+             }
+
              var section = severity + '-section';
              var issueItem = severity + '-item';
              var container = selection.selectAll('.' + section).data(issues.length ? [0] : []);
              var section = severity + '-section';
              var issueItem = severity + '-item';
              var container = selection.selectAll('.' + section).data(issues.length ? [0] : []);
              containerEnter.append('ul').attr('class', 'changeset-list');
              container = containerEnter.merge(container);
              var items = container.select('ul').selectAll('li').data(issues, function (d) {
              containerEnter.append('ul').attr('class', 'changeset-list');
              container = containerEnter.merge(container);
              var items = container.select('ul').selectAll('li').data(issues, function (d) {
-               return d.id;
+               return d.key;
              });
              items.exit().remove();
              var itemsEnter = items.enter().append('li').attr('class', issueItem);
              });
              items.exit().remove();
              var itemsEnter = items.enter().append('li').attr('class', issueItem);
              where: 'all',
              includeIgnored: true,
              includeDisabledRules: true
              where: 'all',
              includeIgnored: true,
              includeDisabledRules: true
-           }).warning;
+           }).warning.filter(function (issue) {
+             return issue.type !== 'help_request';
+           }); // exclude 'fixme' and similar - #8603
+
            addIssueCounts(warnings, 'warnings'); // add counts of issues resolved by the user's edits
 
            var resolvedIssues = context.validator().getResolvedIssues();
            addIssueCounts(warnings, 'warnings'); // add counts of issues resolved by the user's edits
 
            var resolvedIssues = context.validator().getResolvedIssues();
            var list = selection.selectAll('.issues-list').data([0]);
            list = list.enter().append('ul').attr('class', 'layer-list issues-list ' + severity + 's-list').merge(list);
            var items = list.selectAll('li').data(issues, function (d) {
            var list = selection.selectAll('.issues-list').data([0]);
            list = list.enter().append('ul').attr('class', 'layer-list issues-list ' + severity + 's-list').merge(list);
            var items = list.selectAll('li').data(issues, function (d) {
-             return d.id;
+             return d.key;
            }); // Exit
 
            items.exit().remove(); // Enter
            }); // Exit
 
            items.exit().remove(); // Enter
            var controls = overMap.append('div').attr('class', 'map-controls');
            controls.append('div').attr('class', 'map-control zoombuttons').call(uiZoom(context));
            controls.append('div').attr('class', 'map-control zoom-to-selection-control').call(uiZoomToSelection(context));
            var controls = overMap.append('div').attr('class', 'map-controls');
            controls.append('div').attr('class', 'map-control zoombuttons').call(uiZoom(context));
            controls.append('div').attr('class', 'map-control zoom-to-selection-control').call(uiZoomToSelection(context));
-           controls.append('div').attr('class', 'map-control geolocate-control').call(uiGeolocate(context)); // Add panes
+           controls.append('div').attr('class', 'map-control geolocate-control').call(uiGeolocate(context));
+           controls.on('wheel.mapControls', function (d3_event) {
+             if (!d3_event.deltaX) {
+               controls.node().scrollTop += d3_event.deltaY;
+             }
+           }); // Add panes
            // This should happen after map is initialized, as some require surface()
 
            var panes = overMap.append('div').attr('class', 'map-panes');
            // This should happen after map is initialized, as some require surface()
 
            var panes = overMap.append('div').attr('class', 'map-panes');
 
          var _deferred = new Set();
 
 
          var _deferred = new Set();
 
-         context.version = '2.20.0';
+         context.version = '2.20.2';
          context.privacyVersion = '20201202'; // iD will alter the hash so cache the parameters intended to setup the session
 
          context.initialHashParams = window.location.hash ? utilStringQs(window.location.hash) : {};
          context.privacyVersion = '20201202'; // iD will alter the hash so cache the parameters intended to setup the session
 
          context.initialHashParams = window.location.hash ? utilStringQs(window.location.hash) : {};
 
        function setNsiSources() {
          var nsiVersion = packageJSON.devDependencies['name-suggestion-index'];
 
        function setNsiSources() {
          var nsiVersion = packageJSON.devDependencies['name-suggestion-index'];
-         var v = vparse(nsiVersion);
+         var v = parseVersion(nsiVersion);
          var vMinor = "".concat(v.major, ".").concat(v.minor);
          var sources = {
            'nsi_data': "https://cdn.jsdelivr.net/npm/name-suggestion-index@".concat(vMinor, "/dist/nsi.min.json"),
          var vMinor = "".concat(v.major, ".").concat(v.minor);
          var sources = {
            'nsi_data': "https://cdn.jsdelivr.net/npm/name-suggestion-index@".concat(vMinor, "/dist/nsi.min.json"),
          var fileMap = _mainFileFetcher.fileMap();
 
          for (var k in sources) {
          var fileMap = _mainFileFetcher.fileMap();
 
          for (var k in sources) {
-           fileMap[k] = sources[k];
+           if (!fileMap[k]) fileMap[k] = sources[k];
          }
        } // `loadNsiPresets()`
        //  Returns a Promise fulfilled when the presets have been downloaded and merged into iD.
          }
        } // `loadNsiPresets()`
        //  Returns a Promise fulfilled when the presets have been downloaded and merged into iD.
        // and fallbacks like
        //   "amenity/yes"
        // excluding things like
        // and fallbacks like
        //   "amenity/yes"
        // excluding things like
-       //   "highway", "surface", "ref", etc.
+       //   "tiger:reviewed", "surface", "ref", etc.
        //
        // Arguments
        //   `tags`: `Object` containing the feature's OSM tags
        //
        // Arguments
        //   `tags`: `Object` containing the feature's OSM tags
          var alternate = new Set();
          Object.keys(tags).forEach(function (osmkey) {
            var osmvalue = tags[osmkey];
          var alternate = new Set();
          Object.keys(tags).forEach(function (osmkey) {
            var osmvalue = tags[osmkey];
-           if (!osmvalue) return;
+           if (!osmvalue) return; // Match a 'route_master' as if it were a 'route' - name-suggestion-index#5184
+
+           if (osmkey === 'route_master') osmkey = 'route';
 
            var vmap = _nsi.kvt.get(osmkey);
 
 
            var vmap = _nsi.kvt.get(osmkey);
 
-           if (!vmap) return;
+           if (!vmap) return; // not an interesting key
 
 
-           if (osmvalue !== 'yes') {
-             primary.add("".concat(osmkey, "/").concat(osmvalue));
-           } else {
-             alternate.add("".concat(osmkey, "/").concat(osmvalue));
+           if (vmap.get(osmvalue)) {
+             // Matched a category in NSI
+             primary.add("".concat(osmkey, "/").concat(osmvalue)); // interesting key/value
+           } else if (osmvalue === 'yes') {
+             alternate.add("".concat(osmkey, "/").concat(osmvalue)); // fallback key/yes
            }
          }); // Can we try a generic building fallback match? - See #6122, #7197
          // Only try this if we do a preset match and find nothing else remarkable about that building.
            }
          }); // Can we try a generic building fallback match? - See #6122, #7197
          // Only try this if we do a preset match and find nothing else remarkable about that building.
            if (t) return; // found already
 
            var osmvalue = tags[osmkey];
            if (t) return; // found already
 
            var osmvalue = tags[osmkey];
-           if (!osmvalue) return;
+           if (!osmvalue) return; // Match a 'route_master' as if it were a 'route' - name-suggestion-index#5184
+
+           if (osmkey === 'route_master') osmkey = 'route';
 
            var vmap = _nsi.kvt.get(osmkey);
 
 
            var vmap = _nsi.kvt.get(osmkey);
 
          }
 
          function isNamelike(osmkey, which) {
          }
 
          function isNamelike(osmkey, which) {
+           if (osmkey === 'old_name') return false;
            return patterns[which].test(osmkey) && !notNames.test(osmkey);
          }
        } // `gatherTuples()`
            return patterns[which].test(osmkey) && !notNames.test(osmkey);
          }
        } // `gatherTuples()`
        //   `tags`: `Object` containing the feature's OSM tags
        //   `loc`: Location where this feature exists, as a [lon, lat]
        // Returns
        //   `tags`: `Object` containing the feature's OSM tags
        //   `loc`: Location where this feature exists, as a [lon, lat]
        // Returns
-       //   `Object`: The tags the the feature should have, or `null` if no changes needed
+       //   `Object` containing the result, or `null` if no changes needed:
+       //   {
+       //     'newTags': `Object` - The tags the the feature should have
+       //     'matched': `Object` - The matched item
+       //   }
        //
 
 
        //
 
 
                }
              }
            }
                }
              }
            }
-         }); // Gather key/value tag pairs to try to match
+         }); // Match a 'route_master' as if it were a 'route' - name-suggestion-index#5184
+
+         var isRouteMaster = tags.type === 'route_master'; // Gather key/value tag pairs to try to match
 
          var tryKVs = gatherKVs(tags);
 
          var tryKVs = gatherKVs(tags);
-         if (!tryKVs.primary.size && !tryKVs.alternate.size) return changed ? newTags : null; // Gather namelike tag values to try to match
+
+         if (!tryKVs.primary.size && !tryKVs.alternate.size) {
+           return changed ? {
+             newTags: newTags,
+             matched: null
+           } : null;
+         } // Gather namelike tag values to try to match
+
 
          var tryNames = gatherNames(tags); // Do `wikidata=*` or `wikipedia=*` tags identify this entity as a chain? - See #6416
          // If so, these tags can be swapped to e.g. `brand:wikidata`/`brand:wikipedia`.
 
          var tryNames = gatherNames(tags); // Do `wikidata=*` or `wikipedia=*` tags identify this entity as a chain? - See #6416
          // If so, these tags can be swapped to e.g. `brand:wikidata`/`brand:wikipedia`.
 
          if (foundQID) tryNames.primary.add(foundQID); // matcher will recognize the Wikidata QID as name too
 
 
          if (foundQID) tryNames.primary.add(foundQID); // matcher will recognize the Wikidata QID as name too
 
-         if (!tryNames.primary.size && !tryNames.alternate.size) return changed ? newTags : null; // Order the [key,value,name] tuples - test primary before alternate
+         if (!tryNames.primary.size && !tryNames.alternate.size) {
+           return changed ? {
+             newTags: newTags,
+             matched: null
+           } : null;
+         } // Order the [key,value,name] tuples - test primary before alternate
+
 
          var tuples = gatherTuples(tryKVs, tryNames);
 
 
          var tuples = gatherTuples(tryKVs, tryNames);
 
 
            if (!item) return "continue"; // At this point we have matched a canonical item and can suggest tag upgrades..
 
 
            if (!item) return "continue"; // At this point we have matched a canonical item and can suggest tag upgrades..
 
+           item = JSON.parse(JSON.stringify(item)); // deep copy
+
            var tkv = item.tkv;
            var parts = tkv.split('/', 3); // tkv = "tree/key/value"
 
            var tkv = item.tkv;
            var parts = tkv.split('/', 3); // tkv = "tree/key/value"
 
            var category = _nsi.data[tkv];
            var properties = category.properties || {}; // Preserve some tags that we specifically don't want NSI to overwrite. ('^name', sometimes)
 
            var category = _nsi.data[tkv];
            var properties = category.properties || {}; // Preserve some tags that we specifically don't want NSI to overwrite. ('^name', sometimes)
 
-           var preserveTags = item.preserveTags || properties.preserveTags || [];
+           var preserveTags = item.preserveTags || properties.preserveTags || []; // These tags can be toplevel tags -or- attributes - so we generally want to preserve existing values - #8615
+           // We'll only _replace_ the tag value if this tag is the toplevel/defining tag for the matched item (`k`)
+
+           ['building', 'emergency', 'internet_access', 'takeaway'].forEach(function (osmkey) {
+             if (k !== osmkey) preserveTags.push("^".concat(osmkey, "$"));
+           });
            var regexes = preserveTags.map(function (s) {
              return new RegExp(s, 'i');
            });
            var regexes = preserveTags.map(function (s) {
              return new RegExp(s, 'i');
            });
-           regexes.push(/^building$/i, /^takeaway$/i);
            var keepTags = {};
            Object.keys(newTags).forEach(function (osmkey) {
              if (regexes.some(function (regex) {
            var keepTags = {};
            Object.keys(newTags).forEach(function (osmkey) {
              if (regexes.some(function (regex) {
              })) {
                keepTags[osmkey] = newTags[osmkey];
              }
              })) {
                keepTags[osmkey] = newTags[osmkey];
              }
-           }); // Remove any primary tags ("amenity", "craft", "shop", "man_made", "route", etc)
-           // with a value like `amenity=yes` or `shop=yes`
+           }); // Remove any primary tags ("amenity", "craft", "shop", "man_made", "route", etc) that have a
+           // value like `amenity=yes` or `shop=yes` (exceptions have already been added to `keepTags` above)
 
            _nsi.kvt.forEach(function (vmap, k) {
              if (newTags[k] === 'yes') delete newTags[k];
 
            _nsi.kvt.forEach(function (vmap, k) {
              if (newTags[k] === 'yes') delete newTags[k];
            } // Do the tag upgrade
 
 
            } // Do the tag upgrade
 
 
-           Object.assign(newTags, item.tags, keepTags); // Special `branch` splitting rules - IF..
+           Object.assign(newTags, item.tags, keepTags); // Swap `route` back to `route_master` - name-suggestion-index#5184
+
+           if (isRouteMaster) {
+             newTags.route_master = newTags.route;
+             delete newTags.route;
+           } // Special `branch` splitting rules - IF..
            // - NSI is suggesting to replace `name`, AND
            // - `branch` doesn't already contain something, AND
            // - original name has not moved to an alternate name (e.g. "Dunkin' Donuts" -> "Dunkin'"), AND
            // - original name is "some name" + "some stuff", THEN
            // consider splitting `name` into `name`/`branch`..
 
            // - NSI is suggesting to replace `name`, AND
            // - `branch` doesn't already contain something, AND
            // - original name has not moved to an alternate name (e.g. "Dunkin' Donuts" -> "Dunkin'"), AND
            // - original name is "some name" + "some stuff", THEN
            // consider splitting `name` into `name`/`branch`..
 
+
            var origName = tags.name;
            var newName = newTags.name;
 
            var origName = tags.name;
            var newName = newTags.name;
 
            }
 
            return {
            }
 
            return {
-             v: newTags
+             v: {
+               newTags: newTags,
+               matched: item
+             }
            };
          };
 
            };
          };
 
            if (_typeof(_ret) === "object") return _ret.v;
          }
 
            if (_typeof(_ret) === "object") return _ret.v;
          }
 
-         return changed ? newTags : null;
+         return changed ? {
+           newTags: newTags,
+           matched: null
+         } : null;
        } // `_isGenericName()`
        // Is the `name` tag generic?
        //
        } // `_isGenericName()`
        // Is the `name` tag generic?
        //
          //   `tags`: `Object` containing the feature's OSM tags
          //   `loc`: Location where this feature exists, as a [lon, lat]
          // Returns
          //   `tags`: `Object` containing the feature's OSM tags
          //   `loc`: Location where this feature exists, as a [lon, lat]
          // Returns
-         //   `Object`: The tags the the feature should have, or `null` if no change
+         //   `Object` containing the result, or `null` if no changes needed:
+         //   {
+         //     'newTags': `Object` - The tags the the feature should have
+         //     'matched': `Object` - The matched item
+         //   }
          //
          upgradeTags: function upgradeTags(tags, loc) {
            return _upgradeTags(tags, loc);
          //
          upgradeTags: function upgradeTags(tags, loc) {
            return _upgradeTags(tags, loc);
          }
        };
 
          }
        };
 
-       var hashes = createCommonjsModule(function (module, exports) {
+       var hashes$1 = {exports: {}};
+
+       (function (module, exports) {
          (function () {
            var Hashes;
 
          (function () {
            var Hashes;
 
            })(this);
          })(); // IIFE
 
            })(this);
          })(); // IIFE
 
-       });
+       })(hashes$1, hashes$1.exports);
 
 
-       var sha1 = new hashes.SHA1(); // # xtend
+       var hashes = hashes$1.exports,
+           sha1 = new hashes.SHA1(); // # xtend
 
        var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
 
 
        var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
 
-       function xtend() {
+       function xtend$1() {
          var target = {};
 
          for (var i = 0; i < arguments.length; i++) {
          var target = {};
 
          for (var i = 0; i < arguments.length; i++) {
          return target;
        }
 
          return target;
        }
 
-       var ohauth = {};
+       var ohauth$1 = {};
 
 
-       ohauth.qsString = function (obj) {
+       ohauth$1.qsString = function (obj) {
          return Object.keys(obj).sort().map(function (key) {
          return Object.keys(obj).sort().map(function (key) {
-           return ohauth.percentEncode(key) + '=' + ohauth.percentEncode(obj[key]);
+           return ohauth$1.percentEncode(key) + '=' + ohauth$1.percentEncode(obj[key]);
          }).join('&');
        };
 
          }).join('&');
        };
 
-       ohauth.stringQs = function (str) {
+       ohauth$1.stringQs = function (str) {
          return str.split('&').filter(function (pair) {
            return pair !== '';
          }).reduce(function (obj, pair) {
          return str.split('&').filter(function (pair) {
            return pair !== '';
          }).reduce(function (obj, pair) {
          }, {});
        };
 
          }, {});
        };
 
-       ohauth.rawxhr = function (method, url, data, headers, callback) {
+       ohauth$1.rawxhr = function (method, url, data, headers, callback) {
          var xhr = new XMLHttpRequest(),
              twoHundred = /^20\d$/;
 
          var xhr = new XMLHttpRequest(),
              twoHundred = /^20\d$/;
 
          return xhr;
        };
 
          return xhr;
        };
 
-       ohauth.xhr = function (method, url, auth, data, options, callback) {
+       ohauth$1.xhr = function (method, url, auth, data, options, callback) {
          var headers = options && options.header || {
            'Content-Type': 'application/x-www-form-urlencoded'
          };
          var headers = options && options.header || {
            'Content-Type': 'application/x-www-form-urlencoded'
          };
-         headers.Authorization = 'OAuth ' + ohauth.authHeader(auth);
-         return ohauth.rawxhr(method, url, data, headers, callback);
+         headers.Authorization = 'OAuth ' + ohauth$1.authHeader(auth);
+         return ohauth$1.rawxhr(method, url, data, headers, callback);
        };
 
        };
 
-       ohauth.nonce = function () {
+       ohauth$1.nonce = function () {
          for (var o = ''; o.length < 6;) {
            o += '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'[Math.floor(Math.random() * 61)];
          }
          for (var o = ''; o.length < 6;) {
            o += '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'[Math.floor(Math.random() * 61)];
          }
          return o;
        };
 
          return o;
        };
 
-       ohauth.authHeader = function (obj) {
+       ohauth$1.authHeader = function (obj) {
          return Object.keys(obj).sort().map(function (key) {
            return encodeURIComponent(key) + '="' + encodeURIComponent(obj[key]) + '"';
          }).join(', ');
        };
 
          return Object.keys(obj).sort().map(function (key) {
            return encodeURIComponent(key) + '="' + encodeURIComponent(obj[key]) + '"';
          }).join(', ');
        };
 
-       ohauth.timestamp = function () {
+       ohauth$1.timestamp = function () {
          return ~~(+new Date() / 1000);
        };
 
          return ~~(+new Date() / 1000);
        };
 
-       ohauth.percentEncode = function (s) {
+       ohauth$1.percentEncode = function (s) {
          return encodeURIComponent(s).replace(/\!/g, '%21').replace(/\'/g, '%27').replace(/\*/g, '%2A').replace(/\(/g, '%28').replace(/\)/g, '%29');
        };
 
          return encodeURIComponent(s).replace(/\!/g, '%21').replace(/\'/g, '%27').replace(/\*/g, '%2A').replace(/\(/g, '%28').replace(/\)/g, '%29');
        };
 
-       ohauth.baseString = function (method, url, params) {
+       ohauth$1.baseString = function (method, url, params) {
          if (params.oauth_signature) delete params.oauth_signature;
          if (params.oauth_signature) delete params.oauth_signature;
-         return [method, ohauth.percentEncode(url), ohauth.percentEncode(ohauth.qsString(params))].join('&');
+         return [method, ohauth$1.percentEncode(url), ohauth$1.percentEncode(ohauth$1.qsString(params))].join('&');
        };
 
        };
 
-       ohauth.signature = function (oauth_secret, token_secret, baseString) {
-         return sha1.b64_hmac(ohauth.percentEncode(oauth_secret) + '&' + ohauth.percentEncode(token_secret), baseString);
+       ohauth$1.signature = function (oauth_secret, token_secret, baseString) {
+         return sha1.b64_hmac(ohauth$1.percentEncode(oauth_secret) + '&' + ohauth$1.percentEncode(token_secret), baseString);
        };
        /**
         * Takes an options object for configuration (consumer_key,
        };
        /**
         * Takes an options object for configuration (consumer_key,
         */
 
 
         */
 
 
-       ohauth.headerGenerator = function (options) {
+       ohauth$1.headerGenerator = function (options) {
          options = options || {};
          var consumer_key = options.consumer_key || '',
              consumer_secret = options.consumer_secret || '',
          options = options || {};
          var consumer_key = options.consumer_key || '',
              consumer_secret = options.consumer_secret || '',
            method = method.toUpperCase();
 
            if (typeof extra_params === 'string' && extra_params.length > 0) {
            method = method.toUpperCase();
 
            if (typeof extra_params === 'string' && extra_params.length > 0) {
-             extra_params = ohauth.stringQs(extra_params);
+             extra_params = ohauth$1.stringQs(extra_params);
            }
 
            var uri_parts = uri.split('?', 2),
                base_uri = uri_parts[0];
            }
 
            var uri_parts = uri.split('?', 2),
                base_uri = uri_parts[0];
-           var query_params = uri_parts.length === 2 ? ohauth.stringQs(uri_parts[1]) : {};
+           var query_params = uri_parts.length === 2 ? ohauth$1.stringQs(uri_parts[1]) : {};
            var oauth_params = {
              oauth_consumer_key: consumer_key,
              oauth_signature_method: signature_method,
              oauth_version: version,
            var oauth_params = {
              oauth_consumer_key: consumer_key,
              oauth_signature_method: signature_method,
              oauth_version: version,
-             oauth_timestamp: ohauth.timestamp(),
-             oauth_nonce: ohauth.nonce()
+             oauth_timestamp: ohauth$1.timestamp(),
+             oauth_nonce: ohauth$1.nonce()
            };
            if (token) oauth_params.oauth_token = token;
            };
            if (token) oauth_params.oauth_token = token;
-           var all_params = xtend({}, oauth_params, query_params, extra_params),
-               base_str = ohauth.baseString(method, base_uri, all_params);
-           oauth_params.oauth_signature = ohauth.signature(consumer_secret, token_secret, base_str);
-           return 'OAuth ' + ohauth.authHeader(oauth_params);
+           var all_params = xtend$1({}, oauth_params, query_params, extra_params),
+               base_str = ohauth$1.baseString(method, base_uri, all_params);
+           oauth_params.oauth_signature = ohauth$1.signature(consumer_secret, token_secret, base_str);
+           return 'OAuth ' + ohauth$1.authHeader(oauth_params);
          };
        };
 
          };
        };
 
-       var ohauth_1 = ohauth;
+       var ohauth_1 = ohauth$1;
 
 
-       var resolveUrl = createCommonjsModule(function (module, exports) {
+       var resolveUrl$1 = {exports: {}};
+
+       (function (module, exports) {
          // Copyright 2014 Simon Lydell
          // X11 (“MIT”) Licensed. (See LICENSE.)
          void function (root, factory) {
          // Copyright 2014 Simon Lydell
          // X11 (“MIT”) Licensed. (See LICENSE.)
          void function (root, factory) {
 
            return resolveUrl;
          });
 
            return resolveUrl;
          });
-       });
+       })(resolveUrl$1);
 
        var assign = make_assign();
        var create$1 = make_create();
        var trim$1 = make_trim();
        var Global$5 = typeof window !== 'undefined' ? window : commonjsGlobal;
 
        var assign = make_assign();
        var create$1 = make_create();
        var trim$1 = make_trim();
        var Global$5 = typeof window !== 'undefined' ? window : commonjsGlobal;
-       var util = {
+       var util$6 = {
          assign: assign,
          create: create$1,
          trim: trim$1,
          assign: assign,
          create: create$1,
          trim: trim$1,
          return val && {}.toString.call(val) === '[object Object]';
        }
 
          return val && {}.toString.call(val) === '[object Object]';
        }
 
-       var slice = util.slice;
-       var pluck = util.pluck;
-       var each$6 = util.each;
-       var bind = util.bind;
-       var create = util.create;
-       var isList = util.isList;
-       var isFunction = util.isFunction;
-       var isObject = util.isObject;
+       var util$5 = util$6;
+       var slice = util$5.slice;
+       var pluck = util$5.pluck;
+       var each$6 = util$5.each;
+       var bind = util$5.bind;
+       var create = util$5.create;
+       var isList = util$5.isList;
+       var isFunction = util$5.isFunction;
+       var isObject = util$5.isObject;
        var storeEngine = {
          createStore: _createStore
        };
        var storeEngine = {
          createStore: _createStore
        };
          return store;
        }
 
          return store;
        }
 
-       var Global$4 = util.Global;
+       var util$4 = util$6;
+       var Global$4 = util$4.Global;
        var localStorage_1 = {
          name: 'localStorage',
          read: read$5,
        var localStorage_1 = {
          name: 'localStorage',
          read: read$5,
        // versions 6 and 7, where no localStorage, etc
        // is available.
 
        // versions 6 and 7, where no localStorage, etc
        // is available.
 
-       var Global$3 = util.Global;
+       var util$3 = util$6;
+       var Global$3 = util$3.Global;
        var oldFFGlobalStorage = {
          name: 'oldFF-globalStorage',
          read: read$4,
        var oldFFGlobalStorage = {
          name: 'oldFF-globalStorage',
          read: read$4,
        // versions 6 and 7, where no localStorage, sessionStorage, etc
        // is available.
 
        // versions 6 and 7, where no localStorage, sessionStorage, etc
        // is available.
 
-       var Global$2 = util.Global;
+       var util$2 = util$6;
+       var Global$2 = util$2.Global;
        var oldIEUserDataStorage = {
          name: 'oldIE-userDataStorage',
          write: write$3,
        var oldIEUserDataStorage = {
          name: 'oldIE-userDataStorage',
          write: write$3,
        // doesn't work but cookies do. This implementation is adopted from
        // https://developer.mozilla.org/en-US/docs/Web/API/Storage/LocalStorage
 
        // doesn't work but cookies do. This implementation is adopted from
        // https://developer.mozilla.org/en-US/docs/Web/API/Storage/LocalStorage
 
-       var Global$1 = util.Global;
-       var trim = util.trim;
+       var util$1 = util$6;
+       var Global$1 = util$1.Global;
+       var trim = util$1.trim;
        var cookieStorage = {
          name: 'cookieStorage',
          read: read$2,
        var cookieStorage = {
          name: 'cookieStorage',
          read: read$2,
          return new RegExp("(?:^|;\\s*)" + escape(key).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=").test(doc.cookie);
        }
 
          return new RegExp("(?:^|;\\s*)" + escape(key).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=").test(doc.cookie);
        }
 
+       var util = util$6;
        var Global = util.Global;
        var sessionStorage_1 = {
          name: 'sessionStorage',
        var Global = util.Global;
        var sessionStorage_1 = {
          name: 'sessionStorage',
          return sessionStorage().clear();
        }
 
          return sessionStorage().clear();
        }
 
-       // memoryStorage is a useful last fallback to ensure that the store
        // is functions (meaning store.get(), store.set(), etc will all function).
        // However, stored values will not persist when the browser navigates to
        // a new page or reloads the current page.
        // is functions (meaning store.get(), store.set(), etc will all function).
        // However, stored values will not persist when the browser navigates to
        // a new page or reloads the current page.
+
        var memoryStorage_1 = {
          name: 'memoryStorage',
          read: read,
        var memoryStorage_1 = {
          name: 'memoryStorage',
          read: read,
          return {};
        }
 
          return {};
        }
 
+       var engine = storeEngine;
+       var storages = all;
        var plugins = [json2];
        var plugins = [json2];
-       var store_legacy = storeEngine.createStore(all, plugins);
+       var store_legacy = engine.createStore(storages, plugins);
 
        var immutable = extend;
        var hasOwnProperty = Object.prototype.hasOwnProperty;
 
        var immutable = extend;
        var hasOwnProperty = Object.prototype.hasOwnProperty;
          return target;
        }
 
          return target;
        }
 
+       var ohauth = ohauth_1;
+       var resolveUrl = resolveUrl$1.exports;
+       var store = store_legacy;
+       var xtend = immutable; // # osm-auth
        //
        // This code is only compatible with IE10+ because the [XDomainRequest](http://bit.ly/LfO7xo)
        // object, IE<10's idea of [CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
        // does not support custom headers, which this uses everywhere.
 
        //
        // This code is only compatible with IE10+ because the [XDomainRequest](http://bit.ly/LfO7xo)
        // object, IE<10's idea of [CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
        // does not support custom headers, which this uses everywhere.
 
-
        var osmAuth = function osmAuth(o) {
          var oauth = {}; // authenticated users will also have a request token secret, but it's
          // not used in transactions with the server
        var osmAuth = function osmAuth(o) {
          var oauth = {}; // authenticated users will also have a request token secret, but it's
          // not used in transactions with the server
 
            var params = timenonce(getAuth(o)),
                url = o.url + '/oauth/request_token';
 
            var params = timenonce(getAuth(o)),
                url = o.url + '/oauth/request_token';
-           params.oauth_signature = ohauth_1.signature(o.oauth_secret, '', ohauth_1.baseString('POST', url, params));
+           params.oauth_signature = ohauth.signature(o.oauth_secret, '', ohauth.baseString('POST', url, params));
 
            if (!o.singlepage) {
              // Create a 600x550 popup window in the center of the screen
 
            if (!o.singlepage) {
              // Create a 600x550 popup window in the center of the screen
            // window is redirected to OSM's authorization page.
 
 
            // window is redirected to OSM's authorization page.
 
 
-           ohauth_1.xhr('POST', url, params, null, {}, reqTokenDone);
+           ohauth.xhr('POST', url, params, null, {}, reqTokenDone);
            o.loading();
 
            function reqTokenDone(err, xhr) {
              o.done();
              if (err) return callback(err);
            o.loading();
 
            function reqTokenDone(err, xhr) {
              o.done();
              if (err) return callback(err);
-             var resp = ohauth_1.stringQs(xhr.response);
+             var resp = ohauth.stringQs(xhr.response);
              token('oauth_request_token_secret', resp.oauth_token_secret);
              token('oauth_request_token_secret', resp.oauth_token_secret);
-             var authorize_url = o.url + '/oauth/authorize?' + ohauth_1.qsString({
+             var authorize_url = o.url + '/oauth/authorize?' + ohauth.qsString({
                oauth_token: resp.oauth_token,
                oauth_callback: resolveUrl(o.landing)
              });
                oauth_token: resp.oauth_token,
                oauth_callback: resolveUrl(o.landing)
              });
 
 
            window.authComplete = function (token) {
 
 
            window.authComplete = function (token) {
-             var oauth_token = ohauth_1.stringQs(token.split('?')[1]);
+             var oauth_token = ohauth.stringQs(token.split('?')[1]);
              get_access_token(oauth_token.oauth_token);
              delete window.authComplete;
            }; // ## Getting an request token
              get_access_token(oauth_token.oauth_token);
              delete window.authComplete;
            }; // ## Getting an request token
                  params = timenonce(getAuth(o)),
                  request_token_secret = token('oauth_request_token_secret');
              params.oauth_token = oauth_token;
                  params = timenonce(getAuth(o)),
                  request_token_secret = token('oauth_request_token_secret');
              params.oauth_token = oauth_token;
-             params.oauth_signature = ohauth_1.signature(o.oauth_secret, request_token_secret, ohauth_1.baseString('POST', url, params)); // ## Getting an access token
+             params.oauth_signature = ohauth.signature(o.oauth_secret, request_token_secret, ohauth.baseString('POST', url, params)); // ## Getting an access token
              //
              // The final token required for authentication. At this point
              // we have a `request token secret`
 
              //
              // The final token required for authentication. At this point
              // we have a `request token secret`
 
-             ohauth_1.xhr('POST', url, params, null, {}, accessTokenDone);
+             ohauth.xhr('POST', url, params, null, {}, accessTokenDone);
              o.loading();
            }
 
            function accessTokenDone(err, xhr) {
              o.done();
              if (err) return callback(err);
              o.loading();
            }
 
            function accessTokenDone(err, xhr) {
              o.done();
              if (err) return callback(err);
-             var access_token = ohauth_1.stringQs(xhr.response);
+             var access_token = ohauth.stringQs(xhr.response);
              token('oauth_token', access_token.oauth_token);
              token('oauth_token_secret', access_token.oauth_token_secret);
              callback(null, oauth);
              token('oauth_token', access_token.oauth_token);
              token('oauth_token_secret', access_token.oauth_token_secret);
              callback(null, oauth);
                  params = timenonce(getAuth(o)),
                  request_token_secret = token('oauth_request_token_secret');
              params.oauth_token = oauth_token;
                  params = timenonce(getAuth(o)),
                  request_token_secret = token('oauth_request_token_secret');
              params.oauth_token = oauth_token;
-             params.oauth_signature = ohauth_1.signature(o.oauth_secret, request_token_secret, ohauth_1.baseString('POST', url, params)); // ## Getting an access token
+             params.oauth_signature = ohauth.signature(o.oauth_secret, request_token_secret, ohauth.baseString('POST', url, params)); // ## Getting an access token
              // The final token required for authentication. At this point
              // we have a `request token secret`
 
              // The final token required for authentication. At this point
              // we have a `request token secret`
 
-             ohauth_1.xhr('POST', url, params, null, {}, accessTokenDone);
+             ohauth.xhr('POST', url, params, null, {}, accessTokenDone);
              o.loading();
            }
 
            function accessTokenDone(err, xhr) {
              o.done();
              if (err) return callback(err);
              o.loading();
            }
 
            function accessTokenDone(err, xhr) {
              o.done();
              if (err) return callback(err);
-             var access_token = ohauth_1.stringQs(xhr.response);
+             var access_token = ohauth.stringQs(xhr.response);
              token('oauth_token', access_token.oauth_token);
              token('oauth_token_secret', access_token.oauth_token_secret);
              callback(null, oauth);
              token('oauth_token', access_token.oauth_token);
              token('oauth_token_secret', access_token.oauth_token_secret);
              callback(null, oauth);
                  query = url_parts.length === 2 ? url_parts[1] : ''; // https://tools.ietf.org/html/rfc5849#section-3.4.1.3.1
 
              if ((!options.options || !options.options.header || options.options.header['Content-Type'] === 'application/x-www-form-urlencoded') && options.content) {
                  query = url_parts.length === 2 ? url_parts[1] : ''; // https://tools.ietf.org/html/rfc5849#section-3.4.1.3.1
 
              if ((!options.options || !options.options.header || options.options.header['Content-Type'] === 'application/x-www-form-urlencoded') && options.content) {
-               params = immutable(params, ohauth_1.stringQs(options.content));
+               params = xtend(params, ohauth.stringQs(options.content));
              }
 
              params.oauth_token = token('oauth_token');
              }
 
              params.oauth_token = token('oauth_token');
-             params.oauth_signature = ohauth_1.signature(o.oauth_secret, oauth_token_secret, ohauth_1.baseString(options.method, base_url, immutable(params, ohauth_1.stringQs(query))));
-             return ohauth_1.xhr(options.method, url, params, options.content, options.options, done);
+             params.oauth_signature = ohauth.signature(o.oauth_secret, oauth_token_secret, ohauth.baseString(options.method, base_url, xtend(params, ohauth.stringQs(query))));
+             return ohauth.xhr(options.method, url, params, options.content, options.options, done);
            }
 
            function done(err, xhr) {
            }
 
            function done(err, xhr) {
 
 
          function timenonce(o) {
 
 
          function timenonce(o) {
-           o.oauth_timestamp = ohauth_1.timestamp();
-           o.oauth_nonce = ohauth_1.nonce();
+           o.oauth_timestamp = ohauth.timestamp();
+           o.oauth_nonce = ohauth.nonce();
            return o;
          } // get/set tokens. These are prefixed with the base URL so that `osm-auth`
          // can be used with multiple APIs and the keys in `localStorage`
            return o;
          } // get/set tokens. These are prefixed with the base URL so that `osm-auth`
          // can be used with multiple APIs and the keys in `localStorage`
 
          var token;
 
 
          var token;
 
-         if (store_legacy.enabled) {
+         if (store.enabled) {
            token = function token(x, y) {
            token = function token(x, y) {
-             if (arguments.length === 1) return store_legacy.get(o.url + x);else if (arguments.length === 2) return store_legacy.set(o.url + x, y);
+             if (arguments.length === 1) return store.get(o.url + x);else if (arguments.length === 2) return store.set(o.url + x, y);
            };
          } else {
            var storage = {};
            };
          } else {
            var storage = {};
            var disabled = operation.disabled();
 
            if (disabled) {
            var disabled = operation.disabled();
 
            if (disabled) {
-             if (disabled === 'restriction') {
-               return _t('operations.merge.restriction', {
-                 relation: _mainPresetIndex.item('type/restriction').name()
+             if (disabled === 'conflicting_relations') {
+               return _t('operations.merge.conflicting_relations');
+             }
+
+             if (disabled === 'restriction' || disabled === 'connectivity') {
+               return _t('operations.merge.damage_relation', {
+                 relation: _mainPresetIndex.item('type/' + disabled).name()
                });
              }
 
                });
              }
 
                  loc: choice.loc,
                  edge: [prev, next]
                }, osmNode()), _t('operations.add.annotation.vertex'));
                  loc: choice.loc,
                  edge: [prev, next]
                }, osmNode()), _t('operations.add.annotation.vertex'));
+               context.validator().validate();
              } else if (entity.type === 'midpoint') {
                context.perform(actionAddMidpoint({
                  loc: entity.loc,
                  edge: entity.edge
                }, osmNode()), _t('operations.add.annotation.vertex'));
              } else if (entity.type === 'midpoint') {
                context.perform(actionAddMidpoint({
                  loc: entity.loc,
                  edge: entity.edge
                }, osmNode()), _t('operations.add.annotation.vertex'));
+               context.validator().validate();
              }
            }
 
              }
            }
 
              /* don't delete untagged members */
              );
              context.perform(deleteAction, _t('operations.delete.annotation.relation'));
              /* don't delete untagged members */
              );
              context.perform(deleteAction, _t('operations.delete.annotation.relation'));
+             context.validator().validate();
            }
          };
 
            }
          };
 
                uiFieldCycleway: uiFieldCycleway,
                uiFieldLanes: uiFieldLanes,
                uiFieldLocalized: uiFieldLocalized,
                uiFieldCycleway: uiFieldCycleway,
                uiFieldLanes: uiFieldLanes,
                uiFieldLocalized: uiFieldLocalized,
+               uiFieldRoadheight: uiFieldRoadheight,
                uiFieldRoadspeed: uiFieldRoadspeed,
                uiFieldStructureRadio: uiFieldRadio,
                uiFieldRadio: uiFieldRadio,
                uiFieldRoadspeed: uiFieldRoadspeed,
                uiFieldStructureRadio: uiFieldRadio,
                uiFieldRadio: uiFieldRadio,
                utilDisplayLabel: utilDisplayLabel,
                utilEntityRoot: utilEntityRoot,
                utilEditDistance: utilEditDistance,
                utilDisplayLabel: utilDisplayLabel,
                utilEntityRoot: utilEntityRoot,
                utilEditDistance: utilEditDistance,
-               utilEntitySelector: utilEntitySelector,
+               utilEntityAndDeepMemberIDs: utilEntityAndDeepMemberIDs,
                utilEntityOrMemberSelector: utilEntityOrMemberSelector,
                utilEntityOrDeepMemberSelector: utilEntityOrDeepMemberSelector,
                utilEntityOrMemberSelector: utilEntityOrMemberSelector,
                utilEntityOrDeepMemberSelector: utilEntityOrDeepMemberSelector,
+               utilEntitySelector: utilEntitySelector,
                utilFastMouse: utilFastMouse,
                utilFastMouse: utilFastMouse,
-               utilFetchJson: utilFetchJson,
                utilFunctor: utilFunctor,
                utilGetAllNodes: utilGetAllNodes,
                utilGetSetValue: utilGetSetValue,
                utilFunctor: utilFunctor,
                utilGetAllNodes: utilGetAllNodes,
                utilGetSetValue: utilGetSetValue,