@vonage/vivid 3.0.0-next.119 → 3.0.0-next.120

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/README.md +11 -6
  2. package/accordion/index.js +4 -51
  3. package/accordion-item/index.js +11 -109
  4. package/action-group/index.js +4 -36
  5. package/avatar/index.js +8 -64
  6. package/badge/index.js +9 -48
  7. package/banner/index.js +15 -117
  8. package/breadcrumb/index.js +5 -97
  9. package/breadcrumb-item/index.js +14 -53
  10. package/button/index.js +14 -92
  11. package/calendar/index.js +5 -1520
  12. package/calendar-event/index.js +7 -107
  13. package/card/index.js +10 -117
  14. package/checkbox/index.js +13 -175
  15. package/custom-elements.json +1827 -8
  16. package/dialog/index.js +14 -227
  17. package/divider/index.js +4 -25
  18. package/elevation/index.js +4 -24
  19. package/fab/index.js +13 -89
  20. package/focus/index.js +4 -17
  21. package/header/index.js +7 -12
  22. package/icon/index.js +7 -28
  23. package/index.js +49 -55
  24. package/layout/index.js +4 -42
  25. package/lib/accordion/definition.d.ts +3 -0
  26. package/lib/accordion/index.d.ts +1 -2
  27. package/lib/accordion-item/definition.d.ts +3 -0
  28. package/lib/accordion-item/index.d.ts +1 -2
  29. package/lib/action-group/definition.d.ts +3 -0
  30. package/lib/action-group/index.d.ts +1 -2
  31. package/lib/avatar/definition.d.ts +3 -0
  32. package/lib/avatar/index.d.ts +1 -2
  33. package/lib/badge/definition.d.ts +3 -0
  34. package/lib/badge/index.d.ts +1 -2
  35. package/lib/banner/definition.d.ts +3 -0
  36. package/lib/banner/index.d.ts +1 -2
  37. package/lib/breadcrumb/definition.d.ts +3 -0
  38. package/lib/breadcrumb/index.d.ts +1 -2
  39. package/lib/breadcrumb-item/definition.d.ts +3 -0
  40. package/lib/breadcrumb-item/index.d.ts +1 -2
  41. package/lib/button/definition.d.ts +3 -0
  42. package/lib/calendar/definition.d.ts +3 -0
  43. package/lib/calendar/index.d.ts +1 -2
  44. package/lib/calendar-event/definition.d.ts +3 -0
  45. package/lib/calendar-event/index.d.ts +1 -2
  46. package/lib/card/definition.d.ts +3 -0
  47. package/lib/card/index.d.ts +1 -2
  48. package/lib/checkbox/definition.d.ts +3 -0
  49. package/lib/checkbox/index.d.ts +1 -2
  50. package/lib/components.d.ts +38 -38
  51. package/lib/dialog/definition.d.ts +3 -0
  52. package/lib/dialog/index.d.ts +1 -2
  53. package/lib/divider/definition.d.ts +3 -0
  54. package/lib/divider/index.d.ts +1 -2
  55. package/lib/elevation/definition.d.ts +3 -0
  56. package/lib/elevation/index.d.ts +1 -2
  57. package/lib/fab/definition.d.ts +3 -0
  58. package/lib/fab/index.d.ts +1 -2
  59. package/lib/focus/definition.d.ts +3 -0
  60. package/lib/focus/index.d.ts +1 -2
  61. package/lib/header/definition.d.ts +3 -0
  62. package/lib/header/index.d.ts +1 -2
  63. package/lib/icon/definition.d.ts +3 -0
  64. package/lib/icon/index.d.ts +1 -2
  65. package/lib/layout/definition.d.ts +3 -0
  66. package/lib/layout/index.d.ts +1 -2
  67. package/lib/listbox/definition.d.ts +3 -0
  68. package/lib/menu/definition.d.ts +7 -0
  69. package/lib/menu/index.d.ts +1 -10
  70. package/lib/menu-item/definition.d.ts +3 -0
  71. package/lib/menu-item/index.d.ts +1 -2
  72. package/lib/nav/definition.d.ts +3 -0
  73. package/lib/nav/index.d.ts +1 -2
  74. package/lib/nav-disclosure/definition.d.ts +3 -0
  75. package/lib/nav-disclosure/index.d.ts +1 -2
  76. package/lib/nav-item/definition.d.ts +3 -0
  77. package/lib/nav-item/index.d.ts +1 -2
  78. package/lib/note/definition.d.ts +3 -0
  79. package/lib/note/index.d.ts +1 -2
  80. package/lib/number-field/definition.d.ts +3 -0
  81. package/lib/number-field/index.d.ts +1 -2
  82. package/lib/option/definition.d.ts +3 -0
  83. package/lib/option/index.d.ts +1 -2
  84. package/lib/popup/definition.d.ts +4 -0
  85. package/lib/popup/index.d.ts +1 -2
  86. package/lib/progress/definition.d.ts +3 -0
  87. package/lib/progress/index.d.ts +1 -2
  88. package/lib/progress-ring/definition.d.ts +3 -0
  89. package/lib/progress-ring/index.d.ts +1 -2
  90. package/lib/radio/definition.d.ts +3 -0
  91. package/lib/radio/index.d.ts +1 -2
  92. package/lib/radio-group/definition.d.ts +7 -0
  93. package/lib/radio-group/index.d.ts +1 -10
  94. package/lib/side-drawer/definition.d.ts +3 -0
  95. package/lib/side-drawer/index.d.ts +1 -2
  96. package/lib/slider/definition.d.ts +3 -0
  97. package/lib/slider/index.d.ts +1 -2
  98. package/lib/switch/definition.d.ts +3 -0
  99. package/lib/switch/index.d.ts +1 -2
  100. package/lib/text-anchor/definition.d.ts +3 -0
  101. package/lib/text-anchor/index.d.ts +1 -2
  102. package/lib/text-area/definition.d.ts +3 -0
  103. package/lib/text-area/index.d.ts +1 -2
  104. package/lib/text-field/definition.d.ts +3 -0
  105. package/lib/text-field/index.d.ts +1 -2
  106. package/lib/tooltip/definition.d.ts +3 -0
  107. package/lib/tooltip/index.d.ts +1 -2
  108. package/listbox/index.js +18 -1080
  109. package/menu/index.js +27 -354
  110. package/menu-item/index.js +11 -81
  111. package/nav/index.js +3 -16
  112. package/nav-disclosure/index.js +13 -77
  113. package/nav-item/index.js +13 -35
  114. package/note/index.js +13 -60
  115. package/number-field/index.js +14 -16
  116. package/option/index.js +13 -68
  117. package/package.json +2 -2
  118. package/popup/index.js +17 -55
  119. package/progress/index.js +6 -92
  120. package/progress-ring/index.js +6 -75
  121. package/radio/index.js +8 -48
  122. package/radio-group/index.js +9 -433
  123. package/shared/anchor.js +1 -1
  124. package/shared/apply-mixins.js +1 -1
  125. package/shared/base-progress.js +1 -1
  126. package/shared/breadcrumb-item.js +1 -1
  127. package/shared/button.js +195 -18
  128. package/shared/calendar-event.js +1 -1
  129. package/shared/definition.js +53 -0
  130. package/shared/definition10.js +99 -0
  131. package/shared/definition11.js +48 -0
  132. package/shared/definition12.js +1523 -0
  133. package/shared/definition13.js +111 -0
  134. package/shared/definition14.js +114 -0
  135. package/shared/definition15.js +32 -0
  136. package/shared/definition16.js +172 -0
  137. package/shared/definition17.js +223 -0
  138. package/shared/{divider.js → definition18.js} +25 -2
  139. package/shared/definition19.js +87 -0
  140. package/shared/definition2.js +106 -0
  141. package/shared/definition20.js +44 -0
  142. package/shared/definition21.js +1078 -0
  143. package/shared/{listbox-option.js → definition22.js} +71 -11
  144. package/shared/definition23.js +348 -0
  145. package/shared/{popup.js → definition24.js} +46 -3
  146. package/shared/{menu-item.js → definition25.js} +87 -13
  147. package/shared/definition26.js +18 -0
  148. package/shared/definition27.js +75 -0
  149. package/shared/definition28.js +31 -0
  150. package/shared/definition29.js +56 -0
  151. package/shared/definition3.js +29 -0
  152. package/shared/definition30.js +94 -0
  153. package/shared/definition31.js +77 -0
  154. package/shared/definition32.js +45 -0
  155. package/shared/definition33.js +435 -0
  156. package/shared/definition34.js +86 -0
  157. package/shared/definition35.js +592 -0
  158. package/shared/definition36.js +147 -0
  159. package/shared/definition37.js +279 -0
  160. package/shared/definition38.js +119 -0
  161. package/shared/definition39.js +77 -0
  162. package/shared/definition4.js +19 -0
  163. package/shared/definition5.js +38 -0
  164. package/shared/definition6.js +60 -0
  165. package/shared/definition7.js +45 -0
  166. package/shared/definition8.js +113 -0
  167. package/shared/definition9.js +107 -0
  168. package/shared/design-system/index.d.ts +1 -2
  169. package/shared/es.object.assign.js +58 -1
  170. package/shared/es.regexp.to-string.js +2 -1
  171. package/shared/focus.js +3 -9
  172. package/shared/focus2.js +9 -3
  173. package/shared/form-associated.js +1 -1
  174. package/shared/form-elements.js +2 -2
  175. package/shared/icon.js +1096 -9
  176. package/shared/index.js +385 -2501
  177. package/shared/patterns/form-elements/form-elements.d.ts +2 -2
  178. package/shared/radio.js +1 -1
  179. package/shared/ref.js +1 -1
  180. package/shared/slotted.js +1 -1
  181. package/shared/string-trim.js +2 -1
  182. package/shared/text-anchor.template.js +1 -1
  183. package/shared/to-string.js +51 -0
  184. package/side-drawer/index.js +5 -84
  185. package/slider/index.js +14 -593
  186. package/styles/core/all.css +1 -1
  187. package/styles/core/theme.css +1 -1
  188. package/styles/core/typography.css +1 -1
  189. package/styles/tokens/theme-dark.css +4 -4
  190. package/styles/tokens/theme-light.css +4 -4
  191. package/switch/index.js +13 -149
  192. package/text-anchor/index.js +8 -7
  193. package/text-area/index.js +16 -282
  194. package/text-field/index.js +14 -121
  195. package/tooltip/index.js +24 -82
  196. package/vivid.api.json +1640 -850
  197. package/shared/button2.js +0 -200
  198. package/shared/elevation.js +0 -10
  199. package/shared/es.promise.resolve.js +0 -944
  200. package/shared/index2.js +0 -9
  201. package/shared/utils/index.d.ts +0 -1
package/shared/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
2
 
