govuk_publishing_components 35.17.0 → 35.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-core.js +5 -0
  3. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-form-tracker.js +2 -1
  4. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-page-views.js +14 -1
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +2 -2
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +154 -11
  7. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +1 -0
  8. data/app/models/govuk_publishing_components/audit_applications.rb +4 -4
  9. data/app/models/govuk_publishing_components/audit_comparer.rb +5 -5
  10. data/app/views/govuk_publishing_components/components/_contents_list.html.erb +4 -2
  11. data/app/views/govuk_publishing_components/components/_govspeak.html.erb +1 -0
  12. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +11 -4
  13. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +154 -76
  14. data/app/views/govuk_publishing_components/components/docs/contents_list.yml +3 -4
  15. data/app/views/govuk_publishing_components/components/docs/image_card.yml +2 -2
  16. data/app/views/govuk_publishing_components/components/docs/layout_for_public.yml +5 -0
  17. data/app/views/govuk_publishing_components/components/docs/layout_super_navigation_header.yml +29 -0
  18. data/app/views/govuk_publishing_components/components/layout_for_public/_layout_super_navigation_header_homepage.html.erb +11 -0
  19. data/lib/govuk_publishing_components/presenters/attachment_helper.rb +1 -1
  20. data/lib/govuk_publishing_components/presenters/checkboxes_helper.rb +1 -1
  21. data/lib/govuk_publishing_components/presenters/content_item.rb +1 -1
  22. data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +6 -0
  23. data/lib/govuk_publishing_components/presenters/curated_taxonomy_sidebar_links.rb +0 -2
  24. data/lib/govuk_publishing_components/presenters/devolved_nations_helper.rb +2 -2
  25. data/lib/govuk_publishing_components/presenters/image_card_helper.rb +6 -2
  26. data/lib/govuk_publishing_components/presenters/page_with_step_by_step_navigation.rb +1 -1
  27. data/lib/govuk_publishing_components/presenters/public_layout_helper.rb +1 -1
  28. data/lib/govuk_publishing_components/version.rb +1 -1
  29. data/node_modules/axe-core/axe.js +679 -11
  30. data/node_modules/axe-core/axe.min.js +2 -2
  31. data/node_modules/axe-core/locales/ja.json +12 -12
  32. data/node_modules/axe-core/package.json +1 -1
  33. data/node_modules/axe-core/sri-history.json +4 -0
  34. metadata +5 -4