3
- var fails$d = function (exec) {
3
+ var fails$a = function (exec) {
4
4
  try {
5
5
  return !!exec();
6
6
  } catch (error) {
@@ -8,85 +8,85 @@ var fails$d = function (exec) {
8
8
  }
9
9
  };
10
10
 
11
- var fails$c = fails$d;
11
+ var fails$9 = fails$a;
12
12
 
13
- var functionBindNative = !fails$c(function () {
13
+ var functionBindNative = !fails$9(function () {
14
14
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
15
15
  var test = (function () { /* empty */ }).bind();
16
16
  // eslint-disable-next-line no-prototype-builtins -- safe
17
17
  return typeof test != 'function' || test.hasOwnProperty('prototype');
18
18
  });
19
19
 
20
- var NATIVE_BIND$2 = functionBindNative;
20
+ var NATIVE_BIND$1 = functionBindNative;
21
21
 
22
22
  var FunctionPrototype$1 = Function.prototype;
23
- var call$a = FunctionPrototype$1.call;
24
- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$1.bind.bind(call$a, call$a);
23
+ var call$5 = FunctionPrototype$1.call;
24
+ var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$5, call$5);
25
25
 
26
- var functionUncurryThisRaw = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
26
+ var functionUncurryThisRaw = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
27
27
  return function () {
28
- return call$a.apply(fn, arguments);
28
+ return call$5.apply(fn, arguments);
29
29
  };
30
30
  };
31
31
 
32
32
  var uncurryThisRaw$1 = functionUncurryThisRaw;
33
33
 
34
- var toString$4 = uncurryThisRaw$1({}.toString);
35
- var stringSlice$3 = uncurryThisRaw$1(''.slice);
34
+ var toString$1 = uncurryThisRaw$1({}.toString);
35
+ var stringSlice = uncurryThisRaw$1(''.slice);
36
36
 
37
- var classofRaw$2 = function (it) {
38
- return stringSlice$3(toString$4(it), 8, -1);
37
+ var classofRaw$1 = function (it) {
38
+ return stringSlice(toString$1(it), 8, -1);
39
39
  };
40
40
 
41
- var classofRaw$1 = classofRaw$2;
41
+ var classofRaw = classofRaw$1;
42
42
  var uncurryThisRaw = functionUncurryThisRaw;
43
43
 
44
44
  var functionUncurryThis = function (fn) {
45
45
  // Nashorn bug:
46
46
  // https://github.com/zloirock/core-js/issues/1128
47
47
  // https://github.com/zloirock/core-js/issues/1130
48
- if (classofRaw$1(fn) === 'Function') return uncurryThisRaw(fn);
48
+ if (classofRaw(fn) === 'Function') return uncurryThisRaw(fn);
49
49
  };
50
50
 
51
- var uncurryThis$e = functionUncurryThis;
52
- var fails$b = fails$d;
53
- var classof$5 = classofRaw$2;
51
+ var uncurryThis$7 = functionUncurryThis;
52
+ var fails$8 = fails$a;
53
+ var classof = classofRaw$1;
54
54
 
55
- var $Object$4 = Object;
56
- var split$3 = uncurryThis$e(''.split);
55
+ var $Object$3 = Object;
56
+ var split = uncurryThis$7(''.split);
57
57
 
58
58
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
59
- var indexedObject = fails$b(function () {
59
+ var indexedObject = fails$8(function () {
60
60
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
61
61
  // eslint-disable-next-line no-prototype-builtins -- safe
62
- return !$Object$4('z').propertyIsEnumerable(0);
62
+ return !$Object$3('z').propertyIsEnumerable(0);
63
63
  }) ? function (it) {
64
- return classof$5(it) == 'String' ? split$3(it, '') : $Object$4(it);
65
- } : $Object$4;
64
+ return classof(it) == 'String' ? split(it, '') : $Object$3(it);
65
+ } : $Object$3;
66
66
 
67
67
  // we can't use just `it == null` since of `document.all` special case
68
68
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
69
- var isNullOrUndefined$3 = function (it) {
69
+ var isNullOrUndefined$2 = function (it) {
70
70
  return it === null || it === undefined;
71
71
  };
72
72
 
73
- var isNullOrUndefined$2 = isNullOrUndefined$3;
73
+ var isNullOrUndefined$1 = isNullOrUndefined$2;
74
74
 
75
- var $TypeError$9 = TypeError;
75
+ var $TypeError$6 = TypeError;
76
76
 
77
77
  // `RequireObjectCoercible` abstract operation
78
78
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
79
- var requireObjectCoercible$3 = function (it) {
80
- if (isNullOrUndefined$2(it)) throw $TypeError$9("Can't call method on " + it);
79
+ var requireObjectCoercible$2 = function (it) {
80
+ if (isNullOrUndefined$1(it)) throw $TypeError$6("Can't call method on " + it);
81
81
  return it;
82
82
  };
83
83
 
84
84
  // toObject with fallback for non-array-like ES3 strings
85
- var IndexedObject$1 = indexedObject;
86
- var requireObjectCoercible$2 = requireObjectCoercible$3;
85
+ var IndexedObject = indexedObject;
86
+ var requireObjectCoercible$1 = requireObjectCoercible$2;
87
87
 
88
88
  var toIndexedObject$5 = function (it) {
89
- return IndexedObject$1(requireObjectCoercible$2(it));
89
+ return IndexedObject(requireObjectCoercible$1(it));
90
90
  };
91
91
 
92
92
  var check = function (it) {
@@ -94,7 +94,7 @@ var check = function (it) {
94
94
  };
95
95
 
96
96
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
97
- var global$d =
97
+ var global$b =
98
98
  // eslint-disable-next-line es/no-global-this -- safe
99
99
  check(typeof globalThis == 'object' && globalThis) ||
100
100
  check(typeof window == 'object' && window) ||
@@ -106,26 +106,24 @@ var global$d =
106
106
 
107
107
  var shared$3 = {exports: {}};
108
108
 
109
- var isPure = false;
110
-
111
- var global$c = global$d;
109
+ var global$a = global$b;
112
110
 
113
111
  // eslint-disable-next-line es/no-object-defineproperty -- safe
114
- var defineProperty$6 = Object.defineProperty;
112
+ var defineProperty$4 = Object.defineProperty;
115
113
 
116
114
  var defineGlobalProperty$3 = function (key, value) {
117
115
  try {
118
- defineProperty$6(global$c, key, { value: value, configurable: true, writable: true });
116
+ defineProperty$4(global$a, key, { value: value, configurable: true, writable: true });
119
117
  } catch (error) {
120
- global$c[key] = value;
118
+ global$a[key] = value;
121
119
  } return value;
122
120
  };
123
121
 
124
- var global$b = global$d;
122
+ var global$9 = global$b;
125
123
  var defineGlobalProperty$2 = defineGlobalProperty$3;
126
124
 
127
125
  var SHARED = '__core-js_shared__';
128
- var store$3 = global$b[SHARED] || defineGlobalProperty$2(SHARED, {});
126
+ var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});
129
127
 
130
128
  var sharedStore = store$3;
131
129
 
@@ -141,36 +139,36 @@ var store$2 = sharedStore;
141
139
  source: 'https://github.com/zloirock/core-js'
142
140
  });
143
141
 
144
- var requireObjectCoercible$1 = requireObjectCoercible$3;
142
+ var requireObjectCoercible = requireObjectCoercible$2;
145
143
 
146
- var $Object$3 = Object;
144
+ var $Object$2 = Object;
147
145
 
148
146
  // `ToObject` abstract operation
149
147
  // https://tc39.es/ecma262/#sec-toobject
150
- var toObject$4 = function (argument) {
151
- return $Object$3(requireObjectCoercible$1(argument));
148
+ var toObject$2 = function (argument) {
149
+ return $Object$2(requireObjectCoercible(argument));
152
150
  };
153
151
 
154
- var uncurryThis$d = functionUncurryThis;
155
- var toObject$3 = toObject$4;
152
+ var uncurryThis$6 = functionUncurryThis;
153
+ var toObject$1 = toObject$2;
156
154
 
157
- var hasOwnProperty = uncurryThis$d({}.hasOwnProperty);
155
+ var hasOwnProperty = uncurryThis$6({}.hasOwnProperty);
158
156
 
159
157
  // `HasOwnProperty` abstract operation
160
158
  // https://tc39.es/ecma262/#sec-hasownproperty
161
159
  // eslint-disable-next-line es/no-object-hasown -- safe
162
160
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
163
- return hasOwnProperty(toObject$3(it), key);
161
+ return hasOwnProperty(toObject$1(it), key);
164
162
  };
165
163
 
166
- var uncurryThis$c = functionUncurryThis;
164
+ var uncurryThis$5 = functionUncurryThis;
167
165
 
168
166
  var id = 0;
169
167
  var postfix = Math.random();
170
- var toString$3 = uncurryThis$c(1.0.toString);
168
+ var toString = uncurryThis$5(1.0.toString);
171
169
 
172
170
  var uid$2 = function (key) {
173
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
171
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
174
172
  };
175
173
 
176
174
  var documentAll$2 = typeof document == 'object' && document.all;
@@ -189,32 +187,32 @@ var documentAll$1 = $documentAll$1.all;
189
187
 
190
188
  // `IsCallable` abstract operation
191
189
  // https://tc39.es/ecma262/#sec-iscallable
192
- var isCallable$h = $documentAll$1.IS_HTMLDDA ? function (argument) {
190
+ var isCallable$e = $documentAll$1.IS_HTMLDDA ? function (argument) {
193
191
  return typeof argument == 'function' || argument === documentAll$1;
194
192
  } : function (argument) {
195
193
  return typeof argument == 'function';
196
194
  };
197
195
 
198
- var global$a = global$d;
199
- var isCallable$g = isCallable$h;
196
+ var global$8 = global$b;
197
+ var isCallable$d = isCallable$e;
200
198
 
201
199
  var aFunction = function (argument) {
202
- return isCallable$g(argument) ? argument : undefined;
200
+ return isCallable$d(argument) ? argument : undefined;
203
201
  };
204
202
 
205
- var getBuiltIn$5 = function (namespace, method) {
206
- return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
203
+ var getBuiltIn$4 = function (namespace, method) {
204
+ return arguments.length < 2 ? aFunction(global$8[namespace]) : global$8[namespace] && global$8[namespace][method];
207
205
  };
208
206
 
209
- var getBuiltIn$4 = getBuiltIn$5;
207
+ var getBuiltIn$3 = getBuiltIn$4;
210
208
 
211
- var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';
209
+ var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
212
210
 
213
- var global$9 = global$d;
211
+ var global$7 = global$b;
214
212
  var userAgent = engineUserAgent;
215
213
 
216
- var process = global$9.process;
217
- var Deno = global$9.Deno;
214
+ var process = global$7.process;
215
+ var Deno = global$7.Deno;
218
216
  var versions = process && process.versions || Deno && Deno.version;
219
217
  var v8 = versions && versions.v8;
220
218
  var match, version;
@@ -241,10 +239,10 @@ var engineV8Version = version;
241
239
  /* eslint-disable es/no-symbol -- required for testing */
242
240
 
243
241
  var V8_VERSION = engineV8Version;
244
- var fails$a = fails$d;
242
+ var fails$7 = fails$a;
245
243
 
246
244
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
247
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$a(function () {
245
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
248
246
  var symbol = Symbol();
249
247
  // Chrome 38 Symbol has incorrect toString conversion
250
248
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -261,22 +259,22 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
261
259
  && !Symbol.sham
262
260
  && typeof Symbol.iterator == 'symbol';
263
261
 
264
- var global$8 = global$d;
262
+ var global$6 = global$b;
265
263
  var shared$2 = shared$3.exports;
266
- var hasOwn$a = hasOwnProperty_1;
264
+ var hasOwn$8 = hasOwnProperty_1;
267
265
  var uid$1 = uid$2;
268
266
  var NATIVE_SYMBOL = symbolConstructorDetection;
269
267
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
270
268
 
271
269
  var WellKnownSymbolsStore = shared$2('wks');
272
- var Symbol$1 = global$8.Symbol;
270
+ var Symbol$1 = global$6.Symbol;
273
271
  var symbolFor = Symbol$1 && Symbol$1['for'];
274
272
  var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
275
273
 
276
- var wellKnownSymbol$c = function (name) {
277
- if (!hasOwn$a(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
274
+ var wellKnownSymbol$6 = function (name) {
275
+ if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
278
276
  var description = 'Symbol.' + name;
279
- if (NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)) {
277
+ if (NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)) {
280
278
  WellKnownSymbolsStore[name] = Symbol$1[name];
281
279
  } else if (USE_SYMBOL_AS_UID$1 && symbolFor) {
282
280
  WellKnownSymbolsStore[name] = symbolFor(description);
@@ -286,44 +284,44 @@ var wellKnownSymbol$c = function (name) {
286
284
  } return WellKnownSymbolsStore[name];
287
285
  };
288
286
 
289
- var isCallable$f = isCallable$h;
287
+ var isCallable$c = isCallable$e;
290
288
  var $documentAll = documentAll_1;
291
289
 
292
290
  var documentAll = $documentAll.all;
293
291
 
294
- var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {
295
- return typeof it == 'object' ? it !== null : isCallable$f(it) || it === documentAll;
292
+ var isObject$7 = $documentAll.IS_HTMLDDA ? function (it) {
293
+ return typeof it == 'object' ? it !== null : isCallable$c(it) || it === documentAll;
296
294
  } : function (it) {
297
- return typeof it == 'object' ? it !== null : isCallable$f(it);
295
+ return typeof it == 'object' ? it !== null : isCallable$c(it);
298
296
  };
299
297
 
300
- var isObject$7 = isObject$8;
298
+ var isObject$6 = isObject$7;
301
299
 
302
- var $String$3 = String;
303
- var $TypeError$8 = TypeError;
300
+ var $String$2 = String;
301
+ var $TypeError$5 = TypeError;
304
302
 
305
303
  // `Assert: Type(argument) is Object`
306
- var anObject$9 = function (argument) {
307
- if (isObject$7(argument)) return argument;
308
- throw $TypeError$8($String$3(argument) + ' is not an object');
304
+ var anObject$5 = function (argument) {
305
+ if (isObject$6(argument)) return argument;
306
+ throw $TypeError$5($String$2(argument) + ' is not an object');
309
307
  };
310
308
 
311
309
  var objectDefineProperties = {};
312
310
 
313
- var fails$9 = fails$d;
311
+ var fails$6 = fails$a;
314
312
 
315
313
  // Detect IE8's incomplete defineProperty implementation
316
- var descriptors = !fails$9(function () {
314
+ var descriptors = !fails$6(function () {
317
315
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
318
316
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
319
317
  });
320
318
 
321
- var DESCRIPTORS$b = descriptors;
322
- var fails$8 = fails$d;
319
+ var DESCRIPTORS$8 = descriptors;
320
+ var fails$5 = fails$a;
323
321
 
324
322
  // V8 ~ Chrome 36-
325
323
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
326
- var v8PrototypeDefineBug = DESCRIPTORS$b && fails$8(function () {
324
+ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$5(function () {
327
325
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
328
326
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
329
327
  value: 42,
@@ -333,123 +331,123 @@ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$8(function () {
333
331
 
334
332
  var objectDefineProperty = {};
335
333
 
336
- var global$7 = global$d;
337
- var isObject$6 = isObject$8;
334
+ var global$5 = global$b;
335
+ var isObject$5 = isObject$7;
338
336
 
339
- var document$1 = global$7.document;
337
+ var document$1 = global$5.document;
340
338
  // typeof document.createElement is 'object' in old IE
341
- var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
339
+ var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
342
340
 
343
341
  var documentCreateElement$2 = function (it) {
344
342
  return EXISTS$1 ? document$1.createElement(it) : {};
345
343
  };
346
344
 
347
- var DESCRIPTORS$a = descriptors;
348
- var fails$7 = fails$d;
345
+ var DESCRIPTORS$7 = descriptors;
346
+ var fails$4 = fails$a;
349
347
  var createElement = documentCreateElement$2;
350
348
 
351
349
  // Thanks to IE8 for its funny defineProperty
352
- var ie8DomDefine = !DESCRIPTORS$a && !fails$7(function () {
350
+ var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
353
351
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
354
352
  return Object.defineProperty(createElement('div'), 'a', {
355
353
  get: function () { return 7; }
356
354
  }).a != 7;
357
355
  });
358
356
 
359
- var NATIVE_BIND$1 = functionBindNative;
357
+ var NATIVE_BIND = functionBindNative;
360
358
 
361
- var call$9 = Function.prototype.call;
359
+ var call$4 = Function.prototype.call;
362
360
 
363
- var functionCall = NATIVE_BIND$1 ? call$9.bind(call$9) : function () {
364
- return call$9.apply(call$9, arguments);
361
+ var functionCall = NATIVE_BIND ? call$4.bind(call$4) : function () {
362
+ return call$4.apply(call$4, arguments);
365
363
  };
366
364
 
367
- var uncurryThis$b = functionUncurryThis;
365
+ var uncurryThis$4 = functionUncurryThis;
368
366
 
369
- var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
367
+ var objectIsPrototypeOf = uncurryThis$4({}.isPrototypeOf);
370
368
 
371
- var getBuiltIn$3 = getBuiltIn$5;
372
- var isCallable$e = isCallable$h;
373
- var isPrototypeOf$1 = objectIsPrototypeOf;
369
+ var getBuiltIn$2 = getBuiltIn$4;
370
+ var isCallable$b = isCallable$e;
371
+ var isPrototypeOf = objectIsPrototypeOf;
374
372
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
375
373
 
376
- var $Object$2 = Object;
374
+ var $Object$1 = Object;
377
375
 
378
376
  var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
379
377
  return typeof it == 'symbol';
380
378
  } : function (it) {
381
- var $Symbol = getBuiltIn$3('Symbol');
382
- return isCallable$e($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$2(it));
379
+ var $Symbol = getBuiltIn$2('Symbol');
380
+ return isCallable$b($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
383
381
  };
384
382
 
385
- var $String$2 = String;
383
+ var $String$1 = String;
386
384
 
387
- var tryToString$2 = function (argument) {
385
+ var tryToString$1 = function (argument) {
388
386
  try {
389
- return $String$2(argument);
387
+ return $String$1(argument);
390
388
  } catch (error) {
391
389
  return 'Object';
392
390
  }
393
391
  };
394
392
 
395
- var isCallable$d = isCallable$h;
396
- var tryToString$1 = tryToString$2;
393
+ var isCallable$a = isCallable$e;
394
+ var tryToString = tryToString$1;
397
395
 
398
- var $TypeError$7 = TypeError;
396
+ var $TypeError$4 = TypeError;
399
397
 
400
398
  // `Assert: IsCallable(argument) is true`
401
- var aCallable$3 = function (argument) {
402
- if (isCallable$d(argument)) return argument;
403
- throw $TypeError$7(tryToString$1(argument) + ' is not a function');
399
+ var aCallable$1 = function (argument) {
400
+ if (isCallable$a(argument)) return argument;
401
+ throw $TypeError$4(tryToString(argument) + ' is not a function');
404
402
  };
405
403
 
406
- var aCallable$2 = aCallable$3;
407
- var isNullOrUndefined$1 = isNullOrUndefined$3;
404
+ var aCallable = aCallable$1;
405
+ var isNullOrUndefined = isNullOrUndefined$2;
408
406
 
409
407
  // `GetMethod` abstract operation
410
408
  // https://tc39.es/ecma262/#sec-getmethod
411
- var getMethod$3 = function (V, P) {
409
+ var getMethod$1 = function (V, P) {
412
410
  var func = V[P];
413
- return isNullOrUndefined$1(func) ? undefined : aCallable$2(func);
411
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
414
412
  };
415
413
 
416
- var call$8 = functionCall;
417
- var isCallable$c = isCallable$h;
418
- var isObject$5 = isObject$8;
414
+ var call$3 = functionCall;
415
+ var isCallable$9 = isCallable$e;
416
+ var isObject$4 = isObject$7;
419
417
 
420
- var $TypeError$6 = TypeError;
418
+ var $TypeError$3 = TypeError;
421
419
 
422
420
  // `OrdinaryToPrimitive` abstract operation
423
421
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
424
422
  var ordinaryToPrimitive$1 = function (input, pref) {
425
423
  var fn, val;
426
- if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$5(val = call$8(fn, input))) return val;
427
- if (isCallable$c(fn = input.valueOf) && !isObject$5(val = call$8(fn, input))) return val;
428
- if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$5(val = call$8(fn, input))) return val;
429
- throw $TypeError$6("Can't convert object to primitive value");
424
+ if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
425
+ if (isCallable$9(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val;
426
+ if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
427
+ throw $TypeError$3("Can't convert object to primitive value");
430
428
  };
431
429
 
432
- var call$7 = functionCall;
433
- var isObject$4 = isObject$8;
430
+ var call$2 = functionCall;
431
+ var isObject$3 = isObject$7;
434
432
  var isSymbol$1 = isSymbol$2;
435
- var getMethod$2 = getMethod$3;
433
+ var getMethod = getMethod$1;
436
434
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
437
- var wellKnownSymbol$b = wellKnownSymbol$c;
435
+ var wellKnownSymbol$5 = wellKnownSymbol$6;
438
436
 
439
- var $TypeError$5 = TypeError;
440
- var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
437
+ var $TypeError$2 = TypeError;
438
+ var TO_PRIMITIVE = wellKnownSymbol$5('toPrimitive');
441
439
 
442
440
  // `ToPrimitive` abstract operation
443
441
  // https://tc39.es/ecma262/#sec-toprimitive
444
442
  var toPrimitive$1 = function (input, pref) {
445
- if (!isObject$4(input) || isSymbol$1(input)) return input;
446
- var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
443
+ if (!isObject$3(input) || isSymbol$1(input)) return input;
444
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
447
445
  var result;
448
446
  if (exoticToPrim) {
449
447
  if (pref === undefined) pref = 'default';
450
- result = call$7(exoticToPrim, input, pref);
451
- if (!isObject$4(result) || isSymbol$1(result)) return result;
452
- throw $TypeError$5("Can't convert object to primitive value");
448
+ result = call$2(exoticToPrim, input, pref);
449
+ if (!isObject$3(result) || isSymbol$1(result)) return result;
450
+ throw $TypeError$2("Can't convert object to primitive value");
453
451
  }
454
452
  if (pref === undefined) pref = 'number';
455
453
  return ordinaryToPrimitive(input, pref);
@@ -460,18 +458,18 @@ var isSymbol = isSymbol$2;
460
458
 
461
459
  // `ToPropertyKey` abstract operation
462
460
  // https://tc39.es/ecma262/#sec-topropertykey
463
- var toPropertyKey$3 = function (argument) {
461
+ var toPropertyKey$2 = function (argument) {
464
462
  var key = toPrimitive(argument, 'string');
465
463
  return isSymbol(key) ? key : key + '';
466
464
  };
467
465
 
468
- var DESCRIPTORS$9 = descriptors;
466
+ var DESCRIPTORS$6 = descriptors;
469
467
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
470
468
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
471
- var anObject$8 = anObject$9;
472
- var toPropertyKey$2 = toPropertyKey$3;
469
+ var anObject$4 = anObject$5;
470
+ var toPropertyKey$1 = toPropertyKey$2;
473
471
 
474
- var $TypeError$4 = TypeError;
472
+ var $TypeError$1 = TypeError;
475
473
  // eslint-disable-next-line es/no-object-defineproperty -- safe
476
474
  var $defineProperty = Object.defineProperty;
477
475
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -482,10 +480,10 @@ var WRITABLE = 'writable';
482
480
 
483
481
  // `Object.defineProperty` method
484
482
  // https://tc39.es/ecma262/#sec-object.defineproperty
485
- objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
486
- anObject$8(O);
487
- P = toPropertyKey$2(P);
488
- anObject$8(Attributes);
483
+ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
484
+ anObject$4(O);
485
+ P = toPropertyKey$1(P);
486
+ anObject$4(Attributes);
489
487
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
490
488
  var current = $getOwnPropertyDescriptor$1(O, P);
491
489
  if (current && current[WRITABLE]) {
@@ -498,79 +496,79 @@ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
498
496
  }
499
497
  } return $defineProperty(O, P, Attributes);
500
498
  } : $defineProperty : function defineProperty(O, P, Attributes) {
501
- anObject$8(O);
502
- P = toPropertyKey$2(P);
503
- anObject$8(Attributes);
499
+ anObject$4(O);
500
+ P = toPropertyKey$1(P);
501
+ anObject$4(Attributes);
504
502
  if (IE8_DOM_DEFINE$1) try {
505
503
  return $defineProperty(O, P, Attributes);
506
504
  } catch (error) { /* empty */ }
507
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$4('Accessors not supported');
505
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');
508
506
  if ('value' in Attributes) O[P] = Attributes.value;
509
507
  return O;
510
508
  };
511
509
 
512
510
  var ceil = Math.ceil;
513
- var floor$3 = Math.floor;
511
+ var floor = Math.floor;
514
512
 
515
513
  // `Math.trunc` method
516
514
  // https://tc39.es/ecma262/#sec-math.trunc
517
515
  // eslint-disable-next-line es/no-math-trunc -- safe
518
516
  var mathTrunc = Math.trunc || function trunc(x) {
519
517
  var n = +x;
520
- return (n > 0 ? floor$3 : ceil)(n);
518
+ return (n > 0 ? floor : ceil)(n);
521
519
  };
522
520
 
523
521
  var trunc = mathTrunc;
524
522
 
525
523
  // `ToIntegerOrInfinity` abstract operation
526
524
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
527
- var toIntegerOrInfinity$3 = function (argument) {
525
+ var toIntegerOrInfinity$2 = function (argument) {
528
526
  var number = +argument;
529
527
  // eslint-disable-next-line no-self-compare -- NaN check
530
528
  return number !== number || number === 0 ? 0 : trunc(number);
531
529
  };
532
530
 
533
- var toIntegerOrInfinity$2 = toIntegerOrInfinity$3;
531
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
534
532
 
535
- var max$1 = Math.max;
533
+ var max = Math.max;
536
534
  var min$1 = Math.min;
537
535
 
538
536
  // Helper for a popular repeating case of the spec:
539
537
  // Let integer be ? ToInteger(index).
540
538
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
541
- var toAbsoluteIndex$2 = function (index, length) {
542
- var integer = toIntegerOrInfinity$2(index);
543
- return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
539
+ var toAbsoluteIndex$1 = function (index, length) {
540
+ var integer = toIntegerOrInfinity$1(index);
541
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
544
542
  };
545
543
 
546
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$3;
544
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
547
545
 
548
546
  var min = Math.min;
549
547
 
550
548
  // `ToLength` abstract operation
551
549
  // https://tc39.es/ecma262/#sec-tolength
552
550
  var toLength$1 = function (argument) {
553
- return argument > 0 ? min(toIntegerOrInfinity$1(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
551
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
554
552
  };
555
553
 
556
554
  var toLength = toLength$1;
557
555
 
558
556
  // `LengthOfArrayLike` abstract operation
559
557
  // https://tc39.es/ecma262/#sec-lengthofarraylike
560
- var lengthOfArrayLike$3 = function (obj) {
558
+ var lengthOfArrayLike$1 = function (obj) {
561
559
  return toLength(obj.length);
562
560
  };
563
561
 
564
562
  var toIndexedObject$4 = toIndexedObject$5;
565
- var toAbsoluteIndex$1 = toAbsoluteIndex$2;
566
- var lengthOfArrayLike$2 = lengthOfArrayLike$3;
563
+ var toAbsoluteIndex = toAbsoluteIndex$1;
564
+ var lengthOfArrayLike = lengthOfArrayLike$1;
567
565
 
568
566
  // `Array.prototype.{ indexOf, includes }` methods implementation
569
- var createMethod$1 = function (IS_INCLUDES) {
567
+ var createMethod = function (IS_INCLUDES) {
570
568
  return function ($this, el, fromIndex) {
571
569
  var O = toIndexedObject$4($this);
572
- var length = lengthOfArrayLike$2(O);
573
- var index = toAbsoluteIndex$1(fromIndex, length);
570
+ var length = lengthOfArrayLike(O);
571
+ var index = toAbsoluteIndex(fromIndex, length);
574
572
  var value;
575
573
  // Array#includes uses SameValueZero equality algorithm
576
574
  // eslint-disable-next-line no-self-compare -- NaN check
@@ -588,31 +586,31 @@ var createMethod$1 = function (IS_INCLUDES) {
588
586
  var arrayIncludes = {
589
587
  // `Array.prototype.includes` method
590
588
  // https://tc39.es/ecma262/#sec-array.prototype.includes
591
- includes: createMethod$1(true),
589
+ includes: createMethod(true),
592
590
  // `Array.prototype.indexOf` method
593
591
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
594
- indexOf: createMethod$1(false)
592
+ indexOf: createMethod(false)
595
593
  };
596
594
 
597
595
  var hiddenKeys$4 = {};
598
596
 
599
- var uncurryThis$a = functionUncurryThis;
600
- var hasOwn$9 = hasOwnProperty_1;
597
+ var uncurryThis$3 = functionUncurryThis;
598
+ var hasOwn$7 = hasOwnProperty_1;
601
599
  var toIndexedObject$3 = toIndexedObject$5;
602
600
  var indexOf = arrayIncludes.indexOf;
603
601
  var hiddenKeys$3 = hiddenKeys$4;
604
602
 
605
- var push$3 = uncurryThis$a([].push);
603
+ var push = uncurryThis$3([].push);
606
604
 
607
605
  var objectKeysInternal = function (object, names) {
608
606
  var O = toIndexedObject$3(object);
609
607
  var i = 0;
610
608
  var result = [];
611
609
  var key;
612
- for (key in O) !hasOwn$9(hiddenKeys$3, key) && hasOwn$9(O, key) && push$3(result, key);
610
+ for (key in O) !hasOwn$7(hiddenKeys$3, key) && hasOwn$7(O, key) && push(result, key);
613
611
  // Don't enum bug & hidden keys
614
- while (names.length > i) if (hasOwn$9(O, key = names[i++])) {
615
- ~indexOf(result, key) || push$3(result, key);
612
+ while (names.length > i) if (hasOwn$7(O, key = names[i++])) {
613
+ ~indexOf(result, key) || push(result, key);
616
614
  }
617
615
  return result;
618
616
  };
@@ -634,34 +632,34 @@ var enumBugKeys$2 = enumBugKeys$3;
634
632
  // `Object.keys` method
635
633
  // https://tc39.es/ecma262/#sec-object.keys
636
634
  // eslint-disable-next-line es/no-object-keys -- safe
637
- var objectKeys$2 = Object.keys || function keys(O) {
635
+ var objectKeys$1 = Object.keys || function keys(O) {
638
636
  return internalObjectKeys$1(O, enumBugKeys$2);
639
637
  };
640
638
 
641
- var DESCRIPTORS$8 = descriptors;
639
+ var DESCRIPTORS$5 = descriptors;
642
640
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
643
- var definePropertyModule$4 = objectDefineProperty;
644
- var anObject$7 = anObject$9;
641
+ var definePropertyModule$3 = objectDefineProperty;
642
+ var anObject$3 = anObject$5;
645
643
  var toIndexedObject$2 = toIndexedObject$5;
646
- var objectKeys$1 = objectKeys$2;
644
+ var objectKeys = objectKeys$1;
647
645
 
648
646
  // `Object.defineProperties` method
649
647
  // https://tc39.es/ecma262/#sec-object.defineproperties
650
648
  // eslint-disable-next-line es/no-object-defineproperties -- safe
651
- objectDefineProperties.f = DESCRIPTORS$8 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
652
- anObject$7(O);
649
+ objectDefineProperties.f = DESCRIPTORS$5 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
650
+ anObject$3(O);
653
651
  var props = toIndexedObject$2(Properties);
654
- var keys = objectKeys$1(Properties);
652
+ var keys = objectKeys(Properties);
655
653
  var length = keys.length;
656
654
  var index = 0;
657
655
  var key;
658
- while (length > index) definePropertyModule$4.f(O, key = keys[index++], props[key]);
656
+ while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
659
657
  return O;
660
658
  };
661
659
 
662
- var getBuiltIn$2 = getBuiltIn$5;
660
+ var getBuiltIn$1 = getBuiltIn$4;
663
661
 
664
- var html$2 = getBuiltIn$2('document', 'documentElement');
662
+ var html$2 = getBuiltIn$1('document', 'documentElement');
665
663
 
666
664
  var shared$1 = shared$3.exports;
667
665
  var uid = uid$2;
@@ -674,7 +672,7 @@ var sharedKey$3 = function (key) {
674
672
 
675
673
  /* global ActiveXObject -- old IE, WSH */
676
674
 
677
- var anObject$6 = anObject$9;
675
+ var anObject$2 = anObject$5;
678
676
  var definePropertiesModule = objectDefineProperties;
679
677
  var enumBugKeys$1 = enumBugKeys$3;
680
678
  var hiddenKeys$2 = hiddenKeys$4;
@@ -748,7 +746,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
748
746
  var objectCreate = Object.create || function create(O, Properties) {
749
747
  var result;
750
748
  if (O !== null) {
751
- EmptyConstructor[PROTOTYPE] = anObject$6(O);
749
+ EmptyConstructor[PROTOTYPE] = anObject$2(O);
752
750
  result = new EmptyConstructor();
753
751
  EmptyConstructor[PROTOTYPE] = null;
754
752
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -757,37 +755,37 @@ var objectCreate = Object.create || function create(O, Properties) {
757
755
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
758
756
  };
759
757
 
760
- var wellKnownSymbol$a = wellKnownSymbol$c;
761
- var create$3 = objectCreate;
762
- var defineProperty$5 = objectDefineProperty.f;
758
+ var wellKnownSymbol$4 = wellKnownSymbol$6;
759
+ var create$2 = objectCreate;
760
+ var defineProperty$3 = objectDefineProperty.f;
763
761
 
764
- var UNSCOPABLES = wellKnownSymbol$a('unscopables');
765
- var ArrayPrototype$1 = Array.prototype;
762
+ var UNSCOPABLES = wellKnownSymbol$4('unscopables');
763
+ var ArrayPrototype = Array.prototype;
766
764
 
767
765
  // Array.prototype[@@unscopables]
768
766
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
769
- if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
770
- defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
767
+ if (ArrayPrototype[UNSCOPABLES] == undefined) {
768
+ defineProperty$3(ArrayPrototype, UNSCOPABLES, {
771
769
  configurable: true,
772
- value: create$3(null)
770
+ value: create$2(null)
773
771
  });
774
772
  }
775
773
 
776
774
  // add a key to Array.prototype[@@unscopables]
777
775
  var addToUnscopables$1 = function (key) {
778
- ArrayPrototype$1[UNSCOPABLES][key] = true;
776
+ ArrayPrototype[UNSCOPABLES][key] = true;
779
777
  };
780
778
 
781
779
  var iterators = {};
782
780
 
783
- var global$6 = global$d;
784
- var isCallable$b = isCallable$h;
781
+ var global$4 = global$b;
782
+ var isCallable$8 = isCallable$e;
785
783
 
786
- var WeakMap$2 = global$6.WeakMap;
784
+ var WeakMap$2 = global$4.WeakMap;
787
785
 
788
- var weakMapBasicDetection = isCallable$b(WeakMap$2) && /native code/.test(String(WeakMap$2));
786
+ var weakMapBasicDetection = isCallable$8(WeakMap$2) && /native code/.test(String(WeakMap$2));
789
787
 
790
- var createPropertyDescriptor$5 = function (bitmap, value) {
788
+ var createPropertyDescriptor$3 = function (bitmap, value) {
791
789
  return {
792
790
  enumerable: !(bitmap & 1),
793
791
  configurable: !(bitmap & 2),
@@ -796,29 +794,29 @@ var createPropertyDescriptor$5 = function (bitmap, value) {
796
794
  };
797
795
  };
798
796
 
799
- var DESCRIPTORS$7 = descriptors;
800
- var definePropertyModule$3 = objectDefineProperty;
801
- var createPropertyDescriptor$4 = createPropertyDescriptor$5;
797
+ var DESCRIPTORS$4 = descriptors;
798
+ var definePropertyModule$2 = objectDefineProperty;
799
+ var createPropertyDescriptor$2 = createPropertyDescriptor$3;
802
800
 
803
- var createNonEnumerableProperty$4 = DESCRIPTORS$7 ? function (object, key, value) {
804
- return definePropertyModule$3.f(object, key, createPropertyDescriptor$4(1, value));
801
+ var createNonEnumerableProperty$4 = DESCRIPTORS$4 ? function (object, key, value) {
802
+ return definePropertyModule$2.f(object, key, createPropertyDescriptor$2(1, value));
805
803
  } : function (object, key, value) {
806
804
  object[key] = value;
807
805
  return object;
808
806
  };
809
807
 
810
808
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
811
- var global$5 = global$d;
812
- var isObject$3 = isObject$8;
809
+ var global$3 = global$b;
810
+ var isObject$2 = isObject$7;
813
811
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
814
- var hasOwn$8 = hasOwnProperty_1;
812
+ var hasOwn$6 = hasOwnProperty_1;
815
813
  var shared = sharedStore;
816
814
  var sharedKey$1 = sharedKey$3;
817
815
  var hiddenKeys$1 = hiddenKeys$4;
818
816
 
819
817
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
820
- var TypeError$3 = global$5.TypeError;
821
- var WeakMap$1 = global$5.WeakMap;
818
+ var TypeError$1 = global$3.TypeError;
819
+ var WeakMap$1 = global$3.WeakMap;
822
820
  var set, get, has;
823
821
 
824
822
  var enforce = function (it) {
@@ -828,8 +826,8 @@ var enforce = function (it) {
828
826
  var getterFor = function (TYPE) {
829
827
  return function (it) {
830
828
  var state;
831
- if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
832
- throw TypeError$3('Incompatible receiver, ' + TYPE + ' required');
829
+ if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
830
+ throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
833
831
  } return state;
834
832
  };
835
833
  };
@@ -842,7 +840,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
842
840
  store$1.set = store$1.set;
843
841
  /* eslint-enable no-self-assign -- prototype methods protection */
844
842
  set = function (it, metadata) {
845
- if (store$1.has(it)) throw TypeError$3(OBJECT_ALREADY_INITIALIZED);
843
+ if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
846
844
  metadata.facade = it;
847
845
  store$1.set(it, metadata);
848
846
  return metadata;
@@ -857,16 +855,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
857
855
  var STATE = sharedKey$1('state');
858
856
  hiddenKeys$1[STATE] = true;
859
857
  set = function (it, metadata) {
860
- if (hasOwn$8(it, STATE)) throw TypeError$3(OBJECT_ALREADY_INITIALIZED);
858
+ if (hasOwn$6(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
861
859
  metadata.facade = it;
862
860
  createNonEnumerableProperty$3(it, STATE, metadata);
863
861
  return metadata;
864
862
  };
865
863
  get = function (it) {
866
- return hasOwn$8(it, STATE) ? it[STATE] : {};
864
+ return hasOwn$6(it, STATE) ? it[STATE] : {};
867
865
  };
868
866
  has = function (it) {
869
- return hasOwn$8(it, STATE);
867
+ return hasOwn$6(it, STATE);
870
868
  };
871
869
  }
872
870
 
@@ -884,25 +882,25 @@ var objectPropertyIsEnumerable = {};
884
882
 
885
883
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
886
884
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
887
- var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
885
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
888
886
 
889
887
  // Nashorn ~ JDK8 bug
890
- var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
888
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
891
889
 
892
890
  // `Object.prototype.propertyIsEnumerable` method implementation
893
891
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
894
892
  objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
895
- var descriptor = getOwnPropertyDescriptor$2(this, V);
893
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
896
894
  return !!descriptor && descriptor.enumerable;
897
895
  } : $propertyIsEnumerable;
898
896
 
899
- var DESCRIPTORS$6 = descriptors;
900
- var call$6 = functionCall;
901
- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
902
- var createPropertyDescriptor$3 = createPropertyDescriptor$5;
897
+ var DESCRIPTORS$3 = descriptors;
898
+ var call$1 = functionCall;
899
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
900
+ var createPropertyDescriptor$1 = createPropertyDescriptor$3;
903
901
  var toIndexedObject$1 = toIndexedObject$5;
904
- var toPropertyKey$1 = toPropertyKey$3;
905
- var hasOwn$7 = hasOwnProperty_1;
902
+ var toPropertyKey = toPropertyKey$2;
903
+ var hasOwn$5 = hasOwnProperty_1;
906
904
  var IE8_DOM_DEFINE = ie8DomDefine;
907
905
 
908
906
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -910,28 +908,28 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
910
908
 
911
909
  // `Object.getOwnPropertyDescriptor` method
912
910
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
913
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
911
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$3 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
914
912
  O = toIndexedObject$1(O);
915
- P = toPropertyKey$1(P);
913
+ P = toPropertyKey(P);
916
914
  if (IE8_DOM_DEFINE) try {
917
915
  return $getOwnPropertyDescriptor(O, P);
918
916
  } catch (error) { /* empty */ }
919
- if (hasOwn$7(O, P)) return createPropertyDescriptor$3(!call$6(propertyIsEnumerableModule$1.f, O, P), O[P]);
917
+ if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule.f, O, P), O[P]);
920
918
  };
921
919
 
922
- var makeBuiltIn$3 = {exports: {}};
920
+ var makeBuiltIn$2 = {exports: {}};
923
921
 
924
- var DESCRIPTORS$5 = descriptors;
925
- var hasOwn$6 = hasOwnProperty_1;
922
+ var DESCRIPTORS$2 = descriptors;
923
+ var hasOwn$4 = hasOwnProperty_1;
926
924
 
927
925
  var FunctionPrototype = Function.prototype;
928
926
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
929
- var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
927
+ var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
930
928
 
931
- var EXISTS = hasOwn$6(FunctionPrototype, 'name');
929
+ var EXISTS = hasOwn$4(FunctionPrototype, 'name');
932
930
  // additional protection from minified / mangled / dropped function names
933
931
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
934
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
932
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
935
933
 
936
934
  var functionName = {
937
935
  EXISTS: EXISTS,
@@ -939,81 +937,81 @@ var functionName = {
939
937
  CONFIGURABLE: CONFIGURABLE
940
938
  };
941
939
 
942
- var uncurryThis$9 = functionUncurryThis;
943
- var isCallable$a = isCallable$h;
940
+ var uncurryThis$2 = functionUncurryThis;
941
+ var isCallable$7 = isCallable$e;
944
942
  var store = sharedStore;
945
943
 
946
- var functionToString = uncurryThis$9(Function.toString);
944
+ var functionToString = uncurryThis$2(Function.toString);
947
945
 
948
946
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
949
- if (!isCallable$a(store.inspectSource)) {
947
+ if (!isCallable$7(store.inspectSource)) {
950
948
  store.inspectSource = function (it) {
951
949
  return functionToString(it);
952
950
  };
953
951
  }
954
952
 
955
- var inspectSource$2 = store.inspectSource;
953
+ var inspectSource$1 = store.inspectSource;
956
954
 
957
- var fails$6 = fails$d;
958
- var isCallable$9 = isCallable$h;
959
- var hasOwn$5 = hasOwnProperty_1;
960
- var DESCRIPTORS$4 = descriptors;
955
+ var fails$3 = fails$a;
956
+ var isCallable$6 = isCallable$e;
957
+ var hasOwn$3 = hasOwnProperty_1;
958
+ var DESCRIPTORS$1 = descriptors;
961
959
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
962
- var inspectSource$1 = inspectSource$2;
963
- var InternalStateModule$4 = internalState;
960
+ var inspectSource = inspectSource$1;
961
+ var InternalStateModule$1 = internalState;
964
962
 
965
- var enforceInternalState = InternalStateModule$4.enforce;
966
- var getInternalState$2 = InternalStateModule$4.get;
963
+ var enforceInternalState = InternalStateModule$1.enforce;
964
+ var getInternalState$1 = InternalStateModule$1.get;
967
965
  // eslint-disable-next-line es/no-object-defineproperty -- safe
968
- var defineProperty$4 = Object.defineProperty;
966
+ var defineProperty$2 = Object.defineProperty;
969
967
 
970
- var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$6(function () {
971
- return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
968
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$3(function () {
969
+ return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
972
970
  });
973
971
 
974
972
  var TEMPLATE = String(String).split('String');
975
973
 
976
- var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
974
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
977
975
  if (String(name).slice(0, 7) === 'Symbol(') {
978
976
  name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
979
977
  }
980
978
  if (options && options.getter) name = 'get ' + name;
981
979
  if (options && options.setter) name = 'set ' + name;
982
- if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
983
- if (DESCRIPTORS$4) defineProperty$4(value, 'name', { value: name, configurable: true });
980
+ if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
981
+ if (DESCRIPTORS$1) defineProperty$2(value, 'name', { value: name, configurable: true });
984
982
  else value.name = name;
985
983
  }
986
- if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
987
- defineProperty$4(value, 'length', { value: options.arity });
984
+ if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
985
+ defineProperty$2(value, 'length', { value: options.arity });
988
986
  }
989
987
  try {
990
- if (options && hasOwn$5(options, 'constructor') && options.constructor) {
991
- if (DESCRIPTORS$4) defineProperty$4(value, 'prototype', { writable: false });
988
+ if (options && hasOwn$3(options, 'constructor') && options.constructor) {
989
+ if (DESCRIPTORS$1) defineProperty$2(value, 'prototype', { writable: false });
992
990
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
993
991
  } else if (value.prototype) value.prototype = undefined;
994
992
  } catch (error) { /* empty */ }
995
993
  var state = enforceInternalState(value);
996
- if (!hasOwn$5(state, 'source')) {
994
+ if (!hasOwn$3(state, 'source')) {
997
995
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
998
996
  } return value;
999
997
  };
1000
998
 
1001
999
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1002
1000
  // eslint-disable-next-line no-extend-native -- required
1003
- Function.prototype.toString = makeBuiltIn$2(function toString() {
1004
- return isCallable$9(this) && getInternalState$2(this).source || inspectSource$1(this);
1001
+ Function.prototype.toString = makeBuiltIn$1(function toString() {
1002
+ return isCallable$6(this) && getInternalState$1(this).source || inspectSource(this);
1005
1003
  }, 'toString');
1006
1004
 
1007
- var isCallable$8 = isCallable$h;
1008
- var definePropertyModule$2 = objectDefineProperty;
1009
- var makeBuiltIn$1 = makeBuiltIn$3.exports;
1005
+ var isCallable$5 = isCallable$e;
1006
+ var definePropertyModule$1 = objectDefineProperty;
1007
+ var makeBuiltIn = makeBuiltIn$2.exports;
1010
1008
  var defineGlobalProperty$1 = defineGlobalProperty$3;
1011
1009
 
1012
- var defineBuiltIn$6 = function (O, key, value, options) {
1010
+ var defineBuiltIn$3 = function (O, key, value, options) {
1013
1011
  if (!options) options = {};
1014
1012
  var simple = options.enumerable;
1015
1013
  var name = options.name !== undefined ? options.name : key;
1016
- if (isCallable$8(value)) makeBuiltIn$1(value, name, options);
1014
+ if (isCallable$5(value)) makeBuiltIn(value, name, options);
1017
1015
  if (options.global) {
1018
1016
  if (simple) O[key] = value;
1019
1017
  else defineGlobalProperty$1(key, value);
@@ -1023,7 +1021,7 @@ var defineBuiltIn$6 = function (O, key, value, options) {
1023
1021
  else if (O[key]) simple = true;
1024
1022
  } catch (error) { /* empty */ }
1025
1023
  if (simple) O[key] = value;
1026
- else definePropertyModule$2.f(O, key, {
1024
+ else definePropertyModule$1.f(O, key, {
1027
1025
  value: value,
1028
1026
  enumerable: false,
1029
1027
  configurable: !options.nonConfigurable,
@@ -1051,40 +1049,40 @@ var objectGetOwnPropertySymbols = {};
1051
1049
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1052
1050
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1053
1051
 
1054
- var getBuiltIn$1 = getBuiltIn$5;
1055
- var uncurryThis$8 = functionUncurryThis;
1052
+ var getBuiltIn = getBuiltIn$4;
1053
+ var uncurryThis$1 = functionUncurryThis;
1056
1054
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1057
- var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1058
- var anObject$5 = anObject$9;
1055
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1056
+ var anObject$1 = anObject$5;
1059
1057
 
1060
- var concat$1 = uncurryThis$8([].concat);
1058
+ var concat = uncurryThis$1([].concat);
1061
1059
 
1062
1060
  // all object keys, includes non-enumerable and symbols
1063
- var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
1064
- var keys = getOwnPropertyNamesModule.f(anObject$5(it));
1065
- var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1066
- return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
1061
+ var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
1062
+ var keys = getOwnPropertyNamesModule.f(anObject$1(it));
1063
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1064
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
1067
1065
  };
1068
1066
 
1069
- var hasOwn$4 = hasOwnProperty_1;
1067
+ var hasOwn$2 = hasOwnProperty_1;
1070
1068
  var ownKeys = ownKeys$1;
1071
1069
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1072
- var definePropertyModule$1 = objectDefineProperty;
1070
+ var definePropertyModule = objectDefineProperty;
1073
1071
 
1074
1072
  var copyConstructorProperties$1 = function (target, source, exceptions) {
1075
1073
  var keys = ownKeys(source);
1076
- var defineProperty = definePropertyModule$1.f;
1074
+ var defineProperty = definePropertyModule.f;
1077
1075
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1078
1076
  for (var i = 0; i < keys.length; i++) {
1079
1077
  var key = keys[i];
1080
- if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
1078
+ if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
1081
1079
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1082
1080
  }
1083
1081
  }
1084
1082
  };
1085
1083
 
1086
- var fails$5 = fails$d;
1087
- var isCallable$7 = isCallable$h;
1084
+ var fails$2 = fails$a;
1085
+ var isCallable$4 = isCallable$e;
1088
1086
 
1089
1087
  var replacement = /#|\.prototype\./;
1090
1088
 
@@ -1092,7 +1090,7 @@ var isForced$1 = function (feature, detection) {
1092
1090
  var value = data[normalize(feature)];
1093
1091
  return value == POLYFILL ? true
1094
1092
  : value == NATIVE ? false
1095
- : isCallable$7(detection) ? fails$5(detection)
1093
+ : isCallable$4(detection) ? fails$2(detection)
1096
1094
  : !!detection;
1097
1095
  };
1098
1096
 
@@ -1106,10 +1104,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
1106
1104
 
1107
1105
  var isForced_1 = isForced$1;
1108
1106
 
1109
- var global$4 = global$d;
1110
- var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
1107
+ var global$2 = global$b;
1108
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1111
1109
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
1112
- var defineBuiltIn$5 = defineBuiltIn$6;
1110
+ var defineBuiltIn$2 = defineBuiltIn$3;
1113
1111
  var defineGlobalProperty = defineGlobalProperty$3;
1114
1112
  var copyConstructorProperties = copyConstructorProperties$1;
1115
1113
  var isForced = isForced_1;
@@ -1135,16 +1133,16 @@ var _export = function (options, source) {
1135
1133
  var STATIC = options.stat;
1136
1134
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1137
1135
  if (GLOBAL) {
1138
- target = global$4;
1136
+ target = global$2;
1139
1137
  } else if (STATIC) {
1140
- target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
1138
+ target = global$2[TARGET] || defineGlobalProperty(TARGET, {});
1141
1139
  } else {
1142
- target = (global$4[TARGET] || {}).prototype;
1140
+ target = (global$2[TARGET] || {}).prototype;
1143
1141
  }
1144
1142
  if (target) for (key in source) {
1145
1143
  sourceProperty = source[key];
1146
1144
  if (options.dontCallGetSet) {
1147
- descriptor = getOwnPropertyDescriptor$1(target, key);
1145
+ descriptor = getOwnPropertyDescriptor(target, key);
1148
1146
  targetProperty = descriptor && descriptor.value;
1149
1147
  } else targetProperty = target[key];
1150
1148
  FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
@@ -1157,49 +1155,49 @@ var _export = function (options, source) {
1157
1155
  if (options.sham || (targetProperty && targetProperty.sham)) {
1158
1156
  createNonEnumerableProperty$2(sourceProperty, 'sham', true);
1159
1157
  }
1160
- defineBuiltIn$5(target, key, sourceProperty, options);
1158
+ defineBuiltIn$2(target, key, sourceProperty, options);
1161
1159
  }
1162
1160
  };
1163
1161
 
1164
- var fails$4 = fails$d;
1162
+ var fails$1 = fails$a;
1165
1163
 
1166
- var correctPrototypeGetter = !fails$4(function () {
1164
+ var correctPrototypeGetter = !fails$1(function () {
1167
1165
  function F() { /* empty */ }
1168
1166
  F.prototype.constructor = null;
1169
1167
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1170
1168
  return Object.getPrototypeOf(new F()) !== F.prototype;
1171
1169
  });
1172
1170
 
1173
- var hasOwn$3 = hasOwnProperty_1;
1174
- var isCallable$6 = isCallable$h;
1175
- var toObject$2 = toObject$4;
1171
+ var hasOwn$1 = hasOwnProperty_1;
1172
+ var isCallable$3 = isCallable$e;
1173
+ var toObject = toObject$2;
1176
1174
  var sharedKey = sharedKey$3;
1177
1175
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1178
1176
 
1179
1177
  var IE_PROTO = sharedKey('IE_PROTO');
1180
- var $Object$1 = Object;
1181
- var ObjectPrototype = $Object$1.prototype;
1178
+ var $Object = Object;
1179
+ var ObjectPrototype = $Object.prototype;
1182
1180
 
1183
1181
  // `Object.getPrototypeOf` method
1184
1182
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1185
1183
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1186
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1187
- var object = toObject$2(O);
1188
- if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
1184
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
1185
+ var object = toObject(O);
1186
+ if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
1189
1187
  var constructor = object.constructor;
1190
- if (isCallable$6(constructor) && object instanceof constructor) {
1188
+ if (isCallable$3(constructor) && object instanceof constructor) {
1191
1189
  return constructor.prototype;
1192
- } return object instanceof $Object$1 ? ObjectPrototype : null;
1190
+ } return object instanceof $Object ? ObjectPrototype : null;
1193
1191
  };
1194
1192
 
1195
- var fails$3 = fails$d;
1196
- var isCallable$5 = isCallable$h;
1197
- var isObject$2 = isObject$8;
1193
+ var fails = fails$a;
1194
+ var isCallable$2 = isCallable$e;
1195
+ var isObject$1 = isObject$7;
1198
1196
  var getPrototypeOf$1 = objectGetPrototypeOf;
1199
- var defineBuiltIn$4 = defineBuiltIn$6;
1200
- var wellKnownSymbol$9 = wellKnownSymbol$c;
1197
+ var defineBuiltIn$1 = defineBuiltIn$3;
1198
+ var wellKnownSymbol$3 = wellKnownSymbol$6;
1201
1199
 
1202
- var ITERATOR$6 = wellKnownSymbol$9('iterator');
1200
+ var ITERATOR$2 = wellKnownSymbol$3('iterator');
1203
1201
  var BUGGY_SAFARI_ITERATORS$1 = false;
1204
1202
 
1205
1203
  // `%IteratorPrototype%` object
@@ -1217,18 +1215,18 @@ if ([].keys) {
1217
1215
  }
1218
1216
  }
1219
1217
 
1220
- var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$3(function () {
1218
+ var NEW_ITERATOR_PROTOTYPE = !isObject$1(IteratorPrototype$2) || fails(function () {
1221
1219
  var test = {};
1222
1220
  // FF44- legacy iterators case
1223
- return IteratorPrototype$2[ITERATOR$6].call(test) !== test;
1221
+ return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
1224
1222
  });
1225
1223
 
1226
1224
  if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1227
1225
 
1228
1226
  // `%IteratorPrototype%[@@iterator]()` method
1229
1227
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1230
- if (!isCallable$5(IteratorPrototype$2[ITERATOR$6])) {
1231
- defineBuiltIn$4(IteratorPrototype$2, ITERATOR$6, function () {
1228
+ if (!isCallable$2(IteratorPrototype$2[ITERATOR$2])) {
1229
+ defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {
1232
1230
  return this;
1233
1231
  });
1234
1232
  }
@@ -1238,49 +1236,49 @@ var iteratorsCore = {
1238
1236
  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1239
1237
  };
1240
1238
 
1241
- var defineProperty$3 = objectDefineProperty.f;
1242
- var hasOwn$2 = hasOwnProperty_1;
1243
- var wellKnownSymbol$8 = wellKnownSymbol$c;
1239
+ var defineProperty$1 = objectDefineProperty.f;
1240
+ var hasOwn = hasOwnProperty_1;
1241
+ var wellKnownSymbol$2 = wellKnownSymbol$6;
1244
1242
 
1245
- var TO_STRING_TAG$3 = wellKnownSymbol$8('toStringTag');
1243
+ var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
1246
1244
 
1247
- var setToStringTag$4 = function (target, TAG, STATIC) {
1245
+ var setToStringTag$2 = function (target, TAG, STATIC) {
1248
1246
  if (target && !STATIC) target = target.prototype;
1249
- if (target && !hasOwn$2(target, TO_STRING_TAG$3)) {
1250
- defineProperty$3(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
1247
+ if (target && !hasOwn(target, TO_STRING_TAG$1)) {
1248
+ defineProperty$1(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
1251
1249
  }
1252
1250
  };
1253
1251
 
1254
1252
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1255
- var create$2 = objectCreate;
1256
- var createPropertyDescriptor$2 = createPropertyDescriptor$5;
1257
- var setToStringTag$3 = setToStringTag$4;
1258
- var Iterators$4 = iterators;
1253
+ var create$1 = objectCreate;
1254
+ var createPropertyDescriptor = createPropertyDescriptor$3;
1255
+ var setToStringTag$1 = setToStringTag$2;
1256
+ var Iterators$2 = iterators;
1259
1257
 
1260
1258
  var returnThis$1 = function () { return this; };
1261
1259
 
1262
1260
  var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1263
1261
  var TO_STRING_TAG = NAME + ' Iterator';
1264
- IteratorConstructor.prototype = create$2(IteratorPrototype$1, { next: createPropertyDescriptor$2(+!ENUMERABLE_NEXT, next) });
1265
- setToStringTag$3(IteratorConstructor, TO_STRING_TAG, false);
1266
- Iterators$4[TO_STRING_TAG] = returnThis$1;
1262
+ IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
1263
+ setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);
1264
+ Iterators$2[TO_STRING_TAG] = returnThis$1;
1267
1265
  return IteratorConstructor;
1268
1266
  };
1269
1267
 
1270
- var isCallable$4 = isCallable$h;
1268
+ var isCallable$1 = isCallable$e;
1271
1269
 
1272
- var $String$1 = String;
1273
- var $TypeError$3 = TypeError;
1270
+ var $String = String;
1271
+ var $TypeError = TypeError;
1274
1272
 
1275
1273
  var aPossiblePrototype$1 = function (argument) {
1276
- if (typeof argument == 'object' || isCallable$4(argument)) return argument;
1277
- throw $TypeError$3("Can't set " + $String$1(argument) + ' as a prototype');
1274
+ if (typeof argument == 'object' || isCallable$1(argument)) return argument;
1275
+ throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
1278
1276
  };
1279
1277
 
1280
1278
  /* eslint-disable no-proto -- safe */
1281
1279
 
1282
- var uncurryThis$7 = functionUncurryThis;
1283
- var anObject$4 = anObject$9;
1280
+ var uncurryThis = functionUncurryThis;
1281
+ var anObject = anObject$5;
1284
1282
  var aPossiblePrototype = aPossiblePrototype$1;
1285
1283
 
1286
1284
  // `Object.setPrototypeOf` method
@@ -1293,12 +1291,12 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1293
1291
  var setter;
1294
1292
  try {
1295
1293
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1296
- setter = uncurryThis$7(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1294
+ setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1297
1295
  setter(test, []);
1298
1296
  CORRECT_SETTER = test instanceof Array;
1299
1297
  } catch (error) { /* empty */ }
1300
1298
  return function setPrototypeOf(O, proto) {
1301
- anObject$4(O);
1299
+ anObject(O);
1302
1300
  aPossiblePrototype(proto);
1303
1301
  if (CORRECT_SETTER) setter(O, proto);
1304
1302
  else O.__proto__ = proto;
@@ -1306,25 +1304,25 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1306
1304
  };
1307
1305
  }() : undefined);
1308
1306
 
1309
- var $$2 = _export;
1310
- var call$5 = functionCall;
1307
+ var $ = _export;
1308
+ var call = functionCall;
1311
1309
  var FunctionName = functionName;
1312
- var isCallable$3 = isCallable$h;
1313
- var createIteratorConstructor$1 = iteratorCreateConstructor;
1310
+ var isCallable = isCallable$e;
1311
+ var createIteratorConstructor = iteratorCreateConstructor;
1314
1312
  var getPrototypeOf = objectGetPrototypeOf;
1315
1313
  var setPrototypeOf = objectSetPrototypeOf;
1316
- var setToStringTag$2 = setToStringTag$4;
1314
+ var setToStringTag = setToStringTag$2;
1317
1315
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
1318
- var defineBuiltIn$3 = defineBuiltIn$6;
1319
- var wellKnownSymbol$7 = wellKnownSymbol$c;
1320
- var Iterators$3 = iterators;
1316
+ var defineBuiltIn = defineBuiltIn$3;
1317
+ var wellKnownSymbol$1 = wellKnownSymbol$6;
1318
+ var Iterators$1 = iterators;
1321
1319
  var IteratorsCore = iteratorsCore;
1322
1320
 
1323
1321
  var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1324
1322
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1325
1323
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
1326
1324
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1327
- var ITERATOR$5 = wellKnownSymbol$7('iterator');
1325
+ var ITERATOR$1 = wellKnownSymbol$1('iterator');
1328
1326
  var KEYS = 'keys';
1329
1327
  var VALUES = 'values';
1330
1328
  var ENTRIES = 'entries';
@@ -1332,7 +1330,7 @@ var ENTRIES = 'entries';
1332
1330
  var returnThis = function () { return this; };
1333
1331
 
1334
1332
  var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1335
- createIteratorConstructor$1(IteratorConstructor, NAME, next);
1333
+ createIteratorConstructor(IteratorConstructor, NAME, next);
1336
1334
 
1337
1335
  var getIterationMethod = function (KIND) {
1338
1336
  if (KIND === DEFAULT && defaultIterator) return defaultIterator;
@@ -1347,7 +1345,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1347
1345
  var TO_STRING_TAG = NAME + ' Iterator';
1348
1346
  var INCORRECT_VALUES_NAME = false;
1349
1347
  var IterablePrototype = Iterable.prototype;
1350
- var nativeIterator = IterablePrototype[ITERATOR$5]
1348
+ var nativeIterator = IterablePrototype[ITERATOR$1]
1351
1349
  || IterablePrototype['@@iterator']
1352
1350
  || DEFAULT && IterablePrototype[DEFAULT];
1353
1351
  var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
@@ -1361,12 +1359,12 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1361
1359
  if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1362
1360
  if (setPrototypeOf) {
1363
1361
  setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1364
- } else if (!isCallable$3(CurrentIteratorPrototype[ITERATOR$5])) {
1365
- defineBuiltIn$3(CurrentIteratorPrototype, ITERATOR$5, returnThis);
1362
+ } else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
1363
+ defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1366
1364
  }
1367
1365
  }
1368
1366
  // Set @@toStringTag to native iterators
1369
- setToStringTag$2(CurrentIteratorPrototype, TO_STRING_TAG, true);
1367
+ setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
1370
1368
  }
1371
1369
  }
1372
1370
 
@@ -1376,7 +1374,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1376
1374
  createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
1377
1375
  } else {
1378
1376
  INCORRECT_VALUES_NAME = true;
1379
- defaultIterator = function values() { return call$5(nativeIterator, this); };
1377
+ defaultIterator = function values() { return call(nativeIterator, this); };
1380
1378
  }
1381
1379
  }
1382
1380
 
@@ -1389,38 +1387,38 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1389
1387
  };
1390
1388
  if (FORCED) for (KEY in methods) {
1391
1389
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1392
- defineBuiltIn$3(IterablePrototype, KEY, methods[KEY]);
1390
+ defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
1393
1391
  }
1394
- } else $$2({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1392
+ } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1395
1393
  }
1396
1394
 
1397
1395
  // define iterator
1398
- if (IterablePrototype[ITERATOR$5] !== defaultIterator) {
1399
- defineBuiltIn$3(IterablePrototype, ITERATOR$5, defaultIterator, { name: DEFAULT });
1396
+ if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
1397
+ defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1400
1398
  }
1401
- Iterators$3[NAME] = defaultIterator;
1399
+ Iterators$1[NAME] = defaultIterator;
1402
1400
 
1403
1401
  return methods;
1404
1402
  };
1405
1403
 
1406
1404
  // `CreateIterResultObject` abstract operation
1407
1405
  // https://tc39.es/ecma262/#sec-createiterresultobject
1408
- var createIterResultObject$2 = function (value, done) {
1406
+ var createIterResultObject$1 = function (value, done) {
1409
1407
  return { value: value, done: done };
1410
1408
  };
1411
1409
 
1412
1410
  var toIndexedObject = toIndexedObject$5;
1413
1411
  var addToUnscopables = addToUnscopables$1;
1414
- var Iterators$2 = iterators;
1415
- var InternalStateModule$3 = internalState;
1416
- var defineProperty$2 = objectDefineProperty.f;
1417
- var defineIterator$1 = iteratorDefine;
1418
- var createIterResultObject$1 = createIterResultObject$2;
1419
- var DESCRIPTORS$3 = descriptors;
1412
+ var Iterators = iterators;
1413
+ var InternalStateModule = internalState;
1414
+ var defineProperty = objectDefineProperty.f;
1415
+ var defineIterator = iteratorDefine;
1416
+ var createIterResultObject = createIterResultObject$1;
1417
+ var DESCRIPTORS = descriptors;
1420
1418
 
1421
1419
  var ARRAY_ITERATOR = 'Array Iterator';
1422
- var setInternalState$3 = InternalStateModule$3.set;
1423
- var getInternalState$1 = InternalStateModule$3.getterFor(ARRAY_ITERATOR);
1420
+ var setInternalState = InternalStateModule.set;
1421
+ var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
1424
1422
 
1425
1423
  // `Array.prototype.entries` method
1426
1424
  // https://tc39.es/ecma262/#sec-array.prototype.entries
@@ -1432,8 +1430,8 @@ var getInternalState$1 = InternalStateModule$3.getterFor(ARRAY_ITERATOR);
1432
1430
  // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
1433
1431
  // `CreateArrayIterator` internal method
1434
1432
  // https://tc39.es/ecma262/#sec-createarrayiterator
1435
- var es_array_iterator = defineIterator$1(Array, 'Array', function (iterated, kind) {
1436
- setInternalState$3(this, {
1433
+ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
1434
+ setInternalState(this, {
1437
1435
  type: ARRAY_ITERATOR,
1438
1436
  target: toIndexedObject(iterated), // target
1439
1437
  index: 0, // next index
@@ -1442,23 +1440,23 @@ var es_array_iterator = defineIterator$1(Array, 'Array', function (iterated, kin
1442
1440
  // `%ArrayIteratorPrototype%.next` method
1443
1441
  // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
1444
1442
  }, function () {
1445
- var state = getInternalState$1(this);
1443
+ var state = getInternalState(this);
1446
1444
  var target = state.target;
1447
1445
  var kind = state.kind;
1448
1446
  var index = state.index++;
1449
1447
  if (!target || index >= target.length) {
1450
1448
  state.target = undefined;
1451
- return createIterResultObject$1(undefined, true);
1449
+ return createIterResultObject(undefined, true);
1452
1450
  }
1453
- if (kind == 'keys') return createIterResultObject$1(index, false);
1454
- if (kind == 'values') return createIterResultObject$1(target[index], false);
1455
- return createIterResultObject$1([index, target[index]], false);
1451
+ if (kind == 'keys') return createIterResultObject(index, false);
1452
+ if (kind == 'values') return createIterResultObject(target[index], false);
1453
+ return createIterResultObject([index, target[index]], false);
1456
1454
  }, 'values');
1457
1455
 
1458
1456
  // argumentsList[@@iterator] is %ArrayProto_values%
1459
1457
  // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
1460
1458
  // https://tc39.es/ecma262/#sec-createmappedargumentsobject
1461
- var values = Iterators$2.Arguments = Iterators$2.Array;
1459
+ var values = Iterators.Arguments = Iterators.Array;
1462
1460
 
1463
1461
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1464
1462
  addToUnscopables('keys');
@@ -1466,8 +1464,8 @@ addToUnscopables('values');
1466
1464
  addToUnscopables('entries');
1467
1465
 
1468
1466
  // V8 ~ Chrome 45- bug
1469
- if (DESCRIPTORS$3 && values.name !== 'values') try {
1470
- defineProperty$2(values, 'name', { value: 'values' });
1467
+ if (DESCRIPTORS && values.name !== 'values') try {
1468
+ defineProperty(values, 'name', { value: 'values' });
1471
1469
  } catch (error) { /* empty */ }
1472
1470
 
1473
1471
  // iterable DOM collections
@@ -1514,27 +1512,27 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1514
1512
 
1515
1513
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1516
1514
 
1517
- var global$3 = global$d;
1515
+ var global$1 = global$b;
1518
1516
  var DOMIterables = domIterables;
1519
1517
  var DOMTokenListPrototype = domTokenListPrototype;
1520
1518
  var ArrayIteratorMethods = es_array_iterator;
1521
1519
  var createNonEnumerableProperty = createNonEnumerableProperty$4;
1522
- var wellKnownSymbol$6 = wellKnownSymbol$c;
1520
+ var wellKnownSymbol = wellKnownSymbol$6;
1523
1521
 
1524
- var ITERATOR$4 = wellKnownSymbol$6('iterator');
1525
- var TO_STRING_TAG$2 = wellKnownSymbol$6('toStringTag');
1522
+ var ITERATOR = wellKnownSymbol('iterator');
1523
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1526
1524
  var ArrayValues = ArrayIteratorMethods.values;
1527
1525
 
1528
1526
  var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1529
1527
  if (CollectionPrototype) {
1530
1528
  // some Chrome versions have non-configurable methods on DOMTokenList
1531
- if (CollectionPrototype[ITERATOR$4] !== ArrayValues) try {
1532
- createNonEnumerableProperty(CollectionPrototype, ITERATOR$4, ArrayValues);
1529
+ if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
1530
+ createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
1533
1531
  } catch (error) {
1534
- CollectionPrototype[ITERATOR$4] = ArrayValues;
1532
+ CollectionPrototype[ITERATOR] = ArrayValues;
1535
1533
  }
1536
- if (!CollectionPrototype[TO_STRING_TAG$2]) {
1537
- createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG$2, COLLECTION_NAME);
1534
+ if (!CollectionPrototype[TO_STRING_TAG]) {
1535
+ createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
1538
1536
  }
1539
1537
  if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1540
1538
  // some Chrome versions have non-configurable methods on DOMTokenList
@@ -1548,2126 +1546,11 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1548
1546
  };
1549
1547
 
1550
1548
  for (var COLLECTION_NAME in DOMIterables) {
1551
- handlePrototype(global$3[COLLECTION_NAME] && global$3[COLLECTION_NAME].prototype, COLLECTION_NAME);
1549
+ handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
1552
1550
  }
1553
1551
 
1554
1552
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1555
1553
 
1556
- var wellKnownSymbol$5 = wellKnownSymbol$c;
1557
-
1558
- var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
1559
- var test = {};
1560
-
1561
- test[TO_STRING_TAG$1] = 'z';
1562
-
1563
- var toStringTagSupport = String(test) === '[object z]';
1564
-
1565
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1566
- var isCallable$2 = isCallable$h;
1567
- var classofRaw = classofRaw$2;
1568
- var wellKnownSymbol$4 = wellKnownSymbol$c;
1569
-
1570
- var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');
1571
- var $Object = Object;
1572
-
1573
- // ES3 wrong here
1574
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1575
-
1576
- // fallback for IE11 Script Access Denied error
1577
- var tryGet = function (it, key) {
1578
- try {
1579
- return it[key];
1580
- } catch (error) { /* empty */ }
1581
- };
1582
-
1583
- // getting tag from ES6+ `Object.prototype.toString`
1584
- var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1585
- var O, tag, result;
1586
- return it === undefined ? 'Undefined' : it === null ? 'Null'
1587
- // @@toStringTag case
1588
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1589
- // builtinTag case
1590
- : CORRECT_ARGUMENTS ? classofRaw(O)
1591
- // ES3 arguments fallback
1592
- : (result = classofRaw(O)) == 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
1593
- };
1594
-
1595
- var classof$3 = classof$4;
1596
-
1597
- var $String = String;
1598
-
1599
- var toString$2 = function (argument) {
1600
- if (classof$3(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1601
- return $String(argument);
1602
- };
1603
-
1604
- var uncurryThis$6 = functionUncurryThis;
1605
- var toIntegerOrInfinity = toIntegerOrInfinity$3;
1606
- var toString$1 = toString$2;
1607
- var requireObjectCoercible = requireObjectCoercible$3;
1608
-
1609
- var charAt$3 = uncurryThis$6(''.charAt);
1610
- var charCodeAt$1 = uncurryThis$6(''.charCodeAt);
1611
- var stringSlice$2 = uncurryThis$6(''.slice);
1612
-
1613
- var createMethod = function (CONVERT_TO_STRING) {
1614
- return function ($this, pos) {
1615
- var S = toString$1(requireObjectCoercible($this));
1616
- var position = toIntegerOrInfinity(pos);
1617
- var size = S.length;
1618
- var first, second;
1619
- if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
1620
- first = charCodeAt$1(S, position);
1621
- return first < 0xD800 || first > 0xDBFF || position + 1 === size
1622
- || (second = charCodeAt$1(S, position + 1)) < 0xDC00 || second > 0xDFFF
1623
- ? CONVERT_TO_STRING
1624
- ? charAt$3(S, position)
1625
- : first
1626
- : CONVERT_TO_STRING
1627
- ? stringSlice$2(S, position, position + 2)
1628
- : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
1629
- };
1630
- };
1631
-
1632
- var stringMultibyte = {
1633
- // `String.prototype.codePointAt` method
1634
- // https://tc39.es/ecma262/#sec-string.prototype.codepointat
1635
- codeAt: createMethod(false),
1636
- // `String.prototype.at` method
1637
- // https://github.com/mathiasbynens/String.prototype.at
1638
- charAt: createMethod(true)
1639
- };
1640
-
1641
- var charAt$2 = stringMultibyte.charAt;
1642
- var toString = toString$2;
1643
- var InternalStateModule$2 = internalState;
1644
- var defineIterator = iteratorDefine;
1645
- var createIterResultObject = createIterResultObject$2;
1646
-
1647
- var STRING_ITERATOR = 'String Iterator';
1648
- var setInternalState$2 = InternalStateModule$2.set;
1649
- var getInternalState = InternalStateModule$2.getterFor(STRING_ITERATOR);
1650
-
1651
- // `String.prototype[@@iterator]` method
1652
- // https://tc39.es/ecma262/#sec-string.prototype-@@iterator
1653
- defineIterator(String, 'String', function (iterated) {
1654
- setInternalState$2(this, {
1655
- type: STRING_ITERATOR,
1656
- string: toString(iterated),
1657
- index: 0
1658
- });
1659
- // `%StringIteratorPrototype%.next` method
1660
- // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
1661
- }, function next() {
1662
- var state = getInternalState(this);
1663
- var string = state.string;
1664
- var index = state.index;
1665
- var point;
1666
- if (index >= string.length) return createIterResultObject(undefined, true);
1667
- point = charAt$2(string, index);
1668
- state.index += point.length;
1669
- return createIterResultObject(point, false);
1670
- });
1671
-
1672
- var fails$2 = fails$d;
1673
- var wellKnownSymbol$3 = wellKnownSymbol$c;
1674
- var IS_PURE = isPure;
1675
-
1676
- var ITERATOR$3 = wellKnownSymbol$3('iterator');
1677
-
1678
- var urlConstructorDetection = !fails$2(function () {
1679
- // eslint-disable-next-line unicorn/relative-url-style -- required for testing
1680
- var url = new URL('b?a=1&b=2&c=3', 'http://a');
1681
- var searchParams = url.searchParams;
1682
- var result = '';
1683
- url.pathname = 'c%20d';
1684
- searchParams.forEach(function (value, key) {
1685
- searchParams['delete']('b');
1686
- result += key + value;
1687
- });
1688
- return (IS_PURE && !url.toJSON)
1689
- || !searchParams.sort
1690
- || url.href !== 'http://a/c%20d?a=1&c=3'
1691
- || searchParams.get('c') !== '3'
1692
- || String(new URLSearchParams('?a=1')) !== 'a=1'
1693
- || !searchParams[ITERATOR$3]
1694
- // throws in Edge
1695
- || new URL('https://a@b').username !== 'a'
1696
- || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
1697
- // not punycoded in Edge
1698
- || new URL('http://тест').host !== 'xn--e1aybc'
1699
- // not escaped in Chrome 62-
1700
- || new URL('http://a#б').hash !== '#%D0%B1'
1701
- // fails in Chrome 66-
1702
- || result !== 'a1c3'
1703
- // throws in Safari
1704
- || new URL('http://x', undefined).host !== 'x';
1705
- });
1706
-
1707
- var uncurryThis$5 = functionUncurryThis;
1708
- var aCallable$1 = aCallable$3;
1709
- var NATIVE_BIND = functionBindNative;
1710
-
1711
- var bind$3 = uncurryThis$5(uncurryThis$5.bind);
1712
-
1713
- // optional / simple context binding
1714
- var functionBindContext = function (fn, that) {
1715
- aCallable$1(fn);
1716
- return that === undefined ? fn : NATIVE_BIND ? bind$3(fn, that) : function (/* ...args */) {
1717
- return fn.apply(that, arguments);
1718
- };
1719
- };
1720
-
1721
- var makeBuiltIn = makeBuiltIn$3.exports;
1722
- var defineProperty$1 = objectDefineProperty;
1723
-
1724
- var defineBuiltInAccessor$1 = function (target, name, descriptor) {
1725
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1726
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1727
- return defineProperty$1.f(target, name, descriptor);
1728
- };
1729
-
1730
- var isPrototypeOf = objectIsPrototypeOf;
1731
-
1732
- var $TypeError$2 = TypeError;
1733
-
1734
- var anInstance$2 = function (it, Prototype) {
1735
- if (isPrototypeOf(Prototype, it)) return it;
1736
- throw $TypeError$2('Incorrect invocation');
1737
- };
1738
-
1739
- var DESCRIPTORS$2 = descriptors;
1740
- var uncurryThis$4 = functionUncurryThis;
1741
- var call$4 = functionCall;
1742
- var fails$1 = fails$d;
1743
- var objectKeys = objectKeys$2;
1744
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1745
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1746
- var toObject$1 = toObject$4;
1747
- var IndexedObject = indexedObject;
1748
-
1749
- // eslint-disable-next-line es/no-object-assign -- safe
1750
- var $assign = Object.assign;
1751
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1752
- var defineProperty = Object.defineProperty;
1753
- var concat = uncurryThis$4([].concat);
1754
-
1755
- // `Object.assign` method
1756
- // https://tc39.es/ecma262/#sec-object.assign
1757
- var objectAssign = !$assign || fails$1(function () {
1758
- // should have correct order of operations (Edge bug)
1759
- if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1760
- enumerable: true,
1761
- get: function () {
1762
- defineProperty(this, 'b', {
1763
- value: 3,
1764
- enumerable: false
1765
- });
1766
- }
1767
- }), { b: 2 })).b !== 1) return true;
1768
- // should work with symbols and should have deterministic property order (V8 bug)
1769
- var A = {};
1770
- var B = {};
1771
- // eslint-disable-next-line es/no-symbol -- safe
1772
- var symbol = Symbol();
1773
- var alphabet = 'abcdefghijklmnopqrst';
1774
- A[symbol] = 7;
1775
- alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1776
- return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
1777
- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1778
- var T = toObject$1(target);
1779
- var argumentsLength = arguments.length;
1780
- var index = 1;
1781
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1782
- var propertyIsEnumerable = propertyIsEnumerableModule.f;
1783
- while (argumentsLength > index) {
1784
- var S = IndexedObject(arguments[index++]);
1785
- var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1786
- var length = keys.length;
1787
- var j = 0;
1788
- var key;
1789
- while (length > j) {
1790
- key = keys[j++];
1791
- if (!DESCRIPTORS$2 || call$4(propertyIsEnumerable, S, key)) T[key] = S[key];
1792
- }
1793
- } return T;
1794
- } : $assign;
1795
-
1796
- var call$3 = functionCall;
1797
- var anObject$3 = anObject$9;
1798
- var getMethod$1 = getMethod$3;
1799
-
1800
- var iteratorClose$1 = function (iterator, kind, value) {
1801
- var innerResult, innerError;
1802
- anObject$3(iterator);
1803
- try {
1804
- innerResult = getMethod$1(iterator, 'return');
1805
- if (!innerResult) {
1806
- if (kind === 'throw') throw value;
1807
- return value;
1808
- }
1809
- innerResult = call$3(innerResult, iterator);
1810
- } catch (error) {
1811
- innerError = true;
1812
- innerResult = error;
1813
- }
1814
- if (kind === 'throw') throw value;
1815
- if (innerError) throw innerResult;
1816
- anObject$3(innerResult);
1817
- return value;
1818
- };
1819
-
1820
- var anObject$2 = anObject$9;
1821
- var iteratorClose = iteratorClose$1;
1822
-
1823
- // call something on iterator step with safe closing on error
1824
- var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
1825
- try {
1826
- return ENTRIES ? fn(anObject$2(value)[0], value[1]) : fn(value);
1827
- } catch (error) {
1828
- iteratorClose(iterator, 'throw', error);
1829
- }
1830
- };
1831
-
1832
- var wellKnownSymbol$2 = wellKnownSymbol$c;
1833
- var Iterators$1 = iterators;
1834
-
1835
- var ITERATOR$2 = wellKnownSymbol$2('iterator');
1836
- var ArrayPrototype = Array.prototype;
1837
-
1838
- // check on default Array iterator
1839
- var isArrayIteratorMethod$1 = function (it) {
1840
- return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
1841
- };
1842
-
1843
- var uncurryThis$3 = functionUncurryThis;
1844
- var fails = fails$d;
1845
- var isCallable$1 = isCallable$h;
1846
- var classof$2 = classof$4;
1847
- var getBuiltIn = getBuiltIn$5;
1848
- var inspectSource = inspectSource$2;
1849
-
1850
- var noop = function () { /* empty */ };
1851
- var empty = [];
1852
- var construct = getBuiltIn('Reflect', 'construct');
1853
- var constructorRegExp = /^\s*(?:class|function)\b/;
1854
- var exec$2 = uncurryThis$3(constructorRegExp.exec);
1855
- var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
1856
-
1857
- var isConstructorModern = function isConstructor(argument) {
1858
- if (!isCallable$1(argument)) return false;
1859
- try {
1860
- construct(noop, empty, argument);
1861
- return true;
1862
- } catch (error) {
1863
- return false;
1864
- }
1865
- };
1866
-
1867
- var isConstructorLegacy = function isConstructor(argument) {
1868
- if (!isCallable$1(argument)) return false;
1869
- switch (classof$2(argument)) {
1870
- case 'AsyncFunction':
1871
- case 'GeneratorFunction':
1872
- case 'AsyncGeneratorFunction': return false;
1873
- }
1874
- try {
1875
- // we can't check .prototype since constructors produced by .bind haven't it
1876
- // `Function#toString` throws on some built-it function in some legacy engines
1877
- // (for example, `DOMQuad` and similar in FF41-)
1878
- return INCORRECT_TO_STRING || !!exec$2(constructorRegExp, inspectSource(argument));
1879
- } catch (error) {
1880
- return true;
1881
- }
1882
- };
1883
-
1884
- isConstructorLegacy.sham = true;
1885
-
1886
- // `IsConstructor` abstract operation
1887
- // https://tc39.es/ecma262/#sec-isconstructor
1888
- var isConstructor$1 = !construct || fails(function () {
1889
- var called;
1890
- return isConstructorModern(isConstructorModern.call)
1891
- || !isConstructorModern(Object)
1892
- || !isConstructorModern(function () { called = true; })
1893
- || called;
1894
- }) ? isConstructorLegacy : isConstructorModern;
1895
-
1896
- var toPropertyKey = toPropertyKey$3;
1897
- var definePropertyModule = objectDefineProperty;
1898
- var createPropertyDescriptor$1 = createPropertyDescriptor$5;
1899
-
1900
- var createProperty$2 = function (object, key, value) {
1901
- var propertyKey = toPropertyKey(key);
1902
- if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor$1(0, value));
1903
- else object[propertyKey] = value;
1904
- };
1905
-
1906
- var classof$1 = classof$4;
1907
- var getMethod = getMethod$3;
1908
- var isNullOrUndefined = isNullOrUndefined$3;
1909
- var Iterators = iterators;
1910
- var wellKnownSymbol$1 = wellKnownSymbol$c;
1911
-
1912
- var ITERATOR$1 = wellKnownSymbol$1('iterator');
1913
-
1914
- var getIteratorMethod$3 = function (it) {
1915
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR$1)
1916
- || getMethod(it, '@@iterator')
1917
- || Iterators[classof$1(it)];
1918
- };
1919
-
1920
- var call$2 = functionCall;
1921
- var aCallable = aCallable$3;
1922
- var anObject$1 = anObject$9;
1923
- var tryToString = tryToString$2;
1924
- var getIteratorMethod$2 = getIteratorMethod$3;
1925
-
1926
- var $TypeError$1 = TypeError;
1927
-
1928
- var getIterator$2 = function (argument, usingIterator) {
1929
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod$2(argument) : usingIterator;
1930
- if (aCallable(iteratorMethod)) return anObject$1(call$2(iteratorMethod, argument));
1931
- throw $TypeError$1(tryToString(argument) + ' is not iterable');
1932
- };
1933
-
1934
- var bind$2 = functionBindContext;
1935
- var call$1 = functionCall;
1936
- var toObject = toObject$4;
1937
- var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
1938
- var isArrayIteratorMethod = isArrayIteratorMethod$1;
1939
- var isConstructor = isConstructor$1;
1940
- var lengthOfArrayLike$1 = lengthOfArrayLike$3;
1941
- var createProperty$1 = createProperty$2;
1942
- var getIterator$1 = getIterator$2;
1943
- var getIteratorMethod$1 = getIteratorMethod$3;
1944
-
1945
- var $Array$1 = Array;
1946
-
1947
- // `Array.from` method implementation
1948
- // https://tc39.es/ecma262/#sec-array.from
1949
- var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
1950
- var O = toObject(arrayLike);
1951
- var IS_CONSTRUCTOR = isConstructor(this);
1952
- var argumentsLength = arguments.length;
1953
- var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
1954
- var mapping = mapfn !== undefined;
1955
- if (mapping) mapfn = bind$2(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
1956
- var iteratorMethod = getIteratorMethod$1(O);
1957
- var index = 0;
1958
- var length, result, step, iterator, next, value;
1959
- // if the target is not iterable or it's an array with the default iterator - use a simple case
1960
- if (iteratorMethod && !(this === $Array$1 && isArrayIteratorMethod(iteratorMethod))) {
1961
- iterator = getIterator$1(O, iteratorMethod);
1962
- next = iterator.next;
1963
- result = IS_CONSTRUCTOR ? new this() : [];
1964
- for (;!(step = call$1(next, iterator)).done; index++) {
1965
- value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
1966
- createProperty$1(result, index, value);
1967
- }
1968
- } else {
1969
- length = lengthOfArrayLike$1(O);
1970
- result = IS_CONSTRUCTOR ? new this(length) : $Array$1(length);
1971
- for (;length > index; index++) {
1972
- value = mapping ? mapfn(O[index], index) : O[index];
1973
- createProperty$1(result, index, value);
1974
- }
1975
- }
1976
- result.length = index;
1977
- return result;
1978
- };
1979
-
1980
- var toAbsoluteIndex = toAbsoluteIndex$2;
1981
- var lengthOfArrayLike = lengthOfArrayLike$3;
1982
- var createProperty = createProperty$2;
1983
-
1984
- var $Array = Array;
1985
- var max = Math.max;
1986
-
1987
- var arraySliceSimple = function (O, start, end) {
1988
- var length = lengthOfArrayLike(O);
1989
- var k = toAbsoluteIndex(start, length);
1990
- var fin = toAbsoluteIndex(end === undefined ? length : end, length);
1991
- var result = $Array(max(fin - k, 0));
1992
- for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);
1993
- result.length = n;
1994
- return result;
1995
- };
1996
-
1997
- // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
1998
- var uncurryThis$2 = functionUncurryThis;
1999
-
2000
- var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
2001
- var base = 36;
2002
- var tMin = 1;
2003
- var tMax = 26;
2004
- var skew = 38;
2005
- var damp = 700;
2006
- var initialBias = 72;
2007
- var initialN = 128; // 0x80
2008
- var delimiter = '-'; // '\x2D'
2009
- var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars
2010
- var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
2011
- var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
2012
- var baseMinusTMin = base - tMin;
2013
-
2014
- var $RangeError = RangeError;
2015
- var exec$1 = uncurryThis$2(regexSeparators.exec);
2016
- var floor$2 = Math.floor;
2017
- var fromCharCode = String.fromCharCode;
2018
- var charCodeAt = uncurryThis$2(''.charCodeAt);
2019
- var join$2 = uncurryThis$2([].join);
2020
- var push$2 = uncurryThis$2([].push);
2021
- var replace$2 = uncurryThis$2(''.replace);
2022
- var split$2 = uncurryThis$2(''.split);
2023
- var toLowerCase$1 = uncurryThis$2(''.toLowerCase);
2024
-
2025
- /**
2026
- * Creates an array containing the numeric code points of each Unicode
2027
- * character in the string. While JavaScript uses UCS-2 internally,
2028
- * this function will convert a pair of surrogate halves (each of which
2029
- * UCS-2 exposes as separate characters) into a single code point,
2030
- * matching UTF-16.
2031
- */
2032
- var ucs2decode = function (string) {
2033
- var output = [];
2034
- var counter = 0;
2035
- var length = string.length;
2036
- while (counter < length) {
2037
- var value = charCodeAt(string, counter++);
2038
- if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
2039
- // It's a high surrogate, and there is a next character.
2040
- var extra = charCodeAt(string, counter++);
2041
- if ((extra & 0xFC00) == 0xDC00) { // Low surrogate.
2042
- push$2(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
2043
- } else {
2044
- // It's an unmatched surrogate; only append this code unit, in case the
2045
- // next code unit is the high surrogate of a surrogate pair.
2046
- push$2(output, value);
2047
- counter--;
2048
- }
2049
- } else {
2050
- push$2(output, value);
2051
- }
2052
- }
2053
- return output;
2054
- };
2055
-
2056
- /**
2057
- * Converts a digit/integer into a basic code point.
2058
- */
2059
- var digitToBasic = function (digit) {
2060
- // 0..25 map to ASCII a..z or A..Z
2061
- // 26..35 map to ASCII 0..9
2062
- return digit + 22 + 75 * (digit < 26);
2063
- };
2064
-
2065
- /**
2066
- * Bias adaptation function as per section 3.4 of RFC 3492.
2067
- * https://tools.ietf.org/html/rfc3492#section-3.4
2068
- */
2069
- var adapt = function (delta, numPoints, firstTime) {
2070
- var k = 0;
2071
- delta = firstTime ? floor$2(delta / damp) : delta >> 1;
2072
- delta += floor$2(delta / numPoints);
2073
- while (delta > baseMinusTMin * tMax >> 1) {
2074
- delta = floor$2(delta / baseMinusTMin);
2075
- k += base;
2076
- }
2077
- return floor$2(k + (baseMinusTMin + 1) * delta / (delta + skew));
2078
- };
2079
-
2080
- /**
2081
- * Converts a string of Unicode symbols (e.g. a domain name label) to a
2082
- * Punycode string of ASCII-only symbols.
2083
- */
2084
- var encode = function (input) {
2085
- var output = [];
2086
-
2087
- // Convert the input in UCS-2 to an array of Unicode code points.
2088
- input = ucs2decode(input);
2089
-
2090
- // Cache the length.
2091
- var inputLength = input.length;
2092
-
2093
- // Initialize the state.
2094
- var n = initialN;
2095
- var delta = 0;
2096
- var bias = initialBias;
2097
- var i, currentValue;
2098
-
2099
- // Handle the basic code points.
2100
- for (i = 0; i < input.length; i++) {
2101
- currentValue = input[i];
2102
- if (currentValue < 0x80) {
2103
- push$2(output, fromCharCode(currentValue));
2104
- }
2105
- }
2106
-
2107
- var basicLength = output.length; // number of basic code points.
2108
- var handledCPCount = basicLength; // number of code points that have been handled;
2109
-
2110
- // Finish the basic string with a delimiter unless it's empty.
2111
- if (basicLength) {
2112
- push$2(output, delimiter);
2113
- }
2114
-
2115
- // Main encoding loop:
2116
- while (handledCPCount < inputLength) {
2117
- // All non-basic code points < n have been handled already. Find the next larger one:
2118
- var m = maxInt;
2119
- for (i = 0; i < input.length; i++) {
2120
- currentValue = input[i];
2121
- if (currentValue >= n && currentValue < m) {
2122
- m = currentValue;
2123
- }
2124
- }
2125
-
2126
- // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
2127
- var handledCPCountPlusOne = handledCPCount + 1;
2128
- if (m - n > floor$2((maxInt - delta) / handledCPCountPlusOne)) {
2129
- throw $RangeError(OVERFLOW_ERROR);
2130
- }
2131
-
2132
- delta += (m - n) * handledCPCountPlusOne;
2133
- n = m;
2134
-
2135
- for (i = 0; i < input.length; i++) {
2136
- currentValue = input[i];
2137
- if (currentValue < n && ++delta > maxInt) {
2138
- throw $RangeError(OVERFLOW_ERROR);
2139
- }
2140
- if (currentValue == n) {
2141
- // Represent delta as a generalized variable-length integer.
2142
- var q = delta;
2143
- var k = base;
2144
- while (true) {
2145
- var t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
2146
- if (q < t) break;
2147
- var qMinusT = q - t;
2148
- var baseMinusT = base - t;
2149
- push$2(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT)));
2150
- q = floor$2(qMinusT / baseMinusT);
2151
- k += base;
2152
- }
2153
-
2154
- push$2(output, fromCharCode(digitToBasic(q)));
2155
- bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
2156
- delta = 0;
2157
- handledCPCount++;
2158
- }
2159
- }
2160
-
2161
- delta++;
2162
- n++;
2163
- }
2164
- return join$2(output, '');
2165
- };
2166
-
2167
- var stringPunycodeToAscii = function (input) {
2168
- var encoded = [];
2169
- var labels = split$2(replace$2(toLowerCase$1(input), regexSeparators, '\u002E'), '.');
2170
- var i, label;
2171
- for (i = 0; i < labels.length; i++) {
2172
- label = labels[i];
2173
- push$2(encoded, exec$1(regexNonASCII, label) ? 'xn--' + encode(label) : label);
2174
- }
2175
- return join$2(encoded, '.');
2176
- };
2177
-
2178
- var $TypeError = TypeError;
2179
-
2180
- var validateArgumentsLength$2 = function (passed, required) {
2181
- if (passed < required) throw $TypeError('Not enough arguments');
2182
- return passed;
2183
- };
2184
-
2185
- var defineBuiltIn$2 = defineBuiltIn$6;
2186
-
2187
- var defineBuiltIns$1 = function (target, src, options) {
2188
- for (var key in src) defineBuiltIn$2(target, key, src[key], options);
2189
- return target;
2190
- };
2191
-
2192
- var arraySlice$1 = arraySliceSimple;
2193
-
2194
- var floor$1 = Math.floor;
2195
-
2196
- var mergeSort = function (array, comparefn) {
2197
- var length = array.length;
2198
- var middle = floor$1(length / 2);
2199
- return length < 8 ? insertionSort(array, comparefn) : merge(
2200
- array,
2201
- mergeSort(arraySlice$1(array, 0, middle), comparefn),
2202
- mergeSort(arraySlice$1(array, middle), comparefn),
2203
- comparefn
2204
- );
2205
- };
2206
-
2207
- var insertionSort = function (array, comparefn) {
2208
- var length = array.length;
2209
- var i = 1;
2210
- var element, j;
2211
-
2212
- while (i < length) {
2213
- j = i;
2214
- element = array[i];
2215
- while (j && comparefn(array[j - 1], element) > 0) {
2216
- array[j] = array[--j];
2217
- }
2218
- if (j !== i++) array[j] = element;
2219
- } return array;
2220
- };
2221
-
2222
- var merge = function (array, left, right, comparefn) {
2223
- var llength = left.length;
2224
- var rlength = right.length;
2225
- var lindex = 0;
2226
- var rindex = 0;
2227
-
2228
- while (lindex < llength || rindex < rlength) {
2229
- array[lindex + rindex] = (lindex < llength && rindex < rlength)
2230
- ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
2231
- : lindex < llength ? left[lindex++] : right[rindex++];
2232
- } return array;
2233
- };
2234
-
2235
- var arraySort$1 = mergeSort;
2236
-
2237
- // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
2238
-
2239
- var $$1 = _export;
2240
- var global$2 = global$d;
2241
- var call = functionCall;
2242
- var uncurryThis$1 = functionUncurryThis;
2243
- var DESCRIPTORS$1 = descriptors;
2244
- var USE_NATIVE_URL$1 = urlConstructorDetection;
2245
- var defineBuiltIn$1 = defineBuiltIn$6;
2246
- var defineBuiltIns = defineBuiltIns$1;
2247
- var setToStringTag$1 = setToStringTag$4;
2248
- var createIteratorConstructor = iteratorCreateConstructor;
2249
- var InternalStateModule$1 = internalState;
2250
- var anInstance$1 = anInstance$2;
2251
- var isCallable = isCallable$h;
2252
- var hasOwn$1 = hasOwnProperty_1;
2253
- var bind$1 = functionBindContext;
2254
- var classof = classof$4;
2255
- var anObject = anObject$9;
2256
- var isObject$1 = isObject$8;
2257
- var $toString$1 = toString$2;
2258
- var create$1 = objectCreate;
2259
- var createPropertyDescriptor = createPropertyDescriptor$5;
2260
- var getIterator = getIterator$2;
2261
- var getIteratorMethod = getIteratorMethod$3;
2262
- var validateArgumentsLength$1 = validateArgumentsLength$2;
2263
- var wellKnownSymbol = wellKnownSymbol$c;
2264
- var arraySort = arraySort$1;
2265
-
2266
- var ITERATOR = wellKnownSymbol('iterator');
2267
- var URL_SEARCH_PARAMS = 'URLSearchParams';
2268
- var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
2269
- var setInternalState$1 = InternalStateModule$1.set;
2270
- var getInternalParamsState = InternalStateModule$1.getterFor(URL_SEARCH_PARAMS);
2271
- var getInternalIteratorState = InternalStateModule$1.getterFor(URL_SEARCH_PARAMS_ITERATOR);
2272
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2273
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2274
-
2275
- // Avoid NodeJS experimental warning
2276
- var safeGetBuiltIn = function (name) {
2277
- if (!DESCRIPTORS$1) return global$2[name];
2278
- var descriptor = getOwnPropertyDescriptor(global$2, name);
2279
- return descriptor && descriptor.value;
2280
- };
2281
-
2282
- var nativeFetch = safeGetBuiltIn('fetch');
2283
- var NativeRequest = safeGetBuiltIn('Request');
2284
- var Headers = safeGetBuiltIn('Headers');
2285
- var RequestPrototype = NativeRequest && NativeRequest.prototype;
2286
- var HeadersPrototype = Headers && Headers.prototype;
2287
- var RegExp = global$2.RegExp;
2288
- var TypeError$2 = global$2.TypeError;
2289
- var decodeURIComponent = global$2.decodeURIComponent;
2290
- var encodeURIComponent$1 = global$2.encodeURIComponent;
2291
- var charAt$1 = uncurryThis$1(''.charAt);
2292
- var join$1 = uncurryThis$1([].join);
2293
- var push$1 = uncurryThis$1([].push);
2294
- var replace$1 = uncurryThis$1(''.replace);
2295
- var shift$1 = uncurryThis$1([].shift);
2296
- var splice = uncurryThis$1([].splice);
2297
- var split$1 = uncurryThis$1(''.split);
2298
- var stringSlice$1 = uncurryThis$1(''.slice);
2299
-
2300
- var plus = /\+/g;
2301
- var sequences = Array(4);
2302
-
2303
- var percentSequence = function (bytes) {
2304
- return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\da-f]{2}){' + bytes + '})', 'gi'));
2305
- };
2306
-
2307
- var percentDecode = function (sequence) {
2308
- try {
2309
- return decodeURIComponent(sequence);
2310
- } catch (error) {
2311
- return sequence;
2312
- }
2313
- };
2314
-
2315
- var deserialize = function (it) {
2316
- var result = replace$1(it, plus, ' ');
2317
- var bytes = 4;
2318
- try {
2319
- return decodeURIComponent(result);
2320
- } catch (error) {
2321
- while (bytes) {
2322
- result = replace$1(result, percentSequence(bytes--), percentDecode);
2323
- }
2324
- return result;
2325
- }
2326
- };
2327
-
2328
- var find = /[!'()~]|%20/g;
2329
-
2330
- var replacements = {
2331
- '!': '%21',
2332
- "'": '%27',
2333
- '(': '%28',
2334
- ')': '%29',
2335
- '~': '%7E',
2336
- '%20': '+'
2337
- };
2338
-
2339
- var replacer = function (match) {
2340
- return replacements[match];
2341
- };
2342
-
2343
- var serialize = function (it) {
2344
- return replace$1(encodeURIComponent$1(it), find, replacer);
2345
- };
2346
-
2347
- var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {
2348
- setInternalState$1(this, {
2349
- type: URL_SEARCH_PARAMS_ITERATOR,
2350
- iterator: getIterator(getInternalParamsState(params).entries),
2351
- kind: kind
2352
- });
2353
- }, 'Iterator', function next() {
2354
- var state = getInternalIteratorState(this);
2355
- var kind = state.kind;
2356
- var step = state.iterator.next();
2357
- var entry = step.value;
2358
- if (!step.done) {
2359
- step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value];
2360
- } return step;
2361
- }, true);
2362
-
2363
- var URLSearchParamsState = function (init) {
2364
- this.entries = [];
2365
- this.url = null;
2366
-
2367
- if (init !== undefined) {
2368
- if (isObject$1(init)) this.parseObject(init);
2369
- else this.parseQuery(typeof init == 'string' ? charAt$1(init, 0) === '?' ? stringSlice$1(init, 1) : init : $toString$1(init));
2370
- }
2371
- };
2372
-
2373
- URLSearchParamsState.prototype = {
2374
- type: URL_SEARCH_PARAMS,
2375
- bindURL: function (url) {
2376
- this.url = url;
2377
- this.update();
2378
- },
2379
- parseObject: function (object) {
2380
- var iteratorMethod = getIteratorMethod(object);
2381
- var iterator, next, step, entryIterator, entryNext, first, second;
2382
-
2383
- if (iteratorMethod) {
2384
- iterator = getIterator(object, iteratorMethod);
2385
- next = iterator.next;
2386
- while (!(step = call(next, iterator)).done) {
2387
- entryIterator = getIterator(anObject(step.value));
2388
- entryNext = entryIterator.next;
2389
- if (
2390
- (first = call(entryNext, entryIterator)).done ||
2391
- (second = call(entryNext, entryIterator)).done ||
2392
- !call(entryNext, entryIterator).done
2393
- ) throw TypeError$2('Expected sequence with length 2');
2394
- push$1(this.entries, { key: $toString$1(first.value), value: $toString$1(second.value) });
2395
- }
2396
- } else for (var key in object) if (hasOwn$1(object, key)) {
2397
- push$1(this.entries, { key: key, value: $toString$1(object[key]) });
2398
- }
2399
- },
2400
- parseQuery: function (query) {
2401
- if (query) {
2402
- var attributes = split$1(query, '&');
2403
- var index = 0;
2404
- var attribute, entry;
2405
- while (index < attributes.length) {
2406
- attribute = attributes[index++];
2407
- if (attribute.length) {
2408
- entry = split$1(attribute, '=');
2409
- push$1(this.entries, {
2410
- key: deserialize(shift$1(entry)),
2411
- value: deserialize(join$1(entry, '='))
2412
- });
2413
- }
2414
- }
2415
- }
2416
- },
2417
- serialize: function () {
2418
- var entries = this.entries;
2419
- var result = [];
2420
- var index = 0;
2421
- var entry;
2422
- while (index < entries.length) {
2423
- entry = entries[index++];
2424
- push$1(result, serialize(entry.key) + '=' + serialize(entry.value));
2425
- } return join$1(result, '&');
2426
- },
2427
- update: function () {
2428
- this.entries.length = 0;
2429
- this.parseQuery(this.url.query);
2430
- },
2431
- updateURL: function () {
2432
- if (this.url) this.url.update();
2433
- }
2434
- };
2435
-
2436
- // `URLSearchParams` constructor
2437
- // https://url.spec.whatwg.org/#interface-urlsearchparams
2438
- var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
2439
- anInstance$1(this, URLSearchParamsPrototype);
2440
- var init = arguments.length > 0 ? arguments[0] : undefined;
2441
- setInternalState$1(this, new URLSearchParamsState(init));
2442
- };
2443
-
2444
- var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;
2445
-
2446
- defineBuiltIns(URLSearchParamsPrototype, {
2447
- // `URLSearchParams.prototype.append` method
2448
- // https://url.spec.whatwg.org/#dom-urlsearchparams-append
2449
- append: function append(name, value) {
2450
- validateArgumentsLength$1(arguments.length, 2);
2451
- var state = getInternalParamsState(this);
2452
- push$1(state.entries, { key: $toString$1(name), value: $toString$1(value) });
2453
- state.updateURL();
2454
- },
2455
- // `URLSearchParams.prototype.delete` method
2456
- // https://url.spec.whatwg.org/#dom-urlsearchparams-delete
2457
- 'delete': function (name) {
2458
- validateArgumentsLength$1(arguments.length, 1);
2459
- var state = getInternalParamsState(this);
2460
- var entries = state.entries;
2461
- var key = $toString$1(name);
2462
- var index = 0;
2463
- while (index < entries.length) {
2464
- if (entries[index].key === key) splice(entries, index, 1);
2465
- else index++;
2466
- }
2467
- state.updateURL();
2468
- },
2469
- // `URLSearchParams.prototype.get` method
2470
- // https://url.spec.whatwg.org/#dom-urlsearchparams-get
2471
- get: function get(name) {
2472
- validateArgumentsLength$1(arguments.length, 1);
2473
- var entries = getInternalParamsState(this).entries;
2474
- var key = $toString$1(name);
2475
- var index = 0;
2476
- for (; index < entries.length; index++) {
2477
- if (entries[index].key === key) return entries[index].value;
2478
- }
2479
- return null;
2480
- },
2481
- // `URLSearchParams.prototype.getAll` method
2482
- // https://url.spec.whatwg.org/#dom-urlsearchparams-getall
2483
- getAll: function getAll(name) {
2484
- validateArgumentsLength$1(arguments.length, 1);
2485
- var entries = getInternalParamsState(this).entries;
2486
- var key = $toString$1(name);
2487
- var result = [];
2488
- var index = 0;
2489
- for (; index < entries.length; index++) {
2490
- if (entries[index].key === key) push$1(result, entries[index].value);
2491
- }
2492
- return result;
2493
- },
2494
- // `URLSearchParams.prototype.has` method
2495
- // https://url.spec.whatwg.org/#dom-urlsearchparams-has
2496
- has: function has(name) {
2497
- validateArgumentsLength$1(arguments.length, 1);
2498
- var entries = getInternalParamsState(this).entries;
2499
- var key = $toString$1(name);
2500
- var index = 0;
2501
- while (index < entries.length) {
2502
- if (entries[index++].key === key) return true;
2503
- }
2504
- return false;
2505
- },
2506
- // `URLSearchParams.prototype.set` method
2507
- // https://url.spec.whatwg.org/#dom-urlsearchparams-set
2508
- set: function set(name, value) {
2509
- validateArgumentsLength$1(arguments.length, 1);
2510
- var state = getInternalParamsState(this);
2511
- var entries = state.entries;
2512
- var found = false;
2513
- var key = $toString$1(name);
2514
- var val = $toString$1(value);
2515
- var index = 0;
2516
- var entry;
2517
- for (; index < entries.length; index++) {
2518
- entry = entries[index];
2519
- if (entry.key === key) {
2520
- if (found) splice(entries, index--, 1);
2521
- else {
2522
- found = true;
2523
- entry.value = val;
2524
- }
2525
- }
2526
- }
2527
- if (!found) push$1(entries, { key: key, value: val });
2528
- state.updateURL();
2529
- },
2530
- // `URLSearchParams.prototype.sort` method
2531
- // https://url.spec.whatwg.org/#dom-urlsearchparams-sort
2532
- sort: function sort() {
2533
- var state = getInternalParamsState(this);
2534
- arraySort(state.entries, function (a, b) {
2535
- return a.key > b.key ? 1 : -1;
2536
- });
2537
- state.updateURL();
2538
- },
2539
- // `URLSearchParams.prototype.forEach` method
2540
- forEach: function forEach(callback /* , thisArg */) {
2541
- var entries = getInternalParamsState(this).entries;
2542
- var boundFunction = bind$1(callback, arguments.length > 1 ? arguments[1] : undefined);
2543
- var index = 0;
2544
- var entry;
2545
- while (index < entries.length) {
2546
- entry = entries[index++];
2547
- boundFunction(entry.value, entry.key, this);
2548
- }
2549
- },
2550
- // `URLSearchParams.prototype.keys` method
2551
- keys: function keys() {
2552
- return new URLSearchParamsIterator(this, 'keys');
2553
- },
2554
- // `URLSearchParams.prototype.values` method
2555
- values: function values() {
2556
- return new URLSearchParamsIterator(this, 'values');
2557
- },
2558
- // `URLSearchParams.prototype.entries` method
2559
- entries: function entries() {
2560
- return new URLSearchParamsIterator(this, 'entries');
2561
- }
2562
- }, { enumerable: true });
2563
-
2564
- // `URLSearchParams.prototype[@@iterator]` method
2565
- defineBuiltIn$1(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });
2566
-
2567
- // `URLSearchParams.prototype.toString` method
2568
- // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
2569
- defineBuiltIn$1(URLSearchParamsPrototype, 'toString', function toString() {
2570
- return getInternalParamsState(this).serialize();
2571
- }, { enumerable: true });
2572
-
2573
- setToStringTag$1(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
2574
-
2575
- $$1({ global: true, constructor: true, forced: !USE_NATIVE_URL$1 }, {
2576
- URLSearchParams: URLSearchParamsConstructor
2577
- });
2578
-
2579
- // Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
2580
- if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
2581
- var headersHas = uncurryThis$1(HeadersPrototype.has);
2582
- var headersSet = uncurryThis$1(HeadersPrototype.set);
2583
-
2584
- var wrapRequestOptions = function (init) {
2585
- if (isObject$1(init)) {
2586
- var body = init.body;
2587
- var headers;
2588
- if (classof(body) === URL_SEARCH_PARAMS) {
2589
- headers = init.headers ? new Headers(init.headers) : new Headers();
2590
- if (!headersHas(headers, 'content-type')) {
2591
- headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
2592
- }
2593
- return create$1(init, {
2594
- body: createPropertyDescriptor(0, $toString$1(body)),
2595
- headers: createPropertyDescriptor(0, headers)
2596
- });
2597
- }
2598
- } return init;
2599
- };
2600
-
2601
- if (isCallable(nativeFetch)) {
2602
- $$1({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
2603
- fetch: function fetch(input /* , init */) {
2604
- return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
2605
- }
2606
- });
2607
- }
2608
-
2609
- if (isCallable(NativeRequest)) {
2610
- var RequestConstructor = function Request(input /* , init */) {
2611
- anInstance$1(this, RequestPrototype);
2612
- return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
2613
- };
2614
-
2615
- RequestPrototype.constructor = RequestConstructor;
2616
- RequestConstructor.prototype = RequestPrototype;
2617
-
2618
- $$1({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
2619
- Request: RequestConstructor
2620
- });
2621
- }
2622
- }
2623
-
2624
- var web_urlSearchParams_constructor = {
2625
- URLSearchParams: URLSearchParamsConstructor,
2626
- getState: getInternalParamsState
2627
- };
2628
-
2629
- // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
2630
-
2631
- var $ = _export;
2632
- var DESCRIPTORS = descriptors;
2633
- var USE_NATIVE_URL = urlConstructorDetection;
2634
- var global$1 = global$d;
2635
- var bind = functionBindContext;
2636
- var uncurryThis = functionUncurryThis;
2637
- var defineBuiltIn = defineBuiltIn$6;
2638
- var defineBuiltInAccessor = defineBuiltInAccessor$1;
2639
- var anInstance = anInstance$2;
2640
- var hasOwn = hasOwnProperty_1;
2641
- var assign = objectAssign;
2642
- var arrayFrom = arrayFrom$1;
2643
- var arraySlice = arraySliceSimple;
2644
- var codeAt = stringMultibyte.codeAt;
2645
- var toASCII = stringPunycodeToAscii;
2646
- var $toString = toString$2;
2647
- var setToStringTag = setToStringTag$4;
2648
- var validateArgumentsLength = validateArgumentsLength$2;
2649
- var URLSearchParamsModule = web_urlSearchParams_constructor;
2650
- var InternalStateModule = internalState;
2651
-
2652
- var setInternalState = InternalStateModule.set;
2653
- var getInternalURLState = InternalStateModule.getterFor('URL');
2654
- var URLSearchParams$1 = URLSearchParamsModule.URLSearchParams;
2655
- var getInternalSearchParamsState = URLSearchParamsModule.getState;
2656
-
2657
- var NativeURL = global$1.URL;
2658
- var TypeError$1 = global$1.TypeError;
2659
- var parseInt$1 = global$1.parseInt;
2660
- var floor = Math.floor;
2661
- var pow = Math.pow;
2662
- var charAt = uncurryThis(''.charAt);
2663
- var exec = uncurryThis(/./.exec);
2664
- var join = uncurryThis([].join);
2665
- var numberToString = uncurryThis(1.0.toString);
2666
- var pop = uncurryThis([].pop);
2667
- var push = uncurryThis([].push);
2668
- var replace = uncurryThis(''.replace);
2669
- var shift = uncurryThis([].shift);
2670
- var split = uncurryThis(''.split);
2671
- var stringSlice = uncurryThis(''.slice);
2672
- var toLowerCase = uncurryThis(''.toLowerCase);
2673
- var unshift = uncurryThis([].unshift);
2674
-
2675
- var INVALID_AUTHORITY = 'Invalid authority';
2676
- var INVALID_SCHEME = 'Invalid scheme';
2677
- var INVALID_HOST = 'Invalid host';
2678
- var INVALID_PORT = 'Invalid port';
2679
-
2680
- var ALPHA = /[a-z]/i;
2681
- // eslint-disable-next-line regexp/no-obscure-range -- safe
2682
- var ALPHANUMERIC = /[\d+-.a-z]/i;
2683
- var DIGIT = /\d/;
2684
- var HEX_START = /^0x/i;
2685
- var OCT = /^[0-7]+$/;
2686
- var DEC = /^\d+$/;
2687
- var HEX = /^[\da-f]+$/i;
2688
- /* eslint-disable regexp/no-control-character -- safe */
2689
- var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/;
2690
- var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/;
2691
- var LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+|[\u0000-\u0020]+$/g;
2692
- var TAB_AND_NEW_LINE = /[\t\n\r]/g;
2693
- /* eslint-enable regexp/no-control-character -- safe */
2694
- var EOF;
2695
-
2696
- // https://url.spec.whatwg.org/#ipv4-number-parser
2697
- var parseIPv4 = function (input) {
2698
- var parts = split(input, '.');
2699
- var partsLength, numbers, index, part, radix, number, ipv4;
2700
- if (parts.length && parts[parts.length - 1] == '') {
2701
- parts.length--;
2702
- }
2703
- partsLength = parts.length;
2704
- if (partsLength > 4) return input;
2705
- numbers = [];
2706
- for (index = 0; index < partsLength; index++) {
2707
- part = parts[index];
2708
- if (part == '') return input;
2709
- radix = 10;
2710
- if (part.length > 1 && charAt(part, 0) == '0') {
2711
- radix = exec(HEX_START, part) ? 16 : 8;
2712
- part = stringSlice(part, radix == 8 ? 1 : 2);
2713
- }
2714
- if (part === '') {
2715
- number = 0;
2716
- } else {
2717
- if (!exec(radix == 10 ? DEC : radix == 8 ? OCT : HEX, part)) return input;
2718
- number = parseInt$1(part, radix);
2719
- }
2720
- push(numbers, number);
2721
- }
2722
- for (index = 0; index < partsLength; index++) {
2723
- number = numbers[index];
2724
- if (index == partsLength - 1) {
2725
- if (number >= pow(256, 5 - partsLength)) return null;
2726
- } else if (number > 255) return null;
2727
- }
2728
- ipv4 = pop(numbers);
2729
- for (index = 0; index < numbers.length; index++) {
2730
- ipv4 += numbers[index] * pow(256, 3 - index);
2731
- }
2732
- return ipv4;
2733
- };
2734
-
2735
- // https://url.spec.whatwg.org/#concept-ipv6-parser
2736
- // eslint-disable-next-line max-statements -- TODO
2737
- var parseIPv6 = function (input) {
2738
- var address = [0, 0, 0, 0, 0, 0, 0, 0];
2739
- var pieceIndex = 0;
2740
- var compress = null;
2741
- var pointer = 0;
2742
- var value, length, numbersSeen, ipv4Piece, number, swaps, swap;
2743
-
2744
- var chr = function () {
2745
- return charAt(input, pointer);
2746
- };
2747
-
2748
- if (chr() == ':') {
2749
- if (charAt(input, 1) != ':') return;
2750
- pointer += 2;
2751
- pieceIndex++;
2752
- compress = pieceIndex;
2753
- }
2754
- while (chr()) {
2755
- if (pieceIndex == 8) return;
2756
- if (chr() == ':') {
2757
- if (compress !== null) return;
2758
- pointer++;
2759
- pieceIndex++;
2760
- compress = pieceIndex;
2761
- continue;
2762
- }
2763
- value = length = 0;
2764
- while (length < 4 && exec(HEX, chr())) {
2765
- value = value * 16 + parseInt$1(chr(), 16);
2766
- pointer++;
2767
- length++;
2768
- }
2769
- if (chr() == '.') {
2770
- if (length == 0) return;
2771
- pointer -= length;
2772
- if (pieceIndex > 6) return;
2773
- numbersSeen = 0;
2774
- while (chr()) {
2775
- ipv4Piece = null;
2776
- if (numbersSeen > 0) {
2777
- if (chr() == '.' && numbersSeen < 4) pointer++;
2778
- else return;
2779
- }
2780
- if (!exec(DIGIT, chr())) return;
2781
- while (exec(DIGIT, chr())) {
2782
- number = parseInt$1(chr(), 10);
2783
- if (ipv4Piece === null) ipv4Piece = number;
2784
- else if (ipv4Piece == 0) return;
2785
- else ipv4Piece = ipv4Piece * 10 + number;
2786
- if (ipv4Piece > 255) return;
2787
- pointer++;
2788
- }
2789
- address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;
2790
- numbersSeen++;
2791
- if (numbersSeen == 2 || numbersSeen == 4) pieceIndex++;
2792
- }
2793
- if (numbersSeen != 4) return;
2794
- break;
2795
- } else if (chr() == ':') {
2796
- pointer++;
2797
- if (!chr()) return;
2798
- } else if (chr()) return;
2799
- address[pieceIndex++] = value;
2800
- }
2801
- if (compress !== null) {
2802
- swaps = pieceIndex - compress;
2803
- pieceIndex = 7;
2804
- while (pieceIndex != 0 && swaps > 0) {
2805
- swap = address[pieceIndex];
2806
- address[pieceIndex--] = address[compress + swaps - 1];
2807
- address[compress + --swaps] = swap;
2808
- }
2809
- } else if (pieceIndex != 8) return;
2810
- return address;
2811
- };
2812
-
2813
- var findLongestZeroSequence = function (ipv6) {
2814
- var maxIndex = null;
2815
- var maxLength = 1;
2816
- var currStart = null;
2817
- var currLength = 0;
2818
- var index = 0;
2819
- for (; index < 8; index++) {
2820
- if (ipv6[index] !== 0) {
2821
- if (currLength > maxLength) {
2822
- maxIndex = currStart;
2823
- maxLength = currLength;
2824
- }
2825
- currStart = null;
2826
- currLength = 0;
2827
- } else {
2828
- if (currStart === null) currStart = index;
2829
- ++currLength;
2830
- }
2831
- }
2832
- if (currLength > maxLength) {
2833
- maxIndex = currStart;
2834
- maxLength = currLength;
2835
- }
2836
- return maxIndex;
2837
- };
2838
-
2839
- // https://url.spec.whatwg.org/#host-serializing
2840
- var serializeHost = function (host) {
2841
- var result, index, compress, ignore0;
2842
- // ipv4
2843
- if (typeof host == 'number') {
2844
- result = [];
2845
- for (index = 0; index < 4; index++) {
2846
- unshift(result, host % 256);
2847
- host = floor(host / 256);
2848
- } return join(result, '.');
2849
- // ipv6
2850
- } else if (typeof host == 'object') {
2851
- result = '';
2852
- compress = findLongestZeroSequence(host);
2853
- for (index = 0; index < 8; index++) {
2854
- if (ignore0 && host[index] === 0) continue;
2855
- if (ignore0) ignore0 = false;
2856
- if (compress === index) {
2857
- result += index ? ':' : '::';
2858
- ignore0 = true;
2859
- } else {
2860
- result += numberToString(host[index], 16);
2861
- if (index < 7) result += ':';
2862
- }
2863
- }
2864
- return '[' + result + ']';
2865
- } return host;
2866
- };
2867
-
2868
- var C0ControlPercentEncodeSet = {};
2869
- var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {
2870
- ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1
2871
- });
2872
- var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, {
2873
- '#': 1, '?': 1, '{': 1, '}': 1
2874
- });
2875
- var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, {
2876
- '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1
2877
- });
2878
-
2879
- var percentEncode = function (chr, set) {
2880
- var code = codeAt(chr, 0);
2881
- return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr);
2882
- };
2883
-
2884
- // https://url.spec.whatwg.org/#special-scheme
2885
- var specialSchemes = {
2886
- ftp: 21,
2887
- file: null,
2888
- http: 80,
2889
- https: 443,
2890
- ws: 80,
2891
- wss: 443
2892
- };
2893
-
2894
- // https://url.spec.whatwg.org/#windows-drive-letter
2895
- var isWindowsDriveLetter = function (string, normalized) {
2896
- var second;
2897
- return string.length == 2 && exec(ALPHA, charAt(string, 0))
2898
- && ((second = charAt(string, 1)) == ':' || (!normalized && second == '|'));
2899
- };
2900
-
2901
- // https://url.spec.whatwg.org/#start-with-a-windows-drive-letter
2902
- var startsWithWindowsDriveLetter = function (string) {
2903
- var third;
2904
- return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (
2905
- string.length == 2 ||
2906
- ((third = charAt(string, 2)) === '/' || third === '\\' || third === '?' || third === '#')
2907
- );
2908
- };
2909
-
2910
- // https://url.spec.whatwg.org/#single-dot-path-segment
2911
- var isSingleDot = function (segment) {
2912
- return segment === '.' || toLowerCase(segment) === '%2e';
2913
- };
2914
-
2915
- // https://url.spec.whatwg.org/#double-dot-path-segment
2916
- var isDoubleDot = function (segment) {
2917
- segment = toLowerCase(segment);
2918
- return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e';
2919
- };
2920
-
2921
- // States:
2922
- var SCHEME_START = {};
2923
- var SCHEME = {};
2924
- var NO_SCHEME = {};
2925
- var SPECIAL_RELATIVE_OR_AUTHORITY = {};
2926
- var PATH_OR_AUTHORITY = {};
2927
- var RELATIVE = {};
2928
- var RELATIVE_SLASH = {};
2929
- var SPECIAL_AUTHORITY_SLASHES = {};
2930
- var SPECIAL_AUTHORITY_IGNORE_SLASHES = {};
2931
- var AUTHORITY = {};
2932
- var HOST = {};
2933
- var HOSTNAME = {};
2934
- var PORT = {};
2935
- var FILE = {};
2936
- var FILE_SLASH = {};
2937
- var FILE_HOST = {};
2938
- var PATH_START = {};
2939
- var PATH = {};
2940
- var CANNOT_BE_A_BASE_URL_PATH = {};
2941
- var QUERY = {};
2942
- var FRAGMENT = {};
2943
-
2944
- var URLState = function (url, isBase, base) {
2945
- var urlString = $toString(url);
2946
- var baseState, failure, searchParams;
2947
- if (isBase) {
2948
- failure = this.parse(urlString);
2949
- if (failure) throw TypeError$1(failure);
2950
- this.searchParams = null;
2951
- } else {
2952
- if (base !== undefined) baseState = new URLState(base, true);
2953
- failure = this.parse(urlString, null, baseState);
2954
- if (failure) throw TypeError$1(failure);
2955
- searchParams = getInternalSearchParamsState(new URLSearchParams$1());
2956
- searchParams.bindURL(this);
2957
- this.searchParams = searchParams;
2958
- }
2959
- };
2960
-
2961
- URLState.prototype = {
2962
- type: 'URL',
2963
- // https://url.spec.whatwg.org/#url-parsing
2964
- // eslint-disable-next-line max-statements -- TODO
2965
- parse: function (input, stateOverride, base) {
2966
- var url = this;
2967
- var state = stateOverride || SCHEME_START;
2968
- var pointer = 0;
2969
- var buffer = '';
2970
- var seenAt = false;
2971
- var seenBracket = false;
2972
- var seenPasswordToken = false;
2973
- var codePoints, chr, bufferCodePoints, failure;
2974
-
2975
- input = $toString(input);
2976
-
2977
- if (!stateOverride) {
2978
- url.scheme = '';
2979
- url.username = '';
2980
- url.password = '';
2981
- url.host = null;
2982
- url.port = null;
2983
- url.path = [];
2984
- url.query = null;
2985
- url.fragment = null;
2986
- url.cannotBeABaseURL = false;
2987
- input = replace(input, LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, '');
2988
- }
2989
-
2990
- input = replace(input, TAB_AND_NEW_LINE, '');
2991
-
2992
- codePoints = arrayFrom(input);
2993
-
2994
- while (pointer <= codePoints.length) {
2995
- chr = codePoints[pointer];
2996
- switch (state) {
2997
- case SCHEME_START:
2998
- if (chr && exec(ALPHA, chr)) {
2999
- buffer += toLowerCase(chr);
3000
- state = SCHEME;
3001
- } else if (!stateOverride) {
3002
- state = NO_SCHEME;
3003
- continue;
3004
- } else return INVALID_SCHEME;
3005
- break;
3006
-
3007
- case SCHEME:
3008
- if (chr && (exec(ALPHANUMERIC, chr) || chr == '+' || chr == '-' || chr == '.')) {
3009
- buffer += toLowerCase(chr);
3010
- } else if (chr == ':') {
3011
- if (stateOverride && (
3012
- (url.isSpecial() != hasOwn(specialSchemes, buffer)) ||
3013
- (buffer == 'file' && (url.includesCredentials() || url.port !== null)) ||
3014
- (url.scheme == 'file' && !url.host)
3015
- )) return;
3016
- url.scheme = buffer;
3017
- if (stateOverride) {
3018
- if (url.isSpecial() && specialSchemes[url.scheme] == url.port) url.port = null;
3019
- return;
3020
- }
3021
- buffer = '';
3022
- if (url.scheme == 'file') {
3023
- state = FILE;
3024
- } else if (url.isSpecial() && base && base.scheme == url.scheme) {
3025
- state = SPECIAL_RELATIVE_OR_AUTHORITY;
3026
- } else if (url.isSpecial()) {
3027
- state = SPECIAL_AUTHORITY_SLASHES;
3028
- } else if (codePoints[pointer + 1] == '/') {
3029
- state = PATH_OR_AUTHORITY;
3030
- pointer++;
3031
- } else {
3032
- url.cannotBeABaseURL = true;
3033
- push(url.path, '');
3034
- state = CANNOT_BE_A_BASE_URL_PATH;
3035
- }
3036
- } else if (!stateOverride) {
3037
- buffer = '';
3038
- state = NO_SCHEME;
3039
- pointer = 0;
3040
- continue;
3041
- } else return INVALID_SCHEME;
3042
- break;
3043
-
3044
- case NO_SCHEME:
3045
- if (!base || (base.cannotBeABaseURL && chr != '#')) return INVALID_SCHEME;
3046
- if (base.cannotBeABaseURL && chr == '#') {
3047
- url.scheme = base.scheme;
3048
- url.path = arraySlice(base.path);
3049
- url.query = base.query;
3050
- url.fragment = '';
3051
- url.cannotBeABaseURL = true;
3052
- state = FRAGMENT;
3053
- break;
3054
- }
3055
- state = base.scheme == 'file' ? FILE : RELATIVE;
3056
- continue;
3057
-
3058
- case SPECIAL_RELATIVE_OR_AUTHORITY:
3059
- if (chr == '/' && codePoints[pointer + 1] == '/') {
3060
- state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
3061
- pointer++;
3062
- } else {
3063
- state = RELATIVE;
3064
- continue;
3065
- } break;
3066
-
3067
- case PATH_OR_AUTHORITY:
3068
- if (chr == '/') {
3069
- state = AUTHORITY;
3070
- break;
3071
- } else {
3072
- state = PATH;
3073
- continue;
3074
- }
3075
-
3076
- case RELATIVE:
3077
- url.scheme = base.scheme;
3078
- if (chr == EOF) {
3079
- url.username = base.username;
3080
- url.password = base.password;
3081
- url.host = base.host;
3082
- url.port = base.port;
3083
- url.path = arraySlice(base.path);
3084
- url.query = base.query;
3085
- } else if (chr == '/' || (chr == '\\' && url.isSpecial())) {
3086
- state = RELATIVE_SLASH;
3087
- } else if (chr == '?') {
3088
- url.username = base.username;
3089
- url.password = base.password;
3090
- url.host = base.host;
3091
- url.port = base.port;
3092
- url.path = arraySlice(base.path);
3093
- url.query = '';
3094
- state = QUERY;
3095
- } else if (chr == '#') {
3096
- url.username = base.username;
3097
- url.password = base.password;
3098
- url.host = base.host;
3099
- url.port = base.port;
3100
- url.path = arraySlice(base.path);
3101
- url.query = base.query;
3102
- url.fragment = '';
3103
- state = FRAGMENT;
3104
- } else {
3105
- url.username = base.username;
3106
- url.password = base.password;
3107
- url.host = base.host;
3108
- url.port = base.port;
3109
- url.path = arraySlice(base.path);
3110
- url.path.length--;
3111
- state = PATH;
3112
- continue;
3113
- } break;
3114
-
3115
- case RELATIVE_SLASH:
3116
- if (url.isSpecial() && (chr == '/' || chr == '\\')) {
3117
- state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
3118
- } else if (chr == '/') {
3119
- state = AUTHORITY;
3120
- } else {
3121
- url.username = base.username;
3122
- url.password = base.password;
3123
- url.host = base.host;
3124
- url.port = base.port;
3125
- state = PATH;
3126
- continue;
3127
- } break;
3128
-
3129
- case SPECIAL_AUTHORITY_SLASHES:
3130
- state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
3131
- if (chr != '/' || charAt(buffer, pointer + 1) != '/') continue;
3132
- pointer++;
3133
- break;
3134
-
3135
- case SPECIAL_AUTHORITY_IGNORE_SLASHES:
3136
- if (chr != '/' && chr != '\\') {
3137
- state = AUTHORITY;
3138
- continue;
3139
- } break;
3140
-
3141
- case AUTHORITY:
3142
- if (chr == '@') {
3143
- if (seenAt) buffer = '%40' + buffer;
3144
- seenAt = true;
3145
- bufferCodePoints = arrayFrom(buffer);
3146
- for (var i = 0; i < bufferCodePoints.length; i++) {
3147
- var codePoint = bufferCodePoints[i];
3148
- if (codePoint == ':' && !seenPasswordToken) {
3149
- seenPasswordToken = true;
3150
- continue;
3151
- }
3152
- var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet);
3153
- if (seenPasswordToken) url.password += encodedCodePoints;
3154
- else url.username += encodedCodePoints;
3155
- }
3156
- buffer = '';
3157
- } else if (
3158
- chr == EOF || chr == '/' || chr == '?' || chr == '#' ||
3159
- (chr == '\\' && url.isSpecial())
3160
- ) {
3161
- if (seenAt && buffer == '') return INVALID_AUTHORITY;
3162
- pointer -= arrayFrom(buffer).length + 1;
3163
- buffer = '';
3164
- state = HOST;
3165
- } else buffer += chr;
3166
- break;
3167
-
3168
- case HOST:
3169
- case HOSTNAME:
3170
- if (stateOverride && url.scheme == 'file') {
3171
- state = FILE_HOST;
3172
- continue;
3173
- } else if (chr == ':' && !seenBracket) {
3174
- if (buffer == '') return INVALID_HOST;
3175
- failure = url.parseHost(buffer);
3176
- if (failure) return failure;
3177
- buffer = '';
3178
- state = PORT;
3179
- if (stateOverride == HOSTNAME) return;
3180
- } else if (
3181
- chr == EOF || chr == '/' || chr == '?' || chr == '#' ||
3182
- (chr == '\\' && url.isSpecial())
3183
- ) {
3184
- if (url.isSpecial() && buffer == '') return INVALID_HOST;
3185
- if (stateOverride && buffer == '' && (url.includesCredentials() || url.port !== null)) return;
3186
- failure = url.parseHost(buffer);
3187
- if (failure) return failure;
3188
- buffer = '';
3189
- state = PATH_START;
3190
- if (stateOverride) return;
3191
- continue;
3192
- } else {
3193
- if (chr == '[') seenBracket = true;
3194
- else if (chr == ']') seenBracket = false;
3195
- buffer += chr;
3196
- } break;
3197
-
3198
- case PORT:
3199
- if (exec(DIGIT, chr)) {
3200
- buffer += chr;
3201
- } else if (
3202
- chr == EOF || chr == '/' || chr == '?' || chr == '#' ||
3203
- (chr == '\\' && url.isSpecial()) ||
3204
- stateOverride
3205
- ) {
3206
- if (buffer != '') {
3207
- var port = parseInt$1(buffer, 10);
3208
- if (port > 0xFFFF) return INVALID_PORT;
3209
- url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port;
3210
- buffer = '';
3211
- }
3212
- if (stateOverride) return;
3213
- state = PATH_START;
3214
- continue;
3215
- } else return INVALID_PORT;
3216
- break;
3217
-
3218
- case FILE:
3219
- url.scheme = 'file';
3220
- if (chr == '/' || chr == '\\') state = FILE_SLASH;
3221
- else if (base && base.scheme == 'file') {
3222
- if (chr == EOF) {
3223
- url.host = base.host;
3224
- url.path = arraySlice(base.path);
3225
- url.query = base.query;
3226
- } else if (chr == '?') {
3227
- url.host = base.host;
3228
- url.path = arraySlice(base.path);
3229
- url.query = '';
3230
- state = QUERY;
3231
- } else if (chr == '#') {
3232
- url.host = base.host;
3233
- url.path = arraySlice(base.path);
3234
- url.query = base.query;
3235
- url.fragment = '';
3236
- state = FRAGMENT;
3237
- } else {
3238
- if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
3239
- url.host = base.host;
3240
- url.path = arraySlice(base.path);
3241
- url.shortenPath();
3242
- }
3243
- state = PATH;
3244
- continue;
3245
- }
3246
- } else {
3247
- state = PATH;
3248
- continue;
3249
- } break;
3250
-
3251
- case FILE_SLASH:
3252
- if (chr == '/' || chr == '\\') {
3253
- state = FILE_HOST;
3254
- break;
3255
- }
3256
- if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
3257
- if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]);
3258
- else url.host = base.host;
3259
- }
3260
- state = PATH;
3261
- continue;
3262
-
3263
- case FILE_HOST:
3264
- if (chr == EOF || chr == '/' || chr == '\\' || chr == '?' || chr == '#') {
3265
- if (!stateOverride && isWindowsDriveLetter(buffer)) {
3266
- state = PATH;
3267
- } else if (buffer == '') {
3268
- url.host = '';
3269
- if (stateOverride) return;
3270
- state = PATH_START;
3271
- } else {
3272
- failure = url.parseHost(buffer);
3273
- if (failure) return failure;
3274
- if (url.host == 'localhost') url.host = '';
3275
- if (stateOverride) return;
3276
- buffer = '';
3277
- state = PATH_START;
3278
- } continue;
3279
- } else buffer += chr;
3280
- break;
3281
-
3282
- case PATH_START:
3283
- if (url.isSpecial()) {
3284
- state = PATH;
3285
- if (chr != '/' && chr != '\\') continue;
3286
- } else if (!stateOverride && chr == '?') {
3287
- url.query = '';
3288
- state = QUERY;
3289
- } else if (!stateOverride && chr == '#') {
3290
- url.fragment = '';
3291
- state = FRAGMENT;
3292
- } else if (chr != EOF) {
3293
- state = PATH;
3294
- if (chr != '/') continue;
3295
- } break;
3296
-
3297
- case PATH:
3298
- if (
3299
- chr == EOF || chr == '/' ||
3300
- (chr == '\\' && url.isSpecial()) ||
3301
- (!stateOverride && (chr == '?' || chr == '#'))
3302
- ) {
3303
- if (isDoubleDot(buffer)) {
3304
- url.shortenPath();
3305
- if (chr != '/' && !(chr == '\\' && url.isSpecial())) {
3306
- push(url.path, '');
3307
- }
3308
- } else if (isSingleDot(buffer)) {
3309
- if (chr != '/' && !(chr == '\\' && url.isSpecial())) {
3310
- push(url.path, '');
3311
- }
3312
- } else {
3313
- if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {
3314
- if (url.host) url.host = '';
3315
- buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter
3316
- }
3317
- push(url.path, buffer);
3318
- }
3319
- buffer = '';
3320
- if (url.scheme == 'file' && (chr == EOF || chr == '?' || chr == '#')) {
3321
- while (url.path.length > 1 && url.path[0] === '') {
3322
- shift(url.path);
3323
- }
3324
- }
3325
- if (chr == '?') {
3326
- url.query = '';
3327
- state = QUERY;
3328
- } else if (chr == '#') {
3329
- url.fragment = '';
3330
- state = FRAGMENT;
3331
- }
3332
- } else {
3333
- buffer += percentEncode(chr, pathPercentEncodeSet);
3334
- } break;
3335
-
3336
- case CANNOT_BE_A_BASE_URL_PATH:
3337
- if (chr == '?') {
3338
- url.query = '';
3339
- state = QUERY;
3340
- } else if (chr == '#') {
3341
- url.fragment = '';
3342
- state = FRAGMENT;
3343
- } else if (chr != EOF) {
3344
- url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet);
3345
- } break;
3346
-
3347
- case QUERY:
3348
- if (!stateOverride && chr == '#') {
3349
- url.fragment = '';
3350
- state = FRAGMENT;
3351
- } else if (chr != EOF) {
3352
- if (chr == "'" && url.isSpecial()) url.query += '%27';
3353
- else if (chr == '#') url.query += '%23';
3354
- else url.query += percentEncode(chr, C0ControlPercentEncodeSet);
3355
- } break;
3356
-
3357
- case FRAGMENT:
3358
- if (chr != EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet);
3359
- break;
3360
- }
3361
-
3362
- pointer++;
3363
- }
3364
- },
3365
- // https://url.spec.whatwg.org/#host-parsing
3366
- parseHost: function (input) {
3367
- var result, codePoints, index;
3368
- if (charAt(input, 0) == '[') {
3369
- if (charAt(input, input.length - 1) != ']') return INVALID_HOST;
3370
- result = parseIPv6(stringSlice(input, 1, -1));
3371
- if (!result) return INVALID_HOST;
3372
- this.host = result;
3373
- // opaque host
3374
- } else if (!this.isSpecial()) {
3375
- if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST;
3376
- result = '';
3377
- codePoints = arrayFrom(input);
3378
- for (index = 0; index < codePoints.length; index++) {
3379
- result += percentEncode(codePoints[index], C0ControlPercentEncodeSet);
3380
- }
3381
- this.host = result;
3382
- } else {
3383
- input = toASCII(input);
3384
- if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST;
3385
- result = parseIPv4(input);
3386
- if (result === null) return INVALID_HOST;
3387
- this.host = result;
3388
- }
3389
- },
3390
- // https://url.spec.whatwg.org/#cannot-have-a-username-password-port
3391
- cannotHaveUsernamePasswordPort: function () {
3392
- return !this.host || this.cannotBeABaseURL || this.scheme == 'file';
3393
- },
3394
- // https://url.spec.whatwg.org/#include-credentials
3395
- includesCredentials: function () {
3396
- return this.username != '' || this.password != '';
3397
- },
3398
- // https://url.spec.whatwg.org/#is-special
3399
- isSpecial: function () {
3400
- return hasOwn(specialSchemes, this.scheme);
3401
- },
3402
- // https://url.spec.whatwg.org/#shorten-a-urls-path
3403
- shortenPath: function () {
3404
- var path = this.path;
3405
- var pathSize = path.length;
3406
- if (pathSize && (this.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) {
3407
- path.length--;
3408
- }
3409
- },
3410
- // https://url.spec.whatwg.org/#concept-url-serializer
3411
- serialize: function () {
3412
- var url = this;
3413
- var scheme = url.scheme;
3414
- var username = url.username;
3415
- var password = url.password;
3416
- var host = url.host;
3417
- var port = url.port;
3418
- var path = url.path;
3419
- var query = url.query;
3420
- var fragment = url.fragment;
3421
- var output = scheme + ':';
3422
- if (host !== null) {
3423
- output += '//';
3424
- if (url.includesCredentials()) {
3425
- output += username + (password ? ':' + password : '') + '@';
3426
- }
3427
- output += serializeHost(host);
3428
- if (port !== null) output += ':' + port;
3429
- } else if (scheme == 'file') output += '//';
3430
- output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';
3431
- if (query !== null) output += '?' + query;
3432
- if (fragment !== null) output += '#' + fragment;
3433
- return output;
3434
- },
3435
- // https://url.spec.whatwg.org/#dom-url-href
3436
- setHref: function (href) {
3437
- var failure = this.parse(href);
3438
- if (failure) throw TypeError$1(failure);
3439
- this.searchParams.update();
3440
- },
3441
- // https://url.spec.whatwg.org/#dom-url-origin
3442
- getOrigin: function () {
3443
- var scheme = this.scheme;
3444
- var port = this.port;
3445
- if (scheme == 'blob') try {
3446
- return new URLConstructor(scheme.path[0]).origin;
3447
- } catch (error) {
3448
- return 'null';
3449
- }
3450
- if (scheme == 'file' || !this.isSpecial()) return 'null';
3451
- return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : '');
3452
- },
3453
- // https://url.spec.whatwg.org/#dom-url-protocol
3454
- getProtocol: function () {
3455
- return this.scheme + ':';
3456
- },
3457
- setProtocol: function (protocol) {
3458
- this.parse($toString(protocol) + ':', SCHEME_START);
3459
- },
3460
- // https://url.spec.whatwg.org/#dom-url-username
3461
- getUsername: function () {
3462
- return this.username;
3463
- },
3464
- setUsername: function (username) {
3465
- var codePoints = arrayFrom($toString(username));
3466
- if (this.cannotHaveUsernamePasswordPort()) return;
3467
- this.username = '';
3468
- for (var i = 0; i < codePoints.length; i++) {
3469
- this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet);
3470
- }
3471
- },
3472
- // https://url.spec.whatwg.org/#dom-url-password
3473
- getPassword: function () {
3474
- return this.password;
3475
- },
3476
- setPassword: function (password) {
3477
- var codePoints = arrayFrom($toString(password));
3478
- if (this.cannotHaveUsernamePasswordPort()) return;
3479
- this.password = '';
3480
- for (var i = 0; i < codePoints.length; i++) {
3481
- this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet);
3482
- }
3483
- },
3484
- // https://url.spec.whatwg.org/#dom-url-host
3485
- getHost: function () {
3486
- var host = this.host;
3487
- var port = this.port;
3488
- return host === null ? ''
3489
- : port === null ? serializeHost(host)
3490
- : serializeHost(host) + ':' + port;
3491
- },
3492
- setHost: function (host) {
3493
- if (this.cannotBeABaseURL) return;
3494
- this.parse(host, HOST);
3495
- },
3496
- // https://url.spec.whatwg.org/#dom-url-hostname
3497
- getHostname: function () {
3498
- var host = this.host;
3499
- return host === null ? '' : serializeHost(host);
3500
- },
3501
- setHostname: function (hostname) {
3502
- if (this.cannotBeABaseURL) return;
3503
- this.parse(hostname, HOSTNAME);
3504
- },
3505
- // https://url.spec.whatwg.org/#dom-url-port
3506
- getPort: function () {
3507
- var port = this.port;
3508
- return port === null ? '' : $toString(port);
3509
- },
3510
- setPort: function (port) {
3511
- if (this.cannotHaveUsernamePasswordPort()) return;
3512
- port = $toString(port);
3513
- if (port == '') this.port = null;
3514
- else this.parse(port, PORT);
3515
- },
3516
- // https://url.spec.whatwg.org/#dom-url-pathname
3517
- getPathname: function () {
3518
- var path = this.path;
3519
- return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';
3520
- },
3521
- setPathname: function (pathname) {
3522
- if (this.cannotBeABaseURL) return;
3523
- this.path = [];
3524
- this.parse(pathname, PATH_START);
3525
- },
3526
- // https://url.spec.whatwg.org/#dom-url-search
3527
- getSearch: function () {
3528
- var query = this.query;
3529
- return query ? '?' + query : '';
3530
- },
3531
- setSearch: function (search) {
3532
- search = $toString(search);
3533
- if (search == '') {
3534
- this.query = null;
3535
- } else {
3536
- if ('?' == charAt(search, 0)) search = stringSlice(search, 1);
3537
- this.query = '';
3538
- this.parse(search, QUERY);
3539
- }
3540
- this.searchParams.update();
3541
- },
3542
- // https://url.spec.whatwg.org/#dom-url-searchparams
3543
- getSearchParams: function () {
3544
- return this.searchParams.facade;
3545
- },
3546
- // https://url.spec.whatwg.org/#dom-url-hash
3547
- getHash: function () {
3548
- var fragment = this.fragment;
3549
- return fragment ? '#' + fragment : '';
3550
- },
3551
- setHash: function (hash) {
3552
- hash = $toString(hash);
3553
- if (hash == '') {
3554
- this.fragment = null;
3555
- return;
3556
- }
3557
- if ('#' == charAt(hash, 0)) hash = stringSlice(hash, 1);
3558
- this.fragment = '';
3559
- this.parse(hash, FRAGMENT);
3560
- },
3561
- update: function () {
3562
- this.query = this.searchParams.serialize() || null;
3563
- }
3564
- };
3565
-
3566
- // `URL` constructor
3567
- // https://url.spec.whatwg.org/#url-class
3568
- var URLConstructor = function URL(url /* , base */) {
3569
- var that = anInstance(this, URLPrototype);
3570
- var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;
3571
- var state = setInternalState(that, new URLState(url, false, base));
3572
- if (!DESCRIPTORS) {
3573
- that.href = state.serialize();
3574
- that.origin = state.getOrigin();
3575
- that.protocol = state.getProtocol();
3576
- that.username = state.getUsername();
3577
- that.password = state.getPassword();
3578
- that.host = state.getHost();
3579
- that.hostname = state.getHostname();
3580
- that.port = state.getPort();
3581
- that.pathname = state.getPathname();
3582
- that.search = state.getSearch();
3583
- that.searchParams = state.getSearchParams();
3584
- that.hash = state.getHash();
3585
- }
3586
- };
3587
-
3588
- var URLPrototype = URLConstructor.prototype;
3589
-
3590
- var accessorDescriptor = function (getter, setter) {
3591
- return {
3592
- get: function () {
3593
- return getInternalURLState(this)[getter]();
3594
- },
3595
- set: setter && function (value) {
3596
- return getInternalURLState(this)[setter](value);
3597
- },
3598
- configurable: true,
3599
- enumerable: true
3600
- };
3601
- };
3602
-
3603
- if (DESCRIPTORS) {
3604
- // `URL.prototype.href` accessors pair
3605
- // https://url.spec.whatwg.org/#dom-url-href
3606
- defineBuiltInAccessor(URLPrototype, 'href', accessorDescriptor('serialize', 'setHref'));
3607
- // `URL.prototype.origin` getter
3608
- // https://url.spec.whatwg.org/#dom-url-origin
3609
- defineBuiltInAccessor(URLPrototype, 'origin', accessorDescriptor('getOrigin'));
3610
- // `URL.prototype.protocol` accessors pair
3611
- // https://url.spec.whatwg.org/#dom-url-protocol
3612
- defineBuiltInAccessor(URLPrototype, 'protocol', accessorDescriptor('getProtocol', 'setProtocol'));
3613
- // `URL.prototype.username` accessors pair
3614
- // https://url.spec.whatwg.org/#dom-url-username
3615
- defineBuiltInAccessor(URLPrototype, 'username', accessorDescriptor('getUsername', 'setUsername'));
3616
- // `URL.prototype.password` accessors pair
3617
- // https://url.spec.whatwg.org/#dom-url-password
3618
- defineBuiltInAccessor(URLPrototype, 'password', accessorDescriptor('getPassword', 'setPassword'));
3619
- // `URL.prototype.host` accessors pair
3620
- // https://url.spec.whatwg.org/#dom-url-host
3621
- defineBuiltInAccessor(URLPrototype, 'host', accessorDescriptor('getHost', 'setHost'));
3622
- // `URL.prototype.hostname` accessors pair
3623
- // https://url.spec.whatwg.org/#dom-url-hostname
3624
- defineBuiltInAccessor(URLPrototype, 'hostname', accessorDescriptor('getHostname', 'setHostname'));
3625
- // `URL.prototype.port` accessors pair
3626
- // https://url.spec.whatwg.org/#dom-url-port
3627
- defineBuiltInAccessor(URLPrototype, 'port', accessorDescriptor('getPort', 'setPort'));
3628
- // `URL.prototype.pathname` accessors pair
3629
- // https://url.spec.whatwg.org/#dom-url-pathname
3630
- defineBuiltInAccessor(URLPrototype, 'pathname', accessorDescriptor('getPathname', 'setPathname'));
3631
- // `URL.prototype.search` accessors pair
3632
- // https://url.spec.whatwg.org/#dom-url-search
3633
- defineBuiltInAccessor(URLPrototype, 'search', accessorDescriptor('getSearch', 'setSearch'));
3634
- // `URL.prototype.searchParams` getter
3635
- // https://url.spec.whatwg.org/#dom-url-searchparams
3636
- defineBuiltInAccessor(URLPrototype, 'searchParams', accessorDescriptor('getSearchParams'));
3637
- // `URL.prototype.hash` accessors pair
3638
- // https://url.spec.whatwg.org/#dom-url-hash
3639
- defineBuiltInAccessor(URLPrototype, 'hash', accessorDescriptor('getHash', 'setHash'));
3640
- }
3641
-
3642
- // `URL.prototype.toJSON` method
3643
- // https://url.spec.whatwg.org/#dom-url-tojson
3644
- defineBuiltIn(URLPrototype, 'toJSON', function toJSON() {
3645
- return getInternalURLState(this).serialize();
3646
- }, { enumerable: true });
3647
-
3648
- // `URL.prototype.toString` method
3649
- // https://url.spec.whatwg.org/#URL-stringification-behavior
3650
- defineBuiltIn(URLPrototype, 'toString', function toString() {
3651
- return getInternalURLState(this).serialize();
3652
- }, { enumerable: true });
3653
-
3654
- if (NativeURL) {
3655
- var nativeCreateObjectURL = NativeURL.createObjectURL;
3656
- var nativeRevokeObjectURL = NativeURL.revokeObjectURL;
3657
- // `URL.createObjectURL` method
3658
- // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
3659
- if (nativeCreateObjectURL) defineBuiltIn(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL));
3660
- // `URL.revokeObjectURL` method
3661
- // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL
3662
- if (nativeRevokeObjectURL) defineBuiltIn(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL));
3663
- }
3664
-
3665
- setToStringTag(URLConstructor, 'URL');
3666
-
3667
- $({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
3668
- URL: URLConstructor
3669
- });
3670
-
3671
1554
  /**
3672
1555
  * A reference to globalThis, with support
3673
1556
  * for browsers that don't yet support the spec.
@@ -8689,7 +6572,8 @@ class ElementDefinitionEntry {
8689
6572
  }
8690
6573
  /* eslint-enable @typescript-eslint/no-non-null-assertion */
8691
6574
 
8692
- const getPrefix = url => new URL(url).searchParams.get('prefix') || 'vwc';
6575
+ const defaultPrefix = 'vwc';
8693
6576
  const designSystem = DesignSystem.getOrCreate();
6577
+ const registerFactorial = args => (prefix = defaultPrefix) => designSystem.withPrefix(prefix).register(...args);
8694
6578
 
8695
- export { emptyArray as $, isForced_1 as A, inspectSource$2 as B, engineV8Version as C, aCallable$3 as D, _export as E, FoundationElement as F, defineBuiltIn$6 as G, objectSetPrototypeOf as H, setToStringTag$4 as I, functionCall as J, anInstance$2 as K, internalState as L, isObject$8 as M, isArrayIteratorMethod$1 as N, lengthOfArrayLike$3 as O, objectIsPrototypeOf as P, getIterator$2 as Q, getIteratorMethod$3 as R, iteratorClose$1 as S, AttributeConfiguration as T, functionName as U, observable as V, requireObjectCoercible$3 as W, toString$2 as X, __classPrivateFieldGet as Y, booleanConverter as Z, __decorate as _, attr as a, DOM as a0, AttachedBehaviorHTMLDirective as a1, Observable as a2, SubscriberSet as a3, HTMLDirective as a4, HTMLView as a5, nullableNumberConverter as a6, objectAssign as a7, copyConstructorProperties$1 as a8, __classPrivateFieldSet as a9, volatile as aa, __metadata as b, classofRaw$2 as c, designSystem as d, global$d as e, getBuiltIn$5 as f, getPrefix as g, html as h, descriptors as i, isConstructor$1 as j, anObject$9 as k, isNullOrUndefined$3 as l, functionBindNative as m, functionUncurryThis as n, objectDefineProperty as o, engineUserAgent as p, functionBindContext as q, isCallable$h as r, fails$d as s, tryToString$2 as t, html$2 as u, documentCreateElement$2 as v, wellKnownSymbol$c as w, validateArgumentsLength$2 as x, hasOwnProperty_1 as y, objectGetOwnPropertyDescriptor as z };
6579
+ export { objectKeys$1 as $, engineV8Version as A, _export as B, defineBuiltIn$3 as C, objectSetPrototypeOf as D, setToStringTag$2 as E, FoundationElement as F, functionCall as G, internalState as H, isObject$7 as I, iterators as J, getMethod$1 as K, lengthOfArrayLike$1 as L, functionName as M, observable as N, AttributeConfiguration as O, requireObjectCoercible$2 as P, __classPrivateFieldGet as Q, AttachedBehaviorHTMLDirective as R, booleanConverter as S, emptyArray as T, DOM as U, Observable as V, SubscriberSet as W, HTMLDirective as X, HTMLView as Y, nullableNumberConverter as Z, __decorate as _, attr as a, toObject$2 as a0, indexedObject as a1, objectGetOwnPropertySymbols as a2, objectPropertyIsEnumerable as a3, copyConstructorProperties$1 as a4, __classPrivateFieldSet as a5, volatile as a6, __metadata as b, classofRaw$1 as c, getBuiltIn$4 as d, descriptors as e, objectIsPrototypeOf as f, global$b as g, html as h, functionUncurryThis as i, fails$a as j, isCallable$e as k, inspectSource$1 as l, anObject$5 as m, isNullOrUndefined$2 as n, objectDefineProperty as o, functionBindNative as p, aCallable$1 as q, registerFactorial as r, engineUserAgent as s, tryToString$1 as t, html$2 as u, documentCreateElement$2 as v, wellKnownSymbol$6 as w, hasOwnProperty_1 as x, objectGetOwnPropertyDescriptor as y, isForced_1 as z };