@@ -1,4 +1,4 @@
1
- /*! axe v4.8.1
1
+ /*! axe v4.8.2
2
2
  * Copyright (c) 2015 - 2023 Deque Systems, Inc.
3
3
  *
4
4
  * Your use of this Source Code Form is subject to the terms of the Mozilla Public
@@ -22,7 +22,7 @@
22
22
  }, _typeof(obj);
23
23
  }
24
24
  var axe = axe || {};
25
- axe.version = '4.8.1';
25
+ axe.version = '4.8.2';
26
26
  if (typeof define === 'function' && define.amd) {
27
27
  define('axe-core', [], function() {
28
28
  return axe;
@@ -1274,24 +1274,24 @@
1274
1274
  symbol: true
1275
1275
  };
1276
1276
  module.exports = function() {
1277
- var _Symbol = global2.Symbol;
1277
+ var Symbol2 = global2.Symbol;
1278
1278
  var symbol;
1279
- if (typeof _Symbol !== 'function') {
1279
+ if (typeof Symbol2 !== 'function') {
1280
1280
  return false;
1281
1281
  }
1282
- symbol = _Symbol('test symbol');
1282
+ symbol = Symbol2('test symbol');
1283
1283
  try {
1284
1284
  String(symbol);
1285
1285
  } catch (e) {
1286
1286
  return false;
1287
1287
  }
1288
- if (!validTypes[_typeof(_Symbol.iterator)]) {
1288
+ if (!validTypes[_typeof(Symbol2.iterator)]) {
1289
1289
  return false;
1290
1290
  }
1291
- if (!validTypes[_typeof(_Symbol.toPrimitive)]) {
1291
+ if (!validTypes[_typeof(Symbol2.toPrimitive)]) {
1292
1292
  return false;
1293
1293
  }
1294
- if (!validTypes[_typeof(_Symbol.toStringTag)]) {
1294
+ if (!validTypes[_typeof(Symbol2.toStringTag)]) {
1295
1295
  return false;
1296
1296
  }
1297
1297
  return true;
@@ -1419,15 +1419,15 @@
1419
1419
  } else {
1420
1420
  NativeSymbol = null;
1421
1421
  }
1422
- HiddenSymbol = function _Symbol2(description) {
1422
+ HiddenSymbol = function Symbol2(description) {
1423
1423
  if (this instanceof HiddenSymbol) {
1424
1424
  throw new TypeError('Symbol is not a constructor');
1425
1425
  }
1426
1426
  return SymbolPolyfill(description);
1427
1427
  };
1428
- module.exports = SymbolPolyfill = function _Symbol3(description) {
1428
+ module.exports = SymbolPolyfill = function Symbol2(description) {
1429
1429
  var symbol;
1430
- if (this instanceof _Symbol3) {
1430
+ if (this instanceof Symbol2) {
1431
1431
  throw new TypeError('Symbol is not a constructor');
1432
1432
  }
1433
1433
  if (isNativeSafe) {
@@ -4959,6 +4959,670 @@
4959
4959
  }
4960
4960
  })(typeof globalThis !== 'undefined' ? globalThis : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : exports);
4961
4961
  });
4962
+ var require_global = __commonJS(function(exports, module) {
4963
+ var check = function check(it) {
4964
+ return it && it.Math == Math && it;
4965
+ };
4966
+ module.exports = check((typeof globalThis === 'undefined' ? 'undefined' : _typeof(globalThis)) == 'object' && globalThis) || check((typeof window === 'undefined' ? 'undefined' : _typeof(window)) == 'object' && window) || check((typeof self === 'undefined' ? 'undefined' : _typeof(self)) == 'object' && self) || check((typeof global === 'undefined' ? 'undefined' : _typeof(global)) == 'object' && global) || function() {
4967
+ return this;
4968
+ }() || Function('return this')();
4969
+ });
4970
+ var require_fails = __commonJS(function(exports, module) {
4971
+ module.exports = function(exec) {
4972
+ try {
4973
+ return !!exec();
4974
+ } catch (error) {
4975
+ return true;
4976
+ }
4977
+ };
4978
+ });
4979
+ var require_function_bind_native = __commonJS(function(exports, module) {
4980
+ var fails = require_fails();
4981
+ module.exports = !fails(function() {
4982
+ var test = function() {}.bind();
4983
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
4984
+ });
4985
+ });
4986
+ var require_function_apply = __commonJS(function(exports, module) {
4987
+ var NATIVE_BIND = require_function_bind_native();
4988
+ var FunctionPrototype = Function.prototype;
4989
+ var apply = FunctionPrototype.apply;
4990
+ var call = FunctionPrototype.call;
4991
+ module.exports = (typeof Reflect === 'undefined' ? 'undefined' : _typeof(Reflect)) == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function() {
4992
+ return call.apply(apply, arguments);
4993
+ });
4994
+ });
4995
+ var require_function_uncurry_this = __commonJS(function(exports, module) {
4996
+ var NATIVE_BIND = require_function_bind_native();
4997
+ var FunctionPrototype = Function.prototype;
4998
+ var call = FunctionPrototype.call;
4999
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
5000
+ module.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) {
5001
+ return function() {
5002
+ return call.apply(fn, arguments);
5003
+ };
5004
+ };
5005
+ });
5006
+ var require_classof_raw = __commonJS(function(exports, module) {
5007
+ var uncurryThis = require_function_uncurry_this();
5008
+ var toString = uncurryThis({}.toString);
5009
+ var stringSlice = uncurryThis(''.slice);
5010
+ module.exports = function(it) {
5011
+ return stringSlice(toString(it), 8, -1);
5012
+ };
5013
+ });
5014
+ var require_function_uncurry_this_clause = __commonJS(function(exports, module) {
5015
+ var classofRaw = require_classof_raw();
5016
+ var uncurryThis = require_function_uncurry_this();
5017
+ module.exports = function(fn) {
5018
+ if (classofRaw(fn) === 'Function') {
5019
+ return uncurryThis(fn);
5020
+ }
5021
+ };
5022
+ });
5023
+ var require_document_all = __commonJS(function(exports, module) {
5024
+ var documentAll = (typeof document === 'undefined' ? 'undefined' : _typeof(document)) == 'object' && document.all;
5025
+ var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== void 0;
5026
+ module.exports = {
5027
+ all: documentAll,
5028
+ IS_HTMLDDA: IS_HTMLDDA
5029
+ };
5030
+ });
5031
+ var require_is_callable2 = __commonJS(function(exports, module) {
5032
+ var $documentAll = require_document_all();
5033
+ var documentAll = $documentAll.all;
5034
+ module.exports = $documentAll.IS_HTMLDDA ? function(argument) {
5035
+ return typeof argument == 'function' || argument === documentAll;
5036
+ } : function(argument) {
5037
+ return typeof argument == 'function';
5038
+ };
5039
+ });
5040
+ var require_descriptors = __commonJS(function(exports, module) {
5041
+ var fails = require_fails();
5042
+ module.exports = !fails(function() {
5043
+ return Object.defineProperty({}, 1, {
5044
+ get: function get() {
5045
+ return 7;
5046
+ }
5047
+ })[1] != 7;
5048
+ });
5049
+ });
5050
+ var require_function_call = __commonJS(function(exports, module) {
5051
+ var NATIVE_BIND = require_function_bind_native();
5052
+ var call = Function.prototype.call;
5053
+ module.exports = NATIVE_BIND ? call.bind(call) : function() {
5054
+ return call.apply(call, arguments);
5055
+ };
5056
+ });
5057
+ var require_object_property_is_enumerable = __commonJS(function(exports) {
5058
+ 'use strict';
5059
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
5060
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
5061
+ var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({
5062
+ 1: 2
5063
+ }, 1);
5064
+ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
5065
+ var descriptor = getOwnPropertyDescriptor(this, V);
5066
+ return !!descriptor && descriptor.enumerable;
5067
+ } : $propertyIsEnumerable;
5068
+ });
5069
+ var require_create_property_descriptor = __commonJS(function(exports, module) {
5070
+ module.exports = function(bitmap, value) {
5071
+ return {
5072
+ enumerable: !(bitmap & 1),
5073
+ configurable: !(bitmap & 2),
5074
+ writable: !(bitmap & 4),
5075
+ value: value
5076
+ };
5077
+ };
5078
+ });
5079
+ var require_indexed_object = __commonJS(function(exports, module) {
5080
+ var uncurryThis = require_function_uncurry_this();
5081
+ var fails = require_fails();
5082
+ var classof = require_classof_raw();
5083
+ var $Object = Object;
5084
+ var split = uncurryThis(''.split);
5085
+ module.exports = fails(function() {
5086
+ return !$Object('z').propertyIsEnumerable(0);
5087
+ }) ? function(it) {
5088
+ return classof(it) == 'String' ? split(it, '') : $Object(it);
5089
+ } : $Object;
5090
+ });
5091
+ var require_is_null_or_undefined = __commonJS(function(exports, module) {
5092
+ module.exports = function(it) {
5093
+ return it === null || it === void 0;
5094
+ };
5095
+ });
5096
+ var require_require_object_coercible = __commonJS(function(exports, module) {
5097
+ var isNullOrUndefined = require_is_null_or_undefined();
5098
+ var $TypeError = TypeError;
5099
+ module.exports = function(it) {
5100
+ if (isNullOrUndefined(it)) {
5101
+ throw $TypeError('Can\'t call method on ' + it);
5102
+ }
5103
+ return it;
5104
+ };
5105
+ });
5106
+ var require_to_indexed_object = __commonJS(function(exports, module) {
5107
+ var IndexedObject = require_indexed_object();
5108
+ var requireObjectCoercible = require_require_object_coercible();
5109
+ module.exports = function(it) {
5110
+ return IndexedObject(requireObjectCoercible(it));
5111
+ };
5112
+ });
5113
+ var require_is_object2 = __commonJS(function(exports, module) {
5114
+ var isCallable = require_is_callable2();
5115
+ var $documentAll = require_document_all();
5116
+ var documentAll = $documentAll.all;
5117
+ module.exports = $documentAll.IS_HTMLDDA ? function(it) {
5118
+ return _typeof(it) == 'object' ? it !== null : isCallable(it) || it === documentAll;
5119
+ } : function(it) {
5120
+ return _typeof(it) == 'object' ? it !== null : isCallable(it);
5121
+ };
5122
+ });
5123
+ var require_path = __commonJS(function(exports, module) {
5124
+ module.exports = {};
5125
+ });
5126
+ var require_get_built_in = __commonJS(function(exports, module) {
5127
+ var path = require_path();
5128
+ var global2 = require_global();
5129
+ var isCallable = require_is_callable2();
5130
+ var aFunction = function aFunction(variable) {
5131
+ return isCallable(variable) ? variable : void 0;
5132
+ };
5133
+ module.exports = function(namespace, method) {
5134
+ return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global2[namespace]) : path[namespace] && path[namespace][method] || global2[namespace] && global2[namespace][method];
5135
+ };
5136
+ });
5137
+ var require_object_is_prototype_of = __commonJS(function(exports, module) {
5138
+ var uncurryThis = require_function_uncurry_this();
5139
+ module.exports = uncurryThis({}.isPrototypeOf);
5140
+ });
5141
+ var require_engine_user_agent = __commonJS(function(exports, module) {
5142
+ var getBuiltIn = require_get_built_in();
5143
+ module.exports = getBuiltIn('navigator', 'userAgent') || '';
5144
+ });
5145
+ var require_engine_v8_version = __commonJS(function(exports, module) {
5146
+ var global2 = require_global();
5147
+ var userAgent = require_engine_user_agent();
5148
+ var process2 = global2.process;
5149
+ var Deno = global2.Deno;
5150
+ var versions = process2 && process2.versions || Deno && Deno.version;
5151
+ var v8 = versions && versions.v8;
5152
+ var match;
5153
+ var version;
5154
+ if (v8) {
5155
+ match = v8.split('.');
5156
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
5157
+ }
5158
+ if (!version && userAgent) {
5159
+ match = userAgent.match(/Edge\/(\d+)/);
5160
+ if (!match || match[1] >= 74) {
5161
+ match = userAgent.match(/Chrome\/(\d+)/);
5162
+ if (match) {
5163
+ version = +match[1];
5164
+ }
5165
+ }
5166
+ }
5167
+ module.exports = version;
5168
+ });
5169
+ var require_symbol_constructor_detection = __commonJS(function(exports, module) {
5170
+ var V8_VERSION = require_engine_v8_version();
5171
+ var fails = require_fails();
5172
+ module.exports = !!Object.getOwnPropertySymbols && !fails(function() {
5173
+ var symbol = Symbol();
5174
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) || !Symbol.sham && V8_VERSION && V8_VERSION < 41;
5175
+ });
5176
+ });
5177
+ var require_use_symbol_as_uid = __commonJS(function(exports, module) {
5178
+ var NATIVE_SYMBOL = require_symbol_constructor_detection();
5179
+ module.exports = NATIVE_SYMBOL && !Symbol.sham && _typeof(Symbol.iterator) == 'symbol';
5180
+ });
5181
+ var require_is_symbol2 = __commonJS(function(exports, module) {
5182
+ var getBuiltIn = require_get_built_in();
5183
+ var isCallable = require_is_callable2();
5184
+ var isPrototypeOf = require_object_is_prototype_of();
5185
+ var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
5186
+ var $Object = Object;
5187
+ module.exports = USE_SYMBOL_AS_UID ? function(it) {
5188
+ return _typeof(it) == 'symbol';
5189
+ } : function(it) {
5190
+ var $Symbol = getBuiltIn('Symbol');
5191
+ return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
5192
+ };
5193
+ });
5194
+ var require_try_to_string = __commonJS(function(exports, module) {
5195
+ var $String = String;
5196
+ module.exports = function(argument) {
5197
+ try {
5198
+ return $String(argument);
5199
+ } catch (error) {
5200
+ return 'Object';
5201
+ }
5202
+ };
5203
+ });
5204
+ var require_a_callable = __commonJS(function(exports, module) {
5205
+ var isCallable = require_is_callable2();
5206
+ var tryToString = require_try_to_string();
5207
+ var $TypeError = TypeError;
5208
+ module.exports = function(argument) {
5209
+ if (isCallable(argument)) {
5210
+ return argument;
5211
+ }
5212
+ throw $TypeError(tryToString(argument) + ' is not a function');
5213
+ };
5214
+ });
5215
+ var require_get_method = __commonJS(function(exports, module) {
5216
+ var aCallable = require_a_callable();
5217
+ var isNullOrUndefined = require_is_null_or_undefined();
5218
+ module.exports = function(V, P) {
5219
+ var func = V[P];
5220
+ return isNullOrUndefined(func) ? void 0 : aCallable(func);
5221
+ };
5222
+ });
5223
+ var require_ordinary_to_primitive = __commonJS(function(exports, module) {
5224
+ var call = require_function_call();
5225
+ var isCallable = require_is_callable2();
5226
+ var isObject = require_is_object2();
5227
+ var $TypeError = TypeError;
5228
+ module.exports = function(input, pref) {
5229
+ var fn, val;
5230
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) {
5231
+ return val;
5232
+ }
5233
+ if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) {
5234
+ return val;
5235
+ }
5236
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) {
5237
+ return val;
5238
+ }
5239
+ throw $TypeError('Can\'t convert object to primitive value');
5240
+ };
5241
+ });
5242
+ var require_is_pure = __commonJS(function(exports, module) {
5243
+ module.exports = true;
5244
+ });
5245
+ var require_define_global_property = __commonJS(function(exports, module) {
5246
+ var global2 = require_global();
5247
+ var defineProperty = Object.defineProperty;
5248
+ module.exports = function(key, value) {
5249
+ try {
5250
+ defineProperty(global2, key, {
5251
+ value: value,
5252
+ configurable: true,
5253
+ writable: true
5254
+ });
5255
+ } catch (error) {
5256
+ global2[key] = value;
5257
+ }
5258
+ return value;
5259
+ };
5260
+ });
5261
+ var require_shared_store = __commonJS(function(exports, module) {
5262
+ var global2 = require_global();
5263
+ var defineGlobalProperty = require_define_global_property();
5264
+ var SHARED = '__core-js_shared__';
5265
+ var store = global2[SHARED] || defineGlobalProperty(SHARED, {});
5266
+ module.exports = store;
5267
+ });
5268
+ var require_shared = __commonJS(function(exports, module) {
5269
+ var IS_PURE = require_is_pure();
5270
+ var store = require_shared_store();
5271
+ (module.exports = function(key, value) {
5272
+ return store[key] || (store[key] = value !== void 0 ? value : {});
5273
+ })('versions', []).push({
5274
+ version: '3.26.1',
5275
+ mode: IS_PURE ? 'pure' : 'global',
5276
+ copyright: '\xa9 2014-2022 Denis Pushkarev (zloirock.ru)',
5277
+ license: 'https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE',
5278
+ source: 'https://github.com/zloirock/core-js'
5279
+ });
5280
+ });
5281
+ var require_to_object = __commonJS(function(exports, module) {
5282
+ var requireObjectCoercible = require_require_object_coercible();
5283
+ var $Object = Object;
5284
+ module.exports = function(argument) {
5285
+ return $Object(requireObjectCoercible(argument));
5286
+ };
5287
+ });
5288
+ var require_has_own_property = __commonJS(function(exports, module) {
5289
+ var uncurryThis = require_function_uncurry_this();
5290
+ var toObject = require_to_object();
5291
+ var hasOwnProperty2 = uncurryThis({}.hasOwnProperty);
5292
+ module.exports = Object.hasOwn || function hasOwn2(it, key) {
5293
+ return hasOwnProperty2(toObject(it), key);
5294
+ };
5295
+ });
5296
+ var require_uid = __commonJS(function(exports, module) {
5297
+ var uncurryThis = require_function_uncurry_this();
5298
+ var id = 0;
5299
+ var postfix = Math.random();
5300
+ var toString = uncurryThis(1..toString);
5301
+ module.exports = function(key) {
5302
+ return 'Symbol(' + (key === void 0 ? '' : key) + ')_' + toString(++id + postfix, 36);
5303
+ };
5304
+ });
5305
+ var require_well_known_symbol = __commonJS(function(exports, module) {
5306
+ var global2 = require_global();
5307
+ var shared = require_shared();
5308
+ var hasOwn2 = require_has_own_property();
5309
+ var uid = require_uid();
5310
+ var NATIVE_SYMBOL = require_symbol_constructor_detection();
5311
+ var USE_SYMBOL_AS_UID = require_use_symbol_as_uid();
5312
+ var WellKnownSymbolsStore = shared('wks');
5313
+ var Symbol2 = global2.Symbol;
5314
+ var symbolFor = Symbol2 && Symbol2['for'];
5315
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol2 : Symbol2 && Symbol2.withoutSetter || uid;
5316
+ module.exports = function(name) {
5317
+ if (!hasOwn2(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
5318
+ var description = 'Symbol.' + name;
5319
+ if (NATIVE_SYMBOL && hasOwn2(Symbol2, name)) {
5320
+ WellKnownSymbolsStore[name] = Symbol2[name];
5321
+ } else if (USE_SYMBOL_AS_UID && symbolFor) {
5322
+ WellKnownSymbolsStore[name] = symbolFor(description);
5323
+ } else {
5324
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
5325
+ }
5326
+ }
5327
+ return WellKnownSymbolsStore[name];
5328
+ };
5329
+ });
5330
+ var require_to_primitive = __commonJS(function(exports, module) {
5331
+ var call = require_function_call();
5332
+ var isObject = require_is_object2();
5333
+ var isSymbol = require_is_symbol2();
5334
+ var getMethod = require_get_method();
5335
+ var ordinaryToPrimitive = require_ordinary_to_primitive();
5336
+ var wellKnownSymbol = require_well_known_symbol();
5337
+ var $TypeError = TypeError;
5338
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
5339
+ module.exports = function(input, pref) {
5340
+ if (!isObject(input) || isSymbol(input)) {
5341
+ return input;
5342
+ }
5343
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
5344
+ var result;
5345
+ if (exoticToPrim) {
5346
+ if (pref === void 0) {
5347
+ pref = 'default';
5348
+ }
5349
+ result = call(exoticToPrim, input, pref);
5350
+ if (!isObject(result) || isSymbol(result)) {
5351
+ return result;
5352
+ }
5353
+ throw $TypeError('Can\'t convert object to primitive value');
5354
+ }
5355
+ if (pref === void 0) {
5356
+ pref = 'number';
5357
+ }
5358
+ return ordinaryToPrimitive(input, pref);
5359
+ };
5360
+ });
5361
+ var require_to_property_key = __commonJS(function(exports, module) {
5362
+ var toPrimitive = require_to_primitive();
5363
+ var isSymbol = require_is_symbol2();
5364
+ module.exports = function(argument) {
5365
+ var key = toPrimitive(argument, 'string');
5366
+ return isSymbol(key) ? key : key + '';
5367
+ };
5368
+ });
5369
+ var require_document_create_element = __commonJS(function(exports, module) {
5370
+ var global2 = require_global();
5371
+ var isObject = require_is_object2();
5372
+ var document2 = global2.document;
5373
+ var EXISTS = isObject(document2) && isObject(document2.createElement);
5374
+ module.exports = function(it) {
5375
+ return EXISTS ? document2.createElement(it) : {};
5376
+ };
5377
+ });
5378
+ var require_ie8_dom_define = __commonJS(function(exports, module) {
5379
+ var DESCRIPTORS = require_descriptors();
5380
+ var fails = require_fails();
5381
+ var createElement = require_document_create_element();
5382
+ module.exports = !DESCRIPTORS && !fails(function() {
5383
+ return Object.defineProperty(createElement('div'), 'a', {
5384
+ get: function get() {
5385
+ return 7;
5386
+ }
5387
+ }).a != 7;
5388
+ });
5389
+ });
5390
+ var require_object_get_own_property_descriptor = __commonJS(function(exports) {
5391
+ var DESCRIPTORS = require_descriptors();
5392
+ var call = require_function_call();
5393
+ var propertyIsEnumerableModule = require_object_property_is_enumerable();
5394
+ var createPropertyDescriptor = require_create_property_descriptor();
5395
+ var toIndexedObject = require_to_indexed_object();
5396
+ var toPropertyKey = require_to_property_key();
5397
+ var hasOwn2 = require_has_own_property();
5398
+ var IE8_DOM_DEFINE = require_ie8_dom_define();
5399
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
5400
+ exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
5401
+ O = toIndexedObject(O);
5402
+ P = toPropertyKey(P);
5403
+ if (IE8_DOM_DEFINE) {
5404
+ try {
5405
+ return $getOwnPropertyDescriptor(O, P);
5406
+ } catch (error) {}
5407
+ }
5408
+ if (hasOwn2(O, P)) {
5409
+ return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
5410
+ }
5411
+ };
5412
+ });
5413
+ var require_is_forced = __commonJS(function(exports, module) {
5414
+ var fails = require_fails();
5415
+ var isCallable = require_is_callable2();
5416
+ var replacement = /#|\.prototype\./;
5417
+ var isForced = function isForced(feature, detection) {
5418
+ var value = data[normalize(feature)];
5419
+ return value == POLYFILL ? true : value == NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection;
5420
+ };
5421
+ var normalize = isForced.normalize = function(string) {
5422
+ return String(string).replace(replacement, '.').toLowerCase();
5423
+ };
5424
+ var data = isForced.data = {};
5425
+ var NATIVE = isForced.NATIVE = 'N';
5426
+ var POLYFILL = isForced.POLYFILL = 'P';
5427
+ module.exports = isForced;
5428
+ });
5429
+ var require_function_bind_context = __commonJS(function(exports, module) {
5430
+ var uncurryThis = require_function_uncurry_this_clause();
5431
+ var aCallable = require_a_callable();
5432
+ var NATIVE_BIND = require_function_bind_native();
5433
+ var bind = uncurryThis(uncurryThis.bind);
5434
+ module.exports = function(fn, that) {
5435
+ aCallable(fn);
5436
+ return that === void 0 ? fn : NATIVE_BIND ? bind(fn, that) : function() {
5437
+ return fn.apply(that, arguments);
5438
+ };
5439
+ };
5440
+ });
5441
+ var require_v8_prototype_define_bug = __commonJS(function(exports, module) {
5442
+ var DESCRIPTORS = require_descriptors();
5443
+ var fails = require_fails();
5444
+ module.exports = DESCRIPTORS && fails(function() {
5445
+ return Object.defineProperty(function() {}, 'prototype', {
5446
+ value: 42,
5447
+ writable: false
5448
+ }).prototype != 42;
5449
+ });
5450
+ });
5451
+ var require_an_object = __commonJS(function(exports, module) {
5452
+ var isObject = require_is_object2();
5453
+ var $String = String;
5454
+ var $TypeError = TypeError;
5455
+ module.exports = function(argument) {
5456
+ if (isObject(argument)) {
5457
+ return argument;
5458
+ }
5459
+ throw $TypeError($String(argument) + ' is not an object');
5460
+ };
5461
+ });
5462
+ var require_object_define_property = __commonJS(function(exports) {
5463
+ var DESCRIPTORS = require_descriptors();
5464
+ var IE8_DOM_DEFINE = require_ie8_dom_define();
5465
+ var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug();
5466
+ var anObject = require_an_object();
5467
+ var toPropertyKey = require_to_property_key();
5468
+ var $TypeError = TypeError;
5469
+ var $defineProperty = Object.defineProperty;
5470
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
5471
+ var ENUMERABLE = 'enumerable';
5472
+ var CONFIGURABLE = 'configurable';
5473
+ var WRITABLE = 'writable';
5474
+ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
5475
+ anObject(O);
5476
+ P = toPropertyKey(P);
5477
+ anObject(Attributes);
5478
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
5479
+ var current = $getOwnPropertyDescriptor(O, P);
5480
+ if (current && current[WRITABLE]) {
5481
+ O[P] = Attributes.value;
5482
+ Attributes = {
5483
+ configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
5484
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
5485
+ writable: false
5486
+ };
5487
+ }
5488
+ }
5489
+ return $defineProperty(O, P, Attributes);
5490
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
5491
+ anObject(O);
5492
+ P = toPropertyKey(P);
5493
+ anObject(Attributes);
5494
+ if (IE8_DOM_DEFINE) {
5495
+ try {
5496
+ return $defineProperty(O, P, Attributes);
5497
+ } catch (error) {}
5498
+ }
5499
+ if ('get' in Attributes || 'set' in Attributes) {
5500
+ throw $TypeError('Accessors not supported');
5501
+ }
5502
+ if ('value' in Attributes) {
5503
+ O[P] = Attributes.value;
5504
+ }
5505
+ return O;
5506
+ };
5507
+ });
5508
+ var require_create_non_enumerable_property = __commonJS(function(exports, module) {
5509
+ var DESCRIPTORS = require_descriptors();
5510
+ var definePropertyModule = require_object_define_property();
5511
+ var createPropertyDescriptor = require_create_property_descriptor();
5512
+ module.exports = DESCRIPTORS ? function(object, key, value) {
5513
+ return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
5514
+ } : function(object, key, value) {
5515
+ object[key] = value;
5516
+ return object;
5517
+ };
5518
+ });
5519
+ var require_export = __commonJS(function(exports, module) {
5520
+ 'use strict';
5521
+ var global2 = require_global();
5522
+ var apply = require_function_apply();
5523
+ var uncurryThis = require_function_uncurry_this_clause();
5524
+ var isCallable = require_is_callable2();
5525
+ var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f;
5526
+ var isForced = require_is_forced();
5527
+ var path = require_path();
5528
+ var bind = require_function_bind_context();
5529
+ var createNonEnumerableProperty = require_create_non_enumerable_property();
5530
+ var hasOwn2 = require_has_own_property();
5531
+ var wrapConstructor = function wrapConstructor(NativeConstructor) {
5532
+ var Wrapper = function Wrapper(a2, b2, c4) {
5533
+ if (this instanceof Wrapper) {
5534
+ switch (arguments.length) {
5535
+ case 0:
5536
+ return new NativeConstructor();
5537
+
5538
+ case 1:
5539
+ return new NativeConstructor(a2);
5540
+
5541
+ case 2:
5542
+ return new NativeConstructor(a2, b2);
5543
+ }
5544
+ return new NativeConstructor(a2, b2, c4);
5545
+ }
5546
+ return apply(NativeConstructor, this, arguments);
5547
+ };
5548
+ Wrapper.prototype = NativeConstructor.prototype;
5549
+ return Wrapper;
5550
+ };
5551
+ module.exports = function(options, source) {
5552
+ var TARGET = options.target;
5553
+ var GLOBAL = options.global;
5554
+ var STATIC = options.stat;
5555
+ var PROTO = options.proto;
5556
+ var nativeSource = GLOBAL ? global2 : STATIC ? global2[TARGET] : (global2[TARGET] || {}).prototype;
5557
+ var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];
5558
+ var targetPrototype = target.prototype;
5559
+ var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
5560
+ var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
5561
+ for (key in source) {
5562
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
5563
+ USE_NATIVE = !FORCED && nativeSource && hasOwn2(nativeSource, key);
5564
+ targetProperty = target[key];
5565
+ if (USE_NATIVE) {
5566
+ if (options.dontCallGetSet) {
5567
+ descriptor = getOwnPropertyDescriptor(nativeSource, key);
5568
+ nativeProperty = descriptor && descriptor.value;
5569
+ } else {
5570
+ nativeProperty = nativeSource[key];
5571
+ }
5572
+ }
5573
+ sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
5574
+ if (USE_NATIVE && _typeof(targetProperty) == _typeof(sourceProperty)) {
5575
+ continue;
5576
+ }
5577
+ if (options.bind && USE_NATIVE) {
5578
+ resultProperty = bind(sourceProperty, global2);
5579
+ } else if (options.wrap && USE_NATIVE) {
5580
+ resultProperty = wrapConstructor(sourceProperty);
5581
+ } else if (PROTO && isCallable(sourceProperty)) {
5582
+ resultProperty = uncurryThis(sourceProperty);
5583
+ } else {
5584
+ resultProperty = sourceProperty;
5585
+ }
5586
+ if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
5587
+ createNonEnumerableProperty(resultProperty, 'sham', true);
5588
+ }
5589
+ createNonEnumerableProperty(target, key, resultProperty);
5590
+ if (PROTO) {
5591
+ VIRTUAL_PROTOTYPE = TARGET + 'Prototype';
5592
+ if (!hasOwn2(path, VIRTUAL_PROTOTYPE)) {
5593
+ createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});
5594
+ }
5595
+ createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);
5596
+ if (options.real && targetPrototype && !targetPrototype[key]) {
5597
+ createNonEnumerableProperty(targetPrototype, key, sourceProperty);
5598
+ }
5599
+ }
5600
+ }
5601
+ };
5602
+ });
5603
+ var require_es_object_has_own = __commonJS(function() {
5604
+ var $ = require_export();
5605
+ var hasOwn2 = require_has_own_property();
5606
+ $({
5607
+ target: 'Object',
5608
+ stat: true
5609
+ }, {
5610
+ hasOwn: hasOwn2
5611
+ });
5612
+ });
5613
+ var require_has_own = __commonJS(function(exports, module) {
5614
+ require_es_object_has_own();
5615
+ var path = require_path();
5616
+ module.exports = path.Object.hasOwn;
5617
+ });
5618
+ var require_has_own2 = __commonJS(function(exports, module) {
5619
+ var parent = require_has_own();
5620
+ module.exports = parent;
5621
+ });
5622
+ var require_has_own3 = __commonJS(function(exports, module) {
5623
+ var parent = require_has_own2();
5624
+ module.exports = parent;
5625
+ });
4962
5626
  var definitions = [ {
4963
5627
  name: 'NA',
4964
5628
  value: 'inapplicable',
@@ -15532,6 +16196,10 @@
15532
16196
  var import_es6_promise = __toModule(require_es6_promise());
15533
16197
  var import_typedarray = __toModule(require_typedarray());
15534
16198
  var import_weakmap_polyfill = __toModule(require_weakmap_polyfill());
16199
+ var import_has_own = __toModule(require_has_own3());
16200
+ if (!('hasOwn' in Object)) {
16201
+ Object.hasOwn = import_has_own['default'];
16202
+ }
15535
16203
  import_dot['default'].templateSettings.strip = false;
15536
16204
  if (!('Promise' in window)) {
15537
16205
  import_es6_promise['default'].polyfill();